Timeline


and

02/24/10:

23:30 Changeset [55226] by eric@webkit.org

2010-02-24 Sam Kerner <skerner@chromium.org>

Reviewed by Darin Fisher.

Expose WebFrame::setCanHaveScrollbars(). This allows a view
which is being resized to not need scroll bars to ensure that
they are not drawn.

Existing function setAllowsScrolling() was renamed
setCanHaveScrollbars(), to be consistant with change 37159:
http://trac.webkit.org/changeset/37159

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

  • WebKit/chromium/public/WebFrame.h:
  • WebKit/chromium/src/ChromeClientImpl.cpp:
  • WebKit/chromium/src/WebFrameImpl.cpp:
  • WebKit/chromium/src/WebFrameImpl.h:
23:14 Changeset [55225] by eric@webkit.org

2010-02-24 Nicholas Young <nicholas.young@nokia.com>

Reviewed by Eric Carlson.

Add mediaPlayerOwningDocument() to MediaPlayerClient.
https://bugs.webkit.org/show_bug.cgi?id=35374

No new tests. These are interface changes only.

  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::mediaPlayerOwningDocument): Implementation for media element.
  • html/HTMLMediaElement.h:
  • platform/graphics/MediaPlayer.h: (WebCore::MediaPlayerClient::mediaPlayerOwningDocument): New virtual method.
22:56 Changeset [55224] by eric@webkit.org

2010-02-24 Andreas Kling <andreas.kling@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

Optimized Font::normalizeSpaces() by caching the String::characters()
instead of repeatedly calling operator[]

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

  • platform/graphics/Font.cpp: (WebCore::Font::normalizeSpaces):
22:32 Changeset [55223] by eric@webkit.org

2010-02-24 Jungshik Shin <jshin@chromium.org>

Reviewed by David Levin.

[Chromium] Traditional Chinese Chrome on Windows should use PMingLiu instead of Simsun for Han characters
https://bugs.webkit.org/show_bug.cgi?id=35319

No visible change in the layout test.

  • platform/graphics/chromium/FontUtilsChromiumWin.cpp: (WebCore::):
22:28 Changeset [55222] by mrobinson@webkit.org

2010-02-24 Krzysztof Kotlenga <pocek@users.sf.net>

Reviewed by Gustavo Noronha Silva.

[Gtk] Creation of a WebkitWebView widget is very slow
https://bugs.webkit.org/show_bug.cgi?id=30032

  • WebCoreSupport/EditorClientGtk.cpp: (WebKit::EditorClient::ignoreWordInSpellDocument): Change 'langs' to 'dicts' to reflect the fact that the list just holds Enchant dictionaries now. (WebKit::EditorClient::learnWord): Ditto. (WebKit::EditorClient::checkSpellingOfString): Ditto. (WebKit::EditorClient::getGuessesForWord): Ditto.
  • webkit/webkitprivate.h: Remove the now unused SpellLanguage struct.
  • webkit/webkitwebsettings.cpp: Change function call to reflect new webkit_web_settings_get_enchant_dicts name. (get_enchant_broker): Add this method which returns the enchant broker singleton. (free_spell_checking_language): The list contents have changed, so change the way each element is freed. (webkit_web_settings_finalize): Change to reflect 'spell_checking_languages_list' to 'enchant_dicts' member name change. (webkit_web_settings_set_property): Use the broker singleton here instead of making a new one for each language. The Enchant dictionary is now the list payload. (webkit_web_settings_copy): More name-change updates. (webkit_web_settings_get_enchant_dicts): Ditto.
22:15 Changeset [55221] by eric@webkit.org

2010-02-24 Anthony Ricaud <rik@webkit.org>

Reviewed by Pavel Feldman.

Web Inspector: Reduce the timer to show the eval popover
https://bugs.webkit.org/show_bug.cgi?id=35344

  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._mouseMove):
21:40 Changeset [55220] by eric@webkit.org

2010-02-24 Chris Evans <cevans@chromium.org>

Reviewed by Darin Adler.

Add test for SVG that used to cause crash.
It has been fixed on trunk for a while, thanks to the <use> rewrite,
but we want to make sure we do not regress.

  • svg/dom/use-transform.svg: Added.
  • svg/dom/use-transform-expected.txt: Added.
21:24 Changeset [55219] by eric@webkit.org

2010-02-24 Jay Campan <jcampan@google.com>

Reviewed by David Levin.

Don't show the autofill popup when the input text is disabled or read only.

Test: manual-tests/chromium/no-autofill-on-readonly.html

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

  • src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::autofill):
  • manual-tests/chromium/no-autofill-on-readonly.html: Added.

2010-02-24 Jay Campan <jcampan@google.com>

Reviewed by David Levin.

Don't show the autofill popup when the input text is disabled or read only.

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

  • src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::autofill):
21:07 Changeset [55218] by eric@webkit.org

2010-02-24 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] QtLauncher has a border when running on QGraphicsView mode
https://bugs.webkit.org/show_bug.cgi?id=35352

Fix 2-pixels frame on each border of QtLauncher when running on QGraphicsView mode.

  • QtLauncher/webview.cpp: (WebViewGraphicsBased::WebViewGraphicsBased):
20:43 Changeset [55217] by eric@webkit.org

2010-02-24 Dominic Mazzoni <dmazzoni@chromium.org>

Reviewed by Jeremy Orlow.

Wraps includes of SVG headers so that it's possible to
compile the V8 bindings with SVG disabled, e.g. 'enable_svg=0'.
https://bugs.webkit.org/show_bug.cgi?id=35345

No new tests.

  • bindings/v8/V8DOMWrapper.cpp:
  • bindings/v8/V8Proxy.cpp:
  • bindings/v8/custom/V8CSSValueCustom.cpp:
  • bindings/v8/custom/V8DocumentCustom.cpp:
  • bindings/v8/custom/V8ElementCustom.cpp:
  • bindings/v8/custom/V8EventCustom.cpp:
  • bindings/v8/custom/V8SVGElementCustom.cpp:
20:15 Changeset [55216] by mjs@apple.com

Unreviewed build fix.

Fix gtk build.

Include JSC headers as runtime/ instead of JavaScriptCore/

  • bindings/js/JSDOMWrapper.h:
  • bindings/js/ScriptWrappable.h:
20:07 Changeset [55215] by mjs@apple.com

2010-02-24 Maciej Stachowiak <mjs@apple.com>

Reviewed by Oliver Hunt.

Cache JavaScript wrappers inline in DOM nodes
https://bugs.webkit.org/show_bug.cgi?id=35226

<rdar://problem/7664202>


7.4% speedup on Dromaeo DOM Core tests.
2.3% speedup on Hixie DOM Core tests.

This fixes the following things from the last attempt:

  • Now builds in both debug and release and passes all tests
  • Properly use a WeakGCPtr, not just a raw pointer, in ScriptWrappable
  • Properly look in the appropriate per-document or per-world map
  • Added an assert that would have caught any of the problems I found
  • Handle clearing the inline cache properly in all cases


  • bindings/js/JSDOMBinding.cpp: (WebCore::cacheDOMObjectWrapper): Adjust for name changes. (WebCore::forgetDOMNode): Clear wrapper pointer. (WebCore::cacheDOMNodeWrapper): Cache inline too if caching for normal world.
  • bindings/js/JSDOMBinding.h: (WebCore::Document::getWrapperCache): Inlined. (WebCore::domObjectWrapperMapFor): Renamed to start with lowercase. Moved to header to inline.
  • bindings/js/JSDOMWrapper.h: Added. (WebCore::DOMObject::DOMObject): Factored this out of JSDOMBinding.h to avoid include cycle. I think the class should be renamed, I picked a forward-looking header name because we already have a DOMObject.h
  • bindings/js/JSNodeCustom.cpp: (WebCore::createWrapperInline): Renamed version of original createWrapper. (WebCore::createWrapper): Call createWrapperInline. Out-of-line version. (WebCore::toJSNewlyCreated): Call createWrapperInline instead of createWrapper.
  • bindings/js/JSNodeCustom.h: Added. (WebCore::getCachedDOMNodeWrapper): Moved from JSDOMBinding.cpp and moved here, so it could inline everywhere without creating an include cycle. Consider inline cache. (WebCore::toJS): Moved to header to inline.
  • bindings/js/ScriptWrappable.h: (WebCore::ScriptWrappable::ScriptWrappable): Implement this in the obvious way for JavaScriptCore. (Using a WeakGCPtr). (WebCore::ScriptWrappable::wrapper): (WebCore::ScriptWrappable::setWrapper): (WebCore::ScriptWrappable::clearWrapper):
  • bindings/scripts/CodeGeneratorJS.pm: Include CustomHeader heaaders in the header, not just the impl file, so they can add inlining.
  • dom/Node.idl: Add CustomHeader directive.


Add new files to build.

  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
19:51 Changeset [55214] by eric@webkit.org

2010-02-24 Jochen Eisinger <jochen@chromium.org>

Reviewed by Jeremy Orlow.

Expose Database object of currently active task on the database thread
https://bugs.webkit.org/show_bug.cgi?id=35341

  • storage/DatabaseThread.cpp: (WebCore::DatabaseThread::DatabaseThread): (WebCore::DatabaseThread::databaseThread):
  • storage/DatabaseThread.h: (WebCore::DatabaseThread::getDatabaseOfCurrentTask):
19:34 Changeset [55213] by eric@webkit.org

2010-02-24 Nicholas Young <nicholas.young@nokia.com>

Reviewed by Eric Carlson.

supportsMuting() should be an internal interface between MediaPlayer and MediaPlayerPrivate.
https://bugs.webkit.org/show_bug.cgi?id=35327

No new tests. Refactoring Only.

  • html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::setMuted): Do not check supportsMuting() (WebCore::HTMLMediaElement::updateVolume): Set volume and muted
  • platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::setVolume): Check supportsMuting() (WebCore::MediaPlayer::setMuted): Check supportsMuting()
  • platform/graphics/MediaPlayer.h: Remove supportsMuting()
18:46 Changeset [55212] by mitz@apple.com

Rubber-stamped by Anders Carlsson.

Keep this test’s behavior the same after r55203.

  • fast/dom/script-tests/prototype-inheritance-2.js: Explicitly set the inner document’s body

display property to “none”. Before r55203, this happened as a side effect of parsing the
<frameset> tag.

17:09 Changeset [55211] by mrowe@apple.com

Versioning.

17:07 Changeset [55210] by dpranke@chromium.org

2010-02-23 Dirk Pranke <dpranke@chromium.org>

Reviewed by David Levin.

When the run-chromium-webkit-tests code was landed and the code was
refactored into the 'port' package, I accidentally broke using
http_server.py or websocket_server.py as command-line scripts
(the constructors needed a port object they weren't getting). This
change fixes them so that --server start|stop actually works.

As a part of this, the two files need to be able to call port.get(),
but doing that is awkward from a file inside the package, so I moved
get() into factory.py and imported that into init.py so that
http_server.py and websocket_server.py can just import factory.

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

  • Scripts/webkitpy/layout_tests/port/init.py:
  • Scripts/webkitpy/layout_tests/port/factory.py:
  • Scripts/webkitpy/layout_tests/port/http_server.py:
  • Scripts/webkitpy/layout_tests/port/websocket_server.py:
17:06 Changeset [55209] by mrowe@apple.com

New tag.

16:58 Changeset [55208] by dpranke@chromium.org

2010-02-24 Dirk Pranke <dpranke@chromium.org>

Reviewed by David Levin.

Fix the function signature for check_sys_deps on the mac port, and
fix the ordering of port_obj.check_sys_deps() and
port_obj.start_helper() (helper needs to be started before we check
the system configuration).

http://bugs.webkit.org/show_bug.cgi?id=35367

  • Scripts/webkitpy/layout_tests/port/mac.py:
  • Scripts/webkitpy/layout_tests/port/test.py:
  • Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py:
16:24 Changeset [55207] by pkasting@chromium.org

[Chromium API] Disambiguate allowJavaScript from didNotAllowScript
https://bugs.webkit.org/show_bug.cgi?id=35205

Patch by Adam Barth <abarth@webkit.org> on 2010-02-24
Reviewed by Darin Fisher.

WebCore:

For clients that want to show a user interface element when JavaScript
was blocked on a page, we need to disambiguate between querying the
client for whether JavaScript is enabled from actually failing to
execute some script.

This patch adds a new FrameLoaderClient callback for when WebCore would
like to execute JavaScript but fails to because JavaScript is disabled.

This patch also touches every client of canExecuteScripts so they can
indicate whether we should make this callback. I was hoping there was
a better choke point, but my first two attempts were wrong in subtle
ways. pkasting points out that this will be easy to screw up in the
future, so it's better to make all the clients be explicit.

  • WebCore.PluginHostProcess.exp:
  • bindings/ScriptControllerBase.cpp:

(WebCore::ScriptController::canExecuteScripts):
(WebCore::ScriptController::executeScript):

  • bindings/js/JSEventListener.cpp:

(WebCore::JSEventListener::handleEvent):

  • bindings/js/JSLazyEventListener.cpp:

(WebCore::JSLazyEventListener::initializeJSFunction):

  • bindings/js/ScheduledAction.cpp:

(WebCore::ScheduledAction::execute):

  • bindings/js/ScriptController.cpp:

(WebCore::ScriptController::bindingRootObject):
(WebCore::ScriptController::windowScriptNPObject):
(WebCore::ScriptController::jsObjectForPluginElement):
(WebCore::ScriptController::executeScriptInWorld):

  • bindings/js/ScriptController.h:

(WebCore::):

  • bindings/js/ScriptControllerMac.mm:

(WebCore::ScriptController::windowScriptObject):

  • bindings/js/ScriptDebugServer.cpp:

(WebCore::ScriptDebugServer::setJavaScriptPaused):

  • bindings/js/ScriptEventListener.cpp:

(WebCore::createAttributeEventListener):

  • bindings/js/ScriptState.cpp:

(WebCore::scriptStateFromNode):

  • bindings/v8/ScriptController.cpp:

(WebCore::ScriptController::windowScriptNPObject):
(WebCore::ScriptController::createScriptObjectForPluginElement):

  • bindings/v8/ScriptController.h:

(WebCore::):

  • bindings/v8/ScriptEventListener.cpp:

(WebCore::createAttributeEventListener):

  • bindings/v8/V8Proxy.cpp:

(WebCore::V8Proxy::retrieve):

  • dom/ScriptElement.cpp:

(WebCore::ScriptElementData::evaluateScript):

  • dom/XMLTokenizerLibxml2.cpp:

(WebCore::XMLTokenizer::startElementNs):

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::controls):

  • html/HTMLTokenizer.cpp:

(WebCore::HTMLTokenizer::parseTag):
(WebCore::HTMLTokenizer::processToken):

  • inspector/InspectorController.cpp:

(WebCore::canPassNodeToJavaScript):

  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::isProcessingUserGesture):
(WebCore::FrameLoader::open):
(WebCore::FrameLoader::dispatchDidClearWindowObjectsInAllWorlds):
(WebCore::FrameLoader::dispatchDidClearWindowObjectInWorld):

  • loader/FrameLoaderClient.h:

(WebCore::FrameLoaderClient::didNotAllowScript):

WebKit/chromium:

Plumb didNotAllowScript through Chromium's WebKit API.

  • public/WebFrameClient.h:

(WebKit::WebFrameClient::didNotAllowScript):

  • src/DebuggerAgentImpl.cpp:

(WebKit::DebuggerAgentImpl::createUtilityContext):

  • src/FrameLoaderClientImpl.cpp:

(WebKit::FrameLoaderClientImpl::didNotAllowScript):

  • src/FrameLoaderClientImpl.h:
  • src/WebFrameImpl.cpp:

(WebKit::WebFrameImpl::bindToWindowObject):

WebKit/mac:

Make these two callsites explicit about not running script immediately.

  • Plugins/Hosted/NetscapePluginInstanceProxy.mm:

(WebKit::NetscapePluginInstanceProxy::getWindowNPObject):
(WebKit::NetscapePluginInstanceProxy::demarshalValueFromArray):

16:17 Changeset [55206] by pkasting@chromium.org

Add call to FrameLoaderClient::allowPlugins everywhere arePluginsEnabled is called
https://bugs.webkit.org/show_bug.cgi?id=34997

Patch by Adam Barth <abarth@webkit.org> on 2010-02-24
Reviewed by Darin Fisher.

If we want to let the FrameLoaderClient override arePluginsEnabled,
then we need to call out to the FrameLoaderClient every time we read
the setting.

We don't have testing infrustructure for these changes, which is lame.
I'm supposed to fix that in Bug 33991.

  • dom/DOMImplementation.cpp:

(WebCore::DOMImplementation::createDocument):

  • loader/MainResourceLoader.cpp:

(WebCore::MainResourceLoader::substituteMIMETypeFromPluginDatabase):

  • loader/PluginDocument.cpp:

(WebCore::PluginTokenizer::writeRawData):

  • page/Page.cpp:

(WebCore::Page::pluginData):

  • plugins/MimeType.cpp:

(WebCore::MimeType::enabledPlugin):

15:19 CommitQueue edited by rik@webkit.org
commiters.py is now in webkitpy (diff)
15:17 Changeset [55205] by jamesr@google.com

2010-02-24 James Robinson <jamesr@chromium.org>

Reviewed by Dmitry Titov.

Do not fire focus events while a modal dialog is up.
https://bugs.webkit.org/show_bug.cgi?id=33962

Modifies the FocusController to check the frame's page's defersLoading() flag before firing blur/focus events.
This flag is set while a modal dialog (like a window.alert or window.confirm) is up. Firing the events causes
assertion failures, since when the dialog is dismissed the PageGroupLoadDeferrer assumes that no script has run.

Manual tests only as DumpRenderTree does not support modal dialogs

  • manual-tests/modal-dialog-blur-selfclose.html: Added.
  • manual-tests/modal-dialog-blur.html: Added.
  • page/FocusController.cpp: (WebCore::dispatchEventsOnWindowAndFocusedNode):
14:58 Changeset [55204] by jamesr@google.com

2010-02-24 James Robinson <jamesr@chromium.org>

Reviewed by Eric Seidel.

Provide default username parameter to SVN.commit_with_message().

  • Scripts/webkitpy/scm.py:
14:48 Changeset [55203] by mitz@apple.com

<rdar://problem/7018611> innerHTML applies meta/link/title tags from a detached html element

Reviewed by Anders Carlsson.

WebCore:

Test: fast/parser/fragment-parser.html

Ensure that fragment parsing has no side effects on the fragment’s owner
document.

  • html/HTMLParser.cpp:

(WebCore::HTMLParser::insertNode): Don’t call
dispatchDocumentElementAvailable() for fragments.
(WebCore::HTMLParser::handleError): Don’t copy attributes to the owner
document’s <html> and <body> elements when a redundant <html> or <body>
is encountered while parsing a fragment.
(WebCore::HTMLParser::framesetCreateErrorCheck): Don’t change the owner
document’s <body> element’s style when parsing a fragment.
(WebCore::HTMLParser::createHead): Don’t attach the new <head> to the
ownder document of a fragment.

LayoutTests:

  • fast/parser/fragment-parser-expected.txt: Added.
  • fast/parser/fragment-parser.html: Added.
  • fast/parser/script-tests/fragment-parser.js: Added.
14:31 Changeset [55202] by dpranke@chromium.org

squash for checkin

14:09 Changeset [55201] by levin@chromium.org

Need to create a CanvasSurface base class for HTMLCanvasElement.
https://bugs.webkit.org/show_bug.cgi?id=35322

Reviewed by Darin Adler.

This is an initial step in making the OffscreenCanvas object.

No new functionality so no new tests.

  • GNUmakefile.am: Added CanvasSurface to the build.
  • WebCore.gypi: ditto
  • WebCore.pro: ditto
  • WebCore.vcproj/WebCore.vcproj: ditto
  • WebCore.xcodeproj/project.pbxproj: ditto
  • dom/CanvasSurface.cpp: Added.
  • dom/CanvasSurface.h: Added.
  • html/HTMLCanvasElement.h: Made HTMLCanvasElement inherit from CanvasSurface.
13:58 Changeset [55200] by ap@apple.com

Reviewed by Dan Bernstein.

https://bugs.webkit.org/show_bug.cgi?id=35357
Two editing tests fail after DumpRenderTree run loop changes

AppKit decided that it wanted to group all editing commands for some reason (and thus undo
reverted them all at once).

  • DumpRenderTree/mac/DumpRenderTree.mm: (dump): Reverted the change that made DumpRenderTree use -[NSApplication run]. (runTest): Ditto. (-[DumpRenderTreeApplication isRunning]): Override isRunning with a function that always returns YES. This is another way to make the Java plug-in work.
13:52 Changeset [55199] by pkasting@chromium.org

Fix regression in calculating an animated image's start time.
https://bugs.webkit.org/show_bug.cgi?id=35115

Reviewed by Adam Barth.

  • platform/graphics/BitmapImage.cpp:

(WebCore::BitmapImage::startAnimation):

13:20 Changeset [55198] by oliver@apple.com

2010-02-24 Oliver Hunt <oliver@apple.com>

Reviewed by Geoffrey Garen.

[REGRESSION in r55185] EXC_BAD_ACCESS on opening inspector.
https://bugs.webkit.org/show_bug.cgi?id=35335

compileGetDirectOffset modifies the contents of the object register
when the object is not using the inline storage array. As the object
register contains our 'this' pointer we can't allow it to be clobbered.
The fix is simply to copy the register into a separate scratch register
when we're loading off an object that doesn't use inline storage.

  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompileGetByIdSelfList):
  • jit/JITPropertyAccess32_64.cpp: (JSC::JIT::privateCompileGetByIdSelfList):

2010-02-24 Oliver Hunt <oliver@apple.com>

Reviewed by Geoffrey Garen.

[REGRESSION in r55185] EXC_BAD_ACCESS on opening inspector.
https://bugs.webkit.org/show_bug.cgi?id=35335

Add tests for caching getter lookup on large objects (eg. those not
using the inline storage array).

  • fast/js/pic/cached-getter-setter-expected.txt:
  • fast/js/pic/cached-getter-setter.html:
13:15 Changeset [55197] by xan@webkit.org

2010-02-24 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Unskip 3 passing cookies tests.

  • platform/gtk/Skipped:
12:51 Changeset [55196] by mitz@apple.com

<rdar://problem/7682827> Text with :first-letter lingers after being removed

Reviewed by Simon Fraser.

WebCore:

Test: fast/css/first-letter-set-text.html

  • rendering/RenderTextFragment.cpp:

(WebCore::RenderTextFragment::setTextInternal): Set this back as the
text node’s renderer, as removing the first letter has resets the node’s
renderer.

LayoutTests:

  • fast/css/first-letter-set-text-expected.checksum: Added.
  • fast/css/first-letter-set-text-expected.png: Added.
  • fast/css/first-letter-set-text-expected.txt: Added.
  • fast/css/first-letter-set-text.html: Added.
11:31 Changeset [55195] by philn@webkit.org

2010-02-24 Philippe Normand <pnormand@igalia.com>

Rubber-stamped by Xan Lopez.

[GTK] DRT implement execCommand()
https://bugs.webkit.org/show_bug.cgi?id=35351

Skip test that fails in GTK+.

  • platform/gtk/Skipped:
10:15 Changeset [55194] by philn@webkit.org

2010-02-24 Philippe Normand <pnormand@igalia.com>

Rubber-stamped by Xan Lopez.

Adding a GTK layout test result for a new test
added in r55159.

  • platform/gtk/fast/repaint/repaint-during-scroll-expected.txt: Added.
08:20 Changeset [55193] by ariya@webkit.org

2010-02-24 Ariya Hidayat <ariya.hidayat@gmail.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Faster cut-off for rectangle fill without shadow.
https://bugs.webkit.org/show_bug.cgi?id=35337

  • platform/graphics/qt/GraphicsContextQt.cpp:
07:39 QtWebKitTableOfFeatures46 edited by henry.haverinen@nokia.com
(diff)
07:05 Changeset [55192] by vestbo@webkit.org

[Qt] Remove QGVLauncher

Patch by Jesus Sanchez-Palencia <jesus.palencia@openbossa.org> on 2010-02-19
Reviewed by Kenneth Rohde Christiansen.

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

06:04 Changeset [55191] by xan@webkit.org

2010-02-24 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Enable SharedWorkers by default, since that's been the default for
a long time in our build-webkit configuration.

  • configure.ac:
06:01 Changeset [55190] by jocelyn.turcotte@nokia.com

[Qt] Corrects build break of QtLauncher on Windows.
The VERSION variable was not set anymore while building in trunk.

Reviewed by nobody, build fix.

  • WebCore.pro:
05:46 Changeset [55189] by xan@webkit.org

2010-02-24 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Get rid of an extra call to
setNPWindowIfNeeded. updatePluginWidget already calls this for us
if needed.

  • plugins/gtk/PluginViewGtk.cpp: (WebCore::PluginView::platformStart):
05:43 Changeset [55188] by aroben@apple.com

2010-02-23 Adam Roben <aroben@apple.com>

Make commit-log-editor find just-added ChangeLog files

Fixes <http://webkit.org/b/35294> commit-log-editor doesn't find
just-added ChangeLog files

Reviewed by Dave Levin.

  • Scripts/commit-log-editor: (top level): Modified the regular expression that's used to find modified ChangeLog files to also look for just-added ChangeLog files.
05:21 Changeset [55187] by apavlov@chromium.org

2010-02-24 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: Activate/Deactivate breaks does not look consistent with rest of the toolbar.

Fix style and add the new images to the related file sets.
https://bugs.webkit.org/show_bug.cgi?id=35307

  • WebCore.gypi:
  • inspector/front-end/Images/deactivateBreakpointsButtonGlyph.png:
  • inspector/front-end/Images/deactivateBreakpointsDisabledButtonGlyph.png:
  • inspector/front-end/WebKit.qrc:
  • inspector/front-end/inspector.css:
04:44 Changeset [55186] by xan@webkit.org

2010-02-24 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Try to sanitize a bit the geometry management of plugins.

Stop doing contradictory things in updatePluginWidget (we were at
the same time pretending the geometry setting was delayed until
::paint and setting the geometry not once but twice) and just set
it any time the windowRect or clipRect for the plugin has changed.

This is closer to what the Mac port does, and fixes instances of
the plugins not being drawn until the window is resized or
scrolled. Other than that all manual and layout tests seems to
still work.

  • plugins/gtk/PluginViewGtk.cpp: (WebCore::PluginView::updatePluginWidget): (WebCore::PluginView::setNPWindowIfNeeded):
04:20 BuildingQtOnWindows edited by jocelyn.turcotte@nokia.com
(diff)
04:17 BuildingQtOnWindows edited by jocelyn.turcotte@nokia.com
(diff)
01:02 Changeset [55185] by oliver@apple.com

2010-02-24 Oliver Hunt <oliver@apple.com>

Reviewed by Gavin Barraclough.

Speed up getter performance in the jit
https://bugs.webkit.org/show_bug.cgi?id=35332

Implement getter lookup caching in the interpreter.
The getter stubs are generated through basically the
same code paths as the normal get_by_id caching.
Instead of simply loading a property and returning,
we load the getter slot, and pass the getter, base value
and return address to a shared stub used for getter
dispatch.

  • jit/JIT.h: (JSC::JIT::compileGetByIdProto): (JSC::JIT::compileGetByIdSelfList): (JSC::JIT::compileGetByIdProtoList): (JSC::JIT::compileGetByIdChainList): (JSC::JIT::compileGetByIdChain):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
  • jit/JITPropertyAccess32_64.cpp: (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdSelfList): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
  • jit/JITStubs.cpp: (JSC::JITThunks::tryCacheGetByID): (JSC::DEFINE_STUB_FUNCTION):
  • jit/JITStubs.h: (JSC::):
  • runtime/GetterSetter.h:
00:51 Changeset [55184] by hamaji@chromium.org

2010-02-24 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Darin Adler.

check-webkit-style false positive for WebCore forwarding header
https://bugs.webkit.org/show_bug.cgi?id=34604

  • Scripts/webkitpy/style/checker.py:
  • Scripts/webkitpy/style/checker_unittest.py:

02/23/10:

23:40 Changeset [55183] by ossy@webkit.org

Rubber-stamped by Simon Hausmann.

[Qt] editing/execCommand/delete-image-in-anchor.html skipped
because of missing layoutTestController.execCommand()

Qt specific expected file added for editing/execCommand/insert-list-xml.xhtml
introduced in r55167, because of different font types.

  • platform/qt/Skipped: editing/execCommand/delete-image-in-anchor.html skipped.
  • platform/qt/editing/execCommand/insert-list-xml-expected.txt: Added.
23:14 Changeset [55182] by oliver@apple.com

2010-02-23 Geoff Garen <ggaren@apple.com>

Reviewed by Oliver Hunt.

Simplify animation lifetime handling. Previously we manually
determined whether our base element was safe when we unregistered
our listener, now we simply ensure that the base element itself
registers and unregisters the animation listener.

  • svg/animation/SVGSMILElement.cpp: (WebCore::ConditionEventListener::create): (WebCore::ConditionEventListener::disconnectAnimation): (WebCore::ConditionEventListener::ConditionEventListener): (WebCore::ConditionEventListener::operator==): (WebCore::ConditionEventListener::handleEvent): (WebCore::SVGSMILElement::eventBaseFor): (WebCore::SVGSMILElement::connectConditions): (WebCore::SVGSMILElement::disconnectConditions):
  • svg/animation/SVGSMILElement.h:
20:27 Changeset [55181] by oliver@apple.com

2010-02-23 Oliver Hunt <oliver@apple.com>

Reviewed by Maciej Stachowiak.

Web Inspector: Regression: r55027+: Inspector broken
https://bugs.webkit.org/show_bug.cgi?id=35253

op_get_by_id_getter_chain was not passing the correct this parameter.
The bug was caused by incorrect use of baseCell instead of baseValue,
baseValue contains the original object for the lookup (and hence the
correct this object), baseCell is clobbered as part of walking the
prototype chain.

  • interpreter/Interpreter.cpp: (JSC::Interpreter::privateExecute):

2010-02-23 Oliver Hunt <oliver@apple.com>

Reviewed by Maciej Stachowiak.

Web Inspector: Regression: r55027+: Inspector broken
https://bugs.webkit.org/show_bug.cgi?id=35253

Add thorough testing of getter access to hit the various
possible caching scenarios.

  • fast/js/pic/cached-getter-setter-expected.txt:
  • fast/js/pic/cached-getter-setter.html:
19:43 Google Summer of Code 2010 edited by pkasting@google.com
(diff)
18:05 Changeset [55180] by dimich@chromium.org

Chromium: Use V8::TerminateExecution to actually terminate workers.
https://bugs.webkit.org/show_bug.cgi?id=35137

Reviewed by David Levin.

Test: existing fast/workers/stress-js-execution.html which is currently failing
on Mac and Linux bots for Chromium.

  • bindings/v8/WorkerContextExecutionProxy.cpp:

(WebCore::WorkerContextExecutionProxy::evaluate):

  • bindings/v8/WorkerScriptController.cpp:

(WebCore::WorkerScriptController::forbidExecution):

17:53 Changeset [55179] by enrica@apple.com

REGRESSION: WebKit crashes when deleting images on blogger.com (34957)
<rdar://problem/7651935>
https://bugs.webkit.org/show_bug.cgi?id=34957

Reviewed by Simon Fraser.

WebCore:

Fixing a regression introduced with revision 53085. Anchor elements should not be considered
in editable content when calculating the position in the parent before the node.

Test: editing/execCommand/delete-image-in-anchor.html

  • dom/Position.cpp:

(WebCore::Position::getInlineBoxAndOffset):

LayoutTests:

  • editing/execCommand/delete-image-in-anchor-expected.txt: Added.
  • editing/execCommand/delete-image-in-anchor.html: Added.
17:46 Changeset [55178] by tony@chromium.org

2010-02-23 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=34634
Pasting a list into the middle of another list item should split the target
list item into two separate list items. This matches the behavior in other
browsers.

  • editing/pasteboard/paste-list-004-expected.txt: Added.
  • editing/pasteboard/paste-list-004.html: Added.

2010-02-23 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=34634
Pasting a list into the middle of another list item should split the target
list item into two separate list items. This matches the behavior in other
browsers.

Test: editing/pasteboard/paste-list-004.html

  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::insertAsListItems):
17:22 Changeset [55177] by ap@apple.com

Reviewed by Mark Rowe.

https://bugs.webkit.org/show_bug.cgi?id=22602
Enable Java in DumpRenderTree (on Mac)

LayoutTests:

  • fast/dom/java-applet-calls-expected.txt: Removed.
  • fast/dom/java-applet-calls.html: Removed.
  • fast/dom/resources/TestApplet.class: Removed.
  • fast/dom/resources/TestApplet.java: Removed. This test was added in a failing form, even though it never worked. The new tests cover everything it was meant to cover.
  • java/SharedApplet.java: Added. This class will have methods for simple tests, but it's also possible to just add new source files.
  • java/Makefile: Added. Compile all .java files in the directory.
  • java: Added.
  • java/argument-to-object-type-expected.txt: Added.
  • java/argument-to-object-type.html: Added.
  • java/array-return-expected.txt: Added.
  • java/array-return.html: Added. Added tests for recently fixed bugs.
  • platform/gtk/Skipped:
  • platform/qt/Skipped:
  • platform/win/Skipped: Java tests only work on Mac currently.

WebKitTools:

  • DumpRenderTree/mac/DumpRenderTree.mm: (exitApplicationRunLoop): (dump): (runTest): DumpRenderTree now runs an NSApplication, not just an event loop. This way, the Java plug-in can start without freezing.
  • Scripts/run-webkit-tests: Compile java sources in LayputTests/java.
16:56 Changeset [55176] by oliver@apple.com

2010-02-23 Oliver Hunt <oliver@apple.com>

Add expected result

  • svg/custom/animate-use-crash-expected.txt: Added.
16:49 Changeset [55175] by oliver@apple.com

2010-02-23 Oliver Hunt <oliver@apple.com>

Reviewed by Maciej Stachowiak.

Add a testcase for an old bug to ensure it doesn't return.

  • svg/custom/animate-use-crash.xhtml: Added.
15:34 Google Summer of Code 2010 edited by jeremy@chromium.org
(diff)
15:01 Google Summer of Code 2010 created by jeremy@chromium.org
GSoC 2010 page - in case we want to participate
14:59 Changeset [55174] by eric@webkit.org

2010-02-23 James Choi <jchoi42@pha.jhu.edu>

Add Solaris definitions
https://bugs.webkit.org/show_bug.cgi?id=35214

  • WebKit/chromium/src/WebViewImpl.cpp
  • WebKit/chromium/src/WebFrameImpl.cpp
14:43 Changeset [55173] by eric@webkit.org

2010-02-23 Arno Renevier <arno@renevier.net>

Reviewed by Gustavo Noronha Silva.

[Gtk]: testwebview does not work when called with absolute path
https://bugs.webkit.org/show_bug.cgi?id=34940

When testwebview is called as absolute path, chdir to executable
directory before searching resource files.

  • GNUmakefile.am:
14:39 Changeset [55172] by beidson@apple.com

Regression (r55107) - WebInspector docking is busted.
https://bugs.webkit.org/show_bug.cgi?id=35274

Reviewed by Tim Hatcher and Pavel Feldman.

WebCore:

  • inspector/InspectorController.cpp:

(WebCore::InspectorController::canAttachWindow): Use the minimum height for this calculation,

not the preferred height.

(WebCore::InspectorController::attachWindow): attachWindow() shouldn't decide the policy, as it is

often called partway through the show or dock procedure after some of the initial conditions have
changed. Let the front-end itself and the InspectorClient's make the policy decision at the start
of the show/dock operation.

  • inspector/InspectorFrontendHost.cpp:

(WebCore::InspectorFrontendHost::canAttachWindow):

  • inspector/InspectorFrontendHost.h:
  • inspector/InspectorFrontendHost.idl:
  • inspector/front-end/inspector.js:

(WebInspector.toggleAttach): Before attaching, ask the front-end-host if attaching is allowed.

WebKit/mac:

  • WebCoreSupport/WebInspectorClient.mm:

(-[WebInspectorWindowController showWindow:]): Swap the order of the "should attach?" check

to get the expected behavior.

WebKit/win:

  • WebCoreSupport/WebInspectorClient.cpp:

(WebInspectorClient::showWindowWithoutNotifications): Swap the order of the "should attach?" check

to get the expected behavior.

LayoutTests:

  • inspector/timeline-event-dispatch.html: Actually click in the right place now that the inspector isn't docked anymore.
14:17 Changeset [55171] by eric@webkit.org

2010-02-23 James Hawkins <jhawkins@chromium.org>

Reviewed by Darin Fisher.

[Chromium] Implement WebDocument::getElementsByTagName.

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

  • public/WebDocument.h:
  • src/WebDocument.cpp: (WebKit::WebDocument::getElementsByTagName):
14:03 Changeset [55170] by jberlin@webkit.org

2010-02-23 Jessie Berlin <jberlin@webkit.org>

Reviewed by Eric Seidel and Adam Roben.

Debugging WebKit on Windows should mention WebKit.sln as an alternative to running debug-safari.
https://bugs.webkit.org/show_bug.cgi?id=35098

  • building/debug.html: Add instructions on how to build and run WebKit from within Visual Studio.
14:01 Changeset [55169] by mrowe@apple.com

<http://webkit.org/b/35287> ImageSourceCG::frameIsCompleteAtIndex returns false for all frames until image has completed loading

Reviewed by Geoff Garen.

CGImageSourceGetStatusAtIndex claims that all frames of a multi-frame image are incomplete when we've not yet received the
complete data for an image that is using an incremental data source (<rdar://problem/7679174>). We work around this by
special-casing all frames except the last in an image and treating them as complete if they are present and reported as
being incomplete. We do this on the assumption that loading new data can only modify the existing last frame or append new
frames. The last frame is only treated as being complete if the image source reports it as such. This ensures that it is
truly the last frame of the image rather than just the last that we currently have data for.

  • platform/graphics/cg/ImageSourceCG.cpp:

(WebCore::ImageSource::frameIsCompleteAtIndex):

13:31 Changeset [55168] by kov@webkit.org

2010-02-23 Mario Blättermann <mariobl@freenet.de>

Reviewed by Gustavo Noronha.

German translation update.

  • de.po:
13:31 Changeset [55167] by enrica@apple.com

WebCore: Crash in createContextualFragment when inserting a list in a non HTML document.
<rdar://problem/7666670>
https://bugs.webkit.org/show_bug.cgi?id=35305

Reviewed by Darin Adler.

createFragmentFromMarkup did not handle correctly the case where documentElement is
not an HTMLElement. The static cast to HTMLElement was causing createContextualFragment to
crash.

Test: editing/execCommand/insert-list-xml.xhtml

  • dom/Element.cpp:

(WebCore::Element::createContextualFragment): Added.

  • dom/Element.h: Added createContextualFragment virtual function.
  • editing/markup.cpp:

(WebCore::createFragmentFromMarkup): Removed static cast to HTMLElement.

  • html/HTMLElement.cpp:

(WebCore::HTMLElement::createContextualFragment): Modified to perform only checks
that are specific for an HTMLElement object. The rest of the logic has been moved to the
corresponding method in the Element class.

LayoutTests: Crash in createContextualFragment when inserting a list in a non HTML document.
<rdar://problem/7666670>
https://bugs.webkit.org/show_bug.cgi?id=35305

Reviewed by Darin Adler.

  • editing/execCommand/insert-list-xml-expected.txt: Added.
  • editing/execCommand/insert-list-xml.xhtml: Added.
13:25 Changeset [55166] by kov@webkit.org

2010-02-23 Daniel Nylander <po@danielnylander.se>

Reviewed by Gustavo Noronha.

Swedish translation update.

  • sv.po:
13:20 Changeset [55165] by kov@webkit.org

2010-02-23 Ankit Patel <ankit@redhat.com>

Reviewed by Gustavo Noronha.

Gujarati translation.

  • gu.po: Added.
13:13 Changeset [55164] by eric@webkit.org

2010-02-23 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Need a final integration between QtLauncher and QGVLauncher
https://bugs.webkit.org/show_bug.cgi?id=35292

WebKit coding style fixes.

  • QtLauncher/main.cpp: (LauncherWindow::resetZoom):
12:39 Changeset [55163] by eric@webkit.org

2010-02-23 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Need a final integration between QtLauncher and QGVLauncher
https://bugs.webkit.org/show_bug.cgi?id=35292

Add cloneWindow feature to QtLauncher, when running on QGraphicsView mode.

  • QtLauncher/main.cpp: (LauncherWindow::LauncherWindow): (LauncherWindow::~LauncherWindow): (LauncherWindow::init): (LauncherWindow::cloneWindow): (LauncherWindow::setupUI):
12:07 Changeset [55162] by sfalken@apple.com

2010-02-23 Steve Falkenburg <sfalken@apple.com>

Reviewed by Adam Roben.

WebCore should stop throwing away the CGImageSourceRef on Windows to improve GIF performance
https://bugs.webkit.org/show_bug.cgi?id=35309

  • platform/graphics/cg/ImageSourceCG.cpp: (WebCore::ImageSource::clear):
10:15 Changeset [55161] by dpranke@chromium.org

fix check_wdiff_install

10:07 Changeset [55160] by kov@webkit.org

2010-02-23 Gustavo Noronha Silva <gns@gnome.org>

Rubber-stamped by Dimitri Glazkov.

Chromium build fix.

09:54 Changeset [55159] by mitz@apple.com

WebKit/mac: <rdar://problem/7611158> Incomplete repaint of YouTube timeline thumb while scrolling
https://bugs.webkit.org/show_bug.cgi?id=34381

Reviewed by Simon Fraser.

Test: fast/repaint/repaint-during-scroll.html

NSClipView offsets any rects marked as needing display during scrolling
by the scroll offset. Compensate for this when -setNeedsDisplay: is called
during scrolling.

  • WebView/WebHTMLView.mm:

(-[WebHTMLView _frameOrBoundsChanged]): Set inScrollPositionChanged to YES
around to call to FrameView::scrollPositionChanged().
(-[WebHTMLView setNeedsDisplayInRect:]): When called beneath
scrollPositionChanged(), adjust the rect by the inverse of the scroll offset.

LayoutTests: Rubber-stamped by Simon Fraser.

<rdar://problem/7611158> Incomplete repaint of YouTube timeline thumb while scrolling
https://bugs.webkit.org/show_bug.cgi?id=34381

  • fast/repaint/repaint-during-scroll.html: Added.
  • platform/mac/fast/repaint/repaint-during-scroll-expected.checksum: Added.
  • platform/mac/fast/repaint/repaint-during-scroll-expected.png: Added.
  • platform/mac/fast/repaint/repaint-during-scroll-expected.txt: Added.
09:52 Changeset [55158] by kov@webkit.org

2010-02-23 Leandro Pereira <leandro@profusion.mobi>

Reviewed by Gustavo Noronha Silva.

Changes references of GOwnPtr to reflect their new place.
http://webkit.org/b/35084

09:41 Changeset [55157] by beidson@apple.com

HTTP 307 after a 303 after a POST re-sends POST data from the original request.
<rdar://problem/7390251> and https://bugs.webkit.org/show_bug.cgi?id=31410

Reviewed by Alexey Proskuryakov.

WebCore:

Test: http/tests/loading/307-after-303-after-post.html

Remember the last HTTP method send out during a redirect chain for a resource handle:

  • platform/network/ResourceHandle.cpp:

(WebCore::ResourceHandle::lastHTTPMethod):

  • platform/network/ResourceHandle.h:
  • platform/network/ResourceHandleInternal.h:

(WebCore::ResourceHandleInternal::ResourceHandleInternal):

Refer to the last HTTP method used instead of the original method:

  • platform/network/cf/ResourceHandleCFNet.cpp:

(WebCore::willSendRequest):
(WebCore::ResourceHandle::willSendRequest):

  • platform/network/mac/ResourceHandleMac.mm:

(WebCore::ResourceHandle::willSendRequest):
(-[WebCoreResourceHandleAsDelegate connection:willSendRequest:redirectResponse:]):

LayoutTests:

  • http/tests/loading/307-after-303-after-post.html: Added.
  • http/tests/loading/resources/303-to-307-target.php: Added.
  • http/tests/loading/resources/307-post-output-target.php: Added.
  • http/tests/loading/resources/post-to-303-target.php: Added.
  • platform/gtk/Skipped:
  • platform/qt/Skipped:
09:27 Changeset [55156] by dbates@webkit.org

2010-02-23 Crystal Zhang <haizhang@rim.com>

Unreviewed build fix.

Fix build error when enable plugin proxy: 'toRenderEmbeddedObject' identifier not found.
As RenderEmbeddedObject inherits RenderPartObject and 'toRenderEmbeddedObject' belongs
to former one.

  • html/HTMLMediaElement.cpp:
08:53 Changeset [55155] by eric@webkit.org

2010-02-23 Evan Martin <evan@chromium.org>

Reviewed by Jeremy Orlow.

[chromium] fix previous SVG-disabling patch
https://bugs.webkit.org/show_bug.cgi?id=35298

  • WebCore.gypi: rename variable
  • WebCore.gyp/WebCore.gyp: actually use the variable
08:32 Changeset [55154] by eric@webkit.org

2010-02-23 Michael Lotz <mmlr@mlotz.ch>

Reviewed by David Levin.

[Haiku] Fix conversion from BString to String
https://bugs.webkit.org/show_bug.cgi?id=35082

The previous patch to this file was broken (sorry). First of all,
the conversion from UTF8 was accidentally removed. Second, for
empty strings, we need to point the implementation at StringImpl::empty().

Covered by existing tests.

  • platform/text/haiku/StringHaiku.cpp: (WebCore::String::String):
08:00 Changeset [55153] by vestbo@webkit.org

[Qt] Prevent the media backend from handling non-audio or -video mime types

Reviewed by Eric Carlson.

  • platform/graphics/qt/MediaPlayerPrivateQt.cpp:
07:46 Changeset [55152] by evan@chromium.org

2010-02-23 Evan Martin <evan@chromium.org>

Reviewed by Jeremy Orlow.

[chromium] Allow building without SVG
https://bugs.webkit.org/show_bug.cgi?id=31522

  • WebCore.gyp/WebCore.gyp, WebCore.gypi: test enable_svg flag.
  • bindings/v8/custom/V8SVGDocumentCustom.cpp, bindings/v8/custom/V8SVGPathSegCustom.cpp: test ENABLE(SVG).
07:28 Changeset [55151] by eric@webkit.org

2010-02-23 Leandro Pereira <leandro@profusion.mobi>

Reviewed by NOBODY.

Fix false positives for 'delete *pointer' statements.
http://webkit.org/b/35235

  • WebKitTools/Scripts/webkitpy/style/processors/cpp.py:
07:21 Changeset [55150] by kov@webkit.org

2010-02-23 Leandro Pereira <leandro@profusion.mobi>

Reviewed by Gustavo Noronha Silva.

Fixes references to GOwnPtr and GRefPtr so the GTK+ port builds
again.
http://webkit.org/b/35084

06:35 Companies and Organizations that have contributed to WebKit edited by skyul@company100.net
(diff)
06:21 Changeset [55149] by eric@webkit.org

2010-02-23 Leandro Pereira <leandro@profusion.mobi>

Reviewed by Kenneth Rohde Christiansen.

Adding the EFL implementation of JavaScriptCore.
See https://bugs.webkit.org/show_bug.cgi?id=35084 for details.

  • GNUmakefile.am: Updated to reflect the new location of GOwnPtr and

GRefPtr.

  • wtf/efl/MainThreadEfl.cpp: Added.
  • wtf/gobject/GOwnPtr.cpp: Moved from wtf/gtk.
  • wtf/gobject/GOwnPtr.h: Moved from wtf/gtk.
  • wtf/gobject/GRefPtr.cpp: Moved from wtf/gtk.
  • wtf/gobject/GRefPtr.h: Moved from wtf/gtk.
06:17 Changeset [55148] by ariya@webkit.org

2010-02-23 Ariya Hidayat <ariya.hidayat@gmail.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Faster cut-off for rectangle drawing without shadow.
https://bugs.webkit.org/show_bug.cgi?id=35267

  • platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::drawRect):
06:05 Changeset [55147] by eric@webkit.org

2010-02-23 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

Removes redundant Settings::setGeolocationEnabled and Settings::geolocationEnabled
https://bugs.webkit.org/show_bug.cgi?id=35242

No new tests, removing dead code only.

  • page/Settings.cpp:
  • page/Settings.h:

2010-02-23 Steve Block <steveblock@google.com>

Reviewed by Jeremy Orlow.

Removes redundant Settings::setGeolocationEnabled and Settings::geolocationEnabled
https://bugs.webkit.org/show_bug.cgi?id=35242

This removes Chromium's WebSettings::setGeolocationEnabled

  • public/WebSettings.h:
  • src/WebSettingsImpl.cpp:
  • src/WebSettingsImpl.h:
05:12 Changeset [55146] by eric@webkit.org

2010-02-23 Ben Murdoch <benm@google.com>

Reviewed by Eric Seidel.

pageX/Y co-ordinates of TouchEvent should be 0,0
https://bugs.webkit.org/show_bug.cgi?id=35239

Update layout tests to reflect the WebCore changes in this bug.

  • fast/events/touch/basic-multi-touch-events-expected.txt: Updated.
  • fast/events/touch/basic-single-touch-events-expected.txt: Updated.
  • fast/events/touch/script-tests/basic-multi-touch-events.js: (verifyTouchEvent): Add checking of TouchEvent.pageX/Y
  • fast/events/touch/script-tests/basic-single-touch-events.js: (verifyTouchEvent): ditto.

2010-02-23 Ben Murdoch <benm@google.com>

Reviewed by Eric Seidel.

pageX/Y co-ordinates of TouchEvent should be 0,0
https://bugs.webkit.org/show_bug.cgi?id=35239

The co-ordinates attached to a touch event are not used for tracking touch motion, rather the co-ordinates attached to Touches within the touch event should be used. Set the co-ordinates on the event itself to 0 to avoid confusion and match observed iPhone behavior.

  • page/EventHandler.cpp: (WebCore::EventHandler::handleTouchEvent): Set the pageX/Y and screenX/Y co-ordinates attached to the touch event to 0,0 to match observed behavior on the iPhone.
  • page/EventHandler.h: Remove now unused members m_firstTouchScreenPos and m_firstTouchPagePos.
04:53 Changeset [55145] by eric@webkit.org

2010-02-23 Stephan Aßmus <superstippi@gmx.de>

Reviewed by Eric Seidel.

[Haiku] Various improvements to EventHandlerHaiku.
https://bugs.webkit.org/show_bug.cgi?id=34685

Covered by existing tests.

Fix the build by not including PlatformScrollBar.h.

  • page/haiku/EventHandlerHaiku.cpp: (WebCore::isKeyboardOptionTab):

Use the correct keycode for tab keys.

(WebCore::EventHandler::focusDocumentView):

Use proper locking. In any case, Haiku doesn't append platform
widgets to WebCore widgets. But if it did, this implementation
would be correct.

(WebCore::EventHandler::passWidgetMouseDownEventToWidget):

Implemented.

(WebCore::EventHandler::eventActivatedView):

Removed notImplemented() and added note.

(WebCore::EventHandler::passMousePressEventToSubframe):

Implemented.

(WebCore::EventHandler::passMouseMoveEventToSubframe):

Implemented.

(WebCore::EventHandler::passMouseReleaseEventToSubframe):

Implemented.

(WebCore::EventHandler::accessKeyModifiers):

Added note.

04:43 Changeset [55144] by hamaji@chromium.org

2010-02-23 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Eric Seidel.

[Gtk] Implement layoutTestController.numberOfPages
https://bugs.webkit.org/show_bug.cgi?id=35228

  • platform/gtk/Skipped:

2010-02-23 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Eric Seidel.

[Gtk] Implement layoutTestController.numberOfPages
https://bugs.webkit.org/show_bug.cgi?id=35228

  • webkit/webkitprivate.h:
  • webkit/webkitwebframe.cpp: (webkit_web_frame_number_of_pages):

2010-02-23 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by Eric Seidel.

[Gtk] Implement layoutTestController.numberOfPages
https://bugs.webkit.org/show_bug.cgi?id=35228

  • DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::numberOfPages):
04:27 Changeset [55143] by tony@chromium.org

2010-02-23 Tony Chang <tony@chromium.org>

Not reviewed.
Revert r55135 because the layout test is failing on all the bots.
https://bugs.webkit.org/show_bug.cgi?id=34634

  • editing/pasteboard/paste-list-004-expected.txt: Removed.
  • editing/pasteboard/paste-list-004.html: Removed.

2010-02-23 Tony Chang <tony@chromium.org>

Not reviewed.
Revert r55135 because the layout test is failing on all the bots.
https://bugs.webkit.org/show_bug.cgi?id=34634

  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::insertAsListItems):
04:07 Changeset [55142] by steveblock@google.com

Adds cache to store Geolocation positions between browser sessions.
https://bugs.webkit.org/show_bug.cgi?id=34084

Reviewed by Ariya Hidayat.

This is required to fully implement the Geolocation maximumAge property.
See Bug 30676.

No new tests, will add tests for maximumAge once complete.

  • Android.mk: Modified. Added GeolocationPositionCache.cpp
  • GNUmakefile.am: Modified. Added GeolocationPositionCache.[cpp|h]
  • WebCore.gypi: Modified. Added GeolocationPositionCache.[cpp|h]
  • WebCore.pro: Modified. Added GeolocationPositionCache.[cpp|h]
  • WebCore.vcproj/WebCore.vcproj: Modified. Added GeolocationPositionCache.[cpp|h]
  • WebCore.xcodeproj/project.pbxproj: Modified. Added GeolocationPositionCache.[cpp|h]
  • page/GeolocationPositionCache.cpp: Added.

(WebCore::GeolocationPositionCache::GeolocationPositionCache):
(WebCore::GeolocationPositionCache::~GeolocationPositionCache):
(WebCore::GeolocationPositionCache::setCachedPosition):
(WebCore::GeolocationPositionCache::cachedPosition):
(WebCore::GeolocationPositionCache::setDatabasePath):
(WebCore::GeolocationPositionCache::readFromDB):
(WebCore::GeolocationPositionCache::writeToDB):

  • page/GeolocationPositionCache.h: Added.
04:04 Changeset [55141] by eric@webkit.org

2010-02-23 Yuta Kitamura <yutak@chromium.org>

Reviewed by Dan Bernstein.

Fix alignment of vertical-align: text-bottom inside an inline-block.

This patch is based on a fix provided by Takahito Hirano.

display: inline-block + vertical-align: text-bottom causes misalignment.
https://bugs.webkit.org/show_bug.cgi?id=30846

  • fast/inline-block/inline-block-vertical-align-2.html: Added.
  • fast/inline-block/inline-block-vertical-align-2-expected.txt: Added.

2010-02-23 Yuta Kitamura <yutak@chromium.org>

Reviewed by Dan Bernstein.

Fix alignment of vertical-align: text-bottom inside an inline-block.

This patch is based on a fix provided by Takahito Hirano.

display: inline-block + vertical-align: text-bottom causes misalignment.
https://bugs.webkit.org/show_bug.cgi?id=30846

Test: fast/inline-block/inline-block-vertical-align-2.html

  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::verticalPosition): Fixed vpos calculation. We cannot cut corners for inline blocks, since they may have their own text metrics.
03:43 Changeset [55140] by steveblock@google.com

Sets default values of V8 runtime enabler flags to match behavior with JSC
https://bugs.webkit.org/show_bug.cgi?id=35095

03:25 Changeset [55139] by eric@webkit.org

2010-02-23 José Millán Soto <jmillan@igalia.com>

Reviewed by Xan Lopez.

[Gtk] Server message not shown on http authentication
https://bugs.webkit.org/show_bug.cgi?id=34219

  • webkit/webkitsoupauthdialog.c: (show_auth_dialog): Server message is displayed, messageLabel and message variables were renamed to avoid confusion.
03:09 Changeset [55138] by eric@webkit.org

2010-02-23 Stephan Aßmus <superstippi@gmx.de>

Reviewed by Eric Seidel.

[Haiku] Fix various issues in keyboard event generation.
https://bugs.webkit.org/show_bug.cgi?id=34685

Covered by existing tests.

Fixed backspace keycode.
Fixed using the appropriate fields from the Haiku event for mapping
to the VK_* codes and added mapping a great deal more codes.
Added extraction of modifier key flags.
Completed implementation of disambiguateKeyDownEvent()
Implemented currentCapsLockState().

  • platform/haiku/PlatformKeyboardEventHaiku.cpp: (WebCore::keyIdentifierForHaikuKeyCode): (WebCore::windowsKeyCodeForKeyEvent): (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent): (WebCore::PlatformKeyboardEvent::disambiguateKeyDownEvent): (WebCore::PlatformKeyboardEvent::currentCapsLockState):
02:53 Changeset [55137] by eric@webkit.org

2010-02-23 Dmitriy Belenko <dbelenko@google.com>

Reviewed by Darin Fisher.

Chromium: Need to be able to get the bounds of selection
rectangle(s)
https://bugs.webkit.org/show_bug.cgi?id=34915

This change will enable about 30 test cases to pass in Chromium.
All of these test cases are related to selection rect boundaries.
This change will enable the test cases to retrieve the selection
rect boundary rectangle for the current selection.

  • public/WebFrame.h:
  • src/WebFrameImpl.cpp: (WebKit::WebFrameImpl::selectionBoundsRect):
  • src/WebFrameImpl.h:
02:35 Changeset [55136] by steveblock@google.com

Adds Client::cancelGeolocationPermissionRequestForFrame and ChromeClient::cancelGeolocationPermissionRequestForFrame
https://bugs.webkit.org/show_bug.cgi?id=34962

These methods are required so that a Geolocation object can cancel an
asynchronous permission request. This allows the chrome client to cancel
any UI it is showing for the permission request.

02:19 Changeset [55135] by eric@webkit.org

2010-02-23 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=34634
Pasting a list into the middle of another list item should split the target
list item into two separate list items. This matches the behavior in other
browsers.

  • editing/pasteboard/paste-list-004-expected.txt: Added.
  • editing/pasteboard/paste-list-004.html: Added.

2010-02-23 Tony Chang <tony@chromium.org>

Reviewed by Eric Seidel.

https://bugs.webkit.org/show_bug.cgi?id=34634
Pasting a list into the middle of another list item should split the target
list item into two separate list items. This matches the behavior in other
browsers.

Test: editing/pasteboard/paste-list-004.html

  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplaceSelectionCommand::insertAsListItems):
02:03 Changeset [55134] by eric@webkit.org

2010-02-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] QtLauncher should not use internal JavaScriptCore and WebCore interfaces
https://bugs.webkit.org/show_bug.cgi?id=35248

  • QtLauncher/QtLauncher.pro:
  • QtLauncher/utils.h:
01:55 Changeset [55133] by jocelyn.turcotte@nokia.com

[Qt] Correct build problems while building QtWebKit inside Qt.
https://bugs.webkit.org/show_bug.cgi?id=34975

Reviewed by Laszlo Gombos.

  • WebCore.pro: Change the condition !standalone_package to !QTDIR_build
01:47 Changeset [55132] by eric@webkit.org

2010-02-23 Noam Rosenthal <noam.rosenthal@nokia.com>

Reviewed by Ariya Hidayat.

[Qt] Connect video with accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=35276

MediaControlPrivate and GraphicsLayer are patched together via
a shared PlatformLayer (QGraphicsItem). This patch makes sure that the
QGraphicsVideoItem from MediaControl becomes part of the scene
associsated with GraphicsLayer

Test: http://double.co.nz/video_test/test1.html with AC turned on

  • platform/graphics/qt/GraphicsLayerQt.cpp: (WebCore::GraphicsLayerQtImpl::): mediaLayer member (WebCore::GraphicsLayerQtImpl::opaqueArea): video is opaque (WebCore::GraphicsLayerQtImpl::paint): don't paint video (WebCore::GraphicsLayerQtImpl::flushChanges): flush mediaLayer (WebCore::GraphicsLayerQt::setContentsToMedia): notify
  • platform/graphics/qt/GraphicsLayerQt.h: reimp setContentsToMedia
  • platform/graphics/qt/MediaPlayerPrivateQt.cpp: (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): m_compositing (WebCore::MediaPlayerPrivate::paint): don't paint if compositing (WebCore::MediaPlayerPrivate::acceleratedRenderingStateChanged): reimp from MediaPlayerPrivateInterface to support AC (WebCore::MediaPlayerPrivate::platformLayer): ditto
  • platform/graphics/qt/MediaPlayerPrivateQt.h: (WebCore::MediaPlayerPrivate::supportsAcceleratedRendering): ditto
01:31 Changeset [55131] by eric@webkit.org

2010-02-23 Daniel Bates <dbates@rim.com>

Reviewed by Eric Seidel.

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

Prompts a person for their SVN username if not already cached (by Subversion).

Currently, webkit-patch is unable to commit to the SVN repo. unless the
WebKit SVN username is already cached (from of a prior commit by hand)
because "svn commit" (called by webkit-patch) defaults to using the system
login name unless the username is already cached or specified on the
command line.

  • Scripts/webkitpy/scm.py: Added methods SVN.has_authorization_for_realm and modified SVN.commit_with_message to call it. Added optional username parameter to method SVN.commit_with_message.
  • Scripts/webkitpy/scm_unittest.py: Added unit test methods: SVNTest.test_commit_with_username, SVNTest.test_has_authorization_for_realm, and SVNTest.test_not_have_authorization_for_realm.
01:14 Changeset [55130] by eric@webkit.org

2010-02-23 Stephan Aßmus <superstippi@gmx.de>

Reviewed by Eric Seidel.

Fix various issues in PlatformWheelEventHaiku.
https://bugs.webkit.org/show_bug.cgi?id=34685

Covered by existing tests.

Fixed coding style violations.
Synced extracting the correct coordinates with Haiku WebKit implementation.
Added extracting modifier key flags.

  • platform/haiku/PlatformWheelEventHaiku.cpp: (WebCore::PlatformWheelEvent::PlatformWheelEvent):
01:02 Changeset [55129] by xan@webkit.org

2010-02-23 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Do not do unnecessary work during size_allocate.

FrameView::resize will already queue a layout, so there's no need
to force one ourselves. On top of that, the layout function
already adjusts the view size when needed, so there's no need to
do that manually either. No change in the layout tests or unit
tests after this.

  • webkit/webkitwebview.cpp: (webkit_web_view_size_allocate):
00:58 Changeset [55128] by eric@webkit.org

2010-02-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Reviewed by Eric Seidel.

Build fix for PluginView
https://bugs.webkit.org/show_bug.cgi?id=35230

No new tests, build fix only.

  • plugins/PluginView.cpp:
  • plugins/PluginView.h:
  • plugins/PluginViewNone.cpp:
00:42 Changeset [55127] by eric@webkit.org

2010-02-23 Diego Escalante Urrelo <descalante@igalia.com>

Reviewed by Eric Seidel.

[gtk] missing libsoup-2.4 package in gir generation
https://bugs.webkit.org/show_bug.cgi?id=35199

Include libsoup-2.4 package in gobject introspection .gir generation.

  • GNUmakefile.am:
00:26 Changeset [55126] by eric@webkit.org

2010-02-23 Kwang Yul Seo <skyul@company100.net>

Reviewed by Eric Seidel.

[BREWMP] Port ScriptController::createScriptInstanceForWidget
https://bugs.webkit.org/show_bug.cgi?id=34413

  • bindings/js/ScriptControllerBrew.cpp: Added. (WebCore::ScriptController::createScriptInstanceForWidget):
00:19 Changeset [55125] by philn@webkit.org

2010-02-18 Philippe Normand <pnormand@igalia.com>

Reviewed by Eric Seidel.

media/video-display-aspect-ratio.html fails
https://bugs.webkit.org/show_bug.cgi?id=34933

Original patch by Eric Carlson.

  • media/content/test-par-16-9.mp4: Change the width of the video track from 426.666 to 426.
  • platform/mac-leopard/Skipped: Unskip the test, it should pass now.
00:09 Changeset [55124] by eric@webkit.org

2010-02-23 José Millán Soto <jmillan@igalia.com>

Reviewed by Eric Seidel.

[Gtk] Webkit crashes when using orca
https://bugs.webkit.org/show_bug.cgi?id=35169

Made webkit_accessible_text_get_caret_offset check if end selection
node is null.

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

02/22/10:

23:53 Changeset [55123] by eric@webkit.org

2010-02-22 Dirk Pranke <dpranke@chromium.org>

Reviewed by Eric Siedel.

Add more checking for missing binaries and packages to check_sys_deps()

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

  • Scripts/webkitpy/layout_tests/port/base.py:
  • Scripts/webkitpy/layout_tests/port/chromium.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/run_chromium_webkit_tests.py:
23:37 Changeset [55122] by eric@webkit.org

2010-02-22 Stephan Aßmus <superstippi@gmx.de>

Reviewed by Eric Seidel.

[Haiku] Implemented PopupMenu support.
https://bugs.webkit.org/show_bug.cgi?id=35078

Covered by existing tests.

The implementation is currently very simple: Added a PopupMenuHaiku
class that derives from a native BPopUpMenu. It attaches a BHandler
derivative to the BApplication (WebCore main thread) which receives
the item invokation and menu hidden events and informs the PopupMenuClient
accordingly.

  • platform/PopupMenu.h:

Changed type of m_menu for Haiku.

  • platform/haiku/PopupMenuHaiku.cpp: (WebCore::PopupMenuHandler::PopupMenuHandler): (WebCore::PopupMenuHandler::MessageReceived): (WebCore::PopupMenuHaiku::PopupMenuHaiku): (WebCore::PopupMenuHaiku::~PopupMenuHaiku): (WebCore::PopupMenuHaiku::show): (WebCore::PopupMenuHaiku::hide): (WebCore::PopupMenuHaiku::Hide): (WebCore::PopupMenu::PopupMenu): (WebCore::PopupMenu::~PopupMenu):

Removed bogus code.

(WebCore::PopupMenu::show):

Implemented using new PopupMenuHaiku class.

(WebCore::PopupMenu::hide):

Implemented using new PopupMenuHaiku class.

(WebCore::PopupMenu::updateFromElement):

Implemented.

(WebCore::PopupMenu::itemWritingDirectionIsNatural):

Implemented according to Gtk port.

22:28 Changeset [55121] by hamaji@chromium.org

2010-02-22 Shinichiro Hamaji <hamaji@chromium.org>

Reviewed by David Levin.

[Gtk] check-webkit-style: GTK style should be allowed in WebKitTools/DumpRenderTree/gtk
https://bugs.webkit.org/show_bug.cgi?id=35229

  • Scripts/webkitpy/style/checker.py:
  • Scripts/webkitpy/style/checker_unittest.py:
21:03 Changeset [55120] by jchaffraix@webkit.org

Remove auto_ptr usage in JavaScriptCore.
https://bugs.webkit.org/show_bug.cgi?id=35221

Reviewed by Darin Adler.

  • parser/Nodes.h: Removed now unneeded adopt method.
  • parser/Parser.cpp: Removed <memory> include as it is not required anymore.
  • wtf/OwnPtr.h: Removed the constructor from auto_ptr.
  • wtf/VectorTraits.h: Removed a template specialization for auto_ptr.
  • wtf/unicode/Collator.h: Made userDefault return a PassOwnPtr.
  • wtf/unicode/CollatorDefault.cpp:

(WTF::Collator::userDefault): Changed the method to match the next signature.

  • wtf/unicode/icu/CollatorICU.cpp:

(WTF::Collator::userDefault): Ditto.

20:50 Changeset [55119] by jamesr@google.com

2010-02-22 James Robinson <jamesr@chromium.org>

Unreviewed. Adding myself to committers list.

  • Scripts/webkitpy/committers.py:
20:29 Changeset [55118] by simon.fraser@apple.com

2010-02-22 Simon Fraser <simon.fraser@apple.com>

Reviewed by Darin Adler.

Remove DRT hack that turns off hardware acceleration with older QuickTimes
https://bugs.webkit.org/show_bug.cgi?id=35275

Now that WebKit does a version check to avoid a QuickTime-related
crash (r55100), DumpRenderTree does not need to.

  • DumpRenderTree/mac/DumpRenderTree.mm: (resetDefaultsToConsistentValues):
17:55 Changeset [55117] by eric@webkit.org

2010-02-22 Huahui Wu <hwu@google.com>

Reviewed by Eric Seidel.

Add code that enables SquirrelFish Extreme (a.k.a JSCX, JSC JIT)
in Android. It's disabled by default, but is enabled when the
enveronment variable ENABLE_JSC_JIT is set to true.
https://bugs.webkit.org/show_bug.cgi?id=34855

  • Android.mk:

2010-02-22 Huahui Wu <hwu@google.com>

Reviewed by Eric Seidel.

Add code that enables SquirrelFish Extreme (a.k.a JSCX, JSC JIT)
in Android. It's disabled by default, but is enabled when the
enveronment variable ENABLE_JSC_JIT is set to true.
https://bugs.webkit.org/show_bug.cgi?id=34855

  • Android.mk:
  • wtf/Platform.h:
17:29 Changeset [55116] by eric@webkit.org

2010-02-22 Stephan Aßmus <superstippi@gmx.de>

Reviewed by Eric Seidel.

Fix various issues in PlatformMouseEventHaiku.
https://bugs.webkit.org/show_bug.cgi?id=34685

Covered by existing tests.

Mapping Haiku button constants (bit field) to WebCore buttons was broken.
Extracting event time was broken (supposed to be in seconds).
Wrong coordinate was being extracted, needs to be content local.
Added extracting modifier key flags.

  • platform/haiku/PlatformMouseEventHaiku.cpp: (WebCore::PlatformMouseEvent::PlatformMouseEvent):
17:12 Changeset [55115] by eric@webkit.org

2010-02-22 Stephan Aßmus <superstippi@gmx.de>

Reviewed by Eric Seidel.

[Haiku] Implement creating and filling platform gradients.
https://bugs.webkit.org/show_bug.cgi?id=34683

Covered by existing tests.

  • platform/graphics/Gradient.h:

Typedef PlatformGradient to BGradient

  • platform/graphics/haiku/GradientHaiku.cpp: (WebCore::Gradient::platformDestroy):

Delete the cached BGradient object.

(WebCore::Gradient::platformGradient):

Create a BGradient object according to the type of Gradient.
Return the cached object.

(WebCore::Gradient::fill):

use BView API to fill with the platform gradient.

17:01 Changeset [55114] by tony@chromium.org

2010-02-22 Chris Evans <cevans@chromium.org>

Reviewed by Darin Adler.

Add test for https://bugs.webkit.org/show_bug.cgi?id=32842
It has been fixed on trunk for a while, but we want to make sure we
do not regress.

  • fast/text/find-layout-crash.html: Added.
  • fast/text/find-layout-crash-expected.txt: Added.
16:55 Changeset [55113] by eric@webkit.org

2010-02-22 Stephan Aßmus <superstippi@gmx.de>

Reviewed by Eric Seidel.

Build fix for debug builds of GlyphPageTreeNode.cpp
https://bugs.webkit.org/show_bug.cgi?id=34528

Covered by existing tests.

  • platform/graphics/GlyphPageTreeNode.cpp:

include <stdio.h> since printf() is used if NDEBUG is not defined.

16:45 Changeset [55112] by sfalken@apple.com

WebKit on Windows should pick up system setting changes without requiring explicit API calls
https://bugs.webkit.org/show_bug.cgi?id=35269

Reviewed by Darin Adler.

  • WebKit.vcproj/WebKit.def: Removed WebKitSystemParameterChanged.
  • WebKit.vcproj/WebKit_debug.def: Removed WebKitSystemParameterChanged.
  • WebKitGraphics.cpp: Removed WebKitSystemParameterChanged.
  • WebKitGraphics.h: Removed WebKitSystemParameterChanged.
  • WebView.cpp:

(systemParameterChanged): Call through to wkSystemFontSmoothingChanged for font changes.
(WebView::windowReceivedMessage): Pick up WM_SETTINGCHANGE from windowReceivedMessage.

16:12 Changeset [55111] by japhet@chromium.org

2010-02-22 Nate Chapin <japhet@chromium.org>

Unreviewed, Chromium build fix.

Add special case in CodeGeneratorV8.pm for named getters for html plugin-related elements.

CodeGeneratorV8.pm was relying on HasOverridingNameGetter to hint
that a custom named getter was needed. That hint was removed in
http://trac.webkit.org/changeset/55104.

  • bindings/scripts/CodeGeneratorV8.pm:
15:28 Changeset [55110] by ossy@webkit.org

Rubber-stamped by Alexey Proskuryakov.

[Qt] fast/encoding/invalid-UTF-8-2.html fails
https://bugs.webkit.org/show_bug.cgi?id=35263

Qt Linux Release buildbot got the platform independent result for
fast/encoding/invalid-UTF-8-2.html instead of Qt specific one.

Qt specific expected file is removed to make buildbot green,
but it needs more investigation.

  • platform/qt/fast/encoding/invalid-UTF-8-2-expected.txt: Removed.
15:27 Changeset [55109] by ap@apple.com

Rubber-stamped by Geoff Garen.

Rename RuntimeObjectImp to RuntimeObject.

15:23 Changeset [55108] by pkasting@chromium.org

Avoid recursion when trying to get the size of a PNG; it's unnecessary
and in the worst case can lead to heap corruption.
https://bugs.webkit.org/show_bug.cgi?id=35167

Reviewed by Eric Seidel.

WebCore:

Test: fast/images/bad-png.html

  • platform/image-decoders/png/PNGImageDecoder.cpp:

(WebCore::PNGImageReader::decode):

LayoutTests:

  • fast/images/bad-png-expected.txt: Added.
  • fast/images/bad-png.html: Added.
  • fast/images/resources/bad-png.png: Added.
15:20 BuildingOnWindows edited by aroben@apple.com
(diff)
15:10 Changeset [55107] by beidson@apple.com

Disable WebView docking to views that are too small.
<rdar://problem/7248409> and https://bugs.webkit.org/show_bug.cgi?id=35254

Reviewed by Tim Hatcher.

WebCore:

  • WebCore.base.exp:
  • inspector/InspectorController.cpp:

(WebCore::InspectorController::canAttachWindow): Provide a utility for WebKits to make a showWindow()

decision based on if attachment would be allowed or not.

(WebCore::InspectorController::attachWindow): Don't attach if the view is too small to attach to.

  • inspector/InspectorController.h:

WebKit/mac:

  • WebCoreSupport/WebInspectorClient.mm:

(-[WebInspectorWindowController showWindow:]): No matter the preference, don't open the inspector

window attached if WebCore says it shouldn't be attached.

WebKit/win:

  • WebCoreSupport/WebInspectorClient.cpp:

(WebInspectorClient::showWindowWithoutNotifications): No matter the preference, don't open the inspector

window attached if WebCore says it shouldn't be attached.

14:32 Changeset [55106] by ap@apple.com

Build fix.

  • WebCore.base.exp: Export Instance::newRuntimeObject, it's virtual!
14:25 Changeset [55105] by ap@apple.com

Undo a small part of the previous commit.

  • bridge/runtime_method.cpp: (JSC::callRuntimeMethod): Let's keep the instance local variable as RefPtr for safety.
14:21 Changeset [55104] by ap@apple.com

Reviewed by Darin Adler.

https://bugs.webkit.org/show_bug.cgi?id=35260
Eliminate apple_runtime_object

No change in functionality, so no tests.

  • WebCore.base.exp: Don't export Instance::newRuntimeObject, WebKit doesn't need it.
  • bindings/js/JSHTMLAppletElementCustom.cpp:
  • bindings/js/JSHTMLEmbedElementCustom.cpp:
  • bindings/js/JSHTMLObjectElementCustom.cpp:
  • html/HTMLAppletElement.idl:
  • html/HTMLEmbedElement.idl:
  • html/HTMLObjectElement.idl: These objects no longer need overriding name getters, as they no longer intercept the apple_runtime_object property.
  • bindings/js/JSPluginElementFunctions.cpp: (WebCore::pluginInstance): This is no longer static. It was used for callPlugin() in this file, and now it's also used elsewhere when calling plug-in methods. (WebCore::runtimeObjectGetter): Removed. This function was only used by the intercepting name getters.
  • bindings/js/JSPluginElementFunctions.h: Export pluginInstance().
  • bindings/objc/WebScriptObject.mm: (+[WebScriptObject _convertValueToObjcValue:originRootObject:rootObject:]):
  • bridge/runtime_method.cpp: (JSC::callRuntimeMethod): Take plug-in element's instance directly, without relying on fake attribute lookup. One change resulting from this is that RuntimeObjectImp may not be created in some cases - this code only needs an instance, but the old code had to pass the instance wrapped into RuntimeObjectImp.
14:17 Changeset [55103] by ap@apple.com

2010-02-22 Robert Hogan <robert@roberthogan.net>

Reviewed by Alexey Proskuryakov.

https://bugs.webkit.org/show_bug.cgi?id=32937
LayoutTests/fast/encoding/invalid-UTF-8.html fails on Qt.

The test was verifying two things: first, that U+FFFD is rendered by the browser, and second,
that ill-formed UTF-8 sequences are turned into U+FFFD. Some aspects of the latter are not
precisely defined by the Unicode specification, so different platforms may legitimately
have different results.

Split the test into two: one to test the rendering of invalid UTF-8 sequences, and the other
to protect against regressions in each platform's decoding behaviour.

  • fast/encoding/invalid-UTF-8-2-expected.txt: Added.
  • fast/encoding/invalid-UTF-8-2.html: Added.
  • fast/encoding/invalid-UTF-8.html:
  • platform/mac/fast/encoding/invalid-UTF-8-expected.checksum:
  • platform/mac/fast/encoding/invalid-UTF-8-expected.png:
  • platform/mac/fast/encoding/invalid-UTF-8-expected.txt:
  • platform/qt/fast/encoding/invalid-UTF-8-2-expected.txt:
13:07 Changeset [55102] by cfleizach@apple.com

Bug 35186 - AX: AXFocused is not writable like it should be on nodes
https://bugs.webkit.org/show_bug.cgi?id=35186

Fixing layout test failure.

12:59 Changeset [55101] by sullivan@apple.com

https://bugs.webkit.org/show_bug.cgi?id=35256
HTMLSelectElement::setSelectedIndexByUser() can trigger unnecessary JS when there is no change to the selected index

Reviewed by Tim Hatcher.

No new tests because this code path is not used for JS-initiated changes.

  • html/HTMLSelectElement.cpp:

(WebCore::HTMLSelectElement::setSelectedIndexByUser):
Bail out if the to-be-selected index matches the already-selected index.

12:51 Changeset [55100] by simon.fraser@apple.com

2010-02-22 Simon Fraser <simon.fraser@apple.com>

Reviewed by John Sullivan.

<rdar://problem/7285392>
On Leopard, we have to disable hardware acceleration if we detect that the
installed Core Video framework has bug <rdar://problem/7228836>.

  • WebView/WebView.mm: (coreVideoHas7228836Fix): (-[WebView _preferencesChangedNotification:]):
12:18 Changeset [55099] by kov@webkit.org

Tagging 1.1.22.

12:05 Changeset [55098] by enrica@apple.com

Reproducible crash in WebCore::nextLinePosition on Tweeteorites.com
<rdar://problem/7615758>
https://bugs.webkit.org/show_bug.cgi?id=35060

Reviewed by Dan Bernstein.

WebCore:

Test: editing/selection/extend-byline-withfloat.html

  • editing/visible_units.cpp:

(WebCore::previousLinePosition): Skip elements with zero height.
(WebCore::nextLinePosition): Skip elements with zero height.

LayoutTests:

  • editing/selection/extend-byline-withfloat-expected.txt: Added.
  • editing/selection/extend-byline-withfloat.html: Added.
12:03 Changeset [55097] by japhet@chromium.org

2010-02-22 Nate Chapin <japhet@chromium.org>

Unreviewed, Chromium build fix.

  • bindings/scripts/CodeGeneratorV8.pm: Compile break due to bad patch merge.
11:53 Changeset [55096] by japhet@chromium.org

2010-02-22 Nate Chapin <japhet@chromium.org>

Reviewed by Dimitri Glazkov.

[V8] Streamline V8 event listener code. Merge all the variants of
V8DOMWrapper::getEventListner() into a single version and generate
addEventListener() and removeEventListener() bindings for all objects
except DOMWindow.

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

11:29 Changeset [55095] by cfleizach@apple.com

AX: AXFocused is not writable like it should be on nodes
https://bugs.webkit.org/show_bug.cgi?id=35186

Reviewed by Beth Dakin.

WebCore:

Test: platform/mac/accessibility/element-focus.html

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::canSetFocusAttribute):

LayoutTests:

  • platform/mac/accessibility/element-focus-expected.txt: Added.
  • platform/mac/accessibility/element-focus.html: Added.
11:24 Changeset [55094] by laszlo.1.gombos@nokia.com

2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Unreviewed Symbian build fix.

[Qt] Updated the def file with new exports to enable
building DumpRenderTree.

  • symbian/eabi/QtWebKitu.def:
11:12 Changeset [55093] by barraclough@apple.com

JSStringBuilder should not CRASH if allocation fails, it should throw a JSException.

Reviewed by Oliver Hunt.

  • runtime/JSGlobalObjectFunctions.cpp:
  • runtime/JSStringBuilder.h:

(JSC::JSStringBuilder::JSStringBuilder):
(JSC::JSStringBuilder::append):
(JSC::JSStringBuilder::build):

  • runtime/StringBuilder.h:

(JSC::StringBuilder::build):

  • wtf/Vector.h:

(WTF::VectorBufferBase::tryAllocateBuffer):
(WTF::):
(WTF::VectorBuffer::tryAllocateBuffer):
(WTF::::tryExpandCapacity):
(WTF::::tryReserveCapacity):
(WTF::::tryAppend):

11:07 Changeset [55092] by xan@webkit.org

2010-02-22 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Bump library versioning for 1.1.22 release.

  • configure.ac:

WebKit/gtk:

2010-02-22 Xan Lopez <xlopez@igalia.com>

Reviewed by Gustavo Noronha.

Update for release.

  • NEWS:
11:02 Changeset [55091] by eric@webkit.org

2010-02-22 Kwang Yul Seo <skyul@company100.net>

Reviewed by Eric Seidel.

[BREWMP] Map FastMalloc to BREW memory allocator
https://bugs.webkit.org/show_bug.cgi?id=33570

Use MALLOC macro instead of the standard malloc function.
Although RVCT provides malloc, we can't use it in BREW
because the loader does not initialize the base address properly.

  • wtf/FastMalloc.cpp:
  • wtf/brew/SystemMallocBrew.h: Added. (mallocBrew): (callocBrew): (freeBrew): (reallocBrew):
10:48 Changeset [55090] by simon.fraser@apple.com

2010-02-22 Simon Fraser <simon.fraser@apple.com>

Reviewed by Dan Bernstein, Darin Adler.

Remove addScrolledContentOffset/subtractScrolledContentOffset
https://bugs.webkit.org/show_bug.cgi?id=35225

Remove RenderLayer's addScrolledContentOffset() and subtractScrolledContentOffset()
methods, and instead use the existing scrolledContentOffset(), and use
IntSize and IntPoint instead of lots of x, y variables.

Added new IntPoint toPoint(const IntSize&) method as a convenience to convert a size to a point,
which is needed in a few places.

  • page/EventHandler.cpp: (WebCore::EventHandler::handleDrag): Use the new toPoint() convenience.
  • platform/graphics/IntPoint.h: (WebCore::toPoint): New convenience method to convert an IntSize to an IntPoint.
  • rendering/LayoutState.cpp: (WebCore::LayoutState::LayoutState):
  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::layoutBlock): (WebCore::RenderBlock::paintObject): (WebCore::RenderBlock::selectionGapRectsForRepaint): (WebCore::RenderBlock::nodeAtPoint): (WebCore::RenderBlock::offsetForContents):
  • rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::paintFillLayerExtended):
  • rendering/RenderInline.cpp: (WebCore::RenderInline::clippedOverflowRectForRepaint):
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateLayerPosition):
  • rendering/RenderLayer.h: (WebCore::RenderLayer::size):
  • rendering/RenderObject.cpp: (WebCore::RenderObject::computeRectForRepaint):
  • rendering/TextControlInnerElements.cpp: (WebCore::RenderTextControlInnerBlock::positionForPoint):
10:36 Changeset [55089] by agl@chromium.org

2009-02-22 Adam Langley <agl@google.com>

Reviewed by Darin Fisher.

fontconfig on Linux can change the render preferences on a per strike
basis (a strike a combination of face and size). Because of this, we
need to query fontconfig each time a new FontPlatformData is created
for a new size.

This patch adds support for querying this via ChromiumBridge.

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

  • platform/chromium/ChromiumBridge.h: add getRenderStyleForStrike
  • platform/graphics/chromium/FontCacheLinux.cpp: (WebCore::FontCache::createFontPlatformData):
  • platform/graphics/chromium/FontCustomPlatformData.cpp: (WebCore::FontCustomPlatformData::fontPlatformData):
  • platform/graphics/chromium/FontPlatformDataLinux.cpp: (WebCore::FontPlatformData::FontPlatformData): (WebCore::FontPlatformData::operator=): (WebCore::FontPlatformData::setupPaint): (WebCore::FontPlatformData::queryStyle): add code to query fontconfig via ChromiumBridge
  • platform/graphics/chromium/FontPlatformDataLinux.h:
10:11 Changeset [55088] by kov@webkit.org

Build fix for make distcheck.

09:25 Changeset [55087] by eric@webkit.org

2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

Fix compiler warning "suggest parentheses around"
https://bugs.webkit.org/show_bug.cgi?id=35197

No new tests as there is no new functionality.

  • wml/WMLVariables.cpp: (WebCore::substituteVariableReferences):
09:01 Changeset [55086] by kov@webkit.org

WebCore

2010-02-22 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Xan Lopez.

[Soup] loses information related to message flags when converting from/to Resource{Request,Response}
https://bugs.webkit.org/show_bug.cgi?id=35093

Store message flags in WebCore objects, and set them on the
SoupMessage, when creating one from them.

No behaviour change.

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::fillResponseFromMessage):
  • platform/network/soup/ResourceRequest.h: (WebCore::ResourceRequest::soupMessageFlags): (WebCore::ResourceRequest::setSoupMessageFlags):
  • platform/network/soup/ResourceRequestSoup.cpp: (WebCore::ResourceRequest::toSoupMessage): (WebCore::ResourceRequest::updateFromSoupMessage):
  • platform/network/soup/ResourceResponse.h: (WebCore::ResourceResponse::soupMessageFlags): (WebCore::ResourceResponse::setSoupMessageFlags):
  • platform/network/soup/ResourceResponseSoup.cpp: (WebCore::ResourceResponse::toSoupMessage): (WebCore::ResourceResponse::updateFromSoupMessage):

WebKit/gtk

2010-02-22 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Xan Lopez.

[Soup] loses information related to message flags when converting from/to Resource{Request,Response}
https://bugs.webkit.org/show_bug.cgi?id=35093

Update the flags that are stored in the request, when the response
is received.

  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
08:40 Changeset [55085] by vestbo@webkit.org

[Qt] Build the DRT in debug on Mac OS X

Reviewed by Kenneth Rohde Christiansen.

  • DumpRenderTree/qt/DumpRenderTree.pro:
08:17 Changeset [55084] by eric@webkit.org

2010-02-22 Steve Block <steveblock@google.com>

Reviewed by Nate Chapin.

Shared worker types used in globalObjectPrototypeIsDOMWindow are not properly guarded
https://bugs.webkit.org/show_bug.cgi?id=35238

No new tests, build fix only.

  • bindings/v8/V8DOMWrapper.cpp: (WebCore::globalObjectPrototypeIsDOMWindow):
07:16 Changeset [55083] by laszlo.1.gombos@nokia.com

2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Unreviewed build fix.

[Qt] Build fix for RVCT.

Fix after r55024. The "-i" option is for perl not for the
script.

  • DerivedSources.pro:
07:12 Changeset [55082] by eric@webkit.org

2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Add support for layout tests on Symbian
https://bugs.webkit.org/show_bug.cgi?id=31589

  • WebKit.pro:

2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Reviewed by Kenneth Rohde Christiansen.

[Qt] Add support for layout tests on Symbian
https://bugs.webkit.org/show_bug.cgi?id=31589

  • DumpRenderTree/qt/DumpRenderTree.pro:
  • DumpRenderTree/qt/DumpRenderTreeQt.cpp:
  • DumpRenderTree/qt/main.cpp: (main):
06:26 Changeset [55081] by eric@webkit.org

2010-02-22 Steve Block <steveblock@google.com>

Reviewed by Simon Fraser.

Simplifies calculation of the transform in RenderLayer::paintLayer
https://bugs.webkit.org/show_bug.cgi?id=35101

No new tests, optimization only.

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::paintLayer):
06:21 Changeset [55080] by vestbo@webkit.org

2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>

Reviewed by Maciej Stachowiak.

Don't reset the assignee back to default on component change

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

There's a risk of reseting a valid assignee for example when
triaging a bug. All components in WebKit have the default
assignee set to webkit-unassigned@webkit.org so this should
not cause problems for people relying on this functionality.

  • template/en/custom/bug/edit.html.tmpl:
05:42 Changeset [55079] by vestbo@webkit.org

[Qt] Switching from Phonon to QtMultimedia Backend for Qt 4.7

Patch by Nicholas Young <nicholas.young@nokia.com> on 2010-02-22
Reviewed by Tor Arne Vestbø.

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

No new tests. This patch only affects multimedia backend.

  • WebCore.pro: Build depends on Qt version.
  • css/mediaControlsQt.css: Updated media controls.
  • platform/graphics/MediaPlayer.cpp: Different backend included depending on Qt version.
  • platform/graphics/qt/MediaPlayerPrivateQt.cpp: Added new QtMultimedia Backend.

(WebCore::MediaPlayerPrivate::create):
(WebCore::MediaPlayerPrivate::registerMediaEngine):
(WebCore::MediaPlayerPrivate::getSupportedTypes):
(WebCore::MediaPlayerPrivate::supportsType):
(WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
(WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
(WebCore::MediaPlayerPrivate::hasVideo):
(WebCore::MediaPlayerPrivate::hasAudio):
(WebCore::MediaPlayerPrivate::load):
(WebCore::MediaPlayerPrivate::cancelLoad):
(WebCore::MediaPlayerPrivate::play):
(WebCore::MediaPlayerPrivate::pause):
(WebCore::MediaPlayerPrivate::paused):
(WebCore::MediaPlayerPrivate::seek):
(WebCore::MediaPlayerPrivate::seeking):
(WebCore::MediaPlayerPrivate::duration):
(WebCore::MediaPlayerPrivate::currentTime):
(WebCore::MediaPlayerPrivate::buffered):
(WebCore::MediaPlayerPrivate::maxTimeSeekable):
(WebCore::MediaPlayerPrivate::bytesLoaded):
(WebCore::MediaPlayerPrivate::totalBytes):
(WebCore::MediaPlayerPrivate::setRate):
(WebCore::MediaPlayerPrivate::setVolume):
(WebCore::MediaPlayerPrivate::supportsMuting):
(WebCore::MediaPlayerPrivate::setMuted):
(WebCore::MediaPlayerPrivate::networkState):
(WebCore::MediaPlayerPrivate::readyState):
(WebCore::MediaPlayerPrivate::setVisible):
(WebCore::MediaPlayerPrivate::mediaStatusChanged):
(WebCore::MediaPlayerPrivate::handleError):
(WebCore::MediaPlayerPrivate::stateChanged):
(WebCore::MediaPlayerPrivate::nativeSizeChanged):
(WebCore::MediaPlayerPrivate::queuedSeekTimeout):
(WebCore::MediaPlayerPrivate::seekTimeout):
(WebCore::MediaPlayerPrivate::positionChanged):
(WebCore::MediaPlayerPrivate::durationChanged):
(WebCore::MediaPlayerPrivate::volumeChanged):
(WebCore::MediaPlayerPrivate::mutedChanged):
(WebCore::MediaPlayerPrivate::updateStates):
(WebCore::MediaPlayerPrivate::setSize):
(WebCore::MediaPlayerPrivate::naturalSize):
(WebCore::MediaPlayerPrivate::paint):
(WebCore::MediaPlayerPrivate::repaint):

  • platform/graphics/qt/MediaPlayerPrivateQt.h: Added new QtMultimedia Backend.

(WebCore::MediaPlayerPrivate::isAvailable):
(WebCore::MediaPlayerPrivate::supportsFullscreen):

  • platform/qt/RenderThemeQt.cpp:

(WebCore::RenderThemeQt::mediaControlsBaselineOpacity): New method.
(WebCore::RenderThemeQt::paintMediaBackground): Background depends on baseline opacity.
(WebCore::RenderThemeQt::paintMediaMuteButton): Changed styling.
(WebCore::RenderThemeQt::paintMediaCurrentTime): Added current time display.
(WebCore::RenderThemeQt::formatMediaControlsCurrentTime): Added time formatting.
(WebCore::RenderThemeQt::formatMediaControlsRemainingTime): Added time formatting.
(WebCore::RenderThemeQt::paintMediaVolumeSliderTrack): Volume slider added.
(WebCore::RenderThemeQt::paintMediaVolumeSliderThumb): Volume slider added.
(WebCore::RenderThemeQt::paintMediaSliderTrack): Updated for QtMultimedia.
(WebCore::RenderThemeQt::paintMediaSliderThumb): Dropped an unnecessary check.
(WebCore::RenderThemeQt::adjustSliderThumbSize): Handle a missing case.

  • platform/qt/RenderThemeQt.h: Reimplemented a few more methods.
05:02 Changeset [55078] by apavlov@chromium.org

2010-02-22 Alexander Pavlov <apavlov@chromium.org>

Not reviewed: mac build fix

  • bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::ScriptDebugServer):
04:14 Changeset [55077] by apavlov@chromium.org

2010-02-22 Alexander Pavlov <apavlov@chromium.org>

Reviewed by Pavel Feldman.

Web Inspector: there should be a way to "deactivate" or "skip" all breakpoints while debugging.
https://bugs.webkit.org/show_bug.cgi?id=33217

WebCore:

  • English.lproj/localizedStrings.js:
  • bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::ScriptDebugServer): (WebCore::ScriptDebugServer::hasBreakpoint): (WebCore::ScriptDebugServer::setBreakpointsActivated):
  • bindings/js/ScriptDebugServer.h:
  • bindings/v8/ScriptDebugServer.h: (WebCore::ScriptDebugServer::setBreakpointsActivated):
  • inspector/InspectorBackend.cpp: (WebCore::InspectorBackend::activateBreakpoints): (WebCore::InspectorBackend::deactivateBreakpoints):
  • inspector/InspectorBackend.h:
  • inspector/InspectorBackend.idl:
  • inspector/front-end/Images/deactivateBreakpointsButtonGlyph.png: Added.
  • inspector/front-end/Images/deactivateBreakpointsDisabledButtonGlyph.png: Added.
  • inspector/front-end/InspectorBackendStub.js: (.WebInspector.InspectorBackendStub.prototype.activateBreakpoints): (.WebInspector.InspectorBackendStub.prototype.deactivateBreakpoints):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.get breakpointsActivated): (WebInspector.ScriptsPanel.prototype.addBreakpoint): (WebInspector.ScriptsPanel.prototype._stepOutClicked): (WebInspector.ScriptsPanel.prototype._toggleBreakpointsClicked):
  • inspector/front-end/inspector.css:
  • inspector/front-end/textViewer.css:

WebKit/chromium:

  • src/js/DebuggerAgent.js: (devtools.DebuggerAgent): (devtools.DebuggerAgent.prototype.setBreakpointsActivated): (devtools.DebuggerAgent.prototype.handleBreakEvent_): (devtools.DebuggerAgent.prototype.handleExceptionEvent_):
  • src/js/InspectorControllerImpl.js: (devtools.InspectorBackendImpl.prototype.activateBreakpoints): (devtools.InspectorBackendImpl.prototype.deactivateBreakpoints):
03:18 Changeset [55076] by mrowe@apple.com

REGRESSION (r55039): Animation starts from near end when loaded over slow network
<http://webkit.org/b/35222> / <rdar://problem/7673523>

Rubber-stamped by Sam Weinig and Maciej Stachowiak.

Roll out r55039 (related to <http://webkit.org/b/35115>) as it causes animated GIFs
to skip intermediate frames when loading over a slower network.

  • platform/graphics/BitmapImage.cpp:

(WebCore::BitmapImage::startAnimation):

02:31 Changeset [55075] by mjs@apple.com

Not reviewed, build fix.

Revert the previous change.

01:28 Changeset [55074] by mjs@apple.com

2010-02-21 Maciej Stachowiak <mjs@apple.com>

Reviewed by Darin Adler.

Cache JavaScript wrappers inline in DOM nodes
https://bugs.webkit.org/show_bug.cgi?id=35226
<rdar://problem/7664202>

8.8% speedup on Dromaeo DOM Core tests.
3.3% speedup on Hixie DOM Core tests.


  • bindings/js/JSDOMBinding.cpp: (WebCore::forgetDOMNode): Clear wrapper pointer. (WebCore::cacheDOMNodeWrapper): Cache inline too if caching for normal world.
  • bindings/js/JSDOMBinding.h: (WebCore::DOMObjectWrapperMapFor):
  • bindings/js/JSDocumentCustom.cpp: (WebCore::toJS): Remove unneeded argument from getCachedDOMNodeWrapper.
  • bindings/js/JSNodeCustom.cpp: (WebCore::createWrapperInline): Renamed version of original createWrapper. (WebCore::createWrapper): Call createWrapperInline. Out-of-line version. (WebCore::toJSNewlyCreated): Call createWrapperInline instead of createWrapper.
  • bindings/js/JSNodeCustom.h: Added. (WebCore::getCachedDOMNodeWrapper): Moved here so it can be inlined. (WebCore::toJS): Moved here so it can be inlined.
  • bindings/js/ScriptWrappable.h: (WebCore::ScriptWrappable::ScriptWrappable): Implement this in the obvious way for JavaScriptCore. (WebCore::ScriptWrappable::wrapper): (WebCore::ScriptWrappable::setWrapper): (WebCore::ScriptWrappable::clearWrapper):
  • bindings/scripts/CodeGeneratorJS.pm: Include CustomHeader heaaders in the header, not just the impl file, so they can add inlining.
  • dom/Node.idl: Add CustomHeader directive.


Add new files to build.

  • GNUmakefile.am:
  • WebCore.gypi:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
01:13 Changeset [55073] by pfeldman@chromium.org

2010-02-22 Pavel Feldman <pfeldman@chromium.org>

Not reviewed: windows build fix.

00:08 Changeset [55072] by bweinstein@apple.com

Part 2 of Windows build fix.

02/21/10:

23:59 Changeset [55071] by pfeldman@chromium.org

2010-02-21 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: stop on inline breakpoints on reload.

  • ScriptBreakpoint struct has been introduced and reused in InspectorController and debug server.
  • JavaScriptDebugServer was moved to bindings/js and renamed to ScriptDebugServer There were no changes to semantics, only some mechanical changes:
    • addBreakpoint and updateBreakpoint were merged into setBreakpoint
    • ScriptDebugServer now operates ScriptBreakpoint instances instead of BreakpointInfo.
    • It no longer allocates maps and breakpoint info in heap - all done on stack.
    • JavaScriptDebugListener is now ScriptDebugServer::Listener
    • Listener methods no longer have ExecState (was unused).
    • addListener/removeListener pair wuth no page argument removed (was unused).
  • InspectorController now binds sourceID to url and maintains a map of 'sticky' breakpoints. Whenever script is loaded and there is a sticky breakpoint url matching, breakpoint is being 'restored' synchronously in debug server and pushed to frontend. Front-end no longer stores map of sticky breakpoints.
    • setBreakpoint/removeBreakpoint/didParseSource trio handle this logic.
  • A bunch of if(USE_JSC/V8/other) forks removed.
  • InspectorFrontend now operates primitive types only, got rid of USE_JSC as well.

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

  • GNUmakefile.am:
  • WebCore.base.exp:
  • WebCore.gypi:
  • WebCore.order:
  • WebCore.pro:
  • WebCore.vcproj/WebCore.vcproj:
  • WebCore.xcodeproj/project.pbxproj:
  • bindings/js/JSInjectedScriptHostCustom.cpp: (WebCore::JSInjectedScriptHost::currentCallFrame): (WebCore::JSInjectedScriptHost::isActivation):
  • bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::shared): (WebCore::ScriptDebugServer::ScriptDebugServer): (WebCore::ScriptDebugServer::~ScriptDebugServer): (WebCore::ScriptDebugServer::addListener): (WebCore::ScriptDebugServer::removeListener): (WebCore::ScriptDebugServer::pageCreated): (WebCore::ScriptDebugServer::hasListenersInterestedInPage): (WebCore::ScriptDebugServer::setBreakpoint): (WebCore::ScriptDebugServer::removeBreakpoint): (WebCore::ScriptDebugServer::hasBreakpoint): (WebCore::ScriptDebugServer::clearBreakpoints): (WebCore::ScriptDebugServer::setPauseOnExceptionsState): (WebCore::ScriptDebugServer::pauseProgram): (WebCore::ScriptDebugServer::continueProgram): (WebCore::ScriptDebugServer::stepIntoStatement): (WebCore::ScriptDebugServer::stepOverStatement): (WebCore::ScriptDebugServer::stepOutOfFunction): (WebCore::ScriptDebugServer::currentCallFrame): (WebCore::ScriptDebugServer::currentCallFrameState): (WebCore::ScriptDebugServer::dispatchDidParseSource): (WebCore::ScriptDebugServer::dispatchFailedToParseSource): (WebCore::toPage): (WebCore::ScriptDebugServer::detach): (WebCore::ScriptDebugServer::sourceParsed): (WebCore::ScriptDebugServer::dispatchFunctionToListeners): (WebCore::ScriptDebugServer::setJavaScriptPaused): (WebCore::ScriptDebugServer::pauseIfNeeded): (WebCore::ScriptDebugServer::callEvent): (WebCore::ScriptDebugServer::atStatement): (WebCore::ScriptDebugServer::returnEvent): (WebCore::ScriptDebugServer::exception): (WebCore::ScriptDebugServer::willExecuteProgram): (WebCore::ScriptDebugServer::didExecuteProgram): (WebCore::ScriptDebugServer::didReachBreakpoint): (WebCore::ScriptDebugServer::recompileAllJSFunctionsSoon): (WebCore::ScriptDebugServer::recompileAllJSFunctions): (WebCore::ScriptDebugServer::didAddListener): (WebCore::ScriptDebugServer::didRemoveListener): (WebCore::ScriptDebugServer::didRemoveLastListener):
  • bindings/js/ScriptDebugServer.h: (WebCore::ScriptDebugServer::Listener::~Listener): (WebCore::ScriptDebugServer::): (WebCore::ScriptDebugServer::pauseOnExceptionsState): (WebCore::ScriptDebugServer::hasListeners): (WebCore::ScriptDebugServer::hasGlobalListeners):
  • bindings/v8/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::shared):
  • bindings/v8/ScriptDebugServer.h: (WebCore::ScriptDebugServer::Listener::~Listener): (WebCore::ScriptDebugServer::addListener): (WebCore::ScriptDebugServer::removeListener): (WebCore::ScriptDebugServer::setBreakpoint): (WebCore::ScriptDebugServer::removeBreakpoint): (WebCore::ScriptDebugServer::clearBreakpoints): (WebCore::ScriptDebugServer::): (WebCore::ScriptDebugServer::pauseOnExceptionsState): (WebCore::ScriptDebugServer::setPauseOnExceptionsState): (WebCore::ScriptDebugServer::pauseProgram): (WebCore::ScriptDebugServer::continueProgram): (WebCore::ScriptDebugServer::stepIntoStatement): (WebCore::ScriptDebugServer::stepOverStatement): (WebCore::ScriptDebugServer::stepOutOfFunction): (WebCore::ScriptDebugServer::recompileAllJSFunctionsSoon): (WebCore::ScriptDebugServer::recompileAllJSFunctions): (WebCore::ScriptDebugServer::currentCallFrameState): (WebCore::ScriptDebugServer::pageCreated): (WebCore::ScriptDebugServer::ScriptDebugServer): (WebCore::ScriptDebugServer::~ScriptDebugServer):
  • bindings/v8/custom/V8InjectedScriptHostCustom.cpp: (WebCore::V8InjectedScriptHost::currentCallFrameCallback): (WebCore::V8InjectedScriptHost::isActivationCallback):
  • inspector/InjectedScriptHost.cpp:
  • inspector/InjectedScriptHost.h:
  • inspector/InjectedScriptHost.idl:
  • inspector/InspectorBackend.cpp: (WebCore::InspectorBackend::setBreakpoint): (WebCore::InspectorBackend::removeBreakpoint): (WebCore::InspectorBackend::pauseInDebugger): (WebCore::InspectorBackend::stepOverStatementInDebugger): (WebCore::InspectorBackend::stepIntoStatementInDebugger): (WebCore::InspectorBackend::stepOutOfFunctionInDebugger): (WebCore::InspectorBackend::pauseOnExceptionsState): (WebCore::InspectorBackend::setPauseOnExceptionsState):
  • inspector/InspectorBackend.h:
  • inspector/InspectorBackend.idl:
  • inspector/ScriptBreakpoint.h: Added. (WebCore::InspectorBreakpoint::InspectorBreakpoint):
  • inspector/InspectorController.cpp: (WebCore::InspectorController::InspectorController): (WebCore::InspectorController::setWindowVisible): (WebCore::InspectorController::scriptObjectReady): (WebCore::InspectorController::close): (WebCore::InspectorController::didCommitLoad): (WebCore::InspectorController::addProfile): (WebCore::InspectorController::startUserInitiatedProfiling): (WebCore::InspectorController::stopUserInitiatedProfiling): (WebCore::InspectorController::enableProfiler): (WebCore::InspectorController::disableProfiler): (WebCore::InspectorController::enableDebuggerFromFrontend): (WebCore::InspectorController::disableDebugger): (WebCore::InspectorController::resumeDebugger): (WebCore::InspectorController::setBreakpoint): (WebCore::InspectorController::removeBreakpoint): (WebCore::InspectorController::didParseSource): (WebCore::InspectorController::failedToParseSource): (WebCore::InspectorController::didPause):
  • inspector/InspectorController.h:
  • inspector/InspectorFrontend.cpp: (WebCore::InspectorFrontend::parsedScriptSource): (WebCore::InspectorFrontend::restoredBreakpoint): (WebCore::InspectorFrontend::failedToParseScriptSource): (WebCore::InspectorFrontend::resumedScript):
  • inspector/InspectorFrontend.h:
  • inspector/JavaScriptDebugListener.h: Removed.
  • inspector/JavaScriptDebugServer.cpp: Removed.
  • inspector/JavaScriptDebugServer.h: Removed.
  • inspector/front-end/Breakpoint.js: (WebInspector.Breakpoint.prototype.set condition):
  • inspector/front-end/BreakpointsSidebarPane.js: (WebInspector.BreakpointsSidebarPane.prototype.addBreakpoint): (WebInspector.BreakpointsSidebarPane.prototype._breakpointEnableChanged):
  • inspector/front-end/InspectorBackendStub.js: (.WebInspector.InspectorBackendStub.prototype.addBreakpoint):
  • inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype.sourceFrameForResource):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel): (WebInspector.ScriptsPanel.prototype.addScript): (WebInspector.ScriptsPanel.prototype.addBreakpoint): (WebInspector.ScriptsPanel.prototype.removeBreakpoint): (WebInspector.ScriptsPanel.prototype._showScriptOrResource):
  • inspector/front-end/inspector.js: (WebInspector.restoredBreakpoint):
  • page/Page.cpp: (WebCore::Page::Page):
  • platform/android/TemporaryLinkStubs.cpp:
23:56 Changeset [55070] by bweinstein@apple.com

Part 1 of Windows build fix.

22:50 Changeset [55069] by barraclough@apple.com

JavaScriptCore: Make UString::m_data be const, and make the UChar owned/ref-counted by CrossThreadRefCounted be const too.

Reviewed by Oliver Hunt.

  • runtime/UStringImpl.cpp:

(JSC::UStringImpl::baseSharedBuffer):
(JSC::UStringImpl::~UStringImpl):

  • runtime/UStringImpl.h:

(JSC::UStringImpl::create):
(JSC::UStringImpl::data):
(JSC::UStringImpl::UStringImpl):

  • wtf/OwnFastMallocPtr.h:

(WTF::OwnFastMallocPtr::~OwnFastMallocPtr):

WebCore: Make the UChar owned/ref-counted by StringImpl::CrossThreadRefCounted be const.

Reviewed by Oliver Hunt.

  • platform/text/StringImpl.cpp:

(WebCore::StringImpl::sharedBuffer):

  • platform/text/StringImpl.h:
22:12 Changeset [55068] by eric@webkit.org

2010-02-21 Yuta Kitamura <yutak@chromium.org>

Reviewed by Darin Adler.

HashMapTranslatorAdapter::translate() needs to set the mapped value.

HTTPHeaderMap::add(const char*, const String&) does not work
https://bugs.webkit.org/show_bug.cgi?id=35227

  • wtf/HashMap.h: (WTF::HashMapTranslatorAdapter::translate):
20:12 Changeset [55067] by yuzo@google.com

2010-02-07 Yuzo Fujishima <yuzo@google.com>

Reviewed by Eric Seidel.

When page-break-{after,before} is set to always, force page breaks even for overflow-specified elements.
RenderBlock::inRootBlockContext() was introduced by Changeset 5611. Although it is a reasonable criteria for choosing an optional page break location, it is not for a mandatory page break as specified by http://dev.w3.org/csswg/css3-page/#forced-pg-brk. The method is removed because it is not used anywhere else.
Note: this patch makes page break work for overflow-specified elements. For tables and floated elements, more work is needed.
https://bugs.webkit.org/show_bug.cgi?id=9526

  • printing/page-break-always-for-overflow-expected.txt: Added.
  • printing/page-break-always-for-overflow.html: Added.
  • printing/script-tests/page-break-always-for-overflow.js: Added.

2010-02-07 Yuzo Fujishima <yuzo@google.com>

Reviewed by Eric Seidel.

When page-break-{after,before} is set to always, force page breaks even for overflow-specified elements.
RenderBlock::inRootBlockContext() was introduced by Changeset 5611. Although it is a reasonable criteria for choosing an optional page break location, it is not for a mandatory page break as specified by http://dev.w3.org/csswg/css3-page/#forced-pg-brk. The method is removed because it is not used anywhere else.
Note: this patch makes page break work for overflow-specified elements. For tables and floated elements, more work is needed.
https://bugs.webkit.org/show_bug.cgi?id=9526

Test: printing/page-break-always-for-overflow.html

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintChildren):
  • rendering/RenderBlock.h:
15:40 Changeset [55066] by jchaffraix@webkit.org

Remove auto_ptr usage in WebCore.
https://bugs.webkit.org/show_bug.cgi?id=35157

Reviewed by Eric Seidel.

The changes consists of:

  • Changing auto_ptr arguments or return types to PassOwnPtr.
  • Replacing local auto_ptr by OwnPtr.
  • Removing now unneeded <memory> inclusion.
  • css/CSSParser.cpp:

(WebCore::CSSParser::addProperty):

  • loader/WorkerThreadableLoader.cpp:

(WebCore::WorkerThreadableLoader::MainThreadBridge::mainThreadCreateLoader):
(WebCore::workerContextDidReceiveResponse):
(WebCore::workerContextDidReceiveData):
(WebCore::WorkerThreadableLoader::MainThreadBridge::didReceiveData):
(WebCore::workerContextDidReceiveAuthenticationCancellation):

  • loader/WorkerThreadableLoader.h:
  • loader/icon/IconLoader.cpp:

(WebCore::IconLoader::create):

  • loader/icon/IconLoader.h:
  • platform/ContextMenu.cpp:

(WebCore::separatorItem):

  • platform/CrossThreadCopier.h:

(WebCore::):

  • platform/network/HTTPHeaderMap.cpp:

(WebCore::HTTPHeaderMap::copyData):
(WebCore::HTTPHeaderMap::adopt):

  • platform/network/HTTPHeaderMap.h:
  • platform/network/ResourceRequestBase.cpp:

(WebCore::ResourceRequestBase::adopt):
(WebCore::ResourceRequestBase::copyData):

  • platform/network/ResourceRequestBase.h:
  • platform/network/ResourceResponseBase.cpp:

(WebCore::ResourceResponseBase::adopt):
(WebCore::ResourceResponseBase::copyData):

  • platform/network/ResourceResponseBase.h:
  • svg/SVGDocumentExtensions.cpp:

(WebCore::SVGDocumentExtensions::removePendingResource):

  • svg/SVGDocumentExtensions.h:
  • svg/SVGElement.cpp:

(WebCore::SVGElement::insertedIntoDocument):

  • workers/GenericWorkerTask.h:
  • workers/WorkerThread.cpp:

(WebCore::WorkerThreadStartupData::create):

13:47 Changeset [55065] by simon.fraser@apple.com

2010-02-21 Simon Fraser <simon.fraser@apple.com>

Reviewed by Dan Bernstein.

https://bugs.webkit.org/show_bug.cgi?id=22215
Avoid calling absoluteClippedOverflowRect() so many times

RenderLayer::updateLayerPositions() computes the clipped overflow rect
and the outline bounds for repaint, and then calls repaintAfterLayoutIfNeeded()
which can compute the same rects all over again. Avoid this by passing
these two rects into repaintAfterLayoutIfNeeded() if known. This measurably
reduces the time spent in updateLayerPositions() for some content.

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::updateLayerPositions):
  • rendering/RenderObject.cpp: (WebCore::RenderObject::repaintAfterLayoutIfNeeded):
  • rendering/RenderObject.h:
13:19 Changeset [55064] by mitz@apple.com

False warnings about needing layout in
-[WebHTMLView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
https://bugs.webkit.org/show_bug.cgi?id=35218

Reviewed by Darin Adler.

  • WebView/WebHTMLView.mm:

(-[WebHTMLView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]):
Suppress the warning and the forced layout if the view is not being drawn
in this display operation.

12:20 Changeset [55063] by kdecker@apple.com

Reviewed by Sam Weinig.

https://bugs.webkit.org/show_bug.cgi?id=35215
<rdar://problem/7673157>


The plugInViewWithArguments: API passes a dictionary of plugin arguments. One of the parameters
is WebPlugInBaseURLKey, which is a key that represents the base URL of the document containing
the plug-in's view. Instead of sending the base URL, code in WebFrameLoaderClient::createPlugin
would incorrectly pass the source URL of the plug-in resource.

  • WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::createPlugin): When building the plug-in arguments dictionary, pass the real base URL for the WebPlugInBaseURLKey key.
03:32 Changeset [55062] by mjs@apple.com

2010-02-20 Maciej Stachowiak <mjs@apple.com>

Rubber stamped by Adam Barth.

Add sunspider-0.9.1 to the site in preparation for announcing it.
https://bugs.webkit.org/show_bug.cgi?id=35206

  • perf/sunspider-0.9.1: Added.
  • perf/sunspider-0.9.1/json2.js: Added.
  • perf/sunspider-0.9.1/sunspider-0.9: Added.
  • perf/sunspider-0.9.1/sunspider-0.9.1: Added.
  • perf/sunspider-0.9.1/sunspider-0.9.1/driver.html: Added.
  • perf/sunspider-0.9.1/sunspider-0.9.1/results.html: Added.
  • perf/sunspider-0.9.1/sunspider-0.9.1/sunspider-test-contents.js: Added.
  • perf/sunspider-0.9.1/sunspider-0.9.1/sunspider-test-prefix.js: Added.
  • perf/sunspider-0.9.1/sunspider-0.9/driver.html: Added.
  • perf/sunspider-0.9.1/sunspider-0.9/results.html: Added.
  • perf/sunspider-0.9.1/sunspider-0.9/sunspider-test-contents.js: Added.
  • perf/sunspider-0.9.1/sunspider-0.9/sunspider-test-prefix.js: Added.
  • perf/sunspider-0.9.1/sunspider-analyze-results.js: Added.
  • perf/sunspider-0.9.1/sunspider-compare-results.js: Added.
  • perf/sunspider-0.9.1/sunspider.css: Added.
  • perf/sunspider-0.9.1/sunspider.html: Added.
  • perf/sunspider-0.9.1/versions.html: Added.

2010-02-20 Maciej Stachowiak <mjs@apple.com>

Reviewed by Adam Barth.

Add sunspider-0.9.1 to the site in preparation for announcing it.
https://bugs.webkit.org/show_bug.cgi?id=35206

  • hosted/sunspider.css: Remove tabs, which I noticed where present while copying to the WebKitSite directory.

02/20/10:

22:44 Changeset [55061] by mjs@apple.com

<rdar://problem/7540432> Disable sandboxed iframes for branch

Reviewed by Dan Bernstein.

JavaScriptCore:

  • Configurations/FeatureDefines.xcconfig:

WebCore:

  • Configurations/FeatureDefines.xcconfig:
  • WebCore.pri:

WebKit/chromium:

  • features.gypi:

WebKit/mac:

  • Configurations/FeatureDefines.xcconfig:

WebKitLibraries:

  • win/tools/vsprops/FeatureDefines.vsprops:

WebKitTools:

  • Scripts/build-webkit:
22:20 Changeset [55060] by mjs@apple.com

.: Merged from trunk:

2010-02-20 Maciej Stachowiak <mjs@apple.com>

Reviewed by David Levin.

Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
https://bugs.webkit.org/show_bug.cgi?id=35147

  • configure.ac:

JavaScriptCore: Merged from trunk:

2010-02-20 Maciej Stachowiak <mjs@apple.com>

Reviewed by David Levin.

Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
https://bugs.webkit.org/show_bug.cgi?id=35147

  • Configurations/FeatureDefines.xcconfig:

WebCore: Merged from trunk:

2010-02-20 Maciej Stachowiak <mjs@apple.com>

Reviewed by David Levin.

Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
https://bugs.webkit.org/show_bug.cgi?id=35147

I made ENABLE(SANDBOX) only control the sandbox attribute itself;
I did not ifdef the infrastructure to make sandboxing
switchable. This is because the likely concerns about sandboxing
are not stability of the infrastructure code, but rather the fact
that the security model exposed to authors is still evolving.

  • Configurations/FeatureDefines.xcconfig:
  • GNUmakefile.am:
  • WebCore.pri:
  • html/HTMLIFrameElement.cpp:

(WebCore::HTMLIFrameElement::parseMappedAttribute):

WebKit/chromium: Merged from trunk:

2010-02-20 Maciej Stachowiak <mjs@apple.com>

Reviewed by David Levin.

Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
https://bugs.webkit.org/show_bug.cgi?id=35147

  • features.gypi:

WebKit/mac: Merged from trunk:

2010-02-20 Maciej Stachowiak <mjs@apple.com>

Reviewed by David Levin.

Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
https://bugs.webkit.org/show_bug.cgi?id=35147

  • Configurations/FeatureDefines.xcconfig:

WebKitLibraries: Merged from trunk:

2010-02-20 Maciej Stachowiak <mjs@apple.

Reviewed by David Levin.

Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
https://bugs.webkit.org/show_bug.cgi?id=35147

  • win/tools/vsprops/FeatureDefines.vsprops:

WebKitTools: Merged from trunk:

2010-02-20 Maciej Stachowiak <mjs@apple.com>

Reviewed by David Levin.

Add an ENABLE flag for sandboxed iframes to make it possible to disable it in releases
https://bugs.webkit.org/show_bug.cgi?id=35147

  • Scripts/build-webkit: Handle new flag.
22:01 Changeset [55059] by ap@apple.com

Reviewed by Maciej Stachowiak.

https://bugs.webkit.org/show_bug.cgi?id=35202
<rdar://problem/4856597> Calling Java method which accepts Object always passes a null argument

  • bridge/jni/jsc/JNIUtilityPrivate.cpp: (JSC::Bindings::convertValueToJValue): Add cases for other JS types.
21:22 Changeset [55058] by eric@webkit.org

2010-02-20 Laszlo Gombos <laszlo.1.gombos@nokia.com>

Reviewed by Darin Adler.

Fix compiler warning "suggest parentheses around"
https://bugs.webkit.org/show_bug.cgi?id=35197

No new tests as there is no new functionality.

  • html/DateComponents.cpp: (WebCore::beforeGregorianStartDate):
  • plugins/PluginDatabase.cpp: (WebCore::PluginDatabase::findPlugin):
12:44 Changeset [55057] by cjerdonek@webkit.org

Moved simplejson into webkitpy/thirdparty directory.

Reviewed by Adam Barth.

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

  • Scripts/run-chromium-webkit-tests:
    • Added webkitpy/thirdparty to the script's search path.
  • Scripts/webkitpy/thirdparty/simplejson: Copied from WebKitTools/simplejson.
    • Copied simplejson directory.
  • simplejson: Removed.
  • simplejson/LICENSE.txt: Removed.
  • simplejson/README.txt: Removed.
  • simplejson/init.py: Removed.
  • simplejson/_speedups.c: Removed.
  • simplejson/decoder.py: Removed.
  • simplejson/encoder.py: Removed.
  • simplejson/jsonfilter.py: Removed.
  • simplejson/scanner.py: Removed.
12:24 Changeset [55056] by laszlo.1.gombos@nokia.com

2010-02-20 Noam Rosenthal <noam.rosenthal@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] ENABLE_3D_RENDERING should be optional
https://bugs.webkit.org/show_bug.cgi?id=35100

  • WebKit.pri: ENABLE_3D_RENDERING moved to a proper feature test

2010-02-20 Noam Rosenthal <noam.rosenthal@nokia.com>

Reviewed by Laszlo Gombos.

[Qt] ENABLE_3D_RENDERING should be optional
https://bugs.webkit.org/show_bug.cgi?id=35100

No new tests: this is a build fix.

  • WebCore.pri: ENABLE_3D_RENDERING is now a proper feature test
11:36 Changeset [55055] by cjerdonek@webkit.org

2010-02-20 Chris Jerdonek <cjerdonek@webkit.org>

Reviewed by Adam Barth.

Moved BeautifulSoup to webkitpy/thirdparty directory.

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

  • Scripts/webkitpy/BeautifulSoup.py: Removed.
    • Moved to webkitpy/thirdparty.
  • Scripts/webkitpy/bugzilla.py:
    • Updated import statement.
  • Scripts/webkitpy/bugzilla_unittest.py:
    • Updated import statement.
  • Scripts/webkitpy/buildbot.py:
    • Updated import statement.
  • Scripts/webkitpy/buildbot_unittest.py:
    • Updated import statement.
  • Scripts/webkitpy/statusserver.py:
    • Updated import statement.
  • Scripts/webkitpy/thirdparty/BeautifulSoup.py: Copied from WebKitTools/Scripts/webkitpy/BeautifulSoup.py.
10:22 Changeset [55054] by ap@apple.com

Reviewed by Maciej Stachowiak.

https://bugs.webkit.org/show_bug.cgi?id=23742
Applet methods can not return arrays to JS

  • bridge/jni/jsc/JNIBridgeJSC.cpp: (JavaArray::JavaArray): Don't accidentally zero out m_rootObject (that's how PassRefPtr works). Without m_rootObject, we crash quickly.
  • bridge/jni/jsc/JavaInstanceJSC.cpp: (JavaInstance::invokeMethod): Do handle returned arrays. Also, added an ifdef around code that's only needed on Tiger, and removed a comment saying it can be removed when "new" plugin ships. I doubt that anyone can remember what "new" could refer to back then.
09:42 Changeset [55053] by cjerdonek@webkit.org

2010-02-20 Chris Jerdonek <cjerdonek@webkit.org>

Reviewed by Adam Barth.

Created a directory for third-party Python code, and moved
autoinstall.py into it.

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

  • Scripts/webkitpy/init.py:
    • Updated "import autoinstall" statement.
  • Scripts/webkitpy/autoinstall.py: Removed.
    • Moved to thirdparty/autoinstall.py.
  • Scripts/webkitpy/thirdparty: Added.
  • Scripts/webkitpy/thirdparty/init.py: Added.
  • Scripts/webkitpy/thirdparty/autoinstall.py: Copied from WebKitTools/Scripts/webkitpy/autoinstall.py.
07:40 Changeset [55052] by eric@webkit.org

2010-02-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: re-creating view in ResourcesPanel confuses ScriptsPanel's visibleView logic.

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

  • inspector/front-end/ResourcesPanel.js: (WebInspector.ResourcesPanel.prototype.recreateViewForResourceIfNeeded):
  • inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype.show): (WebInspector.ScriptsPanel.prototype.viewRecreated):
07:23 Changeset [55051] by eric@webkit.org

2010-02-20 Pavel Feldman <pfeldman@chromium.org>

Reviewed by Timothy Hatcher.

Web Inspector: need to highlight the evaluated expression used for popovers.

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

  • inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame.prototype._mouseMove): (WebInspector.SourceFrame.prototype._hidePopup): (WebInspector.SourceFrame.prototype._mouseHover): (WebInspector.SourceFrame.prototype._showPopup.showObjectPopup): (WebInspector.SourceFrame.prototype._showPopup):
  • inspector/front-end/inspector.css:
06:29 Changeset [55050] by kov@webkit.org

Roll out 55047, since it causes regressions in layout and API tests.

06:29 Changeset [55049] by kov@webkit.org

Unreviewed, obvious fix for the python failure in our new buildbot step:

http://build.webkit.org/builders/GTK Linux 32-bit Release/builds/9075/steps/API tests/logs/err.text

06:13 Changeset [55048] by kov@webkit.org

2010-02-20 Gustavo Noronha Silva <gns@gnome.org>

Unreviewed. Trivial fix - unnecessary variable got added by
mistake.

  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
04:35 Changeset [55047] by kov@webkit.org

WebCore

2010-02-19 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Xan Lopez.

[Soup] loses information related to message flags when converting from/to Resource{Request,Response}
https://bugs.webkit.org/show_bug.cgi?id=35093

Store message flags in WebCore objects, and set them on the
SoupMessage, when creating one from them.

No behaviour change.

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::fillResponseFromMessage):
  • platform/network/soup/ResourceRequest.h: (WebCore::ResourceRequest::soupMessageFlags): (WebCore::ResourceRequest::setSoupMessageFlags):
  • platform/network/soup/ResourceRequestSoup.cpp: (WebCore::ResourceRequest::toSoupMessage): (WebCore::ResourceRequest::updateFromSoupMessage):
  • platform/network/soup/ResourceResponse.h: (WebCore::ResourceResponse::soupMessageFlags): (WebCore::ResourceResponse::setSoupMessageFlags):
  • platform/network/soup/ResourceResponseSoup.cpp: (WebCore::ResourceResponse::toSoupMessage): (WebCore::ResourceResponse::updateFromSoupMessage):

WebKit/gtk

2010-02-18 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Xan Lopez.

[Soup] loses information related to message flags when converting from/to Resource{Request,Response}
https://bugs.webkit.org/show_bug.cgi?id=35093

Update the flags that are stored in the request, when the response
is received.

  • WebCoreSupport/FrameLoaderClientGtk.cpp: (WebKit::FrameLoaderClient::dispatchDidReceiveResponse):
04:25 Changeset [55046] by kov@webkit.org

2010-02-19 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

Reviewed by Xan Lopez.

[Soup] loses information related to message flags when converting from/to Resource{Request,Response}
https://bugs.webkit.org/show_bug.cgi?id=35093

Refactor updating of ResourceResponse objects from soup message
objects, to avoid code duplication.

No behaviour change.

  • platform/network/soup/ResourceHandleSoup.cpp: (WebCore::fillResponseFromMessage):
  • platform/network/soup/ResourceResponseSoup.cpp: (WebCore::ResourceResponse::updateFromSoupMessage):
01:33 Changeset [55045] by ap@apple.com

Reviewed by Maciej Stachowiak.

https://bugs.webkit.org/show_bug.cgi?id=35190
Don't use system malloc in Java bindings

  • bridge/jni/jsc/JavaInstanceJSC.cpp: (JavaInstance::invokeMethod): Switched to WTF::Vector.
00:24 Changeset [55044] by ap@apple.com

Reviewed by Maciej Stachowiak.

https://bugs.webkit.org/show_bug.cgi?id=9761
LiveConnect string conversion fails for java.lang.Object

Can't test Java in DRT (I wonder why).

  • bridge/jni/jsc/JNIUtilityPrivate.cpp: (JSC::Bindings::convertValueToJValue): Added the necessary conversion. Also, removed CONVERT_NULL_TO_EMPTY_STRING dead code.
Note: See TracTimeline for information about the timeline view.