WebKit-https.git
10 years ago2010-02-23 Jessie Berlin <jberlin@webkit.org>
jberlin@webkit.org [Tue, 23 Feb 2010 22:03:55 +0000 (22:03 +0000)]
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.

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

10 years ago<http://webkit.org/b/35287> ImageSourceCG::frameIsCompleteAtIndex returns false for...
mrowe@apple.com [Tue, 23 Feb 2010 22:01:09 +0000 (22:01 +0000)]
<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):

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

10 years ago2010-02-23 Mario Blättermann <mariobl@freenet.de>
kov@webkit.org [Tue, 23 Feb 2010 21:31:37 +0000 (21:31 +0000)]
2010-02-23  Mario Blättermann  <mariobl@freenet.de>

        Reviewed by Gustavo Noronha.

        German translation update.

        * de.po:

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

10 years agoWebCore: Crash in createContextualFragment when inserting a list in a non HTML document.
enrica@apple.com [Tue, 23 Feb 2010 21:31:11 +0000 (21:31 +0000)]
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.

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

10 years ago2010-02-23 Daniel Nylander <po@danielnylander.se>
kov@webkit.org [Tue, 23 Feb 2010 21:25:59 +0000 (21:25 +0000)]
2010-02-23  Daniel Nylander  <po@danielnylander.se>

        Reviewed by Gustavo Noronha.

        Swedish translation update.

        * sv.po:

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

10 years ago2010-02-23 Ankit Patel <ankit@redhat.com>
kov@webkit.org [Tue, 23 Feb 2010 21:20:29 +0000 (21:20 +0000)]
2010-02-23  Ankit Patel  <ankit@redhat.com>

        Reviewed by Gustavo Noronha.

        Gujarati translation.

        * gu.po: Added.

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

10 years ago2010-02-23 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
eric@webkit.org [Tue, 23 Feb 2010 21:13:38 +0000 (21:13 +0000)]
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):

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

10 years ago2010-02-23 Jesus Sanchez-Palencia <jesus.palencia@openbossa.org>
eric@webkit.org [Tue, 23 Feb 2010 20:39:30 +0000 (20:39 +0000)]
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):

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

10 years ago2010-02-23 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Tue, 23 Feb 2010 20:07:27 +0000 (20:07 +0000)]
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):

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

10 years agofix check_wdiff_install
dpranke@chromium.org [Tue, 23 Feb 2010 18:15:11 +0000 (18:15 +0000)]
fix check_wdiff_install

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

10 years ago2010-02-23 Gustavo Noronha Silva <gns@gnome.org>
kov@webkit.org [Tue, 23 Feb 2010 18:07:47 +0000 (18:07 +0000)]
2010-02-23  Gustavo Noronha Silva  <gns@gnome.org>

        Rubber-stamped by Dimitri Glazkov.

        Chromium build fix.

        * JavaScriptCore.gyp/JavaScriptCore.gyp:

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

10 years agoWebKit/mac: <rdar://problem/7611158> Incomplete repaint of YouTube timeline thumb...
mitz@apple.com [Tue, 23 Feb 2010 17:54:37 +0000 (17:54 +0000)]
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.

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

10 years ago2010-02-23 Leandro Pereira <leandro@profusion.mobi>
kov@webkit.org [Tue, 23 Feb 2010 17:52:40 +0000 (17:52 +0000)]
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

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

10 years agoHTTP 307 after a 303 after a POST re-sends POST data from the original request.
beidson@apple.com [Tue, 23 Feb 2010 17:41:24 +0000 (17:41 +0000)]
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:

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

10 years ago2010-02-23 Crystal Zhang <haizhang@rim.com>
dbates@webkit.org [Tue, 23 Feb 2010 17:27:48 +0000 (17:27 +0000)]
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:

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

10 years ago2010-02-23 Evan Martin <evan@chromium.org>
eric@webkit.org [Tue, 23 Feb 2010 16:53:08 +0000 (16:53 +0000)]
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

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

10 years ago2010-02-23 Michael Lotz <mmlr@mlotz.ch>
eric@webkit.org [Tue, 23 Feb 2010 16:32:06 +0000 (16:32 +0000)]
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):

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

10 years ago[Qt] Prevent the media backend from handling non-audio or -video mime types
vestbo@webkit.org [Tue, 23 Feb 2010 16:00:07 +0000 (16:00 +0000)]
[Qt] Prevent the media backend from handling non-audio or -video mime types

Reviewed by Eric Carlson.

* platform/graphics/qt/MediaPlayerPrivateQt.cpp:

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

10 years ago2010-02-23 Evan Martin <evan@chromium.org>
evan@chromium.org [Tue, 23 Feb 2010 15:46:25 +0000 (15:46 +0000)]
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).

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

10 years ago2010-02-23 Leandro Pereira <leandro@profusion.mobi>
eric@webkit.org [Tue, 23 Feb 2010 15:28:19 +0000 (15:28 +0000)]
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:

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

10 years ago2010-02-23 Leandro Pereira <leandro@profusion.mobi>
kov@webkit.org [Tue, 23 Feb 2010 15:21:04 +0000 (15:21 +0000)]
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

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

10 years ago2010-02-23 Leandro Pereira <leandro@profusion.mobi>
eric@webkit.org [Tue, 23 Feb 2010 14:21:55 +0000 (14:21 +0000)]
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.

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

10 years ago2010-02-23 Ariya Hidayat <ariya.hidayat@gmail.com>
ariya@webkit.org [Tue, 23 Feb 2010 14:17:39 +0000 (14:17 +0000)]
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):

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

10 years ago2010-02-23 Steve Block <steveblock@google.com>
eric@webkit.org [Tue, 23 Feb 2010 14:05:48 +0000 (14:05 +0000)]
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:

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

10 years ago2010-02-23 Ben Murdoch <benm@google.com>
eric@webkit.org [Tue, 23 Feb 2010 13:12:15 +0000 (13:12 +0000)]
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.

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

10 years ago2010-02-23 Stephan Aßmus <superstippi@gmx.de>
eric@webkit.org [Tue, 23 Feb 2010 12:53:06 +0000 (12:53 +0000)]
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.

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

10 years ago2010-02-23 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Tue, 23 Feb 2010 12:43:18 +0000 (12:43 +0000)]
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):

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

10 years ago2010-02-23 Tony Chang <tony@chromium.org>
tony@chromium.org [Tue, 23 Feb 2010 12:27:50 +0000 (12:27 +0000)]
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):

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

10 years agoAdds cache to store Geolocation positions between browser sessions.
steveblock@google.com [Tue, 23 Feb 2010 12:07:45 +0000 (12:07 +0000)]
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.

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

10 years ago2010-02-23 Yuta Kitamura <yutak@chromium.org>
eric@webkit.org [Tue, 23 Feb 2010 12:04:39 +0000 (12:04 +0000)]
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.

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

10 years agoSets default values of V8 runtime enabler flags to match behavior with JSC
steveblock@google.com [Tue, 23 Feb 2010 11:43:51 +0000 (11:43 +0000)]
Sets default values of V8 runtime enabler flags to match behavior with JSC
https://bugs.webkit.org/show_bug.cgi?id=35095

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

10 years ago2010-02-23 José Millán Soto <jmillan@igalia.com>
eric@webkit.org [Tue, 23 Feb 2010 11:25:59 +0000 (11:25 +0000)]
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.

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

10 years ago2010-02-23 Stephan Aßmus <superstippi@gmx.de>
eric@webkit.org [Tue, 23 Feb 2010 11:09:57 +0000 (11:09 +0000)]
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):

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

10 years ago2010-02-23 Dmitriy Belenko <dbelenko@google.com>
eric@webkit.org [Tue, 23 Feb 2010 10:53:49 +0000 (10:53 +0000)]
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:

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

10 years agoAdds Client::cancelGeolocationPermissionRequestForFrame and ChromeClient::cancelGeolo...
steveblock@google.com [Tue, 23 Feb 2010 10:35:24 +0000 (10:35 +0000)]
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.

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

10 years ago2010-02-23 Tony Chang <tony@chromium.org>
eric@webkit.org [Tue, 23 Feb 2010 10:19:48 +0000 (10:19 +0000)]
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):

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

10 years ago2010-02-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
eric@webkit.org [Tue, 23 Feb 2010 10:03:25 +0000 (10:03 +0000)]
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:

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

10 years ago[Qt] Correct build problems while building QtWebKit inside Qt.
jocelyn.turcotte@nokia.com [Tue, 23 Feb 2010 09:55:50 +0000 (09:55 +0000)]
[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

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

10 years ago2010-02-23 Noam Rosenthal <noam.rosenthal@nokia.com>
eric@webkit.org [Tue, 23 Feb 2010 09:47:16 +0000 (09:47 +0000)]
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

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

10 years ago2010-02-23 Daniel Bates <dbates@rim.com>
eric@webkit.org [Tue, 23 Feb 2010 09:31:04 +0000 (09:31 +0000)]
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.

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

10 years ago2010-02-23 Stephan Aßmus <superstippi@gmx.de>
eric@webkit.org [Tue, 23 Feb 2010 09:14:57 +0000 (09:14 +0000)]
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):

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

10 years ago2010-02-23 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Tue, 23 Feb 2010 09:02:07 +0000 (09:02 +0000)]
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):

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

10 years ago2010-02-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
eric@webkit.org [Tue, 23 Feb 2010 08:58:52 +0000 (08:58 +0000)]
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:

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

10 years ago2010-02-23 Diego Escalante Urrelo <descalante@igalia.com>
eric@webkit.org [Tue, 23 Feb 2010 08:42:24 +0000 (08:42 +0000)]
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:

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

10 years ago2010-02-23 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Tue, 23 Feb 2010 08:26:12 +0000 (08:26 +0000)]
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):

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

10 years ago2010-02-18 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Tue, 23 Feb 2010 08:19:12 +0000 (08:19 +0000)]
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.

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

10 years ago2010-02-23 José Millán Soto <jmillan@igalia.com>
eric@webkit.org [Tue, 23 Feb 2010 08:09:54 +0000 (08:09 +0000)]
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):

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

10 years ago2010-02-22 Dirk Pranke <dpranke@chromium.org>
eric@webkit.org [Tue, 23 Feb 2010 07:53:40 +0000 (07:53 +0000)]
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:

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

10 years ago2010-02-22 Stephan Aßmus <superstippi@gmx.de>
eric@webkit.org [Tue, 23 Feb 2010 07:37:25 +0000 (07:37 +0000)]
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.

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

10 years ago2010-02-22 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Tue, 23 Feb 2010 06:28:32 +0000 (06:28 +0000)]
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:

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

10 years agoRemove auto_ptr usage in JavaScriptCore.
jchaffraix@webkit.org [Tue, 23 Feb 2010 05:03:41 +0000 (05:03 +0000)]
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.

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

10 years ago2010-02-22 James Robinson <jamesr@chromium.org>
jamesr@google.com [Tue, 23 Feb 2010 04:50:06 +0000 (04:50 +0000)]
2010-02-22  James Robinson  <jamesr@chromium.org>

        Unreviewed. Adding myself to committers list.

        * Scripts/webkitpy/committers.py:

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

10 years ago2010-02-22 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 23 Feb 2010 04:29:04 +0000 (04:29 +0000)]
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):

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

10 years ago2010-02-22 Huahui Wu <hwu@google.com>
eric@webkit.org [Tue, 23 Feb 2010 01:55:38 +0000 (01:55 +0000)]
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:

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

10 years ago2010-02-22 Stephan Aßmus <superstippi@gmx.de>
eric@webkit.org [Tue, 23 Feb 2010 01:29:08 +0000 (01:29 +0000)]
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):

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

10 years ago2010-02-22 Stephan Aßmus <superstippi@gmx.de>
eric@webkit.org [Tue, 23 Feb 2010 01:12:51 +0000 (01:12 +0000)]
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.

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

10 years ago2010-02-22 Chris Evans <cevans@chromium.org>
tony@chromium.org [Tue, 23 Feb 2010 01:01:07 +0000 (01:01 +0000)]
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.

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

10 years ago2010-02-22 Stephan Aßmus <superstippi@gmx.de>
eric@webkit.org [Tue, 23 Feb 2010 00:55:34 +0000 (00:55 +0000)]
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.

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

10 years agoWebKit on Windows should pick up system setting changes without requiring explicit...
sfalken@apple.com [Tue, 23 Feb 2010 00:45:54 +0000 (00:45 +0000)]
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.

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

10 years ago2010-02-22 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Tue, 23 Feb 2010 00:12:34 +0000 (00:12 +0000)]
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:

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

10 years agoRubber-stamped by Alexey Proskuryakov.
ossy@webkit.org [Mon, 22 Feb 2010 23:28:18 +0000 (23:28 +0000)]
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.

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

10 years ago Rubber-stamped by Geoff Garen.
ap@apple.com [Mon, 22 Feb 2010 23:27:02 +0000 (23:27 +0000)]
    Rubber-stamped by Geoff Garen.

        Rename RuntimeObjectImp to RuntimeObject.

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

10 years agoAvoid recursion when trying to get the size of a PNG; it's unnecessary
pkasting@chromium.org [Mon, 22 Feb 2010 23:23:47 +0000 (23:23 +0000)]
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.

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

10 years agoDisable WebView docking to views that are too small.
beidson@apple.com [Mon, 22 Feb 2010 23:10:15 +0000 (23:10 +0000)]
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.

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

10 years ago Build fix.
ap@apple.com [Mon, 22 Feb 2010 22:32:51 +0000 (22:32 +0000)]
    Build fix.

        * WebCore.base.exp: Export Instance::newRuntimeObject, it's virtual!

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

10 years ago Undo a small part of the previous commit.
ap@apple.com [Mon, 22 Feb 2010 22:25:41 +0000 (22:25 +0000)]
    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.

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

10 years ago Reviewed by Darin Adler.
ap@apple.com [Mon, 22 Feb 2010 22:21:33 +0000 (22:21 +0000)]
    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.

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

10 years ago2010-02-22 Robert Hogan <robert@roberthogan.net>
ap@apple.com [Mon, 22 Feb 2010 22:17:29 +0000 (22:17 +0000)]
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:

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

10 years agoBug 35186 - AX: AXFocused is not writable like it should be on nodes
cfleizach@apple.com [Mon, 22 Feb 2010 21:07:51 +0000 (21:07 +0000)]
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.

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

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=35256
sullivan@apple.com [Mon, 22 Feb 2010 20:59:48 +0000 (20:59 +0000)]
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.

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

10 years ago2010-02-22 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 22 Feb 2010 20:51:25 +0000 (20:51 +0000)]
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:]):

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

10 years agoReproducible crash in WebCore::nextLinePosition on Tweeteorites.com
enrica@apple.com [Mon, 22 Feb 2010 20:05:26 +0000 (20:05 +0000)]
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.

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

10 years ago2010-02-22 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Mon, 22 Feb 2010 20:03:17 +0000 (20:03 +0000)]
2010-02-22  Nate Chapin  <japhet@chromium.org>

        Unreviewed, Chromium build fix.

        * bindings/scripts/CodeGeneratorV8.pm: Compile break due to bad patch merge.

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

10 years ago2010-02-22 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Mon, 22 Feb 2010 19:53:59 +0000 (19:53 +0000)]
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

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

10 years agoAX: AXFocused is not writable like it should be on nodes
cfleizach@apple.com [Mon, 22 Feb 2010 19:29:24 +0000 (19:29 +0000)]
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.

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

10 years ago2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Mon, 22 Feb 2010 19:24:12 +0000 (19:24 +0000)]
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:

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

10 years agoJSStringBuilder should not CRASH if allocation fails, it should throw a JSException.
barraclough@apple.com [Mon, 22 Feb 2010 19:12:01 +0000 (19:12 +0000)]
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):

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

10 years ago2010-02-22 Xan Lopez <xlopez@igalia.com>
xan@webkit.org [Mon, 22 Feb 2010 19:07:29 +0000 (19:07 +0000)]
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:

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

10 years ago2010-02-22 Kwang Yul Seo <skyul@company100.net>
eric@webkit.org [Mon, 22 Feb 2010 19:02:50 +0000 (19:02 +0000)]
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):

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

10 years ago2010-02-22 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 22 Feb 2010 18:48:26 +0000 (18:48 +0000)]
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):

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

10 years ago2009-02-22 Adam Langley <agl@google.com>
agl@chromium.org [Mon, 22 Feb 2010 18:36:50 +0000 (18:36 +0000)]
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:

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

10 years agoBuild fix for make distcheck.
kov@webkit.org [Mon, 22 Feb 2010 18:11:55 +0000 (18:11 +0000)]
Build fix for make distcheck.

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

10 years ago2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
eric@webkit.org [Mon, 22 Feb 2010 17:25:35 +0000 (17:25 +0000)]
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):

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

10 years agoWebCore
kov@webkit.org [Mon, 22 Feb 2010 17:01:06 +0000 (17:01 +0000)]
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):

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

10 years ago[Qt] Build the DRT in debug on Mac OS X
vestbo@webkit.org [Mon, 22 Feb 2010 16:40:53 +0000 (16:40 +0000)]
[Qt] Build the DRT in debug on Mac OS X

Reviewed by Kenneth Rohde Christiansen.

* DumpRenderTree/qt/DumpRenderTree.pro:

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

10 years ago2010-02-22 Steve Block <steveblock@google.com>
eric@webkit.org [Mon, 22 Feb 2010 16:17:49 +0000 (16:17 +0000)]
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):

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

10 years ago2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
laszlo.1.gombos@nokia.com [Mon, 22 Feb 2010 15:16:36 +0000 (15:16 +0000)]
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:

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

10 years ago2010-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
eric@webkit.org [Mon, 22 Feb 2010 15:12:33 +0000 (15:12 +0000)]
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):

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

10 years ago2010-02-22 Steve Block <steveblock@google.com>
eric@webkit.org [Mon, 22 Feb 2010 14:26:13 +0000 (14:26 +0000)]
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):

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

10 years ago2010-02-22 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
vestbo@webkit.org [Mon, 22 Feb 2010 14:21:25 +0000 (14:21 +0000)]
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:

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

10 years ago[Qt] Switching from Phonon to QtMultimedia Backend for Qt 4.7
vestbo@webkit.org [Mon, 22 Feb 2010 13:42:13 +0000 (13:42 +0000)]
[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.

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

10 years ago2010-02-22 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 22 Feb 2010 13:02:47 +0000 (13:02 +0000)]
2010-02-22  Alexander Pavlov  <apavlov@chromium.org>

        Not reviewed: mac build fix

        * bindings/js/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::ScriptDebugServer):

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

10 years ago2010-02-22 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 22 Feb 2010 12:14:41 +0000 (12:14 +0000)]
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):

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

10 years agoREGRESSION (r55039): Animation starts from near end when loaded over slow network
mrowe@apple.com [Mon, 22 Feb 2010 11:18:05 +0000 (11:18 +0000)]
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):

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

10 years agoNot reviewed, build fix.
mjs@apple.com [Mon, 22 Feb 2010 10:31:47 +0000 (10:31 +0000)]
Not reviewed, build fix.

Revert the previous change.

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

10 years ago2010-02-21 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 22 Feb 2010 09:28:30 +0000 (09:28 +0000)]
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:

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

10 years ago2010-02-22 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 22 Feb 2010 09:13:58 +0000 (09:13 +0000)]
2010-02-22  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: windows build fix.

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

10 years agoPart 2 of Windows build fix.
bweinstein@apple.com [Mon, 22 Feb 2010 08:08:03 +0000 (08:08 +0000)]
Part 2 of Windows build fix.

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

10 years ago2010-02-21 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Mon, 22 Feb 2010 07:59:29 +0000 (07:59 +0000)]
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:

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

10 years agoPart 1 of Windows build fix.
bweinstein@apple.com [Mon, 22 Feb 2010 07:56:15 +0000 (07:56 +0000)]
Part 1 of Windows build fix.

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