Timeline
Jan 11, 2014:
- 11:31 PM Changeset in webkit [161804] by
-
- 2 edits in trunk/Source/WebKit2
Support bool argument for encoding/decoding invocations.
https://bugs.webkit.org/show_bug.cgi?id=126823
Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-01-11
Reviewed by Sam Weinig.
For remote invocation method argument, current we support int, double and ObjC
object, this patch add support for bool type too.
- Shared/API/Cocoa/WKRemoteObjectCoder.mm:
(encodeInvocation):
(decodeInvocationArguments):
- 11:15 PM Changeset in webkit [161803] by
-
- 3 edits in trunk/WebKitLibraries
[Mac] [Windows] Stop scheduling network requests in WebCore
https://bugs.webkit.org/show_bug.cgi?id=126789
<rdar://problem/15114727>
Update Windows WKSI.
- win/include/WebKitSystemInterface/WebKitSystemInterface.h:
- win/lib32/WebKitSystemInterface.lib:
- 11:15 PM Changeset in webkit [161802] by
-
- 2 edits in trunk/Source/WTF
Unreviewed build fix for ports using GCC after r161770.
- wtf/IteratorAdaptors.h:
(WTF::FilterIterator::operator*): Replicating r161797, the const qualifier for
FilterIterator::operator*() is removed since it clashes with some iterator types
that are also const, causing compilation failures with GCC.
- 10:30 PM Changeset in webkit [161801] by
-
- 4 edits in trunk/Source
Use std::call_once instead of AtomicallyInitializedStatic when creating a HTTP header set
https://bugs.webkit.org/show_bug.cgi?id=126837
Reviewed by Sam Weinig.
Source/WebCore:
Use std::call_once when constructing the HTTPHeaderSet.
- loader/CrossOriginAccessControl.cpp:
(WebCore::isOnAccessControlResponseHeaderWhitelist):
Source/WTF:
- wtf/HashSet.h:
(WTF::HashSet::HashSet):
Add a HashSet constructor that takes an initializer list.
- 9:59 PM Changeset in webkit [161800] by
-
- 3 edits in trunk/Source/WebCore
[iOS] Do not link to ApplicationServices.framework for iOS
<http://webkit.org/b/126835>
Reviewed by Dan Bernstein.
- Configurations/WebCore.xcconfig:
(OTHER_LDFLAGS_macosx): Add -framework ApplicationServices.
- WebCore.xcodeproj/project.pbxproj: Remove reference to
ApplicationServices.framework.
- 9:27 PM Changeset in webkit [161799] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Build fix for StyleResolver.cpp
- rendering/style/RenderStyle.h:
(WebCore::RenderStyle::setCompositionFillColor): Added.
- 8:56 PM Changeset in webkit [161798] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fix build of RenderLayerCompositor::registerAllViewportConstrainedLayers()
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::registerAllViewportConstrainedLayers):
Fix use of std::make_unique<>() and add an adoptPtr() call.
- 8:33 PM Changeset in webkit [161797] by
-
- 2 edits in trunk/Source/WTF
Fix the EFL build.
- wtf/IteratorAdaptors.h:
(WTF::TransformIterator::operator*):
- 8:20 PM Changeset in webkit [161796] by
-
- 23 edits in trunk
[Mac] [Windows] Stop scheduling network requests in WebCore
https://bugs.webkit.org/show_bug.cgi?id=126789
<rdar://problem/15114727>
Source/WebCore:
Reviewed by Sam Weinig.
We'll just send all requests to CFNetwork now, along with associated priorities.
- WebCore.exp.in: WebKitSystemInterface functions are changing to support priorities
for more than just pipelining.
- loader/ResourceLoadScheduler.cpp:
(WebCore::ResourceLoadScheduler::scheduleLoad):
- platform/ios/WebCoreSystemInterfaceIOS.mm:
- platform/mac/WebCoreSystemInterface.h:
- platform/mac/WebCoreSystemInterface.mm:
- platform/network/ResourceHandle.h: For syncronous requests, make it so that they
don't count against HTTP connection limit, to avoid the possibility of hanging the process.
- platform/network/cf/ResourceHandleCFNet.cpp:
(WebCore::ResourceHandle::createCFURLConnection):
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::platformLoadResourceSynchronously):
- platform/network/cf/ResourceRequestCFNet.cpp:
(WebCore::ResourceRequest::doUpdatePlatformRequest):
(WebCore::ResourceRequest::doUpdateResourceRequest):
(WebCore::initializeMaximumHTTPConnectionCountPerHost):
(WebCore::initializeHTTPConnectionSettingsOnStartup):
- platform/network/cf/ResourceRequestCFNet.h:
(WebCore::toPlatformRequestPriority):
- platform/network/mac/ResourceHandleMac.mm:
(WebCore::ResourceHandle::createNSURLConnection):
(WebCore::ResourceHandle::start):
(WebCore::ResourceHandle::platformLoadResourceSynchronously):
- platform/network/mac/ResourceRequestMac.mm:
(WebCore::ResourceRequest::doUpdateResourceRequest):
(WebCore::ResourceRequest::doUpdatePlatformRequest):
Source/WebKit/mac:
Reviewed by Sam Weinig.
- WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated
for new WKSI function names.
Source/WebKit2:
Reviewed by Sam Weinig.
- NetworkProcess/mac/NetworkResourceLoadSchedulerMac.mm:
(WebKit::NetworkResourceLoadScheduler::platformInitializeMaximumHTTPConnectionCountPerHost):
We no longer need the trick with 7 connections, as synchronous requests always have
the right of way.
- UIProcess/API/C/WKContext.cpp: Removed long obsolete functions.
- WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: (InitWebCoreSystemInterface):
Updated for new WKSI function names.
WebKitLibraries:
Update WKSI.
- WebKitSystemInterface.h:
- libWebKitSystemInterfaceLion.a:
- libWebKitSystemInterfaceMavericks.a:
- libWebKitSystemInterfaceMountainLion.a:
- 8:13 PM Changeset in webkit [161795] by
-
- 3 edits in trunk/Source/WebCore
[iOS] Fix build failure in WebCore::findEndWordBoundary()
Filed Bug 126830 for the proper fix:
<http://webkit.org/b/126830>
- editing/VisibleUnits.cpp:
(WebCore::endWordBoundary): Switch back to using
WebCore::findWordBoundary() on iOS.
- platform/text/mac/TextBoundaries.mm:
(WebCore::findEndWordBoundary): Add FIXME for iOS implementation
that doesn't use NSAttributedString.
- 7:53 PM Changeset in webkit [161794] by
-
- 3 edits1 add in trunk/LayoutTests
[WebGL] Correct uniform input validation for texture sampler uniforms
https://bugs.webkit.org/show_bug.cgi?id=126775
Reviewed by Anders Carlsson.
- fast/canvas/webgl/uniform-samplers-test-expected.txt: Added.
- fast/canvas/webgl/uniform-samplers-test.html: Corrected resource
includes when moving from khronos suite to our fast suite.
- resources/js-test-pre.js:
(expectTrue): Added.
- 7:23 PM Changeset in webkit [161793] by
-
- 3 edits in trunk/Source/JavaScriptCore
Try again to fix the build.
- inspector/InspectorAgentRegistry.cpp:
- inspector/InspectorAgentRegistry.h:
- 7:00 PM Changeset in webkit [161792] by
-
- 3 edits in trunk/Source/JavaScriptCore
Try to prevent the Vector copy constructor from being instantiated.
- inspector/InspectorAgentRegistry.cpp:
(Inspector::InspectorAgentRegistry::InspectorAgentRegistry):
- inspector/InspectorAgentRegistry.h:
- 6:56 PM Changeset in webkit [161791] by
-
- 3 edits in trunk/Source/JavaScriptCore
Try something else.
- inspector/InspectorAgentRegistry.cpp:
(Inspector::InspectorAgentRegistry::~InspectorAgentRegistry):
- inspector/InspectorAgentRegistry.h:
- 6:51 PM Changeset in webkit [161790] by
-
- 6 edits in trunk/Source/WebCore
[iOS] Move text autosizing code from RenderBlock to RenderBlockFlow
https://bugs.webkit.org/show_bug.cgi?id=126829
Reviewed by Sam Weinig.
Some newly-upstreamed iOS text autosizing code needs to move to
RenderBlockFlow in order to build.
- rendering/RenderBlock.cpp:
(WebCore::RenderBlock::RenderBlock):
- rendering/RenderBlock.h:
- rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::RenderBlockFlow):
(WebCore::isVisibleRenderText):
(WebCore::resizeTextPermitted):
(WebCore::RenderBlockFlow::immediateLineCount):
(WebCore::isNonBlocksOrNonFixedHeightListItems):
(WebCore::oneLineTextMultiplier):
(WebCore::textMultiplier):
(WebCore::RenderBlockFlow::adjustComputedFontSizes):
- rendering/RenderBlockFlow.h:
(WebCore::RenderBlockFlow::resetComputedFontSize):
- rendering/RenderObject.cpp:
(WebCore::RenderObject::adjustComputedFontSizesOnBlocks):
(WebCore::RenderObject::resetTextAutosizing):
- 6:51 PM Changeset in webkit [161789] by
-
- 5 edits3 adds in trunk
[JSC] Revise typed array implementations to match ECMAScript and WebGL Specification
https://bugs.webkit.org/show_bug.cgi?id=126754
Patch by Dean Jackson <dino@apple.com> on 2014-01-11
Reviewed by Filip Pizlo.
Source/JavaScriptCore:
The ECMAScript specification forbids calling the typed array
constructors without using "new". Change the call data to return
none so we throw and exception in these cases.
- runtime/JSGenericTypedArrayViewConstructorInlines.h:
(JSC::JSGenericTypedArrayViewConstructor<ViewClass>::getCallData):
LayoutTests:
New test which checks that we throw an exception when calling
any of the typed array constructors without using "new".
- js/script-tests/typedarray-constructors.js: Added.
- js/typedarray-constructors-expected.txt: Added.
- js/typedarray-constructors.html: Added.
- resources/standalone-pre.js: Add missing 'shouldNotThrow'
method (duplicated from resources/js-test-pre.js)
- 6:49 PM Changeset in webkit [161788] by
-
- 3 edits in trunk/Source/JavaScriptCore
Try to fix the build by introducing a constructor.
- inspector/InspectorAgentRegistry.cpp:
(Inspector::InspectorAgentRegistry::InspectorAgentRegistry):
- inspector/InspectorAgentRegistry.h:
- 6:43 PM Changeset in webkit [161787] by
-
- 2 edits in trunk/Source/JavaScriptCore
- inspector/InspectorAgentRegistry.h:
Remove an unused function.
- 6:25 PM Changeset in webkit [161786] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fix the build
Only call CGContextFlush() when building for OS X < 10.9.
- platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
(WebCore::ImageBufferBackingStoreCache::deallocate):
- 5:54 PM Changeset in webkit [161785] by
-
- 4 edits1 add in trunk
Add support for null StringViews
https://bugs.webkit.org/show_bug.cgi?id=126827
Reviewed by Anders Carlsson.
Source/WTF:
- Do some style cleanup while in the neighborhood.
- wtf/text/StringView.h:
(WTF::StringView::StringView):
Add default constructor to create a null StringView.
(WTF::StringView::isNull):
Add isNull(), matching the semantics of String.
(WTF::StringView::operator bool):
Add an explicit operator bool() to allow use in if-statements.
Tools:
Add new test for StringView.
- TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
- TestWebKitAPI/Tests/WTF/StringView.cpp: Added.
(TestWebKitAPI::TEST):
- 4:54 PM Changeset in webkit [161784] by
-
- 39 edits in trunk/Source
InspectorAgentRegistry should use std::unique_ptr
https://bugs.webkit.org/show_bug.cgi?id=126826
Reviewed by Sam Weinig.
Source/JavaScriptCore:
- inspector/InspectorAgentRegistry.cpp:
(Inspector::InspectorAgentRegistry::append):
- inspector/InspectorAgentRegistry.h:
- inspector/JSGlobalObjectInspectorController.cpp:
(Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController):
- inspector/agents/InspectorAgent.h:
Source/WebCore:
- inspector/InspectorApplicationCacheAgent.h:
- inspector/InspectorCSSAgent.h:
- inspector/InspectorCanvasAgent.h:
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
- inspector/InspectorDOMAgent.h:
- inspector/InspectorDOMDebuggerAgent.cpp:
- inspector/InspectorDOMDebuggerAgent.h:
- inspector/InspectorDOMStorageAgent.h:
- inspector/InspectorDatabaseAgent.h:
- inspector/InspectorHeapProfilerAgent.cpp:
- inspector/InspectorHeapProfilerAgent.h:
- inspector/InspectorIndexedDBAgent.h:
- inspector/InspectorInputAgent.h:
- inspector/InspectorLayerTreeAgent.h:
- inspector/InspectorMemoryAgent.cpp:
- inspector/InspectorMemoryAgent.h:
- inspector/InspectorPageAgent.cpp:
- inspector/InspectorPageAgent.h:
- inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::create):
- inspector/InspectorProfilerAgent.h:
- inspector/InspectorResourceAgent.h:
- inspector/InspectorTimelineAgent.h:
- inspector/InspectorWorkerAgent.cpp:
- inspector/InspectorWorkerAgent.h:
- inspector/PageConsoleAgent.h:
- inspector/PageDebuggerAgent.cpp:
- inspector/PageDebuggerAgent.h:
- inspector/PageRuntimeAgent.h:
- inspector/WorkerConsoleAgent.h:
- inspector/WorkerDebuggerAgent.cpp:
- inspector/WorkerDebuggerAgent.h:
- inspector/WorkerInspectorController.cpp:
(WebCore::WorkerInspectorController::WorkerInspectorController):
- inspector/WorkerRuntimeAgent.h:
- 2:56 PM Changeset in webkit [161783] by
-
- 8 edits1 copy1 add in trunk/Source/WebCore
Extract the FormatConverter class out of GraphicsContext3D.cpp and into its own file
https://bugs.webkit.org/show_bug.cgi?id=126820
Patch by Sam Weinig <sam@webkit.org> on 2014-01-11
Reviewed by Anders Carlsson.
- CMakeLists.txt:
- GNUmakefile.list.am:
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- WebCore.xcodeproj/project.pbxproj:
- platform/graphics/FormatConverter.cpp: Copied from Source/WebCore/platform/graphics/GraphicsContext3D.cpp.
(WebCore::convertFloatToHalfFloat):
(WebCore::FormatConverter::convert):
- platform/graphics/FormatConverter.h: Copied from Source/WebCore/platform/graphics/GraphicsContext3D.cpp.
(WebCore::FormatConverter::FormatConverter):
(WebCore::FormatConverter::success):
- platform/graphics/GraphicsContext3D.cpp:
(WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
(WebCore::GraphicsContext3D::computeImageSizeInBytes):
(WebCore::GraphicsContext3D::packImageData):
(WebCore::GraphicsContext3D::extractImageData):
(WebCore::GraphicsContext3D::extractTextureData):
(WebCore::GraphicsContext3D::packPixels):
- platform/graphics/GraphicsContext3D.h:
(WebCore::GraphicsContext3D::hasAlpha):
(WebCore::GraphicsContext3D::hasColor):
- 1:58 PM Changeset in webkit [161782] by
-
- 2 edits in branches/jsCStack/Source/JavaScriptCore
Eliminate obviously redundant InvalidationPoints
https://bugs.webkit.org/show_bug.cgi?id=126825
Not yet reviewed.
- dfg/DFGCSEPhase.cpp:
(JSC::DFG::CSEPhase::invalidationPointElimination):
(JSC::DFG::CSEPhase::performNodeCSE):
- 1:03 PM Changeset in webkit [161781] by
-
- 1 edit1 add in branches/jsCStack/Source/JavaScriptCore
Unreviewed, add a test for InvalidationPoint in the FTL.
Probably there are other tests that cover this in various ways and it's possible
that we're just not running those tests in the FTL, yet. But anyway I think it's
good to have an FTL-specific test for this.
- tests/stress/invalidation-point.js: Added.
(foo):
(Thingy):
(Thingy.prototype.f):
(possiblyDoBadThings.Thingy.prototype.f):
(possiblyDoBadThings):
- 12:59 PM Changeset in webkit [161780] by
-
- 2 edits in trunk/Source/WebCore
Fix updateScrollingLayerWithClient() for iOS.
- rendering/RenderLayerCompositor.cpp:
(WebCore::updateScrollingLayerWithClient):
- 12:59 PM Changeset in webkit [161779] by
-
- 11 edits in trunk/Source
Unfork GraphicsContext::drawNativeImage for iOS
https://bugs.webkit.org/show_bug.cgi?id=126824
Reviewed by Dean Jackson.
GraphicsContext::drawNativeImage had a different signature for iOS,
which required #ifdefs at all the call sites. Unfork by passing the "scale"
parameter everywhere (it's only used on iOS).
Source/WebCore:
- WebCore.exp.in:
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawImage):
- platform/graphics/GraphicsContext.h:
- platform/graphics/cg/BitmapImageCG.cpp:
(WebCore::BitmapImage::draw):
- platform/graphics/cg/GraphicsContext3DCG.cpp:
(WebCore::GraphicsContext3D::paintToCanvas):
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::GraphicsContext::platformInit):
- platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::ImageBuffer::draw):
- platform/graphics/ios/IconIOS.mm:
(WebCore::Icon::paint):
Source/WebKit2:
- Shared/API/c/cg/WKImageCG.cpp:
(WKImageCreateFromCGImage):
- 12:59 PM Changeset in webkit [161778] by
-
- 2 edits in trunk/Source/WebCore
Work around USE(CFNETWORK) build failure on iOS.
- platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
(WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForResponseToAuthenticationChallenge):
- 12:56 PM Changeset in webkit [161777] by
-
- 3 edits1 add in trunk/Source/ThirdParty
[iOS] Upstream gtest
<http://webkit.org/b/126811>
Reviewed by Mark Rowe.
- gtest/xcode/Config/General.xcconfig: Include iOS.xcconfig.
- gtest/xcode/Config/iOS.xcconfig: Added.
- gtest/xcode/gtest.xcodeproj/project.pbxproj: Add iOS.xcconfig.
Sort.
- 12:31 PM Changeset in webkit [161776] by
-
- 4 edits in branches/jsCStack/Source/JavaScriptCore
FTL tier-up should behave the same with CountExecution's as it does without
https://bugs.webkit.org/show_bug.cgi?id=126822
Not yet reviewed.
CountExecution nodes are inserted by the profiler. Prior to this change, their
presence would change how we inserted CheckTierUp nodes, since a CountExecution
might be inserted before a LoopHint thereby making it so the LoopHint was no
longer at the top of a loop header. This makes the code resilient against such
things. The result is that when you enable the profiler, you get the same OSR
behavior as with the profiler disabled.
- dfg/DFGNode.h:
(JSC::DFG::Node::isSemanticallySkippable):
- dfg/DFGOSREntrypointCreationPhase.cpp:
(JSC::DFG::OSREntrypointCreationPhase::run):
- dfg/DFGTierUpCheckInjectionPhase.cpp:
(JSC::DFG::TierUpCheckInjectionPhase::run):
- 12:05 PM Changeset in webkit [161775] by
-
- 2 edits in trunk/Source/WebCore
Fix LegacyWebArchive.cpp:567:91: error: calling 'utf8' with incomplete return type 'WTF::CString'
- loader/archive/cf/LegacyWebArchive.cpp:
- 12:03 PM Changeset in webkit [161774] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fix the easy half of the build errors in RenderBlock.cpp
- rendering/RenderBlock.cpp:
(WebCore::isNonBlocksOrNonFixedHeightListItems):
(WebCore::oneLineTextMultiplier):
(WebCore::textMultiplier):
(WebCore::RenderBlock::adjustComputedFontSizes):
- 11:56 AM Changeset in webkit [161773] by
-
- 7 edits in trunk/Source/WebCore
Change touch-related headers to include WebKitAdditions headers,
which have been renamed to have IOS suffixes.
- WebCore.xcodeproj/project.pbxproj:
- bindings/js/ios/TouchConstructors.cpp:
- dom/Touch.h:
- dom/TouchEvent.h:
- dom/TouchList.h:
- dom/ios/TouchEvents.cpp:
- 11:48 AM Changeset in webkit [161772] by
-
- 2 edits in trunk
[Mac] xcodebuild color output is suppressed when using make
https://bugs.webkit.org/show_bug.cgi?id=126815
Reviewed by Anders Carlsson.
WHen using make, xcodebuild’s output is piped through a filter, which causes it not to
format its output with color and emphasis.
- Makefile.shared: Pass COLOR_DIAGNOSTICS=YES to xcodebuild to force color output on. Due to
xcodebuild limitations, this restores some of the formatting, but not all of it.
- 11:31 AM Changeset in webkit [161771] by
-
- 8 edits in trunk/Source/WebCore
ScriptDebugServer should use a separate member function for its timer handler
https://bugs.webkit.org/show_bug.cgi?id=126819
Reviewed by Sam Weinig.
It's weird to have subclasses override a timer handler and sometimes invoke
the timer handler directly so make it a separate member function instead.
- bindings/js/PageScriptDebugServer.cpp:
(WebCore::PageScriptDebugServer::recompileAllJSFunctions):
- bindings/js/PageScriptDebugServer.h:
- bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::ScriptDebugServer):
(WebCore::ScriptDebugServer::recompileAllJSFunctionsTimerFired):
- bindings/js/ScriptDebugServer.h:
- bindings/js/WorkerScriptDebugServer.cpp:
(WebCore::WorkerScriptDebugServer::addListener):
(WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
- bindings/js/WorkerScriptDebugServer.h:
- inspector/InspectorProfilerAgent.cpp:
(WebCore::InspectorProfilerAgent::start):
- 11:17 AM Changeset in webkit [161770] by
-
- 10 edits2 moves in trunk/Source
Clean up iterator filter / iterator range code
https://bugs.webkit.org/show_bug.cgi?id=126817
Reviewed by Anders Carlsson.
Source/WebKit2:
- Shared/APIArray.h:
Update elementsOfType() to use combination of FilterIterator and TransformIterator
(now that FilterIterator no longer has a transform predicate) and make use of the
makeFoo() helpers.
Source/WTF:
- Renames IteratorPair to IteratorRange.
- Splits FilterIterator into FilterIterator (which now only filters) and TransformIterator (which does the transform part of the old FilterIterator). Move both of these to IteratorAdaptors.h
- GNUmakefile.list.am:
- WTF.vcxproj/WTF.vcxproj:
- WTF.vcxproj/WTF.vcxproj.filters:
- WTF.xcodeproj/project.pbxproj:
- wtf/CMakeLists.txt:
- wtf/FilterIterator.h: Removed.
Add/remove files.
- wtf/HashMap.h:
(WTF::HashMap::keys):
(WTF::HashMap::values):
- wtf/RefPtrHashMap.h:
Update for rename to IteratorRange. Simplify by using makeIteratorRange().
- wtf/IteratorAdaptors.h: Copied from wtf/FilterIterator.h.
(WTF::FilterIterator::FilterIterator):
(WTF::FilterIterator::operator*):
(WTF::makeFilterIterator):
(WTF::TransformIterator::TransformIterator):
(WTF::TransformIterator::operator++):
(WTF::TransformIterator::operator*):
(WTF::TransformIterator::operator==):
(WTF::TransformIterator::operator!=):
(WTF::makeTransformIterator):
Split up filtering and transforming. Add makeFilterIterator() and makeTransformIterator()
helpers.
- wtf/IteratorPair.h: Removed.
- wtf/IteratorRange.h: Copied from wtf/IteratorPair.h.
(WTF::IteratorRange::IteratorRange):
(WTF::makeIteratorRange):
Renamed to IteratorRange and adds makeIteratorRange() helper.
- 11:16 AM Changeset in webkit [161769] by
-
- 4 edits in trunk/Source
Simplify Timer and DeferrableOneShotTimer using std::function
https://bugs.webkit.org/show_bug.cgi?id=126816
Reviewed by Sam Weinig.
Source/WebCore:
- platform/Timer.h:
(WebCore::Timer::Timer):
Source/WebKit2:
Add another unexported symbol.
- Configurations/WebKit2.xcconfig:
- 10:19 AM Changeset in webkit [161768] by
-
- 133 edits in trunk/Source/WebCore
CTTE Timer and DeferrableOneShotTimer
https://bugs.webkit.org/show_bug.cgi?id=126814
Reviewed by Antti Koivisto.
Add new Timer and DeferrableOneShotTimer constructors whose member function pointers
take a reference instead of a pointer.
Also, convert a bunch of classes over to using these new constructors.
- Modules/encryptedmedia/MediaKeySession.cpp:
(WebCore::MediaKeySession::keyRequestTimerFired):
(WebCore::MediaKeySession::addKeyTimerFired):
- Modules/encryptedmedia/MediaKeySession.h:
- Modules/geolocation/Geolocation.cpp:
(WebCore::Geolocation::GeoNotifier::timerFired):
(WebCore::Geolocation::resumeTimerFired):
- Modules/geolocation/Geolocation.h:
- Modules/indexeddb/IDBTransactionBackend.cpp:
(WebCore::IDBTransactionBackend::taskTimerFired):
- Modules/indexeddb/IDBTransactionBackend.h:
- Modules/mediasource/SourceBuffer.cpp:
(WebCore::SourceBuffer::appendBufferTimerFired):
- Modules/mediasource/SourceBuffer.h:
- Modules/notifications/Notification.cpp:
(WebCore::Notification::taskTimerFired):
- Modules/notifications/Notification.h:
- Modules/notifications/NotificationCenter.cpp:
(WebCore::NotificationCenter::NotificationRequestCallback::timerFired):
- Modules/notifications/NotificationCenter.h:
- accessibility/AXObjectCache.cpp:
(WebCore::AXObjectCache::notificationPostTimerFired):
- accessibility/AXObjectCache.h:
- css/CSSFontSelector.cpp:
(WebCore::CSSFontSelector::beginLoadTimerFired):
- css/CSSFontSelector.h:
- css/CSSImageGeneratorValue.cpp:
(WebCore::CSSImageGeneratorValue::CachedGeneratedImage::evictionTimerFired):
- css/CSSImageGeneratorValue.h:
- dom/Document.cpp:
(WebCore::Document::visualUpdatesSuppressionTimerFired):
(WebCore::Document::styleRecalcTimerFired):
(WebCore::Document::optimizedStyleSheetUpdateTimerFired):
(WebCore::Document::sharedObjectPoolClearTimerFired):
(WebCore::Document::styleResolverThrowawayTimerFired):
(WebCore::Document::updateFocusAppearanceTimerFired):
(WebCore::Document::resetHiddenFocusElementTimer):
(WebCore::Document::pendingTasksTimerFired):
(WebCore::Document::fullScreenChangeDelayTimerFired):
(WebCore::Document::loadEventDelayTimerFired):
(WebCore::Document::didAssociateFormControlsTimerFired):
- dom/Document.h:
- dom/EventSender.h:
(WebCore::EventSender::timerFired):
- dom/GenericEventQueue.cpp:
(WebCore::GenericEventQueue::timerFired):
- dom/GenericEventQueue.h:
- dom/ScriptRunner.cpp:
(WebCore::ScriptRunner::timerFired):
- dom/ScriptRunner.h:
- dom/ScriptedAnimationController.cpp:
(WebCore::ScriptedAnimationController::animationTimerFired):
- dom/ScriptedAnimationController.h:
- editing/AlternativeTextController.cpp:
(WebCore::AlternativeTextController::timerFired):
- editing/AlternativeTextController.h:
- editing/FrameSelection.cpp:
(WebCore::FrameSelection::caretBlinkTimerFired):
- editing/FrameSelection.h:
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
- html/HTMLMediaElement.h:
- html/HTMLPlugInElement.cpp:
(WebCore::HTMLPlugInElement::swapRendererTimerFired):
- html/HTMLPlugInElement.h:
- html/HTMLPlugInImageElement.cpp:
(WebCore::HTMLPlugInImageElement::removeSnapshotTimerFired):
(WebCore::HTMLPlugInImageElement::simulatedMouseClickTimerFired):
- html/HTMLPlugInImageElement.h:
- html/HTMLSourceElement.cpp:
(WebCore::HTMLSourceElement::errorEventTimerFired):
- html/HTMLSourceElement.h:
- html/HTMLTrackElement.cpp:
(WebCore::HTMLTrackElement::loadTimerFired):
- html/HTMLTrackElement.h:
- html/MediaController.cpp:
(MediaController::asyncEventTimerFired):
(MediaController::clearPositionTimerFired):
(MediaController::timeupdateTimerFired):
- html/MediaController.h:
- html/MediaDocument.cpp:
(WebCore::MediaDocument::replaceMediaElementTimerFired):
- html/MediaDocument.h:
- html/parser/HTMLParserScheduler.cpp:
(WebCore::HTMLParserScheduler::continueNextChunkTimerFired):
- html/parser/HTMLParserScheduler.h:
- html/shadow/MediaControlElementTypes.cpp:
(WebCore::MediaControlSeekButtonElement::seekTimerFired):
- html/shadow/MediaControlElementTypes.h:
- html/shadow/MediaControlElements.cpp:
(WebCore::MediaControlPanelElement::transitionTimerFired):
(WebCore::MediaControlTextTrackContainerElement::updateTimerFired):
- html/shadow/MediaControlElements.h:
- html/shadow/MediaControls.cpp:
(WebCore::MediaControls::hideFullscreenControlsTimerFired):
- html/shadow/MediaControls.h:
- html/track/LoadableTextTrack.cpp:
(WebCore::LoadableTextTrack::loadTimerFired):
- html/track/LoadableTextTrack.h:
- inspector/InspectorCSSAgent.cpp:
(WebCore::UpdateRegionLayoutTask::UpdateRegionLayoutTask):
(WebCore::UpdateRegionLayoutTask::timerFired):
(WebCore::ChangeRegionOversetTask::ChangeRegionOversetTask):
(WebCore::ChangeRegionOversetTask::timerFired):
- inspector/InspectorDOMAgent.cpp:
(WebCore::RevalidateStyleAttributeTask::RevalidateStyleAttributeTask):
(WebCore::RevalidateStyleAttributeTask::timerFired):
- inspector/InspectorFrontendClientLocal.cpp:
(WebCore::InspectorBackendDispatchTask::InspectorBackendDispatchTask):
(WebCore::InspectorBackendDispatchTask::timerFired):
- loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
- loader/DocumentLoader.h:
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::checkTimerFired):
- loader/FrameLoader.h:
- loader/ImageLoader.cpp:
(WebCore::ImageLoader::timerFired):
- loader/ImageLoader.h:
- loader/LinkLoader.cpp:
(WebCore::LinkLoader::linkLoadTimerFired):
(WebCore::LinkLoader::linkLoadingErrorTimerFired):
- loader/LinkLoader.h:
- loader/NavigationScheduler.cpp:
(WebCore::NavigationScheduler::timerFired):
- loader/NavigationScheduler.h:
- loader/PingLoader.cpp:
(WebCore::PingLoader::PingLoader):
- loader/PingLoader.h:
(WebCore::PingLoader::timeoutTimerFired):
- loader/ProgressTracker.cpp:
(WebCore::ProgressTracker::progressHeartbeatTimerFired):
- loader/ProgressTracker.h:
- loader/ResourceLoadScheduler.cpp:
(WebCore::ResourceLoadScheduler::requestTimerFired):
- loader/ResourceLoadScheduler.h:
- loader/cache/CachedResource.cpp:
(WebCore::CachedResource::decodedDataDeletionTimerFired):
(WebCore::CachedResource::CachedResourceCallback::timerFired):
- loader/cache/CachedResource.h:
- loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
- loader/cache/CachedResourceLoader.h:
- loader/icon/IconDatabase.cpp:
(WebCore::IconDatabase::syncTimerFired):
- loader/icon/IconDatabase.h:
- page/AutoscrollController.cpp:
(WebCore::AutoscrollController::autoscrollTimerFired):
- page/AutoscrollController.h:
- page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::timerFired):
- page/CaptionUserPreferences.h:
- page/DeviceController.cpp:
(WebCore::DeviceController::fireDeviceEvent):
- page/DeviceController.h:
- page/EventHandler.cpp:
(WebCore::EventHandler::cursorUpdateTimerFired):
(WebCore::EventHandler::autoHideCursorTimerFired):
(WebCore::EventHandler::fakeMouseMoveEventTimerFired):
(WebCore::EventHandler::hoverTimerFired):
- page/EventHandler.h:
- page/EventSource.cpp:
(WebCore::EventSource::connectTimerFired):
- page/EventSource.h:
- page/FrameView.cpp:
(WebCore::FrameView::deferredRepaintTimerFired):
(WebCore::FrameView::layoutTimerFired):
(WebCore::FrameView::postLayoutTimerFired):
- page/FrameView.h:
- page/PageThrottler.cpp:
(WebCore::PageThrottler::throttleHysteresisTimerFired):
- page/PageThrottler.h:
- page/animation/AnimationController.cpp:
(WebCore::AnimationControllerPrivate::updateStyleIfNeededDispatcherFired):
(WebCore::AnimationControllerPrivate::animationTimerFired):
- page/animation/AnimationControllerPrivate.h:
- platform/Scrollbar.cpp:
(WebCore::Scrollbar::autoscrollTimerFired):
- platform/Scrollbar.h:
- platform/Timer.h:
(WebCore::Timer::Timer):
(WebCore::DeferrableOneShotTimer::DeferrableOneShotTimer):
- platform/graphics/BitmapImage.cpp:
(WebCore::BitmapImage::advanceAnimation):
- platform/graphics/BitmapImage.h:
- platform/graphics/MediaPlayer.cpp:
(WebCore::MediaPlayer::reloadTimerFired):
- platform/graphics/MediaPlayer.h:
- platform/graphics/ca/mac/LayerPool.h:
- platform/graphics/ca/mac/LayerPool.mm:
(WebCore::LayerPool::pruneTimerFired):
- platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
(WebCore::ImageBufferBackingStoreCache::timerFired):
- platform/graphics/cg/ImageBufferBackingStoreCache.h:
- platform/graphics/cg/SubimageCacheWithTimer.cpp:
(WebCore::SubimageCacheWithTimer::invalidateCacheTimerFired):
- platform/graphics/cg/SubimageCacheWithTimer.h:
- platform/graphics/mac/MediaPlayerPrivateQTKit.h:
- platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
(WebCore::MediaPlayerPrivateQTKit::seekTimerFired):
- platform/mac/ScrollAnimatorMac.h:
- platform/mac/ScrollAnimatorMac.mm:
(WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
(WebCore::ScrollAnimatorMac::initialScrollbarPaintTimerFired):
(WebCore::ScrollAnimatorMac::sendContentAreaScrolledTimerFired):
- platform/mock/DeviceOrientationClientMock.cpp:
(WebCore::DeviceOrientationClientMock::timerFired):
- platform/mock/DeviceOrientationClientMock.h:
- platform/network/NetworkStateNotifier.h:
- platform/network/ResourceHandle.cpp:
(WebCore::ResourceHandle::failureTimerFired):
- platform/network/ResourceHandle.h:
- platform/network/ResourceHandleInternal.h:
(WebCore::ResourceHandleInternal::ResourceHandleInternal):
- platform/network/mac/NetworkStateNotifierMac.cpp:
(WebCore::NetworkStateNotifier::networkStateChangeTimerFired):
- rendering/ImageQualityController.cpp:
(WebCore::ImageQualityController::highQualityRepaintTimerFired):
- rendering/ImageQualityController.h:
- rendering/RenderButton.cpp:
(WebCore::RenderButton::timerFired):
- rendering/RenderButton.h:
- rendering/RenderLayerCompositor.cpp:
(WebCore::RenderLayerCompositor::updateCompositingLayersTimerFired):
(WebCore::RenderLayerCompositor::layerFlushTimerFired):
(WebCore::RenderLayerCompositor::paintRelatedMilestonesTimerFired):
- rendering/RenderLayerCompositor.h:
- rendering/RenderMarquee.cpp:
(WebCore::RenderMarquee::timerFired):
- rendering/RenderMarquee.h:
- rendering/RenderNamedFlowThread.cpp:
(WebCore::RenderNamedFlowThread::regionLayoutUpdateEventTimerFired):
(WebCore::RenderNamedFlowThread::regionOversetChangeEventTimerFired):
- rendering/RenderNamedFlowThread.h:
- rendering/RenderProgress.cpp:
(WebCore::RenderProgress::animationTimerFired):
- rendering/RenderProgress.h:
- 8:58 AM Changeset in webkit [161767] by
-
- 4 edits in trunk/Source/WebCore
- dom/Touch.h:
- dom/TouchEvent.h:
- dom/TouchList.h:
- 8:58 AM Changeset in webkit [161766] by
-
- 3 edits in trunk/Source/WebCore
No need to include <ApplicationServices/ApplicationServices.h> in
the header. Can use <CoreGraphics/CoreGraphics.h> in the .cpp file.
- platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
- platform/graphics/cg/ImageBufferBackingStoreCache.h:
- 8:58 AM Changeset in webkit [161765] by
-
- 4 edits in trunk/Source/WebCore
Fix DOM headers: TARGET_OS_EMBEDDED -> TARGET_OS_IPHONE
and a drive-by cleanup of DOMUIKitExtensions.mm #includes.
- bindings/objc/DOMPrivate.h:
- bindings/objc/DOMUIKitExtensions.h:
- bindings/objc/DOMUIKitExtensions.mm:
- 8:29 AM Changeset in webkit [161764] by
-
- 2 edits in trunk/Source/WebCore
Fix use of GL_HALF_FLOAT_ARB on iOS.
- platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::texSubImage2D):
- 8:29 AM Changeset in webkit [161763] by
-
- 2 edits in trunk/Source/WebCore
Fix build of SourceBufferPrivateAVFObjC.mm on iOS.
- platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
- 8:29 AM Changeset in webkit [161762] by
-
- 2 edits in trunk/Source/WebCore
Fix use of nonexistent kCGColorSpaceSRGB on iOS.
- platform/graphics/cg/GraphicsContextCG.cpp:
(WebCore::sRGBColorSpaceRef):
- 7:51 AM Changeset in webkit [161761] by
-
- 6 edits in trunk/Source/WebCore
Web Inspector: Some ScriptDebugServer Cleanup
https://bugs.webkit.org/show_bug.cgi?id=126793
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-01-11
Reviewed by Timothy Hatcher.
- bindings/js/PageScriptDebugServer.cpp:
(WebCore::PageScriptDebugServer::didContinue):
(WebCore::PageScriptDebugServer::runEventLoopWhilePaused):
Move the special iOS WebThread EventLoop nesting handling here.
- bindings/js/ScriptDebugServer.cpp:
(WebCore::ScriptDebugServer::ScriptDebugServer):
(WebCore::ScriptDebugServer::handlePause):
- bindings/js/ScriptDebugServer.h:
- inspector/InspectorDebuggerAgent.cpp:
- inspector/InspectorDebuggerAgent.h:
Remove unused headers and functions.
- 6:17 AM Changeset in webkit [161760] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Add USE(IOSURFACE_CANVAS_BACKING_STORE) to fix build
- platform/graphics/cg/ImageBufferCG.cpp:
(WebCore::ImageBuffer::ImageBuffer): The 'width' and 'height'
variables are only used by code protected by
USE(IOSURFACE_CANVAS_BACKING_STORE).
- 5:02 AM Changeset in webkit [161759] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Multisampling is not available on iOS
- platform/graphics/mac/GraphicsContext3DMac.mm:
(WebCore::GraphicsContext3D::GraphicsContext3D):
- 12:52 AM Changeset in webkit [161758] by
-
- 23 edits in trunk/Source/WebKit2
[EFL][WK2] Use nullptr instead of 0 in EFL API layer
https://bugs.webkit.org/show_bug.cgi?id=126806
Reviewed by Anders Carlsson.
- UIProcess/API/efl/EwkView.cpp:
(EwkView::create):
- UIProcess/API/efl/ewk_auth_request.cpp:
(ewk_auth_request_suggested_username_get):
(ewk_auth_request_realm_get):
(ewk_auth_request_host_get):
- UIProcess/API/efl/ewk_back_forward_list.cpp:
(ewk_back_forward_list_current_item_get):
(ewk_back_forward_list_previous_item_get):
(ewk_back_forward_list_next_item_get):
(ewk_back_forward_list_item_at_index_get):
(ewk_back_forward_list_n_back_items_copy):
(ewk_back_forward_list_n_forward_items_copy):
- UIProcess/API/efl/ewk_back_forward_list_item.cpp:
(ewk_back_forward_list_item_url_get):
(ewk_back_forward_list_item_title_get):
(ewk_back_forward_list_item_original_url_get):
- UIProcess/API/efl/ewk_context.cpp:
(ewk_context_cookie_manager_get):
(ewk_context_database_manager_get):
(ewk_context_favicon_database_get):
(ewk_context_storage_manager_get):
(ewk_context_new_with_injected_bundle_path):
- UIProcess/API/efl/ewk_context_menu.cpp:
(ewk_context_menu_items_get):
- UIProcess/API/efl/ewk_context_menu_item.cpp:
(ewk_context_menu_item_new_with_submenu):
(ewk_context_menu_item_title_get):
(ewk_context_menu_item_parent_menu_get):
(ewk_context_menu_item_submenu_get):
- UIProcess/API/efl/ewk_download_job.cpp:
(ewk_download_job_request_get):
(ewk_download_job_response_get):
(ewk_download_job_destination_get):
(ewk_download_job_suggested_filename_get):
- UIProcess/API/efl/ewk_error.cpp:
(ewk_error_url_get):
(ewk_error_description_get):
- UIProcess/API/efl/ewk_file_chooser_request.cpp:
(ewk_file_chooser_request_accepted_mimetypes_get):
- UIProcess/API/efl/ewk_form_submission_request.cpp:
(ewk_form_submission_request_field_names_get):
(ewk_form_submission_request_field_value_get):
- UIProcess/API/efl/ewk_navigation_data.cpp:
(ewk_navigation_data_title_get):
(ewk_navigation_data_original_request_get):
(ewk_navigation_data_url_get):
- UIProcess/API/efl/ewk_navigation_policy_decision.cpp:
(ewk_navigation_policy_frame_name_get):
(ewk_navigation_policy_request_get):
- UIProcess/API/efl/ewk_object.cpp:
(ewk_object_ref):
- UIProcess/API/efl/ewk_popup_menu.cpp:
(ewk_popup_menu_items_get):
- UIProcess/API/efl/ewk_popup_menu_item.cpp:
(ewk_popup_menu_item_text_get):
(ewk_popup_menu_item_tooltip_get):
(ewk_popup_menu_item_accessibility_text_get):
- UIProcess/API/efl/ewk_security_origin.cpp:
(ewk_security_origin_host_get):
(ewk_security_origin_protocol_get):
- UIProcess/API/efl/ewk_settings.cpp:
(ewk_settings_default_text_encoding_name_get):
- UIProcess/API/efl/ewk_url_request.cpp:
(ewk_url_request_url_get):
(ewk_request_cookies_first_party_get):
(ewk_url_request_http_method_get):
- UIProcess/API/efl/ewk_url_response.cpp:
(ewk_url_response_url_get):
(ewk_url_response_mime_type_get):
- UIProcess/API/efl/ewk_url_scheme_request.cpp:
(ewk_url_scheme_request_scheme_get):
(ewk_url_scheme_request_url_get):
(ewk_url_scheme_request_path_get):
- UIProcess/API/efl/ewk_view.cpp:
(toEwkViewChecked):
(EWKViewGetWKView):
(ewk_view_smart_add):
(ewk_view_add_with_context):
(ewk_view_context_get):
(ewk_view_page_group_get):
(ewk_view_url_get):
(ewk_view_favicon_get):
(ewk_view_settings_get):
(ewk_view_title_get):
(ewk_view_theme_get):
(ewk_view_back_forward_list_get):
(ewk_view_custom_encoding_get):
(ewk_view_user_agent_get):
- 12:34 AM Changeset in webkit [161757] by
-
- 5 edits in tags/Safari-538.10.3/Source
Versioning.
- 12:31 AM Changeset in webkit [161756] by
-
- 1 copy in tags/Safari-538.10.3
New tag.
- 12:11 AM Changeset in webkit [161755] by
-
- 2 edits in trunk/Source/WebKit/efl
Build fix.
- WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::progressStarted):
Jan 10, 2014:
- 11:43 PM Changeset in webkit [161754] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fix build for HTMLImageElement::willRespondToMouseClickEvents()
- html/HTMLImageElement.cpp:
(WebCore::HTMLImageElement::willRespondToMouseClickEvents):
- 11:38 PM Changeset in webkit [161753] by
-
- 2 edits in trunk/Source/WebCore
Fix test crashes.
- loader/ProgressTracker.cpp:
(WebCore::ProgressTracker::~ProgressTracker):
Comment out the call to progressTrackerDestroyed for now.
- 11:34 PM Changeset in webkit [161752] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fix build for RenderEmbeddedObject::canHaveChildren()
- rendering/RenderEmbeddedObject.cpp:
(WebCore::RenderEmbeddedObject::canHaveChildren):
- 11:33 PM Changeset in webkit [161751] by
-
- 19 edits in trunk/Source
Tweak ProgressTrackerClient functions
https://bugs.webkit.org/show_bug.cgi?id=126808
Reviewed by Sam Weinig.
Source/WebCore:
Rename the three progress state related member functions since it's up to the various
WebKit implementations to decide what to do - not everyone wants to post a notification.
Also add an originating progress frame parameter since WebKit2 doesn't report progress for
subframe navigation and we need to be able to keep track of that.
Finally, tweak ProgressTracker::completeProgress to get rid of an unnecessary hash lookup.
- loader/EmptyClients.h:
- loader/ProgressTracker.cpp:
(WebCore::ProgressItem::ProgressItem):
(WebCore::ProgressTracker::progressStarted):
(WebCore::ProgressTracker::finalProgressComplete):
(WebCore::ProgressTracker::incrementProgress):
(WebCore::ProgressTracker::completeProgress):
- loader/ProgressTrackerClient.h:
Source/WebKit/efl:
- WebCoreSupport/FrameLoaderClientEfl.cpp:
(WebCore::FrameLoaderClientEfl::progressStarted):
(WebCore::FrameLoaderClientEfl::progressEstimateChanged):
(WebCore::FrameLoaderClientEfl::progressFinished):
- WebCoreSupport/FrameLoaderClientEfl.h:
Source/WebKit/gtk:
- WebCoreSupport/FrameLoaderClientGtk.cpp:
(WebKit::FrameLoaderClient::progressStarted):
(WebKit::FrameLoaderClient::progressEstimateChanged):
(WebKit::FrameLoaderClient::progressFinished):
- WebCoreSupport/FrameLoaderClientGtk.h:
Source/WebKit/mac:
- WebCoreSupport/WebFrameLoaderClient.h:
- WebCoreSupport/WebFrameLoaderClient.mm:
(WebFrameLoaderClient::progressStarted):
(WebFrameLoaderClient::progressEstimateChanged):
(WebFrameLoaderClient::progressFinished):
Source/WebKit/win:
- WebCoreSupport/WebFrameLoaderClient.cpp:
(WebFrameLoaderClient::progressStarted):
(WebFrameLoaderClient::progressEstimateChanged):
(WebFrameLoaderClient::progressFinished):
- WebCoreSupport/WebFrameLoaderClient.h:
Source/WebKit2:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::progressStarted):
(WebKit::WebFrameLoaderClient::progressEstimateChanged):
(WebKit::WebFrameLoaderClient::progressFinished):
- WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
- 11:27 PM Changeset in webkit [161750] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fix COMPILE_ASSERT by updating struct SameSizeAsStyleRareInheritedData
- rendering/style/StyleRareInheritedData.cpp:
- 11:05 PM Changeset in webkit [161749] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fix build of SubframeLoader.cpp
- loader/SubframeLoader.cpp:
(WebCore::SubframeLoader::loadMediaPlayerProxyPlugin):
(WebCore::SubframeLoader::loadPlugin):
- platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
- 10:56 PM Changeset in webkit [161748] by
-
- 2 edits in trunk/Source/WebCore
Fix Mac after r161747. One part of that is iOS specific.
Unreviewed build fix.
- bindings/js/GCController.cpp:
(WebCore::GCController::releaseExecutableMemory):
- 10:53 PM Changeset in webkit [161747] by
-
- 3 edits in trunk/Source/WebCore
[iOS] Fix GCController::releaseExecutableMemory
https://bugs.webkit.org/show_bug.cgi?id=126805
Reviewed by Sam Weinig and Mark Lam.
VM::dynamicGlobalObject has since been replaced by VMEntryScope.
Update to check entryScope instead of the dynamicGlobalObject.
Also, make this non-iOS only.
- bindings/js/GCController.h:
- bindings/js/GCController.cpp:
(WebCore::GCController::releaseExecutableMemory):
- 10:41 PM Changeset in webkit [161746] by
-
- 3 edits in trunk/Source/WebCore
Fix HTMLMediaElement.o for iOS. Unreviewed build fix.
There is now local variable mediaElement. Just call the
functions since they are methods on this class.
Fix RequireUserGestureToShowPlaybackTargetPickerRestriction typos.
- html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::parseAttribute):
- 10:33 PM Changeset in webkit [161745] by
-
- 2 edits in trunk/Source/WebKit2
Convert HandleMessage.h to use variadic templates
https://bugs.webkit.org/show_bug.cgi?id=126469
Reviewed by Anders Carlsson.
- Platform/IPC/HandleMessage.h:
(IPC::callMemberFunctionImpl):
(IPC::callMemberFunction):
Replace massive copy and pasted code with variadic magic.
- 10:33 PM Changeset in webkit [161744] by
-
- 27 edits1 add in trunk/Source
Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
https://bugs.webkit.org/show_bug.cgi?id=126801
Reviewed by Sam Weinig.
Source/WebCore:
- GNUmakefile.list.am:
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- WebCore.xcodeproj/project.pbxproj:
- loader/EmptyClients.cpp:
(WebCore::fillWithEmptyClients):
- loader/EmptyClients.h:
- loader/FrameLoaderClient.h:
- loader/ProgressTracker.cpp:
(WebCore::ProgressTracker::ProgressTracker):
(WebCore::ProgressTracker::~ProgressTracker):
(WebCore::ProgressTracker::progressStarted):
(WebCore::ProgressTracker::progressCompleted):
(WebCore::ProgressTracker::finalProgressComplete):
(WebCore::ProgressTracker::incrementProgress):
- loader/ProgressTracker.h:
- loader/ProgressTrackerClient.h: Added.
(WebCore::ProgressTrackerClient::~ProgressTrackerClient):
(WebCore::ProgressTrackerClient::progressTrackerDestroyed):
(WebCore::ProgressTrackerClient::willChangeEstimatedProgress):
(WebCore::ProgressTrackerClient::didChangeEstimatedProgress):
- page/Page.cpp:
(WebCore::Page::Page):
(WebCore::Page::PageClients::PageClients):
- page/Page.h:
Source/WebKit/efl:
- WebCoreSupport/FrameLoaderClientEfl.h:
- ewk/ewk_view.cpp:
(_ewk_view_priv_new):
Source/WebKit/gtk:
- WebCoreSupport/FrameLoaderClientGtk.h:
- webkit/webkitwebview.cpp:
(webkit_web_view_init):
Source/WebKit/mac:
- WebCoreSupport/WebFrameLoaderClient.h:
- WebView/WebView.mm:
(-[WebView _commonInitializationWithFrameName:groupName:]):
Source/WebKit/win:
- WebCoreSupport/WebFrameLoaderClient.h:
- WebView.cpp:
(WebView::initWithFrame):
Source/WebKit2:
- WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
- WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::WebPage):
- 10:18 PM Changeset in webkit [161743] by
-
- 2 edits in trunk/Source/WebCore
Fix RenderObject.o for iOS. Unreviewed build fix.
r156285 renamed firstChild() to firstChildSlow(), so update
occurances in IOS_TEXT_AUTOSIZING code. Also account for a
RenderObject::style reference / pointer change.
- rendering/RenderObject.cpp:
(WebCore::RenderObject::traverseNext):
(WebCore::includeNonFixedHeight):
- 10:08 PM Changeset in webkit [161742] by
-
- 2 edits in trunk/Source/WebCore
Fix MediaPlayerPrivateMediaSourceAVFObjC.o for iOS. Unreviewed build fix.
Import CALayer, which Mac must have been getting some other way.
- platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
- 10:02 PM Changeset in webkit [161741] by
-
- 2 edits in trunk/Source/WebCore
Fix TileGrid.o for iOS. Unreviewed build fix.
Explicitly use namespace std in std::pair.
- platform/ios/TileGrid.mm:
(WebCore::isFartherAway):
(WebCore::TileGrid::dropDistantTiles):
- 9:59 PM Changeset in webkit [161740] by
-
- 2 edits in trunk/Source/WebCore
Fix RenderImage.o for iOS. Unreviewed build fix.
inlineBoxWrapper() returns an InlineElementBox type, which is an InlineBox but
without including InlineElementBox.h, iOS didn't know what an InlineElementBox was!
- rendering/RenderImage.cpp:
- 9:53 PM Changeset in webkit [161739] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fix macros in Scrollbar::supportsUpdateOnSecondaryThread()
Fixes the following build error:
WebCore/platform/Scrollbar.cpp:552:22: error: 'MAC_OS_X_VERSION_MIN_REQUIRED' is not defined, evaluates to 0 [-Werror,-Wundef]
#if PLATFORM(MAC) && MAC_OS_X_VERSION_MIN_REQUIRED >= 101000 && ENABLE(ASYNC_SCROLLING)
- platform/Scrollbar.cpp:
(WebCore::Scrollbar::supportsUpdateOnSecondaryThread):
- 9:50 PM Changeset in webkit [161738] by
-
- 2 edits in trunk/Source/WebCore
Fix RenderFileUploadControl.o for iOS. Unreviewed build fix.
WebCore::theme() returns a reference now, not a pointer.
- rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject):
- 9:48 PM Changeset in webkit [161737] by
-
- 12 edits in branches/jsCStack
FTL should work with the bytecode profiler
https://bugs.webkit.org/show_bug.cgi?id=126804
Source/JavaScriptCore:
Reviewed by Sam Weinig.
Implement CountExecution in FTL and make the FTL report a compilation with some kind
of description to the database. This still leaves a lot to be desired; for example
the descriptions we report don't have disassembly. But, this small step already
allows for some basic profiling.
- dfg/DFGPlan.cpp:
(JSC::DFG::profilerCompilationKindForMode):
(JSC::DFG::Plan::Plan):
- ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
- ftl/FTLJITFinalizer.cpp:
(JSC::FTL::JITFinalizer::finalizeFunction):
- ftl/FTLLink.cpp:
(JSC::FTL::link):
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileCountExecution):
- profiler/ProfilerCompilation.cpp:
(JSC::Profiler::Compilation::addDescription):
- profiler/ProfilerCompilation.h:
- profiler/ProfilerCompilationKind.cpp:
(WTF::printInternal):
- profiler/ProfilerCompilationKind.h:
Tools:
Reviewed by Sam Weinig.
Teach this that there are more JITs.
- Scripts/display-profiler-output:
- 9:45 PM Changeset in webkit [161736] by
-
- 2 edits2 adds in trunk/Source/WebCore
Fix HTMLPlugInImageElement.o for iOS. Unreviewed build fix.
Forgot to upstream YouTubeEmbedShadowElement.*. Do so and
add the files to the Xcode project so they build.
- WebCore.xcodeproj/project.pbxproj:
- html/shadow/YouTubeEmbedShadowElement.cpp: Added.
(WebCore::YouTubeEmbedShadowElement::create):
(WebCore::YouTubeEmbedShadowElement::YouTubeEmbedShadowElement):
(WebCore::YouTubeEmbedShadowElement::pluginElement):
(WebCore::YouTubeEmbedShadowElement::shadowPseudoId):
- html/shadow/YouTubeEmbedShadowElement.h: Added.
- 9:34 PM Changeset in webkit [161735] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Update EditorIOS.mm to switch from pointers to references
- editing/ios/EditorIOS.mm:
(WebCore::Editor::setTextAlignmentForChangedBaseWritingDirection):
(WebCore::Editor::insertParagraphSeparatorInQuotedContent):
(WebCore::styleForSelectionStart):
(WebCore::Editor::selectionInWebArchiveFormat):
(WebCore::Editor::writeImageToPasteboard):
(WebCore::Editor::WebContentReader::readWebArchive):
(WebCore::Editor::WebContentReader::readRTFD):
(WebCore::Editor::WebContentReader::readRTF):
(WebCore::uniqueURLWithRelativePart):
(WebCore::Editor::WebContentReader::readPlainText):
(WebCore::Editor::webContentFromPasteboard):
(WebCore::Editor::createFragmentAndAddResources):
(WebCore::Editor::createFragmentForImageResourceAndAddResource):
- 9:33 PM Changeset in webkit [161734] by
-
- 3 edits in branches/jsCStack/Source/JavaScriptCore
Unreviewed, unbreak all tests by undoing some assertions junk in
http://trac.webkit.org/changeset/161732 and changing typo "node->function()"
which should have been "node->executable()".
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileCheckExecutable):
- runtime/Options.cpp:
(JSC::recomputeDependentOptions):
(JSC::Options::initialize):
- 9:18 PM Changeset in webkit [161733] by
-
- 27 edits2 moves5 adds in trunk/Source
Web Inspector: Push InspectorAgent down into JSC, give JSC an InspectorController
https://bugs.webkit.org/show_bug.cgi?id=126763
Reviewed by Timothy Hatcher.
Source/JavaScriptCore:
Introduce JSGlobalObjectInspectorController. This is the InspectorController
for a JSContext. It is created by the JSGlobalObject Remote Inspector Debuggable
when a remote frontend connects, and is destroyed when the remote frontend
disconnects of the JSGlobalObject is destroyed.
- inspector/JSGlobalObjectInspectorController.h: Added.
- inspector/JSGlobalObjectInspectorController.cpp: Added.
(Inspector::JSGlobalObjectInspectorController::JSGlobalObjectInspectorController):
(Inspector::JSGlobalObjectInspectorController::~JSGlobalObjectInspectorController):
(Inspector::JSGlobalObjectInspectorController::connectFrontend):
(Inspector::JSGlobalObjectInspectorController::disconnectFrontend):
(Inspector::JSGlobalObjectInspectorController::dispatchMessageFromFrontend):
(Inspector::JSGlobalObjectInspectorController::functionCallHandler):
(Inspector::JSGlobalObjectInspectorController::evaluateHandler):
Create/destory agents, create/destroy dispatches, implement InspectorEnvironment.
- runtime/JSGlobalObjectDebuggable.h:
- runtime/JSGlobalObjectDebuggable.cpp:
(JSC::JSGlobalObjectDebuggable::~JSGlobalObjectDebuggable):
(JSC::JSGlobalObjectDebuggable::connect):
(JSC::JSGlobalObjectDebuggable::disconnect):
(JSC::JSGlobalObjectDebuggable::dispatchMessageFromRemoteFrontend):
Forward actions to the InspectorController object.
- inspector/agents/InspectorAgent.h: Renamed from Source/WebCore/inspector/InspectorAgent.h.
- inspector/agents/InspectorAgent.cpp: Renamed from Source/WebCore/inspector/InspectorAgent.cpp.
(Inspector::InspectorAgent::InspectorAgent):
(Inspector::InspectorAgent::~InspectorAgent):
(Inspector::InspectorAgent::didCreateFrontendAndBackend):
(Inspector::InspectorAgent::inspect):
(Inspector::InspectorAgent::evaluateForTestInFrontend):
Implement InspectorAgent in JavaScriptCore in namespace Inspector.
- JavaScriptCore.xcodeproj/project.pbxproj:
- CMakeLists.txt:
- ChangeLog:
- GNUmakefile.am:
- GNUmakefile.list.am:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj:
- JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
- JavaScriptCore.vcxproj/copy-files.cmd:
Add files and new inspector/agents subdirectory.
Source/WebCore:
No new tests, no observable change in functionality.
- CMakeLists.txt:
- ForwardingHeaders/inspector/InspectorAgent.h: Added.
- GNUmakefile.list.am:
- WebCore.vcxproj/WebCore.vcxproj:
- WebCore.vcxproj/WebCore.vcxproj.filters:
- WebCore.xcodeproj/project.pbxproj:
- inspector/InspectorAllInOne.cpp:
InspectorAgent moved to JavaScriptCore.
- inspector/PageConsoleAgent.cpp:
(WebCore::PageConsoleAgent::PageConsoleAgent):
(WebCore::PageConsoleAgent::~PageConsoleAgent):
- inspector/PageConsoleAgent.h:
(WebCore::PageConsoleAgent::create):
- inspector/InspectorApplicationCacheAgent.cpp:
- inspector/InspectorApplicationCacheAgent.h:
InspectorAgent was not used by these files, remove it.
- inspector/CommandLineAPIHost.cpp:
- inspector/CommandLineAPIHost.h:
(WebCore::CommandLineAPIHost::init):
- inspector/InspectorInstrumentation.cpp:
- inspector/InstrumentingAgents.h:
(WebCore::InstrumentingAgents::inspectorAgent):
(WebCore::InstrumentingAgents::setInspectorAgent):
Switch to Inspector::InspectorAgent where applicable.
- inspector/InspectorController.cpp:
(WebCore::InspectorController::InspectorController):
- inspector/InspectorController.h:
Manually add InspectorAgent to the InstrumentingAgents. It is one
of the agents that is always available in InstrumentingAgents.
- 9:06 PM Changeset in webkit [161732] by
-
- 6 edits1 add in branches/jsCStack/Source/JavaScriptCore
FTL should enough things to compile inlined closure calls (like CheckExecutable and GetScope)
https://bugs.webkit.org/show_bug.cgi?id=126799
Reviewed by Oliver Hunt.
Added FTL support for CheckExecutable and GetScope because I wanted to compile
closure calls. But then I realized that closure call inlining was broken because
the baseline JIT would link the closure stubs to the slow path, thereby causing
the DFG's profiling to think that all closure calls are actually virtual calls.
Also fixed some hash() computing stuff to make debugging easier.
- ftl/FTLAbstractHeapRepository.h:
- ftl/FTLCapabilities.cpp:
(JSC::FTL::canCompile):
- ftl/FTLLowerDFGToLLVM.cpp:
(JSC::FTL::LowerDFGToLLVM::compileNode):
(JSC::FTL::LowerDFGToLLVM::compileCheckExecutable):
(JSC::FTL::LowerDFGToLLVM::compileGetScope):
- jit/Repatch.cpp:
(JSC::linkClosureCall):
- runtime/Options.cpp:
(JSC::recomputeDependentOptions):
(JSC::Options::initialize):
(JSC::Options::setOption):
- tests/stress/inline-closure-call.js: Added.
(bar):
- 9:02 PM Changeset in webkit [161731] by
-
- 3 edits2 adds in trunk/Source/WebCore
Add TextAutoSizing.* for iOS, and fix DeviceOrientationController creation.
- WebCore.xcodeproj/project.pbxproj:
- dom/Document.cpp:
(WebCore::Document::Document):
- rendering/TextAutoSizing.cpp: Added.
(WebCore::cloneRenderStyleWithState):
(WebCore::TextAutoSizingKey::TextAutoSizingKey):
(WebCore::TextAutoSizingKey::~TextAutoSizingKey):
(WebCore::TextAutoSizingKey::operator=):
(WebCore::TextAutoSizingKey::ref):
(WebCore::TextAutoSizingKey::deref):
(WebCore::TextAutoSizingValue::numNodes):
(WebCore::TextAutoSizingValue::addNode):
(WebCore::TextAutoSizingValue::adjustNodeSizes):
(WebCore::TextAutoSizingValue::reset):
- rendering/TextAutoSizing.h: Added.
(WebCore::TextAutoSizingKey::doc):
(WebCore::TextAutoSizingKey::style):
(WebCore::TextAutoSizingKey::isValidDoc):
(WebCore::TextAutoSizingKey::isValidStyle):
(WebCore::TextAutoSizingKey::deletedKeyDoc):
(WebCore::TextAutoSizingKey::deletedKeyStyle):
(WebCore::operator==):
(WebCore::TextAutoSizingHash::hash):
(WebCore::TextAutoSizingHash::equal):
(WebCore::TextAutoSizingValue::create):
(WebCore::TextAutoSizingValue::TextAutoSizingValue):
- 8:44 PM Changeset in webkit [161730] by
-
- 2 edits in trunk/Source/WebCore
Fix GraphicsLayerCA.o for iOS. Unreviewed build fix.
Use of systemMemoryLevel was missing include of SystemMemory.h.
- platform/graphics/ca/GraphicsLayerCA.cpp:
- 8:41 PM Changeset in webkit [161729] by
-
- 4 edits in trunk/Source/WebCore
Fix iOS build.
- bindings/objc/DOM.mm:
(-[DOMRange renderedImageForcingBlackText:renderedImageForcingBlackText:]):
- bindings/objc/DOMExtensions.h:
- platform/DragImage.h:
- 8:41 PM Changeset in webkit [161728] by
-
- 4 edits in trunk/Source/WebCore
Fix iOS build.
Generated DOMTouch* and DOMGesture* files need to be in the project.
Exclude them on Mac via EXCLUDED_SOURCE_FILE_NAMES_macosx.
Use TARGET_OS_IPHONE instead of TARGET_OS_EMBEDDED in DOMPrivate.h
- Configurations/WebCore.xcconfig:
- WebCore.xcodeproj/project.pbxproj:
- bindings/objc/DOMPrivate.h:
- 8:39 PM Changeset in webkit [161727] by
-
- 2 edits in trunk/Source/WebCore
Fix RenderThemeIOS.o for iOS. Unreviewed build fix.
Typo referring to generated name. Should be "iOS" not "IOS".
- rendering/RenderThemeIOS.mm:
(WebCore::RenderThemeIOS::mediaControlsScript):
- 8:31 PM Changeset in webkit [161726] by
-
- 2 edits in trunk/Source/WebCore
Fix WebAccessibilityObjectWrapperIOS.o for iOS. Unreviewed build fix.
The upstreamed WebAccessibilityObjectWrapperIOS.mm was out of date, e.g.
it was using GSFonts. Just upstream a newer version of the file. Also
explicitly namespace qualify std::pair.
- accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
(AXAttributeStringSetStyle):
- 8:26 PM Changeset in webkit [161725] by
-
- 3 edits in trunk/Source/WebCore
Remove willRespondToTouchEvents() which was used by chromium port
https://bugs.webkit.org/show_bug.cgi?id=126739
Reviewed by Alexey Proskuryakov.
willRespondToTouchEvents() was added to check if a node listens to touch events in r126945.
However, it is not used anywhere after chromium port is removed.
- dom/Node.cpp:
- dom/Node.h:
- 8:17 PM Changeset in webkit [161724] by
-
- 2 edits in trunk/Source/WebCore
Fix SystemVersionMac.o for iOS. Unreviewed build fix.
Add missing expected function. Maybe we can avoid including
this file entirely on iOS, there was already a FIXME.
- platform/mac/SystemVersionMac.mm:
(WebCore::systemMarketingVersion):
- 8:13 PM Changeset in webkit [161723] by
-
- 2 edits in trunk/Source/WebCore
Fix JSDOMWindowBase.o for iOS. Unreviewed build fix.
Add missing iOS method declarations.
- bindings/js/JSDOMWindowBase.h:
- 8:06 PM Changeset in webkit [161722] by
-
- 3 edits3 deletes in trunk
Unreviewed, rolling out r161702.
http://trac.webkit.org/changeset/161702
https://bugs.webkit.org/show_bug.cgi?id=126803
Broke multiple tests (Requested by ap on #webkit).
Source/JavaScriptCore:
- runtime/JSGenericTypedArrayViewConstructorInlines.h:
(JSC::JSGenericTypedArrayViewConstructor<ViewClass>::getCallData):
LayoutTests:
- js/script-tests/typedarray-constructors.js: Removed.
- js/typedarray-constructors-expected.txt: Removed.
- js/typedarray-constructors.html: Removed.
- 8:05 PM Changeset in webkit [161721] by
-
- 2 edits in trunk/Source/WebCore
Fix InputType.o for iOS. Unreviewed build fix.
The RuntimeEnabledFeatures function pointer type should have a
const qualifier, because the implementations are all const.
- html/InputType.cpp:
- 7:58 PM Changeset in webkit [161720] by
-
- 2 edits in trunk/Source/WebCore
Fix MediaPlayerPrivateIOS.o for iOS. Unreviewed build fix.
Add missing MediaPlayerProxy Objective C methods and forward declarations.
- platform/graphics/mac/MediaPlayerProxy.h:
- 7:49 PM Changeset in webkit [161719] by
-
- 2 edits in trunk/Source/WebCore
Fix FrameSelection.o for iOS. Unreviewed build fix.
r160966 renamed rendererIsEditable to hasEditableStyle.
- editing/FrameSelection.cpp:
(WebCore::FrameSelection::setSelectionFromNone):
- 7:46 PM Changeset in webkit [161718] by
-
- 2 edits in trunk/Source/WebCore
Fix DragData.o for iOS. Unreviewed build fix.
String m_pasteboardName is unused on iOS, so ifdef it out.
- platform/DragData.h:
- 7:32 PM Changeset in webkit [161717] by
-
- 2 edits in trunk/Source/WebCore
Fix FrameIOS.o for iOS. Unreviewed build fix.
Remove stale include to file that no longer exists. It was not needed.
- page/ios/FrameIOS.mm:
- 7:29 PM Changeset in webkit [161716] by
-
- 2 edits in trunk/Source/WebCore
Fix MonthInputType.o for iOS. Unreviewed build fix.
When ENABLE_INPUT_MULTIPLE_FIELDS_UI was removed in r150876,
the wrong class name lingered. Fix it to be the base class.
- html/TimeInputType.cpp:
(WebCore::TimeInputType::TimeInputType):
- 6:26 PM Changeset in webkit [161715] by
-
- 3 edits in trunk/Source/WebCore
[iOS] Build fix: make sure WTF_PLATFORM_IOS is defined when preprocessing
- DerivedSources.make:
- bindings/scripts/preprocessor.pm:
(applyPreprocessor):
- 6:25 PM Changeset in webkit [161714] by
-
- 2 edits in trunk/Source/WebCore
Use TARGET_OS_IPHONE in this API file, and #if TARGET_OS_MAC
for a non-iOS function.
- bindings/objc/DOMExtensions.h:
- 6:19 PM Changeset in webkit [161713] by
-
- 12 edits in trunk/Source
Clean up architectures in xcconfig files
<http://webkit.org/b/126794>
Reviewed by Andy Estes.
Source/JavaScriptCore:
- Configurations/Base.xcconfig:
- Configurations/JavaScriptCore.xcconfig: Remove armv6, ppc.
- Configurations/ToolExecutable.xcconfig: Sort.
- Add new arch.
Source/WebCore:
- Configurations/Base.xcconfig:
- Configurations/WebCore.xcconfig: Remove armv6.
- DerivedSources.make: Remove armv6, armv7f. Sort.
- Add new arch.
Source/WebKit/mac:
- Configurations/WebKit.xcconfig: Remove armv6, armv7f, ppc.
- Add new arch.
Source/WTF:
- Configurations/Base.xcconfig:
- Add new arch.
- 6:16 PM Changeset in webkit [161712] by
-
- 3 edits in trunk/Source/WebCore
Fix iOS build
- Configurations/WebCore.xcconfig:
- css/DeprecatedStyleBuilder.cpp:
(WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyValue):
- 5:59 PM Changeset in webkit [161711] by
-
- 3 edits in trunk/Source/WebCore
Fix iOS build.
- html/DateTimeLocalInputType.h:
(WebCore::DateTimeLocalInputType::DateTimeLocalInputType):
- loader/ios/DiskImageCacheIOS.h:
- 5:59 PM Changeset in webkit [161710] by
-
- 4 edits in trunk/Source/WebCore
iOS build fix: add StyleRareInheritedData::compositionFillColor
- rendering/style/RenderStyle.h:
- rendering/style/StyleRareInheritedData.cpp:
(WebCore::StyleRareInheritedData::StyleRareInheritedData):
(WebCore::StyleRareInheritedData::operator==):
- rendering/style/StyleRareInheritedData.h:
- 5:50 PM Changeset in webkit [161709] by
-
- 2 edits in trunk/Source/WebCore
Fix MonthInputType.o for iOS. Unreviewed build fix.
Incorrect base class name. Must have been typo'd when upstreaming.
- html/MonthInputType.h:
(WebCore::MonthInputType::MonthInputType):
- 5:33 PM Changeset in webkit [161708] by
-
- 2 edits in trunk/Source/WebCore
Fix RenderButton.o for iOS. Unreviewed build fix.
Missing prototype in header for override of the layout method.
- rendering/RenderButton.h:
- 5:29 PM Changeset in webkit [161707] by
-
- 3 edits in trunk/Source/WebCore
A couple of iOS build fixes.
- accessibility/ios/AXObjectCacheIOS.mm:
(WebCore::AXObjectCache::handleFocusedUIElementChanged):
- html/canvas/CanvasRenderingContext2D.cpp:
(WebCore::CanvasRenderingContext2D::drawImage):
- 5:29 PM Changeset in webkit [161706] by
-
- 2 edits in trunk/Source/WebCore
Fix iOS build.
- loader/ResourceLoader.h:
- 5:29 PM Changeset in webkit [161705] by
-
- 8 edits in branches/jsCStack/Source/JavaScriptCore
It should be easier to diagnose FTL performance issues due to register preservation thunks
https://bugs.webkit.org/show_bug.cgi?id=126798
Not yet reviewed.
You can now use --verboseFTLToJSThunk=true --verboseFTLFailure=true to figure out
which code blocks are rejected by the FTL and yet get called from functions that
were FTL compiled. Any such rejections in major benchmarks should be fixed.
- bytecode/CodeBlock.cpp:
(JSC::CodeBlock::CodeBlock):
- ftl/FTLCapabilities.cpp:
(JSC::FTL::verboseCapabilities):
(JSC::FTL::canCompile):
- jit/RegisterPreservationWrapperGenerator.cpp:
(JSC::generateRegisterPreservationWrapper):
- runtime/Executable.cpp:
(JSC::ExecutableBase::dump):
- runtime/Executable.h:
- runtime/Options.cpp:
(JSC::Options::initialize):
- runtime/Options.h:
- 5:26 PM Changeset in webkit [161704] by
-
- 2 edits in trunk/Source/WebCore
Fix PlatformScreenIOS.mm for iOS. Unreviewed build fix.
PlatformScreen.h removed screenVerticalDPI and screenHorizontalDPI in r132419,
so remove the stale implementations on iOS. Also, add a notImplemented version
of screenColorProfile, which matches Mac and is unused in WebCore for this port.
- platform/ios/PlatformScreenIOS.mm:
(WebCore::screenColorProfile):
- 5:19 PM Changeset in webkit [161703] by
-
- 4 edits in trunk/Source/WebCore
CTTE FrameTree
https://bugs.webkit.org/show_bug.cgi?id=126795
Reviewed by Tim Horton.
- page/Frame.cpp:
(WebCore::Frame::Frame):
- page/FrameTree.cpp:
(WebCore::FrameTree::transferChild):
(WebCore::FrameTree::appendChild):
(WebCore::FrameTree::actuallyAppendChild):
(WebCore::FrameTree::uniqueChildName):
(WebCore::FrameTree::scopedChild):
(WebCore::FrameTree::scopedChildCount):
(WebCore::FrameTree::child):
(WebCore::FrameTree::find):
(WebCore::FrameTree::isDescendantOf):
(WebCore::FrameTree::traverseNext):
(WebCore::FrameTree::traverseNextWithWrap):
(WebCore::FrameTree::traversePreviousWithWrap):
(WebCore::FrameTree::deepLastChild):
(WebCore::FrameTree::top):
- page/FrameTree.h:
(WebCore::FrameTree::FrameTree):
- 5:09 PM Changeset in webkit [161702] by
-
- 3 edits3 adds in trunk
[JSC] Revise typed array implementations to match ECMAScript and WebGL Specification
https://bugs.webkit.org/show_bug.cgi?id=126754
Reviewed by Filip Pizlo.
Source/JavaScriptCore:
The ECMAScript specification forbids calling the typed array
constructors without using "new". Change the call data to return
none so we throw and exception in these cases.
- runtime/JSGenericTypedArrayViewConstructorInlines.h:
(JSC::JSGenericTypedArrayViewConstructor<ViewClass>::getCallData):
LayoutTests:
New test which checks that we throw an exception when calling
any of the typed array constructors without using "new".
- js/script-tests/typedarray-constructors.js: Added.
- js/typedarray-constructors-expected.txt: Added.
- js/typedarray-constructors.html: Added.
- 5:05 PM Changeset in webkit [161701] by
-
- 2 edits in trunk/Source/WebCore
Fix iOS build.
- platform/graphics/ImageSource.h:
(WebCore::ImageSource::acceleratedImageDecodingEnabled):
(WebCore::ImageSource::setAcceleratedImageDecodingEnabled):
- 4:55 PM Changeset in webkit [161700] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed EFL build fix after r161678.
static_cast a size_t to unsigned long for %lu format string.
- page/Console.cpp:
(WebCore::internalAddMessage):
- 4:53 PM Changeset in webkit [161699] by
-
- 38 edits in trunk
Remove the BlackBerry port from trunk
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/cmake/OptionsCommon.cmake:
Source/JavaScriptCore:
- assembler/ARMAssembler.h:
(JSC::ARMAssembler::cacheFlush):
- assembler/ARMv7Assembler.h:
(JSC::ARMv7Assembler::replaceWithJump):
(JSC::ARMv7Assembler::maxJumpReplacementSize):
(JSC::ARMv7Assembler::cacheFlush):
- assembler/MacroAssemblerARMv7.h:
(JSC::MacroAssemblerARMv7::revertJumpReplacementToBranchPtrWithPatch):
- heap/MachineStackMarker.cpp:
(JSC::getPlatformThreadRegisters):
(JSC::otherThreadStackPointer):
(JSC::freePlatformThreadRegisters):
- jit/ExecutableAllocator.h:
Source/WebCore:
- html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::readPixels):
- platform/graphics/ImageBuffer.cpp:
- platform/graphics/ImageBufferData.h:
- platform/graphics/IntPoint.h:
- platform/graphics/IntRect.h:
- platform/graphics/IntSize.h:
- platform/graphics/MediaPlayer.cpp:
- platform/graphics/NativeImagePtr.h:
- platform/graphics/OpenGLESShims.h:
- platform/graphics/Path.cpp:
(WebCore::Path::addPathForRoundedRect):
- platform/graphics/Path.h:
- platform/graphics/PlatformLayer.h:
- platform/graphics/filters/CustomFilterValidatedProgram.cpp:
- platform/graphics/filters/CustomFilterValidatedProgram.h:
- platform/graphics/filters/FilterOperation.h:
- platform/graphics/gpu/DrawingBuffer.cpp:
- platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
- platform/graphics/opengl/Extensions3DOpenGLES.cpp:
(WebCore::Extensions3DOpenGLES::getGraphicsResetStatusARB):
- platform/graphics/opengl/Extensions3DOpenGLES.h:
- platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
(WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
(WebCore::GraphicsContext3D::prepareTexture):
(WebCore::GraphicsContext3D::bindFramebuffer):
(WebCore::GraphicsContext3D::compileShader):
(WebCore::GraphicsContext3D::copyTexImage2D):
(WebCore::GraphicsContext3D::copyTexSubImage2D):
- platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
(WebCore::GraphicsContext3D::readPixels):
(WebCore::GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary):
(WebCore::GraphicsContext3D::reshapeFBOs):
- platform/network/NetworkStateNotifier.h:
- platform/network/ResourceHandle.h:
- platform/network/ResourceHandleInternal.h:
- platform/network/ResourceRequestBase.cpp:
Tools:
- DumpRenderTree/DumpRenderTree.h:
- DumpRenderTree/PixelDumpSupport.cpp:
- 4:44 PM Changeset in webkit [161698] by
-
- 3 edits1 add in trunk/Source/WebCore
Fix CharsetData.cpp build for iOS
https://bugs.webkit.org/show_bug.cgi?id=126792
Reviewed by Mark Rowe.
CharsetData.cpp should have an empty CharsetTable list for iOS.
Achieve this with an iOS-specific encodings.txt file.
- DerivedSources.make:
- WebCore.xcodeproj/project.pbxproj:
- platform/text/mac/ios-encodings.txt: Added.
- 4:38 PM Changeset in webkit [161697] by
-
- 8 edits in trunk/Source/WebCore
CTTE in NavigationScheduler
https://bugs.webkit.org/show_bug.cgi?id=126788
Reviewed by Tim Horton.
- inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::frameScheduledNavigationImpl):
(WebCore::InspectorInstrumentation::frameClearedScheduledNavigationImpl):
- inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::frameScheduledNavigation):
(WebCore::InspectorInstrumentation::frameClearedScheduledNavigation):
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::frameScheduledNavigation):
(WebCore::InspectorPageAgent::frameClearedScheduledNavigation):
- inspector/InspectorPageAgent.h:
- loader/NavigationScheduler.cpp:
(WebCore::ScheduledNavigation::shouldStartTimer):
(WebCore::ScheduledNavigation::didStartTimer):
(WebCore::ScheduledNavigation::didStopTimer):
(WebCore::NavigationScheduler::NavigationScheduler):
(WebCore::NavigationScheduler::clear):
(WebCore::NavigationScheduler::shouldScheduleNavigation):
(WebCore::NavigationScheduler::scheduleRedirect):
(WebCore::NavigationScheduler::mustLockBackForwardList):
(WebCore::NavigationScheduler::scheduleLocationChange):
(WebCore::NavigationScheduler::scheduleFormSubmission):
(WebCore::NavigationScheduler::scheduleRefresh):
(WebCore::NavigationScheduler::scheduleHistoryNavigation):
(WebCore::NavigationScheduler::timerFired):
(WebCore::NavigationScheduler::schedule):
(WebCore::NavigationScheduler::startTimer):
(WebCore::NavigationScheduler::cancel):
- loader/NavigationScheduler.h:
- page/Frame.cpp:
(WebCore::Frame::Frame):
- 4:31 PM Changeset in webkit [161696] by
-
- 19 edits7 adds in trunk
CSS word-spacing property does not obey percentages
https://bugs.webkit.org/show_bug.cgi?id=126674
Reviewed by Simon Fraser.
Source/WebCore:
One change between CSS2.1 and CSS3 is that the word-spacing CSS property can
take percentages (of the width of the space character) in CSS3. In order to
implement this, the datatype must be changed from a float to a Length, which
can hold percentage values. Then, during layout, we can query the width of
the space character and update the Font's word-spacing value appropriately.
However, the RenderStyle still holds on to the Length (as a rare inherited
value).
Tests: fast/css3-text/css3-word-spacing-percentage/word-spacing-change-font.html
fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage-parse.html
fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage.html
- css/CSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::propertyValue): Use Font's computed value instead
of style's Length value.
- css/CSSParser.cpp:
(WebCore::CSSParser::parseValue): word-spacing and letter-spacing no longer are
parsed the same way.
- css/DeprecatedStyleBuilder.cpp:
(WebCore::ApplyPropertyWordSpacing::applyValue): Construct a length from a given
CSSValue and set the style's word spacing with it.
(WebCore::ApplyPropertyWordSpacing::createHandler):
(WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder): Use ApplyPropertyWordSpacing.
- page/animation/CSSPropertyAnimation.cpp:
(WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
- rendering/RenderBlockLineLayout.cpp:
(WebCore::setLogicalWidthForTextRun): Use Font's computed value instead
of style's Length value.
- rendering/RenderText.cpp:
(WebCore::RenderText::computePreferredLogicalWidths): Ditto.
- rendering/SimpleLineLayout.cpp:
(WebCore::SimpleLineLayout::canUseFor): Opt-out of the SimpleLineLayout
if either the percentage or the length is nonzero.
- rendering/line/BreakingContextInlineHeaders.h:
(WebCore::BreakingContext::handleText): Use Font's computed value instead
of style's Length value.
- rendering/style/RenderStyle.cpp:
(WebCore::RenderStyle::wordSpacing):
(WebCore::RenderStyle::setWordSpacing): Consult the Font's space with to compute
percentage values, but hold on to the original Length.
- rendering/style/RenderStyle.h:
- rendering/style/StyleRareInheritedData.cpp:
- rendering/style/StyleRareInheritedData.h: Hold on to the specified Length
LayoutTests:
See per-file description
- fast/css3-text/css3-word-spacing-percentage/word-spacing-change-font-expected.html: Added.
- fast/css3-text/css3-word-spacing-percentage/word-spacing-change-font.html: Added.
Make sure that if Javascript changes the font after initial layout, that the word-spacing
value gets appropriately updated.
- fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage-expected.html: Added.
- fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage-parse-expected.txt: Added.
- fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage-parse.html: Added.
Make sure that the CSSOM yields the correct percentage values when queried.
- fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage.html: Added.
Try some specific values of percentages (-100%, 0%, and 100%).
- css1/text_properties/word_spacing.html: Updated to not disregard percentages
- css2.1/20110323/c541-word-sp-001-expected.html:
- css2.1/20110323/c541-word-sp-001.htm: Ditto
- platform/mac/css1/text_properties/word_spacing-expected.png:
- platform/mac/css1/text_properties/word_spacing-expected.txt: Ditto
- 4:29 PM Changeset in webkit [161695] by
-
- 1 edit1 add in branches/jsCStack/Source/JavaScriptCore
Unreviewed, add a test for the case where LLVM finds a constant folding
opportunity that the DFG missed, and it involves a large constant, and then we
exit with the large constant folded into a stackmap for an OSR exit.
We fixed this incidentally as part of http://trac.webkit.org/changeset/161543, but
it only showed up as part of new tests specific to add/sub recovery and as a
Octane/gbemu *slow-down* because gbemu had such a constant. It seems like we
should have an explicit test for this since it's a really gross bug to have in a
rather critical code path.
- tests/stress/exit-after-llvm-folds-large-int-constant.js: Added.
(foo):
- 4:19 PM Changeset in webkit [161694] by
-
- 2 edits in trunk/Source/WebCore
Fix the iOS build.
- platform/audio/mac/MediaSessionManagerMac.cpp:
- 4:17 PM Changeset in webkit [161693] by
-
- 2 edits in trunk/Source/WebCore
iOS doesn't have <OpenGL/gl.h>; fix iOS build.
- platform/graphics/opengl/TemporaryOpenGLSetting.cpp:
- 4:16 PM Changeset in webkit [161692] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Build Fix: Properly add $SDKROOT/usr/local/include/ to the search path when building PublicDOMInterfaces.h
- bindings/scripts/CodeGeneratorObjC.pm:
(ReadPublicInterfaces):
- 3:55 PM Changeset in webkit [161691] by
-
- 22 edits in trunk/Source
Web Inspector: Remove unimplemented or static ScriptDebugServer features
https://bugs.webkit.org/show_bug.cgi?id=126784
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-01-10
Reviewed by Timothy Hatcher.
Source/JavaScriptCore:
- inspector/protocol/Debugger.json:
Source/WebCore:
These features are unimplemented in the backend, and unused by the
current frontend. Most deal with features that were supported by v8
and are as yet unimplemented by JSC. If we decide to add such features
we can reimplement without conforming to an old implementation.
- bindings/js/ScriptDebugServer.cpp:
- bindings/js/ScriptDebugServer.h:
- bindings/js/ScriptProfiler.h:
- inspector/InspectorDebuggerAgent.cpp:
(WebCore::InspectorDebuggerAgent::disable):
- inspector/InspectorDebuggerAgent.h:
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::reload):
(WebCore::InspectorPageAgent::frameNavigated):
- inspector/InspectorPageAgent.h:
- inspector/InspectorProfilerAgent.cpp:
- inspector/InspectorProfilerAgent.h:
- inspector/PageDebuggerAgent.cpp:
(WebCore::PageDebuggerAgent::didClearMainFrameWindowObject):
- inspector/protocol/Page.json:
- inspector/protocol/Profiler.json:
Source/WebInspectorUI:
- UserInterface/InspectorJSBackendCommands.js:
- UserInterface/InspectorWebBackendCommands.js:
- UserInterface/Legacy/6.0/InspectorWebBackendCommands.js:
- UserInterface/Legacy/7.0/InspectorWebBackendCommands.js:
- Versions/Inspector-iOS-6.0.json:
- Versions/Inspector-iOS-7.0.json:
- 3:54 PM Changeset in webkit [161690] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Remove unused variable from TileGrid::dropTilesBetweenRects()
Fixes the following build error:
WebCore/platform/ios/TileGrid.mm:88:23: error: unused variable 'end' [-Werror,-Wunused-variable]
TileMap::iterator end = m_tiles.end();
- platform/ios/TileGrid.mm:
(WebCore::TileGrid::dropTilesBetweenRects): Remove unused
variable now that the for loop uses an auto iterator.
- 3:54 PM Changeset in webkit [161689] by
-
- 2 edits in trunk/Source/WebInspectorUI
Web Inspector: support negative numbers in secondsToString and bytesToString.
https://bugs.webkit.org/show_bug.cgi?id=125708
Reviewed by Joseph Pecoraro.
- UserInterface/Utilities.js:
(Number.secondsToString): Use Math.abs in the size checks.
(Number.bytesToString): Ditto.
- 3:53 PM Changeset in webkit [161688] by
-
- 18 edits5 adds in trunk
Implement OES texture half float linear
https://bugs.webkit.org/show_bug.cgi?id=125060
Reviewed by Brent Fulgham.
Source/WebCore:
Test: fast/canvas/webgl/oes-texture-half-float-linear.html
- CMakeLists.txt: Add new files.
- DerivedSources.cpp: Ditto.
- DerivedSources.make: Generate new file from IDL.
- GNUmakefile.list.am: Add new files.
- WebCore.vcxproj/WebCore.vcxproj: Ditto.
- WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
- WebCore.xcodeproj/project.pbxproj: New files for OESTextureHalfFloatLinear.
- bindings/js/JSWebGLRenderingContextCustom.cpp:
(WebCore::toJS): Map from extension name to native object.
- html/canvas/OESTextureHalfFloatLinear.cpp: Added. New files. These are boiler-plate.
- html/canvas/OESTextureHalfFloatLinear.h: Added.
- html/canvas/OESTextureHalfFloatLinear.idl: Added.
- html/canvas/WebGLExtension.h: Add new enum for the new extension.
- html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::getExtension): Create the extension object if the
context is asked for one.
(WebCore::WebGLRenderingContext::getSupportedExtensions): Add the new extension to the
list of supported extensions. Actually remember to do it this time :)
(WebCore::WebGLRenderingContext::checkTextureCompleteness): Need to check for the half-float
extension as well, and update the log message.
- html/canvas/WebGLRenderingContext.h: New extension object.
- html/canvas/WebGLTexture.cpp:
(WebCore::WebGLTexture::WebGLTexture):
(WebCore::WebGLTexture::needToUseBlackTexture): Check for half-float type.
(WebCore::WebGLTexture::update): Mark a texture as half-float if necessary.
- html/canvas/WebGLTexture.h:
- platform/graphics/Extensions3D.h: Add a comment about the new extension.
- platform/graphics/opengl/Extensions3DOpenGL.cpp:
(WebCore::Extensions3DOpenGL::supportsExtension): This extension is available
when GL_ARB_texture_float is supported, so add the name to the translation.
LayoutTests:
Exercise the OES_texture_half_float_linear extension. The new test
is copied from the official Khronos WebGL repository.
- fast/canvas/webgl/oes-texture-float-linear-expected.txt: Change the console log
messages, which now also mention half float linear.
- fast/canvas/webgl/oes-texture-half-float-linear-expected.txt: Added.
- fast/canvas/webgl/oes-texture-half-float-linear.html: Added.
- 3:48 PM Changeset in webkit [161687] by
-
- 7 edits in trunk/Source/WebInspectorUI
Web Inspector: cycle clicked breakpoints between enabled, auto-continue, and disabled
https://bugs.webkit.org/show_bug.cgi?id=126669
Reviewed by Joseph Pecoraro.
It's time-consuming to change a breakpoint's auto-continue setting through the
breakpoint editor popup. This patch enables the user to toggle between enabled,
auto-continue, and disabled by clicking on the breakpoint wedge in the sidebar
tree and in the source text editor gutter. The auto-continue option is only
cycled when the breakpoint has associated actions.
Clean up the breakpoint editor dialog so it hides irrelevant options when
no breakpoint actions have been added.
Automatically unset auto-continue when the last breakpoint action is removed.
Rename the delegate textEditorBreakpointToggled to textEditorBreakpointClicked, since
the behavior of the click depends on breakpoint state not available in the text editor.
- Localizations/en.lproj/localizedStrings.js:
- UserInterface/Breakpoint.js:
(WebInspector.Breakpoint.prototype.cycleToNextMode): Added.
(WebInspector.Breakpoint.prototype.toggleAutoContinue): Added.
(WebInspector.Breakpoint.prototype.appendContextMenuItems): Add auto-continue options.
(WebInspector.Breakpoint.prototype.removeAction):
(WebInspector.Breakpoint.prototype._editBreakpointPopoverContentElement):
(WebInspector.Breakpoint.prototype._popoverActionsAddActionButtonClicked):
(WebInspector.Breakpoint.prototype.breakpointActionViewAppendActionView):
(WebInspector.Breakpoint.prototype.breakpointActionViewRemoveActionView):
(WebInspector.Breakpoint.prototype.willDismissPopover):
- UserInterface/BreakpointTreeElement.css:
(.item.breakpoint .status > .status-image.auto-continue):
(.item.breakpoint .status > .status-image.disabled):
- UserInterface/BreakpointTreeElement.js:
(WebInspector.BreakpointTreeElement):
(WebInspector.BreakpointTreeElement.prototype.onenter):
(WebInspector.BreakpointTreeElement.prototype.onspace):
(WebInspector.BreakpointTreeElement.prototype._updateStatus):
(WebInspector.BreakpointTreeElement.prototype._breakpointLocationDidChange):
(WebInspector.BreakpointTreeElement.prototype._statusImageElementClicked):
- UserInterface/SourceCodeTextEditor.js:
(WebInspector.SourceCodeTextEditor):
(WebInspector.SourceCodeTextEditor.prototype.close):
(WebInspector.SourceCodeTextEditor.prototype._breakpointInfoForBreakpoint):
(WebInspector.SourceCodeTextEditor.prototype.textEditorBreakpointClicked):
- UserInterface/TextEditor.css:
(.text-editor > .CodeMirror .breakpoint-auto-continue:not(.breakpoint-disabled) .CodeMirror-linenumber::before):
- UserInterface/TextEditor.js:
(WebInspector.TextEditor.prototype._setBreakpointStylesOnLine.updateStyles):
(WebInspector.TextEditor.prototype._setBreakpointStylesOnLine):
(WebInspector.TextEditor.prototype.updateStyles):
(WebInspector.TextEditor.prototype._removeBreakpointFromLineAndColumn):
(WebInspector.TextEditor.prototype._documentMouseUp):
- 3:47 PM Changeset in webkit [161686] by
-
- 3 edits in trunk/Source/JavaScriptCore
REGRESSION(C stack work): stack traces no longer work in CrashTracer, lldb, and other tools
https://bugs.webkit.org/show_bug.cgi?id=126764
Reviewed by Geoffrey Garen.
Updated callToJavaScript and cllToNativeFunction to properly replicate the caller's
return PC and frame pointer in the sentinel frame. For X86-64, added .cfi_
directives to create eh_frame info for all LLInt symbols so that the various
unwinding code understands that we are using a separate JS stack referenced
by BP and at what offsets in that frame the prior PC (register 16) and prior
BP (register 6) can be found. These two changes are sufficient for stack tracing
to work for Mac OSX.
- llint/LowLevelInterpreter.cpp:
- llint/LowLevelInterpreter64.asm:
- 3:36 PM Changeset in webkit [161685] by
-
- 2 edits in trunk/Tools
[iOS] Fix project build order
Ensure we build WebKitAdditions before WebCore (if applicable). Also, we don't
build WebInspectorUI, Tools/MiniBrowser, or Tools/WebKitTestRunner on iOS at the
time of writing.
- Scripts/build-webkit:
- 3:28 PM Changeset in webkit [161684] by
-
- 3 edits1 copy in trunk
Source/WebCore: [WebGL] Correct uniform input validation for texture sampler uniform
https://bugs.webkit.org/show_bug.cgi?id=126775
Reviewed by Dean Jackson.
Added fast/canvas/webgl/uniform-samplers-test.html
- html/canvas/WebGLRenderingContext.cpp:
(WebCore::WebGLRenderingContext::uniform1iv): Access Int32Array data properly.
LayoutTests: [WebGL] Correct uniform input validation for texture sampler uniforms.
https://bugs.webkit.org/show_bug.cgi?id=126775
Reviewed by Dean Jackson.
- fast/canvas/webgl/uniform-samplers-test.html: Add a test that
shows that we can set sampler uniforms using Int32Array types.
- 3:17 PM Changeset in webkit [161683] by
-
- 5 edits3 adds in branches/jsCStack/Source/JavaScriptCore
DFG should insert Phantoms when it uses conversion nodes
https://bugs.webkit.org/show_bug.cgi?id=126777
Reviewed by Oliver Hunt.
- dfg/DFGFixupPhase.cpp:
(JSC::DFG::FixupPhase::fixupNode):
(JSC::DFG::FixupPhase::fixupSetLocalsInBlock):
(JSC::DFG::FixupPhase::fixupUntypedSetLocalsInBlock):
(JSC::DFG::FixupPhase::fixEdge):
(JSC::DFG::FixupPhase::fixIntEdge):
(JSC::DFG::FixupPhase::injectInt32ToDoubleNode):
(JSC::DFG::FixupPhase::addPhantomsIfNecessary):
- dfg/DFGNodeFlags.cpp:
(JSC::DFG::dumpNodeFlags):
- dfg/DFGValidate.cpp:
(JSC::DFG::Validate::validate):
- tests/stress/exit-after-int32-to-double.js: Added.
(foo):
- tests/stress/exit-after-int52-to-double.js: Added.
(foo):
- tests/stress/exit-after-int52-to-value.js: Added.
(foo):
(makeWeirdObject):
- 2:54 PM Changeset in webkit [161682] by
-
- 2 edits in trunk/Source/WebCore
[GTK] Unreviewed build fix after r161644.
- Modules/webaudio/MediaStreamAudioSourceNode.cpp:
(WebCore::MediaStreamAudioSourceNode::setFormat):
- 2:52 PM Changeset in webkit [161681] by
-
- 4 edits in trunk/Source/WebCore
Remove an unused FrameLoader function
https://bugs.webkit.org/show_bug.cgi?id=126785
Reviewed by Beth Dakin.
- WebCore.exp.in:
- loader/FrameLoader.cpp:
(WebCore::FrameLoader::setState):
- loader/FrameLoader.h:
- 2:48 PM Changeset in webkit [161680] by
-
- 22 edits in trunk/Source/WebCore
Remove the BlackBerry port from trunk
https://bugs.webkit.org/show_bug.cgi?id=126715
Patch by Benjamin Poulain <bpoulain@apple.com> on 2014-01-10
Reviewed by Anders Carlsson.
- platform/MIMETypeRegistry.cpp:
(WebCore::initializeSupportedImageMIMETypesForEncoding):
- platform/PlatformKeyboardEvent.h:
(WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
- platform/PlatformMouseEvent.h:
- platform/PlatformTouchEvent.h:
(WebCore::PlatformTouchEvent::PlatformTouchEvent):
- platform/PlatformTouchPoint.h:
- platform/ScrollAnimatorNone.cpp:
(WebCore::ScrollAnimator::create):
- platform/URL.cpp:
(WebCore::URL::parse):
(WebCore::portAllowed):
- platform/Widget.h:
- platform/graphics/ANGLEWebKitBridge.h:
- platform/graphics/DisplayRefreshMonitor.cpp:
(WebCore::DisplayRefreshMonitor::DisplayRefreshMonitor):
- platform/graphics/DisplayRefreshMonitor.h:
- platform/graphics/FloatPoint.h:
- platform/graphics/FloatRect.h:
- platform/graphics/FloatSize.h:
- platform/graphics/FontCache.h:
- platform/graphics/FontPlatformData.h:
- platform/graphics/GlyphBuffer.h:
- platform/graphics/Gradient.cpp:
- platform/graphics/Gradient.h:
- platform/graphics/GraphicsContext.h:
- platform/graphics/GraphicsContext3D.h:
- 2:24 PM Changeset in webkit [161679] by
-
- 6 edits in trunk/Source/WebKit2
Remove dead code
https://bugs.webkit.org/show_bug.cgi?id=126782
Reviewed by Tim Horton.
- UIProcess/WebPageProxy.cpp:
- UIProcess/WebPageProxy.h:
- WebProcess/WebPage/WebPage.cpp:
- WebProcess/WebPage/WebPage.h:
- WebProcess/WebPage/WebPage.messages.in:
- 2:16 PM Changeset in webkit [161678] by
-
- 4 edits in trunk/Source/WebCore
Clean up and fix some issues with stdout formatting of console messages.
- Fix URLs not printing line numbers unless column number is > 0.
- Change "CONSOLEAPI" to "CONSOLE" for the source.
- Clean up how console.trace outputs and print URL, line and column for each frame.
- Print "(unknown)" for anonymous and native code call frames.
https://bugs.webkit.org/show_bug.cgi?id=126767
Reviewed by Joseph Pecoraro.
- page/Console.cpp:
(WebCore::internalAddMessage):
- page/PageConsole.cpp:
(WebCore::PageConsole::printSourceURLAndPosition):
(WebCore::PageConsole::printMessageSourceAndLevelPrefix):
- page/PageConsole.h:
- 2:13 PM Changeset in webkit [161677] by
-
- 2 edits in trunk/Source/WebInspectorUI
Clean up some areas of TreeOutline.
https://bugs.webkit.org/show_bug.cgi?id=123924
Reviewed by Joseph Pecoraro.
- UserInterface/TreeOutline.js:
(TreeOutline.prototype.appendChild): Don't force create _childrenListNode, it will be created
when the tree element is expanded. Only attach if _childrenListNode already exists.
(TreeOutline.prototype.insertChild): Ditto.
(TreeOutline.prototype.getCachedTreeElement): Check the value of treeElementIdentifier
not just the existence of the property. It should never be null/undefined/0, but be safe.
(TreeOutline.prototype.findTreeElement): Null check isAncestor, it isn't required.
- 2:11 PM Changeset in webkit [161676] by
-
- 2 edits in trunk/Source/WebCore
[iOS] Fill in missing WebCoreThread function pointers
https://bugs.webkit.org/show_bug.cgi?id=126776
Patch by Joseph Pecoraro <Joseph Pecoraro> on 2014-01-10
Reviewed by Timothy Hatcher.
- platform/ios/wak/WebCoreThreadSystemInterface.cpp:
(InitWebCoreThreadSystemInterface):
- 2:10 PM Changeset in webkit [161675] by
-
- 8 edits2 adds in trunk/Source
Clear unparented tiled layers on memory pressure.
https://bugs.webkit.org/show_bug.cgi?id=126737
Patch by Yongjun Zhang <yongjun_zhang@apple.com> on 2014-01-10
Reviewed by Simon Fraser.
Source/WebCore:
TileController hold unparented tiles for a short period of time (1 -3 sec); we should clear these unparented
tiles immediately if we are under memory pressure.
The patch does 3 things to improve the behavior:
1) When the system free memory is low (<35%), reduce the tiling threshold. This could reduce
the peak memory usage when system is under low memory since we will convert more web layers into
tiled backing.
2) Under memory pressure, immediately clear all unparented tiles.
3) Add a cap (16 tiles) to limit the total number of unparented tiles in TileController's.
- WebCore.exp.in:
- WebCore.xcodeproj/project.pbxproj: Add a new class TileControllerMemoryHandler.
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::requiresTiledLayer): Use a smaller tiling threshold if the system free memory is low.
- platform/graphics/ca/mac/TileController.h:
(WebCore::TileController::numberOfUnparentedTiles):
- platform/graphics/ca/mac/TileController.mm:
(WebCore::TileController::startedNewCohort):
(WebCore::TileController::removeUnparentedTilesNow): Remove all unparentd tiles.
- platform/ios/MemoryPressureHandlerIOS.mm:
- platform/ios/TileControllerMemoryHandlerIOS.cpp: Added.
(WebCore::TileControllerMemoryHandler::removeTileController):
(WebCore::TileControllerMemoryHandler::totalUnparentedTiledLayers):
(WebCore::TileControllerMemoryHandler::tileControllerGainUnparentedTiles):
(WebCore::TileControllerMemoryHandler::trimUnparentedTilesToTarget): Trims the number of unparented tiles until
it reaches the target.
(WebCore::tileControllerMemoryHandler):
- platform/ios/TileControllerMemoryHandlerIOS.h: Added.
(WebCore::TileControllerMemoryHandler::TileControllerMemoryHandler):
Source/WebKit/mac:
- WebView/WebView.mm:
(+[WebView _handleMemoryWarning]): Clear all unparented tiles when under memory pressure.
- 2:06 PM Changeset in webkit [161674] by
-
- 2 edits in trunk/Source/WebInspectorUI
Fix an exception in WebInspector.Color.
https://bugs.webkit.org/show_bug.cgi?id=126765
Reviewed by Joseph Pecoraro.
- UserInterface/Color.js:
(WebInspector.Color.fromString): Check hasOwnPrperty before using the nickname color array.
(WebInspector.Color.prototype._toNicknameString): Ditto.
- 1:42 PM Changeset in webkit [161673] by
-
- 6 edits in trunk/Source
[CSS Blending] Log blending as a layer creation reason in the WI
https://bugs.webkit.org/show_bug.cgi?id=126159
Patch by Joseph Pecoraro <Joseph Pecoraro> 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):
- 1:37 PM Changeset in webkit [161672] by
-
- 10 edits in trunk
[EFL][JSC] Enable udis86 disassembler on efl.
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.
- 1:37 PM Changeset in webkit [161671] by
-
- 2 edits in trunk/Source/WebCore
Fix some iOS build errors during bindings generation.
- bindings/objc/PublicDOMInterfaces.h: Included
WebKitAdditions/PublicDOMInterfacesIOS.h and change
-[DOMRGBColor color] to return a CGColorRef on iOS.
- 1:31 PM Changeset in webkit [161670] by
-
- 2 edits in trunk/Source/WebCore
Prevent some resources from showing up in Web Inspector as years in duration.
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.
- 1:29 PM Changeset in webkit [161669] by
-
- 4 edits16 adds in trunk
Make clipping path from basic-shapes relative to <box> value
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.
- 1:22 PM Changeset in webkit [161668] by
-
- 9 edits10 adds in trunk
Source/WebCore: Correctly set XHR loadend 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.
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.
- 1:12 PM Changeset in webkit [161667] by
-
- 3 edits in trunk/Source/WebCore
[CSS Shapes] Change parseBasicShape to return a CSSPrimitiveValue
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:
- 1:10 PM Changeset in webkit [161666] by
-
- 29 edits in trunk
Move platformName property from testRunner to accessibilityController
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:
- 1:08 PM Changeset in webkit [161665] by
-
- 2 edits in trunk/Source/WebCore
Possible crash in ApplicationCache::removeResource.
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):
- 12:51 PM Changeset in webkit [161664] by
-
- 2 edits in trunk/Source/WebCore
Another build fix for the Production Mac build following <http://trac.webkit.org/changeset/161638>
(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:
- 12:47 PM Changeset in webkit [161663] by
-
- 5 edits6 deletes in trunk
Remove supportMultipleWindows setting
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.
- 12:41 PM Changeset in webkit [161662] by
-
- 29 edits in trunk/Source
Remove the BlackBerry port from trunk
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):
- 12:40 PM Changeset in webkit [161661] by
-
- 12 edits in trunk
Remove the BlackBerry port from trunk
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:
- 12:38 PM Changeset in webkit [161660] by
-
- 4 edits in trunk/Source
Fix the WebCore, WebKit build targets following <http://trac.webkit.org/changeset/161638>
(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:
- 11:50 AM Changeset in webkit [161659] by
-
- 4 edits5 deletes in trunk
Remove the BlackBerry files outside WebCore
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.
- 11:32 AM Changeset in webkit [161658] by
-
- 4 edits in trunk/Source
[iOS] Upstream iOS changes to MigrateHeaders.make
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.
- 11:13 AM Changeset in webkit [161657] by
-
- 2 edits in trunk/Source/WebCore
Fix the Production Mac build following <http://trac.webkit.org/changeset/161638>
(https://bugs.webkit.org/show_bug.cgi?id=126698)
Substitute JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production_ for JAVASCRIPTCORE_PRIVATE_HEADERS_Production_.
- Configurations/WebCore.xcconfig:
- 11:12 AM Changeset in webkit [161656] by
-
- 6 edits in trunk/Tools
Remove knowledge of Blackberry from build scripts
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:
- 11:07 AM Changeset in webkit [161655] by
-
- 2 edits in trunk/Source/WebCore
Add a missing include.
- Modules/webdatabase/DatabaseManager.h:
- 11:02 AM Changeset in webkit [161654] by
-
- 4 edits in trunk/Source/WebCore
Use STL threading primitives in DatabaseDetails and DatabaseManager
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:
- 10:59 AM Changeset in webkit [161653] by
-
- 4 edits7 deletes in trunk
Unreviewed, rolling out r161629.
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.
- 10:53 AM Changeset in webkit [161652] by
-
- 2 edits in trunk/Source/WebCore
Unreviewed build fix since r161589.
The changeset causes a compile failure with --no-svg.
- platform/graphics/FontFastPath.cpp:
(WebCore::Font::drawGlyphBuffer):
- 10:49 AM Changeset in webkit [161651] by
-
- 3 edits in trunk/Tools
[iOS] Fix up simulator build and enable default features
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).
- 10:38 AM Changeset in webkit [161650] by
-
- 7 edits2 deletes in trunk/Source/JavaScriptCore
Removed Blackberry #ifdefs and platform code from JavaScriptCore
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):
- 10:22 AM Changeset in webkit [161649] by
-
- 1 edit in trunk/Source/WebCore/ChangeLog
[WebGL] Removing unnecessary pointer checks
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):
- 10:22 AM Changeset in webkit [161648] by
-
- 2 edits in trunk/Source/WebCore
Speculative build fix for Windows following <http://trac.webkit.org/changeset/161638>
(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):
- 10:20 AM Changeset in webkit [161647] by
-
- 2 edits in trunk/Source/WebCore
Speculative build fix for Windows following <http://trac.webkit.org/changeset/161638>
(https://bugs.webkit.org/show_bug.cgi?id=126698)
- bindings/scripts/preprocessor.pm:
(applyPreprocessor):
- 10:15 AM Changeset in webkit [161646] by
-
- 2 edits in trunk/LayoutTests
Unreviewed test correction after r161605.
- platform/mac/TestExpectations: Reactivate tests fixed by
- 10:12 AM Changeset in webkit [161645] by
-
- 2 edits in trunk/Source/WebCore
[WebGL] Wrong condition order in the if statement
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):
- 9:50 AM Changeset in webkit [161644] by
-
- 8 edits in trunk/Source/WebCore
CTTE in AudioContext::AutoLocker
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):
- 9:45 AM Changeset in webkit [161643] by
-
- 6 edits in trunk/Source/WebCore
Use element iterators more
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:
- 9:37 AM Changeset in webkit [161642] by
-
- 2 edits in trunk/Source/WebCore
Attempt to fix the iOS build after <http://trac.webkit.org/changeset/161589>
(https://bugs.webkit.org/show_bug.cgi?id=126654)
- platform/audio/ios/AudioSessionIOS.mm: Import header PassOwnPtr.h so that we can use adoptPtr().
- 9:19 AM Changeset in webkit [161641] by
-
- 2 edits in trunk/Source/WebCore
Attempt to fix the build after <http://trac.webkit.org/changeset/161638>
(https://bugs.webkit.org/show_bug.cgi?id=126698)
Substitute tab characters for space characters.
- DerivedSources.make:
- 9:17 AM Changeset in webkit [161640] by
-
- 3 edits in trunk/WebKitLibraries
[WinCairo] Crash when rendering (in pixman dll)
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.
- 9:07 AM Changeset in webkit [161639] by
-
- 4 edits in trunk/Source/WebCore
DOMWindow::showModalDialog should use std::function
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:
- 9:06 AM Changeset in webkit [161638] by
-
- 107 edits2 copies27 adds in trunk
[iOS] Upstream WebCore and Tools miscellaneous changes
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:
- 8:55 AM Changeset in webkit [161637] by
-
- 2 edits in trunk/Source/WebCore
Fix the iOS build after <http://trac.webkit.org/changeset/161589>
(https://bugs.webkit.org/show_bug.cgi?id=126654)
- platform/graphics/ios/MediaPlayerPrivateIOS.h:
(WebCore::MediaPlayerPrivateIOS::engineDescription): Adding missing return keyword.
- 8:31 AM Changeset in webkit [161636] by
-
- 3 edits in trunk/Source/WebCore
[CSS Regions] Remove unused CSSParser::parseFlowThread
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:
- 8:27 AM Changeset in webkit [161635] by
-
- 2 edits in trunk/Source/WebCore
[WinCairo] Build fix after r161589.
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.
- 8:19 AM Changeset in webkit [161634] by
-
- 9 edits in trunk/Source/WebCore
Convert some for loops over to range-based for
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):
- 7:40 AM Changeset in webkit [161633] by
-
- 5 edits in trunk/Source/WebCore
Tighten up two functions in the inspector code
https://bugs.webkit.org/show_bug.cgi?id=126751
Reviewed by Antti Koivisto.
- inspector/InspectorInstrumentation.cpp:
(WebCore::InspectorInstrumentation::frameStartedLoadingImpl):
(WebCore::InspectorInstrumentation::frameStoppedLoadingImpl):
- inspector/InspectorInstrumentation.h:
(WebCore::InspectorInstrumentation::frameStartedLoading):
(WebCore::InspectorInstrumentation::frameStoppedLoading):
- inspector/InspectorPageAgent.cpp:
(WebCore::InspectorPageAgent::frameStartedLoading):
(WebCore::InspectorPageAgent::frameStoppedLoading):
- inspector/InspectorPageAgent.h:
- 6:30 AM Changeset in webkit [161632] by
-
- 2 edits in trunk/Source/WebInspectorUI
Add missing function stub in InspectorFrontendHostStub.js
https://bugs.webkit.org/show_bug.cgi?id=126745
Patch by Peter Molnar <pmolnar.u-szeged@partner.samsung.com> on 2014-01-10
Reviewed by Timothy Hatcher.
- UserInterface/InspectorFrontendHostStub.js:
(.WebInspector.InspectorFrontendHostStub.prototype.debuggableType):
The function debuggableType() was added to InspectorFrontendHost.idl and InspectorFrontendHost.cpp
in r160887, but not to InspectorFrontendHostStub.js.
- 4:47 AM Changeset in webkit [161631] by
-
- 5 edits in trunk/LayoutTests
[CSSRegions] Disable accelerated compositing for fixed elements in regions tests
https://bugs.webkit.org/show_bug.cgi?id=126743
Reviewed by Dirk Schulze.
Once we enable the support of accelerated compositing for fixed positioned elements in regions
in https://bugs.webkit.org/show_bug.cgi?id=125144, those tests will be added into compositing/regions as well.
- fast/regions/fixed-inside-fixed-in-named-flow-expected.html:
- fast/regions/fixed-inside-fixed-in-named-flow.html:
- fast/regions/fixed-pos-elem-in-region-expected.html:
- fast/regions/fixed-pos-elem-in-region.html:
- 4:33 AM Changeset in webkit [161630] by
-
- 3 edits2 adds in trunk
Crash when mutating SVG text with transform
https://bugs.webkit.org/show_bug.cgi?id=126744
Reviewed by Dirk Schulze.
Source/WebCore:
Test: svg/custom/mutation-text-transform-crash.html
Text-transform property triggers subtreeTextDidChange when an SVG text renderer is
being added to the render tree. The function assumes the child is already fully in the tree
but in this case we are still in middle of adding it.
- rendering/svg/RenderSVGText.cpp:
(WebCore::RenderSVGText::subtreeTextDidChange):
Bail out if the changed RenderSVGInlineText can't be found from m_layoutAttributes.
This means that subtreeChildWasAdded hasn't been invoked yet for it and there is nothing
to update. The required updates will happen in subtreeChildWasAdded.
LayoutTests:
- svg/custom/mutation-text-transform-crash-expected.txt: Added.
- svg/custom/mutation-text-transform-crash.html: Added.
- 4:03 AM Changeset in webkit [161629] by
-
- 4 edits7 adds in trunk
[SVG] Accept HTML and MathML namespaces as valid requiredExtensions
https://bugs.webkit.org/show_bug.cgi?id=88188
Patch by Frédéric Wang <fred.wang@free.fr> on 2014-01-10
Reviewed by Dirk Schulze.
Source/WebCore:
When HTML and MathML are used as foreign objects of an SVG image, it is
important for Web authors to be able to specify a fallback content for
SVG-only readers or browsers without MathML support. We rely on the
requiredExtensions for that purpose and we use the XHTML/MathML
namespaces as suggested in SVG Tiny 1.2 and implemented in Gecko.
Tests: svg/custom/conditional-processing-1.svg
svg/custom/conditional-processing-2.html
svg/dom/SVGTests.html
- svg/SVGSwitchElement.cpp: Remove an incorrect FIXME comment and replace it with a reference to bug 74749.
(WebCore::SVGSwitchElement::childShouldCreateRenderer):
- svg/SVGTests.cpp: Check if the list of required extensions contains only the XHTML/MathML namespaces.
(WebCore::SVGTests::hasExtension):
(WebCore::SVGTests::isValid):
LayoutTests:
conditional-processing-1 verifies that indeed a renderer object is only
created for the first "valid" SVG element of a <switch>, contrary to
what an incorrect FIXME comment said. conditional-processing-2 verifies
that the <switch> takes into account XHTML and MathML namespaces in the
requiredExtensions attribute to decide which SVG element is "valid".
SVGTests.html verifies the SVGTests interface of SVG DOM: three
SVGStringList attributes (already tested in svg/dom/SVGStringList.html)
and the hasExtension() function.
- svg/custom/conditional-processing-1-expected.txt: Added.
- svg/custom/conditional-processing-1.svg: Added.
- svg/custom/conditional-processing-2-expected.txt: Added.
- svg/custom/conditional-processing-2.html: Added.
- svg/dom/SVGTests-expected.txt: Added.
- svg/dom/SVGTests.html: Added.
- svg/dom/script-tests/SVGTests.js: Added.
- 3:30 AM Changeset in webkit [161628] by
-
- 18 edits15 adds in trunk
Add support for blendmode to Core Animation layer.
Patch by Rik Cabanier, Dean Jackson and Mihai Tica.
https://bugs.webkit.org/show_bug.cgi?id=99200
Patch by Mihai Tica <mitica@adobe.com> on 2014-01-10
Reviewed by Dirk Schulze.
Source/WebCore:
Tests: css3/compositing/blend-mode-layers.html
css3/compositing/blend-mode-overflow.html
css3/compositing/blend-mode-reflection.html
css3/compositing/blend-mode-should-not-have-compositing-layer.html
css3/compositing/blend-mode-simple.html
- WebCore.exp.in: export PlatformCALayer::setBlendMode for WebKit::PlatformCALayerRemote
- WebCore.xcodeproj/project.pbxproj: Add PlatformCAFiltersMac.h
- platform/graphics/GraphicsLayer.cpp: add blendMode member
(WebCore::GraphicsLayer::GraphicsLayer):
- platform/graphics/GraphicsLayer.h:
(WebCore::GraphicsLayer::blendMode):
(WebCore::GraphicsLayer::setBlendMode):
- platform/graphics/ca/GraphicsLayerCA.cpp:
(WebCore::GraphicsLayerCA::setBlendMode):
(WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): add call to updateBlendMode()
(WebCore::GraphicsLayerCA::updateBlendMode):
- platform/graphics/ca/GraphicsLayerCA.h:
- platform/graphics/ca/PlatformCAFilters.h:
- platform/graphics/ca/PlatformCALayer.h:
- platform/graphics/ca/mac/PlatformCAFiltersMac.h: Added.
- platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
(PlatformCAFilters::setBlendingFiltersOnLayer): set a compositing CAFilter on CALayer
- platform/graphics/ca/mac/PlatformCALayerMac.mm:
(PlatformCALayer::setBlendMode): call to PlatformCAFilters::setBlendingFiltersOnLayer
- rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
(WebCore::RenderLayerBacking::updateBlendMode):
(WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
(WebCore::RenderLayerBacking::setBlendMode):
- rendering/RenderLayerBacking.h:
- rendering/RenderLayerCompositor.cpp:
(WebCore::CompositingState::CompositingState): add m_subtreeHasBlending member
(WebCore::RenderLayerCompositor::computeCompositingRequirements): promote layer if subtree has blending
(WebCore::RenderLayerCompositor::reasonsForCompositing):
(WebCore::RenderLayerCompositor::logReasonsForCompositing): log blending reason
(WebCore::RenderLayerCompositor::requiresCompositingForIndirectReason): add blending reason
- rendering/RenderLayerCompositor.h:
LayoutTests:
- css3/compositing/blend-mode-layers.html: Added.
- css3/compositing/blend-mode-overflow-expected.txt: Added.
- css3/compositing/blend-mode-overflow.html: Added.
- css3/compositing/blend-mode-reflection.html: Added.
- css3/compositing/blend-mode-should-not-have-compositing-layer-expected.txt: Added.
- css3/compositing/blend-mode-should-not-have-compositing-layer.html: Added.
- css3/compositing/blend-mode-simple.html: Added.
- css3/compositing/should-have-compositing-layer-expected.txt:
- platform/efl/TestExpectations: Efl doesn't support blend modes at the moment.
- platform/mac/css3/compositing/blend-mode-layers-expected.png: Added.
- platform/mac/css3/compositing/blend-mode-layers-expected.txt: Added.
- platform/mac/css3/compositing/blend-mode-overflow-expected.png: Added.
- platform/mac/css3/compositing/blend-mode-reflection-expected.png: Added.
- platform/mac/css3/compositing/blend-mode-reflection-expected.txt: Added.
- platform/mac/css3/compositing/blend-mode-simple-expected.png: Added.
- platform/mac/css3/compositing/blend-mode-simple-expected.txt: Added.
- 3:17 AM Changeset in webkit [161627] by
-
- 2 edits in trunk/Source/WTF
[EFL] Enable the DFG_JIT on ARMv7
https://bugs.webkit.org/show_bug.cgi?id=126742
Patch by Hunseop Jeong <Hunseop Jeong> on 2014-01-10
Reviewed by Gyuyoung Kim.
Turn on ENABLE_DFG_JIT on ARMv7 for EFL.
- wtf/Platform.h:
- 2:38 AM Changeset in webkit [161626] by
-
- 8 edits10 adds in trunk
[CSS Regions] Implement visual overflow computation for inline elements
https://bugs.webkit.org/show_bug.cgi?id=125291
Reviewed by David Hyatt.
Source/WebCore:
The patch implements visual overflow computation for inline elements per region. The algorithm
uses the container region of each root line box to determine the lines in a region generated by
a RenderInline. The overflow of a RenderInline inside a region is the smallest rectangle that fits
all the line boxes belonging to that region.
The patch also correctly flips for writing mode the overflow of a renderer before clipping with it.
Tests: fast/regions/overflow-in-variable-width-regions-inline-bt.html
fast/regions/overflow-in-variable-width-regions-inline-continuation.html
fast/regions/overflow-in-variable-width-regions-inline-lr.html
fast/regions/overflow-in-variable-width-regions-inline-rl.html
fast/regions/overflow-in-variable-width-regions-inline.html
- rendering/RenderFlowThread.cpp:
(WebCore::RenderFlowThread::objectShouldPaintInFlowRegion):
- rendering/RenderInline.cpp:
(WebCore::RenderInline::updateAlwaysCreateLineBoxes): Always create line boxes for RenderInline
(WebCore::RenderInline::linesVisualOverflowBoundingBoxInRegion):
- rendering/RenderInline.h:
- rendering/RenderLayer.cpp:
(WebCore::RenderLayer::calculateClipRects):
- rendering/RenderRegion.cpp:
(WebCore::RenderRegion::visualOverflowRectForBox):
(WebCore::RenderRegion::visualOverflowRectForBoxForPropagation):
- rendering/RenderRegion.h:
LayoutTests:
Tests for inline elements overflow correct painting inside regions.
- fast/regions/overflow-in-variable-width-regions-inline-bt-expected.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline-bt.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline-continuation-expected.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline-continuation.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline-expected.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline-lr-expected.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline-lr.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline-rl-expected.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline-rl.html: Added.
- fast/regions/overflow-in-variable-width-regions-inline.html: Added.
- 1:11 AM Changeset in webkit [161625] by
-
- 3 edits in trunk/Source/WebKit2
Implement NetworkResourceLoader::receivedCancellation
https://bugs.webkit.org/show_bug.cgi?id=126129
Reviewed Alexey Proskuryakov.
Implement ResourceHandleClient::receivedCancellation() in the
network process to cancel the load when cancellation is received
from the authentication manager like the web process does.
- NetworkProcess/NetworkResourceLoader.cpp:
(WebKit::NetworkResourceLoader::receivedCancellation): Cancel the load.
- NetworkProcess/NetworkResourceLoader.h:
- 12:00 AM Changeset in webkit [161624] by
-
- 4 edits in trunk/Source/WebKit2
[EFL][WK2] Add APIs for setting and getting the default text encoding name
https://bugs.webkit.org/show_bug.cgi?id=126736
Reviewed by Gyuyoung Kim.
Add APIs to set and get the default text encoding name.
- UIProcess/API/efl/ewk_settings.cpp:
(ewk_settings_default_text_encoding_name_get):
(ewk_settings_default_text_encoding_name_set):
- UIProcess/API/efl/ewk_settings.h:
- UIProcess/API/efl/tests/test_ewk2_settings.cpp:
(TEST_F):