WebKit-https.git
9 years ago2010-08-11 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Wed, 11 Aug 2010 18:48:42 +0000 (18:48 +0000)]
2010-08-11  Dimitri Glazkov  <dglazkov@chromium.org>

        Build fix, turn off yet-unbaked DEVICE_ORIENTATION stuff.

        * features.gypi: Turned it off.

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

9 years ago2010-08-11 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 11 Aug 2010 18:31:09 +0000 (18:31 +0000)]
2010-08-11  Adam Barth  <abarth@webkit.org>

        Rubber-stamped by Eric Seidel.

        Delete LegacyHTMLDocumentParser and LegacyPreloadScanner
        https://bugs.webkit.org/show_bug.cgi?id=43836

        These classes are bit-rotting disturbingly quickly.  We removed the
        last dependencies on these classes and so we can remove them.

        We might need to preserve some of their particular quirks to handle
        some legacy applications, but our current thinking is to do that with
        individual settings that affect the new parser.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * dom/Document.cpp:
        * dom/DocumentFragment.cpp:
        (WebCore::DocumentFragment::parseHTML):
        * dom/DocumentParser.h:
        * dom/XMLDocumentParserLibxml2.cpp:
        * dom/XMLDocumentParserQt.cpp:
        * html/HTMLConstructionSite.cpp:
        * html/HTMLDocument.cpp:
        (WebCore::HTMLDocument::createParser):
        * html/HTMLEntityParser.cpp:
        (WebCore::decodeNamedEntity):
        * html/HTMLEntityParser.h:
        * html/HTMLFormControlElement.cpp:
        * html/HTMLTreeBuilder.cpp:
        * html/HTMLViewSourceDocument.cpp:
        (WebCore::HTMLViewSourceDocument::createParser):
        * html/LegacyHTMLDocumentParser.cpp: Removed.
        * html/LegacyHTMLDocumentParser.h: Removed.
        * html/LegacyHTMLTreeBuilder.cpp:
        * html/LegacyPreloadScanner.cpp: Removed.
        * html/LegacyPreloadScanner.h: Removed.
        * loader/FTPDirectoryDocument.cpp:
        (WebCore::FTPDirectoryDocumentParser::FTPDirectoryDocumentParser):
        (WebCore::FTPDirectoryDocumentParser::appendEntry):
        (WebCore::FTPDirectoryDocumentParser::createTDForFilename):
        (WebCore::processFilesizeString):
        (WebCore::wasLastDayOfMonth):
        (WebCore::processFileDateString):
        (WebCore::FTPDirectoryDocumentParser::parseAndAppendOneLine):
        (WebCore::FTPDirectoryDocumentParser::loadDocumentTemplate):
        (WebCore::FTPDirectoryDocumentParser::createBasicDocument):
        (WebCore::FTPDirectoryDocumentParser::append):
        (WebCore::FTPDirectoryDocumentParser::finish):
        * page/XSSAuditor.cpp:
        (WebCore::XSSAuditor::decodeHTMLEntities):
        * page/XSSAuditor.h:
        * platform/text/SegmentedString.cpp:
        (WebCore::SegmentedString::prepend):

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

9 years ago2010-08-11 Marcus Bulach <bulach@chromium.org>
bulach@chromium.org [Wed, 11 Aug 2010 18:31:00 +0000 (18:31 +0000)]
2010-08-11  Marcus Bulach  <bulach@chromium.org>

        Reviewed by Eric Seidel.

        Check in a script to list redundant test outputs.
        https://bugs.webkit.org/show_bug.cgi?id=37630

        If e.g. platform/mac-leopard is missing an expected test output, we
        fall back on platform/mac.  This means it's possible to grow redundant
        test outputs, where we have the same expected data in both a platform
        directory and another platform it falls back on.
        (original patch by Evan Marting <evan@chromium.org> https://bugs.webkit.org/attachment.cgi?id=53398)

        * Scripts/deduplicate-tests: Added.
        * Scripts/webkitpy/layout_tests/deduplicate_tests.py: Added.
        * Scripts/webkitpy/layout_tests/deduplicate_tests_unittest.py: Added.

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

9 years ago2010-08-11 Antonio Gomes <tonikitoo@webkit.org>
tonikitoo@webkit.org [Wed, 11 Aug 2010 18:01:57 +0000 (18:01 +0000)]
2010-08-11  Antonio Gomes  <tonikitoo@webkit.org>

        Reviewed by Ariya Hidayat.

        [Qt] QtTestBrowser: after switching between QWebView and QGraphicsWebView, rotation actions get broken
        https://bugs.webkit.org/show_bug.cgi?id=43853

        LauncherWindow::createChrome is connecting menu itens to WebViewGraphicsBased's slots directly.
        It behaviors badly when user launches the QtTestBrowser in QWebView mode, since then switching to
        QGraphicsWebView mode, createChrome is not called again, and menu items end up not getting connected
        to slots at all.

        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::createChrome):
        (LauncherWindow::animatedFlip):
        (LauncherWindow::animatedYFlip):
        * QtTestBrowser/launcherwindow.h:

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

9 years ago2010-08-11 Chris Jerdonek <cjerdonek@webkit.org>
cjerdonek@webkit.org [Wed, 11 Aug 2010 17:40:23 +0000 (17:40 +0000)]
2010-08-11  Chris Jerdonek  <cjerdonek@webkit.org>

        Reviewed by Adam Barth.

        Refactored FrameLoader::createWindow() out of the FrameLoader class
        since FrameLoader should not be responsible for creating windows.

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

        No new functionality, so no new tests.

        * bindings/generic/BindingDOMWindow.h:
        (WebCore::::createWindow):
          - Updated the call to FrameLoader's createWindow().
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::createWindow):
          - Updated the call to FrameLoader's createWindow().
        * loader/FrameLoader.cpp:
        (WebCore::createWindowFromFrameLoader):
          - Made FrameLoader::createWindow() non-member, non-friend and changed it
            to accept Frame* parameters instead of FrameLoader*.
        * loader/FrameLoader.h:
          - Updated the header file to reflect the above change to FrameLoader.cpp.

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

9 years ago2010-08-11 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 17:14:54 +0000 (17:14 +0000)]
2010-08-11  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Antonio Gomes.

        Implementation dispatchDecidePolicyForNavigationAction
        https://bugs.webkit.org/show_bug.cgi?id=43544

        Add ewk_view_navigation_policy_decision to decide whether url which
        user clicked will be loaded or not.

        * WebCoreSupport/FrameLoaderClientEfl.cpp:
        (WebCore::FrameLoaderClientEfl::dispatchDecidePolicyForNavigationAction):
        * ewk/ewk_private.h:
        * ewk/ewk_view.cpp:
        (ewk_view_navigation_policy_decision):
        * ewk/ewk_view.h:

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

9 years ago2010-08-11 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 11 Aug 2010 16:55:10 +0000 (16:55 +0000)]
2010-08-11  Nate Chapin  <japhet@chromium.org>

        Unreviewed, Chromium rebaseline.

        Tweak win pixel results for svg/batik/text/textFeatures.svg.

        * platform/chromium-win-vista/svg/batik/text/textFeatures-expected.checksum:
        * platform/chromium-win-vista/svg/batik/text/textFeatures-expected.png:
        * platform/chromium-win-vista/svg/batik/text/textFeatures-expected.txt: Removed.
        * platform/chromium-win-xp/svg/batik/text/textFeatures-expected.checksum:
        * platform/chromium-win-xp/svg/batik/text/textFeatures-expected.png: Added.

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

9 years ago2010-08-11 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Wed, 11 Aug 2010 16:31:03 +0000 (16:31 +0000)]
2010-08-11  Alejandro G. Castro  <alex@igalia.com>

        Unreviewed.

        New baselines for the mathml tests.

        * platform/gtk/mathml/presentation/sub-expected.txt:
        * platform/gtk/mathml/presentation/sup-expected.txt:
        * platform/gtk/mathml/presentation/tables-expected.txt:

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

9 years ago2010-08-11 Antonio Gomes <tonikitoo@webkit.org>
tonikitoo@webkit.org [Wed, 11 Aug 2010 15:57:13 +0000 (15:57 +0000)]
2010-08-11  Antonio Gomes  <tonikitoo@webkit.org>

        Reviewed by Simon Hausmann.

        [Qt] QtTestBrowser: switching between QWebView and QGraphicsWebView modes is broken
        https://bugs.webkit.org/show_bug.cgi?id=43851

        All window options data (including the bool holding if the view is either QWebView or
        QGraphicsWebView based) is stored in m_windowOptions, a class member of LauncherWindow.
        When toggle the view from QWebView to QGraphicsWebView based (and vice-versa), we were
        not updating LauncherWindow::WindowOptions::m_useGraphicsView bit, and then things were
        getting broken.

        Patch addresses this issue.

        * QtTestBrowser/launcherwindow.cpp:
        (LauncherWindow::createChrome):
        (LauncherWindow::toggleWebView):
        (LauncherWindow::toggleAcceleratedCompositing):

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

9 years ago2010-08-10 Antonio Gomes <tonikitoo@webkit.org>
tonikitoo@webkit.org [Wed, 11 Aug 2010 15:56:40 +0000 (15:56 +0000)]
2010-08-10  Antonio Gomes  <tonikitoo@webkit.org>

        Reviewed by Ariya Hidayat.

        [Qt] QtTestBrowser: lazy instantiate "YRotation" state machine and related objects
        https://bugs.webkit.org/show_bug.cgi?id=43831

        Only instantiate QStateMachine and friends associated to the YRotation action on demand.

        * QtTestBrowser/webview.cpp:
        (WebViewGraphicsBased::WebViewGraphicsBased):
        (WebViewGraphicsBased::animatedYFlip):

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

9 years ago2010-08-11 Balazs Kelemen <kb@inf.u-szeged.hu>
abecsi@webkit.org [Wed, 11 Aug 2010 15:33:54 +0000 (15:33 +0000)]
2010-08-11  Balazs Kelemen  <kb@inf.u-szeged.hu>

        Unreviewed build fix.

        [Qt] Update WebKit2 build environment, add stub implementation of SharedMemory.

        * DerivedSources.pro:
        * Platform/qt/SharedMemoryQt.cpp: Added.
        (WebKit::SharedMemory::Handle::Handle):
        (WebKit::SharedMemory::Handle::~Handle):
        (WebKit::SharedMemory::Handle::encode):
        (WebKit::SharedMemory::Handle::decode):
        (WebKit::SharedMemory::create):
        (WebKit::SharedMemory::~SharedMemory):
        (WebKit::SharedMemory::createHandle):
        (WebKit::SharedMemory::systemPageSize):
        * WebKit2.pro:
        * WebKit2Prefix.h:

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

9 years ago2010-08-11 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 11 Aug 2010 15:08:35 +0000 (15:08 +0000)]
2010-08-11  Nate Chapin  <japhet@chromium.org>

        Unreviewed, Chromium rebaseline.

        New results and expectations tweak for http://trac.webkit.org/changeset/65138.

        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
        * platform/chromium-linux/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
        * platform/chromium-linux/svg/batik/text/textEffect-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textEffect-expected.png:
        * platform/chromium-linux/svg/batik/text/textEffect3-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textEffect3-expected.png:
        * platform/chromium-linux/svg/batik/text/textFeatures-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textFeatures-expected.png:
        * platform/chromium-linux/svg/batik/text/textProperties-expected.checksum:
        * platform/chromium-linux/svg/batik/text/textProperties-expected.png:
        * platform/chromium-linux/svg/custom/non-opaque-filters-expected.checksum:
        * platform/chromium-linux/svg/custom/non-opaque-filters-expected.png:
        * platform/chromium-linux/svg/custom/recursive-filter-expected.checksum:
        * platform/chromium-linux/svg/custom/recursive-filter-expected.png:
        * platform/chromium-linux/svg/custom/text-filter-expected.checksum:
        * platform/chromium-linux/svg/custom/text-filter-expected.png: Added.
        * platform/chromium-linux/svg/filters/feGaussianBlur-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/filter-on-filter-for-text-expected.checksum:
        * platform/chromium-linux/svg/filters/filter-on-filter-for-text-expected.png: Added.
        * platform/chromium-linux/svg/filters/shadow-on-filter-expected.checksum: Removed.
        * platform/chromium-linux/svg/filters/shadow-on-filter-expected.png: Removed.
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
        * platform/chromium-win/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
        * platform/chromium-win/svg/batik/text/textEffect-expected.checksum:
        * platform/chromium-win/svg/batik/text/textEffect-expected.png:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.checksum:
        * platform/chromium-win/svg/batik/text/textEffect3-expected.png:
        * platform/chromium-win/svg/batik/text/textFeatures-expected.checksum:
        * platform/chromium-win/svg/batik/text/textFeatures-expected.png:
        * platform/chromium-win/svg/batik/text/textProperties-expected.checksum:
        * platform/chromium-win/svg/batik/text/textProperties-expected.png:
        * platform/chromium-win/svg/custom/non-opaque-filters-expected.checksum:
        * platform/chromium-win/svg/custom/non-opaque-filters-expected.png:
        * platform/chromium-win/svg/custom/recursive-filter-expected.checksum:
        * platform/chromium-win/svg/custom/recursive-filter-expected.png:
        * platform/chromium-win/svg/custom/text-filter-expected.checksum:
        * platform/chromium-win/svg/custom/text-filter-expected.png:
        * platform/chromium-win/svg/filters/feGaussianBlur-expected.checksum:
        * platform/chromium-win/svg/filters/feGaussianBlur-expected.png:
        * platform/chromium-win/svg/filters/filter-on-filter-for-text-expected.checksum:
        * platform/chromium-win/svg/filters/filter-on-filter-for-text-expected.png:
        * platform/chromium-win/svg/filters/shadow-on-filter-expected.checksum:
        * platform/chromium-win/svg/filters/shadow-on-filter-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-08-11 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Wed, 11 Aug 2010 14:56:11 +0000 (14:56 +0000)]
2010-08-11  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Pavel Feldman.

        WebInspector: small refactoring for CodeGeneratorInspector.
        all "notify" methods are generating in InspectorFrontend
        the other methods are generating in InspectorBackend.
        https://bugs.webkit.org/show_bug.cgi?id=43849

        * inspector/CodeGeneratorInspector.pm:

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

9 years ago2010-08-11 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
commit-queue@webkit.org [Wed, 11 Aug 2010 14:43:42 +0000 (14:43 +0000)]
2010-08-11  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Xan Lopez.

        [GTK] Misc improvements to the scrolling code
        https://bugs.webkit.org/show_bug.cgi?id=41926

        Refactor code that uses deprecated ways of dealing with the
        adjustments to use the GtkVersioning infrastructure.

        * GNUmakefile.am:
        * platform/gtk/GtkVersioning.cpp: Added.
        * platform/gtk/GtkVersioning.h:
        * platform/gtk/ScrollViewGtk.cpp:
        * platform/gtk/ScrollbarGtk.cpp:
        (ScrollbarGtk::detachAdjustment):
        (ScrollbarGtk::updateThumbPosition):
        (ScrollbarGtk::updateThumbProportion):

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

9 years ago[Qt] Update the Symbian def files
hausmann@webkit.org [Wed, 11 Aug 2010 14:37:40 +0000 (14:37 +0000)]
[Qt] Update the Symbian def files

Re-freeze with various QGraphicsWebView and DRT updates.
The uppper part of the diff is just whitespace, so
diff -w will show the real diff.

* symbian/eabi/QtWebKitu.def:

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

9 years ago2010-08-11 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Wed, 11 Aug 2010 13:51:02 +0000 (13:51 +0000)]
2010-08-11  Nate Chapin  <japhet@chromium.org>

        Chromium mac build fix (variables weren't being initialized).

        * platform/graphics/filters/FEGaussianBlur.cpp:
        (WebCore::FEGaussianBlur::apply): Initalize dxLeft, dxRight, dyLeft, dyRight.

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

9 years ago2010-08-11 Evan Stade <estade@chromium.org>
estade@chromium.org [Wed, 11 Aug 2010 13:45:01 +0000 (13:45 +0000)]
2010-08-11  Evan Stade  <estade@chromium.org>

        Reviewed by David Levin.

        [chromium] linux chromium sends double clicks too often
        https://bugs.webkit.org/show_bug.cgi?id=43096

        * WebKit.gyp: add the test
        * src/gtk/WebInputEventFactory.cpp:
        (WebKit::WebInputEventFactory::mouseEvent): check the x/y coordinates of the
        potential double click event
        * tests/WebInputEventFactoryTestGtk.cpp: Added.

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

9 years ago2010-08-11 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 11 Aug 2010 13:27:33 +0000 (13:27 +0000)]
2010-08-11  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Rebaseline Chromium test.

        * platform/chromium-win/http/tests/loading/bad-scheme-subframe-expected.txt:

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

9 years ago2010-08-11 Gabor Loki <loki@webkit.org>
loki@webkit.org [Wed, 11 Aug 2010 13:27:04 +0000 (13:27 +0000)]
2010-08-11  Gabor Loki  <loki@webkit.org>

        Qt build fix (ARMv7).

        Fix invalid conversion from int to Condition.
        Add ARMv7Assembler.cpp to JavaScriptCore.pro.

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

9 years ago2010-08-11 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Wed, 11 Aug 2010 13:12:08 +0000 (13:12 +0000)]
2010-08-11  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: apply correct fix to storage panel status bar buttons.

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

        * inspector/front-end/DatabaseTableView.js:
        (WebInspector.DatabaseTableView.prototype.get statusBarItems):
        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel.prototype._genericViewSetup):

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

9 years ago2010-08-11 Darin Adler <darin@apple.com>
darin@apple.com [Wed, 11 Aug 2010 12:54:06 +0000 (12:54 +0000)]
2010-08-11  Darin Adler  <darin@apple.com>

        Reviewed by John Sullivan.

        Improved editor options for prepare-ChangeLog and commit-log-editor
        https://bugs.webkit.org/show_bug.cgi?id=40548

        * Scripts/commit-log-editor: Split editor strings on spaces so EDITOR
        values like "xed --launch --wait" work properly.

        * Scripts/prepare-ChangeLog: Added a new CHANGE_LOG_EDITOR so we can
        use a command line tool with the $openChangeLogs feature.

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

9 years ago2010-08-11 Kevin Ollivier <kevino@theolliviers.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 12:30:43 +0000 (12:30 +0000)]
2010-08-11  Kevin Ollivier  <kevino@theolliviers.com>

        Reviewed by Adam Barth.

        Override operator= for C++ DOM binding classes with private structs
        and update C++ DOM bindings test results.
        https://bugs.webkit.org/show_bug.cgi?id=43735

        * bindings/cpp/WebDOMEventTarget.cpp:
        (WebDOMEventTarget::operator=):
        * bindings/cpp/WebDOMEventTarget.h:
        * bindings/scripts/CodeGeneratorCPP.pm:
        * bindings/scripts/test/CPP/WebDOMTestCallback.cpp:
        (WebDOMTestCallback::operator=):
        * bindings/scripts/test/CPP/WebDOMTestCallback.h:
        * bindings/scripts/test/CPP/WebDOMTestInterface.cpp:
        (WebDOMTestInterface::operator=):
        * bindings/scripts/test/CPP/WebDOMTestInterface.h:
        * bindings/scripts/test/CPP/WebDOMTestObj.cpp:
        (WebDOMTestObj::operator=):
        * bindings/scripts/test/CPP/WebDOMTestObj.h:

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

9 years ago2010-08-11 Nathan Lawrence <nlawrence@apple.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 12:14:06 +0000 (12:14 +0000)]
2010-08-11  Nathan Lawrence  <nlawrence@apple.com>

        Reviewed by Geoffrey Garen.

        At collection time, we frequently want to mark a cell, while checking
        whether it was originally checked.  Previously, this was a get
        operation follwed by a set operation.  Fusing the two saves
        computation and gives a 0.5% sunspider speedup.

        * runtime/Collector.h:
        (JSC::CollectorBitmap::getset):
        (JSC::Heap::checkMarkCell):
        * runtime/JSArray.h:
        (JSC::MarkStack::drain):
        * runtime/JSCell.h:
        (JSC::MarkStack::append):

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

9 years ago2010-08-11 John Abd-El-Malek <jam@chromium.org>
jam@chromium.org [Wed, 11 Aug 2010 11:09:35 +0000 (11:09 +0000)]
2010-08-11  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by Darin Fisher.

        [chromium] Inform a plugin about the zoom level when it's created
        https://bugs.webkit.org/show_bug.cgi?id=42268

        * src/FrameLoaderClientImpl.cpp:
        (WebKit::FrameLoaderClientImpl::createPlugin):

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

9 years ago2010-08-11 Julie Parent <jparent@chromium.org>
jparent@chromium.org [Wed, 11 Aug 2010 10:30:47 +0000 (10:30 +0000)]
2010-08-11  Julie Parent  <jparent@chromium.org>

        Reviewed by Justin Garcia.

        Crash in replaceSelectionCommand with RTL text.
        https://bugs.webkit.org/show_bug.cgi?id=41485

        Adds tests for 4 cases: latin text plus space in RTL region and LTR region,
        and hebrew text plus space in RTL region and LTR region.  Currently, the
        latin text in RTL region case crashes.  Added all combinations of test since
        earlier patch crashed with hebrew text in LTR region.

        * editing/execCommand/insert-image-on-top-of-directional-text-expected.txt: Added.
        * editing/execCommand/insert-image-on-top-of-directional-text.html: Added.
2010-08-11  Julie Parent  <jparent@chromium.org>

        Reviewed by Justin Garcia.

        Crash in replaceSelectionCommand with RTL text.
        https://bugs.webkit.org/show_bug.cgi?id=41485

        For text with mixed directionality, sort the text boxes before
        computing gaps, since that code assumes the boxes are in order.

        Test: editing/execCommand/insert-image-on-top-of-directional-text.html

        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::deleteInsignificantText): Sort boxes
        like we do in TextIterator before computing gaps.
        * editing/TextIterator.cpp:
        (WebCore::TextIterator::handleTextNode): Use new compareByStart
        rather than compareBoxStart.  No functional change.
        * rendering/InlineTextBox.h:
        (WebCore::InlineTextBox::compareByStart): Moved compareBoxStart
        from TextIterator here so it can be used in multiple places.

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

9 years ago2010-08-11 Steve Falkenburg <sfalken@apple.com>
sfalken@apple.com [Wed, 11 Aug 2010 09:41:24 +0000 (09:41 +0000)]
2010-08-11  Steve Falkenburg  <sfalken@apple.com>

        Reviewed by Adam Roben.

        Improve vsprops copying for Windows build
        https://bugs.webkit.org/show_bug.cgi?id=41982

        When we detect a new SDK, always copy a new set of vsprops files.
        Previously, if someone updated their SDK after updating their sources,
        they could end up with out-of-date vsprops files.

        * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make:

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

9 years agoBuild fix. Update references to StringHash.h.
mrowe@apple.com [Wed, 11 Aug 2010 09:20:05 +0000 (09:20 +0000)]
Build fix.  Update references to StringHash.h.

* Shared/CommandLine.h:
* UIProcess/WebContext.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/win/WebProcessMainWin.cpp:

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

9 years ago2010-08-11 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 11 Aug 2010 09:15:05 +0000 (09:15 +0000)]
2010-08-11  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Fix Chromium compilation.

        * DEPS:

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

9 years ago2010-08-11 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Wed, 11 Aug 2010 08:46:33 +0000 (08:46 +0000)]
2010-08-11  Fumitoshi Ukai  <ukai@chromium.org>

        Unreviewed build fix of Leopard Intel Debug (Build)

        * websockets/WebSocketChannel.cpp:
        (WebCore::WebSocketChannel::processBuffer): use %lu, instead of %ul

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

9 years ago2010-08-11 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 11 Aug 2010 08:43:57 +0000 (08:43 +0000)]
2010-08-11  Yury Semikhatsky  <yurys@chromium.org>

        Unreviewed. Chromium build fix.

        * DEPS: bump up Chromium revision.

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

9 years ago2010-08-11 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Wed, 11 Aug 2010 08:43:13 +0000 (08:43 +0000)]
2010-08-11  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Dirk Schulze.

        Fixes to the gaussian blur algorithm
        https://bugs.webkit.org/show_bug.cgi?id=41605

        Added the recomendations of SVG regarding the kernel size
        calculation for the approximation of the gaussian
        blur. http://www.w3.org/TR/SVG/filters.html#feGaussianBlurElement.
        Modified also some variable names to clarify algorithm, reviewed
        the situation where both standard deviations are 0.

        * platform/graphics/filters/FEGaussianBlur.cpp:
        (WebCore::FEGaussianBlur::FEGaussianBlur):
        (WebCore::FEGaussianBlur::stdDeviationX):
        (WebCore::FEGaussianBlur::setStdDeviationX):
        (WebCore::FEGaussianBlur::stdDeviationY):
        (WebCore::FEGaussianBlur::setStdDeviationY):
        (WebCore::boxBlur):
        (WebCore::FEGaussianBlur::kernelPosition): Added the SVG kernel
        position recomendation.
        (WebCore::FEGaussianBlur::apply):
        (WebCore::FEGaussianBlur::externalRepresentation):
        * platform/graphics/filters/FEGaussianBlur.h:

2010-08-11  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Dirk Schulze.

        Fixes to the gaussian blur algorithm
        https://bugs.webkit.org/show_bug.cgi?id=41605

        Unskipped test and generated results.

        * platform/gtk/Skipped:
        * platform/gtk/svg/filters/feGaussianBlur-expected.txt: Added.

        Updated pixel tests.

        * platform/mac-leopard/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.checksum:
        * platform/mac-leopard/svg/W3C-SVG-1.1/filters-gauss-01-b-expected.png:
        * platform/mac-leopard/svg/batik/text/textProperties-expected.checksum:
        * platform/mac-leopard/svg/batik/text/textProperties-expected.png:
        * platform/mac-leopard/svg/custom/mask-colorspace-expected.png:
        * platform/mac-leopard/svg/filters/feGaussianBlur-expected.checksum:
        * platform/mac-leopard/svg/filters/feGaussianBlur-expected.png:
        * platform/mac-leopard/svg/filters/shadow-on-filter-expected.checksum:
        * platform/mac-leopard/svg/filters/shadow-on-filter-expected.png:
        * platform/mac-leopard/svg/filters/shadow-on-rect-with-filter-expected.checksum:
        * platform/mac-leopard/svg/filters/shadow-on-rect-with-filter-expected.png:
        * platform/mac/svg/W3C-SVG-1.1/filters-example-01-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
        * platform/mac/svg/batik/text/textEffect-expected.checksum:
        * platform/mac/svg/batik/text/textEffect-expected.png:
        * platform/mac/svg/batik/text/textEffect3-expected.checksum:
        * platform/mac/svg/batik/text/textEffect3-expected.png:
        * platform/mac/svg/batik/text/textFeatures-expected.checksum:
        * platform/mac/svg/batik/text/textFeatures-expected.png:
        * platform/mac/svg/custom/non-opaque-filters-expected.checksum:
        * platform/mac/svg/custom/non-opaque-filters-expected.png:
        * platform/mac/svg/custom/recursive-filter-expected.checksum:
        * platform/mac/svg/custom/recursive-filter-expected.png:
        * platform/mac/svg/custom/resource-invalidate-on-target-update-expected.checksum:
        * platform/mac/svg/custom/resource-invalidate-on-target-update-expected.png:
        * platform/mac/svg/custom/text-filter-expected.checksum:
        * platform/mac/svg/custom/text-filter-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-diffuseConstant-attr-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-diffuseConstant-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-in-attr-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-in-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-lighting-color-attr-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-lighting-color-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-surfaceScale-attr-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-dom-surfaceScale-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-lighting-color-css-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-lighting-color-css-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-diffuseConstant-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-diffuseConstant-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-in-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-in-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-surfaceScale-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEDiffuseLightingElement-svgdom-surfaceScale-prop-expected.png:
        * platform/mac/svg/filters/filter-on-filter-for-text-expected.checksum:
        * platform/mac/svg/filters/filter-on-filter-for-text-expected.png:

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

9 years ago2010-08-11 Kristian Monsen <kristianm@google.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 08:35:51 +0000 (08:35 +0000)]
2010-08-11  Kristian Monsen  <kristianm@google.com>

        Reviewed by Steve Block.

        Compile fix for Android, added include for <wtf/text/Cstring.h, this
        did not get included in Android.
        https://bugs.webkit.org/show_bug.cgi?id=41517

        Build fix only, no new tests.

        * page/PrintContext.cpp:

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

9 years ago2010-08-11 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Wed, 11 Aug 2010 08:32:48 +0000 (08:32 +0000)]
2010-08-11  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove InjectDispatch.js
        https://bugs.webkit.org/show_bug.cgi?id=43835

        * WebKit.grd:
        * src/js/InjectDispatch.js: Removed.
2010-08-11  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: remove InjectDispatch.js
        https://bugs.webkit.org/show_bug.cgi?id=43835

        * DumpRenderTree/chromium/DRTDevToolsAgent.cpp:
        * DumpRenderTree/chromium/DRTDevToolsAgent.h:

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

9 years ago2010-08-11 Fumitoshi Ukai <ukai@chromium.org>
ukai@chromium.org [Wed, 11 Aug 2010 08:23:56 +0000 (08:23 +0000)]
2010-08-11  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Fix length calculation to be more robust.
        https://bugs.webkit.org/show_bug.cgi?id=43777

        * websocket/tests/frame-length-overflow-expected.txt: Added.
        * websocket/tests/frame-length-overflow.html: Added.
        * websocket/tests/frame-length-overflow_wsh.py: Added.
2010-08-11  Fumitoshi Ukai  <ukai@chromium.org>

        Reviewed by Alexey Proskuryakov.

        Fix length calculation to be more robust.
        https://bugs.webkit.org/show_bug.cgi?id=43777

        Test: websocket/tests/frame-length-overflow.html

        * websockets/WebSocketChannel.cpp:
        (WebCore::WebSocketChannel::appendToBuffer): len is size_t.
         - add sanity check for integer wraps.
        (WebCore::WebSocketChannel::skipBuffer): len is size_t.
        (WebCore::WebSocketChannel::processBuffer): length is size_t.
         - add sanity check for integer wraps.
        * websockets/WebSocketChannel.h: change m_bufferSize and len to size_t.

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

9 years ago2010-08-10 Eric Seidel <eric@webkit.org>
abarth@webkit.org [Wed, 11 Aug 2010 07:51:08 +0000 (07:51 +0000)]
2010-08-10  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Fix three ASSERTs hit with the HTML5 TreeBuilder in fragment mode
        https://bugs.webkit.org/show_bug.cgi?id=43762

        In fixing the insertAdjacentHTML I had to make small changes to
        the error logic, which ended up bringing us closer to HTML5.

        Test: fast/dom/HTMLElement/insertAdjacentHTML-errors.html

        * html/HTMLConstructionSite.cpp:
        (WebCore::HTMLConstructionSite::attach):
         - This ASSERT was just wrong, the child should not be attached
           in the case the parent is not attached.
        * html/HTMLElement.cpp:
        (WebCore::contextElementForInsertion):
         - This is part of HTML5, needed to know what to call the
           HTML or XML parsers with.  The previous code always passed
           "this" which is wrong in the case of beforeBegin or afterEnd insertion.
        (WebCore::HTMLElement::insertAdjacentHTML):
         - Use the right contextElement now that we know how to compute it.
        * html/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processEndTagForInCell):
         - This ASSERT is direct from the spec, but it's wrong, so I've filed a spec bug.
2010-08-10  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Fix three ASSERTs hit with the HTML5 TreeBuilder in fragment mode
        https://bugs.webkit.org/show_bug.cgi?id=43762

        In order to fix the insertAdjacentHTML I had to some behavior.
        The behavior I changed brings us closer to the HTML5 spec,
        but since it was not previously tested, I added tests.

        * fast/dom/HTMLElement/insertAdjacentHTML-errors-expected.txt: Added.
        * fast/dom/HTMLElement/insertAdjacentHTML-errors.html: Added.

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

9 years ago2010-08-11 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 11 Aug 2010 07:40:22 +0000 (07:40 +0000)]
2010-08-11  Adam Barth  <abarth@webkit.org>

        Attempt to fix Windows build.

        * platform/win/COMPtr.h:
        (WTF::):

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

9 years ago2010-08-11 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 11 Aug 2010 07:30:57 +0000 (07:30 +0000)]
2010-08-11  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Port view-source to new parser
        https://bugs.webkit.org/show_bug.cgi?id=43746

        This patch switches the view-source mode for frames over to using the
        new HTML parsing infrastructure.  This patch is an architectural change
        to how we parser view source documents.

        Previously, the LegacyHTMLDocumentParser would output a "guide string"
        that consided of the inter-attribute whitespace and various "control"
        characters.  The HTMLViewSourceDocument would then interpret this guide
        string to approximately reconstruct the source of the original document
        and colorize various syntatic constructs.

        Unfortunately, that approach is inherently low-fidelity.  It's not
        really feasible to reconstruct the input document from the token
        stream.  The old view source mode also had a number of hacks in the old
        parser (e.g., to turn of decoding of HTML entities).

        Instead of trying to reconstruct the original document from the token
        stream, we use the segmentation information given by the tokens to
        colorize the input document itself.  Each token now caries information
        about where in the input stream it came from and where various
        subcomponents (e.g., attribute names and values) are located.  This
        approach is higher fidelity because we use this segmentation
        information to colorize the original input instead of attempting to
        reconstruct the original input.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * html/HTMLDocumentParser.cpp:
        * html/HTMLToken.h:
        (WebCore::HTMLToken::clear):
        (WebCore::HTMLToken::startIndex):
        (WebCore::HTMLToken::length):
        (WebCore::HTMLToken::end):
        * html/HTMLViewSourceDocument.cpp:
        (WebCore::HTMLViewSourceDocument::createParser):
        (WebCore::HTMLViewSourceDocument::addSource):
        (WebCore::HTMLViewSourceDocument::processDoctypeToken):
        (WebCore::HTMLViewSourceDocument::processTagToken):
        (WebCore::HTMLViewSourceDocument::processCommentToken):
        (WebCore::HTMLViewSourceDocument::processCharacterToken):
        (WebCore::HTMLViewSourceDocument::addRange):
        * html/HTMLViewSourceDocument.h:
        * html/HTMLViewSourceParser.cpp: Added.
        (WebCore::HTMLViewSourceParser::~HTMLViewSourceParser):
        (WebCore::HTMLViewSourceParser::insert):
        (WebCore::HTMLViewSourceParser::pumpTokenizer):
        (WebCore::HTMLViewSourceParser::append):
        (WebCore::HTMLViewSourceParser::sourceForToken):
        (WebCore::HTMLViewSourceParser::updateTokenizerState):
        (WebCore::HTMLViewSourceParser::finish):
        (WebCore::HTMLViewSourceParser::finishWasCalled):
        * html/HTMLViewSourceParser.h: Added.
        (WebCore::HTMLViewSourceParser::HTMLViewSourceParser):
        (WebCore::HTMLViewSourceParser::document):
        * html/LegacyHTMLDocumentParser.cpp:
        (WebCore::LegacyHTMLDocumentParser::processToken):
        (WebCore::LegacyHTMLDocumentParser::processDoctypeToken):

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

9 years ago2010-08-11 Yoshiki Hayashi <yhayashi@google.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 07:13:53 +0000 (07:13 +0000)]
2010-08-11  Yoshiki Hayashi  <yhayashi@google.com>

        Reviewed by Shinichiro Hamaji.

        Make form controls, textarea, legend and datagrid treat width:
        auto as specified in stretching vertical flexbox.  Otherwise it's
        treated as intrinsic as before.
        https://bugs.webkit.org/show_bug.cgi?id=17918

        * fast/flexbox/vertical-box-form-controls-expected.txt: Added.
        * fast/flexbox/vertical-box-form-controls.html: Added.
2010-08-11  Yoshiki Hayashi  <yhayashi@google.com>

        Reviewed by Shinichiro Hamaji.

        Make form controls, textarea, legend and datagrid treat width:
        auto as specified in stretching vertical flexbox.  Otherwise it's
        treated as intrinsic as before.
        https://bugs.webkit.org/show_bug.cgi?id=17918

        Test: fast/flexbox/vertical-box-form-controls.html

        * css/CSSStyleSelector.cpp:
        (WebCore::CSSStyleSelector::adjustRenderStyle):
        * rendering/RenderBox.cpp:
        (WebCore::RenderBox::sizesToIntrinsicWidth):

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

9 years ago2010-08-10 Darin Adler <darin@apple.com>
abarth@webkit.org [Wed, 11 Aug 2010 07:08:23 +0000 (07:08 +0000)]
2010-08-10  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        Add leakRef and clear to all RefPtr variants
        https://bugs.webkit.org/show_bug.cgi?id=42389

        * API/JSRetainPtr.h: Changed all uses of "template <...>" to instead do
        "template<...>". We should probably put this in the style guide and do it
        consitently. Fixed other minor style issues. Defined many of the inlined
        functions outside the class definition, to avoid style checker warnings
        about multiple statements on a single line and for slightly better clarity
        of the class definition itself. Renamed releaseRef to leakRef. Added a
        releaseRef that calls leakRef so we don't have to rename all callers oat
        once. Added a clear function.

        * wtf/PassRefPtr.h: Changed all uses of releaseRef to leakRef.

        * wtf/RefPtr.h: Changed all uses of "template <...>" to instead do
        "template<...>". Tidied up declarations and comments a bit.
         Changed all uses of releaseRef to leakRef.

        * wtf/RetainPtr.h: Changed all uses of "template <...>" to instead do
        "template<...>". Defined many of the inlined functions outside the class
        definition, to avoid style checker warnings about multiple statements on
        a single line and for slightly better clarity of the class definition itself.
        Renamed releaseRef to leakRef. Added a releaseRef that calls leakRef so we
        don't have to rename all callers at once. Added a clear function.
2010-08-10  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        Add leakRef and clear to all RefPtr variants
        https://bugs.webkit.org/show_bug.cgi?id=42389

        * platform/win/COMPtr.h: Changed all uses of "template <...>" to instead do
        "template<...>". Defined many of the inlined functions outside the class
        definition, to avoid style checker warnings about multiple statements on
        a single line and for slightly better clarity of the class definition itself.
        Renamed releaseRef to leakRef. Added a releaseRef that calls leakRef so we
        don't have to rename all callers at once. Added a clear function. Changed
        the hash table code so it doesn't need to call releaseRef, and so it uses
        the hash table deleted value hooks already present within the class.
2010-08-10  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        Add leakRef and clear to all RefPtr variants
        https://bugs.webkit.org/show_bug.cgi?id=42389

        * UIProcess/API/cpp/WKRetainPtr.h: Changed all uses of "template <...>" to
        "template<...>". Defined many of the inlined functions outside the class
        definition, to avoid style checker warnings about multiple statements on
        a single line and for slightly better clarity of the class definition itself.
        Renamed releaseRef to leakRef. Added a releaseRef that calls leakRef so we
        don't have to rename all callers at once. Added a clear function.

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

9 years ago2010-08-10 Shinichiro Hamaji <hamaji@chromium.org>
hamaji@chromium.org [Wed, 11 Aug 2010 06:31:11 +0000 (06:31 +0000)]
2010-08-10  Shinichiro Hamaji  <hamaji@chromium.org>

        Add a suppression of animations/suspend-resume-animation.html for chromium.

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-08-10 Ariya Hidayat <ariya@sencha.com>
ariya@webkit.org [Wed, 11 Aug 2010 06:24:48 +0000 (06:24 +0000)]
2010-08-10  Ariya Hidayat  <ariya@sencha.com>

        [Qt] Fix build warning: remove reference to html/BlobRegistryImp.h

        * WebCore.pro:

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

9 years ago Reviewed by Darin Adler.
ap@apple.com [Wed, 11 Aug 2010 06:20:25 +0000 (06:20 +0000)]
    Reviewed by Darin Adler.

        https://bugs.webkit.org/show_bug.cgi?id=43803
        <rdar://problem/6988023> Only the last Korean character can be shown if font style is enabled while typing (43803)

        Test: platform/mac/editing/input/bold-node.html

        * editing/Editor.cpp: (WebCore::Editor::setComposition): It is not clear to me what the
        "baseNode == extentNode" check is about in this function , but let's try to make it more
        likely that it passes.

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

9 years ago2010-08-10 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Wed, 11 Aug 2010 06:19:23 +0000 (06:19 +0000)]
2010-08-10  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        webkit-patch should refuse to run under Win32 Python
        https://bugs.webkit.org/show_bug.cgi?id=40962

        Given that there are lots of places in webkit-patch's code that
        assume unix-style filenames (forward slashes), webkit-patch fails
        with weird file-not-found errors when run under a native windows
        Python. It would be nice if we just trapped this and errored out
        at the beginning, rather than producing unpredictable errors.

        * Scripts/webkit-patch:

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

9 years agoUnreviewed, reverting an unintentional change to a file submitted in r65108.
dumi@chromium.org [Wed, 11 Aug 2010 06:00:33 +0000 (06:00 +0000)]
Unreviewed, reverting an unintentional change to a file submitted in r65108.

* bytecode/CodeBlock.h:
(JSC::binaryChop):

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

9 years ago2010-08-10 Anders Bakken <agbakken@gmail.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 05:39:59 +0000 (05:39 +0000)]
2010-08-10  Anders Bakken  <agbakken@gmail.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] Don't connect to microFocusChanged() if _q_updateMicroFocus is a noop.
        https://bugs.webkit.org/show_bug.cgi?id=40580

        _q_updateMicroFocus() is a noop unless this ifdef evaluates to true:
        #if !defined(QT_NO_IM) && (defined(Q_WS_X11) || defined(Q_WS_QWS) || defined(Q_OS_SYMBIAN))

        In such cases there's no need to carry the overhead of the extra
        signal/slot connection.

        * Api/qgraphicswebview.cpp:
        (QGraphicsWebViewPrivate::_q_updateMicroFocus):
        (QGraphicsWebView::setPage):

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

9 years ago2010-08-10 Hayato Ito <hayato@chromium.org>
commit-queue@webkit.org [Wed, 11 Aug 2010 05:20:47 +0000 (05:20 +0000)]
2010-08-10  Hayato Ito  <hayato@chromium.org>

        Reviewed by Kent Tamura.

        Make CSSSelector::specificity() non-recursive.
        https://bugs.webkit.org/show_bug.cgi?id=43784

        This change is one of the required changes to fix the following master bug:
        https://bugs.webkit.org/show_bug.cgi?id=42806

        No functional change, thus no tests.

        * css/CSSSelector.cpp:
        (WebCore::CSSSelector::specificity):
        (WebCore::CSSSelector::specificityForOneSelector):
        (WebCore::CSSSelector::specificityForPage):
        * css/CSSSelector.h:

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

9 years ago2010-08-10 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 05:02:01 +0000 (05:02 +0000)]
2010-08-10  Ryuan Choi  <ryuan.choi@samsung.com>

        Unreviewed build fix.

        [EFL]REGRESSION(65021) need to fix build break
        https://bugs.webkit.org/show_bug.cgi?id=43767

        Remove AtomicStringWTF and change namespace TextCaseInsensitive.

        * ewk/ewk_frame.cpp:
        (ewk_frame_plugin_create):
        * ewk/ewk_view.cpp:
        (ewk_view_text_search):
        (ewk_view_text_matches_mark):
        (ewk_view_setting_font_cursive_set):

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

9 years ago2010-08-10 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Wed, 11 Aug 2010 04:47:11 +0000 (04:47 +0000)]
2010-08-10  Kent Tamura  <tkent@chromium.org>

        Unreviewed, build fix.

        Chromium build fix for r65107.

        * src/WebAnimationControllerImpl.cpp:
        (WebKit::WebAnimationControllerImpl::suspendAnimations):
        (WebKit::WebAnimationControllerImpl::resumeAnimations):
2010-08-10  Kent Tamura  <tkent@chromium.org>

        Unreviewed, build fix.

        Chromium build fix for r65107.

        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::suspendAnimations):
        (LayoutTestController::resumeAnimations):

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

9 years agoanother try at fixing Chromium build broken by http://trac.webkit.org/changeset/65107
cmarrin@apple.com [Wed, 11 Aug 2010 03:40:43 +0000 (03:40 +0000)]
another try at fixing Chromium build broken by trac.webkit.org/changeset/65107

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

9 years agoAnother try at fixing Chromium build
cmarrin@apple.com [Wed, 11 Aug 2010 03:30:00 +0000 (03:30 +0000)]
Another try at fixing Chromium build

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

9 years ago2010-08-10 Matthew Delaney <mdelaney@apple.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 03:10:51 +0000 (03:10 +0000)]
2010-08-10  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Darin Adler.

        2d.path.clip.empty.html test is failing
        https://bugs.webkit.org/show_bug.cgi?id=43161

        * platform/mac/Skipped: Unskipping now passing path.clip.empty
2010-08-10  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Darin Adler.

        2d.path.clip.empty.html test is failing
        https://bugs.webkit.org/show_bug.cgi?id=43161

        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::clip):
        Catching the empty path case from being sent directly to
        CGContextClip - which would ignore it. Instead, using
        CGContextClip with a CGRectZero to achieve the desired
        behavior of reducing the clipping region to nothing.

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

9 years ago2010-08-10 Gyuyoung Kim <gyuyoung.kim@samsung.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 02:53:08 +0000 (02:53 +0000)]
2010-08-10  Gyuyoung Kim  <gyuyoung.kim@samsung.com>

        Reviewed by Antonio Gomes.

        [EFL] Add video files to enable video in WebKit EFL
        https://bugs.webkit.org/show_bug.cgi?id=43790

        Add files regarding html5 video to CMakeList.txt for WebKit Efl.
        But, this patch is not run html5 video on WebKit EFL yet.

        * CMakeLists.txt: Add files related to html5video.
        * platform/efl/LocalizedStringsEfl.cpp: Add functions for html5 video.
        (WebCore::localizedMediaControlElementString):
        (WebCore::localizedMediaControlElementHelpText):
        (WebCore::localizedMediaTimeDescription):
        * platform/graphics/MediaPlayer.cpp:
        (WebCore::installedMediaEngines): Disable MediaPlayerPrivate::r
      egisterMediaEngine for WebKit EFL.

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

9 years ago2010-08-10 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 02:34:31 +0000 (02:34 +0000)]
2010-08-10  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Nikolas Zimmermann.

        Add a toRenderSVGImage function
        https://bugs.webkit.org/show_bug.cgi?id=43789

        Add a function for casting to RenderSVGImage and use it.

        * rendering/RenderSVGImage.h:
        (WebCore::toRenderSVGImage):
        * rendering/RenderTreeAsText.cpp:
        (WebCore::write):
        * rendering/SVGRenderTreeAsText.cpp:
        (WebCore::writeSVGImage):
        * rendering/SVGRenderTreeAsText.h:
        * svg/SVGImageElement.cpp:
        (WebCore::SVGImageElement::attach):

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

9 years agoTouching WebKit.idl to get IWebFramePrivate.idl to get rebuilt
cmarrin@apple.com [Wed, 11 Aug 2010 02:33:20 +0000 (02:33 +0000)]
Touching WebKit.idl to get IWebFramePrivate.idl to get rebuilt

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

9 years agoFix for Chromium and gtk builds, broken by http://trac.webkit.org/changeset/65107
cmarrin@apple.com [Wed, 11 Aug 2010 02:21:37 +0000 (02:21 +0000)]
Fix for Chromium and gtk builds, broken by trac.webkit.org/changeset/65107

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

9 years ago2010-08-10 Sergio Villar Senin <svillar@igalia.com>
commit-queue@webkit.org [Wed, 11 Aug 2010 02:15:26 +0000 (02:15 +0000)]
2010-08-10  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] http/tests/media/video-cookie.html fails
        https://bugs.webkit.org/show_bug.cgi?id=42240

        * platform/gtk/Skipped: unskipped test
2010-08-10  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] http/tests/media/video-cookie.html fails
        https://bugs.webkit.org/show_bug.cgi?id=42240

        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::setAlwaysAcceptCookies): create the
        SoupCookieJar if it does not exist. Otherwise the accept policy
        won't be set.

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

9 years agoFix for Windows build, broken by http://trac.webkit.org/changeset/65107
cmarrin@apple.com [Wed, 11 Aug 2010 02:14:52 +0000 (02:14 +0000)]
Fix for Windows build, broken by trac.webkit.org/changeset/65107

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

9 years agoBuild fix (update more includes)
barraclough@apple.com [Wed, 11 Aug 2010 02:13:20 +0000 (02:13 +0000)]
Build fix (update more includes)

WebKit/mac:

* Plugins/Hosted/NetscapePluginHostManager.h:

WebKit/win:

* WebKitDLL.h:
* WebLocalizableStrings.cpp:
* WebNotificationCenter.cpp:
* WebPreferences.cpp:

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

9 years ago2010-08-10 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Wed, 11 Aug 2010 01:55:53 +0000 (01:55 +0000)]
2010-08-10  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        Clients of HTMLTokenizer should be able to see where characters went in the token
        https://bugs.webkit.org/show_bug.cgi?id=43766

        When viewing the source of a document, we want to colorize different
        parts of the input depending on how they were tokenized.  In this
        patch, we expose the internal segmentation of a token by recording the
        start and end offsets for each attribute name and each attribute value.

        * html/HTMLToken.h:
        (WebCore::HTMLToken::addNewAttribute):
        (WebCore::HTMLToken::beginAttributeName):
        (WebCore::HTMLToken::endAttributeName):
        (WebCore::HTMLToken::beginAttributeValue):
        (WebCore::HTMLToken::endAttributeValue):
        (WebCore::HTMLToken::appendToAttributeName):
        (WebCore::HTMLToken::appendToAttributeValue):
        (WebCore::AtomicHTMLToken::AtomicHTMLToken):
        * html/HTMLTokenizer.cpp:
        (WebCore::HTMLTokenizer::nextToken):

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

9 years ago2010-08-10 Mihai Parparita <mihaip@chromium.org>
jamesr@google.com [Wed, 11 Aug 2010 01:28:28 +0000 (01:28 +0000)]
2010-08-10  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Darin Adler.

         fast/dom/Window/window-properties.html is pretty slow
         https://bugs.webkit.org/show_bug.cgi?id=43755

         window-properties.html would take 5.9 seconds to run on my Mac Pro.
         - Changing the order of checks in logValue to have more early returns
           before we get value and valueType brings this down to 3.66 seconds
         - Changing logBuffer to be a string that we append to instead of an
           array that we push() to brings this to 0.7 seconds (string appends
           are faster than array push()-es followed by a join('') in all
           browsers except IE per
           http://closure-library.googlecode.com/svn/docs/closure_goog_string_stringbuffer.js.source.html

        * fast/dom/Window/window-properties.html:

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

9 years agoDo not post a sync task to the DB thread if it's terminating.
dumi@chromium.org [Wed, 11 Aug 2010 01:19:23 +0000 (01:19 +0000)]
Do not post a sync task to the DB thread if it's terminating.
https://bugs.webkit.org/show_bug.cgi?id=43676

Reviewed by David Levin.

* bindings/generic/ActiveDOMCallback.cpp: The context can
sometimes be NULL. Check if it's NULL instead of asserting that
it's not.
(WebCore::ActiveDOMCallback::ActiveDOMCallback):
* dom/ActiveDOMObject.cpp:
(WebCore::ActiveDOMObject::ActiveDOMObject):

* storage/Database.cpp: Do not post a sync task to the DB thread
if the DB thread is terminating. Also, when a task is destroyed,
ASSERT that it was completed, or that it had no synchronizer.
(WebCore::Database::openAndVerifyVersion):
(WebCore::Database::markAsDeletedAndClose):
(WebCore::Database::tableNames):
* storage/DatabaseTask.cpp:
(WebCore::DatabaseTaskSynchronizer::DatabaseTaskSynchronizer):
(WebCore::DatabaseTask::~DatabaseTask):
(WebCore::DatabaseTask::performTask):
* storage/DatabaseTask.h:
(WebCore::DatabaseTaskSynchronizer::hasCheckedForTermination):
(WebCore::DatabaseTaskSynchronizer::setHasCheckedForTermination):
(WebCore::DatabaseTask::hasSynchronizer):
(WebCore::DatabaseTask::hasCheckedForTermination):
* storage/DatabaseThread.cpp:
(WebCore::DatabaseThread::terminationRequested):
(WebCore::DatabaseThread::scheduleTask):
(WebCore::DatabaseThread::scheduleImmediateTask):
* storage/DatabaseThread.h:

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

9 years ago2010-08-10 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Wed, 11 Aug 2010 01:03:58 +0000 (01:03 +0000)]
2010-08-10  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Oliver Hunt.

        Add suspendAnimations/resumeAnimation API to DRT
        https://bugs.webkit.org/show_bug.cgi?id=43733

        Qt specific API. Missing symbian symbol defines in:

            WebKit/qt/symbian/bwins/QtWebKitu.def
            WebKit/qt/symbian/eabi/QtWebKitu.def

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::suspendAnimations):
        (DumpRenderTreeSupportQt::resumeAnimations):
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2010-08-10  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Oliver Hunt.

        Add suspendAnimations/resumeAnimation API to DRT
        https://bugs.webkit.org/show_bug.cgi?id=43733

        Gtk specific API.

        * webkit/webkitprivate.h:
        * webkit/webkitwebframe.cpp:
        (webkit_web_frame_suspend_animations):
        (webkit_web_frame_resume_animations):
2010-08-10  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Oliver Hunt.

        Add suspendAnimations/resumeAnimation API to DRT
        https://bugs.webkit.org/show_bug.cgi?id=43733

        Win specific API

        * Interfaces/IWebFramePrivate.idl:
        * WebFrame.cpp:
        (WebFrame::suspendAnimations):
        (WebFrame::resumeAnimations):
        * WebFrame.h:
2010-08-10  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Oliver Hunt.

        Add suspendAnimations/resumeAnimation API to DRT
        https://bugs.webkit.org/show_bug.cgi?id=43733

        Mac specific API. Plumbs suspendAnimations/resumeAnimations down to WebCore.

        * WebView/WebFrame.mm:
        (-[WebFrame _suspendAnimations]):
        (-[WebFrame _resumeAnimations]):
        * WebView/WebFramePrivate.h:
2010-08-10  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Oliver Hunt.

        Add suspendAnimations/resumeAnimation API to DRT
        https://bugs.webkit.org/show_bug.cgi?id=43733

        This tests suspend and resume of animations. Transitions are currently broken
        due to https://bugs.webkit.org/show_bug.cgi?id=43792. I will add transition
        tests and tests of transition and animation interaction with that fix.

        * animations/animation-test-helpers.js:
        (matrixStringToArray):
        * animations/suspend-resume-animation-expected.txt: Added.
        * animations/suspend-resume-animation.html: Added.
2010-08-10  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Oliver Hunt.

        Add suspendAnimations/resumeAnimation API to DRT
        https://bugs.webkit.org/show_bug.cgi?id=43733

        Adds suspendAnimations() and resumeAnimations() to LayoutTestController.
        Calls functions with the same names on AnimationController for the
        mainFrame.

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
        * DumpRenderTree/LayoutTestController.cpp:
        (suspendAnimationsCallback):
        (resumeAnimationsCallback):
        (LayoutTestController::staticFunctions):
        * DumpRenderTree/LayoutTestController.h:
        * DumpRenderTree/chromium/LayoutTestController.cpp:
        (LayoutTestController::LayoutTestController):
        (LayoutTestController::suspendAnimations):
        (LayoutTestController::resumeAnimations):
        * DumpRenderTree/chromium/LayoutTestController.h:
        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::suspendAnimations):
        (LayoutTestController::resumeAnimations):
        * DumpRenderTree/mac/LayoutTestControllerMac.mm:
        (LayoutTestController::suspendAnimations):
        (LayoutTestController::resumeAnimations):
        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::suspendAnimations):
        (LayoutTestController::resumeAnimations):
        * DumpRenderTree/qt/LayoutTestControllerQt.h:
        * DumpRenderTree/win/LayoutTestControllerWin.cpp:
        (LayoutTestController::suspendAnimations):
        (LayoutTestController::resumeAnimations):
        * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
        (LayoutTestController::suspendAnimations):
        (LayoutTestController::resumeAnimations):

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

9 years agoQt build fix.
barraclough@apple.com [Wed, 11 Aug 2010 00:54:15 +0000 (00:54 +0000)]
Qt build fix.

* bridge/qt/qt_runtime.cpp:
(JSC::Bindings::convertValueToQVariant):

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

9 years agoFix more build break.
jianli@chromium.org [Wed, 11 Aug 2010 00:29:31 +0000 (00:29 +0000)]
Fix more build break.

* bindings/v8/SerializedScriptValue.cpp:
(WebCore::ZigZag::Reader::readBlob):
(WebCore::ZigZag::Reader::readFile):
* dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::~ScriptExecutionContext):
(WebCore::ScriptExecutionContext::revokeBlobURL):
* dom/ScriptExecutionContext.h:
* html/Blob.cpp:
(WebCore::Blob::slice):

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

9 years agoBug 43817 - Remove UString::Rep
barraclough@apple.com [Wed, 11 Aug 2010 00:16:38 +0000 (00:16 +0000)]
Bug 43817 - Remove UString::Rep
UString::Rep has for a long time been replaced by UStringImpl (Rep
remaining as a typedef).  UStringImpl has since been removed too
(unified with StringImpl). Remove Rep, rename rep() to impl() and
m_rep to m_impl.  Also add impl() method to Identifier, and rename
its UString member from _ustring to m_string.

Rubber stamped by Sam Weinig

JavaScriptCore:

* API/JSCallbackObject.h:
(JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
(JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
(JSC::JSCallbackObjectData::JSPrivatePropertyMap::deletePrivateProperty):
* API/JSCallbackObjectFunctions.h:
(JSC::::getOwnPropertySlot):
(JSC::::put):
(JSC::::deleteProperty):
(JSC::::getOwnPropertyNames):
(JSC::::staticValueGetter):
(JSC::::staticFunctionGetter):
* API/JSClassRef.cpp:
(tryCreateStringFromUTF8):
(OpaqueJSClass::OpaqueJSClass):
(OpaqueJSClass::~OpaqueJSClass):
(OpaqueJSClassContextData::OpaqueJSClassContextData):
* API/JSClassRef.h:
* API/OpaqueJSString.cpp:
(OpaqueJSString::ustring):
* bytecode/EvalCodeCache.h:
(JSC::EvalCodeCache::get):
* bytecode/JumpTable.h:
(JSC::StringJumpTable::offsetForValue):
(JSC::StringJumpTable::ctiForValue):
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::addVar):
(JSC::BytecodeGenerator::addGlobalVar):
(JSC::BytecodeGenerator::BytecodeGenerator):
(JSC::BytecodeGenerator::addParameter):
(JSC::BytecodeGenerator::registerFor):
(JSC::BytecodeGenerator::willResolveToArguments):
(JSC::BytecodeGenerator::uncheckedRegisterForArguments):
(JSC::BytecodeGenerator::constRegisterFor):
(JSC::BytecodeGenerator::isLocal):
(JSC::BytecodeGenerator::isLocalConstant):
(JSC::BytecodeGenerator::addConstant):
(JSC::BytecodeGenerator::emitLoad):
(JSC::BytecodeGenerator::findScopedProperty):
(JSC::keyForCharacterSwitch):
(JSC::prepareJumpTableForStringSwitch):
* bytecompiler/BytecodeGenerator.h:
* bytecompiler/NodesCodegen.cpp:
(JSC::processClauseList):
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
* parser/JSParser.cpp:
(JSC::JSParser::parseStrictObjectLiteral):
* pcre/pcre_exec.cpp:
(Histogram::add):
* profiler/CallIdentifier.h:
(JSC::CallIdentifier::Hash::hash):
* profiler/Profile.cpp:
* profiler/ProfileNode.cpp:
(JSC::ProfileNode::debugPrintDataSampleStyle):
* profiler/ProfileNode.h:
* runtime/ArrayPrototype.cpp:
(JSC::arrayProtoFuncToString):
* runtime/Identifier.cpp:
(JSC::Identifier::equal):
(JSC::IdentifierCStringTranslator::hash):
(JSC::IdentifierCStringTranslator::equal):
(JSC::IdentifierCStringTranslator::translate):
(JSC::Identifier::add):
(JSC::IdentifierUCharBufferTranslator::hash):
(JSC::IdentifierUCharBufferTranslator::equal):
(JSC::IdentifierUCharBufferTranslator::translate):
(JSC::Identifier::addSlowCase):
* runtime/Identifier.h:
(JSC::Identifier::Identifier):
(JSC::Identifier::ustring):
(JSC::Identifier::impl):
(JSC::Identifier::data):
(JSC::Identifier::size):
(JSC::Identifier::ascii):
(JSC::Identifier::isNull):
(JSC::Identifier::isEmpty):
(JSC::Identifier::toUInt32):
(JSC::Identifier::toStrictUInt32):
(JSC::Identifier::toArrayIndex):
(JSC::Identifier::toDouble):
(JSC::Identifier::equal):
(JSC::Identifier::add):
* runtime/InitializeThreading.cpp:
(JSC::initializeThreadingOnce):
* runtime/InternalFunction.cpp:
(JSC::InternalFunction::displayName):
* runtime/JSFunction.cpp:
(JSC::JSFunction::displayName):
* runtime/JSGlobalObject.h:
(JSC::JSGlobalObject::addStaticGlobals):
* runtime/JSStaticScopeObject.h:
(JSC::JSStaticScopeObject::JSStaticScopeObject):
* runtime/JSString.h:
(JSC::):
(JSC::RopeBuilder::appendStringInConstruct):
(JSC::RopeBuilder::appendValueInConstructAndIncrementLength):
(JSC::jsSingleCharacterSubstring):
(JSC::jsSubstring):
* runtime/JSVariableObject.cpp:
(JSC::JSVariableObject::deleteProperty):
(JSC::JSVariableObject::symbolTableGet):
* runtime/JSVariableObject.h:
(JSC::JSVariableObject::symbolTableGet):
(JSC::JSVariableObject::symbolTablePut):
(JSC::JSVariableObject::symbolTablePutWithAttributes):
* runtime/Lookup.cpp:
(JSC::HashTable::createTable):
(JSC::HashTable::deleteTable):
* runtime/Lookup.h:
(JSC::HashEntry::initialize):
(JSC::HashEntry::setKey):
(JSC::HashEntry::key):
(JSC::HashTable::entry):
* runtime/PropertyMapHashTable.h:
(JSC::PropertyMapEntry::PropertyMapEntry):
* runtime/PropertyNameArray.cpp:
(JSC::PropertyNameArray::add):
* runtime/PropertyNameArray.h:
(JSC::PropertyNameArray::add):
(JSC::PropertyNameArray::addKnownUnique):
* runtime/RegExp.cpp:
(JSC::RegExp::match):
* runtime/RegExpCache.cpp:
(JSC::RegExpCache::create):
* runtime/RegExpKey.h:
(JSC::RegExpKey::RegExpKey):
* runtime/SmallStrings.cpp:
(JSC::SmallStringsStorage::rep):
(JSC::SmallStrings::singleCharacterStringRep):
* runtime/SmallStrings.h:
* runtime/StringPrototype.cpp:
(JSC::jsSpliceSubstringsWithSeparators):
(JSC::stringProtoFuncMatch):
(JSC::stringProtoFuncSearch):
* runtime/Structure.cpp:
(JSC::Structure::~Structure):
(JSC::Structure::despecifyDictionaryFunction):
(JSC::Structure::addPropertyTransitionToExistingStructure):
(JSC::Structure::addPropertyTransition):
(JSC::Structure::copyPropertyTable):
(JSC::Structure::get):
(JSC::Structure::despecifyFunction):
(JSC::Structure::put):
(JSC::Structure::hasTransition):
(JSC::Structure::remove):
(JSC::Structure::checkConsistency):
* runtime/Structure.h:
(JSC::Structure::get):
(JSC::Structure::hasTransition):
* runtime/StructureTransitionTable.h:
* runtime/SymbolTable.h:
* runtime/UString.cpp:
(JSC::UString::UString):
(JSC::UString::toStrictUInt32):
(JSC::UString::substr):
* runtime/UString.h:
(JSC::UString::UString):
(JSC::UString::adopt):
(JSC::UString::data):
(JSC::UString::size):
(JSC::UString::isNull):
(JSC::UString::isEmpty):
(JSC::UString::impl):
(JSC::UString::cost):
(JSC::operator==):
(JSC::codePointCompare):
(JSC::IdentifierRepHash::hash):
(WTF::):

WebCore:

* bindings/js/JSDOMBinding.cpp:
(WebCore::findAtomicString):
* bindings/js/JSDOMBinding.h:
(WebCore::ustringToString):
(WebCore::identifierToString):
(WebCore::ustringToAtomicString):
(WebCore::identifierToAtomicString):
* bindings/js/SerializedScriptValue.h:
(WebCore::SerializedScriptValueData::SerializedScriptValueData):
* bridge/IdentifierRep.cpp:
(WebCore::IdentifierRep::get):
* bridge/c/c_class.cpp:
(JSC::Bindings::CClass::methodsNamed):
(JSC::Bindings::CClass::fieldNamed):
* bridge/jni/jsc/JavaClassJSC.cpp:
(JavaClass::JavaClass):
(JavaClass::methodsNamed):
(JavaClass::fieldNamed):
* bridge/jni/jsc/JavaStringJSC.h:
(JSC::Bindings::JavaStringImpl::~JavaStringImpl):
(JSC::Bindings::JavaStringImpl::init):
(JSC::Bindings::JavaStringImpl::UTF8String):
(JSC::Bindings::JavaStringImpl::uchars):
(JSC::Bindings::JavaStringImpl::length):
(JSC::Bindings::JavaStringImpl::uString):
* bridge/jsc/BridgeJSC.h:

WebKit/mac:

* Plugins/Hosted/ProxyInstance.mm:
(WebKit::ProxyInstance::methodsNamed):
(WebKit::ProxyInstance::fieldNamed):

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

9 years agoFix qt build break.
jianli@chromium.org [Wed, 11 Aug 2010 00:14:19 +0000 (00:14 +0000)]
Fix qt build break.

* html/BlobRegistryImpl.cpp:
* html/BlobRegistryImpl.h:
* html/BlobURL.cpp:
* html/BlobURL.h:
* platform/BlobRegistry.h:

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

9 years agoAdd the support to register the blob data.
jianli@chromium.org [Wed, 11 Aug 2010 00:03:19 +0000 (00:03 +0000)]
Add the support to register the blob data.
https://bugs.webkit.org/show_bug.cgi?id=43600

Reviewed by David Levin.

This is the first step towards adding Blob URL support. The blob has
an internal URL (used by FileReader) and public URLs (used by Blob.url).
The URL and its associated data are managed by BlobRegistry interface.

This patch does not remove the usage of BlobItem. It will be removed
when all the blob data support is hooked up and the new tests will be
added then.

* CMakeLists.txt:
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* bindings/js/SerializedScriptValue.cpp:
(WebCore::SerializedBlob::create):
(WebCore::SerializedBlob::url):
(WebCore::SerializedBlob::type):
(WebCore::SerializedBlob::size):
(WebCore::SerializedBlob::SerializedBlob):
(WebCore::SerializedFile::create):
(WebCore::SerializedFile::path):
(WebCore::SerializedFile::url):
(WebCore::SerializedFile::type):
(WebCore::SerializedFile::SerializedFile):
(WebCore::SerializedFileList::item):
(WebCore::SerializedFileList::SerializedFileList):
(WebCore::SerializedScriptValueData::SerializedScriptValueData):
(WebCore::SharedSerializedData::asBlob):
(WebCore::SharedSerializedData::asFile):
(WebCore::SerializingTreeWalker::convertIfTerminal):
(WebCore::DeserializingTreeWalker::convertIfTerminal):
(WebCore::TeardownTreeWalker::convertIfTerminal):
* bindings/js/SerializedScriptValue.h:
(WebCore::SerializedScriptValueData::):
(WebCore::SerializedScriptValueData::asString):
(WebCore::SerializedScriptValueData::asBlob):
(WebCore::SerializedScriptValueData::asFile):
* bindings/v8/SerializedScriptValue.cpp:
(WebCore::ZigZag::Writer::writeBlob):
(WebCore::ZigZag::Writer::writeFile):
(WebCore::ZigZag::Writer::writeFileList):
(WebCore::ZigZag::Writer::doWriteUintHelper):
(WebCore::ZigZag::Writer::doWriteUint32):
(WebCore::ZigZag::Writer::doWriteUint64):
(WebCore::ZigZag::Serializer::writeBlob):
(WebCore::ZigZag::Serializer::writeFile):
(WebCore::ZigZag::Reader::readBlob):
(WebCore::ZigZag::Reader::readFile):
(WebCore::ZigZag::Reader::readFileList):
(WebCore::ZigZag::Reader::doReadUintHelper):
(WebCore::ZigZag::Reader::doReadUint32):
(WebCore::ZigZag::Reader::doReadUint64):
* dom/ScriptExecutionContext.cpp:
(WebCore::ScriptExecutionContext::~ScriptExecutionContext):
(WebCore::ScriptExecutionContext::trackBlobURL):
(WebCore::ScriptExecutionContext::revokeBlobURL):
* dom/ScriptExecutionContext.h:
* html/Blob.cpp:
(WebCore::Blob::Blob):
(WebCore::Blob::~Blob):
(WebCore::Blob::createPublicURL):
* html/Blob.h:
(WebCore::Blob::create):
(WebCore::Blob::url):
* html/BlobRegistryImpl.cpp: Added.
* html/BlobRegistryImpl.h: Added.
* html/BlobStorageData.h: Added.
* html/BlobURL.cpp: Added.
* html/BlobURL.h: Added.
* html/File.cpp:
(WebCore::File::File):
* html/File.h:
(WebCore::File::create):
* platform/BlobData.cpp: Added.
* platform/BlobData.h: Added.
* platform/BlobRegistry.h: Added.

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

9 years ago2010-08-10 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 10 Aug 2010 23:52:07 +0000 (23:52 +0000)]
2010-08-10  Stephen White  <senorblanco@chromium.org>

        Unreviewed; test expectations fix.

        Rebaselines a test for win & linux, removes it from test_expectations.

        * platform/chromium-linux/fast/canvas/image-object-in-canvas-expected.checksum:
        * platform/chromium-linux/fast/canvas/image-object-in-canvas-expected.png:
        * platform/chromium-win/fast/canvas/image-object-in-canvas-expected.checksum:
        * platform/chromium-win/fast/canvas/image-object-in-canvas-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years ago2010-08-10 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Tue, 10 Aug 2010 23:46:54 +0000 (23:46 +0000)]
2010-08-10  Adam Barth  <abarth@webkit.org>

        Reviewed by Eric Seidel.

        SegmentedString should keep track of how many characters it consumes
        https://bugs.webkit.org/show_bug.cgi?id=43765

        The easiest way to keep track of how many characters we've consumed
        would be to increment a counter every time we advance, but that's too
        slow.  Instead, we keep track lazily and update our summary durning the
        slow case of advance (which is sufficiently rare).

        There's some subtly to how this works w.r.t. "unconsuming" characters
        by pushing them back on the front of the segmented string.  This isn't
        really a "right answer" here because the notion of unconsuming input
        isn't present in the API.  This patch makes some assumptions about how
        clients of this class use its API.  In a future patch, we might want to
        rename some of the method names to make this more explicit.

        * platform/text/SegmentedString.cpp:
        (WebCore::SegmentedString::operator=):
        (WebCore::SegmentedString::append):
        (WebCore::SegmentedString::prepend):
        (WebCore::SegmentedString::advanceSubstring):
        * platform/text/SegmentedString.h:
        (WebCore::SegmentedSubstring::numberOfCharactersConsumed):
        (WebCore::SegmentedString::SegmentedString):
        (WebCore::SegmentedString::numberOfCharactersConsumed):

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

9 years agoBug 43816 - Remove UStringImpl
barraclough@apple.com [Tue, 10 Aug 2010 22:32:19 +0000 (22:32 +0000)]
Bug 43816 - Remove UStringImpl
The class was actually removed a long time ago, replaced by StringImpl.
UStringImpl is just a typedef onto StringImpl.  Remove this.

JavaScriptCore:

* API/JSClassRef.cpp:
(OpaqueJSClass::OpaqueJSClass):
* JavaScriptCore.xcodeproj/project.pbxproj:
* runtime/JSString.cpp:
(JSC::JSString::resolveRope):
(JSC::JSString::replaceCharacter):
* runtime/JSString.h:
(JSC::RopeBuilder::RopeIterator::operator*):
(JSC::RopeBuilder::JSString):
(JSC::RopeBuilder::appendStringInConstruct):
(JSC::RopeBuilder::appendValueInConstructAndIncrementLength):
(JSC::jsSingleCharacterSubstring):
(JSC::jsSubstring):
* runtime/JSStringBuilder.h:
(JSC::jsMakeNontrivialString):
* runtime/RopeImpl.cpp:
(JSC::RopeImpl::derefFibersNonRecursive):
* runtime/RopeImpl.h:
(JSC::RopeImpl::deref):
* runtime/SmallStrings.cpp:
(JSC::SmallStringsStorage::SmallStringsStorage):
* runtime/StringConstructor.cpp:
(JSC::stringFromCharCodeSlowCase):
* runtime/StringPrototype.cpp:
(JSC::jsSpliceSubstringsWithSeparators):
(JSC::stringProtoFuncFontsize):
(JSC::stringProtoFuncLink):
* runtime/UString.cpp:
(JSC::initializeUString):
* runtime/UString.h:
(JSC::UString::adopt):
(JSC::tryMakeString):
(JSC::makeString):
* runtime/UStringImpl.h: Removed.

WebCore:

Rubber stamped by Sam Weinig.

* WebCore.xcodeproj/project.pbxproj:
* bindings/js/JSDOMBinding.cpp:
(WebCore::findAtomicString):

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

9 years ago2010-08-10 Dimitri Glazkov <dglazkov@chromium.org>
dglazkov@chromium.org [Tue, 10 Aug 2010 22:24:38 +0000 (22:24 +0000)]
2010-08-10  Dimitri Glazkov  <dglazkov@chromium.org>

        Reviewed by Ojan Vafai.

        [Chromium/DRT] Enable saving layout test results.
        https://bugs.webkit.org/show_bug.cgi?id=43796

        * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added more
            parameters to the new-run-webkit-tests, including the name
            of the test results server.

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

9 years ago2010-08-09 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Tue, 10 Aug 2010 22:02:26 +0000 (22:02 +0000)]
2010-08-09  Stephen White  <senorblanco@chromium.org>

        Reviewed by David Levin.

        Prefer the medium-quality (bilinear) image resampling for 2D canvas on
        Chromium.
        https://bugs.webkit.org/show_bug.cgi?id=43646

        This is what the accelerated path is going to do,
        so do it in the software path as well.

        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::createImageBuffer):
        * platform/graphics/GraphicsContext.h:
2010-08-09  Stephen White  <senorblanco@chromium.org>

        Reviewed by David Levin.

        Temporarily mark html/canvas/image-object-in-canvas.html as failing.
        https://bugs.webkit.org/show_bug.cgi?id=43646

        * platform/chromium/test_expectations.txt:

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

9 years ago2010-08-10 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 10 Aug 2010 21:50:05 +0000 (21:50 +0000)]
2010-08-10  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Roll forward Chromium DEPS to r55584
        https://bugs.webkit.org/show_bug.cgi?id=43811

        * DEPS:

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

9 years agoRemoving an element from an anonymous block causes crash
cfleizach@apple.com [Tue, 10 Aug 2010 21:35:27 +0000 (21:35 +0000)]
Removing an element from an anonymous block causes crash
https://bugs.webkit.org/show_bug.cgi?id=42309

Reviewed by Dave Hyatt.

WebCore:

There was a case where a continuation was added as a child, but if you asked
that child who is your parent, it would return the wrong answer.

The specific scenario was when a sibling of an element who was the start of a
continuation was present. Retrieving the parent object had then follow the sibling
chain and then follow the originating continuation chain.

Test: accessibility/removed-anonymous-block-child-causes-crash.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::nextSibling):
    Fix erroneous comment
(WebCore::nextContinuation):
(WebCore::AccessibilityRenderObject::renderParentObject):
    Handle unhandled continuation case.
(WebCore::AccessibilityRenderObject::addChildren):
    ASSERT that the parentObject() is the same when adding a new child.

LayoutTests:

* accessibility/removed-anonymous-block-child-causes-crash-expected.txt: Added.
* accessibility/removed-anonymous-block-child-causes-crash.html: Added.

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

9 years ago2010-08-10 Kavita Kanetkar <kkanetkar@chromium.org>
commit-queue@webkit.org [Tue, 10 Aug 2010 21:35:10 +0000 (21:35 +0000)]
2010-08-10  Kavita Kanetkar  <kkanetkar@chromium.org>

        Reviewed by Joseph Pecoraro.

        Web Inspector: Support appcache status change for Chrome
        https://bugs.webkit.org/show_bug.cgi?id=43531

        * src/ApplicationCacheHost.cpp:
        (WebCore::ApplicationCacheHost::notifyDOMApplicationCache):

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

9 years ago2010-08-10 Kenneth Russell <kbr@google.com>
kbr@google.com [Tue, 10 Aug 2010 21:27:18 +0000 (21:27 +0000)]
2010-08-10  Kenneth Russell  <kbr@google.com>

        Reviewed by Dimitri Glazkov.

        Use Chromium OpenGL bindings rather than GLEW in WebGraphicsContextDefaultImpl
        https://bugs.webkit.org/show_bug.cgi?id=43754

        Deleted per-platform OpenGL context management code, now
        abstracted via GLContext. Built and tested in Chromium with
        --in-process-webgl flag.

        * WebKit.gyp:
        * src/GraphicsContext3D.cpp:
        * src/WebGraphicsContext3DDefaultImpl.cpp:
        (WebKit::WebGraphicsContext3DDefaultImpl::WebGraphicsContext3DDefaultImpl):
        (WebKit::WebGraphicsContext3DDefaultImpl::~WebGraphicsContext3DDefaultImpl):
        (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
        (WebKit::WebGraphicsContext3DDefaultImpl::validateAttributes):
        (WebKit::WebGraphicsContext3DDefaultImpl::makeContextCurrent):
        (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
        (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
        (WebKit::WebGraphicsContext3DDefaultImpl::copyTexImage2D):
        (WebKit::WebGraphicsContext3DDefaultImpl::copyTexSubImage2D):
        (WebKit::WebGraphicsContext3DDefaultImpl::readPixels):
        (WebKit::WebGraphicsContext3DDefaultImpl::createBuffer):
        (WebKit::WebGraphicsContext3DDefaultImpl::deleteBuffer):
        * src/WebGraphicsContext3DDefaultImpl.h:

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

9 years agoMore chromium build fix.
jianli@chromium.org [Tue, 10 Aug 2010 20:56:57 +0000 (20:56 +0000)]
More chromium build fix.

* DumpRenderTree/chromium/MockSpellCheck.cpp:
(MockSpellCheck::spellCheckWord):
(MockSpellCheck::initializeIfNeeded):
* DumpRenderTree/chromium/NotificationPresenter.cpp:
(NotificationPresenter::grantPermission):
(NotificationPresenter::show):
(NotificationPresenter::checkPermission):

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

9 years ago2010-08-10 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Tue, 10 Aug 2010 20:47:08 +0000 (20:47 +0000)]
2010-08-10  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Eric Seidel.

        Make FastMalloc more portable.
        https://bugs.webkit.org/show_bug.cgi?id=41790

        * wtf/FastMalloc.cpp:
        (WTF::TCMalloc_Central_FreeList::Populate):
        (WTF::TCMalloc_ThreadCache::CreateCacheIfNecessary):

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

9 years ago2010-08-10 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Tue, 10 Aug 2010 20:46:43 +0000 (20:46 +0000)]
2010-08-10  Abhishek Arya  <inferno@chromium.org>

        Reviewed by David Hyatt.

        Take checks for ruby base existence out of the ASSERTs.
        https://bugs.webkit.org/show_bug.cgi?id=43795

        Test: fast/ruby/ruby-remove-no-base.html

        * rendering/RenderRubyRun.cpp:
        (WebCore::RenderRubyRun::addChild):
        (WebCore::RenderRubyRun::removeChild):
2010-08-10  Abhishek Arya  <inferno@chromium.org>

        Reviewed by David Hyatt.

        Tests that removing a ruby child which causes merging of ruby base withe
        a non existant base of the right sibling run does not result in crash.
        https://bugs.webkit.org/show_bug.cgi?id=43795

        * fast/ruby/ruby-remove-no-base-expected.txt: Added.
        * fast/ruby/ruby-remove-no-base.html: Added.

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

9 years ago2010-08-06 Zhenyao Mo <zmo@google.com>
zmo@google.com [Tue, 10 Aug 2010 20:44:54 +0000 (20:44 +0000)]
2010-08-06  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        texture functions should gen INVALID_OPERATION if no texture is bound
        https://bugs.webkit.org/show_bug.cgi?id=42907

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::copyTexImage2D): Check if a texture is bound to target.
        (WebCore::WebGLRenderingContext::copyTexSubImage2D): Ditto.
        (WebCore::WebGLRenderingContext::generateMipmap): Ditto.
        (WebCore::WebGLRenderingContext::getTexParameter): Ditto.
        (WebCore::WebGLRenderingContext::texImage2DBase): Ditto.
        (WebCore::WebGLRenderingContext::texParameter): Ditto.
        (WebCore::WebGLRenderingContext::texSubImage2DBase): Ditto.
        (WebCore::WebGLRenderingContext::validateTextureBinding): Check if target is valid and if a texture is bound to it.
        * html/canvas/WebGLRenderingContext.h: Declare validateTextureBinding().
2010-08-06  Zhenyao Mo  <zmo@google.com>

        Reviewed by Dimitri Glazkov.

        texture functions should gen INVALID_OPERATION if no texture is bound
        https://bugs.webkit.org/show_bug.cgi?id=42907

        * fast/canvas/webgl/gl-enum-tests-expected.txt: Need to bind a texture before testing tex-functions.
        * fast/canvas/webgl/gl-enum-tests.html: Ditto.
        * fast/canvas/webgl/null-object-behaviour-expected.txt: Test tex-functions when no texture is bound.
        * fast/canvas/webgl/null-object-behaviour.html: Ditto.

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

9 years agoChromium build fix.
jianli@chromium.org [Tue, 10 Aug 2010 20:38:30 +0000 (20:38 +0000)]
Chromium build fix.

* DumpRenderTree/chromium/MockSpellCheck.cpp:
* DumpRenderTree/chromium/NotificationPresenter.cpp:

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

9 years ago2010-08-10 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Tue, 10 Aug 2010 20:29:58 +0000 (20:29 +0000)]
2010-08-10  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by Sam Weinig.

        [WINCE] Implement Path::currentPoint()
        https://bugs.webkit.org/show_bug.cgi?id=42927

        * platform/graphics/wince/PathWince.cpp:
        (WebCore::Path::currentPoint):

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

9 years ago2010-08-10 Ariya Hidayat <ariya@sencha.com>
ariya@webkit.org [Tue, 10 Aug 2010 20:13:06 +0000 (20:13 +0000)]
2010-08-10  Ariya Hidayat  <ariya@sencha.com>

        [Qt] Warning fix, remove reference to platform/text/StringImpl.h

        * WebCore.pro:

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

9 years agoAnother chromium build fix.
jianli@chromium.org [Tue, 10 Aug 2010 19:59:16 +0000 (19:59 +0000)]
Another chromium build fix.

* src/AssertMatchingEnums.cpp:

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

9 years agoChromium build fix attempt. not reviewed
alice.liu@apple.com [Tue, 10 Aug 2010 19:52:00 +0000 (19:52 +0000)]
Chromium build fix attempt.  not reviewed

* platform/text/TextBoundaries.cpp: use correct stringimplh include

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

9 years agoChromium build fix.
jianli@chromium.org [Tue, 10 Aug 2010 19:06:21 +0000 (19:06 +0000)]
Chromium build fix.

* platform/graphics/chromium/FontPlatformDataChromiumWin.h:
* platform/graphics/chromium/FontPlatformDataLinux.cpp:

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

9 years ago2010-08-10 Johnny Ding <jnd@chromium.org>
abarth@webkit.org [Tue, 10 Aug 2010 18:57:01 +0000 (18:57 +0000)]
2010-08-10  Johnny Ding  <jnd@chromium.org>

        Reviewed by Adam Barth.

        Change the ScriptController::processingUserGesture to static method
        and use dynamic(JSC binding)/entered(V8 binding) frame to check the user gesture.
        https://bugs.webkit.org/show_bug.cgi?id=42827.

        Test: fast/events/popup-blocked-from-iframe-script.html

        * WebCore.order:
        * bindings/js/JSDOMBinding.cpp:
        (WebCore::processingUserGesture):
        * bindings/js/JSDOMBinding.h:
        * bindings/js/JSDOMWindowCustom.cpp:
        (WebCore::JSDOMWindow::setLocation):
        (WebCore::createWindow):
        (WebCore::domWindowAllowPopUp):
        (WebCore::JSDOMWindow::open):
        (WebCore::JSDOMWindow::showModalDialog):
        * bindings/js/JSDocumentCustom.cpp:
        (WebCore::JSDocument::setLocation):
        * bindings/js/JSLocationCustom.cpp:
        (WebCore::navigateIfAllowed):
        (WebCore::JSLocation::reload):
        * bindings/js/ScriptController.cpp:
        (WebCore::ScriptController::processingUserGesture):
        * bindings/js/ScriptController.h:
        * bindings/scripts/CodeGeneratorJS.pm:
        * bindings/scripts/test/JS/JSTestObj.cpp:
        (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGesture):
        (WebCore::jsTestObjPrototypeFunctionWithDynamicFrameAndUserGestureASAD):
        * bindings/v8/ScriptController.cpp:
        (WebCore::ScriptController::processingUserGesture):
        (WebCore::ScriptController::anyPageIsProcessingUserGesture):
        * bindings/v8/ScriptController.h:
        * bindings/v8/specialization/V8BindingState.cpp:
        (WebCore::::processingUserGesture):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::isProcessingUserGesture):
2010-08-10  Johnny Ding  <jnd@chromium.org>

        Reviewed by Adam Barth.

        Change the ScriptController::processingUserGesture to static method
        and use dynamic(JSC binding)/entered(V8 binding) frame to check the user gesture.
        https://bugs.webkit.org/show_bug.cgi?id=42827

        * fast/events/popup-blocked-from-iframe-script-expected.txt: Added.
        * fast/events/popup-blocked-from-iframe-script.html: Added.

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

9 years ago2010-08-10 Patrick Gansterer <paroga@paroga.com>
commit-queue@webkit.org [Tue, 10 Aug 2010 18:50:41 +0000 (18:50 +0000)]
2010-08-10  Patrick Gansterer  <paroga@paroga.com>

        Reviewed by David Levin.

        [WINCE] Buildfix for CE 6.0
        https://bugs.webkit.org/show_bug.cgi?id=43027

        CE 6.0 doesn't define localtime in the system include files.

        * wtf/Platform.h: Include ce_time.h on all OS(WINCE).

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

9 years ago2010-08-10 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Tue, 10 Aug 2010 18:39:21 +0000 (18:39 +0000)]
2010-08-10  Victor Wang  <victorw@chromium.org>

        Reviewed by Ojan Vafai.

        Update test results server merge logic so the aggregated
        results and times are updated for tests that are
        in aggragated json but not in incremental json.

        Also update unittest to test this case.

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

        * TestResultServer/model/jsonresults.py:
        * TestResultServer/model/jsonresults_unittest.py:

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

9 years agoChromium build fix
barraclough@apple.com [Tue, 10 Aug 2010 18:22:19 +0000 (18:22 +0000)]
Chromium build fix

* platform/graphics/chromium/FontPlatformDataLinux.h:

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

9 years agoUnreviewed.
rniwa@webkit.org [Tue, 10 Aug 2010 18:22:03 +0000 (18:22 +0000)]
Unreviewed.

Skipping editing/selection/selection-modify-crash.html (added by r65061) on gtk
because it has been crashing on gtk since r65061 and it doesn't crash on other platforms.

* platform/gtk/Skipped:

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

9 years agoBug 43786 - Move AtomicStringHash from WebCore to WTF
barraclough@apple.com [Tue, 10 Aug 2010 17:45:41 +0000 (17:45 +0000)]
Bug 43786 - Move AtomicStringHash from WebCore to WTF
Also remove deprecated string headers from WebCore/platform/text.

Rubber stamped by Sam Weinig.

JavaScriptCore:

* GNUmakefile.am:
* JavaScriptCore.gypi:
* JavaScriptCore.vcproj/WTF/WTF.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* wtf/text/AtomicString.h:
* wtf/text/AtomicStringHash.h: Copied from WebCore/platform/text/AtomicStringHash.h.

WebCore:

* ForwardingHeaders/wtf/text/AtomicStringHash.h: Added.
* GNUmakefile.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* accessibility/gtk/AccessibilityObjectWrapperAtk.cpp:
* bindings/cpp/WebDOMHTMLCollectionCustom.cpp:
* bindings/js/JSCSSStyleDeclarationCustom.cpp:
* bindings/js/JSClipboardCustom.cpp:
* bindings/js/JSDOMApplicationCacheCustom.cpp:
* bindings/js/JSDOMMimeTypeArrayCustom.cpp:
* bindings/js/JSDOMPluginArrayCustom.cpp:
* bindings/js/JSDOMPluginCustom.cpp:
* bindings/js/JSDOMStringMapCustom.cpp:
* bindings/js/JSDOMWindowCustom.cpp:
* bindings/js/JSDataGridColumnListCustom.cpp:
* bindings/js/JSHTMLAllCollectionCustom.cpp:
* bindings/js/JSHTMLCollectionCustom.cpp:
* bindings/js/JSMessagePortCustom.cpp:
* bindings/js/JSNodeListCustom.cpp:
* bindings/scripts/CodeGeneratorCPP.pm:
* bindings/scripts/CodeGeneratorJS.pm:
* bindings/scripts/CodeGeneratorV8.pm:
* bindings/scripts/test/CPP/WebDOMTestCallback.cpp:
* bindings/scripts/test/CPP/WebDOMTestObj.cpp:
* bindings/scripts/test/V8/V8TestInterface.h:
* bindings/scripts/test/V8/V8TestObj.h:
* bindings/v8/ScriptDebugServer.h:
* bindings/v8/V8Binding.cpp:
* bindings/v8/V8Binding.h:
* bridge/jni/v8/JavaClassV8.h:
* css/CSSFontFaceSource.h:
* css/CSSFontSelector.cpp:
* css/CSSFontSelector.h:
* css/CSSNamespace.h:
* css/CSSParser.cpp:
* css/CSSParser.h:
* css/CSSParserValues.h:
* css/CSSStyleSelector.h:
* css/CSSVariablesDeclaration.h:
* css/MediaFeatureNames.h:
* css/MediaQueryExp.h:
* css/WebKitCSSKeyframesRule.h:
* dom/CustomEvent.h:
* dom/Document.cpp:
* dom/Event.cpp:
* dom/Event.h:
* dom/EventNames.h:
* dom/EventTarget.h:
* dom/InputElement.h:
* dom/MessagePort.cpp:
* dom/MessagePort.h:
* dom/NameNodeList.h:
* dom/NodeRareData.h:
* dom/QualifiedName.h:
* dom/ScriptElement.cpp:
* dom/SpaceSplitString.h:
* dom/TagNodeList.h:
* dom/XMLDocumentParser.h:
* editing/EditorCommand.cpp:
* history/mac/HistoryItemMac.mm:
* html/BlobBuilder.cpp:
* html/DataGridColumn.h:
* html/DataGridColumnList.cpp:
* html/HTMLDocument.h:
* html/HTMLInputElement.cpp:
* html/HTMLTokenizer.cpp:
* html/HTMLTokenizer.h:
* html/LegacyPreloadScanner.cpp:
* html/LegacyPreloadScanner.h:
* inspector/InspectorCSSStore.h:
* inspector/InspectorController.h:
* inspector/InspectorDOMAgent.cpp:
* inspector/InspectorDOMAgent.h:
* inspector/InspectorDebuggerAgent.h:
* inspector/InspectorValues.h:
* loader/Cache.h:
* loader/CrossOriginAccessControl.cpp:
* loader/CrossOriginPreflightResultCache.h:
* loader/DocLoader.h:
* loader/ImageLoader.h:
* loader/appcache/ApplicationCache.h:
* loader/appcache/ApplicationCacheStorage.h:
* loader/appcache/DOMApplicationCache.h:
* loader/icon/IconDatabase.h:
* loader/icon/IconRecord.h:
* loader/loader.h:
* notifications/Notification.h:
* page/FrameTree.h:
* page/Page.cpp:
* page/PageGroup.h:
* page/SecurityOrigin.h:
* page/Settings.h:
* page/WindowFeatures.cpp:
* page/animation/AnimationBase.h:
* page/animation/AnimationControllerPrivate.h:
* page/animation/CompositeAnimation.h:
* platform/Cookie.h:
* platform/KURL.cpp:
* platform/KURLGoogle.cpp:
* platform/KURLHash.h:
* platform/Length.cpp:
* platform/LinkHash.cpp:
* platform/LinkHash.h:
* platform/MIMETypeRegistry.cpp:
* platform/MIMETypeRegistry.h:
* platform/SchemeRegistry.h:
* platform/ThreadGlobalData.cpp:
* platform/ThreadGlobalData.h:
* platform/cf/BinaryPropertyList.cpp:
* platform/chromium/SearchPopupMenuChromium.cpp:
* platform/efl/ClipboardEfl.cpp:
* platform/efl/CookieJarEfl.cpp:
* platform/efl/PlatformKeyboardEventEfl.cpp:
* platform/graphics/FontCache.cpp:
* platform/graphics/FontFamily.h:
* platform/graphics/MediaPlayer.h:
* platform/graphics/cg/ImageSourceCGWin.cpp:
* platform/graphics/chromium/FontCacheChromiumWin.cpp:
* platform/graphics/chromium/FontCacheLinux.cpp:
* platform/graphics/chromium/FontUtilsChromiumWin.cpp:
* platform/graphics/chromium/LayerChromium.h:
* platform/graphics/filters/Filter.h:
* platform/graphics/mac/FontPlatformData.h:
* platform/graphics/mac/GraphicsLayerCA.h:
* platform/graphics/qt/FontCacheQt.cpp:
* platform/graphics/win/FontCacheWin.cpp:
* platform/graphics/win/FontPlatformDataCGWin.cpp:
* platform/graphics/win/FontPlatformDataCairoWin.cpp:
* platform/graphics/win/FontPlatformDataWin.cpp:
* platform/graphics/win/MediaPlayerPrivateQuickTimeVisualContext.cpp:
* platform/graphics/win/MediaPlayerPrivateQuickTimeWin.cpp:
* platform/graphics/win/WKCACFLayer.h:
* platform/graphics/wince/FontPlatformData.cpp:
* platform/graphics/wx/FontPlatformData.h:
* platform/gtk/ClipboardGtk.cpp:
* platform/gtk/DataObjectGtk.h:
* platform/haiku/ClipboardHaiku.cpp:
* platform/haiku/CookieJarHaiku.cpp:
* platform/haiku/SearchPopupMenuHaiku.cpp:
* platform/mac/SearchPopupMenuMac.mm:
* platform/mac/ThreadCheck.mm:
* platform/network/CredentialStorage.cpp:
* platform/network/HTTPHeaderMap.h:
* platform/network/cf/DNSCFNet.cpp:
* platform/network/curl/CookieJarCurl.cpp:
* platform/qt/ClipboardQt.cpp:
* platform/text/AtomicString.h: Removed.
* platform/text/AtomicStringHash.h: Removed.
* platform/text/AtomicStringImpl.h: Removed.
* platform/text/AtomicStringKeyedMRUCache.h:
* platform/text/StringBuilder.cpp:
* platform/text/StringHash.h: Removed.
* platform/text/StringImpl.h: Removed.
* platform/text/TextCodecLatin1.cpp:
* platform/text/TextCodecUTF16.cpp:
* platform/text/TextCodecUserDefined.cpp:
* platform/text/cf/HyphenationCF.cpp:
* platform/text/cf/StringImplCF.cpp:
* platform/text/mac/HyphenationMac.mm:
* platform/text/mac/StringImplMac.mm:
* platform/text/transcoder/FontTranscoder.h:
* platform/text/wince/TextCodecWinCE.cpp:
* platform/win/BString.cpp:
* platform/win/ClipboardWin.cpp:
* platform/win/SearchPopupMenuWin.cpp:
* platform/wince/SearchPopupMenuWince.cpp:
* platform/wx/ClipboardWx.cpp:
* plugins/DOMMimeTypeArray.cpp:
* plugins/DOMPlugin.cpp:
* plugins/DOMPluginArray.cpp:
* plugins/PluginDatabase.h:
* plugins/PluginPackage.h:
* plugins/PluginStream.h:
* rendering/RenderApplet.h:
* rendering/RenderText.cpp:
* rendering/style/BindingURI.h:
* rendering/style/ContentData.cpp:
* rendering/style/CounterContent.h:
* rendering/style/CounterDirectives.h:
* rendering/style/KeyframeList.h:
* rendering/style/StyleRareInheritedData.h:
* storage/AbstractDatabase.cpp:
* storage/DatabaseAuthorizer.h:
* storage/DatabaseTracker.h:
* storage/IDBDatabaseBackendImpl.h:
* storage/IDBFactoryBackendImpl.h:
* storage/IDBObjectStoreBackendImpl.h:
* storage/OriginQuotaManager.h:
* storage/OriginUsageRecord.h:
* storage/SQLTransactionCoordinator.h:
* storage/StorageAreaSync.h:
* storage/StorageMap.h:
* storage/StorageNamespaceImpl.cpp:
* storage/chromium/QuotaTracker.h:
* svg/SVGAltGlyphElement.h:
* svg/SVGDocumentExtensions.cpp:
* svg/SVGDocumentExtensions.h:
* svg/SVGFitToViewBox.cpp:
* svg/SVGLangSpace.h:
* svg/animation/SMILTimeContainer.h:
* svg/graphics/filters/SVGFilterBuilder.h:
* websockets/WebSocket.h:
* websockets/WebSocketChannel.cpp:
* websockets/WebSocketHandshake.cpp:
* websockets/WebSocketHandshakeResponse.cpp:
* wml/WMLPageState.h:
* workers/AbstractWorker.h:
* workers/DefaultSharedWorkerRepository.h:
* workers/Worker.h:
* workers/WorkerContext.h:
* xml/XMLHttpRequest.h:
* xml/XMLHttpRequestUpload.cpp:
* xml/XMLHttpRequestUpload.h:
* xml/XPathExpressionNode.h:
* xml/XPathNamespace.h:
* xml/XPathParser.cpp:
* xml/XSLTProcessor.h:

WebKit/chromium:

* src/WebKit.cpp:
* src/WebPageSerializerImpl.h:
* src/WebString.cpp:

WebKit/gtk:

* gdom/ConvertToGCharPrivate.h:

WebKit/wx:

* WebEdit.cpp:

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

9 years ago2010-08-10 James Robinson <jamesr@chromium.org>
jamesr@google.com [Tue, 10 Aug 2010 17:34:07 +0000 (17:34 +0000)]
2010-08-10  James Robinson  <jamesr@chromium.org>

        Reviewed by Dimitri Glazkov.

        [chromium] Feature defines are out of sync between features.gypi and downstream feature_overrides.gypi
        https://bugs.webkit.org/show_bug.cgi?id=43756

        This synchronizes the feature defines to what's currently downstream (at r55468).
        The difference between the build.webkit.org bots and the chromium bots has
        caused strange compilation failures lately.

        * features.gypi:

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

9 years ago2010-08-10 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 10 Aug 2010 16:50:41 +0000 (16:50 +0000)]
2010-08-10  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Adding changes that escaped from r65072.

        Web Inspector: move database processing to native layer.
        https://bugs.webkit.org/show_bug.cgi?id=43788

        * inspector/front-end/InspectorBackendStub.js:
        (WebInspector.InspectorBackendStub):
        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel.prototype._genericViewSetup):

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

9 years ago2010-08-10 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
kov@webkit.org [Tue, 10 Aug 2010 16:43:37 +0000 (16:43 +0000)]
2010-08-10  Gustavo Noronha Silva  <gustavo.noronha@collabora.co.uk>

        Reviewed by Xan Lopez.

        [GTK] Inputs of type 'search' have weird looking checkboxes instead of search/clear icons
        https://bugs.webkit.org/show_bug.cgi?id=43760

        Draw appropriate GTK+ stock images for search/clear icons in search entries.

        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::paintSearchFieldResultsButton):
        (WebCore::RenderThemeGtk::paintSearchFieldResultsDecoration):
        (WebCore::RenderThemeGtk::paintSearchFieldCancelButton):

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

9 years ago2010-08-10 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 10 Aug 2010 16:31:22 +0000 (16:31 +0000)]
2010-08-10  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Qt build fix, follow up for r65072.

        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::releaseFrontendLifetimeAgents):

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

9 years ago2010-08-10 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 10 Aug 2010 16:06:38 +0000 (16:06 +0000)]
2010-08-10  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: move database processing to native layer.

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

        * English.lproj/localizedStrings.js:
        * WebCore.gypi:
        * bindings/js/JSInjectedScriptHostCustom.cpp:
        * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
        * inspector/CodeGeneratorInspector.pm:
        * inspector/InjectedScript.cpp:
        (WebCore::InjectedScript::dispatch):
        * inspector/InjectedScript.h:
        * inspector/InjectedScriptHost.cpp:
        * inspector/InjectedScriptHost.h:
        * inspector/InjectedScriptHost.idl:
        * inspector/Inspector.idl:
        * inspector/InspectorBackend.cpp:
        (WebCore::InspectorBackend::dispatchOnInjectedScript):
        (WebCore::InspectorBackend::executeSQL):
        * inspector/InspectorBackend.h:
        * inspector/InspectorController.cpp:
        (WebCore::InspectorController::connectFrontend):
        (WebCore::InspectorController::releaseFrontendLifetimeAgents):
        * inspector/InspectorController.h:
        * inspector/InspectorDebuggerAgent.h:
        * inspector/InspectorStorageAgent.cpp: Added.
        (WebCore::):
        (WebCore::InspectorStorageAgent::InspectorStorageAgent):
        (WebCore::InspectorStorageAgent::~InspectorStorageAgent):
        (WebCore::InspectorStorageAgent::executeSQL):
        (WebCore::InspectorStorageAgent::clearFrontend):
        * inspector/InspectorStorageAgent.h: Added.
        (WebCore::InspectorStorageAgent::create):
        (WebCore::InspectorStorageAgent::frontend):
        * inspector/front-end/Database.js:
        (WebInspector.Database.prototype.executeSql):
        (WebInspector.sqlTransactionSucceeded):
        (WebInspector.sqlTransactionFailed):
        * inspector/front-end/DatabaseQueryView.js:
        (WebInspector.DatabaseQueryView.prototype._queryFinished):
        (WebInspector.DatabaseQueryView.prototype._queryError):
        * inspector/front-end/DatabaseTableView.js:
        (WebInspector.DatabaseTableView.prototype._queryFinished):
        * inspector/front-end/InjectedScript.js:
        * inspector/front-end/InjectedScriptAccess.js:
        (InjectedScriptAccess._installHandler.InjectedScriptAccess.prototype.methodName):
        (InjectedScriptAccess._installHandler):
        * inspector/front-end/StoragePanel.js:
        (WebInspector.StoragePanel.prototype.dataGridForResult):

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

9 years ago2010-08-10 Steve Block <steveblock@google.com>
steveblock@google.com [Tue, 10 Aug 2010 14:14:13 +0000 (14:14 +0000)]
2010-08-10  Steve Block  <steveblock@google.com>

        Reviewed by Jeremy Orlow.

        [V8] DeviceMotionEvent can not be used from JavaScript
        https://bugs.webkit.org/show_bug.cgi?id=43785

        This is tested by the existing tests fast/dom/DeviceMotion/create-event.html
        and fast/dom/DeviceMotion/optional-event-properties.html.

        * bindings/v8/custom/V8EventCustom.cpp:
        (WebCore::toV8):

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

9 years ago2010-08-10 Balazs Kelemen <kb@inf.u-szeged.hu>
abecsi@webkit.org [Tue, 10 Aug 2010 13:52:00 +0000 (13:52 +0000)]
2010-08-10  Balazs Kelemen  <kb@inf.u-szeged.hu>

        Reviewed by Antonio Gomes.

        [Qt] Build WebKit2 into a static lib

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

        Just build changes so no new tests.

        * WebCore.pri: Moved feature detection logic into features.pri since we need this in WebKit2.pro as well.
        * WebCore.pro: Moved the specification of the WebKit2 build to WebKit2.pro. Link against the static lib.
        * features.pri: Added.
2010-08-10  Balazs Kelemen  <kb@inf.u-szeged.hu>

        Reviewed by Antonio Gomes.

        [Qt] Build WebKit2 into a static lib

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

        * WebKit.pro: Moved WebKit2 into the subdirs before WebCore since WebCore links against the WebKit2 lib.
2010-08-10  Balazs Kelemen  <kb@inf.u-szeged.hu>

        Reviewed by Antonio Gomes.

        [Qt] Build WebKit2 into a static lib

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

        * WebKit2.pri: Added. Defined addWebKit2Lib function that defines how to link against the static lib.
        * WebKit2.pro:  Build specification for the WebKit2 framework.
        * WebProcess.pro: Copied from WebKit2/WebKit2.pro. Build specification for the WebProcess binary.

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

9 years ago2010-08-10 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Tue, 10 Aug 2010 13:23:00 +0000 (13:23 +0000)]
2010-08-10  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: get rid of utility context
        https://bugs.webkit.org/show_bug.cgi?id=43787

        * public/WebDevToolsAgentClient.h:
        * src/DebuggerAgentImpl.cpp:
        * src/DebuggerAgentImpl.h:
        * src/WebDevToolsAgentImpl.cpp:
        (WebKit::):
        (WebKit::WebDevToolsAgentImpl::~WebDevToolsAgentImpl):
        (WebKit::WebDevToolsAgentImpl::attach):
        (WebKit::WebDevToolsAgentImpl::detach):
        (WebKit::WebDevToolsAgentImpl::frontendLoaded):
        (WebKit::WebDevToolsAgentImpl::setRuntimeFeatureEnabled):
        (WebKit::WebDevToolsAgentImpl::setApuAgentEnabled):
        * src/WebDevToolsAgentImpl.h:

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