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

gramps gramps at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:14:57 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 041757b89c971585997462ecf78a74f2f187bf2d
Author: gramps <gramps at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Dec 15 08:24:26 2002 +0000

    Reviewed by darin
    
    * Debug/DebugUtilities.m:
    (-[DebugUtilities userAgentSubmenuItem]):
    
    Changed "PPC" in one user agent string to "PPC Mac OS X" used for
    debugging.
    
    Fixed 3127173 -- REGRESSION: fboweb.com renders incorrectly
    
    Reviewed by darin
    
    * English.lproj/StringsNotToBeLocalized.txt:
    * WebView.subproj/WebController.m:
    (-[WebController userAgentForURL:]):
    
    Changed "PPC" in our user agent string to "PPC Mac OS X" in order to
    match Mozilla and make the silly server-side user agent string checking
    work at fboweb.com.  Actually, just "PPC " would work fine at
    fboweb.com.  Go figure.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3056 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 4cc80df..8b0bbd1 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,18 @@
+2002-12-14  Don Melton  <gramps at apple.com>
+
+	Fixed 3127173 -- REGRESSION: fboweb.com renders incorrectly
+
+        Reviewed by darin
+
+        * English.lproj/StringsNotToBeLocalized.txt:
+        * WebView.subproj/WebController.m:
+        (-[WebController userAgentForURL:]):
+
+	Changed "PPC" in our user agent string to "PPC Mac OS X" in order to
+	match Mozilla and make the silly server-side user agent string checking
+	work at fboweb.com.  Actually, just "PPC " would work fine at
+	fboweb.com.  Go figure.
+
 2002-12-13  Darin Adler  <darin at apple.com>
 
         Reviewed by Don.
diff --git a/WebKit/English.lproj/StringsNotToBeLocalized.txt b/WebKit/English.lproj/StringsNotToBeLocalized.txt
index d71b36d..d35f069 100644
--- a/WebKit/English.lproj/StringsNotToBeLocalized.txt
+++ b/WebKit/English.lproj/StringsNotToBeLocalized.txt
@@ -70,8 +70,8 @@
 "Library/Internet Plug-Ins"
 "Library/Preferences/Explorer/Favorites.html"
 "Lucida Grande"
-"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko) %@"
-"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko)"
+"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko) %@"
+"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko)"
 "NETSCAPE2"
 "NP_GetEntryPoints"
 "NP_Initialize"
diff --git a/WebKit/WebView.subproj/WebController.m b/WebKit/WebView.subproj/WebController.m
index c7335d5..e3717ee 100644
--- a/WebKit/WebView.subproj/WebController.m
+++ b/WebKit/WebView.subproj/WebController.m
@@ -375,10 +375,10 @@ NSString *WebElementStringKey = 		@"WebElementString";
 
     NSString *userAgent;
     if ([applicationName length]) {
-        userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko) %@",
+        userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko) %@",
             language, sourceVersion, applicationName];
     } else {
-        userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko)",
+        userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko)",
             language, sourceVersion];
     }
     
diff --git a/WebKit/WebView.subproj/WebView.m b/WebKit/WebView.subproj/WebView.m
index c7335d5..e3717ee 100644
--- a/WebKit/WebView.subproj/WebView.m
+++ b/WebKit/WebView.subproj/WebView.m
@@ -375,10 +375,10 @@ NSString *WebElementStringKey = 		@"WebElementString";
 
     NSString *userAgent;
     if ([applicationName length]) {
-        userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko) %@",
+        userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko) %@",
             language, sourceVersion, applicationName];
     } else {
-        userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko)",
+        userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko)",
             language, sourceVersion];
     }
     

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list