1 2014-01-11 David Kilzer <ddkilzer@apple.com>
3 [iOS] Build fix for StyleResolver.cpp
5 * rendering/style/RenderStyle.h:
6 (WebCore::RenderStyle::setCompositionFillColor): Added.
8 2014-01-11 David Kilzer <ddkilzer@apple.com>
10 [iOS] Fix build of RenderLayerCompositor::registerAllViewportConstrainedLayers()
12 * rendering/RenderLayerCompositor.cpp:
13 (WebCore::RenderLayerCompositor::registerAllViewportConstrainedLayers):
14 Fix use of std::make_unique<>() and add an adoptPtr() call.
16 2014-01-11 Alexey Proskuryakov <ap@apple.com>
18 [Mac] [Windows] Stop scheduling network requests in WebCore
19 https://bugs.webkit.org/show_bug.cgi?id=126789
20 <rdar://problem/15114727>
22 Reviewed by Sam Weinig.
24 We'll just send all requests to CFNetwork now, along with associated priorities.
26 * WebCore.exp.in: WebKitSystemInterface functions are changing to support priorities
27 for more than just pipelining.
28 * loader/ResourceLoadScheduler.cpp:
29 (WebCore::ResourceLoadScheduler::scheduleLoad):
30 * platform/ios/WebCoreSystemInterfaceIOS.mm:
31 * platform/mac/WebCoreSystemInterface.h:
32 * platform/mac/WebCoreSystemInterface.mm:
33 * platform/network/ResourceHandle.h: For syncronous requests, make it so that they
34 don't count against HTTP connection limit, to avoid the possibility of hanging the process.
35 * platform/network/cf/ResourceHandleCFNet.cpp:
36 (WebCore::ResourceHandle::createCFURLConnection):
37 (WebCore::ResourceHandle::start):
38 (WebCore::ResourceHandle::platformLoadResourceSynchronously):
39 * platform/network/cf/ResourceRequestCFNet.cpp:
40 (WebCore::ResourceRequest::doUpdatePlatformRequest):
41 (WebCore::ResourceRequest::doUpdateResourceRequest):
42 (WebCore::initializeMaximumHTTPConnectionCountPerHost):
43 (WebCore::initializeHTTPConnectionSettingsOnStartup):
44 * platform/network/cf/ResourceRequestCFNet.h:
45 (WebCore::toPlatformRequestPriority):
46 * platform/network/mac/ResourceHandleMac.mm:
47 (WebCore::ResourceHandle::createNSURLConnection):
48 (WebCore::ResourceHandle::start):
49 (WebCore::ResourceHandle::platformLoadResourceSynchronously):
50 * platform/network/mac/ResourceRequestMac.mm:
51 (WebCore::ResourceRequest::doUpdateResourceRequest):
52 (WebCore::ResourceRequest::doUpdatePlatformRequest):
54 2014-01-11 David Kilzer <ddkilzer@apple.com>
56 [iOS] Fix build failure in WebCore::findEndWordBoundary()
58 Filed Bug 126830 for the proper fix:
59 <http://webkit.org/b/126830>
61 * editing/VisibleUnits.cpp:
62 (WebCore::endWordBoundary): Switch back to using
63 WebCore::findWordBoundary() on iOS.
65 * platform/text/mac/TextBoundaries.mm:
66 (WebCore::findEndWordBoundary): Add FIXME for iOS implementation
67 that doesn't use NSAttributedString.
69 2014-01-11 Andy Estes <aestes@apple.com>
71 [iOS] Move text autosizing code from RenderBlock to RenderBlockFlow
72 https://bugs.webkit.org/show_bug.cgi?id=126829
74 Reviewed by Sam Weinig.
76 Some newly-upstreamed iOS text autosizing code needs to move to
77 RenderBlockFlow in order to build.
79 * rendering/RenderBlock.cpp:
80 (WebCore::RenderBlock::RenderBlock):
81 * rendering/RenderBlock.h:
82 * rendering/RenderBlockFlow.cpp:
83 (WebCore::RenderBlockFlow::RenderBlockFlow):
84 (WebCore::isVisibleRenderText):
85 (WebCore::resizeTextPermitted):
86 (WebCore::RenderBlockFlow::immediateLineCount):
87 (WebCore::isNonBlocksOrNonFixedHeightListItems):
88 (WebCore::oneLineTextMultiplier):
89 (WebCore::textMultiplier):
90 (WebCore::RenderBlockFlow::adjustComputedFontSizes):
91 * rendering/RenderBlockFlow.h:
92 (WebCore::RenderBlockFlow::resetComputedFontSize):
93 * rendering/RenderObject.cpp:
94 (WebCore::RenderObject::adjustComputedFontSizesOnBlocks):
95 (WebCore::RenderObject::resetTextAutosizing):
97 2014-01-11 Daniel Bates <dabates@apple.com>
101 Only call CGContextFlush() when building for OS X < 10.9.
103 * platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
104 (WebCore::ImageBufferBackingStoreCache::deallocate):
106 2014-01-11 Anders Carlsson <andersca@apple.com>
108 InspectorAgentRegistry should use std::unique_ptr
109 https://bugs.webkit.org/show_bug.cgi?id=126826
111 Reviewed by Sam Weinig.
113 * inspector/InspectorApplicationCacheAgent.h:
114 * inspector/InspectorCSSAgent.h:
115 * inspector/InspectorCanvasAgent.h:
116 * inspector/InspectorController.cpp:
117 (WebCore::InspectorController::InspectorController):
118 * inspector/InspectorDOMAgent.h:
119 * inspector/InspectorDOMDebuggerAgent.cpp:
120 * inspector/InspectorDOMDebuggerAgent.h:
121 * inspector/InspectorDOMStorageAgent.h:
122 * inspector/InspectorDatabaseAgent.h:
123 * inspector/InspectorHeapProfilerAgent.cpp:
124 * inspector/InspectorHeapProfilerAgent.h:
125 * inspector/InspectorIndexedDBAgent.h:
126 * inspector/InspectorInputAgent.h:
127 * inspector/InspectorLayerTreeAgent.h:
128 * inspector/InspectorMemoryAgent.cpp:
129 * inspector/InspectorMemoryAgent.h:
130 * inspector/InspectorPageAgent.cpp:
131 * inspector/InspectorPageAgent.h:
132 * inspector/InspectorProfilerAgent.cpp:
133 (WebCore::InspectorProfilerAgent::create):
134 * inspector/InspectorProfilerAgent.h:
135 * inspector/InspectorResourceAgent.h:
136 * inspector/InspectorTimelineAgent.h:
137 * inspector/InspectorWorkerAgent.cpp:
138 * inspector/InspectorWorkerAgent.h:
139 * inspector/PageConsoleAgent.h:
140 * inspector/PageDebuggerAgent.cpp:
141 * inspector/PageDebuggerAgent.h:
142 * inspector/PageRuntimeAgent.h:
143 * inspector/WorkerConsoleAgent.h:
144 * inspector/WorkerDebuggerAgent.cpp:
145 * inspector/WorkerDebuggerAgent.h:
146 * inspector/WorkerInspectorController.cpp:
147 (WebCore::WorkerInspectorController::WorkerInspectorController):
148 * inspector/WorkerRuntimeAgent.h:
150 2014-01-11 Sam Weinig <sam@webkit.org>
152 Extract the FormatConverter class out of GraphicsContext3D.cpp and into its own file
153 https://bugs.webkit.org/show_bug.cgi?id=126820
155 Reviewed by Anders Carlsson.
158 * GNUmakefile.list.am:
159 * WebCore.vcxproj/WebCore.vcxproj:
160 * WebCore.vcxproj/WebCore.vcxproj.filters:
161 * WebCore.xcodeproj/project.pbxproj:
162 * platform/graphics/FormatConverter.cpp: Copied from Source/WebCore/platform/graphics/GraphicsContext3D.cpp.
163 (WebCore::convertFloatToHalfFloat):
164 (WebCore::FormatConverter::convert):
165 * platform/graphics/FormatConverter.h: Copied from Source/WebCore/platform/graphics/GraphicsContext3D.cpp.
166 (WebCore::FormatConverter::FormatConverter):
167 (WebCore::FormatConverter::success):
168 * platform/graphics/GraphicsContext3D.cpp:
169 (WebCore::GraphicsContext3D::computeFormatAndTypeParameters):
170 (WebCore::GraphicsContext3D::computeImageSizeInBytes):
171 (WebCore::GraphicsContext3D::packImageData):
172 (WebCore::GraphicsContext3D::extractImageData):
173 (WebCore::GraphicsContext3D::extractTextureData):
174 (WebCore::GraphicsContext3D::packPixels):
175 * platform/graphics/GraphicsContext3D.h:
176 (WebCore::GraphicsContext3D::hasAlpha):
177 (WebCore::GraphicsContext3D::hasColor):
179 2014-01-11 Simon Fraser <simon.fraser@apple.com>
181 Fix updateScrollingLayerWithClient() for iOS.
183 * rendering/RenderLayerCompositor.cpp:
184 (WebCore::updateScrollingLayerWithClient):
186 2014-01-11 Simon Fraser <simon.fraser@apple.com>
188 Unfork GraphicsContext::drawNativeImage for iOS
189 https://bugs.webkit.org/show_bug.cgi?id=126824
191 Reviewed by Dean Jackson.
193 GraphicsContext::drawNativeImage had a different signature for iOS,
194 which required #ifdefs at all the call sites. Unfork by passing the "scale"
195 parameter everywhere (it's only used on iOS).
198 * html/canvas/CanvasRenderingContext2D.cpp:
199 (WebCore::CanvasRenderingContext2D::drawImage):
200 * platform/graphics/GraphicsContext.h:
201 * platform/graphics/cg/BitmapImageCG.cpp:
202 (WebCore::BitmapImage::draw):
203 * platform/graphics/cg/GraphicsContext3DCG.cpp:
204 (WebCore::GraphicsContext3D::paintToCanvas):
205 * platform/graphics/cg/GraphicsContextCG.cpp:
206 (WebCore::GraphicsContext::platformInit):
207 * platform/graphics/cg/ImageBufferCG.cpp:
208 (WebCore::ImageBuffer::draw):
209 * platform/graphics/ios/IconIOS.mm:
210 (WebCore::Icon::paint):
212 2014-01-11 Simon Fraser <simon.fraser@apple.com>
214 Work around USE(CFNETWORK) build failure on iOS.
216 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
217 (WebCore::MediaPlayerPrivateAVFoundationObjC::shouldWaitForResponseToAuthenticationChallenge):
219 2014-01-11 Simon Fraser <simon.fraser@apple.com>
221 Fix LegacyWebArchive.cpp:567:91: error: calling 'utf8' with incomplete return type 'WTF::CString'
223 * loader/archive/cf/LegacyWebArchive.cpp:
225 2014-01-11 David Kilzer <ddkilzer@apple.com>
227 [iOS] Fix the easy half of the build errors in RenderBlock.cpp
229 * rendering/RenderBlock.cpp:
230 (WebCore::isNonBlocksOrNonFixedHeightListItems):
231 (WebCore::oneLineTextMultiplier):
232 (WebCore::textMultiplier):
233 (WebCore::RenderBlock::adjustComputedFontSizes):
235 2014-01-11 Simon Fraser <simon.fraser@apple.com>
237 Change touch-related headers to include WebKitAdditions headers,
238 which have been renamed to have IOS suffixes.
240 * WebCore.xcodeproj/project.pbxproj:
241 * bindings/js/ios/TouchConstructors.cpp:
245 * dom/ios/TouchEvents.cpp:
247 2014-01-11 Anders Carlsson <andersca@apple.com>
249 ScriptDebugServer should use a separate member function for its timer handler
250 https://bugs.webkit.org/show_bug.cgi?id=126819
252 Reviewed by Sam Weinig.
254 It's weird to have subclasses override a timer handler and sometimes invoke
255 the timer handler directly so make it a separate member function instead.
257 * bindings/js/PageScriptDebugServer.cpp:
258 (WebCore::PageScriptDebugServer::recompileAllJSFunctions):
259 * bindings/js/PageScriptDebugServer.h:
260 * bindings/js/ScriptDebugServer.cpp:
261 (WebCore::ScriptDebugServer::ScriptDebugServer):
262 (WebCore::ScriptDebugServer::recompileAllJSFunctionsTimerFired):
263 * bindings/js/ScriptDebugServer.h:
264 * bindings/js/WorkerScriptDebugServer.cpp:
265 (WebCore::WorkerScriptDebugServer::addListener):
266 (WebCore::WorkerScriptDebugServer::recompileAllJSFunctions):
267 * bindings/js/WorkerScriptDebugServer.h:
268 * inspector/InspectorProfilerAgent.cpp:
269 (WebCore::InspectorProfilerAgent::start):
271 2014-01-11 Anders Carlsson <andersca@apple.com>
273 Simplify Timer and DeferrableOneShotTimer using std::function
274 https://bugs.webkit.org/show_bug.cgi?id=126816
276 Reviewed by Sam Weinig.
279 (WebCore::Timer::Timer):
281 2014-01-11 Anders Carlsson <andersca@apple.com>
283 CTTE Timer and DeferrableOneShotTimer
284 https://bugs.webkit.org/show_bug.cgi?id=126814
286 Reviewed by Antti Koivisto.
288 Add new Timer and DeferrableOneShotTimer constructors whose member function pointers
289 take a reference instead of a pointer.
290 Also, convert a bunch of classes over to using these new constructors.
292 * Modules/encryptedmedia/MediaKeySession.cpp:
293 (WebCore::MediaKeySession::keyRequestTimerFired):
294 (WebCore::MediaKeySession::addKeyTimerFired):
295 * Modules/encryptedmedia/MediaKeySession.h:
296 * Modules/geolocation/Geolocation.cpp:
297 (WebCore::Geolocation::GeoNotifier::timerFired):
298 (WebCore::Geolocation::resumeTimerFired):
299 * Modules/geolocation/Geolocation.h:
300 * Modules/indexeddb/IDBTransactionBackend.cpp:
301 (WebCore::IDBTransactionBackend::taskTimerFired):
302 * Modules/indexeddb/IDBTransactionBackend.h:
303 * Modules/mediasource/SourceBuffer.cpp:
304 (WebCore::SourceBuffer::appendBufferTimerFired):
305 * Modules/mediasource/SourceBuffer.h:
306 * Modules/notifications/Notification.cpp:
307 (WebCore::Notification::taskTimerFired):
308 * Modules/notifications/Notification.h:
309 * Modules/notifications/NotificationCenter.cpp:
310 (WebCore::NotificationCenter::NotificationRequestCallback::timerFired):
311 * Modules/notifications/NotificationCenter.h:
312 * accessibility/AXObjectCache.cpp:
313 (WebCore::AXObjectCache::notificationPostTimerFired):
314 * accessibility/AXObjectCache.h:
315 * css/CSSFontSelector.cpp:
316 (WebCore::CSSFontSelector::beginLoadTimerFired):
317 * css/CSSFontSelector.h:
318 * css/CSSImageGeneratorValue.cpp:
319 (WebCore::CSSImageGeneratorValue::CachedGeneratedImage::evictionTimerFired):
320 * css/CSSImageGeneratorValue.h:
322 (WebCore::Document::visualUpdatesSuppressionTimerFired):
323 (WebCore::Document::styleRecalcTimerFired):
324 (WebCore::Document::optimizedStyleSheetUpdateTimerFired):
325 (WebCore::Document::sharedObjectPoolClearTimerFired):
326 (WebCore::Document::styleResolverThrowawayTimerFired):
327 (WebCore::Document::updateFocusAppearanceTimerFired):
328 (WebCore::Document::resetHiddenFocusElementTimer):
329 (WebCore::Document::pendingTasksTimerFired):
330 (WebCore::Document::fullScreenChangeDelayTimerFired):
331 (WebCore::Document::loadEventDelayTimerFired):
332 (WebCore::Document::didAssociateFormControlsTimerFired):
335 (WebCore::EventSender::timerFired):
336 * dom/GenericEventQueue.cpp:
337 (WebCore::GenericEventQueue::timerFired):
338 * dom/GenericEventQueue.h:
339 * dom/ScriptRunner.cpp:
340 (WebCore::ScriptRunner::timerFired):
341 * dom/ScriptRunner.h:
342 * dom/ScriptedAnimationController.cpp:
343 (WebCore::ScriptedAnimationController::animationTimerFired):
344 * dom/ScriptedAnimationController.h:
345 * editing/AlternativeTextController.cpp:
346 (WebCore::AlternativeTextController::timerFired):
347 * editing/AlternativeTextController.h:
348 * editing/FrameSelection.cpp:
349 (WebCore::FrameSelection::caretBlinkTimerFired):
350 * editing/FrameSelection.h:
351 * html/HTMLMediaElement.cpp:
352 (WebCore::HTMLMediaElement::parseAttribute):
353 * html/HTMLMediaElement.h:
354 * html/HTMLPlugInElement.cpp:
355 (WebCore::HTMLPlugInElement::swapRendererTimerFired):
356 * html/HTMLPlugInElement.h:
357 * html/HTMLPlugInImageElement.cpp:
358 (WebCore::HTMLPlugInImageElement::removeSnapshotTimerFired):
359 (WebCore::HTMLPlugInImageElement::simulatedMouseClickTimerFired):
360 * html/HTMLPlugInImageElement.h:
361 * html/HTMLSourceElement.cpp:
362 (WebCore::HTMLSourceElement::errorEventTimerFired):
363 * html/HTMLSourceElement.h:
364 * html/HTMLTrackElement.cpp:
365 (WebCore::HTMLTrackElement::loadTimerFired):
366 * html/HTMLTrackElement.h:
367 * html/MediaController.cpp:
368 (MediaController::asyncEventTimerFired):
369 (MediaController::clearPositionTimerFired):
370 (MediaController::timeupdateTimerFired):
371 * html/MediaController.h:
372 * html/MediaDocument.cpp:
373 (WebCore::MediaDocument::replaceMediaElementTimerFired):
374 * html/MediaDocument.h:
375 * html/parser/HTMLParserScheduler.cpp:
376 (WebCore::HTMLParserScheduler::continueNextChunkTimerFired):
377 * html/parser/HTMLParserScheduler.h:
378 * html/shadow/MediaControlElementTypes.cpp:
379 (WebCore::MediaControlSeekButtonElement::seekTimerFired):
380 * html/shadow/MediaControlElementTypes.h:
381 * html/shadow/MediaControlElements.cpp:
382 (WebCore::MediaControlPanelElement::transitionTimerFired):
383 (WebCore::MediaControlTextTrackContainerElement::updateTimerFired):
384 * html/shadow/MediaControlElements.h:
385 * html/shadow/MediaControls.cpp:
386 (WebCore::MediaControls::hideFullscreenControlsTimerFired):
387 * html/shadow/MediaControls.h:
388 * html/track/LoadableTextTrack.cpp:
389 (WebCore::LoadableTextTrack::loadTimerFired):
390 * html/track/LoadableTextTrack.h:
391 * inspector/InspectorCSSAgent.cpp:
392 (WebCore::UpdateRegionLayoutTask::UpdateRegionLayoutTask):
393 (WebCore::UpdateRegionLayoutTask::timerFired):
394 (WebCore::ChangeRegionOversetTask::ChangeRegionOversetTask):
395 (WebCore::ChangeRegionOversetTask::timerFired):
396 * inspector/InspectorDOMAgent.cpp:
397 (WebCore::RevalidateStyleAttributeTask::RevalidateStyleAttributeTask):
398 (WebCore::RevalidateStyleAttributeTask::timerFired):
399 * inspector/InspectorFrontendClientLocal.cpp:
400 (WebCore::InspectorBackendDispatchTask::InspectorBackendDispatchTask):
401 (WebCore::InspectorBackendDispatchTask::timerFired):
402 * loader/DocumentLoader.cpp:
403 (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
404 * loader/DocumentLoader.h:
405 * loader/FrameLoader.cpp:
406 (WebCore::FrameLoader::checkTimerFired):
407 * loader/FrameLoader.h:
408 * loader/ImageLoader.cpp:
409 (WebCore::ImageLoader::timerFired):
410 * loader/ImageLoader.h:
411 * loader/LinkLoader.cpp:
412 (WebCore::LinkLoader::linkLoadTimerFired):
413 (WebCore::LinkLoader::linkLoadingErrorTimerFired):
414 * loader/LinkLoader.h:
415 * loader/NavigationScheduler.cpp:
416 (WebCore::NavigationScheduler::timerFired):
417 * loader/NavigationScheduler.h:
418 * loader/PingLoader.cpp:
419 (WebCore::PingLoader::PingLoader):
420 * loader/PingLoader.h:
421 (WebCore::PingLoader::timeoutTimerFired):
422 * loader/ProgressTracker.cpp:
423 (WebCore::ProgressTracker::progressHeartbeatTimerFired):
424 * loader/ProgressTracker.h:
425 * loader/ResourceLoadScheduler.cpp:
426 (WebCore::ResourceLoadScheduler::requestTimerFired):
427 * loader/ResourceLoadScheduler.h:
428 * loader/cache/CachedResource.cpp:
429 (WebCore::CachedResource::decodedDataDeletionTimerFired):
430 (WebCore::CachedResource::CachedResourceCallback::timerFired):
431 * loader/cache/CachedResource.h:
432 * loader/cache/CachedResourceLoader.cpp:
433 (WebCore::CachedResourceLoader::garbageCollectDocumentResourcesTimerFired):
434 * loader/cache/CachedResourceLoader.h:
435 * loader/icon/IconDatabase.cpp:
436 (WebCore::IconDatabase::syncTimerFired):
437 * loader/icon/IconDatabase.h:
438 * page/AutoscrollController.cpp:
439 (WebCore::AutoscrollController::autoscrollTimerFired):
440 * page/AutoscrollController.h:
441 * page/CaptionUserPreferences.cpp:
442 (WebCore::CaptionUserPreferences::timerFired):
443 * page/CaptionUserPreferences.h:
444 * page/DeviceController.cpp:
445 (WebCore::DeviceController::fireDeviceEvent):
446 * page/DeviceController.h:
447 * page/EventHandler.cpp:
448 (WebCore::EventHandler::cursorUpdateTimerFired):
449 (WebCore::EventHandler::autoHideCursorTimerFired):
450 (WebCore::EventHandler::fakeMouseMoveEventTimerFired):
451 (WebCore::EventHandler::hoverTimerFired):
452 * page/EventHandler.h:
453 * page/EventSource.cpp:
454 (WebCore::EventSource::connectTimerFired):
455 * page/EventSource.h:
456 * page/FrameView.cpp:
457 (WebCore::FrameView::deferredRepaintTimerFired):
458 (WebCore::FrameView::layoutTimerFired):
459 (WebCore::FrameView::postLayoutTimerFired):
461 * page/PageThrottler.cpp:
462 (WebCore::PageThrottler::throttleHysteresisTimerFired):
463 * page/PageThrottler.h:
464 * page/animation/AnimationController.cpp:
465 (WebCore::AnimationControllerPrivate::updateStyleIfNeededDispatcherFired):
466 (WebCore::AnimationControllerPrivate::animationTimerFired):
467 * page/animation/AnimationControllerPrivate.h:
468 * platform/Scrollbar.cpp:
469 (WebCore::Scrollbar::autoscrollTimerFired):
470 * platform/Scrollbar.h:
472 (WebCore::Timer::Timer):
473 (WebCore::DeferrableOneShotTimer::DeferrableOneShotTimer):
474 * platform/graphics/BitmapImage.cpp:
475 (WebCore::BitmapImage::advanceAnimation):
476 * platform/graphics/BitmapImage.h:
477 * platform/graphics/MediaPlayer.cpp:
478 (WebCore::MediaPlayer::reloadTimerFired):
479 * platform/graphics/MediaPlayer.h:
480 * platform/graphics/ca/mac/LayerPool.h:
481 * platform/graphics/ca/mac/LayerPool.mm:
482 (WebCore::LayerPool::pruneTimerFired):
483 * platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
484 (WebCore::ImageBufferBackingStoreCache::timerFired):
485 * platform/graphics/cg/ImageBufferBackingStoreCache.h:
486 * platform/graphics/cg/SubimageCacheWithTimer.cpp:
487 (WebCore::SubimageCacheWithTimer::invalidateCacheTimerFired):
488 * platform/graphics/cg/SubimageCacheWithTimer.h:
489 * platform/graphics/mac/MediaPlayerPrivateQTKit.h:
490 * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
491 (WebCore::MediaPlayerPrivateQTKit::seekTimerFired):
492 * platform/mac/ScrollAnimatorMac.h:
493 * platform/mac/ScrollAnimatorMac.mm:
494 (WebCore::ScrollAnimatorMac::snapRubberBandTimerFired):
495 (WebCore::ScrollAnimatorMac::initialScrollbarPaintTimerFired):
496 (WebCore::ScrollAnimatorMac::sendContentAreaScrolledTimerFired):
497 * platform/mock/DeviceOrientationClientMock.cpp:
498 (WebCore::DeviceOrientationClientMock::timerFired):
499 * platform/mock/DeviceOrientationClientMock.h:
500 * platform/network/NetworkStateNotifier.h:
501 * platform/network/ResourceHandle.cpp:
502 (WebCore::ResourceHandle::failureTimerFired):
503 * platform/network/ResourceHandle.h:
504 * platform/network/ResourceHandleInternal.h:
505 (WebCore::ResourceHandleInternal::ResourceHandleInternal):
506 * platform/network/mac/NetworkStateNotifierMac.cpp:
507 (WebCore::NetworkStateNotifier::networkStateChangeTimerFired):
508 * rendering/ImageQualityController.cpp:
509 (WebCore::ImageQualityController::highQualityRepaintTimerFired):
510 * rendering/ImageQualityController.h:
511 * rendering/RenderButton.cpp:
512 (WebCore::RenderButton::timerFired):
513 * rendering/RenderButton.h:
514 * rendering/RenderLayerCompositor.cpp:
515 (WebCore::RenderLayerCompositor::updateCompositingLayersTimerFired):
516 (WebCore::RenderLayerCompositor::layerFlushTimerFired):
517 (WebCore::RenderLayerCompositor::paintRelatedMilestonesTimerFired):
518 * rendering/RenderLayerCompositor.h:
519 * rendering/RenderMarquee.cpp:
520 (WebCore::RenderMarquee::timerFired):
521 * rendering/RenderMarquee.h:
522 * rendering/RenderNamedFlowThread.cpp:
523 (WebCore::RenderNamedFlowThread::regionLayoutUpdateEventTimerFired):
524 (WebCore::RenderNamedFlowThread::regionOversetChangeEventTimerFired):
525 * rendering/RenderNamedFlowThread.h:
526 * rendering/RenderProgress.cpp:
527 (WebCore::RenderProgress::animationTimerFired):
528 * rendering/RenderProgress.h:
530 2014-01-11 Simon Fraser <simon.fraser@apple.com>
532 #ifdef out the contents of Touch* files for iOS.
538 2014-01-11 Simon Fraser <simon.fraser@apple.com>
540 No need to include <ApplicationServices/ApplicationServices.h> in
541 the header. Can use <CoreGraphics/CoreGraphics.h> in the .cpp file.
543 * platform/graphics/cg/ImageBufferBackingStoreCache.cpp:
544 * platform/graphics/cg/ImageBufferBackingStoreCache.h:
546 2014-01-11 Simon Fraser <simon.fraser@apple.com>
548 Fix DOM headers: TARGET_OS_EMBEDDED -> TARGET_OS_IPHONE
549 and a drive-by cleanup of DOMUIKitExtensions.mm #includes.
551 * bindings/objc/DOMPrivate.h:
552 * bindings/objc/DOMUIKitExtensions.h:
553 * bindings/objc/DOMUIKitExtensions.mm:
555 2014-01-11 Simon Fraser <simon.fraser@apple.com>
557 Fix use of GL_HALF_FLOAT_ARB on iOS.
559 * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
560 (WebCore::GraphicsContext3D::texSubImage2D):
562 2014-01-11 Simon Fraser <simon.fraser@apple.com>
564 Fix build of SourceBufferPrivateAVFObjC.mm on iOS.
566 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
568 2014-01-11 Simon Fraser <simon.fraser@apple.com>
570 Fix use of nonexistent kCGColorSpaceSRGB on iOS.
572 * platform/graphics/cg/GraphicsContextCG.cpp:
573 (WebCore::sRGBColorSpaceRef):
575 2014-01-11 Joseph Pecoraro <pecoraro@apple.com>
577 Web Inspector: Some ScriptDebugServer Cleanup
578 https://bugs.webkit.org/show_bug.cgi?id=126793
580 Reviewed by Timothy Hatcher.
582 * bindings/js/PageScriptDebugServer.cpp:
583 (WebCore::PageScriptDebugServer::didContinue):
584 (WebCore::PageScriptDebugServer::runEventLoopWhilePaused):
585 Move the special iOS WebThread EventLoop nesting handling here.
587 * bindings/js/ScriptDebugServer.cpp:
588 (WebCore::ScriptDebugServer::ScriptDebugServer):
589 (WebCore::ScriptDebugServer::handlePause):
590 * bindings/js/ScriptDebugServer.h:
591 * inspector/InspectorDebuggerAgent.cpp:
592 * inspector/InspectorDebuggerAgent.h:
593 Remove unused headers and functions.
595 2014-01-11 David Kilzer <ddkilzer@apple.com>
597 [iOS] Add USE(IOSURFACE_CANVAS_BACKING_STORE) to fix build
599 * platform/graphics/cg/ImageBufferCG.cpp:
600 (WebCore::ImageBuffer::ImageBuffer): The 'width' and 'height'
601 variables are only used by code protected by
602 USE(IOSURFACE_CANVAS_BACKING_STORE).
604 2014-01-11 David Kilzer <ddkilzer@apple.com>
606 [iOS] Multisampling is not available on iOS
608 * platform/graphics/mac/GraphicsContext3DMac.mm:
609 (WebCore::GraphicsContext3D::GraphicsContext3D):
611 2014-01-10 David Kilzer <ddkilzer@apple.com>
613 [iOS] Fix build for HTMLImageElement::willRespondToMouseClickEvents()
615 * html/HTMLImageElement.cpp:
616 (WebCore::HTMLImageElement::willRespondToMouseClickEvents):
618 2014-01-10 Anders Carlsson <andersca@apple.com>
622 * loader/ProgressTracker.cpp:
623 (WebCore::ProgressTracker::~ProgressTracker):
624 Comment out the call to progressTrackerDestroyed for now.
626 2014-01-10 David Kilzer <ddkilzer@apple.com>
628 [iOS] Fix build for RenderEmbeddedObject::canHaveChildren()
630 * rendering/RenderEmbeddedObject.cpp:
631 (WebCore::RenderEmbeddedObject::canHaveChildren):
633 2014-01-10 Anders Carlsson <andersca@apple.com>
635 Tweak ProgressTrackerClient functions
636 https://bugs.webkit.org/show_bug.cgi?id=126808
638 Reviewed by Sam Weinig.
640 Rename the three progress state related member functions since it's up to the various
641 WebKit implementations to decide what to do - not everyone wants to post a notification.
642 Also add an originating progress frame parameter since WebKit2 doesn't report progress for
643 subframe navigation and we need to be able to keep track of that.
645 Finally, tweak ProgressTracker::completeProgress to get rid of an unnecessary hash lookup.
647 * loader/EmptyClients.h:
648 * loader/ProgressTracker.cpp:
649 (WebCore::ProgressItem::ProgressItem):
650 (WebCore::ProgressTracker::progressStarted):
651 (WebCore::ProgressTracker::finalProgressComplete):
652 (WebCore::ProgressTracker::incrementProgress):
653 (WebCore::ProgressTracker::completeProgress):
654 * loader/ProgressTrackerClient.h:
656 2014-01-10 David Kilzer <ddkilzer@apple.com>
658 [iOS] Fix COMPILE_ASSERT by updating struct SameSizeAsStyleRareInheritedData
660 * rendering/style/StyleRareInheritedData.cpp:
662 2014-01-10 David Kilzer <ddkilzer@apple.com>
664 [iOS] Fix build of SubframeLoader.cpp
666 * loader/SubframeLoader.cpp:
667 (WebCore::SubframeLoader::loadMediaPlayerProxyPlugin):
668 (WebCore::SubframeLoader::loadPlugin):
669 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
671 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
673 Fix Mac after r161747. One part of that is iOS specific.
675 Unreviewed build fix.
677 * bindings/js/GCController.cpp:
678 (WebCore::GCController::releaseExecutableMemory):
680 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
682 [iOS] Fix GCController::releaseExecutableMemory
683 https://bugs.webkit.org/show_bug.cgi?id=126805
685 Reviewed by Sam Weinig and Mark Lam.
687 VM::dynamicGlobalObject has since been replaced by VMEntryScope.
688 Update to check entryScope instead of the dynamicGlobalObject.
689 Also, make this non-iOS only.
691 * bindings/js/GCController.h:
692 * bindings/js/GCController.cpp:
693 (WebCore::GCController::releaseExecutableMemory):
695 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
697 Fix HTMLMediaElement.o for iOS. Unreviewed build fix.
699 There is now local variable mediaElement. Just call the
700 functions since they are methods on this class.
702 Fix RequireUserGestureToShowPlaybackTargetPickerRestriction typos.
704 * html/HTMLMediaElement.cpp:
705 (WebCore::HTMLMediaElement::parseAttribute):
707 2014-01-10 Anders Carlsson <andersca@apple.com>
709 Move progress tracking functions from FrameLoaderClient to a new ProgressTrackerClient
710 https://bugs.webkit.org/show_bug.cgi?id=126801
712 Reviewed by Sam Weinig.
714 * GNUmakefile.list.am:
715 * WebCore.vcxproj/WebCore.vcxproj:
716 * WebCore.vcxproj/WebCore.vcxproj.filters:
717 * WebCore.xcodeproj/project.pbxproj:
718 * loader/EmptyClients.cpp:
719 (WebCore::fillWithEmptyClients):
720 * loader/EmptyClients.h:
721 * loader/FrameLoaderClient.h:
722 * loader/ProgressTracker.cpp:
723 (WebCore::ProgressTracker::ProgressTracker):
724 (WebCore::ProgressTracker::~ProgressTracker):
725 (WebCore::ProgressTracker::progressStarted):
726 (WebCore::ProgressTracker::progressCompleted):
727 (WebCore::ProgressTracker::finalProgressComplete):
728 (WebCore::ProgressTracker::incrementProgress):
729 * loader/ProgressTracker.h:
730 * loader/ProgressTrackerClient.h: Added.
731 (WebCore::ProgressTrackerClient::~ProgressTrackerClient):
732 (WebCore::ProgressTrackerClient::progressTrackerDestroyed):
733 (WebCore::ProgressTrackerClient::willChangeEstimatedProgress):
734 (WebCore::ProgressTrackerClient::didChangeEstimatedProgress):
736 (WebCore::Page::Page):
737 (WebCore::Page::PageClients::PageClients):
740 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
742 Fix RenderObject.o for iOS. Unreviewed build fix.
744 r156285 renamed firstChild() to firstChildSlow(), so update
745 occurances in IOS_TEXT_AUTOSIZING code. Also account for a
746 RenderObject::style reference / pointer change.
748 * rendering/RenderObject.cpp:
749 (WebCore::RenderObject::traverseNext):
750 (WebCore::includeNonFixedHeight):
752 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
754 Fix MediaPlayerPrivateMediaSourceAVFObjC.o for iOS. Unreviewed build fix.
756 Import CALayer, which Mac must have been getting some other way.
758 * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
760 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
762 Fix TileGrid.o for iOS. Unreviewed build fix.
764 Explicitly use namespace std in std::pair.
766 * platform/ios/TileGrid.mm:
767 (WebCore::isFartherAway):
768 (WebCore::TileGrid::dropDistantTiles):
770 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
772 Fix RenderImage.o for iOS. Unreviewed build fix.
774 inlineBoxWrapper() returns an InlineElementBox type, which is an InlineBox but
775 without including InlineElementBox.h, iOS didn't know what an InlineElementBox was!
777 * rendering/RenderImage.cpp:
779 2014-01-10 David Kilzer <ddkilzer@apple.com>
781 [iOS] Fix macros in Scrollbar::supportsUpdateOnSecondaryThread()
783 Fixes the following build error:
785 WebCore/platform/Scrollbar.cpp:552:22: error: '__MAC_OS_X_VERSION_MIN_REQUIRED' is not defined, evaluates to 0 [-Werror,-Wundef]
786 #if PLATFORM(MAC) && __MAC_OS_X_VERSION_MIN_REQUIRED >= 101000 && ENABLE(ASYNC_SCROLLING)
789 * platform/Scrollbar.cpp:
790 (WebCore::Scrollbar::supportsUpdateOnSecondaryThread):
792 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
794 Fix RenderFileUploadControl.o for iOS. Unreviewed build fix.
796 WebCore::theme() returns a reference now, not a pointer.
798 * rendering/RenderFileUploadControl.cpp:
799 (WebCore::RenderFileUploadControl::paintObject):
801 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
803 Fix HTMLPlugInImageElement.o for iOS. Unreviewed build fix.
805 Forgot to upstream YouTubeEmbedShadowElement.*. Do so and
806 add the files to the Xcode project so they build.
808 * WebCore.xcodeproj/project.pbxproj:
809 * html/shadow/YouTubeEmbedShadowElement.cpp: Added.
810 (WebCore::YouTubeEmbedShadowElement::create):
811 (WebCore::YouTubeEmbedShadowElement::YouTubeEmbedShadowElement):
812 (WebCore::YouTubeEmbedShadowElement::pluginElement):
813 (WebCore::YouTubeEmbedShadowElement::shadowPseudoId):
814 * html/shadow/YouTubeEmbedShadowElement.h: Added.
816 2014-01-10 David Kilzer <ddkilzer@apple.com>
818 [iOS] Update EditorIOS.mm to switch from pointers to references
820 * editing/ios/EditorIOS.mm:
821 (WebCore::Editor::setTextAlignmentForChangedBaseWritingDirection):
822 (WebCore::Editor::insertParagraphSeparatorInQuotedContent):
823 (WebCore::styleForSelectionStart):
824 (WebCore::Editor::selectionInWebArchiveFormat):
825 (WebCore::Editor::writeImageToPasteboard):
826 (WebCore::Editor::WebContentReader::readWebArchive):
827 (WebCore::Editor::WebContentReader::readRTFD):
828 (WebCore::Editor::WebContentReader::readRTF):
829 (WebCore::uniqueURLWithRelativePart):
830 (WebCore::Editor::WebContentReader::readPlainText):
831 (WebCore::Editor::webContentFromPasteboard):
832 (WebCore::Editor::createFragmentAndAddResources):
833 (WebCore::Editor::createFragmentForImageResourceAndAddResource):
835 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
837 Web Inspector: Push InspectorAgent down into JSC, give JSC an InspectorController
838 https://bugs.webkit.org/show_bug.cgi?id=126763
840 Reviewed by Timothy Hatcher.
842 No new tests, no observable change in functionality.
845 * ForwardingHeaders/inspector/agent/InspectorAgent.h: Added.
846 * GNUmakefile.list.am:
847 * WebCore.vcxproj/WebCore.vcxproj:
848 * WebCore.vcxproj/WebCore.vcxproj.filters:
849 * WebCore.xcodeproj/project.pbxproj:
850 * inspector/InspectorAllInOne.cpp:
851 InspectorAgent moved to JavaScriptCore. Include forwarding header.
853 * inspector/PageConsoleAgent.cpp:
854 (WebCore::PageConsoleAgent::PageConsoleAgent):
855 (WebCore::PageConsoleAgent::~PageConsoleAgent):
856 * inspector/PageConsoleAgent.h:
857 (WebCore::PageConsoleAgent::create):
858 * inspector/InspectorApplicationCacheAgent.cpp:
859 * inspector/InspectorApplicationCacheAgent.h:
860 InspectorAgent was not used by these files, remove it.
862 * inspector/CommandLineAPIHost.cpp:
863 * inspector/CommandLineAPIHost.h:
864 (WebCore::CommandLineAPIHost::init):
865 * inspector/InspectorInstrumentation.cpp:
866 * inspector/InstrumentingAgents.h:
867 (WebCore::InstrumentingAgents::inspectorAgent):
868 (WebCore::InstrumentingAgents::setInspectorAgent):
869 Switch to Inspector::InspectorAgent where applicable.
871 * inspector/InspectorController.cpp:
872 (WebCore::InspectorController::InspectorController):
873 * inspector/InspectorController.h:
874 Manually add InspectorAgent to the InstrumentingAgents. It is one
875 of the agents that is always available in InstrumentingAgents.
877 2014-01-10 Simon Fraser <simon.fraser@apple.com>
879 Add TextAutoSizing.* for iOS, and fix DeviceOrientationController creation.
881 * WebCore.xcodeproj/project.pbxproj:
883 (WebCore::Document::Document):
884 * rendering/TextAutoSizing.cpp: Added.
885 (WebCore::cloneRenderStyleWithState):
886 (WebCore::TextAutoSizingKey::TextAutoSizingKey):
887 (WebCore::TextAutoSizingKey::~TextAutoSizingKey):
888 (WebCore::TextAutoSizingKey::operator=):
889 (WebCore::TextAutoSizingKey::ref):
890 (WebCore::TextAutoSizingKey::deref):
891 (WebCore::TextAutoSizingValue::numNodes):
892 (WebCore::TextAutoSizingValue::addNode):
893 (WebCore::TextAutoSizingValue::adjustNodeSizes):
894 (WebCore::TextAutoSizingValue::reset):
895 * rendering/TextAutoSizing.h: Added.
896 (WebCore::TextAutoSizingKey::doc):
897 (WebCore::TextAutoSizingKey::style):
898 (WebCore::TextAutoSizingKey::isValidDoc):
899 (WebCore::TextAutoSizingKey::isValidStyle):
900 (WebCore::TextAutoSizingKey::deletedKeyDoc):
901 (WebCore::TextAutoSizingKey::deletedKeyStyle):
902 (WebCore::operator==):
903 (WebCore::TextAutoSizingHash::hash):
904 (WebCore::TextAutoSizingHash::equal):
905 (WebCore::TextAutoSizingValue::create):
906 (WebCore::TextAutoSizingValue::TextAutoSizingValue):
908 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
910 Fix GraphicsLayerCA.o for iOS. Unreviewed build fix.
912 Use of systemMemoryLevel was missing include of SystemMemory.h.
914 * platform/graphics/ca/GraphicsLayerCA.cpp:
916 2014-01-10 Simon Fraser <simon.fraser@apple.com>
920 * bindings/objc/DOM.mm:
921 (-[DOMRange renderedImageForcingBlackText:renderedImageForcingBlackText:]):
922 * bindings/objc/DOMExtensions.h:
923 * platform/DragImage.h:
925 2014-01-10 Simon Fraser <simon.fraser@apple.com>
929 Generated DOMTouch* and DOMGesture* files need to be in the project.
930 Exclude them on Mac via EXCLUDED_SOURCE_FILE_NAMES_macosx.
932 Use TARGET_OS_IPHONE instead of TARGET_OS_EMBEDDED in DOMPrivate.h
934 * Configurations/WebCore.xcconfig:
935 * WebCore.xcodeproj/project.pbxproj:
936 * bindings/objc/DOMPrivate.h:
938 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
940 Fix RenderThemeIOS.o for iOS. Unreviewed build fix.
942 Typo referring to generated name. Should be "iOS" not "IOS".
944 * rendering/RenderThemeIOS.mm:
945 (WebCore::RenderThemeIOS::mediaControlsScript):
947 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
949 Fix WebAccessibilityObjectWrapperIOS.o for iOS. Unreviewed build fix.
951 The upstreamed WebAccessibilityObjectWrapperIOS.mm was out of date, e.g.
952 it was using GSFonts. Just upstream a newer version of the file. Also
953 explicitly namespace qualify std::pair.
955 * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm:
956 (AXAttributeStringSetStyle):
958 2014-01-10 Jinwoo Song <jinwoo7.song@samsung.com>
960 Remove willRespondToTouchEvents() which was used by chromium port
961 https://bugs.webkit.org/show_bug.cgi?id=126739
963 Reviewed by Alexey Proskuryakov.
965 willRespondToTouchEvents() was added to check if a node listens to touch events in r126945.
966 However, it is not used anywhere after chromium port is removed.
971 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
973 Fix SystemVersionMac.o for iOS. Unreviewed build fix.
975 Add missing expected function. Maybe we can avoid including
976 this file entirely on iOS, there was already a FIXME.
978 * platform/mac/SystemVersionMac.mm:
979 (WebCore::systemMarketingVersion):
981 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
983 Fix JSDOMWindowBase.o for iOS. Unreviewed build fix.
985 Add missing iOS method declarations.
987 * bindings/js/JSDOMWindowBase.h:
989 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
991 Fix InputType.o for iOS. Unreviewed build fix.
993 The RuntimeEnabledFeatures function pointer type should have a
994 const qualifier, because the implementations are all const.
996 * html/InputType.cpp:
998 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1000 Fix MediaPlayerPrivateIOS.o for iOS. Unreviewed build fix.
1002 Add missing MediaPlayerProxy Objective C methods and forward declarations.
1004 * platform/graphics/mac/MediaPlayerProxy.h:
1006 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1008 Fix FrameSelection.o for iOS. Unreviewed build fix.
1010 r160966 renamed rendererIsEditable to hasEditableStyle.
1012 * editing/FrameSelection.cpp:
1013 (WebCore::FrameSelection::setSelectionFromNone):
1015 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1017 Fix DragData.o for iOS. Unreviewed build fix.
1019 String m_pasteboardName is unused on iOS, so ifdef it out.
1021 * platform/DragData.h:
1023 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1025 Fix FrameIOS.o for iOS. Unreviewed build fix.
1027 Remove stale include to file that no longer exists. It was not needed.
1029 * page/ios/FrameIOS.mm:
1031 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1033 Fix MonthInputType.o for iOS. Unreviewed build fix.
1035 When ENABLE_INPUT_MULTIPLE_FIELDS_UI was removed in r150876,
1036 the wrong class name lingered. Fix it to be the base class.
1038 * html/TimeInputType.cpp:
1039 (WebCore::TimeInputType::TimeInputType):
1041 2014-01-10 Andy Estes <aestes@apple.com>
1043 [iOS] Build fix: make sure WTF_PLATFORM_IOS is defined when preprocessing
1045 * DerivedSources.make:
1046 * bindings/scripts/preprocessor.pm:
1047 (applyPreprocessor):
1049 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1051 Use TARGET_OS_IPHONE in this API file, and #if TARGET_OS_MAC
1052 for a non-iOS function.
1054 * bindings/objc/DOMExtensions.h:
1056 2014-01-10 David Kilzer <ddkilzer@apple.com>
1058 Clean up architectures in xcconfig files
1059 <http://webkit.org/b/126794>
1061 Reviewed by Andy Estes.
1063 * Configurations/Base.xcconfig:
1064 * Configurations/WebCore.xcconfig: Remove armv6.
1065 * DerivedSources.make: Remove armv6, armv7f. Sort.
1068 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1072 * Configurations/WebCore.xcconfig:
1073 * css/DeprecatedStyleBuilder.cpp:
1074 (WebCore::ApplyPropertyLineHeightForIOSTextAutosizing::applyValue):
1076 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1080 * html/DateTimeLocalInputType.h:
1081 (WebCore::DateTimeLocalInputType::DateTimeLocalInputType):
1082 * loader/ios/DiskImageCacheIOS.h:
1084 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1086 iOS build fix: add StyleRareInheritedData::compositionFillColor
1088 * rendering/style/RenderStyle.h:
1089 * rendering/style/StyleRareInheritedData.cpp:
1090 (WebCore::StyleRareInheritedData::StyleRareInheritedData):
1091 (WebCore::StyleRareInheritedData::operator==):
1092 * rendering/style/StyleRareInheritedData.h:
1094 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1096 Fix MonthInputType.o for iOS. Unreviewed build fix.
1098 When ENABLE_INPUT_MULTIPLE_FIELDS_UI was removed in r150876, the
1099 BaseMonthInputType typedef was removed. However a use of it lingered.
1100 Changing to match the base class name.
1102 * html/MonthInputType.h:
1103 (WebCore::MonthInputType::MonthInputType):
1105 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1107 Fix RenderButton.o for iOS. Unreviewed build fix.
1109 Missing prototype in header for override of the layout method.
1111 * rendering/RenderButton.h:
1113 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1115 A couple of iOS build fixes.
1117 * accessibility/ios/AXObjectCacheIOS.mm:
1118 (WebCore::AXObjectCache::handleFocusedUIElementChanged):
1119 * html/canvas/CanvasRenderingContext2D.cpp:
1120 (WebCore::CanvasRenderingContext2D::drawImage):
1122 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1124 Fix PlatformScreenIOS.mm for iOS. Unreviewed build fix.
1126 PlatformScreen.h removed screenVerticalDPI and screenHorizontalDPI in r132419,
1127 so remove the stale implementations on iOS. Also, add a notImplemented version
1128 of screenColorProfile, which matches Mac and is unused in WebCore for this port.
1130 * platform/ios/PlatformScreenIOS.mm:
1131 (WebCore::screenColorProfile):
1133 2014-01-10 Anders Carlsson <andersca@apple.com>
1136 https://bugs.webkit.org/show_bug.cgi?id=126795
1138 Reviewed by Tim Horton.
1141 (WebCore::Frame::Frame):
1142 * page/FrameTree.cpp:
1143 (WebCore::FrameTree::transferChild):
1144 (WebCore::FrameTree::appendChild):
1145 (WebCore::FrameTree::actuallyAppendChild):
1146 (WebCore::FrameTree::uniqueChildName):
1147 (WebCore::FrameTree::scopedChild):
1148 (WebCore::FrameTree::scopedChildCount):
1149 (WebCore::FrameTree::child):
1150 (WebCore::FrameTree::find):
1151 (WebCore::FrameTree::isDescendantOf):
1152 (WebCore::FrameTree::traverseNext):
1153 (WebCore::FrameTree::traverseNextWithWrap):
1154 (WebCore::FrameTree::traversePreviousWithWrap):
1155 (WebCore::FrameTree::deepLastChild):
1156 (WebCore::FrameTree::top):
1158 (WebCore::FrameTree::FrameTree):
1160 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1164 * loader/ResourceLoader.h:
1166 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1170 * platform/graphics/ImageSource.h:
1171 (WebCore::ImageSource::acceleratedImageDecodingEnabled):
1172 (WebCore::ImageSource::setAcceleratedImageDecodingEnabled):
1174 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1176 Unreviewed EFL build fix after r161678.
1178 static_cast a size_t to unsigned long for %lu format string.
1181 (WebCore::internalAddMessage):
1183 2014-01-10 Benjamin Poulain <bpoulain@apple.com>
1185 Remove the BlackBerry port from trunk
1186 https://bugs.webkit.org/show_bug.cgi?id=126715
1188 Reviewed by Anders Carlsson.
1190 * html/canvas/WebGLRenderingContext.cpp:
1191 (WebCore::WebGLRenderingContext::readPixels):
1192 * platform/graphics/ImageBuffer.cpp:
1193 * platform/graphics/ImageBufferData.h:
1194 * platform/graphics/IntPoint.h:
1195 * platform/graphics/IntRect.h:
1196 * platform/graphics/IntSize.h:
1197 * platform/graphics/MediaPlayer.cpp:
1198 * platform/graphics/NativeImagePtr.h:
1199 * platform/graphics/OpenGLESShims.h:
1200 * platform/graphics/Path.cpp:
1201 (WebCore::Path::addPathForRoundedRect):
1202 * platform/graphics/Path.h:
1203 * platform/graphics/PlatformLayer.h:
1204 * platform/graphics/filters/CustomFilterValidatedProgram.cpp:
1205 * platform/graphics/filters/CustomFilterValidatedProgram.h:
1206 * platform/graphics/filters/FilterOperation.h:
1207 * platform/graphics/gpu/DrawingBuffer.cpp:
1208 * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
1209 * platform/graphics/opengl/Extensions3DOpenGLES.cpp:
1210 (WebCore::Extensions3DOpenGLES::getGraphicsResetStatusARB):
1211 * platform/graphics/opengl/Extensions3DOpenGLES.h:
1212 * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
1213 (WebCore::GraphicsContext3D::paintRenderingResultsToCanvas):
1214 (WebCore::GraphicsContext3D::prepareTexture):
1215 (WebCore::GraphicsContext3D::bindFramebuffer):
1216 (WebCore::GraphicsContext3D::compileShader):
1217 (WebCore::GraphicsContext3D::copyTexImage2D):
1218 (WebCore::GraphicsContext3D::copyTexSubImage2D):
1219 * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp:
1220 (WebCore::GraphicsContext3D::readPixels):
1221 (WebCore::GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary):
1222 (WebCore::GraphicsContext3D::reshapeFBOs):
1223 * platform/network/NetworkStateNotifier.h:
1224 * platform/network/ResourceHandle.h:
1225 * platform/network/ResourceHandleInternal.h:
1226 * platform/network/ResourceRequestBase.cpp:
1228 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1230 Fix CharsetData.cpp build for iOS
1231 https://bugs.webkit.org/show_bug.cgi?id=126792
1233 Reviewed by Mark Rowe.
1235 CharsetData.cpp should have an empty CharsetTable list for iOS.
1236 Achieve this with an iOS-specific encodings.txt file.
1238 * DerivedSources.make:
1239 * WebCore.xcodeproj/project.pbxproj:
1240 * platform/text/mac/ios-encodings.txt: Added.
1242 2014-01-10 Anders Carlsson <andersca@apple.com>
1244 CTTE in NavigationScheduler
1245 https://bugs.webkit.org/show_bug.cgi?id=126788
1247 Reviewed by Tim Horton.
1249 * inspector/InspectorInstrumentation.cpp:
1250 (WebCore::InspectorInstrumentation::frameScheduledNavigationImpl):
1251 (WebCore::InspectorInstrumentation::frameClearedScheduledNavigationImpl):
1252 * inspector/InspectorInstrumentation.h:
1253 (WebCore::InspectorInstrumentation::frameScheduledNavigation):
1254 (WebCore::InspectorInstrumentation::frameClearedScheduledNavigation):
1255 * inspector/InspectorPageAgent.cpp:
1256 (WebCore::InspectorPageAgent::frameScheduledNavigation):
1257 (WebCore::InspectorPageAgent::frameClearedScheduledNavigation):
1258 * inspector/InspectorPageAgent.h:
1259 * loader/NavigationScheduler.cpp:
1260 (WebCore::ScheduledNavigation::shouldStartTimer):
1261 (WebCore::ScheduledNavigation::didStartTimer):
1262 (WebCore::ScheduledNavigation::didStopTimer):
1263 (WebCore::NavigationScheduler::NavigationScheduler):
1264 (WebCore::NavigationScheduler::clear):
1265 (WebCore::NavigationScheduler::shouldScheduleNavigation):
1266 (WebCore::NavigationScheduler::scheduleRedirect):
1267 (WebCore::NavigationScheduler::mustLockBackForwardList):
1268 (WebCore::NavigationScheduler::scheduleLocationChange):
1269 (WebCore::NavigationScheduler::scheduleFormSubmission):
1270 (WebCore::NavigationScheduler::scheduleRefresh):
1271 (WebCore::NavigationScheduler::scheduleHistoryNavigation):
1272 (WebCore::NavigationScheduler::timerFired):
1273 (WebCore::NavigationScheduler::schedule):
1274 (WebCore::NavigationScheduler::startTimer):
1275 (WebCore::NavigationScheduler::cancel):
1276 * loader/NavigationScheduler.h:
1278 (WebCore::Frame::Frame):
1280 2014-01-10 Myles C. Maxfield <mmaxfield@apple.com>
1282 CSS word-spacing property does not obey percentages
1283 https://bugs.webkit.org/show_bug.cgi?id=126674
1285 Reviewed by Simon Fraser.
1287 One change between CSS2.1 and CSS3 is that the word-spacing CSS property can
1288 take percentages (of the width of the space character) in CSS3. In order to
1289 implement this, the datatype must be changed from a float to a Length, which
1290 can hold percentage values. Then, during layout, we can query the width of
1291 the space character and update the Font's word-spacing value appropriately.
1292 However, the RenderStyle still holds on to the Length (as a rare inherited
1295 Tests: fast/css3-text/css3-word-spacing-percentage/word-spacing-change-font.html
1296 fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage-parse.html
1297 fast/css3-text/css3-word-spacing-percentage/word-spacing-percentage.html
1299 * css/CSSComputedStyleDeclaration.cpp:
1300 (WebCore::ComputedStyleExtractor::propertyValue): Use Font's computed value instead
1301 of style's Length value.
1302 * css/CSSParser.cpp:
1303 (WebCore::CSSParser::parseValue): word-spacing and letter-spacing no longer are
1304 parsed the same way.
1305 * css/DeprecatedStyleBuilder.cpp:
1306 (WebCore::ApplyPropertyWordSpacing::applyValue): Construct a length from a given
1307 CSSValue and set the style's word spacing with it.
1308 (WebCore::ApplyPropertyWordSpacing::createHandler):
1309 (WebCore::DeprecatedStyleBuilder::DeprecatedStyleBuilder): Use ApplyPropertyWordSpacing.
1310 * page/animation/CSSPropertyAnimation.cpp:
1311 (WebCore::CSSPropertyAnimationWrapperMap::CSSPropertyAnimationWrapperMap):
1312 * rendering/RenderBlockLineLayout.cpp:
1313 (WebCore::setLogicalWidthForTextRun): Use Font's computed value instead
1314 of style's Length value.
1315 * rendering/RenderText.cpp:
1316 (WebCore::RenderText::computePreferredLogicalWidths): Ditto.
1317 * rendering/SimpleLineLayout.cpp:
1318 (WebCore::SimpleLineLayout::canUseFor): Opt-out of the SimpleLineLayout
1319 if either the percentage or the length is nonzero.
1320 * rendering/line/BreakingContextInlineHeaders.h:
1321 (WebCore::BreakingContext::handleText): Use Font's computed value instead
1322 of style's Length value.
1323 * rendering/style/RenderStyle.cpp:
1324 (WebCore::RenderStyle::wordSpacing):
1325 (WebCore::RenderStyle::setWordSpacing): Consult the Font's space with to compute
1326 percentage values, but hold on to the original Length.
1327 * rendering/style/RenderStyle.h:
1328 * rendering/style/StyleRareInheritedData.cpp:
1329 * rendering/style/StyleRareInheritedData.h: Hold on to the specified Length
1331 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1335 * platform/audio/mac/MediaSessionManagerMac.cpp:
1337 2014-01-10 Simon Fraser <simon.fraser@apple.com>
1339 iOS doesn't have <OpenGL/gl.h>; fix iOS build.
1341 * platform/graphics/opengl/TemporaryOpenGLSetting.cpp:
1343 2014-01-10 Andy Estes <aestes@apple.com>
1345 [iOS] Build Fix: Properly add $SDKROOT/usr/local/include/ to the search path when building PublicDOMInterfaces.h
1347 * bindings/scripts/CodeGeneratorObjC.pm:
1348 (ReadPublicInterfaces):
1350 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1352 Web Inspector: Remove unimplemented or static ScriptDebugServer features
1353 https://bugs.webkit.org/show_bug.cgi?id=126784
1355 Reviewed by Timothy Hatcher.
1357 These features are unimplemented in the backend, and unused by the
1358 current frontend. Most deal with features that were supported by v8
1359 and are as yet unimplemented by JSC. If we decide to add such features
1360 we can reimplement without conforming to an old implementation.
1362 * bindings/js/ScriptDebugServer.cpp:
1363 * bindings/js/ScriptDebugServer.h:
1364 * bindings/js/ScriptProfiler.h:
1365 * inspector/InspectorDebuggerAgent.cpp:
1366 (WebCore::InspectorDebuggerAgent::disable):
1367 * inspector/InspectorDebuggerAgent.h:
1368 * inspector/InspectorPageAgent.cpp:
1369 (WebCore::InspectorPageAgent::reload):
1370 (WebCore::InspectorPageAgent::frameNavigated):
1371 * inspector/InspectorPageAgent.h:
1372 * inspector/InspectorProfilerAgent.cpp:
1373 * inspector/InspectorProfilerAgent.h:
1374 * inspector/PageDebuggerAgent.cpp:
1375 (WebCore::PageDebuggerAgent::didClearMainFrameWindowObject):
1376 * inspector/protocol/Page.json:
1377 * inspector/protocol/Profiler.json:
1379 2014-01-10 David Kilzer <ddkilzer@apple.com>
1381 [iOS] Remove unused variable from TileGrid::dropTilesBetweenRects()
1383 Fixes the following build error:
1385 WebCore/platform/ios/TileGrid.mm:88:23: error: unused variable 'end' [-Werror,-Wunused-variable]
1386 TileMap::iterator end = m_tiles.end();
1389 * platform/ios/TileGrid.mm:
1390 (WebCore::TileGrid::dropTilesBetweenRects): Remove unused
1391 variable now that the for loop uses an auto iterator.
1393 2014-01-10 Dean Jackson <dino@apple.com>
1395 Implement OES texture half float linear
1396 https://bugs.webkit.org/show_bug.cgi?id=125060
1398 Reviewed by Brent Fulgham.
1400 Test: fast/canvas/webgl/oes-texture-half-float-linear.html
1402 * CMakeLists.txt: Add new files.
1403 * DerivedSources.cpp: Ditto.
1404 * DerivedSources.make: Generate new file from IDL.
1405 * GNUmakefile.list.am: Add new files.
1406 * WebCore.vcxproj/WebCore.vcxproj: Ditto.
1407 * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
1408 * WebCore.xcodeproj/project.pbxproj: New files for OESTextureHalfFloatLinear.
1410 * bindings/js/JSWebGLRenderingContextCustom.cpp:
1411 (WebCore::toJS): Map from extension name to native object.
1413 * html/canvas/OESTextureHalfFloatLinear.cpp: Added. New files. These are boiler-plate.
1414 * html/canvas/OESTextureHalfFloatLinear.h: Added.
1415 * html/canvas/OESTextureHalfFloatLinear.idl: Added.
1417 * html/canvas/WebGLExtension.h: Add new enum for the new extension.
1419 * html/canvas/WebGLRenderingContext.cpp:
1420 (WebCore::WebGLRenderingContext::getExtension): Create the extension object if the
1421 context is asked for one.
1422 (WebCore::WebGLRenderingContext::getSupportedExtensions): Add the new extension to the
1423 list of supported extensions. Actually remember to do it this time :)
1424 (WebCore::WebGLRenderingContext::checkTextureCompleteness): Need to check for the half-float
1425 extension as well, and update the log message.
1426 * html/canvas/WebGLRenderingContext.h: New extension object.
1428 * html/canvas/WebGLTexture.cpp:
1429 (WebCore::WebGLTexture::WebGLTexture):
1430 (WebCore::WebGLTexture::needToUseBlackTexture): Check for half-float type.
1431 (WebCore::WebGLTexture::update): Mark a texture as half-float if necessary.
1432 * html/canvas/WebGLTexture.h:
1434 * platform/graphics/Extensions3D.h: Add a comment about the new extension.
1435 * platform/graphics/opengl/Extensions3DOpenGL.cpp:
1436 (WebCore::Extensions3DOpenGL::supportsExtension): This extension is available
1437 when GL_ARB_texture_float is supported, so add the name to the translation.
1439 2014-01-10 Brent Fulgham <bfulgham@apple.com>
1441 [WebGL] Correct uniform input validation for texture sampler uniform
1442 https://bugs.webkit.org/show_bug.cgi?id=126775
1444 Reviewed by Dean Jackson.
1446 Added fast/canvas/webgl/uniform-samplers-test.html
1448 * html/canvas/WebGLRenderingContext.cpp:
1449 (WebCore::WebGLRenderingContext::uniform1iv): Access Int32Array data properly.
1451 2014-01-10 Manuel Rego Casasnovas <rego@igalia.com>
1453 [GTK] Unreviewed build fix after r161644.
1455 * Modules/webaudio/MediaStreamAudioSourceNode.cpp:
1456 (WebCore::MediaStreamAudioSourceNode::setFormat):
1458 2014-01-10 Anders Carlsson <andersca@apple.com>
1460 Remove an unused FrameLoader function
1461 https://bugs.webkit.org/show_bug.cgi?id=126785
1463 Reviewed by Beth Dakin.
1466 * loader/FrameLoader.cpp:
1467 (WebCore::FrameLoader::setState):
1468 * loader/FrameLoader.h:
1470 2014-01-10 Benjamin Poulain <bpoulain@apple.com>
1472 Remove the BlackBerry port from trunk
1473 https://bugs.webkit.org/show_bug.cgi?id=126715
1475 Reviewed by Anders Carlsson.
1477 * platform/MIMETypeRegistry.cpp:
1478 (WebCore::initializeSupportedImageMIMETypesForEncoding):
1479 * platform/PlatformKeyboardEvent.h:
1480 (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
1481 * platform/PlatformMouseEvent.h:
1482 * platform/PlatformTouchEvent.h:
1483 (WebCore::PlatformTouchEvent::PlatformTouchEvent):
1484 * platform/PlatformTouchPoint.h:
1485 * platform/ScrollAnimatorNone.cpp:
1486 (WebCore::ScrollAnimator::create):
1488 (WebCore::URL::parse):
1489 (WebCore::portAllowed):
1490 * platform/Widget.h:
1491 * platform/graphics/ANGLEWebKitBridge.h:
1492 * platform/graphics/DisplayRefreshMonitor.cpp:
1493 (WebCore::DisplayRefreshMonitor::DisplayRefreshMonitor):
1494 * platform/graphics/DisplayRefreshMonitor.h:
1495 * platform/graphics/FloatPoint.h:
1496 * platform/graphics/FloatRect.h:
1497 * platform/graphics/FloatSize.h:
1498 * platform/graphics/FontCache.h:
1499 * platform/graphics/FontPlatformData.h:
1500 * platform/graphics/GlyphBuffer.h:
1501 * platform/graphics/Gradient.cpp:
1502 * platform/graphics/Gradient.h:
1503 * platform/graphics/GraphicsContext.h:
1504 * platform/graphics/GraphicsContext3D.h:
1506 2014-01-10 Timothy Hatcher <timothy@apple.com>
1508 Clean up and fix some issues with stdout formatting of console messages.
1510 * Fix URLs not printing line numbers unless column number is > 0.
1511 * Change "CONSOLEAPI" to "CONSOLE" for the source.
1512 * Clean up how console.trace outputs and print URL, line and column for each frame.
1513 * Print "(unknown)" for anonymous and native code call frames.
1515 https://bugs.webkit.org/show_bug.cgi?id=126767
1517 Reviewed by Joseph Pecoraro.
1520 (WebCore::internalAddMessage):
1521 * page/PageConsole.cpp:
1522 (WebCore::PageConsole::printSourceURLAndPosition):
1523 (WebCore::PageConsole::printMessageSourceAndLevelPrefix):
1524 * page/PageConsole.h:
1526 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1528 [iOS] Fill in missing WebCoreThread function pointers
1529 https://bugs.webkit.org/show_bug.cgi?id=126776
1531 Reviewed by Timothy Hatcher.
1533 * platform/ios/wak/WebCoreThreadSystemInterface.cpp:
1534 (InitWebCoreThreadSystemInterface):
1536 2014-01-10 Yongjun Zhang <yongjun_zhang@apple.com>
1538 Clear unparented tiled layers on memory pressure.
1539 https://bugs.webkit.org/show_bug.cgi?id=126737
1541 Reviewed by Simon Fraser.
1543 TileController hold unparented tiles for a short period of time (1 -3 sec); we should clear these unparented
1544 tiles immediately if we are under memory pressure.
1546 The patch does 3 things to improve the behavior:
1547 1) When the system free memory is low (<35%), reduce the tiling threshold. This could reduce
1548 the peak memory usage when system is under low memory since we will convert more web layers into
1550 2) Under memory pressure, immediately clear all unparented tiles.
1551 3) Add a cap (16 tiles) to limit the total number of unparented tiles in TileController's.
1554 * WebCore.xcodeproj/project.pbxproj: Add a new class TileControllerMemoryHandler.
1555 * platform/graphics/ca/GraphicsLayerCA.cpp:
1556 (WebCore::GraphicsLayerCA::requiresTiledLayer): Use a smaller tiling threshold if the system free memory is low.
1557 * platform/graphics/ca/mac/TileController.h:
1558 (WebCore::TileController::numberOfUnparentedTiles):
1559 * platform/graphics/ca/mac/TileController.mm:
1560 (WebCore::TileController::startedNewCohort):
1561 (WebCore::TileController::removeUnparentedTilesNow): Remove all unparentd tiles.
1562 * platform/ios/MemoryPressureHandlerIOS.mm:
1563 * platform/ios/TileControllerMemoryHandlerIOS.cpp: Added.
1564 (WebCore::TileControllerMemoryHandler::removeTileController):
1565 (WebCore::TileControllerMemoryHandler::totalUnparentedTiledLayers):
1566 (WebCore::TileControllerMemoryHandler::tileControllerGainUnparentedTiles):
1567 (WebCore::TileControllerMemoryHandler::trimUnparentedTilesToTarget): Trims the number of unparented tiles until
1568 it reaches the target.
1569 (WebCore::tileControllerMemoryHandler):
1570 * platform/ios/TileControllerMemoryHandlerIOS.h: Added.
1571 (WebCore::TileControllerMemoryHandler::TileControllerMemoryHandler):
1573 2014-01-10 Joseph Pecoraro <pecoraro@apple.com>
1575 [CSS Blending] Log blending as a layer creation reason in the WI
1576 https://bugs.webkit.org/show_bug.cgi?id=126159
1578 Reviewed by Timothy Hatcher.
1580 * inspector/InspectorLayerTreeAgent.cpp:
1581 (WebCore::InspectorLayerTreeAgent::reasonsForCompositingLayer):
1582 * inspector/protocol/LayerTree.json:
1584 2014-01-10 Andy Estes <aestes@apple.com>
1586 Fix some iOS build errors during bindings generation.
1588 * bindings/objc/PublicDOMInterfaces.h: Included
1589 WebKitAdditions/PublicDOMInterfacesIOS.h and change
1590 -[DOMRGBColor color] to return a CGColorRef on iOS.
1592 2014-01-10 Timothy Hatcher <timothy@apple.com>
1594 Prevent some resources from showing up in Web Inspector as years in duration.
1596 No WebKit port passed a monotonic time to InspectorInstrumentation::didFinishLoading -- except Chromium.
1598 https://bugs.webkit.org/show_bug.cgi?id=126760
1600 Reviewed by Joseph Pecoraro.
1602 * inspector/InspectorInstrumentation.cpp:
1603 (WebCore::InspectorInstrumentation::didFinishLoadingImpl):
1604 Revert part of r102961 to use finishTime as-is and not expect a monotonic time.
1606 2014-01-10 Dirk Schulze <krit@webkit.org>
1608 Make clipping path from basic-shapes relative to <box> value
1609 https://bugs.webkit.org/show_bug.cgi?id=126206
1611 Reviewed by Simon Fraser.
1613 Tests: css3/masking/clip-path-circle-border-box.html
1614 css3/masking/clip-path-circle-bounding-box.html
1615 css3/masking/clip-path-circle-content-box.html
1616 css3/masking/clip-path-circle-margin-box.html
1617 css3/masking/clip-path-circle-padding-box.html
1619 * rendering/RenderLayer.cpp:
1620 (WebCore::RenderLayer::setupClipPath): Add switch to differ between boxes
1621 and use different reference boxes to size the clipping path.
1623 2014-01-10 Youenn Fablet <youennf@gmail.com>
1626 Correctly set XHR loadend attributes (loaded and total).
1627 https://bugs.webkit.org/show_bug.cgi?id=120828
1629 Reviewed by Alexey Proskuryakov.
1631 Added correct initialization of lengthComputable, loaded and total attributes
1632 to XHR ProgressEvent events (load, loadstart, loadend, abort, error and timeout).
1634 XMLHttpRequestProgressEventThrottle and XMLHttpRequestUpload now keep persistent knowledge
1635 of m_loaded and m_total values with this patch.
1637 Code refactoring to handle event dispatching in case of error in a single manner.
1638 XMLHttpRequestProgressEventThrottle::dispatchProgressEvent is renamed as dispatchThrottledProgressEvent
1639 XMLHttpRequestProgressEventThrottle::dispatchEventAndLoadend is replaced by dispatchProgressEvent(const AtomicString&)
1641 Fixed assertion issues over bug 120828 patch
1643 Tests: http/tests/xmlhttprequest/loadstart-event-init.html
1644 http/tests/xmlhttprequest/onabort-progressevent-attributes.html
1645 http/tests/xmlhttprequest/onload-progressevent-attributes.html
1646 http/tests/xmlhttprequest/upload-onabort-progressevent-attributes.html
1647 http/tests/xmlhttprequest/upload-onload-progressevent-attributes.html
1649 * xml/XMLHttpRequest.cpp:
1650 (WebCore::XMLHttpRequest::callReadyStateChangeListener): changed readystatechange event from ProgressEvent to Event (not cancellable, not bubblable) to better match the spec
1651 (WebCore::XMLHttpRequest::createRequest):
1652 (WebCore::XMLHttpRequest::abort): code refactoring to handle error event dispatching in a single way
1653 (WebCore::XMLHttpRequest::networkError): code refactoring to handle error event dispatching in a single way
1654 (WebCore::XMLHttpRequest::abortError): code refactoring to handle error event dispatching in a single way
1655 (WebCore::XMLHttpRequest::didSendData):
1656 (WebCore::XMLHttpRequest::didReceiveData):
1657 (WebCore::XMLHttpRequest::dispatchErrorEvents): dispatch progress events in case of error
1658 (WebCore::XMLHttpRequest::didTimeout): code refactoring to handle error event dispatching in a single way
1659 * xml/XMLHttpRequest.h:
1660 * 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...)
1661 (WebCore::XMLHttpRequestProgressEventThrottle::XMLHttpRequestProgressEventThrottle):
1662 (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.
1663 (WebCore::XMLHttpRequestProgressEventThrottle::dispatchProgressEvent): used to send any ProgressEvent event that is not be throttled
1664 (WebCore::XMLHttpRequestProgressEventThrottle::flushProgressEvent): after the call, no progress event is throttled anymore
1665 (WebCore::XMLHttpRequestProgressEventThrottle::fired): after the call, no progress event is throttled anymore
1666 (WebCore::XMLHttpRequestProgressEventThrottle::hasEventToDispatch):
1667 (WebCore::XMLHttpRequestProgressEventThrottle::suspend):
1668 * 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
1669 * xml/XMLHttpRequestUpload.cpp:
1670 (WebCore::XMLHttpRequestUpload::XMLHttpRequestUpload):
1671 (WebCore::XMLHttpRequestUpload::dispatchProgressEvent):
1672 * xml/XMLHttpRequestUpload.h: introduced m_loaded, m_total and m_lengthComputable, similarly to XMLHttpRequestProgressEventThrottle
1674 2014-01-10 Bear Travis <betravis@adobe.com>
1676 [CSS Shapes] Change parseBasicShape to return a CSSPrimitiveValue
1677 https://bugs.webkit.org/show_bug.cgi?id=126713
1679 Reviewed by Dirk Schulze.
1681 Avoid the duplicated code wrapping the CSSBasicShape in a CSSPrimitiveValue
1682 by having parseBasicShape return a CSSPrimitiveValue reference.
1684 Refactoring, no new tests.
1686 * css/CSSParser.cpp:
1687 (WebCore::CSSParser::parseShapeProperty):
1688 (WebCore::CSSParser::parseClipPath):
1689 (WebCore::CSSParser::parseBasicShape):
1692 2014-01-10 Piotr Grad <p.grad@samsung.com>
1694 Possible crash in ApplicationCache::removeResource.
1695 https://bugs.webkit.org/show_bug.cgi?id=126695
1697 Reviewed by Alexey Proskuryakov.
1701 Iterator variable was used after it was removed.
1703 * loader/appcache/ApplicationCache.cpp:
1704 (WebCore::ApplicationCache::removeResource):
1706 2014-01-10 Daniel Bates <dabates@apple.com>
1708 Another build fix for the Production Mac build following <http://trac.webkit.org/changeset/161638>
1709 (https://bugs.webkit.org/show_bug.cgi?id=126698)
1711 Move the logic for appending the port-specific IDL files {Touch, TouchEvent, TouchList}.idl to the
1712 list of binding IDLs (BINDING_IDLS) before the definition of variables DOM_CLASSES and JS_DOM_HEADERS
1713 so that we generate the DOM and JS bindings for these IDLs.
1715 * DerivedSources.make:
1717 2014-01-10 Anders Carlsson <andersca@apple.com>
1719 Remove supportMultipleWindows setting
1720 https://bugs.webkit.org/show_bug.cgi?id=126772
1722 Reviewed by Beth Dakin.
1724 This setting was added in https://bugs.webkit.org/show_bug.cgi?id=99716 for the Chromium port
1725 and is unused by everyone else so get rid of it.
1727 * loader/FrameLoader.cpp:
1728 (WebCore::createWindow):
1729 * page/ContextMenuController.cpp:
1730 (WebCore::openNewWindow):
1733 2014-01-10 Benjamin Poulain <bpoulain@apple.com>
1735 Remove the BlackBerry port from trunk
1736 https://bugs.webkit.org/show_bug.cgi?id=126715
1738 Reviewed by Anders Carlsson.
1740 * dom/TouchEvent.cpp:
1741 (WebCore::TouchEvent::TouchEvent):
1742 (WebCore::TouchEvent::initTouchEvent):
1744 * dom/ViewportArguments.cpp:
1745 * dom/ViewportArguments.h:
1746 * history/HistoryItem.h:
1747 * loader/PingLoader.cpp:
1748 (WebCore::PingLoader::loadImage):
1749 (WebCore::PingLoader::sendPing):
1750 (WebCore::PingLoader::sendViolationReport):
1751 * loader/appcache/ApplicationCacheGroup.cpp:
1752 (WebCore::ApplicationCacheGroup::createResourceHandle):
1753 * loader/cache/CachedResource.cpp:
1754 (WebCore::CachedResource::load):
1755 * loader/icon/IconLoader.cpp:
1756 (WebCore::IconLoader::startLoading):
1757 * page/NavigatorBase.cpp:
1758 * page/Settings.cpp:
1759 * page/scrolling/ScrollingCoordinator.cpp:
1760 (WebCore::ScrollingCoordinator::create):
1761 * platform/Cursor.cpp:
1762 * platform/Cursor.h:
1763 (WebCore::Cursor::Cursor):
1764 * platform/DragData.h:
1765 * platform/DragImage.h:
1766 * plugins/PluginDatabase.cpp:
1767 (WebCore::PluginDatabase::defaultPluginDirectories):
1768 (WebCore::PluginDatabase::isPreferredPluginDirectory):
1769 * rendering/RenderLayerBacking.cpp:
1770 (WebCore::RenderLayerBacking::paintsIntoWindow):
1771 * rendering/RenderObject.cpp:
1772 (WebCore::RenderObject::shouldRespectImageOrientation):
1773 * testing/Internals.cpp:
1774 (WebCore::Internals::getCurrentCursorInfo):
1775 * workers/DefaultSharedWorkerRepository.cpp:
1776 (WebCore::SharedWorkerScriptLoader::load):
1777 * workers/Worker.cpp:
1778 (WebCore::Worker::create):
1779 * workers/WorkerGlobalScope.cpp:
1780 (WebCore::WorkerGlobalScope::importScripts):
1781 * workers/WorkerScriptLoader.cpp:
1782 (WebCore::WorkerScriptLoader::createResourceRequest):
1783 * workers/WorkerScriptLoader.h:
1784 * xml/XMLHttpRequest.cpp:
1785 (WebCore::XMLHttpRequest::createRequest):
1787 2014-01-10 Benjamin Poulain <bpoulain@apple.com>
1789 Remove the BlackBerry port from trunk
1790 https://bugs.webkit.org/show_bug.cgi?id=126715
1792 Reviewed by Anders Carlsson.
1794 * Modules/navigatorcontentutils/NavigatorContentUtils.cpp:
1795 (WebCore::initProtocolHandlerWhitelist):
1797 * bindings/generic/RuntimeEnabledFeatures.cpp:
1798 (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
1799 * bindings/js/GCController.cpp:
1800 (WebCore::GCController::GCController):
1801 (WebCore::GCController::garbageCollectSoon):
1802 * bindings/js/GCController.h:
1804 2014-01-10 Daniel Bates <dabates@apple.com>
1806 Fix the WebCore, WebKit build targets following <http://trac.webkit.org/changeset/161638>
1807 (https://bugs.webkit.org/show_bug.cgi?id=126698)
1809 Tell Xcode that the supported platforms for all WebKit targets are iOS and OS X.
1811 * Configurations/Base.xcconfig:
1813 2014-01-09 Andy Estes <aestes@apple.com>
1815 [iOS] Upstream iOS changes to MigrateHeaders.make
1816 https://bugs.webkit.org/show_bug.cgi?id=126731
1818 Reviewed by David Kilzer.
1820 * WebCore.xcodeproj/project.pbxproj: Mark an iOS-specific header at
1821 Private that will later be migrated by WebKit.
1823 2014-01-10 Daniel Bates <dabates@apple.com>
1825 Fix the Production Mac build following <http://trac.webkit.org/changeset/161638>
1826 (https://bugs.webkit.org/show_bug.cgi?id=126698)
1828 Substitute JAVASCRIPTCORE_PRIVATE_HEADERS_DIR_Production_ for JAVASCRIPTCORE_PRIVATE_HEADERS_Production_.
1830 * Configurations/WebCore.xcconfig:
1832 2014-01-10 Anders Carlsson <andersca@apple.com>
1834 Add a missing include.
1836 * Modules/webdatabase/DatabaseManager.h:
1838 2014-01-10 Anders Carlsson <andersca@apple.com>
1840 Use STL threading primitives in DatabaseDetails and DatabaseManager
1841 https://bugs.webkit.org/show_bug.cgi?id=126759
1843 Reviewed by Geoffrey Garen.
1845 * Modules/webdatabase/DatabaseDetails.h:
1846 (WebCore::DatabaseDetails::DatabaseDetails):
1847 (WebCore::DatabaseDetails::threadID):
1848 * Modules/webdatabase/DatabaseManager.cpp:
1849 (WebCore::DatabaseManager::existingDatabaseContextFor):
1850 (WebCore::DatabaseManager::registerDatabaseContext):
1851 (WebCore::DatabaseManager::unregisterDatabaseContext):
1852 (WebCore::DatabaseManager::didConstructDatabaseContext):
1853 (WebCore::DatabaseManager::didDestructDatabaseContext):
1854 (WebCore::DatabaseManager::addProposedDatabase):
1855 (WebCore::DatabaseManager::removeProposedDatabase):
1856 (WebCore::DatabaseManager::fullPathForDatabase):
1857 (WebCore::DatabaseManager::detailsForNameAndOrigin):
1858 * Modules/webdatabase/DatabaseManager.h:
1860 2014-01-10 Commit Queue <commit-queue@webkit.org>
1862 Unreviewed, rolling out r161629.
1863 http://trac.webkit.org/changeset/161629
1864 https://bugs.webkit.org/show_bug.cgi?id=126762
1866 Fails svg/custom/conditional-processing-2.html (Requested by
1869 * svg/SVGSwitchElement.cpp:
1870 (WebCore::SVGSwitchElement::childShouldCreateRenderer):
1872 (WebCore::SVGTests::hasExtension):
1873 (WebCore::SVGTests::isValid):
1875 2014-01-10 ChangSeok Oh <changseok.oh@collabora.com>
1877 Unreviewed build fix since r161589.
1879 The changeset causes a compile failure with --no-svg.
1881 * platform/graphics/FontFastPath.cpp:
1882 (WebCore::Font::drawGlyphBuffer):
1884 2014-01-10 Przemyslaw Szymanski <p.szymanski3@samsung.com>
1886 [WebGL] Removing unnecessary pointer checks
1887 https://bugs.webkit.org/show_bug.cgi?id=124046
1889 Reviewed by Brent Fulgham.
1891 We do not need to check for a null array three times in
1892 the same call. Let's just do it once!
1894 No new tests. Covered by existing ones.
1896 * html/canvas/WebGLBuffer.cpp:
1897 (WebCore::WebGLBuffer::associateBufferData):
1899 2014-01-10 Daniel Bates <dabates@apple.com>
1901 Speculative build fix for Windows following <http://trac.webkit.org/changeset/161638>
1902 (https://bugs.webkit.org/show_bug.cgi?id=126698)
1904 Reviewed by David Kilzer.
1906 * bindings/scripts/preprocessor.pm:
1907 (applyPreprocessor):
1909 2014-01-10 Przemyslaw Szymanski <p.szymanski3@samsung.com>
1911 [WebGL] Wrong condition order in the if statement
1912 https://bugs.webkit.org/show_bug.cgi?id=125000
1914 Reviewed by Brent Fulgham.
1916 We should only pay the cost of string comparison once. The
1917 current logic requires a string comparison every time we
1918 pass through the function. Instead, by reordering the statements
1919 we can short-circuit through the boolean test after the initial
1922 No new tests. No behaviour changes.
1924 * platform/graphics/opengl/Extensions3DOpenGLES.cpp:
1925 (WebCore::Extensions3DOpenGLES::supportsExtension):
1927 2014-01-10 Anders Carlsson <andersca@apple.com>
1929 CTTE in AudioContext::AutoLocker
1930 https://bugs.webkit.org/show_bug.cgi?id=126758
1932 Reviewed by Antti Koivisto.
1934 * Modules/webaudio/AudioBasicInspectorNode.cpp:
1935 (WebCore::AudioBasicInspectorNode::connect):
1936 (WebCore::AudioBasicInspectorNode::disconnect):
1937 * Modules/webaudio/AudioBufferSourceNode.cpp:
1938 (WebCore::AudioBufferSourceNode::setBuffer):
1939 * Modules/webaudio/AudioContext.cpp:
1940 (WebCore::AudioContext::refNode):
1941 (WebCore::AudioContext::deleteMarkedNodes):
1942 (WebCore::AudioContext::removeMarkedSummingJunction):
1943 * Modules/webaudio/AudioContext.h:
1944 (WebCore::AudioContext::AutoLocker::AutoLocker):
1945 (WebCore::AudioContext::AutoLocker::~AutoLocker):
1946 * Modules/webaudio/AudioNode.cpp:
1947 (WebCore::AudioNode::connect):
1948 (WebCore::AudioNode::disconnect):
1949 (WebCore::AudioNode::setChannelCount):
1950 (WebCore::AudioNode::setChannelCountMode):
1951 (WebCore::AudioNode::setChannelInterpretation):
1952 (WebCore::AudioNode::enableOutputsIfNecessary):
1953 * Modules/webaudio/MediaElementAudioSourceNode.cpp:
1954 (WebCore::MediaElementAudioSourceNode::setFormat):
1955 * Modules/webaudio/WaveShaperNode.cpp:
1956 (WebCore::WaveShaperNode::setOversample):
1958 2014-01-10 Antti Koivisto <antti@apple.com>
1960 Use element iterators more
1961 https://bugs.webkit.org/show_bug.cgi?id=126756
1963 Reviewed by Anders Carlsson.
1965 * dom/VisitedLinkState.cpp:
1966 (WebCore::VisitedLinkState::invalidateStyleForAllLinks):
1967 (WebCore::VisitedLinkState::invalidateStyleForLink):
1968 * html/HTMLMeterElement.cpp:
1969 (WebCore::HTMLMeterElement::renderMeter):
1970 * html/HTMLProgressElement.cpp:
1971 (WebCore::HTMLProgressElement::renderProgress):
1972 * html/shadow/ContentDistributor.cpp:
1973 (WebCore::ContentDistributor::ensureInsertionPointList):
1974 * style/StyleResolveTree.cpp:
1976 2014-01-10 Daniel Bates <dabates@apple.com>
1978 Attempt to fix the iOS build after <http://trac.webkit.org/changeset/161589>
1979 (https://bugs.webkit.org/show_bug.cgi?id=126654)
1981 * platform/audio/ios/AudioSessionIOS.mm: Import header PassOwnPtr.h so that we can use adoptPtr().
1983 2014-01-10 Daniel Bates <dabates@apple.com>
1985 Attempt to fix the build after <http://trac.webkit.org/changeset/161638>
1986 (https://bugs.webkit.org/show_bug.cgi?id=126698)
1988 Substitute tab characters for space characters.
1990 * DerivedSources.make:
1992 2014-01-10 Anders Carlsson <andersca@apple.com>
1994 DOMWindow::showModalDialog should use std::function
1995 https://bugs.webkit.org/show_bug.cgi?id=126753
1997 Reviewed by Antti Koivisto.
1999 * bindings/js/JSDOMWindowCustom.cpp:
2000 (WebCore::DialogHandler::dialogCreated):
2001 (WebCore::JSDOMWindow::showModalDialog):
2002 * page/DOMWindow.cpp:
2003 (WebCore::DOMWindow::createWindow):
2004 (WebCore::DOMWindow::showModalDialog):
2007 2014-01-10 Daniel Bates <dabates@apple.com>
2009 [iOS] Upstream WebCore and Tools miscellaneous changes
2010 https://bugs.webkit.org/show_bug.cgi?id=126698
2012 Reviewed by David Kilzer.
2014 * Configurations/Base.xcconfig:
2015 * Configurations/WebCore.xcconfig:
2016 * Configurations/WebCoreTestSupport.xcconfig:
2017 * Configurations/iOS.xcconfig: Added.
2018 * DerivedSources.make:
2019 * English.lproj/Localizable.strings:
2020 * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.cpp: Copied from Source/WebCore/editing/TextAffinity.h.
2021 (WebCore::stringForPlaybackTargetAvailability):
2022 (WebCore::WebKitPlaybackTargetAvailabilityEvent::WebKitPlaybackTargetAvailabilityEvent):
2023 * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.h: Added.
2024 (WebCore::WebKitPlaybackTargetAvailabilityEventInit::WebKitPlaybackTargetAvailabilityEventInit):
2025 (WebCore::WebKitPlaybackTargetAvailabilityEvent::~WebKitPlaybackTargetAvailabilityEvent):
2026 (WebCore::WebKitPlaybackTargetAvailabilityEvent::create):
2027 (WebCore::WebKitPlaybackTargetAvailabilityEvent::availability):
2028 * Modules/airplay/WebKitPlaybackTargetAvailabilityEvent.idl: Copied from Source/WebCore/editing/DeleteButton.h.
2029 * Modules/geolocation/Geolocation.cpp:
2030 (WebCore::Geolocation::Geolocation):
2031 (WebCore::Geolocation::canSuspend):
2032 (WebCore::Geolocation::suspend):
2033 (WebCore::Geolocation::resume):
2034 (WebCore::Geolocation::resumeTimerFired):
2035 (WebCore::Geolocation::resetAllGeolocationPermission):
2036 (WebCore::Geolocation::stop):
2037 (WebCore::Geolocation::setIsAllowed):
2038 (WebCore::Geolocation::positionChanged):
2039 (WebCore::Geolocation::setError):
2040 * Modules/geolocation/Geolocation.h:
2041 * Modules/geolocation/NavigatorGeolocation.cpp:
2042 (WebCore::NavigatorGeolocation::resetAllGeolocationPermission):
2043 * Modules/geolocation/NavigatorGeolocation.h:
2044 * Modules/speech/SpeechSynthesis.cpp:
2045 (WebCore::SpeechSynthesis::SpeechSynthesis):
2046 (WebCore::SpeechSynthesis::speak):
2047 * Modules/speech/SpeechSynthesis.h:
2048 (WebCore::SpeechSynthesis::userGestureRequiredForSpeechStart):
2049 (WebCore::SpeechSynthesis::removeBehaviorRestriction):
2050 * Modules/webaudio/AudioContext.cpp:
2051 * Modules/webaudio/AudioContext.h:
2052 * Modules/webaudio/AudioScheduledSourceNode.cpp:
2053 * Modules/webdatabase/Database.cpp:
2054 * Modules/webdatabase/DatabaseBackendBase.cpp:
2055 (WebCore::DatabaseBackendBase::performOpenAndVerify):
2056 (WebCore::DatabaseBackendBase::incrementalVacuumIfNeeded):
2057 * Modules/webdatabase/DatabaseContext.cpp:
2058 (WebCore::DatabaseContext::DatabaseContext):
2059 (WebCore::DatabaseContext::databaseThread):
2060 (WebCore::DatabaseContext::setPaused):
2061 * Modules/webdatabase/DatabaseContext.h:
2062 * Modules/webdatabase/DatabaseManagerClient.h:
2063 * Modules/webdatabase/DatabaseTask.cpp:
2064 (WebCore::DatabaseTask::performTask):
2065 (WebCore::Database::DatabaseTransactionTask::shouldPerformWhilePaused):
2066 * Modules/webdatabase/DatabaseTask.h:
2067 * Modules/webdatabase/DatabaseThread.cpp:
2068 (WebCore::DatabaseThread::DatabaseThread):
2069 (WebCore::DatabaseThread::requestTermination):
2070 (WebCore::DatabaseUnpauseTask::create):
2071 (WebCore::DatabaseUnpauseTask::shouldPerformWhilePaused):
2072 (WebCore::DatabaseUnpauseTask::DatabaseUnpauseTask):
2073 (WebCore::DatabaseUnpauseTask::doPerformTask):
2074 (WebCore::DatabaseUnpauseTask::debugTaskName):
2075 (WebCore::DatabaseThread::setPaused):
2076 (WebCore::DatabaseThread::handlePausedQueue):
2077 (WebCore::DatabaseThread::databaseThread):
2078 * Modules/webdatabase/DatabaseThread.h:
2079 * Modules/webdatabase/DatabaseTracker.cpp:
2080 (WebCore::DatabaseTracker::setQuota):
2081 (WebCore::DatabaseTracker::deleteOrigin):
2082 (WebCore::DatabaseTracker::deleteDatabase):
2083 (WebCore::DatabaseTracker::deleteDatabaseFile):
2084 (WebCore::DatabaseTracker::removeDeletedOpenedDatabases):
2085 (WebCore::isZeroByteFile):
2086 (WebCore::DatabaseTracker::deleteDatabaseFileIfEmpty):
2087 (WebCore::DatabaseTracker::openDatabaseMutex):
2088 (WebCore::DatabaseTracker::emptyDatabaseFilesRemovalTaskWillBeScheduled):
2089 (WebCore::DatabaseTracker::emptyDatabaseFilesRemovalTaskDidFinish):
2090 (WebCore::DatabaseTracker::setDatabasesPaused):
2091 * Modules/webdatabase/DatabaseTracker.h:
2092 * Modules/webdatabase/SQLTransactionBackend.cpp:
2093 (WebCore::SQLTransactionBackend::shouldPerformWhilePaused):
2094 * Modules/webdatabase/SQLTransactionBackend.h:
2095 * Resources/DictationPhraseWithAlternativesDot.png: Added.
2096 * Resources/DictationPhraseWithAlternativesDot@2x.png: Added.
2097 * Resources/SpellingDot.png: Added.
2098 * Resources/SpellingDot@2x.png: Added.
2099 * Resources/decrementArrow.tiff: Added.
2100 * Resources/hScrollControl_left.png: Added.
2101 * Resources/hScrollControl_middle.png: Added.
2102 * Resources/hScrollControl_right.png: Added.
2103 * Resources/incrementArrow.tiff: Added.
2104 * Resources/markedLeft.png: Added.
2105 * Resources/markedMiddle.png: Added.
2106 * Resources/markedRight.png: Added.
2107 * Resources/vScrollControl_bottom.png: Added.
2108 * Resources/vScrollControl_middle.png: Added.
2109 * Resources/vScrollControl_top.png: Added.
2110 * WebCore.xcodeproj/project.pbxproj:
2111 * bindings/js/GCController.cpp:
2112 (WebCore::GCController::garbageCollectNow):
2113 (WebCore::GCController::releaseExecutableMemory):
2114 * bindings/js/GCController.h:
2115 * bindings/js/JSCallbackData.h:
2116 (WebCore::JSCallbackData::~JSCallbackData):
2117 * bindings/js/JSDOMWindowBase.cpp:
2118 (WebCore::JSDOMWindowBase::supportsProfiling):
2119 (WebCore::JSDOMWindowBase::shouldInterruptScriptBeforeTimeout):
2120 (WebCore::JSDOMWindowBase::commonVM):
2121 (WebCore::JSDOMWindowBase::commonVMExists):
2122 (WebCore::JSDOMWindowBase::commonVMInternal):
2123 * bindings/js/JSDOMWindowCustom.cpp:
2124 (WebCore::JSDOMWindow::touch):
2125 (WebCore::JSDOMWindow::touchList):
2126 * bindings/js/JSDeviceOrientationEventCustom.cpp:
2127 (WebCore::JSDeviceOrientationEvent::webkitCompassHeading):
2128 (WebCore::JSDeviceOrientationEvent::webkitCompassAccuracy):
2129 (WebCore::JSDeviceOrientationEvent::initDeviceOrientationEvent):
2130 * bindings/js/JSMainThreadExecState.h:
2131 * bindings/js/JSTouchCustom.cpp:
2132 * bindings/js/JSTouchListCustom.cpp:
2133 * bindings/js/PageScriptDebugServer.cpp:
2134 (WebCore::PageScriptDebugServer::didContinue):
2135 * bindings/js/ScriptController.cpp:
2136 (WebCore::ScriptController::initializeThreading):
2137 * bindings/js/ScriptDebugServer.cpp:
2138 (WebCore::ScriptDebugServer::handlePause):
2139 * bindings/js/ios/TouchConstructors.cpp: Added.
2140 * bindings/objc/DOM.mm:
2141 (WebCore::wkQuadFromFloatQuad):
2145 (WebCore::emptyQuad):
2146 (-[WKQuadObject initWithQuad:]):
2147 (-[WKQuadObject quad]):
2148 (-[WKQuadObject boundingBox]):
2149 (-[DOMNode boundingBox]):
2150 (-[DOMNode absoluteQuad]):
2151 (-[DOMNode absoluteQuadAndInsideFixedPosition:]):
2152 (-[DOMNode boundingBoxUsingTransforms]):
2153 (-[DOMNode lineBoxQuads]):
2154 (-[DOMNode _linkElement]):
2155 (-[DOMNode hrefURL]):
2156 (-[DOMNode hrefTarget]):
2157 (-[DOMNode hrefFrame]):
2158 (-[DOMNode hrefLabel]):
2159 (-[DOMNode hrefTitle]):
2160 (-[DOMNode boundingFrame]):
2161 (-[DOMNode innerFrameQuad]):
2162 (-[DOMNode computedFontSize]):
2163 (-[DOMNode nextFocusNode]):
2164 (-[DOMNode previousFocusNode]):
2165 (-[DOMRange boundingBox]):
2166 (-[DOMRange renderedImageForcingBlackText:renderedImageForcingBlackText:]):
2167 (-[DOMElement _font]):
2168 (-[DOMHTMLLinkElement _mediaQueryMatchesForOrientation:]):
2169 (-[DOMHTMLLinkElement _mediaQueryMatches]):
2170 * bindings/objc/DOMEvents.h:
2171 * bindings/objc/DOMEvents.mm:
2173 * bindings/objc/DOMExtensions.h:
2174 * bindings/objc/DOMHTML.mm:
2175 (-[DOMHTMLElement scrollYOffset]):
2176 (-[DOMHTMLElement setScrollXOffset:scrollYOffset:]):
2177 (-[DOMHTMLElement setScrollXOffset:scrollYOffset:adjustForIOSCaret:]):
2178 (-[DOMHTMLElement absolutePosition::::]):
2179 (-[DOMHTMLInputElement _autocapitalizeType]):
2180 (-[DOMHTMLTextAreaElement _autocapitalizeType]):
2181 (-[DOMHTMLInputElement setValueWithChangeEvent:]):
2182 (-[DOMHTMLInputElement setValueAsNumberWithChangeEvent:]):
2183 * bindings/objc/DOMInternal.h:
2184 * bindings/objc/DOMInternal.mm:
2189 * bindings/objc/DOMPrivate.h:
2190 * bindings/objc/DOMUIKitExtensions.h: Added.
2191 * bindings/objc/DOMUIKitExtensions.mm: Added.
2192 * bindings/objc/PublicDOMInterfaces.h:
2193 * bindings/scripts/CodeGeneratorJS.pm:
2194 (GenerateHeaderContentHeader):
2195 (GenerateImplementationContentHeader):
2197 (GenerateImplementation):
2198 (GenerateCallbackImplementation):
2199 * bindings/scripts/CodeGeneratorObjC.pm:
2200 (ReadPublicInterfaces):
2202 (IsCoreFoundationType):
2204 (AddIncludesForType):
2206 (GenerateImplementation):
2208 * bindings/scripts/IDLAttributes.txt:
2209 * bindings/scripts/preprocessor.pm:
2210 (applyPreprocessor):
2211 * bridge/objc/objc_class.mm:
2212 (JSC::Bindings::ObjcClass::fieldNamed):
2213 * bridge/objc/objc_instance.mm:
2216 (WebCore::Document::addAutoSizingNode):
2219 * dom/ios/TouchEvents.cpp: Added.
2220 * editing/ApplyStyleCommand.cpp:
2221 (WebCore::ApplyStyleCommand::applyBlockStyle):
2222 * editing/CompositeEditCommand.cpp:
2223 (WebCore::EditCommandComposition::unapply):
2224 (WebCore::CompositeEditCommand::apply):
2225 (WebCore::CompositeEditCommand::inputText):
2226 (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
2227 (WebCore::CompositeEditCommand::moveParagraphs):
2228 * editing/CompositeEditCommand.h:
2229 * editing/DeleteButton.h:
2230 * editing/DeleteButtonController.cpp:
2231 (WebCore::DeleteButtonController::enable):
2232 (WebCore::DeleteButtonController::disable):
2233 * editing/DeleteSelectionCommand.cpp:
2234 (WebCore::DeleteSelectionCommand::doApply):
2235 * editing/DeleteSelectionCommand.h:
2236 * editing/EditAction.h:
2237 * editing/EditCommand.h:
2238 (WebCore::EditCommand::isInsertTextCommand):
2239 * editing/EditingStyle.cpp:
2240 * editing/Editor.cpp:
2241 (WebCore::ClearTextCommand::ClearTextCommand):
2242 (WebCore::ClearTextCommand::editingAction):
2243 (WebCore::ClearTextCommand::CreateAndApply):
2244 (WebCore::Editor::handleTextEvent):
2245 (WebCore::Editor::clearText):
2246 (WebCore::Editor::insertDictationPhrases):
2247 (WebCore::Editor::setDictationPhrasesAsChildOfElement):
2248 (WebCore::Editor::confirmMarkedText):
2249 (WebCore::Editor::setTextAsChildOfElement):
2250 (WebCore::Editor::notifyComponentsOnChangedSelection):
2251 (WebCore::Editor::ensureLastEditCommandHasCurrentSelectionIfOpenForMoreTyping):
2252 (WebCore::Editor::copy):
2253 (WebCore::Editor::setBaseWritingDirection):
2254 (WebCore::Editor::setComposition):
2255 (WebCore::Editor::showSpellingGuessPanel):
2256 (WebCore::Editor::markMisspellingsAfterTypingToWord):
2257 (WebCore::Editor::markMisspellingsOrBadGrammar):
2258 (WebCore::Editor::changeBackToReplacedString):
2259 (WebCore::Editor::updateMarkersForWordsAffectedByEditing):
2260 (WebCore::Editor::setIgnoreCompositionSelectionChange):
2261 (WebCore::Editor::changeSelectionAfterCommand):
2262 (WebCore::Editor::shouldChangeSelection):
2263 (WebCore::Editor::respondToChangedSelection):
2264 (WebCore::Editor::resolveTextCheckingTypeMask):
2266 * editing/EditorCommand.cpp:
2267 (WebCore::executeClearText):
2268 (WebCore::enabledCopy):
2269 (WebCore::enabledCut):
2270 (WebCore::enabledClearText):
2271 (WebCore::createCommandMap):
2272 * editing/FrameSelection.cpp:
2273 (WebCore::FrameSelection::FrameSelection):
2274 (WebCore::FrameSelection::setSelection):
2275 (WebCore::FrameSelection::modifyExtendingRight):
2276 (WebCore::FrameSelection::modifyExtendingForward):
2277 (WebCore::FrameSelection::modifyMovingRight):
2278 (WebCore::FrameSelection::modifyMovingForward):
2279 (WebCore::FrameSelection::modifyExtendingLeft):
2280 (WebCore::FrameSelection::modifyExtendingBackward):
2281 (WebCore::FrameSelection::modifyMovingLeft):
2282 (WebCore::FrameSelection::modifyMovingBackward):
2283 (WebCore::FrameSelection::setSelectedRange):
2284 (WebCore::FrameSelection::focusedOrActiveStateChanged):
2285 (WebCore::FrameSelection::updateAppearance):
2286 (WebCore::FrameSelection::shouldDeleteSelection):
2287 (WebCore::FrameSelection::revealSelection):
2288 (WebCore::FrameSelection::setSelectionFromNone):
2289 (WebCore::FrameSelection::shouldChangeSelection):
2290 (WebCore::FrameSelection::expandSelectionToElementContainingCaretSelection):
2291 (WebCore::FrameSelection::elementRangeContainingCaretSelection):
2292 (WebCore::FrameSelection::expandSelectionToWordContainingCaretSelection):
2293 (WebCore::FrameSelection::wordRangeContainingCaretSelection):
2294 (WebCore::FrameSelection::expandSelectionToStartOfWordContainingCaretSelection):
2295 (WebCore::FrameSelection::characterInRelationToCaretSelection):
2296 (WebCore::FrameSelection::characterBeforeCaretSelection):
2297 (WebCore::FrameSelection::characterAfterCaretSelection):
2298 (WebCore::FrameSelection::wordOffsetInRange):
2299 (WebCore::FrameSelection::spaceFollowsWordInRange):
2300 (WebCore::FrameSelection::selectionAtDocumentStart):
2301 (WebCore::FrameSelection::selectionAtSentenceStart):
2302 (WebCore::FrameSelection::selectionAtWordStart):
2303 (WebCore::FrameSelection::rangeByMovingCurrentSelection):
2304 (WebCore::FrameSelection::rangeByExtendingCurrentSelection):
2305 (WebCore::FrameSelection::selectRangeOnElement):
2306 (WebCore::FrameSelection::wordSelectionContainingCaretSelection):
2307 (WebCore::FrameSelection::actualSelectionAtSentenceStart):
2308 (WebCore::FrameSelection::rangeByAlteringCurrentSelection):
2309 (WebCore::FrameSelection::clearCurrentSelection):
2310 (WebCore::FrameSelection::setCaretBlinks):
2311 (WebCore::FrameSelection::setCaretColor):
2312 * editing/FrameSelection.h:
2313 (WebCore::FrameSelection::suppressCloseTyping):
2314 (WebCore::FrameSelection::restoreCloseTyping):
2315 (WebCore::FrameSelection::setUpdateAppearanceEnabled):
2316 (WebCore::FrameSelection::suppressScrolling):
2317 (WebCore::FrameSelection::restoreScrolling):
2318 * editing/InsertIntoTextNodeCommand.cpp:
2319 (WebCore::InsertIntoTextNodeCommand::doReapply):
2320 * editing/InsertIntoTextNodeCommand.h:
2321 * editing/InsertTextCommand.h:
2322 * editing/ReplaceSelectionCommand.cpp:
2323 (WebCore::ReplaceSelectionCommand::doApply):
2324 * editing/TextAffinity.h:
2325 * editing/TextCheckingHelper.cpp:
2326 * editing/TextGranularity.h:
2327 * editing/TextIterator.cpp:
2328 (WebCore::isRendererReplacedElement):
2329 * editing/TypingCommand.cpp:
2330 (WebCore::TypingCommand::ensureLastEditCommandHasCurrentSelectionIfOpenForMoreTyping):
2331 (WebCore::TypingCommand::markMisspellingsAfterTyping):
2332 (WebCore::TypingCommand::deleteKeyPressed):
2333 (WebCore::TypingCommand::forwardDeleteKeyPressed):
2334 (WebCore::FriendlyEditCommand::setEndingSelection):
2335 (WebCore::TypingCommand::setEndingSelectionOnLastInsertCommand):
2336 * editing/TypingCommand.h:
2337 * editing/VisiblePosition.h:
2338 (WebCore::operator<):
2339 (WebCore::operator>):
2340 (WebCore::operator<=):
2341 (WebCore::operator>=):
2342 * editing/VisibleSelection.cpp:
2343 (WebCore::VisibleSelection::setStartAndEndFromBaseAndExtentRespectingGranularity):
2344 (WebCore::VisibleSelection::adjustSelectionToAvoidCrossingEditingBoundaries):
2345 * editing/VisibleUnits.cpp:
2346 (WebCore::previousBoundary):
2347 (WebCore::nextBoundary):
2348 (WebCore::startOfDocument):
2349 (WebCore::endOfDocument):
2350 (WebCore::directionIsDownstream):
2351 (WebCore::atBoundaryOfGranularity):
2352 (WebCore::withinTextUnitOfGranularity):
2353 (WebCore::nextCharacterBoundaryInDirection):
2354 (WebCore::nextWordBoundaryInDirection):
2355 (WebCore::nextSentenceBoundaryInDirection):
2356 (WebCore::nextLineBoundaryInDirection):
2357 (WebCore::nextParagraphBoundaryInDirection):
2358 (WebCore::nextDocumentBoundaryInDirection):
2359 (WebCore::positionOfNextBoundaryOfGranularity):
2360 (WebCore::enclosingTextUnitOfGranularity):
2361 (WebCore::distanceBetweenPositions):
2362 (WebCore::wordRangeFromPosition):
2363 (WebCore::closestWordBoundaryForPosition):
2364 * editing/VisibleUnits.h:
2365 * editing/ios/DictationCommandIOS.cpp: Added.
2366 * editing/ios/DictationCommandIOS.h: Added.
2367 (WebCore::DictationCommandIOS::create):
2368 (WebCore::DictationCommandIOS::editingAction):
2369 * editing/mac/FrameSelectionMac.mm:
2370 (WebCore::FrameSelection::notifyAccessibilityForSelectionChange):
2371 * fileapi/AsyncFileStream.cpp:
2372 * generate-export-file: Added.
2373 * inspector/InspectorCounters.h:
2374 * inspector/InspectorFrontendHost.h:
2375 * make-export-file-generator:
2376 * plugins/PluginPackage.h:
2377 * plugins/PluginViewBase.h:
2378 (WebCore::PluginViewBase::willProvidePluginLayer):
2379 (WebCore::PluginViewBase::attachPluginLayer):
2380 (WebCore::PluginViewBase::detachPluginLayer):
2381 * style/StyleResolveForDocument.cpp:
2382 (WebCore::Style::resolveForDocument):
2383 * style/StyleResolveTree.cpp:
2384 (WebCore::Style::elementImplicitVisibility):
2385 * testing/Internals.cpp:
2386 (WebCore::Internals::getCurrentCursorInfo):
2387 (WebCore::Internals::isSelectPopupVisible):
2388 * workers/WorkerThread.cpp:
2389 (WebCore::WorkerThread::workerThread):
2391 2014-01-10 Daniel Bates <dabates@apple.com>
2393 Fix the iOS build after <http://trac.webkit.org/changeset/161589>
2394 (https://bugs.webkit.org/show_bug.cgi?id=126654)
2396 * platform/graphics/ios/MediaPlayerPrivateIOS.h:
2397 (WebCore::MediaPlayerPrivateIOS::engineDescription): Adding missing return keyword.
2399 2014-01-10 Andrei Bucur <abucur@adobe.com>
2401 [CSS Regions] Remove unused CSSParser::parseFlowThread
2402 https://bugs.webkit.org/show_bug.cgi?id=126749
2404 Reviewed by Antti Koivisto.
2406 There are two versions of CSSParser::parseFlowThread. Remove the unused one:
2407 bool parseFlowThread(const String& flowName);
2409 Tests: No tests, code cleanup.
2411 * css/CSSParser.cpp:
2414 2014-01-10 Alex Christensen <achristensen@webkit.org>
2416 [WinCairo] Build fix after r161589.
2417 https://bugs.webkit.org/show_bug.cgi?id=126747
2419 Reviewed by Anders Carlsson.
2421 * platform/network/ResourceHandle.cpp:
2422 Include NotImplemented.h for all platforms.
2424 2014-01-10 Anders Carlsson <andersca@apple.com>
2426 Convert some for loops over to range-based for
2427 https://bugs.webkit.org/show_bug.cgi?id=126752
2429 Reviewed by Antti Koivisto.
2431 * inspector/InspectorApplicationCacheAgent.cpp:
2432 (WebCore::InspectorApplicationCacheAgent::buildArrayForApplicationCacheResources):
2433 * loader/appcache/ApplicationCache.cpp:
2434 (WebCore::ApplicationCache::clearStorageID):
2435 * loader/appcache/ApplicationCacheGroup.cpp:
2436 (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
2437 (WebCore::ApplicationCacheGroup::clearStorageID):
2438 * loader/appcache/ApplicationCacheHost.cpp:
2439 (WebCore::ApplicationCacheHost::fillResourceList):
2440 * loader/appcache/ApplicationCacheResource.cpp:
2441 (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
2442 * loader/appcache/ApplicationCacheStorage.cpp:
2443 (WebCore::ApplicationCacheStorage::cacheGroupForURL):
2444 * loader/archive/ArchiveFactory.cpp:
2445 (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
2446 * page/animation/AnimationController.cpp:
2447 (WebCore::AnimationControllerPrivate::styleAvailable):
2448 (WebCore::AnimationControllerPrivate::startTimeResponse):
2450 2014-01-10 Anders Carlsson <andersca@apple.com>
2452 Tighten up two functions in the inspector code
2453 https://bugs.webkit.org/show_bug.cgi?id=126751
2455 Reviewed by Antti Koivisto.
2457 * inspector/InspectorInstrumentation.cpp:
2458 (WebCore::InspectorInstrumentation::frameStartedLoadingImpl):
2459 (WebCore::InspectorInstrumentation::frameStoppedLoadingImpl):
2460 * inspector/InspectorInstrumentation.h:
2461 (WebCore::InspectorInstrumentation::frameStartedLoading):
2462 (WebCore::InspectorInstrumentation::frameStoppedLoading):
2463 * inspector/InspectorPageAgent.cpp:
2464 (WebCore::InspectorPageAgent::frameStartedLoading):
2465 (WebCore::InspectorPageAgent::frameStoppedLoading):
2466 * inspector/InspectorPageAgent.h:
2468 2014-01-10 Antti Koivisto <antti@apple.com>
2470 Crash when mutating SVG text with transform
2471 https://bugs.webkit.org/show_bug.cgi?id=126744
2473 Reviewed by Dirk Schulze.
2475 Test: svg/custom/mutation-text-transform-crash.html
2477 Text-transform property triggers subtreeTextDidChange when an SVG text renderer is
2478 being added to the render tree. The function assumes the child is already fully in the tree
2479 but in this case we are still in middle of adding it.
2481 * rendering/svg/RenderSVGText.cpp:
2482 (WebCore::RenderSVGText::subtreeTextDidChange):
2484 Bail out if the changed RenderSVGInlineText can't be found from m_layoutAttributes.
2485 This means that subtreeChildWasAdded hasn't been invoked yet for it and there is nothing
2486 to update. The required updates will happen in subtreeChildWasAdded.
2488 2014-01-10 Frédéric Wang <fred.wang@free.fr>
2490 [SVG] Accept HTML and MathML namespaces as valid requiredExtensions
2491 https://bugs.webkit.org/show_bug.cgi?id=88188
2493 Reviewed by Dirk Schulze.
2495 When HTML and MathML are used as foreign objects of an SVG image, it is
2496 important for Web authors to be able to specify a fallback content for
2497 SVG-only readers or browsers without MathML support. We rely on the
2498 requiredExtensions for that purpose and we use the XHTML/MathML
2499 namespaces as suggested in SVG Tiny 1.2 and implemented in Gecko.
2501 Tests: svg/custom/conditional-processing-1.svg
2502 svg/custom/conditional-processing-2.html
2503 svg/dom/SVGTests.html
2505 * svg/SVGSwitchElement.cpp: Remove an incorrect FIXME comment and replace it with a reference to bug 74749.
2506 (WebCore::SVGSwitchElement::childShouldCreateRenderer):
2507 * svg/SVGTests.cpp: Check if the list of required extensions contains only the XHTML/MathML namespaces.
2508 (WebCore::SVGTests::hasExtension):
2509 (WebCore::SVGTests::isValid):
2511 2014-01-10 Mihai Tica <mitica@adobe.com>
2513 Add support for blendmode to Core Animation layer.
2514 Patch by Rik Cabanier, Dean Jackson and Mihai Tica.
2516 https://bugs.webkit.org/show_bug.cgi?id=99200
2518 Reviewed by Dirk Schulze.
2520 Tests: css3/compositing/blend-mode-layers.html
2521 css3/compositing/blend-mode-overflow.html
2522 css3/compositing/blend-mode-reflection.html
2523 css3/compositing/blend-mode-should-not-have-compositing-layer.html
2524 css3/compositing/blend-mode-simple.html
2526 * WebCore.exp.in: export PlatformCALayer::setBlendMode for WebKit::PlatformCALayerRemote
2527 * WebCore.xcodeproj/project.pbxproj: Add PlatformCAFiltersMac.h
2528 * platform/graphics/GraphicsLayer.cpp: add blendMode member
2529 (WebCore::GraphicsLayer::GraphicsLayer):
2530 * platform/graphics/GraphicsLayer.h:
2531 (WebCore::GraphicsLayer::blendMode):
2532 (WebCore::GraphicsLayer::setBlendMode):
2533 * platform/graphics/ca/GraphicsLayerCA.cpp:
2534 (WebCore::GraphicsLayerCA::setBlendMode):
2535 (WebCore::GraphicsLayerCA::commitLayerChangesBeforeSublayers): add call to updateBlendMode()
2536 (WebCore::GraphicsLayerCA::updateBlendMode):
2537 * platform/graphics/ca/GraphicsLayerCA.h:
2538 * platform/graphics/ca/PlatformCAFilters.h:
2539 * platform/graphics/ca/PlatformCALayer.h:
2540 * platform/graphics/ca/mac/PlatformCAFiltersMac.h: Added.
2541 * platform/graphics/ca/mac/PlatformCAFiltersMac.mm:
2542 (PlatformCAFilters::setBlendingFiltersOnLayer): set a compositing CAFilter on CALayer
2543 * platform/graphics/ca/mac/PlatformCALayerMac.mm:
2544 (PlatformCALayer::setBlendMode): call to PlatformCAFilters::setBlendingFiltersOnLayer
2545 * rendering/RenderLayerBacking.cpp:
2546 (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
2547 (WebCore::RenderLayerBacking::updateBlendMode):
2548 (WebCore::RenderLayerBacking::updateGraphicsLayerGeometry):
2549 (WebCore::RenderLayerBacking::setBlendMode):
2550 * rendering/RenderLayerBacking.h:
2551 * rendering/RenderLayerCompositor.cpp:
2552 (WebCore::CompositingState::CompositingState): add m_subtreeHasBlending member
2553 (WebCore::RenderLayerCompositor::computeCompositingRequirements): promote layer if subtree has blending
2554 (WebCore::RenderLayerCompositor::reasonsForCompositing):
2555 (WebCore::RenderLayerCompositor::logReasonsForCompositing): log blending reason
2556 (WebCore::RenderLayerCompositor::requiresCompositingForIndirectReason): add blending reason
2557 * rendering/RenderLayerCompositor.h:
2559 2014-01-10 Andrei Bucur <abucur@adobe.com>
2561 [CSS Regions] Implement visual overflow computation for inline elements
2562 https://bugs.webkit.org/show_bug.cgi?id=125291
2564 Reviewed by David Hyatt.
2566 The patch implements visual overflow computation for inline elements per region. The algorithm
2567 uses the container region of each root line box to determine the lines in a region generated by
2568 a RenderInline. The overflow of a RenderInline inside a region is the smallest rectangle that fits
2569 all the line boxes belonging to that region.
2571 The patch also correctly flips for writing mode the overflow of a renderer before clipping with it.
2573 Tests: fast/regions/overflow-in-variable-width-regions-inline-bt.html
2574 fast/regions/overflow-in-variable-width-regions-inline-continuation.html
2575 fast/regions/overflow-in-variable-width-regions-inline-lr.html
2576 fast/regions/overflow-in-variable-width-regions-inline-rl.html
2577 fast/regions/overflow-in-variable-width-regions-inline.html
2579 * rendering/RenderFlowThread.cpp:
2580 (WebCore::RenderFlowThread::objectShouldPaintInFlowRegion):
2581 * rendering/RenderInline.cpp:
2582 (WebCore::RenderInline::updateAlwaysCreateLineBoxes): Always create line boxes for RenderInline
2583 (WebCore::RenderInline::linesVisualOverflowBoundingBoxInRegion):
2584 * rendering/RenderInline.h:
2585 * rendering/RenderLayer.cpp:
2586 (WebCore::RenderLayer::calculateClipRects):
2587 * rendering/RenderRegion.cpp:
2588 (WebCore::RenderRegion::visualOverflowRectForBox):
2589 (WebCore::RenderRegion::visualOverflowRectForBoxForPropagation):
2590 * rendering/RenderRegion.h:
2592 2014-01-09 Jer Noble <jer.noble@apple.com>
2594 [Mac] .mp3 media document controls missing their background
2595 https://bugs.webkit.org/show_bug.cgi?id=126683
2597 Reviewed by Eric Carlson.
2599 Test: media/media-document-audio-controls-visible.html
2601 <video> elements in a media document are created with an intrinsic size of 300x1,
2602 with the expectation that either the size will be updated if the media has a video
2603 track, or the controls will visibly overflow if the media is audio-only. Since the
2604 shadow root is a flex-box, the panel was being collapsed to 1px high, so give the panel
2605 a minimum height to prevent that. Also, disable "fading out" the controls in a
2606 media document for an audio-only file by adding a "no-video" class to the panel
2607 and adding a media document-only rule to force the controls to always be visible.
2609 * Modules/mediacontrols/mediaControlsApple.css:
2610 (video:-webkit-full-page-media::-webkit-media-controls-panel.no-video):
2611 (audio::-webkit-media-controls-panel):
2612 * Modules/mediacontrols/mediaControlsApple.js:
2613 (Controller): Call updateHasVideo().
2614 (Controller.prototype.addVideoListeners): Add video track listeners.
2615 (Controller.prototype.removeVideoListeners): Remove same.
2616 (Controller.prototype.updateHasVideo): Add a 'no-video' class to the panel if
2617 the video element has no video tracks.
2619 2014-01-09 Anders Carlsson <andersca@apple.com>
2621 Clean up ProgressTracker a little
2622 https://bugs.webkit.org/show_bug.cgi?id=126738
2624 Reviewed by Dan Bernstein.
2626 Use Frame& where the frame can never be null, avoid an extra hash lookup and
2627 switch the m_progressItems map over to std::unique_ptr.
2629 * inspector/InspectorInstrumentation.h:
2630 (WebCore::InspectorInstrumentation::frameStartedLoading):
2631 * loader/FrameLoader.cpp:
2632 (WebCore::FrameLoader::FrameProgressTracker::~FrameProgressTracker):
2633 (WebCore::FrameLoader::FrameProgressTracker::progressStarted):
2634 (WebCore::FrameLoader::FrameProgressTracker::progressCompleted):
2635 * loader/ProgressTracker.cpp:
2636 (WebCore::ProgressTracker::progressStarted):
2637 (WebCore::ProgressTracker::progressCompleted):
2638 (WebCore::ProgressTracker::incrementProgress):
2639 * loader/ProgressTracker.h:
2640 * loader/ResourceLoadNotifier.cpp:
2641 (WebCore::ResourceLoadNotifier::didReceiveData):
2643 2014-01-09 Gyuyoung Kim <gyuyoung.kim@samsung.com>
2645 Fix a build break on EFL debug build
2646 https://bugs.webkit.org/show_bug.cgi?id=126735
2648 Reviewed by Anders Carlsson.
2650 No new tests, just build fix.
2652 * platform/ThreadTimers.cpp:
2653 (WebCore::ThreadTimers::sharedTimerFiredInternal): Add parentheses.
2655 2014-01-09 Anders Carlsson <andersca@apple.com>
2657 Remove unused FrameLoader member functions
2658 https://bugs.webkit.org/show_bug.cgi?id=126734
2660 Reviewed by Andreas Kling.
2662 * loader/FrameLoader.cpp:
2663 * loader/FrameLoader.h:
2665 2014-01-09 Joseph Pecoraro <pecoraro@apple.com>
2667 Unreviewed Windows build fix for r161563.
2669 Remove stale forward declaration causing namespace ambiguity
2670 later on in a Windows AllInOne file that picked it up. Also
2671 remove a few stale functions that are not used and accidentally
2672 got added back in when the file changed names.
2674 * bindings/js/ScriptGlobalObject.h:
2676 2014-01-09 Dean Jackson <dino@apple.com>
2678 [WebGL] Expose texture_float_linear and texture_half_float to getSupportedExtensions
2679 https://bugs.webkit.org/show_bug.cgi?id=126732
2681 Reviewed by Tim Horton.
2683 When I added support for these two extensions, I forgot to add their
2684 names to the list in getSupportedExtensions.
2686 Covered by the Khronos test: conformance/extensions/get-extension.html
2688 * html/canvas/WebGLRenderingContext.cpp:
2689 (WebCore::WebGLRenderingContext::getSupportedExtensions): Add OES_texture_float_linear
2690 and OES_texture_half_float if the WebGL context supports them.
2692 2014-01-09 Joseph Pecoraro <pecoraro@apple.com>
2694 Revert r161611, incorrect fix, will fix better.
2696 * bindings/js/ScriptGlobalObject.h:
2698 2014-01-09 Jer Noble <jer.noble@apple.com>
2700 [Mac] Scrubbing performance of HD content with software decoding is poor.
2701 https://bugs.webkit.org/show_bug.cgi?id=126705
2703 Reviewed by Eric Carlson.
2705 Instead of issuing a new seek before the previous one completes, wait until that seek's
2706 completion handler is called, and then issue the new seek. This has the added benefit of
2707 coalescing multiple incoming seeks so that only the last one is acted upon.
2709 Save the parameters passed into seekToTime and bind them together in a std::function
2710 to be replayed once the in-flight seek completes. To handle the case where a completion
2711 handler fires after the media player is destroyed, add a weakPtrFactory and pass a
2712 WeakPtr into the completion handler.
2714 Clean up some ivars which are no longer necessary: remove m_seekCount and m_seekTime.
2716 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp:
2717 (WebCore::MediaPlayerPrivateAVFoundation::MediaPlayerPrivateAVFoundation): Initialize the
2719 (WebCore::MediaPlayerPrivateAVFoundation::seekWithTolerance):
2720 (WebCore::MediaPlayerPrivateAVFoundation::seeking): m_seekTime -> m_seeking.
2721 (WebCore::MediaPlayerPrivateAVFoundation::seekCompleted):
2722 * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.h:
2723 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h:
2724 (WebCore::MediaPlayerPrivateAVFoundationObjC::createWeakPtr):
2725 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
2726 (WebCore::MediaPlayerPrivateAVFoundationObjC::MediaPlayerPrivateAVFoundationObjC):
2727 (WebCore::MediaPlayerPrivateAVFoundationObjC::seekToTime):
2728 (WebCore::MediaPlayerPrivateAVFoundationObjC::finishSeek):
2730 2014-01-08 Jer Noble <jer.noble@apple.com>
2732 [MSE][Mac] Report the intrinsic size of the media element
2733 https://bugs.webkit.org/show_bug.cgi?id=125156
2735 Reviewed by Eric Carlson.
2737 * WebCore.xcodeproj/project.pbxproj:
2738 * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
2739 * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.mm:
2740 (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::naturalSize): Pass to MediaSourcePrivateAVFObjC.
2741 (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::sizeChanged): Added; Pass to MediaPlayer.
2742 * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.h:
2743 * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
2744 (WebCore::MediaSourcePrivateAVFObjC::naturalSize): Return the union of the naturalSizes of all active buffers.
2745 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.h:
2746 * platform/graphics/avfoundation/objc/SourceBufferPrivateAVFObjC.mm:
2747 (WebCore::SourceBufferPrivateAVFObjC::didParseStreamDataAsAsset): Notify the media player that the size changed.
2748 (WebCore::SourceBufferPrivateAVFObjC::naturalSize): Return the size of the selected video track.
2749 * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.h:
2750 * platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.mm: Renamed from Source/WebCore/platform/graphics/avfoundation/objc/VideoTrackPrivateMediaSourceAVFObjC.cpp.
2751 (WebCore::VideoTrackPrivateMediaSourceAVFObjC::assetTrack): Made const.
2752 (WebCore::VideoTrackPrivateMediaSourceAVFObjC::naturalSize): Return the size of the AVAssetTrack.
2754 2014-01-09 Joseph Pecoraro <pecoraro@apple.com>
2756 Unreviewed Windows build fix for r161563.
2758 Remove stale forward declaration causing namespace ambiguity
2759 later on in a Windows AllInOne file that picked it up.
2761 * bindings/js/ScriptGlobalObject.h:
2763 2014-01-09 Simon Fraser <simon.fraser@apple.com>
2765 Enable async scrolling for iOS
2766 https://bugs.webkit.org/show_bug.cgi?id=126730
2768 Reviewed by Tim Horton.
2770 Turn on ENABLE_ASYNC_SCROLLING for iOS.
2772 Disable rubber-banding and scrollbar-related Mac code for PLATFORM(IOS),
2773 provide stubs for scrolling nodes and scrolling state nodes, and an
2774 iOS scrolling tree, and scrolling coordinator.
2776 Move crollingCoordinator::create() into the platform implementation file.
2778 * page/scrolling/ScrollingCoordinator.cpp:
2779 (WebCore::ScrollingCoordinator::create):
2780 * page/scrolling/ScrollingStateScrollingNode.cpp:
2781 (WebCore::ScrollingStateScrollingNode::ScrollingStateScrollingNode):
2782 (WebCore::ScrollingStateScrollingNode::setScrollbarPaintersFromScrollbars):
2783 * page/scrolling/ScrollingStateScrollingNode.h:
2784 * page/scrolling/ScrollingTree.h:
2785 (WebCore::ScrollingTree::isScrollingTreeIOS):
2786 * page/scrolling/ThreadedScrollingTree.h:
2787 * page/scrolling/ios/ScrollingCoordinatorIOS.h: Copied from Source/WebKit2/UIProcess/Scrolling/RemoteScrollingTree.h.
2788 * page/scrolling/ios/ScrollingCoordinatorIOS.mm: Copied from Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm.
2789 (WebCore::ScrollingCoordinator::create):
2790 (WebCore::ScrollingCoordinatorIOS::ScrollingCoordinatorIOS):
2791 (WebCore::ScrollingCoordinatorIOS::~ScrollingCoordinatorIOS):
2792 (WebCore::ScrollingCoordinatorIOS::pageDestroyed):
2793 (WebCore::ScrollingCoordinatorIOS::commitTreeStateIfNeeded):
2794 (WebCore::ScrollingCoordinatorIOS::scheduleTreeStateCommit):
2795 (WebCore::ScrollingCoordinatorIOS::scrollingStateTreeCommitterTimerFired):
2796 (WebCore::ScrollingCoordinatorIOS::commitTreeState):
2797 (WebCore::ScrollingCoordinatorIOS::createScrollingTreeNode):
2798 * page/scrolling/ios/ScrollingTreeIOS.cpp: Added.
2799 (WebCore::ScrollingTreeIOS::create):
2800 (WebCore::ScrollingTreeIOS::ScrollingTreeIOS):
2801 (WebCore::ScrollingTreeIOS::~ScrollingTreeIOS):
2802 (WebCore::derefScrollingCoordinator):
2803 (WebCore::ScrollingTreeIOS::invalidate):
2804 (WebCore::ScrollingTreeIOS::commitNewTreeState):
2805 (WebCore::ScrollingTreeIOS::updateMainFrameScrollPosition):
2806 (WebCore::ScrollingTreeIOS::createNode):
2807 * page/scrolling/ios/ScrollingTreeIOS.h: Copied from Source/WebCore/page/scrolling/ThreadedScrollingTree.h.
2808 * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.h: Added.
2809 * page/scrolling/ios/ScrollingTreeScrollingNodeIOS.mm: Added.
2810 (WebCore::ScrollingTreeScrollingNodeIOS::create):
2811 (WebCore::ScrollingTreeScrollingNodeIOS::ScrollingTreeScrollingNodeIOS):
2812 (WebCore::ScrollingTreeScrollingNodeIOS::~ScrollingTreeScrollingNodeIOS):
2813 (WebCore::ScrollingTreeScrollingNodeIOS::updateBeforeChildren):
2814 (WebCore::ScrollingTreeScrollingNodeIOS::updateAfterChildren):
2815 (WebCore::ScrollingTreeScrollingNodeIOS::scrollPosition):
2816 (WebCore::ScrollingTreeScrollingNodeIOS::setScrollPosition):
2817 (WebCore::ScrollingTreeScrollingNodeIOS::setScrollPositionWithoutContentEdgeConstraints):
2818 (WebCore::ScrollingTreeScrollingNodeIOS::setScrollLayerPosition):
2819 (WebCore::ScrollingTreeScrollingNodeIOS::minimumScrollPosition):
2820 (WebCore::ScrollingTreeScrollingNodeIOS::maximumScrollPosition):
2821 (WebCore::ScrollingTreeScrollingNodeIOS::scrollBy):
2822 (WebCore::ScrollingTreeScrollingNodeIOS::scrollByWithoutContentEdgeConstraints):
2823 * page/scrolling/mac/ScrollingCoordinatorMac.mm:
2824 (WebCore::ScrollingCoordinator::create):
2825 * page/scrolling/mac/ScrollingTreeFixedNode.mm:
2826 * page/scrolling/mac/ScrollingTreeStickyNode.mm:
2828 2014-01-09 Myles C. Maxfield <mmaxfield@apple.com>
2830 text-decoration-skip: ink does not work with line wraps
2831 https://bugs.webkit.org/show_bug.cgi?id=126729
2833 Reviewed by Simon Fraser.
2835 InlineTextBox's m_start and m_length fields are offsets into the renderer's string,
2836 not the generated TextRun. Because of this distinction, when multiple InlineTextBoxes
2837 were constructed for the same element, all the subsequent elements would use incorrect
2838 indices and therefore not have skipping decorations.
2840 Test: fast/css3-text/css3-text-decoration/text-decoration-skip/text-decoration-skip-ink-multiline.html
2842 * platform/graphics/Font.h:
2843 * platform/graphics/mac/FontMac.mm:
2844 (WebCore::Font::dashesForIntersectionsWithRect):
2845 * rendering/InlineTextBox.cpp:
2846 (WebCore::drawSkipInkUnderline):
2847 (WebCore::InlineTextBox::paintDecoration):
2848 * rendering/TextPainter.cpp:
2849 (WebCore::TextPainter::dashesForIntersectionsWithRect):
2850 * rendering/TextPainter.h:
2852 2014-01-09 Benjamin Poulain <bpoulain@apple.com>
2854 Remove remaining blackberry files I could find in WebCore
2855 https://bugs.webkit.org/show_bug.cgi?id=126715
2857 Reviewed by Anders Carlsson.
2859 * PlatformBlackBerry.cmake: Removed.
2860 * Resources/blackberry: Removed.
2861 * css/mediaControlsBlackBerry.css: Removed.
2862 * css/mediaControlsBlackBerryFullscreen.css: Removed.
2863 * css/themeBlackBerry.css: Removed.
2864 * editing/blackberry: Removed.
2865 * history/blackberry: Removed.
2866 * html/shadow/MediaControlsBlackBerry.cpp: Removed.
2867 * html/shadow/MediaControlsBlackBerry.h: Removed.
2868 * page/blackberry: Removed.
2869 * page/scrolling/blackberry: Removed.
2870 * plugins/blackberry: Removed.
2872 2014-01-09 Brent Fulgham <bfulgham@apple.com>
2874 [WebGL] Return filtered results for getProgramParameter for ACTIVE_ATTRIBUTES and ACTIVE_UNIFORMS
2875 https://bugs.webkit.org/show_bug.cgi?id=126718
2876 <rdar://problem/15202048>
2878 Reviewed by Dean Jackson.
2880 Covered by webgl/conformance/ogles/GL/biuDepthRange/biuDepthRange_001_to_002.html and
2881 webgl/conformance/ogles/GL/gl_FragCoord/gl_FragCoord_001_to_003.html.
2883 * html/canvas/WebGLRenderingContext.cpp:
2884 (WebCore::WebGLRenderingContext::getActiveAttrib): Added loging.
2885 (WebCore::WebGLRenderingContext::getActiveUniform): Added logging.
2886 (WebCore::WebGLRenderingContext::getAttribLocation): Drive-by-fix. Return
2887 -1 on link failure (an invalid location) rather than 0 (a valid
2888 location) when link fails.
2889 (WebCore::WebGLRenderingContext::getProgramParameter): Use new
2890 method to return filtered count.
2891 (WebCore::WebGLRenderingContext::getUniformLocation): Use nullptr
2892 rather than returning 0.
2893 * platform/graphics/GraphicsContext3D.h:
2894 (WebCore::GraphicsContext3D::ActiveShaderSymbolCounts::ActiveShaderSymbolCounts):
2895 (WebCore::GraphicsContext3D::ActiveShaderSymbolCounts::countForType):
2896 * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
2897 (WebCore::GraphicsContext3D::precisionsMatch): Drive-by-fix. Don't
2898 copy giant objects to read a single value.
2899 (WebCore::GraphicsContext3D::compileShader): Release filtered count
2900 when we change shader source code.
2901 (WebCore::GraphicsContext3D::getActiveAttribImpl): Renamed from getActiveAttrib.
2902 (WebCore::GraphicsContext3D::getActiveAttrib): Maps filtered indices to
2903 real OpenGL indices.
2904 (WebCore::GraphicsContext3D::getActiveUniformImpl): Renamed from getActiveUniform.
2905 (WebCore::GraphicsContext3D::getActiveUniform): Maps filtered indices to
2906 real OpenGL indices.
2907 (WebCore::GraphicsContext3D::originalSymbolName): Use C++11 loop.
2908 (WebCore::GraphicsContext3D::getAttribLocation): Added logging.
2909 (WebCore::GraphicsContext3D::getNonBuiltinActiveSymbolCount): Added.
2910 (WebCore::GraphicsContext3D::getShaderiv): Const correctness.
2911 (WebCore::GraphicsContext3D::getShaderInfoLog): Ditto.
2912 (WebCore::GraphicsContext3D::getShaderSource): Ditto.
2914 2014-01-09 Zoltan Horvath <zoltan@webkit.org>
2916 [CSS Shapes] First line gets incorrectly adjusted in shape-inside due to rounding
2917 https://bugs.webkit.org/show_bug.cgi?id=126601
2919 Reviewed by Bem Jones-Bey.
2921 In order to get consistent results of the first fit position of the content in shapes,
2922 firstIncludedIntervalLogicalTop should take a FloatSize rather than LayoutSize for
2923 minLogicalIntervalSize, because LayoutSize clamps the float value to int, when subpixel-layout
2924 is disabled, thus firstIncludedIntervalLogicalTop could end up calculating with an unprecize
2925 value. This change modifies firstIncludedIntervalLogicalTop to take FloatSize consistently.
2927 Test: fast/shapes/shape-inside/shape-inside-polygon-rounded-first-fit.html
2929 * rendering/shapes/BoxShape.cpp:
2930 (WebCore::BoxShape::firstIncludedIntervalLogicalTop):
2931 * rendering/shapes/BoxShape.h:
2932 * rendering/shapes/PolygonShape.cpp:
2933 (WebCore::PolygonShape::firstIncludedIntervalLogicalTop):
2934 * rendering/shapes/PolygonShape.h:
2935 * rendering/shapes/RasterShape.cpp:
2936 (WebCore::RasterShape::firstIncludedIntervalLogicalTop):
2937 * rendering/shapes/RasterShape.h:
2938 * rendering/shapes/RectangleShape.cpp:
2939 (WebCore::RectangleShape::firstIncludedIntervalLogicalTop):
2940 * rendering/shapes/RectangleShape.h:
2941 * rendering/shapes/Shape.h:
2942 * rendering/shapes/ShapeInsideInfo.cpp:
2943 (WebCore::ShapeInsideInfo::adjustLogicalLineTop):
2944 (WebCore::ShapeInsideInfo::computeFirstFitPositionForFloat):
2946 2014-01-09 Andy Estes <aestes@apple.com>
2949 https://bugs.webkit.org/show_bug.cgi?id=126724
2951 Reviewed by David Kilzer.
2953 * Configurations/WebCore.xcconfig: Excluded new iOS-specific Private
2954 headers on the Mac build.
2955 * WebCore.xcodeproj/project.pbxproj: Added new files to the project.
2956 * platform/ios/wak/WAKAppKitStubs.h: Added.
2957 * platform/ios/wak/WAKAppKitStubs.m: Added.
2958 * platform/ios/wak/WAKClipView.h: Added.
2959 * platform/ios/wak/WAKClipView.m: Added.
2960 * platform/ios/wak/WAKResponder.h: Added.
2961 * platform/ios/wak/WAKResponder.m: Added.
2962 * platform/ios/wak/WAKScrollView.h: Added.
2963 * platform/ios/wak/WAKScrollView.mm: Added.
2964 * platform/ios/wak/WAKView.h: Added.
2965 * platform/ios/wak/WAKView.mm: Added.
2966 * platform/ios/wak/WAKViewPrivate.h: Added.
2967 * platform/ios/wak/WAKWindow.h: Added.
2968 * platform/ios/wak/WAKWindow.mm: Added.
2969 * platform/ios/wak/WKContentObservation.cpp: Added.
2970 * platform/ios/wak/WKContentObservation.h: Added.
2971 * platform/ios/wak/WKGraphics.h: Added.
2972 * platform/ios/wak/WKGraphics.mm: Added.
2973 * platform/ios/wak/WKTypes.h: Added.
2974 * platform/ios/wak/WKUtilities.c: Added.
2975 * platform/ios/wak/WKUtilities.h: Added.
2976 * platform/ios/wak/WKView.h: Added.
2977 * platform/ios/wak/WKView.mm: Added.
2978 * platform/ios/wak/WKViewPrivate.h: Added.
2979 * platform/ios/wak/WebCoreThread.h: Added.
2980 * platform/ios/wak/WebCoreThread.mm: Added.
2981 * platform/ios/wak/WebCoreThreadInternal.h: Added.
2982 * platform/ios/wak/WebCoreThreadMessage.h: Added.
2983 * platform/ios/wak/WebCoreThreadRun.cpp: Added.
2984 * platform/ios/wak/WebCoreThreadRun.h: Added.
2985 * platform/ios/wak/WebCoreThreadSafe.h: Added.
2986 * platform/ios/wak/WebCoreThreadSystemInterface.cpp: Added.
2987 * platform/ios/wak/WebCoreThreadSystemInterface.h: Added.
2989 2014-01-09 Daniel Bates <dabates@apple.com>
2991 Another attempt to fix the Windows build following <http://trac.webkit.org/changeset/161589>
2992 (https://bugs.webkit.org/show_bug.cgi?id=126654)
2994 * platform/network/cf/ResourceRequest.h: Always declare ResourceRequest::updateFromDelegatePreservingOldHTTPBody()
2995 instead of only declaring it when building without CFNetwork.
2997 2014-01-09 Daniel Bates <dabates@apple.com>
2999 Attempt to fix the Windows build following <http://trac.webkit.org/changeset/161589>
3000 (https://bugs.webkit.org/show_bug.cgi?id=126654)
3002 For some reason, the Windows build is unhappy that NeverDestroyed<FontCache> calls the private constructor
3003 FontCache::FontCache() despite being a friend class of FontCache. Use DEFINE_STATIC_LOCAL instead of
3004 NeverDestroyed<> for now. I'll look to investigate this issue offline.
3006 * platform/graphics/FontCache.cpp:
3007 (WebCore::fontCache):
3008 * platform/graphics/FontCache.h:
3010 2014-01-09 Benjamin Poulain <bpoulain@apple.com>
3012 Remove blackberry from WebCore/platform
3013 https://bugs.webkit.org/show_bug.cgi?id=126715
3015 Reviewed by Anders Carlsson.
3017 * platform/blackberry: Removed.
3018 * platform/graphics/blackberry: Removed.
3019 * platform/graphics/filters/blackberry: Removed.
3020 * platform/image-decoders/blackberry: Removed.
3021 * platform/mediastream/blackberry: Removed.
3022 * platform/network/blackberry: Removed.
3023 * platform/text/blackberry: Removed.
3025 2014-01-09 Alexey Proskuryakov <ap@apple.com>
3027 Fix a copy-paste mistake in an include guard.
3029 Rubber-stamped by Sam Weinig.
3031 * crypto/parameters/CryptoAlgorithmRsaKeyParamsWithHash.h:
3033 2014-01-09 Anders Carlsson <andersca@apple.com>
3035 History::StateObjectType should be a strong enum
3036 https://bugs.webkit.org/show_bug.cgi?id=126725
3038 Reviewed by Beth Dakin.
3040 * bindings/js/JSHistoryCustom.cpp:
3041 (WebCore::JSHistory::pushState):
3042 (WebCore::JSHistory::replaceState):
3043 * loader/HistoryController.cpp:
3044 (WebCore::HistoryController::pushState):
3046 (WebCore::History::stateObjectAdded):
3049 2014-01-09 Daniel Bates <dabates@apple.com>
3051 Attempt to fix the Mountain Lion Release (32-bit) build following <http://trac.webkit.org/changeset/161589>
3052 (https://bugs.webkit.org/show_bug.cgi?id=126654)
3054 * platform/ios/WebEvent.h:
3055 * platform/ios/WebEvent.mm:
3057 2014-01-09 Daniel Bates <dabates@apple.com>
3059 [iOS] Upstream WebCore/platform changes
3060 https://bugs.webkit.org/show_bug.cgi?id=126654
3062 Rubber-stamped by David Kilzer.
3065 * WebCore.xcodeproj/project.pbxproj:
3066 * platform/ContentFilter.h:
3067 * platform/DragData.h:
3068 * platform/FileChooser.cpp:
3069 (WebCore::FileChooser::chooseMediaFiles):
3070 * platform/FileChooser.h:
3071 * platform/FileSystem.cpp:
3072 (WebCore::setMetadataURL):
3073 * platform/FileSystem.h:
3074 * platform/KillRingNone.cpp:
3075 * platform/LocalizedStrings.cpp:
3076 (WebCore::fileButtonChooseMediaFileLabel):
3077 (WebCore::fileButtonChooseMultipleMediaFilesLabel):
3078 (WebCore::fileButtonNoMediaFileSelectedLabel):
3079 (WebCore::fileButtonNoMediaFilesSelectedLabel):
3080 * platform/LocalizedStrings.h:
3081 * platform/Logging.h:
3082 * platform/MIMETypeRegistry.cpp:
3083 (WebCore::initializeSupportedImageMIMETypes):
3084 (WebCore::initializeSupportedNonImageMimeTypes):
3085 (WebCore::initializeUnsupportedTextMIMETypes):
3086 * platform/MemoryPressureHandler.cpp:
3087 (WebCore::MemoryPressureHandler::MemoryPressureHandler):
3088 * platform/MemoryPressureHandler.h:
3089 * platform/PlatformKeyboardEvent.h:
3090 (WebCore::PlatformKeyboardEvent::event):
3091 * platform/PlatformMouseEvent.h:
3092 (WebCore::PlatformMouseEvent::PlatformMouseEvent):
3093 * platform/PlatformScreen.h:
3094 * platform/RuntimeApplicationChecks.cpp:
3095 (WebCore::mainBundleIsEqualTo):
3096 * platform/RuntimeApplicationChecksIOS.h: Copied from Source/WebCore/platform/graphics/StringTruncator.h.
3097 * platform/RuntimeApplicationChecksIOS.mm: Added.
3098 * platform/ScrollAnimator.cpp:
3099 (WebCore::ScrollAnimator::handleTouchEvent):
3100 * platform/ScrollAnimator.h:
3101 * platform/ScrollTypes.h:
3102 * platform/ScrollView.cpp:
3103 (WebCore::ScrollView::unscaledVisibleContentSize):
3104 (WebCore::ScrollView::visibleContentRect):
3105 * platform/ScrollView.h:
3106 (WebCore::ScrollView::actualScrollX):
3107 (WebCore::ScrollView::actualScrollY):
3108 * platform/ScrollableArea.cpp:
3109 (WebCore::ScrollableArea::handleTouchEvent):
3110 (WebCore::ScrollableArea::isPinnedInBothDirections):
3111 (WebCore::ScrollableArea::isPinnedHorizontallyInDirection):
3112 (WebCore::ScrollableArea::isPinnedVerticallyInDirection):
3113 * platform/ScrollableArea.h:
3114 (WebCore::ScrollableArea::isTouchScrollable):
3115 (WebCore::ScrollableArea::isOverflowScroll):
3116 (WebCore::ScrollableArea::didStartScroll):
3117 (WebCore::ScrollableArea::didEndScroll):
3118 (WebCore::ScrollableArea::didUpdateScroll):
3119 (WebCore::ScrollableArea::setIsUserScroll):
3120 (WebCore::ScrollableArea::isHorizontalScrollerPinnedToMinimumPosition):
3121 (WebCore::ScrollableArea::isHorizontalScrollerPinnedToMaximumPosition):
3122 (WebCore::ScrollableArea::isVerticalScrollerPinnedToMinimumPosition):
3123 (WebCore::ScrollableArea::isVerticalScrollerPinnedToMaximumPosition):
3124 * platform/Scrollbar.cpp:
3125 * platform/Scrollbar.h:
3126 * platform/SharedBuffer.cpp:
3127 (WebCore::SharedBuffer::SharedBuffer):
3128 (WebCore::SharedBuffer::createPurgeableBuffer):
3129 (WebCore::SharedBuffer::data):
3130 * platform/SharedBuffer.h:
3131 (WebCore::SharedBuffer::shouldUsePurgeableMemory):
3132 * platform/SuddenTermination.h:
3133 * platform/Supplementable.h:
3134 (WebCore::Supplementable::provideSupplement):
3135 (WebCore::Supplementable::removeSupplement):
3136 (WebCore::Supplementable::requireSupplement):
3137 * platform/SystemMemory.h: Copied from Source/WebCore/platform/graphics/StringTruncator.h.
3138 * platform/ThreadCheck.h:
3139 * platform/ThreadGlobalData.cpp:
3140 (WebCore::ThreadGlobalData::ThreadGlobalData):
3141 (WebCore::ThreadGlobalData::destroy):
3142 (WebCore::ThreadGlobalData::setWebCoreThreadData):
3143 (WebCore::threadGlobalData):
3144 * platform/ThreadGlobalData.h:
3145 * platform/ThreadTimers.cpp:
3146 (WebCore::ThreadTimers::ThreadTimers):
3147 (WebCore::ThreadTimers::sharedTimerFiredInternal):
3148 * platform/Timer.cpp:
3149 (WebCore::TimerBase::start):
3150 (WebCore::TimerBase::stop):
3151 (WebCore::TimerBase::setNextFireTime):
3153 (WebCore::TimerBase::isActive):
3155 (WebCore::enableURLSchemeCanonicalization):
3157 (WebCore::URL::parse):
3159 * platform/Widget.h:
3160 * platform/audio/ios/AudioDestinationIOS.cpp:
3161 * platform/audio/ios/AudioDestinationIOS.h:
3162 * platform/audio/ios/AudioFileReaderIOS.cpp: Copied from Source/WebCore/platform/audio/mac/AudioFileReaderMac.cpp.
3163 (WebCore::createAudioBufferList):
3164 (WebCore::destroyAudioBufferList):
3165 (WebCore::AudioFileReader::AudioFileReader):
3166 (WebCore::AudioFileReader::~AudioFileReader):
3167 (WebCore::AudioFileReader::readProc):
3168 (WebCore::AudioFileReader::getSizeProc):
3169 (WebCore::AudioFileReader::createBus):
3170 (WebCore::createBusFromAudioFile):
3171 (WebCore::createBusFromInMemoryAudioFile):
3172 * platform/audio/ios/AudioFileReaderIOS.h: Copied from Source/WebCore/platform/graphics/StringTruncator.h.
3173 (WebCore::AudioFileReader::data):
3174 (WebCore::AudioFileReader::dataSize):
3175 * platform/audio/ios/AudioSessionIOS.mm:
3176 (SOFT_LINK_POINTER):
3177 (-[WebAudioSessionHelper initWithCallback:WebCore::]):
3178 (-[WebAudioSessionHelper dealloc]):
3179 (-[WebAudioSessionHelper interruption:]):
3180 (WebCore::AudioSession::setCategory):
3181 * platform/audio/mac/AudioDestinationMac.cpp:
3182 * platform/audio/mac/AudioFileReaderMac.cpp:
3183 (WebCore::AudioFileReader::AudioFileReader):
3184 (WebCore::createBusFromAudioFile):
3185 (WebCore::createBusFromInMemoryAudioFile):
3186 * platform/audio/mac/AudioSessionMac.cpp:
3187 * platform/audio/mac/MediaSessionManagerMac.cpp:
3188 (MediaSessionManager::updateSessionState):
3189 * platform/cf/SharedBufferCF.cpp:
3190 (WebCore::SharedBuffer::SharedBuffer):
3191 * platform/cf/URLCF.cpp:
3192 * platform/cocoa/KeyEventCocoa.mm:
3193 (WebCore::windowsKeyCodeForCharCode):
3194 * platform/graphics/BitmapImage.cpp:
3195 (WebCore::BitmapImage::BitmapImage):
3196 (WebCore::BitmapImage::destroyDecodedDataIfNecessary):
3197 (WebCore::BitmapImage::cacheFrame):
3198 (WebCore::BitmapImage::cacheFrameInfo):
3199 (WebCore::BitmapImage::updateSize):
3200 (WebCore::BitmapImage::originalSize):
3201 (WebCore::BitmapImage::originalSizeRespectingOrientation):
3202 (WebCore::BitmapImage::dataChanged):
3203 (WebCore::BitmapImage::ensureFrameInfoIsCached):
3204 (WebCore::BitmapImage::frameAtIndex):
3205 (WebCore::BitmapImage::frameIsCompleteAtIndex):
3206 (WebCore::BitmapImage::frameDurationAtIndex):
3207 (WebCore::BitmapImage::frameHasAlphaAtIndex):
3208 (WebCore::BitmapImage::frameOrientationAtIndex):
3209 (WebCore::BitmapImage::startAnimation):
3210 (WebCore::BitmapImage::internalAdvanceAnimation):
3211 * platform/graphics/BitmapImage.h:
3212 (WebCore::FrameData::FrameData):
3213 * platform/graphics/Color.cpp:
3214 (WebCore::Color::isDark):
3215 * platform/graphics/Color.h:
3216 * platform/graphics/DisplayRefreshMonitor.h:
3217 * platform/graphics/FloatPoint.h:
3218 * platform/graphics/FloatRect.h:
3219 * platform/graphics/FloatSize.h:
3220 * platform/graphics/Font.cpp:
3221 (WebCore::Font::drawText):
3222 (WebCore::Font::width):
3223 * platform/graphics/Font.h:
3224 * platform/graphics/FontCache.cpp:
3225 (initFontCacheLockOnce):
3226 (FontLocker::FontLocker):
3227 (FontLocker::~FontLocker):
3228 (WebCore::fontCache):
3229 (WebCore::FontCache::getCachedFontPlatformData):
3230 (WebCore::FontCache::getCachedFontData):
3231 (WebCore::FontCache::releaseFontData):
3232 (WebCore::FontCache::purgeInactiveFontDataIfNeeded):
3233 (WebCore::FontCache::purgeInactiveFontData):
3234 * platform/graphics/FontCache.h:
3235 * platform/graphics/FontFastPath.cpp:
3236 (WebCore::Font::drawSimpleText):
3237 (WebCore::Font::drawGlyphBuffer):
3238 * platform/graphics/FontGlyphs.h:
3239 * platform/graphics/FontPlatformData.cpp:
3240 (WebCore::FontPlatformData::FontPlatformData):
3241 * platform/graphics/FontPlatformData.h:
3242 (WebCore::FontPlatformData::font):
3243 (WebCore::FontPlatformData::roundsGlyphAdvances):
3244 (WebCore::FontPlatformData::hash):
3245 (WebCore::FontPlatformData::hashTableDeletedFontValue):
3246 * platform/graphics/GlyphPageTreeNode.cpp:
3247 (WebCore::GlyphPageTreeNode::initializePage):
3248 * platform/graphics/GraphicsContext.cpp:
3249 (WebCore::GraphicsContext::GraphicsContext):
3250 (WebCore::GraphicsContext::drawRaisedEllipse):
3251 (WebCore::GraphicsContext::drawText):
3252 (WebCore::GraphicsContext::drawBidiText):
3253 (WebCore::GraphicsContext::clipRoundedRect):
3254 (WebCore::GraphicsContext::emojiDrawingEnabled):
3255 (WebCore::GraphicsContext::setEmojiDrawingEnabled):
3256 * platform/graphics/GraphicsContext.h:
3257 (WebCore::GraphicsContextState::GraphicsContextState):
3258 * platform/graphics/GraphicsContext3D.h:
3259 * platform/graphics/GraphicsLayer.cpp:
3260 (WebCore::GraphicsLayer::willBeDestroyed):
3261 * platform/graphics/GraphicsLayer.h:
3262 (WebCore::GraphicsLayer::contentsLayerForMedia):
3263 (WebCore::GraphicsLayer::pixelAlignmentOffset):
3264 (WebCore::GraphicsLayer::hasFlattenedPerspectiveTransform):
3265 * platform/graphics/Icon.h:
3266 * platform/graphics/Image.cpp:
3267 (WebCore::Image::drawTiled):
3268 * platform/graphics/ImageSource.h:
3269 (WebCore::ImageSource::isSubsampled):
3270 * platform/graphics/IntPoint.h:
3271 * platform/graphics/IntRect.h:
3272 * platform/graphics/IntSize.h:
3273 * platform/graphics/MediaPlayer.cpp:
3274 (WebCore::installedMediaEngines):
3275 (WebCore::MediaPlayer::isCurrentPlaybackTargetWireless):
3276 (WebCore::MediaPlayer::showPlaybackTargetPicker):
3277 (WebCore::MediaPlayer::hasWirelessPlaybackTargets):
3278 (WebCore::MediaPlayer::wirelessVideoPlaybackDisabled):
3279 (WebCore::MediaPlayer::setWirelessVideoPlaybackDisabled):
3280 (WebCore::MediaPlayer::setHasPlaybackTargetAvailabilityListeners):
3281 (WebCore::MediaPlayer::currentPlaybackTargetIsWirelessChanged):
3282 (WebCore::MediaPlayer::playbackTargetAvailabilityChanged):
3283 (WebCore::MediaPlayer::attributeChanged):
3284 (WebCore::MediaPlayer::readyForPlayback):
3285 (WebCore::MediaPlayer::volumeChanged):
3286 * platform/graphics/MediaPlayer.h:
3287 (WebCore::MediaPlayerClient::mediaPlayerCurrentPlaybackTargetIsWirelessChanged):
3288 (WebCore::MediaPlayerClient::mediaPlayerPlaybackTargetAvailabilityChanged):
3289 * platform/graphics/MediaPlayerPrivate.h:
3290 (WebCore::MediaPlayerPrivateInterface::volume):
3291 (WebCore::MediaPlayerPrivateInterface::isCurrentPlaybackTargetWireless):
3292 (WebCore::MediaPlayerPrivateInterface::showPlaybackTargetPicker):
3293 (WebCore::MediaPlayerPrivateInterface::hasWirelessPlaybackTargets):
3294 (WebCore::MediaPlayerPrivateInterface::wirelessVideoPlaybackDisabled):
3295 (WebCore::MediaPlayerPrivateInterface::setWirelessVideoPlaybackDisabled):
3296 (WebCore::MediaPlayerPrivateInterface::setHasPlaybackTargetAvailabilityListeners):
3297 (WebCore::MediaPlayerPrivateInterface::attributeChanged):
3298 (WebCore::MediaPlayerPrivateInterface::readyForPlayback):
3299 * platform/graphics/SimpleFontData.cpp:
3300 (WebCore::SimpleFontData::SimpleFontData):
3301 * platform/graphics/SimpleFontData.h:
3302 * platform/graphics/StringTruncator.cpp:
3303 (WebCore::centerTruncateToBuffer):
3304 (WebCore::rightTruncateToBuffer):
3305 (WebCore::rightClipToCharacterBuffer):
3306 (WebCore::rightClipToWordBuffer):
3307 (WebCore::leftTruncateToBuffer):
3308 (WebCore::truncateString):
3309 (WebCore::StringTruncator::centerTruncate):
3310 (WebCore::StringTruncator::rightTruncate):
3311 (WebCore::StringTruncator::leftTruncate):
3312 (WebCore::StringTruncator::rightClipToCharacter):
3313 (WebCore::StringTruncator::rightClipToWord):
3314 * platform/graphics/StringTruncator.h:
3315 * platform/graphics/TextTrackRepresentation.cpp:
3316 * platform/graphics/WidthIterator.h:
3317 (WebCore::WidthIterator::supportsTypesettingFeatures):
3318 * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm:
3319 (WebCore::AVTrackPrivateAVFObjCImpl::label):
3320 * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
3321 (WebCore::MediaPlayerPrivateAVFoundationObjC::platformMaxTimeLoaded):
3322 (WebCore::wkAVAssetResolvedURL):
3323 * platform/graphics/blackberry/FontBlackBerry.cpp:
3324 (WebCore::Font::drawComplexText):
3325 * platform/graphics/ca/GraphicsLayerCA.cpp:
3326 (WebCore::supportsAcceleratedFilterAnimations):
3327 (WebCore::GraphicsLayerCA::setContentsToImage):
3328 (WebCore::GraphicsLayerCA::contentsLayerForMedia):
3329 (WebCore::GraphicsLayerCA::computeVisibleRect):
3330 (WebCore::GraphicsLayerCA::updateGeometry):
3331 (WebCore::GraphicsLayerCA::ensureStructuralLayer):
3332 (WebCore::GraphicsLayerCA::updateContentsRects):
3333 (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes):
3334 (WebCore::GraphicsLayerCA::setupContentsLayer):
3335 (WebCore::GraphicsLayerCA::mediaLayerMustBeUpdatedOnMainThread):
3336 (WebCore::GraphicsLayerCA::computePixelAlignment):
3337 * platform/graphics/ca/GraphicsLayerCA.h:
3338 * platform/graphics/ca/PlatformCAFilters.h:
3339 * platform/graphics/ca/PlatformCALayer.h:
3340 * platform/graphics/ca/mac/LayerFlushSchedulerMac.cpp:
3341 (WebCore::currentRunLoop):
3342 (WebCore::LayerFlushScheduler::schedule):
3343 * platform/graphics/ca/mac/PlatformCALayerMac.mm:
3344 (-[WebAnimationDelegate animationDidStart:]):
3345 (PlatformCALayerMac::setContentsScale):
3346 (PlatformCALayer::isWebLayer):
3347 (PlatformCALayer::setBoundsOnMainThread):
3348 (PlatformCALayer::setPositionOnMainThread):
3349 (PlatformCALayer::setAnchorPointOnMainThread):
3350 (PlatformCALayer::setTileSize):
3351 * platform/graphics/ca/mac/TileController.mm:
3352 (WebCore::TileController::platformCALayerPaintContents):
3353 (WebCore::TileController::removeAllTiles):
3354 (WebCore::TileController::removeAllSecondaryTiles):
3355 (WebCore::TileController::removeTilesInCohort):
3356 (WebCore::TileController::revalidateTiles):
3357 (WebCore::TileController::createTileLayer):
3358 * platform/graphics/cairo/FontCairoHarfbuzzNG.cpp:
3359 (WebCore::Font::drawComplexText):
3360 * platform/graphics/cg/BitmapImageCG.cpp:
3361 (WebCore::FrameData::clear):
3362 (WebCore::BitmapImage::BitmapImage):
3363 (WebCore::BitmapImage::checkForSolidColor):
3364 (WebCore::BitmapImage::draw):
3365 (WebCore::BitmapImage::copyUnscaledFrameAtIndex):
3366 * platform/graphics/cg/ColorCG.cpp:
3367 (WebCore::createCGColorWithDeviceWhite):
3368 (WebCore::createCGColorWithDeviceRGBA):
3369 (WebCore::Color::Color):
3370 * platform/graphics/cg/FloatPointCG.cpp:
3371 * platform/graphics/cg/FloatRectCG.cpp:
3372 * platform/graphics/cg/FloatSizeCG.cpp:
3373 * platform/graphics/cg/GradientCG.cpp:
3374 * platform/graphics/cg/GraphicsContextCG.cpp:
3375 (WebCore::sRGBColorSpaceRef):
3376 (WebCore::setStrokeAndFillColor):
3377 (WebCore::GraphicsContext::platformInit):
3378 * platform/graphics/cg/ImageBufferCG.cpp:
3379 (WebCore::createIOSurface):
3380 (WebCore::ImageBuffer::ImageBuffer):
3381 (WebCore::ImageBuffer::draw):
3383 (WebCore::utiFromMIMEType):
3384 * platform/graphics/cg/ImageBufferDataCG.cpp:
3385 (WebCore::ImageBufferData::getData):
3386 (WebCore::ImageBufferData::putData):
3387 * platform/graphics/cg/ImageBufferDataCG.h:
3388 * platform/graphics/cg/ImageCG.cpp:
3389 (WebCore::drawPatternCallback):
3390 (WebCore::Image::drawPattern):
3391 * platform/graphics/cg/ImageSourceCG.cpp:
3392 (WebCore::ImageSource::ImageSource):
3393 (WebCore::imageSourceOptions):
3394 (WebCore::ImageSource::imageSourceOptions):
3395 (WebCore::ImageSource::frameSizeAtIndex):
3396 (WebCore::ImageSource::originalSize):
3397 (WebCore::ImageSource::createFrameAtIndex):
3398 * platform/graphics/cg/ImageSourceCGMac.mm:
3399 * platform/graphics/cg/IntPointCG.cpp:
3400 * platform/graphics/cg/IntRectCG.cpp:
3401 * platform/graphics/cg/IntSizeCG.cpp:
3402 * platform/graphics/cg/PDFDocumentImage.cpp:
3403 * platform/graphics/cg/PathCG.cpp:
3404 * platform/graphics/cg/PatternCG.cpp:
3405 * platform/graphics/cocoa/FontPlatformDataCocoa.mm:
3406 (WebCore::FontPlatformData::FontPlatformData):
3407 (WebCore::FontPlatformData::~FontPlatformData):
3408 (WebCore::FontPlatformData::platformDataInit):
3409 (WebCore::FontPlatformData::platformDataAssign):
3410 (WebCore::FontPlatformData::platformIsEqual):
3411 (WebCore::FontPlatformData::setFont):
3412 (WebCore::FontPlatformData::allowsLigatures):
3413 (WebCore::FontPlatformData::ctFont):
3414 * platform/graphics/ios/DisplayRefreshMonitorIOS.mm: Added.
3415 (WebCore::DisplayRefreshMonitor::~DisplayRefreshMonitor):
3416 (WebCore::DisplayRefreshMonitor::requestRefreshCallback):
3417 (WebCore::DisplayRefreshMonitor::displayLinkFired):
3418 * platform/graphics/ios/FontCacheIOS.mm: Added.
3419 * platform/graphics/ios/FontServicesIOS.h: Added.
3420 * platform/graphics/ios/FontServicesIOS.mm: Added.
3421 (WebCore::FontServicesIOS::FontServicesIOS):
3422 * platform/graphics/ios/GraphicsContext3DIOS.h: Added.
3423 * platform/graphics/ios/IconIOS.mm: Copied from Source/WebCore/platform/mac/DisplaySleepDisabler.cpp.
3424 * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.h: Copied from Source/WebCore/platform/graphics/cg/ImageBufferDataCG.h.
3425 (WebCore::InbandTextTrackPrivateAVFIOS::create):
3426 (WebCore::InbandTextTrackPrivateAVFIOS::internalID):
3427 * platform/graphics/ios/InbandTextTrackPrivateAVFIOS.mm: Copied from Source/WebCore/platform/graphics/mac/IntRectMac.mm.
3428 (WebCore::InbandTextTrackPrivateAVFIOS::InbandTextTrackPrivateAVFIOS):
3429 (WebCore::InbandTextTrackPrivateAVFIOS::~InbandTextTrackPrivateAVFIOS):
3430 (WebCore::InbandTextTrackPrivateAVFIOS::kind):
3431 * platform/graphics/ios/MediaPlayerPrivateIOS.h: Added.
3432 * platform/graphics/ios/MediaPlayerPrivateIOS.mm: Added.
3433 * platform/graphics/ios/SimpleFontDataIOS.mm: Added.
3434 (WebCore::fontFamilyShouldNotBeUsedForArabic):
3435 (WebCore::fontHasVerticalGlyphs):
3436 (WebCore::SimpleFontData::platformInit):
3437 (WebCore::SimpleFontData::platformCharWidthInit):
3438 (WebCore::SimpleFontData::platformCreateScaledFontData):
3439 (WebCore::SimpleFontData::containsCharacters):
3440 (WebCore::SimpleFontData::determinePitch):
3441 (WebCore::SimpleFontData::platformWidthForGlyph):
3442 * platform/graphics/ios/TextTrackRepresentationIOS.h: Copied from Source/WebCore/platform/graphics/TextTrackRepresentation.cpp.
3443 * platform/graphics/ios/TextTrackRepresentationIOS.mm: Added.
3444 * platform/graphics/mac/ColorMac.h:
3445 * platform/graphics/mac/ComplexTextController.cpp:
3446 (WebCore::ComplexTextController::adjustGlyphsAndAdvances):
3447 * platform/graphics/mac/ComplexTextControllerCoreText.mm:
3448 (WebCore::ComplexTextController::collectComplexTextRunsForCharacters):
3449 * platform/graphics/mac/FloatPointMac.mm:
3450 * platform/graphics/mac/FloatRectMac.mm:
3451 * platform/graphics/mac/FloatSizeMac.mm:
3452 * platform/graphics/mac/FontCacheMac.mm:
3453 * platform/graphics/mac/FontComplexTextMac.cpp:
3454 (WebCore::Font::drawComplexText):
3455 (WebCore::Font::fontDataForCombiningCharacterSequence):
3456 * platform/graphics/mac/FontCustomPlatformData.cpp:
3457 * platform/graphics/mac/FontMac.mm:
3458 (WebCore::showLetterpressedGlyphsWithAdvances):
3459 (WebCore::Font::drawGlyphs):
3460 * platform/graphics/mac/GlyphPageTreeNodeMac.cpp:
3461 (WebCore::GlyphPage::fill):
3462 * platform/graphics/mac/GraphicsContext3DMac.mm:
3463 (WebCore::GraphicsContext3D::GraphicsContext3D):
3464 (WebCore::GraphicsContext3D::~GraphicsContext3D):
3465 (WebCore::GraphicsContext3D::setRenderbufferStorageFromDrawable):
3466 (WebCore::GraphicsContext3D::makeContextCurrent):
3467 (WebCore::GraphicsContext3D::endPaint):
3468 * platform/graphics/mac/GraphicsContextMac.mm:
3469 (WebCore::GraphicsContext::drawFocusRing):
3470 (WebCore::createDotPattern):
3471 (WebCore::GraphicsContext::drawLineForDocumentMarker):
3472 * platform/graphics/mac/IconMac.mm:
3473 * platform/graphics/mac/ImageMac.mm:
3474 (WebCore::BitmapImage::invalidatePlatformData):
3475 * platform/graphics/mac/IntPointMac.mm:
3476 * platform/graphics/mac/IntRectMac.mm:
3477 * platform/graphics/mac/IntSizeMac.mm:
3478 * platform/graphics/mac/MediaPlayerProxy.h:
3479 * platform/graphics/mac/SimpleFontDataCoreText.cpp: