1. 06 Apr, 2011 13 commits
    • ggaren@apple.com's avatar
      Try to fix the Windows build. · 81bf2128
      ggaren@apple.com authored
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def: Who likes export files? I do!
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83012 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      81bf2128
    • ggaren@apple.com's avatar
      2011-04-05 Geoffrey Garen <ggaren@apple.com> · 5f16f890
      ggaren@apple.com authored
              Reviewed by Oliver Hunt.
      
              Introduced the concept of opaque roots, in preparation for marking the DOM with them
              https://bugs.webkit.org/show_bug.cgi?id=57903
      
              * JavaScriptCore.exp: Who likes export files? I do!
      
              * collector/handles/HandleHeap.cpp:
              (JSC::isValidWeakHandle): Factored out a helper function for ASSERTs.
      
              (JSC::WeakHandleOwner::~WeakHandleOwner): Moved from header to avoid
              weak linkage problems.
      
              (JSC::WeakHandleOwner::isReachableFromOpaqueRoots): New callback.
              Currently unused.
      
              (JSC::WeakHandleOwner::finalize): Switched from pure virtual to a
              default empty implementation, since not all clients necessarily want
              or need non-trivial finalizers.
      
              (JSC::HandleHeap::markWeakHandles): Split updateWeakHandles into two
              passes. The first pass marks all reachable weak handles. The second pass
              finalizes all unreachable weak handles. This must be two passes because
              we don't know the set of finalizable weak handles until we're done
              marking all weak handles.
      
              (JSC::HandleHeap::finalizeWeakHandles): Use new helper function.
      
              * collector/handles/HandleHeap.h: Ditto.
      
              * runtime/Heap.cpp: 
              (JSC::Heap::destroy):
              (JSC::Heap::markRoots):
              (JSC::Heap::reset): Split out handle marking from handle finalization.
      
              * runtime/MarkStack.cpp:
              (JSC::MarkStack::reset):
              * runtime/MarkStack.h:
              (JSC::MarkStack::addOpaqueRoot):
              (JSC::MarkStack::containsOpaqueRoot):
              (JSC::MarkStack::opaqueRootCount):
              (JSC::HeapRootMarker::markStack): New helper functions for managing the
              set of opaque roots.
      
              * runtime/WeakGCMap.h:
              (JSC::WeakGCMap::finalize): Renamed to match parent class declaration.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83011 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5f16f890
    • commit-queue@webkit.org's avatar
      2011-04-05 Chang Shu <cshu@webkit.org> · d51c24cf
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              WebKitTestRunner needs layoutTestController.numberOfPages
              https://bugs.webkit.org/show_bug.cgi?id=42694
      
              Unskip passed tests.
      
              * platform/mac-wk2/Skipped:
              * platform/qt-wk2/Skipped:
      2011-04-05  Chang Shu  <cshu@webkit.org>
      
              Reviewed by Darin Adler.
      
              WebKitTestRunner needs layoutTestController.numberOfPages
              https://bugs.webkit.org/show_bug.cgi?id=42694
      
              * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
              (WKBundleNumberOfPages):
              * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
              * WebProcess/InjectedBundle/InjectedBundle.cpp:
              (WebKit::InjectedBundle::numberOfPages):
              * WebProcess/InjectedBundle/InjectedBundle.h:
      2011-04-05  Chang Shu  <cshu@webkit.org>
      
              Reviewed by Darin Adler.
      
              WebKitTestRunner needs layoutTestController.numberOfPages
              https://bugs.webkit.org/show_bug.cgi?id=42694
      
              * WebKitTestRunner/InjectedBundle/Bindings/LayoutTestController.idl:
              * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
              (WTR::LayoutTestController::numberOfPages):
              * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83010 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d51c24cf
    • tony@chromium.org's avatar
      2011-04-05 Tony Chang <tony@chromium.org> · 5c55b029
      tony@chromium.org authored
              Reviewed by Mihai Parparita.
      
              [chromium] stop putting results downloaded from WebKit Linux in chromium-linux-x86_64
              https://bugs.webkit.org/show_bug.cgi?id=57889
      
              * Scripts/webkitpy/layout_tests/port/chromium.py:
              * Scripts/webkitpy/layout_tests/port/test.py:
              * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83009 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      5c55b029
    • koz@chromium.org's avatar
      2011-04-05 James Kozianski <koz@chromium.org> · d3c5e511
      koz@chromium.org authored
              Unreviewed, rolling out r82976.
              http://trac.webkit.org/changeset/82976
              https://bugs.webkit.org/show_bug.cgi?id=57566
      
              Breaks chromium canary build
      
              * public/WebContextMenuData.h:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83008 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d3c5e511
    • aa@chromium.org's avatar
      2011-04-05 Aaron Boodman <aa@chromium.org> · afe1a67b
      aa@chromium.org authored
              Reviewed by Adam Barth.
      
              Add ability to get frame from v8 context to chromium WebKit API
              https://bugs.webkit.org/show_bug.cgi?id=57516
      
              * public/WebFrame.h:
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrame::frameForV8Context):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83007 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      afe1a67b
    • darin@apple.com's avatar
      Try to fix Leopard bots. · 57336756
      darin@apple.com authored
      * platform/mac/HTMLConverter.mm: Fix #if back the way Alexey seems
      to have intended it.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83006 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      57336756
    • darin@apple.com's avatar
      Try to fix Leopard bots. · e899ae60
      darin@apple.com authored
      * platform/mac/HTMLConverter.mm: Move declarations of new functions
      inside the appropriate #if.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83005 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e899ae60
    • darin@apple.com's avatar
      2011-04-05 Darin Adler <darin@apple.com> · c75cc201
      darin@apple.com authored
              Reviewed by Alexey Proskuryakov.
      
              [Mac] WebKit2: Escape key does not stop page loads when focus is on the web page
              https://bugs.webkit.org/show_bug.cgi?id=57893
              <rdar://problem/9130486>
      
              * UIProcess/API/mac/PageClientImpl.h: Added executeSavedCommandBySelector.
              * UIProcess/API/mac/PageClientImpl.mm: Renamed internal Objective-C classes to use
              the WebKit2 Objective-C class prefix, WK, rather than the WebKit1 Objective-C class
              prefix, Web. Removed some unneeded explicit WebKit namespace prefixes.
              (-[WKEditCommandObjC initWithWebEditCommandProxy:]): Removed unneeded WebKit
              namespace prefix.
              (-[WKEditCommandObjC command]): Ditto.
              (-[WKEditorUndoTargetObjC undoEditing:]): Updated for new class name.
              (-[WKEditorUndoTargetObjC redoEditing:]): Ditto.
              (WebKit::PageClientImpl::PageClientImpl): Ditto.
              (WebKit::PageClientImpl::registerEditCommand): Ditto.
              (WebKit::PageClientImpl::executeSavedCommandBySelector): Added.
      
              * UIProcess/API/mac/WKView.mm: Renamed internal Objective-C categories to use the
              WebKit2 Objective-C prefix, WK, rather than the WebKit1 Objective-C prefix, Web,
              or no prefix at all. Tweaked use of extern "C" a little.
              (-[WKView doCommandBySelector:]): Tweaked the comment.
              (-[WKView _executeSavedCommandBySelector:]): Added. For use when command is not handled
              by WebCore.
              (-[WKResponderChainSink initWithResponderChain:]): Added. Based on the
              WebResponderChainSink class in WebKit1.
              (-[WKResponderChainSink detach]): Added.
              (-[WKResponderChainSink didReceiveUnhandledCommand]): Added.
              (-[WKResponderChainSink noResponderFor:]): Added.
              (-[WKResponderChainSink doCommandBySelector:]): Added.
              (-[WKResponderChainSink tryToPerform:with:]): Added.
      
              * UIProcess/API/mac/WKViewInternal.h: Added declaration of _executeSavedCommandBySelector:
              method. Also removed unneeded includes.
      
              * UIProcess/PageClient.h: Added executeSavedCommandBySelector.
              * UIProcess/WebPageProxy.h: Added executeSavedCommandBySelector.
              * UIProcess/WebPageProxy.messages.in: Added ExecuteSavedCommandBySelector.
      
              * UIProcess/mac/WebFullScreenManagerProxyMac.mm: Updated includes.
      
              * UIProcess/mac/WebPageProxyMac.mm:
              (WebKit::WebPageProxy::executeSavedCommandBySelector): Added.
      
              * WebProcess/WebPage/mac/WebPageMac.mm:
              (WebKit::WebPage::executeKeypressCommandsInternal): Send the synchronous
              ExecuteSavedCommandBySelector message when a command is not handled by WebCore.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83004 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c75cc201
    • enne@google.com's avatar
      2011-04-05 Adrienne Walker <enne@google.com> · 07b7cd32
      enne@google.com authored
             Unreviewed, temporarily mark two tests as more generally failing.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83003 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      07b7cd32
    • enne@google.com's avatar
      2011-04-05 Adrienne Walker <enne@google.com> · 9eaa36b6
      enne@google.com authored
              Reviewed by Tony Chang.
      
              Correctly set color when using skia's fillRoundedRect.
              https://bugs.webkit.org/show_bug.cgi?id=57907
      
              * platform/graphics/skia/GraphicsContextSkia.cpp:
              (WebCore::GraphicsContext::fillRoundedRect):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83002 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9eaa36b6
    • abarth@webkit.org's avatar
      2011-04-05 Adam Barth <abarth@webkit.org> · 515cc7f0
      abarth@webkit.org authored
              Silly with statement, from the future!
      
              * Scripts/webkitpy/common/system/executive.py:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83001 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      515cc7f0
    • ap@apple.com's avatar
      Reviewed by Darin Adler. · 85bccafb
      ap@apple.com authored
              Move attributedStringFromRange down to WebCore
              https://bugs.webkit.org/show_bug.cgi?id=57905
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@83000 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      85bccafb
  2. 05 Apr, 2011 27 commits