[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:22:27 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit e2386db84501485ee8178c9e3cbf156cb9a9e564
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Jan 29 01:28:54 2003 +0000

    	Fix quirks/strict regression caused by improper use of findRev (should
    	be find), and latin1() (can't be invoked on temporaries).
    
            Reviewed by darin
    
            * khtml/html/html_documentimpl.cpp:
            (parseDocTypePart):
            (HTMLDocumentImpl::determineParseMode):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3485 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index 03f06f6..034f10b 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,16 @@
 2003-01-28  David Hyatt  <hyatt at apple.com>
 
+	Fix quirks/strict regression caused by improper use of findRev (should
+	be find), and latin1() (can't be invoked on temporaries).
+	
+        Reviewed by darin
+
+        * khtml/html/html_documentimpl.cpp:
+        (parseDocTypePart):
+        (HTMLDocumentImpl::determineParseMode):
+
+2003-01-28  David Hyatt  <hyatt at apple.com>
+
 	Fix for 3155209, dashed-line schmutz left behind when dragging
 	links.  
 
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 03f06f6..034f10b 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,16 @@
 2003-01-28  David Hyatt  <hyatt at apple.com>
 
+	Fix quirks/strict regression caused by improper use of findRev (should
+	be find), and latin1() (can't be invoked on temporaries).
+	
+        Reviewed by darin
+
+        * khtml/html/html_documentimpl.cpp:
+        (parseDocTypePart):
+        (HTMLDocumentImpl::determineParseMode):
+
+2003-01-28  David Hyatt  <hyatt at apple.com>
+
 	Fix for 3155209, dashed-line schmutz left behind when dragging
 	links.  
 
diff --git a/WebCore/khtml/html/html_documentimpl.cpp b/WebCore/khtml/html/html_documentimpl.cpp
index d913cae..d59fef0 100644
--- a/WebCore/khtml/html/html_documentimpl.cpp
+++ b/WebCore/khtml/html/html_documentimpl.cpp
@@ -385,7 +385,7 @@ static int parseDocTypePart(const QString& buffer, int index)
         else if (ch == '-') {
             int tmpIndex;
             if (buffer[index+1] == '-' &&
-                ((tmpIndex=buffer.findRev("--", index+2) != -1)))
+                ((tmpIndex=buffer.find("--", index+2)) != -1))
                 index = tmpIndex+2;
             else
                 return index;
@@ -552,8 +552,9 @@ void HTMLDocumentImpl::determineParseMode( const QString &str )
         else {
             // We have to check a list of public IDs to see what we
             // should do.
-            const char* pubIDStr = publicID.lower().latin1();
-
+            QString lowerPubID = publicID.lower();
+            const char* pubIDStr = lowerPubID.latin1();
+           
             // Look up the entry in our gperf-generated table.
             const PubIDInfo* doctypeEntry = Perfect_Hash::findDoctypeEntry(pubIDStr, publicID.length());
             if (!doctypeEntry) {

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list