[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc

aestes at apple.com aestes at apple.com
Wed Dec 22 13:42:06 UTC 2010


The following commit has been merged in the debian/experimental branch:
commit 39b0a0299876c53e433d26efee840b0f01409731
Author: aestes at apple.com <aestes at apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Thu Sep 23 19:14:55 2010 +0000

    2010-09-22  Andy Estes  <aestes at apple.com>
    
            Reviewed by Darin Adler.
    
            REGRESSION (r61285): Microsoft Entourage 2008 does not invoke My Day window
            https://bugs.webkit.org/show_bug.cgi?id=46334
    
            Microsoft My Day loads scripts using self-closing script tags, markup
            which is incompatible with the HTML5 parser. Enable parser quirks for
            this application.
    
            * WebView/WebView.mm:
            (shouldUsePreHTML5ParserQuirks): Return true if the application is
            Microsoft My Day and was linked against a version of WebKit prior to the
            introduction of the HTML5 parser.
    2010-09-23  Renata Hodovan  <reni at inf.u-szeged.hu>
    
            Reviewed by Dirk Schulze.
    
            SVGFEMorphologyElement doesn't support dynamic invalidation, when attributes change.
            https://bugs.webkit.org/show_bug.cgi?id=46363
            The patch also implements the simple setRadius method.
    
            Tests: svg/dynamic-updates/SVGFEMorphologyElement-dom-in-attr.html
                   svg/dynamic-updates/SVGFEMorphologyElement-dom-operator-attr.html
                   svg/dynamic-updates/SVGFEMorphologyElement-dom-radius-attr.html
                   svg/dynamic-updates/SVGFEMorphologyElement-svgdom-in-prop.html
                   svg/dynamic-updates/SVGFEMorphologyElement-svgdom-operator-prop.html
                   svg/dynamic-updates/SVGFEMorphologyElement-svgdom-radius-call.html
    
            * svg/SVGFEMorphologyElement.cpp:
            (WebCore::SVGFEMorphologyElement::setRadius):
            (WebCore::SVGFEMorphologyElement::svgAttributeChanged):
            * svg/SVGFEMorphologyElement.h:
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@68175 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index f2288b8..608e35b 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -547,6 +547,19 @@
 
 2010-09-22  Andy Estes  <aestes at apple.com>
 
+        Reviewed by Darin Adler.
+
+        REGRESSION (r61285): Microsoft Entourage 2008 does not invoke My Day window
+        https://bugs.webkit.org/show_bug.cgi?id=46334
+
+        * WebCore.exp.in: Export __ZN7WebCore27applicationIsMicrosoftMyDayEv.
+        * platform/mac/RuntimeApplicationChecks.h:
+        * platform/mac/RuntimeApplicationChecks.mm:
+        (WebCore::applicationIsMicrosoftMyDay): Determine if the embeddding
+        application is Microsoft My Day by checking the bundle identifier.
+
+2010-09-22  Andy Estes  <aestes at apple.com>
+
         Rubber-stamped by Darin Adler.
 
         Fix a typo and correct an inaccurate phrase in a comment.
diff --git a/WebCore/WebCore.exp.in b/WebCore/WebCore.exp.in
index 2d976f4..e316fc2 100644
--- a/WebCore/WebCore.exp.in
+++ b/WebCore/WebCore.exp.in
@@ -493,6 +493,7 @@ __ZN7WebCore27CSSComputedStyleDeclarationC1EN3WTF10PassRefPtrINS_4NodeEEEbRKNS1_
 __ZN7WebCore27DeviceOrientationClientMock14setOrientationEN3WTF10PassRefPtrINS_17DeviceOrientationEEE
 __ZN7WebCore27DeviceOrientationClientMockC1Ev
 __ZN7WebCore27applicationIsAdobeInstallerEv
+__ZN7WebCore27applicationIsMicrosoftMyDayEv
 __ZN7WebCore27contextMenuItemTagShowFontsEv
 __ZN7WebCore27contextMenuItemTagUnderlineEv
 __ZN7WebCore28InspectorFrontendClientLocal20sendMessageToBackendERKN3WTF6StringE
diff --git a/WebCore/platform/mac/RuntimeApplicationChecks.h b/WebCore/platform/mac/RuntimeApplicationChecks.h
index 9b73ba5..f938048 100644
--- a/WebCore/platform/mac/RuntimeApplicationChecks.h
+++ b/WebCore/platform/mac/RuntimeApplicationChecks.h
@@ -33,6 +33,7 @@ bool applicationIsSafari();
 bool applicationIsMicrosoftMessenger();
 bool applicationIsAdobeInstaller();
 bool applicationIsAOLInstantMessenger();
+bool applicationIsMicrosoftMyDay();
 
 } // namespace WebCore
 
diff --git a/WebCore/platform/mac/RuntimeApplicationChecks.mm b/WebCore/platform/mac/RuntimeApplicationChecks.mm
index 0f4ff3a..7fe8378 100644
--- a/WebCore/platform/mac/RuntimeApplicationChecks.mm
+++ b/WebCore/platform/mac/RuntimeApplicationChecks.mm
@@ -59,4 +59,10 @@ bool applicationIsAOLInstantMessenger()
     return isAOLInstantMessenger;
 }
 
+bool applicationIsMicrosoftMyDay()
+{
+    static bool isMicrosoftMyDay = [[[NSBundle mainBundle] bundleIdentifier] isEqualToString:@"com.microsoft.myday"];
+    return isMicrosoftMyDay;
+}
+
 } // namespace WebCore
diff --git a/WebKit/mac/ChangeLog b/WebKit/mac/ChangeLog
index e180c94..ab10ed4 100644
--- a/WebKit/mac/ChangeLog
+++ b/WebKit/mac/ChangeLog
@@ -1,3 +1,19 @@
+2010-09-22  Andy Estes  <aestes at apple.com>
+
+        Reviewed by Darin Adler.
+
+        REGRESSION (r61285): Microsoft Entourage 2008 does not invoke My Day window
+        https://bugs.webkit.org/show_bug.cgi?id=46334
+
+        Microsoft My Day loads scripts using self-closing script tags, markup
+        which is incompatible with the HTML5 parser. Enable parser quirks for
+        this application.
+
+        * WebView/WebView.mm:
+        (shouldUsePreHTML5ParserQuirks): Return true if the application is
+        Microsoft My Day and was linked against a version of WebKit prior to the
+        introduction of the HTML5 parser.
+
 2010-09-23  Nate Chapin  <japhet at chromium.org>
 
         Reviewed by Darin Fisher.
diff --git a/WebKit/mac/WebView/WebView.mm b/WebKit/mac/WebView/WebView.mm
index 9a53ad2..dffe5dd 100644
--- a/WebKit/mac/WebView/WebView.mm
+++ b/WebKit/mac/WebView/WebView.mm
@@ -611,12 +611,22 @@ static bool coreVideoHas7228836Fix()
 
 static bool shouldUsePreHTML5ParserQuirks(WebPreferences* preferences)
 {
+    static bool webKitLinkedBeforeHTML5Parser = !WebKitLinkedOnOrAfter(WEBKIT_FIRST_VERSION_WITH_HTML5_PARSER);
+    
     // AIM clients linked against versions of WebKit prior to the introduction
     // of the HTML5 parser contain markup incompatible with the new parser.
     // Enable parser quirks to remain compatible with these clients. See
     // <https://bugs.webkit.org/show_bug.cgi?id=46134>.
-    static bool isAIMAndNeedsParserQuirks = applicationIsAOLInstantMessenger() && !WebKitLinkedOnOrAfter(WEBKIT_FIRST_VERSION_WITH_HTML5_PARSER);
-    return isAIMAndNeedsParserQuirks || [preferences usePreHTML5ParserQuirks];
+    static bool isAIMAndNeedsParserQuirks = applicationIsAOLInstantMessenger() && webKitLinkedBeforeHTML5Parser;
+    
+    // Microsoft My Day loads scripts using self-closing script tags, markup
+    // which is incompatible with the HTML5 parser. Enable parser quirks for
+    // this application. See <https://bugs.webkit.org/show_bug.cgi?id=46334>.
+    static bool isMicrosoftMyDayAndNeedsParserQuirks = applicationIsMicrosoftMyDay() && webKitLinkedBeforeHTML5Parser;
+    
+    return isAIMAndNeedsParserQuirks
+        || isMicrosoftMyDayAndNeedsParserQuirks
+        || [preferences usePreHTML5ParserQuirks];
 }
 
 static bool shouldEnableLoadDeferring()

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list