1. 04 Feb, 2010 12 commits
  2. 03 Feb, 2010 28 commits
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · 5ec81a74
      kevino@webkit.org authored
      Add wxWebKitWindowFeatures and have createWindow send a notification for 
      clients to handle.
              
      https://bugs.webkit.org/show_bug.cgi?id=34542
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54309 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5ec81a74
    • ossy@webkit.org's avatar
      Rubber-stamped by Ariya Hidayat. · 35ca5749
      ossy@webkit.org authored
      Roll back r53889 again, because roll out didn't solve flakeyness on the Windows Test bots
      https://bugs.webkit.org/show_bug.cgi?id=34399
      
      WebKitTools: 
      
      * DumpRenderTree/win/EventSender.cpp:
      (buildModifierFlags):
      (mouseDownCallback):
      (mouseUpCallback):
      (keyDownCallback):
      
      LayoutTests: 
      
      * platform/win/Skipped:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54307 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      35ca5749
    • japhet@chromium.org's avatar
      2010-02-03 Nate Chapin <japhet@chromium.org> · e6df17d7
      japhet@chromium.org authored
              Unreviewed, Chromium mac build fix.
      
              [V8] Remove unused V8Proxy* variable from generated wrapping code.
      
              * bindings/scripts/CodeGeneratorV8.pm:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54306 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e6df17d7
    • japhet@chromium.org's avatar
      2010-02-03 Nate Chapin <japhet@chromium.org> · 950e03e5
      japhet@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              [V8] Use toV8() to wrap in the custom bindings, and remove
              the old wrapping code from V8DOMWrapper.
              
              https://bugs.webkit.org/show_bug.cgi?id=32563
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/ScriptController.cpp:
              * bindings/v8/ScriptObject.cpp:
              * bindings/v8/V8AbstractEventListener.cpp:
              * bindings/v8/V8Collection.h:
              * bindings/v8/V8DOMWindowShell.cpp:
              * bindings/v8/V8DOMWrapper.cpp:
              * bindings/v8/V8DOMWrapper.h:
              * bindings/v8/V8NodeFilterCondition.cpp:
              * bindings/v8/V8Proxy.cpp:
              * bindings/v8/WorkerContextExecutionProxy.h
              * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
              * bindings/v8/custom/V8CustomPositionCallback.cpp:
              * bindings/v8/custom/V8CustomPositionErrorCallback.cpp:
              * bindings/v8/custom/V8CustomSQLStatementCallback.cpp:
              * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp:
              * bindings/v8/custom/V8CustomSQLTransactionCallback.cpp:
              * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp:
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              * bindings/v8/custom/V8DataGridColumnListCustom.cpp:
              * bindings/v8/custom/V8DocumentCustom.cpp:
              * bindings/v8/custom/V8DocumentLocationCustom.cpp:
              * bindings/v8/custom/V8ElementCustom.cpp:
              * bindings/v8/custom/V8EventCustom.cpp:
              * bindings/v8/custom/V8HTMLAllCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLAudioElementConstructor.cpp:
              * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
              * bindings/v8/custom/V8HTMLCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
              * bindings/v8/custom/V8HTMLFormElementCustom.cpp:
              * bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp:
              * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
              * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
              * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              * bindings/v8/custom/V8MessageChannelConstructor.cpp:
              * bindings/v8/custom/V8MessageEventCustom.cpp:
              * bindings/v8/custom/V8NamedNodeMapCustom.cpp:
              * bindings/v8/custom/V8NodeIteratorCustom.cpp:
              * bindings/v8/custom/V8NodeListCustom.cpp:
              * bindings/v8/custom/V8NotificationCenterCustom.cpp:
              * bindings/v8/custom/V8SVGMatrixCustom.cpp:
              * bindings/v8/custom/V8StyleSheetListCustom.cpp:
              * bindings/v8/custom/V8TreeWalkerCustom.cpp:
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              * bindings/v8/custom/V8XSLTProcessorCustom.cpp:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54305 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      950e03e5
    • eric@webkit.org's avatar
      2010-02-03 Eric Seidel <eric@webkit.org> · 694f6759
      eric@webkit.org authored
              No review, just fixing copyrights.
      
              Concerns were expressed about "The Chromium Authors" being
              a valid legal entity for copyright assignment in the WebKit repository,
              so this change removes all "The Chromium Authors".
      
              I looked at the svn logs in src.chromium.org and failed to find any
              non-google contributions to these files, so they are all now
              marked as copyright "Google Inc" as all Google contributers assign
              copyright to "Google Inc" as part of their employment agreement.
      
              * Scripts/rebaseline-chromium-webkit-tests:
              * Scripts/run-chromium-webkit-tests:
              * Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py:
              * Scripts/webkitpy/layout_tests/layout_package/http_server.py:
              * Scripts/webkitpy/layout_tests/layout_package/http_server_base.py:
              * 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/metered_stream.py:
              * Scripts/webkitpy/layout_tests/layout_package/path_utils.py:
              * Scripts/webkitpy/layout_tests/layout_package/platform_utils.py:
              * Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py:
              * Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py:
              * Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_failures.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
              * Scripts/webkitpy/layout_tests/layout_package/websocket_server.py:
              * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py:
              * Scripts/webkitpy/layout_tests/test_types/image_diff.py:
              * Scripts/webkitpy/layout_tests/test_types/test_type_base.py:
              * Scripts/webkitpy/layout_tests/test_types/text_diff.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54304 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      694f6759
    • weinig@apple.com's avatar
      Fix drawing buttons in viewless WebKit. · f6728b76
      weinig@apple.com authored
      Reviewed by Anders Carlsson.
      
      * platform/mac/ThemeMac.mm:
      (WebCore::paintButton): If there is no view, make sure to flip the
      context so that the button is drawn correctly.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54299 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f6728b76
    • yael.aharon@nokia.com's avatar
      [Qt] WebSockets : Buffer the data in WebKit instead of QtNetwork · ebc78759
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34425
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Reverting r54279, it was a misunderstanding.
      
      * platform/network/qt/SocketStreamHandlePrivate.h:
      * platform/network/qt/SocketStreamHandleQt.cpp:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54298 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ebc78759
    • kenneth@webkit.org's avatar
      [Qt] QtLauncher, refactor argument handling in preparation of merge · 74c4818d
      kenneth@webkit.org authored
      with QGVLauncher
      
      Reviewed by Ariya Hidayat.
      
      * QtLauncher/main.cpp:
      (LauncherApplication::urls):
      (LauncherApplication::isRobotized):
      (LauncherApplication::applyDefaultSettings):
      (LauncherApplication::LauncherApplication):
      (LauncherApplication::formatKeys):
      (LauncherApplication::enumToKeys):
      (fail):
      (LauncherApplication::handleUserOptions):
      (main):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      74c4818d
    • eric@webkit.org's avatar
      2010-02-03 Kwang Yul Seo <skyul@company100.net> · 8bdcfdb3
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [BREWMP] Remove COMPILE_ASSERT conflict with the underlying PLATFORM
              https://bugs.webkit.org/show_bug.cgi?id=34190
      
              COMPILE_ASSERT conflicts with the underlying PLATFORM because it is defined
              both in WTF's Assertions.h and BREWMP's AEEClassIDs.h. Include AEEClassIDs.h
              in Assertions.h and undef COMPILE_ASSERT to avoid redefining COMPILE_ASSERT.
      
              * wtf/Assertions.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8bdcfdb3
    • ossy@webkit.org's avatar
      Rubber-stamped by Ariya Hidayat. · b9b8c717
      ossy@webkit.org authored
      Rolling out r53889, because it might caused flakeyness on the Windows Test bots
      https://bugs.webkit.org/show_bug.cgi?id=34399
      
      WebKitTools: 
      
      * DumpRenderTree/win/EventSender.cpp:
      (mouseDownCallback):
      (mouseUpCallback):
      (keyDownCallback):
      
      LayoutTests: 
      
      * platform/win/Skipped:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b9b8c717
    • eric@webkit.org's avatar
      2010-02-03 Kwang Yul Seo <skyul@company100.net> · 7e06e97a
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [BREWMP] Implement OwnPtrBrew to make sure BREW instances are freed.
              https://bugs.webkit.org/show_bug.cgi?id=34518
      
              Add OwnPtrBrew to release IFile, IFileMgr and IBitmap instances.
      
              * wtf/brew/OwnPtrBrew.cpp: Added.
              (WTF::IFileMgr):
              (WTF::IFile):
              (WTF::IBitmap):
              (WTF::freeOwnedPtrBrew):
              * wtf/brew/OwnPtrBrew.h: Added.
              (WTF::OwnPtrBrew::OwnPtrBrew):
              (WTF::OwnPtrBrew::~OwnPtrBrew):
              (WTF::OwnPtrBrew::get):
              (WTF::OwnPtrBrew::release):
              (WTF::OwnPtrBrew::outPtr):
              (WTF::OwnPtrBrew::set):
              (WTF::OwnPtrBrew::clear):
              (WTF::OwnPtrBrew::operator*):
              (WTF::OwnPtrBrew::operator->):
              (WTF::OwnPtrBrew::operator!):
              (WTF::OwnPtrBrew::operator UnspecifiedBoolType):
              (WTF::OwnPtrBrew::swap):
              (WTF::swap):
              (WTF::operator==):
              (WTF::operator!=):
              (WTF::getPtr):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7e06e97a
    • bweinstein@apple.com's avatar
      Scroll does not work with IBM Thinkpad. · 606929d6
      bweinstein@apple.com authored
      <https://bugs.webkit.org/show_bug.cgi?id=14227>
      <rdar://7142545>
              
      Reviewed by Steve Falkenburg.
      
      When initializing the WebView, add two scrollbar Windows inside of
      our WebView, to allow it to receive WM_VSCROLL and WM_HSCROLL events.
      (similar to what Firefox did in: <https://bugzilla.mozilla.org/show_bug.cgi?id=507222>.
              
      Only do this if the user has installed some kind of Trackpoint driver, using an algorithm
      like <https://bugzilla.mozilla.org/show_bug.cgi?id=514927>.
              
      Also, add code to handle WM_HSCROLL and WM_VSCROLL messages to scroll
      the WebView.
      
      * WebView.cpp:
      (WebView::verticalScroll): Handle the WM_VSCROLL messages, and scroll up and down
          by lines or pages.
      (WebView::horizontalScroll): Handle the WM_HSCROLL messages, and scroll left or right
          by lines or pages.
      (WebView::WebViewWndProc): Add cases for WM_VSCROLL and WM_HSCROLL.
      (WebView::initWithFrame): Call shouldInitializeTrackPointHack, and if we should, create
          vertical and horizontal scrollbars to receive WM_VSCROLL and WM_HSCROLL messages.
      (WebView::shouldInitializeTrackPointHack): Check if there is a registry key for
          the some kind of IBM Trackpoint driver.
      * WebView.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54293 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      606929d6
    • eric@webkit.org's avatar
      2010-02-03 Drew Wilson <atwilson@chromium.org> · e1cf5723
      eric@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              SharedWorkerScriptLoader should not be an ActiveDOMObject
              https://bugs.webkit.org/show_bug.cgi?id=34513
      
              Test: Existing tests suffice (fixes test downstream in Chrome).
      
              * workers/DefaultSharedWorkerRepository.cpp:
              (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
              Changed to no longer derive from ActiveDOMObject (handles its own refcounting).
              (WebCore::SharedWorkerScriptLoader::load):
              Now increments own refcount when a load is pending.
              (WebCore::SharedWorkerScriptLoader::notifyFinished):
              Changed to decrement refcount when load is complete.
              * workers/WorkerScriptLoaderClient.h:
              Documentation change about reliability of notifyFinished() when used from worker context.
      2010-02-03  Drew Wilson  <atwilson@chromium.org>
      
              Reviewed by Alexey Proskuryakov.
      
              SharedWorkerScriptLoader should not be an ActiveDOMObject
              https://bugs.webkit.org/show_bug.cgi?id=34513
      
              * src/SharedWorkerRepository.cpp:
              (WebCore::SharedWorkerScriptLoader::SharedWorkerScriptLoader):
              Changed SharedWorkerScriptLoader to manage its own lifecycle without using ActiveDOMObject.
              (WebCore::SharedWorkerScriptLoader::parentContext):
              (WebCore::pendingLoaders):
              Now we manually track pending loads so we can shut them down when the parent context shuts down.
              (WebCore::SharedWorkerScriptLoader::contextDetached):
              Shuts down/frees any pending worker loads.
              (WebCore::SharedWorkerScriptLoader::~SharedWorkerScriptLoader):
              Marks the SharedWorker object as not having pending activity if there was a load active (handles case where load was pending when parent document exits).
              (WebCore::SharedWorkerScriptLoader::load):
              (WebCore::SharedWorkerRepository::documentDetached):
              Now calls SharedWorkerScriptLoader::contextDetached() to shutdown any pending worker loads.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54292 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e1cf5723
    • eric@webkit.org's avatar
      2010-02-03 Pavel Feldman <pfeldman@chromium.org> · 0d871672
      eric@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Inspector renders blank scripts on reloading the webpage.
      
              https://bugs.webkit.org/show_bug.cgi?id=34537
      
              * inspector/front-end/ResourcesPanel.js:
              (WebInspector.ResourcesPanel.prototype.recreateViewForResourceIfNeeded):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54291 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0d871672
    • eric@webkit.org's avatar
      2010-02-03 Kwang Yul Seo <skyul@company100.net> · 16a4cd95
      eric@webkit.org authored
              Reviewed by Darin Adler.
      
              Export WTF::fastStrDup symbol
              https://bugs.webkit.org/show_bug.cgi?id=34526
      
              * JavaScriptCore.exp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54290 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      16a4cd95
    • ossy@webkit.org's avatar
      [Qt] Fix pixel tests support. · 03907ee8
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=27813
      
      Reviewed by Ariya Hidayat.
      
      * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
      (WebCore::DumpRenderTree::open):
      (WebCore::DumpRenderTree::processLine):
       - Hash processing mechanism moved from DumpRenderTree::open to DumpRenderTree::processLine.
      (WebCore::DumpRenderTree::dump): Fixed and renamed variables.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54289 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      03907ee8
    • mitz@apple.com's avatar
      Fixed a bug where WKSetNSURLConnectionDefersCallbacks(true) did not defer... · 4d9dbe45
      mitz@apple.com authored
      Fixed a bug where WKSetNSURLConnectionDefersCallbacks(true) did not defer callbacks during modal dialogs.
      
      Reviewed by Anders Carlsson.
      
      * libWebKitSystemInterfaceLeopard.a:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54288 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4d9dbe45
    • kevino@webkit.org's avatar
      Reviewed by Kevin Ollivier. · fd4dd38e
      kevino@webkit.org authored
      [wx] Enable JIT compilation for wx.
              
      https://bugs.webkit.org/show_bug.cgi?id=34536
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54287 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fd4dd38e
    • yurys@chromium.org's avatar
      2010-02-03 Yury Semikhatsky <yurys@chromium.org> · e1f98830
      yurys@chromium.org authored
              Unreviewed. Revert r54285 which failed to compile on Linux GTK.
      
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSInjectedScriptHostCustom.cpp:
              (WebCore::InjectedScriptHost::injectedScriptFor):
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::InjectedScriptHost::injectedScriptFor):
              * inspector/InjectedScript.cpp: Removed.
              * inspector/InjectedScript.h: Removed.
              * inspector/InjectedScriptHost.cpp:
              (WebCore::InjectedScriptHost::injectedScriptForId):
              (WebCore::InjectedScriptHost::releaseWrapperObjectGroup):
              * inspector/InjectedScriptHost.h:
              * inspector/InspectorBackend.cpp:
              (WebCore::InspectorBackend::dispatchOnInjectedScript):
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::~InspectorController):
              (WebCore::InspectorController::inspectedPageDestroyed):
              (WebCore::InspectorController::windowScriptObjectAvailable):
              (WebCore::InspectorController::scriptObjectReady):
              (WebCore::InspectorController::setFrontendProxyObject):
              (WebCore::InspectorController::close):
              (WebCore::InspectorController::getProfile):
              (WebCore::InspectorController::enableDebugger):
              (WebCore::InspectorController::didPause):
              (WebCore::InspectorController::injectedScriptForNodeId):
              * inspector/InspectorController.h:
              (WebCore::InspectorController::frontendScriptState):
              * inspector/InspectorFrontend.cpp:
              (WebCore::InspectorFrontend::addConsoleMessage):
              * inspector/front-end/InjectedScript.js:
              (injectedScriptConstructor):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54286 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e1f98830
    • yurys@chromium.org's avatar
      2010-02-03 Yury Semikhatsky <yurys@chromium.org> · b4f24c56
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Provide strongly typed C++ interface for inspector's injected script.
      
              https://bugs.webkit.org/show_bug.cgi?id=33616
      
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSInjectedScriptHostCustom.cpp:
              (WebCore::InjectedScriptHost::injectedScriptFor):
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::InjectedScriptHost::injectedScriptFor):
              * inspector/InjectedScript.cpp: Added.
              (WebCore::InjectedScript::InjectedScript):
              (WebCore::InjectedScript::dispatch):
              (WebCore::InjectedScript::callFrames):
              (WebCore::InjectedScript::wrapAndStringify):
              (WebCore::InjectedScript::releaseWrapperObjectGroup):
              * inspector/InjectedScript.h: Added.
              (WebCore::InjectedScript::InjectedScript):
              (WebCore::InjectedScript::~InjectedScript):
              (WebCore::InjectedScript::hasNoValue):
              * inspector/InjectedScriptHost.cpp:
              (WebCore::InjectedScriptHost::injectedScriptForId):
              (WebCore::InjectedScriptHost::releaseWrapperObjectGroup):
              * inspector/InjectedScriptHost.h:
              * inspector/InspectorBackend.cpp:
              (WebCore::InspectorBackend::dispatchOnInjectedScript):
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::~InspectorController):
              (WebCore::InspectorController::inspectedPageDestroyed):
              (WebCore::InspectorController::windowScriptObjectAvailable):
              (WebCore::InspectorController::scriptObjectReady):
              (WebCore::InspectorController::setFrontendProxyObject):
              (WebCore::InspectorController::close):
              (WebCore::InspectorController::getProfile):
              (WebCore::InspectorController::enableDebugger):
              (WebCore::InspectorController::didPause):
              (WebCore::InspectorController::injectedScriptForNodeId):
              * inspector/InspectorController.h:
              (WebCore::InspectorController::frontendScriptState):
              * inspector/InspectorFrontend.cpp:
              (WebCore::InspectorFrontend::addConsoleMessage):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54285 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b4f24c56
    • abecsi@webkit.org's avatar
      Unreviewed build fix. · 774b4320
      abecsi@webkit.org authored
              [Qt] Roll-out r54281 because it broke the build on the Qt Release bot.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54284 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      774b4320
    • eric@webkit.org's avatar
      2010-02-03 Alexander Pavlov <apavlov@chromium.org> · 25fbe651
      eric@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              [Chromium] Return a consistent set of platforms from WebDevToolsFrontendImpl
              https://bugs.webkit.org/show_bug.cgi?id=34523
      
              * src/WebDevToolsFrontendImpl.cpp:
              (WebKit::WebDevToolsFrontendImpl::jsPlatform):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54283 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      25fbe651
    • levin@chromium.org's avatar
      2010-02-02 Bryan Yeung <bryeung@google.com> · 029881b2
      levin@chromium.org authored
              Reviewed by Darin Adler.
      
              Avoid using an invalidated KURL object in baseURI.
      
              https://bugs.webkit.org/show_bug.cgi?id=34492
      
              This change fixes baseURI for Chromium (where the KURL implementation
              does not allow invalid KURLs to carry relative paths).  This is
              regression tested by
              LayoutTests/svg/W3C-SVG-1.1/struct-image-07-t.svg
      
              This is a re-application of this patch since it was mistakenly identified as
              the cause of a big chromium test regression and rolled out in r54264.
      
              * dom/Element.cpp:
              (WebCore::Element::baseURI):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54282 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      029881b2
    • eric@webkit.org's avatar
      2010-02-03 No'am Rosenthal <noam.rosenthal@nokia.com> · aa5e963a
      eric@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Qt] Tuning and optimizations to GraphicsLayerQt. Reduce unnecessary
              recaching, remove QTimer::singleShot and QPixmap::scaled, more
              accurate strategy of handling transform operation blends. Rotating a
              bordered-table, for example, now runs at 50FPS instead of 40FPS on Maemo5.
      
              https://bugs.webkit.org/show_bug.cgi?id=34062
      
              This is tested by https://bugs.webkit.org/show_bug.cgi?id=34450, fps measurements.
      
              * platform/graphics/qt/GraphicsLayerQt.cpp:
              (WebCore::GraphicsLayerQtImpl::flushChanges): Fine-tune caching
              (WebCore::TransformAnimationQt::TransformAnimationQt): transform bugs
              (WebCore::OpacityAnimationQt::updateState): style change
      2010-02-03  No'am Rosenthal  <noam.rosenthal@nokia.com>
      
              Reviewed by Laszlo Gombos.
      
              [Qt] Tuning and optimizations to GraphicsLayerQt. Mainly reduced usage
              of QTimer::singleShot, and moved syncLayers() from paint() to update()
              https://bugs.webkit.org/show_bug.cgi?id=34062
      
              * Api/qgraphicswebview.cpp:
              (QGraphicsWebViewPrivate::update): Moved the sync operation to update
              (QGraphicsWebView::paint): Moved the sync operation to update
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54281 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      aa5e963a
    • levin@chromium.org's avatar
      WebCore: [Chromium] Make setCaretBlinkInterval static. · 2552b63b
      levin@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=31704
      
      Patch by Joel Stanley <joel@jms.id.au> on 2010-02-02
      Reviewed by David Levin.
      
      This is so it can be called from the newly exposed Chromium API setter
      method.
      
      * rendering/RenderThemeChromiumLinux.cpp:
      * rendering/RenderThemeChromiumLinux.h:
      
      WebKit/chromium: [Chromium] Add API method for setting caret blink frequency.
      https://bugs.webkit.org/show_bug.cgi?id=31704
      
      Patch by Joel Stanley <joel@jms.id.au> on 2010-02-02
      Reviewed by David Levin.
      
      This enables the RenderThemeChromiumLinux::setCaretBlinkInterval method
      to be called Chromium's API.  The API is linux-only as it is currently
      the only port to implement RenderTheme::setCaretBlinkInterval.
      
      * WebKit.gyp:  Add WebRenderTheme.{h,cpp}
      * public/linux/WebRenderTheme.h: Added.
      * src/linux/WebRenderTheme.cpp: Added.
      (WebKit::setCaretBlinkInterval): Exposed API
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54280 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2552b63b
    • yael.aharon@nokia.com's avatar
      [Qt] WebSockets : Buffer the data in WebKit instead of QtNetwork · f038b753
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34425
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Buffer the sent data in SocketStreamHandlePrivate instead of relying on
      the network layer to do it. This is more robust and more consistent with how 
      Qt's HTTP stack works.
      Close the socket in SocketStreamHandlePrivate::close() regardless of its state.
      
      No new tests, since no new functionality is introduced.
      
      * platform/network/qt/SocketStreamHandlePrivate.h:
      * platform/network/qt/SocketStreamHandleQt.cpp:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54279 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f038b753
    • hamaji@chromium.org's avatar
      2010-02-03 Shinichiro Hamaji <hamaji@chromium.org> · 51387b81
      hamaji@chromium.org authored
              Unreviewed revert of r54259 as it seems to break chromium's unit tests.
              The tests pass with r54257 but fail with r54260.
              As r54258 and r54260 don't touch code, I'm reverting this change.
      
              [V8] Generate toV8 conversion helpers, a la JSC bindings.
              https://bugs.webkit.org/show_bug.cgi?id=32563
      
              * bindings/v8/ScriptController.cpp:
              (WebCore::ScriptController::processingUserGesture):
              (WebCore::createScriptObject):
              (WebCore::ScriptController::createScriptObjectForPluginElement):
              * bindings/v8/ScriptObject.cpp:
              (WebCore::ScriptGlobalObject::set):
              * bindings/v8/V8AbstractEventListener.cpp:
              (WebCore::V8AbstractEventListener::handleEvent):
              * bindings/v8/V8Collection.h:
              (WebCore::getV8Object):
              (WebCore::toNativeCollection):
              (WebCore::getNamedPropertyOfCollection):
              (WebCore::collectionNamedPropertyGetter):
              (WebCore::getIndexedPropertyOfCollection):
              (WebCore::collectionIndexedPropertyGetter):
              (WebCore::nodeCollectionIndexedPropertyEnumerator):
              (WebCore::collectionIndexedPropertyEnumerator):
              (WebCore::collectionStringOrNullIndexedPropertyGetter):
              (WebCore::collectionStringIndexedPropertyGetter):
              (WebCore::setCollectionIndexedGetter):
              (WebCore::setCollectionNamedGetter):
              (WebCore::setCollectionStringOrNullIndexedGetter):
              (WebCore::setCollectionStringIndexedGetter):
              * bindings/v8/V8DOMWindowShell.cpp:
              (WebCore::V8DOMWindowShell::updateDocumentWrapperCache):
              * bindings/v8/V8DOMWrapper.cpp:
              (WebCore::downcastSVGPathSeg):
              (WebCore::V8DOMWrapper::convertSVGElementInstanceToV8Object):
              (WebCore::V8DOMWrapper::convertSVGObjectWithContextToV8Object):
              (WebCore::V8DOMWrapper::convertToV8Object):
              (WebCore::V8DOMWrapper::instantiateV8Object):
              (WebCore::V8DOMWrapper::isDOMEventWrapper):
              (WebCore::V8DOMWrapper::htmlElementType):
              (WebCore::V8DOMWrapper::svgElementType):
              (WebCore::V8DOMWrapper::convertEventToV8Object):
              (WebCore::):
              (WebCore::V8DOMWrapper::convertDocumentToV8Object):
              (WebCore::V8DOMWrapper::convertNodeToV8Object):
              (WebCore::V8DOMWrapper::convertNewNodeToV8Object):
              (WebCore::V8DOMWrapper::convertEventListenerToV8Object):
              (WebCore::V8DOMWrapper::convertDOMImplementationToV8Object):
              (WebCore::V8DOMWrapper::convertStyleSheetToV8Object):
              (WebCore::V8DOMWrapper::convertCSSValueToV8Object):
              (WebCore::V8DOMWrapper::convertCSSRuleToV8Object):
              (WebCore::V8DOMWrapper::convertWindowToV8Object):
              (WebCore::V8DOMWrapper::convertNamedNodeMapToV8Object):
              * bindings/v8/V8DOMWrapper.h:
              (WebCore::V8DOMWrapper::convertToV8Object):
              (WebCore::V8DOMWrapper::convertNodeToV8Object):
              (WebCore::V8DOMWrapper::convertNewNodeToV8Object):
              (WebCore::V8DOMWrapper::convertEventToV8Object):
              (WebCore::V8DOMWrapper::convertEventListenerToV8Object):
              (WebCore::V8DOMWrapper::instantiateV8Object):
              * bindings/v8/V8NodeFilterCondition.cpp:
              (WebCore::V8NodeFilterCondition::acceptNode):
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::setDOMException):
              * bindings/v8/custom/V8CanvasRenderingContext2DCustom.cpp:
              (WebCore::toV8Object):
              (WebCore::V8CanvasRenderingContext2D::createPatternCallback):
              * bindings/v8/custom/V8CustomPositionCallback.cpp:
              (WebCore::V8CustomPositionCallback::handleEvent):
              * bindings/v8/custom/V8CustomPositionErrorCallback.cpp:
              (WebCore::V8CustomPositionErrorCallback::handleEvent):
              * bindings/v8/custom/V8CustomSQLStatementCallback.cpp:
              (WebCore::V8CustomSQLStatementCallback::handleEvent):
              * bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp:
              (WebCore::V8CustomSQLStatementErrorCallback::handleEvent):
              * bindings/v8/custom/V8CustomSQLTransactionCallback.cpp:
              (WebCore::V8CustomSQLTransactionCallback::handleEvent):
              * bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp:
              (WebCore::V8CustomSQLTransactionErrorCallback::handleEvent):
              * bindings/v8/custom/V8DOMWindowCustom.cpp:
              (WebCore::V8DOMWindow::openCallback):
              (WebCore::V8DOMWindow::indexedPropertyGetter):
              (WebCore::V8DOMWindow::namedPropertyGetter):
              * bindings/v8/custom/V8DataGridColumnListCustom.cpp:
              (WebCore::NAMED_PROPERTY_GETTER):
              * bindings/v8/custom/V8DocumentCustom.cpp:
              (WebCore::V8Document::evaluateCallback):
              (WebCore::V8Document::getCSSCanvasContextCallback):
              (WebCore::V8Document::implementationAccessorGetter):
              * bindings/v8/custom/V8DocumentLocationCustom.cpp:
              (WebCore::V8Document::locationAccessorGetter):
              * bindings/v8/custom/V8ElementCustom.cpp:
              (WebCore::V8Element::setAttributeNodeCallback):
              (WebCore::V8Element::setAttributeNodeNSCallback):
              * bindings/v8/custom/V8EventCustom.cpp:
              (WebCore::V8Event::dataTransferAccessorGetter):
              (WebCore::V8Event::clipboardDataAccessorGetter):
              * bindings/v8/custom/V8HTMLAllCollectionCustom.cpp:
              (WebCore::getNamedItems):
              (WebCore::getItem):
              (WebCore::V8HTMLAllCollection::callAsFunctionCallback):
              * bindings/v8/custom/V8HTMLAudioElementConstructor.cpp:
              (WebCore::V8Custom::v8HTMLAudioElementConstructorCallback):
              * bindings/v8/custom/V8HTMLCanvasElementCustom.cpp:
              (WebCore::V8HTMLCanvasElement::getContextCallback):
              * bindings/v8/custom/V8HTMLCollectionCustom.cpp:
              (WebCore::getNamedItems):
              (WebCore::getItem):
              (WebCore::V8HTMLCollection::callAsFunctionCallback):
              * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
              (WebCore::V8HTMLDocument::namedPropertyGetter):
              (WebCore::V8HTMLDocument::allAccessorGetter):
              * bindings/v8/custom/V8HTMLFormElementCustom.cpp:
              (WebCore::V8HTMLFormElement::indexedPropertyGetter):
              (WebCore::V8HTMLFormElement::namedPropertyGetter):
              * bindings/v8/custom/V8HTMLFrameSetElementCustom.cpp:
              (WebCore::V8HTMLFrameSetElement::namedPropertyGetter):
              * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
              (WebCore::V8Custom::v8HTMLImageElementConstructorCallback):
              * bindings/v8/custom/V8HTMLOptionsCollectionCustom.cpp:
              (WebCore::V8HTMLOptionsCollection::indexedPropertyGetter):
              * bindings/v8/custom/V8HTMLSelectElementCustom.cpp:
              (WebCore::V8HTMLSelectElement::namedPropertyGetter):
              (WebCore::V8HTMLSelectElement::indexedPropertyGetter):
              * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
              (WebCore::createInjectedScript):
              (WebCore::V8InjectedScriptHost::nodeForIdCallback):
              (WebCore::V8InjectedScriptHost::databaseForIdCallback):
              * bindings/v8/custom/V8MessageChannelConstructor.cpp:
              (WebCore::V8MessageChannel::constructorCallback):
              * bindings/v8/custom/V8MessageEventCustom.cpp:
              (WebCore::V8MessageEvent::portsAccessorGetter):
              * bindings/v8/custom/V8NamedNodeMapCustom.cpp:
              (WebCore::V8NamedNodeMap::indexedPropertyGetter):
              (WebCore::V8NamedNodeMap::namedPropertyGetter):
              * bindings/v8/custom/V8NodeIteratorCustom.cpp:
              (WebCore::toV8):
              * bindings/v8/custom/V8NodeListCustom.cpp:
              (WebCore::V8NodeList::namedPropertyGetter):
              (WebCore::V8NodeList::callAsFunctionCallback):
              * bindings/v8/custom/V8NotificationCenterCustom.cpp:
              (WebCore::V8NotificationCenter::createHTMLNotificationCallback):
              (WebCore::V8NotificationCenter::createNotificationCallback):
              * bindings/v8/custom/V8SVGMatrixCustom.cpp:
              (WebCore::V8SVGMatrix::multiplyCallback):
              (WebCore::V8SVGMatrix::inverseCallback):
              (WebCore::V8SVGMatrix::rotateFromVectorCallback):
              * bindings/v8/custom/V8StyleSheetListCustom.cpp:
              (WebCore::V8StyleSheetList::namedPropertyGetter):
              * bindings/v8/custom/V8TreeWalkerCustom.cpp:
              (WebCore::toV8Object):
              * bindings/v8/custom/V8WebGLRenderingContextCustom.cpp:
              (WebCore::toV8Object):
              * bindings/v8/custom/V8XSLTProcessorCustom.cpp:
              (WebCore::V8XSLTProcessor::transformToFragmentCallback):
              (WebCore::V8XSLTProcessor::transformToDocumentCallback):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54278 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      51387b81
    • eric@webkit.org's avatar
      2010-02-03 Mikhail Naganov <mnaganov@chromium.org> · 257271bc
      eric@webkit.org authored
              Reviewed by Pavel Feldman.
      
              Start unforking debugger and profiler code.
      
              Remove custom implementation of Console.
              Add 'ScriptProfiler' and 'ScriptProfile' types.
              Start migration to engine-neutral types in InspectorController.
      
              https://bugs.webkit.org/show_bug.cgi?id=34481
      
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSBindingsAllInOne.cpp:
              * bindings/js/JSConsoleCustom.cpp:
              * bindings/js/ScriptProfile.h: Added.
              * bindings/js/ScriptProfiler.cpp: Added.
              (WebCore::ScriptProfiler::start):
              (WebCore::ScriptProfiler::stop):
              * bindings/js/ScriptProfiler.h: Added.
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/v8/ScriptProfile.h: Added.
              (WebCore::ScriptProfile::create):
              (WebCore::ScriptProfile::~ScriptProfile):
              (WebCore::ScriptProfile::title):
              (WebCore::ScriptProfile::uid):
              (WebCore::ScriptProfile::ScriptProfile):
              * bindings/v8/ScriptProfiler.cpp: Added.
              (WebCore::ScriptProfiler::start):
              (WebCore::ScriptProfiler::stop):
              * bindings/v8/ScriptProfiler.h: Added.
              * bindings/v8/custom/V8ConsoleCustom.cpp: Removed.
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::endGroup):
              (WebCore::InspectorController::show):
              (WebCore::InspectorController::setDOMStorageItem):
              (WebCore::InspectorController::addProfile):
              (WebCore::InspectorController::addProfileFinishedMessageToConsole):
              (WebCore::InspectorController::addStartProfilingMessageToConsole):
              (WebCore::InspectorController::createProfileHeader):
              (WebCore::InspectorController::getCurrentUserInitiatedProfileName):
              (WebCore::InspectorController::startUserInitiatedProfiling):
              (WebCore::InspectorController::stopUserInitiatedProfiling):
              (WebCore::InspectorController::enableDebugger):
              (WebCore::InspectorController::specialPanelForJSName):
              * inspector/InspectorController.h:
              (WebCore::InspectorController::searchingForNodeInPage):
              * page/Console.cpp:
              (WebCore::Console::profile):
              (WebCore::Console::profileEnd):
              * page/Console.h:
              (WebCore::):
              (WebCore::Console::create):
              (WebCore::Console::profiles):
              * page/Console.idl:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54277 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      257271bc