1. 02 Dec, 2010 11 commits
  2. 01 Dec, 2010 29 commits
    • ggaren@apple.com's avatar
      Try to fix the GTK build. · a0df9308
      ggaren@apple.com authored
      * GNUmakefile.am: Use a full path to OSAllocator*.cpp.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73109 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0df9308
    • ggaren@apple.com's avatar
      Try to fix the EFL Linux build. · 77d8b047
      ggaren@apple.com authored
      * CMakeListsEfl.txt: Added OSAllocator to the project.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73108 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      77d8b047
    • eric@webkit.org's avatar
      2010-12-01 Eric Seidel <eric@webkit.org> · 4b01b14d
      eric@webkit.org authored
              Unreviewed.
      
              compositing/iframes/overlapped-nested-iframes.html is ridiculously flaky
              https://bugs.webkit.org/show_bug.cgi?id=50255
      
              Skipping it to stop the madness.
      
              * platform/mac-snowleopard/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73107 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4b01b14d
    • ggaren@apple.com's avatar
      Try to fix the Qt build: Include all OS files for Qt's sake, and then · 0acf21e6
      ggaren@apple.com authored
      use #ifdefs in the files to exclude things based on OS.
              
      This is a pretty bad way to manage platforms -- hopefully we can
      fix the Qt build system and move away from this in the future.
      
      * wtf/OSAllocatorPosix.cpp:
      * wtf/OSAllocatorSymbian.cpp:
      * wtf/OSAllocatorWin.cpp:
      * wtf/wtf.pri:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0acf21e6
    • ggaren@apple.com's avatar
      Try to fix the Chromium build. · d76a5825
      ggaren@apple.com authored
              
      * JavaScriptCore.gypi: This is a Windows build file, so use OSAllocatorWin.cpp.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73105 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d76a5825
    • ggaren@apple.com's avatar
      Try to fix the GTK build. · 3215b4ee
      ggaren@apple.com authored
      * GNUmakefile.am: Added OSAllocator to another project.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73104 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3215b4ee
    • victorw@chromium.org's avatar
      2010-12-01 Victor Wang <victorw@chromium.org> · 787a4d17
      victorw@chromium.org authored
              Unreviewed.
      
              [Chromium] update chromium image test expectations.
      
              * platform/chromium-mac/platform/mac/editing: Added.
              * platform/chromium-mac/platform/mac/editing/spelling: Added.
              * platform/chromium-mac/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Added.
              * platform/chromium-mac/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Added.
              * platform/chromium-win/platform/mac/editing/spelling: Added.
              * platform/chromium-win/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.checksum: Added.
              * platform/chromium-win/platform/mac/editing/spelling/delete-autocorrected-word-1-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73103 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      787a4d17
    • ggaren@apple.com's avatar
      Try to fix the GTK Linux build. · f809defe
      ggaren@apple.com authored
      * JavaScriptCore.gypi: Added OSAllocator to the project.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73102 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f809defe
    • ggaren@apple.com's avatar
      Try to fix the Qt Linux build. · 2ba3ec4d
      ggaren@apple.com authored
      * wtf/OSAllocatorPosix.cpp: Use the right errno.h.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73101 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2ba3ec4d
    • jparent@chromium.org's avatar
      Unreviewed. Removing out of date expectation. · 02af7f56
      jparent@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02af7f56
    • ggaren@apple.com's avatar
      Try to fix Windows build: export some more symbols. · 97b585d4
      ggaren@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73099 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      97b585d4
    • weinig@apple.com's avatar
      Fix 64-bit build. · db131323
      weinig@apple.com authored
      * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
      (WebKit::NetscapePlugin::windowAndViewFramesChanged):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73098 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db131323
    • ggaren@apple.com's avatar
      Try to fix the Qt Linux build. · 3b701757
      ggaren@apple.com authored
      * wtf/wtf.pri: Use the POSIX OSAllocator for Qt Linux.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73097 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b701757
    • ggaren@apple.com's avatar
      Windows build fix: commit doesn't have a return value. · ab9e4182
      ggaren@apple.com authored
      * wtf/OSAllocatorWin.cpp:
      (WTF::OSAllocator::commit):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73096 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab9e4182
    • ggaren@apple.com's avatar
      Build fix: Export some symbols. · cb57abd7
      ggaren@apple.com authored
      * JavaScriptCore.exp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb57abd7
    • ggaren@apple.com's avatar
      Build fix: Added a forwarding header. · 74cf44d1
      ggaren@apple.com authored
      JavaScriptGlue: 
      
      * ForwardingHeaders/wtf/OSAllocator.h: Added.
      
      WebCore: 
      
      * ForwardingHeaders/wtf/OSAllocator.h: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      74cf44d1
    • jparent@chromium.org's avatar
      Unreviewed. Moving test expecation upstream. · 8d15006a
      jparent@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d15006a
    • ggaren@apple.com's avatar
      Build fix. · 218c9a3d
      ggaren@apple.com authored
      * JavaScriptCore.xcodeproj/project.pbxproj: Export OSAllocator.h as private
      so other projects can see it.
      
      * wtf/OSAllocatorPosix.cpp: #include UnusedParam.h for UNUSED_PARAM.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      218c9a3d
    • ggaren@apple.com's avatar
      Baby step toward a cross-platform virtual memory abstraction: created · 13bef259
      ggaren@apple.com authored
      an all-static OSAllocator class and changed MarkStack to use it.
      
      Reviewed by Sam Weinig.
      
      * JavaScriptCore.exp: These functions are inlined now.
      
      * JavaScriptCore.vcproj/WTF/WTF.vcproj: Added OSAllocatorWin.cpp.
      
      * JavaScriptCore.xcodeproj/project.pbxproj: Added OSAllocatorPosix.cpp.
      
      * runtime/MarkStack.h:
      (JSC::MarkStack::allocateStack):
      (JSC::MarkStack::releaseStack): Use OSAllocator instead of rolling our
      own platform-specific code.
      
      * runtime/MarkStackNone.cpp: Removed. Nothing used this.
      
      * runtime/MarkStackPosix.cpp: 
      * runtime/MarkStackSymbian.cpp:
      * runtime/MarkStackWin.cpp: Removed custom platform-specific code, since
      we use the OSAllocator abstraction now.
      
      * wtf/OSAllocator.h: Added.
      * wtf/OSAllocatorPosix.cpp: Added.
      (WTF::OSAllocator::reserve):
      (WTF::OSAllocator::reserveAndCommit):
      (WTF::OSAllocator::commit):
      (WTF::OSAllocator::decommit):
      (WTF::OSAllocator::release):
      * wtf/OSAllocatorSymbian.cpp: Added.
      (WTF::OSAllocator::reserve):
      (WTF::OSAllocator::reserveAndCommit):
      (WTF::OSAllocator::commit):
      (WTF::OSAllocator::decommit):
      (WTF::OSAllocator::release):
      * wtf/OSAllocatorWin.cpp: Added.
      (WTF::OSAllocator::reserve):
      (WTF::OSAllocator::reserveAndCommit):
      (WTF::OSAllocator::commit):
      (WTF::OSAllocator::decommit):
      (WTF::OSAllocator::release): The new OSAllocator abstraction.
      
      * wtf/wtf.pri: Added OSAllocatorSymbian.cpp.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73091 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      13bef259
    • andersca@apple.com's avatar
      Give the fake Carbon window the right bounds · 528882cb
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50361
      
      Reviewed by Sam Weinig.
      
      * PluginProcess/PluginControllerProxy.cpp:
      (WebKit::PluginControllerProxy::windowAndViewFramesChanged):
      * PluginProcess/PluginControllerProxy.h:
      * PluginProcess/PluginControllerProxy.messages.in:
      * UIProcess/API/mac/WKView.mm:
      (-[WKView _updateWindowAndViewFrames]):
      Pass both the window frame and view frame along.
      
      (-[WKView renewGState]):
      Call _updateWindowAndViewFrames.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::windowAndViewFramesChanged):
      Pass both the window frame and view frame along.
      
      * UIProcess/WebPageProxy.h:
      * WebProcess/Plugins/Netscape/NetscapePlugin.h:
      * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
      (WebKit::NetscapePlugin::platformPostInitialize):
      We don't want a title bar in our fake window.
      
      (WebKit::computeFakeWindowBoundsRect):
      Compute the fake window bounds.
      
      (WebKit::NetscapePlugin::windowAndViewFramesChanged):
      Update the fake window bounds.
      
      * WebProcess/Plugins/Plugin.h:
      * WebProcess/Plugins/PluginProxy.cpp:
      (WebKit::PluginProxy::windowAndViewFramesChanged):
      * WebProcess/Plugins/PluginProxy.h:
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::PluginView::windowAndViewFramesChanged):
      (WebKit::PluginView::initializePlugin):
      * WebProcess/Plugins/PluginView.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::windowAndViewFramesChanged):
      * WebProcess/WebPage/WebPage.h:
      (WebKit::WebPage::windowFrameInScreenCoordinates):
      (WebKit::WebPage::viewFrameInWindowCoordinates):
      * WebProcess/WebPage/WebPage.messages.in:
      Pass both the window frame and view frame along.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      528882cb
    • thakis@chromium.org's avatar
      2010-12-01 Nico Weber <thakis@chromium.org> · b57f1174
      thakis@chromium.org authored
              More baselines after http://trac.webkit.org/changeset/72689
              https://bugs.webkit.org/show_bug.cgi?id=50040
      
              The rebaseline script didn't find these, because they're only wrong
              in platform/mac-leopard. I use Snow Leopard, so the script didn't look
              there. The bots on the other hand use Leopard, so they complain. I
              manually copied the expectations from platfrom/mac to
              platform/chromium-mac. Explanation by jamesr.
      
              * platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-10-t-expected.checksum: Added.
              * platform/chromium-mac/svg/W3C-SVG-1.1/struct-image-10-t-expected.png: Added.
              * platform/chromium-mac/tables/mozilla/bugs/bug14929-expected.checksum: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b57f1174
    • 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
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=50360 · d3c399f3
      hyatt@apple.com authored
              
      Reviewed by James Robinson.
      
      Make sure to include the origin adjustment code that I added on Mac to keep truncation-rtl.html passing.
      
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::updateScrollbars):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3c399f3
    • bweinstein@apple.com's avatar
      Land Windows specific results for /vertical-scrollbar-in-rtl.html · 4058aa32
      bweinstein@apple.com authored
      after r73063.
      
      * platform/win/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4058aa32
    • simon.fraser@apple.com's avatar
      2010-12-01 Simon Fraser <simon.fraser@apple.com> · 686c5d14
      simon.fraser@apple.com authored
              Reviewed by John Sullivan.
      
              Hit testing broken on sibling views of the WKView
              <rdar://problem/8718397>
      
              Make sure that hitView is not null when comparing with the
              _layerHostingView.
      
              * UIProcess/API/mac/WKView.mm:
              (-[WKView hitTest:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      686c5d14
    • andersca@apple.com's avatar
      Implement the remaining PluginController/Plugin member functions · ffc62aad
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50356
      
      Reviewed by Sam Weinig.
      
      * PluginProcess/PluginControllerProxy.cpp:
      (WebKit::PluginControllerProxy::cancelStreamLoad):
      (WebKit::PluginControllerProxy::cancelManualStreamLoad):
      (WebKit::PluginControllerProxy::setStatusbarText):
      (WebKit::PluginControllerProxy::pluginProcessCrashed):
      (WebKit::PluginControllerProxy::frameDidFinishLoading):
      (WebKit::PluginControllerProxy::frameDidFail):
      (WebKit::PluginControllerProxy::manualStreamDidReceiveResponse):
      (WebKit::PluginControllerProxy::manualStreamDidReceiveData):
      (WebKit::PluginControllerProxy::manualStreamDidFinishLoading):
      (WebKit::PluginControllerProxy::manualStreamDidFail):
      * PluginProcess/PluginControllerProxy.h:
      * PluginProcess/PluginControllerProxy.messages.in:
      * WebProcess/Plugins/PluginProxy.cpp:
      (WebKit::PluginProxy::frameDidFinishLoading):
      (WebKit::PluginProxy::frameDidFail):
      (WebKit::PluginProxy::manualStreamDidReceiveResponse):
      (WebKit::PluginProxy::manualStreamDidReceiveData):
      (WebKit::PluginProxy::manualStreamDidFinishLoading):
      (WebKit::PluginProxy::manualStreamDidFail):
      (WebKit::PluginProxy::windowFrameChanged):
      (WebKit::PluginProxy::cancelStreamLoad):
      (WebKit::PluginProxy::cancelManualStreamLoad):
      (WebKit::PluginProxy::setStatusbarText):
      * WebProcess/Plugins/PluginProxy.h:
      * WebProcess/Plugins/PluginProxy.messages.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffc62aad
    • mihaip@chromium.org's avatar
      2010-12-01 Mihai Parparita <mihaip@chromium.org> · dfe9845d
      mihaip@chromium.org authored
              Reviewed by Adam Barth.
      
              build-webkit --chromium always updates DEPS and re-generates project files
              https://bugs.webkit.org/show_bug.cgi?id=50340
      
              Make build-webkit --chromium invoke update-webkit-chromium only when
              --update-chromium is passed in, so that we don't add 20 seconds to all
              builds.
      
              Making all invocations update was added with r61883, with the goal of
              making EWS bots always update. The bots will switch to using this flag
              (as will all other webkit-patch build steps) so nothing should change
              for them.
      
              * Scripts/webkitdirs.pm:
              * Scripts/webkitpy/common/config/ports.py:
              * Scripts/webkitpy/common/config/ports_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dfe9845d
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=46645 · 6e457da2
      hyatt@apple.com authored
      Reviewed by Dan Bernstein.
      
      Generalize overflow section scrollOriginX code to be a point and to work in both horizontal
      and vertical modes.
      
      Not testable yet, since the rightmost/leftmost/topmost/lowestPosition functions are returning
      horrendously wrong values in the vertical text case for overflow:auto objects.
      
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::RenderLayer):
      (WebCore::RenderLayer::scrollToOffset):
      (WebCore::RenderLayer::computeScrollDimensions):
      (WebCore::RenderLayer::updateOverflowStatus):
      * rendering/RenderLayer.h:
      (WebCore::RenderLayer::scrolledContentOffset):
      (WebCore::RenderLayer::scrollXOffset):
      (WebCore::RenderLayer::scrollYOffset):
      (WebCore::RenderLayer::scrollToXOffset):
      (WebCore::RenderLayer::scrollToYOffset):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e457da2
    • dpranke@chromium.org's avatar
      2010-12-01 Dirk Pranke <dpranke@chromium.org> · 7fed1f8f
      dpranke@chromium.org authored
              Reviewed by Tony Chang.
      
              new-run-webkit-tests: add a --dry-run / -n flag
              https://bugs.webkit.org/show_bug.cgi?id=50045
      
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7fed1f8f