1. 10 Jan, 2014 40 commits
    • commit-queue@webkit.org's avatar
      [CSS Blending] Log blending as a layer creation reason in the WI · 8996b5b1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126159
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2014-01-10
      Reviewed by Timothy Hatcher.
      
      Source/WebCore:
      
      * inspector/InspectorLayerTreeAgent.cpp:
      (WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer):
      * inspector/protocol/LayerTree.json:
      
      Source/WebInspectorUI:
      
      * Localizations/en.lproj/localizedStrings.js:
      * UserInterface/LayerTreeSidebarPanel.js:
      (WebInspector.LayerTreeSidebarPanel.prototype._populateListOfCompositingReasons):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161673 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8996b5b1
    • commit-queue@webkit.org's avatar
      [EFL][JSC] Enable udis86 disassembler on efl. · 732907db
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=125502
      
      Patch by Tamas Gergely <tgergely.u-szeged@partner.samsung.com> on 2014-01-10
      Reviewed by Michael Saboff.
      
      Enable udis86 disassembler on efl and fix build warnings.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake:
        Enable udis86 disassembler.
      
      Source/JavaScriptCore:
      
      * CMakeLists.txt:
        Add udis86 disassembler source files.
      * disassembler/udis86/udis86_decode.c:
      (decode_modrm_rm):
        Build warning fixes.
      * disassembler/udis86/udis86_syn-att.c:
      (gen_operand):
        Build warning fixes.
      * disassembler/udis86/udis86_syn-intel.c:
      (gen_operand):
        Build warning fixes.
      * disassembler/udis86/udis86_types.h:
        Correct FMT64 for uint64_t.
      
      Source/WTF:
      
      * wtf/Platform.h:
        Enable udis86 disassembler on EFL.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      732907db
    • aestes@apple.com's avatar
      Fix some iOS build errors during bindings generation. · 2a63fbe2
      aestes@apple.com authored
      * bindings/objc/PublicDOMInterfaces.h: Included
      WebKitAdditions/PublicDOMInterfacesIOS.h and change
      -[DOMRGBColor color] to return a CGColorRef on iOS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a63fbe2
    • timothy@apple.com's avatar
      Prevent some resources from showing up in Web Inspector as years in duration. · 19009620
      timothy@apple.com authored
      No WebKit port passed a monotonic time to InspectorInstrumentation::didFinishLoading -- except Chromium.
      
      https://bugs.webkit.org/show_bug.cgi?id=126760
      
      Reviewed by Joseph Pecoraro.
      
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::didFinishLoadingImpl):
      Revert part of r102961 to use finishTime as-is and not expect a monotonic time.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161670 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      19009620
    • krit@webkit.org's avatar
      Make clipping path from basic-shapes relative to <box> value · 446d3e26
      krit@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126206
      
      Reviewed by Simon Fraser.
      
      Source/WebCore:
      
      Tests: css3/masking/clip-path-circle-border-box.html
             css3/masking/clip-path-circle-bounding-box.html
             css3/masking/clip-path-circle-content-box.html
             css3/masking/clip-path-circle-margin-box.html
             css3/masking/clip-path-circle-padding-box.html
      
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::setupClipPath): Add switch to differ between boxes
          and use different reference boxes to size the clipping path.
      
      LayoutTests:
      
      Add new tests to check that different reference boxes are chosen for sizing and
      positioning the clipping path.
      
      * css3/masking/clip-path-circle-border-box.html: Added.
      * css3/masking/clip-path-circle-bounding-box.html: Added.
      * css3/masking/clip-path-circle-content-box.html: Added.
      * css3/masking/clip-path-circle-margin-box.html: Added.
      * css3/masking/clip-path-circle-padding-box.html: Added.
      * platform/mac/css3/masking/clip-path-circle-border-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-border-box-expected.txt: Added.
      * platform/mac/css3/masking/clip-path-circle-bounding-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-bounding-box-expected.txt: Added.
      * platform/mac/css3/masking/clip-path-circle-content-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-content-box-expected.txt: Added.
      * platform/mac/css3/masking/clip-path-circle-margin-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-margin-box-expected.txt: Added.
      * platform/mac/css3/masking/clip-path-circle-padding-box-expected.png: Added.
      * platform/mac/css3/masking/clip-path-circle-padding-box-expected.txt: Added.
      * platform/mac/css3/masking/mask-luminance-png-expected.png: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      446d3e26
    • commit-queue@webkit.org's avatar
      Source/WebCore: Correctly set XHR loadend attributes (loaded and total). · fceceae7
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=120828
      
      Patch by Youenn Fablet <youennf@gmail.com> on 2014-01-10
      Reviewed by Alexey Proskuryakov.
      
      Added correct initialization of lengthComputable, loaded and total attributes
      to XHR ProgressEvent events (load, loadstart, loadend, abort, error and timeout).
      
      XMLHttpRequestProgressEventThrottle and XMLHttpRequestUpload now keep persistent knowledge
      of m_loaded and m_total values with this patch.
      
      Code refactoring to handle event dispatching in case of error in a single manner.
      XMLHttpRequestProgressEventThrottle::dispatchProgressEvent is renamed as dispatchThrottledProgressEvent
      XMLHttpRequestProgressEventThrottle::dispatchEventAndLoadend is replaced by dispatchProgressEvent(const AtomicString&)
      
      Fixed assertion issues over bug 120828 patch
      
      Tests: http/tests/xmlhttprequest/loadstart-event-init.html
             http/tests/xmlhttprequest/onabort-progressevent-attributes.html
             http/tests/xmlhttprequest/onload-progressevent-attributes.html
             http/tests/xmlhttprequest/upload-onabort-progressevent-attributes.html
             http/tests/xmlhttprequest/upload-onload-progressevent-attributes.html
      
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::callReadyStateChangeListener): changed readystatechange event from ProgressEvent to Event (not cancellable, not bubblable) to better match the spec
      (WebCore::XMLHttpRequest::createRequest):
      (WebCore::XMLHttpRequest::abort): code refactoring to handle error event dispatching in a single way
      (WebCore::XMLHttpRequest::networkError): code refactoring to handle error event dispatching in a single way
      (WebCore::XMLHttpRequest::abortError): code refactoring to handle error event dispatching in a single way
      (WebCore::XMLHttpRequest::didSendData):
      (WebCore::XMLHttpRequest::didReceiveData):
      (WebCore::XMLHttpRequest::dispatchErrorEvents): dispatch progress events in case of error
      (WebCore::XMLHttpRequest::didTimeout): code refactoring to handle error event dispatching in a single way
      * xml/XMLHttpRequest.h:
      * xml/XMLHttpRequestProgressEventThrottle.cpp: before the patch, the fact that a progress event is being throttled is stored indirectly (m_loaded or m_total not equal to zero). With the patch, this information is stored in m_hasThrottledProgressEvent. The m_loaded and m_total values are no longer set back to zero after a progress event is dispatched. This allows using these values to correctly initialize other ProgressEvent events (in particular loadend, abort, timeout...)
      (WebCore::XMLHttpRequestProgressEventThrottle::XMLHttpRequestProgressEventThrottle):
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchThrottledProgressEvent): always update the new m_loaded and m_total values. If progress event is not sent as part of the function call, store the fact that a progress event is being throttled through m_hasThrottledProgressEvent.
      (WebCore::XMLHttpRequestProgressEventThrottle::dispatchProgressEvent): used to send any ProgressEvent event that is not be throttled
      (WebCore::XMLHttpRequestProgressEventThrottle::flushProgressEvent): after the call, no progress event is throttled anymore
      (WebCore::XMLHttpRequestProgressEventThrottle::fired): after the call, no progress event is throttled anymore
      (WebCore::XMLHttpRequestProgressEventThrottle::hasEventToDispatch):
      (WebCore::XMLHttpRequestProgressEventThrottle::suspend):
      * xml/XMLHttpRequestProgressEventThrottle.h: introduced m_hasThrottledProgressEvent which stores whether a progress event is being throttled and m_computableLength which is used to initialize ProgressEvent computableLength
      * xml/XMLHttpRequestUpload.cpp:
      (WebCore::XMLHttpRequestUpload::XMLHttpRequestUpload):
      (WebCore::XMLHttpRequestUpload::dispatchProgressEvent):
      * xml/XMLHttpRequestUpload.h: introduced m_loaded, m_total and m_lengthComputable, similarly to XMLHttpRequestProgressEventThrottle
      
      LayoutTests: Correctly set XHR loadend event attributes (loaded and total).
      https://bugs.webkit.org/show_bug.cgi?id=120828
      
      Patch by Youenn Fablet <youennf@gmail.com> on 2014-01-10
      Reviewed by Alexey Proskuryakov.
      
      Tests for abort, load, loadstart and loadend ProgressEvent events for XMLHttpRequest and XMLHttpRequestUpload
      
      * fast/xmlhttprequest/xmlhttprequest-get-expected.txt: Changed to correct event values
      * http/tests/xmlhttprequest/loadstart-event-init-expected.txt: Added.
      * http/tests/xmlhttprequest/loadstart-event-init.html: Added.
      * http/tests/xmlhttprequest/onabort-progressevent-attributes-expected.txt: Added.
      * http/tests/xmlhttprequest/onabort-progressevent-attributes.html: Added.
      * http/tests/xmlhttprequest/onload-progressevent-attributes-expected.txt: Added.
      * http/tests/xmlhttprequest/onload-progressevent-attributes.html: Added.
      * http/tests/xmlhttprequest/upload-onabort-progressevent-attributes-expected.txt: Added.
      * http/tests/xmlhttprequest/upload-onabort-progressevent-attributes.html: Added.
      * http/tests/xmlhttprequest/upload-onload-progressevent-attributes-expected.txt: Added.
      * http/tests/xmlhttprequest/upload-onload-progressevent-attributes.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161668 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fceceae7
    • betravis@adobe.com's avatar
      [CSS Shapes] Change parseBasicShape to return a CSSPrimitiveValue · e49c74e2
      betravis@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126713
      
      Reviewed by Dirk Schulze.
      
      Avoid the duplicated code wrapping the CSSBasicShape in a CSSPrimitiveValue
      by having parseBasicShape return a CSSPrimitiveValue reference.
      
      Refactoring, no new tests.
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseShapeProperty):
      (WebCore::CSSParser::parseClipPath):
      (WebCore::CSSParser::parseBasicShape):
      * css/CSSParser.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e49c74e2
    • mario.prada@samsung.com's avatar
      Move platformName property from testRunner to accessibilityController · 67228f8d
      mario.prada@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126689
      
      Reviewed by Chris Fleizach.
      
      Tools:
      
      Move the platformName property from the testRunner into
      accessibilityController, since this is a concept that has only be
      used by accessibility tests since it got added, and also because
      the real intention was not to distinguish among "ports" (mac, win,
      gtk, efl) but between platforms (atk, mac, win).
      
      This change will be very useful to merge GTK's roles-exposed.html
      and Mac's role-subrole-roledescription.html into one single test,
      since we will be specifying in the test itself which elements are
      supported in which accessibility "platform". In this context,
      being able to check accessibilityController.platformName directly
      against a list of supported accessibility platforms (e.g. "atk,mac")
      will certainly maintain the code cleaner and simpler.
      
      * DumpRenderTree/TestRunner.h:
      (TestRunner::platformName): Removed.
      * DumpRenderTree/TestRunner.cpp:
      (getPlatformNameCallback): Removed.
      (TestRunner::staticValues): Removed platformName
      * DumpRenderTree/efl/TestRunnerEfl.cpp:
      (TestRunner::platformName): Removed.
      * DumpRenderTree/gtk/TestRunnerGtk.cpp:
      (TestRunner::platformName): Removed.
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (TestRunner::platformName): Removed.
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (TestRunner::platformName): Removed.
      
      * DumpRenderTree/AccessibilityController.h:
      (AccessibilityController::platformName): Added.
      * DumpRenderTree/AccessibilityController.cpp:
      (getPlatformNameCallback): Added.
      (AccessibilityController::getJSClass): Added platformName.
      * DumpRenderTree/atk/AccessibilityControllerAtk.cpp:
      (AccessibilityController::platformName): Added, returning "atk".
      * DumpRenderTree/mac/AccessibilityControllerMac.mm:
      (AccessibilityController::platformName): Ditto, returning "mac".
      * DumpRenderTree/ios/AccessibilityControllerIOS.mm:
      (AccessibilityController::platformName): Ditto, returning "ios".
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::platformName): Ditto, returning "win".
      
      * WebKitTestRunner/InjectedBundle/Bindings/TestRunner.idl:
      (platformName): Removed.
      * WebKitTestRunner/InjectedBundle/TestRunner.h:
      (TestRunner::platformName): Removed.
      * WebKitTestRunner/InjectedBundle/efl/TestRunnerEfl.cpp:
      (TestRunner::platformName): Removed.
      * WebKitTestRunner/InjectedBundle/gtk/TestRunnerGtk.cpp:
      (TestRunner::platformName): Removed.
      * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm:
      (TestRunner::platformName): Removed.
      * WebKitTestRunner/InjectedBundle/win/TestRunnerWin.cpp:
      (TestRunner::platformName): Removed.
      
      * WebKitTestRunner/InjectedBundle/AccessibilityController.h:
      (WTR:AccessibilityController::platformName): Added.
      * WebKitTestRunner/InjectedBundle/Bindings/AccessibilityController.idl:
      (platformName): Added.
      * WebKitTestRunner/InjectedBundle/atk/AccessibilityControllerAtk.cpp:
      (WTR::AccessibilityController::platformName): Added, returning "atk".
      * WebKitTestRunner/InjectedBundle/mac/AccessibilityControllerMac.mm:
      (WTR::AccessibilityController::platformName): Added, returning "mac".
      
      LayoutTests:
      
      Updated tests and expectations affected by the move of
      platformName from TestRunner to AccessibilityController.
      
      * accessibility/canvas-fallback-content.html:
      * accessibility/ignore-spacer-elements.html:
      * accessibility/platform-name.html:
      * platform/efl/accessibility/platform-name-expected.txt:
      * platform/gtk/accessibility/platform-name-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161666 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67228f8d
    • commit-queue@webkit.org's avatar
      Possible crash in ApplicationCache::removeResource. · 86f82069
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126695
      
      Patch by Piotr Grad <p.grad@samsung.com> on 2014-01-10
      Reviewed by Alexey Proskuryakov.
      
      No new tests.
      
      Iterator variable was used after it was removed.
      
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161665 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86f82069
    • dbates@webkit.org's avatar
      Another build fix for the Production Mac build following <http://trac.webkit.org/changeset/161638> · 4f003c3c
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      Move the logic for appending the port-specific IDL files {Touch, TouchEvent, TouchList}.idl to the
      list of binding IDLs (BINDING_IDLS) before the definition of variables DOM_CLASSES and JS_DOM_HEADERS
      so that we generate the DOM and JS bindings for these IDLs.
      
      * DerivedSources.make:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f003c3c
    • andersca@apple.com's avatar
      Remove supportMultipleWindows setting · fefbc4d0
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126772
      
      Reviewed by Beth Dakin.
      
      Source/WebCore:
      
      This setting was added in https://bugs.webkit.org/show_bug.cgi?id=99716 for the Chromium port
      and is unused by everyone else so get rid of it.
      
      * loader/FrameLoader.cpp:
      (WebCore::createWindow):
      * page/ContextMenuController.cpp:
      (WebCore::openNewWindow):
      * page/Settings.in:
      
      LayoutTests:
      
      * fast/dom/HTMLAnchorElement/anchor-no-multiple-windows-expected.txt: Removed.
      * fast/dom/HTMLAnchorElement/anchor-no-multiple-windows.html: Removed.
      * fast/dom/Window/window-open-no-multiple-windows-expected.txt: Removed.
      * fast/dom/Window/window-open-no-multiple-windows.html: Removed.
      * fast/forms/post-popup-no-multiple-windows-expected.txt: Removed.
      * fast/forms/post-popup-no-multiple-windows.html: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161663 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fefbc4d0
    • benjamin@webkit.org's avatar
      Remove the BlackBerry port from trunk · 049d8b3d
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-10
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      * dom/TouchEvent.cpp:
      (WebCore::TouchEvent::TouchEvent):
      (WebCore::TouchEvent::initTouchEvent):
      * dom/TouchEvent.h:
      * dom/ViewportArguments.cpp:
      * dom/ViewportArguments.h:
      * history/HistoryItem.h:
      * loader/PingLoader.cpp:
      (WebCore::PingLoader::loadImage):
      (WebCore::PingLoader::sendPing):
      (WebCore::PingLoader::sendViolationReport):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::createResourceHandle):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::load):
      * loader/icon/IconLoader.cpp:
      (WebCore::IconLoader::startLoading):
      * page/NavigatorBase.cpp:
      * page/Settings.cpp:
      * page/scrolling/ScrollingCoordinator.cpp:
      (WebCore::ScrollingCoordinator::create):
      * platform/Cursor.cpp:
      * platform/Cursor.h:
      (WebCore::Cursor::Cursor):
      * platform/DragData.h:
      * platform/DragImage.h:
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::defaultPluginDirectories):
      (WebCore::PluginDatabase::isPreferredPluginDirectory):
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::paintsIntoWindow):
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::shouldRespectImageOrientation):
      * testing/Internals.cpp:
      (WebCore::Internals::getCurrentCursorInfo):
      * workers/DefaultSharedWorkerRepository.cpp:
      (WebCore::SharedWorkerScriptLoader::load):
      * workers/Worker.cpp:
      (WebCore::Worker::create):
      * workers/WorkerGlobalScope.cpp:
      (WebCore::WorkerGlobalScope::importScripts):
      * workers/WorkerScriptLoader.cpp:
      (WebCore::WorkerScriptLoader::createResourceRequest):
      * workers/WorkerScriptLoader.h:
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::createRequest):
      
      Source/WebKit2: 
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::setCursor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      049d8b3d
    • benjamin@webkit.org's avatar
      Remove the BlackBerry port from trunk · 9fe5191d
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-10
      Reviewed by Anders Carlsson.
      
      .: 
      
      * CMakeLists.txt:
      
      Source/WebCore: 
      
      * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
      (WebCore::initProtocolHandlerWhitelist):
      * UseJSC.cmake:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
      * bindings/js/GCController.cpp:
      (WebCore::GCController::GCController):
      (WebCore::GCController::garbageCollectSoon):
      * bindings/js/GCController.h:
      
      Source/WebKit2: 
      
      * Scripts/generate-forwarding-headers.pl:
      
      Tools: 
      
      * Scripts/webkitpy/common/config/watchlist:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161661 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9fe5191d
    • dbates@webkit.org's avatar
      Fix the WebCore, WebKit build targets following <http://trac.webkit.org/changeset/161638> · 07d63ef1
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      Source/WebCore:
      
      Tell Xcode that the supported platforms for all WebKit targets are iOS and OS X.
      
      * Configurations/Base.xcconfig:
      
      Source/WebKit/mac:
      
      Tell Xcode that the supported platforms for all WebCore targets are iOS and OS X.
      
      * Configurations/Base.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161660 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07d63ef1
    • benjamin@webkit.org's avatar
      Remove the BlackBerry files outside WebCore · a88e433b
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126715
      
      Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-09
      Reviewed by Anders Carlsson.
      
      .: 
      
      * ManualTests/blackberry: Removed.
      * Source/cmake/OptionsBlackBerry.cmake: Removed.
      
      Source/JavaScriptCore: 
      
      * PlatformBlackBerry.cmake: Removed.
      * runtime/GCActivityCallbackBlackBerry.cpp: Removed.
      * shell/PlatformBlackBerry.cmake: Removed.
      
      Tools: 
      
      * DumpRenderTree/blackberry: Removed.
      
      LayoutTests: 
      
      * platform/blackberry: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161659 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a88e433b
    • aestes@apple.com's avatar
      [iOS] Upstream iOS changes to MigrateHeaders.make · 4476a957
      aestes@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126731
      
      Reviewed by David Kilzer.
      
      Source/WebCore:
      
      * WebCore.xcodeproj/project.pbxproj: Mark an iOS-specific header at
      Private that will later be migrated by WebKit.
      
      Source/WebKit/mac:
      
      * MigrateHeaders.make: Migrate iOS-specific headers when building for iOS.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4476a957
    • dbates@webkit.org's avatar
      Fix the Production Mac build following <http://trac.webkit.org/changeset/161638> · 099d97c6
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      Substitute JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production_ for JAVASCRIPTCORE_PRIVATE_HEADERS_Production_.
      
      * Configurations/WebCore.xcconfig:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      099d97c6
    • simon.fraser@apple.com's avatar
      Remove knowledge of Blackberry from build scripts · d6fb74d4
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126766
      
      Reviewed by Anders Carlsson.
      
      Remove isBlackBerry() and references to it, and rmeove
      blackberry-related stuff from the watchlist.
      
      * Scripts/build-webkit:
      * Scripts/webkit-build-directory:
      * Scripts/webkitdirs.pm:
      (determineBaseProductDir):
      (argumentsForConfiguration):
      (builtDylibPathForName):
      (isAppleWebKit):
      (buildCMakeProjectOrExit):
      (cmakeBasedPortArguments):
      (cmakeBasedPortName):
      * Scripts/webkitperl/FeatureList.pm:
      * Scripts/webkitpy/common/config/watchlist:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d6fb74d4
    • andersca@apple.com's avatar
      Add a missing include. · 1082fddd
      andersca@apple.com authored
      * Modules/webdatabase/DatabaseManager.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1082fddd
    • andersca@apple.com's avatar
      Use STL threading primitives in DatabaseDetails and DatabaseManager · bad11649
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126759
      
      Reviewed by Geoffrey Garen.
      
      * Modules/webdatabase/DatabaseDetails.h:
      (WebCore::DatabaseDetails::DatabaseDetails):
      (WebCore::DatabaseDetails::threadID):
      * Modules/webdatabase/DatabaseManager.cpp:
      (WebCore::DatabaseManager::existingDatabaseContextFor):
      (WebCore::DatabaseManager::registerDatabaseContext):
      (WebCore::DatabaseManager::unregisterDatabaseContext):
      (WebCore::DatabaseManager::didConstructDatabaseContext):
      (WebCore::DatabaseManager::didDestructDatabaseContext):
      (WebCore::DatabaseManager::addProposedDatabase):
      (WebCore::DatabaseManager::removeProposedDatabase):
      (WebCore::DatabaseManager::fullPathForDatabase):
      (WebCore::DatabaseManager::detailsForNameAndOrigin):
      * Modules/webdatabase/DatabaseManager.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bad11649
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r161629. · 2bb96da1
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/161629
      https://bugs.webkit.org/show_bug.cgi?id=126762
      
      Fails svg/custom/conditional-processing-2.html (Requested by
      ap on #webkit).
      
      Source/WebCore:
      
      * svg/SVGSwitchElement.cpp:
      (WebCore::SVGSwitchElement::childShouldCreateRenderer):
      * svg/SVGTests.cpp:
      (WebCore::SVGTests::hasExtension):
      (WebCore::SVGTests::isValid):
      
      LayoutTests:
      
      * svg/custom/conditional-processing-1-expected.txt: Removed.
      * svg/custom/conditional-processing-1.svg: Removed.
      * svg/custom/conditional-processing-2-expected.txt: Removed.
      * svg/custom/conditional-processing-2.html: Removed.
      * svg/dom/SVGTests-expected.txt: Removed.
      * svg/dom/SVGTests.html: Removed.
      * svg/dom/script-tests/SVGTests.js: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2bb96da1
    • changseok.oh@collabora.com's avatar
      Unreviewed build fix since r161589. · eee04422
      changseok.oh@collabora.com authored
      The changeset causes a compile failure with --no-svg.
      
      * platform/graphics/FontFastPath.cpp:
      (WebCore::Font::drawGlyphBuffer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eee04422
    • dbates@webkit.org's avatar
      [iOS] Fix up simulator build and enable default features · 38a2094d
      dbates@webkit.org authored
      Rubber-stamped by Joseph Pecoraro.
      
      * Scripts/webkitdirs.pm:
      (determineArchitecture):
      (determinePassedArchitecture):
      * Scripts/webkitperl/FeatureList.pm: Also expose command line option to toggle ENABLE_PLUGIN_PROXY_FOR_VIDEO (enabled
      by default only in iOS).
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38a2094d
    • ggaren@apple.com's avatar
      Removed Blackberry #ifdefs and platform code from JavaScriptCore · 94c78e51
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126757
      
      Reviewed by Sam Weinig.
      
      * PlatformBlackBerry.cmake: Removed.
      * heap/HeapTimer.cpp:
      * heap/HeapTimer.h:
      * heap/IncrementalSweeper.cpp:
      * heap/IncrementalSweeper.h:
      * jsc.cpp:
      (main):
      * runtime/GCActivityCallbackBlackBerry.cpp: Removed.
      * runtime/MemoryStatistics.cpp:
      (JSC::globalMemoryStatistics):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      94c78e51
    • bfulgham@apple.com's avatar
      [WebGL] Removing unnecessary pointer checks · 36807810
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=124046
      
      Patch by Przemyslaw Szymanski <p.szymanski3@samsung.com> on 2014-01-10
      Reviewed by Brent Fulgham.
      
      We do not need to check for a null array three times in
      the same call. Let's just do it once!
      
      No new tests. Covered by existing ones.
      
      * html/canvas/WebGLBuffer.cpp:
      (WebCore::WebGLBuffer::associateBufferData):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      36807810
    • bfulgham@apple.com's avatar
      Speculative build fix for Windows following <http://trac.webkit.org/changeset/161638> · 9e689d83
      bfulgham@apple.com authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      Patch by Daniel Bates <dabates@apple.com> on 2014-01-10
      Reviewed by David Kilzer.
      
      * bindings/scripts/preprocessor.pm:
      (applyPreprocessor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e689d83
    • dbates@webkit.org's avatar
      Speculative build fix for Windows following <http://trac.webkit.org/changeset/161638> · 8769b52d
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      * bindings/scripts/preprocessor.pm:
      (applyPreprocessor):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8769b52d
    • bfulgham@apple.com's avatar
      Unreviewed test correction after r161605. · bdda0da3
      bfulgham@apple.com authored
      * platform/mac/TestExpectations: Reactivate tests fixed by
      https://bugs.webkit.org/show_bug.cgi?id=126718.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdda0da3
    • bfulgham@apple.com's avatar
      [WebGL] Wrong condition order in the if statement · bc857d13
      bfulgham@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=125000
      
      Patch by Przemyslaw Szymanski <p.szymanski3@samsung.com> on 2014-01-10
      Reviewed by Brent Fulgham.
      
      We should only pay the cost of string comparison once. The
      current logic requires a string comparison every time we
      pass through the function. Instead, by reordering the statements
      we can short-circuit through the boolean test after the initial
      setup is complete.
      
      No new tests. No behaviour changes.
      
      * platform/graphics/opengl/Extensions3DOpenGLES.cpp:
      (WebCore::Extensions3DOpenGLES::supportsExtension):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc857d13
    • andersca@apple.com's avatar
      CTTE in AudioContext::AutoLocker · 08568d84
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126758
      
      Reviewed by Antti Koivisto.
      
      * Modules/webaudio/AudioBasicInspectorNode.cpp:
      (WebCore::AudioBasicInspectorNode::connect):
      (WebCore::AudioBasicInspectorNode::disconnect):
      * Modules/webaudio/AudioBufferSourceNode.cpp:
      (WebCore::AudioBufferSourceNode::setBuffer):
      * Modules/webaudio/AudioContext.cpp:
      (WebCore::AudioContext::refNode):
      (WebCore::AudioContext::deleteMarkedNodes):
      (WebCore::AudioContext::removeMarkedSummingJunction):
      * Modules/webaudio/AudioContext.h:
      (WebCore::AudioContext::AutoLocker::AutoLocker):
      (WebCore::AudioContext::AutoLocker::~AutoLocker):
      * Modules/webaudio/AudioNode.cpp:
      (WebCore::AudioNode::connect):
      (WebCore::AudioNode::disconnect):
      (WebCore::AudioNode::setChannelCount):
      (WebCore::AudioNode::setChannelCountMode):
      (WebCore::AudioNode::setChannelInterpretation):
      (WebCore::AudioNode::enableOutputsIfNecessary):
      * Modules/webaudio/MediaElementAudioSourceNode.cpp:
      (WebCore::MediaElementAudioSourceNode::setFormat):
      * Modules/webaudio/WaveShaperNode.cpp:
      (WebCore::WaveShaperNode::setOversample):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08568d84
    • antti@apple.com's avatar
      Use element iterators more · 71ed9351
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126756
      
      Reviewed by Anders Carlsson.
      
      * dom/VisitedLinkState.cpp:
      (WebCore::VisitedLinkState::invalidateStyleForAllLinks):
      (WebCore::VisitedLinkState::invalidateStyleForLink):
      * html/HTMLMeterElement.cpp:
      (WebCore::HTMLMeterElement::renderMeter):
      * html/HTMLProgressElement.cpp:
      (WebCore::HTMLProgressElement::renderProgress):
      * html/shadow/ContentDistributor.cpp:
      (WebCore::ContentDistributor::ensureInsertionPointList):
      * style/StyleResolveTree.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71ed9351
    • dbates@webkit.org's avatar
      Attempt to fix the iOS build after <http://trac.webkit.org/changeset/161589> · ac7839e9
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126654)
      
      * platform/audio/ios/AudioSessionIOS.mm: Import header PassOwnPtr.h so that we can use adoptPtr().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ac7839e9
    • dbates@webkit.org's avatar
      Attempt to fix the build after <http://trac.webkit.org/changeset/161638> · 391cbf34
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126698)
      
      Substitute tab characters for space characters.
      
      * DerivedSources.make:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      391cbf34
    • commit-queue@webkit.org's avatar
      [WinCairo] Crash when rendering (in pixman dll) · 59e4d22e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126750
      
      Patch by peavo@outlook.com <peavo@outlook.com> on 2014-01-10
      Reviewed by Brent Fulgham.
      
      Since we link with cairo.lib, and the gstreamer installation also comes with cairo.lib,
      we link with the wrong cairo.lib, and loads gstreamers cairo dll, instead of our own.
      We should user our own cairo dll for rendering.
      
      * win/tools/vsprops/GStreamer32.props: Put gstreamer lib path last, so we link with the correct cairo.lib.
      * win/tools/vsprops/GStreamer64.props: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59e4d22e
    • andersca@apple.com's avatar
      DOMWindow::showModalDialog should use std::function · 0c02cacc
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126753
      
      Reviewed by Antti Koivisto.
      
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::DialogHandler::dialogCreated):
      (WebCore::JSDOMWindow::showModalDialog):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::createWindow):
      (WebCore::DOMWindow::showModalDialog):
      * page/DOMWindow.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c02cacc
    • dbates@webkit.org's avatar
      [iOS] Upstream WebCore and Tools miscellaneous changes · f435ee15
      dbates@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126698
      
      Reviewed by David Kilzer.
      
      Source/WebCore:
      
      * Configurations/Base.xcconfig:
      * Configurations/WebCore.xcconfig:
      * Configurations/WebCoreTestSupport.xcconfig:
      * Configurations/iOS.xcconfig: Added.
      * DerivedSources.make:
      * English.lproj/Localizable.strings:
      * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp: Copied from Source/WebCore/editing/TextAffinity.h.
      (WebCore::stringForPlaybackTargetAvailability):
      (WebCore::WebKitPlaybackTargetAvailabilityEvent::WebKitPlaybackTargetAvailabilityEvent):
      * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h: Added.
      (WebCore::WebKitPlaybackTargetAvailabilityEventInit::WebKitPlaybackTargetAvailabilityEventInit):
      (WebCore::WebKitPlaybackTargetAvailabilityEvent::~WebKitPlaybackTargetAvailabilityEvent):
      (WebCore::WebKitPlaybackTargetAvailabilityEvent::create):
      (WebCore::WebKitPlaybackTargetAvailabilityEvent::availability):
      * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl: Copied from Source/WebCore/editing/DeleteButton.h.
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Geolocation):
      (WebCore::Geolocation::canSuspend):
      (WebCore::Geolocation::suspend):
      (WebCore::Geolocation::resume):
      (WebCore::Geolocation::resumeTimerFired):
      (WebCore::Geolocation::resetAllGeolocationPermission):
      (WebCore::Geolocation::stop):
      (WebCore::Geolocation::setIsAllowed):
      (WebCore::Geolocation::positionChanged):
      (WebCore::Geolocation::setError):
      * Modules/geolocation/Geolocation.h:
      * Modules/geolocation/NavigatorGeolocation.cpp:
      (WebCore::NavigatorGeolocation::resetAllGeolocationPermission):
      * Modules/geolocation/NavigatorGeolocation.h:
      * Modules/speech/SpeechSynthesis.cpp:
      (WebCore::SpeechSynthesis::SpeechSynthesis):
      (WebCore::SpeechSynthesis::speak):
      * Modules/speech/SpeechSynthesis.h:
      (WebCore::SpeechSynthesis::userGestureRequiredForSpeechStart):
      (WebCore::SpeechSynthesis::removeBehaviorRestriction):
      * Modules/webaudio/AudioContext.cpp:
      * Modules/webaudio/AudioContext.h:
      * Modules/webaudio/AudioScheduledSourceNode.cpp:
      * Modules/webdatabase/Database.cpp:
      * Modules/webdatabase/DatabaseBackendBase.cpp:
      (WebCore::DatabaseBackendBase::performOpenAndVerify):
      (WebCore::DatabaseBackendBase::incrementalVacuumIfNeeded):
      * Modules/webdatabase/DatabaseContext.cpp:
      (WebCore::DatabaseContext::DatabaseContext):
      (WebCore::DatabaseContext::databaseThread):
      (WebCore::DatabaseContext::setPaused):
      * Modules/webdatabase/DatabaseContext.h:
      * Modules/webdatabase/DatabaseManagerClient.h:
      * Modules/webdatabase/DatabaseTask.cpp:
      (WebCore::DatabaseTask::performTask):
      (WebCore::Database::DatabaseTransactionTask::shouldPerformWhilePaused):
      * Modules/webdatabase/DatabaseTask.h:
      * Modules/webdatabase/DatabaseThread.cpp:
      (WebCore::DatabaseThread::DatabaseThread):
      (WebCore::DatabaseThread::requestTermination):
      (WebCore::DatabaseUnpauseTask::create):
      (WebCore::DatabaseUnpauseTask::shouldPerformWhilePaused):
      (WebCore::DatabaseUnpauseTask::DatabaseUnpauseTask):
      (WebCore::DatabaseUnpauseTask::doPerformTask):
      (WebCore::DatabaseUnpauseTask::debugTaskName):
      (WebCore::DatabaseThread::setPaused):
      (WebCore::DatabaseThread::handlePausedQueue):
      (WebCore::DatabaseThread::databaseThread):
      * Modules/webdatabase/DatabaseThread.h:
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::setQuota):
      (WebCore::DatabaseTracker::deleteOrigin):
      (WebCore::DatabaseTracker::deleteDatabase):
      (WebCore::DatabaseTracker::deleteDatabaseFile):
      (WebCore::DatabaseTracker::removeDeletedOpenedDatabases):
      (WebCore::isZeroByteFile):
      (WebCore::DatabaseTracker::deleteDatabaseFileIfEmpty):
      (WebCore::DatabaseTracker::openDatabaseMutex):
      (WebCore::DatabaseTracker::emptyDatabaseFilesRemovalTaskWillBeScheduled):
      (WebCore::DatabaseTracker::emptyDatabaseFilesRemovalTaskDidFinish):
      (WebCore::DatabaseTracker::setDatabasesPaused):
      * Modules/webdatabase/DatabaseTracker.h:
      * Modules/webdatabase/SQLTransactionBackend.cpp:
      (WebCore::SQLTransactionBackend::shouldPerformWhilePaused):
      * Modules/webdatabase/SQLTransactionBackend.h:
      * Resources/DictationPhraseWithAlternativesDot.png: Added.
      * Resources/DictationPhraseWithAlternativesDot@2x.png: Added.
      * Resources/SpellingDot.png: Added.
      * Resources/SpellingDot@2x.png: Added.
      * Resources/decrementArrow.tiff: Added.
      * Resources/hScrollControl_left.png: Added.
      * Resources/hScrollControl_middle.png: Added.
      * Resources/hScrollControl_right.png: Added.
      * Resources/incrementArrow.tiff: Added.
      * Resources/markedLeft.png: Added.
      * Resources/markedMiddle.png: Added.
      * Resources/markedRight.png: Added.
      * Resources/vScrollControl_bottom.png: Added.
      * Resources/vScrollControl_middle.png: Added.
      * Resources/vScrollControl_top.png: Added.
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/GCController.cpp:
      (WebCore::GCController::garbageCollectNow):
      (WebCore::GCController::releaseExecutableMemory):
      * bindings/js/GCController.h:
      * bindings/js/JSCallbackData.h:
      (WebCore::JSCallbackData::~JSCallbackData):
      * bindings/js/JSDOMWindowBase.cpp:
      (WebCore::JSDOMWindowBase::supportsProfiling):
      (WebCore::JSDOMWindowBase::shouldInterruptScriptBeforeTimeout):
      (WebCore::JSDOMWindowBase::commonVM):
      (WebCore::JSDOMWindowBase::commonVMExists):
      (WebCore::JSDOMWindowBase::commonVMInternal):
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore::JSDOMWindow::touch):
      (WebCore::JSDOMWindow::touchList):
      * bindings/js/JSDeviceOrientationEventCustom.cpp:
      (WebCore::JSDeviceOrientationEvent::webkitCompassHeading):
      (WebCore::JSDeviceOrientationEvent::webkitCompassAccuracy):
      (WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
      * bindings/js/JSMainThreadExecState.h:
      * bindings/js/JSTouchCustom.cpp:
      * bindings/js/JSTouchListCustom.cpp:
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::didContinue):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::initializeThreading):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::handlePause):
      * bindings/js/ios/TouchConstructors.cpp: Added.
      * bindings/objc/DOM.mm:
      (WebCore::wkQuadFromFloatQuad):
      (WebCore::kit):
      (WebCore::min4):
      (WebCore::max4):
      (WebCore::emptyQuad):
      (-[WKQuadObject initWithQuad:]):
      (-[WKQuadObject quad]):
      (-[WKQuadObject boundingBox]):
      (-[DOMNode boundingBox]):
      (-[DOMNode absoluteQuad]):
      (-[DOMNode absoluteQuadAndInsideFixedPosition:]):
      (-[DOMNode boundingBoxUsingTransforms]):
      (-[DOMNode lineBoxQuads]):
      (-[DOMNode _linkElement]):
      (-[DOMNode hrefURL]):
      (-[DOMNode hrefTarget]):
      (-[DOMNode hrefFrame]):
      (-[DOMNode hrefLabel]):
      (-[DOMNode hrefTitle]):
      (-[DOMNode boundingFrame]):
      (-[DOMNode innerFrameQuad]):
      (-[DOMNode computedFontSize]):
      (-[DOMNode nextFocusNode]):
      (-[DOMNode previousFocusNode]):
      (-[DOMRange boundingBox]):
      (-[DOMRange renderedImageForcingBlackText:renderedImageForcingBlackText:]):
      (-[DOMElement _font]):
      (-[DOMHTMLLinkElement _mediaQueryMatchesForOrientation:]):
      (-[DOMHTMLLinkElement _mediaQueryMatches]):
      * bindings/objc/DOMEvents.h:
      * bindings/objc/DOMEvents.mm:
      (kitClass):
      * bindings/objc/DOMExtensions.h:
      * bindings/objc/DOMHTML.mm:
      (-[DOMHTMLElement scrollYOffset]):
      (-[DOMHTMLElement setScrollXOffset:scrollYOffset:]):
      (-[DOMHTMLElement setScrollXOffset:scrollYOffset:adjustForIOSCaret:]):
      (-[DOMHTMLElement absolutePosition::::]):
      (-[DOMHTMLInputElement _autocapitalizeType]):
      (-[DOMHTMLTextAreaElement _autocapitalizeType]):
      (-[DOMHTMLInputElement setValueWithChangeEvent:]):
      (-[DOMHTMLInputElement setValueAsNumberWithChangeEvent:]):
      * bindings/objc/DOMInternal.h:
      * bindings/objc/DOMInternal.mm:
      (wrapperCacheLock):
      (getDOMWrapper):
      (addDOMWrapper):
      (removeDOMWrapper):
      * bindings/objc/DOMPrivate.h:
      * bindings/objc/DOMUIKitExtensions.h: Added.
      * bindings/objc/DOMUIKitExtensions.mm: Added.
      * bindings/objc/PublicDOMInterfaces.h:
      * bindings/scripts/CodeGeneratorJS.pm:
      (GenerateHeaderContentHeader):
      (GenerateImplementationContentHeader):
      (GenerateHeader):
      (GenerateImplementation):
      (GenerateCallbackImplementation):
      * bindings/scripts/CodeGeneratorObjC.pm:
      (ReadPublicInterfaces):
      (GetClassName):
      (IsCoreFoundationType):
      (GetObjCType):
      (AddIncludesForType):
      (GenerateHeader):
      (GenerateImplementation):
      (WriteData):
      * bindings/scripts/IDLAttributes.txt:
      * bindings/scripts/preprocessor.pm:
      (applyPreprocessor):
      * bridge/objc/objc_class.mm:
      (JSC::Bindings::ObjcClass::fieldNamed):
      * bridge/objc/objc_instance.mm:
      * config.h:
      * dom/Document.cpp:
      (WebCore::Document::addAutoSizingNode):
      * dom/Document.h:
      * dom/Document.idl:
      * dom/ios/TouchEvents.cpp: Added.
      * editing/ApplyStyleCommand.cpp:
      (WebCore::ApplyStyleCommand::applyBlockStyle):
      * editing/CompositeEditCommand.cpp:
      (WebCore::EditCommandComposition::unapply):
      (WebCore::CompositeEditCommand::apply):
      (WebCore::CompositeEditCommand::inputText):
      (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
      (WebCore::CompositeEditCommand::moveParagraphs):
      * editing/CompositeEditCommand.h:
      * editing/DeleteButton.h:
      * editing/DeleteButtonController.cpp:
      (WebCore::DeleteButtonController::enable):
      (WebCore::DeleteButtonController::disable):
      * editing/DeleteSelectionCommand.cpp:
      (WebCore::DeleteSelectionCommand::doApply):
      * editing/DeleteSelectionCommand.h:
      * editing/EditAction.h:
      * editing/EditCommand.h:
      (WebCore::EditCommand::isInsertTextCommand):
      * editing/EditingStyle.cpp:
      * editing/Editor.cpp:
      (WebCore::ClearTextCommand::ClearTextCommand):
      (WebCore::ClearTextCommand::editingAction):
      (WebCore::ClearTextCommand::CreateAndApply):
      (WebCore::Editor::handleTextEvent):
      (WebCore::Editor::clearText):
      (WebCore::Editor::insertDictationPhrases):
      (WebCore::Editor::setDictationPhrasesAsChildOfElement):
      (WebCore::Editor::confirmMarkedText):
      (WebCore::Editor::setTextAsChildOfElement):
      (WebCore::Editor::notifyComponentsOnChangedSelection):
      (WebCore::Editor::ensureLastEditCommandHasCurrentSelectionIfOpenForMoreTyping):
      (WebCore::Editor::copy):
      (WebCore::Editor::setBaseWritingDirection):
      (WebCore::Editor::setComposition):
      (WebCore::Editor::showSpellingGuessPanel):
      (WebCore::Editor::markMisspellingsAfterTypingToWord):
      (WebCore::Editor::markMisspellingsOrBadGrammar):
      (WebCore::Editor::changeBackToReplacedString):
      (WebCore::Editor::updateMarkersForWordsAffectedByEditing):
      (WebCore::Editor::setIgnoreCompositionSelectionChange):
      (WebCore::Editor::changeSelectionAfterCommand):
      (WebCore::Editor::shouldChangeSelection):
      (WebCore::Editor::respondToChangedSelection):
      (WebCore::Editor::resolveTextCheckingTypeMask):
      * editing/Editor.h:
      * editing/EditorCommand.cpp:
      (WebCore::executeClearText):
      (WebCore::enabledCopy):
      (WebCore::enabledCut):
      (WebCore::enabledClearText):
      (WebCore::createCommandMap):
      * editing/FrameSelection.cpp:
      (WebCore::FrameSelection::FrameSelection):
      (WebCore::FrameSelection::setSelection):
      (WebCore::FrameSelection::modifyExtendingRight):
      (WebCore::FrameSelection::modifyExtendingForward):
      (WebCore::FrameSelection::modifyMovingRight):
      (WebCore::FrameSelection::modifyMovingForward):
      (WebCore::FrameSelection::modifyExtendingLeft):
      (WebCore::FrameSelection::modifyExtendingBackward):
      (WebCore::FrameSelection::modifyMovingLeft):
      (WebCore::FrameSelection::modifyMovingBackward):
      (WebCore::FrameSelection::setSelectedRange):
      (WebCore::FrameSelection::focusedOrActiveStateChanged):
      (WebCore::FrameSelection::updateAppearance):
      (WebCore::FrameSelection::shouldDeleteSelection):
      (WebCore::FrameSelection::revealSelection):
      (WebCore::FrameSelection::setSelectionFromNone):
      (WebCore::FrameSelection::shouldChangeSelection):
      (WebCore::FrameSelection::expandSelectionToElementContainingCaretSelection):
      (WebCore::FrameSelection::elementRangeContainingCaretSelection):
      (WebCore::FrameSelection::expandSelectionToWordContainingCaretSelection):
      (WebCore::FrameSelection::wordRangeContainingCaretSelection):
      (WebCore::FrameSelection::expandSelectionToStartOfWordContainingCaretSelection):
      (WebCore::FrameSelection::characterInRelationToCaretSelection):
      (WebCore::FrameSelection::characterBeforeCaretSelection):
      (WebCore::FrameSelection::characterAfterCaretSelection):
      (WebCore::FrameSelection::wordOffsetInRange):
      (WebCore::FrameSelection::spaceFollowsWordInRange):
      (WebCore::FrameSelection::selectionAtDocumentStart):
      (WebCore::FrameSelection::selectionAtSentenceStart):
      (WebCore::FrameSelection::selectionAtWordStart):
      (WebCore::FrameSelection::rangeByMovingCurrentSelection):
      (WebCore::FrameSelection::rangeByExtendingCurrentSelection):
      (WebCore::FrameSelection::selectRangeOnElement):
      (WebCore::FrameSelection::wordSelectionContainingCaretSelection):
      (WebCore::FrameSelection::actualSelectionAtSentenceStart):
      (WebCore::FrameSelection::rangeByAlteringCurrentSelection):
      (WebCore::FrameSelection::clearCurrentSelection):
      (WebCore::FrameSelection::setCaretBlinks):
      (WebCore::FrameSelection::setCaretColor):
      * editing/FrameSelection.h:
      (WebCore::FrameSelection::suppressCloseTyping):
      (WebCore::FrameSelection::restoreCloseTyping):
      (WebCore::FrameSelection::setUpdateAppearanceEnabled):
      (WebCore::FrameSelection::suppressScrolling):
      (WebCore::FrameSelection::restoreScrolling):
      * editing/InsertIntoTextNodeCommand.cpp:
      (WebCore::InsertIntoTextNodeCommand::doReapply):
      * editing/InsertIntoTextNodeCommand.h:
      * editing/InsertTextCommand.h:
      * editing/ReplaceSelectionCommand.cpp:
      (WebCore::ReplaceSelectionCommand::doApply):
      * editing/TextAffinity.h:
      * editing/TextCheckingHelper.cpp:
      * editing/TextGranularity.h:
      * editing/TextIterator.cpp:
      (WebCore::isRendererReplacedElement):
      * editing/TypingCommand.cpp:
      (WebCore::TypingCommand::ensureLastEditCommandHasCurrentSelectionIfOpenForMoreTyping):
      (WebCore::TypingCommand::markMisspellingsAfterTyping):
      (WebCore::TypingCommand::deleteKeyPressed):
      (WebCore::TypingCommand::forwardDeleteKeyPressed):
      (WebCore::FriendlyEditCommand::setEndingSelection):
      (WebCore::TypingCommand::setEndingSelectionOnLastInsertCommand):
      * editing/TypingCommand.h:
      * editing/VisiblePosition.h:
      (WebCore::operator<):
      (WebCore::operator>):
      (WebCore::operator<=):
      (WebCore::operator>=):
      * editing/VisibleSelection.cpp:
      (WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity):
      (WebCore::VisibleSelection::adjustSelectionToAvoidCrossingEditingBoundaries):
      * editing/VisibleUnits.cpp:
      (WebCore::previousBoundary):
      (WebCore::nextBoundary):
      (WebCore::startOfDocument):
      (WebCore::endOfDocument):
      (WebCore::directionIsDownstream):
      (WebCore::atBoundaryOfGranularity):
      (WebCore::withinTextUnitOfGranularity):
      (WebCore::nextCharacterBoundaryInDirection):
      (WebCore::nextWordBoundaryInDirection):
      (WebCore::nextSentenceBoundaryInDirection):
      (WebCore::nextLineBoundaryInDirection):
      (WebCore::nextParagraphBoundaryInDirection):
      (WebCore::nextDocumentBoundaryInDirection):
      (WebCore::positionOfNextBoundaryOfGranularity):
      (WebCore::enclosingTextUnitOfGranularity):
      (WebCore::distanceBetweenPositions):
      (WebCore::wordRangeFromPosition):
      (WebCore::closestWordBoundaryForPosition):
      * editing/VisibleUnits.h:
      * editing/ios/DictationCommandIOS.cpp: Added.
      * editing/ios/DictationCommandIOS.h: Added.
      (WebCore::DictationCommandIOS::create):
      (WebCore::DictationCommandIOS::editingAction):
      * editing/mac/FrameSelectionMac.mm:
      (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
      * fileapi/AsyncFileStream.cpp:
      * generate-export-file: Added.
      * inspector/InspectorCounters.h:
      * inspector/InspectorFrontendHost.h:
      * make-export-file-generator:
      * plugins/PluginPackage.h:
      * plugins/PluginViewBase.h:
      (WebCore::PluginViewBase::willProvidePluginLayer):
      (WebCore::PluginViewBase::attachPluginLayer):
      (WebCore::PluginViewBase::detachPluginLayer):
      * style/StyleResolveForDocument.cpp:
      (WebCore::Style::resolveForDocument):
      * style/StyleResolveTree.cpp:
      (WebCore::Style::elementImplicitVisibility):
      * testing/Internals.cpp:
      (WebCore::Internals::getCurrentCursorInfo):
      (WebCore::Internals::isSelectPopupVisible):
      * workers/WorkerThread.cpp:
      (WebCore::WorkerThread::workerThread):
      
      Source/WebKit:
      
      * WebKit.xcodeproj/project.pbxproj:
      
      Source/WebKit/mac:
      
      * MigrateHeaders.make:
      
      Tools:
      
      * Scripts/check-for-inappropriate-objc-class-names:
      * Scripts/check-for-webkit-framework-include-consistency:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f435ee15
    • dbates@webkit.org's avatar
      Fix the iOS build after <http://trac.webkit.org/changeset/161589> · 6729a757
      dbates@webkit.org authored
      (https://bugs.webkit.org/show_bug.cgi?id=126654)
      
      * platform/graphics/ios/MediaPlayerPrivateIOS.h:
      (WebCore::MediaPlayerPrivateIOS::engineDescription): Adding missing return keyword.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6729a757
    • abucur@adobe.com's avatar
      [CSS Regions] Remove unused CSSParser::parseFlowThread · 7c733966
      abucur@adobe.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126749
      
      Reviewed by Antti Koivisto.
      
      There are two versions of CSSParser::parseFlowThread. Remove the unused one:
      bool parseFlowThread(const String& flowName);
      
      Tests: No tests, code cleanup.
      
      * css/CSSParser.cpp:
      * css/CSSParser.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7c733966
    • commit-queue@webkit.org's avatar
      [WinCairo] Build fix after r161589. · d1d4dc70
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=126747
      
      Patch by Alex Christensen <achristensen@webkit.org> on 2014-01-10
      Reviewed by Anders Carlsson.
      
      * platform/network/ResourceHandle.cpp:
      Include NotImplemented.h for all platforms.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d1d4dc70
    • andersca@apple.com's avatar
      Convert some for loops over to range-based for · 1ad64849
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=126752
      
      Reviewed by Antti Koivisto.
      
      * inspector/InspectorApplicationCacheAgent.cpp:
      (WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::clearStorageID):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
      (WebCore::ApplicationCacheGroup::clearStorageID):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::fillResourceList):
      * loader/appcache/ApplicationCacheResource.cpp:
      (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::cacheGroupForURL):
      * loader/archive/ArchiveFactory.cpp:
      (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::styleAvailable):
      (WebCore::AnimationControllerPrivate::startTimeResponse):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@161634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ad64849