1. 04 Feb, 2010 34 commits
    • mitz@apple.com's avatar
      REGRESSION (r53718): When scrolling a tall window by page, the overlap between pages is too big · 5e7e3bc1
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34371
      
      Reviewed by Simon Fraser.
      
      WebCore: 
      
      Allow ScrollbarTheme to cap the overlap between pages, and set a cap of
      40 in ScrollbarThemeMac.
      
      * WebCore.base.exp: Export Scrollbar::maxOverlapBetweenPages().
      * editing/EditorCommand.cpp:
      (WebCore::verticalScrollDistance): Use Scrollbar methods instead of
      constants, and cap the scroll distance if needed.
      * platform/ScrollView.cpp:
      (WebCore::ScrollView::updateScrollbars): Ditto.
      (WebCore::ScrollView::wheelEvent): Ditto.
      * platform/Scrollbar.cpp:
      (WebCore::Scrollbar::maxOverlapBetweenPages): Added. Returns the
      value from the native scrollbar theme.
      * platform/Scrollbar.h: Replaced scroll amount constants with static methods.
      (WebCore::Scrollbar::pixelsPerLineStep): Replaces cScrollbarPixelsPerLineStep.
      (WebCore::Scrollbar::minFractionToStepWhenPaging): Replaces cFractionToStepWhenPaging.
      * platform/ScrollbarTheme.h:
      (WebCore::ScrollbarTheme::maxOverlapBetweenPages): A base implementation
      that returns the largest int.
      * platform/gtk/WheelEventGtk.cpp:
      (WebCore::PlatformWheelEvent::PlatformWheelEvent): Use Scrollbar methods instead of
      constants.
      * platform/haiku/PlatformWheelEventHaiku.cpp:
      (WebCore::PlatformWheelEvent::PlatformWheelEvent): Use Scrollbar methods instead of
      constants.
      * platform/mac/ScrollbarThemeMac.h:
      (WebCore::ScrollbarThemeMac::maxOverlapBetweenPages): An override
      that returns 40.
      * platform/mac/WheelEventMac.mm:
      (WebCore::PlatformWheelEvent::PlatformWheelEvent): Use
      Scrollbar::pixelsPerLineStep() instead of cScrollbarPixelsPerLineStep.
      * platform/wx/MouseWheelEventWx.cpp:
      (WebCore::PlatformWheelEvent::PlatformWheelEvent): Use Scrollbar methods instead of
      constants.
      * platform/wx/ScrollViewWx.cpp:
      (WebCore::ScrollView::ScrollViewPrivate::OnScrollWinEvents): Use Scrollbar
      methods instead of constants, and cap the scroll distance if needed.
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::updateScrollInfoAfterLayout): Ditto.
      
      WebKit/mac: 
      
      * WebView/WebFrameView.mm:
      (-[WebFrameView _verticalPageScrollDistance]): Use Scrollbar methods instead of
      constants, and cap the scroll distance.
      (-[WebFrameView initWithFrame:]): Use Scrollbar::pixelsPerLineStep() instead of
      cScrollbarPixelsPerLineStep.
      (-[WebFrameView _horizontalPageScrollDistance]):Use Scrollbar methods instead of
      constants, and cap the scroll distance.
      
      WebKit/wx: 
      
      * WebView.cpp:
      (wxWebView::OnKeyEvents): Use Scrollbar method instead of constant.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54345 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5e7e3bc1
    • eric@webkit.org's avatar
      2010-02-04 No'am Rosenthal <noam.rosenthal@nokia.com> · 1fb233f7
      eric@webkit.org authored
              Reviewed by Ariya Hidayat.
      
              [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-04  No'am Rosenthal  <noam.rosenthal@nokia.com>
      
              Reviewed by Ariya Hidayat.
      
              [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@54344 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1fb233f7
    • pfeldman@chromium.org's avatar
      2010-02-04 Pavel Feldman <pfeldman@chromium.org> · d17b787d
      pfeldman@chromium.org authored
              Reviewed by Timothy Hatcher.
      
              Web Inspector: Cookies for resources are not shown in storage panel.
      
              https://bugs.webkit.org/show_bug.cgi?id=34594
      
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::getCookies):
              * inspector/InspectorResource.cpp:
              (WebCore::InspectorResource::updateScriptObject):
              (WebCore::InspectorResource::cachedResource):
              * inspector/InspectorResource.h:
              (WebCore::InspectorResource::requestURL):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d17b787d
    • abecsi@webkit.org's avatar
      2010-02-04 Andras Becsi <abecsi@inf.u-szeged.hu> · 7523d09c
      abecsi@webkit.org authored
              
              Reviewed by Tor Arne Vestbø.
      
              Implement a locking and scheduling mechanism for http testing sessions to be able
              to run multiple instances of run-webkit-tests parallel on the same machine.
              If a test session wants to run http tests and this feature is enabled, the pending
              sessions create lockfiles with sequential lock numbers. These locks are used to schedule
              the running test sessions in first come first served order. An exclusive lock ensures
              that the lock numbers are sequential to avoid deadlocks and starvation.
              Because the buildbot master specifies the flags used by slaves we need an environment
              variable too to be able to use the feature per-slave.
              Exporting WEBKIT_WAIT_FOR_HTTPD=1 before testing or using the --wait-for-httpd
              flag enables this feature, otherwise this patch has no effect on the testing whatsoever.
      
              https://bugs.webkit.org/show_bug.cgi?id=33153
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54342 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7523d09c
    • eric@webkit.org's avatar
      2010-02-04 Anton Muhin <antonm@chromium.org> · ac208885
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              [v8] Remove clear method from DOM object maps
              https://bugs.webkit.org/show_bug.cgi?id=34530
      
              No new tests. Should be covered by existent testing infrastructure.
      
              * bindings/v8/DOMData.h:
              * bindings/v8/DOMDataStore.h:
              * bindings/v8/V8DOMMap.cpp:
              * bindings/v8/V8DOMMap.h:
              * bindings/v8/WorkerScriptController.cpp:
              (WebCore::WorkerScriptController::~WorkerScriptController):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54341 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ac208885
    • eric@webkit.org's avatar
      2010-02-04 Jedrzej Nowacki <jedrzej.nowacki@nokia.com> · 2a55cbb2
      eric@webkit.org authored
              Reviewed by Simon Hausmann.
      
              Increase test coverage for the QScriptValue.
      
              https://bugs.webkit.org/show_bug.cgi?id=34533
      
              * qt/tests/qscriptvalue/qscriptvalue.pro:
              * qt/tests/qscriptvalue/tst_qscriptvalue.cpp:
              (tst_QScriptValue::tst_QScriptValue):
              (tst_QScriptValue::~tst_QScriptValue):
              (tst_QScriptValue::dataHelper):
              (tst_QScriptValue::newRow):
              (tst_QScriptValue::testHelper):
              (tst_QScriptValue::ctor):
              * qt/tests/qscriptvalue/tst_qscriptvalue.h: Added.
              * qt/tests/qscriptvalue/tst_qscriptvalue_generated.cpp: Added.
              (tst_QScriptValue::initScriptValues):
              (tst_QScriptValue::isValid_initData):
              (tst_QScriptValue::isValid_makeData):
              (tst_QScriptValue::isValid_test):
              (tst_QScriptValue::isBool_initData):
              (tst_QScriptValue::isBool_makeData):
              (tst_QScriptValue::isBool_test):
              (tst_QScriptValue::isBoolean_initData):
              (tst_QScriptValue::isBoolean_makeData):
              (tst_QScriptValue::isBoolean_test):
              (tst_QScriptValue::isFunction_initData):
              (tst_QScriptValue::isFunction_makeData):
              (tst_QScriptValue::isFunction_test):
              (tst_QScriptValue::isNull_initData):
              (tst_QScriptValue::isNull_makeData):
              (tst_QScriptValue::isNull_test):
              (tst_QScriptValue::isString_initData):
              (tst_QScriptValue::isString_makeData):
              (tst_QScriptValue::isString_test):
              (tst_QScriptValue::isUndefined_initData):
              (tst_QScriptValue::isUndefined_makeData):
              (tst_QScriptValue::isUndefined_test):
              (tst_QScriptValue::isObject_initData):
              (tst_QScriptValue::isObject_makeData):
              (tst_QScriptValue::isObject_test):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54340 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2a55cbb2
    • vestbo@webkit.org's avatar
      Make run-webkit-tests work under Cygwin for the Qt port · d51d95a4
      vestbo@webkit.org authored
      Reviewed by Simon Hausmann.
      
      setPathForRunningWebKitApp() is implemented for the Qt port
      by using qmake to query for the location of the Qt libraries.
      
      This requires the original environment (%ENV) to be untouched,
      so launchWithCurrentEnv() was refactored to launchWithEnv(),
      and the code in openDumpTool() to not use %ENV but a %CLEAN_ENV
      instead. This has the added benefit of getting rid of the temp
      variables used for storing the current env.
      
      openDumpTool() is also refactored a bit into platform-spesific,
      port-spesific, and generic environment variables.
      
      Checks for undef was added a few places to fix Perl concat
      warnings when run-webkit-tests is aborted.
      
      https://bugs.webkit.org/show_bug.cgi?id=33895
      
      * Scripts/run-webkit-tests:
      * Scripts/webkitdirs.pm:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54339 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d51d95a4
    • ossy@webkit.org's avatar
      [Qt] fast/workers/shared-worker-frame-lifecycle.html failed on Qt Bot · 6a78c72d
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=34281
      
      * platform/qt/Skipped: fast/workers/shared-worker-frame-lifecycle.html skipped until fix.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54338 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6a78c72d
    • zecke@webkit.org's avatar
      [Gtk] Check if the renderer() exists in textForObject. · 1a58308d
      zecke@webkit.org authored
      This is fixing a crash in the textForObject method. It can
      happen when inspecting AtkObjects in the accerciser, then
      navigating to a new page and still inspecting the old tree.
      
      In this case the AccessibilityObjectWrapperAtk was still
      valid but the included renderer() was returning 0. Add a
      check for the accObject->renderer() before trying to use
      the result.
      
      * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
      (textForObject):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54337 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1a58308d
    • yuzo@google.com's avatar
      2010-02-04 Yuzo Fujishima <yuzo@google.com> · 0a997086
      yuzo@google.com authored
              Unreviewed.
      
              Add Yuzo to the committers list.
      
              * Scripts/webkitpy/committers.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54336 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0a997086
    • yurys@chromium.org's avatar
      2010-02-04 Yury Semikhatsky <yurys@chromium.org> · 3ee79f57
      yurys@chromium.org authored
              Unreviewed. Revert 54333 which broke Chromium build.
      
              * WebKit.gyp:
              * tests/TransparencyWinTest.cpp: Removed.
              * tests/UniscribeHelperTest.cpp: Removed.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54335 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3ee79f57
    • yurys@chromium.org's avatar
      2010-02-04 Yury Semikhatsky <yurys@chromium.org> · a3c002b7
      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
      
              * GNUmakefile.am:
              * 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::wrapAndStringifyForConsole):
              (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):
              * inspector/front-end/InjectedScript.js:
              (injectedScriptConstructor):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54334 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a3c002b7
    • eric@webkit.org's avatar
      2010-02-04 Yaar Schnitman <yaar@chromium.org> · bbafe7b7
      eric@webkit.org authored
              Reviewed by Darin Fisher.
      
              Upstreaming gtests from chromium: UniscribeHelper and TransparencyWin.
              https://bugs.webkit.org/show_bug.cgi?id=34509
      
              * WebKit.gyp:
              * tests/TransparencyWinTest.cpp: Added.
              (WebCore::RECTToFloatRect):
              (WebCore::drawNativeRect):
              (WebCore::getPixelAt):
              (WebCore::clearTopLayerAlphaChannel):
              (WebCore::clearTopLayerAlphaPixel):
              (WebCore::operator<<):
              (WebCore::TEST):
              * tests/UniscribeHelperTest.cpp: Added.
              (WebCore::UniscribeTest::UniscribeTest):
              (WebCore::UniscribeTest::MakeFont):
              (WebCore::UniscribeTest::SetUp):
              (WebCore::UniscribeTest::TearDown):
              (WebCore::TEST_F):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54333 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bbafe7b7
    • philn@webkit.org's avatar
      2010-02-04 Philippe Normand <pnormand@igalia.com> · e3533df9
      philn@webkit.org authored
              Rubber stamped by Xan Lopez.
      
              Missing include, build fix after landing of patch from the bug 34435.
      
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54332 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e3533df9
    • eric@webkit.org's avatar
      2010-02-04 Jeremy Moskovich <jeremy@chromium.org> · b2dd4ff1
      eric@webkit.org authored
              Reviewed by David Levin.
      
              [Chromium] WebKit side of "Writing direction" context menu on OS X.
              https://bugs.webkit.org/show_bug.cgi?id=34524
      
              * public/WebContextMenuData.h:
              (WebKit::WebContextMenuData::):
              * src/ContextMenuClientImpl.cpp:
              (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54331 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b2dd4ff1
    • philn@webkit.org's avatar
      2010-02-02 Philippe Normand <pnormand@igalia.com> · cf8f5fa6
      philn@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [Gtk] libsoup critical warning in media player http cookies injection code
              https://bugs.webkit.org/show_bug.cgi?id=34435
      
              Fixed the critical warning and refactored the
              User-Agent/Referer/cookies injection code, in that order. Previous
              order (cookies first) was wrong because if cookies injection could
              not be done neither the User-Agent nor Referer were injected. Also
              started a non-JSC-specific, gtk-specific GOwnPtr module.
      
              * GNUmakefile.am:
              * platform/graphics/gtk/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::mediaPlayerPrivateSourceChangedCallback):
              * platform/gtk/GOwnPtrGtk.cpp: Added.
              (WTF::SoupURI):
              (WTF::GstElement):
              * platform/gtk/GOwnPtrGtk.h: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54330 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cf8f5fa6
    • eric@webkit.org's avatar
      2010-02-04 Mikhail Naganov <mnaganov@chromium.org> · 33caddf4
      eric@webkit.org authored
              Reviewed by Timothy Hatcher.
      
              Put JSC-specific debugger & profiler code under "USE(JSC)" defines.
              The plan is to enable "JAVASCRIPT_DEBUGGER" in Chromium and then
              make this code engine-agnostic.
      
              https://bugs.webkit.org/show_bug.cgi?id=34531
      
              * inspector/InjectedScriptHost.cpp:
              * inspector/InjectedScriptHost.h:
              * inspector/InspectorBackend.cpp:
              * inspector/InspectorBackend.h:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::InspectorController):
              (WebCore::InspectorController::setWindowVisible):
              (WebCore::InspectorController::scriptObjectReady):
              (WebCore::InspectorController::close):
              (WebCore::InspectorController::didCommitLoad):
              * inspector/InspectorController.h:
              * inspector/InspectorFrontend.cpp:
              * inspector/InspectorFrontend.h:
              * inspector/JavaScriptCallFrame.cpp:
              * inspector/JavaScriptCallFrame.h:
              * inspector/JavaScriptDebugListener.h:
              * inspector/JavaScriptDebugServer.cpp:
              * inspector/JavaScriptDebugServer.h:
              * inspector/JavaScriptProfile.cpp:
              * inspector/JavaScriptProfile.h:
              * inspector/JavaScriptProfileNode.cpp:
              * inspector/JavaScriptProfileNode.h:
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::continueLoadAfterNavigationPolicy):
              * page/Page.cpp:
              (WebCore::Page::Page):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54329 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      33caddf4
    • dpranke@chromium.org's avatar
      2010-02-03 Dirk Pranke <dpranke@chromium.org> · d79103bb
      dpranke@chromium.org authored
              Rubber-stamped by Eric Seidel.
      
              Change "the Chromium name" to "the name of Google Inc." in the licenses
      
              https://bugs.webkit.org/show_bug.cgi?id=34511
      
              * 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/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/port/__init__.py:
              * Scripts/webkitpy/layout_tests/port/apache_http_server.py:
              * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
              * Scripts/webkitpy/layout_tests/port/chromium_mac.py:
              * Scripts/webkitpy/layout_tests/port/chromium_win.py:
              * Scripts/webkitpy/layout_tests/port/http_server.py:
              * Scripts/webkitpy/layout_tests/port/http_server_base.py:
              * Scripts/webkitpy/layout_tests/port/path_utils.py:
              * Scripts/webkitpy/layout_tests/port/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@54328 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d79103bb
    • dpranke@chromium.org's avatar
      2010-02-03 Dirk Pranke <dpranke@chromium.org> · f9fa8986
      dpranke@chromium.org authored
              Rubber-stamped by Eric Siedel.
      
              Rename files as part of refactoring the layout_tests package. All
              the platform_utils* module, the path_utils.py module, and
              the http server and web socket server modules are moved into a new
              port/ package.
      
              https://bugs.webkit.org/show_bug.cgi?id=34511
      
              * 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/test_expectations.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_files.py:
              * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py:
              * Scripts/webkitpy/layout_tests/port/__init__.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/platform_utils.py.
              * Scripts/webkitpy/layout_tests/port/apache_http_server.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/apache_http_server.py.
              * Scripts/webkitpy/layout_tests/port/chromium_linux.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/platform_utils_linux.py.
              * Scripts/webkitpy/layout_tests/port/chromium_mac.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/platform_utils_mac.py.
              * Scripts/webkitpy/layout_tests/port/chromium_win.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/platform_utils_win.py.
              * Scripts/webkitpy/layout_tests/port/http_server.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/http_server.py.
              * Scripts/webkitpy/layout_tests/port/http_server_base.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/http_server_base.py.
              * Scripts/webkitpy/layout_tests/port/httpd2.pem: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/httpd2.pem.
              * Scripts/webkitpy/layout_tests/port/lighttpd.conf: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/lighttpd.conf.
              * Scripts/webkitpy/layout_tests/port/path_utils.py: Renamed from WebKitTools/Scripts/webkitpy/layout_tests/layout_package/path_utils.py.
              * Scripts/webkitpy/layout_tests/port/websocket_server.py: Renamed from WebKitTools/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@54327 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f9fa8986
    • eric@webkit.org's avatar
      2010-02-03 Nicholas Young <nicholas.young@nokia.com> · bda228c6
      eric@webkit.org authored
              Reviewed by Eric Carlson.
      
              Defer formatting of times displayed on media controls to the current theme.
              https://bugs.webkit.org/show_bug.cgi?id=34405
      
              No new tests needed. Refactoring Only.
      
              * rendering/MediaControlElements.cpp: Removed formatTime()
              (WebCore::MediaControlTimeDisplayElement::setCurrentValue): No longer sets inner text
              * rendering/MediaControlElements.h:
              * rendering/RenderMedia.cpp:
              (WebCore::RenderMedia::updateTimeDisplay): Asks the theme to format the time display elements
              * rendering/RenderTheme.cpp:
              (WebCore::RenderTheme::formatMediaControlsTime): new virtual method
              (WebCore::RenderTheme::formatMediaControlsCurrentTime): new virtual method
              (WebCore::RenderTheme::formatMediaControlsRemainingTime): new virtual method
              * rendering/RenderTheme.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54326 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bda228c6
    • ukai@chromium.org's avatar
      Unreviewed fix. · de487704
      ukai@chromium.org authored
      websocket/tests/close-on-unload.html and
      close-on-navigate-new-location.html will fail on mac tiger,
      because python on the platform doesn't support set(), which is
      used in websocket handler for these tests.
      
      * platform/mac-tiger/Skipped: skip websocket/tests/close-on-unload.html and websocket/tests/close-on-navigate-new-location.html
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54325 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      de487704
    • ukai@chromium.org's avatar
      2010-02-03 Fumitoshi Ukai <ukai@chromium.org> · a0e9d270
      ukai@chromium.org authored
              Reviewed by Alexey Proskuryakov.
      
              navigating a frame to new location closes websocket in the frame
              https://bugs.webkit.org/show_bug.cgi?id=34557
      
              * websocket/tests/close-on-navigate-new-location-expected.txt: Added.
              * websocket/tests/close-on-navigate-new-location.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54324 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a0e9d270
    • sfalken@apple.com's avatar
      Windows Debug_All build fix. · 13acb464
      sfalken@apple.com authored
      * platform/graphics/win/WKCACFLayer.cpp:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54323 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      13acb464
    • mrowe@apple.com's avatar
      Remove an unnecessary backup file. · 89857c4e
      mrowe@apple.com authored
      git-svn-id: svn://svn.chromium.org/blink/trunk@54322 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      89857c4e
    • beidson@apple.com's avatar
      REGRESSION (r51644): WebCore/manual-tests/linkjump-1.html fails · b3ab249e
      beidson@apple.com authored
      <rdar://problem/7595694> and https://bugs.webkit.org/show_bug.cgi?id=34550
      
      Reviewed by Alexey Proskuryakov.
      
      WebCore: 
      
      Tests: fast/loader/document-with-fragment-url-1.html
             fast/loader/document-with-fragment-url-2.html
             fast/loader/document-with-fragment-url-3.html
             fast/loader/document-with-fragment-url-4.html
      
      * platform/KURL.cpp:
      (WebCore::KURL::init): When resolving new URL from an empty reference relative to an absolute URL,
        any fragment identifier from the absolute URL should be removed from the resulting resolution.
      
      LayoutTests: 
      
      * fast/loader/document-with-fragment-url-1-expected.txt: Added.
      * fast/loader/document-with-fragment-url-1.html: Added.
      * fast/loader/document-with-fragment-url-2-expected.txt: Added.
      * fast/loader/document-with-fragment-url-2.html: Added.
      * fast/loader/document-with-fragment-url-3-expected.txt: Added.
      * fast/loader/document-with-fragment-url-3.html: Added.
      * fast/loader/document-with-fragment-url-4-expected.txt: Added.
      * fast/loader/document-with-fragment-url-4.html: Added.
      * fast/loader/resources/document-with-fragment-url-test.html: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54321 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b3ab249e
    • eric@webkit.org's avatar
      2010-02-03 Kwang Yul Seo <skyul@company100.net> · 742c9664
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [BREWMP] Define WTF_PLATFORM_BREWMP_SIMULATOR when AEE_SIMULATOR is defined
              https://bugs.webkit.org/show_bug.cgi?id=34514
      
              PLATFORM(BREWMP_SIMULATOR) guard is needed to make distinction between BREWMP
              and BREWMP simulator.
      
              * wtf/Platform.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54320 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      742c9664
    • ukai@chromium.org's avatar
      2010-02-03 Fumitoshi Ukai <ukai@chromium.org> · 4351b62b
      ukai@chromium.org authored
              Reviewed by Alexey Proskuryakov.
      
              WebSocket should close the connection when unloading the document
              https://bugs.webkit.org/show_bug.cgi?id=33248
      
              * websocket/tests/close-on-unload-expected.txt: Added.
              * websocket/tests/close-on-unload.html: Added.
              * websocket/tests/close-on-unload_wsh.py: Added.
              * websocket/tests/resources/close-on-unload-iframe.html: Added.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54319 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      4351b62b
    • eric@webkit.org's avatar
      2010-02-03 Kwang Yul Seo <skyul@company100.net> · 2a292956
      eric@webkit.org authored
              Reviewed by Eric Seidel.
      
              [BREWMP] Port TextBreakIteratorInternalICU
              https://bugs.webkit.org/show_bug.cgi?id=34515
      
              Port TextBreakIteratorInternalICU.
      
              * platform/text/brew/TextBreakIteratorInternalICUBrew.cpp: Added.
              (WebCore::currentSearchLocaleID):
              (WebCore::currentTextBreakLocaleID):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54318 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      2a292956
    • adele@apple.com's avatar
      WebCore: Fix for <rdar://problem/7594212> · 66293e94
      adele@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34549 - CSS counters crash at http://www.w3.org/TR/css3-content/
      CrashTracer: [USER] 20 crashes in Safari at com.apple.WebCore: WebCore::CounterNode::insertAfter + 319
      
      Reviewed by Simon Fraser.
      
      Test: fast/css/counters/counter-before-selector-crash.html
      
      * rendering/RenderCounter.cpp: (WebCore::updateCounters): nil check.
      
      LayoutTests: Test for: <rdar://problem/7594212> 
      https://bugs.webkit.org/show_bug.cgi?id=34549 - CSS counters crash at http://www.w3.org/TR/css3-content/
      CrashTracer: [USER] 20 crashes in Safari at com.apple.WebCore: WebCore::CounterNode::insertAfter + 319
      
      Reviewed by Simon Fraser.
      
      * fast/css/counters/counter-before-selector-crash-expected.txt: Added.
      * fast/css/counters/counter-before-selector-crash.html: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54317 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      66293e94
    • adele@apple.com's avatar
      Initialize the variable in the last checkin to false. I didn't realize DRT... · db71ccb0
      adele@apple.com authored
      Initialize the variable in the last checkin to false.  I didn't realize DRT relies on this being false.  
      So ports that want visited link tracking need to set that flag.
      
      Reviewed by Brady Eidson.
      
      * page/PageGroup.cpp:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54316 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      db71ccb0
    • ossy@webkit.org's avatar
      Rubber-stamped by Eric Seidel. · 75eab04b
      ossy@webkit.org authored
      Roll back r53559 and r54084 again, because roll out didn't solve flakeyness on the Windows Test bots
      https://bugs.webkit.org/show_bug.cgi?id=34399
      
      * Scripts/run-iexploder-tests:
      * Scripts/run-webkit-httpd:
      * Scripts/run-webkit-tests:
      * Scripts/webkitperl/httpd.pm: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54314 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      75eab04b
    • adele@apple.com's avatar
      Fix for https://bugs.webkit.org/show_bug.cgi?id=34547 · 450cdbe0
      adele@apple.com authored
      static shouldTrackVisitedLinks is not initialized
      
      Reviewed by Brady Eidson.
      
      For ports that don't call into WebKit to initialize this, 
      we should initialize to true so they get the visited link behavior by default.
      
      * page/PageGroup.cpp:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54313 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      450cdbe0
    • ossy@webkit.org's avatar
      Rubber-stamped by Eric Seidel. · 1ced014e
      ossy@webkit.org authored
      Roll out r53559 and r54084, because it might caused flakeyness on the Windows Test bots
      
      * Scripts/run-iexploder-tests:
      * Scripts/run-webkit-httpd:
      * Scripts/run-webkit-tests:
      * Scripts/webkitperl/httpd.pm: Removed.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54312 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      1ced014e
    • mitz@apple.com's avatar
      <rdar://problem/7577604> Drag and Drop: background elements are bleeding through · a78283e7
      mitz@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=34546
      
      Reviewed by Simon Fraser.
      
      * manual-tests/drag-image-table-part-decorations.html: Added.
      * rendering/RenderFieldset.cpp:
      (WebCore::RenderFieldset::paintBoxDecorations): Bail out if this object shouldn’t
      paint within the current painting root.
      * rendering/RenderTable.cpp:
      (WebCore::RenderTable::paintBoxDecorations): Ditto.
      * rendering/RenderTableCell.cpp:
      (WebCore::RenderTableCell::paintBackgroundsBehindCell): Ditto.
      (WebCore::RenderTableCell::paintBoxDecorations): Ditto.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@54311 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a78283e7
  2. 03 Feb, 2010 6 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