1. 18 Jan, 2011 2 commits
    • mjs@apple.com's avatar
      Not reviewed. · 1e83c546
      mjs@apple.com authored
      Revert inadvertantly committed test changes.
      
      * editing/pasteboard/copy-null-characters.html:
      * fast/events/scroll-event-does-not-bubble.html:
      * platform/mac-wk2/Skipped:
      * transitions/remove-transition-style.html:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e83c546
    • mjs@apple.com's avatar
      2011-01-18 Maciej Stachowiak <mjs@apple.com> · 54741f66
      mjs@apple.com authored
              Reviewed by Sam Weinig.
      
              WebKitTestRunner should track loading more like DumpRenderTree
              https://bugs.webkit.org/show_bug.cgi?id=52692
      
              Change load tracking to track the current top loading frame, in the manner of DumpRenderTree.
              This makes some tests that call notifyDone multiple times pass.
              
              * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
              (WTR::InjectedBundle::InjectedBundle):
              (WTR::InjectedBundle::done):
              * WebKitTestRunner/InjectedBundle/InjectedBundle.h:
              (WTR::InjectedBundle::topLoadingFrame):
              (WTR::InjectedBundle::setTopLoadingFrame):
              * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
              (WTR::InjectedBundlePage::InjectedBundlePage):
              (WTR::InjectedBundlePage::stopLoading):
              (WTR::InjectedBundlePage::didStartProvisionalLoadForFrame):
              (WTR::InjectedBundlePage::didFailProvisionalLoadWithErrorForFrame):
              (WTR::InjectedBundlePage::didFinishLoadForFrame):
              (WTR::InjectedBundlePage::didFailLoadWithErrorForFrame):
              * WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
              * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
              (WTR::LayoutTestController::notifyDone):
              * WebKitTestRunner/TestController.cpp:
              (WTR::TestController::didReceiveMessageFromInjectedBundle):
      2011-01-18  Maciej Stachowiak  <mjs@apple.com>
      
              Reviewed by Sam Weinig.
      
              WebKitTestRunner should track loading more like DumpRenderTree
              https://bugs.webkit.org/show_bug.cgi?id=52692
              
              Relax the message check in didSaveFrameToPageCache a bit more, since
              layout tests were still hitting the old one.
      
              * UIProcess/WebPageProxy.cpp:
              (WebKit::isDisconnectedFrame):
              (WebKit::WebPageProxy::didSaveFrameToPageCache):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54741f66
  2. 17 Jan, 2011 1 commit
    • jknotten@chromium.org's avatar
      2011-01-17 John Knottenbelt <jknotten@chromium.org> · 390c2e34
      jknotten@chromium.org authored
              Reviewed by Jeremy Orlow.
      
              GeolocationController should call stopUpdating on destruction
              https://bugs.webkit.org/show_bug.cgi?id=52216
      
              fast/dom/window-close-crash.html tests that we do not fail the
              assertion in the mock GeolocationClient that the GeolocationClient
              is not updating when the GeolocationController is destroyed.
      
              * fast/dom/Geolocation/resources/window-close-popup.html: Added.
              * fast/dom/Geolocation/script-tests/window-close-crash.js: Added.
              (gotPosition):
              (waitForWindowToClose):
              (failedToCreateWatch):
              * fast/dom/Geolocation/window-close-crash-expected.txt: Added.
              * fast/dom/Geolocation/window-close-crash.html: Added.
              * platform/gtk/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt-wk2/Skipped:
      2011-01-17  John Knottenbelt  <jknotten@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              GeolocationController should call stopUpdating on destruction
              https://bugs.webkit.org/show_bug.cgi?id=52216
      
              Test: fast/dom/Geolocation/window-close-crash.html
      
              * page/GeolocationController.cpp:
              (WebCore::GeolocationController::~GeolocationController):
      2011-01-17  John Knottenbelt  <jknotten@chromium.org>
      
              Reviewed by Jeremy Orlow.
      
              GeolocationController should call stopUpdating on destruction
              https://bugs.webkit.org/show_bug.cgi?id=52216
      
              fast/dom/Geolocation/window-close-crash.html requires that a
              Geolocation watch be started in a secondary window. Consequently,
              we need to allow geolocation permission and provide a mock
              geolocation position for the secondary window's
              GeolocationClientMock.
      
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::setGeolocationPermission):
              (LayoutTestController::setMockGeolocationPosition):
              (LayoutTestController::setMockGeolocationError):
              * DumpRenderTree/chromium/TestShell.h:
              (TestShell::windowList):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      390c2e34
  3. 14 Jan, 2011 1 commit
  4. 13 Jan, 2011 1 commit
  5. 12 Jan, 2011 1 commit
  6. 10 Jan, 2011 1 commit
  7. 05 Jan, 2011 1 commit
  8. 23 Dec, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-12-23 Jan Erik Hanssen <jhanssen@sencha.com> · 50e394a6
      commit-queue@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              [Qt] Composition text is not removed from the editor when composition is cancelled
              https://bugs.webkit.org/show_bug.cgi?id=29391
      
              Ensure that the composition text is cleared when an empty QInputMethodEvent
              is received and the editor is in composition mode.
      
              * editing/input/ime-composition-clearpreedit-expected.txt: Added.
              * editing/input/ime-composition-clearpreedit.html: Added.
              * platform/gtk/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt-wk2/Skipped:
      2010-12-23  Jan Erik Hanssen  <jhanssen@sencha.com>
      
              Reviewed by Alexey Proskuryakov.
      
              [Qt] Composition text is not removed from the editor when composition is cancelled
              https://bugs.webkit.org/show_bug.cgi?id=29391
      
              Ensure that the composition text is cleared when an empty QInputMethodEvent
              is received and the editor is in composition mode.
      
              * Api/qwebpage.cpp:
              (QWebPagePrivate::inputMethodEvent):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@74605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50e394a6
  9. 13 Dec, 2010 1 commit
  10. 12 Dec, 2010 2 commits
    • morrita@google.com's avatar
      2010-10-28 MORITA Hajime <morrita@google.com> · 7a18feed
      morrita@google.com authored
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              * editing/spelling/script-tests/spellcheck-paste.js: Added.
              * editing/spelling/spellcheck-paste.html: Added.
              * editing/spelling/spellcheck-paste-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac-leopard/Skipped:
              * platform/mac-tiger/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              - Introduced SpellChecker class to encapsulate asynchronous spell
                checker state: sequence id, requesting text and target node.
                This is also the first step to decompose spell-check related
                code to a separate class.
              - Added EditorClient::isAsynchronousSpellCheckingEnabled()
                to use async spellcheck API on the platform.
                These APIs are touched by SpellChecker.
              - Used SpellChecker to check a pasted test. Text to check is
                collected from the subtree under the editingRoot.
              - Added Setting::m_asynchronousSpellCheckingEnabled to control
                async spell checking.
      
              Test: editing/spelling/spellcheck-paste.html
      
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.exp.in:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/DocumentMarkerController.cpp:
              (WebCore::DocumentMarkerController::showMarkers):
              (showDocumentMarkers):
              * dom/DocumentMarkerController.h:
              * dom/PositionIterator.cpp:
              (WebCore::PositionIterator::setOffsetInLeafNode):
              * dom/PositionIterator.h:
              * editing/Editor.cpp:
              (WebCore::Editor::replaceSelectionWithFragment):
              (WebCore::Editor::Editor):
              (WebCore::findFirstMarkable):
              (WebCore::Editor::selectionStartHasSpellingMarkerFor):
              * editing/Editor.h:
              (WebCore::Editor::spellChecker):
              * editing/SpellChecker.cpp: Added.
              (WebCore::SpellChecker::SpellChecker):
              (WebCore::SpellChecker::~SpellChecker):
              (WebCore::SpellChecker::initRequest):
              (WebCore::SpellChecker::clearRequest):
              (WebCore::SpellChecker::isAsynchronousEnabled):
              (WebCore::SpellChecker::canCheckAsynchronously):
              (WebCore::SpellChecker::isBusy):
              (WebCore::SpellChecker::isValid):
              (WebCore::SpellChecker::isCheckable):
              (WebCore::SpellChecker::requestCheckingFor):
              (WebCore::forwardIterator):
              (WebCore::SpellChecker::didCheck):
              * editing/SpellChecker.h: Added.
              (WebCore::SpellCheckingResult::SpellCheckingResult):
              (WebCore::SpellCheckingResult::type):
              (WebCore::SpellCheckingResult::location):
              (WebCore::SpellCheckingResult::length):
              * loader/EmptyClients.h:
              (WebCore::EmptyEditorClient::requestCheckingOfString):
              * page/EditorClient.h:
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              * page/Settings.h:
              (WebCore::Settings::setAsynchronousSpellCheckingEnabled):
              (WebCore::Settings::asynchronousSpellCheckingEnabled):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * src/EditorClientImpl.h:
              (WebKit::EditorClientImpl::requestCheckingOfString):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * WebCoreSupport/EditorClientEfl.h:
              (WebCore::EditorClientEfl::requestCheckingOfString):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * WebCoreSupport/EditorClientGtk.h:
              (WebKit::EditorClient::requestCheckingOfString):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * WebCoreSupport/EditorClientHaiku.h:
              (WebCore::EditorClientHaiku::requestCheckingOfString):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added asynchronous spell checking API to WebEditorClient using
              -[NSSpellChecker requestCheckingOfString].
              Note that WebEditorSpellCheckResponder is a small class to receive
              requested spell-checking result. Note that this feature is
              disabled at default.
      
              Also added [WebPreferences setAsynchronousSpellCheckingEnabled:] to
              enable the feature from LayoutTestController.
      
              * WebCoreSupport/WebEditorClient.h:
              * WebCoreSupport/WebEditorClient.mm:
              (-[WebEditorSpellCheckResponder initWithSender:WebCore::sequence:results:]):
              (-[WebEditorSpellCheckResponder perform]):
              (toCoreSpellingResult):
              (-[WebEditorSpellCheckResponder WTF::WebCore::]):
              (WebEditorClient::requestCheckingOfString):
              * WebView/WebPreferenceKeysPrivate.h:
              * WebView/WebPreferences.mm:
              (+[WebPreferences initialize]):
              (-[WebPreferences setAsynchronousSpellCheckingEnabled:]):
              (-[WebPreferences asynchronousSpellCheckingEnabled]):
              * WebView/WebPreferencesPrivate.h:
              * WebView/WebView.mm:
              (-[WebView _preferencesChangedNotification:]):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * WebCoreSupport/EditorClientQt.h:
              (WebCore::EditorClientQt::requestCheckingOfString):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * WebCoreSupport/WebEditorClient.h:
              (WebEditorClient::requestCheckingOfString):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * WebCoreSupport/EditorClientWinCE.h:
              (WebKit::EditorClient::requestCheckingOfString):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * WebKitSupport/EditorClientWx.h:
              (WebCore::EditorClientWx::requestCheckingOfString):
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added a stub implememntation.
      
              * WebProcess/WebCoreSupport/WebEditorClient.cpp:
              (WebKit::WebEditorClient::requestCheckingOfString):
              * WebProcess/WebCoreSupport/WebEditorClient.h:
      2010-10-28  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Ojan Vafai.
      
              spellcheck does not check pasted text
              https://bugs.webkit.org/show_bug.cgi?id=40092
      
              Added LayoutTestController::setAsynchronousSpellCheckingEnabled()
              to control the setting.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setAsynchronousSpellCheckingEnabledCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.h:
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::setAsynchronousSpellCheckingEnabled):
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::setAsynchronousSpellCheckingEnabled):
              * DumpRenderTree/mac/DumpRenderTree.mm:
              (resetDefaultsToConsistentValues):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::setAsynchronousSpellCheckingEnabled):
              * DumpRenderTree/qt/LayoutTestControllerQt.h:
              * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
              (LayoutTestController::setAsynchronousSpellCheckingEnabled):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::setAsynchronousSpellCheckingEnabled):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::setAsynchronousSpellCheckingEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73886 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a18feed
    • weinig@apple.com's avatar
      Update WebKit2 skipped list. · 42b320f2
      weinig@apple.com authored
      * platform/mac-wk2/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42b320f2
  11. 08 Dec, 2010 1 commit
    • xji@chromium.org's avatar
      2010-12-08 Xiaomei Ji <xji@chromium.org> · bebfbc9b
      xji@chromium.org authored
              Reviewed by David Hyatt.
      
              Fix backward mouse wheeling not working when scroll position is below 0.
              https://bugs.webkit.org/show_bug.cgi?id=50370
      
              Tests: fast/events/wheelevent-in-horizontal-scrollbar-in-rtl.html
                     fast/events/wheelevent-in-vertical-scrollbar-in-rtl.html
      
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::wheelEvent):
      2010-12-08  Xiaomei Ji  <xji@chromium.org>
      
              Reviewed by David Hyatt.
      
              Fix backward mouse wheeling not working when scroll position is below 0.
              https://bugs.webkit.org/show_bug.cgi?id=50370
      
              * fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * fast/dom/horizontal-scrollbar-in-rtl.html:
              * fast/dom/vertical-scrollbar-in-rtl-expected.txt:
              * fast/dom/vertical-scrollbar-in-rtl.html:
              * fast/events/wheelevent-in-horizontal-scrollbar-in-rtl-expected.txt: Added.
              * fast/events/wheelevent-in-horizontal-scrollbar-in-rtl.html: Added.
              * fast/events/wheelevent-in-vertical-scrollbar-in-rtl-expected.txt: Added.
              * fast/events/wheelevent-in-vertical-scrollbar-in-rtl.html: Added.
              * platform/chromium/fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * platform/chromium/fast/dom/vertical-scrollbar-in-rtl-expected.txt:
              * platform/chromium/fast/events/wheelevent-in-horizontal-scrollbar-in-rtl-expected.txt: Added.
              * platform/chromium/fast/events/wheelevent-in-vertical-scrollbar-in-rtl-expected.txt: Added.
              * platform/gtk/Skipped:
              * platform/mac-tiger/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt-wk2/Skipped:
              * platform/qt/fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * platform/qt/fast/dom/vertical-scrollbar-in-rtl-expected.txt:
              * platform/win/Skipped:
              * platform/win/fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * platform/win/fast/dom/vertical-scrollbar-in-rtl-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bebfbc9b
  12. 07 Dec, 2010 1 commit
    • philn@webkit.org's avatar
      2010-12-07 Philippe Normand <pnormand@igalia.com> · 6b4764ec
      philn@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [GStreamer] ::buffered() should return multiple ranges in some cases
              https://bugs.webkit.org/show_bug.cgi?id=45101
      
              Improved the ::buffered() method thanks to the new buffering query
              support that landed in GStreamer 0.10.31. The method now
              queries the media buffered-ranges on the pipeline and queue2
              handles it if it's buffering the media to disk.
      
              The webkitwebsrc element also gained BYTES duration query
              support. This is needed in the rare cases where uridecodebin
              configures its queue before the HTTP server returns the media
              Content-Length.
      
              Test: http/tests/media/video-buffered.html
      
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::MediaPlayerPrivateGStreamer::buffered):
              * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
              (webkit_web_src_init):
              (webKitWebSrcQuery): Make webkitwebsrc handle the duration queries
              if it's aware of the media content-length.
              * platform/gtk/RenderThemeGtk.cpp:
              (WebCore::RenderThemeGtk::paintMediaSliderTrack): Fix position of
              the second and next buffered ranges.
      
      LayoutTests:
      
              Reviewed by Gustavo Noronha Silva.
      
              [GStreamer] ::buffered() should return multiple ranges in some cases
              https://bugs.webkit.org/show_bug.cgi?id=45101
      
              New test for video.buffered attribute. The test is skipped for
              ports not returning multiple timeranges for video.buffered.
      
              * http/tests/media/video-buffered-expected.txt: Added.
              * http/tests/media/video-buffered.html: Added.
              * http/tests/resources/counting-captioned.mov: Added.
              * http/tests/media/video-throttled-load.cgi: added Range
              requests/responses support.
              * platform/chromium/test_expectations.txt:
              * platform/mac-leopard/Skipped:
              * platform/mac-snowleopard/Skipped:
              * platform/mac-tiger/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/mac/Skipped:
              * platform/qt-mac/Skipped:
              * platform/qt-win/Skipped:
              * platform/qt-wk2/Skipped:
              * platform/qt/Skipped:
              * platform/win-wk2/Skipped:
              * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6b4764ec
  13. 03 Dec, 2010 1 commit
  14. 02 Dec, 2010 2 commits
  15. 01 Dec, 2010 2 commits
    • darin@apple.com's avatar
      2010-12-01 Jia Pu <jpu@apple.com> · a5f05c0a
      darin@apple.com authored
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signature defined in base class.
      
              * src/EditorClientImpl.cpp:
              (WebKit::EditorClientImpl::getGuessesForWord):
              * src/EditorClientImpl.h:
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signature defined in base class.
      
              * WebCoreSupport/EditorClientQt.cpp:
              (WebCore::EditorClientQt::getGuessesForWord):
              * WebCoreSupport/EditorClientQt.h:
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signature defined in base class.
      
              * WebCoreSupport/EditorClientGtk.cpp:
              (WebKit::EditorClient::getGuessesForWord):
              * WebCoreSupport/EditorClientGtk.h:
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signature defined in base class.
      
              * WebCoreSupport/WebEditorClient.cpp:
              (WebEditorClient::getGuessesForWord):
              * WebCoreSupport/WebEditorClient.h:
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signature defined in base class.
      
              * WebKitSupport/EditorClientWx.cpp:
              (WebCore::EditorClientWx::getGuessesForWord):
              * WebKitSupport/EditorClientWx.h:
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              This patch is for supporting multiple correction suggestion panel on Mac OS X.
              The behavior and implementation is similar to that of reversion candiate panel.
      
              * WebCoreSupport/WebEditorClient.h: Adopted new signatures defined in base class.
      
              * WebCoreSupport/WebEditorClient.mm:  Adopted new signatures defined in base class.
                Added code to handle new multiple suggestion canidate panel type.
              (WebEditorClient::showCorrectionPanel):
              (WebEditorClient::getGuessesForWord):
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signature defined in base class.
      
              * WebCoreSupport/EditorClientHaiku.cpp:
              (WebCore::EditorClientHaiku::getGuessesForWord):
              * WebCoreSupport/EditorClientHaiku.h:
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signature defined in base class.
      
              * WebCoreSupport/EditorClientWinCE.cpp:
              (WebKit::EditorClientWinCE::getGuessesForWord):
              * WebCoreSupport/EditorClientWinCE.h:
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signature defined in base class.
      
              * WebCoreSupport/EditorClientEfl.cpp:
              (WebCore::EditorClientEfl::getGuessesForWord):
              * WebCoreSupport/EditorClientEfl.h:
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Test: platform/mac/editing/spelling/delete-autocorrected-word-1.html
              Manual test: WebCore/manual-tests/autocorrection/dismiss-multiple-guesses.html
                           WebCore/manual-tests/autocorrection/select-from-multiple-guesses.html
      
              This patch is for supporting multiple correction suggestion panel on Mac OS X.
              The behavior and implementation is similar to that of reversion candiate panel.
      
              * WebCore.exp.in: Added and removed symbols.
      
              * editing/CorrectionPanelInfo.h: Added new correction panel type, PanelTypeSpellingSuggestions.
      
              * editing/Editor.cpp:
              (WebCore::markerTypesForAutocorrection): Convenient function for getting marker types to
                be added to autocorrected word.
              (WebCore::boundingBoxForRange): Convenient function for calculating the bounding box of a range.
              (WebCore::markerTypesForReplacement): Convenient function for getting marker types to
                be added to word that has been replaced by various correction panel.
              (WebCore::Editor::respondToChangedSelection): Added code to trigger timer for multiple
                suggestion panel.
              (WebCore::Editor::guessesForMisspelledSelection): Adopted new signature of EditorClient::getGuessesForWord().
              (WebCore::Editor::markMisspellingsAfterTypingToWord): Adopted new signature of applyCorrectionPanelInfo().
              (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Ditto.
              (WebCore::Editor::correctionPanelTimerFired): Added code to handle new multiple suggestion panel.
              (WebCore::Editor::handleCorrectionPanelResult): Replaced handleRejectedCorrection(), since
                with new AppKit correction panel API, not only rejection, but also confirmation can be
                handled in callback.
              (WebCore::Editor::stopCorrectionPanelTimer): Moved the code that clears correction panel info
                from dismissCorrectionPanel() to this function to fix a bug that would occur when deleting
                autocorrected word.
              (WebCore::Editor::dismissCorrectionPanel): Ditto.
              (WebCore::Editor::applyCorrectionPanelInfo): Added code to handle new multiple suggestion panel.
      
              * editing/Editor.h: Replaced handleRejectedCorrection() with handleCorrectionPanelResult().
                Changed the signature of applyCorrectionPanelInfo() to hanlde new correction panel type.
      
              * editing/TextCheckingHelper.cpp:
              (WebCore::TextCheckingHelper::guessesForMisspelledOrUngrammaticalRange): Adopted new EditorClient::getGuessesForWord().
      
              * editing/TextCheckingHelper.h: Made paragraphRange() public.
      
              * loader/EmptyClients.h:
              (WebCore::EmptyEditorClient::showCorrectionPanel): Adopted new signature defined in base class.
              (WebCore::EmptyEditorClient::getGuessesForWord): Ditto.
      
              * manual-tests/autocorrection/dismiss-multiple-guesses.html: Added.
      
              * manual-tests/autocorrection/select-from-multiple-guesses.html: Added.
      
              * page/EditorClient.h:  Changed showCorrectionPanel() to allow passing multiple correction
                candidates. Changed getGuessesForWord() to allow passing in contextual text for better
                correction suggestions (for those spellcheckers that utilizes such contextual information).
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              * platform/mac-leopard/Skipped:
              * platform/mac-snowleopard/Skipped:
              * platform/mac-tiger/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/mac/editing/spelling/delete-autocorrected-word-1-expected.txt: Added.
              * platform/mac/editing/spelling/delete-autocorrected-word-1.html: Added.
      2010-12-01  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Support multiple correction candidates panel for misspelled word on Mac OS X.
              https://bugs.webkit.org/show_bug.cgi?id=50137
              <rdar://problem/8568059>
      
              Adopted new function signatures defined in base class.
      
              * WebProcess/WebCoreSupport/WebEditorClient.cpp:
              (WebKit::WebEditorClient::getGuessesForWord):
              * WebProcess/WebCoreSupport/WebEditorClient.h:
              * WebProcess/WebCoreSupport/mac/WebEditorClientMac.mm:
              (WebKit::WebEditorClient::showCorrectionPanel):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5f05c0a
    • hayato@chromium.org's avatar
      2010-12-01 Hayato Ito <hayato@chromium.org> · 1f72959e
      hayato@chromium.org authored
              Unreviewed trivial fix.
      
              Removed fast/regex/{test1,test4}.html because they were removed from tree by r72990
      
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1f72959e
  16. 30 Nov, 2010 3 commits
  17. 29 Nov, 2010 2 commits
  18. 22 Nov, 2010 1 commit
  19. 21 Nov, 2010 1 commit
  20. 20 Nov, 2010 1 commit
    • commit-queue@webkit.org's avatar
      2010-11-19 Jia Pu <jpu@apple.com> · a563e17c
      commit-queue@webkit.org authored
              Reviewed by Dan Bernstein.
      
              Regression: contraction is considered misspelling.
              https://bugs.webkit.org/show_bug.cgi?id=49423
              <rdar://problem/8654206>
      
              * platform/mac-leopard/Skipped:
              * platform/mac-snowleopard/Skipped:
              * platform/mac-tiger/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/mac/editing/spelling/autocorrection-contraction-expected.checksum: Added.
              * platform/mac/editing/spelling/autocorrection-contraction-expected.png: Added.
              * platform/mac/editing/spelling/autocorrection-contraction-expected.txt: Added.
              * platform/mac/editing/spelling/autocorrection-contraction.html: Added.
      2010-11-19  Jia Pu  <jpu@apple.com>
      
              Reviewed by Dan Bernstein.
      
              Regression: contraction is considered misspelling.
              https://bugs.webkit.org/show_bug.cgi?id=49423
              <rdar://problem/8654206>
      
              Test: platform/mac/editing/spelling/autocorrection-contraction.html
                    manual-tests/autocorrection/autocorrection-contraction.html
      
              * editing/Editor.cpp:
              (WebCore::isAmbiguousBoundaryCharacter): Moved function to the top of the file so that it can
                be used by all other functions in the file.
              (WebCore::Editor::markMisspellingsAfterTypingToWord): Renamed markMisspellingsAfterTypingToPosition()
                to improve readability, and to pass in additional argument. Before we apply pending
                autocorrection, we check to see if currently typed character makes current word a partial
                contraction, for instance "wouldn'". If that's the case, we would not apply the pending
                correction.
              (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Make sure currently typed word
                is not a partial contraction, such as "wouldn'", before mark it as misspelled. Also update
                the location of ambiguous boundary if other replacements have changed the length of the
                paragraph.
              * editing/Editor.h:
              * editing/TypingCommand.cpp:
              (WebCore::TypingCommand::markMisspellingsAfterTyping): Adopt renamed function.
              * manual-tests/autocorrection/autocorrection-contraction.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72469 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a563e17c
  21. 18 Nov, 2010 1 commit
    • jianli@chromium.org's avatar
      Move fileapi test files under http/tests/local to a new subdirectory under it · 7a064a56
      jianli@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=49709
      
      Reviewed by David Levin.
      
      * http/tests/local/fileapi/resources/setup-file-input-element-for-drag.js: Renamed from LayoutTests/http/tests/local/resources/setup-file-input-element-for-drag.js.
      * http/tests/local/fileapi/script-tests/TEMPLATE.html: Added.
      * http/tests/local/fileapi/script-tests/send-dragged-file.js: Renamed from LayoutTests/http/tests/local/resources/send-dragged-file.js.
      * http/tests/local/fileapi/script-tests/send-sliced-dragged-file.js: Renamed from LayoutTests/http/tests/local/resources/send-sliced-dragged-file.js.
      * http/tests/local/fileapi/send-dragged-file-expected.txt: Renamed from LayoutTests/http/tests/local/send-dragged-file-expected.txt.
      * http/tests/local/fileapi/send-dragged-file.html: Renamed from LayoutTests/http/tests/local/send-dragged-file.html.
      * http/tests/local/fileapi/send-sliced-dragged-file-expected.txt: Renamed from LayoutTests/http/tests/local/send-sliced-dragged-file-expected.txt.
      * http/tests/local/fileapi/send-sliced-dragged-file.html: Renamed from LayoutTests/http/tests/local/send-sliced-dragged-file.html.
      * platform/gtk/Skipped:
      * platform/mac-tiger/Skipped:
      * platform/mac-wk2/Skipped:
      * platform/qt-wk2/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a064a56
  22. 17 Nov, 2010 1 commit
  23. 16 Nov, 2010 1 commit
  24. 08 Nov, 2010 3 commits
  25. 05 Nov, 2010 2 commits
    • cmarrin@apple.com's avatar
      2010-11-05 Chris Marrin <cmarrin@apple.com> · 97af3e1c
      cmarrin@apple.com authored
              Reviewed by Simon Fraser.
      
              suspendAnimations/resumeAnimations not present in WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=49109
      
              Got 4 tests out of the Skipped list that now pass
      
              * platform/mac-wk2/Skipped:
      2010-11-05  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Simon Fraser.
      
              suspendAnimations/resumeAnimations not present in WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=49109
      
              * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
              * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
              (WTR::LayoutTestController::suspendAnimations):
              (WTR::LayoutTestController::resumeAnimations):
              * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      2010-11-05  Chris Marrin  <cmarrin@apple.com>
      
              Reviewed by Simon Fraser.
      
              suspendAnimations/resumeAnimations not present in WebKit2
              https://bugs.webkit.org/show_bug.cgi?id=49109
      
              * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
              (WKBundleFrameSuspendAnimations):
              (WKBundleFrameResumeAnimations):
              * WebProcess/InjectedBundle/API/c/WKBundleFramePrivate.h:
              * WebProcess/WebPage/WebFrame.cpp:
              (WebKit::WebFrame::suspendAnimations):
              (WebKit::WebFrame::resumeAnimations):
              * WebProcess/WebPage/WebFrame.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97af3e1c
    • andersca@apple.com's avatar
      Implement NP_RemoveProperty and NP_Enumerate · 46e6d372
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=49046
      
      Reviewed by Oliver Hunt.
      
      WebKit2:
      
      * Shared/Plugins/NPObjectMessageReceiver.cpp:
      (WebKit::NPObjectMessageReceiver::removeProperty):
      Call the removeProperty NPClass function.
      
      (WebKit::NPObjectMessageReceiver::enumerate):
      Call the enumerate NPClass function.
      
      * Shared/Plugins/NPObjectMessageReceiver.messages.in:
      Add RemoveProperty and Enumerate messages.
      
      * Shared/Plugins/NPObjectProxy.cpp:
      (WebKit::NPObjectProxy::removeProperty):
      Send the RemoveProperty message.
      
      (WebKit::NPObjectProxy::enumerate):
      Send the Enumerate message.
      
      (WebKit::NPObjectProxy::NP_RemoveProperty):
      Call removeProperty.
      
      (WebKit::NPObjectProxy::NP_Enumerate):
      Call enumerate.
      
      LayoutTests:
      
      Remove now passing tests.
      
      * platform/mac-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46e6d372
  26. 03 Nov, 2010 1 commit
    • andersca@apple.com's avatar
      Implement NP_SetProperty · f8ce5158
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=48956
      
      Reviewed by Adam Roben.
      
      WebKit2:
      
      * Shared/Plugins/NPObjectMessageReceiver.cpp:
      (WebKit::NPObjectMessageReceiver::setProperty):
      Call the NPClass setProperty function.
      
      * Shared/Plugins/NPObjectMessageReceiver.messages.in:
      Add SetProperty message.
      
      * Shared/Plugins/NPObjectProxy.cpp:
      (WebKit::NPObjectProxy::setProperty):
      Send a SetProperty message.
      
      (WebKit::NPObjectProxy::NP_SetProperty):
      Call NPObjectProxy::setProperty.
      
      LayoutTests:
      
      Remove now passing test.
      
      * platform/mac-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f8ce5158
  27. 02 Nov, 2010 3 commits
  28. 01 Nov, 2010 1 commit