WebKit-https.git
9 years ago2010-11-11 Kavita Kanetkar <kkanetkar@chromium.org>
commit-queue@webkit.org [Fri, 12 Nov 2010 05:38:23 +0000 (05:38 +0000)]
2010-11-11  Kavita Kanetkar  <kkanetkar@chromium.org>

        Reviewed by Dumitru Daniliuc.

        FileSystem: Fix a link error for non-chromium WebKit build
        https://bugs.webkit.org/show_bug.cgi?id=49296

        * WebCore.xcodeproj/project.pbxproj:
        * inspector/InspectorFileSystemAgent.cpp:
        (WebCore::InspectorFileSystemAgentCallbacks::didOpenFileSystem):
        (WebCore::InspectorFileSystemAgentCallbacks::didReadDirectoryEntry):
        (WebCore::InspectorFileSystemAgentCallbacks::didReadDirectoryEntries):
        (WebCore::InspectorFileSystemAgentCallbacks::didCreateFileWriter):
        (WebCore::InspectorFileSystemAgentCallbacks::didFail):
        (WebCore::InspectorFileSystemAgent::revealFolderInOS):

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

9 years ago2010-11-11 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Fri, 12 Nov 2010 05:17:14 +0000 (05:17 +0000)]
2010-11-11  Nate Chapin  <japhet@chromium.org>

        Reviewed by Antti Koivisto.

        Test update for https://bugs.webkit.org/show_bug.cgi?id=49351,
        the timing of willSendRequest() calls will be slightly different.

        * platform/mac/security/block-test-expected.txt:
2010-11-11  Nate Chapin  <japhet@chromium.org>

        Reviewed by Antti Koivisto.

        Cleanup after http://trac.webkit.org/changeset/71562, namely:
        Make deferred request handle simpler.
        Don't perform callbacks associated with network load starting
        (e.g., willSendRequest) until the load is in fact sent to the network.
        Make ResourceLoadScheduler a friend of ResourceLoader and make
        ResourceLoader::start() protected to try to ensure loads actually
        go through the scheduler.
        https://bugs.webkit.org/show_bug.cgi?id=49351

        Behavior should be covered by existing tests.

        * loader/NetscapePlugInStreamLoader.cpp:
        (WebCore::NetscapePlugInStreamLoader::create):
        * loader/ResourceLoadScheduler.cpp:
        (WebCore::ResourceLoadScheduler::servePendingRequests):
        * loader/ResourceLoadScheduler.h:
        (WebCore::ResourceLoadScheduler::HostInformation::limitRequests):
        * loader/ResourceLoader.cpp:
        (WebCore::ResourceLoader::init):
        (WebCore::ResourceLoader::start):
        (WebCore::ResourceLoader::setDefersLoading):
        (WebCore::ResourceLoader::didCancel):
        * loader/ResourceLoader.h:
        (WebCore::ResourceLoader::reachedTerminalState):
        (WebCore::ResourceLoader::request):
        * loader/SubresourceLoader.cpp:
        (WebCore::SubresourceLoader::create):
        * loader/loader.cpp:
        (WebCore::Loader::load):
        (WebCore::Loader::willSendRequest):
        * loader/loader.h:

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

9 years ago2010-11-11 Tony Gentilcore <tonyg@chromium.org>
tonyg@chromium.org [Fri, 12 Nov 2010 04:55:31 +0000 (04:55 +0000)]
2010-11-11  Tony Gentilcore  <tonyg@chromium.org>

        Reviewed by Nate Chapin.

        [chromium] Convert WebPerformance doubles to seconds
        https://bugs.webkit.org/show_bug.cgi?id=49232

        This makes them suitable for passing to Time::FromDoubleT().

        * src/WebPerformance.cpp:
        (WebKit::millisecondsToSeconds):
        (WebKit::WebPerformance::navigationStart):
        (WebKit::WebPerformance::unloadEventEnd):
        (WebKit::WebPerformance::redirectStart):
        (WebKit::WebPerformance::redirectEnd):
        (WebKit::WebPerformance::fetchStart):
        (WebKit::WebPerformance::domainLookupStart):
        (WebKit::WebPerformance::domainLookupEnd):
        (WebKit::WebPerformance::connectStart):
        (WebKit::WebPerformance::connectEnd):
        (WebKit::WebPerformance::requestStart):
        (WebKit::WebPerformance::requestEnd):
        (WebKit::WebPerformance::responseStart):
        (WebKit::WebPerformance::responseEnd):
        (WebKit::WebPerformance::loadEventStart):
        (WebKit::WebPerformance::loadEventEnd):

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

9 years ago2010-11-11 Carol Szabo <carol.szabo@nokia.com>
carol.szabo@nokia.com [Fri, 12 Nov 2010 04:35:57 +0000 (04:35 +0000)]
2010-11-11  Carol Szabo <carol.szabo@nokia.com>

        Reviewed by Kent Tamura.

        css2:order of counters in out-of flow content
        https://bugs.webkit.org/show_bug.cgi?id=32412

        * fast/css/content: Added.
        * fast/css/content/content-none-expected.txt: Added.
        * fast/css/content/content-none.html: Added.
        * fast/css/content/content-normal-expected.txt: Added.
        * fast/css/content/content-normal.html: Added.
        Added to provide portable tests for the "content" CSS property.
        * platform/mac/css2.1/t1204-order-01-d-expected.checksum:
        * platform/mac/css2.1/t1204-order-01-d-expected.png:
        * platform/mac/css2.1/t1204-order-01-d-expected.txt:
        Changed because the existing content was bad, but matching the
        existing bug that this patch fixes.
2010-11-11  Carol Szabo <carol.szabo@nokia.com>

        Reviewed by Kent Tamura.

        css2:order of counters in out-of flow content
        https://bugs.webkit.org/show_bug.cgi?id=32412

        Tests: fast/css/content/content-none.html
               fast/css/content/content-normal.html

        * css/CSSParser.cpp:
        (WebCore::CSSParser::parseContent):
        Added support for none, normal, open-quote, no-open-quote, etc.
        identifiers in terms of parsing only, as this has effect on the
        evaluation of counters. No further implementation needed for
        none and normal, the others are parsed but do not work as expected.

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

9 years ago2010-11-11 Chang Shu <chang.shu@nokia.com>
chang.shu@nokia.com [Fri, 12 Nov 2010 04:16:12 +0000 (04:16 +0000)]
2010-11-11  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Antonio Gomes.

        [GTK] Unskip tests that are passing now.
        fast/events/spatial-navigation/snav-input.html
        fast/events/spatial-navigation/snav-textarea.html
        https://bugs.webkit.org/show_bug.cgi?id=49056

        * platform/gtk/Skipped:
2010-11-11  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Antonio Gomes.

        [GTK] Replace "MoveForward"/"MoveBackward" with "MoveRight"/"MoveLeft"
        to make spatial navigation work on input/textarea.
        https://bugs.webkit.org/show_bug.cgi?id=49056

        * WebCoreSupport/EditorClientGtk.cpp:
        (WebKit::moveCursorCallback):

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

9 years ago2010-11-11 Julie-Jeongeun-Kim <jiyuluna@gmail.com>
commit-queue@webkit.org [Fri, 12 Nov 2010 03:56:31 +0000 (03:56 +0000)]
2010-11-11  Julie-Jeongeun-Kim  <jiyuluna@gmail.com>

        Reviewed by Kent Tamura.

        SelectionStart, selectionEnd properties return wrong values when the selection is in a read-only input or textarea element
        https://bugs.webkit.org/show_bug.cgi?id=25444

        * fast/forms/selection-start-end-readonly-expected.txt: Added.
        * fast/forms/selection-start-end-readonly.html: Added.
2010-11-11  Julie-Jeongeun-Kim  <jiyuluna@gmail.com>

        Reviewed by Kent Tamura.

        SelectionStart, selectionEnd properties return wrong values when the selection is in a read-only input or textarea element
        https://bugs.webkit.org/show_bug.cgi?id=25444

        'rootEditableElement()' is checked on RenderTextControl::indexForVisiblePosition.
        It means that just editable elements can get selection information.
        ReadOnly element is not editable element. So, it just returns and can't get correct selection information.
        INPUT and TEXTAREA elements can be read-only but 'indexForVisiblePosition' doesn't accept them.
        So, Selectable elements, INPUT and TEXTAREA, checking is added for that case.
        Even if they are read-only, they are selectable.

        new tests:fast/forms/selection-start-end-readonly.html

        * html/HTMLInputElement.idl:
        * rendering/RenderTextControl.cpp:
        (WebCore::RenderTextControl::isSelectableElement):
        (WebCore::RenderTextControl::indexForVisiblePosition):
        * rendering/RenderTextControl.h:

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

9 years ago2010-11-11 Adam Barth <abarth@webkit.org>
abarth@webkit.org [Fri, 12 Nov 2010 03:07:43 +0000 (03:07 +0000)]
2010-11-11  Adam Barth  <abarth@webkit.org>

        Reviewed by David Levin.

        Add some RefPtrs to be on the safe side
        https://bugs.webkit.org/show_bug.cgi?id=49301

        Hopefully no behavior change.

        * html/parser/HTMLTreeBuilder.cpp:
        (WebCore::HTMLTreeBuilder::processIsindexStartTagForInBody):

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

9 years agoBug 49420 - Clean up syntax/reference error throw.
barraclough@apple.com [Fri, 12 Nov 2010 03:06:07 +0000 (03:06 +0000)]
Bug 49420 - Clean up syntax/reference error throw.

Reviewed by Oliver Hunt.

Some errors detected at compile time are thrown at runtime. We currently do so using a op_new_error/op_throw bytecode pair.
This is not ideal. op_throw is used for explicit user throw statements, and has different requirements in terms or meta data
attached to the exception (controlled by the explicitThrow parameter passed to Interpreter::throwException). To work around
this, op_new_error has to add the meta data at an early stage, which is unlike other VM exceptions being raised.

We can simplify this and bring into line with other exception behaviour by changing new_error from just allocating an
Exception instance to also throwing it – but as a regular VM throw, correctly passing explicitThrow as false.

* JavaScriptCore.xcodeproj/project.pbxproj:
* bytecode/CodeBlock.cpp:
(JSC::CodeBlock::dump):
(JSC::CodeBlock::expressionRangeForBytecodeOffset):
* bytecode/Opcode.h:
* bytecompiler/BytecodeGenerator.cpp:
(JSC::BytecodeGenerator::emitThrowReferenceError):
(JSC::BytecodeGenerator::emitThrowSyntaxError):
(JSC::BytecodeGenerator::emitThrowExpressionTooDeepException):
* bytecompiler/BytecodeGenerator.h:
(JSC::BytecodeGenerator::emitNodeInConditionContext):
* bytecompiler/NodesCodegen.cpp:
(JSC::ThrowableExpressionData::emitThrowReferenceError):
(JSC::ThrowableExpressionData::emitThrowSyntaxError):
(JSC::RegExpNode::emitBytecode):
(JSC::PostfixErrorNode::emitBytecode):
(JSC::PrefixErrorNode::emitBytecode):
(JSC::AssignErrorNode::emitBytecode):
(JSC::ForInNode::emitBytecode):
(JSC::ContinueNode::emitBytecode):
(JSC::BreakNode::emitBytecode):
(JSC::ReturnNode::emitBytecode):
(JSC::LabelNode::emitBytecode):
* interpreter/Interpreter.cpp:
(JSC::Interpreter::privateExecute):
* jit/JIT.cpp:
(JSC::JIT::privateCompileMainPass):
* jit/JIT.h:
* jit/JITOpcodes.cpp:
(JSC::JIT::emit_op_throw_reference_error):
(JSC::JIT::emit_op_throw_syntax_error):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::emit_op_throw_reference_error):
(JSC::JIT::emit_op_throw_syntax_error):
* jit/JITStubs.cpp:
(JSC::DEFINE_STUB_FUNCTION):
* jit/JITStubs.h:
* parser/Nodes.h:

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

9 years ago2010-11-11 Chris Rogers <crogers@google.com>
crogers@google.com [Fri, 12 Nov 2010 02:49:23 +0000 (02:49 +0000)]
2010-11-11  Chris Rogers  <crogers@google.com>

        Reviewed by Kenneth Russell.

        Fix Accelerate.framework issues in VectorMath 32-bit ppc & i386 vs. other architectures (64-bit, ARM, etc.).
        On the Mac we use the highly optimized versions in Accelerate.framework
        In 32-bit mode (__ppc__ or __i386__) <Accelerate/Accelerate.h> includes <vecLib/vDSP_translate.h> which defines macros
        of the same name as our namespaced function names, so we must handle this case differently.
        Other architectures (64bit, ARM, etc.) do not include this header file.

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

        No new tests since audio API is not yet implemented.

        * platform/audio/VectorMath.cpp:
        (WebCore::VectorMath::vsmul):
        (WebCore::VectorMath::vadd):

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

9 years agoFix layout test since it progressed.
hyatt@apple.com [Fri, 12 Nov 2010 02:30:46 +0000 (02:30 +0000)]
Fix layout test since it progressed.

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

9 years ago2010-11-11 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 12 Nov 2010 02:28:57 +0000 (02:28 +0000)]
2010-11-11  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium rebaseline.

        Missed a chromium-mac baseline in r71869 (for r71851).

        * platform/chromium-mac/fast/repaint/box-shadow-h-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/box-shadow-h-expected.png: Added.

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

9 years ago2010-11-11 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 12 Nov 2010 02:20:05 +0000 (02:20 +0000)]
2010-11-11  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium rebaseline.

        Restore baseline that r71870 deleted, Chromium Windows and Linux still
        have the old behavior.

        * platform/chromium-win/fast/text/justification-padding-mid-word-expected.txt: Added.

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

9 years ago2010-11-11 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 12 Nov 2010 01:48:16 +0000 (01:48 +0000)]
2010-11-11  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, build fix.

        fix build breakage caused by fix for bug 49380 (r71858).

        config_standalone needs to ensure that the packages it needs are
        in sys.path.

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

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

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

9 years agoAdd didReceiveResponse and didReceiveData to the download client
andersca@apple.com [Fri, 12 Nov 2010 01:33:05 +0000 (01:33 +0000)]
Add didReceiveResponse and didReceiveData to the download client
https://bugs.webkit.org/show_bug.cgi?id=49418

Reviewed by Darin Adler.

* UIProcess/API/C/WKContext.h:
Add didReceiveResponse and didReceiveData to WKContextDownloadClient.

* UIProcess/Downloads/DownloadProxy.cpp:
(WebKit::DownloadProxy::didReceiveResponse):
(WebKit::DownloadProxy::didReceiveData):
Call WebDownloadClient member functions.

* UIProcess/Downloads/DownloadProxy.messages.in:
Add DidReceiveResponse and DidReceiveData messages.

* UIProcess/WebDownloadClient.cpp:
(WebKit::WebDownloadClient::didReceiveResponse):
(WebKit::WebDownloadClient::didReceiveData):
Call client functions.

* WebKit2.xcodeproj/project.pbxproj:
Let Xcode update the file.

* WebProcess/Downloads/Download.cpp:
(WebKit::Download::didReceiveResponse):
(WebKit::Download::didReceiveData):
Send messages.

* WebProcess/Downloads/mac/DownloadMac.mm:
(WebKit::Download::start):
Set deletesFileUponFailure to NO.

(-[WKDownloadAsDelegate download:didReceiveResponse:]):
Call didReceiveResponse.

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

9 years ago2010-11-11 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 12 Nov 2010 01:25:15 +0000 (01:25 +0000)]
2010-11-11  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed, fix bug number.

        * platform/chromium/test_expectations.txt:

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

9 years ago<rdar://problem/8657116> fast/text/justification-padding-mid-word.html fails on Windows
mitz@apple.com [Fri, 12 Nov 2010 01:21:08 +0000 (01:21 +0000)]
<rdar://problem/8657116> fast/text/justification-padding-mid-word.html fails on Windows
https://bugs.webkit.org/show_bug.cgi?id=49378

Reviewed by Darin Adler.

WebCore:

* platform/graphics/win/UniscribeController.cpp:
(WebCore::UniscribeController::shapeAndPlaceItem): For all characters that need to be treated
as zero-width spaces, substitute the space glyph with zero advance. Apply justification padding
and word spacing only at characters treated as (non-zero-width) spaces.

LayoutTests:

* platform/win/fast/text/justification-padding-mid-word-expected.txt: Removed Windows-specific
expected failure.

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

9 years ago2010-11-11 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Fri, 12 Nov 2010 01:20:17 +0000 (01:20 +0000)]
2010-11-11  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium rebaseline.

        Update fast/repaint baselines after r71851. Add expected failure
        for fast/table/colspanMinWidth-vertical.html, which needs rebaselining
        upstream for the mac port too.

        * platform/chromium-linux/fast/repaint/japanese-rl-selection-clear-expected.checksum: Added.
        * platform/chromium-linux/fast/repaint/japanese-rl-selection-clear-expected.png: Added.
        * platform/chromium-linux/fast/repaint/japanese-rl-selection-clear-expected.txt: Added.
        * platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-expected.checksum: Added.
        * platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-expected.png: Added.
        * platform/chromium-linux/fast/repaint/japanese-rl-selection-repaint-expected.txt: Added.
        * platform/chromium-linux/fast/repaint/selection-rl-expected.checksum:
        * platform/chromium-linux/fast/repaint/selection-rl-expected.png:
        * platform/chromium-mac/fast/repaint/box-shadow-v-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/box-shadow-v-expected.png: Added.
        * platform/chromium-mac/fast/repaint/flexible-box-overflow-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/flexible-box-overflow-expected.png: Added.
        * platform/chromium-mac/fast/repaint/flexible-box-overflow-horizontal-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/flexible-box-overflow-horizontal-expected.png: Added.
        * platform/chromium-mac/fast/repaint/focus-layers-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/focus-layers-expected.png: Added.
        * platform/chromium-mac/fast/repaint/inline-block-overflow-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/inline-block-overflow-expected.png: Added.
        * platform/chromium-mac/fast/repaint/japanese-rl-selection-clear-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/japanese-rl-selection-clear-expected.png: Added.
        * platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/japanese-rl-selection-repaint-expected.png: Added.
        * platform/chromium-mac/fast/repaint/layer-child-outline-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/layer-child-outline-expected.png: Added.
        * platform/chromium-mac/fast/repaint/layer-outline-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/layer-outline-expected.png: Added.
        * platform/chromium-mac/fast/repaint/layer-outline-horizontal-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/layer-outline-horizontal-expected.png: Added.
        * platform/chromium-mac/fast/repaint/list-marker-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/list-marker-expected.png: Added.
        * platform/chromium-mac/fast/repaint/selection-rl-expected.checksum:
        * platform/chromium-mac/fast/repaint/selection-rl-expected.png:
        * platform/chromium-mac/fast/repaint/text-shadow-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/text-shadow-expected.png: Added.
        * platform/chromium-mac/fast/repaint/text-shadow-horizontal-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/text-shadow-horizontal-expected.png: Added.
        * platform/chromium-win/fast/repaint/japanese-rl-selection-clear-expected.checksum: Added.
        * platform/chromium-win/fast/repaint/japanese-rl-selection-clear-expected.png: Added.
        * platform/chromium-win/fast/repaint/japanese-rl-selection-clear-expected.txt: Added.
        * platform/chromium-win/fast/repaint/japanese-rl-selection-repaint-expected.checksum: Added.
        * platform/chromium-win/fast/repaint/japanese-rl-selection-repaint-expected.png: Added.
        * platform/chromium-win/fast/repaint/japanese-rl-selection-repaint-expected.txt: Added.
        * platform/chromium-win/fast/repaint/selection-rl-expected.checksum:
        * platform/chromium-win/fast/repaint/selection-rl-expected.png:
        * platform/chromium/test_expectations.txt:

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

9 years agoAdd an argument coder for ResourceResponse.
andersca@apple.com [Fri, 12 Nov 2010 01:03:50 +0000 (01:03 +0000)]
Add an argument coder for ResourceResponse.
https://bugs.webkit.org/show_bug.cgi?id=49415

Reviewed by Sam Weinig.

* Shared/WebCoreArgumentCoders.h:
* Shared/gtk/WebCoreArgumentCodersGtk.cpp:
(CoreIPC::encodeResourceResponse):
(CoreIPC::decodeResourceResponse):
* Shared/mac/WebCoreArgumentCodersMac.mm:
(CoreIPC::encodeResourceResponse):
(CoreIPC::decodeResourceResponse):
* Shared/qt/WebCoreArgumentCodersQt.cpp:
(CoreIPC::encodeResourceResponse):
(CoreIPC::decodeResourceResponse):
* Shared/win/WebCoreArgumentCodersWin.cpp:
(CoreIPC::encodeResourceResponse):
(CoreIPC::decodeResourceResponse):

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

9 years ago2010-11-11 Darin Adler <darin@apple.com>
darin@apple.com [Fri, 12 Nov 2010 01:01:14 +0000 (01:01 +0000)]
2010-11-11  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        Harden some string functions against large lengths
        https://bugs.webkit.org/show_bug.cgi?id=49293

        * wtf/text/StringImpl.cpp:
        (WTF::StringImpl::create): Fix incorrect use of PassRefPtr. Check for
        strlen results that are too large for StringImpl.
        (WTF::StringImpl::lower): Check for lengths that are too large for
        int32_t.
        (WTF::StringImpl::upper): Fix incorrect use of PassRefPtr. Check for
        lengths that are too large for int32_t.
        (WTF::StringImpl::secure): Fix incorect use of PassRefPtr. Use unsigned
        rather than int and int32_t so we can handle any length.
        (WTF::StringImpl::foldCase): Fix incorrect use of PassRefPtr. Check for
        lengths that are too large for int32_t.
        (WTF::StringImpl::find): Check for strlen results that are too large for
        StringImpl.
        (WTF::StringImpl::findIgnoringCase): Ditto.
        (WTF::StringImpl::replace): Fix incorrect use of PassRefPtr.
        (WTF::StringImpl::createWithTerminatingNullCharacter): Check before
        incrementing length.
2010-11-11  Darin Adler  <darin@apple.com>

        Reviewed by Sam Weinig.

        Harden some string functions against large lengths
        https://bugs.webkit.org/show_bug.cgi?id=49293

        * rendering/RenderText.cpp:
        (WebCore::makeCapitalized): Check before incrementing length.

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

9 years ago2010-11-11 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Fri, 12 Nov 2010 00:50:59 +0000 (00:50 +0000)]
2010-11-11  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed build fix for r71587.

        * WebKit2.xcodeproj/project.pbxproj: No longer uses absolute path.

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

9 years ago[Qt] Unreviewed WebKit2 buildfix after r71587.
ossy@webkit.org [Fri, 12 Nov 2010 00:33:55 +0000 (00:33 +0000)]
[Qt] Unreviewed WebKit2 buildfix after r71587.

* UIProcess/qt/WebInspectorProxyQt.cpp:
* WebKit2.pro:

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

9 years agoMore Windows build fixing. Change another #import to a #include, and remove an unneeded
bweinstein@apple.com [Fri, 12 Nov 2010 00:28:38 +0000 (00:28 +0000)]
More Windows build fixing. Change another #import to a #include, and remove an unneeded
namespace.

* UIProcess/win/WebInspectorProxyWin.cpp:
* WebProcess/WebPage/win/WebInspectorWin.cpp:

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

9 years agoWindows [Cairo] build fix. Unreviewed.
bfulgham@webkit.org [Fri, 12 Nov 2010 00:19:47 +0000 (00:19 +0000)]
Windows [Cairo] build fix. Unreviewed.

Provide stubs for two BackingStore methods.

* Shared/cairo/BackingStoreCairo.cpp:
(WebKit::BackingStore::createFlippedGraphicsContext):
(WebKit::BackingStore::paint):

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

9 years agoWindows Build Fix. Change #imports to #includes.
bweinstein@apple.com [Fri, 12 Nov 2010 00:17:34 +0000 (00:17 +0000)]
Windows Build Fix. Change #imports to #includes.

* UIProcess/win/WebInspectorProxyWin.cpp:

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

9 years ago2010-11-10 Zhenyao Mo <zmo@google.com>
zmo@google.com [Fri, 12 Nov 2010 00:02:13 +0000 (00:02 +0000)]
2010-11-10  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        bufferData/bufferSubData should not crash with null data input
        https://bugs.webkit.org/show_bug.cgi?id=49350

        * html/canvas/WebGLRenderingContext.cpp: return early if input data is null.
        (WebCore::WebGLRenderingContext::bufferData):
        (WebCore::WebGLRenderingContext::bufferSubData):
2010-11-10  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        bufferData/bufferSubData should not crash with null data input
        https://bugs.webkit.org/show_bug.cgi?id=49350

        * fast/canvas/webgl/buffer-data-array-buffer-expected.txt:
        * fast/canvas/webgl/buffer-data-array-buffer.html: test the null data input cases.

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

9 years ago2010-11-11 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 11 Nov 2010 23:55:06 +0000 (23:55 +0000)]
2010-11-11  Zhenyao Mo  <zmo@google.com>

        Unreviewed, build fix, update test results.

        * fast/canvas/webgl/texture-transparent-pixels-initialized-expected.txt:

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

9 years agoAdd a flaky test to the Windows skipped list.
jhoneycutt@apple.com [Thu, 11 Nov 2010 23:52:42 +0000 (23:52 +0000)]
Add a flaky test to the Windows skipped list.

* platform/win/Skipped:

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

9 years ago2010-11-11 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 11 Nov 2010 23:51:00 +0000 (23:51 +0000)]
2010-11-11  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Adam Roben.

        Fix NRWT to respect set-webkit-configuration again :(

        This change fixes a typo in config.py that was causing the wrong
        value to be read initially and us never actually looking into
        the filesystem to get the default configuration.

        * Scripts/webkitpy/layout_tests/port/config.py:
        * Scripts/webkitpy/layout_tests/port/config_standalone.py:
        * Scripts/webkitpy/layout_tests/port/config_unittest.py:

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

9 years agoCreate and load the Web Inspector page.
timothy@apple.com [Thu, 11 Nov 2010 23:43:34 +0000 (23:43 +0000)]
Create and load the Web Inspector page.

https://webkit.org/b/49207

Reviewed by Anders Carlsson.

* UIProcess/WebInspectorProxy.cpp:
(WebKit::WebInspectorProxy::createInspectorPage): Added. Call platformCreateInspectorPage and then
call WebPageProxy::loadURL with inspectorPageURL.
(WebKit::WebInspectorProxy::didLoadInspectorPage): Added stub.
* UIProcess/WebInspectorProxy.h:
* UIProcess/WebInspectorProxy.messages.in: Added.
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didReceiveMessage): Call WebInspectorProxy::didReceiveWebInspectorProxyMessage.
(WebKit::WebPageProxy::didReceiveSyncMessage): Call WebInspectorProxy::didReceiveSyncWebInspectorProxyMessage.
* UIProcess/WebPageProxy.h: Made creationParameters public so WebInspectorProxy can use it.

* UIProcess/mac/WebInspectorProxyMac.mm:
(WebKit::WebInspectorProxy::platformCreateInspectorPage): Make a WkView and return the WebPageProxy.
(WebKit::WebInspectorProxy::inspectorPageURL): Return the file URL for the inspector.html file.
* UIProcess/qt/WebInspectorProxyQt.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage): Added stub.
(WebKit::WebInspectorProxy::inspectorPageURL): Ditto.
* UIProcess/win/WebInspectorProxyWin.cpp:
(WebKit::WebInspectorProxy::platformCreateInspectorPage): Added stub.
(WebKit::WebInspectorProxy::inspectorPageURL): Ditto.

* WebProcess/WebCoreSupport/WebInspectorClient.cpp:
(WebKit::WebInspectorClient::openInspectorFrontend): Call WebInspector::createInspectorPage and set up the WebInspectorFrontendClient.
(WebKit::WebInspectorClient::sendMessageToFrontend): Call doDispatchMessageOnFrontendPage in the base class.
* WebProcess/WebCoreSupport/WebInspectorFrontendClient.cpp:
(WebKit::WebInspectorFrontendClient::frontendLoaded): Call WebInspector::didLoadInspectorPage.
(WebKit::WebInspectorFrontendClient::localizedStringsURL): Call WebInspector::localizedStringsURL.
* WebProcess/WebCoreSupport/WebInspectorFrontendClient.h:

* WebProcess/WebPage/WebInspector.cpp:
(WebKit::WebInspector::WebInspector):
(WebKit::WebInspector::createInspectorPage): Send a sync WebInspectorProxy::CreateInspectorPage message and set up
the WebPage using the result page ID.
(WebKit::WebInspector::didLoadInspectorPage): Send a WebInspectorProxy::DidLoadInspectorPage message.
* WebProcess/WebPage/WebInspector.h:
(WebKit::WebInspector::inspectorPage): Added.
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::didReceiveMessage): Call WebInspector::didReceiveWebInspectorMessage.

* WebProcess/WebPage/mac/WebInspectorMac.mm:
(WebKit::WebInspector::localizedStringsURL): Return the file URL for the localizedStrings.js file.
* WebProcess/WebPage/qt/WebInspectorQt.cpp:
(WebKit::WebInspector::localizedStringsURL): Added stub.
* WebProcess/WebPage/win/WebInspectorWin.cpp:
(WebKit::WebInspector::localizedStringsURL): Added stub.

* DerivedSources.make: Added WebInspectorProxy.messages.in.
* DerivedSources.pro: Ditto.

* WebKit2.pro: Added new files.
* WebKit2.xcodeproj/project.pbxproj: Ditto.
* win/WebKit2.vcproj: Ditto.

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

9 years ago2010-11-11 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 11 Nov 2010 23:26:43 +0000 (23:26 +0000)]
2010-11-11  Eric Seidel  <eric@webkit.org>

        Reviewed by Adam Barth.

        Split out Bug, Attachment and CommitterValidator from bugzilla.py
        https://bugs.webkit.org/show_bug.cgi?id=49403

        CommitterValidator really had nothing to do with bugzilla.py.
        I've put it next to committers.py for now since its rather tied to that file.

        * Scripts/webkitpy/common/config/committervalidator.py: Added.
        * Scripts/webkitpy/common/config/committervalidator_unittest.py: Added.
        * Scripts/webkitpy/common/net/bugzilla/__init__.py:
        * Scripts/webkitpy/common/net/bugzilla/attachment.py: Added.
        * Scripts/webkitpy/common/net/bugzilla/bug.py: Added.
        * Scripts/webkitpy/common/net/bugzilla/bug_unittest.py: Added.
        * Scripts/webkitpy/common/net/bugzilla/bugzilla.py:
        * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py:
        * Scripts/webkitpy/tool/bot/feeders.py:
        * Scripts/webkitpy/tool/commands/queues.py:

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

9 years ago2010-11-10 Zhenyao Mo <zmo@google.com>
zmo@google.com [Thu, 11 Nov 2010 23:04:07 +0000 (23:04 +0000)]
2010-11-10  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Implement UNPACK_COLORSPACE_CONVERSION_WEBGL
        https://bugs.webkit.org/show_bug.cgi?id=47196

        This is the first patch for this bug.  We add constants and methods, but haven't hooked it up with texture uploading yet.  Also, in order to check in constants.html, we need to remove out-dated constants, and update affected tests correspondingly.

        Test: fast/canvas/webgl/constants.html

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::WebGLRenderingContext): Move init code to initializeNewContext.
        (WebCore::WebGLRenderingContext::initializeNewContext): Ditto.
        (WebCore::WebGLRenderingContext::getParameter): Implement UNPACK_COLORSPACE_CONVERSION_WEBGL.
        (WebCore::WebGLRenderingContext::pixelStorei): Ditto.
        * html/canvas/WebGLRenderingContext.h: Add a member to track UNPACK_COLORSPACE_CONVERSION_WEBGL setting.
        * html/canvas/WebGLRenderingContext.idl: Update constants.
        * platform/graphics/GraphicsContext3D.h: Update constants.
2010-11-10  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Implement UNPACK_COLORSPACE_CONVERSION_WEBGL
        https://bugs.webkit.org/show_bug.cgi?id=47196

        This is the first patch for this bug.  We add constants and methods, but haven't hooked it up with texture uploading yet.  Also, in order to check in constants.html, we need to remove out-dated constants, and update affected tests correspondingly.

        * fast/canvas/webgl/constants-expected.txt: Added.
        * fast/canvas/webgl/constants.html: Added.
        * fast/canvas/webgl/copy-tex-image-and-sub-image-2d-expected.txt:
        * fast/canvas/webgl/copy-tex-image-and-sub-image-2d.html: Update due to removal of TRUE/FALSE.
        * fast/canvas/webgl/texture-transparent-pixels-initialized-expected.txt:
        * fast/canvas/webgl/texture-transparent-pixels-initialized.html: Ditto.
        * fast/canvas/webgl/webgl-specific-expected.txt:
        * fast/canvas/webgl/webgl-specific.html: Add test cases for UNPACK_COLORSPACE_CONVERSION_WEBGL.

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

9 years ago2010-11-11 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Thu, 11 Nov 2010 22:52:39 +0000 (22:52 +0000)]
2010-11-11  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Eric Seidel.

        fix missing 'pid' argument for http lockfile checking on win32
        https://bugs.webkit.org/show_bug.cgi?id=49363

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

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

9 years ago2010-11-11 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Thu, 11 Nov 2010 22:43:11 +0000 (22:43 +0000)]
2010-11-11  Chris Marrin  <cmarrin@apple.com>

        Reviewed by James Robinson.

        Add multisampling support to DrawingBuffer.
        https://bugs.webkit.org/show_bug.cgi?id=49206

        Added support for the GL_ANGLE_framebuffer_blit and GL_ANGLE_framebuffer_multisample
        extensions to Extensions3D. Then I use these to add multisample support to DrawingBuffer.

        This re-lands changes rolled out by http://trac.webkit.org/changeset/71839. It includes
        the change from http://trac.webkit.org/changeset/71831 and additional changes to
        DrawingBufferChromium.cpp which cause the broken canvas tests to pass.

        * platform/graphics/Extensions3D.h:
        * platform/graphics/chromium/DrawingBufferChromium.cpp:
        (WebCore::DrawingBuffer::DrawingBuffer):
        (WebCore::DrawingBuffer::~DrawingBuffer):
        (WebCore::DrawingBuffer::publishToPlatformLayer):
        (WebCore::DrawingBuffer::didReset):
        (WebCore::DrawingBuffer::platformColorBuffer):
        * platform/graphics/chromium/Extensions3DChromium.h:
        (WebCore::Extensions3DChromium::blitFramebuffer):
        (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
        * platform/graphics/gpu/DrawingBuffer.cpp:
        (WebCore::DrawingBuffer::create):
        (WebCore::DrawingBuffer::clear):
        (WebCore::DrawingBuffer::reset):
        (WebCore::DrawingBuffer::commit):
        (WebCore::DrawingBuffer::bind):
        * platform/graphics/gpu/DrawingBuffer.h:
        (WebCore::DrawingBuffer::multisample):
        * platform/graphics/gpu/mac/DrawingBufferMac.mm:
        (WebCore::DrawingBuffer::DrawingBuffer):
        (WebCore::DrawingBuffer::didReset):
        (WebCore::DrawingBuffer::platformColorBuffer):
        * platform/graphics/opengl/Extensions3DOpenGL.cpp:
        (WebCore::Extensions3DOpenGL::supports):
        (WebCore::Extensions3DOpenGL::blitFramebuffer):
        (WebCore::Extensions3DOpenGL::renderbufferStorageMultisample):
        * platform/graphics/opengl/Extensions3DOpenGL.h:
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::draw):

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

9 years ago2010-11-11 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 11 Nov 2010 22:32:57 +0000 (22:32 +0000)]
2010-11-11  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectation update:

        - fast/selectors/001.html is flaky under release too
        - svg/animations/animate-text-nested-transforms.html is flaky

        DRT:
        - Add more crashy/flaky media tests
        - Add flaky SVG tests
        - fast/selectors/001.html is flaky for all platforms

        * platform/chromium/drt_expectations.txt:
        * platform/chromium/test_expectations.txt:

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=48664
hyatt@apple.com [Thu, 11 Nov 2010 22:17:38 +0000 (22:17 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=48664

Reviewed by Simon Fraser.

Make repaint invalidation work with flipped blocks ("rl" and "bt" writing modes).

This patch disables the layout state for flipped blocks, since the paint offset isn't right.

Bugs in the overflow sides for lines have been fixed.  before/AfterSideVisible/LayoutOverflowForLine
now respect flipping (and don't incorrectly change sides).  This is a very confusing aspect of
the overflow stuff (and at some point we should consider renaming top/left/right/bottom since they
aren't physical).

offsetFromContainer and mapLocalToContainer remain physical and refer to the top left offset.
This means at every step up you convert to the correct physical coordinate.  It also means these
functions will be unreliable during layout for flipped blocks.  At first glance, this seems to be
more or less ok.

computeRectForRepaint now delays flipping conversions until you cross a writing-mode boundary.  This
allows for documents to be fully flipped and repaint during layout can still be reliable.  This is
critical for incremental line layout repainting.

Added new tests in fast/repaint and also rebaselined the tests in that directory because I'm tired
of all the stale results and failures.

WebCore:

* editing/SelectionController.cpp:
(WebCore::SelectionController::absoluteBoundsForLocalRect):
(WebCore::SelectionController::paintCaret):
* rendering/InlineTextBox.cpp:
(WebCore::InlineTextBox::selectionRect):
* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::layoutOnlyPositionedObjects):
(WebCore::RenderBlock::paintSelection):
* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::beforeSideVisibleOverflowForLine):
(WebCore::RenderBlock::afterSideVisibleOverflowForLine):
(WebCore::RenderBlock::beforeSideLayoutOverflowForLine):
(WebCore::RenderBlock::afterSideLayoutOverflowForLine):
* rendering/RenderBox.cpp:
(WebCore::RenderBox::layout):
(WebCore::RenderBox::mapLocalToContainer):
(WebCore::RenderBox::offsetFromContainer):
(WebCore::RenderBox::clippedOverflowRectForRepaint):
(WebCore::RenderBox::computeRectForRepaint):
(WebCore::RenderBox::flipForWritingMode):
(WebCore::RenderBox::locationOffsetIncludingFlipping):
* rendering/RenderBox.h:
* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock):
* rendering/RenderInline.cpp:
(WebCore::RenderInline::clippedOverflowRectForRepaint):
* rendering/RenderSlider.cpp:
(WebCore::RenderSlider::layout):
* rendering/RenderTable.cpp:
(WebCore::RenderTable::layout):
* rendering/RenderTableRow.cpp:
(WebCore::RenderTableRow::layout):
* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::layout):
(WebCore::RenderTableSection::layoutRows):
* rendering/RenderView.cpp:
(WebCore::RenderView::computeRectForRepaint):
* rendering/ShadowElement.cpp:
(WebCore::ShadowBlockElement::layoutAsPart):

LayoutTests:

* fast/repaint/japanese-rl-selection-clear.html: Added.
* fast/repaint/japanese-rl-selection-repaint.html: Added.
* fast/repaint/repaint-svg-after-style-change-expected.png:
* platform/mac/fast/repaint/4774354-expected.checksum:
* platform/mac/fast/repaint/4774354-expected.png:
* platform/mac/fast/repaint/4776765-expected.checksum:
* platform/mac/fast/repaint/4776765-expected.png:
* platform/mac/fast/repaint/background-generated-expected.checksum:
* platform/mac/fast/repaint/background-generated-expected.png:
* platform/mac/fast/repaint/background-misaligned-expected.png:
* platform/mac/fast/repaint/backgroundSizeRepaint-expected.checksum:
* platform/mac/fast/repaint/backgroundSizeRepaint-expected.png:
* platform/mac/fast/repaint/block-layout-inline-children-replaced-expected.checksum:
* platform/mac/fast/repaint/block-layout-inline-children-replaced-expected.png:
* platform/mac/fast/repaint/block-no-inflow-children-expected.checksum:
* platform/mac/fast/repaint/block-no-inflow-children-expected.png:
* platform/mac/fast/repaint/block-selection-gap-in-composited-layer-expected.checksum:
* platform/mac/fast/repaint/block-selection-gap-in-composited-layer-expected.png:
* platform/mac/fast/repaint/block-selection-gap-stale-cache-2-expected.png:
* platform/mac/fast/repaint/border-fit-lines-expected.checksum:
* platform/mac/fast/repaint/border-fit-lines-expected.png:
* platform/mac/fast/repaint/border-radius-repaint-expected.checksum:
* platform/mac/fast/repaint/border-radius-repaint-expected.png:
* platform/mac/fast/repaint/border-repaint-glitch-expected.checksum:
* platform/mac/fast/repaint/border-repaint-glitch-expected.png:
* platform/mac/fast/repaint/box-shadow-dynamic-expected.checksum:
* platform/mac/fast/repaint/box-shadow-dynamic-expected.png:
* platform/mac/fast/repaint/box-shadow-h-expected.checksum:
* platform/mac/fast/repaint/box-shadow-h-expected.png:
* platform/mac/fast/repaint/box-shadow-v-expected.checksum:
* platform/mac/fast/repaint/box-shadow-v-expected.png:
* platform/mac/fast/repaint/bugzilla-3509-expected.checksum:
* platform/mac/fast/repaint/bugzilla-3509-expected.png:
* platform/mac/fast/repaint/bugzilla-5699-expected.checksum:
* platform/mac/fast/repaint/bugzilla-5699-expected.png:
* platform/mac/fast/repaint/bugzilla-6278-expected.checksum:
* platform/mac/fast/repaint/bugzilla-6278-expected.png:
* platform/mac/fast/repaint/bugzilla-6388-expected.checksum:
* platform/mac/fast/repaint/bugzilla-6388-expected.png:
* platform/mac/fast/repaint/bugzilla-6473-expected.checksum:
* platform/mac/fast/repaint/bugzilla-6473-expected.png:
* platform/mac/fast/repaint/bugzilla-7235-expected.checksum:
* platform/mac/fast/repaint/bugzilla-7235-expected.png:
* platform/mac/fast/repaint/button-spurious-layout-hint-expected.png:
* platform/mac/fast/repaint/caret-outside-block-expected.checksum:
* platform/mac/fast/repaint/caret-outside-block-expected.png:
* platform/mac/fast/repaint/change-transform-expected.checksum:
* platform/mac/fast/repaint/change-transform-expected.png:
* platform/mac/fast/repaint/clip-with-layout-delta-expected.png:
* platform/mac/fast/repaint/clipped-relative-expected.checksum:
* platform/mac/fast/repaint/clipped-relative-expected.png:
* platform/mac/fast/repaint/containing-block-position-change-expected.checksum:
* platform/mac/fast/repaint/containing-block-position-change-expected.png:
* platform/mac/fast/repaint/content-into-overflow-expected.png:
* platform/mac/fast/repaint/continuation-after-outline-expected.checksum:
* platform/mac/fast/repaint/continuation-after-outline-expected.png:
* platform/mac/fast/repaint/control-clip-expected.checksum:
* platform/mac/fast/repaint/control-clip-expected.png:
* platform/mac/fast/repaint/create-layer-repaint-expected.checksum:
* platform/mac/fast/repaint/create-layer-repaint-expected.png:
* platform/mac/fast/repaint/delete-into-nested-block-expected.checksum:
* platform/mac/fast/repaint/delete-into-nested-block-expected.png:
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.checksum:
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.png:
* platform/mac/fast/repaint/erase-overflow-expected.png:
* platform/mac/fast/repaint/fixed-expected.checksum:
* platform/mac/fast/repaint/fixed-expected.png:
* platform/mac/fast/repaint/flexible-box-overflow-expected.checksum:
* platform/mac/fast/repaint/flexible-box-overflow-expected.png:
* platform/mac/fast/repaint/flexible-box-overflow-horizontal-expected.checksum:
* platform/mac/fast/repaint/flexible-box-overflow-horizontal-expected.png:
* platform/mac/fast/repaint/float-in-new-block-with-layout-delta-expected.png:
* platform/mac/fast/repaint/float-move-during-layout-expected.checksum:
* platform/mac/fast/repaint/float-move-during-layout-expected.png:
* platform/mac/fast/repaint/float-new-in-block-expected.png:
* platform/mac/fast/repaint/float-overflow-expected.png:
* platform/mac/fast/repaint/float-overflow-right-expected.png:
* platform/mac/fast/repaint/focus-layers-expected.checksum:
* platform/mac/fast/repaint/focus-layers-expected.png:
* platform/mac/fast/repaint/focus-ring-expected.png:
* platform/mac/fast/repaint/inline-block-overflow-expected.checksum:
* platform/mac/fast/repaint/inline-block-overflow-expected.png:
* platform/mac/fast/repaint/inline-block-resize-expected.png:
* platform/mac/fast/repaint/inline-color-change-expected.checksum:
* platform/mac/fast/repaint/inline-color-change-expected.png:
* platform/mac/fast/repaint/inline-outline-repaint-expected.checksum:
* platform/mac/fast/repaint/inline-outline-repaint-expected.png:
* platform/mac/fast/repaint/intermediate-layout-position-clip-expected.png:
* platform/mac/fast/repaint/intermediate-layout-position-expected.png:
* platform/mac/fast/repaint/invisible-objects-expected.png:
* platform/mac/fast/repaint/japanese-rl-selection-clear-expected.checksum: Added.
* platform/mac/fast/repaint/japanese-rl-selection-clear-expected.png: Added.
* platform/mac/fast/repaint/japanese-rl-selection-clear-expected.txt: Added.
* platform/mac/fast/repaint/japanese-rl-selection-repaint-expected.checksum: Added.
* platform/mac/fast/repaint/japanese-rl-selection-repaint-expected.png: Added.
* platform/mac/fast/repaint/japanese-rl-selection-repaint-expected.txt: Added.
* platform/mac/fast/repaint/layer-child-outline-expected.checksum:
* platform/mac/fast/repaint/layer-child-outline-expected.png:
* platform/mac/fast/repaint/layer-full-repaint-expected.png:
* platform/mac/fast/repaint/layer-hide-when-needs-layout-expected.png:
* platform/mac/fast/repaint/layer-outline-expected.checksum:
* platform/mac/fast/repaint/layer-outline-expected.png:
* platform/mac/fast/repaint/layer-outline-horizontal-expected.checksum:
* platform/mac/fast/repaint/layer-outline-horizontal-expected.png:
* platform/mac/fast/repaint/layer-visibility-expected.png:
* platform/mac/fast/repaint/layout-state-only-positioned-expected.png:
* platform/mac/fast/repaint/layout-state-relative-expected.checksum:
* platform/mac/fast/repaint/layout-state-relative-expected.png:
* platform/mac/fast/repaint/layout-state-scrolloffset-expected.checksum:
* platform/mac/fast/repaint/layout-state-scrolloffset-expected.png:
* platform/mac/fast/repaint/layout-state-scrolloffset2-expected.checksum:
* platform/mac/fast/repaint/layout-state-scrolloffset2-expected.png:
* platform/mac/fast/repaint/layout-state-scrolloffset3-expected.checksum:
* platform/mac/fast/repaint/layout-state-scrolloffset3-expected.png:
* platform/mac/fast/repaint/line-overflow-expected.checksum:
* platform/mac/fast/repaint/line-overflow-expected.png:
* platform/mac/fast/repaint/lines-with-layout-delta-expected.checksum:
* platform/mac/fast/repaint/lines-with-layout-delta-expected.png:
* platform/mac/fast/repaint/list-marker-2-expected.checksum:
* platform/mac/fast/repaint/list-marker-2-expected.png:
* platform/mac/fast/repaint/list-marker-expected.checksum:
* platform/mac/fast/repaint/list-marker-expected.png:
* platform/mac/fast/repaint/make-children-non-inline-expected.checksum:
* platform/mac/fast/repaint/make-children-non-inline-expected.png:
* platform/mac/fast/repaint/moving-shadow-on-container-expected.checksum:
* platform/mac/fast/repaint/moving-shadow-on-container-expected.png:
* platform/mac/fast/repaint/moving-shadow-on-path-expected.checksum:
* platform/mac/fast/repaint/moving-shadow-on-path-expected.png:
* platform/mac/fast/repaint/multicol-repaint-expected.checksum:
* platform/mac/fast/repaint/multicol-repaint-expected.png:
* platform/mac/fast/repaint/opacity-change-on-overflow-float-expected.checksum:
* platform/mac/fast/repaint/opacity-change-on-overflow-float-expected.png:
* platform/mac/fast/repaint/outline-child-repaint-expected.checksum:
* platform/mac/fast/repaint/outline-child-repaint-expected.png:
* platform/mac/fast/repaint/outline-inset-expected.png:
* platform/mac/fast/repaint/outline-repaint-glitch-expected.checksum:
* platform/mac/fast/repaint/outline-repaint-glitch-expected.png:
* platform/mac/fast/repaint/outline-shrinking-expected.checksum:
* platform/mac/fast/repaint/outline-shrinking-expected.png:
* platform/mac/fast/repaint/overflow-clip-subtree-layout-expected.png:
* platform/mac/fast/repaint/overflow-delete-line-expected.checksum:
* platform/mac/fast/repaint/overflow-delete-line-expected.png:
* platform/mac/fast/repaint/overflow-into-content-expected.png:
* platform/mac/fast/repaint/overflow-outline-repaint-expected.checksum:
* platform/mac/fast/repaint/overflow-outline-repaint-expected.png:
* platform/mac/fast/repaint/overflow-scroll-body-appear-expected.checksum:
* platform/mac/fast/repaint/overflow-scroll-body-appear-expected.png:
* platform/mac/fast/repaint/overflow-scroll-delete-expected.checksum:
* platform/mac/fast/repaint/overflow-scroll-delete-expected.png:
* platform/mac/fast/repaint/reflection-redraw-expected.checksum:
* platform/mac/fast/repaint/reflection-redraw-expected.png:
* platform/mac/fast/repaint/reflection-repaint-test-expected.png:
* platform/mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png:
* platform/mac/fast/repaint/repaint-resized-overflow-expected.checksum:
* platform/mac/fast/repaint/repaint-resized-overflow-expected.png:
* platform/mac/fast/repaint/search-field-cancel-expected.checksum:
* platform/mac/fast/repaint/search-field-cancel-expected.png:
* platform/mac/fast/repaint/selected-replaced-expected.checksum:
* platform/mac/fast/repaint/selected-replaced-expected.png:
* platform/mac/fast/repaint/selection-after-delete-expected.checksum:
* platform/mac/fast/repaint/selection-after-delete-expected.png:
* platform/mac/fast/repaint/selection-after-remove-expected.checksum:
* platform/mac/fast/repaint/selection-after-remove-expected.png:
* platform/mac/fast/repaint/selection-clear-expected.checksum:
* platform/mac/fast/repaint/selection-clear-expected.png:
* platform/mac/fast/repaint/selection-gap-overflow-scroll-expected.checksum:
* platform/mac/fast/repaint/selection-gap-overflow-scroll-expected.png:
* platform/mac/fast/repaint/selection-rl-expected.checksum:
* platform/mac/fast/repaint/selection-rl-expected.png:
* platform/mac/fast/repaint/shadow-multiple-horizontal-expected.png:
* platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.checksum:
* platform/mac/fast/repaint/shadow-multiple-strict-horizontal-expected.png:
* platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.checksum:
* platform/mac/fast/repaint/shadow-multiple-strict-vertical-expected.png:
* platform/mac/fast/repaint/shadow-multiple-vertical-expected.png:
* platform/mac/fast/repaint/stacked-diacritics-expected.checksum:
* platform/mac/fast/repaint/stacked-diacritics-expected.png:
* platform/mac/fast/repaint/static-to-positioned-expected.checksum:
* platform/mac/fast/repaint/static-to-positioned-expected.png:
* platform/mac/fast/repaint/subtree-root-clip-2-expected.png:
* platform/mac/fast/repaint/subtree-root-clip-3-expected.png:
* platform/mac/fast/repaint/subtree-root-clip-expected.png:
* platform/mac/fast/repaint/subtree-root-skipped-expected.checksum:
* platform/mac/fast/repaint/subtree-root-skipped-expected.png:
* platform/mac/fast/repaint/table-cell-collapsed-border-expected.checksum:
* platform/mac/fast/repaint/table-cell-collapsed-border-expected.png:
* platform/mac/fast/repaint/table-cell-move-expected.checksum:
* platform/mac/fast/repaint/table-cell-move-expected.png:
* platform/mac/fast/repaint/table-cell-vertical-overflow-expected.png:
* platform/mac/fast/repaint/table-col-background-expected.png:
* platform/mac/fast/repaint/table-collapsed-border-expected.checksum:
* platform/mac/fast/repaint/table-collapsed-border-expected.png:
* platform/mac/fast/repaint/table-extra-bottom-grow-expected.checksum:
* platform/mac/fast/repaint/table-extra-bottom-grow-expected.png:
* platform/mac/fast/repaint/table-outer-border-expected.png:
* platform/mac/fast/repaint/table-row-expected.png:
* platform/mac/fast/repaint/table-section-overflow-expected.png:
* platform/mac/fast/repaint/table-section-repaint-expected.png:
* platform/mac/fast/repaint/table-two-pass-layout-overpaint-expected.png:
* platform/mac/fast/repaint/text-append-dirty-lines-expected.checksum:
* platform/mac/fast/repaint/text-append-dirty-lines-expected.png:
* platform/mac/fast/repaint/text-selection-rect-in-overflow-2-expected.checksum:
* platform/mac/fast/repaint/text-selection-rect-in-overflow-2-expected.png:
* platform/mac/fast/repaint/text-selection-rect-in-overflow-expected.checksum:
* platform/mac/fast/repaint/text-selection-rect-in-overflow-expected.png:
* platform/mac/fast/repaint/text-shadow-expected.checksum:
* platform/mac/fast/repaint/text-shadow-expected.png:
* platform/mac/fast/repaint/text-shadow-horizontal-expected.checksum:
* platform/mac/fast/repaint/text-shadow-horizontal-expected.png:
* platform/mac/fast/repaint/transform-absolute-child-expected.png:
* platform/mac/fast/repaint/transform-absolute-in-positioned-container-expected.checksum:
* platform/mac/fast/repaint/transform-absolute-in-positioned-container-expected.png:
* platform/mac/fast/repaint/transform-disable-layoutstate-expected.png:
* platform/mac/fast/repaint/transform-layout-repaint-expected.png:
* platform/mac/fast/repaint/transform-relative-position-expected.checksum:
* platform/mac/fast/repaint/transform-relative-position-expected.png:
* platform/mac/fast/repaint/transform-repaint-descendants-expected.checksum:
* platform/mac/fast/repaint/transform-repaint-descendants-expected.png:
* platform/mac/fast/repaint/transform-replaced-shadows-expected.png:
* platform/mac/fast/repaint/transform-translate-expected.png:

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

9 years agoMove the remaining API client classes to use the APIClient base class.
weinig@apple.com [Thu, 11 Nov 2010 22:07:30 +0000 (22:07 +0000)]
Move the remaining API client classes to use the APIClient base class.
https://bugs.webkit.org/show_bug.cgi?id=49404

Reviewed by Anders Carlsson.

Also moves InjectedBundleClient into its own class to match other API clients.

* UIProcess/WebContextInjectedBundleClient.cpp:
* UIProcess/WebContextInjectedBundleClient.h:
* UIProcess/WebHistoryClient.cpp:
(WebKit::WebHistoryClient::didNavigateWithNavigationData):
(WebKit::WebHistoryClient::didPerformClientRedirect):
(WebKit::WebHistoryClient::didPerformServerRedirect):
(WebKit::WebHistoryClient::didUpdateHistoryTitle):
(WebKit::WebHistoryClient::populateVisitedLinks):
* UIProcess/WebHistoryClient.h:
(WebKit::WebHistoryClient::shouldTrackVisitedLinks):
* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* WebProcess/InjectedBundle/InjectedBundle.cpp:
(WebKit::InjectedBundle::initializeClient):
(WebKit::InjectedBundle::reportException):
(WebKit::InjectedBundle::didCreatePage):
(WebKit::InjectedBundle::willDestroyPage):
(WebKit::InjectedBundle::didReceiveMessage):
* WebProcess/InjectedBundle/InjectedBundle.h:
* WebProcess/InjectedBundle/InjectedBundleClient.cpp: Added.
(WebKit::InjectedBundleClient::didCreatePage):
(WebKit::InjectedBundleClient::willDestroyPage):
(WebKit::InjectedBundleClient::didReceiveMessage):
* WebProcess/InjectedBundle/InjectedBundleClient.h: Added.
* win/WebKit2.vcproj:

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

9 years ago2010-11-11 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 11 Nov 2010 21:12:37 +0000 (21:12 +0000)]
2010-11-11  Eric Seidel  <eric@webkit.org>

        Rubber-stamped by Adam Barth.

        Move bugzilla.py into its own module in preparation for splitting one-file-per-class
        https://bugs.webkit.org/show_bug.cgi?id=49402

        * Scripts/webkitpy/common/net/bugzilla/__init__.py: Added.
        * Scripts/webkitpy/common/net/bugzilla/bugzilla.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/bugzilla.py.
        * Scripts/webkitpy/common/net/bugzilla/bugzilla_unittest.py: Renamed from WebKitTools/Scripts/webkitpy/common/net/bugzilla_unittest.py.

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

9 years ago2010-11-11 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Thu, 11 Nov 2010 21:10:06 +0000 (21:10 +0000)]
2010-11-11  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
        https://bugs.webkit.org/show_bug.cgi?id=49388

        Renamed GraphicsLayerCA.* to GraphicsLayerMac.*

        * WebCore.xcodeproj/project.pbxproj:
        * platform/graphics/mac/GraphicsLayerCA.h: Removed.
        * platform/graphics/mac/GraphicsLayerCA.mm: Removed.
        * platform/graphics/mac/GraphicsLayerMac.h: Copied from WebCore/platform/graphics/mac/GraphicsLayerCA.h.
        * platform/graphics/mac/GraphicsLayerMac.mm: Copied from WebCore/platform/graphics/mac/GraphicsLayerCA.mm.

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

9 years ago2010-11-11 Kenneth Russell <kbr@google.com>
kbr@google.com [Thu, 11 Nov 2010 21:05:31 +0000 (21:05 +0000)]
2010-11-11  Kenneth Russell  <kbr@google.com>

        Reviewed by James Robinson.

        [chromium] Missing adoptPtr in GraphicsContext3DSkia.cpp
        https://bugs.webkit.org/show_bug.cgi?id=49359

        * platform/graphics/skia/GraphicsContext3DSkia.cpp:
        (WebCore::GraphicsContext3D::getImageData):

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

9 years ago2010-11-11 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 11 Nov 2010 21:02:48 +0000 (21:02 +0000)]
2010-11-11  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium expectations update and rebaseline.

        - fast/text/justification-padding-mid-word.html started to pass on Linux
          and Windows after r71809 updated baselines for it.
        - fast/text/international/bidi-control-chars-treated-as-ZWS.html should
          pass with the regular Mac baselines, don't need chromium-mac ones
          anymore
        - Rebaseline fast/text/international/bidi-neutral-run.html

        * platform/chromium-mac/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.txt: Removed.
        * platform/chromium-mac/fast/text/international/bidi-neutral-run-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years agoRemove an unneeded CFAllocatorRef parameter.
andersca@apple.com [Thu, 11 Nov 2010 20:59:39 +0000 (20:59 +0000)]
Remove an unneeded CFAllocatorRef parameter.

Reviewed by Adam Roben.

* Shared/API/c/mac/WKURLResponseNS.h:
* Shared/API/c/mac/WKURLResponseNS.mm:
(WKURLResponseCopyNSURLResponse):

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

9 years ago2010-11-11 Dan Horák <dan@danny.cz>
commit-queue@webkit.org [Thu, 11 Nov 2010 20:57:39 +0000 (20:57 +0000)]
2010-11-11  Dan Horák  <dan@danny.cz>

        Reviewed by Andreas Kling.

        Add support for the s390/s390x architectures, it's big-endian
        with s390 being 32-bit and s390x being 64-bit.

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

        * wtf/Platform.h:

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

9 years ago<rdar://problem/8113511> Enable auto-hyphenation
mitz@apple.com [Thu, 11 Nov 2010 20:57:29 +0000 (20:57 +0000)]
<rdar://problem/8113511> Enable auto-hyphenation

Reviewed by Adam Roben.

* WebCore.vcproj/WebCore.vcproj: Included HyphenationCF.cpp instead of Hyphenation.cpp.
* platform/text/cf/HyphenationCF.cpp: Added functions and definitions for Windows to look up CFStringGetHyphenationLocationBeforeIndex
and CFStringIsHyphenationAvailableForLocale at runtime.
(wkCFStringGetHyphenationLocationBeforeIndex):
(wkCFStringIsHyphenationAvailableForLocale):
(WebCore::lastHyphenLocation): Added a cast.

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

9 years ago2010-11-11 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 11 Nov 2010 20:31:35 +0000 (20:31 +0000)]
2010-11-11  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Eric Seidel.

        video-pause-immediately.html sometimes fails
        https://bugs.webkit.org/show_bug.cgi?id=49397

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::playInternal): Don't bother calling invalidateCachedTime, it
        will be called from updatePlayState.
        (WebCore::HTMLMediaElement::pauseInternal): Don't bother calling refreshCachedTime, it
        will be called from updatePlayState.
        (WebCore::HTMLMediaElement::updatePlayState): Call refreshCachedTime after telling the media
        engine to pause so we cache the post-paused time.

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

9 years ago2010-11-11 Eric Seidel <eric@webkit.org>
eric@webkit.org [Thu, 11 Nov 2010 20:24:09 +0000 (20:24 +0000)]
2010-11-11  Eric Seidel  <eric@webkit.org>

        Rubber-stamped by Adam Roben.

        * .: Modified property svn:ignore.
         - Add WebKitSupportLibrary.zip and WebKitBuild to the root ignore list.

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

9 years agoAdd and implement WKDownloadCopyRequest
andersca@apple.com [Thu, 11 Nov 2010 20:18:14 +0000 (20:18 +0000)]
Add and implement WKDownloadCopyRequest
https://bugs.webkit.org/show_bug.cgi?id=49393

Reviewed by Adam Roben.

* Shared/API/c/mac/WKURLRequestNS.h:
* Shared/API/c/mac/WKURLRequestNS.mm:
(WKURLRequestCopyNSURLRequest):
Remove unneeded CFAllocator parameter.

* Shared/WebURLRequest.cpp:
(WebKit::WebURLRequest::WebURLRequest):
* Shared/WebURLRequest.h:
(WebKit::WebURLRequest::create):
Change create to take a ResourceRequest instead.

* UIProcess/API/C/WKDownload.cpp:
(WKDownloadCopyRequest):
Return a copied WKURLRequest.

* UIProcess/API/C/WKDownload.h:
* UIProcess/Downloads/DownloadProxy.cpp:
(WebKit::DownloadProxy::didStart):
Set the request.

* UIProcess/Downloads/DownloadProxy.h:
(WebKit::DownloadProxy::request):
Return the request.

* UIProcess/Downloads/DownloadProxy.messages.in:
* WebProcess/Downloads/Download.cpp:
(WebKit::Download::didStart):
Pass the request along when sending the DidStart message.

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

9 years ago2010-11-11 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 11 Nov 2010 19:39:37 +0000 (19:39 +0000)]
2010-11-11  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed rollout.

        Roll out r71827 and r71831, which caused many GPU canvas test failures.

        * platform/graphics/Extensions3D.h:
        * platform/graphics/chromium/DrawingBufferChromium.cpp:
        (WebCore::DrawingBuffer::reset):
        (WebCore::DrawingBuffer::getRenderingResultsAsTexture):
        * platform/graphics/chromium/Extensions3DChromium.h:
        * platform/graphics/gpu/DrawingBuffer.cpp:
        (WebCore::DrawingBuffer::create):
        (WebCore::DrawingBuffer::clear):
        (WebCore::DrawingBuffer::bind):
        * platform/graphics/gpu/DrawingBuffer.h:
        * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
        (WebCore::SharedGraphicsContext3D::create):
        * platform/graphics/gpu/mac/DrawingBufferMac.mm:
        (WebCore::DrawingBuffer::DrawingBuffer):
        (WebCore::DrawingBuffer::reset):
        * platform/graphics/opengl/Extensions3DOpenGL.cpp:
        (WebCore::Extensions3DOpenGL::supports):
        * platform/graphics/opengl/Extensions3DOpenGL.h:
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::draw):

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

9 years ago2010-11-11 Xiaomei Ji <xji@chromium.org>
xji@chromium.org [Thu, 11 Nov 2010 19:07:15 +0000 (19:07 +0000)]
2010-11-11  Xiaomei Ji  <xji@chromium.org>

        Reviewed by Adam Roben.

        Rebaseline bidi-control-chars-treated-as-ZWS after r71566.
        Move the result from win/ (since Windows 7 result matches Mac's) to win-xp/
        https://bugs.webkit.org/show_bug.cgi?id=49391

        * platform/win-xp/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.checksum: Copied from LayoutTests/platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.checksum.
        * platform/win-xp/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.png: Copied from LayoutTests/platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.png.
        * platform/win-xp/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.txt: Copied from LayoutTests/platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.txt.
        * platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.checksum: Removed.
        * platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.png: Removed.
        * platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.txt: Removed.

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

9 years ago2010-11-11 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 11 Nov 2010 18:52:36 +0000 (18:52 +0000)]
2010-11-11  Eric Carlson  <eric.carlson@apple.com>

        Unreviewed.

        video-played-* tests results are sensitive to timing
        https://bugs.webkit.org/show_bug.cgi?id=49390

        Skip tests that fail on Leopard Release builds.

        * platform/mac-leopard/Skipped:

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

9 years ago2010-11-11 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 11 Nov 2010 18:44:36 +0000 (18:44 +0000)]
2010-11-11  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed; add missing baseline checksums.

        r71784 did not include .checksum files, add them (Chromium needs a
        different one, persumably because it computes checksums for images
        with alpha channels differently).

        * fast/images/png_per_row_alpha_decoding-expected.checksum: Added.
        * platform/chromium/fast/images/png_per_row_alpha_decoding-expected.checksum: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago* WebKit2.xcodeproj/project.pbxproj:
sullivan@apple.com [Thu, 11 Nov 2010 18:40:46 +0000 (18:40 +0000)]
* WebKit2.xcodeproj/project.pbxproj:
Added WKBundlePageOverlay.h to the WebKit2 Target and made it public.

Rubber-stamped by Anders Carlsson.

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

9 years agoMove GraphicsContext setup code to PageOverlay::drawRect
andersca@apple.com [Thu, 11 Nov 2010 18:18:24 +0000 (18:18 +0000)]
Move GraphicsContext setup code to PageOverlay::drawRect
https://bugs.webkit.org/show_bug.cgi?id=49389

Reviewed by John Sullivan.

* WebProcess/InjectedBundle/API/c/WKBundlePageOverlay.h:
* WebProcess/WebPage/FindController.cpp:
(WebKit::FindController::drawRect):
* WebProcess/WebPage/PageOverlay.cpp:
(WebKit::PageOverlay::drawRect):

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

9 years ago2010-11-11 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 11 Nov 2010 18:13:04 +0000 (18:13 +0000)]
2010-11-11  Eric Carlson  <eric.carlson@apple.com>

        Restore the portion of the ChangeLog removed in my last commit.

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

9 years ago2010-11-11 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 11 Nov 2010 17:47:55 +0000 (17:47 +0000)]
2010-11-11  Eric Carlson  <eric.carlson@apple.com>

        Unreviewed Leoaprd build fix.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::invalidateCachedTime): Make the const a double.

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

9 years agoSL bug fix in ExtensionsOpenGL.cpp
cmarrin@apple.com [Thu, 11 Nov 2010 17:45:40 +0000 (17:45 +0000)]
SL bug fix in ExtensionsOpenGL.cpp

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

9 years ago2010-11-11 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Thu, 11 Nov 2010 17:41:34 +0000 (17:41 +0000)]
2010-11-11  Dirk Schulze  <krit@webkit.org>

        Unreviewed Qt build fix.

        SVGAnimation calcMode 'spline' should be useable for from-to and from-by animations
        https://bugs.webkit.org/show_bug.cgi?id=49284

        * svg/SVGAnimationElement.cpp:
        (WebCore::SVGAnimationElement::calculatePercentFromKeyPoints):
        (WebCore::SVGAnimationElement::startedActiveInterval):

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

9 years ago2010-11-11 Hans Wennborg <hans@chromium.org>
hans@chromium.org [Thu, 11 Nov 2010 17:35:26 +0000 (17:35 +0000)]
2010-11-11  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: signal IDBFactoryBackendInterface destruction to embedder
        https://bugs.webkit.org/show_bug.cgi?id=49313

        Implement ChromiumBridge::idbShutdown(), passing through to the
        WebKitClient.

        * public/WebKitClient.h:
        (WebKit::WebKitClient::idbShutdown):
        * src/ChromiumBridge.cpp:
        (WebCore::ChromiumBridge::idbShutdown):
2010-11-11  Hans Wennborg  <hans@chromium.org>

        Reviewed by Jeremy Orlow.

        IndexedDB: signal IDBFactoryBackendInterface destruction to embedder
        https://bugs.webkit.org/show_bug.cgi?id=49313

        Define IDBFactoryBackendInterface destructor out-of-line to allow
        for embedder-specific implementation. For Chromium, have the
        destructor call ChromiumBridge::idbShutdown().

        * platform/chromium/ChromiumBridge.h:
        * storage/IDBFactoryBackendInterface.cpp:
        (WebCore::IDBFactoryBackendInterface::~IDBFactoryBackendInterface):
        * storage/IDBFactoryBackendInterface.h:
        * storage/chromium/IDBFactoryBackendInterface.cpp:
        (WebCore::IDBFactoryBackendInterface::~IDBFactoryBackendInterface):

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

9 years ago2010-11-11 Dirk Schulze <krit@webkit.org>
krit@webkit.org [Thu, 11 Nov 2010 17:26:26 +0000 (17:26 +0000)]
2010-11-11  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVGAnimation calcMode 'spline' should be useable for from-to and from-by animations
        https://bugs.webkit.org/show_bug.cgi?id=49284

        Add support for from-to and from-by animations in combination with calcMode 'spline' for SVGAnimations.

        Tests: svg/animations/animate-calcMode-spline-by.html
               svg/animations/animate-calcMode-spline-from-by.html
               svg/animations/animate-calcMode-spline-from-to.html
               svg/animations/animate-calcMode-spline-to.html
               svg/animations/animate-calcMode-spline-values.html

        * svg/SVGAnimationElement.cpp:
        (WebCore::SVGAnimationElement::calculateKeyTimesIndex): Added to share more code.
        (WebCore::SVGAnimationElement::calculatePercentFromKeyPoints):
        (WebCore::SVGAnimationElement::currentValuesForValuesAnimation):
        (WebCore::SVGAnimationElement::startedActiveInterval):
        (WebCore::SVGAnimationElement::updateAnimation):
        * svg/SVGAnimationElement.h:
2010-11-11  Dirk Schulze  <krit@webkit.org>

        Reviewed by Nikolas Zimmermann.

        SVGAnimation calcMode="spline" should use 'to' 'by' animation if no values were specified
        https://bugs.webkit.org/show_bug.cgi?id=49284

        Added new SVG animation tests to test calcMode 'spline'.

        * svg/animations/animate-calcMode-spline-by-expected.txt: Added.
        * svg/animations/animate-calcMode-spline-by.html: Added.
        * svg/animations/animate-calcMode-spline-from-by-expected.txt: Added.
        * svg/animations/animate-calcMode-spline-from-by.html: Added.
        * svg/animations/animate-calcMode-spline-from-to-expected.txt: Added.
        * svg/animations/animate-calcMode-spline-from-to.html: Added.
        * svg/animations/animate-calcMode-spline-to-expected.txt: Added.
        * svg/animations/animate-calcMode-spline-to.html: Added.
        * svg/animations/animate-calcMode-spline-values-expected.txt: Added.
        * svg/animations/animate-calcMode-spline-values.html: Added.
        * svg/animations/script-tests/animate-calcMode-spline-by.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):
        * svg/animations/script-tests/animate-calcMode-spline-from-by.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):
        * svg/animations/script-tests/animate-calcMode-spline-from-to.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):
        * svg/animations/script-tests/animate-calcMode-spline-to.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):
        * svg/animations/script-tests/animate-calcMode-spline-values.js: Added.
        (sample1):
        (sample2):
        (sample3):
        (executeTest):

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

9 years ago2010-11-10 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Thu, 11 Nov 2010 17:11:31 +0000 (17:11 +0000)]
2010-11-10  Chris Marrin  <cmarrin@apple.com>

        Reviewed by James Robinson.

        Add multisampling support to DrawingBuffer.
        https://bugs.webkit.org/show_bug.cgi?id=49206

        Added support for the GL_ANGLE_framebuffer_blit and GL_ANGLE_framebuffer_multisample
        extensions to Extensions3D. Then I use these to add multisample support to DrawingBuffer.

        * platform/graphics/Extensions3D.h:
        * platform/graphics/chromium/DrawingBufferChromium.cpp:
        (WebCore::DrawingBuffer::platformColorBuffer):
        * platform/graphics/chromium/Extensions3DChromium.h:
        (WebCore::Extensions3DChromium::blitFramebuffer):
        (WebCore::Extensions3DChromium::renderbufferStorageMultisample):
        * platform/graphics/gpu/DrawingBuffer.cpp:
        (WebCore::DrawingBuffer::create):
        (WebCore::DrawingBuffer::clear):
        (WebCore::DrawingBuffer::reset):
        (WebCore::DrawingBuffer::commit):
        (WebCore::DrawingBuffer::bind):
        * platform/graphics/gpu/DrawingBuffer.h:
        (WebCore::DrawingBuffer::multisample):
        * platform/graphics/gpu/mac/DrawingBufferMac.mm:
        (WebCore::DrawingBuffer::DrawingBuffer):
        (WebCore::DrawingBuffer::platformLayer):
        (WebCore::DrawingBuffer::platformColorBuffer):
        * platform/graphics/opengl/Extensions3DOpenGL.cpp:
        (WebCore::Extensions3DOpenGL::supports):
        (WebCore::Extensions3DOpenGL::blitFramebuffer):
        (WebCore::Extensions3DOpenGL::renderbufferStorageMultisample):
        * platform/graphics/opengl/Extensions3DOpenGL.h:
        * platform/graphics/skia/ImageBufferSkia.cpp:
        (WebCore::ImageBuffer::draw):

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

9 years ago2010-11-11 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 11 Nov 2010 16:42:41 +0000 (16:42 +0000)]
2010-11-11  Eric Carlson  <eric.carlson@apple.com>

        Build fix after r71824.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::invalidateCachedTime): Use an explicit cast from double to float.
        (WebCore::HTMLMediaElement::currentTime): Ditto.

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

9 years agoBuild fix after r71816
aroben@apple.com [Thu, 11 Nov 2010 16:22:24 +0000 (16:22 +0000)]
Build fix after r71816

* WebProcess/WebPage/WebPage.messages.in: Compile out
SetActualVisibleContentRect when ENABLE(TILED_BACKING_STORE) is
turned off.

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

9 years ago2010-11-11 Eric Carlson <eric.carlson@apple.com>
eric.carlson@apple.com [Thu, 11 Nov 2010 16:08:15 +0000 (16:08 +0000)]
2010-11-11  Eric Carlson  <eric.carlson@apple.com>

        Reviewed by Antti Koivisto.

        Lots of time spent in MediaPlayerPrivate::currentTime() when playing multiple videos.
        https://bugs.webkit.org/show_bug.cgi?id=49009

        Make it possible for HTMLMediaElement to cache the movie time and report 'currentTime'
        as [cached time + elapsed wall time]. The media engine returns the maximum duration it
        is safe to calculate time before resampling the actual movie time with the new
        maximumDurationToCacheMovieTime method. Because this may be different for different media
        engines the default return value is 0, making it an opt-in feature.

        No new tests were added because the existing tests already check currentTime, and because
        it is only possible to look for drift between the calculated and actual media time by
        calculating the time AND getting the actual media time - which the defeats the purpose of
        the change. Building with LOG_CACHED_TIME_WARNINGS defined enables code that does both
        and logs warnings when the delta between calculated and observed is greater than 0.01.

        * html/HTMLMediaElement.cpp:
        (WebCore::HTMLMediaElement::HTMLMediaElement): Initialize new member variables.
        (WebCore::HTMLMediaElement::prepareForLoad): Force a time resync before setting m_paused.
        (WebCore::HTMLMediaElement::seek): Force a time resync before getting the current time before
        seeking so there is no drift.
        (WebCore::HTMLMediaElement::refreshCachedTime): New, update the cached movie time and the
        wall clock time it was recorded.
        (WebCore::HTMLMediaElement::invalidateCachedTime): New, flag the cached time as invalid.
        (WebCore::HTMLMediaElement::currentTime): Use a cached movie time for as long as the media
        engine says it is safe. Lots of optional logging can be enabled to help ports fine tune
        the maximum cache interval.
        (WebCore::HTMLMediaElement::ended): Force a time resync before setting m_paused.
        (WebCore::HTMLMediaElement::endScrubbing): Fix a typo in the logging.
        (WebCore::HTMLMediaElement::scheduleTimeupdateEvent): Call currentTime() instead of calling
        MediaPlayer so we use the cached time as much as it possible.
        (WebCore::HTMLMediaElement::mediaPlayerTimeChanged): Invalidate cached time because the engine
        seeked.
        (WebCore::HTMLMediaElement::mediaPlayerRateChanged): Ditto.
        (WebCore::HTMLMediaElement::updatePlayState): Invalidate cached time before changing m_paused.
        * html/HTMLMediaElement.h:

        * platform/graphics/MediaPlayer.cpp:
        (WebCore::MediaPlayer::maximumDurationToCacheMovieTime): New.
        * platform/graphics/MediaPlayer.h:
        * platform/graphics/MediaPlayerPrivate.h:
        (WebCore::MediaPlayerPrivateInterface::maximumDurationToCacheMovieTime): New.

        * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
        (WebCore::MediaPlayerPrivate::maximumDurationToCacheMovieTime): New, say it is safe to cache
        time for five seconds (based on lots of experimenting with LOG_CACHED_TIME_WARNINGS enabled).

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

9 years agoWindows build fix after r71816
aroben@apple.com [Thu, 11 Nov 2010 16:02:25 +0000 (16:02 +0000)]
Windows build fix after r71816

r71816 renamed
WebCore/platform/graphics/cairo/FontPlatformDataCairoWin.h to
WebCore/platform/graphics/win/FontPlatformData.h. This made Apple's
Windows port pick up this header in preference to
WebCore/platform/cg/FontPlatformData.h, thus breaking the build. I
moved the file to
WebCore/platform/graphics/win/cairo/FontPlatformData.h so it won't be
picked up by Apple's Windows build.

* WebCore.vcproj/WebCore.vcproj: Updated for file move and let VS
re-sort the files.

* WebCore.vcproj/WebCoreCairo.vsprops: Added
platform/graphics/win/cairo to the include path.

* WebCore.vcproj/copyForwardingHeaders.cmd: Copy files from
platform/graphics/win/cairo to $WebKitOutputDir.

* platform/graphics/cg/FontPlatformData.h: Touched to force this file
to be recopied for Apple's build.

* platform/graphics/win/cairo/FontPlatformData.h: Renamed from
WebCore/platform/graphics/win/FontPlatformData.h.

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

9 years ago2010-11-11 Chang Shu <chang.shu@nokia.com>
chang.shu@nokia.com [Thu, 11 Nov 2010 15:51:25 +0000 (15:51 +0000)]
2010-11-11  Chang Shu  <chang.shu@nokia.com>

        Reviewed by Csaba Osztrogonác  <ossy@webkit.org>.

        Clean up LayoutTests/canvas/philip/tests/security* tests
        https://bugs.webkit.org/show_bug.cgi?id=49317

        The security tests require httpd and should be in http/tests/canvas/philip/tests.

        * canvas/philip/tests/security.drawImage.canvas-expected.txt: Removed.
        * canvas/philip/tests/security.drawImage.canvas.html: Removed.
        * canvas/philip/tests/security.drawImage.image-expected.txt: Removed.
        * canvas/philip/tests/security.drawImage.image.html: Removed.
        * canvas/philip/tests/security.pattern.canvas.fillStyle-expected.txt: Removed.
        * canvas/philip/tests/security.pattern.canvas.fillStyle.html: Removed.
        * canvas/philip/tests/security.pattern.canvas.strokeStyle-expected.txt: Removed.
        * canvas/philip/tests/security.pattern.canvas.strokeStyle.html: Removed.
        * canvas/philip/tests/security.pattern.canvas.timing-expected.txt: Removed.
        * canvas/philip/tests/security.pattern.canvas.timing.html: Removed.
        * canvas/philip/tests/security.pattern.create-expected.txt: Removed.
        * canvas/philip/tests/security.pattern.create.html: Removed.
        * canvas/philip/tests/security.pattern.cross-expected.txt: Removed.
        * canvas/philip/tests/security.pattern.cross.html: Removed.
        * canvas/philip/tests/security.pattern.image.fillStyle-expected.txt: Removed.
        * canvas/philip/tests/security.pattern.image.fillStyle.html: Removed.
        * canvas/philip/tests/security.pattern.image.strokeStyle-expected.txt: Removed.
        * canvas/philip/tests/security.pattern.image.strokeStyle.html: Removed.
        * canvas/philip/tests/security.reset-expected.txt: Removed.
        * canvas/philip/tests/security.reset.html: Removed.
        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac-leopard/Skipped:
        * platform/qt/Skipped:

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

9 years ago2010-11-11 Balazs Kelemen <kbalazs@webkit.org>
kbalazs@webkit.org [Thu, 11 Nov 2010 15:47:40 +0000 (15:47 +0000)]
2010-11-11  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Andreas Kling.

        [Qt][WK2] Implement BackingStore
        https://bugs.webkit.org/show_bug.cgi?id=49377
        No change in functionality so no tests.

        Add a way to hand off ownership of the QPainter and the underlying
        QPaintDevice to the GraphicsContext.
        * platform/graphics/GraphicsContext.h:
        * platform/graphics/qt/GraphicsContextQt.cpp:
        (WebCore::GraphicsContextPlatformPrivate::takeOwnershipOfPlatformContext):
        (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
        (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
        (WebCore::GraphicsContext::takeOwnershipOfPlatformContext):
2010-11-11  Balazs Kelemen  <kbalazs@webkit.org>

        Reviewed by Andreas Kling.

        [Qt][WK2] Implement BackingStore
        https://bugs.webkit.org/show_bug.cgi?id=49377

        * Shared/qt/BackingStoreQt.cpp:
        (WebKit::createQImage): Added static helper. Creates a QImage
        from the shared memory buffer.
        (WebKit::BackingStore::createGraphicsContext):
        (WebKit::BackingStore::createFlippedGraphicsContext): Leave
        unimplemented with an ASSERT_NOT_REACHED since this is only
        needed for the CoreGraphics backend.
        (WebKit::BackingStore::paint):

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

9 years ago2010-11-11 Marcus Bulach <bulach@chromium.org>
bulach@chromium.org [Thu, 11 Nov 2010 15:40:02 +0000 (15:40 +0000)]
2010-11-11  Marcus Bulach  <bulach@chromium.org>

        Update chromium baselines for svg following r71802

        Not reviewed, Chromium test expectation update..

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

        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png: Added.
        * platform/chromium-win/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: Added.

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

9 years agoUnreviewed.
ossy@webkit.org [Thu, 11 Nov 2010 15:27:02 +0000 (15:27 +0000)]
Unreviewed.

[Qt] Add platform specific expected results for new passing tests introduced in r71802.
Compared to Mac png files and Mac expected files.

* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png: Added.
* platform/qt/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: Added.

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

9 years ago2010-11-11 Yi Shen <yi.4.shen@nokia.com>
commit-queue@webkit.org [Thu, 11 Nov 2010 14:50:51 +0000 (14:50 +0000)]
2010-11-11  Yi Shen  <yi.4.shen@nokia.com>

        Reviewed by Andreas Kling.

        [Qt] QWebScriptWorld::world() may crash
        https://bugs.webkit.org/show_bug.cgi?id=49342

        * Api/qwebscriptworld.cpp:
        (QWebScriptWorld::world):

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

9 years ago2010-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
andreas.kling@nokia.com [Thu, 11 Nov 2010 14:47:23 +0000 (14:47 +0000)]
2010-11-11  Kenneth Rohde Christiansen  <kenneth@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Add a Qt WebKit2 API for overriding the actual visible content rect
        https://bugs.webkit.org/show_bug.cgi?id=49381

        Add an Qt WebKit2 API for overriding the actual visible content rect in
        WebCore. This is supposed to be used in combination with tiling.

        * UIProcess/API/qt/qwkpage.cpp:
        (QWKPage::setActualVisibleContentsRect):
        * UIProcess/API/qt/qwkpage.h:
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::setActualVisibleContentRect):
        * UIProcess/WebPageProxy.h:
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::setActualVisibleContentRect):
        * WebProcess/WebPage/WebPage.h:
        * WebProcess/WebPage/WebPage.messages.in:

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

9 years ago2010-11-11 Ryuan Choi <ryuan.choi@samsung.com>
commit-queue@webkit.org [Thu, 11 Nov 2010 14:33:29 +0000 (14:33 +0000)]
2010-11-11  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Adam Barth.

        [GTK] Move font related files.
        https://bugs.webkit.org/show_bug.cgi?id=48116

        Move pango and freetype related files to share non-GTK+ platforms.

        No new tests because this is pure refactoring.

        * CMakeListsEfl.txt:
        * GNUmakefile.am:
        * WebCore.vcproj/WebCore.vcproj:
        * platform/graphics/cairo/FontCacheFreeType.cpp: Removed.
        * platform/graphics/cairo/FontCustomPlatformData.cpp: Removed.
        * platform/graphics/cairo/FontPlatformData.h: Removed.
        * platform/graphics/cairo/FontPlatformDataFreeType.cpp: Removed.
        * platform/graphics/cairo/FontPlatformDataFreeType.h: Removed.
        * platform/graphics/cairo/GlyphPageTreeNodeCairo.cpp: Removed.
        * platform/graphics/cairo/SimpleFontDataCairo.cpp: Removed.
        * platform/graphics/freetype: Added.
        * platform/graphics/freetype/FontCacheFreeType.cpp: Copied from WebCore/platform/graphics/cairo/FontCacheFreeType.cpp.
        * platform/graphics/freetype/FontCustomPlatformDataFreeType.cpp: Copied from WebCore/platform/graphics/cairo/FontCustomPlatformData.cpp.
        * platform/graphics/freetype/FontPlatformData.h: Copied from WebCore/platform/graphics/cairo/FontPlatformDataFreeType.h.
        * platform/graphics/freetype/FontPlatformDataFreeType.cpp: Copied from WebCore/platform/graphics/cairo/FontPlatformDataFreeType.cpp.
        * platform/graphics/freetype/GlyphPageTreeNodeFreeType.cpp: Copied from WebCore/platform/graphics/cairo/GlyphPageTreeNodeCairo.cpp.
        * platform/graphics/freetype/SimpleFontDataFreeType.cpp: Copied from WebCore/platform/graphics/cairo/SimpleFontDataCairo.cpp.
        * platform/graphics/gtk/FontCachePango.cpp: Removed.
        * platform/graphics/gtk/FontCustomPlatformDataPango.cpp: Removed.
        * platform/graphics/gtk/FontPlatformDataPango.cpp: Removed.
        * platform/graphics/gtk/FontPlatformDataPango.h: Removed.
        * platform/graphics/gtk/GlyphPageTreeNodePango.cpp: Removed.
        * platform/graphics/gtk/SimpleFontDataPango.cpp: Removed.
        * platform/graphics/pango: Added.
        * platform/graphics/pango/FontCachePango.cpp: Copied from WebCore/platform/graphics/gtk/FontCachePango.cpp.
        * platform/graphics/pango/FontCustomPlatformDataPango.cpp: Copied from WebCore/platform/graphics/gtk/FontCustomPlatformDataPango.cpp.
        * platform/graphics/pango/FontPlatformData.h: Copied from WebCore/platform/graphics/gtk/FontPlatformDataPango.h.
        * platform/graphics/pango/FontPlatformDataPango.cpp: Copied from WebCore/platform/graphics/gtk/FontPlatformDataPango.cpp.
        * platform/graphics/pango/GlyphPageTreeNodePango.cpp: Copied from WebCore/platform/graphics/gtk/GlyphPageTreeNodePango.cpp.
        * platform/graphics/pango/SimpleFontDataPango.cpp: Copied from WebCore/platform/graphics/gtk/SimpleFontDataPango.cpp.
        * platform/graphics/win/FontPlatformData.h: Copied from WebCore/platform/graphics/win/FontPlatformDataCairoWin.h.
        * platform/graphics/win/FontPlatformDataCairoWin.h: Removed.
2010-11-11  Ryuan Choi  <ryuan.choi@samsung.com>

        Reviewed by Adam Barth.

        [GTK] Move font related files.
        https://bugs.webkit.org/show_bug.cgi?id=48116

        Add freetype/ to include path.

        * CMakeListsEfl.txt:

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

9 years ago2010-11-11 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 11 Nov 2010 14:08:13 +0000 (14:08 +0000)]
2010-11-11  Nikolas Zimmermann  <nzimmermann@rim.com>

        Rubber-stamped by Dirk Schulze.

        Update Snow Leopard baseline, move leopard generated files into platform/mac-leopard.

        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum: Copied from platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png: Copied from platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum: Copied from platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png: Copied from platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.checksum: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.checksum.
        * platform/mac-leopard/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png: Copied from platform/mac/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.png.
        * platform/mac-leopard/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.checksum: Copied from platform/mac/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.checksum.
        * platform/mac-leopard/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.png: Copied from platform/mac/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.png.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.checksum:
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-06-f-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-bias-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-divisor-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-edgeMode-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-in-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelMatrix-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-kernelUnitLength-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-order-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-preserveAlpha-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetX-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFEConvolveMatrixElement-svgdom-targetY-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFETileElement-dom-in-attr-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFETileElement-svgdom-in-prop-expected.png:
        * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop-expected.checksum:
        * platform/mac/svg/dynamic-updates/SVGFETurbulenceElement-svgdom-baseFrequency-prop-expected.png:

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

9 years ago2010-11-11 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 11 Nov 2010 14:06:50 +0000 (14:06 +0000)]
2010-11-11  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: size of resources in summary is 0
        when there are redirects.
        https://bugs.webkit.org/show_bug.cgi?id=49242

        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._updateSummaryBar):

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

9 years ago2010-11-11 Ben Murdoch <benm@google.com>
benm@google.com [Thu, 11 Nov 2010 13:49:14 +0000 (13:49 +0000)]
2010-11-11  Ben Murdoch  <benm@google.com>

        Reviewed by Darin Fisher.

        document.createTouch and document.createTouchList should specify EnabledAtRuntime
        https://bugs.webkit.org/show_bug.cgi?id=49324

        The createTouch and createTouchList APIs added to Document.idl in
        http://trac.webkit.org/changeset/70047 should have EnabledAtRuntime
        specified as touch related features are controlled by a
        RuntimeEnabledFeature flag in addition to a compile time guard.

        No new tests. This should have been part of r70047 and
        that revision provided adequate tests of the new feature.

        * bindings/generic/RuntimeEnabledFeatures.h:
        (WebCore::RuntimeEnabledFeatures::createTouchEnabled):
        (WebCore::RuntimeEnabledFeatures::createTouchListEnabled):
        * dom/Document.idl: Add EnabledAtRuntime specifier to the
            idl methods.

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

9 years ago2010-11-09 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 11 Nov 2010 13:46:46 +0000 (13:46 +0000)]
2010-11-09  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Provide context menu item 'Reveal in Elements Panel'
        on elements in inspector UI.
        https://bugs.webkit.org/show_bug.cgi?id=49161

        * English.lproj/localizedStrings.js:
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired.focusElement):
        (WebInspector.ElementsTreeOutline.prototype._contextMenuEventFired):
        * inspector/front-end/ObjectPropertiesSection.js:
        (WebInspector.ObjectPropertyTreeElement.prototype.update):
        (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired):
        (WebInspector.ObjectPropertyTreeElement.prototype._contextMenuEventFired.revealElement):

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

9 years agoSkip a newly-crashing test on Windows
aroben@apple.com [Thu, 11 Nov 2010 13:27:45 +0000 (13:27 +0000)]
Skip a newly-crashing test on Windows

* platform/win/Skipped: Added accessibility/iframe-bastardization.html.

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

9 years ago2010-11-11 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Thu, 11 Nov 2010 13:27:28 +0000 (13:27 +0000)]
2010-11-11  Pavel Feldman  <pfeldman@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: Audit panel toolbar icon shifts left when clicked.
        https://bugs.webkit.org/show_bug.cgi?id=48766

        * inspector/front-end/Images/auditsIcon.png:

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

9 years agoUpdate Windows results after r71566 and r71783
aroben@apple.com [Thu, 11 Nov 2010 13:23:45 +0000 (13:23 +0000)]
Update Windows results after r71566 and r71783

<http://webkit.org/b/49378> covers the
justification-padding-mid-word.html failure. The other test seems to be
passing (the two lines are the same width), but the text is slightly
lower than on Mac.

* platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.checksum: Added.
* platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.png: Added.
* platform/win/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.txt: Added.
* platform/win/fast/text/justification-padding-mid-word-expected.txt: Added.

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

9 years ago2010-11-11 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 11 Nov 2010 13:11:29 +0000 (13:11 +0000)]
2010-11-11  Andreas Kling  <kling@webkit.org>

        Unreviewed, remove SL-specific failure result for canvas test 2d.drawImage.null since it now passes.

        * platform/mac-snowleopard/canvas/philip/tests/2d.drawImage.null-expected.txt: Removed.

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

9 years ago[Qt] clean canvas layout tests skipped file
ossy@webkit.org [Thu, 11 Nov 2010 13:01:04 +0000 (13:01 +0000)]
[Qt] clean canvas layout tests skipped file
Removed the following test cases from skipped list:
canvas/philip/tests/2d.imageData.get.source.negative.html
canvas/philip/tests/toDataURL.jpeg.quality.basic.html

Patch by Qi Zhang <qi.2.zhang@nokia.com> on 2010-11-11
Reviewed by Csaba Osztrogonác.

* platform/qt/Skipped:

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

9 years ago2010-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
andreas.kling@nokia.com [Thu, 11 Nov 2010 12:46:41 +0000 (12:46 +0000)]
2010-11-11  Kenneth Rohde Christiansen  <kenneth@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Add an API for overriding the actual visible content rect in WebCore
        https://bugs.webkit.org/show_bug.cgi?id=49373

        * Api/qwebpage.cpp:
        (QWebPage::setActualVisibleContentRect):
        * Api/qwebpage.h:

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

9 years ago2010-11-11 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 11 Nov 2010 12:46:36 +0000 (12:46 +0000)]
2010-11-11  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        chrome.dll!WebCore::SVGLengthInternal::valueInSpecifiedUnitsAttrGetter ReadAV@NULL (4cf97a4f3ebe8006a2f5ffcc5bc10aeb)
        https://bugs.webkit.org/show_bug.cgi?id=49331

        Test: svg/dom/SVGPolygonElement-baseVal-list-removal-crash.html

        * svg/properties/SVGListProperty.h:
        (WebCore::SVGListProperty::replaceItemValuesAndWrappers): Avoid premature deletion of 'oldItem'.
        (WebCore::SVGListProperty::removeItemValuesAndWrappers): Ditto.

2010-11-11  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        chrome.dll!WebCore::SVGLengthInternal::valueInSpecifiedUnitsAttrGetter ReadAV@NULL (4cf97a4f3ebe8006a2f5ffcc5bc10aeb)
        https://bugs.webkit.org/show_bug.cgi?id=49331

        * svg/dom/SVGPolygonElement-baseVal-list-removal-crash-expected.txt: Added.
        * svg/dom/SVGPolygonElement-baseVal-list-removal-crash.html: Added.

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

9 years ago2010-11-11 Kenneth Rohde Christiansen <kenneth@webkit.org>
andreas.kling@nokia.com [Thu, 11 Nov 2010 12:38:58 +0000 (12:38 +0000)]
2010-11-11  Kenneth Rohde Christiansen  <kenneth@webkit.org>

        Reviewed by Andreas Kling.

        Make it possible to override the visibleContentRect in the case the
        client is handling the scrolling. This is similar to what the iPhone does.

        * platform/ScrollView.cpp:
        (WebCore::ScrollView::visibleContentRect):
        * platform/ScrollView.h:
        (WebCore::ScrollView::setActualVisibleContentRect):

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

9 years ago2010-11-11 Andreas Kling <kling@webkit.org>
andreas.kling@nokia.com [Thu, 11 Nov 2010 12:32:29 +0000 (12:32 +0000)]
2010-11-11  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        FrameView: Don't clip to visibleContentRect in paintEntireContents mode
        https://bugs.webkit.org/show_bug.cgi?id=49375

        Use paintEntireContents in combination with tiling, allowing to
        actually set visibleContentRect to something different from
        the actual contents size.

        * Api/qgraphicswebview.cpp:
        (QGraphicsWebViewPrivate::updateResizesToContentsForPage):
        * WebCoreSupport/FrameLoaderClientQt.cpp:
        (WebCore::FrameLoaderClientQt::transitionToCommittedForNewPage):
2010-11-11  Andreas Kling  <kling@webkit.org>

        Reviewed by Kenneth Rohde Christiansen.

        FrameView: Don't clip to visibleContentRect in paintEntireContents mode
        https://bugs.webkit.org/show_bug.cgi?id=49375

        In paintEntireContents mode (used in combination with tiling) we
        cannot clip to the actual visibleContentRect as the clipped regions
        will not be updated again on scroll. If paintsEntireContents is
        enabled, return the actual content rect.

        * page/FrameView.cpp:
        (WebCore::FrameView::windowClipRect):

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

9 years ago2010-11-10 Nikolas Zimmermann <nzimmermann@rim.com>
zimmermann@webkit.org [Thu, 11 Nov 2010 11:20:11 +0000 (11:20 +0000)]
2010-11-10  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Convert SVGMatrix/SVGTransform/SVGTransformList to the new SVGPropertyTearOff concept
        https://bugs.webkit.org/show_bug.cgi?id=49311

        Move the last list type, SVGTransformList, and the last POD types, SVGMatrix & SVGTransform, over to the new SVGPropertyTearOff concept.
        Removes the need for a custom JSSVGMatrix/V8SVGMatrix implementation, it's all integrated within the bindings now.

        Tests: svg/W3C-SVG-1.1-SE/coords-dom-01-f.svg
               svg/W3C-SVG-1.1-SE/coords-dom-02-f.svg
               svg/W3C-SVG-1.1-SE/coords-dom-03-f.svg
               svg/W3C-SVG-1.1-SE/coords-dom-04-f.svg
               svg/W3C-SVG-1.1-SE/types-dom-01-b.svg
               svg/W3C-SVG-1.1-SE/types-dom-02-f.svg
               svg/W3C-SVG-1.1-SE/types-dom-03-b.svg
               svg/W3C-SVG-1.1-SE/types-dom-04-b.svg
               svg/W3C-SVG-1.1-SE/types-dom-05-b.svg
               svg/dom/SVGMatrix.html
               svg/dom/SVGTransform.html
               svg/dom/SVGTransformList.html

        * Android.jscbindings.mk: Removed JSSVGMatrixCustom.cpp.
        * Android.v8bindings.mk: Removed V8SVGMatrixCustom.cpp.
        * CMakeLists.txt: Remove JSSVGMatrixCustom.cpp.
        * GNUmakefile.am: Ditto. Add SVGAnimatedTransformListPropertyTearOff.h/SVGStaticPropertyWithParentTearOff.h/SVGTransformListPropertyTearOff.h/SVGAnimatedTransformList.h/SVGMatrix.h to build.
        * WebCore.gypi: Ditto.
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * bindings/js/JSBindingsAllInOne.cpp: Remove JSSVGMatrixCustom.cpp
        * bindings/js/JSSVGMatrixCustom.cpp: Removed.
        * bindings/scripts/CodeGenerator.pm: Convert SVGMatrix/SVGTransform/SVGTransformList to the new concept.
        * bindings/scripts/CodeGeneratorJS.pm: Ditto.
        * bindings/scripts/CodeGeneratorObjC.pm: Ditto.
        * bindings/scripts/CodeGeneratorV8.pm: Ditto.
        * bindings/v8/custom/V8SVGMatrixCustom.cpp: Removed.
        * svg/DeprecatedSVGAnimatedPropertyTraits.h: Remove SVGTransformList handling.
        * svg/DeprecatedSVGAnimatedTemplate.h: Ditto.
        * svg/SVGAnimateTransformElement.cpp: Adapt to SVGTransformList API changes.
        (WebCore::transformListFor):
        (WebCore::SVGAnimateTransformElement::resetToBaseValue):
        (WebCore::SVGAnimateTransformElement::calculateAnimatedValue):
        (WebCore::SVGAnimateTransformElement::applyResultsToTarget):
        * svg/SVGAnimatedTransformList.h: Added.
        * svg/SVGGradientElement.cpp: Ditto.
        (WebCore::SVGGradientElement::SVGGradientElement):
        (WebCore::SVGGradientElement::parseMappedAttribute):
        * svg/SVGGradientElement.h: Ditto.
        * svg/SVGLinearGradientElement.cpp: Ditto.
        (WebCore::SVGLinearGradientElement::collectGradientAttributes):
        * svg/SVGMatrix.h: Added. SVGMatrix inherits from AffineTransform, and is only used in the bindings. It implements SVGs special requirements.
        (WebCore::SVGMatrix::translate): Returns a copy of the matrix, not affecting the original matrix.
        (WebCore::SVGMatrix::scale): Ditto.
        (WebCore::SVGMatrix::scaleNonUniform): Ditto.
        (WebCore::SVGMatrix::rotate): Ditto.
        (WebCore::SVGMatrix::flipX): Ditto.
        (WebCore::SVGMatrix::flipY): Ditto.
        (WebCore::SVGMatrix::skewX): Ditto.
        (WebCore::SVGMatrix::skewY): Ditto.
        (WebCore::SVGMatrix::multiply): Ditto.
        (WebCore::SVGMatrix::inverse): Ditto.
        (WebCore::SVGMatrix::rotateFromVector): Dittto.
        * svg/SVGMatrix.idl: Enable StrictTypeChecking/RequiresAllArguments=Raise on all attributes/functions.
        * svg/SVGPatternElement.cpp: Adapt to SVGTransformList API changes.
        (WebCore::SVGPatternElement::SVGPatternElement):
        (WebCore::SVGPatternElement::parseMappedAttribute):
        (WebCore::SVGPatternElement::collectPatternAttributes):
        * svg/SVGPatternElement.h: Ditto.
        * svg/SVGPoint.idl: Enable StrictTypeChecking/RequiresAllArguments=Raise for 'matrixTransform', now that SVGMatrix has been converted to the new scheme.
        * svg/SVGRadialGradientElement.cpp: Adapt to SVGTransformList API changes.
        (WebCore::SVGRadialGradientElement::collectGradientAttributes):
        * svg/SVGSVGElement.cpp: Ditto.
        (WebCore::SVGSVGElement::createSVGTransformFromMatrix):
        (WebCore::SVGSVGElement::viewBoxToViewTransform):
        * svg/SVGSVGElement.h: Ditto.
        * svg/SVGStyledTransformableElement.cpp: Ditto.
        (WebCore::SVGStyledTransformableElement::SVGStyledTransformableElement):
        (WebCore::SVGStyledTransformableElement::animatedLocalTransform):
        (WebCore::SVGStyledTransformableElement::parseMappedAttribute):
        * svg/SVGStyledTransformableElement.h: Ditto.
        * svg/SVGTextElement.cpp: Ditto.
        (WebCore::SVGTextElement::SVGTextElement):
        (WebCore::SVGTextElement::parseMappedAttribute):
        (WebCore::SVGTextElement::animatedLocalTransform):
        * svg/SVGTextElement.h: Ditto.
        * svg/SVGTransform.cpp: Modernize code, inlined some getters.
        (WebCore::SVGTransform::SVGTransform):
        (WebCore::SVGTransform::setMatrix):
        * svg/SVGTransform.h: Reindent header.
        (WebCore::SVGTransform::type):
        (WebCore::SVGTransform::svgMatrix):
        (WebCore::SVGTransform::matrix):
        (WebCore::SVGTransform::angle):
        (WebCore::SVGTransform::rotationCenter):
        (WebCore::SVGTransform::isValid):
        (WebCore::operator==): Avoid function calls, make operator== a friend of SVGTransform, and compare members directly.
        (WebCore::operator!=):
        * svg/SVGTransform.idl:
        * svg/SVGTransformList.cpp: Rewritten as plain Vector<SVGTransform>.
        (WebCore::SVGTransformList::createSVGTransformFromMatrix):
        (WebCore::SVGTransformList::consolidate):
        (WebCore::SVGTransformList::concatenate):
        (WebCore::SVGTransformList::valueAsString):
        * svg/SVGTransformList.h:
        (WebCore::SVGTransformList::SVGTransformList):
        * svg/SVGTransformList.idl: Enable StrictTypeChecking/RequiresAllArguments=Raise on all attributes/functions.
        * svg/SVGTransformable.cpp: Adapt to SVGTransformList API changes.
        (WebCore::SVGTransformable::parseTransformAttribute):
        * svg/SVGTransformable.h: Ditto.
        * svg/SVGViewSpec.cpp: Ditto.
        (WebCore::SVGViewSpec::SVGViewSpec):
        (WebCore::SVGViewSpec::setTransform):
        (WebCore::SVGViewSpec::parseViewSpec):
        * svg/SVGViewSpec.h: Ditto.
        (WebCore::SVGViewSpec::transform):
        * svg/properties/SVGAnimatedListPropertyTearOff.h: Made constructor and members protected.
        * svg/properties/SVGAnimatedPropertyMacros.h: Add new helper macro DECLARE_ANIMATED_TRANSFORM_LIST_PROPERTY. This is needed until we expand all macros.
        * svg/properties/SVGAnimatedTransformListPropertyTearOff.h: Added. Extends SVGAnimatedListPropertyTearOff, returning SVGTransformListPropertyTearOff objects.
        (WebCore::SVGAnimatedTransformListPropertyTearOff::baseVal):
        (WebCore::SVGAnimatedTransformListPropertyTearOff::animVal):
        (WebCore::SVGAnimatedTransformListPropertyTearOff::create):
        (WebCore::SVGAnimatedTransformListPropertyTearOff::SVGAnimatedTransformListPropertyTearOff):
        * svg/properties/SVGListPropertyTearOff.h: Made construct and members protected.
        * svg/properties/SVGProperty.h: Declare commitChange() as pure virtual method.
        * svg/properties/SVGPropertyTraits.h: Handle SVGTransformList.
        * svg/properties/SVGStaticPropertyWithParentTearOff.h: Added. Same concept as JSSVGStaticPODTypeWrapperWithParent, used to expose SVGPropertyTearOffs for types
                                                               that are using this concept themselves. (SVGMatrix attribute of SVGTransform, both are POD types, using SVGPropertyTearOff).
        (WebCore::SVGStaticPropertyWithParentTearOff::create):
        (WebCore::SVGStaticPropertyWithParentTearOff::commitChange):
        (WebCore::SVGStaticPropertyWithParentTearOff::SVGStaticPropertyWithParentTearOff):
        * svg/properties/SVGTransformListPropertyTearOff.h: Added. Extends SVGListPropertyTearOff by two special SVGTransformList methods: consolidate and createSVGTransformFromMatrix.
        (WebCore::SVGTransformListPropertyTearOff::create):
        (WebCore::SVGTransformListPropertyTearOff::createSVGTransformFromMatrix):
        (WebCore::SVGTransformListPropertyTearOff::consolidate):
        (WebCore::SVGTransformListPropertyTearOff::SVGTransformListPropertyTearOff):
2010-11-10  Nikolas Zimmermann  <nzimmermann@rim.com>

        Reviewed by Dirk Schulze.

        Convert SVGMatrix/SVGTransform/SVGTransformList to the new SVGPropertyTearOff concept
        https://bugs.webkit.org/show_bug.cgi?id=49311

        Add tests covering StrictTypeChecking and RequiresAllArguments=Raise for SVGMatrix/SVGPoint.
        Imported several new tests from SVG 1.1 2nd Edition, regarding SVG DOM primitives.

        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-01-f-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-02-f-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-03-f-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/coords-dom-04-f-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-01-b-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-02-f-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-03-b-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-04-b-expected.txt: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.checksum: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.png: Added.
        * platform/mac/svg/W3C-SVG-1.1-SE/types-dom-05-b-expected.txt: Added.
        * svg/W3C-SVG-1.1-SE/coords-dom-01-f.svg: Added.
        * svg/W3C-SVG-1.1-SE/coords-dom-02-f.svg: Added.
        * svg/W3C-SVG-1.1-SE/coords-dom-03-f.svg: Added.
        * svg/W3C-SVG-1.1-SE/coords-dom-04-f.svg: Added.
        * svg/W3C-SVG-1.1-SE/types-dom-01-b.svg: Added.
        * svg/W3C-SVG-1.1-SE/types-dom-02-f.svg: Added.
        * svg/W3C-SVG-1.1-SE/types-dom-03-b.svg: Added.
        * svg/W3C-SVG-1.1-SE/types-dom-04-b.svg: Added.
        * svg/W3C-SVG-1.1-SE/types-dom-05-b.svg: Added.
        * svg/dom/SVGMatrix-expected.txt: Added.
        * svg/dom/SVGMatrix.html: Added.
        * svg/dom/SVGPoint-expected.txt:
        * svg/dom/SVGTransform-expected.txt: Added.
        * svg/dom/SVGTransform.html: Added.
        * svg/dom/SVGTransformList-expected.txt: Added.
        * svg/dom/SVGTransformList.html: Added.
        * svg/dom/script-tests/SVGMatrix.js: Added.
        * svg/dom/script-tests/SVGPoint.js:
        * svg/dom/script-tests/SVGTransform.js: Added.
        * svg/dom/script-tests/SVGTransformList.js: Added.

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

9 years ago2010-11-11 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Thu, 11 Nov 2010 09:44:45 +0000 (09:44 +0000)]
2010-11-11  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Nikolas Zimmermann.

        Fixed WebKitGTK gtk3 compilation.

        * platform/gtk/WidgetRenderingContextGtk3.cpp:
        (WebCore::WidgetRenderingContext::WidgetRenderingContext):

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

9 years agoReverted r71975:71976. That change was wrong, and the tests caught it.
mitz@apple.com [Thu, 11 Nov 2010 08:56:33 +0000 (08:56 +0000)]
Reverted r71975:71976. That change was wrong, and the tests caught it.

* platform/graphics/mac/ComplexTextController.h:
(WebCore::ComplexTextController::ComplexTextRun::create):
* platform/graphics/mac/ComplexTextControllerCoreText.cpp:
(WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):
(WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):

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

9 years agoAdd a test for form submission by <input type=image>
tkent@chromium.org [Thu, 11 Nov 2010 08:25:36 +0000 (08:25 +0000)]
Add a test for form submission by <input type=image>
https://bugs.webkit.org/show_bug.cgi?id=49302

Reviewed by Shinichiro Hamaji.

* fast/forms/input-image-submit-expected.txt: Added.
* fast/forms/input-image-submit.html: Added.

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

9 years ago2010-11-11 Matthew Delaney <mdelaney@apple.com>
mdelaney@apple.com [Thu, 11 Nov 2010 08:07:15 +0000 (08:07 +0000)]
2010-11-11  Matthew Delaney  <mdelaney@apple.com>

        Reviewed by Dan Bernstein.

        Fix LayoutTests/canvas/philip/tests/2d.drawImage.null.html
        https://bugs.webkit.org/show_bug.cgi?id=48307

        There are no new tests because this is a fix for a pre-existing failing test.)

        * bindings/js/JSCanvasRenderingContext2DCustom.cpp: Corrected expection throwing cases to match up with spec.

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

9 years ago2010-11-10 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Thu, 11 Nov 2010 07:37:47 +0000 (07:37 +0000)]
2010-11-10  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Adam Barth.

        [HTML5] 10.2.8.4 Scripts that modify the page as it is being parsed
        https://bugs.webkit.org/show_bug.cgi?id=49364

        Fixed HTMLScriptRunner's executeScript to use the ScriptController of the frame to which script element belongs
        as supposed to that of the frame associated with the HTMLScriptRunner.

        See also: http://www.whatwg.org/specs/web-apps/current-work/#scripts-that-modify-the-page-as-it-is-being-parsed

        Test: fast/parser/script-modify-page-outer.html

        * html/parser/HTMLScriptRunner.cpp:
        (WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent): Calls executeScript.
        (WebCore::HTMLScriptRunner::executeScript): Uses the correct ScriptController instance.
        (WebCore::HTMLScriptRunner::runScript): Call executeScript.
        * html/parser/HTMLScriptRunner.h:
2010-11-10  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Adam Barth.

        [HTML5] 10.2.8.4 Scripts that modify the page as it is being parsed
        https://bugs.webkit.org/show_bug.cgi?id=49364

        Added a test to ensure moving the script element to the parent document as it is being parsed
        changes the script's global object to the parent document's window object.

        See also: http://www.whatwg.org/specs/web-apps/current-work/#scripts-that-modify-the-page-as-it-is-being-parsed

        * fast/parser/move-during-parsing-expected.txt:
        * fast/parser/resources/script-modify-page-inner.html: Added.
        * fast/parser/script-modify-page-outer-expected.txt: Added.
        * fast/parser/script-modify-page-outer.html: Added.

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

9 years agoStyle fix I said I’d make then forgot to make.
mitz@apple.com [Thu, 11 Nov 2010 05:20:24 +0000 (05:20 +0000)]
Style fix I said I’d make then forgot to make.

* platform/graphics/mac/ComplexTextControllerCoreText.cpp:
(WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):

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

9 years agoAllow for the possibility of CoreText generating multiple runs for a single text...
mitz@apple.com [Thu, 11 Nov 2010 05:18:54 +0000 (05:18 +0000)]
Allow for the possibility of CoreText generating multiple runs for a single text run.
https://bugs.webkit.org/show_bug.cgi?id=49353

Patch by Ned Holbrook <nholbrook@apple.com> on 2010-11-10
Reviewed by Dan Bernstein.

* platform/graphics/mac/ComplexTextController.h:
(WebCore::ComplexTextController::ComplexTextRun::create):
* platform/graphics/mac/ComplexTextControllerCoreText.cpp:
(WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):
(WebCore::ComplexTextController::collectComplexTextRunsForCharactersCoreText):

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

9 years agoUnreviewed, updating Chromium expectations.
ukai@chromium.org [Thu, 11 Nov 2010 04:58:59 +0000 (04:58 +0000)]
Unreviewed, updating Chromium expectations.

* platform/chromium/test_expectations.txt:

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

9 years ago2010-11-10 Kenneth Russell <kbr@google.com>
kbr@google.com [Thu, 11 Nov 2010 03:09:41 +0000 (03:09 +0000)]
2010-11-10  Kenneth Russell  <kbr@google.com>

        Reviewed by James Robinson.

        [chromium] Clean up gfx::GetGLImplementation calls in WebGraphicsContext3DDefaultImpl
        https://bugs.webkit.org/show_bug.cgi?id=49336

        * src/WebGraphicsContext3DDefaultImpl.cpp:
        (WebKit::WebGraphicsContext3DDefaultImpl::initialize):
        (WebKit::WebGraphicsContext3DDefaultImpl::reshape):
        (WebKit::WebGraphicsContext3DDefaultImpl::readBackFramebuffer):
        (WebKit::WebGraphicsContext3DDefaultImpl::getIntegerv):

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

9 years ago2010-11-10 Chris Guillory <chris.guillory@google.com>
commit-queue@webkit.org [Thu, 11 Nov 2010 02:37:53 +0000 (02:37 +0000)]
2010-11-10  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Chris Fleizach.

        Use IAccessibleComparable to compare accessibility objects.
        https://bugs.webkit.org/show_bug.cgi?id=49118

        * platform/win/Skipped:
2010-11-10  Chris Guillory  <chris.guillory@google.com>

        Reviewed by Chris Fleizach.

        Use IAccessibleComparable to compare accessibility objects.
        https://bugs.webkit.org/show_bug.cgi?id=49118

        * DumpRenderTree/AccessibilityUIElement.cpp:
        (AccessibilityUIElement::isEqual):
        * DumpRenderTree/AccessibilityUIElement.h:
        * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
        (comparableObject):
        (AccessibilityUIElement::isEqual):

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

9 years ago2010-10-18 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Thu, 11 Nov 2010 02:28:56 +0000 (02:28 +0000)]
2010-10-18  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Widgets do not support CSS transformations
        https://bugs.webkit.org/show_bug.cgi?id=40139

        Added a platform-specific baseline for the slider transformation
        test. This baseline says "FAIL" because the test has platform-specific
        offsets hard-coded. The result is only one tick off from expected though,
        so it's likely correct for us.

        * platform/gtk/Skipped: Unskip.
        * platform/gtk/fast/forms/slider-transformed-expected.txt: Added.
2010-10-15  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Widgets do not support CSS transformations
        https://bugs.webkit.org/show_bug.cgi?id=40139

        Instead of rendering directly onto the target drawable when rendering
        form controls on GTK+ 2.0, render onto an intermediate surface and use
        cairo to blit the result back to the target surface. This has two
        benefits. The first is that it always honors the current Cairo
        transformation. The second is that since the intermediate drawable is
        always a 32-bit GdkPixmap, we do not have to have a set of widgets
        per-colormap any longer.

        This change also begins the abstraction of widget rendering so that GTK+
        2 and GTK+ 3 can use the same code path. The WidgetRenderingContext will
        eventually hide all version differences from RenderThemeGtk, which can
        just focus on interpreting the GtkStyle properties.

        * GNUmakefile.am: Add WidgetRenderinContext source files to the sources list.
        * platform/graphics/cairo/PlatformRefPtrCairo.cpp:
        (WTF::refPlatformPtr): Add a specialization for Cairo patterns.
        (WTF::derefPlatformPtr): Ditto.
        * platform/graphics/cairo/PlatformRefPtrCairo.h: Ditto.
        * platform/gtk/RenderThemeGtk.cpp:
        (WebCore::RenderThemeGtk::RenderThemeGtk): No longer keep a set of
        widgets per-colormap for GTK+, instead just determine if we can use RGBA
        colormaps and go from there.
        (WebCore::RenderThemeGtk::~RenderThemeGtk): Ditto.
        (WebCore::RenderThemeGtk::getIndicatorMetrics): Put the logic for
        getting toggle button indicator metrics into this helper.
        (WebCore::RenderThemeGtk::paintRenderObject): Now uses
        WidgetRenderingContext to do widget rendering.
        (WebCore::setToggleSize): Use the new getIndicatorMetrics helper.
        * platform/gtk/RenderThemeGtk.h: Added a member to track whether or not
          the widgets are using a RGBA colormap. Also remove a defunct Page*
          member.
        * platform/gtk/ScrollbarThemeGtk.cpp: Switch all widget drawing
        operations to use WidgetRenderingContext.
        (WebCore::ScrollbarThemeGtk::paintTrackBackground): Ditto.
        (WebCore::ScrollbarThemeGtk::paintScrollbarBackground): Ditto.
        (WebCore::ScrollbarThemeGtk::paintThumb): Ditto.
        (WebCore::ScrollbarThemeGtk::paint): Ditto.
        (WebCore::ScrollbarThemeGtk::paintButton): Ditto.
        * platform/gtk/WidgetRenderingContext.h: Added.
        * platform/gtk/WidgetRenderingContextGtk2.cpp: Added.
        (WebCore::purgeScratchBuffer): Added, this is similar to the scratch
        buffer implementation from ContextShadow.
        (WebCore::PurgeScratchBufferTimer::fired): Ditto.
        (WebCore::scheduleScratchBufferPurge): Ditto.
        (WebCore::getExtraSpaceForWidget):
        (WebCore::WidgetRenderingContext::WidgetRenderingContext): Added.
        (WebCore::WidgetRenderingContext::~WidgetRenderingContext): Added.
        (WebCore::WidgetRenderingContext::paintMozillaWidget): Added.
        * platform/gtk/WidgetRenderingContextGtk3.cpp: Added.
        (WebCore::WidgetRenderingContext::WidgetRenderingContext): Added.
        (WebCore::~WidgetRenderingContext::WidgetRenderingContext): Added.
        (WebCore::WidgetRenderingContext::paintMozillaWidget): Added.

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

9 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=49356
bdakin@apple.com [Thu, 11 Nov 2010 02:00:57 +0000 (02:00 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=49356
-[WebView _scaleWebView:] should take and origin and scroll the
document
-and corresponding-
<rdar://problem/8643921>

Reviewed by Simon Fraser.

WebCore:

Apply the scale to the origin, and set a new scroll position.
* page/Frame.cpp:
(WebCore::Frame::scalePage):
* page/Frame.h:
* WebCore.exp.in:

WebKit/mac:

* WebView/WebView.mm:
(-[WebView _scaleWebView:atOrigin:]):
* WebView/WebViewPrivate.h:

WebKit2:

* Shared/API/c/WKSharedAPICast.h:
(WebKit::toImpl):
* UIProcess/API/C/WKPage.cpp:
(WKPageScaleWebView):
* UIProcess/API/C/WKPage.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::scaleWebView):
* UIProcess/WebPageProxy.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::scaleWebView):
* WebProcess/WebPage/WebPage.h:
* WebProcess/WebPage/WebPage.messages.in:

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

9 years ago2010-11-10 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 11 Nov 2010 01:19:20 +0000 (01:19 +0000)]
2010-11-10  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed Chromium rebaselines.

        Rebaseline fast/lists/001-vertical.html and fast/lists/008-vertical.html
        with the chromium-mac scrollbars.

        Rest of fast/lists/00*-vertical.html tests fail due to bug 48634,
        add them to that grouping.

        * platform/chromium-mac/fast/lists/001-vertical-expected.checksum: Added.
        * platform/chromium-mac/fast/lists/001-vertical-expected.png: Added.
        * platform/chromium-mac/fast/lists/008-vertical-expected.checksum: Added.
        * platform/chromium-mac/fast/lists/008-vertical-expected.png: Added.
        * platform/chromium/test_expectations.txt:

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

9 years ago Fix Windows build.
adachan@apple.com [Thu, 11 Nov 2010 01:16:35 +0000 (01:16 +0000)]
    Fix Windows build.

        * win/WebKit2Generated.make:

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

9 years agoREGRESSION (r71566): r71566 breaks bidi-control-chars-treated-as-ZWS.html
mitz@apple.com [Thu, 11 Nov 2010 01:11:32 +0000 (01:11 +0000)]
REGRESSION (r71566): r71566 breaks bidi-control-chars-treated-as-ZWS.html
https://bugs.webkit.org/show_bug.cgi?id=49295

Reviewed by Darin Adler.

WebCore:

* platform/graphics/mac/ComplexTextControllerATSUI.cpp: Reverted to r71565. Eliding bidi
control characters from ATSUI is no longer necessary since ComplexTextController removes
any glyphs corresponding to them.
(WebCore::ComplexTextController::ComplexTextRun::overrideLayoutOperation):
(WebCore::ComplexTextController::ComplexTextRun::ComplexTextRun):

LayoutTests:

* platform/mac-leopard/fast/text/international/bidi-neutral-run-expected.txt:

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

9 years ago2010-11-10 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Thu, 11 Nov 2010 01:02:53 +0000 (01:02 +0000)]
2010-11-10  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed removal of unncessary Qt baseline (atfer r71781 Qt should
        use the base one).

        * platform/qt/svg/animations/repeatDur-zero-expected.txt: Removed.

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