Reviewed by Adam Roben.
authorap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Jan 2008 22:35:29 +0000 (22:35 +0000)
committerap@webkit.org <ap@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 4 Jan 2008 22:35:29 +0000 (22:35 +0000)
        Restore compatibility with shipping Safari beta.

WebKit:
        http://bugs.webkit.org/show_bug.cgi?id=16733
        REGRESSION: Crash on Safari Start

        * Interfaces/IWebViewPrivate.idl: Should have added a new method at the end.

WebCore:
        Temporarily restore BackwardDelete for Windows nightlies to work correctly.

        * editing/EditorCommand.cpp: (WebCore::CommandEntry::):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29178 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/editing/EditorCommand.cpp
WebKit/win/ChangeLog
WebKit/win/Interfaces/IWebViewPrivate.idl

index bea20f3a88e87c4b0775f0452e87cdafc82fed1d..f9e53e3a78fc73165ad9d14dc89b7e9791089d97 100644 (file)
@@ -1,3 +1,11 @@
+2008-01-04  Alexey Proskuryakov  <ap@webkit.org>
+
+        Reviewed by Adam Roben.
+
+        Temporarily restore BackwardDelete for Windows nightlies to work correctly.
+
+        * editing/EditorCommand.cpp: (WebCore::CommandEntry::):
+
 2008-01-04  Alexey Proskuryakov  <ap@webkit.org>
 
         Reviewed by Darin.
index 06bed9230240499b674902c5fee086f924f06f42..b9d1b89923a166665bdd2505124c77a5c62bfd86 100644 (file)
@@ -1136,6 +1136,7 @@ static const CommandMap& createCommandMap()
         { "AlignLeft", { executeJustifyLeft, supportedFromMenuOrKeyBinding, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion } },
         { "AlignRight", { executeJustifyRight, supportedFromMenuOrKeyBinding, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion } },
         { "BackColor", { executeBackColor, supported, enabledRangeInRichlyEditableText, stateNone, valueBackColor, notTextInsertion } },
+        { "BackwardDelete", { executeDeleteBackward, supportedFromMenuOrKeyBinding, enabledInEditableText, stateNone, valueNull, notTextInsertion } }, // FIXME: remove BackwardDelete when Safari for Windows stops using it.
         { "Bold", { executeToggleBold, supported, enabledInRichlyEditableText, stateBold, valueNull, notTextInsertion } },
         { "Copy", { executeCopy, supported, enabledCopy, stateNone, valueNull, notTextInsertion } },
         { "CreateLink", { executeCreateLink, supported, enabledInRichlyEditableText, stateNone, valueNull, notTextInsertion } },
index 7799e5ba916784be31716f5c5d49df8dad6083ac..5afbb312b256bae4d0faa3bd175efca4190e87fd 100644 (file)
@@ -1,3 +1,12 @@
+2008-01-04  Alexey Proskuryakov  <ap@webkit.org>
+
+        Reviewed by Adam Roben.
+
+        http://bugs.webkit.org/show_bug.cgi?id=16733
+        REGRESSION: Crash on Safari Start
+
+        * Interfaces/IWebViewPrivate.idl: Should have added a new method at the end.
+
 2008-01-04  Alexey Proskuryakov  <ap@webkit.org>
 
         Reviewed by Darin.
index 0cacc09d22186926d8b291d10123f9159a21b25e..e5c07263723c25fc1bdd05f3d1eb45fa3636a8e5 100644 (file)
@@ -94,7 +94,6 @@ interface IWebViewPrivate : IUnknown
     
     // SPI for DumpRenderTree
     HRESULT updateActiveState();
-    HRESULT executeCoreCommandByName([in] BSTR name, [in] BSTR value);
 
     // Support for displaying multiple text matches.
     HRESULT markAllMatchesForText([in] BSTR search, [in] BOOL caseSensitive, [in] BOOL highlight, [in] UINT limit, [out] UINT* matches);
@@ -136,4 +135,7 @@ interface IWebViewPrivate : IUnknown
         before unload handler, then this function will return false.
     */
     HRESULT shouldClose([out, retval] BOOL* result);
+
+    // SPI for DumpRenderTree
+    HRESULT executeCoreCommandByName([in] BSTR name, [in] BSTR value);
 }