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

darin darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:31:58 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit c6bb6f6c8df87b5bda37ed26e5b17e484d2fe0b9
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Mar 27 20:24:50 2003 +0000

            Reviewed by Shelley.
    
            - fixed 3157067 -- Pier1.com doesn't load; Microsoft VBScript runtime error in user-agent checking code
    
            Besides this fix, I also filed an evangelism bug, bug 3210612.
    
            * WebView.subproj/WebUserAgentSpoofTable.gperf: Added pier1.com.
            * WebView.subproj/WebUserAgentSpoofTable.c: Regenerated.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3944 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 4965522..6b9799d 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,14 @@
+2003-03-27  Darin Adler  <darin at apple.com>
+
+        Reviewed by Shelley.
+
+        - fixed 3157067 -- Pier1.com doesn't load; Microsoft VBScript runtime error in user-agent checking code
+        
+        Besides this fix, I also filed an evangelism bug, bug 3210612.
+
+        * WebView.subproj/WebUserAgentSpoofTable.gperf: Added pier1.com.
+        * WebView.subproj/WebUserAgentSpoofTable.c: Regenerated.
+
 2003-03-27  Ken Kocienda  <kocienda at apple.com>
 
         Reviewed by Trey
diff --git a/WebKit/WebView.subproj/WebUserAgentSpoofTable.c b/WebKit/WebView.subproj/WebUserAgentSpoofTable.c
index 2e66ffd..1d95993 100644
--- a/WebKit/WebView.subproj/WebUserAgentSpoofTable.c
+++ b/WebKit/WebView.subproj/WebUserAgentSpoofTable.c
@@ -1,7 +1,7 @@
 /* ANSI-C code produced by gperf version 2.7.2 */
 /* Command-line: gperf -CEot -L ANSI-C -k '*' -N _web_findSpoofTableEntry -F ,0 WebView.subproj/WebUserAgentSpoofTable.gperf  */
 struct UserAgentSpoofTableEntry { const char *name; UserAgentStringType type; };
-/* maximum key range = 18, duplicates = 0 */
+/* maximum key range = 27, duplicates = 0 */
 
 #ifdef __GNUC__
 __inline
@@ -15,32 +15,32 @@ hash (register const char *str, register unsigned int len)
 {
   static const unsigned char asso_values[] =
     {
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27,  0,  0, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27,  0,  0,  0,
-       0,  0, 10,  0,  0,  0, 14, 27,  0,  0,
-       0,  0,  0, 27,  0,  0,  0,  0,  5,  0,
-      27,  5,  0, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27, 27, 27, 27, 27,
-      27, 27, 27, 27, 27, 27
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36,  0,  0, 36, 36, 15,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36,  0,  0,  0,
+       0,  0, 10,  0,  0,  0, 25, 36,  0,  0,
+       0,  0,  0, 36,  0,  0,  0,  0,  5,  0,
+      36,  5,  0, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36, 36, 36, 36, 36,
+      36, 36, 36, 36, 36, 36
     };
   register int hval = len;
 
@@ -100,11 +100,11 @@ _web_findSpoofTableEntry (register const char *str, register unsigned int len)
 {
   enum
     {
-      TOTAL_KEYWORDS = 16,
+      TOTAL_KEYWORDS = 17,
       MIN_WORD_LENGTH = 6,
       MAX_WORD_LENGTH = 20,
       MIN_HASH_VALUE = 9,
-      MAX_HASH_VALUE = 26
+      MAX_HASH_VALUE = 35
     };
 
   static const struct UserAgentSpoofTableEntry wordlist[] =
@@ -122,13 +122,17 @@ _web_findSpoofTableEntry (register const char *str, register unsigned int len)
       {"",0},
       {"hondaredriders.com", MacIE},
       {"oregonlive.com", MacIE},
-      {"nj.com", MacIE},
+      {"",0},
       {"freebsd.org", MacIE},
       {"firstusa.com", MacIE},
       {"microsoft.com", MacIE},
-      {"jaguar.com", MacIE},
+      {"pier1.com", MacIE},
       {"wap.sonyericsson.com", MacIE},
-      {"bang-olufsen.com", MacIE}
+      {"bang-olufsen.com", MacIE},
+      {"",0}, {"",0}, {"",0}, {"",0},
+      {"nj.com", MacIE},
+      {"",0}, {"",0}, {"",0},
+      {"jaguar.com", MacIE}
     };
 
   if (len <= MAX_WORD_LENGTH && len >= MIN_WORD_LENGTH)
diff --git a/WebKit/WebView.subproj/WebUserAgentSpoofTable.gperf b/WebKit/WebView.subproj/WebUserAgentSpoofTable.gperf
index f17adc5..feda047 100644
--- a/WebKit/WebView.subproj/WebUserAgentSpoofTable.gperf
+++ b/WebKit/WebView.subproj/WebUserAgentSpoofTable.gperf
@@ -9,6 +9,7 @@ hondacars.com, MacIE
 hondaredriders.com, MacIE
 jaguar.com, MacIE
 mazdausa.com, MacIE
+pier1.com, MacIE
 porsche.com, MacIE
 wap.sonyericsson.com, MacIE
 #

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list