WebKit-https.git
9 years agoReviewed by Eric Seidel.
kevino@webkit.org [Wed, 8 Jun 2011 19:31:48 +0000 (19:31 +0000)]
Reviewed by Eric Seidel.

Add export symbols to debugger headers.
https://bugs.webkit.org/show_bug.cgi?id=27551

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

9 years ago2011-06-08 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 8 Jun 2011 19:11:32 +0000 (19:11 +0000)]
2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        new-run-webkit-tests: master.cfg errors when nrwt successfully runs test
        https://bugs.webkit.org/show_bug.cgi?id=62303

        Access self.incorrectLayoutLines instead of incorrectLayoutLines in evaluateCommand.

        * BuildSlaveSupport/build.webkit.org-config/master.cfg:

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

9 years ago2011-06-08 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Wed, 8 Jun 2011 18:58:04 +0000 (18:58 +0000)]
2011-06-08  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Darin Adler.

        Moved MarkedSpace.* to NewSpace.* in preparation for more renaming
        https://bugs.webkit.org/show_bug.cgi?id=62268

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * JavaScriptCore.gypi:
        * JavaScriptCore.pro:
        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
        * JavaScriptCore.xcodeproj/project.pbxproj:
        * heap/Heap.h:
        * heap/MarkedBlock.h:
        * heap/MarkedSpace.cpp: Removed.
        * heap/MarkedSpace.h: Removed.
        * heap/NewSpace.cpp: Copied from Source/JavaScriptCore/heap/MarkedSpace.cpp.
        * heap/NewSpace.h: Copied from Source/JavaScriptCore/heap/MarkedSpace.h.

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

9 years ago2011-06-08 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Wed, 8 Jun 2011 18:40:26 +0000 (18:40 +0000)]
2011-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88365.
        http://trac.webkit.org/changeset/88365
        https://bugs.webkit.org/show_bug.cgi?id=62301

        windows bots broken (Requested by loislo_ on #webkit).

        * JavaScriptCore.exp:
2011-06-08  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88365.
        http://trac.webkit.org/changeset/88365
        https://bugs.webkit.org/show_bug.cgi?id=62301

        windows bots broken (Requested by loislo_ on #webkit).

        * inspector/InspectorValues.cpp:
        (WebCore::InspectorBasicValue::writeJSON):

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

9 years ago2011-06-08 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 8 Jun 2011 18:33:39 +0000 (18:33 +0000)]
2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>

        Added new entries for skia/third_party/glu.

        * DEPS:

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

9 years ago2011-06-08 Mikołaj Małecki <m.malecki@samsung.com>
loislo@chromium.org [Wed, 8 Jun 2011 18:24:06 +0000 (18:24 +0000)]
2011-06-08  Mikołaj Małecki  <m.malecki@samsung.com>

        Reviewed by Pavel Feldman.

        Web Inspector: Crash by buffer overrun crash when serializing inspector object tree.
        https://bugs.webkit.org/show_bug.cgi?id=52791

        No new tests. The problem can be reproduced by trying to create InspectorValue
        from 1.0e-100 and call ->toJSONString() on this.

        * inspector/InspectorValues.cpp:
        (WebCore::InspectorBasicValue::writeJSON):
        Added checking the predicted buffer size and choosing exponential format, or
        eventually "NaN" if the buffer is too small for decimal format.

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

9 years ago2011-06-08 Nico Weber <thakis@chromium.org>
thakis@chromium.org [Wed, 8 Jun 2011 18:20:16 +0000 (18:20 +0000)]
2011-06-08  Nico Weber  <thakis@chromium.org>

        Reviewed by Darin Adler.

        Fix a ?: precedence error in ScrollbarThemeMac and ScrollbarThemeChromium
        https://bugs.webkit.org/show_bug.cgi?id=62295

        This was found by a new warning recently added to clang's -Wparentheses

        * platform/chromium/ScrollbarThemeChromiumMac.mm:
        (WebCore::ScrollbarThemeChromiumMac::backButtonRect):
        * platform/mac/ScrollbarThemeMac.mm:
        (WebCore::ScrollbarThemeMac::backButtonRect):

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

9 years ago2011-06-08 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 8 Jun 2011 18:19:53 +0000 (18:19 +0000)]
2011-06-08  Ryosuke Niwa  <rniwa@webkit.org>

        Rolled DEPS.

        * DEPS:

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

9 years ago2011-06-08 Mark Pilgrim <pilgrim@chromium.org>
commit-queue@webkit.org [Wed, 8 Jun 2011 18:15:01 +0000 (18:15 +0000)]
2011-06-08  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        IndexedDB test: key paths as arrays
        https://bugs.webkit.org/show_bug.cgi?id=62291

        * storage/indexeddb/keypath-as-array-expected.txt: Added.
        * storage/indexeddb/keypath-as-array.html: Added.

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

9 years ago2011-06-08 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
caio.oliveira@openbossa.org [Wed, 8 Jun 2011 18:12:15 +0000 (18:12 +0000)]
2011-06-08  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] Remove dead code from our JSC bridge
        https://bugs.webkit.org/show_bug.cgi?id=62287

        The m_defaultMethod member is not used since r36848 and QtMethod
        was replaced by QtRuntimeMethod and subclasses in r29729.

        * bridge/qt/qt_instance.cpp:
        (JSC::Bindings::QtInstance::removeCachedMethod):
        (JSC::Bindings::QtInstance::visitAggregate):
        * bridge/qt/qt_instance.h:
        * bridge/qt/qt_runtime.h:

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

9 years ago2011-06-08 Ryan Sleevi <rsleevi@chromium.org>
commit-queue@webkit.org [Wed, 8 Jun 2011 18:04:43 +0000 (18:04 +0000)]
2011-06-08  Ryan Sleevi  <rsleevi@chromium.org>

        Reviewed by Tony Chang.

        Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6

        Compiling Chromium port under GCC 4.6 produces warnings about nullptr
        https://bugs.webkit.org/show_bug.cgi?id=62242

        * JavaScriptCore.gyp/JavaScriptCore.gyp:
2011-06-08  Ryan Sleevi  <rsleevi@chromium.org>

        Reviewed by Tony Chang.

        Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6

        Compiling Chromium port under GCC 4.6 produces warnings about nullptr
        https://bugs.webkit.org/show_bug.cgi?id=62242

        * WebCore.gyp/WebCore.gyp:
2011-06-08  Ryan Sleevi  <rsleevi@chromium.org>

        Reviewed by Tony Chang.

        Suppress C++0x compat warnings when compiling Chromium port with GCC 4.6

        Compiling Chromium port under GCC 4.6 produces warnings about nullptr
        https://bugs.webkit.org/show_bug.cgi?id=62242

        * WebKit.gyp:

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

9 years ago2011-05-25 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Wed, 8 Jun 2011 18:03:07 +0000 (18:03 +0000)]
2011-05-25  Xiaomei Ji  <xji@chromium.org>

        Reviewed by Ryosuke Niwa.

        --webkit-visual-word does not work well in words separated by multiple spaces
        https://bugs.webkit.org/show_bug.cgi?id=61324

        Remove positionBeforeNextWord and positionAfterPreviousWord short-cuts. They try to find the
        right word boundary (before the space or after the space) by using previousWordPosition and
        nextWordPosition. But they assume words are separated by single space and are not correct
        for words separated by multiple spaces and words not separated by space.

        Consider positionBeforeNextWord() for example,

        First, it checks whether the current position is after the current word by checking current
        position's previousWordPosition's nextWordPosition is the same as current position, which is
        wrong for words separated by multiple spaces. For example, given words A and B separated by
        3 continuous spaces "A   B", position "A|", "A |", and "A  |" should all be considered as
        position after current word. But for position "A |", its previousWordPosition's
        nextWordPosition is position "A|", which is different from its current position, so the
        current position is not considered as a position after current word, consequently,
        instead of returning the right position as "A   |B", positionBeforeNextWord returns the
        position before next next word, as "A   B |C". Similar happens for position "A  |".

        Second, given 3 Chinese words "ABC" that are not segmented by space, when cursor is at
        "A|BC", positionBeforeNextWord() returns the same position after calling current position's
        nextWordPosition's previousWordPosition. It should returns position "AB|C".

        For those cases, we will have to collect all the word breaks inside the box and look for
        the one at left or right of current position.

        * editing/visible_units.cpp:
        (WebCore::leftWordPosition):
        (WebCore::rightWordPosition):
2011-05-25  Xiaomei Ji  <xji@chromium.org>

        Reviewed by Ryosuke Niwa.

        --webkit-visual-word does not work well in words separated by multiple spaces
        https://bugs.webkit.org/show_bug.cgi?id=61324

        Add test cases for preserving white spaces and test case for words not separated by space.

        * editing/selection/move-by-word-visually-expected.txt:
        * editing/selection/move-by-word-visually.html:

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

9 years ago2011-06-08 Greg Simon <gregsimon@chromium.org>
commit-queue@webkit.org [Wed, 8 Jun 2011 17:50:29 +0000 (17:50 +0000)]
2011-06-08  Greg Simon  <gregsimon@chromium.org>

        Reviewed by Dimitri Glazkov.

        Test migration from sqlite to leveldb for IndexedDB
        backend.
        https://bugs.webkit.org/show_bug.cgi?id=61000

        * storage/indexeddb/migrate-basics-expected.txt: Added.
        * storage/indexeddb/migrate-basics.html: Added.
2011-06-08  Greg Simon  <gregsimon@chromium.org>

        Reviewed by Dimitri Glazkov.

        Control Indexeddb backends from LayoutTestController
        https://bugs.webkit.org/show_bug.cgi?id=61000

        Test: storage/indexeddb/migrate-basics.html

        * storage/IDBBackingStore.h:
        * storage/IDBFactoryBackendImpl.cpp:
        (WebCore::IDBFactoryBackendImpl::open):
        (WebCore::IDBFactoryBackendImpl::migrate):
        * storage/IDBFactoryBackendImpl.h:
        * storage/IDBFactoryBackendInterface.h:
        * storage/IDBLevelDBBackingStore.cpp:
        (WebCore::IDBLevelDBBackingStore::backingStoreExists):
        * storage/IDBLevelDBBackingStore.h:
        (WebCore::IDBLevelDBBackingStore::backingStoreType):
        * storage/IDBSQLiteBackingStore.cpp:
        (WebCore::IDBSQLiteBackingStore::backingStoreExists):
        * storage/IDBSQLiteBackingStore.h:
        (WebCore::IDBSQLiteBackingStore::backingStoreType):
2011-06-08  Greg Simon  <gregsimon@chromium.org>

        Reviewed by Dimitri Glazkov.

        Control Indexeddb backends from LayoutTestController
        https://bugs.webkit.org/show_bug.cgi?id=61000

        * public/WebIDBFactory.h:
        * src/AssertMatchingEnums.cpp:
        * src/WebIDBFactoryImpl.cpp:
        (WebKit::WebIDBFactory::setOverrideBackingStoreType):
        (WebKit::WebIDBFactory::setTemporaryDatabaseFolder):
        (WebKit::WebIDBFactoryImpl::open):
2011-06-08  Greg Simon  <gregsimon@chromium.org>

        Reviewed by Dimitri Glazkov.

        Control Indexeddb backends from LayoutTestController
        https://bugs.webkit.org/show_bug.cgi?id=61000

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (LayoutTestController::setOverrideIndexedDBBackingStore):
        (LayoutTestController::clearAllDatabases):
        * DumpRenderTree/chromium/LayoutTestController.h:

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

9 years ago2011-06-08 Dmitry Lomov <dslomov@google.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 17:31:03 +0000 (17:31 +0000)]
2011-06-08  Dmitry Lomov  <dslomov@google.com>

        Reviewed by Adam Barth.

        https://bugs.webkit.org/show_bug.cgi?id=62164
        Remove "multi-threaded" logic in V8 DOMData, DOMDataStore and friends
        This functionality is untested and unused:
        This is an old code from Lockers-based implementation of WebWorkers in
        V8 bindings, to make sure that DOM objects are released on the right thread
        even though GC could have happened on any thread. It is currently unused (since
        current model is one worker per process) and is being removed because new implementation
        of WebWorkers will be using V8 isolates.

        * WebCore.gypi:
        * WebCore.pro:
        * bindings/v8/ChildThreadDOMData.cpp: Removed.
        * bindings/v8/ChildThreadDOMData.h: Removed.
        * bindings/v8/DOMData.cpp:
        (WebCore::DOMData::DOMData):
        (WebCore::DOMData::getCurrent):
        (WebCore::DOMData::getMainThreadStore):
        * bindings/v8/DOMData.h:
        (WebCore::DOMData::getStore):
        (WebCore::DOMData::getCurrentMainThreadStore):
        (WebCore::DOMData::handleWeakObject):
        * bindings/v8/DOMDataStore.cpp:
        (WebCore::DOMDataStore::DOMDataStore):
        (WebCore::DOMDataStore::~DOMDataStore):
        (WebCore::DOMDataStore::weakNodeCallback):
        * bindings/v8/DOMDataStore.h:
        * bindings/v8/MainThreadDOMData.cpp: Removed.
        * bindings/v8/MainThreadDOMData.h: Removed.
        * bindings/v8/V8DOMMap.cpp:
        (WebCore::getDOMDataStore):
        (WebCore::removeAllDOMObjects):
        (WebCore::visitDOMNodes):
        (WebCore::visitDOMObjects):
        (WebCore::visitActiveDOMObjects):
        (WebCore::visitDOMSVGElementInstances):
        * bindings/v8/V8DOMMap.h:
        * bindings/v8/V8GCController.cpp:
        (WebCore::V8GCController::gcPrologue):
        (WebCore::V8GCController::gcEpilogue):
        * bindings/v8/WorkerScriptController.cpp:
        (WebCore::WorkerScriptController::~WorkerScriptController):

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

9 years ago2011-06-08 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Wed, 8 Jun 2011 17:27:13 +0000 (17:27 +0000)]
2011-06-08  James Simonsen  <simonjam@chromium.org>

        [Chromium] Unreviewed, skip two failing tests. Bugs filed.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-08 Ademar de Souza Reis Jr. <ademar.reis@openbossa.org>
ademar.reis@openbossa.org [Wed, 8 Jun 2011 17:14:30 +0000 (17:14 +0000)]
2011-06-08  Ademar de Souza Reis Jr.  <ademar.reis@openbossa.org>

        Reviewed by Andreas Kling.

        Webkit on SPARC Solaris has wrong endian
        https://bugs.webkit.org/show_bug.cgi?id=29407

        Bug 57256 fixed one crash on misaligned reads on sparc/solaris, but
        there are more ocurrences of the same code pattern in webkit.

        This patch includes the check on these other parts of the code.

        This is a speculative fix, I don't have a sparc machine to test and
        don't know which kind of test would trigger a crash (but it's quite
        obvious that it's the same code duplicated in different files).

        * runtime/UString.h:
        (JSC::UStringHash::equal):
        * wtf/text/StringHash.h:
        (WTF::StringHash::equal):

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

9 years ago2011-06-08 Jaehun Lim <ljaehun.lim@samsung.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 17:10:44 +0000 (17:10 +0000)]
2011-06-08  Jaehun Lim  <ljaehun.lim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Implements "undo" command execution
        https://bugs.webkit.org/show_bug.cgi?id=62201

        Supports to execute "Undo" command.

        * WebCoreSupport/EditorClientEfl.cpp:
        (WebCore::EditorClientEfl::registerCommandForUndo):
        (WebCore::EditorClientEfl::clearUndoRedoOperations):
        (WebCore::EditorClientEfl::canUndo):
        (WebCore::EditorClientEfl::undo):
        * WebCoreSupport/EditorClientEfl.h:

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

9 years ago2011-06-08 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Wed, 8 Jun 2011 16:16:14 +0000 (16:16 +0000)]
2011-06-08  Andreas Kling  <kling@webkit.org>

        Add Pierre Rossi to contributors list for EZ-CC.

        * Scripts/webkitpy/common/config/committers.py:

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

9 years ago2011-06-08 Eunmi Lee <eunmi15.lee@samsung.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 16:16:00 +0000 (16:16 +0000)]
2011-06-08  Eunmi Lee  <eunmi15.lee@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] remove adjusting codes for zoom's center coordinate
        https://bugs.webkit.org/show_bug.cgi?id=62266

        It is possible that the application developers don't want to limit
        zoom's center coordinate to the viewport for implementing some effects
        and center coordinate out of the viewport does not affect to the zoom operation.
        So, It is better to leave zoom's center coordinate freely.

        * ewk/ewk_view.cpp:
        (ewk_view_zoom_set):
        (ewk_view_zoom_weak_set):

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

9 years ago2011-06-08 Dominic Mazzoni <dmazzoni@google.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 15:52:59 +0000 (15:52 +0000)]
2011-06-08  Dominic Mazzoni  <dmazzoni@google.com>

        Reviewed by Dimitri Glazkov.

        Add a method to return the line breaks for any element with
        multiline text content.
        https://bugs.webkit.org/show_bug.cgi?id=62236

        * public/WebAccessibilityObject.h:
        * src/WebAccessibilityObject.cpp:
        (WebKit::WebAccessibilityObject::lineBreaks):

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

9 years ago2011-06-08 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Wed, 8 Jun 2011 15:28:27 +0000 (15:28 +0000)]
2011-06-08  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Build fix for building QtWebKit inside of Qt.
        https://bugs.webkit.org/show_bug.cgi?id=62280

        Remove CONFIG=staticlib, because it causes the configure script to add -ljavascriptcore
        into QtWebKit.prl.

        No new tests, as this is just a build fix.

        * JavaScriptCore.pri:
2011-06-08  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Build fix for building QtWebKit inside of Qt.
        https://bugs.webkit.org/show_bug.cgi?id=62280

        Remove CONFIG=staticlib, because it causes the configure script to add -lwebcore
        into QtWebKit.prl.

        No new tests, as this is just a build fix.

        * WebCore.pri:
2011-06-08  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] Build fix for building QtWebKit inside of Qt.
        https://bugs.webkit.org/show_bug.cgi?id=62280

        Remove CONFIG=staticlib, because it causes the configure script to add -lwebkit2
        into QtWebKit.prl.

        * WebKit2.pri:

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

9 years ago2011-06-08 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 8 Jun 2011 15:24:41 +0000 (15:24 +0000)]
2011-06-08  Alexander Pavlov  <apavlov@chromium.org>

        [Qt] Unreviewed, skip failing tests

        * platform/qt/Skipped:

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

9 years ago2011-06-08 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Wed, 8 Jun 2011 14:58:32 +0000 (14:58 +0000)]
2011-06-08  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Render non-document HTML resources as HTML
        https://bugs.webkit.org/show_bug.cgi?id=58886

        * English.lproj/localizedStrings.js:
        * WebCore.gypi:
        * WebCore.vcproj/WebCore.vcproj:
        * inspector/front-end/NetworkItemView.js:
        (WebInspector.NetworkItemView):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype._mimeTypeIsConsistentWithType):
        (WebInspector.Resource.prototype.hasErrorStatusCode):
        * inspector/front-end/ResourceHTMLView.js: Added.
        (WebInspector.ResourceHTMLView):
        (WebInspector.ResourceHTMLView.prototype.hasContent):
        (WebInspector.ResourceHTMLView.prototype.show):
        (WebInspector.ResourceHTMLView.prototype.hide):
        (WebInspector.ResourceHTMLView.prototype._createIFrame):
        * inspector/front-end/ResourcePreviewView.js: Added.
        (WebInspector.ResourcePreviewView):
        (WebInspector.ResourcePreviewView.prototype.hasContent):
        (WebInspector.ResourcePreviewView.prototype.show):
        (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown.callback):
        (WebInspector.ResourcePreviewView.prototype._ensureInnerViewShown):
        (WebInspector.ResourcePreviewView.prototype._createInnerView):
        * inspector/front-end/Settings.js:
        (WebInspector.Settings):
        * inspector/front-end/WebKit.qrc:
        * inspector/front-end/inspector.css:
        (.resource-view.html iframe):
        * inspector/front-end/inspector.html:

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

9 years ago2011-06-08 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 8 Jun 2011 14:52:16 +0000 (14:52 +0000)]
2011-06-08  Alexander Pavlov  <apavlov@chromium.org>

        [Qt, Chromium] Unreviewed attempt to fix tests on Qt and Chromium.

        * inspector/styles/styles-disable-then-change.html:
        * inspector/styles/styles-disable-then-enable.html:
        * inspector/styles/styles-update-from-js.html:
        * inspector/styles/up-down-numerics-and-colors.html:

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

9 years ago2011-06-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Wed, 8 Jun 2011 14:12:52 +0000 (14:12 +0000)]
2011-06-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Enable PROGRESS_TAG feature
        https://bugs.webkit.org/show_bug.cgi?id=62212

        * Source/cmake/OptionsEfl.cmake: Turn on PROGRESS_TAG by default.

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

9 years ago2011-06-08 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 8 Jun 2011 13:57:12 +0000 (13:57 +0000)]
2011-06-08  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed chromium build fix for r88332.

        * src/WebRuntimeFeatures.cpp:

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

9 years ago2011-05-18 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Wed, 8 Jun 2011 13:48:05 +0000 (13:48 +0000)]
2011-05-18  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: hide script location to ui location conversion details from ScriptsPanel.
        https://bugs.webkit.org/show_bug.cgi?id=61035

        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.sourceFileForScriptURL):
        (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILocation.didRequestSourceMapping):
        (WebInspector.DebuggerPresentationModel.prototype.scriptLocationToUILocation):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype.showAnchorLocation.didGetUILocation):
        (WebInspector.ScriptsPanel.prototype.showAnchorLocation):

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

9 years ago2011-06-08 Tommy Widenflycht <tommyw@google.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 13:24:52 +0000 (13:24 +0000)]
2011-06-08  Tommy Widenflycht  <tommyw@google.com>

        Reviewed by Tony Gentilcore.

        StreamEvent

        Media Stream PeerConnection API: adding StreamEvent class
        https://bugs.webkit.org/show_bug.cgi?id=61537

        Tests for the Media Stream API will be provided by the bug 56587.

        * CMakeLists.txt:
        * CodeGenerators.pri:
        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/JSEventCustom.cpp:
        (WebCore::toJS):
        * bindings/v8/custom/V8EventCustom.cpp:
        (WebCore::toV8):
        * dom/DOMAllInOne.cpp:
        * dom/Event.cpp:
        (WebCore::Event::isStreamEvent):
        * dom/Event.h:
        * dom/StreamEvent.cpp: Added.
        (WebCore::StreamEvent::create):
        (WebCore::StreamEvent::StreamEvent):
        (WebCore::StreamEvent::~StreamEvent):
        (WebCore::StreamEvent::initStreamEvent):
        (WebCore::StreamEvent::stream):
        * dom/StreamEvent.h: Added.
        (WebCore::StreamEvent::isStreamEvent):
        * dom/StreamEvent.idl: Added.

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

9 years ago2011-06-08 Lucas De Marchi <lucas.demarchi@profusion.mobi>
demarchi@webkit.org [Wed, 8 Jun 2011 13:19:43 +0000 (13:19 +0000)]
2011-06-08  Lucas De Marchi  <lucas.demarchi@profusion.mobi>

        Reviewed by Kenneth Rohde Christiansen.

        [CMAKE] Never let a WTF_FEATURE defined to nothing
        https://bugs.webkit.org/show_bug.cgi?id=60820

        If a port doesn't want to give the user some configure options,
        nevertheless it would have to define this feature as OFF. Otherwise
        there's a build error because the generated cmakeconfig.h is not
        parsed correctly by ENABLE macro, which expects each feature to be
        either undefined or defined to TRUE/FALSE.

        * Source/cmake/WebKitFeatures.cmake: Use a variable with the same name
        of the feature, which allows CONFIGURE_FILE() to replace it in the new
        cmakeconfig.h.cmake.
        * Source/cmakeconfig.h.cmake: use #cmakedefine01 instead of #define
        with another variable. This way the feature will always be 0 or 1 and
        it will never be left undefined.

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

9 years ago2011-06-08 Tommy Widenflycht <tommyw@google.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 13:08:11 +0000 (13:08 +0000)]
2011-06-08  Tommy Widenflycht  <tommyw@google.com>

        Reviewed by Tony Gentilcore.

        Media Stream API: integrate the Track List objects into the existing code.
        https://bugs.webkit.org/show_bug.cgi?id=60205

        Tests for the Media Stream API will be provided by the bug 56587.

        * dom/ExclusiveTrackList.cpp:
        (WebCore::ExclusiveTrackList::select):
        (WebCore::ExclusiveTrackList::trackFailed):
        * dom/ExclusiveTrackList.h:
        * dom/GeneratedStream.cpp:
        (WebCore::GeneratedStream::create):
        (WebCore::GeneratedStream::GeneratedStream):
        (WebCore::GeneratedStream::streamEnded):
        (WebCore::GeneratedStream::audioTracks):
        (WebCore::GeneratedStream::videoTracks):
        (WebCore::GeneratedStream::stop):
        * dom/GeneratedStream.h:
        * dom/GeneratedStream.idl:
        * dom/MultipleTrackList.cpp:
        (WebCore::MultipleTrackList::trackFailed):
        (WebCore::MultipleTrackList::enable):
        (WebCore::MultipleTrackList::disable):
        * dom/MultipleTrackList.h:
        * dom/Stream.h:
        * dom/TrackList.cpp:
        (WebCore::TrackList::clear):
        (WebCore::TrackList::associateStream):
        (WebCore::TrackList::associatedStreamLabel):
        (WebCore::TrackList::trackFailed):
        (WebCore::TrackList::scriptExecutionContext):
        * dom/TrackList.h:
        * page/MediaStreamClient.h:
        * page/MediaStreamController.cpp:
        (WebCore::MediaStreamController::enableAudioTrack):
        (WebCore::MediaStreamController::disableAudioTrack):
        (WebCore::MediaStreamController::selectVideoTrack):
        (WebCore::MediaStreamController::streamGenerated):
        (WebCore::MediaStreamController::audioTrackFailed):
        (WebCore::MediaStreamController::videoTrackFailed):
        * page/MediaStreamController.h:
        * page/MediaStreamFrameController.cpp:
        (WebCore::MediaStreamFrameController::unregister):
        (WebCore::MediaStreamFrameController::enterDetachedState):
        (WebCore::MediaStreamFrameController::disconnectFrame):
        (WebCore::MediaStreamFrameController::enableAudioTrack):
        (WebCore::MediaStreamFrameController::disableAudioTrack):
        (WebCore::MediaStreamFrameController::selectVideoTrack):
        (WebCore::MediaStreamFrameController::streamGenerated):
        (WebCore::MediaStreamFrameController::audioTrackFailed):
        (WebCore::MediaStreamFrameController::videoTrackFailed):
        * page/MediaStreamFrameController.h:
        (WebCore::MediaStreamFrameController::ClientBase::isGenericClient):
        (WebCore::MediaStreamFrameController::GenericClient::GenericClient):
        (WebCore::MediaStreamFrameController::GenericClient::~GenericClient):
        (WebCore::MediaStreamFrameController::GenericClient::isGenericClient):
        (WebCore::MediaStreamFrameController::GenericClient::unregister):

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

9 years ago2011-06-08 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 8 Jun 2011 13:06:24 +0000 (13:06 +0000)]
2011-06-08  Alexander Pavlov  <apavlov@chromium.org>

        [Qt] Unreviewed, attempt to make test pass on Qt.

        * inspector/styles/styles-update-from-js.html:

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

9 years ago2011-06-08 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Wed, 8 Jun 2011 12:52:34 +0000 (12:52 +0000)]
2011-06-08  Andreas Kling  <kling@webkit.org>

        Reviewed by Benjamin Poulain.

        [Qt] FrameLoaderClient: Check Vector::find() return value for WTF::notFound.
        https://bugs.webkit.org/show_bug.cgi?id=62274

        Vector::find() returns size_t (which is unsigned), so we should check
        for WTF::notFound instead of -1.

        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::createPlugin):

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

9 years ago2011-06-08 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Wed, 8 Jun 2011 12:18:12 +0000 (12:18 +0000)]
2011-06-08  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: [REGRESSION] breakpoints are not persisted.
        https://bugs.webkit.org/show_bug.cgi?id=62273

        * inspector/front-end/Settings.js:

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

9 years ago2011-06-08 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Wed, 8 Jun 2011 11:31:54 +0000 (11:31 +0000)]
2011-06-08  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: node selection is slow in the Elements panel.
        https://bugs.webkit.org/show_bug.cgi?id=60813

        * http/tests/inspector/inspect-iframe-from-different-domain.html:
        * inspector/elements/elements-delete-inline-style.html:
        * inspector/elements/elements-panel-styles.html:
        * inspector/styles/styles-add-invalid-property.html:
        * inspector/styles/styles-cancel-editing.html:
        * inspector/styles/styles-commit-editing.html:
        * inspector/styles/styles-computed-trace.html:
        * inspector/styles/styles-disable-inherited.html:
        * inspector/styles/styles-disable-then-change.html:
        * inspector/styles/styles-disable-then-delete.html:
        * inspector/styles/styles-disable-then-enable.html:
        * inspector/styles/styles-iframe.html:
        * inspector/styles/styles-update-from-js-expected.txt:
        * inspector/styles/styles-update-from-js.html:
        * inspector/styles/styles-url-linkify.html:
2011-06-08  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: node selection is slow in the Elements panel.
        https://bugs.webkit.org/show_bug.cgi?id=60813

        Schedule full style updates rather than request all node styles from the backend immediately.

        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylesSidebarPane.prototype.update.reloadAllStyles):
        (WebInspector.StylesSidebarPane.prototype.update):

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

9 years ago2011-06-08 Andreas Kling <andreas.kling@nokia.com>
andreas.kling@nokia.com [Wed, 8 Jun 2011 10:52:40 +0000 (10:52 +0000)]
2011-06-08  Andreas Kling  <andreas.kling@nokia.com>

        Reviewed by Laszlo Gombos.

        [Symbian] Float{32,64}Array and Int16Array fail to build.
        https://bugs.webkit.org/show_bug.cgi?id=62219

        For some reason, RVCT 2.x is moaning about "class member designated by
        a using-declaration must be visible in a direct base class".
        Apply same fix as r69122 and r76592.

        * html/canvas/Float32Array.h:
        (WebCore::Float32Array::set):
        * html/canvas/Float64Array.h:
        (WebCore::Float64Array::set):
        * html/canvas/Int16Array.h:
        (WebCore::Int16Array::set):

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

9 years ago2011-06-08 Syed Idris Shah <syed.idris-shah@nokia.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 10:33:12 +0000 (10:33 +0000)]
2011-06-08  Syed Idris Shah  <syed.idris-shah@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] GL_POINT_SPRITE and GL_VERTEX_PROGRAM_POINT_SIZE should be enabled for desktop WebGL
        https://bugs.webkit.org/show_bug.cgi?id=61945

        For OpenGL ES we do not need these features.
        These features are available via shaders in OpenGL ES. But for desktop WebGL using QtWebKit they should be enabled.

        LayoutTests/fast/canvas/webgl/point-size.html

        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):

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

9 years ago2011-06-08 Ilya Sherman <isherman@chromium.org>
isherman@chromium.org [Wed, 8 Jun 2011 09:39:38 +0000 (09:39 +0000)]
2011-06-08  Ilya Sherman  <isherman@chromium.org>

        Reviewed by Andreas Kling.

        Add Ilya Sherman to list of committers
        https://bugs.webkit.org/show_bug.cgi?id=62270

        * Scripts/webkitpy/common/config/committers.py:

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

9 years ago2011-06-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>
gyuyoung.kim@samsung.com [Wed, 8 Jun 2011 09:02:54 +0000 (09:02 +0000)]
2011-06-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Unreviewed. Fix style error.

        * platform/efl/RenderThemeEfl.cpp:
        * platform/efl/RenderThemeEfl.h:

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

9 years ago2011-06-08 Hironori Bono <hbono@chromium.org>
morrita@google.com [Wed, 8 Jun 2011 08:54:12 +0000 (08:54 +0000)]
2011-06-08  Hironori Bono  <hbono@chromium.org>

        Reviewed by Brent Fulgham.

        Add SpellCheck API
        https://bugs.webkit.org/show_bug.cgi?id=59693

        This change adds two SpellCheck API functions (addSpellcheckRange and
        removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
        the public-webapps ML. This change is currently available only on Chromium.

        * editing/spelling/spellcheck-api-expected.txt: Added.
        * editing/spelling/spellcheck-api-pixel.html: Added.
        * editing/spelling/spellcheck-api.html: Added.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2011-06-08  Hironori Bono  <hbono@chromium.org>

        Reviewed by Brent Fulgham.

        Add SpellCheck API
        https://bugs.webkit.org/show_bug.cgi?id=59693

        This change adds two SpellCheck API functions (addSpellcheckRange and
        removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
        the public-webapps ML. This change is currently available only on Chromium.

        Tests: editing/spelling/spellcheck-api-pixel.html
               editing/spelling/spellcheck-api.html

        * WebCore.gypi:
        * bindings/generic/RuntimeEnabledFeatures.cpp:
        * bindings/generic/RuntimeEnabledFeatures.h:
        (WebCore::RuntimeEnabledFeatures::spellCheckAPIEnabled):
        (WebCore::RuntimeEnabledFeatures::setSpellCheckAPIEnabled):
        * dom/DocumentMarker.h:
        (WebCore::DocumentMarker::length):
        * dom/DocumentMarkerController.cpp:
        (WebCore::DocumentMarkerController::userSpellingMarkersForNode):
        (WebCore::DocumentMarkerController::addUserSpellingMarker):
        (WebCore::DocumentMarkerController::removeUserSpellingMarker):
        (WebCore::DocumentMarkerController::userSpellingNode):
        * dom/DocumentMarkerController.h:
        * html/HTMLDivElement.cpp:
        (WebCore::HTMLDivElement::spellcheckRanges):
        (WebCore::HTMLDivElement::addSpellcheckRange):
        (WebCore::HTMLDivElement::removeSpellcheckRange):
        * html/HTMLDivElement.h:
        * html/HTMLDivElement.idl:
        * html/HTMLInputElement.cpp:
        (WebCore::HTMLInputElement::spellcheckRanges):
        (WebCore::HTMLInputElement::addSpellcheckRange):
        (WebCore::HTMLInputElement::removeSpellcheckRange):
        * html/HTMLInputElement.h:
        * html/HTMLInputElement.idl:
        * html/HTMLTextAreaElement.cpp:
        (WebCore::HTMLTextAreaElement::spellcheckRanges):
        (WebCore::HTMLTextAreaElement::addSpellcheckRange):
        (WebCore::HTMLTextAreaElement::removeSpellcheckRange):
        * html/HTMLTextAreaElement.h:
        * html/HTMLTextAreaElement.idl:
        * html/SpellcheckRange.cpp: Added.
        (WebCore::SpellcheckRange::SpellcheckRange):
        (WebCore::SpellcheckRange::~SpellcheckRange):
        * html/SpellcheckRange.h: Added.
        (WebCore::SpellcheckRange::create):
        (WebCore::SpellcheckRange::start):
        (WebCore::SpellcheckRange::length):
        (WebCore::SpellcheckRange::suggestions):
        (WebCore::SpellcheckRange::options):
        * html/SpellcheckRange.idl: Added.
        * html/SpellcheckRangeList.cpp: Added.
        (WebCore::SpellcheckRangeList::SpellcheckRangeList):
        (WebCore::SpellcheckRangeList::~SpellcheckRangeList):
        (WebCore::SpellcheckRangeList::item):
        * html/SpellcheckRangeList.h: Added.
        (WebCore::SpellcheckRangeList::create):
        (WebCore::SpellcheckRangeList::isEmpty):
        (WebCore::SpellcheckRangeList::clear):
        (WebCore::SpellcheckRangeList::append):
        (WebCore::SpellcheckRangeList::remove):
        (WebCore::SpellcheckRangeList::length):
        * html/SpellcheckRangeList.idl: Added.
        * rendering/InlineTextBox.cpp:
        (WebCore::textCheckingLineStyleForMarkerType):
        (WebCore::InlineTextBox::paintDocumentMarkers):
2011-06-08  Hironori Bono  <hbono@chromium.org>

        Reviewed by Brent Fulgham.

        Add SpellCheck API
        https://bugs.webkit.org/show_bug.cgi?id=59693

        This change adds two SpellCheck API functions (addSpellcheckRange and
        removeSpellcheckRange) and one attribute (spellcheckRange) discussed in
        the public-webapps ML. This change is currently available only on Chromium.

        * features.gypi:
        * public/WebRuntimeFeatures.h:
        * src/ContextMenuClientImpl.cpp:
        (WebKit::ContextMenuClientImpl::getCustomMenuFromDefaultItems):
        * src/WebRuntimeFeatures.cpp:
        (WebKit::WebRuntimeFeatures::enableSpellCheckAPI):
        (WebKit::WebRuntimeFeatures::isSpellCheckAPIEnabled):

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

9 years ago2011-06-07 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Wed, 8 Jun 2011 08:27:23 +0000 (08:27 +0000)]
2011-06-07  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove shadow dom inspection from Elements panel by default.
        https://bugs.webkit.org/show_bug.cgi?id=62188

        This reverts r85751

        * dom/Element.cpp:
        (WebCore::Element::ensureShadowRoot):
        (WebCore::Element::removeShadowRoot):
        * inspector/Inspector.json:
        * inspector/InspectorDOMAgent.cpp:
        (WebCore::InspectorDOMAgent::pushChildNodesToFrontend):
        (WebCore::InspectorDOMAgent::buildObjectForNode):
        (WebCore::InspectorDOMAgent::didInsertDOMNode):
        (WebCore::InspectorDOMAgent::didRemoveDOMNode):
        * inspector/InspectorDOMAgent.h:
        * inspector/front-end/DOMAgent.js:
        (WebInspector.DOMNode):
        (WebInspector.DOMNode.prototype._renumber):
        (WebInspector.DOMAgent.prototype._bindNodes):
        (WebInspector.DOMAgent.prototype.querySelectorAll):
        (WebInspector.DOMDispatcher.prototype.searchResults):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel):
        (WebInspector.ElementsPanel.prototype._attributesUpdated):
        (WebInspector.ElementsPanel.prototype._characterDataModified):
        (WebInspector.ElementsPanel.prototype._nodeInserted):
        (WebInspector.ElementsPanel.prototype._nodeRemoved):
        (WebInspector.ElementsPanel.prototype.updateModifiedNodes):
        (WebInspector.ElementsPanel.prototype.updateBreadcrumb):
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement):
        (WebInspector.ElementsTreeElement.prototype._updateChildren.updateChildrenOfNode):
        (WebInspector.ElementsTreeElement.prototype._updateChildren):
        ():
        * inspector/front-end/inspector.css:
        * inspector/front-end/utilities.js:
        (Element.prototype.query):

2011-06-07  Andrey Kosyakov  <caseq@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove shadow dom inspection from Elements panel by default.
        https://bugs.webkit.org/show_bug.cgi?id=62188

        This reverts r85751

        * http/tests/inspector/elements-test.js:
        (initialize_ElementTest.InspectorTest.findNode.processChildren):
        (initialize_ElementTest.InspectorTest.findNode.documentRequested):
        (initialize_ElementTest.InspectorTest.findNode):
        * inspector/console/console-shadow-dom-access.html: Removed.
        * inspector/elements/shadow-dom-expected.txt: Removed.
        * inspector/elements/shadow-dom.html: Removed.
        * platform/win/Skipped:

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

9 years agoFix the build.
mrowe@apple.com [Wed, 8 Jun 2011 07:20:23 +0000 (07:20 +0000)]
Fix the build.

* platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
(WebCore::MediaPlayerPrivateAVFoundation::timeChanged):
(WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):

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

9 years ago2011-06-07 Keishi Hattori <keishi@webkit.org>
keishi@webkit.org [Wed, 8 Jun 2011 06:18:49 +0000 (06:18 +0000)]
2011-06-07  Keishi Hattori  <keishi@webkit.org>

        Reviewed by Kent Tamura.

        Rename HTMLInputElement::m_value to m_valueIfDirty
        https://bugs.webkit.org/show_bug.cgi?id=61990

        No new tests because no behavior change.

        * html/HTMLInputElement.cpp: Replaced m_value with m_valueIfDirty.
        (WebCore::HTMLInputElement::tooLong):
        (WebCore::HTMLInputElement::updateType):
        (WebCore::HTMLInputElement::parseMappedAttribute):
        (WebCore::HTMLInputElement::copyNonAttributeProperties):
        (WebCore::HTMLInputElement::value):
        (WebCore::HTMLInputElement::setValue):
        (WebCore::HTMLInputElement::setValueFromRenderer):
        (WebCore::HTMLInputElement::updateValueIfNeeded):
        * html/HTMLInputElement.h: Renamed m_value to m_valueIfDirty.
        (WebCore::HTMLInputElement::hasDirtyValue): Added. Returns the dirty value flag.

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

9 years ago2011-06-07 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Wed, 8 Jun 2011 06:16:32 +0000 (06:16 +0000)]
2011-06-07  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Oliver Hunt.

        Split 'reset' into 'collect' and 'resetAllocator'
        https://bugs.webkit.org/show_bug.cgi?id=62267

        * heap/Heap.cpp:
        (JSC::Heap::allocate):
        (JSC::Heap::collectAllGarbage):
        (JSC::Heap::collect):
        * heap/Heap.h:
        * heap/MarkedBlock.h:
        (JSC::MarkedBlock::resetAllocator):
        * heap/MarkedSpace.cpp:
        (JSC::MarkedSpace::resetAllocator):
        * heap/MarkedSpace.h:
        (JSC::MarkedSpace::SizeClass::resetAllocator):

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

9 years ago[Qt] Skip new failing tests.
ossy@webkit.org [Wed, 8 Jun 2011 06:13:06 +0000 (06:13 +0000)]
[Qt] Skip new failing tests.

* platform/qt/Skipped:

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

9 years ago2011-06-07 James Kozianski <koz@chromium.org>
koz@chromium.org [Wed, 8 Jun 2011 06:01:09 +0000 (06:01 +0000)]
2011-06-07  James Kozianski  <koz@chromium.org>

        [Chromium] Unreviewed. Update more snowleopard baselines after r88321.

        * platform/chromium-mac-leopard/fast/css/shadow-multiple-expected.png:
        * platform/chromium-mac/fast/css/shadow-multiple-expected.png:

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

9 years ago2011-06-07 James Kozianski <koz@chromium.org>
koz@chromium.org [Wed, 8 Jun 2011 05:28:33 +0000 (05:28 +0000)]
2011-06-07  James Kozianski  <koz@chromium.org>

        [Chromium] Unreviewed. Update snowleopard baselines after r88321.

        * platform/chromium-mac/fast/backgrounds/repeat/negative-offset-repeat-transformed-expected.png:
        * platform/chromium-mac/fast/borders/border-image-rotate-transform-expected.png:
        * platform/chromium-mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:
        * platform/chromium-mac/fast/repaint/shadow-multiple-vertical-expected.png:

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

9 years ago2011-06-07 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Wed, 8 Jun 2011 04:57:08 +0000 (04:57 +0000)]
2011-06-07  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Sam Weinig.

        Renamed some more marks to visits
        https://bugs.webkit.org/show_bug.cgi?id=62254

        * heap/HandleHeap.cpp:
        (JSC::HandleHeap::visitStrongHandles):
        (JSC::HandleHeap::visitWeakHandles):
        * heap/HandleHeap.h:
        * heap/HandleStack.cpp:
        (JSC::HandleStack::visit):
        * heap/HandleStack.h:
        * heap/Heap.cpp:
        (JSC::Heap::markProtectedObjects):
        (JSC::Heap::markTempSortVectors):
        (JSC::Heap::markRoots):
        * heap/HeapRootVisitor.h:
        (JSC::HeapRootVisitor::visit):
        * runtime/ArgList.cpp:
        (JSC::MarkedArgumentBuffer::markLists):

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

9 years ago2011-06-07 James Kozianski <koz@chromium.org>
koz@chromium.org [Wed, 8 Jun 2011 03:59:01 +0000 (03:59 +0000)]
2011-06-07  James Kozianski  <koz@chromium.org>
        [Chromium] Update expectations for flaky tests.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-07 James Kozianski <koz@chromium.org>
koz@chromium.org [Wed, 8 Jun 2011 03:36:38 +0000 (03:36 +0000)]
2011-06-07  James Kozianski  <koz@chromium.org>

        [Chromium] Unreviewed. Update expectations for registerProtocolHandler
        test.

        * platform/chromium-linux/fast/dom/register-protocol-handler-expected.txt: Added.

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

9 years ago2011-06-07 Ian Henderson <ianh@apple.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 03:31:26 +0000 (03:31 +0000)]
2011-06-07  Ian Henderson  <ianh@apple.com>

        Reviewed by Dan Bernstein.

        (CG) Sub-image drawing clips unnecessarily
        https://bugs.webkit.org/show_bug.cgi?id=62258

        If destRect completely encompasses the adjustedDestRect into which we
        draw, clipping to destRect will do nothing.  Skip the call to
        CGContextClipToRect in this case.

        * platform/graphics/cg/ImageCG.cpp:
        (WebCore::BitmapImage::draw):

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

9 years ago2011-06-07 James Kozianski <koz@chromium.org>
koz@chromium.org [Wed, 8 Jun 2011 03:22:37 +0000 (03:22 +0000)]
2011-06-07  James Kozianski  <koz@chromium.org>

        [Chromium] Unreviewed. Disable SelectItemEvenFire that fails on
        chromium canaries.

        * tests/PopupMenuTest.cpp:
        (WebKit::TEST_F):

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

9 years ago2011-06-07 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Wed, 8 Jun 2011 03:12:08 +0000 (03:12 +0000)]
2011-06-07  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Convert nodeAtPoint to IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62145

        Convert nodeAtPoint to take an IntPoint instead of a pair of ints for the
        accumulated offset.

        Covered by existing tests.

        * platform/graphics/FloatPoint.h:
        (WebCore::FloatPoint::moveBy):
        Add moveBy(IntPoint) method

        * rendering/EllipsisBox.cpp:
        (WebCore::EllipsisBox::nodeAtPoint):
        * rendering/EllipsisBox.h:
        * rendering/InlineBox.cpp:
        (WebCore::InlineBox::nodeAtPoint):
        * rendering/InlineBox.h:
        * rendering/InlineFlowBox.cpp:
        (WebCore::InlineFlowBox::nodeAtPoint):
        * rendering/InlineFlowBox.h:
        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::nodeAtPoint):
        * rendering/InlineTextBox.h:
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::nodeAtPoint):
        (WebCore::RenderBlock::hitTestContents):
        * rendering/RenderBlock.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::nodeAtPoint):
        * rendering/RenderBox.h:
        * rendering/RenderFrameSet.cpp:
        (WebCore::RenderFrameSet::nodeAtPoint):
        * rendering/RenderFrameSet.h:
        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::nodeAtPoint):
        * rendering/RenderImage.h:
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::nodeAtPoint):
        * rendering/RenderInline.h:
        * rendering/RenderLineBoxList.cpp:
        (WebCore::RenderLineBoxList::hitTest):
        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::nodeAtPoint):
        * rendering/RenderListBox.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::hitTest):
        * rendering/RenderObject.h:
        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::nodeAtPoint):
        * rendering/RenderTable.h:
        * rendering/RenderTableRow.cpp:
        (WebCore::RenderTableRow::nodeAtPoint):
        * rendering/RenderTableRow.h:
        * rendering/RenderTableSection.cpp:
        (WebCore::RenderTableSection::nodeAtPoint):
        * rendering/RenderTableSection.h:
        * rendering/RenderText.h:
        (WebCore::RenderText::nodeAtPoint):
        * rendering/RenderTextControlMultiLine.cpp:
        (WebCore::RenderTextControlMultiLine::nodeAtPoint):
        * rendering/RenderTextControlMultiLine.h:
        * rendering/RenderTextControlSingleLine.cpp:
        (WebCore::RenderTextControlSingleLine::nodeAtPoint):
        * rendering/RenderTextControlSingleLine.h:
        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::nodeAtPoint):
        * rendering/RenderWidget.h:
        * rendering/RootInlineBox.cpp:
        (WebCore::RootInlineBox::nodeAtPoint):
        * rendering/RootInlineBox.h:
        * rendering/svg/RenderSVGForeignObject.cpp:
        (WebCore::RenderSVGForeignObject::nodeAtFloatPoint):
        (WebCore::RenderSVGForeignObject::nodeAtPoint):
        * rendering/svg/RenderSVGForeignObject.h:
        * rendering/svg/RenderSVGModelObject.cpp:
        (WebCore::RenderSVGModelObject::nodeAtPoint):
        * rendering/svg/RenderSVGModelObject.h:
        * rendering/svg/RenderSVGRoot.cpp:
        (WebCore::RenderSVGRoot::nodeAtPoint):
        * rendering/svg/RenderSVGRoot.h:
        * rendering/svg/RenderSVGText.cpp:
        (WebCore::RenderSVGText::nodeAtFloatPoint):
        (WebCore::RenderSVGText::nodeAtPoint):
        * rendering/svg/RenderSVGText.h:

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

9 years ago2011-06-07 Yi Shen <yi.4.shen@nokia.com>
yi.4.shen@nokia.com [Wed, 8 Jun 2011 02:44:35 +0000 (02:44 +0000)]
2011-06-07  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix the error code for media resource failures when using QtMobility
        https://bugs.webkit.org/show_bug.cgi?id=55901

        Unskip the tests which are now passing.

        * platform/qt/Skipped:
2011-06-07  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Simon Hausmann.

        [Qt] Fix the error code for media resource failures when using QtMobility
        https://bugs.webkit.org/show_bug.cgi?id=55901

        To indicate the media resource failures, set the network state to
        MediaPlayer::FormatError when receives QMediaPlayer::InvalidMedia or
        QMediaPlayer::ResourceError.

        * platform/graphics/qt/MediaPlayerPrivateQt.cpp:
        (WebCore::MediaPlayerPrivateQt::updateStates):

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

9 years ago2011-06-07 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Wed, 8 Jun 2011 02:32:15 +0000 (02:32 +0000)]
2011-06-07  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Change RenderBlock::hitTestFloats to IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62176

        Covered by existing tests.

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::nodeAtPoint):
        (WebCore::RenderBlock::hitTestFloats):
        (WebCore::RenderBlock::hitTestColumns):
        * rendering/RenderBlock.h:

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

9 years ago2011-06-07 Tim Horton <timothy_horton@apple.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 02:14:02 +0000 (02:14 +0000)]
2011-06-07  Tim Horton  <timothy_horton@apple.com>

        Reviewed by Alexey Proskuryakov.

        Use correct CFURLStorageSessionRef definition on Snow Leopard
        https://bugs.webkit.org/show_bug.cgi?id=62223

        * platform/mac/WebCoreSystemInterface.h:
        * platform/network/ResourceHandle.h:
        * platform/network/cf/ResourceRequest.h:
2011-06-07  Tim Horton  <timothy_horton@apple.com>

        Reviewed by Alexey Proskuryakov.

        Use correct CFURLStorageSessionRef definition on Snow Leopard
        https://bugs.webkit.org/show_bug.cgi?id=62223

        * PluginProcess/mac/PluginProcessShim.mm:
2011-06-07  Tim Horton  <timothy_horton@apple.com>

        Reviewed by Alexey Proskuryakov.

        Use correct CFURLStorageSessionRef definition on Snow Leopard
        https://bugs.webkit.org/show_bug.cgi?id=62223

        * WebKitSystemInterface.h:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=55537
barraclough@apple.com [Wed, 8 Jun 2011 02:09:12 +0000 (02:09 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=55537
Functions claim to have 'callee' which they actually don't (and shouldn't)

Source/JavaScriptCore:

Reviewed by Sam Weinig

* JavaScriptCore.xcodeproj/project.pbxproj:
* runtime/JSFunction.cpp:
(JSC::JSFunction::getOwnPropertyNames):

LayoutTests:

Reviewed by Sam Weinig.

* fast/js/Object-getOwnPropertyNames-expected.txt:
* fast/js/script-tests/Object-getOwnPropertyNames.js:

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

9 years ago2011-06-07 Juan C. Montemayor <jmont@apple.com>
commit-queue@webkit.org [Wed, 8 Jun 2011 02:00:33 +0000 (02:00 +0000)]
2011-06-07  Juan C. Montemayor  <jmont@apple.com>

        Reviewed by Darin Adler.

        Make JSStaticFunction and JSStaticValue less "const"
        https://bugs.webkit.org/show_bug.cgi?id=62222

        * API/JSObjectRef.h:
        * API/tests/testapi.c:
        (checkConstnessInJSObjectNames):
        (main):
        * JavaScriptCore.xcodeproj/project.pbxproj:

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

9 years ago2011-06-07 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Wed, 8 Jun 2011 01:46:17 +0000 (01:46 +0000)]
2011-06-07  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Change RenderBlock::hitTestColumns to IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62172

        Covered by existing tests.

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::nodeAtPoint):
        (WebCore::RenderBlock::hitTestColumns):
        * rendering/RenderBlock.h:

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

9 years ago2011-06-07 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Wed, 8 Jun 2011 01:37:20 +0000 (01:37 +0000)]
2011-06-07  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        new-run-webkit-tests: Bot master should print useful information on waterfall/console for nrwt
        https://bugs.webkit.org/show_bug.cgi?id=62178

        Added commandComplete and evaluateCommand for NewRunWebKitTests class
        to parse new-run-webkit-tests' results.

        * BuildSlaveSupport/build.webkit.org-config/master.cfg:

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

9 years ago2011-06-07 James Kozianski <koz@chromium.org>
koz@chromium.org [Wed, 8 Jun 2011 01:37:03 +0000 (01:37 +0000)]
2011-06-07  James Kozianski  <koz@chromium.org>

        [Chromium] Unreviewed. Update expectations for tests that are timing out.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-07 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Wed, 8 Jun 2011 01:21:17 +0000 (01:21 +0000)]
2011-06-07  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Darin Adler.

        Opacity transition doesn't work while content property is set.
        https://bugs.webkit.org/show_bug.cgi?id=59301

        StyleRareNonInheritedData's copy constructor omitted to copy
        the m_content data, which caused us to detach and re-attach the renderer
        at the start of the transition, thereby killing the transition.

        Fix by making StyleRareNonInheritedData's copy ctor do the right thing.

        Test: transitions/transition-on-element-with-content.html

        * rendering/style/ContentData.h:
        * rendering/style/ContentData.cpp:
        (WebCore::ContentData::clone): New method to do a deep clone. (Can't use a copy
        ctor because of the subclasses.)
        * rendering/style/CounterDirectives.h: Pack the data members to save space.
        Add a clone() function for the HashMap.
        * rendering/style/CounterDirectives.cpp:
        (WebCore::clone): Make a new HashMap and copy the contents over.
        * rendering/style/StyleRareNonInheritedData.cpp:
        (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): Copy
        the content and counter directives over.
        (WebCore::StyleRareNonInheritedData::operator==): Rather than just comparing
        for pointer equality, do a correct check for m_counterDirectives equality.
        (WebCore::StyleRareNonInheritedData::counterDataEquivalent):
        * rendering/style/StyleRareNonInheritedData.h:

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

9 years ago2011-06-07 Robert Kroeger <rjkroege@chromium.org>
commit-queue@webkit.org [Wed, 8 Jun 2011 01:18:43 +0000 (01:18 +0000)]
2011-06-07  Robert Kroeger  <rjkroege@chromium.org>

        Reviewed by Adam Barth.

        [chromium] Add a basic gesture recognizer to the Chromium platform
        https://bugs.webkit.org/show_bug.cgi?id=54417

        Shows that the basic Chromium gesture manager can correctly convert a touch
        event sequence into a sequence of synthetic mouse events for clicking and
        scrolling.

        * fast/events/touch/touch-gesture-click-expected.txt: Added.
        * fast/events/touch/touch-gesture-click.html: Added.
        * fast/events/touch/touch-gesture-scroll-expected.txt: Added.
        * fast/events/touch/touch-gesture-scroll.html: Added.
        * platform/chromium/fast/events/touch/touch-gesture-click-expected.txt: Added.
        * platform/chromium/fast/events/touch/touch-gesture-scroll-expected.txt: Added.
2011-06-07  Robert Kroeger  <rjkroege@chromium.org>

        Reviewed by Adam Barth.

        [chromium] Add a basic gesture recognizer to the Chromium platform
        https://bugs.webkit.org/show_bug.cgi?id=54417

        Adds a basic gesture recognizer to the Chromium platform. Adds an entry
        point to the GestureRecognizer to reset any internal state on a page reset.
        Resetting the gesture recognizer on page load is necesary for reliable
        layout test execution and improves gesture recognizer operational
        robustness.

        Added an additional constructor to permit building a synthetic
        PlatformWheelEvent.

        Small modifications to the PlatformGestureRecognizer as required to
        implement the simple Chromium platform gesture recognizer.

        Tests: fast/events/touch/touch-gesture-click.html

        * WebCore.gypi:
        * page/EventHandler.cpp:
        (WebCore::EventHandler::resetGestureRecognizer):
        * page/EventHandler.h:
        * page/FrameView.cpp:
        (WebCore::FrameView::reset):
        * platform/PlatformGestureRecognizer.h:
        * platform/PlatformWheelEvent.h:
        (WebCore::PlatformWheelEvent::PlatformWheelEvent):
        * platform/chromium/GestureRecognizerChromium.cpp: Added.
        (WebCore::InnerGestureRecognizer::InnerGestureRecognizer):
        (WebCore::InnerGestureRecognizer::reset):
        (WebCore::InnerGestureRecognizer::~InnerGestureRecognizer):
        (WebCore::InnerGestureRecognizer::addEdgeFunction):
        (WebCore::InnerGestureRecognizer::isInClickTimeWindow):
        (WebCore::InnerGestureRecognizer::isInsideManhattanSquare):
        (WebCore::InnerGestureRecognizer::dispatchSyntheticClick):
        (WebCore::InnerGestureRecognizer::processTouchEventForGesture):
        (WebCore::InnerGestureRecognizer::scrollViaTouchMotion):
        (WebCore::InnerGestureRecognizer::updateValues):
        (WebCore::InnerGestureRecognizer::signature):
        (WebCore::touchDown):
        (WebCore::noGesture):
        (WebCore::click):
        (WebCore::isClickOrScroll):
        (WebCore::inScroll):
        (WebCore::PlatformGestureRecognizer::create):
        (WebCore::PlatformGestureRecognizer::PlatformGestureRecognizer):
        (WebCore::PlatformGestureRecognizer::~PlatformGestureRecognizer):
        (WebCore::GestureRecognizerChromium::GestureRecognizerChromium):
        (WebCore::GestureRecognizerChromium::~GestureRecognizerChromium):
        * platform/chromium/GestureRecognizerChromium.h: Added.
        (WebCore::InnerGestureRecognizer::setState):
        (WebCore::InnerGestureRecognizer::state):
        (WebCore::GestureRecognizerChromium::reset):
        (WebCore::GestureRecognizerChromium::processTouchEventForGesture):
2011-06-07  Robert Kroeger  <rjkroege@chromium.org>

        Reviewed by Adam Barth.

        [chromium] Add a basic gesture recognizer to the Chromium platform
        https://bugs.webkit.org/show_bug.cgi?id=54417

        Added unit tests for the basic chromium platform gesture recognizer.

        * tests/InnerGestureRecognizerTest.cpp: Added.
        (WebCore::InspectableInnerGestureRecognizer::InspectableInnerGestureRecognizer):
        (WebCore::InspectableInnerGestureRecognizer::signature):
        (WebCore::InspectableInnerGestureRecognizer::firstTouchPosition):
        (WebCore::InspectableInnerGestureRecognizer::setFirstTouchTime):
        (WebCore::InspectableInnerGestureRecognizer::firstTouchTime):
        (WebCore::InspectableInnerGestureRecognizer::setLastTouchTime):
        (WebCore::InspectableInnerGestureRecognizer::lastTouchTime):
        (WebCore::InspectableInnerGestureRecognizer::edgeFunction):
        (WebCore::InspectableInnerGestureRecognizer::updateValues):
        (WebCore::InspectableInnerGestureRecognizer::addEdgeFunction):
        (WebCore::BuildablePlatformTouchPoint::setX):
        (WebCore::BuildablePlatformTouchPoint::setY):
        (WebCore::BuildablePlatformTouchPoint::BuildablePlatformTouchPoint):
        (WebCore::TestGestureRecognizer::TestGestureRecognizer):
        (WebCore::TestGestureRecognizer::SetUp):
        (WebCore::TestGestureRecognizer::TearDown):
        (WebCore::TEST_F):

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

9 years ago2011-06-07 James Kozianski <koz@chromium.org>
koz@chromium.org [Wed, 8 Jun 2011 01:12:24 +0000 (01:12 +0000)]
2011-06-07  James Kozianski  <koz@chromium.org>

        [Chromium] Unreviewed. Fix expectations for registerProtocolHandler tests.

        * platform/chromium-linux/fast/dom/navigator-detached-no-crash-expected.txt: Added.
        * platform/chromium-mac-leopard/fast/dom/navigator-detached-no-crash-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-06-07 No'am Rosenthal <noam.rosenthal@nokia.com>
noam.rosenthal@nokia.com [Wed, 8 Jun 2011 00:57:16 +0000 (00:57 +0000)]
2011-06-07  No'am Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Andreas Kling.

        [Texmap][Qt] Enable TextureMapper by default
        https://bugs.webkit.org/show_bug.cgi?id=61740

        Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL path. This would mean that
        for now QtWebKit on Windows/Symbian would use the Qt backend for TextureMapper.

        No new functionality so no new tests.

        * WebCore.pri:
        * WebCore.pro:
        * platform/graphics/qt/GraphicsContext3DQt.cpp:
        * platform/graphics/qt/TextureMapperQt.cpp:
        (WebCore::TextureMapper::create):
2011-06-07  Noam Rosenthal  <noam.rosenthal@nokia.com>

        Reviewed by Andreas Kling.

        [Texmap][Qt] Enable TextureMapper by default
        https://bugs.webkit.org/show_bug.cgi?id=61740

        Enable TextureMapper on Windows+Symbian, disabling the direct OpenGL path. This would mean that
        for now QtWebKit on Windows/Symbian would use the Qt backend for TextureMapper.

        * WebCoreSupport/PageClientQt.cpp:
        (WebCore::PageClientQGraphicsWidget::setRootGraphicsLayer):

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

9 years ago2011-06-07 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 8 Jun 2011 00:50:27 +0000 (00:50 +0000)]
2011-06-07  Kent Tamura  <tkent@chromium.org>

        Reviewed by Ryosuke Niwa.

        Convert fast/forms/thumbslider-crash.html to dumpAsText
        https://bugs.webkit.org/show_bug.cgi?id=62195

        * fast/forms/thumbslider-crash-expected.txt: Added.
        * fast/forms/thumbslider-crash.html:
        * platform/chromium-linux/fast/forms/thumbslider-crash-expected.png: Removed.
        * platform/chromium-win/fast/forms/thumbslider-crash-expected.png: Removed.
        * platform/chromium-win/fast/forms/thumbslider-crash-expected.txt: Removed.
        * platform/gtk/fast/forms/thumbslider-crash-expected.png: Removed.
        * platform/gtk/fast/forms/thumbslider-crash-expected.txt: Removed.
        * platform/mac-leopard/fast/forms/thumbslider-crash-expected.png: Removed.
        * platform/mac/fast/forms/thumbslider-crash-expected.png: Removed.
        * platform/mac/fast/forms/thumbslider-crash-expected.txt: Removed.
        * platform/qt/fast/forms/thumbslider-crash-expected.txt: Removed.

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

9 years ago<https://bugs.webkit.org/show_bug.cgi?id=62248>
sullivan@apple.com [Wed, 8 Jun 2011 00:42:39 +0000 (00:42 +0000)]
<https://bugs.webkit.org/show_bug.cgi?id=62248>
<rdar://problem/9568516>
WKResponderChainSink mechanism isn't robust against some types of responder chain manipulation

Reviewed by Darin Adler.

* UIProcess/API/mac/WKView.mm:
(-[WKResponderChainSink detach]):
This method formerly blindly assumed that since -initWithResponderChain: put self at the
end of the responder chain, after _lastResponderInChain, then self is still at the end
of the responder chain and still immediately after _lastResponderInChain. Made this function
robust against some kinds of responder chain manipulations, though it can't be robust against
some other kinds (e.g., manipulations that removed self from this chain and put it into some
other chain).

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

9 years ago2011-06-07 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Wed, 8 Jun 2011 00:30:08 +0000 (00:30 +0000)]
2011-06-07  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Convert RenderBox::absoluteRects to IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62130

        Covered by existing tests.

        * dom/Node.cpp:
        (WebCore::Node::hasNonEmptyBoundingBox):
        * rendering/InlineBox.h:
        (WebCore::InlineBox::size):
        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::absoluteRects):
        * rendering/RenderBlock.h:
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::absoluteRects):
        * rendering/RenderBox.h:
        * rendering/RenderInline.cpp:
        (WebCore::RenderInline::absoluteRects):
        * rendering/RenderInline.h:
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::absoluteBoundingBoxRect):
        * rendering/RenderObject.h:
        (WebCore::RenderObject::absoluteRects):
        * rendering/RenderText.cpp:
        (WebCore::RenderText::absoluteRects):
        * rendering/RenderText.h:
        * rendering/RenderView.cpp:
        (WebCore::RenderView::absoluteRects):
        * rendering/RenderView.h:
        * rendering/svg/RenderSVGBlock.cpp:
        (WebCore::RenderSVGBlock::absoluteRects):
        * rendering/svg/RenderSVGBlock.h:
        * rendering/svg/RenderSVGModelObject.cpp:
        (WebCore::RenderSVGModelObject::absoluteRects):
        * rendering/svg/RenderSVGModelObject.h:

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

9 years ago2011-06-07 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Wed, 8 Jun 2011 00:27:37 +0000 (00:27 +0000)]
2011-06-07  James Simonsen  <simonjam@chromium.org>

        [Chromium] Unreviewed, rebaseline leopard and win7 tests due to:
          - r87955.
          - New fast/forms/select-baseline.html.
          - New fullscreen/full-screen-zIndex-after.html

        * platform/chromium-mac-leopard/fast/backgrounds/svg-as-background-1-expected.png:
        * platform/chromium-mac-leopard/fast/blockflow/border-vertical-lr-expected.png:
        * platform/chromium-mac-leopard/fast/borders/border-radius-constraints-expected.png:
        * platform/chromium-mac-leopard/fast/borders/border-radius-huge-assert-expected.png:
        * platform/chromium-mac-leopard/fast/borders/border-radius-inline-flow-expected.png:
        * platform/chromium-mac-leopard/fast/borders/borderRadiusAllStylesAllCorners-expected.png:
        * platform/chromium-mac-leopard/fast/borders/borderRadiusInvalidColor-expected.png:
        * platform/chromium-mac-leopard/fast/borders/different-color-borders-expected.png:
        * platform/chromium-mac-leopard/fast/box-shadow/basic-shadows-expected.png:
        * platform/chromium-mac-leopard/fast/box-shadow/inset-expected.png: Removed.
        * platform/chromium-mac-leopard/fast/box-shadow/inset-with-extraordinary-radii-and-border-expected.png: Removed.
        * platform/chromium-mac-leopard/fast/box-shadow/spread-multiple-inset-expected.png:
        * platform/chromium-mac-leopard/fast/clip/overflow-border-radius-clip-expected.png: Added.
        * platform/chromium-mac-leopard/fast/forms/basic-selects-expected.png:
        * platform/chromium-mac-leopard/fast/forms/menulist-clip-expected.png:
        * platform/chromium-mac-leopard/fast/forms/menulist-option-wrap-expected.png:
        * platform/chromium-mac-leopard/fast/forms/menulist-restrict-line-height-expected.png:
        * platform/chromium-mac-leopard/fast/forms/menulist-style-color-expected.png:
        * platform/chromium-mac-leopard/fast/forms/select-baseline-expected.png:
        * platform/chromium-mac-leopard/fast/forms/selectlist-minsize-expected.png: Renamed from LayoutTests/platform/chromium-mac-leopard/fast/forms/menulist-separator-painting-expected.png.
        * platform/chromium-mac-leopard/fast/forms/validation-message-appearance-expected.png:
        * platform/chromium-mac-leopard/fullscreen/full-screen-zIndex-after-expected.png: Added.
        * platform/chromium-mac-leopard/media/video-zoom-controls-expected.png:
        * platform/chromium-mac-leopard/svg/W3C-SVG-1.1/animate-elem-52-t-expected.png: Added.
        * platform/chromium-mac-leopard/svg/carto.net/button-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/embedding-external-svgs-expected.png: Added.
        * platform/chromium-mac-leopard/svg/custom/gradient-rotated-bbox-expected.png:
        * platform/chromium-mac-leopard/svg/wicd/rightsizing-grid-expected.png:
        * platform/chromium-mac-leopard/svg/wicd/test-scalable-background-image1-expected.png:
        * platform/chromium-win/http/tests/appcache/manifest-redirect-expected.txt: Added.
        * platform/chromium-win/http/tests/appcache/resource-redirect-2-expected.txt: Added.
        * platform/chromium-win/http/tests/appcache/resource-redirect-expected.txt: Added.
        * platform/chromium-win/http/tests/appcache/wrong-content-type-expected.txt: Added.
        * platform/chromium-win/http/tests/appcache/wrong-signature-2-expected.txt: Added.
        * platform/chromium-win/http/tests/appcache/wrong-signature-expected.txt: Added.
        * platform/chromium-win/svg/custom/object-sizing-explicit-height-expected.png: Added.
        * platform/chromium-win/svg/custom/object-sizing-explicit-height-expected.txt: Added.
        * platform/chromium-win/svg/custom/object-sizing-explicit-width-expected.png: Added.
        * platform/chromium-win/svg/custom/object-sizing-explicit-width-expected.txt: Added.

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

9 years ago2011-06-07 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 8 Jun 2011 00:26:11 +0000 (00:26 +0000)]
2011-06-07  Kent Tamura  <tkent@chromium.org>

        Reviewed by Andreas Kling.

        [Qt] RenderThemeQt::adjustSliderThumbSize() should not refer to the parent style.
        https://bugs.webkit.org/show_bug.cgi?id=62207

        * css/mediaControlsQt.css: Add comments.
        (audio::-webkit-media-controls-timeline):
        (video::-webkit-media-controls-timeline):
        (audio::-webkit-media-controls-volume-slider):
        (video::-webkit-media-controls-volume-slider):
        * platform/qt/RenderThemeQt.cpp: Use fixed values to avoid referring to o->parent().
        (WebCore::RenderThemeQt::adjustSliderThumbSize):

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

9 years ago2011-06-07 Vangelis Kokkevis <vangelis@chromium.org>
vangelis@chromium.org [Tue, 7 Jun 2011 23:59:14 +0000 (23:59 +0000)]
2011-06-07  Vangelis Kokkevis  <vangelis@chromium.org>

        Reviewed by James Robinson.

        Add a test to verify that RTL pages that trigger the compositor
        render correctly.
        https://bugs.webkit.org/show_bug.cgi?id=62246

        * compositing/geometry/rtl-composited-expected.png: Added.
        * compositing/geometry/rtl-composited-expected.txt: Added.
        * compositing/geometry/rtl-composited.html: Added.
2011-06-07  Vangelis Kokkevis  <vangelis@chromium.org>

        Reviewed by James Robinson.

        Disable compositing for RTL pages in the RenderLayerCompositor rather
        than later on in the WebViewImpl.
        https://bugs.webkit.org/show_bug.cgi?id=62246

        * src/ChromeClientImpl.cpp:
        (WebKit::ChromeClientImpl::allowedCompositingTriggers):
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::layout):
        (WebKit::WebViewImpl::setRootGraphicsLayer):

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

9 years ago2011-06-07 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Tue, 7 Jun 2011 23:58:19 +0000 (23:58 +0000)]
2011-06-07  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        webkitpy: add a popen() call to executive
        https://bugs.webkit.org/show_bug.cgi?id=62179

        This change adds a popen() wrapper call to the Executive object.
        This will allow other webkitpy scripts that currently call
        subprocess directly to use Executive, instead.

        No additional tests are necessary (the existing tests cover the code).

        * Scripts/webkitpy/common/system/executive.py:

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

9 years ago2011-06-07 Sailesh Agrawal <sail@chromium.org>
commit-queue@webkit.org [Tue, 7 Jun 2011 23:57:32 +0000 (23:57 +0000)]
2011-06-07  Sailesh Agrawal  <sail@chromium.org>

        Reviewed by Mihai Parparita.

        Chromium Mac: Fork ScrollAnimatorMac to ScrollAnimatorChromiumMac for overlay scrollbar support
        https://bugs.webkit.org/show_bug.cgi?id=59753

        No new tests. Just forking ScrollAnimatorMac to ScrollAnimatorChromiumMac.

        * WebCore.gyp/WebCore.gyp: Added IntPointMac.mm. This is used by some functions in ScrollAnimatorChromiumMac. Also added filters for conflicting class names in ScrollAnimatorChromiumMac.
        * WebCore.gypi: Added ScrollAnimatorChromiumMac.h/mm.
        * platform/ScrollAnimator.cpp: Extended the #ifdef around ScrollAnimator::create() so that the chromium version will be created.
        * platform/chromium/ScrollAnimatorChromiumMac.h: Added.
        (WebCore::ScrollAnimatorChromiumMac::setIsDrawingIntoLayer):
        (WebCore::ScrollAnimatorChromiumMac::isDrawingIntoLayer):
        (WebCore::ScrollAnimatorChromiumMac::haveScrolledSincePageLoad):
        * platform/chromium/ScrollAnimatorChromiumMac.mm: Added. Forked from ScrollAnimatorMac and replaced all instances of ScrollAnimatorMac with ScrollAnimatorChromiumMac and ScrollbarThemeMac with ScrollbarThemeChromiumMac. Removed the ENABLE(SMOOTH_SCROLLING) around the file. Stubbed out ScrollAnimatorChromiumMac::scroll() if smooth scrolling is disabled.
        (abs):
        (-[ScrollAnimationHelperDelegate initWithScrollAnimator:WebCore::]):
        (-[ScrollAnimationHelperDelegate scrollAnimatorDestroyed]):
        (-[ScrollAnimationHelperDelegate bounds]):
        (-[ScrollAnimationHelperDelegate _immediateScrollToPoint:]):
        (-[ScrollAnimationHelperDelegate _pixelAlignProposedScrollPosition:]):
        (-[ScrollAnimationHelperDelegate convertSizeToBase:]):
        (-[ScrollAnimationHelperDelegate convertSizeFromBase:]):
        (-[ScrollAnimationHelperDelegate convertSizeToBacking:]):
        (-[ScrollAnimationHelperDelegate convertSizeFromBacking:]):
        (-[ScrollAnimationHelperDelegate superview]):
        (-[ScrollAnimationHelperDelegate documentView]):
        (-[ScrollAnimationHelperDelegate window]):
        (-[ScrollAnimationHelperDelegate _recursiveRecomputeToolTips]):
        (-[ScrollbarPainterControllerDelegate initWithScrollAnimator:WebCore::]):
        (-[ScrollbarPainterControllerDelegate scrollAnimatorDestroyed]):
        (-[ScrollbarPainterControllerDelegate contentAreaRectForScrollerImpPair:]):
        (-[ScrollbarPainterControllerDelegate inLiveResizeForScrollerImpPair:]):
        (-[ScrollbarPainterControllerDelegate mouseLocationInContentAreaForScrollerImpPair:]):
        (-[ScrollbarPainterControllerDelegate scrollerImpPair:convertContentPoint:toScrollerImp:]):
        (-[ScrollbarPainterControllerDelegate scrollerImpPair:setContentAreaNeedsDisplayInRect:]):
        (-[ScrollbarPainterControllerDelegate scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:]):
        (-[ScrollbarPartAnimation initWithScrollbarPainter:part:WebCore::scrollAnimator:WebCore::animateAlphaTo:duration:]):
        (-[ScrollbarPartAnimation setCurrentProgress:]):
        (-[ScrollbarPartAnimation scrollAnimatorDestroyed]):
        (-[ScrollbarPainterDelegate initWithScrollAnimator:WebCore::]):
        (-[ScrollbarPainterDelegate cancelAnimations]):
        (-[ScrollbarPainterDelegate convertRectToBacking:]):
        (-[ScrollbarPainterDelegate convertRectFromBacking:]):
        (-[ScrollbarPainterDelegate layer]):
        (-[ScrollbarPainterDelegate setUpAnimation:scrollerPainter:part:WebCore::animateAlphaTo:duration:]):
        (-[ScrollbarPainterDelegate scrollerImp:animateKnobAlphaTo:duration:]):
        (-[ScrollbarPainterDelegate scrollerImp:animateTrackAlphaTo:duration:]):
        (-[ScrollbarPainterDelegate scrollerImp:overlayScrollerStateChangedTo:]):
        (-[ScrollbarPainterDelegate scrollAnimatorDestroyed]):
        (WebCore::ScrollAnimator::create):
        (WebCore::ScrollAnimatorChromiumMac::ScrollAnimatorChromiumMac):
        (WebCore::ScrollAnimatorChromiumMac::~ScrollAnimatorChromiumMac):
        (WebCore::ScrollAnimatorChromiumMac::scroll):
        (WebCore::ScrollAnimatorChromiumMac::scrollToOffsetWithoutAnimation):
        (WebCore::ScrollAnimatorChromiumMac::adjustScrollXPositionIfNecessary):
        (WebCore::ScrollAnimatorChromiumMac::adjustScrollYPositionIfNecessary):
        (WebCore::ScrollAnimatorChromiumMac::adjustScrollPositionIfNecessary):
        (WebCore::ScrollAnimatorChromiumMac::immediateScrollToPoint):
        (WebCore::ScrollAnimatorChromiumMac::immediateScrollByDeltaX):
        (WebCore::ScrollAnimatorChromiumMac::immediateScrollByDeltaY):
        (WebCore::ScrollAnimatorChromiumMac::notityPositionChanged):
        (WebCore::ScrollAnimatorChromiumMac::contentAreaWillPaint):
        (WebCore::ScrollAnimatorChromiumMac::mouseEnteredContentArea):
        (WebCore::ScrollAnimatorChromiumMac::mouseExitedContentArea):
        (WebCore::ScrollAnimatorChromiumMac::mouseMovedInContentArea):
        (WebCore::ScrollAnimatorChromiumMac::willStartLiveResize):
        (WebCore::ScrollAnimatorChromiumMac::contentsResized):
        (WebCore::ScrollAnimatorChromiumMac::willEndLiveResize):
        (WebCore::ScrollAnimatorChromiumMac::contentAreaDidShow):
        (WebCore::ScrollAnimatorChromiumMac::contentAreaDidHide):
        (WebCore::ScrollAnimatorChromiumMac::didBeginScrollGesture):
        (WebCore::ScrollAnimatorChromiumMac::didEndScrollGesture):
        (WebCore::ScrollAnimatorChromiumMac::didAddVerticalScrollbar):
        (WebCore::ScrollAnimatorChromiumMac::willRemoveVerticalScrollbar):
        (WebCore::ScrollAnimatorChromiumMac::didAddHorizontalScrollbar):
        (WebCore::ScrollAnimatorChromiumMac::willRemoveHorizontalScrollbar):
        (WebCore::ScrollAnimatorChromiumMac::cancelAnimations):
        (WebCore::elasticDeltaForTimeDelta):
        (WebCore::elasticDeltaForReboundDelta):
        (WebCore::reboundDeltaForElasticDelta):
        (WebCore::scrollWheelMultiplier):
        (WebCore::ScrollAnimatorChromiumMac::handleWheelEvent):
        (WebCore::ScrollAnimatorChromiumMac::handleGestureEvent):
        (WebCore::ScrollAnimatorChromiumMac::pinnedInDirection):
        (WebCore::ScrollAnimatorChromiumMac::allowsVerticalStretching):
        (WebCore::ScrollAnimatorChromiumMac::allowsHorizontalStretching):
        (WebCore::ScrollAnimatorChromiumMac::smoothScrollWithEvent):
        (WebCore::ScrollAnimatorChromiumMac::beginScrollGesture):
        (WebCore::ScrollAnimatorChromiumMac::endScrollGesture):
        (WebCore::ScrollAnimatorChromiumMac::snapRubberBand):
        (WebCore::roundTowardZero):
        (WebCore::roundToDevicePixelTowardZero):
        (WebCore::ScrollAnimatorChromiumMac::snapRubberBandTimerFired):
        (WebCore::ScrollAnimatorChromiumMac::startScrollbarPaintTimer):
        (WebCore::ScrollAnimatorChromiumMac::scrollbarPaintTimerIsActive):
        (WebCore::ScrollAnimatorChromiumMac::stopScrollbarPaintTimer):
        (WebCore::ScrollAnimatorChromiumMac::initialScrollbarPaintTimerFired):
        (WebCore::ScrollAnimatorChromiumMac::setVisibleScrollerThumbRect):
        * platform/graphics/IntPoint.h: Exposed NSPoint conversion routines to chromium mac.

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

9 years ago2011-06-07 Sam Weinig <sam@webkit.org>
weinig@apple.com [Tue, 7 Jun 2011 23:38:54 +0000 (23:38 +0000)]
2011-06-07  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Remove repeated IPC traffic from SetRenderTreeSize message
        https://bugs.webkit.org/show_bug.cgi?id=62244

        * WebCore.xcodeproj/project.pbxproj:
        Make RenderArena.h private so it can be called from WebKit2.

        * loader/FrameLoaderClient.h:
        (WebCore::FrameLoaderClient::dispatchDidLayout):
        Added.

        * page/ChromeClient.h:
        Remove setRenderTreeSize.

        * page/FrameView.cpp:
        (WebCore::FrameView::performPostLayoutTasks):
        Call dispatchDidLayout for all frames instead of calling setRenderTreeSize
        for the main frame.
2011-06-07  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Remove repeated IPC traffic from SetRenderTreeSize message
        https://bugs.webkit.org/show_bug.cgi?id=62244

        * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
        Add didLayoutForFrame callback.

        * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
        (WKBundlePageGetRenderTreeSize):
        * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
        Add render tree size getter in WebProcess.

        * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
        (WebKit::InjectedBundlePageLoaderClient::didLayoutForFrame):
        * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
        Added.

        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
        * WebProcess/WebCoreSupport/WebChromeClient.h:
        Removed setRenderTreeSize.

        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        (WebKit::WebFrameLoaderClient::dispatchDidLayout):
        * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
        Call the new didLayoutForFrame client function.

        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::renderTreeSize):
        * WebProcess/WebPage/WebPage.h:
        Add iterative implementation to compute the total size of the render tree
        for a page.
2011-06-07  Sam Weinig  <sam@webkit.org>

        Reviewed by Anders Carlsson.

        Remove repeated IPC traffic from SetRenderTreeSize message
        https://bugs.webkit.org/show_bug.cgi?id=62244

        * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
        (WTR::InjectedBundlePage::InjectedBundlePage):
        Add stub for didLayoutForFrame.

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

9 years ago2011-06-07 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Tue, 7 Jun 2011 23:24:40 +0000 (23:24 +0000)]
2011-06-07  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Change RenderBlock::hitTestContents to IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=62170

        Covered by existing tests.

        * rendering/RenderBlock.cpp:
        (WebCore::RenderBlock::nodeAtPoint):
        (WebCore::RenderBlock::hitTestColumns):
        (WebCore::RenderBlock::hitTestContents):
        * rendering/RenderBlock.h:

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

9 years ago2011-06-07 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Tue, 7 Jun 2011 23:21:55 +0000 (23:21 +0000)]
2011-06-07  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Tony Chang.

        rebaseline-chromium-webkit-tests: fix baselining order for linux, linux_x86_64
        https://bugs.webkit.org/show_bug.cgi?id=62241

        * Scripts/webkitpy/layout_tests/port/chromium.py:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=62240
barraclough@apple.com [Tue, 7 Jun 2011 23:03:32 +0000 (23:03 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=62240
DFG JIT - add support for for-loop array initialization.

Reviewed by Sam Weinig.

Support put by val beyond vector length.
Add a operationPutByValBeyondArrayBounds operation, make
PutValVal call this if the vector length check fails.

* dfg/DFGJITCodeGenerator.h:
(JSC::DFG::JITCodeGenerator::silentSpillGPR):
(JSC::DFG::JITCodeGenerator::silentFillGPR):
(JSC::DFG::JITCodeGenerator::silentSpillAllRegisters):
(JSC::DFG::JITCodeGenerator::isDoubleConstantWithInt32Value):
(JSC::DFG::JITCodeGenerator::isJSConstantWithInt32Value):
(JSC::DFG::JITCodeGenerator::isIntegerConstant):
(JSC::DFG::JITCodeGenerator::valueOfIntegerConstant):
* dfg/DFGOperations.cpp:
(JSC::DFG::operationPutByValInternal):
* dfg/DFGOperations.h:
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT.h:

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

9 years ago2011-06-07 Jer Noble <jer.noble@apple.com>
jer.noble@apple.com [Tue, 7 Jun 2011 23:02:20 +0000 (23:02 +0000)]
2011-06-07  Jer Noble  <jer.noble@apple.com>

        Reviewed by Eric Carlson.

        Video with poster attribute will not display new frames when scrubbing.
        https://bugs.webkit.org/show_bug.cgi?id=62036

        Remove our "detection" about the end of a scrub now that there is an explicit seek completion
        handler available in AVFoundation.  Move what we used to do upon detection in timeChanged()
        into seekCompleted().

        * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
        (WebCore::MediaPlayerPrivateAVFoundation::timeChanged):
        (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):

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

9 years ago2011-06-07 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Tue, 7 Jun 2011 22:51:20 +0000 (22:51 +0000)]
2011-06-07  James Simonsen  <simonjam@chromium.org>

        Unreviewed, build fix, missing files from r88274.

        * bindings/v8/ChildThreadDOMData.cpp: Added.
        (WebCore::ChildThreadDOMData::ChildThreadDOMData):
        (WebCore::ChildThreadDOMData::getStore):
        * bindings/v8/ChildThreadDOMData.h: Added.
        * bindings/v8/MainThreadDOMData.cpp: Added.
        (WebCore::MainThreadDOMData::MainThreadDOMData):
        (WebCore::MainThreadDOMData::getCurrent):
        (WebCore::MainThreadDOMData::getMainThreadStore):
        (WebCore::MainThreadDOMData::getCurrentMainThreadStore):
        * bindings/v8/MainThreadDOMData.h: Added.
        (WebCore::MainThreadDOMData::getStore):

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

9 years ago2011-06-07 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 7 Jun 2011 22:45:14 +0000 (22:45 +0000)]
2011-06-07  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dan Bernstein.

        Replicate WidthIterator.cpp fix from r88139.
        https://bugs.webkit.org/show_bug.cgi?id=62238

        No new tests. Covered by existing layout tests on XP debug bots.

        * platform/graphics/win/UniscribeController.cpp:
        (WebCore::UniscribeController::advance):

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

9 years ago2011-06-07 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 7 Jun 2011 22:41:59 +0000 (22:41 +0000)]
2011-06-07  Ryosuke Niwa  <rniwa@webkit.org>

        Gtk rebaseline after r88266.

        * platform/gtk/svg/W3C-SVG-1.1/styling-css-04-f-expected.txt:

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

9 years ago2011-06-07 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 7 Jun 2011 22:37:12 +0000 (22:37 +0000)]
2011-06-07  Ryosuke Niwa  <rniwa@webkit.org>

        Qt rebaseline after r88266.

        * platform/qt/svg/W3C-SVG-1.1/styling-css-04-f-expected.txt:

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

9 years ago2011-06-07 James Simonsen <simonjam@chromium.org>
simonjam@chromium.org [Tue, 7 Jun 2011 22:33:06 +0000 (22:33 +0000)]
2011-06-07  James Simonsen  <simonjam@chromium.org>

        [Chromium] Unreviewed, rebaseline after r88266.

        * platform/chromium-linux/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.png: Added.
        * platform/chromium-linux/svg/W3C-SVG-1.1/styling-css-04-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-04-f-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/styling-css-04-f-expected.txt:

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

9 years ago2011-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
simonjam@chromium.org [Tue, 7 Jun 2011 22:25:49 +0000 (22:25 +0000)]
2011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88221, r88224, and r88231.
        http://trac.webkit.org/changeset/88221
        http://trac.webkit.org/changeset/88224
        http://trac.webkit.org/changeset/88231
        https://bugs.webkit.org/show_bug.cgi?id=62233

        assert failure on chromium linux debug (Requested by simonjam
        on #webkit).

        * WebCore.gypi:
        * WebCore.pro:
        * bindings/v8/ChildThreadDOMData.cpp: Copied from Source/WebCore/bindings/v8/DOMData.cpp.
        (WebCore::ChildThreadDOMData::ChildThreadDOMData):
        (WebCore::ChildThreadDOMData::getStore):
        * bindings/v8/ChildThreadDOMData.h: Copied from Source/WebCore/bindings/v8/DOMData.cpp.
        * bindings/v8/DOMData.cpp:
        (WebCore::DOMData::DOMData):
        (WebCore::DOMData::getCurrent):
        * bindings/v8/DOMData.h:
        (WebCore::DOMData::owningThread):
        (WebCore::DOMData::handleWeakObject):
        * bindings/v8/DOMDataStore.cpp:
        (WebCore::DOMDataStore::DOMDataStore):
        (WebCore::DOMDataStore::~DOMDataStore):
        (WebCore::DOMDataStore::allStoresMutex):
        (WebCore::DOMDataStore::weakNodeCallback):
        * bindings/v8/DOMDataStore.h:
        * bindings/v8/MainThreadDOMData.cpp: Copied from Source/WebCore/bindings/v8/DOMData.cpp.
        (WebCore::MainThreadDOMData::MainThreadDOMData):
        (WebCore::MainThreadDOMData::getCurrent):
        (WebCore::MainThreadDOMData::getMainThreadStore):
        (WebCore::MainThreadDOMData::getCurrentMainThreadStore):
        * bindings/v8/MainThreadDOMData.h: Copied from Source/WebCore/bindings/v8/DOMData.cpp.
        (WebCore::MainThreadDOMData::getStore):
        * bindings/v8/V8DOMMap.cpp:
        (WebCore::getDOMDataStore):
        (WebCore::removeAllDOMObjectsInCurrentThread):
        (WebCore::visitDOMNodesInCurrentThread):
        (WebCore::visitDOMObjectsInCurrentThread):
        (WebCore::visitActiveDOMObjectsInCurrentThread):
        (WebCore::visitDOMSVGElementInstancesInCurrentThread):
        * bindings/v8/V8DOMMap.h:
        * bindings/v8/V8GCController.cpp:
        (WebCore::V8GCController::gcPrologue):
        (WebCore::V8GCController::gcEpilogue):
        * bindings/v8/WorkerScriptController.cpp:
        (WebCore::WorkerScriptController::~WorkerScriptController):

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

9 years ago2011-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 7 Jun 2011 22:17:29 +0000 (22:17 +0000)]
2011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88254, r88262, and r88268.
        http://trac.webkit.org/changeset/88254
        http://trac.webkit.org/changeset/88262
        http://trac.webkit.org/changeset/88268
        https://bugs.webkit.org/show_bug.cgi?id=62234

        I fail at changing features.gypi (Requested by abarth on
        #webkit).

        * features.gypi:

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

9 years ago2011-06-07 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 7 Jun 2011 22:14:39 +0000 (22:14 +0000)]
2011-06-07  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        Clean up ContentData
        https://bugs.webkit.org/show_bug.cgi?id=62185

        ContentData did manual ref()/deref() and had a lot of awkward
        code from using a union to store data.

        Clean this up by adding ContentData subclasses for different
        content types, which are then able to use RefPtr and OwnPtr
        as appropriate.

        * css/CSSComputedStyleDeclaration.cpp:
        (WebCore::contentToCSSValue): Cast to different ContentData types as
        appropriate.

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::loadPendingImages): Cast to ImageContentData, and do some
        const gyrations.

        * html/HTMLBRElement.cpp:
        (WebCore::HTMLBRElement::createRenderer): Use hasContent().
        * html/HTMLFrameSetElement.cpp:
        (WebCore::HTMLFrameSetElement::createRenderer): Ditto
        * html/HTMLImageElement.cpp:
        (WebCore::HTMLImageElement::createRenderer): Ditto
        * rendering/RenderObject.cpp:
        (WebCore::RenderObject::createObject): Cast to ImageContentData.
        * rendering/RenderObjectChildList.cpp:
        (WebCore::RenderObjectChildList::updateBeforeAfterContent): Cast to different ContentData types as
        appropriate.

        * rendering/style/ContentData.h:
        (WebCore::ContentData::~ContentData):
        (WebCore::ContentData::isCounter):
        (WebCore::ContentData::isImage):
        (WebCore::ContentData::isQuote):
        (WebCore::ContentData::isText):
        (WebCore::ContentData::next):
        (WebCore::ContentData::setNext):
        (WebCore::ImageContentData::image):
        (WebCore::ImageContentData::setImage):
        (WebCore::ImageContentData::ImageContentData):
        (WebCore::ImageContentData::type):
        (WebCore::ImageContentData::isImage):
        (WebCore::TextContentData::text):
        (WebCore::TextContentData::setText):
        (WebCore::TextContentData::TextContentData):
        (WebCore::TextContentData::type):
        (WebCore::TextContentData::isText):
        (WebCore::CounterContentData::counter):
        (WebCore::CounterContentData::setCounter):
        (WebCore::CounterContentData::CounterContentData):
        (WebCore::CounterContentData::type):
        (WebCore::CounterContentData::isCounter):
        (WebCore::QuoteContentData::quote):
        (WebCore::QuoteContentData::setQuote):
        (WebCore::QuoteContentData::QuoteContentData):
        (WebCore::QuoteContentData::type):
        (WebCore::QuoteContentData::isQuote):
        Add subclasses for different content types, which are created
        via overloaded create() methods on the base class.

        * rendering/style/ContentData.cpp:
        (WebCore::ContentData::create):
        (WebCore::operator==): Test for type equality, followed by comparing data.
        (WebCore::operator!=):

        * rendering/style/RenderStyle.cpp:
        (WebCore::RenderStyle::clearContent):
        (WebCore::RenderStyle::appendContent):
        (WebCore::RenderStyle::setContent): Replace the overly complex prepareToSetContent()
        code with code that either appends, or replaces the content.
        This loses an optimization where the existing ContentData object could get reused,
        but this seems to be rarely hit in practice.
        * rendering/style/RenderStyle.h:
        (WebCore::InheritedFlags::hasContent): Convenience method.
        * rendering/style/StyleRareNonInheritedData.cpp:
        (WebCore::StyleRareNonInheritedData::contentDataEquivalent): Test
        that the pointers are non-null, then use the != operator.
        * rendering/style/StyleRareNonInheritedData.h: ContentData is a class now.

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

9 years agoBuild fix after r88260.
bweinstein@apple.com [Tue, 7 Jun 2011 22:01:06 +0000 (22:01 +0000)]
Build fix after r88260.

* platform/graphics/win/FontCacheWin.cpp:
(WebCore::FontCache::getFontDataForCharacters): Update to use enum instead of bool.
* platform/graphics/wince/FontCacheWinCE.cpp:

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

9 years ago2011-06-07 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 7 Jun 2011 21:31:27 +0000 (21:31 +0000)]
2011-06-07  Adam Barth  <abarth@webkit.org>

        Reviewed by Tony Chang.

        Fix "branding" issue in features.gypi
        https://bugs.webkit.org/show_bug.cgi?id=62229

        Apparently we need to move the conditional block further out of the
        nesting in order to see the branding variable.  This patch also remove
        the dummy branding variable I added to get the buildbot building again.

        * features.gypi:

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

9 years ago2011-06-07 Zalan Bujtas <zbujtas@gmail.com>
andreas.kling@nokia.com [Tue, 7 Jun 2011 21:21:30 +0000 (21:21 +0000)]
2011-06-07  Zalan Bujtas  <zbujtas@gmail.com>

        Reviewed by Andreas Kling.

        TiledDrawingArea: Delay serving tile requests when the drawing area is suspended.

        Do not paint tiles when painting is disabled (suspended) on the web process side.
        Buffer up the tile requests and paint them, when the drawing area gets resumed.
        On the UI process side, do not block on tile updates, when the tiled area is
        not visible (painting is disabled on the web process side).

        * UIProcess/TiledDrawingAreaProxy.cpp:
        (WebKit::TiledDrawingAreaProxy::waitUntilUpdatesComplete):
        * WebProcess/WebPage/TiledDrawingArea.cpp:
        (WebKit::TiledDrawingArea::suspendPainting):
        (WebKit::TiledDrawingArea::resumePainting):
        (WebKit::TiledDrawingArea::scheduleTileUpdate):
        (WebKit::TiledDrawingArea::tileUpdateTimerFired):
        (WebKit::TiledDrawingArea::didReceiveMessage):
        * WebProcess/WebPage/TiledDrawingArea.h:

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

9 years ago2011-06-07 Rob Buis <rbuis@rim.com>
rwlbuis@webkit.org [Tue, 7 Jun 2011 21:15:30 +0000 (21:15 +0000)]
2011-06-07  Rob Buis  <rbuis@rim.com>

        Reviewed by Dirk Schulze.

        stroke-dasharray does not handle "none"
        https://bugs.webkit.org/show_bug.cgi?id=62203

        Test stroke-dasharray=none as well as invalid syntaxes.

        * platform/mac/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/styling-css-04-f-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1/styling-css-04-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/styling-css-04-f-expected.txt:
        * platform/mac/svg/custom/invalid-dasharray-expected.png: Added.
        * platform/mac/svg/custom/invalid-dasharray-expected.txt: Added.
        * svg/W3C-SVG-1.1-SE/styling-css-04-f.svg: Added.
        * svg/custom/invalid-dasharray.svg: Added.
2011-06-07  Rob Buis  <rbuis@rim.com>

        Reviewed by Dirk Schulze.

        stroke-dasharray does not handle "none"
        https://bugs.webkit.org/show_bug.cgi?id=62203

        Use the initial strokeDashArray style for stroke-dasharray="none" to apply to SVGRenderStyle rather than bailing out.

        Tests: svg/W3C-SVG-1.1-SE/styling-css-04-f.svg
               svg/custom/invalid-dasharray.svg

        * css/SVGCSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::applySVGProperty):

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

9 years ago2011-06-07 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Tue, 7 Jun 2011 21:10:43 +0000 (21:10 +0000)]
2011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88259 and r88263.
        http://trac.webkit.org/changeset/88259
        http://trac.webkit.org/changeset/88263
        https://bugs.webkit.org/show_bug.cgi?id=62228

        broke builds (Requested by rniwa on #webkit).

        * platform/mac/WebCoreSystemInterface.h:
        * platform/network/ResourceHandle.h:
        * platform/network/cf/ResourceRequest.h:
2011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r88259 and r88263.
        http://trac.webkit.org/changeset/88259
        http://trac.webkit.org/changeset/88263
        https://bugs.webkit.org/show_bug.cgi?id=62228

        broke builds (Requested by rniwa on #webkit).

        * PluginProcess/mac/PluginProcessShim.mm:

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

9 years ago2011-06-07 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Tue, 7 Jun 2011 21:06:26 +0000 (21:06 +0000)]
2011-06-07  Emil A Eklund  <eae@chromium.org>

        Reviewed by Eric Seidel.

        Switch ContainerNode to use IntPoint
        https://bugs.webkit.org/show_bug.cgi?id=61893

        Covered by existing tests.

        * dom/ContainerNode.cpp:
        (WebCore::ContainerNode::getUpperLeftCorner):
        (WebCore::ContainerNode::getLowerRightCorner):
        (WebCore::ContainerNode::getRect):
        Change to use maxX/maxY instead of x+width/y+height

        * platform/graphics/FloatPoint.h:
        (WebCore::FloatPoint::move):
        (WebCore::FloatPoint::moveBy):
        (WebCore::FloatPoint::expandedTo):
        Add move, moveBy and expandedTo mirroring the IntPoint implementation of the same.

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

9 years ago2011-06-07 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 7 Jun 2011 20:59:47 +0000 (20:59 +0000)]
2011-06-07  Ryosuke Niwa  <rniwa@webkit.org>

        Speculative build fix after r88259.

        * platform/network/cf/ResourceRequest.h:

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

9 years ago2011-06-07 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 7 Jun 2011 20:51:27 +0000 (20:51 +0000)]
2011-06-07  Adam Barth  <abarth@webkit.org>

        Attempt to fix the cr-win build.

        * features.gypi:

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

9 years ago2011-06-07 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Tue, 7 Jun 2011 20:49:01 +0000 (20:49 +0000)]
2011-06-07  Michael Saboff  <msaboff@apple.com>

        Reviewed by Geoffrey Garen.

        Need to enable font cache purging in MemoryPressureHandler
        https://bugs.webkit.org/show_bug.cgi?id=62060

        Improve memory usage under pressure.
        Added call to fontCache()->purgeInactiveFontData() in
        MemoryPressureHandler::respondToMemoryPressure().  Added protection to
        MemoryPressureHandler::install() being called multiple times.

        No new tests as funtionality wasn't changed.

        * platform/MemoryPressureHandler.cpp:
        (WebCore::MemoryPressureHandler::MemoryPressureHandler):
        * platform/MemoryPressureHandler.h:
        * platform/mac/MemoryPressureHandlerMac.mm:
        (WebCore::MemoryPressureHandler::install):
        (WebCore::MemoryPressureHandler::respondToMemoryPressure):

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

9 years ago2011-06-06 Michael Saboff <msaboff@apple.com>
msaboff@apple.com [Tue, 7 Jun 2011 20:46:28 +0000 (20:46 +0000)]
2011-06-06  Michael Saboff  <msaboff@apple.com>

        Reviewed by Geoffrey Garen.

        Fonts returned by FontCache::getFontDataForCharacters() are never released
        https://bugs.webkit.org/show_bug.cgi?id=61875

        This change allows fonts allocated as system fallback fonts to be
        released.  Previously, the reference counts for these fonts grew
        without bound.  This is implemented as an auto release class that wraps
        accesses to the cache for system fallback fonts. All such accesses are
        via the method FontCache::getFontDataForCharacters. The new class is
        called FontCachePurgePreventer. When such an object exists, it protects
        these fonts from deletion.

        See more comments for this defect in Source/WebCore/ChangeLog.

        * WebKitGraphics.cpp:
        (CenterTruncateStringToWidth):
        (RightTruncateStringToWidth):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in these methods.
2011-06-06  Michael Saboff  <msaboff@apple.com>

        Reviewed by Geoffrey Garen.

        Fonts returned by FontCache::getFontDataForCharacters() are never released
        https://bugs.webkit.org/show_bug.cgi?id=61875

        This change allows fonts allocated as system fallback fonts to be
        released.  Previously, the reference counts for these fonts grew
        without bound.  This is implemented as an auto release class that wraps
        accesses to the cache for system fallback fonts. All such accesses are
        via the method FontCache::getFontDataForCharacters. The new class is
        called FontCachePurgePreventer. When such an object exists, it protects
        these fonts from deletion.

        See more comments for this defect in Source/WebCore/ChangeLog.

        * Misc/WebKitNSStringExtras.mm:
        (-[NSString _web_drawAtPoint:font:textColor:allowingFontSmoothing:]):
        (-[NSString _web_widthWithFont:]):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in these methods.

        * Misc/WebStringTruncator.mm:
        (+[WebStringTruncator centerTruncateString:toWidth:]):
        (+[WebStringTruncator centerTruncateString:toWidth:withFont:]):
        (+[WebStringTruncator rightTruncateString:toWidth:withFont:]):
        (+[WebStringTruncator widthOfString:font:]):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in these methods.
2011-06-07  Michael Saboff  <msaboff@apple.com>

        Reviewed by Geoffrey Garen.

        Fonts returned by FontCache::getFontDataForCharacters() are never released
        https://bugs.webkit.org/show_bug.cgi?id=61875

        This change allows fonts allocated as system fallback fonts to be
        released.  Previously, the reference counts for these fonts grew
        without bound.  This is implemented as an auto release class that wraps
        accesses to the cache for system fallback fonts. All such accesses are
        via the method FontCache::getFontDataForCharacters. The new class is
        called FontCachePurgePreventer. When such an object exists, it protects
        these fonts from deletion.

        Most accesses to the font cache still use the reference counting
        implemented by FontCache::getCacheFontData() and
        FontCache::releaseFontData() and that operation is not affected by
        this change.

        Added local scoped instance of FontCachePurgePreventer to wrap code
        that directly or indirectly accesses fonts via getFontDataForCharacters.
        Did a few other miscellaneous bug fixes and changes to allow system
        fallback fonts to be pruned from the GlyphPageTree. Changed the
        calls to getFontData in the platform specific versions of
        Fontcache::getFontDataForCharacters to not increment the reference
        count.  Moved the purge font check
        outside of FontCache::getCachedFontData() into a separate method,
        purgeInactiveFontDataIfNeeded() since almost all calls to
        getCachedFontData() now happen when purging is not allowed.
        purgeInactiveFontDataIfNeeded is invoked in enablePurging() when
        m_purgePreventCount is 0.

        No new test as the functionality has not changed. Improved font life
        cycle management.

        * WebCore.exp.in: Added FontCache::purgeInactiveFontDataIfNeeded().
        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::measureText):
        (WebCore::CanvasRenderingContext2D::drawTextInternal):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in these methods.

        * page/FrameView.cpp:
        (WebCore::FrameView::layout):
        (WebCore::FrameView::paintContents):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in these methods.

        * platform/graphics/FontCache.cpp:
        (WebCore::FontCache::FontCache):
        (WebCore::FontCache::getCachedFontData):
        Moved purge check to new method since it likely can't happen here.
        (WebCore::FontCache::releaseFontData):
        (WebCore::FontCache::purgeInactiveFontDataIfNeeded):
        (WebCore::FontCache::purgeInactiveFontData):
        Made purging conditional on m_purgePreventCount.  Now some fonts
        in the cache are reference counted while other can be purged
        outside of code wrapped by in scope FontCachePurgePreventer objects.

        * platform/graphics/FontCache.h:
        (WebCore::FontCache::disablePurging):
        (WebCore::FontCache::enablePurging):
        (WebCore::FontCachePurgePreventer::FontCachePurgePreventer):
        (WebCore::FontCachePurgePreventer::~FontCachePurgePreventer):
        Added new simple purge prevention wrapper class and methods
        that it calls in FontCache actually prevent purging.  The
        simple methods inlined to reduce overhead.

        * platform/graphics/FontFastPath.cpp:
        (WebCore::Font::glyphDataForCharacter): Update level in
        glyph page tree for system fallback fonts so pruning works.

        * platform/graphics/GlyphPage.h:
        (WebCore::GlyphPage::clearForFontData): New method used for pruning
        * platform/graphics/GlyphPageTreeNode.cpp:
        (WebCore::GlyphPageTreeNode::pruneFontData):
        Now we prune system fallback fonts.

        * platform/graphics/chromium/FontCacheChromiumWin.cpp:
        (WebCore::FontCache::getFontDataForCharacters):
        * platform/graphics/freetype/FontCacheFreeType.cpp:
        (WebCore::FontCache::getFontDataForCharacters):
        * platform/graphics/haiku/FontCacheHaiku.cpp:
        (WebCore::FontCache::getFontDataForCharacters):
        * platform/graphics/mac/FontCacheMac.mm:
        (WebCore::FontCache::getFontDataForCharacters):
        * platform/graphics/qt/FontCacheQt.cpp:
        (WebCore::FontCache::getFontDataForCharacters):
        * platform/graphics/win/FontCacheWin.cpp:
        (WebCore::FontCache::getFontDataForCharacters):
        * platform/graphics/wince/FontCacheWinCE.cpp:
        * platform/graphics/wx/FontCacheWx.cpp:
        (WebCore::FontCache::getFontDataForCharacters):
        Changed the calls to getFontData() to not increment the reference
        count. The caller of this getFontDataForCharacters() (currently only
        Font::glyphDataForCharacter() in fontFastPath.cpp) and it's callers
        don't attempt to release the returned fonts so we use the purge
        protection described above.

        * rendering/InlineTextBox.cpp:
        (WebCore::InlineTextBox::selectionRect):
        (WebCore::InlineTextBox::offsetForPosition):
        (WebCore::InlineTextBox::positionForOffset):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in these methods.

        * rendering/RenderImage.cpp:
        (WebCore::RenderImage::setImageSizeForAltText):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in this method.

        * rendering/RenderListBox.cpp:
        (WebCore::RenderListBox::updateFromElement):
        (WebCore::RenderListBox::paintItemForeground):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in these methods

        * rendering/svg/SVGInlineTextBox.cpp:
        (WebCore::SVGInlineTextBox::selectionRectForTextFragment):
        Wrapped code accessing fallback fonts with local
        FontCachePurgePreventer in this method.

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

9 years ago2011-06-07 Tim Horton <timothy_horton@apple.com>
commit-queue@webkit.org [Tue, 7 Jun 2011 20:37:29 +0000 (20:37 +0000)]
2011-06-07  Tim Horton  <timothy_horton@apple.com>

        Reviewed by Alexey Proskuryakov.

        Use correct CFURLStorageSessionRef definition on Snow Leopard
        https://bugs.webkit.org/show_bug.cgi?id=62223

        * platform/mac/WebCoreSystemInterface.h:
        * platform/network/ResourceHandle.h:
        * platform/network/cf/ResourceRequest.h:
2011-06-07  Tim Horton  <timothy_horton@apple.com>

        Reviewed by Alexey Proskuryakov.

        Use correct CFURLStorageSessionRef definition on Snow Leopard
        https://bugs.webkit.org/show_bug.cgi?id=62223

        * PluginProcess/mac/PluginProcessShim.mm:

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

9 years ago2011-06-07 Alok Priyadarshi <alokp@chromium.org>
alokp@chromium.org [Tue, 7 Jun 2011 20:28:54 +0000 (20:28 +0000)]
2011-06-07  Alok Priyadarshi  <alokp@chromium.org>

        Reviewed by Stephen White.

        [chromium] PlatformContextSkia leaks SkDeviceFactory
        https://bugs.webkit.org/show_bug.cgi?id=62163

        Valgrind tests should have caught this.

        * platform/graphics/skia/PlatformContextSkia.cpp:
        (WebCore::PlatformContextSkia::setSharedGraphicsContext3D):

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

9 years ago2011-06-07 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 7 Jun 2011 20:23:18 +0000 (20:23 +0000)]
2011-06-07  Adam Barth  <abarth@webkit.org>

        Rubber-stamped by Eric Seidel.

        Enable tests on the mac-ews

        When we bring the mac-ews back up, we're going to try running tests!

        * Scripts/webkitpy/tool/commands/earlywarningsystem.py:

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

9 years ago2011-06-07 Dmitry Lomov <dslomov@google.com>
commit-queue@webkit.org [Tue, 7 Jun 2011 19:55:04 +0000 (19:55 +0000)]
2011-06-07  Dmitry Lomov  <dslomov@google.com>

        Reviewed by David Levin.

        https://bugs.webkit.org/show_bug.cgi?id=62215
        Allow comparisons with 0 in LIKELY and UNLIKELY macros.

        * Scripts/webkitpy/style/checkers/cpp.py:
        * Scripts/webkitpy/style/checkers/cpp_unittest.py:

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

9 years ago2011-06-07 Mario Sanchez Prada <msanchez@igalia.com>
mario@webkit.org [Tue, 7 Jun 2011 19:21:24 +0000 (19:21 +0000)]
2011-06-07  Mario Sanchez Prada  <msanchez@igalia.com>

        Unreviewed, skip test crashing in GTK bots because of an ASSERT.

        Actually, it's the same problem observed before (see bug 61937).

        * platform/gtk/Skipped: Skipped test.

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