1. 12 Mar, 2011 30 commits
    • commit-queue@webkit.org's avatar
      2011-03-11 Anton D'Auria <adauria@apple.com> · 9a09687f
      commit-queue@webkit.org authored
              Reviewed by Brady Eidson.
      
              Adding StorageTracker tests to skip lists of platforms that don't support it.
              https://bugs.webkit.org/show_bug.cgi?id=51878
      
              * platform/gtk/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9a09687f
    • jer.noble@apple.com's avatar
      2011-03-11 Jer Noble <jer.noble@apple.com> · b081236a
      jer.noble@apple.com authored
              Reviewed by Anders Carlsson.
      
              WebCore::Document should notify ChromeClient when the full screen renderer's backing changes.
              https://bugs.webkit.org/show_bug.cgi?id=56226
      
              * dom/Document.cpp:
              (WebCore::Document::webkitWillEnterFullScreenForElement): Call setRootFullScreenLayer().
              (WebCore::Document::webkitDidEnterFullScreenForElement): Ditto.
              (WebCore::Document::webkitWillExitFullScreenForElement): Ditto.
              (WebCore::Document::webkitDidExitFullScreenForElement): Ditto.
              (WebCore::Document::setFullScreenRendererSize): Layout after setting the renderer's size.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b081236a
    • jer.noble@apple.com's avatar
      2011-03-11 Jer Noble <jer.noble@apple.com> · 169ed869
      jer.noble@apple.com authored
              Reviewed by Anders Carlsson.
      
              Add full screen animation code to WebFullScreenManager.
              https://bugs.webkit.org/show_bug.cgi?id=56220
      
              * WebProcess/FullScreen/WebFullScreenManager.cpp: .
              (WebKit::WebFullScreenManager::~WebFullScreenManager): Added.
              (WebKit::WebFullScreenManager::exitFullScreenForElement): Remove ASSERTs.
              (WebKit::WebFullScreenManager::willEnterFullScreen): Set the full screen renderer's background color.
              (WebKit::WebFullScreenManager::didEnterFullScreen): Ditto.
              (WebKit::WebFullScreenManager::willExitFullScreen): Ditto.
              (WebKit::WebFullScreenManager::didExitFullScreen): Ditto.
              * WebProcess/FullScreen/WebFullScreenManager.h: Make a few functions pure virtual to be implemented in a
                  concrete subclass.
              * WebProcess/FullScreen/mac/WebFullScreenManagerMac.h: Added.
              * WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm: Added.
              (-[WebFullScreenManagerAnimationListener initWithManager:WebKit::began:finished:]): Listener for CAAnimations.
              (-[WebFullScreenManagerAnimationListener animationDidStart:]): Added.
              (-[WebFullScreenManagerAnimationListener animationDidStop:finished:]): Added.
              (-[WebFullScreenManagerAnimationListener invalidate]): Added.
              (WebKit::WebFullScreenManager::create): Now creates a WebFullScreenManagerMac.
              (WebKit::WebFullScreenManagerMac::create): Added.
              (WebKit::WebFullScreenManagerMac::WebFullScreenManagerMac): Added.
              (WebKit::WebFullScreenManagerMac::~WebFullScreenManagerMac): Added.
              (WebKit::WebFullScreenManagerMac::setRootFullScreenLayer): Set up the remote layer host.
              (WebKit::WebFullScreenManagerMac::beginEnterFullScreenAnimation): Create a CATransform3D
                  which will animate the full screen renderer from its initial position to its final one.
              (WebKit::WebFullScreenManagerMac::beginExitFullScreenAnimation): Ditto.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      169ed869
    • jer.noble@apple.com's avatar
      2011-03-11 Jer Noble <jer.noble@apple.com> · 48762dae
      jer.noble@apple.com authored
              Reviewed by Anders Carlsson.
      
              Add full screen animation code to WebFullScreenManager.
              https://bugs.webkit.org/show_bug.cgi?id=56220
      
              * WebProcess/FullScreen/WebFullScreenManager.cpp: .
              (WebKit::WebFullScreenManager::~WebFullScreenManager): Added.
              (WebKit::WebFullScreenManager::exitFullScreenForElement): Remove ASSERTs.
              (WebKit::WebFullScreenManager::willEnterFullScreen): Set the full screen renderer's background color.
              (WebKit::WebFullScreenManager::didEnterFullScreen): Ditto.
              (WebKit::WebFullScreenManager::willExitFullScreen): Ditto.
              (WebKit::WebFullScreenManager::didExitFullScreen): Ditto.
              * WebProcess/FullScreen/WebFullScreenManager.h: Make a few functions pure virtual to be implemented in a
                  concrete subclass.
              * WebProcess/FullScreen/mac/WebFullScreenManagerMac.h: Added.
              * WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm: Added.
              (-[WebFullScreenManagerAnimationListener initWithManager:WebKit::began:finished:]): Listener for CAAnimations.
              (-[WebFullScreenManagerAnimationListener animationDidStart:]): Added.
              (-[WebFullScreenManagerAnimationListener animationDidStop:finished:]): Added.
              (-[WebFullScreenManagerAnimationListener invalidate]): Added.
              (WebKit::WebFullScreenManager::create): Now creates a WebFullScreenManagerMac.
              (WebKit::WebFullScreenManagerMac::create): Added.
              (WebKit::WebFullScreenManagerMac::WebFullScreenManagerMac): Added.
              (WebKit::WebFullScreenManagerMac::~WebFullScreenManagerMac): Added.
              (WebKit::WebFullScreenManagerMac::setRootFullScreenLayer): Set up the remote layer host.
              (WebKit::WebFullScreenManagerMac::beginEnterFullScreenAnimation): Create a CATransform3D
                  which will animate the full screen renderer from its initial position to its final one.
              (WebKit::WebFullScreenManagerMac::beginExitFullScreenAnimation): Ditto.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      48762dae
    • jer.noble@apple.com's avatar
      2011-03-11 Jer Noble <jer.noble@apple.com> · 42df3182
      jer.noble@apple.com authored
              Reviewed by Anders Carlsson.
      
              Add full screen animation code to WebFullScreenManager.
              https://bugs.webkit.org/show_bug.cgi?id=56220
      
              * WebProcess/FullScreen/WebFullScreenManager.cpp: .
              (WebKit::WebFullScreenManager::~WebFullScreenManager): Added.
              (WebKit::WebFullScreenManager::exitFullScreenForElement): Remove ASSERTs.
              (WebKit::WebFullScreenManager::willEnterFullScreen): Set the full screen renderer's background color.
              (WebKit::WebFullScreenManager::didEnterFullScreen): Ditto.
              (WebKit::WebFullScreenManager::willExitFullScreen): Ditto.
              (WebKit::WebFullScreenManager::didExitFullScreen): Ditto.
              * WebProcess/FullScreen/WebFullScreenManager.h: Make a few functions pure virtual to be implemented in a
                  concrete subclass.
              * WebProcess/FullScreen/mac/WebFullScreenManagerMac.h: Added.
              * WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm: Added.
              (-[WebFullScreenManagerAnimationListener initWithManager:WebKit::began:finished:]): Listener for CAAnimations.
              (-[WebFullScreenManagerAnimationListener animationDidStart:]): Added.
              (-[WebFullScreenManagerAnimationListener animationDidStop:finished:]): Added.
              (-[WebFullScreenManagerAnimationListener invalidate]): Added.
              (WebKit::WebFullScreenManager::create): Now creates a WebFullScreenManagerMac.
              (WebKit::WebFullScreenManagerMac::create): Added.
              (WebKit::WebFullScreenManagerMac::WebFullScreenManagerMac): Added.
              (WebKit::WebFullScreenManagerMac::~WebFullScreenManagerMac): Added.
              (WebKit::WebFullScreenManagerMac::setRootFullScreenLayer): Set up the remote layer host.
              (WebKit::WebFullScreenManagerMac::beginEnterFullScreenAnimation): Create a CATransform3D
                  which will animate the full screen renderer from its initial position to its final one.
              (WebKit::WebFullScreenManagerMac::beginExitFullScreenAnimation): Ditto.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      42df3182
    • jer.noble@apple.com's avatar
      2011-03-11 Jer Noble <jer.noble@apple.com> · 15c749a0
      jer.noble@apple.com authored
              Reviewed by Anders Carlsson.
      
              WebCore::Document should notify ChromeClient when the full screen renderer's backing changes.
              https://bugs.webkit.org/show_bug.cgi?id=56226
      
              * dom/Document.cpp:
              (WebCore::Document::webkitWillEnterFullScreenForElement): Call setRootFullScreenLayer().
              (WebCore::Document::webkitDidEnterFullScreenForElement): Ditto.
              (WebCore::Document::webkitWillExitFullScreenForElement): Ditto.
              (WebCore::Document::webkitDidExitFullScreenForElement): Ditto.
              (WebCore::Document::setFullScreenRendererSize): Layout after setting the renderer's size.
      2011-03-11  Jer Noble  <jer.noble@apple.com>
      
              Reviewed by Anders Carlsson.
      
              Add full screen animation code to WebFullScreenManager.
              https://bugs.webkit.org/show_bug.cgi?id=56220
      
              * WebProcess/FullScreen/WebFullScreenManager.cpp: .
              (WebKit::WebFullScreenManager::~WebFullScreenManager): Added.
              (WebKit::WebFullScreenManager::exitFullScreenForElement): Remove ASSERTs.
              (WebKit::WebFullScreenManager::willEnterFullScreen): Set the full screen renderer's background color.
              (WebKit::WebFullScreenManager::didEnterFullScreen): Ditto.
              (WebKit::WebFullScreenManager::willExitFullScreen): Ditto.
              (WebKit::WebFullScreenManager::didExitFullScreen): Ditto.
              * WebProcess/FullScreen/WebFullScreenManager.h: Make a few functions pure virtual to be implemented in a
                  concrete subclass.
              * WebProcess/FullScreen/mac/WebFullScreenManagerMac.h: Added.
              * WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm: Added.
              (-[WebFullScreenManagerAnimationListener initWithManager:WebKit::began:finished:]): Listener for CAAnimations.
              (-[WebFullScreenManagerAnimationListener animationDidStart:]): Added.
              (-[WebFullScreenManagerAnimationListener animationDidStop:finished:]): Added.
              (-[WebFullScreenManagerAnimationListener invalidate]): Added.
              (WebKit::WebFullScreenManager::create): Now creates a WebFullScreenManagerMac.
              (WebKit::WebFullScreenManagerMac::create): Added.
              (WebKit::WebFullScreenManagerMac::WebFullScreenManagerMac): Added.
              (WebKit::WebFullScreenManagerMac::~WebFullScreenManagerMac): Added.
              (WebKit::WebFullScreenManagerMac::setRootFullScreenLayer): Set up the remote layer host.
              (WebKit::WebFullScreenManagerMac::beginEnterFullScreenAnimation): Create a CATransform3D
                  which will animate the full screen renderer from its initial position to its final one.
              (WebKit::WebFullScreenManagerMac::beginExitFullScreenAnimation): Ditto.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      15c749a0
    • alice.liu@apple.com's avatar
      Support encoding /decoding WebData in usermessages · a5d01157
      alice.liu@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=56158
      
      Reviewed by Sam Weinig.
      
      Added encoding/decoding for APIObject::TypeData
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      (WebKit::UserMessageDecoder::baseDecode):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80921 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a5d01157
    • alice.liu@apple.com's avatar
      Add api for "remove" to WKMutableDictionary · 20eb50ca
      alice.liu@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=56157
      
      Reviewed by Sam Weinig.
      
      * Shared/API/c/WKMutableDictionary.cpp:
      (WKDictionaryRemoveItem): Added; call remove on MutableDictionary impl.
      * Shared/API/c/WKMutableDictionary.h:
      * Shared/MutableDictionary.cpp:
      (WebKit::MutableDictionary::remove): Added; call remove on the underlying hashmap.
      * Shared/MutableDictionary.h:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80920 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      20eb50ca
    • oliver@apple.com's avatar
      2011-03-11 Oliver Hunt <oliver@apple.com> · 22b1d4fa
      oliver@apple.com authored
              Reviewed by Gavin Barraclough.
      
              Ensure all values are correctly tagged in the registerfile
              https://bugs.webkit.org/show_bug.cgi?id=56214
      
              This patch makes sure that all JSCell pointers written to
              the registerfile are correctly tagged as JSCells, and replaces
              raw int usage with the immediate representation.
      
              For performance, register pressure, and general saneness reasons
              I've added abstractions for reading and writing the tag
              and payload of integer registers directly for the JSVALUE64
              encoding.
      
              * interpreter/Register.h:
              (JSC::Register::withInt):
              (JSC::Register::withCallee):
              (JSC::Register::operator=):
              (JSC::Register::i):
              (JSC::Register::activation):
              (JSC::Register::function):
              (JSC::Register::propertyNameIterator):
              (JSC::Register::scopeChain):
              * jit/JIT.h:
              * jit/JITCall.cpp:
              (JSC::JIT::compileOpCallInitializeCallFrame):
              (JSC::JIT::compileOpCallVarargs):
              (JSC::JIT::compileOpCall):
              * jit/JITCall32_64.cpp:
              (JSC::JIT::compileOpCallInitializeCallFrame):
              (JSC::JIT::compileOpCallVarargs):
              (JSC::JIT::compileOpCall):
              (JSC::JIT::compileOpCallSlowCase):
              * jit/JITInlineMethods.h:
              (JSC::JIT::emitPutToCallFrameHeader):
              (JSC::JIT::emitPutCellToCallFrameHeader):
              (JSC::JIT::emitPutIntToCallFrameHeader):
              * jit/JITOpcodes.cpp:
              (JSC::JIT::privateCompileCTINativeCall):
              (JSC::JIT::emit_op_get_pnames):
              (JSC::JIT::emit_op_next_pname):
              (JSC::JIT::emit_op_load_varargs):
              (JSC::JIT::emitSlow_op_load_varargs):
              * jit/JITOpcodes32_64.cpp:
              (JSC::JIT::privateCompileCTINativeCall):
              (JSC::JIT::emit_op_get_pnames):
              (JSC::JIT::emit_op_next_pname):
              * jit/JSInterfaceJIT.h:
              (JSC::JSInterfaceJIT::intPayloadFor):
              (JSC::JSInterfaceJIT::intTagFor):
              * jit/SpecializedThunkJIT.h:
              (JSC::SpecializedThunkJIT::returnJSValue):
              (JSC::SpecializedThunkJIT::returnDouble):
              (JSC::SpecializedThunkJIT::returnInt32):
              (JSC::SpecializedThunkJIT::returnJSCell):
      2011-03-11  Oliver Hunt  <oliver@apple.com>
      
              Reviewed by Gavin Barraclough.
      
              Ensure all values are correctly tagged in the registerfile
              https://bugs.webkit.org/show_bug.cgi?id=56214
      
              Make sure everything builds still.
      
              * bridge/c/c_class.cpp:
              * bridge/c/c_runtime.cpp:
              * bridge/jni/JavaMethod.cpp:
              * plugins/PluginViewNone.cpp:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      22b1d4fa
    • mrowe@apple.com's avatar
      Fix the 32-bit build. · bebcd00c
      mrowe@apple.com authored
      * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
      (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      bebcd00c
    • rniwa@webkit.org's avatar
      2011-03-11 Sheriff Bot <webkit.review.bot@gmail.com> · 6278b7ca
      rniwa@webkit.org authored
              Unreviewed, rolling out r80899 and r80912.
              http://trac.webkit.org/changeset/80899
              http://trac.webkit.org/changeset/80912
              https://bugs.webkit.org/show_bug.cgi?id=56236
      
              Caused animation tests to crash on Snow Leopard WebKit2
              (Requested by rniwa on #webkit).
      
              * Shared/ShareableBitmap.cpp:
              (WebKit::ShareableBitmap::create):
              (WebKit::ShareableBitmap::createShareable):
              (WebKit::ShareableBitmap::resize):
              * Shared/ShareableBitmap.h:
              (WebKit::ShareableBitmap::numBytesForSize):
              (WebKit::ShareableBitmap::sizeInBytes):
              * UIProcess/DrawingAreaProxyImpl.cpp:
              (WebKit::DrawingAreaProxyImpl::update):
              * WebKit2.xcodeproj/project.pbxproj:
              * WebProcess/WebPage/DrawingArea.h:
              (WebKit::DrawingArea::didUpdate):
              * WebProcess/WebPage/DrawingArea.messages.in:
              * WebProcess/WebPage/DrawingAreaImpl.cpp:
              (WebKit::DrawingAreaImpl::~DrawingAreaImpl):
              (WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState):
              (WebKit::DrawingAreaImpl::didUpdate):
              (WebKit::DrawingAreaImpl::exitAcceleratedCompositingMode):
              (WebKit::DrawingAreaImpl::display):
              * WebProcess/WebPage/DrawingAreaImpl.h:
              * WebProcess/WebPage/SharedMemoryCache.cpp: Removed.
              * WebProcess/WebPage/SharedMemoryCache.h: Removed.
              * win/WebKit2.vcproj:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6278b7ca
    • mrowe@apple.com's avatar
      <rdar://problem/9124537> Crashes during layout tests due to overrelease of AVFoundation objects. · 3757446e
      mrowe@apple.com authored
      Rubber-stamped by Eric Carlsson.
      
      * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundationObjC.mm:
      (WebCore::MediaPlayerPrivateAVFoundationObjC::createContextVideoRenderer):
      (WebCore::MediaPlayerPrivateAVFoundationObjC::setAsset):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80916 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3757446e
    • mrowe@apple.com's avatar
      Adopt the LLVM Compiler for debug builds. · e8bd6b8c
      mrowe@apple.com authored
      Rubber-stamped by Adam Roben and Sam Weinig.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80915 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e8bd6b8c
    • levin@chromium.org's avatar
      Rollout the chromium deps roll as it adds a dependency on a header · c8431df4
      levin@chromium.org authored
      that the bots building for WebKit don't seem to have.
      
      Specifically gfx\gl\gl_context_egl.cc depends on d3dcompiler.h
      
      * DEPS:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80914 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c8431df4
    • cmarrin@apple.com's avatar
      2011-03-11 Chris Marrin <cmarrin@apple.com> · 0f098da0
      cmarrin@apple.com authored
              Unreviewed.
      
              Fixes an error with the checkin for https://bugs.webkit.org/show_bug.cgi?id=52468
      
              * platform/graphics/ca/GraphicsLayerCA.cpp:
              (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
      
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80913 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0f098da0
    • bweinstein@apple.com's avatar
      Windows build fix. Add SharedMemoryCache to the vcproj. · f2298a12
      bweinstein@apple.com authored
      * win/WebKit2.vcproj:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80912 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f2298a12
    • levin@chromium.org's avatar
      Fix prototype-inheritance-expected result due to two changes: · e330d885
      levin@chromium.org authored
        http://src.chromium.org/viewvc/chrome?view=rev&revision=77888 removed "google"
        http://trac.webkit.org/changeset/80846 added WebKitAnimation/WebKitAnimationList
      
      * platform/chromium/fast/dom/prototype-inheritance-expected.txt:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80911 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e330d885
    • beidson@apple.com's avatar
      Attempted Qt build fix for https://bugs.webkit.org/show_bug.cgi?id=56216 · f15a6761
      beidson@apple.com authored
      * loader/icon/IconDatabase.h: Make this guy public.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80910 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f15a6761
    • beidson@apple.com's avatar
      Attempted Qt build fix for https://bugs.webkit.org/show_bug.cgi?id=56216 · ed190062
      beidson@apple.com authored
      * loader/icon/IconDatabase.h:
      (WebCore::IconDatabase::delayDatabaseCleanup): Maybe Qt has Icon Database disabled, so we need to define this here?
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80909 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ed190062
    • beidson@apple.com's avatar
      More Windows build fix for https://bugs.webkit.org/show_bug.cgi?id=56216 · f62d4793
      beidson@apple.com authored
      * WebCoreStatistics.cpp:
      * WebIconDatabase.cpp:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80908 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f62d4793
    • dcheng@chromium.org's avatar
      2011-03-11 Daniel Cheng <dcheng@chromium.org> · f96c0ada
      dcheng@chromium.org authored
              Reviewed by Tony Chang.
      
              [chromium] Correct return type of WebClipboard::readImage.
              https://bugs.webkit.org/show_bug.cgi?id=56234
      
              Update the return type to reflect that we are returning a blob of PNG
              data, not a bitmap.
      
              * public/WebClipboard.h:
              (WebKit::WebClipboard::readImage):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f96c0ada
    • dglazkov@chromium.org's avatar
      2011-03-11 Dimitri Glazkov <dglazkov@chromium.org> · a6837d86
      dglazkov@chromium.org authored
              Reviewed by Eric Seidel.
      
              Introduce project_dir variable and make paths a whole lot saner. Ok, a little bit saner.
              https://bugs.webkit.org/show_bug.cgi?id=56231
      
              * JavaScriptCore.gypi: Added project_dir variable.
              * gyp/JavaScriptCore.gyp: Changed to use project_dir, rather than DEPTH/JavaScriptCore.
              * gyp/generate-dtrace-header.sh: Changed to use project_dir.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80906 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a6837d86
    • beidson@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=56216 · d89c370a
      beidson@apple.com authored
      Fix the Qt build following the same pattern of the patch.
      
      ../WebCore: 
      
      * loader/icon/IconDatabase.h:
      * loader/icon/IconDatabaseBase.cpp:
      (WebCore::IconDatabaseBase::databasePath): Added to the virtual base.
      * loader/icon/IconDatabaseBase.h:
      (WebCore::IconDatabaseBase::isOpen): Ditto.
      
      ../WebKit/qt: 
      
      Reviewed by attempt at build fix!
      
      * Api/qwebsettings.cpp:
      (QWebSettings::setIconDatabasePath): Call the static method via IconDatabase:: and not via iconDatabase()
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80905 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d89c370a
    • levin@chromium.org's avatar
      Source/WebKit/chromium: Update chromium deps to pick up the skia roll. · e319c136
      levin@chromium.org authored
      * DEPS:
      
      LayoutTests: Update some baselines due to Skia update in Chromium.
      Filed http://crbug.com/75820 about the odd look of the results (but
      the odd look previously existed).
      
      * platform/chromium-linux/svg/css/composite-shadow-text-expected.checksum:
      * platform/chromium-linux/svg/css/composite-shadow-text-expected.png:
      * platform/chromium-win/svg/css/composite-shadow-text-expected.checksum:
      * platform/chromium-win/svg/css/composite-shadow-text-expected.png:
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80904 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e319c136
    • commit-queue@webkit.org's avatar
      2011-03-11 Ben Taylor <bentaylor.solx86@gmail.com> · 3419933c
      commit-queue@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              https://bugs.webkit.org/show_bug.cgi?id=56198
              Fix conditional which had an int for one case and a pointer for another.
      
              No new tests. Fix compilation on Solaris 10 with SunStudio 12 C++
      
              * loader/appcache/ApplicationCacheGroup.cpp:
              (WebCore::ApplicationCacheGroup::checkIfLoadIsComplete):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80903 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3419933c
    • beidson@apple.com's avatar
      Windows build fix. · 6dd338e1
      beidson@apple.com authored
      * history/HistoryItem.cpp:
      * loader/icon/IconDatabaseBase.cpp:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80902 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6dd338e1
    • ap@apple.com's avatar
      2011-03-11 Alexey Proskuryakov <ap@apple.com> · da3c7500
      ap@apple.com authored
              Reviewed by Sam Weinig.
      
              https://bugs.webkit.org/show_bug.cgi?id=56222
              A window remains frozen if web process crashes during printing
      
              * UIProcess/API/mac/PageClientImpl.h:
              * UIProcess/API/mac/PageClientImpl.mm:
              * UIProcess/PageClient.h:
              * UIProcess/WebPageProxy.cpp:
              (WebKit::WebPageProxy::setComplexTextInputEnabled):
              * UIProcess/WebPageProxy.h:
              Moved setAutodisplay code into WKPrintingView.
      
              * UIProcess/API/mac/WKPrintingView.h:
              * UIProcess/API/mac/WKView.mm:
              (-[WKView printOperationWithPrintInfo:forFrame:]):
              Keep a reference to the actual WKView, so that we can manipulate how it displays, even if
              page goes away.
      
              * UIProcess/API/mac/WKPrintingView.mm:
              (-[WKPrintingView initWithFrameProxy:WebKit::view:]):
              (-[WKPrintingView _setAutodisplay:]):
              (-[WKPrintingView _suspendAutodisplay]):
              (-[WKPrintingView _delayedResumeAutodisplayTimerFired]):
              Move setAutodisplay here.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80901 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      da3c7500
    • beidson@apple.com's avatar
      <rdar://problem/8648311> and https://bugs.webkit.org/show_bug.cgi?id=56216 · cb25834e
      beidson@apple.com authored
      Rework disabled IconDatabase builds while allowing for a pluggable icon database implementation.
      
      ../WebCore: 
      
      Reviewed by Sam Weinig.
      
      Project file stuff:
      * Android.mk:
      * CMakeLists.txt:
      * GNUmakefile.am:
      * WebCore.gyp/WebCore.gyp:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.xcodeproj/project.pbxproj:
      * WebCore.vcproj/WebCore.vcproj:
      
      * loader/icon/IconDatabase.cpp:
      * loader/icon/IconDatabase.h: Inherit from IconDatabaseBase.
      
      * loader/icon/IconDatabaseBase.cpp: Added.
      (WebCore::IconDatabaseBase::iconURLForPageURL):
      (WebCore::iconDatabase):
      (WebCore::setGlobalIconDatabase):
      * loader/icon/IconDatabaseBase.h: Added.
      (WebCore::IconDatabaseBase::IconDatabaseBase):
      (WebCore::IconDatabaseBase::~IconDatabaseBase):
      (WebCore::IconDatabaseBase::setEnabled):
      (WebCore::IconDatabaseBase::isEnabled):
      (WebCore::IconDatabaseBase::defaultIcon):
      (WebCore::IconDatabaseBase::retainIconForPageURL):
      (WebCore::IconDatabaseBase::releaseIconForPageURL):
      (WebCore::IconDatabaseBase::iconForPageURL):
      (WebCore::IconDatabaseBase::setIconURLForPageURL):
      (WebCore::IconDatabaseBase::setIconDataForIconURL):
      (WebCore::IconDatabaseBase::iconDataKnownForIconURL):
      (WebCore::IconDatabaseBase::loadDecisionForIconURL):
      (WebCore::IconDatabaseBase::pageURLMappingCount):
      (WebCore::IconDatabaseBase::retainedPageURLCount):
      (WebCore::IconDatabaseBase::iconRecordCount):
      (WebCore::IconDatabaseBase::iconRecordCountWithData):
      (WebCore::IconDatabaseBase::importIconURLForPageURL):
      (WebCore::IconDatabaseBase::importIconDataForIconURL):
      (WebCore::IconDatabaseBase::shouldStopThreadActivity):
      (WebCore::IconDatabaseBase::open):
      (WebCore::IconDatabaseBase::close):
      (WebCore::IconDatabaseBase::removeAllIcons):
      (WebCore::IconDatabaseBase::setPrivateBrowsingEnabled):
      (WebCore::IconDatabaseBase::setClient):
      
      * loader/icon/IconDatabaseNone.cpp: Removed.
      
      ../WebKit/mac: 
      
      Reviewed by Anders Carlsson
      
      * Misc/WebIconDatabase.mm:
      (+[WebIconDatabase _checkIntegrityBeforeOpening]): Call these static methods on IconDatabase::, not iconDatabase().
      (-[WebIconDatabase _startUpIconDatabase]): Ditto.
      (importToWebCoreFormat):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80900 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      cb25834e
    • andersca@apple.com's avatar
      2011-03-11 Anders Carlsson <andersca@apple.com> · f92cc2dc
      andersca@apple.com authored
              Reviewed by Sam Weinig.
      
              Add a shared memory cache to the web process
              https://bugs.webkit.org/show_bug.cgi?id=56232
      
              Add a very simple shared memory cache to the web process, so that we don't have to allocate and
              free memory over and over when painting.
      
              * Shared/ShareableBitmap.cpp:
              (WebKit::ShareableBitmap::create):
              (WebKit::ShareableBitmap::createShareable):
              (WebKit::ShareableBitmap::resize):
              * Shared/ShareableBitmap.h:
              (WebKit::ShareableBitmap::numBytesNeededForBitmapSize):
              (WebKit::ShareableBitmap::sizeInBytes):
              Rename numBytesForSize to numBytesNeededForBitmapSize.
      
              * UIProcess/DrawingAreaProxyImpl.cpp:
              (WebKit::DrawingAreaProxyImpl::update):
              Always send back a DidUpdate message, even if we didn't use the update info.
              This is needed so that the web process knows when the UI process is done with the shared memory inside
              the update info struct.
      
              * WebKit2.xcodeproj/project.pbxproj:
              Add new files.
      
              * WebProcess/WebPage/DrawingArea.h:
              (WebKit::DrawingArea::didUpdate):
              * WebProcess/WebPage/DrawingArea.messages.in:
              DidUpdate now takes a boolean.
      
              * WebProcess/WebPage/DrawingAreaImpl.cpp:
              (WebKit::sharedMemoryCache):
              Add shared memory cache.
      
              (WebKit::DrawingAreaImpl::~DrawingAreaImpl):
              Return the shared memory to the cache.
      
              (WebKit::DrawingAreaImpl::sendDidUpdateBackingStoreState):
              display now takes an extra boolean.
      
              (WebKit::DrawingAreaImpl::didUpdate):
              Return the shared memory to the cache.
      
              (WebKit::DrawingAreaImpl::display):
              If useSharedMemoryCache is true, get shared memory from the cache.
      
              * WebProcess/WebPage/SharedMemoryCache.cpp: Added.
              (WebKit::SharedMemoryCache::acquireSharedMemory):
              If the memory we currently hold on to is big enough, return it.
      
              (WebKit::SharedMemoryCache::releaseSharedMemory):
              If we're already holding on to shared memory, evict it if the returned
              shared memory object is bigger than the one we currently hold.
      
              (WebKit::SharedMemoryCache::clearCacheTimerFired):
              Null out the shared memory object.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80899 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f92cc2dc
    • beidson@apple.com's avatar
      Attempt at a build-fix for https://bugs.webkit.org/show_bug.cgi?id=51878 · fb3c5bf7
      beidson@apple.com authored
      * page/PageGroup.h: Declare this method, even if the definition will end up being empty.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80898 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      fb3c5bf7
  2. 11 Mar, 2011 10 commits
    • michaeln@google.com's avatar
      2011-03-11 Michael Nordman <michaeln@google.com> · d8588897
      michaeln@google.com authored
              Reviewed by Dmitry Titov.
      
              Adding the '~' to the dtor (duh).
      
              No new tests.
      
              * storage/SQLCallbackWrapper.h:
              (WebCore::SQLCallbackWrapper::~SQLCallbackWrapper):
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80897 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d8588897
    • ericu@chromium.org's avatar
      2010-3-11 Eric Uhrhane <ericu@chromium.org> · 81fb7b58
      ericu@chromium.org authored
      Reviewed by David Levin.
      
      Add tests for FileWriter
      https://bugs.webkit.org/show_bug.cgi?id=44363
      
      Fix small bugs in the utility functions and add setFileContents().
      * fast/filesystem/resources/file-writer-utils.js:
      
      Port the GC Blob test over to the new FileWriter utilities.
      * fast/filesystem/file-writer-gc-blob-expected.txt:
      * fast/filesystem/file-writer-gc-blob.html:
      * fast/filesystem/resources/file-writer-gc-blob.js: Copied from LayoutTests/fast/filesystem/file-writer-gc-blob.html.
      
      Add tests for progress events and overlapping writes [via seek].
      * fast/filesystem/file-writer-events-expected.txt: Added.
      * fast/filesystem/file-writer-events.html: Added.
      * fast/filesystem/resources/file-writer-events.js: Added.
      * fast/filesystem/file-writer-write-overlapped-expected.txt: Added.
      * fast/filesystem/file-writer-write-overlapped.html: Added.
      * fast/filesystem/resources/file-writer-write-overlapped.js: Added.
      
      Worker versions of the above tests.
      * fast/filesystem/workers/file-writer-events-expected.txt: Added.
      * fast/filesystem/workers/file-writer-events.html: Added.
      * fast/filesystem/workers/file-writer-gc-blob-expected.html: Added.
      * fast/filesystem/workers/file-writer-gc-blob.html: Added.
      * fast/filesystem/workers/file-writer-write-overlapped-expected.html: Added.
      * fast/filesystem/workers/file-writer-write-overlapped.html: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      81fb7b58
    • carol.szabo@nokia.com's avatar
      2011-03-11 Carol Szabo <carol.szabo@nokia.com> · 82ed0cf6
      carol.szabo@nokia.com authored
              Reviewed by David Hyatt.
      
              Introduced double linkage between a CounterNode and its display renderer.
      
              use of freed pointer in WebCore::RenderCounter::originalText()
              https://bugs.webkit.org/show_bug.cgi?id=56065
      
              No new tests. This bug could only be reproduced manually by
              refreshing the page during load at a critical point.
              See bug attachment for testing.
      
              * rendering/CounterNode.cpp:
              Introduced new member "m_owner" to store the renderer that has the
              style directives that produce the CounterNode.
              Repurposed m_renderer to reffer to the RenderCounter that shows the
              CounterNode.
              (WebCore::CounterNode::CounterNode):
              Updated member initialization.
              (WebCore::CounterNode::create):
              (WebCore::CounterNode::resetRenderer):
              (WebCore::CounterNode::resetRenderers):
              (WebCore::CounterNode::recount):
              (WebCore::CounterNode::removeChild):
              (WebCore::CounterNode::insertAfter):
              No functional changes.
              (WebCore::showTreeAndMark):
              Added flushing to ensure that the output is complete.
              * rendering/CounterNode.h:
              (WebCore::CounterNode::owner):
              Renamed from renderer()
              (WebCore::CounterNode::renderer):
              (WebCore::CounterNode::setRenderer):
              Added new accessors for the display renderer.
              * rendering/RenderCounter.cpp:
              (WebCore::findPlaceForCounter):
              Fixed comments. No functional changes.
              (WebCore::RenderCounter::~RenderCounter):
              Made sure that the CounterNode that this renderers displays is
              detached from this.
              (WebCore::RenderCounter::originalText):
              (WebCore::RenderCounter::invalidate):
              Added code to update m_renderer on the displayed CounterNode.
              (WebCore::destroyCounterNodeWithoutMapRemoval):
              (WebCore::RenderCounter::destroyCounterNodes):
              (WebCore::RenderCounter::destroyCounterNode):
              (WebCore::updateCounters):
              No change, just kept code in line with the changes above.
              (showCounterRendererTree):
              Added fflush to ensure complete display.
              * rendering/RenderCounter.h:
              * rendering/RenderObjectChildList.cpp:
              * rendering/RenderObjectChildList.h:
              Removed unneeded invalidateCounters related functions.
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      82ed0cf6
    • enne@google.com's avatar
      2011-03-11 Adrienne Walker <enne@google.com> · e371c92b
      enne@google.com authored
              Reviewed by Kenneth Russell.
      
              Add missing unit tests to TilingData.
              https://bugs.webkit.org/show_bug.cgi?id=54143
      
              * tests/TilingDataTest.cpp:
              (WebCore::TEST):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80894 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e371c92b
    • dglazkov@chromium.org's avatar
      2011-03-11 Luke Macpherson <macpherson@chromium.org> · 24f18706
      dglazkov@chromium.org authored
              Reviewed by Eric Seidel.
      
              Introduce lookup-table based approach for applying CSS properties.
              The aim is to be a starting point for refactoring
              CSSStyleSelector::applyProperty() into more readable, maintainable code.
              https://bugs.webkit.org/show_bug.cgi?id=54707
      
              No new behavior / covered by existing tests.
      
              * css/CSSStyleApplyProperty.cpp: Added.
              (WebCore::ApplyPropertyNull):
              Class that provides empty implementations of inherit, initial, value.
              (WebCore::ApplyPropertyDefault::ApplyPropertyDefault):
              Class that calls the appropriate RenderStyle setters directly.
              (WebCore::ApplyPropertyColorBase::ApplyPropertyColorBase):
              Class for handling CSSProperty*Color.
              (WebCore::ApplyPropertyColor::ApplyPropertyColor):
              Class for handling CSSPropertyColor.
              (WebCore::CSSStyleApplyProperty::sharedCSSStyleApplyProperty):
              Singleton initializer.
              (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty):
              Constructor that bulds up the map from property id to apply-er objects.
              * css/CSSStyleApplyProperty.h: Added.
              (WebCore::CSSStyleApplyProperty::inherit):
              Handle the inherit case for a given property.
              (WebCore::CSSStyleApplyProperty::initial):
              Handle the initial case for a given property.
              (WebCore::CSSStyleApplyProperty::value):
              Apply a value to a given property.
              (WebCore::CSSStyleApplyProperty::implements):
              Returns true if the provided property id is implemented.
              (WebCore::CSSStyleApplyProperty::index):
              Private function to determine the index of a property the property map.
              (WebCore::CSSStyleApplyProperty::valid):
              Function to determine that a given property id is valid.
              (WebCore::CSSStyleApplyProperty::setPropertyValue):
              (WebCore::CSSStyleApplyProperty::propertyValue):
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::CSSStyleSelector):
              Get reference to the CSSStyleApplyProperty singleton.
              (WebCore::CSSStyleSelector::applyProperty):
              Now calls into CSSStyleApplyProperty for implemented property ids.
              Deleted color-related methods from the property id switch.
              * css/CSSStyleSelector.h:
              (WebCore::CSSStyleSelector::style):
              Made public to allow access from CSSStyleApplyProperty.
              (WebCore::CSSStyleSelector::parentStyle):
              Made public to allow access from CSSStyleApplyProperty.
              * rendering/style/RenderStyle.h:
              Made CSSStyleApplyProperty a friend class. Necessary because it needs
              to access the private getters and setters on this clsass.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      24f18706
    • beidson@apple.com's avatar
      Reviewed and landed by Brady Eidson. · d240e08a
      beidson@apple.com authored
      Source/WebCore: 
      
      Patch by Anton D'Auria <adauria@apple.com> on 2011-03-11
      Add WebKit1 API to view and delete local storage
      https://bugs.webkit.org/show_bug.cgi?id=51878
      
      Created StorageTracker as a central point for tracking and deleting LocalStorage per origin.
      StorageTracker maintains its own database of origin identifiers and backing db paths,
      and this allows it to contain more relational data in the future, like variable quotas per origin.
      
      On initialization, StorageTracker syncs its database with LocalStorage files on disk. It adds
      an origin entry when StorageAreaSync performs a first sync for an origin.
      
      All StorageTracker file operations are performed on one background thread with a task queue.
      
      Tests: storage/domstorage/localstorage/storagetracker/storage-tracker-1-prepare.html
             storage/domstorage/localstorage/storagetracker/storage-tracker-2-create.html
             storage/domstorage/localstorage/storagetracker/storage-tracker-3-delete-all.html
             storage/domstorage/localstorage/storagetracker/storage-tracker-4-create.html
             storage/domstorage/localstorage/storagetracker/storage-tracker-5-delete-one.html
      
      * GNUmakefile.am:
      * WebCore.exp.in:
      * WebCore.gypi:
      * WebCore.pro:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * page/PageGroup.cpp:
      (WebCore::PageGroup::clearLocalStorageForAllOrigins):
      (WebCore::PageGroup::clearLocalStorageForOrigin):
      (WebCore::PageGroup::syncLocalStorage):
      (WebCore::PageGroup::numberOfPageGroups):
      * page/PageGroup.h:
      * platform/chromium/FileSystemChromium.cpp:
      (WebCore::listDirectory):
      * platform/posix/FileSystemPOSIX.cpp:
      (WebCore::listDirectory):
      * storage/LocalStorageTask.cpp:
      (WebCore::LocalStorageTask::LocalStorageTask):
      (WebCore::LocalStorageTask::performTask):
      * storage/LocalStorageTask.h:
      (WebCore::LocalStorageTask::createOriginIdentifiersImport):
      (WebCore::LocalStorageTask::createSetOriginDetails):
      (WebCore::LocalStorageTask::createDeleteOrigin):
      (WebCore::LocalStorageTask::createDeleteAllOrigins):
      * storage/StorageAreaImpl.cpp:
      (WebCore::StorageAreaImpl::clearForOriginDeletion):
      (WebCore::StorageAreaImpl::sync):
      * storage/StorageAreaImpl.h:
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::scheduleCloseDatabase):
      (WebCore::StorageAreaSync::openDatabase):
      (WebCore::StorageAreaSync::sync):
      (WebCore::StorageAreaSync::deleteEmptyDatabase):
      (WebCore::StorageAreaSync::scheduleSync):
      * storage/StorageAreaSync.h:
      * storage/StorageNamespace.h:
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::clearOriginForDeletion):
      (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceImpl::sync):
      * storage/StorageNamespaceImpl.h:
      * storage/StorageTracker.cpp: Added.
      (WebCore::StorageTracker::initializeTracker):
      (WebCore::StorageTracker::tracker):
      (WebCore::StorageTracker::StorageTracker):
      (WebCore::StorageTracker::setStorageDirectoryPath):
      (WebCore::StorageTracker::trackerDatabasePath):
      (WebCore::StorageTracker::openTrackerDatabase):
      (WebCore::StorageTracker::importOriginIdentifiers):
      (WebCore::StorageTracker::syncImportOriginIdentifiers):
      (WebCore::StorageTracker::syncFileSystemAndTrackerDatabase):
      (WebCore::StorageTracker::setOriginDetails):
      (WebCore::StorageTracker::scheduleTask):
      (WebCore::StorageTracker::syncSetOriginDetails):
      (WebCore::StorageTracker::origins):
      (WebCore::StorageTracker::deleteAllOrigins):
      (WebCore::StorageTracker::syncDeleteAllOrigins):
      (WebCore::StorageTracker::deleteOrigin):
      (WebCore::StorageTracker::syncDeleteOrigin):
      (WebCore::StorageTracker::willDeleteAllOrigins):
      (WebCore::StorageTracker::willDeleteOrigin):
      (WebCore::StorageTracker::canDeleteOrigin):
      (WebCore::StorageTracker::cancelDeletingOrigin):
      (WebCore::StorageTracker::setClient):
      (WebCore::StorageTracker::syncLocalStorage):
      * storage/StorageTracker.h: Added.
      * storage/StorageTrackerClient.h: Added.
      (WebCore::StorageTrackerClient::~StorageTrackerClient):
      
      Source/WebKit: 
      
      Patch by Anton D'Auria <adauria@apple.com> on 2011-03-11
      Add WebKit1 API to view and delete local storage
      https://bugs.webkit.org/show_bug.cgi?id=51878
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/chromium: 
      
      Patch by Anton D'Auria <adauria@apple.com> on 2011-03-11
      Add WebKit1 API to view and delete local storage
      https://bugs.webkit.org/show_bug.cgi?id=51878
      
      * src/StorageNamespaceProxy.cpp:
      (WebCore::StorageNamespaceProxy::clearOriginForDeletion):
      (WebCore::StorageNamespaceProxy::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceProxy::sync):
      * src/StorageNamespaceProxy.h:
      
      Source/WebKit/mac: 
      
      Patch by Anton D'Auria <adauria@apple.com> on 2011-03-11
      https://bugs.webkit.org/show_bug.cgi?id=51878
      Add WebKit1 API to view and delete local storage
      
      * Storage/WebStorageManager.mm: Added.
      (+[WebStorageManager sharedWebStorageManager]):
      (-[WebStorageManager origins]):
      (-[WebStorageManager deleteAllOrigins]):
      (-[WebStorageManager deleteOrigin:]):
      (-[WebStorageManager syncLocalStorage]):
      (-[WebStorageManager syncFileSystemAndTrackerDatabase]):
      (storageDirectoryPath):
      (WebKitInitializeStorageIfNecessary):
      * Storage/WebStorageManagerInternal.h: Added.
      * Storage/WebStorageManagerPrivate.h: Added.
      * Storage/WebStorageTrackerClient.h: Added.
      * Storage/WebStorageTrackerClient.mm: Added.
      (WebStorageTrackerClient::sharedWebStorageTrackerClient):
      (WebStorageTrackerClient::WebStorageTrackerClient):
      (WebStorageTrackerClient::~WebStorageTrackerClient):
      (WebStorageTrackerClient::dispatchDidModifyOriginOnMainThread):
      (WebStorageTrackerClient::dispatchDidModifyOrigin):
      * WebCoreSupport/WebSecurityOrigin.mm:
      (-[WebSecurityOrigin protocol]):
      (-[WebSecurityOrigin host]):
      (-[WebSecurityOrigin databaseIdentifier]):
      (-[WebSecurityOrigin domain]):
      (-[WebSecurityOrigin _initWithWebCoreSecurityOrigin:]):
      * WebCoreSupport/WebSecurityOriginPrivate.h:
      * WebKit.exp:
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:usesDocumentViews:]):
      
      Tools: 
      
      Patch by Anton D'Auria <adauria@apple.com> on 2011-03-11
      https://bugs.webkit.org/show_bug.cgi?id=51878
      Add WebKit1 API to view and delete local storage
      
      Added tests that write to LocalStorage, delete one origin, get list of origins with local storage, delete all origins.
      
      * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
      * DumpRenderTree/LayoutTestController.cpp:
      (syncLocalStorageCallback):
      (observeStorageTrackerNotificationsCallback):
      (deleteAllLocalStorageCallback):
      (deleteLocalStorageForOriginCallback):
      (originsWithLocalStorageCallback):
      (LayoutTestController::staticFunctions):
      * DumpRenderTree/LayoutTestController.h:
      * DumpRenderTree/StorageTrackerDelegate.h: Added.
      * DumpRenderTree/StorageTrackerDelegate.mm: Added.
      (-[StorageTrackerDelegate init]):
      (-[StorageTrackerDelegate logNotifications:controller:]):
      (-[StorageTrackerDelegate originModified:]):
      (-[StorageTrackerDelegate dealloc]):
      (-[StorageTrackerDelegate setControllerToNotifyDone:]):
      * DumpRenderTree/chromium/LayoutTestController.cpp:
      (LayoutTestController::LayoutTestController):
      (LayoutTestController::deleteAllLocalStorage):
      (LayoutTestController::originsWithLocalStorage):
      (LayoutTestController::deleteLocalStorageForOrigin):
      (observeStorageTrackerNotifications):
      (syncLocalStorage):
      * DumpRenderTree/chromium/LayoutTestController.h:
      * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
      (LayoutTestController::originsWithLocalStorage):
      (LayoutTestController::deleteAllLocalStorage):
      (LayoutTestController::deleteLocalStorageForOrigin):
      (LayoutTestController::observeStorageTrackerNotifications):
      (LayoutTestController::syncLocalStorage):
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      (allocateGlobalControllers):
      (releaseGlobalControllers):
      * DumpRenderTree/mac/DumpRenderTreeMac.h:
      * DumpRenderTree/mac/LayoutTestControllerMac.mm:
      (LayoutTestController::syncLocalStorage):
      (LayoutTestController::observeStorageTrackerNotifications):
      (LayoutTestController::deleteAllLocalStorage):
      (LayoutTestController::originsWithLocalStorage):
      (LayoutTestController::deleteLocalStorageForOrigin):
      * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
      (LayoutTestController::originsWithLocalStorage):
      (LayoutTestController::deleteAllLocalStorage):
      (LayoutTestController::deleteLocalStorageForOrigin):
      (LayoutTestController::observeStorageTrackerNotifications):
      (LayoutTestController::syncLocalStorage):
      * DumpRenderTree/qt/LayoutTestControllerQt.h:
      * DumpRenderTree/win/LayoutTestControllerWin.cpp:
      (LayoutTestController::clearAllApplicationCaches):
      (LayoutTestController::syncLocalStorage):
      (LayoutTestController::observeStorageTrackerNotifications):
      (LayoutTestController::clearAllDatabases):
      (LayoutTestController::deleteAllLocalStorage):
      (LayoutTestController::originsWithLocalStorage):
      (LayoutTestController::deleteLocalStorageForOrigin):
      * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
      (LayoutTestController::syncLocalStorage):
      (LayoutTestController::observeStorageTrackerNotifications):
      (LayoutTestController::clearAllDatabases):
      (LayoutTestController::deleteAllLocalStorage):
      (LayoutTestController::originsWithLocalStorage):
      (LayoutTestController::deleteLocalStorageForOrigin):
      
      LayoutTests: 
      
      Patch by Anton D'Auria <adauria@apple.com> on 2011-03-11
      Add WebKit1 API to view and delete local storage
      https://bugs.webkit.org/show_bug.cgi?id=51878
      
      * platform/chromium/test_expectations.txt:
      * storage/domstorage/localstorage/storagetracker: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-1-prepare-expected.txt: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-1-prepare.html: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-2-create-expected.txt: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-2-create.html: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-3-delete-all-expected.txt: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-3-delete-all.html: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-4-create-expected.txt: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-4-create.html: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-5-delete-one-expected.txt: Added.
      * storage/domstorage/localstorage/storagetracker/storage-tracker-5-delete-one.html: Added.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80892 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d240e08a
    • jberlin@webkit.org's avatar
      http/tests/websocket/tests/url-with-credential.html sometimes crashes beneath... · 3ef00306
      jberlin@webkit.org authored
      http/tests/websocket/tests/url-with-credential.html sometimes crashes beneath SocketStreamHandle::readStreamCallback on Windows
      https://bugs.webkit.org/show_bug.cgi?id=56185
      
      url-parsing.html appears to be causing the crashes in later tests.
      Skipping the url-parsing.html test and unskipping the url-with-credential.html test.
      
      Unreviewed.
      
      * platform/win/Skipped:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80891 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      3ef00306
    • commit-queue@webkit.org's avatar
      2011-03-11 Dominic Mazzoni <dmazzoni@google.com> · 06ae9610
      commit-queue@webkit.org authored
              Reviewed by Dimitri Glazkov.
      
              Add an accessibilityIsIgnored method to WebAccessibilityObject.
              https://bugs.webkit.org/show_bug.cgi?id=50969
      
              * public/WebAccessibilityObject.h:
              * src/WebAccessibilityObject.cpp:
              (WebKit::WebAccessibilityObject::accessibilityIsIgnored):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      06ae9610
    • rniwa@webkit.org's avatar
      2011-03-11 Ryosuke Niwa <rniwa@webkit.org> · 7f42a9fb
      rniwa@webkit.org authored
              Reviewed by Tony Chang.
      
              drag-text-delay.html should be a dump as text test
              https://bugs.webkit.org/show_bug.cgi?id=56223
      
              Converted the test to a dump as text. Also reorganized the test code and added more descriptions.
      
              * editing/selection/drag-text-delay-expected.txt:
              * editing/selection/drag-text-delay.html:
              * platform/chromium-linux/editing/selection/drag-text-delay-expected.checksum: Removed.
              * platform/chromium-linux/editing/selection/drag-text-delay-expected.png: Removed.
              * platform/chromium-win/editing/selection/drag-text-delay-expected.checksum: Removed.
              * platform/chromium-win/editing/selection/drag-text-delay-expected.png: Removed.
              * platform/chromium-win/editing/selection/drag-text-delay-expected.txt: Removed.
              * platform/gtk/editing/selection/drag-text-delay-expected.checksum: Removed.
              * platform/gtk/editing/selection/drag-text-delay-expected.png: Removed.
              * platform/gtk/editing/selection/drag-text-delay-expected.txt: Removed.
              * platform/mac/editing/selection/drag-text-delay-expected.checksum: Removed.
              * platform/mac/editing/selection/drag-text-delay-expected.png: Removed.
              * platform/mac/editing/selection/drag-text-delay-expected.txt:
              * platform/win/editing/selection/drag-text-delay-expected.checksum: Removed.
              * platform/win/editing/selection/drag-text-delay-expected.png: Removed.
              * platform/win/editing/selection/drag-text-delay-expected.txt:
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80889 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7f42a9fb
    • steveblock@google.com's avatar
      2011-03-11 Steve Block <steveblock@google.com> · 9de1296e
      steveblock@google.com authored
              Reviewed by Jeremy Orlow.
      
              JavaMethod does not correctly check for a null jstring for the method name
              https://bugs.webkit.org/show_bug.cgi?id=56187
      
              No new tests, simple typo fix.
      
              * bridge/jni/JavaMethod.cpp:
              (JavaMethod::JavaMethod):
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@80888 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      9de1296e