WebKit-https.git
11 years ago[Qt] Split the build process in two different .pro files.
hausmann@webkit.org [Wed, 13 Jan 2010 16:06:39 +0000 (16:06 +0000)]
[Qt] Split the build process in two different .pro files.
This allows qmake to be run once all source files are available.

Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2010-01-13
Reviewed by Simon Hausmann.

.:

* DerivedSources.pro: Added.
* WebKit.pri:

JavaScriptCore:

* DerivedSources.pro: Added.
* JavaScriptCore.pri: Moved source generation to DerivedSources.pro
* pcre/pcre.pri: Moved source generation to DerivedSources.pro

WebCore:

* DerivedSources.pro: Added.
* WebCore.pri: Added. Contains common logic between source generation and compilation.
* WebCore.pro: Moved source generation to DerivedSources.pro.

WebKitTools:

* Scripts/webkitdirs.pm: Add calls to make DerivedSources.pro in JSC and WC.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53187 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-13 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Wed, 13 Jan 2010 15:55:41 +0000 (15:55 +0000)]
2010-01-13  Shinichiro Hamaji  <hamaji@chromium.org>

        Unreviewed tiny typo fix in docstrings.

        * Scripts/webkitpy/style/checker_unittest.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53186 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-13 Chris Jerdonek <chris.jerdonek@gmail.com>
hamaji@chromium.org [Wed, 13 Jan 2010 15:52:51 +0000 (15:52 +0000)]
2010-01-13  Chris Jerdonek  <chris.jerdonek@gmail.com>

        Reviewed by Shinichiro Hamaji.

        Created a CategoryFilter class to encapsulate the logic of
        filter rules.

        https://bugs.webkit.org/show_bug.cgi?id=33454

        * Scripts/webkitpy/style/checker.py:
          - Added CategoryFilter class.

        * Scripts/webkitpy/style/checker_unittest.py:
          - Added CategoryFilter unit tests.

        * Scripts/webkitpy/style/cpp_style.py:
          - Updated filter methods to use CategoryFilter.

        * Scripts/webkitpy/style/cpp_style_unittest.py:
          - Updated references to filters.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53185 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-13 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 13 Jan 2010 15:24:14 +0000 (15:24 +0000)]
2010-01-13  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Timothy Hatcher.

        Web Inspector: Scrolling editor to the 20Kth line is not smooth.

        https://bugs.webkit.org/show_bug.cgi?id=33587

        * inspector/front-end/TextEditor.js:
        (WebInspector.TextEditor):
        (WebInspector.TextEditor.prototype._textChanged):
        (WebInspector.TextEditor.prototype._highlightChanged):
        (WebInspector.TextEditor.prototype._paintLinesContinuation):
        * inspector/front-end/TextEditorHighlighter.js:
        (WebInspector.TextEditorHighlighter):
        (WebInspector.TextEditorHighlighter.prototype.highlight):
        (WebInspector.TextEditorHighlighter.prototype._highlightInChunks):
        (WebInspector.TextEditorHighlighter.prototype.updateHighlight):
        (WebInspector.TextEditorHighlighter.prototype._highlightLines):
        (WebInspector.TextEditorHighlighter.prototype._lex):
        * inspector/front-end/TextEditorModel.js:
        (WebInspector.TextEditorModel.prototype._setLine):
        (WebInspector.TextEditorModel.prototype.setAttribute):
        (WebInspector.TextEditorModel.prototype.getAttribute):
        (WebInspector.TextEditorModel.prototype.removeAttribute):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53184 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago[Qt] Fix the build on Windows.
hausmann@webkit.org [Wed, 13 Jan 2010 13:49:42 +0000 (13:49 +0000)]
[Qt] Fix the build on Windows.

Patch by Jocelyn Turcotte <jocelyn.turcotte@nokia.com> on 2010-01-13
Reviewed by Simon Hausmann.

PluginViewWin.cpp requires the conversion operator from TransformationMatrix to XFORM.

* WebCore.pro: Build TransformationMatrixWin.cpp.
* platform/graphics/transforms/TransformationMatrix.h: Enable the conversion operator to XFORM.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-13 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Wed, 13 Jan 2010 09:23:04 +0000 (09:23 +0000)]
2010-01-13  Fumitoshi Ukai  <ukai@chromium.org>

        Unreviewed.

        Add websocket/tests/workers/worker-simple.html, because it starts
        crash after r53174

        * platform/mac/Skipped: Add websocket/tests/workers/worker-simple.html

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53182 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago[Qt/Symbian] Added missing vendor information to qtwebkit.sis
hausmann@webkit.org [Wed, 13 Jan 2010 09:18:21 +0000 (09:18 +0000)]
[Qt/Symbian] Added missing vendor information to qtwebkit.sis

Patch by Miikka Heikkinen <miikka.heikkinen@digia.com> on 2010-01-13
Reviewed by Simon Hausmann.

This information is necessary to Symbian sign the package.

http://bugreports.qt.nokia.com/browse/QTBUG-7290

* WebCore.pro:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53181 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Jeremy Orlow <jorlow@chromium.org>
jorlow@chromium.org [Wed, 13 Jan 2010 06:51:24 +0000 (06:51 +0000)]
2010-01-11  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
        https://bugs.webkit.org/show_bug.cgi?id=33492

        * public/WebKitClient.h:
        * public/WebViewClient.h:
        (WebKit::WebViewClient::getSessionStorageNamespace):
        * src/StorageNamespaceProxy.cpp:
        (WebCore::StorageNamespace::sessionStorageNamespace):
2010-01-11  Jeremy Orlow  <jorlow@chromium.org>

        Reviewed by Darin Fisher.

        [Chromium] Move getSessionStorageNamespace from WebKitClient to WebViewClient
        https://bugs.webkit.org/show_bug.cgi?id=33492

        * page/Page.cpp:
        (WebCore::Page::sessionStorage):
        * storage/StorageNamespace.cpp:
        (WebCore::StorageNamespace::sessionStorageNamespace):
        * storage/StorageNamespace.h:
        (WebCore::StorageNamespace::~StorageNamespace):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53180 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Wed, 13 Jan 2010 06:12:23 +0000 (06:12 +0000)]
2010-01-12  Shinichiro Hamaji  <hamaji@chromium.org>

        Unreviewed. Now I can review :)

        * Scripts/webkitpy/committers.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53179 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago<rdar://problem/7512726> Flash full-screen does not work correctly with Flash 10...
mrowe@apple.com [Wed, 13 Jan 2010 03:33:58 +0000 (03:33 +0000)]
<rdar://problem/7512726> Flash full-screen does not work correctly with Flash 10.1 beta

Reviewed by Darin Adler.

Explicitly track when the plug-in shows and hides a full-screen window to determine
whether a plug-in is currently full-screen, rather than relying on menu bar visibility.
This ensures that we activate the plug-in host process and client application as
appropriate when the plug-in enters or exits full-screen.

* Plugins/Hosted/NetscapePluginHostProxy.h:
(WebKit::NetscapePluginHostProxy::isFullScreenWindowShowing):
* Plugins/Hosted/NetscapePluginHostProxy.mm:
(WebKit::NetscapePluginHostProxy::NetscapePluginHostProxy):
(WebKit::NetscapePluginHostProxy::setMenuBarVisible):
(WebKit::NetscapePluginHostProxy::didEnterFullScreen):
(WebKit::NetscapePluginHostProxy::didExitFullScreen):
(WebKit::NetscapePluginHostProxy::setFullScreenWindowIsShowing):
(WKPCSetMenuBarVisible):
(WKPCSetFullScreenWindowIsShowing):
* Plugins/Hosted/WebKitPluginClient.defs:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53178 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAdding a list of whitelisted sqlite functions that users are
dumi@chromium.org [Wed, 13 Jan 2010 03:29:39 +0000 (03:29 +0000)]
Adding a list of whitelisted sqlite functions that users are
allowed to use.

Reviewed by Adam Barth.

https://bugs.webkit.org/show_bug.cgi?id=33549

* platform/sql/SQLiteDatabase.cpp:
(WebCore::SQLiteDatabase::authorizerFunction):
* storage/DatabaseAuthorizer.cpp:
(WebCore::DatabaseAuthorizer::DatabaseAuthorizer):
(WebCore::DatabaseAuthorizer::addWhitelistedFunctions):
(WebCore::DatabaseAuthorizer::allowFunction):
* storage/DatabaseAuthorizer.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53177 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Wed, 13 Jan 2010 02:48:01 +0000 (02:48 +0000)]
2010-01-12  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Simon Hausmann.

        [Qt][WebSocket] SocketStreamHandleSoup.cpp is misnamed
        https://bugs.webkit.org/show_bug.cgi?id=33077

        * WebCore.pro:
        * platform/network/qt/SocketStreamHandleQt.cpp: Copied from WebCore/platform/network/qt/SocketStreamHandleSoup.cpp.
        * platform/network/qt/SocketStreamHandleSoup.cpp: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53176 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoBuild Fix.
bweinstein@apple.com [Wed, 13 Jan 2010 02:33:25 +0000 (02:33 +0000)]
Build Fix.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53175 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Wed, 13 Jan 2010 02:09:53 +0000 (02:09 +0000)]
2010-01-12  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Darin Adler.

        Add a test of WebSockets for shared workers
        https://bugs.webkit.org/show_bug.cgi?id=33285

        * websocket/tests/workers/resources/worker-simple.js:
        * websocket/tests/workers/shared-worker-simple-expected.txt: Added.
        * websocket/tests/workers/shared-worker-simple.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53174 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 13 Jan 2010 02:08:10 +0000 (02:08 +0000)]
2010-01-12  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        position:fixed and transform on same element breaks fixed behavior
        https://bugs.webkit.org/show_bug.cgi?id=31283

        Fix interactions of transforms and fixed positioning, namely that fixed position
        elements with a transformed ancestor are positioned relative to that ancestor,
        and an element with both a transform and fixed position respects that positioning.

        Test: transforms/2d/transform-fixed-container.html

        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::mapLocalToContainer):
        (WebCore::RenderBox::mapAbsoluteToLocalPoint):
        Transforms should not unconditionally stop the propagation of the 'fixed' flag to ancestors,
        but only if the transformed element is not itself fixed.

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::convertToLayerCoords):
        Fix this method to behave correctly for fixed position layers whose container is not
        the root, but some other (probably transformed) ancestor. In that case, we can fall into
        the "position: absolute" code path.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53173 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoReplacing RANDOMBLOB with ZEROBLOB, as RANDOMBLOB will soon be
dumi@chromium.org [Wed, 13 Jan 2010 02:04:24 +0000 (02:04 +0000)]
Replacing RANDOMBLOB with ZEROBLOB, as RANDOMBLOB will soon be
disallowed by the authorizer.

Reviewed by Adam Barth.

https://bugs.webkit.org/show_bug.cgi?id=33396

* storage/quota-tracking.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53172 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Tony Chang <tony@chromium.org>
eric@webkit.org [Wed, 13 Jan 2010 01:29:35 +0000 (01:29 +0000)]
2010-01-12  Tony Chang  <tony@chromium.org>

        Reviewed by Adam Barth.

        Fix an assert being triggered by how the Chromium port sets the
        replacing flag for error pages.  This was caused by r53143.

        Covered by existing Chromium UI tests.

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::checkLoadCompleteForThisFrame):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53171 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Kent Hansen <kent.hansen@nokia.com>
eric@webkit.org [Wed, 13 Jan 2010 00:58:21 +0000 (00:58 +0000)]
2010-01-12  Kent Hansen  <kent.hansen@nokia.com>

        Reviewed by Geoffrey Garen.

        [ES5] Implement Object.getOwnPropertyNames
        https://bugs.webkit.org/show_bug.cgi?id=32242

        Add an extra argument to getPropertyNames() and getOwnPropertyNames()
        (and all reimplementations thereof) that indicates whether non-enumerable
        properties should be added.

        * API/JSCallbackObject.h:
        * API/JSCallbackObjectFunctions.h:
        (JSC::::getOwnPropertyNames):
        * JavaScriptCore.exp:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
        * debugger/DebuggerActivation.cpp:
        (JSC::DebuggerActivation::getOwnPropertyNames):
        * debugger/DebuggerActivation.h:
        * runtime/Arguments.cpp:
        (JSC::Arguments::getOwnPropertyNames):
        * runtime/Arguments.h:
        * runtime/CommonIdentifiers.h:
        * runtime/JSArray.cpp:
        (JSC::JSArray::getOwnPropertyNames):
        * runtime/JSArray.h:
        * runtime/JSByteArray.cpp:
        (JSC::JSByteArray::getOwnPropertyNames):
        * runtime/JSByteArray.h:
        * runtime/JSFunction.cpp:
        (JSC::JSFunction::getOwnPropertyNames):
        * runtime/JSFunction.h:
        * runtime/JSNotAnObject.cpp:
        (JSC::JSNotAnObject::getOwnPropertyNames):
        * runtime/JSNotAnObject.h:
        * runtime/JSObject.cpp:
        (JSC::getClassPropertyNames):
        (JSC::JSObject::getPropertyNames):
        (JSC::JSObject::getOwnPropertyNames):
        * runtime/JSObject.h:
        * runtime/JSVariableObject.cpp:
        (JSC::JSVariableObject::getOwnPropertyNames):
        * runtime/JSVariableObject.h:
        * runtime/ObjectConstructor.cpp:
        (JSC::ObjectConstructor::ObjectConstructor):
        (JSC::objectConstructorGetOwnPropertyNames):
        * runtime/RegExpMatchesArray.h:
        (JSC::RegExpMatchesArray::getOwnPropertyNames):
        * runtime/StringObject.cpp:
        (JSC::StringObject::getOwnPropertyNames):
        * runtime/StringObject.h:
        * runtime/Structure.cpp: Rename getEnumerablePropertyNames() to getPropertyNames(), which takes an extra argument.
        (JSC::Structure::getPropertyNames):
        * runtime/Structure.h:
        (JSC::):
2010-01-12  Kent Hansen  <kent.hansen@nokia.com>

        Reviewed by Geoffrey Garen.

        [ES5] Implement Object.getOwnPropertyNames
        https://bugs.webkit.org/show_bug.cgi?id=32242

        Add new argument to the reimplementation of getOwnPropertyNames().

        * UserObjectImp.cpp:
        (UserObjectImp::getOwnPropertyNames):
        * UserObjectImp.h:
2010-01-12  Kent Hansen  <kent.hansen@nokia.com>

        Reviewed by Geoffrey Garen.

        [ES5] Implement Object.getOwnPropertyNames
        https://bugs.webkit.org/show_bug.cgi?id=32242

        Add tests for Object.getOwnPropertyNames(o), both standard usage and cross origin.

        * fast/js/Object-getOwnPropertyNames-expected.txt: Added.
        * fast/js/Object-getOwnPropertyNames.html: Added.
        * fast/js/script-tests/Object-getOwnPropertyNames.js: Added.
        * http/tests/security/cross-frame-access-enumeration-expected.txt:
        * http/tests/security/cross-frame-access-enumeration.html:
2010-01-12  Kent Hansen  <kent.hansen@nokia.com>

        Reviewed by Geoffrey Garen.

        [ES5] Implement Object.getOwnPropertyNames
        https://bugs.webkit.org/show_bug.cgi?id=32242

        Add new argument to reimplementations of getPropertyNames()
        and getOwnPropertyNames(), and update the JS bindings generator.

        Test: fast/js/Object-getOwnPropertyNames.html

        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::JSDOMWindow::getPropertyNames):
        (WebCore::JSDOMWindow::getOwnPropertyNames):
        * bindings/js/JSDOMWindowShell.cpp:
        (WebCore::JSDOMWindowShell::getPropertyNames):
        (WebCore::JSDOMWindowShell::getOwnPropertyNames):
        * bindings/js/JSDOMWindowShell.h:
        * bindings/js/JSHistoryCustom.cpp:
        (WebCore::JSHistory::getOwnPropertyNames):
        * bindings/js/JSLocationCustom.cpp:
        (WebCore::JSLocation::getOwnPropertyNames):
        * bindings/js/JSQuarantinedObjectWrapper.cpp:
        (WebCore::JSQuarantinedObjectWrapper::getPropertyNames):
        (WebCore::JSQuarantinedObjectWrapper::getOwnPropertyNames):
        * bindings/js/JSQuarantinedObjectWrapper.h:
        * bindings/js/JSStorageCustom.cpp:
        (WebCore::JSStorage::getOwnPropertyNames):
        * bindings/scripts/CodeGeneratorJS.pm:
        * bridge/runtime_array.cpp:
        (JSC::RuntimeArray::getOwnPropertyNames):
        * bridge/runtime_array.h:
        * bridge/runtime_object.cpp:
        (JSC::RuntimeObjectImp::getPropertyNames):
        (JSC::RuntimeObjectImp::getOwnPropertyNames):
        * bridge/runtime_object.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53170 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoAdd correct expected results after r53168 for GTK and Qt.
bweinstein@apple.com [Wed, 13 Jan 2010 00:16:35 +0000 (00:16 +0000)]
Add correct expected results after r53168 for GTK and Qt.

* platform/gtk/fast/block: Added.
* platform/gtk/fast/block/positioning: Added.
* platform/gtk/fast/block/positioning/absolute-positioning-no-scrollbar-expected.txt: Added.
* platform/qt/fast/block/positioning/absolute-positioning-no-scrollbar-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53169 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoSafari shows an unneeded horizontal scrollbar on many websites.
bweinstein@apple.com [Tue, 12 Jan 2010 23:39:16 +0000 (23:39 +0000)]
Safari shows an unneeded horizontal scrollbar on many websites.
Fixes <rdar://6321041> and <http://webkit.org/b/33555>.

Reviewed by Dave Hyatt.

WebCore:

If a div has no children, and its height or width are 0, we can ignore
it in our calculation of lowest, rightmost, and leftmost positions. This
calculation was causing horizontal scrollbars to be drawn when they weren't needed.

Test: fast/block/positioning/absolute-positioning-no-scrollbar.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::lowestPosition): Added check for no children and width or height 0.
(WebCore::RenderBlock::rightmostPosition): Ditto.
(WebCore::RenderBlock::leftmostPosition): Ditto.

LayoutTests:

Added a test that shows no scrollbar in the case where a div has no children
and either a width or height of 0. Also updated results for a few tests which
this patch causes progressions for.

* fast/block/positioning/absolute-positioning-no-scrollbar-expected.txt: Added.
* fast/block/positioning/absolute-positioning-no-scrollbar.html: Added.
* fast/block/positioning/fixed-positioning-scrollbar-bug.html:
* platform/mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.txt:
* platform/mac/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53168 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Alexander Pavlov <apavlov@chromium.org>
eric@webkit.org [Tue, 12 Jan 2010 23:34:20 +0000 (23:34 +0000)]
2010-01-12  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Timothy Hatcher.

        Optimize WebInspector.TimelineGrid.prototype.updateDividers()

        DOM element property access and modification are slow and should be done as lazily as possible.
        https://bugs.webkit.org/show_bug.cgi?id=33536

        * inspector/front-end/TimelineGrid.js:
        (WebInspector.TimelineGrid.prototype.updateDividers):
        (WebInspector.TimelineGrid.prototype._setDividerAndBarLeft):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53167 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=33550 REGRESSION: -
bdakin@apple.com [Tue, 12 Jan 2010 23:10:22 +0000 (23:10 +0000)]
WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=33550 REGRESSION: -
webkit-svg-shadow with opacity still over-clipped

Reviewed by Sam Weinig.

We need to call inflateForShadow() on the repaintRect before we
clip for opacity or we will over-clip.
* rendering/SVGRenderSupport.cpp:
(WebCore::SVGRenderBase::prepareToRenderSVGContent):

LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=33550 REGRESSION:
-webkit-svg-shadow with opacity still over-clipped

Reviewed by Sam Weinig.

* platform/mac/svg/css/shadow-and-opacity-expected.checksum: Added.
* platform/mac/svg/css/shadow-and-opacity-expected.png: Added.
* platform/mac/svg/css/shadow-and-opacity-expected.txt: Added.
* svg/css/shadow-and-opacity.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53166 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Update all-in-one derived sources for Geolocation.
sfalken@apple.com [Tue, 12 Jan 2010 22:48:20 +0000 (22:48 +0000)]
WebCore: Update all-in-one derived sources for Geolocation.

Reviewed by Sam Weinig.

* DerivedSources.cpp: Add JSCoordinates.cpp, JSGeolocation.cpp, JSGeoposition.cpp, JSPositionError.cpp

WebKit/win: Add Geolocation interfaces in WebKit for Windows.

Reviewed by Adam Roben, Sam Weinig.

* ForEachCoClass.h: Added WebGeolocationPosition.
* Interfaces/IWebError.idl:
* Interfaces/IWebGeolocationPosition.idl: Added.
* Interfaces/IWebGeolocationProvider.idl: Added.
* Interfaces/IWebViewPrivate.idl:
* Interfaces/WebKit.idl:
* WebCoreSupport/WebGeolocationControllerClient.cpp: Added.
(WebGeolocationControllerClient::WebGeolocationControllerClient):
(WebGeolocationControllerClient::startUpdating):
(WebGeolocationControllerClient::stopUpdating):
(WebGeolocationControllerClient::lastPosition):
* WebCoreSupport/WebGeolocationControllerClient.h: Added.
* WebGeolocationPosition.cpp: Added IWebGeolocationPosition implementation.
* WebGeolocationPosition.h: Added IWebGeolocationPosition implementation.
* WebKit.vcproj/Interfaces.vcproj: Added IWebGeolocationPosition.idl, IWebGeolocationProvider.idl,
relocated JavaScriptCoreAPITypes.idl, WebScrollbarTypes.idl
* WebKit.vcproj/WebKit.vcproj: Added WebGeolocationPosition.h/.cpp, WebGeolocationControllerClient.h/cpp,
* WebKitClassFactory.cpp: Add WebGeolocationPosition include.
* WebView.cpp:
(WebView::initWithFrame): Create WebGeolocationControllerClient if Geolocation is enabled.
(WebView::setGeolocationProvider): Added Geolocation-specific method.
(WebView::geolocationProvider): Added Geolocation-specific method.
(WebView::geolocationDidChangePosition): Added Geolocation-specific method.
(WebView::geolocationDidFailWithError): Added Geolocation-specific method.
* WebView.h: Added setGeolocationProvider, geolocationProvider, geolocationDidChangePosition, geolocationDidFailWithError.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53165 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 12 Jan 2010 22:12:28 +0000 (22:12 +0000)]
2010-01-12  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        Remove static const ints from V8CustomBinding.h

        https://bugs.webkit.org/show_bug.cgi?id=33547

        * bindings/scripts/CodeGeneratorV8.pm: Generate and use custom
            internal field indices from lists of custom internal fields.
        * bindings/v8/NPV8Object.cpp:
        * bindings/v8/NPV8Object.h:
        * bindings/v8/V8Binding.cpp:
        * bindings/v8/V8DOMWindowShell.cpp:
        * bindings/v8/V8DOMWindowShell.h:
        * bindings/v8/V8DOMWrapper.cpp: Remove a bunch of now unnecessary
            manually calls to setInternalFieldCount().
        * bindings/v8/V8DOMWrapper.h:
        * bindings/v8/V8Index.h:
        * bindings/v8/V8IsolatedContext.cpp:
        * bindings/v8/V8IsolatedContext.h:
        * bindings/v8/V8NPObject.cpp:
        * bindings/v8/custom/V8AbstractWorkerCustom.cpp:
        * bindings/v8/custom/V8CustomBinding.h: Remove the static const ints.
        * bindings/v8/custom/V8DOMApplicationCacheCustom.cpp:
        * bindings/v8/custom/V8DOMWindowCustom.cpp:
        * bindings/v8/custom/V8DocumentCustom.cpp:
        * bindings/v8/custom/V8HTMLAudioElementConstructor.cpp:
        * bindings/v8/custom/V8HTMLDocumentCustom.cpp:
        * bindings/v8/custom/V8HTMLImageElementConstructor.cpp:
        * bindings/v8/custom/V8HTMLOptionElementConstructor.cpp:
        * bindings/v8/custom/V8MessageChannelConstructor.cpp:
        * bindings/v8/custom/V8MessagePortCustom.cpp:
        * bindings/v8/custom/V8NodeCustom.cpp:
        * bindings/v8/custom/V8NotificationCenterCustom.cpp:
        * bindings/v8/custom/V8SVGElementInstanceCustom.cpp:
        * bindings/v8/custom/V8WebSocketCustom.cpp:
        * bindings/v8/custom/V8WorkerContextCustom.cpp:
        * bindings/v8/custom/V8XMLHttpRequestCustom.cpp:
        * bindings/v8/custom/V8XMLHttpRequestUploadCustom.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53164 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoMSAA: Accessibility role of <select multiple> elements is wrong
jhoneycutt@apple.com [Tue, 12 Jan 2010 22:07:21 +0000 (22:07 +0000)]
MSAA: Accessibility role of <select multiple> elements is wrong

https://bugs.webkit.org/show_bug.cgi?id=33522

Reviewed by Darin Adler.

WebKit/win:

* AccessibleBase.cpp:
(MSAARole):
Map the WebCore::ListBox and WebCore::ListBoxOption roles to the MSAA
"list" and "list item" roles.

LayoutTests:

* platform/win/accessibility/multiple-select-element-role-expected.txt: Added.
* platform/win/accessibility/multiple-select-element-role.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53163 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 12 Jan 2010 21:59:03 +0000 (21:59 +0000)]
2010-01-12  Darin Fisher  <darin@chromium.org>

        Fixing chromium build bustage.

        * bindings/v8/custom/V8PopStateEventCustom.cpp: Add V8Proxy.h include.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53162 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 12 Jan 2010 21:28:07 +0000 (21:28 +0000)]
2010-01-12  Darin Fisher  <darin@chromium.org>

        Reviewed by Dimitri Glazkov.

        Add V8 bindings for PopStateEvent.
        https://bugs.webkit.org/show_bug.cgi?id=33546

        This is covered by existing tests for PopStateEvent.

        * WebCore.gypi:
        * bindings/v8/DOMObjectsInclude.h:
        * bindings/v8/DerivedSourcesAllInOne.cpp:
        * bindings/v8/V8DOMWrapper.cpp:
        (WebCore::V8DOMWrapper::convertEventToV8Object):
        * bindings/v8/V8Index.cpp:
        * bindings/v8/V8Index.h:
        * bindings/v8/custom/V8PopStateEventCustom.cpp: Added.
        (WebCore::V8PopStateEvent::initPopStateEventCallback):
        (WebCore::V8PopStateEvent::stateAccessorGetter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53161 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Kelly Norton <knorton@google.com>
knorton@google.com [Tue, 12 Jan 2010 21:25:53 +0000 (21:25 +0000)]
2010-01-12  Kelly Norton  <knorton@google.com>

        Reviewed by Timothy Hatcher.

        Adds source length to ParseHTMLRecords in the inspector timeline.
        https://bugs.webkit.org/show_bug.cgi?id=33548

        Test: inspector/timeline-parse-html.html

        * html/HTMLTokenizer.cpp:
        (WebCore::HTMLTokenizer::write):
        * inspector/InspectorTimelineAgent.cpp:
        (WebCore::InspectorTimelineAgent::willWriteHTML):
        * inspector/InspectorTimelineAgent.h:
        * inspector/TimelineRecordFactory.cpp:
        (WebCore::TimelineRecordFactory::createParseHTMLRecord):
        * inspector/TimelineRecordFactory.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53160 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Jungshik Shin <jshin@chromium.org>
eric@webkit.org [Tue, 12 Jan 2010 21:15:28 +0000 (21:15 +0000)]
2010-01-12  Jungshik Shin  <jshin@chromium.org>

        Reviewed by Darin Adler

        https://bugs.webkit.org/show_bug.cgi?id=31597

        Make ICU's text breakiterator and string search use Chrome's UI
        language instead of 'en-US' or the OS UI language.

        As long as the webkit layout tests are run in en-US locale, there'd be
        no visible change.

        * platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp:
        (UILanguage):
        (WebCore::currentSearchLocaleID):
        (WebCore::currentTextBreakLocaleID):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53159 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoUpdated results for these tests which just have rounding errors.
bdakin@apple.com [Tue, 12 Jan 2010 21:05:20 +0000 (21:05 +0000)]
Updated results for these tests which just have rounding errors.

Reviewed by Nikolas Zimmermann.

* platform/mac/svg/css/composite-shadow-example-expected.checksum:
* platform/mac/svg/css/composite-shadow-example-expected.png:
* platform/mac/svg/css/mask-with-shadow-expected.checksum:
* platform/mac/svg/css/mask-with-shadow-expected.png:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53158 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Rubber-stamped by Dave Hyatt.
bdakin@apple.com [Tue, 12 Jan 2010 20:54:30 +0000 (20:54 +0000)]
WebCore: Rubber-stamped by Dave Hyatt.

This patch changes the name of -webkit-shadow to -webkit-svg-shadow
to avoid giving a custom property an overly-general name.
<rdar://problem/7534590>

* css/CSSComputedStyleDeclaration.cpp:
(WebCore::):
* css/CSSParser.cpp:
(WebCore::CSSParser::parseShadow):
* css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue):
* css/SVGCSSParser.cpp:
(WebCore::CSSParser::parseSVGValue):
* css/SVGCSSPropertyNames.in:
* css/SVGCSSStyleSelector.cpp:
(WebCore::CSSStyleSelector::applySVGProperty):

LayoutTests: This patch changes the name of -webkit-shadow to -webkit-svg-shadow
to avoid giving a custom property an overly-general name.
<rdar://problem/7534590>

* fast/repaint/moving-shadow-on-container.html:
* fast/repaint/moving-shadow-on-path.html:
* platform/gtk/svg/css/getComputedStyle-basic-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/mac/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* platform/win/fast/css/getComputedStyle/computed-style-expected.txt:
* platform/win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt:
* svg/css/arrow-with-shadow.svg:
* svg/css/circle-in-mask-with-shadow.svg:
* svg/css/clippath-with-shadow.svg:
* svg/css/composite-shadow-example.html:
* svg/css/composite-shadow-with-opacity.html:
* svg/css/getComputedStyle-basic-expected.txt:
* svg/css/group-with-shadow.svg:
* svg/css/mask-with-shadow.svg:
* svg/css/path-with-shadow.svg:
* svg/css/shadow-with-large-radius.svg:
* svg/css/shadow-with-negative-offset.svg:
* svg/css/stars-with-shadow.html:
* svg/filters/shadow-on-filter.svg:
* svg/filters/shadow-on-rect-with-filter.svg:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53157 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoNot reviewed, build fix.
pkasting@chromium.org [Tue, 12 Jan 2010 20:49:56 +0000 (20:49 +0000)]
Not reviewed, build fix.

* WebCore.vcproj/WebCore.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53156 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 12 Jan 2010 20:44:11 +0000 (20:44 +0000)]
2010-01-12  Nate Chapin  <japhet@chromium.org>

        Reviewed by Dimitri Glazkov.

        Add a null check in case of an event handler with invalid syntax.

        Should make fast/js/invalid-syntax--for-function.html not crash in
        Chromium's test shell.

        * bindings/v8/V8LazyEventListener.cpp:
        (WebCore::V8LazyEventListener::callListenerFunction): Check the listener object before using it.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53155 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoExtend WinLauncher example with better printing features.
bfulgham@webkit.org [Tue, 12 Jan 2010 20:32:11 +0000 (20:32 +0000)]
Extend WinLauncher example with better printing features.

Reviewed by Darin Adler.

* WinLauncher/PrintWebUIDelegate.cpp:
(PrintWebUIDelegate::webViewPrintingMarginRect): Provide slightly
 larger margins.
(PrintWebUIDelegate::webViewHeaderHeight): Compute header height based
 on text metrics.
(PrintWebUIDelegate::webViewFooterHeight): Compute footer height based
 on text metrics.
(PrintWebUIDelegate::drawHeaderInRect): Write useful header, along
 with separating line.
(PrintWebUIDelegate::drawFooterInRect):
* WinLauncher/PrintWebUIDelegate.h: Remove stubs.
* WinLauncher/WinLauncher.cpp:
(PrintView): Correct loop used to print individual pages.
 Previously it started at 0, which is a wild-card to print all
 pages at once.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53154 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Tue, 12 Jan 2010 19:59:33 +0000 (19:59 +0000)]
2010-01-12  Eric Carlson  <eric.carlson@apple.com>

        Unreviewed, build fix.

        Add media/video-poster-scale.html to GTK skipped list, it needs platform specific
        results (https://bugs.webkit.org/show_bug.cgi?id=33541). Fix test results on
        OSX and Windows.

        * media/video-poster-scale-expected.txt:
        * media/video-poster-scale.html:
        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53153 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoRemove XBM support from the open-source image decoders.
pkasting@chromium.org [Tue, 12 Jan 2010 19:52:37 +0000 (19:52 +0000)]
Remove XBM support from the open-source image decoders.
https://bugs.webkit.org/show_bug.cgi?id=27823

Reviewed by Dimitri Glazkov.

* GNUmakefile.am:
* WebCore.gypi:
* WebCore.vcproj/WebCore.vcproj:
* WebCoreSources.bkl:
* platform/image-decoders/ImageDecoder.cpp:
(WebCore::ImageDecoder::create):
* platform/image-decoders/xbm: Removed.
* platform/image-decoders/xbm/XBMImageDecoder.cpp: Removed.
* platform/image-decoders/xbm/XBMImageDecoder.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53152 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Darin Adler.
ap@apple.com [Tue, 12 Jan 2010 19:42:07 +0000 (19:42 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=33540
        Make it possible to build in debug mode with assertions disabled

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53151 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Tue, 12 Jan 2010 19:41:29 +0000 (19:41 +0000)]
2010-01-12  Eric Carlson  <eric.carlson@apple.com>

        Unreviewed, build fix.

        Update test and results after r53146.

        * http/tests/security/local-video-poster-from-remote-expected.txt:
        * http/tests/security/local-video-poster-from-remote.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53150 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Tue, 12 Jan 2010 19:33:28 +0000 (19:33 +0000)]
2010-01-12  Philippe Normand  <pnormand@igalia.com>

        Rubber-stamped by Gustavo Noronha Silva.

        [GTK] Failing media/video-seek-past-end-playing.html
        https://bugs.webkit.org/show_bug.cgi?id=33015

        * platform/gtk/Skipped: Skipping the test again, we need to kill
        its last timer.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53149 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2009-11-23 Yong Li <yoli@rim.com>
yong.li@torchmobile.com [Tue, 12 Jan 2010 18:50:07 +0000 (18:50 +0000)]
2009-11-23  Yong Li  <yoli@rim.com>

        Reviewed by Adam Treat.

        Make GIF decoder support down-sampling
        https://bugs.webkit.org/show_bug.cgi?id=31806

        * platform/image-decoders/ImageDecoder.cpp:
        (WebCore::ImageDecoder::upperBoundScaledY):
        (WebCore::ImageDecoder::lowerBoundScaledY):
        * platform/image-decoders/ImageDecoder.h:
        (WebCore::RGBA32Buffer::scaledRect):
        (WebCore::RGBA32Buffer::setScaledRect):
        (WebCore::ImageDecoder::scaledSize):
        * platform/image-decoders/gif/GIFImageDecoder.cpp:
        (WebCore::GIFImageDecoder::sizeNowAvailable):
        (WebCore::GIFImageDecoder::initFrameBuffer):
        (WebCore::copyOnePixel):
        (WebCore::GIFImageDecoder::haveDecodedRow):
        (WebCore::GIFImageDecoder::frameComplete):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53148 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Eric Carlson.
philn@webkit.org [Tue, 12 Jan 2010 18:33:09 +0000 (18:33 +0000)]
    Reviewed by Eric Carlson.

        [GTK] Failing media/video-seek-past-end-playing.html
        https://bugs.webkit.org/show_bug.cgi?id=33015

        Listen on timeupdate event instead of waiting a fixed amount of
        time, which is prone to test flackyness.

        * media/audio-mpeg-supported.html:
        * media/video-seek-past-end-playing.html:
        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53147 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Tue, 12 Jan 2010 18:23:36 +0000 (18:23 +0000)]
2010-01-12  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Darin Adler and Simon Fraser.

        rdar://problem/5684062
        https://bugs.webkit.org/show_bug.cgi?id=23094
        Flash of white when switching from poster image to video playback

        https://bugs.webkit.org/show_bug.cgi?id=23140
        <video> poster should scale like a video frame

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::setReadyState): Only call updatePosterImage from one place

        * html/HTMLVideoElement.cpp:
        (WebCore::HTMLVideoElement::HTMLVideoElement): m_shouldShowPosterImage -> m_shouldDisplayPoster.
        (WebCore::HTMLVideoElement::createRenderer): Always create a RenderVideo.
        (WebCore::HTMLVideoElement::attach): Call updatePosterImage before checking to see if we
            should display the poster image. renderer() is never a RenderImage, don't need to check.
            m_shouldShowPosterImage -> m_shouldDisplayPoster.
        (WebCore::HTMLVideoElement::detach): m_shouldShowPosterImage -> m_shouldDisplayPoster.
        (WebCore::HTMLVideoElement::parseMappedAttribute): Cache poster attribute when it is set since
            it is checked frequently. m_shouldShowPosterImage -> m_shouldDisplayPoster.
        (WebCore::HTMLVideoElement::updatePosterImage): Don't bother looking at the network state,
            display the poster as long as the attribute is valid and the media engine says it hasn't
            rendered a video frame. m_shouldShowPosterImage -> m_shouldDisplayPoster.
        (WebCore::HTMLVideoElement::hasAvailableVideoFrame): New, ask the media engine if a video frame
            is available to render.
        * html/HTMLVideoElement.h:
        (WebCore::HTMLVideoElement::poster):
        (WebCore::HTMLVideoElement::shouldDisplayPoster):

        * loader/ImageLoader.cpp:
        (WebCore::ImageLoader::updateRenderer): Call setCachedImage for render video too.

        * manual-tests/video-player.html: Remove bit-rot from manual test so it works again.

        * platform/graphics/MediaPlayer.cpp:
        (WebCore::MediaPlayer::hasAvailableVideoFrame): New, ask the media engine if a video frame
            is available to render.

        * platform/graphics/MediaPlayer.h: Prototype for hasAvailableVideoFrame.
        * platform/graphics/MediaPlayerPrivate.h: Ditto.

        * platform/graphics/mac/MediaPlayerPrivateQTKit.h: Declare hasAvailableVideoFrame, declare
            all bool variables to aid packing.
        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): Initialize m_videoFrameHasDrawn. Cleanup
            floating point initializers to match coding guidelines.
        (WebCore::MediaPlayerPrivate::load): Initialize m_videoFrameHasDrawn.
        (WebCore::MediaPlayerPrivate::hasAvailableVideoFrame): New.
        (WebCore::MediaPlayerPrivate::repaint): Set m_videoFrameHasDrawn.

        (WebCore::RenderImage::paintReplaced): Split part out into paint method.
        (WebCore::RenderImage::paint): New.
        * rendering/RenderImage.h: Declare paint. Make isWidthSpecified and isHeightSpecified protected
            instead of private so RenderVideo can use them.

        * rendering/RenderMedia.cpp:
        (WebCore::RenderMedia::RenderMedia): Inherit from RenderImage, not RenderReplaced
        (WebCore::RenderMedia::destroy): Ditto.
        (WebCore::RenderMedia::styleDidChange): Ditto.
        (WebCore::RenderMedia::layout): Ditto.
        (WebCore::RenderMedia::lowestPosition): Ditto.
        (WebCore::RenderMedia::rightmostPosition): Ditto.
        (WebCore::RenderMedia::leftmostPosition): Ditto.
        * rendering/RenderMedia.h: Declare isImage and isRenderImage.

        * rendering/RenderVideo.cpp:
        (WebCore::RenderVideo::intrinsicSizeChanged): New, call RenderVideo::intrinsicSizeChanged
            when displaying a poster so it is sized correctly.
        (WebCore::RenderVideo::imageChanged): Override so we can cache the image's intrisic size and
        use it when we also know the movie's intrinsic size but still need to draw the poster.
        (WebCore::RenderVideo::videoBox): Use the poster's intrinsic size when drawing the poster,
        use the movie's intrinsic size when drawing frames.
        (WebCore::RenderVideo::paintReplaced): Call RenderImage::paint when drawing the poster.
        (WebCore::RenderVideo::videoElement): New.
        (WebCore::RenderVideo::updatePlayer):
        * rendering/RenderVideo.h:
        (WebCore::RenderVideo::minimumReplacedHeight): Added.

2010-01-12  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Darin Adler and Simon Fraser.

        rdar://problem/5684062
        https://bugs.webkit.org/show_bug.cgi?id=23094
        Flash of white when switching from poster image to video playback

        https://bugs.webkit.org/show_bug.cgi?id=23140
        <video> poster should scale like a video frame

        * media/video-poster-expected.txt: Remove blank line at beginning of test result present
        as a side effect of the media element using RenderImage to display the poster.
        * media/video-poster-scale.html: New.
        * media/video-poster-scale-expected.txt: New.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53146 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 12 Jan 2010 18:11:12 +0000 (18:11 +0000)]
2010-01-11  Darin Fisher  <darin@chromium.org>

        Reviewed by Dimitri Glazkov.

        [Chromium] "build-webkit --chromium" should run "make all" on Linux
        https://bugs.webkit.org/show_bug.cgi?id=33500

        * Scripts/webkitdirs.pm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53145 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Darin Fisher <darin@chromium.org>
darin@chromium.org [Tue, 12 Jan 2010 18:10:22 +0000 (18:10 +0000)]
2010-01-11  Darin Fisher  <darin@chromium.org>

        Reviewed by Dimitri Glazkov.

        [Chromium] Re-work webkit_unit_tests so that WebKit is initialized only once
        https://bugs.webkit.org/show_bug.cgi?id=33504

        * WebKit.gyp:
        * tests/KURLTest.cpp:
        (ComponentCase::TEST):
        * tests/RunAllTests.cpp: Added.
        (main):
        * tests/WebKitTest.h: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53144 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Tony Chang <tony@chromium.org>
eric@webkit.org [Tue, 12 Jan 2010 18:10:14 +0000 (18:10 +0000)]
2010-01-12  Tony Chang  <tony@chromium.org>

        Reviewed by Maciej Stachowiak.

        Add a test for a Chromium crash when loading multipart/x-mixed-replace
        data.

        https://bugs.webkit.org/show_bug.cgi?id=31446

        * http/tests/multipart/multipart-wait-before-boundary-expected.txt: Added.
        * http/tests/multipart/multipart-wait-before-boundary.html: Added.
        * http/tests/multipart/resources/multipart-wait-before-boundary.php: Added.
2010-01-12  Tony Chang  <tony@chromium.org>

        Reviewed by Maciej Stachowiak.

        Fix a crash in Chromium when receiving multipart/x-mixed-replace data.
        If we stop a multipart load after ResourceLoader::didReceiveResponse
        but before ResourceLoader::didReceiveData, we have a NULL document
        loader because it has been moved back to the provisional state.  New
        loads that happen after this will dereference the NULL document
        loader.

        Work around this by moving the provisional document loader back as
        the document loader when the request is stopped.

        https://bugs.webkit.org/show_bug.cgi?id=31446

        Test: http/tests/multipart/multipart-wait-before-boundary.html

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::checkLoadCompleteForThisFrame):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53143 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebKit returns incorrect match count when first string match is on an element with...
enrica@apple.com [Tue, 12 Jan 2010 17:15:36 +0000 (17:15 +0000)]
WebKit returns incorrect match count when first string match is on an element with user-select-none style
https://bugs.webkit.org/show_bug.cgi?id=33508
<rdar://problem/7482143>

Reviewed by Darin Adler.

If we use VisiblePosition to calculate the start of the new search range,
we skip all the nodes with user-select-none style, producing an incorrect
match count.

No new tests: there are no API's available to Javascript to verify the
number of matches found.

* page/Frame.cpp:
(WebCore::Frame::markAllMatchesForText): Changed to use the end of the previous
result range as the start of the new search range.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53142 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Mikhail Naganov <mnaganov@chromium.org>
eric@webkit.org [Tue, 12 Jan 2010 17:03:26 +0000 (17:03 +0000)]
2010-01-12  Mikhail Naganov  <mnaganov@chromium.org>

        Reviewed by Timothy Hatcher.

        Changed ".sidebar" style to allow v-scroll to appear in
        "Profiles" panel sidebar.

        https://bugs.webkit.org/show_bug.cgi?id=33470

        No new tests -- no code changed.

        * inspector/front-end/inspector.css:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53141 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Petri Latvala <petri.latvala@nomovok.com>
eric@webkit.org [Tue, 12 Jan 2010 14:37:19 +0000 (14:37 +0000)]
2010-01-12  Petri Latvala  <petri.latvala@nomovok.com>

        Reviewed by Antti Koivisto.

        fast/events/touch-coords-in-zoom-and-scroll-pretty-diff.html failed on buildbot
        https://bugs.webkit.org/show_bug.cgi?id=33465

        A touchmove event is not dispatched if none of the touch points actually moved.
        Changed the test to use touchstart instead.

        * fast/events/touch/touch-coords-in-zoom-and-scroll.html:
        * platform/qt/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53140 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWindows accelerated compositing build fix after r53110
aroben@apple.com [Tue, 12 Jan 2010 13:55:31 +0000 (13:55 +0000)]
Windows accelerated compositing build fix after r53110

* plugins/PluginWidget.h:
(WebCore::PluginWidget::platformLayer): Define platformLayer() for
non-Mac platforms that have accelerated compositing turned on. It
would probably be better to make PluginWidget not be used at all on
non-Mac platforms, but this fix is much simpler.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53139 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Xan Lopez.
kov@webkit.org [Tue, 12 Jan 2010 13:48:08 +0000 (13:48 +0000)]
    Reviewed by Xan Lopez.

        [GTK] couple fixes for signal emissions, and property notifications
        https://bugs.webkit.org/show_bug.cgi?id=33428

        Fix commitedLoad being called where it should not, causing it to
        be called one time too many in some cases. We now match Qt's and
        Mac's behavior here.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::finishedLoading):
        * tests/testloading.c:
        (load_error_status_changed_cb):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53138 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 12 Jan 2010 13:05:55 +0000 (13:05 +0000)]
2010-01-12  Eric Seidel  <eric@webkit.org>

        Reviewed by Gustavo Noronha Silva.

        [GTK] Threading problems with some of the tests
        https://bugs.webkit.org/show_bug.cgi?id=30814

        Skip another test which is hitting the SQLiteDatabase::sqliteHandle() threading ASSERT.

        * platform/gtk/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53137 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoTouch event layout tests should be in their own subdirectory, so that they can be...
ossy@webkit.org [Tue, 12 Jan 2010 12:45:57 +0000 (12:45 +0000)]
Touch event layout tests should be in their own subdirectory, so that they can be easily skipped
https://bugs.webkit.org/show_bug.cgi?id=33526

Reviewed by Simon Hausmann.

Tests moved from fast/events to fast/events/touch by r53125,
relative resource paths should be adjuted to the new location.

* fast/events/touch/basic-touch-events.html: relative paths fixed.
* fast/events/touch/touch-coords-in-zoom-and-scroll.html: relative paths fixed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53136 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 12 Jan 2010 12:41:42 +0000 (12:41 +0000)]
2010-01-12  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Support injection of inspector scripts into the inspected context.

        https://bugs.webkit.org/show_bug.cgi?id=33523

        * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
        (WebCore::WeakReferenceCallback):
        (WebCore::createInjectedScriptHostV8Wrapper):
        (WebCore::createInjectedScript):
        (WebCore::InjectedScriptHost::injectedScriptFor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53135 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 12 Jan 2010 12:31:44 +0000 (12:31 +0000)]
2010-01-12  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        AssignToCommitter does not need to fetch bugs twice
        https://bugs.webkit.org/show_bug.cgi?id=33530

        This is a no-brainer patch now that we've added Bug.reviewed_patches

        * Scripts/webkitpy/commands/upload.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53134 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 12 Jan 2010 12:03:21 +0000 (12:03 +0000)]
2010-01-12  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        bugzilla.py should have an Attachment object instead of passing around dictionaries
        https://bugs.webkit.org/show_bug.cgi?id=31594

        * Scripts/webkitpy/bugzilla.py:
         - Add a new Attachment class, with accessor methods for all the necessary properties.
         - Update Bug to carry a pointer back to bugzilla (attachments need to access Bugzilla for committer validation and url())
         - Move reviewed_patches and commit_queued_patches out of Bugzilla custom methods and onto Bug
         - Move committer validation logic into its own class.
         - Committer rejection is only used in one place.  Make the new Bug reviewed_patches and commit_queued_patches
           handle the common case (of returning "reviewer" or "committer" as None), and let CommitterValidation handle
           the case where we want to reject patches in bugzilla.
         - Simplify fetch_patches_from_commit_queue now that committer validation is simpler.
         - Make all self.bugzilla.fetch_bug access go through BugzillaQueries._fetch_bug.
         - Mark set_flag_on_attachment as non-private to denote that CommitterValidation depends on it.
         - Move fetch_reviewed_patches_from_bug and fetch_commit_queue_patches_from_bug logic onto the Bug class.
        * Scripts/webkitpy/bugzilla_unittest.py:
         - Move test_flag_permission_rejection_message into a new CommitterValidationTest class.
        * Scripts/webkitpy/commands/download.py:
         - Store "bug_id" in state instead of making a fake patch object.
         - Update to use Attachment and Bug objects.
        * Scripts/webkitpy/commands/download_unittest.py:
         - Update expected results now that our testing framework covers more code.
        * Scripts/webkitpy/commands/early_warning_system.py: Update to use new Attachment class.
        * Scripts/webkitpy/commands/queries.py: Remove unused ReviewedPatches class.
        * Scripts/webkitpy/commands/queries_unittest.py: ditto.
        * Scripts/webkitpy/commands/queues.py: Update to use new Attachment and CommitterValidator classes.
        * Scripts/webkitpy/commands/queuestest.py: ditto.
        * Scripts/webkitpy/commands/upload.py: ditto.
        * Scripts/webkitpy/mock_bugzillatool.py:
         - Now that more logic has moved into Attachment and Bug, we have to actually
           provide real reviewer emails as well as real reviewer flags.
         - Update mock methods to return Attachment objects.
        * Scripts/webkitpy/scm.py: Update to use Attachment class.
        * Scripts/webkitpy/scm_unittest.py: Update to use Attachment class.
        * Scripts/webkitpy/statusserver.py: ditto.
        * Scripts/webkitpy/steps/applypatch.py: ditto.
        * Scripts/webkitpy/steps/applypatchwithlocalcommit.py: ditto.
        * Scripts/webkitpy/steps/closebug.py: ditto.
        * Scripts/webkitpy/steps/closebugforlanddiff.py: Handle either state["bug_id"] or state["patch"].bug_id()
        * Scripts/webkitpy/steps/closepatch.py: Update to use Attachment class.
        * Scripts/webkitpy/steps/obsoletepatches.py: ditto.
        * Scripts/webkitpy/steps/updatechangelogswithreviewer.py: ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53133 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Ben Murdoch <benm@google.com>
eric@webkit.org [Tue, 12 Jan 2010 11:48:02 +0000 (11:48 +0000)]
2010-01-12  Ben Murdoch  <benm@google.com>

        Reviewed by Darin Adler.

        Form Reset : Press Back Button and Reset , TextareaElemnt is not set to Default Value
        https://bugs.webkit.org/show_bug.cgi?id=31539

        Added manual test: manual-tests/textarea-reset-default-value.html.

        * html/HTMLTextAreaElement.cpp:
        (WebCore::HTMLTextAreaElement::restoreFormControlState): set the value, rather than default value of a text area when restoring its state. This allows resetting a form with a textarea to work correctly after its state has been restored.
        * manual-tests/resources/textarea-form-back-on-submit.html: Added.
        * manual-tests/textarea-reset-default-value.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53132 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Simon Hausmann <simon.hausmann@nokia.com>
eric@webkit.org [Tue, 12 Jan 2010 11:28:18 +0000 (11:28 +0000)]
2010-01-12  Simon Hausmann  <simon.hausmann@nokia.com>

        Reviewed by Holger Freyther.

        [Qt] WebCore::Path allocates QPainterPath unnecessarily on the heap
        https://bugs.webkit.org/show_bug.cgi?id=33466

        WebCore::Path is a pointer to a PlatformPath. In case of Qt that's a
        QPainterPath, which itself is a pointer to the elements (QVector).
        That creates unecessary allocations in PathQt.cpp.

        Replaced the "PlatformPath* m_path;" with a PlatformPathPtr, which
        is a plain QPainterPath.

        * platform/graphics/Path.h:
        (WebCore::Path::platformPath):
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::drawFilledShadowPath):
        (WebCore::GraphicsContext::fillPath):
        (WebCore::GraphicsContext::fillRoundedRect):
        (WebCore::GraphicsContext::addPath):
        (WebCore::GraphicsContext::clip):
        (WebCore::GraphicsContext::clipOut):
        * platform/graphics/qt/PathQt.cpp:
        (WebCore::Path::~Path):
        (WebCore::Path::operator=):
        (WebCore::Path::contains):
        (WebCore::Path::strokeContains):
        (WebCore::Path::translate):
        (WebCore::Path::boundingRect):
        (WebCore::Path::strokeBoundingRect):
        (WebCore::Path::moveTo):
        (WebCore::Path::addLineTo):
        (WebCore::Path::addQuadCurveTo):
        (WebCore::Path::addBezierCurveTo):
        (WebCore::Path::addArcTo):
        (WebCore::Path::closeSubpath):
        (WebCore::Path::addArc):
        (WebCore::Path::addRect):
        (WebCore::Path::addEllipse):
        (WebCore::Path::clear):
        (WebCore::Path::isEmpty):
        (WebCore::Path::debugString):
        (WebCore::Path::apply):
        (WebCore::Path::transform):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53131 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 12 Jan 2010 11:21:43 +0000 (11:21 +0000)]
2010-01-12  Adam Barth  <abarth@webkit.org>

        Unreviewed typo fix.  :(

        * Scripts/webkitpy/commands/early_warning_system.py:
        * Scripts/webkitpy/commands/queues.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53130 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 12 Jan 2010 11:10:38 +0000 (11:10 +0000)]
2010-01-12  Adam Barth  <abarth@webkit.org>

        Unreviewed.  Add "error" to the right part of the message.

        * Scripts/webkitpy/commands/queues.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53129 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Eric Seidel <eric@webkit.org>
eric@webkit.org [Tue, 12 Jan 2010 11:06:14 +0000 (11:06 +0000)]
2010-01-12  Eric Seidel  <eric@webkit.org>

        Reviewed by Simon Fraser.

        media/video-error-does-not-exist.html failed on Snow Leopard Release Bot
        https://bugs.webkit.org/show_bug.cgi?id=33434

        Add another media test to the skipped list.
        I expect these are all timing out for the same reason.
        We just don't know the reason yet.

        * platform/mac-snowleopard/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53128 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Jakub Wieczorek <faw217@gmail.com>
abarth@webkit.org [Tue, 12 Jan 2010 10:42:06 +0000 (10:42 +0000)]
2010-01-12  Jakub Wieczorek  <faw217@gmail.com>

        Reviewed by Adam Barth.

        [Qt] XSL stylesheets can load documents from a different origin

        https://bugs.webkit.org/show_bug.cgi?id=33423

        Add two expected results for Qt:
        QXmlQuery has a different behaviour with regard to loading failures
        comparing to libxslt.

        * platform/qt/http/tests/security/xss-DENIED-xsl-document-expected.txt:
        * platform/qt/http/tests/security/xss-DENIED-xsl-document-redirect-expected.txt:
2010-01-12  Jakub Wieczorek  <faw217@gmail.com>

        Reviewed by Adam Barth.

        [Qt] XSL stylesheets can load documents from a different origin

        https://bugs.webkit.org/show_bug.cgi?id=33423

        * xml/XSLTProcessorQt.cpp:
        (WebCore::XSLTUriResolver::XSLTUriResolver):
        (WebCore::XSLTUriResolver::resolve):
        (WebCore::XSLTProcessor::transformToString):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53127 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 12 Jan 2010 10:17:31 +0000 (10:17 +0000)]
2010-01-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        EWS should show purple when svn-apply fails
        https://bugs.webkit.org/show_bug.cgi?id=33527

        * Scripts/webkitpy/commands/early_warning_system.py:
        * Scripts/webkitpy/commands/queues.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53126 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoTouch event layout tests should be in their own subdirectory, so that they can be...
hausmann@webkit.org [Tue, 12 Jan 2010 10:17:05 +0000 (10:17 +0000)]
Touch event layout tests should be in their own subdirectory, so that they can be easily skipped
https://bugs.webkit.org/show_bug.cgi?id=33526

Reviewed by Adam Barth.

* fast/events/touch/basic-touch-events-expected.txt: Renamed from LayoutTests/fast/events/basic-touch-events-expected.txt.
* fast/events/touch/basic-touch-events.html: Renamed from LayoutTests/fast/events/basic-touch-events.html.
* fast/events/touch/touch-coords-in-zoom-and-scroll-expected.txt: Renamed from LayoutTests/fast/events/touch-coords-in-zoom-and-scroll-expected.txt.
* fast/events/touch/touch-coords-in-zoom-and-scroll.html: Renamed from LayoutTests/fast/events/touch-coords-in-zoom-and-scroll.html.
* platform/gtk/Skipped:
* platform/mac/Skipped:
* platform/qt/Skipped:
* platform/win/Skipped:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53125 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Joanmarie Diggs <joanmarie.diggs@gmail.com>
eric@webkit.org [Tue, 12 Jan 2010 10:09:56 +0000 (10:09 +0000)]
2010-01-12  Joanmarie Diggs  <joanmarie.diggs@gmail.com>

        Reviewed by Gustavo Noronha Silva.

        https://bugs.webkit.org/show_bug.cgi?id=30883
        [Gtk] Implement AtkText for HTML elements which contain text

        Tweak/correction: Eliminate a needless variable.

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (webkit_accessible_text_get_caret_offset):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53124 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 12 Jan 2010 09:50:12 +0000 (09:50 +0000)]
2010-01-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Remove copy/paste code from subclasses of AbstractReviewQueue
        https://bugs.webkit.org/show_bug.cgi?id=33525

        * Scripts/webkitpy/commands/early_warning_system.py:
        * Scripts/webkitpy/commands/queues.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53123 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 12 Jan 2010 09:42:13 +0000 (09:42 +0000)]
2010-01-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add Gustavo and Xan as gtk-ews watchers
        https://bugs.webkit.org/show_bug.cgi?id=33519

        * Scripts/webkitpy/commands/early_warning_system.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53122 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 12 Jan 2010 09:41:36 +0000 (09:41 +0000)]
2010-01-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        webkit-patch shouldn't waste my time for with a component prompt
        https://bugs.webkit.org/show_bug.cgi?id=33521

        The component field isn't very useful for bugs created with
        webkit-patch because they're likely to be resolved quickly.  Instead of
        always prompting for a component, we should just default to the "New
        Bugs" component.  If the bug stays around for more than five minutes,
        we can assign it a proper component.

        * Scripts/webkitpy/bugzilla.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53121 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 12 Jan 2010 09:40:54 +0000 (09:40 +0000)]
2010-01-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Add experimental "land-safely" command to webkit-patch
        https://bugs.webkit.org/show_bug.cgi?id=33518

        * Scripts/webkitpy/commands/upload.py:
        * Scripts/webkitpy/commands/upload_unittest.py:
        * Scripts/webkitpy/steps/__init__.py:
        * Scripts/webkitpy/steps/postdiffforcommit.py: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53120 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 12 Jan 2010 08:18:48 +0000 (08:18 +0000)]
2010-01-12  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Geoffrey Garen.

        Allow creating injected script for the inspected script state. The InjectedScript is
        cached on the inspected ExecState global object and will be garbage collected when the
        object is collected. Each InjectedScript object is assigned unique id.

        https://bugs.webkit.org/show_bug.cgi?id=33469

        * bindings/js/JSDOMGlobalObject.cpp:
        (WebCore::JSDOMGlobalObject::markChildren):
        (WebCore::JSDOMGlobalObject::setInjectedScript):
        (WebCore::JSDOMGlobalObject::injectedScript):
        * bindings/js/JSDOMGlobalObject.h: InjectedScript is cached on the global object as a
        field that is not visible from the inspected code. This InjectedScript should be alive as long as
        the global object is alive and should be accessible from Web Inspector's native code.
        (WebCore::JSDOMGlobalObject::JSDOMGlobalObjectData::JSDOMGlobalObjectData):
        * bindings/js/JSInjectedScriptHostCustom.cpp:
        (WebCore::createInjectedScript): Creates injected script using the lexical global object of the
        inspected ScriptState. Reference to the object is stored on the global DOM object.
        (WebCore::InjectedScriptHost::injectedScriptFor):
        * inspector/InjectedScriptHost.cpp:
        (WebCore::InjectedScriptHost::InjectedScriptHost):
        (WebCore::InjectedScriptHost::injectedScriptForId):
        (WebCore::InjectedScriptHost::discardInjectedScripts): This method is expected to be called when the
        the InjectedScript are no longer needed. In particular, this should be called before frame navigation.
        * inspector/InjectedScriptHost.h:
        (WebCore::InjectedScriptHost::setInjectedScriptSource): This allows to provide injected script source.
        The source may be loaded in a platform specific way.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53119 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-12 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 12 Jan 2010 08:16:40 +0000 (08:16 +0000)]
2010-01-12  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        ecma/Date/15.9.5.12-1.js fails every night at midnight
        https://bugs.webkit.org/show_bug.cgi?id=28041

        Change the test to use a concrete time instead of "now".

        * tests/mozilla/ecma/Date/15.9.5.10-1.js:
        * tests/mozilla/ecma/Date/15.9.5.12-1.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53118 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoNot reviewed; updated for truth (and readability).
mjs@apple.com [Tue, 12 Jan 2010 07:25:51 +0000 (07:25 +0000)]
Not reviewed; updated for truth (and readability).

Fixed some wrong listings and reorganized this page.

* security/security-group-members.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53117 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Tue, 12 Jan 2010 06:46:49 +0000 (06:46 +0000)]
2010-01-11  Kent Tamura  <tkent@chromium.org>

        Unreviewd. Remove a duplicated line in an expectation file.

        * platform/mac-leopard/fast/text/find-kana-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53116 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoTry to get find-kana tests passing on Qt, Leopard, and Tiger.
darin@apple.com [Tue, 12 Jan 2010 05:53:28 +0000 (05:53 +0000)]
Try to get find-kana tests passing on Qt, Leopard, and Tiger.

* platform/mac-leopard/fast/text/find-kana-expected.txt: Expect more failures.
* platform/qt/fast/text/find-kana-expected.txt: Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53115 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix handling of unusual kana sequences in search
darin@apple.com [Tue, 12 Jan 2010 01:48:23 +0000 (01:48 +0000)]
Fix handling of unusual kana sequences in search
https://bugs.webkit.org/show_bug.cgi?id=33506

Reviewed by Dan Bernstein.

WebCore:

* editing/TextIterator.cpp:
(WebCore::composedVoicedSoundMark): Removed unnnecessary case for a
non-kana-letter character. This function only works for kana letters.
(WebCore::SearchBuffer::isBadMatch): Fixed voiced sound mark code to
properly handle cases where one character has a shorter list of
combining voiced sound marks than the other.

LayoutTests:

* fast/text/find-kana-expected.txt: Updated.
* fast/text/script-tests/find-kana.js: Added new tests for sequences
that do not have composed equivalents. This is needed to test the code
that compares voice marks. The old test cases didn't cover the combining
character code path because normalizing to NFC combined all the sequences.
* platform/mac-leopard/fast/text/find-kana-expected.txt: Updated.
* platform/qt/fast/text/find-kana-expected.txt: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53114 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Victor Wang <victorw@chromium.org>
eric@webkit.org [Tue, 12 Jan 2010 01:22:46 +0000 (01:22 +0000)]
2010-01-11  Victor Wang  <victorw@chromium.org>

        Reviewed by Dimitri Glazkov.

        Clear m_acceptedIndexOnAbandon flag when user accepts the selected index.

        https://bugs.webkit.org/show_bug.cgi?id=33499

        TEST: manual-tests/chromium/onchange-reload-popup.html
        It should be covered by the above test. The current
        test shell does not support sending keyboard events to popup
        list so use manual test for it.

        * platform/chromium/PopupMenuChromium.cpp:
        (WebCore::PopupListBox::acceptIndex):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53113 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago[wx] Build fix after introduction of JS_NO_EXPORT
kevino@webkit.org [Tue, 12 Jan 2010 00:55:28 +0000 (00:55 +0000)]
[wx] Build fix after introduction of JS_NO_EXPORT

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53112 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Gustavo Noronha Silva <gns@gnome.org>
kov@webkit.org [Tue, 12 Jan 2010 00:42:08 +0000 (00:42 +0000)]
2010-01-11  Gustavo Noronha Silva  <gns@gnome.org>

        Reviewed by Eric Seidel.

        [GTK] Debug bots crashing in plugins/iframe-shims.html
        https://bugs.webkit.org/show_bug.cgi?id=33472

        Call computeOffsetInContainerNode() instead of
        offsetInContainerNode(), since we are not sure this is always
        parent-anchored.

        plugins/iframe-shims.html no longer ASSERTS

        * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
        (objectAndOffsetUnignored):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53111 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 12 Jan 2010 00:15:06 +0000 (00:15 +0000)]
2010-01-11  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Kevin Decker.

        https://bugs.webkit.org/show_bug.cgi?id=33455
        Allows plugins to participate in accelerated compositing

        For plugins using the CoreAnimation rendering mode, host their CALayers in the
        accelerated compositing layer tree.

        This requires making normal flow RenderLayers for RenderEmbeddedObjects when they represent
        a plugin using this mode.

        * WebCore.base.exp: Export Node::setNeedsStyleRecalc() for use by WebKit.
        * WebCore.xcodeproj/project.pbxproj: Re-order files for sorting.

        * rendering/RenderEmbeddedObject.h:
        * rendering/RenderEmbeddedObject.cpp:
        (WebCore::RenderEmbeddedObject::requiresLayer): Make a layer if the plugin is using
        accelerated compositing mode.
        (WebCore::RenderEmbeddedObject::allowsAcceleratedCompositing): Asks whether the plugin has
        a layer, via PluginWidget.

        * rendering/RenderLayer.cpp:
        (WebCore::RenderLayer::shouldBeNormalFlowOnly):
        (WebCore::RenderLayer::isSelfPaintingLayer):
        RenderEmbeddedObjects should be normal flow layers, and self-painting layers.

        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::updateGraphicsLayerConfiguration):
        Parent the plugin's layer in the GraphicsLayer when updating the layer configuration.

        * rendering/RenderLayerCompositor.h:
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::requiresCompositingLayer):
        (WebCore::RenderLayerCompositor::requiresCompositingForPlugin):
        RenderEmbeddedObjects that allow accelerated compositing trip accelerated compositing mode
        for the page.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53110 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Andreas Kling <andreas.kling@nokia.com>
eric@webkit.org [Tue, 12 Jan 2010 00:09:55 +0000 (00:09 +0000)]
2010-01-11  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Darin Adler.

        Fixed an uninitialized PluginView member (m_mode) which wasn't
        set when constructed with a null PluginPackage*

        https://bugs.webkit.org/show_bug.cgi?id=33468

        * plugins/PluginView.cpp:
        (WebCore::PluginView::PluginView):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53109 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 William Siegrist <wsiegrist@apple.com>
wsiegrist@apple.com [Tue, 12 Jan 2010 00:02:24 +0000 (00:02 +0000)]
2010-01-11 William Siegrist <wsiegrist@apple.com>

Sync new Disallow rules from build.webkit.org.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53108 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 William Siegrist <wsiegrist@apple.com>
wsiegrist@apple.com [Mon, 11 Jan 2010 23:58:22 +0000 (23:58 +0000)]
2010-01-11 William Siegrist <wsiegrist@apple.com>

Add Console and CQ Bot Status links to build.webkit.org. Sync CSS changes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53107 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Dirk Schulze <krit@webkit.org>
eric@webkit.org [Mon, 11 Jan 2010 23:41:09 +0000 (23:41 +0000)]
2010-01-11  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVG radialGradient example radial-gradient-with-outstanding-focalPoint.svg fails
        https://bugs.webkit.org/show_bug.cgi?id=32201

        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
        * platform/mac/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.checksum:
        * platform/mac/svg/custom/radial-gradient-with-outstanding-focalPoint-expected.png:
2010-01-11  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVG radialGradient example radial-gradient-with-outstanding-focalPoint.svg fails
        https://bugs.webkit.org/show_bug.cgi?id=32201

        This patch moves every focalPoint that lies outside the circle defined by the radial
        gradients central point and its radius to stay inside this circle, as demanded by the
        SVG 1.1 specification.
        We use r * 0.99 as maximum radius for the aforementioned circle, when determining where
        the focalPoint is lying, to achieve compatibility with Firefox.

        * svg/SVGRadialGradientElement.cpp:
        (WebCore::SVGRadialGradientElement::buildGradient):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53106 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 11 Jan 2010 23:35:28 +0000 (23:35 +0000)]
2010-01-11  Eric Seidel  <eric@webkit.org>

        No review, rolling out r53079.
        http://trac.webkit.org/changeset/53079
        https://bugs.webkit.org/show_bug.cgi?id=33197

        Adam doens't think this actually works, and believe it caused
        a regression https://bugs.webkit.org/show_bug.cgi?id=33488 so
        rolling this out.

        * Scripts/test-webkitpy:
        * Scripts/webkitpy/commands/abstractdiffcommand.py: Removed.
        * Scripts/webkitpy/commands/abstractdiffcommand_unittest.py: Removed.
        * Scripts/webkitpy/commands/download.py:
        * Scripts/webkitpy/commands/upload.py:
        * Scripts/webkitpy/mock_bugzillatool.py:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53105 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Oliver Hunt.
ap@apple.com [Mon, 11 Jan 2010 23:00:44 +0000 (23:00 +0000)]
    Reviewed by Oliver Hunt.

        https://bugs.webkit.org/show_bug.cgi?id=33493
        Log redirect details to Network channel

        * platform/network/mac/ResourceHandleMac.mm:
        (-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]):
        Log response code and Location header field value. Also, removed a redundant null check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53104 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoWebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=33491 REGRESSION:
bdakin@apple.com [Mon, 11 Jan 2010 22:56:09 +0000 (22:56 +0000)]
WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=33491 REGRESSION:
Many SVG -webkit-shadow tests are currently failing (in the pixel
tests)
-and-
<rdar://problem/7501200>

Reviewed by Oliver Hunt.

The real fix here is to call inflateForShadow() on the repaintRect
in prepareToRenderSVGContent(). But in order to do that, I had to
move inflateForShadow() to a different class since functions in
SVGRenderBase cannot call each other. inflateForShadow() now exists
in SVGRenderStyle which I think makes some sense because a similar
function that returns a box shadow's extent exists on RenderStyle.

Now call inflateForShadow() through the SVGRenderStyle.
* rendering/RenderForeignObject.cpp:
(WebCore::RenderForeignObject::computeRectForRepaint):
* rendering/RenderSVGImage.cpp:
(WebCore::RenderSVGImage::computeRectForRepaint):
* rendering/RenderSVGModelObject.cpp:
(WebCore::RenderSVGModelObject::computeRectForRepaint):
* rendering/RenderSVGRoot.cpp:
(WebCore::RenderSVGRoot::computeRectForRepaint):
* rendering/RenderSVGText.cpp:
(WebCore::RenderSVGText::computeRectForRepaint):

No longer implement inflateForShadow() here.
* rendering/SVGRenderSupport.cpp:
(WebCore::SVGRenderBase::prepareToRenderSVGContent): Call new
inflateForShadow() through the SVGRenderStyle
* rendering/SVGRenderSupport.h:

Implementation of inflateForShadow() now lives here.
* rendering/style/SVGRenderStyle.cpp:
(WebCore::getSVGShadowExtent):
(WebCore::SVGRenderStyle::inflateForShadow):
* rendering/style/SVGRenderStyle.h:

LayoutTests: New tests for https://bugs.webkit.org/show_bug.cgi?id=33491
REGRESSION: Many SVG -webkit-shadow tests are currently failing (in
the pixel tests)
-and-
<rdar://problem/7501200>

Reviewed by Oliver Hunt.

I would like to note that this change fixes some existing layout
tests as well.

* platform/mac/svg/css/shadow-with-large-radius-expected.checksum: Added.
* platform/mac/svg/css/shadow-with-large-radius-expected.png: Added.
* platform/mac/svg/css/shadow-with-large-radius-expected.txt: Added.
* platform/mac/svg/css/shadow-with-negative-offset-expected.checksum: Added.
* platform/mac/svg/css/shadow-with-negative-offset-expected.png: Added.
* platform/mac/svg/css/shadow-with-negative-offset-expected.txt: Added.
* platform/mac/svg/css/stars-with-shadow-expected.checksum:
* platform/mac/svg/css/stars-with-shadow-expected.png:
* svg/css/shadow-with-large-radius.svg: Added.
* svg/css/shadow-with-negative-offset.svg: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53103 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Eric Seidel <eric@webkit.org>
eric@webkit.org [Mon, 11 Jan 2010 22:52:46 +0000 (22:52 +0000)]
2010-01-11  Eric Seidel  <eric@webkit.org>

        Rubber-stamped by Csaba Osztrogonac.

        Web Inspector: External resource relative URLs cannot be navigated to from the Elements panel
        https://bugs.webkit.org/show_bug.cgi?id=33024

        * platform/qt/Skipped: Skip this new test, Qt's DRT doesn't support evaluateInWebInspector()

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53102 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=33411
enrica@apple.com [Mon, 11 Jan 2010 22:46:06 +0000 (22:46 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=33411

Reviewed by Eric Seidel.

Missing updated test result for gtk.

* platform/gtk/editing/deleting/5115601-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53101 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Alexander Pavlov <apavlov@chromium.org>
eric@webkit.org [Mon, 11 Jan 2010 22:33:06 +0000 (22:33 +0000)]
2010-01-11  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Rewrite relative URLs in the ElementsTreeOutline to make them navigable

        Targets for "src" and "href" attribute values in the Elements outline tree
        are rewritten to full URLs whenever possible.
        https://bugs.webkit.org/show_bug.cgi?id=33024

        * inspector/elements-panel-rewrite-href-expected.txt: Added.
        * inspector/elements-panel-rewrite-href.html: Added.
2010-01-11  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Rewrite relative URLs in the ElementsTreeOutline to make them navigable

        Targets for "src" and "href" attribute values in the Elements outline tree
        are rewritten to full URLs whenever possible.
        https://bugs.webkit.org/show_bug.cgi?id=33024

        Test: inspector/elements-panel-rewrite-href.html

        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement.prototype._rewriteAttrHref):
        (WebInspector.ElementsTreeElement.prototype._nodeTitleInfo):
        * inspector/front-end/inspector.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53100 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Mon, 11 Jan 2010 22:20:46 +0000 (22:20 +0000)]
2010-01-11  Oliver Hunt  <oliver@apple.com>

        Reviewed by Darin Adler.

        Sunspider parse-only tests don't run
        https://bugs.webkit.org/show_bug.cgi?id=33489

        Fix parse-only test list

        * tests/parse-only/LIST:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53099 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoUnreviewed trivial fix.
ossy@webkit.org [Mon, 11 Jan 2010 22:17:20 +0000 (22:17 +0000)]
Unreviewed trivial fix.

fast/text/international/japanese-kana-letters.html
removed by r53078, so it should be removed from skiplist.

* platform/qt/Skipped: fast/text/international/japanese-kana-letters.html removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53098 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 11 Jan 2010 21:54:24 +0000 (21:54 +0000)]
2010-01-11  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Simon Fraser.

        Deflake transitions and animations tests.
        https://bugs.webkit.org/show_bug.cgi?id=30029

        The transition-end-event tests all had arbitrary timeouts. Give a consistent
        timeout to all of them. Give a generous 1 second of buffer to avoid any possibility
        of flakiness. If all the transitionEnd events fire before then, the test still
        completes without waiting for the timeout.

        * animations/change-keyframes.html:
        Increase the wiggle room. It's infrequently flaky now, but it is still
        a tad bit flaky without this extra wiggle room.
        * transitions/repeated-firing-background-color.html:
        Remove a gratuitous setTimeout.
        * transitions/transition-end-event-all-properties.html:
        * transitions/transition-end-event-attributes.html:
        * transitions/transition-end-event-container.html:
        * transitions/transition-end-event-helpers.js:
        (runTransitionTest.startTest):
        (runTransitionTest):
        * transitions/transition-end-event-left.html:
        * transitions/transition-end-event-multiple-01.html:
        * transitions/transition-end-event-multiple-02.html:
        * transitions/transition-end-event-multiple-03.html:
        * transitions/transition-end-event-multiple-04.html:
        * transitions/transition-end-event-nested.html:
        * transitions/transition-end-event-set-none.html:
        * transitions/transition-end-event-transform.html:
        * transitions/transition-end-event-window.html:
        * transitions/zero-duration-with-non-zero-delay-end.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53097 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoTry to get find-kana and find-russian tests passing on Qt.
darin@apple.com [Mon, 11 Jan 2010 21:46:11 +0000 (21:46 +0000)]
Try to get find-kana and find-russian tests passing on Qt.

* platform/qt/fast/text/find-kana-expected.txt: Copied from fast/text/find-kana-expected.txt.
* platform/qt/fast/text/find-russian-expected.txt: Copied from fast/text/find-russian-expected.txt.
Changed to expect failures because text searching does not use
ICU's usearch on this platform, and the non-usearch code is much
less capable.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53096 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago Reviewed by Sam Weinig.
ap@apple.com [Mon, 11 Jan 2010 20:35:52 +0000 (20:35 +0000)]
    Reviewed by Sam Weinig.

        https://bugs.webkit.org/show_bug.cgi?id=33482
        Add a test for Russian text search

        * fast/text/find-russian-expected.txt: Added.
        * fast/text/find-russian.html: Added.
        * fast/text/script-tests/find-russian.js: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53095 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago[Qt] Enable JIT and YARR_JIT if (CPU(X86_64) && OS(LINUX) && GCC_VERSION >= 40100)
ossy@webkit.org [Mon, 11 Jan 2010 20:33:53 +0000 (20:33 +0000)]
[Qt] Enable JIT and YARR_JIT if (CPU(X86_64) && OS(LINUX) && GCC_VERSION >= 40100)

Reviewed by Ariya Hidayat.

* wtf/Platform.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53094 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoTry to get find-kana test passing on Tiger and Leopard.
darin@apple.com [Mon, 11 Jan 2010 20:19:13 +0000 (20:19 +0000)]
Try to get find-kana test passing on Tiger and Leopard.

* platform/mac-leopard/fast/text/find-kana-expected.txt: Copied from fast/text/find-kana-expected.txt.
Changed to expect failures due to an older version of ICU on those platforms.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53093 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoUpdated Windows expected results after r53085.
bweinstein@apple.com [Mon, 11 Jan 2010 20:14:10 +0000 (20:14 +0000)]
Updated Windows expected results after r53085.

Reviewed by NOBODY.

* platform/win/editing/selection/mixed-editability-10-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53092 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Mon, 11 Jan 2010 19:55:39 +0000 (19:55 +0000)]
2010-01-11  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Alexey Proskuryakov.

        https://bugs.webkit.org/show_bug.cgi?id=33481
        Uninitialized data members in ArrayStorage

        SunSpider reports no change.

        * runtime/JSArray.cpp:
        (JSC::JSArray::JSArray): Initialize missing data members in the two cases
        where we don't use fastZeroedMalloc, so it doesn't happen automatically.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53091 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agoFix ChangeLog
sfalken@apple.com [Mon, 11 Jan 2010 19:53:08 +0000 (19:53 +0000)]
Fix ChangeLog

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53090 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years agohttps://bugs.webkit.org/show_bug.cgi?id=33480
sfalken@apple.com [Mon, 11 Jan 2010 19:45:08 +0000 (19:45 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=33480

Improve debugging reliability for WTF on Windows.
Store WTF static library's PDB file into a better location.

* JavaScriptCore.vcproj/WTF/WTF.vcproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53089 268f45cc-cd09-0410-ab3c-d52691b4dbfc

11 years ago2010-01-11 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Mon, 11 Jan 2010 19:42:20 +0000 (19:42 +0000)]
2010-01-11  Nikolas Zimmermann  <nzimmermann@rim.com>

        Not reviewed. Attempt to fix windows builds, by removing the no-longer existant JSSVGPointListCustom.cpp from JSBindingsAllInOne.cpp.

        * bindings/js/JSBindingsAllInOne.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@53088 268f45cc-cd09-0410-ab3c-d52691b4dbfc