1. 14 Mar, 2011 40 commits
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · aea439d1
      rniwa@webkit.org authored
              Reviewed by Darin Adler.
      
              EventHandler calls shouldChangeSelection needlessly
              https://bugs.webkit.org/show_bug.cgi?id=56324
      
              Extracted setSelectionIfNeeded and setNonDirectionalSelectionIfNeeded and
              avoided calling shouldChangeSelection and setSelection when the existing
              selection is identical to that of new selection.
      
              * page/EventHandler.cpp:
              (WebCore::setSelectionIfNeeded): Extracted.
              (WebCore::setNonDirectionalSelectionIfNeeded): Extracted.
              (WebCore::EventHandler::selectClosestWordFromMouseEvent): Calls a helper function above.
              (WebCore::EventHandler::selectClosestWordOrLinkFromMouseEvent): Ditto.
              (WebCore::EventHandler::handleMousePressEventTripleClick): Ditto.
              (WebCore::EventHandler::handleMousePressEventSingleClick): Ditto.
              (WebCore::EventHandler::updateSelectionForMouseDrag): Ditto.
              (WebCore::EventHandler::handleMouseReleaseEvent): Ditto.
      2011-03-14  Anton Muhin  <antonm@chromium.org>
      
              Reviewed by Adam Barth.
      
              [v8] Rework object group building.
              https://bugs.webkit.org/show_bug.cgi?id=55399
      
              Instead of going top-down (from owner to owned elements), go up---from objects
              to their group ids.  That fits better to v8's object grouping model and guarantees
              that each wrapper belongs to the single group.
      
              Alas, this cannot be implemented for one kind of objects---CSSProperties.
      
              Part of core GC algorithm and tested extensively by exisiting layout tests.
      
              * platform/chromium/test_expectations.txt: Temporary suppress text differences.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81095 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aea439d1
    • commit-queue@webkit.org's avatar
      2011-03-14 Daniel Sievers <sievers@google.com> · 6dff3f50
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
              https://bugs.webkit.org/show_bug.cgi?id=56139
      
              * WebCore.exp.in:
              * WebCore.order:
              * page/Frame.cpp:
              (WebCore::Frame::layerTreeAsText):
              * page/Frame.h:
              * rendering/RenderLayerCompositor.cpp:
              (WebCore::RenderLayerCompositor::layerTreeAsText):
              * rendering/RenderLayerCompositor.h:
      2011-03-14  Daniel Sievers  <sievers@google.com>
      
              Reviewed by Simon Fraser.
      
              [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
              https://bugs.webkit.org/show_bug.cgi?id=56139
      
              * public/WebFrame.h:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::renderTreeAsText):
              (WebKit::WebFrameImpl::layerTreeAsText):
              * src/WebFrameImpl.h:
      2011-03-14  Daniel Sievers  <sievers@google.com>
      
              Reviewed by Simon Fraser.
      
              [Chromium] Make RenderAsTextBehavior and LayerTreeAsTextBehavior tweakable from the DumpRenderTree commandline
              https://bugs.webkit.org/show_bug.cgi?id=56139
      
              * DumpRenderTree/chromium/DumpRenderTree.cpp:
              (main):
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::layerTreeAsText):
              * DumpRenderTree/chromium/LayoutTestController.h:
              (LayoutTestController::setShowDebugLayerTree):
              * DumpRenderTree/chromium/TestShell.cpp:
              (TestShell::runFileTest):
              (TestShell::dump):
              * DumpRenderTree/chromium/TestShell.h:
              (TestParams::TestParams):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81094 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6dff3f50
    • abarth@webkit.org's avatar
      2011-03-14 Adam Barth <abarth@webkit.org> · 676594a7
      abarth@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Add remaining files to WebCore.gypi
              https://bugs.webkit.org/show_bug.cgi?id=56351
      
              Adding the remaining files to WebCore.gypi required updating the
              include/exclude lists in WebCore.gyp.  These lists aren't overly
              elegant, but we can try to improve them in the future.
      
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * bindings/v8/ScriptCachedFrameData.cpp:
                  - Added ifdefs to this file to match the header.
              * platform/graphics/WOFFFileFormat.cpp:
                  - Fixed build error when compiling without ENABLE(OPENTYPE_SANITIZER).
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      676594a7
    • antonm@chromium.org's avatar
      2011-03-14 Anton Muhin <antonm@chromium.org> · 8675b60b
      antonm@chromium.org authored
              Reviewed by Adam Barth.
      
              [v8] Rework object group building.
              https://bugs.webkit.org/show_bug.cgi?id=55399
      
              Instead of going top-down (from owner to owned elements), go up---from objects
              to their group ids.  That fits better to v8's object grouping model and guarantees
              that each wrapper belongs to the single group.
      
              Alas, this cannot be implemented for one kind of objects---CSSProperties.
      
              Part of core GC algorithm and tested extensively by exisiting layout tests.
      
              * platform/chromium/test_expectations.txt: Temporary suppress text differences.
      2011-03-14  Anton Muhin  <antonm@chromium.org>
      
              Reviewed by Adam Barth.
      
              [v8] Rework object group building.
              https://bugs.webkit.org/show_bug.cgi?id=55399
      
              Instead of going top-down (from owner to owned elements), go up---from objects
              to their group ids.  That fits better to v8's object grouping model and guarantees
              that each wrapper belongs to the single group.
      
              Alas, this cannot be implemented for one kind of objects---CSSProperties.
      
              Part of core GC algorithm and tested extensively by exisiting layout tests.
      
              * bindings/scripts/CodeGeneratorV8.pm:
              * bindings/scripts/test/V8/V8TestInterface.cpp:
              * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
              * bindings/scripts/test/V8/V8TestObj.cpp:
              * bindings/v8/V8GCController.cpp:
              (WebCore::calculateGroupId):
              (WebCore::calculateRootStyleSheet):
              (WebCore::GrouperVisitor::visitDOMWrapper):
              (WebCore::GrouperVisitor::applyGrouping):
              (WebCore::V8GCController::gcPrologue):
              * bindings/v8/WrapperTypeInfo.h:
              (WebCore::WrapperTypeInfo::isSubclass):
              * css/CSSRuleList.h:
              (WebCore::CSSRuleList::styleList):
              * css/StyleSheetList.h:
              (WebCore::StyleSheetList::document):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8675b60b
    • luiz@webkit.org's avatar
      3482a00c
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · 50eab63b
      rniwa@webkit.org authored
              Mac Leopard rebaselines for r81053 (Grabbed off of Chromium bots).
      
              * platform/mac-leopard/fast/text/atsui-rtl-override-selection-expected.checksum:
              * platform/mac-leopard/fast/text/atsui-rtl-override-selection-expected.png:
              * platform/mac-leopard/editing/selection/drag-select-1-expected.checksum:
              * platform/mac-leopard/editing/selection/drag-select-1-expected.png:
              * platform/mac-leopard/editing/selection/fake-drag-expected.checksum:
              * platform/mac-leopard/editing/selection/fake-drag-expected.png:
              * platform/mac-leopard/editing/selection/inline-closest-leaf-child-expected.checksum:
              * platform/mac-leopard/editing/selection/inline-closest-leaf-child-expected.png:
              * platform/mac-leopard/svg/custom/mouse-move-on-svg-container-expected.checksum:
              * platform/mac-leopard/svg/custom/mouse-move-on-svg-container-expected.png:
              * platform/mac-leopard/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum:
              * platform/mac-leopard/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
              * platform/mac-leopard/svg/custom/mouse-move-on-svg-root-expected.checksum:
              * platform/mac-leopard/svg/custom/mouse-move-on-svg-root-expected.png:
              * platform/mac-leopard/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum:
              * platform/mac-leopard/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81090 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50eab63b
    • cfleizach@apple.com's avatar
      CrashTracer: 60 crashes in WebProcess at com.apple.WebKit2:... · 3ccb11e1
      cfleizach@apple.com authored
      CrashTracer: 60 crashes in WebProcess at com.apple.WebKit2: -[AccessibilityWebPageObject accessibilityHitTest:] + 248
      https://bugs.webkit.org/show_bug.cgi?id=56336
      
      Reviewed by Beth Dakin.
      
      Crash trace indicates a nil pointer access in one of these m_page->mainFrame()->coreFrame()->view()
      pointers.
      
      * WebProcess/WebPage/mac/AccessibilityWebPageObject.mm:
      (-[AccessibilityWebPageObject accessibilityHitTest:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81089 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ccb11e1
    • tkent@chromium.org's avatar
      Assertion failure by form validation message for <select required> with float:left · 32441d26
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=55995
      
      Reviewed by James Robinson.
      
      Source/WebCore:
      
      Test: fast/forms/interactive-validation-select-crash.html
      
      * rendering/RenderBlock.cpp:
      (WebCore::canMergeContiguousAnonymousBlocks):
        isAnonymousBlock() doesn't mean it is a RenderBlock. We need to check isRenderBlock().
      
      LayoutTests:
      
      * fast/forms/interactive-validation-select-crash-expected.txt: Added.
      * fast/forms/interactive-validation-select-crash.html: Added.
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/qt/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81088 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32441d26
    • alice.liu@apple.com's avatar
      Provide API for creating WKImage from CGImageRef · 431e650f
      alice.liu@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=56159
      
      Reviewed by Sam Weinig.
      
      Add function for creating a WKImage from CGImage data.
      * Shared/API/c/cg/WKImageCG.cpp:
      (WKImageCreateFromCGImage): Added. Creates a graphics context for the bitmap-backed image and draws into it. 
      * Shared/API/c/cg/WKImageCG.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81087 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      431e650f
    • ggaren@apple.com's avatar
      2011-03-14 Geoffrey Garen <ggaren@apple.com> · c0e258da
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Made JSWrapperObject and subclasses moving-GC-safe
              https://bugs.webkit.org/show_bug.cgi?id=56346
              
              SunSpider reports no change.
      
              * runtime/BooleanObject.cpp:
              (JSC::BooleanObject::BooleanObject):
              * runtime/DateInstance.cpp:
              (JSC::DateInstance::DateInstance): No more need for JSGlobalData, since
              we don't initialize the wrapped value in our constructor.
      
              * runtime/DateInstance.h: Don't set the OverridesMarkChildren flag because
              we do not in fact override markChildren.
      
              * runtime/DatePrototype.h: Declare an anonymous slot, since wrapper object
              no longer does so for us. Also added an ASSERT to catch a latent bug,
              where DatePrototype stomped on its base class's anonymous slot. Hard-coded
              anonymous slots are a plague on our code. This doesn't cause any problems
              in our existing code since the base class never reads the anonymous slot
              it declares, but it caused crashes when I tried to start using the slot
              in an initial version of this patch.
      
              * runtime/JSWrapperObject.h:
              (JSC::JSWrapperObject::JSWrapperObject):
              (JSC::JSWrapperObject::internalValue):
              (JSC::JSWrapperObject::setInternalValue): Resolved a problem where
              our internal value was stored in two places: an anonymous slot, and a
              data member which was not always visited during GC. Now, we only use the
              data member, and we always visit it. (Instead of relying on certain
              subclasses to set the OverridesMarkChildren bit, we set it ourselves.)
      
              * runtime/NumberObject.cpp:
              (JSC::NumberObject::NumberObject): No more need for JSGlobalData, since
              we don't initialize the wrapped value in our constructor.
      
              * runtime/NumberObject.h: Removed meaningless declaration.
      
              * runtime/StringObject.cpp:
              (JSC::StringObject::StringObject): No more need for JSGlobalData, since
              we don't initialize the wrapped value in our constructor.
      
              * runtime/StringObject.h: Don't set the OverridesMarkChildren flag because
              we do not in fact override markChildren.
      
              * runtime/StringPrototype.h: Declare an anonymous slot, since wrapper object
              no longer does so for us. Also added an ASSERT to catch a latent bug,
              where DatePrototype stomped on its base class's anonymous slot. Hard-coded
              anonymous slots are a plague on our code.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81086 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0e258da
    • msaboff@apple.com's avatar
      2011-03-14 Michael Saboff <msaboff@apple.com> · f468550b
      msaboff@apple.com authored
              Reviewed by Gavin Barraclough.
      
              Look-ahead assertions with back references don’t work as expected
              https://bugs.webkit.org/show_bug.cgi?id=56082
      
              Changed parentheses assertion processing to temporarily back out the 
              number of known characters after the assertion while processing the 
              assertion.  This was done so that assertions don't fail due to 
              checking the number of required characters as additional to the 
              rest of the express since assertions don't "consume" input.
              Added a byte code to uncheck characters to support the change.
      
              * yarr/YarrInterpreter.cpp:
              (JSC::Yarr::Interpreter::matchDisjunction):
              (JSC::Yarr::ByteCompiler::uncheckInput):
              (JSC::Yarr::ByteCompiler::emitDisjunction):
              * yarr/YarrInterpreter.h:
              (JSC::Yarr::ByteTerm::UncheckInput):
      2011-03-14  Michael Saboff  <msaboff@apple.com>
      
              Reviewed by Gavin Barraclough.
      
              Look-ahead assertions with back references don’t work as expected
              https://bugs.webkit.org/show_bug.cgi?id=56082
      
              New tests to verify the corresponding changes.
      
              * fast/regex/assertion-expected.txt: Added.
              * fast/regex/assertion.html: Added.
              * fast/regex/script-tests/assertion.js: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81085 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f468550b
    • kbalazs@webkit.org's avatar
      2011-03-14 Balazs Kelemen <kbalazs@webkit.org> · 38955ed6
      kbalazs@webkit.org authored
              Reviewed by Adam Roben.
      
              [Qt][WK2]Unbreak InjectedBundle on Qt
              https://bugs.webkit.org/show_bug.cgi?id=54109
      
              No code changes so no new tests.
      
              Revert the changes that were needed to use KURL
              in WebKitTestRunner.
      
              * Configurations/WebCore.xcconfig:
              * WebCore.exp.in:
      2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
      
              Reviewed by Adam Roben.
      
              [Qt][WK2]Unbreak InjectedBundle on Qt
              https://bugs.webkit.org/show_bug.cgi?id=54109
      
              Add API's to WKURL and WKString to satisfy
              WebKitTestRunner's needs.
      
              * Shared/API/c/WKString.cpp:
              (WKStringIsEqualToUTF8CStringIgnoringCase):
              * Shared/API/c/WKString.h:
              * Shared/API/c/WKURL.cpp:
              (WKURLCopyHostName):
              (WKURLCopyScheme):
              * Shared/API/c/WKURL.h:
              * Shared/WebString.h:
              (WebKit::WebString::equalToUTF8StringIgnoringCase):
              * Shared/WebURL.h: Added OwnPtr<KURL> member to be able
              to lazily parse the URL and store the result.
              (WebKit::WebURL::host):
              (WebKit::WebURL::protocol):
              (WebKit::WebURL::parseURLIfNecessary):
              * win/WebKit2.def: Revert the symbol exports that were
              needed to use KURL in WebKitTestRunner.
      2011-03-14  Balazs Kelemen  <kbalazs@webkit.org>
      
              Reviewed by Adam Roben.
      
              [Qt][WK2]Unbreak InjectedBundle on Qt
              https://bugs.webkit.org/show_bug.cgi?id=54109
      
              * WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
              (WTR::InjectedBundlePage::willSendRequestForFrame): Use new WebKit2
              API's instead of KURL to analyze the URL.
              * WebKitTestRunner/StringFunctions.h:
              (WTR::adoptWK): Moved from InjectedBundlePage.cpp to make it available globally
              in the WebKitTestRunner project.
              (WTR::toWK): Use adoptWK.
              (WTR::operator<<): Added helper for printing a WKURL.
              * WebKitTestRunner/WebKitTestRunner.xcodeproj/project.pbxproj: Do not link
              against WebCore.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81084 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38955ed6
    • levin@chromium.org's avatar
      It's the same old song (about the linux debug crash). · 87211842
      levin@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87211842
    • jeffm@apple.com's avatar
      2011-03-14 Jeff Miller <jeffm@apple.com> · d0610677
      jeffm@apple.com authored
              Reviewed by Adam Roben.
      
              Add WKViewSetScrollOffsetOnNextResize() to C API on Windows
              https://bugs.webkit.org/show_bug.cgi?id=56340
      
              * UIProcess/API/C/win/WKView.cpp:
              (WKViewSetScrollOffsetOnNextResize): Added.
              * UIProcess/API/C/win/WKView.h: Added WKViewSetScrollOffsetOnNextResize().
              * UIProcess/win/WebView.cpp:
              (WebKit::WebView::onSizeEvent): Apply any scroll offset when setting the drawing area size.
              (WebKit::WebView::setScrollOffsetOnNextResize): Added.
              * UIProcess/win/WebView.h: Added setScrollOffsetOnNextResize().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0610677
    • commit-queue@webkit.org's avatar
      2011-03-14 Viatcheslav Ostapenko <ostapenko.viatcheslav@nokia.com> · 881d286a
      commit-queue@webkit.org authored
              Reviewed by Laszlo Gombos.
      
              [Qt] Warning that round/roundf functions are already defined when compiled with RVCT 4 on symbian.
              https://bugs.webkit.org/show_bug.cgi?id=56133
      
              Add condition to not compile webkit internal math round functions on RVCT compiler versions
              from 3.0.0 because they are already defined in compiler math library.
      
              * wtf/MathExtras.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81081 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      881d286a
    • mrowe@apple.com's avatar
      Fix two memory leaks within LayoutTestController's storage support. · d6c1f9d2
      mrowe@apple.com authored
      Reviewed by Adam Roben.
      
      * DumpRenderTree/mac/LayoutTestControllerMac.mm:
      (LayoutTestController::originsWithLocalStorage): Don't leak the JSStringRef that is returned
      by JSStringCreateWithCFString.
      (LayoutTestController::deleteLocalStorageForOrigin): Don't leak the WebSecurityOrigin that we
      allocate.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81080 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6c1f9d2
    • barraclough@apple.com's avatar
      Bug 56284 - Add a dataflow intermediate representation for use in JIT generation. · 2302c04f
      barraclough@apple.com authored
      Reviewed by Geoffrey Garen & Oliver Hunt.
      
      The JSC JIT presently generates code directly from the bytecode used by the interpreter.
      This is not an optimal intermediate representation for JIT code generation, since it does
      not capture liveness information of values, and provides little opportunity to perform
      any static analysis for even primitive types. The JIT currently generates two code paths,
      a fast path handling common cases, and a slower path handling less common operand types.
      However the slow path jumps back into the fast path, meaning that information arising
      from the earlier type checks cannot be propagated to later operations.
      
      This patch adds:
          * a dataflow intermediate representation capable of describing a single basic block
            of operations,
          * a mechanism to convert a simple, single-block bytecode functions to the new IR,
          * and a JIT code generator capable of generating code from this representation.
      
      The JIT generates two code paths, with the slower path not reentering the fast path
      mid-block, allowing speculative optimizations to be made on the hot path, with type
      information arising from these speculative decisions able to be propagated through the
      dataflow. Code generation of both speculative and non-speculative paths exploits the type
      and liveness information represented in the dataflow graph to attempt to avoid redundant
      boxing and type-checking of values, and to remove unnecessary spills of temporary values
      to the RegisterFile.
      
      The dataflow JIT currently can only support a subset of bytecode operations, limited to
      arithmetic, bit-ops, and basic property access. Functions that cannot be compiled by the
      dataflow JIT will be run using the existing JIT. The coverage of the dataflow JIT will be
      expanded to include, control-flow, function calls, and then the long-tail of remaining
      bytecode instructions. The JIT presently only support JSVALUE64, and as a consequence of
      this only supports x86-64.
      
      The status of the dataflow JIT is currently work-in-progress. Limitations of the present
      JIT code generation may cause performance regressions, particularly:
          * the policy to only generate arithmetic code on the speculative path using integer
            instructions, never using floating point.
          * the policy to only generate arithmetic code on the non-speculative path using
            floating point instructions, never using integer.
          * always generating JSValue adds on the non-speculative path as a call out to a
            C-function, never handling this in JIT code.
          * always assuming by-Value property accesses on the speculative path to be array
            accesses.
          * generating all by-Value property accesses from the non-speculative path as a call
            out to a C-function.
          * generating all by-Indentifer property accesses as a call out to a C-function.
      Due to these regressions, the code is landed in a state where it is disabled in most
      cases by the ENABLE_DFG_JIT_RESTRICTIONS guard in Platform.h. As these regressions are
      addressed, the JIT will be allowed to trigger in more cases.
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
          - Added new files to Xcode project.
      * dfg: Added.
          - Added directory for new code.
      * dfg/DFGByteCodeParser.cpp: Added.
      * dfg/DFGByteCodeParser.h: Added.
          - Contruct a DFG::Graph representation from a bytecode CodeBlock.
      * dfg/DFGGenerationInfo.h: Added.
          - Track type & register information for VirtualRegisters during JIT code generation.
      * dfg/DFGGraph.cpp: Added.
      * dfg/DFGGraph.h: Added.
          - Dataflow graph intermediate representation for code generation.
      * dfg/DFGJITCodeGenerator.cpp: Added.
      * dfg/DFGJITCodeGenerator.h: Added.
          - Base class for SpeculativeJIT & NonSpeculativeJIT to share common functionality.
      * dfg/DFGJITCompiler.cpp: Added.
      * dfg/DFGJITCompiler.h: Added.
          - Class responsible for driving code generation of speculativeJIT & non-speculative
            code paths from the dataflow graph.
      * dfg/DFGNonSpeculativeJIT.cpp: Added.
      * dfg/DFGNonSpeculativeJIT.h: Added.
          - Used to generate the non-speculative code path, this make no assumptions
            about operand types.
      * dfg/DFGOperations.cpp: Added.
      * dfg/DFGOperations.h: Added.
          - Helper functions called from the JIT generated code.
      * dfg/DFGRegisterBank.h: Added.
          - Used to track contents of physical registers during JIT code generation.
      * dfg/DFGSpeculativeJIT.cpp: Added.
      * dfg/DFGSpeculativeJIT.h: Added.
          - Used to generate the speculative code path, this make assumptions about
            operand types to enable optimization.
      * runtime/Executable.cpp:
          - Add code to attempt to use the DFG JIT to compile a function, with fallback
            to the existing JIT.
      * wtf/Platform.h:
          - Added compile guards to enable the DFG JIT.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81079 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2302c04f
    • levin@chromium.org's avatar
      Add more linux debug crashers to the sad list. · 6e90ab69
      levin@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81078 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e90ab69
    • kbalazs@webkit.org's avatar
      2011-03-14 Balazs Kelemen <kbalazs@webkit.org> · ec69a494
      kbalazs@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              check-webkit-style falsely should not complain about WebKit2 API headers in the Shared directory
              https://bugs.webkit.org/show_bug.cgi?id=56321
      
              * Scripts/webkitpy/style/checker.py: Add the patch "Source/WebKit2/Shared/API/c"
              to the list of exceptions for WebKit2 C API headers.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81077 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec69a494
    • mrobinson@webkit.org's avatar
      2011-03-14 Martin Robinson <mrobinson@igalia.com> · b8dfaa95
      mrobinson@webkit.org authored
              Update GTK+ pixel results after r81053.
      
              * platform/gtk/editing/selection/drag-select-1-expected.checksum:
              * platform/gtk/editing/selection/drag-select-1-expected.png:
              * platform/gtk/editing/selection/fake-drag-expected.checksum: Added.
              * platform/gtk/editing/selection/fake-drag-expected.png: Added.
              * platform/gtk/editing/selection/inline-closest-leaf-child-expected.checksum: Added.
              * platform/gtk/editing/selection/inline-closest-leaf-child-expected.png: Added.
              * platform/gtk/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum:
              * platform/gtk/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
              * platform/gtk/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum:
              * platform/gtk/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81076 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8dfaa95
    • aroben@apple.com's avatar
      Show the list of recent leaky builds in reverse chronological order · 8a0ca27f
      aroben@apple.com authored
      Previously they were being shown in a deterministic but surprising order based on
      lexicographically sorting the build offsets (-1, -10, -2, -3...).
      
      Fixes <http://webkit.org/b/56342> Leaks Viewer shows recent builds in a strange order
      
      Reviewed by Darin Adler.
      
      * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js:
      (RecentBuildsLoader.prototype.start): Sort the builds by revision before passing them to our
      callback.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81075 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a0ca27f
    • psolanki@apple.com's avatar
      I checked in Intel-only version of these files in r80975. This fixes that by building all · a8d736e9
      psolanki@apple.com authored
      the correct slices - i386/x86_64/ppc for SnowLeopard and i386/x86_64/ppc/ppc64 for Leopard.
      
      Rubber-stamped by Mark Rowe.
      
      * libWebKitSystemInterfaceLeopard.a:
      * libWebKitSystemInterfaceSnowLeopard.a:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81074 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8d736e9
    • levin@chromium.org's avatar
      Upstream test expectations from the chromium repository to WebKit. · d61cca8e
      levin@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81073 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d61cca8e
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · 1de9ea46
      rniwa@webkit.org authored
              Mac pixel rebaselines for r81053.
      
              * platform/mac/editing/selection/drag-select-1-expected.checksum:
              * platform/mac/editing/selection/drag-select-1-expected.png:
              * platform/mac/editing/selection/fake-drag-expected.checksum:
              * platform/mac/editing/selection/fake-drag-expected.png:
              * platform/mac/fast/text/atsui-rtl-override-selection-expected.checksum:
              * platform/mac/fast/text/atsui-rtl-override-selection-expected.png:
              * platform/mac/svg/custom/mouse-move-on-svg-container-expected.checksum:
              * platform/mac/svg/custom/mouse-move-on-svg-container-expected.png:
              * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum:
              * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
              * platform/mac/svg/custom/mouse-move-on-svg-root-expected.checksum:
              * platform/mac/svg/custom/mouse-move-on-svg-root-expected.png:
              * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum:
              * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81072 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1de9ea46
    • ggaren@apple.com's avatar
      2011-03-14 Geoffrey Garen <ggaren@apple.com> · e74d2d0a
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Removed more cases of DeprecatedPtr (exception, SmallStrings)
              https://bugs.webkit.org/show_bug.cgi?id=56332
      
              * runtime/Identifier.cpp:
              (JSC::Identifier::add):
              (JSC::Identifier::addSlowCase): Use a variable instead of a hard-coded
              constant, to make this code less brittle.
      
              * runtime/JSGlobalData.h: Use HeapRoot instead of DeprecatedPtr because
              this reference is owned and managed directly by the heap.
      
              * runtime/JSString.cpp:
              (JSC::JSString::substringFromRope):
              * runtime/JSString.h:
              (JSC::jsSingleCharacterString):
              (JSC::jsSingleCharacterSubstring):
              (JSC::jsString):
              (JSC::jsStringWithFinalizer):
              (JSC::jsSubstring):
              (JSC::jsOwnedString): Use a variable instead of a hard-coded
              constant, to make this code less brittle.
      
              * runtime/SmallStrings.cpp:
              (JSC::SmallStringsStorage::rep):
              (JSC::SmallStringsStorage::SmallStringsStorage):
              (JSC::SmallStrings::SmallStrings):
              (JSC::SmallStrings::markChildren):
              (JSC::SmallStrings::clear):
              (JSC::SmallStrings::count): Use a variable instead of a hard-coded
              constant, to make this code less brittle.
      
              * runtime/SmallStrings.h:
              (JSC::SmallStrings::singleCharacterString): Use HeapRoot instead of
              DeprecatedPtr because these references are owned and managed directly by
              the heap.
              
              Stop using FixedArray because we only want a very limited set
              of classes to be able to use HeapRoot. (Replaced with manual ASSERTs.)
      
              * runtime/WriteBarrier.h:
              (JSC::operator==):
              (JSC::WriteBarrier::WriteBarrier):
              (JSC::HeapRoot::HeapRoot):
              (JSC::HeapRoot::operator=): Added HeapRoot, which is allowed to set
              without write barrier because we assume all HeapRoots are scanned during
              all GC passes.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81071 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e74d2d0a
    • levin@chromium.org's avatar
      Update the chromium windows baselines for r81053. · 8a471452
      levin@chromium.org authored
      * platform/chromium-win/editing/selection/drag-select-1-expected.checksum:
      * platform/chromium-win/editing/selection/drag-select-1-expected.png:
      * platform/chromium-win/editing/selection/drag-select-1-expected.txt:
      * platform/chromium-win/editing/selection/fake-drag-expected.txt:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-container-expected.checksum:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-container-expected.png:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-container-expected.txt:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.checksum:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.png:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-root-expected.txt:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
      * platform/chromium-win/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81070 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a471452
    • commit-queue@webkit.org's avatar
      2011-03-14 Jarkko Sakkinen <jarkko.j.sakkinen@gmail.com> · 357894af
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [Qt] Compilation fails with --3d-canvas
              https://bugs.webkit.org/show_bug.cgi?id=55964
      
              * WebCore.pro:
              * platform/graphics/qt/Extensions3DQt.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81069 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      357894af
    • aroben@apple.com's avatar
      Show a list of up to 10 recent leaky builds when Leaks Viewer loads · 881bd569
      aroben@apple.com authored
      Fixes <http://webkit.org/b/56043> Leaks Viewer should present a list of recent builds to
      analyze
      
      Reviewed by David Kilzer and Joe Pecoraro.
      
      * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.css:
      (#url-prompt): Made this a bit taller to make room for the list of builds.
      
      (#recent-builds-loading-indicator):
      (#recent-builds-list):
      Added styles for the build list and loading indicator.
      
      * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/LeaksViewer.js:
      (LeaksViewer.loaded): Pass the URL from the query through decodeURIComponent before loading
      it. This will unescape it.
      (LeaksViewer.urlPromptButtonClicked): Moved code from here to _urlChosenFromPrompt.
      (LeaksViewer._didLoadRecentBuilds): Added. Stores the builds and updates the prompt.
      (LeaksViewer._displayURLPrompt): Start loading the recent leaky builds.
      (LeaksViewer._updateURLPrompt): Create a list of the recent leaky builds and add them to the
      prompt UI.
      (LeaksViewer._urlChosenFromPrompt): Added. Code came from urlPromptButtonClicked. This is
      now also used when a recent build is clicked.
      
      * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/RecentBuildsLoader.js: Added.
      (RecentBuildsLoader): Store the callback.
      (RecentBuildsLoader.prototype.start): Load the N most recent builds from the specified
      builder. Find the revision number, leak count, and results URL for each one. Pass the
      resulting info to our callback.
      
      * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/Utilities.js:
      (range): Added this helper function to return an array containing the integers [0, n).
      
      * BuildSlaveSupport/build.webkit.org-config/public_html/LeaksViewer/index.html: Added
      RecentBuildsLoader.js and added text to the prompt UI to show the recent builds.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      881bd569
    • rniwa@webkit.org's avatar
      Fixed typo in the change log entry for r81066. · d866f720
      rniwa@webkit.org authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81067 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d866f720
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · c7aba117
      rniwa@webkit.org authored
              GTK rebaselines or r81053.
      
              * platform/gtk/editing/selection/drag-select-1-expected.txt:
              * platform/gtk/editing/selection/fake-drag-expected.txt:
              * platform/gtk/editing/selection/inline-closest-leaf-child-expected.txt:
              * platform/gtk/svg/custom/mouse-move-on-svg-container-expected.txt:
              * platform/gtk/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
              * platform/gtk/svg/custom/mouse-move-on-svg-root-expected.txt:
              * platform/gtk/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81066 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7aba117
    • bweinstein@apple.com's avatar
      FileSystemWin.cpp needs listDirectory() implementation · 2093aad2
      bweinstein@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=56331
      <rdar://problem/9126635>
              
      Reviewed by Adam Roben and Gavin Barraclough.
      
      Source/JavaScriptCore: 
      
      Give StringConcatenate the ability to deal with const UChar*'s as a String type to append.
      
      * wtf/text/StringConcatenate.h:
      
      Source/WebCore: 
      
      Move PathWalker from an inline class in WebKit2 to its own class in WebCore,
      so it can be used from both WebCore and WebKit2.
              
      Implement FileSystemWin::listDirectory using PathWalker to populate the Vector
      of paths matching the passed in pattern.
      
      * WebCore.vcproj/WebCore.vcproj:
      * platform/win/FileSystemWin.cpp:
      (WebCore::listDirectory): Call through to PathWalker.
      * platform/win/PathWalker.cpp: Added.
      (WebCore::PathWalker::PathWalker): Moved from WebKit2. Added a second argument
          for the pattern to pass to the Windows File APIs.
      (WebCore::PathWalker::~PathWalker): Moved from WebKit2.
      (WebCore::PathWalker::isValid): Ditto.
      (WebCore::PathWalker::data): Ditto.
      (WebCore::PathWalker::step): Ditto.
      * platform/win/PathWalker.h: Added.
      
      Source/WebKit2: 
      
      Move PathWalker down into WebCore, and call the PathWalker in WebCore
      (that now has a second argument, the pattern to take).
      
      * UIProcess/Plugins/win/PluginInfoStoreWin.cpp:
      (WebKit::PluginInfoStore::pluginPathsInDirectory):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81065 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2093aad2
    • levin@chromium.org's avatar
      Add rebaselines due to two changes: · b73df83e
      levin@chromium.org authored
      For r81053, we have
         editing/selection/drag-select-1.html, editing/selection/fake-drag.html, svg/custom/mouse-move-on-svg-container-standalone.svg,
         svg/custom/mouse-move-on-svg-container.xhtml, svg/custom/mouse-move-on-svg-root-standalone.svg, svg/custom/mouse-move-on-svg-root.xhtml
      
      For r81049, we have
         fast/table/overflowHidden.html, fast/table/relative-position-containment.html, fast/table/relative-position-offsets.html, fast/table/relative-position-stacking.html
      
      * platform/chromium-linux/editing/selection/drag-select-1-expected.checksum:
      * platform/chromium-linux/editing/selection/drag-select-1-expected.png:
      * platform/chromium-linux/editing/selection/drag-select-1-expected.txt: Added.
      * platform/chromium-linux/editing/selection/fake-drag-expected.txt: Added.
      * platform/chromium-linux/fast/table/relative-position-containment-expected.checksum: Added.
      * platform/chromium-linux/fast/table/relative-position-containment-expected.png: Added.
      * platform/chromium-linux/fast/table/relative-position-offsets-expected.checksum: Added.
      * platform/chromium-linux/fast/table/relative-position-offsets-expected.png: Added.
      * platform/chromium-linux/fast/table/relative-position-stacking-expected.checksum: Added.
      * platform/chromium-linux/fast/table/relative-position-stacking-expected.png: Added.
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-container-expected.checksum:
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-container-expected.png:
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-container-expected.txt: Added.
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-container-standalone-expected.checksum:
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-container-standalone-expected.png:
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Added.
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-expected.checksum:
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-expected.png:
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-expected.txt: Added.
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-standalone-expected.checksum:
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-standalone-expected.png:
      * platform/chromium-linux/svg/custom/mouse-move-on-svg-root-standalone-expected.txt: Added.
      * platform/chromium-win/fast/table/overflowHidden-expected.txt:
      * platform/chromium-win/fast/table/relative-position-containment-expected.checksum: Added.
      * platform/chromium-win/fast/table/relative-position-containment-expected.png: Added.
      * platform/chromium-win/fast/table/relative-position-containment-expected.txt: Added.
      * platform/chromium-win/fast/table/relative-position-offsets-expected.checksum: Added.
      * platform/chromium-win/fast/table/relative-position-offsets-expected.png: Added.
      * platform/chromium-win/fast/table/relative-position-offsets-expected.txt: Added.
      * platform/chromium-win/fast/table/relative-position-stacking-expected.checksum: Added.
      * platform/chromium-win/fast/table/relative-position-stacking-expected.png: Added.
      * platform/chromium-win/fast/table/relative-position-stacking-expected.txt: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81064 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b73df83e
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · 89647c8f
      rniwa@webkit.org authored
              Removed redundant baselines from Windows port so that rebaselines done in r81059 take effect.
      
              * platform/win/svg/custom/mouse-move-on-svg-container-expected.txt: Removed.
              * platform/win/svg/custom/mouse-move-on-svg-container-standalone-expected.txt: Removed.
              * platform/win/svg/custom/mouse-move-on-svg-root-expected.txt: Removed.
              * platform/win/svg/custom/mouse-move-on-svg-root-standalone-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81063 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89647c8f
    • luiz@webkit.org's avatar
      Adjusting Snow Leopard expected results after r81035. · accda4d1
      luiz@webkit.org authored
      * platform/mac/fast/html/details-add-summary-1-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-1-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-10-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-10-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-2-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-2-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-3-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-3-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-4-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-4-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-5-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-5-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-6-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-6-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-7-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-7-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-8-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-8-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-9-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-add-summary-9-expected.txt: Added.
      * platform/mac/fast/html/details-no-summary1-expected.txt: Added.
      * platform/mac/fast/html/details-no-summary2-expected.txt: Added.
      * platform/mac/fast/html/details-no-summary3-expected.txt: Added.
      * platform/mac/fast/html/details-no-summary4-expected.txt: Added.
      * platform/mac/fast/html/details-open-javascript-expected.txt: Added.
      * platform/mac/fast/html/details-open1-expected.txt: Added.
      * platform/mac/fast/html/details-open2-expected.txt: Added.
      * platform/mac/fast/html/details-open3-expected.txt: Added.
      * platform/mac/fast/html/details-open4-expected.txt: Added.
      * platform/mac/fast/html/details-open5-expected.txt: Added.
      * platform/mac/fast/html/details-open6-expected.txt: Added.
      * platform/mac/fast/html/details-position-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-1-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-1-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-2-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-2-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-3-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-3-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-4-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-4-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-5-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-5-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-6-and-click-expected.txt: Added.
      * platform/mac/fast/html/details-remove-summary-6-expected.txt: Added.
      * platform/mac/fast/html/details-writing-mode-expected.txt: Added.
      * platform/mac/fast/multicol/span/clone-anonymous-block-non-inline-child-crash-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81062 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      accda4d1
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · 55e11c9c
      rniwa@webkit.org authored
              Qt rebaselines for r81053.
      
              * platform/qt/editing/selection/drag-select-1-expected.txt:
              * platform/qt/svg/custom/mouse-move-on-svg-container-expected.txt:
              * platform/qt/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
              * platform/qt/svg/custom/mouse-move-on-svg-root-expected.txt:
              * platform/qt/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81061 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55e11c9c
    • beidson@apple.com's avatar
      Try to fix the EFL build-bustage that their EWS bot did not see, but their... · 3e4985b4
      beidson@apple.com authored
      Try to fix the EFL build-bustage that their EWS bot did not see, but their core-builder did.  (sigh)
      
      * ewk/ewk_history.cpp:
      (ewk_history_item_icon_surface_get):
      (ewk_history_item_icon_object_add):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81060 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3e4985b4
    • rniwa@webkit.org's avatar
      2011-03-14 Ryosuke Niwa <rniwa@webkit.org> · 812789cb
      rniwa@webkit.org authored
              Mac rebaselines for r81053.
      
              * platform/mac/fast/text/atsui-rtl-override-selection-expected.txt:
              * platform/mac/svg/custom/mouse-move-on-svg-container-expected.txt:
              * platform/mac/svg/custom/mouse-move-on-svg-container-standalone-expected.txt:
              * platform/mac/svg/custom/mouse-move-on-svg-root-expected.txt:
              * platform/mac/svg/custom/mouse-move-on-svg-root-standalone-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81059 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      812789cb
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=56320 · d894a733
      beidson@apple.com authored
      Remove HistoryItem::icon() and the WebCore dependency on "IconDatabaseBase::defaultIcon()"
      
      Reviewed by Anders Carlsson.
      
      ../WebCore: 
      
      Remove HistoryItem::icon():
      * history/HistoryItem.cpp:
      * history/HistoryItem.h:
      * WebCore.exp.in:
      
      * loader/icon/IconDatabaseBase.h:
      (WebCore::IconDatabaseBase::defaultIcon):
      
      ../WebKit/efl: 
      
      * ewk/ewk_history.cpp:
      (ewk_history_item_icon_surface_get): Use IconDatabase directly.
      
      ../WebKit/mac: 
      
      * History/WebHistoryItem.mm:
      (-[WebHistoryItem icon]): This far-future FIXME is now irrelevant.
      
      ../WebKit/qt: 
      
      * Api/qwebhistory.cpp:
      (QWebHistoryItem::icon): Use IconDatabase directly.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81058 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d894a733
    • aestes@apple.com's avatar
      2011-03-13 Andy Estes <aestes@apple.com> · 6e4d5b2f
      aestes@apple.com authored
              Reviewed by Darin Adler.
      
              Timer-based events should inherit the user gesture state of their
              originating event in certain cases.
              https://bugs.webkit.org/show_bug.cgi?id=55104
      
              * fast/events/popup-blocking-timers-expected.txt: Added.
              * fast/events/popup-blocking-timers.html: Added.
      2011-03-14  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              Timer-based events should inherit the user gesture state of their
              originating event in certain cases.
              https://bugs.webkit.org/show_bug.cgi?id=55104
      
              If a timer is installed by a gesture-originated event and will fire
              within one second, the timer-initiated event should behave as if it
              were also initiated by a user gesture. Multi-shot timers should only
              get this behavior on their first execution. Nested timers should not
              get this behavior. This makes us compatible with Gecko when handling
              popups and file chooser dialogs created from timer events.
      
              Test: fast/events/popup-blocking-timers.html
      
              * page/DOMTimer.cpp:
              (WebCore::timeoutId): Create a helper function so that m_timeoutId can
              be initialized in the data member initialization list.
              (WebCore::shouldForwardUserGesture): Ditto, but for
              m_shouldForwardUserGesture.
              (WebCore::DOMTimer::DOMTimer): Move initialization of data members from
              the ctor body to the data member initialization list. Also rename the
              argument 'timeout' to 'interval'.
              (WebCore::DOMTimer::fired): Create a UserGestureIndicator and set its
              state based on the value of m_shouldForwardUserGesture.
              (WebCore::DOMTimer::adjustMinimumTimerInterval): m_originalTimeout was
              renamed to m_originalInterval.
              * page/DOMTimer.h: Add m_shouldForwardUserGesture and rename
              m_originalTimeout to m_originalInterval.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81057 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e4d5b2f
    • leviw@chromium.org's avatar
      2011-03-09 Levi Weintraub <leviw@chromium.org> · 688f641f
      leviw@chromium.org authored
              Reviewed by Ryosuke Niwa.
      
              Deleting content directly following a button inserts an unnecessary placeholder
              https://bugs.webkit.org/show_bug.cgi?id=56053
      
              Test to ensure unnecessary placeholders aren't inserted after buttons when delete is pressed.
      
              * editing/deleting/delete-inserts-br-after-button-expected.txt: Added.
              * editing/deleting/delete-inserts-br-after-button.html: Added.
      2011-03-09  Levi Weintraub  <leviw@chromium.org>
      
              Reviewed by Ryosuke Niwa.
      
              Deleting content directly following a button inserts an unnecessary placeholder
              https://bugs.webkit.org/show_bug.cgi?id=56053
      
              Fixing a use of Node's enclosingBlockFlowElement with enclosingBlock htmlediting's
              enclosingBlock, as enclosingBlockFlowElement would return inline-block elements despite
              DeleteSelectionCommand treating them as blockflow.
      
              Test: editing/deleting/delete-inserts-br-after-button.html
      
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::mergeParagraphs):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@81056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      688f641f