[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:38:09 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit fae3f0c985fd0da2a8e26ec85dc8d14875ae06b7
Author: darin <darin at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Wed Sep 11 18:52:48 2002 +0000

    	Add machinery needed for fix to 3021137, changing font prefs
    	doesn't redraw frames other than the main frame.
    
            * WebCoreSupport.subproj/WebBridge.m:
            (-[WebBridge setNeedsReapplyStyles]): Added. Lets the web views know that they
    	need to reapply styles. If we did this over on the WebCore side, we'd have to do
    	it right away. Maybe that would be OK; we can move that that later.
    
            * WebView.subproj/WebTextView.m: (-[WebTextView setFixedWidthFont]): Use the
    	fixed-width size, rather than using the other size with the fixed-width family.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2034 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebKit/ChangeLog b/WebKit/ChangeLog
index 9dfa942..f8c8e7d 100644
--- a/WebKit/ChangeLog
+++ b/WebKit/ChangeLog
@@ -1,3 +1,16 @@
+2002-09-11  Darin Adler  <darin at apple.com>
+
+	Add machinery needed for fix to 3021137, changing font prefs
+	doesn't redraw frames other than the main frame.
+
+        * WebCoreSupport.subproj/WebBridge.m:
+        (-[WebBridge setNeedsReapplyStyles]): Added. Lets the web views know that they
+	need to reapply styles. If we did this over on the WebCore side, we'd have to do
+	it right away. Maybe that would be OK; we can move that that later.
+
+        * WebView.subproj/WebTextView.m: (-[WebTextView setFixedWidthFont]): Use the
+	fixed-width size, rather than using the other size with the fixed-width family.
+
 2002-09-11  Ken Kocienda  <kocienda at apple.com>
 
         Major change to the API and design of WebFoundation. WebKit has been modified
diff --git a/WebKit/ChangeLog-2002-12-03 b/WebKit/ChangeLog-2002-12-03
index 9dfa942..f8c8e7d 100644
--- a/WebKit/ChangeLog-2002-12-03
+++ b/WebKit/ChangeLog-2002-12-03
@@ -1,3 +1,16 @@
+2002-09-11  Darin Adler  <darin at apple.com>
+
+	Add machinery needed for fix to 3021137, changing font prefs
+	doesn't redraw frames other than the main frame.
+
+        * WebCoreSupport.subproj/WebBridge.m:
+        (-[WebBridge setNeedsReapplyStyles]): Added. Lets the web views know that they
+	need to reapply styles. If we did this over on the WebCore side, we'd have to do
+	it right away. Maybe that would be OK; we can move that that later.
+
+        * WebView.subproj/WebTextView.m: (-[WebTextView setFixedWidthFont]): Use the
+	fixed-width size, rather than using the other size with the fixed-width family.
+
 2002-09-11  Ken Kocienda  <kocienda at apple.com>
 
         Major change to the API and design of WebFoundation. WebKit has been modified
diff --git a/WebKit/WebCoreSupport.subproj/WebBridge.m b/WebKit/WebCoreSupport.subproj/WebBridge.m
index 970631a..eaadac7 100644
--- a/WebKit/WebCoreSupport.subproj/WebBridge.m
+++ b/WebKit/WebCoreSupport.subproj/WebBridge.m
@@ -372,4 +372,14 @@
     [[frame controller] _setDefersCallbacks:defers];
 }
 
+- (void)setNeedsReapplyStyles
+{
+    NSView <WebDocumentView> *view = [[frame webView] documentView];
+    if ([view isKindOfClass:[WebHTMLView class]]) {
+        [(WebHTMLView *)view setNeedsToApplyStyles:YES];
+        [(WebHTMLView *)view setNeedsLayout:YES];
+        [view setNeedsDisplay:YES];
+    }
+}
+
 @end
diff --git a/WebKit/WebView.subproj/WebTextView.m b/WebKit/WebView.subproj/WebTextView.m
index 6880219..862e37c 100644
--- a/WebKit/WebView.subproj/WebTextView.m
+++ b/WebKit/WebView.subproj/WebTextView.m
@@ -36,7 +36,8 @@
 - (void)setFixedWidthFont
 {
     WebPreferences *preferences = [WebPreferences standardPreferences];
-    NSFont *font = [NSFont fontWithName:[preferences fixedFontFamily] size:[preferences defaultFontSize]];
+    NSFont *font = [NSFont fontWithName:[preferences fixedFontFamily]
+        size:[preferences defaultFixedFontSize]];
     [self setFont:font];
 }
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list