WebKit-https.git
9 years ago2011-04-29 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Sat, 30 Apr 2011 00:57:39 +0000 (00:57 +0000)]
2011-04-29  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Alexey Proskuryakov.

        REGRESSION: r83938 abandons GC memory
        https://bugs.webkit.org/show_bug.cgi?id=59604

        This bug was caused by script and image elements waiting indefinitely
        for their loads to finish.

        * bindings/js/JSNodeCustom.cpp:
        (WebCore::isReachableFromDOM): Don't test for the load event firing,
        since the load event doesn't fire in cases of canceled or errored loads.
        Instead, test hasPendingActivity().

        Don't do this test at all for script elements because script elements
        can't load while outside the document. (fast/dom/script-element-gc.html
        verifies that this is correct.)

        * html/HTMLImageElement.cpp:
        (WebCore::HTMLImageElement::hasPendingActivity):
        * html/HTMLImageElement.h:
        * loader/ImageLoader.cpp:
        (WebCore::ImageEventSender::hasPendingEvents):
        (WebCore::ImageLoader::hasPendingLoadEvent):
        * loader/ImageLoader.h: Added API for finding out if an image element
        has pending activity.

        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::setRequest): All loads are supposed to end in
        data(allDataReceived = true) or error(), but in the edge case of a
        canceled load, all we get is a call to setRequest(0). Be sure to
        record that we're no longer loading in that case, otherwise our element
        will leak forever, waiting for its load to complete.
2011-04-29  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Alexey Proskuryakov.

        REGRESSION: r83938 abandons GC memory
        https://bugs.webkit.org/show_bug.cgi?id=59604

        Test an edge case of an image that has finished loading but has not yet
        fired its load event.

        * fast/dom/gc-image-element-expected.txt: Added.
        * fast/dom/gc-image-element.html: Added.

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

9 years ago2011-04-29 Emil Eklund <eae@chromium.org>
eae@chromium.org [Sat, 30 Apr 2011 00:23:01 +0000 (00:23 +0000)]
2011-04-29  Emil Eklund  <eae@chromium.org>

        Reviewed by Tony Chang.

        Setting outerHTML should merge text nodes
        https://bugs.webkit.org/show_bug.cgi?id=52686

        Add test for setting Element.outerHTML.

        * fast/dom/set-outer-html-expected.txt: Added.
        * fast/dom/set-outer-html.html: Added.
2011-04-29  Emil Eklund  <eae@chromium.org>

        Reviewed by Tony Chang.

        Setting outerHTML should merge text nodes
        https://bugs.webkit.org/show_bug.cgi?id=52686

        When setting outerHTML adjacent text nodes should be merged. This matches
        the behavior of outerText and the IE implementation of outerHTML.

        Test: fast/dom/set-outer-html.html

        * html/HTMLElement.cpp:
        (WebCore::mergeWithNextTextNode): Move function to before setOuterHTML.
        (WebCore::HTMLElement::setOuterHTML): Merge adjacent text nodes after replacing the element.

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

9 years ago2011-04-29 Emil A Eklund <eae@chromium.org>
eae@chromium.org [Sat, 30 Apr 2011 00:15:01 +0000 (00:15 +0000)]
2011-04-29  Emil A Eklund  <eae@chromium.org>

        Reviewed by Dimitri Glazkov.

        Onchange on text fields has an incoherent behavior
        https://bugs.webkit.org/show_bug.cgi?id=57330

        Add tests for typing and then deleting text from an empty field.

        * fast/events/onchange-text-form-field-expected.txt:
        * fast/events/onchange-text-form-field.html:
        * platform/gtk/fast/events/onchange-text-form-field-expected.txt: Removed.
2011-04-29  Emil A Eklund  <eae@chromium.org>

        Reviewed by Dimitri Glazkov.

        Onchange on text fields has an incoherent behavior
        https://bugs.webkit.org/show_bug.cgi?id=57330

        * html/HTMLFormControlElement.cpp:
        (WebCore::HTMLTextFormControlElement::insertedIntoDocument):
        Initialize m_textAsOfLastFormControlChangeEvent to empty string rather
        than null for empty fields.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=59847
barraclough@apple.com [Sat, 30 Apr 2011 00:11:22 +0000 (00:11 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=59847
Remove linkOffset from LinkBuffer

Reviewed by Oliver Hunt.

This is redundant since removal of recompilation for exception info.

* assembler/LinkBuffer.h:
(JSC::LinkBuffer::LinkBuffer):
(JSC::LinkBuffer::linkCode):
* dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::compileFunction):
* jit/JIT.cpp:
(JSC::JIT::JIT):
(JSC::JIT::privateCompile):
* jit/JIT.h:
(JSC::JIT::compile):
(JSC::JIT::compileCTIMachineTrampolines):
(JSC::JIT::compileCTINativeCall):
* jit/JITOpcodes.cpp:
(JSC::JIT::privateCompileCTIMachineTrampolines):
* jit/JITOpcodes32_64.cpp:
(JSC::JIT::privateCompileCTIMachineTrampolines):
(JSC::JIT::privateCompileCTINativeCall):
* jit/JITPropertyAccess.cpp:
(JSC::JIT::stringGetByValStubGenerator):
(JSC::JIT::privateCompilePutByIdTransition):
(JSC::JIT::privateCompilePatchGetArrayLength):
(JSC::JIT::privateCompileGetByIdProto):
(JSC::JIT::privateCompileGetByIdSelfList):
(JSC::JIT::privateCompileGetByIdProtoList):
(JSC::JIT::privateCompileGetByIdChainList):
(JSC::JIT::privateCompileGetByIdChain):
* jit/JITPropertyAccess32_64.cpp:
(JSC::JIT::stringGetByValStubGenerator):
(JSC::JIT::privateCompilePutByIdTransition):
(JSC::JIT::privateCompilePatchGetArrayLength):
(JSC::JIT::privateCompileGetByIdProto):
(JSC::JIT::privateCompileGetByIdSelfList):
(JSC::JIT::privateCompileGetByIdProtoList):
(JSC::JIT::privateCompileGetByIdChainList):
(JSC::JIT::privateCompileGetByIdChain):
* jit/SpecializedThunkJIT.h:
(JSC::SpecializedThunkJIT::finalize):
* yarr/YarrJIT.cpp:
(JSC::Yarr::YarrGenerator::compile):

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

9 years ago2011-04-29 Jia Pu <jpu@apple.com>
commit-queue@webkit.org [Sat, 30 Apr 2011 00:00:06 +0000 (00:00 +0000)]
2011-04-29  Jia Pu  <jpu@apple.com>

        Reviewed by Sam Weinig.

        [Mac] Scrolling WK2 window should dismiss autocorrection panel.
        https://bugs.webkit.org/show_bug.cgi?id=59809
        <rdar://problem/9317410>

        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::pageDidScroll): Dimiss autocorrection panel in this function.

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

9 years ago2011-04-29 Keith Kyzivat <keith.kyzivat@nokia.com>
commit-queue@webkit.org [Fri, 29 Apr 2011 23:38:22 +0000 (23:38 +0000)]
2011-04-29  Keith Kyzivat  <keith.kyzivat@nokia.com>

        Reviewed by Csaba Osztrogonác.

        [Qt] Don't build TestNetscapePlugin if ENABLE_NETSCAPE_PLUGIN_API=0
        https://bugs.webkit.org/show_bug.cgi?id=59772

        * Tools.pro:

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

9 years ago2011-04-29 Kenneth Russell <kbr@google.com>
kbr@google.com [Fri, 29 Apr 2011 23:30:05 +0000 (23:30 +0000)]
2011-04-29  Kenneth Russell  <kbr@google.com>

        Unreviewed build fix. Skip WebPageNewSerializerTest.cpp in Windows multi-DLL build.

        * WebKit.gyp:

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

9 years ago Reviewed by Dan Bernstein.
ap@apple.com [Fri, 29 Apr 2011 23:28:40 +0000 (23:28 +0000)]
    Reviewed by Dan Bernstein.

        WebKit2: Typing with Input methods still enters Roman characters in Safari search field frequently
        https://bugs.webkit.org/show_bug.cgi?id=59829
        <rdar://problem/9336907>

        This patch regresses behavior somewhat in that inline input isn't discarded when something
        happens in an inactive window. This doesn't work well in shipping Safari either.

        * UIProcess/API/mac/WKView.mm:
        (-[WKView _notifyInputContextAboutDiscardedComposition]): Added a method that calls
        -discardMarkedText with a safety check.
        (-[WKView setMarkedText:selectedRange:replacementRange:]): Use it.
        (-[WKView _updateTextInputStateIncludingSecureInputState:]): Use it.
        (-[WKView _resetTextInputState]): Use it.

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

9 years ago2011-04-29 Kenneth Russell <kbr@google.com>
kbr@google.com [Fri, 29 Apr 2011 23:20:58 +0000 (23:20 +0000)]
2011-04-29  Kenneth Russell  <kbr@google.com>

        Unreviewed. Merged in all downstream Chromium test expectations.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-04-29 Chris Fleizach <cfleizach@apple.com>
cfleizach@apple.com [Fri, 29 Apr 2011 23:17:54 +0000 (23:17 +0000)]
2011-04-29  Chris Fleizach  <cfleizach@apple.com>

        Reviewed by Beth Dakin.

        AX: Remote accessibility should build on snow leopard
        https://bugs.webkit.org/show_bug.cgi?id=59767

        * UIProcess/API/mac/WKView.mm:
        (-[WKView _updateRemoteAccessibilityRegistration:]):
        (-[WKView viewDidMoveToWindow]):
        (-[WKView _setAccessibilityWebProcessToken:]):
        * WebProcess/WebPage/mac/WebPageMac.mm:
        (WebKit::WebPage::platformInitialize):
        (WebKit::WebPage::registerUIProcessAccessibilityTokens):
        * WebProcess/mac/WebProcessMainMac.mm:
        (WebKit::WebProcessMain):

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

9 years ago2011-04-29 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Fri, 29 Apr 2011 23:13:05 +0000 (23:13 +0000)]
2011-04-29  Abhishek Arya  <inferno@chromium.org>

        Unreviewed.

        Chromium rebaselines for r85355.
        https://bugs.webkit.org/show_bug.cgi?id=59833

        * platform/chromium-linux/fast/table/dynamic-caption-add-before-child-expected.png: Added.
        * platform/chromium-linux/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
        * platform/chromium-linux/fast/table/multiple-captions-display-expected.png: Added.
        * platform/chromium-mac-leopard/fast/table/dynamic-caption-add-before-child-expected.png: Added.
        * platform/chromium-mac-leopard/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
        * platform/chromium-mac-leopard/fast/table/multiple-captions-display-expected.png: Added.
        * platform/chromium-mac/tables/mozilla_expected_failures/other/test4-expected.png:
        * platform/chromium-win/fast/table/dynamic-caption-add-before-child-expected.png: Added.
        * platform/chromium-win/fast/table/dynamic-caption-add-before-child-expected.txt: Added.
        * platform/chromium-win/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
        * platform/chromium-win/fast/table/dynamic-caption-add-remove-before-child-expected.txt: Added.
        * platform/chromium-win/fast/table/multiple-captions-display-expected.png: Added.
        * platform/chromium-win/fast/table/multiple-captions-display-expected.txt: Added.
        * platform/chromium-win/fast/table/prepend-in-anonymous-table-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/other/test4-expected.txt:
        * platform/chromium/test_expectations.txt:

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

9 years ago2011-04-29 Sam Weinig <sam@webkit.org>
weinig@apple.com [Fri, 29 Apr 2011 23:12:44 +0000 (23:12 +0000)]
2011-04-29  Sam Weinig  <sam@webkit.org>

        Reviewed by Dan Bernstein.

        Add protection for shared memory failing to allocate
        <rdar://problem/9125287>
        https://bugs.webkit.org/show_bug.cgi?id=59842

        * Platform/mac/SharedMemoryMac.cpp:
        (WebKit::SharedMemory::create):
        Add logging in shared memory failure cases.

        * WebProcess/WebPage/DrawingAreaImpl.cpp:
        (WebKit::DrawingAreaImpl::display):
        Guard against ShareableBitmap failing to create a shared memory
        backing.

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

9 years agoRemove the production configuration guard since installs only happen in production...
slewis@apple.com [Fri, 29 Apr 2011 22:37:15 +0000 (22:37 +0000)]
Remove the production configuration guard since installs only happen in production anyway.
Works around a bug in Xcode

Rubber-stamped by Adam Roben.

* DumpRenderTree/mac/PerlSupport/Makefile:

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

9 years ago2011-04-28 Evan Martin <evan@chromium.org>
evan@chromium.org [Fri, 29 Apr 2011 22:20:07 +0000 (22:20 +0000)]
2011-04-28  Evan Martin  <evan@chromium.org>

        Reviewed by Tony Chang.

        [chromium] support components build on Linux
        https://bugs.webkit.org/show_bug.cgi?id=59748

        * WebKit.gyp: adjust tests to not be Windows-specific.
        * public/WebCommon.h: add #defines to support Linux.
        * public/linux/WebFontRenderStyle.h: expose Linux-specific API.
        * tests/RunAllTests.cpp: adjust ifdefs to not be Windows-specific.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=59221
barraclough@apple.com [Fri, 29 Apr 2011 21:55:03 +0000 (21:55 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=59221
[RegexFuzz] Regression blocking testing

Reviewed by Oliver Hunt & Geoff Garen.

Source/JavaScriptCore:

Okay, so the bug here is that when, in the case of a TypeParentheticalAssertion
node, emitDisjunction recursively calls to itself to emit the nested disjunction
the value of parenthesesInputCountAlreadyChecked is bogus (doesn't take into
account the uncheck that has just taken place).

Also, the special handling given to countToCheck in the case of parenthetical
assertions is nonsense, delete it, along with the isParentheticalAssertion argument.

* yarr/YarrInterpreter.cpp:
(JSC::Yarr::ByteCompiler::emitDisjunction):

LayoutTests:

Add new tests for parenthetical assertions.

* fast/regex/assertion-expected.txt:
* fast/regex/script-tests/assertion.js:

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

9 years agoEnsure PHP's short_open_tag and log_errors settings are turned on
aroben@apple.com [Fri, 29 Apr 2011 21:44:38 +0000 (21:44 +0000)]
Ensure PHP's short_open_tag and log_errors settings are turned on

These are usually on by default, but you can't trust defaults!

Reviewed by Sam Weinig.

Tools:

Remove a PHP setting that is now provided by httpd.conf

r85155 added this setting, but putting it in httpd.conf makes more sense (since the setting
isn't dependent on paths that could be different on each user's machine).

* Scripts/webkitperl/httpd.pm:
(getDefaultConfigForTestDirectory): Removed log_errors setting.

LayoutTests:

* http/conf/apache2-debian-httpd.conf:
* http/conf/apache2-httpd.conf:
* http/conf/apache2-msys-httpd.conf:
* http/conf/cygwin-httpd.conf:
* http/conf/fedora-httpd.conf:
* http/conf/httpd.conf:
Added settings to turn on short_open_tag and log_errors.

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=59776
slewis@apple.com [Fri, 29 Apr 2011 21:43:40 +0000 (21:43 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=59776
<rdar://problem/9287113> REGRESSION: Safari cold/warm launch time 15% to 2x regression
On the first draw the WebProcess is just going to send us blank bits anyway so don't
pause waiting for the update.  Continue drawing a blank window until the WebProcess
sends us the update.

Reviewed by Darin Adler.

* UIProcess/DrawingAreaProxyImpl.cpp:
(WebKit::DrawingAreaProxyImpl::DrawingAreaProxyImpl):
(WebKit::DrawingAreaProxyImpl::paint):
(WebKit::DrawingAreaProxyImpl::didUpdateBackingStoreState):
(WebKit::DrawingAreaProxyImpl::sendUpdateBackingStoreState):
* UIProcess/DrawingAreaProxyImpl.h:

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

9 years ago2011-04-29 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 29 Apr 2011 21:32:07 +0000 (21:32 +0000)]
2011-04-29  Ojan Vafai  <ojan@chromium.org>

        Inlude new expected results accidentally excluded from
        http://trac.webkit.org/changeset/85346.

        * fast/harness/results-expected.txt:

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

9 years ago[Qt] Unreviewed buildfix after r85343.
ossy@webkit.org [Fri, 29 Apr 2011 20:56:43 +0000 (20:56 +0000)]
[Qt] Unreviewed buildfix after r85343.

Enable strict OwnPtr for Qt
https://bugs.webkit.org/show_bug.cgi?id=59667

* plugins/mac/PluginViewMac.mm:
(WebCore::PluginView::platformStart):

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

9 years ago2011-04-29 Jon Lee <jonlee@apple.com>
jonlee@apple.com [Fri, 29 Apr 2011 20:42:11 +0000 (20:42 +0000)]
2011-04-29  Jon Lee  <jonlee@apple.com>

        Reviewed by mitzpettel.

        REGRESSION (WebKit2): (Mac) Selection is gone after switching tabs (59721)
        <rdar://problem/9327332>
        https://bugs.webkit.org/show_bug.cgi?id=59721

        Removing shouldClearSelectionWhenLosingWebPageFocus().  Reverting changelist 83814.

        * WebCore.exp.in:
        * editing/EditingBehavior.h:
2011-04-29  Jon Lee  <jonlee@apple.com>

        Reviewed by mitzpettel.

        REGRESSION (WebKit2): (Mac) Selection is gone after switching tabs (59721)
        <rdar://problem/9327332>
        https://bugs.webkit.org/show_bug.cgi?id=59721

        When resigning first responder status, check to see if we need to maintain an inactive
        selection in the web view. If we don't, we clear the selection.

        This also reverts the change made in 83814, since that was a different attempt to solve this same issue.

        * UIProcess/API/C/WKPage.cpp:
        (WKPageSetMaintainsInactiveSelection): Export setMaintainsInactiveSelection()
        * UIProcess/API/C/WKPage.h:
        * UIProcess/API/mac/WKView.mm:
        (-[WKView resignFirstResponder]): Check and see if we need to maintain the selection in the view prior to resigning.
        If not, we clear the selection
        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::clearSelection): Send message across process boundary
        (WebKit::WebPageProxy::setMaintainsInactiveSelection): Sets variable
        * UIProcess/WebPageProxy.h: New member variable to keep track of whether we need to maintain the current selection
        (WebKit::WebPageProxy::maintainsInactiveSelection): Returns variable
        * WebProcess/WebPage/WebPage.cpp:
        (WebKit::WebPage::setFocused): Reverting code to just set the focused bit instead of also clearing the selection
        (WebKit::WebPage::clearSelection):
        * WebProcess/WebPage/WebPage.h:
        * WebProcess/WebPage/WebPage.messages.in: add new ClearSelection() message

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

9 years ago2011-04-29 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Fri, 29 Apr 2011 20:38:26 +0000 (20:38 +0000)]
2011-04-29  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dave Hyatt.

        Allow only first table caption and destroy the remaining ones.
        https://bugs.webkit.org/show_bug.cgi?id=58249

        Previously, we were only laying out the first table caption.
        However Table::layout didn't mark the other ones as not needing
        layout. So after table layout completes, table is marked as not
        needing layout with its other table caption still needing layout.
        This causes incorrect layout root calculations and set it to a
        node which is already getting deleted.

        Tests: fast/table/dynamic-caption-add-before-child.xhtml
               fast/table/dynamic-caption-add-remove-before-child.xhtml
               fast/table/multiple-captions-crash.xhtml
               fast/table/multiple-captions-crash2.xhtml
               fast/table/multiple-captions-display.xhtml

        * rendering/RenderTable.cpp:
        (WebCore::RenderTable::addChild): when new caption or a before
        child caption is added, we need to explicitly trigger section
        recalc or otherwise layout won't catch it.
        (WebCore::RenderTable::removeChild): when child to be removed is
        m_caption, make sure to trigger style recalc on the table.
        (WebCore::RenderTable::recalcCaption): code to destroy captions
        other than the first one.
        (WebCore::RenderTable::recalcSections): call recalcCaption
        helper. Store the next sibling early since child can get destroyed
        in recalcCaption.
        * rendering/RenderTable.h:
2011-04-21  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Dave Hyatt.

        Tests that we do not crash on
        ASSERT(!m_layoutRoot->container() || !m_layoutRoot->container()->needsLayout())
        when a table has two or more captions.
        https://bugs.webkit.org/show_bug.cgi?id=58249

        * fast/table/dynamic-caption-add-before-child.xhtml: Added. Tests that
        before child caption becomes the first caption.
        * fast/table/dynamic-caption-add-remove-before-child.xhtml: Added. Tests
        that when we remove the before child caption, the original caption becomes
        the first caption and is drawn.
        * fast/table/multiple-captions-crash-expected.txt: Added.
        * fast/table/multiple-captions-crash.xhtml: Added. Tests that we
        do not crash when table has multiple captions and captions (other
        than the first one) have input elements added as their child.
        * fast/table/multiple-captions-crash2-expected.txt: Added.
        * fast/table/multiple-captions-crash2.xhtml: Added. Same as
        multiple-captions-crash.xhtml but this testcase does not have
        enclosing table tags for the captions.
        * fast/table/multiple-captions-display.xhtml: Added. Tests that only
        the first caption and captions with position fixed (display=BLOCK) are
        shown. Other captions are not added to table.
        * platform/mac/fast/table/dynamic-caption-add-before-child-expected.checksum: Added.
        * platform/mac/fast/table/dynamic-caption-add-before-child-expected.png: Added.
        * platform/mac/fast/table/dynamic-caption-add-before-child-expected.txt: Added.
        * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.checksum: Added.
        * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
        * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.txt: Added.
        * platform/mac/fast/table/multiple-captions-display-expected.checksum: Added.
        * platform/mac/fast/table/multiple-captions-display-expected.png: Added.
        * platform/mac/fast/table/multiple-captions-display-expected.txt: Added.
        * platform/mac/fast/table/prepend-in-anonymous-table-expected.png:
        * platform/mac/fast/table/prepend-in-anonymous-table-expected.txt: Rebaseline
        test because we do not allow captions other than the first one.
        * platform/mac/tables/mozilla_expected_failures/other/test4-expected.txt: Rebaseline
        test because we do not allow captions other than the first one.

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

9 years ago2011-04-29 Dean Jackson <dino@apple.com>
dino@apple.com [Fri, 29 Apr 2011 20:29:17 +0000 (20:29 +0000)]
2011-04-29  Dean Jackson  <dino@apple.com>

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

        Another followup from adding ENABLE(ANIMATION_API). Fix
        tests that mention webkitGetAnimations().

        * fast/dom/Window/window-properties-expected.txt:
        * platform/qt/fast/dom/Window/window-properties-expected.txt:

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

9 years agoRemove WML
ddkilzer@apple.com [Fri, 29 Apr 2011 19:46:30 +0000 (19:46 +0000)]
Remove WML
https://bugs.webkit.org/show_bug.cgi?id=59678

* DerivedSources.make: Removed $(WebCore)/wml path in VPATH.

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

9 years ago2011-04-29 Jon Lee <jonlee@apple.com>
jonlee@apple.com [Fri, 29 Apr 2011 19:42:03 +0000 (19:42 +0000)]
2011-04-29  Jon Lee  <jonlee@apple.com>

        Unreviewed, Adding Jon Lee as a committer

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

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

9 years ago2011-04-29 James Robinson <jamesr@chromium.org>
jamesr@google.com [Fri, 29 Apr 2011 19:32:35 +0000 (19:32 +0000)]
2011-04-29  James Robinson  <jamesr@chromium.org>

        Unreviewed, rolling out r85330.
        http://trac.webkit.org/changeset/85330
        https://bugs.webkit.org/show_bug.cgi?id=41311

        Caused unexpected border rendering change on 500 tests on chromium linux.

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::GraphicsContext::drawConvexPolygon):
        (WebCore::GraphicsContext::clipConvexPolygon):

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

9 years ago[Qt] Unreviewed buildfix after r85343.
ossy@webkit.org [Fri, 29 Apr 2011 19:20:09 +0000 (19:20 +0000)]
[Qt] Unreviewed buildfix after r85343.

Enable strict OwnPtr for Qt
https://bugs.webkit.org/show_bug.cgi?id=59667

* plugins/win/PluginViewWin.cpp:
(WebCore::PluginView::wndProc):
(WebCore::PluginView::snapshot):

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

9 years ago2011-04-29 Dean Jackson <dino@apple.com>
dino@apple.com [Fri, 29 Apr 2011 19:19:10 +0000 (19:19 +0000)]
2011-04-29  Dean Jackson  <dino@apple.com>

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

        Followup from adding an ENABLE flag that is disabled by
        default. Adjust broken test results.

        * fast/dom/Window/window-properties-expected.txt:
        * fast/dom/Window/window-property-descriptors-expected.txt:
        * fast/dom/prototype-inheritance-2-expected.txt:
        * fast/dom/prototype-inheritance-expected.txt:
        * fast/js/global-constructors-expected.txt:
        * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
        * platform/qt/fast/dom/Window/window-properties-expected.txt:
        * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/qt/fast/dom/prototype-inheritance-expected.txt:
        * platform/qt/fast/js/global-constructors-expected.txt:
        * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
        * platform/win/fast/dom/prototype-inheritance-expected.txt:
        * platform/win/fast/js/global-constructors-expected.txt:

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

9 years ago2011-04-28 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 29 Apr 2011 19:17:36 +0000 (19:17 +0000)]
2011-04-28  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Tony Chang.

        fix pretty_patch_available and wdiff_available
        https://bugs.webkit.org/show_bug.cgi?id=59761

        These methods rely on the check_* method being called first.
        This would only happen when we actually tried to compute a diff,
        but computing the diff happens on a different process.

        Also fix setting _wdiff_avialable to True by default.

        * Scripts/webkitpy/layout_tests/port/base.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux.py:
        * Scripts/webkitpy/layout_tests/port/chromium_linux_unittest.py:

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

9 years ago2011-04-29 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 29 Apr 2011 19:14:42 +0000 (19:14 +0000)]
2011-04-29  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        handle flaky failures
        https://bugs.webkit.org/show_bug.cgi?id=59820

        Handle that actual can be a space-separated list of results
        when we do retries. Also, show expected flaky tests that pass
        in the unexpected passes table.

        * fast/harness/resources/results-test.js:
        * fast/harness/results.html:

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

9 years ago2011-04-29 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 29 Apr 2011 19:12:02 +0000 (19:12 +0000)]
2011-04-29  Anders Carlsson  <andersca@apple.com>

        Reviewed by Darin Adler.

        Application cache doesn't work due to a sandbox violation
        https://bugs.webkit.org/show_bug.cgi?id=59818
        <rdar://problem/9346971>

        Add a sandbox extension for the application cache directory.

        * Shared/WebProcessCreationParameters.cpp:
        (WebKit::WebProcessCreationParameters::encode):
        (WebKit::WebProcessCreationParameters::decode):
        Encode and decode the sandbox extension handle.

        * Shared/WebProcessCreationParameters.h:
        Add a applicationCacheDirectoryExtensionHandle member.

        * UIProcess/WebContext.cpp:
        (WebKit::WebContext::ensureWebProcess):
        If we have a non-empty application cache directory, create a sandbox extension
        and pass it to the creation parameters.

        * WebProcess/WebProcess.cpp:
        (WebKit::WebProcess::initializeWebProcess):
        Create and consume a sandbox extension.

        * WebProcess/WebProcess.h:
        Add an m_applicationCachePathExtension member variable.

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

9 years ago2011-04-29 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Fri, 29 Apr 2011 19:09:40 +0000 (19:09 +0000)]
2011-04-29  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        exclude skipped tests from the summarized results
        https://bugs.webkit.org/show_bug.cgi?id=59813

        If we find a need fo skipped tests later, we should either create
        a skipped.json file or expose this some other way. As it is, the data
        is unused and is hugely bloating the size of full_results.json.

        * Scripts/webkitpy/layout_tests/layout_package/manager.py:

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

9 years ago2011-04-29 Csaba Osztrogonác <ossy@webkit.org>
ossy@webkit.org [Fri, 29 Apr 2011 18:53:51 +0000 (18:53 +0000)]
2011-04-29  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Adam Barth.

        Enable strict OwnPtr for Qt
        https://bugs.webkit.org/show_bug.cgi?id=59667

        * wtf/OwnPtr.h:
2011-04-29  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Adam Barth.

        Enable strict OwnPtr for Qt
        https://bugs.webkit.org/show_bug.cgi?id=59667

        * platform/graphics/qt/ImageBufferQt.cpp:
        (WebCore::ImageBufferData::ImageBufferData):
        (WebCore::ImageBuffer::ImageBuffer):
        * platform/graphics/qt/ImageDecoderQt.cpp:
        (WebCore::ImageDecoderQt::setData):
        * platform/graphics/qt/ImageDecoderQt.h:
        * platform/network/qt/QNetworkReplyHandler.cpp:
        (WebCore::QNetworkReplyWrapper::QNetworkReplyWrapper):
        (WebCore::QNetworkReplyHandler::QNetworkReplyHandler):
2011-04-29  Csaba Osztrogonác  <ossy@webkit.org>

        Reviewed by Adam Barth.

        Enable strict OwnPtr for Qt
        https://bugs.webkit.org/show_bug.cgi?id=59667

        * Api/qwebpage.cpp:
        (QWebPagePrivate::QWebPagePrivate):

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

9 years ago2011-04-29 Mark Pilgrim <pilgrim@chromium.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 18:37:26 +0000 (18:37 +0000)]
2011-04-29  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        Port Mozilla's IndexedDB tests: index with integer keys
        https://bugs.webkit.org/show_bug.cgi?id=59794

        * storage/indexeddb/mozilla/create-index-with-integer-keys-expected.txt: Added.
        * storage/indexeddb/mozilla/create-index-with-integer-keys.html: Added.

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

9 years agoMake DumpRenderTreeSupport get installed when the default configuration is built
aroben@apple.com [Fri, 29 Apr 2011 18:19:53 +0000 (18:19 +0000)]
Make DumpRenderTreeSupport get installed when the default configuration is built

The default configuration is Production, but in that case the CONFIGURATION environment
variable is set to the empty string.

Reviewed by Sam Weinig.

* DumpRenderTree/mac/PerlSupport/Makefile: Set CONFIGURATION to Production if it isn't
already set so that later logic that depends on CONFIGURATION having that value will work.

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

9 years ago2011-04-29 Dean Jackson <dino@apple.com>
dino@apple.com [Fri, 29 Apr 2011 18:15:06 +0000 (18:15 +0000)]
2011-04-29  Dean Jackson  <dino@apple.com>

        Reviewed by Simon Fraser.

        Add ENABLE macro for WebKitAnimation
        https://bugs.webkit.org/show_bug.cgi?id=59729

        Add new feature to toggle WebKit Animation API.

        * configure.ac:
        * platform/chromium/test_expectations.txt:
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
        * Configurations/FeatureDefines.xcconfig:
        for JavaScriptCore, WebCore, WebKit/mac, WebKit2

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

9 years ago2011-04-29 Anders Carlsson <andersca@apple.com>
andersca@apple.com [Fri, 29 Apr 2011 18:10:52 +0000 (18:10 +0000)]
2011-04-29  Anders Carlsson  <andersca@apple.com>

        Reviewed by Brian Weinstein.

        Crash when closing a tab that is unresponsive
        https://bugs.webkit.org/show_bug.cgi?id=59810
        <rdar://problem/9329133>

        Back out r84643 - there was no rationale for this change, and it's causing crashes.

        * UIProcess/WebPageProxy.cpp:
        (WebKit::WebPageProxy::close):
        (WebKit::WebPageProxy::processDidCrash):

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

9 years ago2011-04-29 Dean Jackson <dino@apple.com>
dino@apple.com [Fri, 29 Apr 2011 18:00:32 +0000 (18:00 +0000)]
2011-04-29  Dean Jackson  <dino@apple.com>

        Reviewed by Simon Fraser.

        https://bugs.webkit.org/show_bug.cgi?id=59149
        (Regression) Existing animations are not replaced when filling.

        Hardware animations that fill forwards were not being correctly
        replaced when the animation was removed. The actual animation
        logic was working correctly, but it wasn't deleting the
        CoreAnimation animation from the PlatformLayer. The fix was
        to explicitly call endAnimation when disconnecting the animation
        from its RenderObject.

        Test: animations/3d/replace-filling-transform.html

        * page/animation/AnimationBase.h:
        (WebCore::AnimationBase::clear): call endAnimation as the animation is cleared

2011-04-29  Dean Jackson  <dino@apple.com>

        Reviewed by Simon Fraser.

        https://bugs.webkit.org/show_bug.cgi?id=59149
        (Regression) Existing animations are not replaced when filling.

        Add a test that exercises the case where a hardware animation
        is in a filling mode, then is replaced by a new animation.

        * animations/3d/replace-filling-transform-expected.txt: Added.
        * animations/3d/replace-filling-transform.html: Added.
        * animations/3d/replace-filling-transform-expected.png: Added.

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

9 years ago2011-04-29 Mark Pilgrim <pilgrim@chromium.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 17:34:34 +0000 (17:34 +0000)]
2011-04-29  Mark Pilgrim  <pilgrim@chromium.org>

        Reviewed by Tony Chang.

        Port Mozilla's IndexedDB tests: indexes against autoincrementing keys
        https://bugs.webkit.org/show_bug.cgi?id=59722

        * storage/indexeddb/mozilla/autoincrement-indexes-expected.txt: Added.
        * storage/indexeddb/mozilla/autoincrement-indexes.html: Added.

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

9 years agoRemove WML
ossy@webkit.org [Fri, 29 Apr 2011 17:29:24 +0000 (17:29 +0000)]
Remove WML
https://bugs.webkit.org/show_bug.cgi?id=59678

[Qt] Remove WML tests from the Skipped list after r85256.

* platform/qt/Skipped:

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

9 years ago2011-04-28 Abhishek Arya <inferno@chromium.org>
inferno@chromium.org [Fri, 29 Apr 2011 17:20:41 +0000 (17:20 +0000)]
2011-04-28  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Nikolas Zimmermann.

        Tests that we do not crash when inline text is removed and we
        try to access layout attributes containing that inline text.
        https://bugs.webkit.org/show_bug.cgi?id=59161

        * svg/text/inline-text-destroy-attributes-crash-expected.txt: Added.
        * svg/text/inline-text-destroy-attributes-crash.xhtml: Added.
2011-04-29  Abhishek Arya  <inferno@chromium.org>

        Reviewed by Nikolas Zimmermann.

        When svg inline text is getting destroyed, make sure to mark
        its svg text ancestor as needing a positioning values update.
        This helps to recalculate layout attributes and makes sure
        that svg inline text is not used again.
        https://bugs.webkit.org/show_bug.cgi?id=59161

        Test: svg/text/inline-text-destroy-attributes-crash.xhtml

        * rendering/svg/RenderSVGInlineText.cpp:
        (WebCore::RenderSVGInlineText::destroy):
        * rendering/svg/RenderSVGInlineText.h:

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

9 years agoMake production the default build type for WebKitTestRunner, matching
weinig@apple.com [Fri, 29 Apr 2011 17:18:03 +0000 (17:18 +0000)]
Make production the default build type for WebKitTestRunner, matching
all other projects.

Reviewed by Adam Roben.

* WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:

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

9 years ago[Qt] Add flakey tests to the Skipped list.
ossy@webkit.org [Fri, 29 Apr 2011 17:12:12 +0000 (17:12 +0000)]
[Qt] Add flakey tests to the Skipped list.

* platform/qt-mac/Skipped:

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

9 years ago[wx] Unreviewed build fixes for recent changes in WebKit trunk and wxMSW.
kevino@webkit.org [Fri, 29 Apr 2011 16:57:53 +0000 (16:57 +0000)]
[wx] Unreviewed build fixes for recent changes in WebKit trunk and wxMSW.

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

9 years ago2011-04-29 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Fri, 29 Apr 2011 16:53:55 +0000 (16:53 +0000)]
2011-04-29  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed: adding image files for the blog post.

        * blog-files/inspector/remote-debugging-attached.png: Added.
        * blog-files/inspector/remote-debugging-discovery.png: Added.

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

9 years ago2011-04-29 Mike Reed <reed@google.com>
commit-queue@webkit.org [Fri, 29 Apr 2011 16:48:00 +0000 (16:48 +0000)]
2011-04-29  Mike Reed  <reed@google.com>

        Reviewed by Ojan Vafai.

        Skia: Need to implement GraphicsContext::clipConvexPolygon()
        https://bugs.webkit.org/show_bug.cgi?id=41311

        This does not (yet) enable HAVE_PATH_BASED_BORDER_RADIUS_DRAWING
        as that shows other issues/question unrelated to clipping.
        https://bugs.webkit.org/show_bug.cgi?id=41311

        No new tests. covered by existing layout tests

        * platform/graphics/skia/GraphicsContextSkia.cpp:
        (WebCore::setPathFromConvexPoints):
        (WebCore::GraphicsContext::drawConvexPolygon):
        (WebCore::GraphicsContext::clipConvexPolygon):

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

9 years agoMove some tests that time out in Debug from win-xp/Skipped to win/Skipped
aroben@apple.com [Fri, 29 Apr 2011 16:29:38 +0000 (16:29 +0000)]
Move some tests that time out in Debug from win-xp/Skipped to win/Skipped

This will help people who run tests in Debug on Windows 7.

* platform/win-xp/Skipped: Moved two XHR tests from here...
* platform/win/Skipped: ...to here.

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

9 years agoWebKit2 needs layoutTestController.overridePreference.
jberlin@webkit.org [Fri, 29 Apr 2011 16:19:58 +0000 (16:19 +0000)]
WebKit2 needs layoutTestController.overridePreference.
https://bugs.webkit.org/show_bug.cgi?id=42197

Add http/tests/inspector/network/ping.html, which uses overridePreference, to the mac-wk2
Skipped list to get the bots green.

* platform/mac-wk2/Skipped:

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

9 years ago2011-04-29 Mike Lawther <mikelawther@chromium.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 16:15:36 +0000 (16:15 +0000)]
2011-04-29  Mike Lawther  <mikelawther@chromium.org>

        Reviewed by Ojan Vafai.

        Fix IR->SR typo in enum value (and resulting style fails)
        https://bugs.webkit.org/show_bug.cgi?id=59779

        No functionality change, so no new tests

        * css/CSSPrimitiveValueMappings.h:
        (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
        (WebCore::CSSPrimitiveValue::operator EShapeRendering):

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

9 years ago2011-04-29 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Fri, 29 Apr 2011 16:02:44 +0000 (16:02 +0000)]
2011-04-29  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: skip new flaky inspector tests for resource tree model on GTK for now.

        * platform/gtk/Skipped:

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

9 years ago2011-04-29 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Fri, 29 Apr 2011 15:56:10 +0000 (15:56 +0000)]
2011-04-29  Pavel Feldman  <pfeldman@google.com>

        Not reviewed: skip flaky inspector tests for now.

        * platform/mac/Skipped:

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

9 years ago2011-04-29 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Fri, 29 Apr 2011 15:35:14 +0000 (15:35 +0000)]
2011-04-29  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: CSS editing breaks when entering "color: rgb(1"
        https://bugs.webkit.org/show_bug.cgi?id=59789

        * inspector/styles/styles-add-invalid-property-expected.txt: Added.
        * inspector/styles/styles-add-invalid-property.html: Added.
        * inspector/styles/styles-cancel-editing-expected.txt: Added.
        * inspector/styles/styles-cancel-editing.html: Added.
        * inspector/styles/styles-commit-editing-expected.txt: Added.
        * inspector/styles/styles-commit-editing.html: Added.
2011-04-29  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: CSS editing breaks when entering "color: rgb(1"
        https://bugs.webkit.org/show_bug.cgi?id=59789

        Tests: inspector/styles/styles-add-invalid-property.html
               inspector/styles/styles-cancel-editing.html
               inspector/styles/styles-commit-editing.html

        * inspector/front-end/CSSStyleModel.js:
        (WebInspector.CSSProperty.prototype.setText.callback):
        (WebInspector.CSSProperty.prototype.setText):
        * inspector/front-end/StylesSidebarPane.js:
        (WebInspector.StylePropertyTreeElement.prototype.selectElement):
        (WebInspector.StylePropertyTreeElement.prototype):
        (WebInspector.StylePropertyTreeElement.prototype.styleText.updateInterface.majorChange.isRevert.originalPropertyText):
        * inspector/front-end/inspector.js:
        (WebInspector.startEditing.defaultFinishHandler):
        (WebInspector.startEditing.keyDownEventListener):
        (WebInspector.startEditing):

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

9 years agoENABLE(QT_BEARER) -> USE(QT_BEARER)
vestbo@webkit.org [Fri, 29 Apr 2011 14:39:32 +0000 (14:39 +0000)]
ENABLE(QT_BEARER) -> USE(QT_BEARER)

Reviewed by Simon Hausmann.

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

9 years agoENABLE(QT_USERAGENT_DEVICEMODEL) -> USE(QT_MOBILITY_SYSTEMINFO)
vestbo@webkit.org [Fri, 29 Apr 2011 14:39:12 +0000 (14:39 +0000)]
ENABLE(QT_USERAGENT_DEVICEMODEL) -> USE(QT_MOBILITY_SYSTEMINFO)

Reviewed by Simon Hausmann.

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

9 years ago2011-04-29 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Fri, 29 Apr 2011 13:15:13 +0000 (13:15 +0000)]
2011-04-29  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: breakpoints set in original and formatted scripts are messed up after navigation.
        https://bugs.webkit.org/show_bug.cgi?id=59476

        * http/tests/inspector/inspector-test.js:
        (initialize_InspectorTest.InspectorTest.navigate):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.pageLoaded):
        (initialize_InspectorTest.InspectorTest.runWhenPageLoads):
        ():
        * inspector/debugger/resources/test-navigation.html: Added.
        * inspector/debugger/script-formatter-expected.txt:
        * inspector/debugger/script-formatter.html:
2011-04-29  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: breakpoints set in original and formatted scripts are messed up after navigation.
        https://bugs.webkit.org/show_bug.cgi?id=59476

        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles):
        (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger):
        (WebInspector.PresentationBreakpoint.prototype.serialize):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.optionCompare):
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
        (WebInspector.ScriptsPanel.prototype.reset):

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

9 years ago2011-04-28 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Fri, 29 Apr 2011 13:06:01 +0000 (13:06 +0000)]
2011-04-28  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: include script end line:column in scriptParsed parameters.
        https://bugs.webkit.org/show_bug.cgi?id=59717

        * inspector/debugger/debugger-scripts-expected.txt:
        * inspector/debugger/debugger-scripts.html:
2011-04-28  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Yury Semikhatsky.

        Web Inspector: include script end line:column in scriptParsed parameters.
        https://bugs.webkit.org/show_bug.cgi?id=59717

        * bindings/js/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::dispatchDidParseSource):
        * bindings/v8/DebuggerScript.js:
        ():
        * bindings/v8/ScriptDebugServer.cpp:
        (WebCore::ScriptDebugServer::dispatchDidParseSource):
        * inspector/Inspector.json:
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
        (WebCore::InspectorDebuggerAgent::didParseSource):
        * inspector/InspectorDebuggerAgent.h:
        (WebCore::InspectorDebuggerAgent::Script::Script):
        * inspector/ScriptDebugListener.h:
        * inspector/front-end/DebuggerModel.js:
        (WebInspector.DebuggerModel.prototype._parsedScriptSource):
        (WebInspector.DebuggerModel.prototype._failedToParseScriptSource):
        (WebInspector.DebuggerDispatcher.prototype.scriptParsed):
        * inspector/front-end/Script.js:
        (WebInspector.Script):

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

9 years ago2011-04-28 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Fri, 29 Apr 2011 12:36:51 +0000 (12:36 +0000)]
2011-04-28  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [protocol] Evaluate should expose thrown exception value
        https://bugs.webkit.org/show_bug.cgi?id=59000

        * inspector/console/console-dir-expected.txt:
        * inspector/console/console-eval-global-expected.txt:
        * inspector/console/console-format-expected.txt:
        * inspector/extensions/extensions-eval-expected.txt:
        * inspector/protocol/console-agent-expected.txt:
        * inspector/protocol/runtime-agent-expected.txt:
2011-04-28  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: [protocol] Evaluate should expose thrown exception value
        https://bugs.webkit.org/show_bug.cgi?id=59000

        Each evaluation command may have either thrown or returned result. This is indicated
        by wasThrown property in the protocol.

        * inspector/InjectedScript.cpp:
        (WebCore::InjectedScript::evaluate):
        (WebCore::InjectedScript::evaluateOn):
        (WebCore::InjectedScript::evaluateOnCallFrame):
        (WebCore::InjectedScript::getProperties):
        (WebCore::InjectedScript::makeEvalCall):
        * inspector/InjectedScript.h:
        * inspector/InjectedScriptSource.js:
        * inspector/Inspector.json: Removed "error" remote object type, added "wasThrown" property to
        the evaluation results.
        * inspector/InspectorDebuggerAgent.cpp:
        (WebCore::InspectorDebuggerAgent::evaluateOnCallFrame):
        * inspector/InspectorDebuggerAgent.h:
        * inspector/InspectorRuntimeAgent.cpp:
        (WebCore::InspectorRuntimeAgent::evaluate):
        (WebCore::InspectorRuntimeAgent::evaluateOn):
        (WebCore::InspectorRuntimeAgent::getProperties):
        * inspector/InspectorRuntimeAgent.h:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype.completions.evaluated):
        (WebInspector.ConsoleView.prototype.evalInInspectedWindow):
        (WebInspector.ConsoleView.prototype._enterKeyPressed.printResult):
        (WebInspector.ConsoleView.prototype._enterKeyPressed):
        (WebInspector.ConsoleCommandResult):
        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.PresenationCallFrame.prototype.evaluate):
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement.prototype._createTooltipForNode.setTooltip):
        * inspector/front-end/ExtensionPanel.js:
        (WebInspector.ExtensionSidebarPane.prototype._onEvaluate):
        * inspector/front-end/ExtensionServer.js:
        (WebInspector.ExtensionServer.prototype._onEvaluateOnInspectedPage):
        * inspector/front-end/ObjectPropertiesSection.js:
        (WebInspector.ObjectPropertyTreeElement.prototype.update):
        * inspector/front-end/PropertiesSidebarPane.js:
        (WebInspector.PropertiesSidebarPane.prototype.update.nodePrototypesReady):
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype._showPopup.showObjectPopup):
        (WebInspector.SourceFrame.prototype._showPopup):

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

9 years ago2011-04-29 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Fri, 29 Apr 2011 12:36:02 +0000 (12:36 +0000)]
2011-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Rename page as pageProxy in WebKitWebViewBase
        https://bugs.webkit.org/show_bug.cgi?id=59790

        To avoid consufion between page client and page proxy. Also rename
        some methods to webkitWebViewBase* for consistency.

        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
        (webkitWebViewBaseFinalize):
        (webkitWebViewBaseExpose):
        (webkitWebViewBaseDraw):
        (webkitWebViewBaseSizeAllocate):
        (webkitWebViewBaseFocusInEvent):
        (webkitWebViewBaseFocusOutEvent):
        (webkitWebViewBaseKeyPressEvent):
        (webkitWebViewBaseKeyReleaseEvent):
        (webkitWebViewBaseButtonPressEvent):
        (webkitWebViewBaseButtonReleaseEvent):
        (webkitWebViewBaseScrollEvent):
        (webkitWebViewBaseMotionNotifyEvent):
        (webkit_web_view_base_class_init):
        (webkitWebViewBaseCreate):
        (webkitWebViewBaseGetPage):

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

9 years ago2011-04-29 Sheriff Bot <webkit.review.bot@gmail.com>
podivilov@chromium.org [Fri, 29 Apr 2011 12:21:39 +0000 (12:21 +0000)]
2011-04-29  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r85315.
        http://trac.webkit.org/changeset/85315
        https://bugs.webkit.org/show_bug.cgi?id=59792

        Broke script-formatter.html test (Requested by podivilov on
        #webkit).

        * http/tests/inspector/inspector-test.js:
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.pageReloaded):
        (initialize_InspectorTest.InspectorTest.runWhenPageLoads):
        ():
        * inspector/debugger/script-formatter-expected.txt:
        * inspector/debugger/script-formatter.html:
2011-04-29  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r85315.
        http://trac.webkit.org/changeset/85315
        https://bugs.webkit.org/show_bug.cgi?id=59792

        Broke script-formatter.html test (Requested by podivilov on
        #webkit).

        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.setFormatSourceFiles):
        (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger.didRemoveBreakpoint):
        (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger):
        (WebInspector.PresentationBreakpoint.prototype.serialize):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.optionCompare):
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
        (WebInspector.ScriptsPanel.prototype.reset):

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

9 years ago2011-04-29 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 11:43:30 +0000 (11:43 +0000)]
2011-04-29  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Hyperlink Auditing (ping) requests are not shown in network panel
        https://bugs.webkit.org/show_bug.cgi?id=58794

        Added ping requests to network panel.

        * http/tests/inspector/network/ping-expected.txt: Added.
        * http/tests/inspector/network/ping.html: Added.
2011-04-29  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: Hyperlink Auditing (ping) requests are not shown in network panel
        https://bugs.webkit.org/show_bug.cgi?id=58794

        Added ping requests to network panel.

        Test: http/tests/inspector/network/ping.html

        * English.lproj/localizedStrings.js:
        * inspector/InspectorInstrumentation.cpp:
        (WebCore::InspectorInstrumentation::continueAfterPingLoaderImpl):
        * inspector/InspectorInstrumentation.h:
        (WebCore::InspectorInstrumentation::continueAfterPingLoader):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkDataGridNode.prototype.refreshResource):
        (WebInspector.NetworkDataGridNode.prototype._refreshStatusCell):
        (WebInspector.NetworkDataGridNode.prototype._refreshTypeCell):
        * inspector/front-end/Resource.js:
        (WebInspector.Resource.prototype.get formParameters):
        (WebInspector.Resource.prototype.requestContentType):
        (WebInspector.Resource.prototype.isPingRequest):
        * loader/PingLoader.cpp:
        (WebCore::PingLoader::PingLoader):
        * loader/PingLoader.h:

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

9 years ago2011-04-28 Pavel Podivilov <podivilov@chromium.org>
podivilov@chromium.org [Fri, 29 Apr 2011 11:35:58 +0000 (11:35 +0000)]
2011-04-28  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: breakpoints set in original and formatted scripts are messed up after navigation.
        https://bugs.webkit.org/show_bug.cgi?id=59476

        * http/tests/inspector/inspector-test.js:
        (initialize_InspectorTest.InspectorTest.navigate):
        (initialize_InspectorTest.InspectorTest.reloadPage):
        (initialize_InspectorTest.InspectorTest.pageLoaded):
        (initialize_InspectorTest.InspectorTest.runWhenPageLoads):
        ():
        * inspector/debugger/script-formatter-expected.txt:
        * inspector/debugger/script-formatter.html:
2011-04-28  Pavel Podivilov  <podivilov@chromium.org>

        Reviewed by Pavel Feldman.

        Web Inspector: breakpoints set in original and formatted scripts are messed up after navigation.
        https://bugs.webkit.org/show_bug.cgi?id=59476

        * inspector/front-end/DebuggerPresentationModel.js:
        (WebInspector.DebuggerPresentationModel.prototype.toggleFormatSourceFiles):
        (WebInspector.DebuggerPresentationModel.prototype._removeBreakpointFromDebugger):
        (WebInspector.PresentationBreakpoint.prototype.serialize):
        * inspector/front-end/ScriptsPanel.js:
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect.optionCompare):
        (WebInspector.ScriptsPanel.prototype._addOptionToFilesSelect):
        (WebInspector.ScriptsPanel.prototype.reset):

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

9 years ago2011-04-29 Vsevolod Vlasov <vsevik@chromium.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 10:23:06 +0000 (10:23 +0000)]
2011-04-29  Vsevolod Vlasov  <vsevik@chromium.org>

        Reviewed by Pavel Feldman.

        Chromium DevTools: Fix network panel timing/size/headers tests.
        https://bugs.webkit.org/show_bug.cgi?id=59696

        * src/js/Tests.js:
        (.TestSuite.prototype.testNetworkSize.finishResource):
        (.TestSuite.prototype.testNetworkSyncSize.finishResource):
        (.TestSuite.prototype.testNetworkRawHeadersText.finishResource):
        (.TestSuite.prototype.testNetworkTiming.finishResource):

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

9 years ago2011-04-29 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Fri, 29 Apr 2011 09:55:51 +0000 (09:55 +0000)]
2011-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Implement UI client in minibrowser
        https://bugs.webkit.org/show_bug.cgi?id=58416

        It also allows to open more than one minibrowser window from the
        command line.

        * MiniBrowser/gtk/BrowserWindow.c:
        (browserWindowFinalize):
        (browser_window_init):
        (browserWindowConstructed):
        (createNewPage):
        (showPage):
        (closePage):
        (runJavaScriptAlert):
        (browserWindowUIClientInit):
        * MiniBrowser/gtk/main.c:
        (loadURI):
        (main):

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

9 years ago2011-04-29 Pavel Feldman <pfeldman@google.com>
pfeldman@chromium.org [Fri, 29 Apr 2011 09:34:56 +0000 (09:34 +0000)]
2011-04-29  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add "open link in new tab" action into the network and resources panels.
        https://bugs.webkit.org/show_bug.cgi?id=59788

        This change also distinguishes context menu items case between platforms.

        * English.lproj/localizedStrings.js:
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleView.prototype._handleContextMenuEvent):
        * inspector/front-end/DOMBreakpointsSidebarPane.js:
        (WebInspector.DOMBreakpointsSidebarPane):
        * inspector/front-end/ElementsPanel.js:
        (WebInspector.ElementsPanel.prototype._contextMenuEventFired):
        (WebInspector.ElementsPanel.prototype.populateHrefContextMenu):
        * inspector/front-end/ElementsTreeOutline.js:
        (WebInspector.ElementsTreeElement.prototype._populateTagContextMenu):
        (WebInspector.ElementsTreeElement.prototype._populateTextContextMenu):
        * inspector/front-end/NetworkPanel.js:
        (WebInspector.NetworkPanel.prototype._contextMenu):
        * inspector/front-end/ResourcesPanel.js:
        (WebInspector.FrameResourceTreeElement.prototype._handleContextMenuEvent):
        (WebInspector.FrameResourceTreeElement.prototype._appendSaveAsAction):
        (WebInspector.ResourceRevisionTreeElement.prototype._handleContextMenuEvent):
        * inspector/front-end/Settings.js:
        * inspector/front-end/SourceFrame.js:
        (WebInspector.SourceFrame.prototype.populateLineGutterContextMenu):
        * inspector/front-end/TextViewer.js:
        (WebInspector.TextViewer.prototype._contextMenu):
        * inspector/front-end/inspector.js:
        (WebInspector.openLinkExternallyLabel):
        (WebInspector.openResource):
        (WebInspector.useLowerCaseMenuTitles):
2011-04-29  Pavel Feldman  <pfeldman@google.com>

        Reviewed by Yury Semikhatsky.

        Web Inspector: add "open link in new tab" action into the network and resources panels.
        https://bugs.webkit.org/show_bug.cgi?id=59788

        This change also distinguishes context menu items case between platforms.

        * src/js/DevTools.js:

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

9 years ago2011-04-29 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Fri, 29 Apr 2011 09:32:49 +0000 (09:32 +0000)]
2011-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Implement page loader client in MiniBrowser
        https://bugs.webkit.org/show_bug.cgi?id=58024

        A new class BrowserWindow has been added to implement the page
        loader client. It makes supporting multiple windows easier. Window
        title and url entry are now updated during the loading process.

        * MiniBrowser/gtk/BrowserWindow.c: Added.
        (activateUriEntryCallback):
        (goBackCallback):
        (goForwardCallback):
        (browserWindowFinalize):
        (browserWindowGetProperty):
        (browserWindowSetProperty):
        (browser_window_init):
        (browserWindowConstructed):
        (browser_window_class_init):
        (browserWindowUpdateTitle):
        (browserWindowSetTitle):
        (browserWindowSetLoadProgress):
        (browserWindowUpdateURL):
        (didStartProvisionalLoadForFrame):
        (didReceiveServerRedirectForProvisionalLoadForFrame):
        (didFailProvisionalLoadWithErrorForFrame):
        (didCommitLoadForFrame):
        (didFinishDocumentLoadForFrame):
        (didFinishLoadForFrame):
        (didFailLoadWithErrorForFrame):
        (didReceiveTitleForFrame):
        (didFirstLayoutForFrame):
        (didFirstVisuallyNonEmptyLayoutForFrame):
        (didRemoveFrameFromHierarchy):
        (didStartProgress):
        (didChangeProgress):
        (didFinishProgress):
        (didBecomeUnresponsive):
        (didBecomeResponsive):
        (browserWindowLoaderClientInit):
        (browser_window_new):
        (browser_window_get_view):
        * MiniBrowser/gtk/BrowserWindow.h: Added.
        * MiniBrowser/gtk/GNUmakefile.am:
        * MiniBrowser/gtk/main.c:
        (createWindow):

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

9 years ago2011-04-29 Carlos Garcia Campos <cgarcia@igalia.com>
carlosgc@webkit.org [Fri, 29 Apr 2011 07:18:19 +0000 (07:18 +0000)]
2011-04-29  Carlos Garcia Campos  <cgarcia@igalia.com>

        Unreviewed. Fix a crash after r85214.

        * UIProcess/API/gtk/WebKitWebViewBase.cpp:
        (webkit_web_view_base_init): Add line to create the page client
        instance, removed by mistake in r85214.

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

9 years agohttp://bugs.webkit.org/show_bug.cgi?id=59743
slewis@apple.com [Fri, 29 Apr 2011 07:07:59 +0000 (07:07 +0000)]
http://bugs.webkit.org/show_bug.cgi?id=59743
<rdar://problem/9040413> Add an install target for production builds.

Reviewed by Mark Rowe.

* DumpRenderTree/mac/PerlSupport/Makefile:

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

9 years agoStop and restart ATSServer before each test run on Leopard
aroben@apple.com [Fri, 29 Apr 2011 06:53:23 +0000 (06:53 +0000)]
Stop and restart ATSServer before each test run on Leopard

This is to work around an ATSServer leak that eventually causes tests
to fail.

Fixes <http://webkit.org/b/51807> <rdar://problem/9273894>
fast/blockflow/broken-ideograph-[small-caps|font].html sometimes fails on Leopard buildbots
(due to ATSServer leak)

Reviewed by Dan Bernstein.

* BuildSlaveSupport/build.webkit.org-config/master.cfg:
(StopATSServer):
(StartATSServer):
Added these new commands to stop and start ATSServer.

(TestFactory.__init__): Stop and start ATSServer on Leopard before running tests.

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

9 years agoUnskip some tests that were failing due to local issues on the bots that have been...
aroben@apple.com [Fri, 29 Apr 2011 06:42:05 +0000 (06:42 +0000)]
Unskip some tests that were failing due to local issues on the bots that have been resolved

See <http://webkit.org/b/51807> for details.

* platform/mac-leopard/Skipped:

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

9 years agoSkip a failing custom font test on Leopard
aroben@apple.com [Fri, 29 Apr 2011 05:38:38 +0000 (05:38 +0000)]
Skip a failing custom font test on Leopard

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

* platform/mac-leopard/Skipped: Added fast/css/custom-font-xheight.html.

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

9 years agoSkip a timing-out canvas test on Leopard
aroben@apple.com [Fri, 29 Apr 2011 05:22:36 +0000 (05:22 +0000)]
Skip a timing-out canvas test on Leopard

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

* platform/mac-leopard/Skipped: Added fast/canvas/canvas-largedraws.html.

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

9 years ago2011-04-28 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 29 Apr 2011 05:19:10 +0000 (05:19 +0000)]
2011-04-28  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Mask placement on composited layer is incorrect sometimes
        https://bugs.webkit.org/show_bug.cgi?id=59775

        The mask layer always has the same size as its owning GraphicsLayer,
        so it needs to share the same offsetFromRenderer as well. This fixes
        the offset at which the mask layer contents are painted in cases where
        that offset is non-zero, for example when outline style bloats all of
        the layer sizes.

        Test: compositing/masks/layer-mask-placement.html

        * rendering/RenderLayerBacking.cpp:
        (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):

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

9 years ago<http://webkit.org/b/59758> Fix static analyzer warnings for missing assignment to...
ddkilzer@apple.com [Fri, 29 Apr 2011 04:57:32 +0000 (04:57 +0000)]
<webkit.org/b/59758> Fix static analyzer warnings for missing assignment to 'self' in -init methods

Reviewed by Anders Carlsson.

* History/WebHistory.mm:
(-[WebHistoryPrivate init]):
* Misc/WebElementDictionary.mm:
(-[WebElementDictionary initWithHitTestResult:]):
* Misc/WebIconDatabase.mm:
(-[WebIconDatabase init]):
* Plugins/WebPluginController.mm:
(-[WebPluginController initWithDocumentView:]):
* Plugins/WebPluginRequest.m:
(-[WebPluginRequest initWithRequest:frameName:notifyData:sendNotification:didStartFromUserGesture:]):
* WebCoreSupport/WebEditorClient.mm:
(-[WebEditCommand initWithEditCommand:]):
* WebCoreSupport/WebJavaScriptTextInputPanel.m:
(-[WebJavaScriptTextInputPanel initWithPrompt:text:]):
* WebView/WebNavigationData.mm:
(-[WebNavigationData initWithURLString:title:originalRequest:response:hasSubstituteData:clientRedirectSource:]):

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

9 years agoMove some mac-snowleopard results back up to mac
aroben@apple.com [Fri, 29 Apr 2011 04:52:47 +0000 (04:52 +0000)]
Move some mac-snowleopard results back up to mac

* platform/mac-snowleopard/fast/forms/textarea-placeholder-visibility-1-expected.png: Removed.
* platform/mac-snowleopard/fast/forms/textarea-placeholder-visibility-1-expected.txt: Removed.
* platform/mac-snowleopard/fast/forms/textarea-placeholder-visibility-2-expected.png: Removed.
* platform/mac-snowleopard/fast/forms/textarea-placeholder-visibility-2-expected.txt: Removed.
* platform/mac/fast/forms/textarea-placeholder-visibility-1-expected.png:
* platform/mac/fast/forms/textarea-placeholder-visibility-1-expected.txt:
* platform/mac/fast/forms/textarea-placeholder-visibility-2-expected.png:
* platform/mac/fast/forms/textarea-placeholder-visibility-2-expected.txt:

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

9 years agoReverted r81319.
mitz@apple.com [Fri, 29 Apr 2011 04:12:02 +0000 (04:12 +0000)]
Reverted r81319.

Rubber-stamped by Mark Rowe.

Fixes <rdar://problem/9331580> REGRESSION (r81319): Safari fails to display dropdown navigation on classics.berkeley.edu

* page/NavigatorBase.cpp:

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

9 years ago2011-04-28 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Fri, 29 Apr 2011 04:07:33 +0000 (04:07 +0000)]
2011-04-28  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dirk Schulze.

        1px box-shadow looks ugly
        https://bugs.webkit.org/show_bug.cgi?id=58100
        and
        ShadowBlur incorrectly handles zero-sized blur radius in one axis
        https://bugs.webkit.org/show_bug.cgi?id=59710

        blurLayerImage() has issues at the edges if the blur radius
        is one, so in that case bump the buffer size out by a pixel.
        This results in a correct, symmetrical blur.

        Also fix an issue noticed during testing where a zero
        height or width radius would still blur on that axis,
        because we clamp the kernel size to a minimum of two.

        Test: fast/box-shadow/single-pixel-shadow.html

        * platform/graphics/ShadowBlur.h:
        * platform/graphics/ShadowBlur.cpp:
        (WebCore::ShadowBlur::blurLayerImage):
        Skip horizontal or vertial passes if the radius on that axis is zero.
        Move the "if (pass && m_blurRadius.width() != m_blurRadius.height())"
        clause to the end of the loop, since it only needs to execute once
        after the first pass.
        (WebCore::ShadowBlur::blurredEdgeSize):
        New method to compute the width of the blurred edge (radius + extra
        pixel when necessary).
        (WebCore::ShadowBlur::calculateLayerBoundingRect):
        (WebCore::ShadowBlur::templateSize):
        (WebCore::ShadowBlur::drawRectShadow):
        (WebCore::ShadowBlur::drawInsetShadow):
        (WebCore::ShadowBlur::drawInsetShadowWithTiling):
        (WebCore::ShadowBlur::drawRectShadowWithTiling):
        (WebCore::ShadowBlur::drawLayerPieces):
        Use the result of blurredEdgeSize() rather than recomputing.

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

9 years agoSkip all fast/dom/shadow tests on Mac
aroben@apple.com [Fri, 29 Apr 2011 04:04:08 +0000 (04:04 +0000)]
Skip all fast/dom/shadow tests on Mac

They seem to be causing later tests to crash. See <http://webkit.org/b/59571>.

* platform/mac/Skipped:

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

9 years ago2011-04-28 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 29 Apr 2011 03:43:55 +0000 (03:43 +0000)]
2011-04-28  Dirk Pranke  <dpranke@chromium.org>

        Reviewed by Adam Roben.

        add Leopard NRWT bot to the scheduler
        https://bugs.webkit.org/show_bug.cgi?id=59766

        * BuildSlaveSupport/build.webkit.org-config/config.json:

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

9 years ago2011-04-28 Yael Aharon <yael.aharon@nokia.com>
yael.aharon@nokia.com [Fri, 29 Apr 2011 03:36:08 +0000 (03:36 +0000)]
2011-04-28  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Beth Dakin.

        CSS sibling selector (~) does not work with :target pseudo class
        https://bugs.webkit.org/show_bug.cgi?id=26539

        * fast/css/pseudo-target-indirect-sibling-001-expected.txt: Added.
        * fast/css/pseudo-target-indirect-sibling-001.html: Added.
        * fast/css/pseudo-target-indirect-sibling-002-expected.txt: Added.
        * fast/css/pseudo-target-indirect-sibling-002.html: Added.
2011-04-28  Yael Aharon  <yael.aharon@nokia.com>

        Reviewed by Beth Dakin.

        CSS sibling selector (~) does not work with :target pseudo class
        https://bugs.webkit.org/show_bug.cgi?id=26539

        Allow style recalculation of forward siblings of elements with
        forward positional rules.

        Tests: fast/css/pseudo-target-indirect-sibling-001.html
               fast/css/pseudo-target-indirect-sibling-002.html

        * dom/Element.cpp:
        (WebCore::Element::recalcStyle):

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

9 years ago2011-04-28 Kamil Blank <k.blank@samsung.com>
commit-queue@webkit.org [Fri, 29 Apr 2011 03:33:51 +0000 (03:33 +0000)]
2011-04-28  Kamil Blank  <k.blank@samsung.com>

        Reviewed by Antonio Gomes.

        New API for executing Editor Commands: InsertText, InsertImage.
        https://bugs.webkit.org/show_bug.cgi?id=54439

        * ewk/ewk_view.cpp:
        (_ewk_view_editor_command): Added value parameter.
        (ewk_view_execute_editor_command): Added.
        * ewk/ewk_view.h: New API added.

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

9 years agoFix WebKitTestRunner build.
weinig@apple.com [Fri, 29 Apr 2011 03:32:57 +0000 (03:32 +0000)]
Fix WebKitTestRunner build.

* WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
The Derived Sources target needs a product name.

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

9 years ago2011-04-28 Sam Weinig <sam@webkit.org>
weinig@apple.com [Fri, 29 Apr 2011 03:24:05 +0000 (03:24 +0000)]
2011-04-28  Sam Weinig  <sam@webkit.org>

        Reviewed by Mark Rowe.

        Install testapi.js along side testapi
        https://bugs.webkit.org/show_bug.cgi?id=59773

        * JavaScriptCore.xcodeproj/project.pbxproj:
        Add new build phase to copy testapi.js to install path of testapi
        on install.

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

9 years ago2011-04-28 Nat Duca <nduca@chromium.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 03:19:33 +0000 (03:19 +0000)]
2011-04-28  Nat Duca  <nduca@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
        https://bugs.webkit.org/show_bug.cgi?id=59626

        * platform/graphics/chromium/Extensions3DChromium.h:
        (WebCore::Extensions3DChromium::SwapBuffersCompleteCallbackCHROMIUM::~SwapBuffersCompleteCallbackCHROMIUM):
2011-04-28  Nat Duca  <nduca@chromium.org>

        Reviewed by Kenneth Russell.

        [chromium] Add swapBuffersCompleteCallback to Extensions3DChromium
        https://bugs.webkit.org/show_bug.cgi?id=59626

        * public/WebGraphicsContext3D.h:
        (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
        (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
        * src/Extensions3DChromium.cpp:
        (WebCore::Extensions3DChromium::setSwapBuffersCompleteCallbackCHROMIUM):
        * src/GraphicsContext3DChromium.cpp:
        (WebCore::SwapBuffersCompleteCallbackAdapter::~SwapBuffersCompleteCallbackAdapter):
        (WebCore::SwapBuffersCompleteCallbackAdapter::SwapBuffersCompleteCallbackAdapter):
        (WebCore::SwapBuffersCompleteCallbackAdapter::onSwapBuffersComplete):
        (WebCore::SwapBuffersCompleteCallbackAdapter::create):
        (WebCore::GraphicsContext3DInternal::setSwapBuffersCompleteCallbackCHROMIUM):
        * src/GraphicsContext3DInternal.h:
        * src/WebViewImpl.cpp:

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

9 years ago2011-04-28 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 29 Apr 2011 02:34:57 +0000 (02:34 +0000)]
2011-04-28  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change. More flakiness.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-04-28 Steve Lacey <sjl@chromium.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 02:28:07 +0000 (02:28 +0000)]
2011-04-28  Steve Lacey  <sjl@chromium.org>

        Reviewed by Eric Carlson.

        Change chromium media controls to use absolute positioning until bug 59644 is fixed.
        https://bugs.webkit.org/show_bug.cgi?id=59732

        * platform/chromium/test_expectations.txt: Add expectations for affected tests.
2011-04-28  Steve Lacey  <sjl@chromium.org>

        Reviewed by Eric Carlson.

        Change chromium media controls to use absolute positioning until bug 59644 is fixed.
        https://bugs.webkit.org/show_bug.cgi?id=59732

        * css/mediaControlsChromium.css:
        (audio::-webkit-media-controls-current-time-display, video::-webkit-media-controls-current-time-display):
        (audio::-webkit-media-controls-timeline, video::-webkit-media-controls-timeline):

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

9 years ago2011-04-28 Luke Macpherson <macpherson@chromium.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 02:25:12 +0000 (02:25 +0000)]
2011-04-28  Luke Macpherson   <macpherson@chromium.org>

        Reviewed by Eric Seidel.

        Implement CSS border width and related properties in CSSStyleApplyProperty.
        https://bugs.webkit.org/show_bug.cgi?id=59414

        No new tests as no functionality added.

        * css/CSSStyleApplyProperty.cpp:
        Separated ApplyPropertyDefault into parent and child so that other classes could inherit
        the applyInheritValue and applyInitialValue methods only.
        This was necessary to avoid casting from CSSPrimitiveValue to inappropriate types in ApplyPropertyDefault::applyValue().

        Added ApplyPropertyWidth class for handling width based CSS properties.
        * css/CSSStyleSelector.cpp:
        Removed no-longer-required code for handling width based CSS properties.
        * css/CSSStyleSelector.h:
        Added a getter for m_rootElementStyle.

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

9 years ago2011-04-28 Julien Chaffraix <jchaffraix@codeaurora.org>
commit-queue@webkit.org [Fri, 29 Apr 2011 02:24:23 +0000 (02:24 +0000)]
2011-04-28  Julien Chaffraix  <jchaffraix@codeaurora.org>

        Reviewed by Darin Adler.

        CSS counters in :before pseudo-elements do not always update
        https://bugs.webkit.org/show_bug.cgi?id=38291

        The previous bug was solved so just landing the test case to ensure that
        we don't regress it.

        * fast/css/counters/counter-before-content-not-incremented-expected.txt: Added.
        * fast/css/counters/counter-before-content-not-incremented.html: Added.

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

9 years ago2011-04-28 John Abd-El-Malek <jam@chromium.org>
jam@chromium.org [Fri, 29 Apr 2011 02:19:58 +0000 (02:19 +0000)]
2011-04-28  John Abd-El-Malek  <jam@chromium.org>

        Reviewed by Tony Chang.

        [chromium] Fix silly bug with WebPermissionClient
        https://bugs.webkit.org/show_bug.cgi?id=59769

        * src/FrameLoaderClientImpl.cpp:
        (WebKit::FrameLoaderClientImpl::allowJavaScript):
        (WebKit::FrameLoaderClientImpl::allowPlugins):
        (WebKit::FrameLoaderClientImpl::allowImages):

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

9 years ago2011-04-28 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Fri, 29 Apr 2011 02:15:32 +0000 (02:15 +0000)]
2011-04-28  Kent Tamura  <tkent@chromium.org>

        Run sort-Xcode-project-file.

        * WebCore.xcodeproj/project.pbxproj:

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

9 years ago2011-04-28 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 29 Apr 2011 01:58:47 +0000 (01:58 +0000)]
2011-04-28  Dirk Pranke  <dpranke@chromium.org>

        Suppress GPU failures - bug 59768, and
        some fast/repaint/shadow failures that are
        probably just rebaselines.

        * platform/chromium/test_expectations.txt:

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

9 years ago2011-04-28 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 29 Apr 2011 01:38:55 +0000 (01:38 +0000)]
2011-04-28  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change.

        * platform/chromium/test_expectations.txt:

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

9 years agoFixed a typo in the ChangeLog entry for my previous commit
mrobinson@webkit.org [Fri, 29 Apr 2011 01:00:58 +0000 (01:00 +0000)]
Fixed a typo in the ChangeLog entry for my previous commit

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

9 years ago2011-04-28 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Fri, 29 Apr 2011 00:57:22 +0000 (00:57 +0000)]
2011-04-28  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dirk Schulze.

        [Cairo] Text underline is not shadowed when text-shadow is enabled
        https://bugs.webkit.org/show_bug.cgi?id=48074

        Updated pixel results for this test. They were previously incorrect
        because text underlines were not shadowed.

        * platform/gtk/fast/text/stroking-decorations-expected.png:
2011-04-28  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Dirk Schulze.

        [Cairo] Text underline is not shadowed when text-shadow is enabled
        https://bugs.webkit.org/show_bug.cgi?id=48074

        Use ShadowContext to enable shadows for text underlines. Also remove quite a bit
        of duplicate code in GraphicsContext used for stroking lines. This code looks like it was
        originally copied from the CG GraphicsContext.

        * platform/graphics/GraphicsContext.h: Make adjustLineToPixelBoundaries so that we
          can call it from a static helper function.
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::calculateStrokePatternOffset): Abstracted this code into a helper.
        (WebCore::drawLineOnCairoContext): Abstracted this code into a helper. We need to
        call it multiple times when shadowing text underlines.
        (WebCore::GraphicsContext::drawLine): Use drawLineOnCairoContext.
        (WebCore::GraphicsContext::strokeArc): Use calculateStrokePatternOffset.
        (WebCore::GraphicsContext::drawLineForText): Use drawLineOnCairoContext.

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

9 years agoVersioning.
mrowe@apple.com [Fri, 29 Apr 2011 00:56:35 +0000 (00:56 +0000)]
Versioning.

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

9 years agoCleanup WebCore.xcodeproj a bit.
weinig@apple.com [Fri, 29 Apr 2011 00:54:52 +0000 (00:54 +0000)]
Cleanup WebCore.xcodeproj a bit.

Rubber-stamped by Mark Rowe.

* WebCore.xcodeproj/project.pbxproj:
Added CompilerVersion.xcconfig and moved some JS bindings files into the
correct sub groups.

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

9 years ago2011-04-28 Dirk Pranke <dpranke@chromium.org>
dpranke@chromium.org [Fri, 29 Apr 2011 00:54:48 +0000 (00:54 +0000)]
2011-04-28  Dirk Pranke  <dpranke@chromium.org>

        Unreviewed, expectations change.

        * platform/chromium/test_expectations.txt:

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

9 years agoAdd install support for WebKitTestRunner.
weinig@apple.com [Fri, 29 Apr 2011 00:48:54 +0000 (00:48 +0000)]
Add install support for WebKitTestRunner.
<rdar://problem/9349055>

Reviewed by Mark Rowe.

* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Add missing CompilerVersion.xcconfig.

* WebKitTestRunner/Configurations/InjectedBundle.xcconfig:
* WebKitTestRunner/Configurations/WebKitTestRunner.xcconfig:
* WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj:
Add install path and tell it not to skip installation.

Add missing CompilerVersion.xcconfig.

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

9 years agoRemove IMAGE_RESIZER related code.
levin@chromium.org [Fri, 29 Apr 2011 00:41:47 +0000 (00:41 +0000)]
Remove IMAGE_RESIZER related code.
https://bugs.webkit.org/show_bug.cgi?id=59735

Reviewed by Adam Barth.

Source/JavaScriptCore:

* Configurations/FeatureDefines.xcconfig:

Source/WebCore:

* CMakeLists.txt:
* Configurations/FeatureDefines.xcconfig:
* GNUmakefile.am:
* GNUmakefile.list.am:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* features.pri:
* html/AsyncImageResizer.cpp: Removed.
* html/AsyncImageResizer.h: Removed.
* html/ImageResizerThread.cpp: Removed.
* html/ImageResizerThread.h: Removed.

Source/WebKit/mac:

* Configurations/FeatureDefines.xcconfig:

Source/WebKit2:

* Configurations/FeatureDefines.xcconfig:

Tools:

* Scripts/build-webkit:

WebKitLibraries:

* win/tools/vsprops/FeatureDefines.vsprops:
* win/tools/vsprops/FeatureDefinesCairo.vsprops:

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

9 years ago2011-04-28 Ilya Tikhonovsky <loislo@chromium.org>
loislo@chromium.org [Fri, 29 Apr 2011 00:36:22 +0000 (00:36 +0000)]
2011-04-28  Ilya Tikhonovsky  <loislo@chromium.org>

        Unreviewed trivial one-line fix inspired by wrong patch for https://bugs.webkit.org/show_bug.cgi?id=59630.

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

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

9 years agohttps://bugs.webkit.org/show_bug.cgi?id=59763
barraclough@apple.com [Fri, 29 Apr 2011 00:30:34 +0000 (00:30 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=59763
DFG JIT - Unify FPRReg & FPRegisterID

Reviewed by Oliver Hunt.

(Following on from GPRReg/RegisterID unification).

* dfg/DFGFPRInfo.h:
(JSC::DFG::FPRInfo::toRegister):
(JSC::DFG::FPRInfo::debugName):
* dfg/DFGGPRInfo.h:
* dfg/DFGJITCodeGenerator.cpp:
(JSC::DFG::JITCodeGenerator::fillDouble):
(JSC::DFG::JITCodeGenerator::checkConsistency):
* dfg/DFGJITCodeGenerator.h:
(JSC::DFG::JITCodeGenerator::boxDouble):
(JSC::DFG::JITCodeGenerator::unboxDouble):
(JSC::DFG::JITCodeGenerator::flushRegisters):
(JSC::DFG::JITCodeGenerator::isFlushed):
(JSC::DFG::JITCodeGenerator::setupTwoStubArgs):
(JSC::DFG::JITCodeGenerator::setupStubArguments):
(JSC::DFG::JITCodeGenerator::callOperation):
(JSC::DFG::GPRResult::lockedResult):
(JSC::DFG::FPRResult::lockedResult):
* dfg/DFGJITCompiler.cpp:
(JSC::DFG::JITCompiler::fillNumericToDouble):
(JSC::DFG::JITCompiler::jumpFromSpeculativeToNonSpeculative):
(JSC::DFG::JITCompiler::compileFunction):
* dfg/DFGJITCompiler.h:
* dfg/DFGNode.h:
* dfg/DFGNonSpeculativeJIT.cpp:
(JSC::DFG::EntryLocation::EntryLocation):
(JSC::DFG::NonSpeculativeJIT::valueToNumber):
(JSC::DFG::NonSpeculativeJIT::valueToInt32):
(JSC::DFG::NonSpeculativeJIT::numberToInt32):
(JSC::DFG::NonSpeculativeJIT::compile):
* dfg/DFGNonSpeculativeJIT.h:
(JSC::DFG::NonSpeculativeJIT::silentSpillAllRegisters):
(JSC::DFG::NonSpeculativeJIT::silentFillAllRegisters):
* dfg/DFGRegisterBank.h:
(JSC::DFG::RegisterBank::iterator::regID):
(JSC::DFG::RegisterBank::iterator::debugName):
* dfg/DFGSpeculativeJIT.cpp:
(JSC::DFG::SpeculationCheck::SpeculationCheck):
(JSC::DFG::SpeculativeJIT::compile):
* dfg/DFGSpeculativeJIT.h:

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

9 years agoAllow remote accessibility API for WK2 to build on SnowLeopard.
cfleizach@apple.com [Fri, 29 Apr 2011 00:27:00 +0000 (00:27 +0000)]
Allow remote accessibility API for WK2 to build on SnowLeopard.
<rdar://problem/9324507>

Reviewed by Maciej Stachowiak.

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:

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