[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 06:32:58 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit 1eb9451e873eabdca759149777671f16deb1ca86
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Tue Aug 20 19:32:57 2002 +0000

    WebKit:
    
            * WebView.subproj/WebController.m:
            (-[WebController setApplicationNameForUserAgent:]):
    	Lock in here, in anticipation of actually using the name in the
    	user agent string.
    
    WebBrowser:
    
            * BrowserWebController.m: (-[BrowserWebController initWithBrowserDocument:]):
    	Set up the application name to be used in the user agent string. For now, there
    	is a dummy string in there.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@1877 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index db3a582..e199bff 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,5 +1,12 @@
 2002-08-20  Darin Adler  <darin at apple.com>
 
+        * WebView.subproj/WebController.m:
+        (-[WebController setApplicationNameForUserAgent:]):
+	Lock in here, in anticipation of actually using the name in the
+	user agent string.
+
+2002-08-20  Darin Adler  <darin at apple.com>
+
 	WebKit part of support for tabbing into and out of the toolbar.
 
         * WebCoreSupport.subproj/WebBridge.m:
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index db3a582..e199bff 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,5 +1,12 @@
 2002-08-20  Darin Adler  <darin at apple.com>
 
+        * WebView.subproj/WebController.m:
+        (-[WebController setApplicationNameForUserAgent:]):
+	Lock in here, in anticipation of actually using the name in the
+	user agent string.
+
+2002-08-20  Darin Adler  <darin at apple.com>
+
 	WebKit part of support for tabbing into and out of the toolbar.
 
         * WebCoreSupport.subproj/WebBridge.m:
diff --git a/WebKit/WebView.subproj/WebController.m b/WebKit/WebView.subproj/WebController.m
index a3eeed4..5e8bb5f 100644
--- a/WebKit/WebView.subproj/WebController.m
+++ b/WebKit/WebView.subproj/WebController.m
@@ -372,8 +372,10 @@
 - (void)setApplicationNameForUserAgent:(NSString *)applicationName
 {
     NSString *name = [applicationName copy];
+    [_private->userAgentLock lock];
     [_private->applicationNameForUserAgent release];
     _private->applicationNameForUserAgent = name;
+    [_private->userAgentLock unlock];
 }
 
 // Set the user agent explicitly. Setting the user-agent string to nil means
diff --git a/WebKit/WebView.subproj/WebView.m b/WebKit/WebView.subproj/WebView.m
index a3eeed4..5e8bb5f 100644
--- a/WebKit/WebView.subproj/WebView.m
+++ b/WebKit/WebView.subproj/WebView.m
@@ -372,8 +372,10 @@
 - (void)setApplicationNameForUserAgent:(NSString *)applicationName
 {
     NSString *name = [applicationName copy];
+    [_private->userAgentLock lock];
     [_private->applicationNameForUserAgent release];
     _private->applicationNameForUserAgent = name;
+    [_private->userAgentLock unlock];
 }
 
 // Set the user agent explicitly. Setting the user-agent string to nil means

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list