1. 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
  2. 19 Nov, 2010 39 commits
    • commit-queue@webkit.org's avatar
      2010-11-19 Zalan Bujtas <zbujtas@gmail.com> · 91d38a7e
      commit-queue@webkit.org authored
              Reviewed by Andreas Kling.
      
              WebUIClient::createNewPage() expects a retained WKPageRef.
              https://bugs.webkit.org/show_bug.cgi?id=48549
      
              * UIProcess/API/qt/ClientImpl.cpp:
              (qt_wk_createNewPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72468 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91d38a7e
    • benjamin.poulain@nokia.com's avatar
      2010-11-19 Benjamin Poulain <benjamin.poulain@nokia.com> · b936c101
      benjamin.poulain@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Transition and animation do not work with QWebView anymore
              https://bugs.webkit.org/show_bug.cgi?id=49797
      
              Accelerated compositing should not be enabled on QWebView without
              texture mapper.
      
              * WebCoreSupport/PageClientQt.h:
              (WebCore::PageClientQWidget::allowsAcceleratedCompositing):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72467 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b936c101
    • commit-queue@webkit.org's avatar
      2010-11-19 Yi Shen <yi.4.shen@nokia.com> · 8d338878
      commit-queue@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Qt] Memory leak in QWebInspector
              https://bugs.webkit.org/show_bug.cgi?id=49765
      
              Delete QWebInspectorPrivate in ~QWebInspector()
      
              * Api/qwebinspector.cpp:
              (QWebInspector::~QWebInspector):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72466 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8d338878
    • andreas.kling@nokia.com's avatar
      2010-11-19 Andreas Kling <kling@webkit.org> · 7995331f
      andreas.kling@nokia.com authored
              Reviewed by Antonio Gomes.
      
              ScrollView: Make delegatesScrolling() and avoidScrollbarCreation() const.
              https://bugs.webkit.org/show_bug.cgi?id=49854
      
              * page/FrameView.cpp:
              (WebCore::FrameView::delegatesScrolling):
              (WebCore::FrameView::avoidScrollbarCreation):
              * page/FrameView.h:
              * platform/ScrollView.h:
              (WebCore::ScrollView::delegatesScrolling):
              (WebCore::ScrollView::avoidScrollbarCreation):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72465 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7995331f
    • commit-queue@webkit.org's avatar
      2010-11-19 William Chan <willchan@chromium.org> · df0f9444
      commit-queue@webkit.org authored
              Reviewed by David Levin.
      
              Add USE(CHROMIUM_NET)
      
              Indicates the use of Chromium's network stack.  Chromium's network
              stack performs better when it has full view of all resource requests,
              so USE(CHROMIUM_NET) can be used to bypass throttles.
      
              https://bugs.webkit.org/show_bug.cgi?id=49778
      
              * wtf/Platform.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df0f9444
    • sfalken@apple.com's avatar
      Touch file to force build. · 348424b1
      sfalken@apple.com authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72463 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      348424b1
    • podivilov@chromium.org's avatar
      2010-11-19 Pavel Podivilov <podivilov@chromium.org> · 8879dfc4
      podivilov@chromium.org authored
              Reviewed by Yury Semikhatsky.
      
              Web Inspector: scripts panel should be shown before execution line is scrolled into view.
              https://bugs.webkit.org/show_bug.cgi?id=49792
      
              * inspector/front-end/ScriptsPanel.js:
              (WebInspector.ScriptsPanel.prototype.debuggerPaused):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8879dfc4
    • andersca@apple.com's avatar
      Add a didFail WKContextDownloadClient callback · 556e58e3
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=49847
      
      Reviewed by Sam Weinig.
      
      * UIProcess/API/C/WKContext.h:
      Add didFail callback.
      
      * UIProcess/Downloads/DownloadProxy.cpp:
      (WebKit::DownloadProxy::didFail):
      Call WebDownloadClient::didFail.
      
      * UIProcess/WebDownloadClient.cpp:
      (WebKit::WebDownloadClient::didFail):
      Call the didFail client function.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      556e58e3
    • mihaip@chromium.org's avatar
      2010-11-19 Mihai Parparita <mihaip@chromium.org> · 66651c12
      mihaip@chromium.org authored
              Reviewed by Tony Chang.
      
              Rebaseline server: checksum-only differences and prefetching
              https://bugs.webkit.org/show_bug.cgi?id=49841
      
              Add support for image test results where the only difference is in the
              checksum.
      
              Add prefetching of the image results from the next test.
      
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/index.html:
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.css:
              * Scripts/webkitpy/tool/commands/data/rebaselineserver/main.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72460 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66651c12
    • commit-queue@webkit.org's avatar
      2010-11-19 James Simonsen <simonjam@chromium.org> · 375b7b0b
      commit-queue@webkit.org authored
              Reviewed by Tony Chang.
      
              [chromium] Fix whitespace character handling in complex text on linux
              https://bugs.webkit.org/show_bug.cgi?id=49771
      
              * platform/chromium-linux/fast/text/international/bidi-linebreak-001-expected.checksum: Remove null glyph from expected output.
              * platform/chromium-linux/fast/text/international/bidi-linebreak-001-expected.png: Ditto.
              * platform/chromium-linux/fast/text/international/bidi-linebreak-001-expected.txt: Ditto.
              * platform/chromium-linux/fast/text/international/bidi-linebreak-002-expected.checksum: Ditto.
              * platform/chromium-linux/fast/text/international/bidi-linebreak-002-expected.png: Ditto.
              * platform/chromium-linux/fast/text/international/bidi-linebreak-002-expected.txt: Ditto.
              * platform/chromium-linux/fast/text/international/bidi-linebreak-003-expected.checksum: Ditto.
              * platform/chromium-linux/fast/text/international/bidi-linebreak-003-expected.png: Ditto.
              * platform/chromium-linux/fast/text/international/bidi-linebreak-003-expected.txt: Ditto.
              * platform/chromium-linux/fast/text/wide-zero-width-space-expected.checksum: Added. Now passes on Linux.
              * platform/chromium-linux/fast/text/wide-zero-width-space-expected.png: Added.
              * platform/chromium-linux/fast/text/wide-zero-width-space-expected.txt: Added.
              * platform/chromium/test_expectations.txt: Removed LINUX from wide-zero-width-space.
      2010-11-19  James Simonsen  <simonjam@chromium.org>
      
              Reviewed by Tony Chang.
      
              [chromium] Fix whitespace character handling in complex text on linux
              https://bugs.webkit.org/show_bug.cgi?id=49771
      
              * platform/graphics/SimpleFontData.h:
              (WebCore::SimpleFontData::isZeroWidthSpaceGlyph): Added.
              (WebCore::SimpleFontData::boundsForGlyph): Use isZeroWidthSpaceGlyph().
              (WebCore::SimpleFontData::widthForGlyph): Use isZeroWidthSpaceGlyph().
              * platform/graphics/chromium/FontLinux.cpp:
              (WebCore::TextRunWalker::nextScriptRun): Cache currently used font data.
              (WebCore::TextRunWalker::setGlyphXPositions): Skip zero width spaces.
              (WebCore::TextRunWalker::normalizeSpacesAndMirrorChars): Normalize zero width spaces.
              (WebCore::TextRunWalker::getNormalizedTextRun):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72459 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      375b7b0b
    • dpranke@chromium.org's avatar
      2010-11-19 Dirk Pranke <dpranke@chromium.org> · bd01f57f
      dpranke@chromium.org authored
              Reviewed by Tony Chang.
      
              nrwt multiprocessing - add 'worker number' concept, move stuff to worker thread
      
              Add the 'worker number' and 'worker name' concepts to the
              TestShellThread objects, and move test_types and test_args from
              the TestRunner to the TestShellThread.
      
              https://bugs.webkit.org/show_bug.cgi?id=49768
      
              * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72458 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd01f57f
    • dpranke@chromium.org's avatar
      2010-11-19 Dirk Pranke <dpranke@chromium.org> · cfa148a4
      dpranke@chromium.org authored
              Reviewed by Ojan Vafai.
      
              Do some minor cleanup and bug fixing.
      
              https://bugs.webkit.org/show_bug.cgi?id=49777
      
              * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72457 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfa148a4
    • andersca@apple.com's avatar
      Extend sandbox when downloading files · 4cc1758c
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=49844
      
      Reviewed by Sam Weinig.
      
      * Platform/CoreIPC/HandleMessage.h:
      (CoreIPC::callMemberFunction):
      Add new overload.
      
      * UIProcess/Downloads/DownloadProxy.cpp:
      (WebKit::DownloadProxy::decideDestinationWithSuggestedFilename):
      Create a sandbox extension handle if necessary.
      
      * UIProcess/Downloads/DownloadProxy.messages.in:
      Add a sandbox extension handle out parameter to the DecideDestinationWithSuggestedFilename message.
      
      * WebProcess/Downloads/Download.cpp:
      (WebKit::Download::decideDestinationWithSuggestedFilename):
      Create and consume the returned sandbox extension handle.
      
      (WebKit::Download::didFinish):
      (WebKit::Download::didFail):
      Invalidate the sandbox extension handles.
      
      * WebProcess/Downloads/mac/DownloadMac.mm:
      (-[WKDownloadAsDelegate download:shouldDecodeSourceDataOfMIMEType:]):
      Whoops, fix inverted logic.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72456 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cc1758c
    • dpranke@chromium.org's avatar
      2010-11-19 Dirk Pranke <dpranke@chromium.org> · 9575c957
      dpranke@chromium.org authored
              Reviewed by Ojan Vafai.
      
              nrwt - config.build_directory() is busted
      
              Fixes a typo that was causing us to usually return the top level
              directory WebKitBuild instead of WebKitBuild/{Debug,Release}. The
              bug was hidden by test stubs that were too simplistic :(.
      
              https://bugs.webkit.org/show_bug.cgi?id=49815
      
              * Scripts/webkitpy/common/system/executive_mock.py:
              * Scripts/webkitpy/layout_tests/port/config.py:
              * Scripts/webkitpy/layout_tests/port/config_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72455 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9575c957
    • sfalken@apple.com's avatar
      2010-11-19 Steve Falkenburg <sfalken@apple.com> · 30dea261
      sfalken@apple.com authored
              Reviewed by Adam Roben.
      
              Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
              https://bugs.webkit.org/show_bug.cgi?id=49819
      
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.vcproj:
              * JavaScriptCore.vcproj/WTF/WTF.vcproj:
              * JavaScriptCore.vcproj/WTF/WTFCommon.vsprops:
              * JavaScriptCore.vcproj/jsc/jsc.vcproj:
              * JavaScriptCore.vcproj/testapi/testapi.vcproj:
      2010-11-19  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
              https://bugs.webkit.org/show_bug.cgi?id=49819
      
              * WebKit.vcproj/Interfaces.vcproj:
              * WebKit.vcproj/WebKit.sln:
              * WebKit.vcproj/WebKit.vcproj:
              * WebKit.vcproj/WebKitGUID.vcproj:
      2010-11-19  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
              https://bugs.webkit.org/show_bug.cgi?id=49819
      
              * WebCore.vcproj/QTMovieWin.vcproj:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.vcproj/WebCoreGenerated.vcproj:
      2010-11-19  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
              https://bugs.webkit.org/show_bug.cgi?id=49819
      
              * DumpRenderTree/DumpRenderTree.sln:
              * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
              * DumpRenderTree/win/DumpRenderTree.vcproj:
              * DumpRenderTree/win/ImageDiff.vcproj:
              * FindSafari/FindSafari.vcproj:
              * MiniBrowser/MiniBrowser.vcproj:
              * TestWebKitAPI/win/TestWebKitAPI.sln:
              * TestWebKitAPI/win/TestWebKitAPI.vcproj:
              * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
              * WebKitAPITest/WebKitAPITest.vcproj:
              * WebKitLauncherWin/WebKitLauncherWin.vcproj:
              * WebKitTestRunner/win/InjectedBundle.vcproj:
              * WebKitTestRunner/win/InjectedBundleGenerated.vcproj:
              * WebKitTestRunner/win/WebKitTestRunner.vcproj:
              * WinLauncher/WinLauncher.vcproj:
              * record-memory-win/record-memory-win.vcproj:
      2010-11-19  Steve Falkenburg  <sfalken@apple.com>
      
              Reviewed by Adam Roben.
      
              Add Debug_Cairo_CFLite and Release_Cairo_CFLite configurations for all vcproj files
              https://bugs.webkit.org/show_bug.cgi?id=49819
      
              * win/WebKit2.vcproj:
              * win/WebKit2Generated.vcproj:
              * win/WebKit2WebProcess.vcproj:
              * win/WebKit2WebProcessCommon.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30dea261
    • aroben@apple.com's avatar
      Add Lucas De Marchi's blog to Planet WebKit · 0c3c6f0e
      aroben@apple.com authored
      Reviewed by Jon Honeycutt.
      
      * config.ini:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72453 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c3c6f0e
    • aroben@apple.com's avatar
      Add some more Windows slaves · d6e71e8a
      aroben@apple.com authored
      This is probably more than we will be using in the immediate future,
      but having some extra slave names makes experimenting with different
      configurations easier.
      
      Reviewed by Jon Honeycutt.
      
      * BuildSlaveSupport/build.webkit.org-config/config.json: Added 5 more
      Windows slaves and distributed them among the three different Test
      builders.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6e71e8a
    • beidson@apple.com's avatar
      More of <rdar://problem/8613727> and https://bugs.webkit.org/show_bug.cgi?id=49836 · 3b2e8d4b
      beidson@apple.com authored
      Add WebKit2 API relevant to customization of context menus
      
      Reviewed by Darin Adler.
      
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp:
      (WKBundleFrameAllowsFollowingLink):
      * WebProcess/InjectedBundle/API/c/WKBundleFrame.h:
      
      * WebProcess/WebPage/WebFrame.cpp:
      (WebKit::WebFrame::allowsFollowingLink):
      * WebProcess/WebPage/WebFrame.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72451 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b2e8d4b
    • mihaip@chromium.org's avatar
      2010-11-19 Mihai Parparita <mihaip@chromium.org> · aef76db3
      mihaip@chromium.org authored
              Unreviewed Chromium/Mac rebaseline.
      
              Rebaseline tests in fast/events that have different scrollbar rendering.
      
              * platform/chromium-mac/fast/events/autoscroll-expected.checksum: Added.
              * platform/chromium-mac/fast/events/autoscroll-expected.png: Added.
              * platform/chromium-mac/fast/events/pointer-events-2-expected.checksum: Added.
              * platform/chromium-mac/fast/events/pointer-events-2-expected.png: Added.
              * platform/chromium-mac/fast/events/reveal-link-when-focused-expected.checksum: Added.
              * platform/chromium-mac/fast/events/reveal-link-when-focused-expected.png: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72450 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aef76db3
    • mihaip@chromium.org's avatar
      2010-11-19 Mihai Parparita <mihaip@chromium.org> · b06f2fb0
      mihaip@chromium.org authored
              Unreviewed Chromium/Mac rebaseline.
      
              Rebaseline tests in fast/frames that have different scrollbar rendering.
      
              * platform/chromium-mac/fast/frames/frame-scrolling-attribute-expected.checksum: Added.
              * platform/chromium-mac/fast/frames/frame-scrolling-attribute-expected.png: Added.
              * platform/chromium-mac/fast/frames/iframe-scrolling-attribute-expected.checksum: Added.
              * platform/chromium-mac/fast/frames/iframe-scrolling-attribute-expected.png: Added.
              * platform/chromium-mac/fast/frames/invalid-expected.checksum: Added.
              * platform/chromium-mac/fast/frames/invalid-expected.png: Added.
              * platform/chromium-mac/fast/frames/valid-expected.checksum: Added.
              * platform/chromium-mac/fast/frames/valid-expected.png: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72449 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b06f2fb0
    • mihaip@chromium.org's avatar
      2010-11-19 Mihai Parparita <mihaip@chromium.org> · 2cdbdb1c
      mihaip@chromium.org authored
              Unreviewed Chromium/Mac rebaseline of transforms/2d/zoom-menulist.html.
      
              * platform/chromium-mac/transforms/2d/zoom-menulist-expected.checksum: Added.
              * platform/chromium-mac/transforms/2d/zoom-menulist-expected.png: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72448 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2cdbdb1c
    • mihaip@chromium.org's avatar
      2010-11-19 Mihai Parparita <mihaip@chromium.org> · 082e57a4
      mihaip@chromium.org authored
              Unreviewed Chromium expectations update.
      
              http/tests/loading/bad-server-subframe.html had chromium-win baselines
              that made it fail consistently on Windows and Linux. It should pass with
              the regular upstream baselines.
      
              * platform/chromium-win/http/tests/loading/bad-server-subframe-expected.txt: Removed.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72447 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      082e57a4
    • beidson@apple.com's avatar
      <rdar://problem/8613727> and https://bugs.webkit.org/show_bug.cgi?id=49836 · a02a1b15
      beidson@apple.com authored
      Add WebKit2 API relevant to customization of context menus
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      * WebCore.exp.in:
      
      WebKit2: 
      
      Most of this is just exposing already-existing concepts in API.
      
      * Shared/API/c/WKURLRequest.cpp:
      (WKURLRequestCreateWithWKURL):
      * Shared/API/c/WKURLRequest.h:
      
      * Shared/WebURLRequest.cpp:
      (WebKit::WebURLRequest::create):
      * Shared/WebURLRequest.h:
      
      * WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.cpp:
      (WKBundleHitTestResultCopyAbsoluteImageURL):
      (WKBundleHitTestResultCopyAbsoluteMediaURL):
      (WKBundleHitTestResultGetImageRect):
      (WKBundleHitTestResultGetIsSelected):
      * WebProcess/InjectedBundle/API/c/WKBundleHitTestResult.h:
      
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      (WKBundlePageHasLocalDataForURL):
      (WKBundlePageCanHandleRequest):
      * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
      
      * WebProcess/InjectedBundle/InjectedBundleHitTestResult.cpp:
      (WebKit::InjectedBundleHitTestResult::absoluteImageURL):
      (WebKit::InjectedBundleHitTestResult::absoluteMediaURL):
      (WebKit::InjectedBundleHitTestResult::imageRect):
      (WebKit::InjectedBundleHitTestResult::isSelected):
      * WebProcess/InjectedBundle/InjectedBundleHitTestResult.h:
      
      * WebProcess/WebPage/WebContextMenu.cpp:
      (WebKit::WebContextMenu::show):
      
      * WebProcess/WebPage/WebPage.h:
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::WebPage::hasLocalDataForURL):
      (WebKit::WebPage::canHandleRequest):
      * WebProcess/WebPage/qt/WebPageQt.cpp:
      (WebKit::WebPage::hasLocalDataForURL): Stubbed for now.
      (WebKit::WebPage::canHandleRequest): Ditto.
      * WebProcess/WebPage/win/WebPageWin.cpp:
      (WebKit::WebPage::hasLocalDataForURL): Ditto.
      (WebKit::WebPage::canHandleRequest): Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72446 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a02a1b15
    • kinuko@chromium.org's avatar
      2010-11-19 Kinuko Yasuda <kinuko@chromium.org> · 3696af57
      kinuko@chromium.org authored
              Reviewed by Ojan Vafai.
      
              [Chromium] REGRESSION: Record actual test results in the JSON result summary for non-layout tests
              https://bugs.webkit.org/show_bug.cgi?id=49702
      
              Re-landing r72357 with a test fix.
      
              * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py:
              * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py:
              * Scripts/webkitpy/layout_tests/layout_package/json_results_generator_unittest.py:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72445 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3696af57
    • jparent@chromium.org's avatar
      Not reviewed, adding TIMEOUT for inspector/styles-disable-then-delete.html. · ad25913a
      jparent@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72444 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad25913a
    • msaboff@apple.com's avatar
      2010-11-19 Michael Saboff <msaboff@apple.com> · eb0d4d88
      msaboff@apple.com authored
              Reviewed by Sam Weinig
      
              Remove DOMSVGAnimatedPathData.h from all: target to fix build.
      
              * MigrateHeaders.make:
      
      2010-11-19  Michael Saboff  <msaboff@apple.com>
      
              Reviewed by Sam Weinig
      
              Remove DOMSVGAnimatedPathData.h from all: target to fix build.
      
              * MigrateHeaders.make:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb0d4d88
    • oliver@apple.com's avatar
      2010-11-19 Oliver Hunt <oliver@apple.com> · 4a652261
      oliver@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Don't check for constant registers when we can guarantee that the register won't be in the constant pool
              https://bugs.webkit.org/show_bug.cgi?id=49814
      
              Add uncheckedR(int) to CallFrame, and replace all the uses of r() with uncheckedR()
              when we can guarantee that the register is not referring to a constant.
              This makes the interpreter about 0.5% faster, and makes the CallFrame initialisation
              logic correct when we're using a faked callframe (as in the case of the globalExec).
      
              * bytecode/CodeBlock.cpp:
              (JSC::CodeBlock::createActivation):
              * debugger/DebuggerCallFrame.cpp:
              (JSC::DebuggerCallFrame::thisObject):
              * interpreter/CallFrame.h:
              (JSC::ExecState::uncheckedR):
              * interpreter/Interpreter.cpp:
              (JSC::Interpreter::resolve):
              (JSC::Interpreter::resolveSkip):
              (JSC::Interpreter::resolveGlobal):
              (JSC::Interpreter::resolveGlobalDynamic):
              (JSC::Interpreter::resolveBase):
              (JSC::Interpreter::resolveBaseAndProperty):
              (JSC::Interpreter::callEval):
              (JSC::Interpreter::unwindCallFrame):
              (JSC::Interpreter::throwException):
              (JSC::Interpreter::execute):
              (JSC::Interpreter::executeCall):
              (JSC::Interpreter::executeConstruct):
              (JSC::Interpreter::prepareForRepeatCall):
              (JSC::Interpreter::createExceptionScope):
              (JSC::Interpreter::privateExecute):
              * jit/JITStubs.cpp:
              (JSC::DEFINE_STUB_FUNCTION):
              * runtime/JSActivation.cpp:
              (JSC::JSActivation::argumentsGetter):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72442 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a652261
    • commit-queue@webkit.org's avatar
      2010-11-19 Avi Drissman <avi@google.com> · 53fb3c53
      commit-queue@webkit.org authored
              Reviewed by Antonio Gomes.
      
              Complete support for Unix editing mode
              https://bugs.webkit.org/show_bug.cgi?id=49757
      
              * page/Settings.cpp:
              (WebCore::Settings::Settings):
              * page/Settings.h:
      2010-11-19  Avi Drissman  <avi@google.com>
      
              Reviewed by Antonio Gomes.
      
              Complete support for Unix editing mode
              https://bugs.webkit.org/show_bug.cgi?id=49757
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setEditingBehaviorCallback):
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::setEditingBehavior):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72441 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      53fb3c53
    • darin@apple.com's avatar
      2010-11-19 Darin Adler <darin@apple.com> · 7316ce5d
      darin@apple.com authored
              Reviewed by Sam Weinig.
      
              Need a way to clear disk cache from WebContext
              https://bugs.webkit.org/show_bug.cgi?id=49820
      
              * UIProcess/API/C/WKContext.cpp:
              (WKContextClearResourceCaches): Added.
              (WKContextClearApplicationCache): Added.
              * UIProcess/API/C/WKContext.h:
              * UIProcess/WebContext.cpp:
              (WebKit::WebContext::clearResourceCaches): Added.
              (WebKit::WebContext::clearApplicationCache): Added.
              * UIProcess/WebContext.h:
              * WebProcess/WebProcess.cpp:
              (WebKit::WebProcess::clearResourceCaches): Added.
              (WebKit::WebProcess::clearApplicationCache): Added.
              * WebProcess/WebProcess.h:
              * WebProcess/WebProcess.messages.in: Added messages.
              * WebProcess/mac/WebProcessMac.mm:
              (WebKit::WebProcess::platformClearResourceCaches): Added.
              * WebProcess/qt/WebProcessQt.cpp:
              (WebKit::WebProcess::platformClearResourceCaches): Added.
              * WebProcess/win/WebProcessWin.cpp:
              (WebKit::WebProcess::platformClearResourceCaches): Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72440 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7316ce5d
    • zmo@google.com's avatar
      2010-11-19 Zhenyao Mo <zmo@google.com> · fdbde1c9
      zmo@google.com authored
              Unreviewed, update webgl test expectations.
      
              * platform/chromium-gpu/test_expectations.txt:
              * platform/chromium/test_expectations.txt:
              * platform/mac-snowleopard/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdbde1c9
    • andersca@apple.com's avatar
      Implement support for loading local files · 30168266
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=49828
      <rdar://problem/8447121>
      
      Reviewed by Sam Weinig.
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::initializeSandboxExtensionHandle):
      Given an URL, create a sandbox extension if it's a local file URL.
      
      (WebKit::WebPageProxy::loadURL):
      (WebKit::WebPageProxy::loadURLRequest):
      Pass along sandbox extension handles to the LoadURL and LoadURLRequest messages.
      
      * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
      (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
      Call SandboxExtensionTracker::didStartProvisionalLoad.
      
      (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad):
      Call SandboxExtensionTracker::didCommitProvisionalLoad.
      
      (WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad):
      Call SandboxExtensionTracker::didFailProvisionalLoad.
      
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::~WebPage):
      Invalidate the sandbox extension tracker.
      
      (WebKit::WebPage::close):
      Invalidate the sandbox extension tracker.
      
      (WebKit::WebPage::loadURL):
      (WebKit::WebPage::loadURLRequest):
      Pass the sandbox extension handle to the sandbox extension tracker.
      
      (WebKit::WebPage::SandboxExtensionTracker::~SandboxExtensionTracker):
      Invalidate the sandbox extension tracker.
      
      (WebKit::WebPage::SandboxExtensionTracker::invalidate):
      invalidate ell the sandbox extensions.
      
      (WebKit::WebPage::SandboxExtensionTracker::beginLoad):
      Create a sandbox extension and store it as the "pending provisional extension".
      
      (WebKit::WebPage::SandboxExtensionTracker::didStartProvisionalLoad):
      Consume the pending provisional extension and make it the provisional extension.
      
      (WebKit::WebPage::SandboxExtensionTracker::didCommitProvisionalLoad):
      Invalidate the committed extension and make the provisional extension the committed extension.
      
      (WebKit::WebPage::SandboxExtensionTracker::didFailProvisionalLoad):
      Invalidate the provisional extension.
      
      * WebProcess/WebPage/WebPage.messages.in:
      Add SandboxExtension::Handle parameters to LoadURL and LoadURLRequest.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72438 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30168266
    • zmo@google.com's avatar
      2010-11-19 Zhenyao Mo <zmo@google.com> · 6c91cab5
      zmo@google.com authored
              Unreviewed, update webgl test expectations.
      
              * platform/chromium-gpu/test_expectations.txt:
              * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6c91cab5
    • commit-queue@webkit.org's avatar
      2010-11-19 Ilya Sherman <isherman@chromium.org> · 9fa7156d
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              Expose default value of maxLength in Chromium API
              https://bugs.webkit.org/show_bug.cgi?id=49723
      
              * public/WebInputElement.h: Added constant defaultMaximumLength
              * src/WebInputElement.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72436 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fa7156d
    • japhet@chromium.org's avatar
      2010-11-19 Nate Chapin <japhet@chromium.org> · ecd00ec0
      japhet@chromium.org authored
              Reviewed by Alexey Proskuryakov.
      
              Test for https://bugs.webkit.org/show_bug.cgi?id=49693
      
              * fast/loader/subresource-willSendRequest-null-expected.txt: Added.
              * fast/loader/subresource-willSendRequest-null.html: Added.
      2010-11-19  Nate Chapin  <japhet@chromium.org>
      
              Reviewed by Alexey Proskuryakov.
      
              Remove requests from ResourceLoadScheduler's queue before
              actually starting them.  We're holding a RefPtr anyway, and
              the load might be terminated and removed from the queue synchronously.
              https://bugs.webkit.org/show_bug.cgi?id=49693
      
              Test: fast/loader/subresource-willSendRequest-null.html
      
              * loader/ResourceLoadScheduler.cpp:
              (WebCore::ResourceLoadScheduler::servePendingRequests):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72435 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ecd00ec0
    • andersca@apple.com's avatar
      Make it possible to encode null SandboxExtension handles · bcf10fcd
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=49825
      
      Reviewed by Darin Adler.
      
      * Shared/mac/SandboxExtensionMac.mm:
      (WebKit::SandboxExtension::Handle::encode):
      If there's no underlying sandbox extension, just encode an empty byte array.
      
      (WebKit::SandboxExtension::Handle::decode):
      If the decoded byte array is empty, don't try to create a sandbox extension.
      
      (WebKit::SandboxExtension::create):
      If the handle is null, return null.
      
      (WebKit::SandboxExtension::consume):
      Consuming shuld not null out the underlying sandbox extension object.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72434 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bcf10fcd
    • zmo@google.com's avatar
      2010-11-18 Zhenyao Mo <zmo@google.com> · 70c80ada
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              Make sure is* return false if the name is never bound
              https://bugs.webkit.org/show_bug.cgi?id=49767
      
              * html/canvas/WebGLBuffer.h: Add function to check whether the buffer has been bound before.
              (WebCore::WebGLBuffer::hasEverBeenBound):
              * html/canvas/WebGLFramebuffer.cpp: Ditto.
              (WebCore::WebGLFramebuffer::WebGLFramebuffer):
              * html/canvas/WebGLFramebuffer.h: Ditto.
              (WebCore::WebGLFramebuffer::hasEverBeenBound):
              (WebCore::WebGLFramebuffer::setBound):
              * html/canvas/WebGLRenderbuffer.cpp: Ditto.
              (WebCore::WebGLRenderbuffer::WebGLRenderbuffer):
              * html/canvas/WebGLRenderbuffer.h: Ditto.
              (WebCore::WebGLRenderbuffer::hasEverBeenBound):
              (WebCore::WebGLRenderbuffer::setBound):
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::bindFramebuffer): Set bound status to true.
              (WebCore::WebGLRenderingContext::bindRenderbuffer): Ditto.
              (WebCore::WebGLRenderingContext::isBuffer): Return false if it's never bound.
              (WebCore::WebGLRenderingContext::isFramebuffer): Ditto.
              (WebCore::WebGLRenderingContext::isRenderbuffer): Ditto.
              (WebCore::WebGLRenderingContext::isTexture): Ditto.
              * html/canvas/WebGLTexture.h: Add function to check whether the texture has been bound before.
              (WebCore::WebGLTexture::hasEverBeenBound):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72433 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70c80ada
    • benjamin.poulain@nokia.com's avatar
      2010-11-19 Benjamin Poulain <benjamin.poulain@nokia.com> · be697bfd
      benjamin.poulain@nokia.com authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] mask-box-image renders wrong in certain conditions
              https://bugs.webkit.org/show_bug.cgi?id=43476
      
              Qt does not follow the same convention as the other port
              when rendering a pixmap with null width of height. When one
              of those dimension is null, we should ignore the painting call
              to behave like the other ports.
      
              * platform/graphics/qt/ImageQt.cpp:
              (WebCore::Image::drawPattern):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72432 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be697bfd
    • zmo@google.com's avatar
      2010-11-18 Zhenyao Mo <zmo@google.com> · 92a1d38e
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              GraphicsContext3D::reshape is clearing using current clear color instead of transparent
              https://bugs.webkit.org/show_bug.cgi?id=44064
      
              * src/WebGraphicsContext3DDefaultImpl.cpp:
              (WebKit::WebGraphicsContext3DDefaultImpl::reshape): Use 0 as clear values.
      2010-11-18  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              GraphicsContext3D::reshape is clearing using current clear color instead of transparent
              https://bugs.webkit.org/show_bug.cgi?id=44064
      
              * platform/graphics/gpu/DrawingBuffer.cpp:
              (WebCore::DrawingBuffer::reset): Use 0 as clear values.
              * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp:
              (WebCore::GraphicsContext3D::reshape): Ditto.
      2010-11-18  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              GraphicsContext3D::reshape is clearing using current clear color instead of transparent
              https://bugs.webkit.org/show_bug.cgi?id=44064
      
              * fast/canvas/webgl/renderbuffer-initialization-expected.txt:
              * fast/canvas/webgl/renderbuffer-initialization.html: Test that o is used as the clear values instead of the current gl clear values.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72431 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      92a1d38e
    • bweinstein@apple.com's avatar
      Rebaseline fast/blockflow results for Windows after r72347. · e48f166f
      bweinstein@apple.com authored
      * platform/win/fast/blockflow/japanese-ruby-horizontal-bt-expected.txt:
      * platform/win/fast/blockflow/japanese-ruby-vertical-lr-expected.txt:
      * platform/win/fast/blockflow/japanese-ruby-vertical-rl-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e48f166f