WebKit-https.git
10 years ago2011-04-18 Maciej Stachowiak <mjs@apple.com>
mjs@apple.com [Mon, 18 Apr 2011 22:32:39 +0000 (22:32 +0000)]
2011-04-18  Maciej Stachowiak  <mjs@apple.com>

        Reviewed by Dan Bernstein.

        sandbox violation for ~/Library/Dictionaries
        https://bugs.webkit.org/show_bug.cgi?id=58841
        <rdar://problem/9294770>

        * WebProcess/com.apple.WebProcess.sb: Add to sandbox profile.
        No obvious harm from allowing this, though it's not 100% clear
        why it's needed.

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

10 years agoREGRESSION (r84094): Many tests failing assertions in WebCore::localizedString on...
jberlin@webkit.org [Mon, 18 Apr 2011 22:28:58 +0000 (22:28 +0000)]
REGRESSION (r84094): Many tests failing assertions in WebCore::localizedString on Windows.
https://bugs.webkit.org/show_bug.cgi?id=58747

Rubber-stamped by Sam Weinig.

Copy the WebCore Localizable.strings file into the output directory.

* WebCore.vcproj/WebCoreGenerated.vcproj:
* WebCore.vcproj/WebCoreGeneratedCairo.vsprops:
* WebCore.vcproj/WebCoreGeneratedCommon.vsprops:
* WebCore.vcproj/copyInspectorFiles.cmd: Removed.
* WebCore.vcproj/copyWebCoreResourceFiles.cmd: Copied from Source/WebCore/WebCore.vcproj/copyInspectorFiles.cmd.

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

10 years agoReviewed by Timothy Hatcher.
cwzwarich@webkit.org [Mon, 18 Apr 2011 22:20:03 +0000 (22:20 +0000)]
Reviewed by Timothy Hatcher.

Stop using -[NSString initWithContentsOfFile:]
https://bugs.webkit.org/show_bug.cgi?id=58763

-[NSString initWithContentsOfFile:] was deprecated in 10.4, so we should stop using it.

* WebView/WebView.mm:
(leakMailQuirksUserScriptContents):
(leakOutlookQuirksUserScriptContents):

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

10 years ago2011-04-18 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Mon, 18 Apr 2011 22:16:45 +0000 (22:16 +0000)]
2011-04-18  Oliver Hunt  <oliver@apple.com>

        Reviewed by Adam Roben.

        Off by one initialising repeat callframe
        https://bugs.webkit.org/show_bug.cgi?id=58838
        <rdar://problem/8756810>

        If the end of a callframe made for a repeat call landed on
        a page boundary the following page may not have been committed
        which means that the off by one could lead to a crash.  However
        it could only happen in this case and only on windows which is
        why it was so hard to repro.  Alas given the steps needed to
        reproduce are such that it's not really possible to make a
        testcase.

        This fix makes the code a little less squirrely by not trying
        to avoid the unnecessary initialisation of |this|.

        * interpreter/Interpreter.cpp:
        (JSC::Interpreter::prepareForRepeatCall):

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

10 years ago2011-04-18 Yi Shen <yi.4.shen@nokia.com>
yi.4.shen@nokia.com [Mon, 18 Apr 2011 21:56:21 +0000 (21:56 +0000)]
2011-04-18  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt][Symbian] Fix Api test failure -- tst_QWebFrame::inputFieldFocus
        https://bugs.webkit.org/show_bug.cgi?id=57546

        Disable the fullscreen VKB when testing inputFieldFocus().

        * tests/qwebframe/tst_qwebframe.cpp:

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

10 years ago2011-04-18 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 18 Apr 2011 21:51:21 +0000 (21:51 +0000)]
2011-04-18  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        add a zoomed view for pixel results to the new results html file
        https://bugs.webkit.org/show_bug.cgi?id=58827

        * Scripts/webkitpy/layout_tests/layout_package/json_results.html:

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

10 years ago2011-04-18 Robert Hogan <robert@webkit.org>
robert@webkit.org [Mon, 18 Apr 2011 21:48:44 +0000 (21:48 +0000)]
2011-04-18  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] PluginViewQt needs to update geometry of plugin widget before scheduling a repaint

        When scheduling a repaint for the plugin's widget, PluginViewQt
        needs to make sure the widget's geometry is up to date. Otherwise
        the paint event happens on the widget's old location.

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

        Added a manual test.

        * manual-tests/qt/plugin-painting.html: Added.
        * plugins/qt/PluginViewQt.cpp:
        (WebCore::PluginView::updatePluginWidget):
        (WebCore::PluginView::invalidateRect):

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

10 years agoFix Qt build
oliver@apple.com [Mon, 18 Apr 2011 21:44:29 +0000 (21:44 +0000)]
Fix Qt build

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

10 years agoBug 58829 - DFG JIT - Optimize add/sub immediate, multiply.
barraclough@apple.com [Mon, 18 Apr 2011 21:31:52 +0000 (21:31 +0000)]
Bug 58829 - DFG JIT - Optimize add/sub immediate, multiply.

Reviewed by Geoff Garen.

Add code generation for add/subtract instruction with immediate operands
(where a child is a constant), and don't bail to non-speculative if an
integer multiple results in a +0 result (only if it should be generating -0).

* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculativeJIT::isDoubleConstantWithInt32Value):

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

10 years agoTry to fix the Windows build.
andersca@apple.com [Mon, 18 Apr 2011 21:21:04 +0000 (21:21 +0000)]
Try to fix the Windows build.

* Scripts/webkit2/messages.py:

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

10 years ago2011-04-18 Chang Shu <cshu@webkit.org>
chang.shu@nokia.com [Mon, 18 Apr 2011 21:20:24 +0000 (21:20 +0000)]
2011-04-18  Chang Shu  <cshu@webkit.org>

        Unreviewed.

        Skip failed test due to r84160.

        * platform/win-wk2/Skipped:

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

10 years agoBug 58817 - DFG JIT - if speculative compilation fails, throw away code.
barraclough@apple.com [Mon, 18 Apr 2011 21:08:28 +0000 (21:08 +0000)]
Bug 58817 - DFG JIT - if speculative compilation fails, throw away code.

Reviewed by Geoff Garen.

If we detect a logical conflict, throw away generated code,
and only compile through the NonSpeculativeJIT.

* assembler/AbstractMacroAssembler.h:
(JSC::AbstractMacroAssembler::rewindToLabel):
* assembler/AssemblerBuffer.h:
(JSC::AssemblerBuffer::rewindToOffset):
* assembler/MacroAssemblerX86Common.h:
(JSC::MacroAssemblerX86Common::branchAdd32):
(JSC::MacroAssemblerX86Common::branchSub32):
* assembler/X86Assembler.h:
(JSC::X86Assembler::rewindToLabel):
(JSC::X86Assembler::X86InstructionFormatter::rewindToLabel):
* dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::linkSpeculationChecks):
(JSC::DFG::JITCompiler::compileFunction):
* dfg/DFGNode.h:
* dfg/DFGNonSpeculativeJIT.cpp:
(JSC::DFG::NonSpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT.h:
(JSC::DFG::SpeculationCheckIndexIterator::SpeculationCheckIndexIterator):

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

10 years ago2011-04-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 18 Apr 2011 21:04:07 +0000 (21:04 +0000)]
2011-04-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Dan Bernstein.

        Get rid of WebProcessProxyLegacyMessage
        https://bugs.webkit.org/show_bug.cgi?id=58825

        * GNUmakefile.am:
        * Platform/CoreIPC/MessageID.h:
        * Shared/CoreIPCSupport/WebProcessProxyMessageKinds.h: Removed.
        * UIProcess/WebProcessProxy.cpp:
        * WebKit2.xcodeproj/project.pbxproj:
        * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
        * WebProcess/WebCoreSupport/WebChromeClient.cpp:
        * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
        * WebProcess/WebPage/WebPage.cpp:
        * win/WebKit2.vcproj:

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

10 years ago2011-04-18 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 18 Apr 2011 20:59:08 +0000 (20:59 +0000)]
2011-04-18  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dave Hyatt.

        Add some new tests that exercise border-drawing on split inlines.

        * fast/blockflow/border-styles-vertical-lr.html: Added.
        * fast/blockflow/border-styles-vertical-rl.html: Added.
        * fast/borders/border-styles-split.html: Added.
        * platform/mac/fast/blockflow/border-styles-vertical-lr-expected.checksum: Added.
        * platform/mac/fast/blockflow/border-styles-vertical-lr-expected.png: Added.
        * platform/mac/fast/blockflow/border-styles-vertical-lr-expected.txt: Added.
        * platform/mac/fast/blockflow/border-styles-vertical-rl-expected.checksum: Added.
        * platform/mac/fast/blockflow/border-styles-vertical-rl-expected.png: Added.
        * platform/mac/fast/blockflow/border-styles-vertical-rl-expected.txt: Added.
        * platform/mac/fast/borders/border-styles-split-expected.checksum: Added.
        * platform/mac/fast/borders/border-styles-split-expected.png: Added.
        * platform/mac/fast/borders/border-styles-split-expected.txt: Added.

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

10 years ago2011-04-18 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Mon, 18 Apr 2011 20:46:41 +0000 (20:46 +0000)]
2011-04-18  Andreas Kling  <kling@webkit.org>

        [Qt] DRT: Unreviewed test fix after r84168.

        Dump the original request KURL for blocked access attempts.
        Turns out converting it to a QUrl lower-cases the hostname.

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

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

10 years agoLand all of the last patch
oliver@apple.com [Mon, 18 Apr 2011 20:43:11 +0000 (20:43 +0000)]
Land all of the last patch

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

10 years agoFix build.
andersca@apple.com [Mon, 18 Apr 2011 20:40:59 +0000 (20:40 +0000)]
Fix build.

* UIProcess/Plugins/PluginInfoStore.h:

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

10 years ago2011-04-18 Oliver Hunt <oliver@apple.com>
oliver@apple.com [Mon, 18 Apr 2011 20:34:50 +0000 (20:34 +0000)]
2011-04-18  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove DeprecatedPtr
        https://bugs.webkit.org/show_bug.cgi?id=58718

        As simple as it sounds.

        * runtime/JSValue.h:
        * runtime/WriteBarrier.h:
2011-04-18  Oliver Hunt  <oliver@apple.com>

        Reviewed by Gavin Barraclough.

        Remove DeprecatedPtr
        https://bugs.webkit.org/show_bug.cgi?id=58718

        Replace use of DeprecatedPtr<> with Global<> as ownership rules
        aren't obvious, have filed bug #58820 on seeing if this is safe.

        * bridge/qt/qt_class.cpp:
        (JSC::Bindings::QtClass::fallbackObject):
        * bridge/qt/qt_instance.cpp:
        (JSC::Bindings::QtInstance::removeCachedMethod):
        (JSC::Bindings::QtInstance::markAggregate):
        * bridge/qt/qt_instance.h:

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

10 years ago2011-04-18 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 18 Apr 2011 20:29:06 +0000 (20:29 +0000)]
2011-04-18  Alejandro G. Castro  <alex@igalia.com>

        Skipping overhanging-tall-block.html, it is crashing in the GTK+ bots.

        * platform/gtk/Skipped:

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

10 years ago2011-04-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 18 Apr 2011 20:24:44 +0000 (20:24 +0000)]
2011-04-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Use the message generator for the GetPluginProcessConnection message
        https://bugs.webkit.org/show_bug.cgi?id=58815

        * Platform/CoreIPC/HandleMessage.h:
        (CoreIPC::callMemberFunction):
        (CoreIPC::handleMessageDelayed):
        Add helper functions.

        * UIProcess/Plugins/PluginInfoStore.h:
        Mark class noncopyable.

        * UIProcess/Plugins/PluginProcessManager.cpp:
        (WebKit::PluginProcessManager::getPluginProcessConnection):
        This now takes a delayed reply.

        * UIProcess/Plugins/PluginProcessProxy.cpp:
        (WebKit::PluginProcessProxy::getPluginProcessConnection):
        This now takes a delayed reply.

        (WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
        (WebKit::PluginProcessProxy::didCreateWebProcessConnection):
        Call DelayedReply::send.

        * UIProcess/WebProcessProxy.cpp:
        (WebKit::WebProcessProxy::getPluginProcessConnection):
        This now takes a delayed reply.

        (WebKit::WebProcessProxy::didReceiveSyncMessage):
        No need to handle this message here.

        * UIProcess/WebProcessProxy.messages.in:
        Add GetPluginProcessConnection message.

        * WebProcess/Plugins/PluginProcessConnectionManager.cpp:
        (WebKit::PluginProcessConnectionManager::getPluginProcessConnection):
        Don't use deprecatedSendSync.

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

10 years ago2011-04-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 18 Apr 2011 20:04:57 +0000 (20:04 +0000)]
2011-04-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam Roben.

        Finish implementing delayed sync replies in the CoreIPC message generator
        https://bugs.webkit.org/show_bug.cgi?id=58814

        Put the DelayedReply function definitions in the .cpp file and fix bugs found by
        actually trying to compile the generated files.

        * Scripts/webkit2/messages.py:
        * Scripts/webkit2/messages_unittest.py:

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

10 years ago2011-04-14 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Mon, 18 Apr 2011 19:58:23 +0000 (19:58 +0000)]
2011-04-14  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Simon Fraser.

        [CG] Use vImage (un)premultiplyImageData functions for get/putImageData with IOSurfaces
        https://bugs.webkit.org/show_bug.cgi?id=58088

        * platform/graphics/cg/ImageBufferDataCG.cpp:
        (WebCore::convertScanline): un/premultiplies and converts a scanline of image data from/to BGRA to/from RGBA
        (WebCore::unpremultitplyScanline):
        (WebCore::premultitplyScanline):
        (WebCore::ImageBufferData::getData):
        (WebCore::ImageBufferData::putData):

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

10 years ago2011-04-18 Yi Shen <yi.4.shen@nokia.com>
yi.4.shen@nokia.com [Mon, 18 Apr 2011 19:49:26 +0000 (19:49 +0000)]
2011-04-18  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Laszlo Gombos.

        [Qt] Fix Api tests for QWebPage on Symbian
        https://bugs.webkit.org/show_bug.cgi?id=56924

        Ignores the style attribute that selectedHtml() returns.

        * tests/qwebpage/tst_qwebpage.cpp:
        (tst_QWebPage::cursorMovements):
        (tst_QWebPage::textSelection):
        (tst_QWebPage::findText):

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

10 years ago2011-04-18 Jeff Miller <jeffm@apple.com>
jeffm@apple.com [Mon, 18 Apr 2011 19:42:12 +0000 (19:42 +0000)]
2011-04-18  Jeff Miller  <jeffm@apple.com>

        Reviewed by Dan Bernstein.

        Allow all log channels to be initialized from WebCoreLogLevel Windows environment variable
        https://bugs.webkit.org/show_bug.cgi?id=58811

        * platform/win/LoggingWin.cpp:
        (WebCore::InitializeLoggingChannelsIfNecessary): Support initializing LogResourceLoading, LogProgress, and LogFileAPI from WebCoreLogLevel Windows environment variable.

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

10 years ago2011-04-18 Andrew Scherkus <scherkus@chromium.org>
scherkus@chromium.org [Mon, 18 Apr 2011 19:27:35 +0000 (19:27 +0000)]
2011-04-18  Andrew Scherkus  <scherkus@chromium.org>

        Reviewed by Eric Seidel.

        Reset fullscreen element reference when leaving fullscreen mode and some other cleanup.

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

        * fullscreen/full-screen-cancel-expected.txt: Added.
        * fullscreen/full-screen-cancel.html: Added.
2011-04-18  Andrew Scherkus  <scherkus@chromium.org>

        Reviewed by Eric Seidel.

        Reset fullscreen element reference when leaving fullscreen mode and some other cleanup.

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

        Test: fullscreen/full-screen-cancel.html

        * dom/Document.cpp:
        (WebCore::Document::Document): Remove m_isFullscreen.
        (WebCore::Document::webkitWillEnterFullScreenForElement):
        (WebCore::Document::webkitWillExitFullScreenForElement): Remove duplicate call to setAnimating().
        (WebCore::Document::webkitDidExitFullScreenForElement): Reset m_fullScreenElement reference.
        * dom/Document.h:
        (WebCore::Document::webkitIsFullScreen): Use m_fullScreenElement instead of m_isFullscreen.
        (WebCore::Document::webkitFullScreenKeyboardInputAllowed): Ditto.

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

10 years ago2011-04-18 Andreas Kling <kling@webkit.org>
commit-queue@webkit.org [Mon, 18 Apr 2011 19:23:25 +0000 (19:23 +0000)]
2011-04-18  Andreas Kling  <kling@webkit.org>

        Reviewed by Adam Barth.

        [Qt] DRT: Unbreak redirection of http:/ URLs.
        https://bugs.webkit.org/show_bug.cgi?id=58779

        * platform/qt/Skipped: Unskip http/tests/loading/cross-origin-XHR-willLoadRequest.html
2011-04-18  Andreas Kling  <kling@webkit.org>

        Reviewed by Adam Barth.

        REGRESSION (r84010): [Qt] DRT: Unbreak redirection of http:/ URLs.
        https://bugs.webkit.org/show_bug.cgi?id=58779

        KURL::host() doesn't return the host part of [broken] http:/ URLs, so use
        QUrl instead to match the behavior of other ports.

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

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

10 years ago2011-04-18 Chris Rogers <crogers@google.com>
crogers@google.com [Mon, 18 Apr 2011 19:20:11 +0000 (19:20 +0000)]
2011-04-18  Chris Rogers  <crogers@google.com>

        Unreviewed.

        Update test_expectations.txt
        https://bugs.webkit.org/show_bug.cgi?id=58810

        * platform/chromium/test_expectations.txt:

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

10 years ago<rdar://problem/9282486> REGRESSION (r81992): Facebook photo tags can get cut off...
mitz@apple.com [Mon, 18 Apr 2011 19:18:33 +0000 (19:18 +0000)]
<rdar://problem/9282486> REGRESSION (r81992): Facebook photo tags can get cut off when moving the mouse.
https://bugs.webkit.org/show_bug.cgi?id=58500

Reviewed by Eric Seidel.

Source/WebCore:

Test: fast/repaint/text-in-relative-positioned-inline.html

* rendering/RenderText.cpp:
(WebCore::RenderText::clippedOverflowRectForRepaint): Use the container’s repaint rect, not
the containing block’s. This matters when the containing block is outside the RenderText’s
enclosing layer, as is the case here.

LayoutTests:

* fast/repaint/text-in-relative-positioned-inline-expected.checksum: Added.
* fast/repaint/text-in-relative-positioned-inline-expected.png: Added.
* fast/repaint/text-in-relative-positioned-inline-expected.txt: Added.
* fast/repaint/text-in-relative-positioned-inline.html: Added.

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

10 years ago2011-04-18 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 18 Apr 2011 19:04:33 +0000 (19:04 +0000)]
2011-04-18  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        add labels to results html page
        https://bugs.webkit.org/show_bug.cgi?id=58803

        -fix iframe size to be the size of the png results
        -fix a bunch of aesthetic nits
        -fix some incorrectly styled code

        * Scripts/webkitpy/layout_tests/layout_package/json_results.html:

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 18:45:01 +0000 (18:45 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r84155.
        http://trac.webkit.org/changeset/84155
        https://bugs.webkit.org/show_bug.cgi?id=58802

        "paintEntireContents flag is used for painting outside of the
        screen. It's not the right way to fix EFL tiled backing
        store." (Requested by demarchi on #webkit).

        * ewk/ewk_view_tiled.c:
        (_ewk_view_tiled_smart_add):

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

10 years ago2011-04-15 Stephen White <senorblanco@chromium.org>
senorblanco@chromium.org [Mon, 18 Apr 2011 18:16:12 +0000 (18:16 +0000)]
2011-04-15  Stephen White  <senorblanco@chromium.org>

        Reviewed by Kenneth Russell.

        Speed up DrawingBuffer::reset().
        https://bugs.webkit.org/show_bug.cgi?id=58706

        When DrawingBuffer::reset() is called, it should not reallocate
        the FBOs if the size has not changed.  It should just do a glClear().

        Covered by tests in fast/canvas and canvas/philip.

        * platform/graphics/chromium/DrawingBufferChromium.cpp:
        (WebCore::DrawingBuffer::DrawingBuffer):
        Initialize the size to -1, -1, so the size change check will work on
        first reset.
        * platform/graphics/gpu/DrawingBuffer.cpp:
        (WebCore::DrawingBuffer::reset):
        If the size hasn't changed, don't resize the FBOs.  Just clear the
        relevant buffers.

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

10 years ago2011-04-18 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Mon, 18 Apr 2011 17:51:06 +0000 (17:51 +0000)]
2011-04-18  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: group resources by type in the resources panel.
        https://bugs.webkit.org/show_bug.cgi?id=58796

        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.ResourcesPanel.prototype._frameAdded):
        (WebInspector.ResourcesPanel.prototype._resourceAdded):
        (WebInspector.BaseStorageTreeElement):
        (WebInspector.BaseStorageTreeElement.prototype.onattach):
        (WebInspector.StorageCategoryTreeElement):
        (WebInspector.FrameTreeElement):
        (WebInspector.FrameTreeElement.prototype.setTitles):
        (WebInspector.FrameTreeElement.prototype.set hovered):
        (WebInspector.FrameTreeElement.prototype.appendResource):
        (WebInspector.FrameTreeElement.prototype.appendChild):
        (WebInspector.FrameTreeElement.prototype._insertInPresentationOrder):
        (WebInspector.FrameTreeElement.prototype._insertInPresentationOrder.compare):

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

10 years ago2011-04-18 Chang Shu <cshu@webkit.org>
commit-queue@webkit.org [Mon, 18 Apr 2011 17:41:00 +0000 (17:41 +0000)]
2011-04-18  Chang Shu  <cshu@webkit.org>

        Reviewed by Eric Seidel.

        WebKitTestRunner needs layoutTestController.pathToLocalResource
        https://bugs.webkit.org/show_bug.cgi?id=42541

        Unskip passed tests.

        * platform/mac-wk2/Skipped:
        * platform/qt-wk2/Skipped:
2011-04-18  Chang Shu  <cshu@webkit.org>

        Reviewed by Eric Seidel.

        WebKitTestRunner needs layoutTestController.pathToLocalResource
        https://bugs.webkit.org/show_bug.cgi?id=42541

        * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
        * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
        * WebKitTestRunner/InjectedBundle/mac/LayoutTestControllerMac.mm:
        (WTR::LayoutTestController::pathToLocalResource):
        * WebKitTestRunner/InjectedBundle/qt/LayoutTestControllerQt.cpp:
        (WTR::LayoutTestController::pathToLocalResource):
        * WebKitTestRunner/InjectedBundle/win/LayoutTestControllerWin.cpp:
        (WTR::LayoutTestController::pathToLocalResource):

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

10 years agoRemove the two commands that make en.lproj and copy Localizable.strings.
timothy@apple.com [Mon, 18 Apr 2011 17:34:14 +0000 (17:34 +0000)]
Remove the two commands that make en.lproj and copy Localizable.strings.

Rubber-stamped by Adam Roben.

* WebKit.vcproj/WebKitLibPostBuild.cmd:

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

10 years agoMake update-webkit-localizable-strings put WebKit/win strings in WebCore
timothy@apple.com [Mon, 18 Apr 2011 17:29:50 +0000 (17:29 +0000)]
Make update-webkit-localizable-strings put WebKit/win strings in WebCore
now that all localized strings in WebKit/win use WEB_UI_STRING.

https://webkit.org/b/58747

Reviewed by Dan Bernstein.

Source/WebCore:

* English.lproj/Localizable.strings: Updated with strings from WebKit/win.

Source/WebKit:

* English.lproj/Localizable.strings: Removed.

Tools:

* Scripts/update-webkit-localizable-strings: Remove the code that updated WebKit/win differently.

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

10 years ago2011-04-18 Hao Zheng <zhenghao@chromium.org>
commit-queue@webkit.org [Mon, 18 Apr 2011 17:18:11 +0000 (17:18 +0000)]
2011-04-18  Hao Zheng  <zhenghao@chromium.org>

        Reviewed by Eric Seidel.

        Rebaseline 3 tests under chromium-gpu-linux port.
        https://bugs.webkit.org/show_bug.cgi?id=58627

        * platform/chromium-gpu-linux/fast/media: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.png: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-02-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.png: Added.
        * platform/chromium-gpu-linux/fast/media/mq-transform-03-expected.txt: Added.
        * platform/chromium-gpu-linux/fast/repaint: Added.
        * platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.checksum: Added.
        * platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.png: Added.
        * platform/chromium-gpu-linux/fast/repaint/canvas-putImageData-expected.txt: Added.

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

10 years ago2011-04-15 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 18 Apr 2011 17:14:03 +0000 (17:14 +0000)]
2011-04-15  MORITA Hajime  <morrita@google.com>

        Reviewed by Adam Barth.

        REGRESSION: <progress> doesn't animate if it doesn't have value
        https://bugs.webkit.org/show_bug.cgi?id=58693

        The initial value of RenderProgress::m_position is accidentally same as
        the indeterminate value, that makes update code on updateFromElement() skipped.
        This change set unique invalid value for the initial value of m_position.

        No new tests. Testing animated bar is not possible with DRT.

        * html/HTMLProgressElement.cpp:
        (WebCore::HTMLProgressElement::position):
        * html/HTMLProgressElement.h:
        * rendering/RenderProgress.cpp:
        (WebCore::RenderProgress::RenderProgress):
        (WebCore::RenderProgress::isDeterminate):

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

10 years ago2011-04-18 Eunsol Park <eunsol47.park@samsung.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 17:13:04 +0000 (17:13 +0000)]
2011-04-18  Eunsol Park  <eunsol47.park@samsung.com>

        Reviewed by Eric Seidel.

        [EFL] Scroll doesn't work on tiled backing store
        https://bugs.webkit.org/show_bug.cgi?id=55021

        Scroll doesn't work on tiled backing store, but it works on single.
        If ewk_frame_paint_full_set() set True, view size return content size and scroll can't be made.
        so, ewk_frame_paint_full_set() is removed from ewk_tiled_smart_add().

        * ewk/ewk_view_tiled.c:
        (_ewk_view_tiled_smart_add):

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

10 years ago2011-04-18 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 18 Apr 2011 17:08:45 +0000 (17:08 +0000)]
2011-04-18  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        [WIN] Use WCHAR instead of TCHAR
        https://bugs.webkit.org/show_bug.cgi?id=58755

        We always use the UNICODE versions of windows functions, so
        the usage of TCHAR makes no sense and mixing them is bad style.

        * WinLauncher/PrintWebUIDelegate.cpp:
          Also fix various style issues (including indentation and removal of ugly C-casts).
        * WinLauncher/WinLauncher.cpp:

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

10 years ago2011-04-18 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Mon, 18 Apr 2011 16:55:14 +0000 (16:55 +0000)]
2011-04-18  Anders Carlsson  <andersca@apple.com>

        Reviewed by Adam Roben.

        Reproducible crash in Find on Page, on pages that use accelerated compositing
        https://bugs.webkit.org/show_bug.cgi?id=58793
        <rdar://problem/9295870>

        Move the call to PageOverlay::setNeedsDisplay() back to WebPage::installPageOverlay;
        it needs to be called after we've told the drawing area that a page overlay has been installed.

        * WebProcess/WebPage/PageOverlay.cpp:
        (WebKit::PageOverlay::setPage):
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::installPageOverlay):

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

10 years ago2011-04-18 MORITA Hajime <morrita@google.com>
morrita@google.com [Mon, 18 Apr 2011 16:48:58 +0000 (16:48 +0000)]
2011-04-18  MORITA Hajime  <morrita@google.com>

        Reviewed by Eric Seidel.

        REGRESSION: [Chromium Win] details-add-summary-1.html start crashing after r84039
        https://bugs.webkit.org/show_bug.cgi?id=58791

        On refreshMainSummary(), findMainSummary() possibly releases oldSummary.
        We should guard it again RefPtr.

        * html/HTMLDetailsElement.cpp:
        (WebCore::HTMLDetailsElement::refreshMainSummary):

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

10 years agoCSSSelector double frees
antti@apple.com [Mon, 18 Apr 2011 16:37:50 +0000 (16:37 +0000)]
CSSSelector double frees
https://bugs.webkit.org/show_bug.cgi?id=56124
<rdar://problem/9119036>

Reviewed by Simon Fraser.

In all stacks this is occuring when the document is kept alive by the guard ref only
and the node holding it is deleted.

As a speculative fix, clear the document stylesheets when it turns into a guard ref zombie.
This has a pretty good chance of fixing the actual bug. At minimum it will move the
crash to an earlier, more easily traceble point.

No tests, crash stacks only, no idea how to reproduce.

* dom/Document.cpp:
(WebCore::Document::removedLastRef):

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

10 years ago2011-04-18 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 18 Apr 2011 16:23:57 +0000 (16:23 +0000)]
2011-04-18  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Backspace in the Console is broken
        https://bugs.webkit.org/show_bug.cgi?id=58764

        * inspector/front-end/inspector.js:
        (WebInspector.documentKeyDown):

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

10 years ago2011-04-18 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Mon, 18 Apr 2011 16:13:25 +0000 (16:13 +0000)]
2011-04-18  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        LevelDB backend for IndexedDB
        https://bugs.webkit.org/show_bug.cgi?id=57372

        Add LevelDB wrappers to Android.mk.

        * Source/Android.mk:
2011-04-18  Hans Wennborg  <hans@chromium.org>

        Reviewed by Steve Block.

        LevelDB backend for IndexedDB
        https://bugs.webkit.org/show_bug.cgi?id=57372

        Only available behind a run-time flag. Covered by existing layout
        tests.

        * Android.mk:
        * CMakeLists.txt:
        * GNUmakefile.am:
        * GNUmakefile.list.am:
        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.xcodeproj/project.pbxproj:
        * platform/leveldb/LevelDBComparator.h: Added.
        (WebCore::LevelDBComparator::~LevelDBComparator):
        * platform/leveldb/LevelDBDatabase.cpp: Added.
        (WebCore::makeSlice):
        (WebCore::makeLevelDBSlice):
        (WebCore::makeVector):
        (WebCore::LevelDBDatabase::LevelDBDatabase):
        (WebCore::LevelDBDatabase::~LevelDBDatabase):
        (WebCore::LevelDBDatabase::open):
        (WebCore::LevelDBDatabase::put):
        (WebCore::LevelDBDatabase::remove):
        (WebCore::LevelDBDatabase::get):
        (WebCore::LevelDBDatabase::newIterator):
        * platform/leveldb/LevelDBDatabase.h: Added.
        * platform/leveldb/LevelDBIterator.cpp: Added.
        (WebCore::LevelDBIterator::~LevelDBIterator):
        (WebCore::LevelDBIterator::LevelDBIterator):
        (WebCore::makeSlice):
        (WebCore::makeLevelDBSlice):
        (WebCore::LevelDBIterator::isValid):
        (WebCore::LevelDBIterator::seekToLast):
        (WebCore::LevelDBIterator::seek):
        (WebCore::LevelDBIterator::next):
        (WebCore::LevelDBIterator::prev):
        (WebCore::LevelDBIterator::key):
        (WebCore::LevelDBIterator::value):
        * platform/leveldb/LevelDBIterator.h: Added.
        * platform/leveldb/LevelDBSlice.h: Added.
        (WebCore::LevelDBSlice::LevelDBSlice):
        (WebCore::LevelDBSlice::~LevelDBSlice):
        (WebCore::LevelDBSlice::begin):
        (WebCore::LevelDBSlice::end):
        * storage/IDBLevelDBBackingStore.cpp:
        (WebCore::encodeByte):
        (WebCore::maxIDBKey):
        (WebCore::minIDBKey):
        (WebCore::encodeInt):
        (WebCore::decodeInt):
        (WebCore::encodeVarInt):
        (WebCore::decodeVarInt):
        (WebCore::encodeString):
        (WebCore::decodeString):
        (WebCore::encodeStringWithLength):
        (WebCore::decodeStringWithLength):
        (WebCore::encodeDouble):
        (WebCore::decodeDouble):
        (WebCore::encodeIDBKey):
        (WebCore::decodeIDBKey):
        (WebCore::extractEncodedIDBKey):
        (WebCore::compareEncodedIDBKeys):
        (WebCore::getInt):
        (WebCore::putInt):
        (WebCore::getString):
        (WebCore::putString):
        (WebCore::KeyPrefix::SchemaVersionKey::encode):
        (WebCore::KeyPrefix::MaxDatabaseIdKey::encode):
        (WebCore::KeyPrefix::DatabaseFreeListKey::DatabaseFreeListKey):
        (WebCore::KeyPrefix::DatabaseFreeListKey::decode):
        (WebCore::KeyPrefix::DatabaseFreeListKey::encode):
        (WebCore::KeyPrefix::DatabaseFreeListKey::databaseId):
        (WebCore::KeyPrefix::DatabaseFreeListKey::compare):
        (WebCore::KeyPrefix::DatabaseNameKey::decode):
        (WebCore::KeyPrefix::DatabaseNameKey::encode):
        (WebCore::KeyPrefix::DatabaseNameKey::origin):
        (WebCore::KeyPrefix::DatabaseNameKey::databaseName):
        (WebCore::KeyPrefix::DatabaseNameKey::compare):
        (WebCore::KeyPrefix::DatabaseMetaDataKey::encode):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::ObjectStoreMetaDataKey):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::decode):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::encode):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::objectStoreId):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::metaDataType):
        (WebCore::KeyPrefix::ObjectStoreMetaDataKey::compare):
        (WebCore::KeyPrefix::IndexMetaDataKey::IndexMetaDataKey):
        (WebCore::KeyPrefix::IndexMetaDataKey::decode):
        (WebCore::KeyPrefix::IndexMetaDataKey::encode):
        (WebCore::KeyPrefix::IndexMetaDataKey::compare):
        (WebCore::KeyPrefix::IndexMetaDataKey::indexId):
        (WebCore::KeyPrefix::IndexMetaDataKey::metaDataType):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::ObjectStoreFreeListKey):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::decode):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::encode):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::objectStoreId):
        (WebCore::KeyPrefix::ObjectStoreFreeListKey::compare):
        (WebCore::KeyPrefix::IndexFreeListKey::IndexFreeListKey):
        (WebCore::KeyPrefix::IndexFreeListKey::decode):
        (WebCore::KeyPrefix::IndexFreeListKey::encode):
        (WebCore::KeyPrefix::IndexFreeListKey::compare):
        (WebCore::KeyPrefix::IndexFreeListKey::objectStoreId):
        (WebCore::KeyPrefix::IndexFreeListKey::indexId):
        (WebCore::KeyPrefix::ObjectStoreNamesKey::decode):
        (WebCore::KeyPrefix::ObjectStoreNamesKey::encode):
        (WebCore::KeyPrefix::ObjectStoreNamesKey::compare):
        (WebCore::KeyPrefix::ObjectStoreNamesKey::objectStoreName):
        (WebCore::KeyPrefix::IndexNamesKey::IndexNamesKey):
        (WebCore::KeyPrefix::IndexNamesKey::decode):
        (WebCore::KeyPrefix::IndexNamesKey::encode):
        (WebCore::KeyPrefix::IndexNamesKey::compare):
        (WebCore::KeyPrefix::IndexNamesKey::indexName):
        (WebCore::KeyPrefix::ObjectStoreDataKey::decode):
        (WebCore::KeyPrefix::ObjectStoreDataKey::encode):
        (WebCore::KeyPrefix::ObjectStoreDataKey::compare):
        (WebCore::KeyPrefix::ObjectStoreDataKey::userKey):
        (WebCore::KeyPrefix::ExistsEntryKey::decode):
        (WebCore::KeyPrefix::ExistsEntryKey::encode):
        (WebCore::KeyPrefix::ExistsEntryKey::compare):
        (WebCore::KeyPrefix::ExistsEntryKey::userKey):
        (WebCore::KeyPrefix::IndexDataKey::IndexDataKey):
        (WebCore::KeyPrefix::IndexDataKey::decode):
        (WebCore::KeyPrefix::IndexDataKey::encode):
        (WebCore::KeyPrefix::IndexDataKey::encodeMaxKey):
        (WebCore::KeyPrefix::IndexDataKey::compare):
        (WebCore::KeyPrefix::IndexDataKey::databaseId):
        (WebCore::KeyPrefix::IndexDataKey::objectStoreId):
        (WebCore::KeyPrefix::IndexDataKey::indexId):
        (WebCore::KeyPrefix::IndexDataKey::userKey):
        (WebCore::KeyPrefix::realCompare):
        (WebCore::KeyPrefix::compareKeys):
        (WebCore::KeyPrefix::compareIndexKeys):
        (WebCore::KeyPrefix::Comparator::compare):
        (WebCore::KeyPrefix::Comparator::name):
        (WebCore::setUpMetadata):
        (WebCore::IDBLevelDBBackingStore::IDBLevelDBBackingStore):
        (WebCore::IDBLevelDBBackingStore::open):
        (WebCore::IDBLevelDBBackingStore::extractIDBDatabaseMetaData):
        (WebCore::getNewDatabaseId):
        (WebCore::IDBLevelDBBackingStore::setIDBDatabaseMetaData):
        (WebCore::IDBLevelDBBackingStore::getObjectStores):
        (WebCore::getNewObjectStoreId):
        (WebCore::IDBLevelDBBackingStore::createObjectStore):
        (WebCore::deleteRange):
        (WebCore::IDBLevelDBBackingStore::deleteObjectStore):
        (WebCore::IDBLevelDBBackingStore::getObjectStoreRecord):
        (WebCore::getNewVersionNumber):
        (WebCore::IDBLevelDBBackingStore::putObjectStoreRecord):
        (WebCore::IDBLevelDBBackingStore::clearObjectStore):
        (WebCore::IDBLevelDBBackingStore::createInvalidRecordIdentifier):
        (WebCore::IDBLevelDBBackingStore::deleteObjectStoreRecord):
        (WebCore::IDBLevelDBBackingStore::nextAutoIncrementNumber):
        (WebCore::IDBLevelDBBackingStore::keyExistsInObjectStore):
        (WebCore::IDBLevelDBBackingStore::forEachObjectStoreRecord):
        (WebCore::IDBLevelDBBackingStore::getIndexes):
        (WebCore::getNewIndexId):
        (WebCore::IDBLevelDBBackingStore::createIndex):
        (WebCore::IDBLevelDBBackingStore::deleteIndex):
        (WebCore::IDBLevelDBBackingStore::putIndexDataForRecord):
        (WebCore::findGreatestKeyLessThan):
        (WebCore::IDBLevelDBBackingStore::deleteIndexDataForRecord):
        (WebCore::IDBLevelDBBackingStore::getObjectViaIndex):
        (WebCore::versionExists):
        (WebCore::IDBLevelDBBackingStore::getPrimaryKeyViaIndex):
        (WebCore::IDBLevelDBBackingStore::keyExistsInIndex):
        (WebCore::findLastIndexKeyEqualTo):
        (WebCore::IDBLevelDBBackingStore::openObjectStoreCursor):
        (WebCore::IDBLevelDBBackingStore::openIndexKeyCursor):
        (WebCore::IDBLevelDBBackingStore::openIndexCursor):
        (WebCore::IDBLevelDBBackingStore::createTransaction):
        * storage/IDBLevelDBBackingStore.h:

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

10 years ago2011-04-18 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Mon, 18 Apr 2011 15:59:28 +0000 (15:59 +0000)]
2011-04-18  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add test for CSS-resource binding.
        https://bugs.webkit.org/show_bug.cgi?id=58786

        * inspector/styles/resources/styles-history.css: Added.
        (body):
        * inspector/styles/styles-history-expecte.txt: Added.
        * inspector/styles/styles-history.html: Added.
        * inspector/styles/styles-source-offsets.html:
2011-04-18  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add test for CSS-resource binding.
        https://bugs.webkit.org/show_bug.cgi?id=58786

        Test: inspector/styles/styles-history.html

        * inspector/InspectorCSSAgent.cpp:
        (WebCore::InspectorCSSAgent::setPropertyText):
        (WebCore::InspectorCSSAgent::toggleProperty):
        * inspector/InspectorStyleSheet.cpp:
        (WebCore::InspectorStyle::setPropertyText):
        (WebCore::InspectorStyle::toggleProperty):
        (WebCore::InspectorStyleSheet::setPropertyText):
        (WebCore::InspectorStyleSheet::toggleProperty):
        * inspector/InspectorStyleSheet.h:
        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.if):
        (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged.mycallback):
        (WebInspector.CSSStyleModel.prototype._fireStyleSheetChanged):
        (WebInspector.CSSStyleModel.prototype.setStyleSheetText):
        (WebInspector.CSSStyleDeclaration.prototype.insertPropertyAt):
        (WebInspector.CSSProperty.prototype.setText.callback):
        (WebInspector.CSSProperty.prototype.setText):

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 15:56:08 +0000 (15:56 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83996.
        http://trac.webkit.org/changeset/83996
        https://bugs.webkit.org/show_bug.cgi?id=58790

        layout test editing/selection/move-by-word-visually.html is
        failing (Requested by jknotten on #webkit).

        * editing/selection/move-by-word-visually-expected.txt:
        * editing/selection/move-by-word-visually.html:
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83996.
        http://trac.webkit.org/changeset/83996
        https://bugs.webkit.org/show_bug.cgi?id=58790

        layout test editing/selection/move-by-word-visually.html is
        failing (Requested by jknotten on #webkit).

        * editing/visible_units.cpp:
        (WebCore::nextWordBreakInBoxInsideBlockWithDifferentDirectionality):
        (WebCore::collectWordBreaksInBoxInsideBlockWithDifferntDirectionality):
        (WebCore::previousWordBreakInBox):
        (WebCore::leftWordBoundary):
        (WebCore::rightWordBoundary):
        (WebCore::leftWordPosition):
        (WebCore::rightWordPosition):

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

10 years ago2011-04-18 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 18 Apr 2011 15:32:46 +0000 (15:32 +0000)]
2011-04-18  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Roben.

        Include <WebCore/COMPtr.h> instead of "COMPtr.h"
        https://bugs.webkit.org/show_bug.cgi?id=58744

        * DOMCoreClasses.cpp:
        * DOMHTMLClasses.cpp:
        * WebActionPropertyBag.cpp:
        * WebBackForwardList.cpp:
        * WebCoreSupport/WebGeolocationClient.h:
        * WebDownload.h:
        * WebDropSource.h:
        * WebFrame.cpp:
        * WebHistoryItem.cpp:
        * WebIconDatabase.cpp:
        * WebNavigationData.h:
        * WebPreferences.cpp:
        * WebResource.h:
        * WebURLAuthenticationChallenge.cpp:
        * WebURLAuthenticationChallengeSender.cpp:
        * WebURLAuthenticationChallengeSenderCFNet.cpp:
        * WebURLAuthenticationChallengeSenderCurl.cpp:
        * WebView.h:

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

10 years ago2011-04-18 Adam Bergkvist <adam.bergkvist@ericsson.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 15:13:37 +0000 (15:13 +0000)]
2011-04-18  Adam Bergkvist  <adam.bergkvist@ericsson.com>

        Reviewed by Daniel Bates.

        Modify make_names.pl to not include conditional includes unconditionally
        https://bugs.webkit.org/show_bug.cgi?id=53672

        Fixed conditional includes being unconditionally included.

        No new tests (no change in functionality)

        * dom/make_names.pl:
            - Modified printJSElementIncludes() to only print unconditional element includes.
            - Modified printElementIncludes() to only print unconditional element includes.
            - Added printConditionalElementIncludes() which takes care of printing conditional element includes.

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

10 years ago2011-04-18 Jeff Miller <jeffm@apple.com>
jeffm@apple.com [Mon, 18 Apr 2011 14:55:12 +0000 (14:55 +0000)]
2011-04-18  Jeff Miller  <jeffm@apple.com>

        Reviewed by Timothy Hatcher.

        WKFrameLoadState should be a uint32_t to match our API conventions
        https://bugs.webkit.org/show_bug.cgi?id=58785

        * UIProcess/API/C/WKFrame.h: typedef WKFrameLoadState as a uint32_t and define its values as an anonymous enum.

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
inferno@chromium.org [Mon, 18 Apr 2011 14:44:46 +0000 (14:44 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83803.
        http://trac.webkit.org/changeset/83803
        https://bugs.webkit.org/show_bug.cgi?id=58782

        Caused focus rings to appear in youtube videos (Requested by
        inferno-sec on #webkit).

        * rendering/RenderWidget.cpp:
        (WebCore::RenderWidget::paint):
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83803.
        http://trac.webkit.org/changeset/83803
        https://bugs.webkit.org/show_bug.cgi?id=58782

        Caused focus rings to appear in youtube videos (Requested by
        inferno-sec on #webkit).

        * fast/frames/iframe-outline.html: Removed.
        * platform/mac/fast/frames/iframe-outline-expected.checksum: Removed.
        * platform/mac/fast/frames/iframe-outline-expected.png: Removed.
        * platform/mac/fast/frames/iframe-outline-expected.txt: Removed.

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

10 years agoSkip a flaky test on Windows
aroben@apple.com [Mon, 18 Apr 2011 14:25:02 +0000 (14:25 +0000)]
Skip a flaky test on Windows

<http://webkit.org/b/58367> tracks the failure.

* platform/win/Skipped: Added http/tests/inspector/resource-tree-model.html.

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

10 years ago2011-04-18 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 18 Apr 2011 14:19:57 +0000 (14:19 +0000)]
2011-04-18  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Need a workaround for bug 58422
        https://bugs.webkit.org/show_bug.cgi?id=58780

        Instead of the A:before content, the link text is displayed as the A tag content.

        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertiesSection.linkifyUncopyable):
        (WebInspector.StylePropertiesSection):
        * inspector/front-end/inspector.css:

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

10 years ago2011-04-18 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Mon, 18 Apr 2011 14:15:43 +0000 (14:15 +0000)]
2011-04-18  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Rebaseline for fast/html/details-add-summary-1
        https://bugs.webkit.org/show_bug.cgi?id=58783

Following changes to after changes to RenderDetailsMarker (r84039).

        * platform/chromium-linux/fast/html/details-add-summary-1-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-1-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-1-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-1-expected.txt:

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

10 years ago2011-04-18 Dominic Cooney <dominicc@chromium.org>
commit-queue@webkit.org [Mon, 18 Apr 2011 13:56:18 +0000 (13:56 +0000)]
2011-04-18  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Andreas Kling.

        Add layoutTestController.shadowRoot to Qt DRT.
        https://bugs.webkit.org/show_bug.cgi?id=58759

        * platform/qt/Skipped: unskip fast/dom/HTMLKeygenElement now
2011-04-18  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Andreas Kling.

        Add layoutTestController.shadowRoot to Qt DRT.
        https://bugs.webkit.org/show_bug.cgi?id=58759

        * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
        (DumpRenderTreeSupportQt::shadowRoot): Added.
        * WebCoreSupport/DumpRenderTreeSupportQt.h:
2011-04-18  Dominic Cooney  <dominicc@chromium.org>

        Reviewed by Andreas Kling.

        Add layoutTestController.shadowRoot to Qt DRT.
        https://bugs.webkit.org/show_bug.cgi?id=58759

        * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
        (LayoutTestController::shadowRoot): Added.
        * DumpRenderTree/qt/LayoutTestControllerQt.h:

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

10 years ago2011-04-18 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Mon, 18 Apr 2011 13:54:23 +0000 (13:54 +0000)]
2011-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix WebKit2 GTK build after 84017.

        * GNUmakefile.am:
        * Shared/NativeWebMouseEvent.h:
        (WebKit::NativeWebMouseEvent::nativeEvent):
        * Shared/gtk/NativeWebMouseEventGtk.cpp: Copied from Source/WebKit2/Shared/NativeWebMouseEvent.h.
        (WebKit::NativeWebMouseEvent::NativeWebMouseEvent):
        * UIProcess/gtk/WebView.cpp:
        (WebKit::WebView::handleMouseEvent):

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

10 years ago2011-04-18 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Mon, 18 Apr 2011 13:49:02 +0000 (13:49 +0000)]
2011-04-18  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix WebKit2 GTK build after 82465.

        * platform/gtk/LocalizedStringsGtk.cpp:
        (WebCore::localizedString):

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

10 years ago2011-04-18 Andrey Adaikin <aandrey@google.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 13:36:07 +0000 (13:36 +0000)]
2011-04-18  Andrey Adaikin  <aandrey@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: TAB should not move focus from the text editor while live editing
        https://bugs.webkit.org/show_bug.cgi?id=58537

        * inspector/front-end/TextViewer.js:
        (WebInspector.TextViewer.prototype._registerShortcuts):
        (WebInspector.TextViewer.prototype._cancelEditing):
        (WebInspector.TextEditorMainPanel.prototype.handleUndoRedo):
        (WebInspector.TextEditorMainPanel.prototype.handleTabKeyPress):
        (WebInspector.TextEditorMainPanel.prototype._setCaretLocation):
        (WebInspector.TextEditorMainPanel.prototype._applyDomUpdates):
        (WebInspector.TextEditorMainPanel.prototype._setText):

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

10 years ago2011-04-18 Alexander Pavlov <apavlov@chromium.org>
apavlov@chromium.org [Mon, 18 Apr 2011 13:32:58 +0000 (13:32 +0000)]
2011-04-18  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Incorrect content area dimensions in Metrics pane for box-sizing: border-box
        https://bugs.webkit.org/show_bug.cgi?id=58551

        * inspector/styles/metrics-box-sizing-expected.txt: Added.
        * inspector/styles/metrics-box-sizing.html: Added.
2011-04-18  Alexander Pavlov  <apavlov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Incorrect content area dimensions in Metrics pane for box-sizing: border-box
        https://bugs.webkit.org/show_bug.cgi?id=58551

        Test: inspector/styles/metrics-box-sizing.html

        * inspector/front-end/MetricsSidebarPane.js:
        (WebInspector.MetricsSidebarPane.prototype._getPropertyValueAsPx):
        (WebInspector.MetricsSidebarPane.prototype._getBox):
        (WebInspector.MetricsSidebarPane.prototype._update.getContentAreaWidthPx):
        (WebInspector.MetricsSidebarPane.prototype._update.getContentAreaHeightPx):
        (WebInspector.MetricsSidebarPane.prototype._update):
        (WebInspector.MetricsSidebarPane.prototype.startEditing):
        (WebInspector.MetricsSidebarPane.prototype.editingCommitted.setEnabledValueCallback):
        (WebInspector.MetricsSidebarPane.prototype.editingCommitted):

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

10 years ago2011-04-18 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Mon, 18 Apr 2011 12:25:43 +0000 (12:25 +0000)]
2011-04-18  Ilya Tikhonovsky  <loislo@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Database agent stops to propagate it's events after navigation.
        https://bugs.webkit.org/show_bug.cgi?id=58776

        * inspector/InspectorAgent.cpp:
        (WebCore::InspectorAgent::InspectorAgent):
        (WebCore::InspectorAgent::restoreInspectorStateFromCookie):
        * inspector/InspectorDatabaseAgent.cpp:
        (WebCore::InspectorDatabaseAgent::InspectorDatabaseAgent):
        (WebCore::InspectorDatabaseAgent::clearFrontend):
        (WebCore::InspectorDatabaseAgent::enable):
        (WebCore::InspectorDatabaseAgent::disable):
        (WebCore::InspectorDatabaseAgent::restore):
        * inspector/InspectorDatabaseAgent.h:
        (WebCore::InspectorDatabaseAgent::create):

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

10 years ago011-04-18 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Mon, 18 Apr 2011 12:15:28 +0000 (12:15 +0000)]
011-04-18  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Added chromium baselines for new tests.

        * platform/chromium-linux/fast/text/zero-font-size-expected.png: Added.
        * platform/chromium-mac-leopard/fast/text/zero-font-size-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEDiffuseLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFEFloodElement-inherit-flood-color-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-inherit-lighting-color-css-prop-expected.png: Added.
        * platform/chromium-mac-leopard/svg/dynamic-updates/SVGFESpecularLightingElement-lighting-color-css-prop-expected.png: Added.
        * platform/chromium-mac/fast/canvas/image-object-in-canvas-expected.png: Added.
        * platform/chromium-mac/fast/forms/select-background-none-expected.checksum: Removed.
        * platform/chromium-mac/fast/forms/select-background-none-expected.png: Removed.
        * platform/chromium-win/fast/forms/select-background-none-expected.png: Added.
        * platform/chromium-win/fast/forms/select-background-none-expected.txt: Added.
        * platform/chromium-win/fast/frames/iframe-outline-expected.png: Added.
        * platform/chromium-win/fast/text/zero-font-size-expected.png: Added.
        * platform/chromium-win/fast/text/zero-font-size-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

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

10 years ago2011-04-18 Andrey Kosyakov <caseq@chromium.org>
caseq@chromium.org [Mon, 18 Apr 2011 11:54:33 +0000 (11:54 +0000)]
2011-04-18  Andrey Kosyakov  <caseq@chromium.org>

        Unreviewed. Added suppressions for shadow texts broken by r83936.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-04-18 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Mon, 18 Apr 2011 11:51:45 +0000 (11:51 +0000)]
2011-04-18  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Update test expectations for canvas/philip/tests/2d.gradient.interpolate.outside.html
        https://bugs.webkit.org/show_bug.cgi?id=58777

Regression caused by Skia roll: Chromium r81836.

        * platform/chromium/test_expectations.txt:

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

10 years ago2011-04-18 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 18 Apr 2011 11:29:15 +0000 (11:29 +0000)]
2011-04-18  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Pavel Feldman.

        REGRESSION (r81479): generate-inspector-idl fails on native win32
        https://bugs.webkit.org/show_bug.cgi?id=58315

        Disable git autocrlf for Inspector.json.

        * .gitattributes:

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

10 years ago2011-04-18 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Mon, 18 Apr 2011 11:16:08 +0000 (11:16 +0000)]
2011-04-18  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Rebaseline after changes to RenderDetailsMarker (Linux, Mac) (r84039)
        https://bugs.webkit.org/show_bug.cgi?id=58775

        * platform/chromium-linux/fast/html/details-add-summary-1-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-10-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-10-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-2-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-2-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-3-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-3-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-4-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-4-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-5-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-5-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-6-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-6-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-7-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-7-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-8-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-8-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-9-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-add-summary-9-expected.png:
        * platform/chromium-linux/fast/html/details-no-summary1-expected.png:
        * platform/chromium-linux/fast/html/details-no-summary2-expected.png:
        * platform/chromium-linux/fast/html/details-no-summary3-expected.png:
        * platform/chromium-linux/fast/html/details-no-summary4-expected.png:
        * platform/chromium-linux/fast/html/details-open-javascript-expected.png:
        * platform/chromium-linux/fast/html/details-open1-expected.png:
        * platform/chromium-linux/fast/html/details-open2-expected.png:
        * platform/chromium-linux/fast/html/details-open3-expected.png:
        * platform/chromium-linux/fast/html/details-open4-expected.png:
        * platform/chromium-linux/fast/html/details-open5-expected.png:
        * platform/chromium-linux/fast/html/details-open6-expected.png:
        * platform/chromium-linux/fast/html/details-position-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-1-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-1-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-2-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-2-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-3-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-3-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-4-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-4-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-5-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-5-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-6-and-click-expected.png:
        * platform/chromium-linux/fast/html/details-remove-summary-6-expected.png:
        * platform/chromium-linux/fast/html/details-writing-mode-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-1-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-10-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-10-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-2-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-2-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-3-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-3-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-4-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-4-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-5-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-5-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-6-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-6-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-7-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-7-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-8-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-8-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-9-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-add-summary-9-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-no-summary1-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-no-summary2-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-no-summary3-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-no-summary4-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open-javascript-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open1-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open2-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open3-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open4-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open5-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-open6-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-position-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-1-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-1-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-2-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-2-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-3-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-3-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-4-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-4-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-5-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-5-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-6-and-click-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-remove-summary-6-expected.png:
        * platform/chromium-mac-leopard/fast/html/details-writing-mode-expected.png:
        * platform/chromium-mac/fast/html/details-add-summary-10-and-click-expected.png: Copied from LayoutTests/platform/chromium-mac-leopard/fast/html/details-add-summary-5-expected.png.
        * platform/chromium-mac/fast/html/details-add-summary-10-expected.png: Added.

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Mon, 18 Apr 2011 09:47:50 +0000 (09:47 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r84111.
        http://trac.webkit.org/changeset/84111
        https://bugs.webkit.org/show_bug.cgi?id=58771

        Chromium linux layout tests are broken. (Requested by loislo2
        on #webkit).

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

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
loislo@chromium.org [Mon, 18 Apr 2011 09:45:10 +0000 (09:45 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r84112.
        http://trac.webkit.org/changeset/84112
        https://bugs.webkit.org/show_bug.cgi?id=58770

        Chromium linux layout tests are broken. (Requested by loislo2
        on #webkit).

        * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

10 years ago2011-04-18 Sheriff Bot <webkit.review.bot@gmail.com>
commit-queue@webkit.org [Mon, 18 Apr 2011 09:34:37 +0000 (09:34 +0000)]
2011-04-18  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r83968.
        http://trac.webkit.org/changeset/83968
        https://bugs.webkit.org/show_bug.cgi?id=58769

        Breaks Backspace in Web Inspector console (Requested by
        apavlov on #webkit).

        * inspector/front-end/inspector.js:
        (WebInspector.documentKeyDown):

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

10 years ago2011-04-15 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Mon, 18 Apr 2011 09:27:22 +0000 (09:27 +0000)]
2011-04-15  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: introduce WorkerInspectorController
        https://bugs.webkit.org/show_bug.cgi?id=58668

        WorkerInspectorController will be owned by WorkerContext and will hold all inspector
        agents and will also manage connection to the inspector frontend.

        * CMakeLists.txt:
        * GNUmakefile.list.am:
        * WebCore.gypi:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/js/ScriptState.cpp:
        (WebCore::scriptStateFromWorkerContext):
        * bindings/js/ScriptState.h:
        * bindings/v8/ScriptState.cpp:
        (WebCore::scriptStateFromWorkerContext):
        * bindings/v8/ScriptState.h:
        * inspector/InspectorState.cpp:
        (WebCore::InspectorState::updateCookie):
        * inspector/WorkerInspectorController.cpp: Added.
        (WebCore::WorkerInspectorController::WorkerInspectorController):
        (WebCore::WorkerInspectorController::~WorkerInspectorController):
        (WebCore::WorkerInspectorController::connectFrontend):
        (WebCore::WorkerInspectorController::disconnectFrontend):
        (WebCore::WorkerInspectorController::dispatchMessageFromFrontend):
        * inspector/WorkerInspectorController.h: Copied from Source/WebCore/bindings/js/ScriptState.h.
        * workers/WorkerContext.cpp:
        (WebCore::WorkerContext::WorkerContext):
        * workers/WorkerContext.h:
        (WebCore::WorkerContext::workerInspectorController):

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

10 years ago2011-04-18 John Knottenbelt <jknotten@chromium.org>
jknotten@chromium.org [Mon, 18 Apr 2011 09:15:56 +0000 (09:15 +0000)]
2011-04-18  John Knottenbelt  <jknotten@chromium.org>

        Unreviewed.

        [Chromium] Rebaseline after changes to RenderDetailsMarker (r84039)
        https://bugs.webkit.org/show_bug.cgi?id=58767

        * platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-1-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-10-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-10-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-10-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-2-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-2-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-2-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-3-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-3-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-3-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-4-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-4-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-4-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-5-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-5-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-5-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-6-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-6-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-6-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-7-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-7-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-7-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-8-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-8-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-8-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-9-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-add-summary-9-expected.png:
        * platform/chromium-win/fast/html/details-add-summary-9-expected.txt:
        * platform/chromium-win/fast/html/details-no-summary1-expected.png:
        * platform/chromium-win/fast/html/details-no-summary1-expected.txt:
        * platform/chromium-win/fast/html/details-no-summary2-expected.png:
        * platform/chromium-win/fast/html/details-no-summary2-expected.txt:
        * platform/chromium-win/fast/html/details-no-summary3-expected.png:
        * platform/chromium-win/fast/html/details-no-summary3-expected.txt:
        * platform/chromium-win/fast/html/details-no-summary4-expected.png:
        * platform/chromium-win/fast/html/details-no-summary4-expected.txt:
        * platform/chromium-win/fast/html/details-open-javascript-expected.png:
        * platform/chromium-win/fast/html/details-open-javascript-expected.txt:
        * platform/chromium-win/fast/html/details-open1-expected.png:
        * platform/chromium-win/fast/html/details-open1-expected.txt:
        * platform/chromium-win/fast/html/details-open2-expected.png:
        * platform/chromium-win/fast/html/details-open2-expected.txt:
        * platform/chromium-win/fast/html/details-open3-expected.png:
        * platform/chromium-win/fast/html/details-open3-expected.txt:
        * platform/chromium-win/fast/html/details-open4-expected.png:
        * platform/chromium-win/fast/html/details-open4-expected.txt:
        * platform/chromium-win/fast/html/details-open5-expected.png:
        * platform/chromium-win/fast/html/details-open5-expected.txt:
        * platform/chromium-win/fast/html/details-open6-expected.png:
        * platform/chromium-win/fast/html/details-open6-expected.txt:
        * platform/chromium-win/fast/html/details-position-expected.png:
        * platform/chromium-win/fast/html/details-position-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-1-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-1-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-2-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-2-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-2-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-3-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-3-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-3-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-4-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-4-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-5-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-5-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-5-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-6-and-click-expected.txt:
        * platform/chromium-win/fast/html/details-remove-summary-6-expected.png:
        * platform/chromium-win/fast/html/details-remove-summary-6-expected.txt:
        * platform/chromium-win/fast/html/details-writing-mode-expected.png:
        * platform/chromium-win/fast/html/details-writing-mode-expected.txt:
        * platform/chromium/test_expectations.txt:

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

10 years ago2011-04-17 Thierry Reding <thierry.reding@avionic-design.de>
commit-queue@webkit.org [Mon, 18 Apr 2011 06:53:23 +0000 (06:53 +0000)]
2011-04-17  Thierry Reding  <thierry.reding@avionic-design.de>

        Reviewed by Adam Barth.

        Fix build with GCC 4.6.

        * dom/make_names.pl: Execute preprocessor without the -P option. The
        preprocessor in GCC 4.6 eats empty lines, effectively breaking the
        parsing performed by this script. Dropping the -P option when invoking
        the preprocessor keeps the empty lines but as a side-effect also adds
        additional linemarkers.

        From the cpp manpage:

          -P  Inhibit generation of linemarkers in the output from the
              preprocessor. This might be useful when running the preprocessor
              on something that is not C code, and will be sent to a program
              which might be confused by the linemarkers.

        The linemarkers are not problematic, however, because the script
        properly handles them by ignoring all lines starting with a #.

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

10 years agoUpdate Qt specific expected files after r84039.
ossy@webkit.org [Mon, 18 Apr 2011 05:36:40 +0000 (05:36 +0000)]
Update Qt specific expected files after r84039.

* platform/qt/fast/html/details-[...] : Updated.

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

10 years agoReviewed by Dan Bernstein.
cwzwarich@webkit.org [Mon, 18 Apr 2011 05:15:20 +0000 (05:15 +0000)]
Reviewed by Dan Bernstein.

JSC no longer builds with Clang due to -Woverloaded-virtual warning
https://bugs.webkit.org/show_bug.cgi?id=58760

Rename Structure's specificValue overload of put to putSpecificValue to avoid
Clang's warning for overloading a virtual function.

* runtime/Structure.cpp:
(JSC::Structure::addPropertyTransition):
(JSC::Structure::addPropertyWithoutTransition):
(JSC::Structure::putSpecificValue):
* runtime/Structure.h:

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

10 years ago<http://webkit.org/b/58463> Switch HTTP pipelining from user default to private setting
ddkilzer@apple.com [Mon, 18 Apr 2011 04:06:25 +0000 (04:06 +0000)]
<webkit.org/b/58463> Switch HTTP pipelining from user default to private setting
<rdar://problem/9268729>

Reviewed by Dan Bernstein.

This replaces support for the WebKitEnableHTTPPipelining user
default with methods on the WebCore::ResourceRequest class in
WebCore, the WebView class in WebKit1, and the WebContext class
in WebKit2.  It also removes support for the
WebKitForceHTTPPipeliningPriorityHigh user default which was not
needed.

Source/WebCore:

Run these commands if you set the user defaults previously,
replacing "BUNDLE.ID" with your application's bundle ID:

    defaults delete BUNDLE.ID WebKitEnableHTTPPipelining
    defaults delete BUNDLE.ID WebKitForceHTTPPipeliningPriorityHigh

* WebCore.exp.in: Export ResourceRequest::httpPipeliningEnabled()
and ResourceRequest::setHTTPPipeliningEnabled().

* platform/network/ResourceRequestBase.h:
(WebCore::isHTTPPipeliningEnabled): Removed declaration.
(WebCore::shouldForceHTTPPipeliningPriorityHigh): Removed declaration.

* platform/network/cf/ResourceRequest.h:
(WebCore::ResourceRequest::httpPipeliningEnabled): Added declaration.
(WebCore::ResourceRequest::setHTTPPipeliningEnabled): Added declaration.
(WebCore::ResourceRequest::s_httpPipeliningEnabled): Added declaration.

* platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::s_httpPipeliningEnabled): Added.
(WebCore::ResourceRequest::httpPipeliningEnabled): Added.
(WebCore::ResourceRequest::setHTTPPipeliningEnabled): Added.
(WebCore::initializeMaximumHTTPConnectionCountPerHost): Switched
to use ResourceRequest::httpPipeliningEnabled().
(WebCore::readBooleanPreference): Removed.
(WebCore::isHTTPPipeliningEnabled): Removed.
(WebCore::shouldForceHTTPPipeliningPriorityHigh): Removed.

* platform/network/mac/ResourceRequestMac.mm:
(WebCore::ResourceRequest::doUpdateResourceRequest): Switched to
use ResourceRequest::httpPipeliningEnabled().  Removed check for
shouldForceHTTPPipeliningPriorityHigh().
(WebCore::ResourceRequest::doUpdatePlatformRequest): Ditto.

Source/WebKit/mac:

* WebView/WebView.mm:
(+[WebView(WebPrivate) _HTTPPipeliningEnabled]): Added.
(+[WebView(WebPrivate) _setHTTPPipeliningEnabled:]): Added.
* WebView/WebViewPrivate.h:
(+[WebView(WebPrivate) _HTTPPipeliningEnabled]): Added declaration.
(+[WebView(WebPrivate) _setHTTPPipeliningEnabled:]): Added declaration.

Source/WebKit2:

* UIProcess/API/C/WKContext.cpp:
(_WKContextSetHTTPPipeliningEnabled): Added.
* UIProcess/API/C/WKContextPrivate.h:
(_WKContextSetHTTPPipeliningEnabled): Added declaration.
* UIProcess/WebContext.cpp:
(WebKit::WebContext::setHTTPPipeliningEnabled): Added.
(WebKit::WebContext::httpPipeliningEnabled): Added.
* UIProcess/WebContext.h:
(WebKit::WebContext::setHTTPPipeliningEnabled): Added declaration.
(WebKit::WebContext::httpPipeliningEnabled): Added declaration.

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

10 years agoREGRESSION (r84096): <br> moved to the right in fast/block/float/032.html
mitz@apple.com [Mon, 18 Apr 2011 02:10:04 +0000 (02:10 +0000)]
REGRESSION (r84096): <br> moved to the right in fast/block/float/032.html
https://bugs.webkit.org/show_bug.cgi?id=58736

Reviewed by Maciej Stachowiak.

Source/WebCore:

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::appendFloatingObjectToLastLine): It is enough to extend the float so
that it touches the bottom of the previous line, since RenderBlock::markLinesDirtyInBlockRange()
always dirties the line after the last one in the range.

LayoutTests:

Revert to the correct results.

* platform/chromium-win/fast/block/float/032-expected.txt:
* platform/gtk/fast/block/float/032-expected.txt:
* platform/mac/fast/block/float/032-expected.txt:
* platform/qt/fast/block/float/032-expected.txt:

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

10 years ago2011-04-17 Sam Weinig <sam@webkit.org>
weinig@apple.com [Mon, 18 Apr 2011 00:10:15 +0000 (00:10 +0000)]
2011-04-17  Sam Weinig  <sam@webkit.org>

        Reviewed by Geoffrey Garen.

        Make more strings in WebKit2 localizable
        https://bugs.webkit.org/show_bug.cgi?id=58757

        * UIProcess/API/mac/PDFViewController.mm:
        (-[WKPDFView menuForEvent:]):
        * UIProcess/API/mac/PageClientImpl.mm:
        (WebKit::PageClientImpl::setViewportArguments):
        (WebKit::PageClientImpl::registerEditCommand):
        * UIProcess/WebEditCommandProxy.cpp:
        (WebKit::WebEditCommandProxy::nameForEditAction):
        * UIProcess/WebEditCommandProxy.h:
        Use WebCore's localization macro to make more strings localizable.

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 23:58:55 +0000 (23:58 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed. Add missing include to fix build without precompiled header.

        * rendering/RenderMediaControls.cpp:

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

10 years ago2011-04-17 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Sun, 17 Apr 2011 23:50:04 +0000 (23:50 +0000)]
2011-04-17  Daniel Bates  <dbates@webkit.org>

        Attempt to fix the Chromium build after changeset 84110 <http://trac.webkit.org/changeset/84110>
        (https://bugs.webkit.org/show_bug.cgi?id=57842).

        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::CachedResourceLoader::canRequest): Rename CachedResource::LinkPrefetch to CachedResource::LinkResource.

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

10 years ago2011-04-17 Daniel Bates <dbates@webkit.org>
dbates@webkit.org [Sun, 17 Apr 2011 23:33:43 +0000 (23:33 +0000)]
2011-04-17  Daniel Bates  <dbates@webkit.org>

        Acknowledge Adam Barth for reviewing the patch committed in changeset
        84114 <http://trac.webkit.org/changeset/84114>. And fix my email address.

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

10 years ago2011-04-17 Daniel Bates <dbates@webkit.com>
dbates@webkit.org [Sun, 17 Apr 2011 23:27:46 +0000 (23:27 +0000)]
2011-04-17  Daniel Bates  <dbates@webkit.com>

        Reviewed by Eric Seidel.

        webkit-patch land hangs if svn prompts for credentials
        https://bugs.webkit.org/show_bug.cgi?id=31500

        Prompt for username and password when using git-svn and there aren't cached SVN credentials.

        * Scripts/webkitpy/common/checkout/scm.py:
          - Added mixin class SVNRepository and made both class SVN and Git inherit from it.
          - Moved SVN.has_authorization_for_realm() to class SVNRepository and removed default value
            for argument realm; modified call sites as needed.
          - Modified AuthenticationError constructor to take optional prompt_for_password argument.
          - Modified {SCM, SVN, Git}.commit_with_message() to take optional password argument.
          - Modified Git._commit_on_branch() to take optional username and password argument.
          - Modified Git.push_local_commits_to_server() to take optional username and password
            argument and to call has_authorization_for_realm().
        * Scripts/webkitpy/common/checkout/scm_unittest.py:
          - Modified SVNTest.test_commit_without_authorization() to take dummy realm argument.
          - Modified SVNTest.test_not_have_authorization_for_realm() to pass realm argument to
            SVN.has_authorization_for_realm().
        * Scripts/webkitpy/common/net/credentials.py:
          - Modified Credentials.read_credentials() to call User.prompt_password() instead
            of using getpass.getpass() directly.
        * Scripts/webkitpy/common/system/user.py:
          - Added User.prompt_password().
        * Scripts/webkitpy/tool/steps/commit.py:
          - Modified Commit.run() to prompt for a password if needed.

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 23:08:13 +0000 (23:08 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Eric Seidel.

        Remove pthread dependency of GCController
        https://bugs.webkit.org/show_bug.cgi?id=54833

        * bindings/js/GCController.cpp:
        (WebCore::GCController::garbageCollectOnAlternateThreadForDebugging):

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

10 years ago2011-04-17 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sun, 17 Apr 2011 21:49:37 +0000 (21:49 +0000)]
2011-04-17  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: save stderr into the layout-test-results dir
        https://bugs.webkit.org/show_bug.cgi?id=58690

        * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py:
        * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:

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

10 years ago2011-04-17 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Sun, 17 Apr 2011 21:48:01 +0000 (21:48 +0000)]
2011-04-17  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Ojan Vafai.

        new-run-webkit-tests: read stderr from chromium DRT separately
        https://bugs.webkit.org/show_bug.cgi?id=58708

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

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

10 years ago2011-04-17 Gavin Peters <gavinp@chromium.org>
commit-queue@webkit.org [Sun, 17 Apr 2011 21:30:32 +0000 (21:30 +0000)]
2011-04-17  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Add support for link rel type "subresource"
        https://bugs.webkit.org/show_bug.cgi?id=57842

        Link rel=prefetch is great for cache warming for resources on
        subsequent pages, but it launches requests at too low a priority
        to use for subresources of the current page.

        During testing, I was dissapointed to see the results for the http
        test below don't give the subresource priority ordering.  This is
        another instance of https://bugs.webkit.org/show_bug.cgi?id=49238
        which I'll be working on next, and thus fix the test.

        * fast/dom/HTMLLinkElement/subresource-expected.txt: Added.
        * fast/dom/HTMLLinkElement/subresource.html: Added.
        * http/tests/misc/link-rel-prefetch-and-subresource-expected.txt: Added.
        * http/tests/misc/link-rel-prefetch-and-subresource.html: Added.
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2011-04-17  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Add support for link rel type "subresource"
        https://bugs.webkit.org/show_bug.cgi?id=57842

        Link rel=prefetch is great for cache warming for resources on
        subsequent pages, but it launches requests at too low a priority
        to use for subresources of the current page.

        Particularly after https://bugs.webkit.org/show_bug.cgi?id=51940
        is implemented, a rel type that launches requests at an higher
        priority is going to be very useful.  This rel type is in the
        HTML5 spec at http://wiki.whatwg.org/wiki/RelExtensions .  An
        expected use case will be for servers to provide subresource hints
        in link headers, which will allow servers to help make the web
        faster.

        This feature continues my implementation of the Link header, which
        we've talked about in WebKit-dev in
        https://lists.webkit.org/pipermail/webkit-dev/2011-February/016034.html.

        Tests: fast/dom/HTMLLinkElement/subresource.html
               http/tests/misc/link-rel-prefetch-and-subresource.html

        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::~HTMLLinkElement):
        (WebCore::HTMLLinkElement::tokenizeRelAttribute):
        (WebCore::HTMLLinkElement::process):
        (WebCore::HTMLLinkElement::onloadTimerFired):
        (WebCore::HTMLLinkElement::notifyFinished):
        * html/HTMLLinkElement.h:
        (WebCore::HTMLLinkElement::RelAttribute::RelAttribute):
        * loader/cache/CachedResource.cpp:
        (WebCore::defaultPriorityForResourceType):
        * loader/cache/CachedResource.h:
        (WebCore::CachedResource::isLinkResource):
        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::createResource):
        (WebCore::CachedResourceLoader::requestLinkResource):
        (WebCore::CachedResourceLoader::canRequest):
        (WebCore::CachedResourceLoader::incrementRequestCount):
        (WebCore::CachedResourceLoader::decrementRequestCount):
        * loader/cache/CachedResourceLoader.h:
        * loader/cache/CachedResourceRequest.cpp:
        (WebCore::cachedResourceTypeToTargetType):
        (WebCore::CachedResourceRequest::load):

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

10 years ago2011-04-17 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Sun, 17 Apr 2011 21:09:12 +0000 (21:09 +0000)]
2011-04-17  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Dan Bernstein.

        Assign to self in WebInspectorWindowController constructors
        https://bugs.webkit.org/show_bug.cgi?id=58749

        * WebCoreSupport/WebInspectorClient.mm:
        (-[WebInspectorWindowController init]):
        (-[WebInspectorWindowController initWithInspectedWebView:]):

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

10 years ago2011-04-17 Joseph Pecoraro <joepeck@webkit.org>
joepeck@webkit.org [Sun, 17 Apr 2011 20:41:32 +0000 (20:41 +0000)]
2011-04-17  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Move WebNodeHighlighter into its own file
        https://bugs.webkit.org/show_bug.cgi?id=58746

        * WebKit.xcodeproj/project.pbxproj: Add WebNodeHighlighter.{h,mm}.

2011-04-17  Joseph Pecoraro  <joepeck@webkit.org>

        Reviewed by Timothy Hatcher.

        Move WebNodeHighlighter into its own file
        https://bugs.webkit.org/show_bug.cgi?id=58746

        Extract this class into its own file alongside the
        other WebNodeHighlight files. In doing so do some
        cleanup on WebInspectorClient removing some methods
        that were never called.

        * WebCoreSupport/WebInspectorClient.mm:
        (WebInspectorClient::WebInspectorClient): style fix.
        * WebInspector/WebNodeHighlighter.h: Added.
        * WebInspector/WebNodeHighlighter.mm: Added.
        (-[WebNodeHighlighter initWithInspectedWebView:]): call super init.
        (-[WebNodeHighlighter dealloc]):
        (-[WebNodeHighlighter highlightNode:]):
        (-[WebNodeHighlighter hideHighlight]):
        (-[WebNodeHighlighter didAttachWebNodeHighlight:]):
        (-[WebNodeHighlighter willDetachWebNodeHighlight:]):

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

10 years ago<rdar://problem/9296211> REGRESSION (r83514): Failing fast/repaint/trailing-floats...
mitz@apple.com [Sun, 17 Apr 2011 20:23:14 +0000 (20:23 +0000)]
<rdar://problem/9296211> REGRESSION (r83514): Failing fast/repaint/trailing-floats-root-line-box-overflow.html
https://bugs.webkit.org/show_bug.cgi?id=58745

Reviewed by Joseph Pecoraro.

This is really a regression from r82611, but it went unnoticed due to a mistake in r73385,
which was fixed in r83514.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren): Actually assign the bottom visual overflow to the
variable so named, not the top layout overflow.

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 19:06:34 +0000 (19:06 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Remove WTF_PLATFORM_SGL
        https://bugs.webkit.org/show_bug.cgi?id=58743

        WTF_PLATFORM_SGL and PLATFORM(SGL) are not used in the code anywhere.

        * wtf/Platform.h:

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

10 years ago2011-04-17 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Sun, 17 Apr 2011 19:03:13 +0000 (19:03 +0000)]
2011-04-17  Geoffrey Garen  <ggaren@apple.com>

        Strongly suggested, but not necessarily reviewed, by
        Sam Weinig and Maciej Stachowiak.

        Renamed DOMObject* => JSDOMWrapper*.

        * bindings/js/DOMWrapperWorld.cpp:
        (WebCore::isObservable):
        (WebCore::DOMObjectHandleOwner::finalize):
        * bindings/js/DOMWrapperWorld.h:
        * bindings/js/JSArrayBufferViewHelper.h:
        (WebCore::toJSArrayBufferView):
        * bindings/js/JSCSSRuleCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSCSSValueCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSDOMBinding.h:
        (WebCore::JSDOMWrapperWithGlobalPointer::globalObject):
        (WebCore::JSDOMWrapperWithGlobalPointer::JSDOMWrapperWithGlobalPointer):
        (WebCore::DOMConstructorObject::DOMConstructorObject):
        (WebCore::createDOMObjectWrapper):
        (WebCore::getDOMObjectWrapper):
        * bindings/js/JSDOMWrapper.cpp:
        (WebCore::JSDOMWrapper::~JSDOMWrapper):
        * bindings/js/JSDOMWrapper.h:
        (WebCore::JSDOMWrapper::JSDOMWrapper):
        * bindings/js/JSDocumentCustom.cpp:
        (WebCore::JSDocument::location):
        (WebCore::toJS):
        * bindings/js/JSEventCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSHTMLCollectionCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSImageDataCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSSVGPathSegCustom.cpp:
        (WebCore::toJS):
        * bindings/js/JSStyleSheetCustom.cpp:
        (WebCore::toJS):
        * bindings/js/ScriptWrappable.h:
        (WebCore::ScriptWrappable::wrapper):
        (WebCore::ScriptWrappable::setWrapper):
        * bindings/scripts/CodeGeneratorJS.pm:

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 18:59:57 +0000 (18:59 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CA) to USE(CA)
        https://bugs.webkit.org/show_bug.cgi?id=58742

        * wtf/Platform.h:
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CA) to USE(CA)
        https://bugs.webkit.org/show_bug.cgi?id=58742

        * config.h:
        * platform/graphics/ca/TransformationMatrixCA.cpp:
        * platform/graphics/cg/ImageBufferDataCG.h:
        * platform/graphics/transforms/TransformationMatrix.h:
        * platform/mac/WebCoreSystemInterface.h:
        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::containsPaintedContent):
        * rendering/RenderLayerCompositor.cpp:
        (WebCore::RenderLayerCompositor::updateBacking):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CA) to USE(CA)
        https://bugs.webkit.org/show_bug.cgi?id=58742

        * WebProcess/WebPage/LayerTreeHost.cpp:
        * WebProcess/WebPage/win/LayerTreeHostWin.cpp:
        (WebKit::LayerTreeHost::supportsAcceleratedCompositing):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CA) to USE(CA)
        https://bugs.webkit.org/show_bug.cgi?id=58742

        * DumpRenderTree/mac/DumpRenderTree.mm:
        (resetDefaultsToConsistentValues):

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

10 years ago2011-04-17 Young Han Lee <joybro@company100.net>
commit-queue@webkit.org [Sun, 17 Apr 2011 14:29:11 +0000 (14:29 +0000)]
2011-04-17  Young Han Lee  <joybro@company100.net>

        Reviewed by Benjamin Poulain.

        [Texmap] [Qt] Improve readability by using gInVertexAttributeIndex instead of 0.
        https://bugs.webkit.org/show_bug.cgi?id=58739

        gInVertexAttributeIndex is a constant variable to point the location of
        "InVertex" attribute of the vertex shaders.

        * platform/graphics/opengl/TextureMapperGL.cpp:
        (WebCore::TextureMapperGL::drawTexture):
        (WebCore::TextureMapperGL::paintToTarget):

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

10 years ago2011-04-17 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Sun, 17 Apr 2011 11:04:16 +0000 (11:04 +0000)]
2011-04-17  Kinuko Yasuda  <kinuko@chromium.org>

        Not reviewed: Fix copyright (I had submitted the file with wrong
        copyright line).

        * storage/StorageInfo.idl:

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

10 years ago2011-04-17 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sun, 17 Apr 2011 10:04:48 +0000 (10:04 +0000)]
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CG) to USE(CG)
        https://bugs.webkit.org/show_bug.cgi?id=58729

        * wtf/Platform.h:
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CG) to USE(CG)
        https://bugs.webkit.org/show_bug.cgi?id=58729

        * config.h:
        * html/HTMLCanvasElement.cpp:
        (WebCore::HTMLCanvasElement::toDataURL):
        * html/HTMLCanvasElement.h:
        * html/canvas/CanvasRenderingContext2D.cpp:
        (WebCore::CanvasRenderingContext2D::setShadow):
        (WebCore::CanvasRenderingContext2D::drawTextInternal):
        * html/canvas/CanvasRenderingContext2D.h:
        * html/canvas/CanvasStyle.cpp:
        (WebCore::CanvasStyle::applyStrokeColor):
        (WebCore::CanvasStyle::applyFillColor):
        * loader/cache/CachedFont.cpp:
        * loader/cache/CachedImage.cpp:
        (WebCore::CachedImage::createImage):
        * platform/FloatConversion.h:
        * platform/MIMETypeRegistry.cpp:
        (WebCore::initializeSupportedImageMIMETypes):
        (WebCore::initializeSupportedImageMIMETypesForEncoding):
        * platform/graphics/BitmapImage.h:
        * platform/graphics/Color.h:
        * platform/graphics/DashArray.h:
        * platform/graphics/FloatPoint.h:
        * platform/graphics/FloatRect.h:
        * platform/graphics/FloatSize.h:
        * platform/graphics/FontPlatformData.h:
        (WebCore::FontPlatformData::FontPlatformData):
        (WebCore::FontPlatformData::hash):
        * platform/graphics/GlyphBuffer.h:
        (WebCore::GlyphBuffer::advanceAt):
        (WebCore::GlyphBuffer::add):
        (WebCore::GlyphBuffer::expandLastAdvance):
        * platform/graphics/Gradient.h:
        * platform/graphics/GraphicsContext.cpp:
        (WebCore::GraphicsContext::setLegacyShadow):
        * platform/graphics/GraphicsContext.h:
        (WebCore::GraphicsContextState::GraphicsContextState):
        * platform/graphics/GraphicsContext3D.h:
        * platform/graphics/Image.cpp:
        * platform/graphics/Image.h:
        * platform/graphics/ImageBuffer.cpp:
        * platform/graphics/ImageBuffer.h:
        * platform/graphics/ImageBufferData.h:
        * platform/graphics/ImageSource.h:
        * platform/graphics/IntPoint.h:
        * platform/graphics/IntRect.h:
        * platform/graphics/IntSize.h:
        * platform/graphics/Path.h:
        * platform/graphics/Pattern.h:
        * platform/graphics/SimpleFontData.h:
        * platform/graphics/cg/ColorCG.cpp:
        * platform/graphics/cg/FloatPointCG.cpp:
        * platform/graphics/cg/FloatRectCG.cpp:
        * platform/graphics/cg/FloatSizeCG.cpp:
        * platform/graphics/cg/ImageCG.cpp:
        * platform/graphics/cg/ImageSourceCG.cpp:
        * platform/graphics/cg/IntPointCG.cpp:
        * platform/graphics/cg/IntRectCG.cpp:
        * platform/graphics/cg/IntSizeCG.cpp:
        * platform/graphics/cg/PDFDocumentImage.cpp:
        * platform/graphics/cg/PDFDocumentImage.h:
        * platform/graphics/cg/PathCG.cpp:
        * platform/graphics/cg/TransformationMatrixCG.cpp:
        * platform/graphics/chromium/ImageLayerChromium.h:
        * platform/graphics/chromium/LayerRendererChromium.cpp:
        * platform/graphics/chromium/LayerRendererChromium.h:
        * platform/graphics/chromium/PlatformCanvas.cpp:
        (WebCore::PlatformCanvas::resize):
        (WebCore::PlatformCanvas::AutoLocker::AutoLocker):
        (WebCore::PlatformCanvas::Painter::Painter):
        * platform/graphics/chromium/PlatformCanvas.h:
        * platform/graphics/chromium/PlatformImage.cpp:
        (WebCore::PlatformImage::updateFromImage):
        * platform/graphics/opentype/OpenTypeUtilities.cpp:
        * platform/graphics/transforms/AffineTransform.h:
        * platform/graphics/transforms/TransformationMatrix.h:
        * platform/graphics/win/DIBPixelData.h:
        * platform/graphics/win/FontCacheWin.cpp:
        (WebCore::FontCache::platformInit):
        (WebCore::createGDIFont):
        (WebCore::FontCache::createFontPlatformData):
        * platform/graphics/win/FontPlatformDataWin.cpp:
        (WebCore::FontPlatformData::FontPlatformData):
        * platform/graphics/win/GraphicsContextWin.cpp:
        * platform/graphics/win/MediaPlayerPrivateFullscreenWindow.cpp:
        * platform/graphics/win/SimpleFontDataWin.cpp:
        * platform/image-decoders/ImageDecoder.cpp:
        * platform/image-decoders/ImageDecoder.h:
        * rendering/RenderObject.h:
        * rendering/svg/RenderSVGResourceFilter.cpp:
        (WebCore::RenderSVGResourceFilter::postApplyResource):
        * rendering/svg/RenderSVGResourceGradient.cpp:
        (WebCore::RenderSVGResourceGradient::RenderSVGResourceGradient):
        (WebCore::RenderSVGResourceGradient::applyResource):
        * rendering/svg/RenderSVGResourceGradient.h:
        * rendering/svg/RenderSVGResourceMasker.cpp:
        (WebCore::RenderSVGResourceMasker::drawContentIntoMaskImage):
        * rendering/svg/RenderSVGResourcePattern.cpp:
        (WebCore::RenderSVGResourcePattern::applyResource):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CG) to USE(CG)
        https://bugs.webkit.org/show_bug.cgi?id=58729

        * src/GraphicsContext3DChromium.cpp:
        (WebCore::GraphicsContext3DInternal::GraphicsContext3DInternal):
        (WebCore::GraphicsContext3DInternal::~GraphicsContext3DInternal):
        (WebCore::GraphicsContext3DInternal::paintRenderingResultsToCanvas):
        (WebCore::GraphicsContext3DInternal::reshape):
        * src/GraphicsContext3DInternal.h:
        * src/PlatformBridge.cpp:
        * src/WebViewImpl.cpp:
        (WebKit::WebViewImpl::doPixelReadbackToCanvas):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CG) to USE(CG)
        https://bugs.webkit.org/show_bug.cgi?id=58729

        * WebFrame.cpp:
        (WebFrame::spoolPages):
        * WebFrame.h:
        * WebPreferences.cpp:
        (WebPreferences::setFontSmoothing):
        (WebPreferences::setFontSmoothingContrast):
        * WebView.cpp:
        (systemParameterChanged):
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CG) to USE(CG)
        https://bugs.webkit.org/show_bug.cgi?id=58729

        * Shared/ShareableBitmap.h:
        * Shared/WebCoreArgumentCoders.cpp:
        * Shared/WebCoreArgumentCoders.h:
        * Shared/WebGraphicsContext.cpp:
        (WebKit::WebGraphicsContext::WebGraphicsContext):
        * Shared/WebGraphicsContext.h:
        * Shared/win/PlatformCertificateInfo.cpp:
        (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
        * UIProcess/win/WebView.cpp:
        (WebKit::WebView::setFindIndicator):
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::drawRectToPDF):
        (WebKit::WebPage::drawPagesToPDF):
        * WebProcess/WebPage/win/WebPageWin.cpp:
        (WebKit::WebPage::platformPreferencesDidChange):
        * config.h:
2011-04-17  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Rename PLATFORM(CG) to USE(CG)
        https://bugs.webkit.org/show_bug.cgi?id=58729

        * DumpRenderTree/PixelDumpSupport.cpp:
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::paintRect):
        * DumpRenderTree/config.h:
        * DumpRenderTree/win/PixelDumpSupportWin.cpp:
        (createBitmapContextFromWebView):
        * TestWebKitAPI/PlatformWebView.h:
        * WebKitTestRunner/config.h:
        * WebKitTestRunner/win/TestInvocationWin.cpp:

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

10 years ago2011-04-16 Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org>
commit-queue@webkit.org [Sun, 17 Apr 2011 06:29:25 +0000 (06:29 +0000)]
2011-04-16  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>

        Reviewed by Andreas Kling.

        [Qt] Autotest got missed in the handover of the QML WebView element
        https://bugs.webkit.org/show_bug.cgi?id=41449

        Importing WebView QML element test cases from Qt repository. I did some
        style modifications and simplifications in the original code but hopefully
        without changing the behavior.

        Tests that do not pass are marked with QEXPECT_FAIL or QSKIP. The two major
        issues currently are:

        - pixelCache() test checked the usage of pixel cache by using a subclass of
          QDeclarativeWebView. We can't do that right now because this class is not
          exported. We may need a Q_AUTOTEST_EXPORT thing for QtWebKit if we want
          this kind of test.
        - elementAtArea() test uses a function that is not exported. But in this case
          I think we should test it's user, the public method "heuristicZoom".

        * tests/qdeclarativewebview/resources/basic.html: Added.
        * tests/qdeclarativewebview/resources/basic.png: Added.
        * tests/qdeclarativewebview/resources/basic.qml: Added.
        * tests/qdeclarativewebview/resources/elements.html: Added.
        * tests/qdeclarativewebview/resources/elements.qml: Added.
        * tests/qdeclarativewebview/resources/forward.html: Added.
        * tests/qdeclarativewebview/resources/forward.png: Added.
        * tests/qdeclarativewebview/resources/javaScript.html: Added.
        * tests/qdeclarativewebview/resources/javaScript.qml: Added.
        * tests/qdeclarativewebview/resources/loadError.qml: Added.
        * tests/qdeclarativewebview/resources/newwindows.html: Added.
        * tests/qdeclarativewebview/resources/newwindows.qml: Added.
        * tests/qdeclarativewebview/resources/propertychanges.qml: Added.
        * tests/qdeclarativewebview/resources/sethtml.qml: Added.
        * tests/qdeclarativewebview/tst_qdeclarativewebview.cpp:
        (tst_QDeclarativeWebView::tmpDir):
        (strippedHtml):
        (fileContents):
        (removeRecursive):
        (tst_QDeclarativeWebView::cleanupTestCase):
        (tst_QDeclarativeWebView::basicProperties):
        (tst_QDeclarativeWebView::elementAreaAt):
        (tst_QDeclarativeWebView::historyNav):
        (callEvaluateJavaScript):
        (tst_QDeclarativeWebView::javaScript):
        (tst_QDeclarativeWebView::loadError):
        (tst_QDeclarativeWebView::multipleWindows):
        (tst_QDeclarativeWebView::newWindowComponent):
        (tst_QDeclarativeWebView::newWindowParent):
        (tst_QDeclarativeWebView::pressGrabTime):
        (tst_QDeclarativeWebView::renderingEnabled):
        (tst_QDeclarativeWebView::setHtml):
        (tst_QDeclarativeWebView::settings):
        (tst_QDeclarativeWebView::checkNoErrors):
        * tests/qdeclarativewebview/tst_qdeclarativewebview.qrc:

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

10 years ago2011-04-16 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Sun, 17 Apr 2011 02:25:40 +0000 (02:25 +0000)]
2011-04-16  Adam Barth  <abarth@webkit.org>

        Reviewed by Sam Weinig.

        about:blank documents in new tabs can XHR anywhere
        https://bugs.webkit.org/show_bug.cgi?id=58712

        Empty security origins have supposed to be low-privilege, we should
        mark them as having a unique origin.

        * manual-tests/about-blank-xhr.html: Added.
        * page/SecurityOrigin.cpp:
        (WebCore::SecurityOrigin::SecurityOrigin):
        * page/SecurityOrigin.h:

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

10 years agoUpdated results for fast/block/float/032.html after r84096. Filed http://webkit.org...
mitz@apple.com [Sun, 17 Apr 2011 00:20:48 +0000 (00:20 +0000)]
Updated results for fast/block/float/032.html after r84096. Filed webkit.org/b/58736 to
track this change.

* platform/chromium-win/fast/block/float/032-expected.txt:
* platform/gtk/fast/block/float/032-expected.txt:
* platform/mac/fast/block/float/032-expected.txt:
* platform/qt/fast/block/float/032-expected.txt:

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

10 years agoUnreviewed.
kbalazs@webkit.org [Sat, 16 Apr 2011 22:51:49 +0000 (22:51 +0000)]
Unreviewed.

[Qt][WK2] Unskip fast/loader/null-request-after-willSendRequest.html since
it is passing for a long time.

* platform/qt-wk2/Skipped:

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

10 years ago<rdar://problem/9190108> Crash when hiding a float
mitz@apple.com [Sat, 16 Apr 2011 21:59:36 +0000 (21:59 +0000)]
<rdar://problem/9190108> Crash when hiding a float

Reviewed by Simon Fraser.

Source/WebCore:

Test: fast/block/float/overhanging-tall-block.html

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::addOverhangingFloats): Moved the call to childLogicalTop() out of the loop.
Capped the logical bottom so that we get the correct maximum.
* rendering/RenderBlock.h: Decleared appendFloatingObjectToLastLine().
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::appendFloatingObjectToLastLine): Added. Ensures correct bookkeeping by
extending the float if needed so that it touches the line.
(WebCore::RenderBlock::layoutInlineChildren): Changed to call appendFloatingObjectToLastLine().
(WebCore::RenderBlock::checkFloatsInCleanLine): Capped the float height so the we mark the right
range of lines as dirty.
* rendering/RootInlineBox.h:
(WebCore::RootInlineBox::appendFloat): Replaced the floats() accessor with this function, which
allows the creation of the vector to be combined with appending the first float.

LayoutTests:

* fast/block/float/overhanging-tall-block.html: Added.
* platform/mac/fast/block/float/overhanging-tall-block-expected.checksum: Added.
* platform/mac/fast/block/float/overhanging-tall-block-expected.png: Added.
* platform/mac/fast/block/float/overhanging-tall-block-expected.txt: Added.

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

10 years ago2011-04-16 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Sat, 16 Apr 2011 21:22:33 +0000 (21:22 +0000)]
2011-04-16  Anders Carlsson  <andersca@apple.com>

        Reviewed by Sam Weinig.

        Crash when NPP_Write returns -1 when writing the manual stream
        https://bugs.webkit.org/show_bug.cgi?id=58735
        <rdar://problem/9124993>

        If NPP_Write returns -1 we must cancel the stream.

        * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp:
        (WebKit::NetscapePluginStream::deliverDataToPlugin):

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

10 years ago2011-04-16 Sam Weinig <sam@webkit.org>
weinig@apple.com [Sat, 16 Apr 2011 21:19:13 +0000 (21:19 +0000)]
2011-04-16  Sam Weinig  <sam@webkit.org>

        Reviewed by Simon Fraser.

        Windows should use WebCore localized strings
        <rdar://problem/9119405>
        https://bugs.webkit.org/show_bug.cgi?id=58733

        * WebCoreSupport/WebEditorClient.cpp:
        (undoNameForEditAction):
        (WebEditorClient::registerCommandForUndo):
        * WebPreferences.cpp:
        (WebPreferences::initializeDefaultSettings):
        * WebURLResponse.cpp:
        (CFHTTPMessageCopyLocalizedShortDescriptionForStatusCode):
        (WebURLResponse::localizedStringForStatusCode):
        Change to use WEB_UI_STRING.

        * WebCoreSupport/WebPlatformStrategies.cpp:
        * WebCoreSupport/WebPlatformStrategies.h:
        Remove the localization strategy in favor of using the default one.

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

10 years ago2011-04-16 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Sat, 16 Apr 2011 21:15:21 +0000 (21:15 +0000)]
2011-04-16  Simon Fraser  <simon.fraser@apple.com>

        Fix border drawing tests to drop -webkit prefix on border-radius, and make the tests compatible with Firefox
        https://bugs.webkit.org/show_bug.cgi?id=58734

        Add result for new test.

        * platform/mac/fast/borders/webkit-border-radius-expected.checksum: Added.
        * platform/mac/fast/borders/webkit-border-radius-expected.png: Added.
        * platform/mac/fast/borders/webkit-border-radius-expected.txt: Added.

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