Source/WebCore: Moved markerTextForListItem from TestRunner to Internals
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2013-03-01  Jason Anderssen  <janderssen@gmail.com>
2
3         Move markerTextForListItem from TestRunner to Internals
4         https://bugs.webkit.org/show_bug.cgi?id=110939
5
6         Reviewed by Benjamin Poulain.
7
8         * DOM/WebDOMOperations.mm:
9         * DOM/WebDOMOperationsPrivate.h:
10
11 2013-02-28  Sam Weinig  <sam@webkit.org>
12
13         Add SPI for marking a WebView as doing things on behalf of another process
14         https://bugs.webkit.org/show_bug.cgi?id=111125
15
16         Reviewed by Alexey Proskuryakov.
17
18         * WebCoreSupport/WebFrameNetworkingContext.h:
19         (WebFrameNetworkingContext):
20         * WebCoreSupport/WebFrameNetworkingContext.mm:
21         (WebFrameNetworkingContext::sourceApplicationAuditData):
22         * WebView/WebView.mm:
23         (-[WebView _setSourceApplicationAuditData:]):
24         (-[WebView _sourceApplicationAuditData]):
25         * WebView/WebViewData.h:
26         * WebView/WebViewData.mm:
27         (-[WebViewPrivate dealloc]):
28         * WebView/WebViewPrivate.h:
29         Add SPI for setting a source application for a WebView.
30
31 2013-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
32
33         Unreviewed, rolling out r144422 and r144424.
34         http://trac.webkit.org/changeset/144422
35         http://trac.webkit.org/changeset/144424
36         https://bugs.webkit.org/show_bug.cgi?id=111167
37
38         Caused over 20 tests to fail assertion on Chromium Win port as
39         ASSERTION FAILED: m_platformRequestUpdated (Requested by
40         toyoshim on #webkit).
41
42         * DOM/WebDOMOperations.mm:
43         * Misc/WebNSPasteboardExtras.mm:
44         * WebCoreSupport/WebFrameNetworkingContext.mm:
45         * WebView/WebRenderLayer.mm:
46         * WebView/WebRenderNode.mm:
47
48 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
49
50         Reduce amount of rebuilding when touching networking headers
51         https://bugs.webkit.org/show_bug.cgi?id=111035
52
53         Reviewed by Eric Seidel.
54
55         Adding includes that are now necessary because WebCore headers don't have them
56         any more.
57
58         * DOM/WebDOMOperations.mm:
59         * Misc/WebNSPasteboardExtras.mm:
60         * WebCoreSupport/WebFrameNetworkingContext.mm:
61         * WebView/WebRenderLayer.mm:
62         * WebView/WebRenderNode.mm:
63
64 2013-02-27  John Bauman  <jbauman@chromium.org>
65
66         Plugin in iframe may not display
67         https://bugs.webkit.org/show_bug.cgi?id=109879
68
69         Reviewed by Simon Fraser.
70
71         Ensure NetscapePluginWidget informs the plugin view of the cliprect change directly.
72
73         * Plugins/WebBaseNetscapePluginView.h:
74         * WebCoreSupport/WebFrameLoaderClient.mm:
75         (NetscapePluginWidget::clipRectChanged):
76
77 2013-02-26  Alexey Proskuryakov  <ap@apple.com>
78
79         Don't add a body to platform request until necessary
80         https://bugs.webkit.org/show_bug.cgi?id=110900
81
82         Reviewed by Brady Eidson.
83
84         WebKit1 behavior is unchanged, body is added on every conversion.
85
86         * WebCoreSupport/WebFrameLoaderClient.mm:
87         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
88         (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
89         (WebFrameLoaderClient::assignIdentifierToInitialRequest):
90         (WebFrameLoaderClient::dispatchWillSendRequest):
91         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
92         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
93         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
94         (WebFrameLoaderClient::updateGlobalHistory):
95         (WebFrameLoaderClient::canHandleRequest):
96         * WebView/WebDataSource.mm:
97         (-[WebDataSource initialRequest]):
98         (-[WebDataSource request]):
99         * WebView/WebFrame.mm:
100         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
101
102 2013-02-27  Glenn Adams  <glenn@skynav.com>
103
104         Add ENABLE_CSS3_TEXT_LINE_BREAK flag.
105         https://bugs.webkit.org/show_bug.cgi?id=110944
106
107         Reviewed by Dean Jackson.
108
109         * Configurations/FeatureDefines.xcconfig:
110
111 2013-02-26  Jer Noble  <jer.noble@apple.com>
112
113         Unreviewed build fix; use correct macro for platform name in FeatureDefines.xcconfig.
114
115         * Configurations/FeatureDefines.xcconfig:
116
117 2013-02-26  Dmitry Zvorygin  <zvorygin@chromium.org>
118
119         Merged Tip and Debug log levels for web console.
120         https://bugs.webkit.org/show_bug.cgi?id=109919
121
122         Reviewed by Pavel Feldman.
123
124         In every component either TIP or DEBUG level was used for reporting,
125         but not both. This patch is prerequisite for Web Inspector console log filtering.
126
127         * WebCoreSupport/WebChromeClient.mm:
128         (stringForMessageLevel):
129         * WebView/WebUIDelegatePrivate.h:
130
131
132 2013-02-21  Jeffrey Pfau  <jpfau@apple.com>
133
134         Optionally partition cache to prevent using cache for tracking
135         https://bugs.webkit.org/show_bug.cgi?id=110269
136
137         Reviewed by Maciej Stachowiak.
138
139         Update WKSI bindings and add feature defines.
140
141         * Configurations/FeatureDefines.xcconfig: Add defines for cache partitioning and public suffix list usage
142         * WebCoreSupport/WebSystemInterface.mm:
143         (InitWebCoreSystemInterface):
144
145 2013-02-25  Jer Noble  <jer.noble@apple.com>
146
147         Normalize ENABLE_ENCRYPTED_MEDIA definitions across all FeatureDefines files.
148         https://bugs.webkit.org/show_bug.cgi?id=110806
149
150         Reviewed by Alexey Proskuryakov.
151     
152         Ensure both ENCRYPTED_MEDIA and ENCRYPTED_MEDIA_V2 are enabled on macosx_1090.
153
154         * Configurations/FeatureDefines.xcconfig:
155
156 2013-02-25  Andreas Kling  <akling@apple.com>
157
158         Reduce amount of code that includes StylePropertySet.h
159         <http://webkit.org/b/101149>
160
161         Reviewed by Antti Koivisto.
162
163         * WebCoreSupport/WebEditorClient.mm:
164         * WebView/WebFrame.mm:
165         * WebView/WebView.mm:
166
167 2013-02-24  Andreas Kling  <akling@apple.com>
168
169         Reduce include graph of JSDOMBinding.h
170         <http://webkit.org/b/110709>
171
172         Reviewed by Antti Koivisto.
173
174         * WebView/WebHTMLView.mm:
175
176 2013-02-21  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
177
178         Allow to retrieve the request data from abstract TextCheckingRequest to be accessible for WK2
179         https://bugs.webkit.org/show_bug.cgi?id=110208
180
181         Reviewed by Hajime Morrita.
182
183         * WebCoreSupport/WebEditorClient.mm:
184         (WebEditorClient::didCheckSucceed):
185         (WebEditorClient::requestCheckingOfString):
186         Extract the request data as it is the member of 'TextCheckingRequest'.
187
188 2013-02-19  Mark Hahnenberg  <mhahnenberg@apple.com>
189
190         Objective-C API: Need a way to use the Objective-C JavaScript API with WebKit
191         https://bugs.webkit.org/show_bug.cgi?id=106059
192
193         Reviewed by Geoffrey Garen.
194
195         Addition of appropriate delegate callbacks and support to the WebKit API.
196
197         * WebCoreSupport/WebFrameLoaderClient.mm:
198         * WebView/WebDelegateImplementationCaching.h:
199         (WebFrameLoadDelegateImplementationCache):
200         * WebView/WebFrame.h:
201         * WebView/WebFrame.mm:
202         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
203         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
204         (-[WebFrame _javaScriptContextForScriptWorld:]):
205         (-[WebFrame javaScriptContext]):
206         * WebView/WebFrameLoadDelegate.h:
207         * WebView/WebFramePrivate.h:
208         * WebView/WebScriptDebugDelegate.mm:
209         (-[WebScriptCallFrame _convertValueToObjcValue:JSC::]):
210         (-[WebScriptCallFrame exception]):
211         (-[WebScriptCallFrame evaluateWebScript:]):
212         * WebView/WebScriptWorld.h:
213         * WebView/WebScriptWorld.mm:
214         (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
215         * WebView/WebView.mm:
216         (-[WebView _cacheFrameLoadDelegateImplementations]):
217         (aeDescFromJSValue):
218         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
219         (-[WebView _computedStyleIncludingVisitedInfo:forElement:]):
220
221 2013-02-20  Dirk Schulze  <krit@webkit.org>
222
223         Enable CANVAS_PATH flag
224         https://bugs.webkit.org/show_bug.cgi?id=108508
225
226         Reviewed by Simon Fraser.
227
228         Enable CANVAS_PATH flag on trunk.
229
230         * Configurations/FeatureDefines.xcconfig:
231
232 2013-02-19  Tim Horton  <timothy_horton@apple.com>
233
234         Clarify isInWindow vs. isVisible path through to RenderLayerCompositor
235         https://bugs.webkit.org/show_bug.cgi?id=110261
236         <rdar://problem/13196122>
237
238         Reviewed by Simon Fraser.
239
240         * WebView/WebView.mm:
241         (-[WebView viewWillMoveToWindow:]):
242         (-[WebView viewDidMoveToWindow]):
243         Use Page::setIsInWindow in addition to willMoveOffscreen/didMoveOnscreen.
244
245 2013-02-18  Anders Carlsson  <andersca@apple.com>
246
247         Add a DefaultHash for RefPtr<SecurityOrigin>
248         https://bugs.webkit.org/show_bug.cgi?id=110170
249
250         Reviewed by Andreas Kling.
251
252         Remove all explicit uses of SecurityOriginHash.
253
254         * WebCoreSupport/WebApplicationCache.mm:
255         (+[WebApplicationCache originsWithCache]):
256
257 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
258
259         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
260         https://bugs.webkit.org/show_bug.cgi?id=109996
261
262         Reviewed by Simon Fraser.
263
264         * WebCoreSupport/WebSystemInterface.mm:
265         (InitWebCoreSystemInterface):
266
267 2013-02-15  Sheriff Bot  <webkit.review.bot@gmail.com>
268
269         Unreviewed, rolling out r143088.
270         http://trac.webkit.org/changeset/143088
271         https://bugs.webkit.org/show_bug.cgi?id=110000
272
273         Breaks the build (Requested by dgorbik on #webkit).
274
275         * WebCoreSupport/WebSystemInterface.mm:
276         (InitWebCoreSystemInterface):
277
278 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
279
280         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
281         https://bugs.webkit.org/show_bug.cgi?id=109996
282
283         Reviewed by Simon Fraser.
284
285         * WebCoreSupport/WebSystemInterface.mm:
286         (InitWebCoreSystemInterface):
287
288 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
289
290         Simplify hitTestResultAtPoint and nodesFromRect APIs
291         https://bugs.webkit.org/show_bug.cgi?id=95720
292
293         Reviewed by Julien Chaffraix.
294
295         Update calls to new API.
296
297         * WebCoreSupport/WebFrameLoaderClient.mm:
298         (WebFrameLoaderClient::actionDictionary):
299         * WebView/WebFrame.mm:
300         (-[WebFrame elementAtPoint:]):
301         * WebView/WebHTMLView.mm:
302         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
303
304 2013-02-14  David Kilzer  <ddkilzer@apple.com>
305
306         [Mac] Clean up WARNING_CFLAGS
307         <http://webkit.org/b/109747>
308         <rdar://problem/13208373>
309
310         Reviewed by Mark Rowe.
311
312         * Configurations/Base.xcconfig: Use
313         GCC_WARN_64_TO_32_BIT_CONVERSION to enable and disable
314         -Wshorten-64-to-32 rather than WARNING_CFLAGS.
315
316 2013-02-13  Zan Dobersek  <zdobersek@igalia.com>
317
318         The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
319         https://bugs.webkit.org/show_bug.cgi?id=109325
320
321         Reviewed by Anders Carlsson.
322
323         Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
324         two methods as they're provided by the C++ standard library being used.
325
326         * tests/DecimalTest.cpp:
327         (TEST_F):
328
329 2013-02-12  Joseph Pecoraro  <pecoraro@apple.com>
330
331         [iOS] Enable PAGE_VISIBILITY_API
332         https://bugs.webkit.org/show_bug.cgi?id=109399
333
334         Reviewed by David Kilzer.
335
336         * Configurations/FeatureDefines.xcconfig:
337
338 2013-02-12  David Kilzer  <ddkilzer@apple.com>
339
340         BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
341         <https://bugs.webkit.org/show_bug.cgi?id=109534>
342
343         Fixes the following build failure:
344
345             WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
346             bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
347                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
348
349         * WebCoreSupport/WebEditorClient.mm:
350         (WebEditorClient::shouldShowDeleteInterface): Protect with
351         ENABLE(DELETION_UI) macro.
352
353 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
354
355         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
356         https://bugs.webkit.org/show_bug.cgi?id=109534
357
358         Reviewed by Anders Carlsson.
359
360         * WebCoreSupport/WebEditorClient.h:
361
362 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
363
364         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
365         https://bugs.webkit.org/show_bug.cgi?id=109349
366
367         Reviewed by Sam Weinig.
368
369         * WebView/WebView.mm:
370         * WebView/WebViewPrivate.h:
371
372 2013-02-10  Dan Bernstein  <mitz@apple.com>
373
374         Added *.pdf to EXCLUDED_SOURCE_FILE_NAMES_iphoneos.
375
376         Rubber-stamped by Anders Carlsson.
377
378         * Configurations/WebKit.xcconfig:
379
380 2013-02-10  Jae Hyun Park  <jae.park08@gmail.com>
381
382         Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
383         https://bugs.webkit.org/show_bug.cgi?id=104266
384
385         Reviewed by Philippe Normand.
386
387         Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
388         the existing macro naming conventions.
389
390         From Platform.h
391         USE() - use a particular third-party library or optional OS service
392         ENABLE() - turn on a specific feature of WebKit
393
394         * WebView/WebView.mm:
395         (-[WebView _commonInitializationWithFrameName:groupName:]):
396         (-[WebView _close]):
397         * WebView/WebViewData.h:
398         * WebView/WebViewInternal.h:
399
400 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
401
402         Move workerThreadCount from TestRunner to WebCore Internals
403         https://bugs.webkit.org/show_bug.cgi?id=109239
404
405         Reviewed by Darin Adler.
406
407         Get rid of WebWorkersPrivate, which was only needed for DRT.
408
409         * WebKit.exp:
410         * Workers/WebWorkersPrivate.h: Removed.
411         * Workers/WebWorkersPrivate.mm: Removed.
412
413 2013-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
414
415         Unreviewed, rolling out r142212.
416         http://trac.webkit.org/changeset/142212
417         https://bugs.webkit.org/show_bug.cgi?id=109255
418
419         Causes ASSERT(!m_installed) on launch (Requested by smfr on
420         #webkit).
421
422         * WebView/WebView.mm:
423         (-[WebView _commonInitializationWithFrameName:groupName:]):
424         (WebInstallMemoryPressureHandler):
425
426 2013-02-06  Gavin Barraclough  <barraclough@apple.com>
427
428         PluginProcess should quit immediately if idle in response to low-memory notifications
429         https://bugs.webkit.org/show_bug.cgi?id=109103
430         <rdar://problem/12679827>
431
432         Reviewed by Darin Adler.
433
434         * WebView/WebView.mm:
435         (-[WebView _commonInitializationWithFrameName:groupName:]):
436             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
437         (WebInstallMemoryPressureHandler):
438             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
439
440 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
441
442         Move pauseAnimation/pauseTransition from TestRunner to Internals
443         https://bugs.webkit.org/show_bug.cgi?id=109107
444
445         Reviewed by Anders Carlsson.
446
447         * WebView/WebFrame.mm:
448         * WebView/WebFramePrivate.h:
449
450 2013-02-06  Mike West  <mkwst@chromium.org>
451
452         Add an ENABLE_NOSNIFF feature flag.
453         https://bugs.webkit.org/show_bug.cgi?id=109029
454
455         Reviewed by Jochen Eisinger.
456
457         This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
458         when processing script and other resource types.
459
460         * Configurations/FeatureDefines.xcconfig:
461
462 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
463
464         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
465         https://bugs.webkit.org/show_bug.cgi?id=108741
466
467         Reviewed by Tony Chang.
468
469         * WebView/WebFrame.mm:
470         * WebView/WebFramePrivate.h:
471
472 2013-02-04  Enrica Casucci  <enrica@apple.com>
473
474         Add specific EditActions for Bold and Italic commands.
475         https://bugs.webkit.org/show_bug.cgi?id=108842.
476         <rdar://problem/13098252>
477
478         Reviewed by Ryosuke Niwa.
479
480         * WebCoreSupport/WebEditorClient.mm:
481         (undoNameForEditAction):
482
483 2013-02-03  David Kilzer  <ddkilzer@apple.com>
484
485         Upstream ENABLE_PDFKIT_PLUGIN settting
486         <http://webkit.org/b/108792>
487
488         Reviewed by Tim Horton.
489
490         * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
491         on iOS since PDFKit is a Mac-only framework.
492
493 2013-02-02  David Kilzer  <ddkilzer@apple.com>
494
495         Upstream iOS FeatureDefines
496         <http://webkit.org/b/108753>
497
498         Reviewed by Anders Carlsson.
499
500         * Configurations/FeatureDefines.xcconfig:
501         - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
502         - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
503         - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO.  Add
504           PLATFORM_NAME variant to reduce future merge conflicts. 
505
506 2013-02-01  Alexis Menard  <alexis@webkit.org>
507
508         Enable unprefixed CSS transitions by default.
509         https://bugs.webkit.org/show_bug.cgi?id=108216
510
511         Reviewed by Dean Jackson.
512
513         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
514         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
515         guard the unprefixing work for CSS Transforms and animations.
516
517         * Configurations/FeatureDefines.xcconfig:
518
519 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
520
521         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
522         https://bugs.webkit.org/show_bug.cgi?id=107737
523
524         Reviewed by Ryosuke Niwa.
525
526         * WebView/WebHTMLView.mm:
527         (-[WebHTMLView _updateSelectionForInputManager]):
528
529 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
530
531         Unreviewed, rolling out r141479.
532         http://trac.webkit.org/changeset/141479
533         https://bugs.webkit.org/show_bug.cgi?id=108564
534
535         breaks chromium test (Requested by morrita on #webkit).
536
537         * WebView/WebHTMLView.mm:
538         (-[WebHTMLView _updateSelectionForInputManager]):
539
540 2013-01-31  Enrica Casucci  <enrica@apple.com>
541
542         Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
543         https://bugs.webkit.org/show_bug.cgi?id=108519.
544
545         Reviewed by Sam Weinig.
546
547         There is no need to use AppKit types here.
548         baseWritingDirectionForSelectionStart now returns WritingDirection and
549         WebHTMLView toggleWritingDirection has been modified accordingly.
550
551         * WebView/WebHTMLView.mm:
552         (-[WebHTMLView toggleBaseWritingDirection:]):
553
554 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
555
556         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
557         https://bugs.webkit.org/show_bug.cgi?id=107737
558
559         Reviewed by Ryosuke Niwa.
560
561         * WebView/WebHTMLView.mm:
562         (-[WebHTMLView _updateSelectionForInputManager]):
563
564 2013-01-31  Joseph Pecoraro  <pecoraro@apple.com>
565
566         Disable ENABLE_FULLSCREEN_API on iOS
567         https://bugs.webkit.org/show_bug.cgi?id=108250
568
569         Reviewed by Benjamin Poulain.
570
571         * Configurations/FeatureDefines.xcconfig:
572
573 2013-01-31  Enrica Casucci  <enrica@apple.com>
574
575         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
576         https://bugs.webkit.org/show_bug.cgi?id=108396.
577         <rdar://problem/12920461>
578
579         Reviewed by Alexey Proskuryakov.
580
581         Adds stub implementation for WebKit of the new EditorClient methods.
582
583         * WebCoreSupport/WebEditorClient.h:
584         * WebCoreSupport/WebEditorClient.mm:
585         (WebEditorClient::willWriteSelectionToPasteboard):
586         (WebEditorClient::getClientPasteboardDataForRange):
587
588 2013-01-31  Brady Eidson  <beidson@apple.com>
589
590         Lack of a log level string should not obliterate compiled in logging channel state.
591         https://bugs.webkit.org/show_bug.cgi?id=108502
592
593         Reviewed by Alexey Proskuryakov and Sam Weinig.
594
595         * Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.
596
597 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
598
599         Unreviewed, rolling out r140983.
600         http://trac.webkit.org/changeset/140983
601         https://bugs.webkit.org/show_bug.cgi?id=108277
602
603         Unfortunately, this API has one last client (Requested by
604         abarth on #webkit).
605
606         * Configurations/FeatureDefines.xcconfig:
607
608 2012-11-28  Jer Noble  <jer.noble@apple.com>
609
610         Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
611         https://bugs.webkit.org/show_bug.cgi?id=103558
612         <rdar://problem/12763112>
613
614         Reviewed by Benjamin Poulain.
615
616         Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
617         view when in full screen mode.  Add a simple accessor for the existing placeholder view to
618         WebFullScreenController and WebView.
619
620         * WebView/WebFullScreenController.h:
621         * WebView/WebFullScreenController.mm:
622         (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
623         * WebView/WebView.mm:
624         (-[WebView fullScreenPlaceholderView]): Added simple accessor.
625
626 2013-01-28  Pratik Solanki  <psolanki@apple.com>
627
628         PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
629         https://bugs.webkit.org/show_bug.cgi?id=108101
630
631         Reviewed by Benjamin Poulain.
632
633         Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
634         __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
635
636         * WebCoreSupport/WebSystemInterface.mm:
637         (InitWebCoreSystemInterface):
638
639 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
640
641         [Mac] Update PageVisibilityState when WebView is hidden / visible
642         https://bugs.webkit.org/show_bug.cgi?id=107509
643
644         Reviewed by Sam Weinig.
645
646         * WebView/WebView.mm:
647         * WebView/WebViewPrivate.h:
648         (-[WebView _commonInitializationWithFrameName:groupName:]):
649         Set the initial visibility of the page.
650
651         (-[WebView addWindowObserversForWindow:]):
652         (-[WebView removeWindowObservers]):
653         (-[WebView _isViewVisible]):
654         (-[WebView _updateVisibilityState]):
655         (-[WebView viewDidMoveToWindow]):
656         (-[WebView _windowVisibilityChanged:]):
657         Update visibility state in the same ways WK2 does. This involves
658         listening for some new NSWindow delegates.
659
660 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
661
662         Improve PageVisibility API with enums
663         https://bugs.webkit.org/show_bug.cgi?id=107364
664
665         Reviewed by Sam Weinig.
666
667         * WebView/WebView.mm:
668         * WebView/WebViewPrivate.h:
669         (core):
670         (-[WebView _setVisibilityState:isInitialState:]):
671         Switch the private API form int to a WebPageVisibilityState enum.
672
673 2013-01-28  Adam Barth  <abarth@webkit.org>
674
675         Remove webkitNotifications.createHTMLNotification
676         https://bugs.webkit.org/show_bug.cgi?id=107598
677
678         Reviewed by Benjamin Poulain.
679
680         * Configurations/FeatureDefines.xcconfig:
681
682 2013-01-25  Andy Estes  <aestes@apple.com>
683
684         Wrap content filtering code in an object
685         https://bugs.webkit.org/show_bug.cgi?id=107914
686
687         Reviewed by Alexey Proskuryakov.
688
689         * WebCoreSupport/WebSystemInterface.mm:
690         (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
691
692 2013-01-24  Dan Bernstein  <mitz@apple.com>
693
694         WebNavigationData does not distinguish between an empty title and a missing title
695         https://bugs.webkit.org/show_bug.cgi?id=107917
696
697         Reviewed by Andy Estes.
698
699         * WebCoreSupport/WebFrameLoaderClient.mm:
700         (nilOrNSString): Added this helper function.
701         (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
702         title, rather than the empty string, if the document does not have a title.
703
704 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
705
706         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
707         https://bugs.webkit.org/show_bug.cgi?id=107327
708
709         Reviewed by Filip Pizlo.
710
711         We're renaming these two files, so we have to replace the names everywhere.
712
713         * DOM/WebDOMOperations.mm:
714         * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
715         * ForwardingHeaders/runtime/JSValue.h: Removed.
716         * WebView/WebFrame.mm:
717         * WebView/WebView.mm:
718
719 2013-01-22  Anders Carlsson  <andersca@apple.com>
720
721         Use a platforom strategy for local storage
722         https://bugs.webkit.org/show_bug.cgi?id=107600
723
724         Reviewed by Andreas Kling.
725
726         Update for new storage strategy.
727
728         * WebCoreSupport/WebPlatformStrategies.h:
729         (WebPlatformStrategies):
730         * WebCoreSupport/WebPlatformStrategies.mm:
731         (WebPlatformStrategies::createStorageStrategy):
732
733 2013-01-21  Kentaro Hara  <haraken@chromium.org>
734
735         Implement UIEvent constructor
736         https://bugs.webkit.org/show_bug.cgi?id=107430
737
738         Reviewed by Adam Barth.
739
740         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
741
742         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
743         which is enabled on Safari and Chromium for now.
744
745         * Configurations/FeatureDefines.xcconfig:
746
747 2013-01-22  Joseph Pecoraro  <pecoraro@apple.com>
748
749         [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
750         https://bugs.webkit.org/show_bug.cgi?id=107230
751
752         Reviewed by David Kilzer.
753
754         * Configurations/FeatureDefines.xcconfig:
755
756 2013-01-22  Tim Horton  <timothy_horton@apple.com>
757
758         PDFPlugin: Build PDFPlugin everywhere, enable at runtime
759         https://bugs.webkit.org/show_bug.cgi?id=107117
760
761         Reviewed by Alexey Proskuryakov.
762
763         Since PDFLayerController SPI is all forward-declared, the plugin should build
764         on all Mac platforms, and can be enabled at runtime.
765
766         * Configurations/FeatureDefines.xcconfig:
767
768 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
769
770         Add build flag for Canvas's Path object (disabled by default)
771         https://bugs.webkit.org/show_bug.cgi?id=107473
772
773         Reviewed by Dean Jackson.
774
775         * Configurations/FeatureDefines.xcconfig:
776
777 2013-01-17  Andy Estes  <aestes@apple.com>
778
779         Add a USE() macro for content filtering code
780         https://bugs.webkit.org/show_bug.cgi?id=107098
781
782         Reviewed by Mark Rowe.
783
784         * WebCoreSupport/WebSystemInterface.mm:
785         (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
786
787 2013-01-19  Philip Rogers  <pdr@google.com>
788
789         Merge SVGStylable into SVGStyledElement
790         https://bugs.webkit.org/show_bug.cgi?id=106877
791
792         SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
793         cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
794
795         Reviewed by Dirk Schulze.
796
797         * MigrateHeaders.make:
798
799 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
800
801         Add explicit keyword to constructors in platform-specific InspectorClient
802         https://bugs.webkit.org/show_bug.cgi?id=107255
803
804         Reviewed by Kentaro Hara.
805
806         Add explicit keyword to constructors that take one argument
807         in platform-specific implementation of InspectorClient.
808
809         * WebCoreSupport/WebInspectorClient.h:
810         (WebInspectorClient):
811
812 2013-01-15  Jer Noble  <jer.noble@apple.com>
813
814         Add a Setting to disable QTKit media engine.
815         https://bugs.webkit.org/show_bug.cgi?id=106972
816
817         Reviewed by Eric Carlson.
818
819         Add WebKit API to set QTKit enabled setting from user defaults.
820
821         * WebView/WebPreferenceKeysPrivate.h:
822         * WebView/WebPreferences.mm:
823         (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
824         (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
825         (-[WebPreferences isQTKitEnabled]): Ditto.
826         * WebView/WebPreferencesPrivate.h:
827         * WebView/WebView.mm:
828         (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
829
830 2013-01-15  Enrica Casucci  <enrica@apple.com>
831
832         Add a new set of WebKit2 APIs for text search and
833         search results management.
834         https://bugs.webkit.org/show_bug.cgi?id=106834.
835         <rdar://problem/12597159>
836
837         Reviewed by Simon Fraser.
838         
839         Adding new API to perform text search in WebKit2 without using
840         the stock UI. The new interface provides all the information
841         necessary to write a custom UI for search.
842
843         Added new TextWebKitAPI test.
844
845         * WebView/WebHTMLView.mm:
846         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
847         Modified to reflect the changes to Editor::countMatchesForText interface.
848
849 2013-01-10  Zan Dobersek  <zandobersek@gmail.com>
850
851         Remove the ENABLE_ANIMATION_API feature define occurences
852         https://bugs.webkit.org/show_bug.cgi?id=106544
853
854         Reviewed by Simon Fraser.
855
856         The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
857         feature define handling still lingers in various build systems and configurations
858         but is of no use, so it should be removed.
859
860         * Configurations/FeatureDefines.xcconfig:
861
862 2013-01-08  Mark Lam  <mark.lam@apple.com>
863
864         Removed the need for the ProposedDatabase mechanism.
865         https://bugs.webkit.org/show_bug.cgi?id=106292.
866
867         Reviewed by Sam Weinig.
868
869         * WebCoreSupport/WebChromeClient.h:
870         * WebCoreSupport/WebChromeClient.mm:
871         (WebChromeClient::exceededDatabaseQuota):
872
873 2013-01-07  Dan Bernstein  <mitz@apple.com>
874
875         [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
876         https://bugs.webkit.org/show_bug.cgi?id=106261
877
878         Reviewed by Simon Fraser.
879
880         Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
881
882         Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
883
884         * WebCoreSupport/WebFrameLoaderClient.mm:
885         (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
886         method.
887         * WebView/WebDelegateImplementationCaching.h:
888         (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
889         * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
890         * WebView/WebView.mm:
891         (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
892
893 2013-01-07  Mike West  <mkwst@chromium.org>
894
895         Make the IFRAME_SEAMLESS flag runtime-enabled.
896         https://bugs.webkit.org/show_bug.cgi?id=106213
897
898         Reviewed by Ojan Vafai.
899
900         * WebView/WebPreferenceKeysPrivate.h:
901         * WebView/WebPreferences.mm:
902         (-[WebPreferences seamlessIFramesEnabled]):
903         (-[WebPreferences setSeamlessIFramesEnabled:]):
904         * WebView/WebPreferencesPrivate.h:
905         * WebView/WebView.mm:
906         (-[WebView _preferencesChanged:]):
907             Add a seamless IFrame preference to WebPreferences, and use it to
908             toggle the runtime state of the feature as appropriate.
909
910 2013-01-04  Adam Klein  <adamk@chromium.org>
911
912         Remove ENABLE_MUTATION_OBSERVERS #define
913         https://bugs.webkit.org/show_bug.cgi?id=105459
914
915         Reviewed by Ryosuke Niwa.
916
917         * Configurations/FeatureDefines.xcconfig:
918
919 2013-01-01  Dan Bernstein  <mitz@apple.com>
920
921         <rdar://problem/12942239> Update copyright strings
922
923         Reviewed by Sam Weinig.
924
925         * Info.plist:
926
927 2012-12-29  Adam Roben  <aroben@webkit.org>
928
929         Web Inspector: Mac WK1 Inspector can't save/load timeline data
930         https://bugs.webkit.org/show_bug.cgi?id=105547
931
932         Reviewed by Pavel Feldman.
933
934         * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
935         member variables necessary for save support.
936
937         * WebCoreSupport/WebInspectorClient.mm:
938         (WebInspectorFrontendClient::save):
939         (WebInspectorFrontendClient::append):
940         Implemented these to make saving timeline data work. (It seems to me
941         the InspectorFrontendClient API could be cleaned up a bit. I had to
942         look at Chromium source code to determine that I needed to call back
943         into the InspectorFrontendAPI JS object after saving/appending, and
944         that I needed to keep a map of passed URLs -> chosen URLs.)
945
946         (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
947         Tweaked the position of the sheet so that open/save sheets look a
948         little bette.r
949
950         (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
951         Implemented to make loading timeline data work.
952
953 2012-12-28  Mark Rowe  <mrowe@apple.com>
954
955         Move logic for extracting the OS X marketing version in to WebCore
956         <http://webkit.org/b/105841> / <rdar://problem/10736041>
957
958         Reviewed by Dan Bernstein.
959
960         * WebCoreSupport/WebSystemInterface.mm:
961         (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
962         * WebView/WebView.mm:
963         (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
964         (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
965         do that for us.
966
967 2012-12-27  Sam Weinig  <sam@webkit.org>
968
969         Attempt to fix the tests.
970
971         * WebView/WebPreferences.mm:
972         (+[WebPreferences initialize]):
973
974 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
975
976         <rdar://problem/12808377> Network process should respect cookie accept policy
977         https://bugs.webkit.org/show_bug.cgi?id=105684
978
979         Reviewed by Sam Weinig.
980
981         * WebCoreSupport/WebPlatformStrategies.h:
982         * WebCoreSupport/WebPlatformStrategies.mm:
983         CookiesStrategy no longer has notifyCookiesChanged().
984
985 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
986
987         Add a separate class for networking related storage
988         https://bugs.webkit.org/show_bug.cgi?id=105676
989
990         Reviewed by Sam Weinig.
991
992         * WebCoreSupport/WebFrameLoaderClient.mm:
993         Updated for ResourceHandle include changes.
994
995         * WebCoreSupport/WebFrameNetworkingContext.h:
996         * WebCoreSupport/WebFrameNetworkingContext.mm:
997         This class is now simpler, with more session tracking being in WebCore now.
998
999         * WebCoreSupport/WebPlatformStrategies.h:
1000         * WebCoreSupport/WebPlatformStrategies.mm:
1001         (WebPlatformStrategies::cookiesForDOM):
1002         (WebPlatformStrategies::setCookiesFromDOM):
1003         (WebPlatformStrategies::cookiesEnabled):
1004         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1005         (WebPlatformStrategies::getRawCookies):
1006         (WebPlatformStrategies::deleteCookie):
1007         We no longer need a function for default cookie storage! Other cookie functions
1008         now take a session.
1009
1010         * WebView/WebPreferences.mm:
1011         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
1012         calling a WebCore that uses it.
1013         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
1014         NetworkStorageSession for session tracking.
1015
1016         * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
1017         context now returning a class for session.
1018
1019 2012-12-20  Ilya Tikhonovsky  <loislo@chromium.org>
1020
1021         Unreviewed build fix for chromium mac after r138206.
1022
1023         * WebCoreSupport/WebSystemInterface.mm:
1024         (InitWebCoreSystemInterface):
1025
1026 2012-12-19  Alexey Proskuryakov  <ap@apple.com>
1027
1028         <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
1029         https://bugs.webkit.org/show_bug.cgi?id=105467
1030
1031         Reviewed by Brady Eidson.
1032
1033         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
1034         a WKSI function we've been missing.
1035
1036 2012-12-19  Alexis Menard  <alexis@webkit.org>
1037
1038         Implement CSS parsing for CSS transitions unprefixed.
1039         https://bugs.webkit.org/show_bug.cgi?id=104804
1040
1041         Reviewed by Dean Jackson.
1042
1043         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
1044         to cover the work of unprefixing Transforms, Animations and 
1045         Transitions. It will let the possibility of each ports to turn it off 
1046         in their release branches until we're confident that these CSS 
1047         properties are ready to be unprefixed.
1048
1049         * Configurations/FeatureDefines.xcconfig:
1050
1051 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
1052
1053         Remove unnecessary functions from CookiesStrategy
1054         https://bugs.webkit.org/show_bug.cgi?id=105369
1055
1056         Reviewed by Brady Eidson.
1057
1058         * WebCoreSupport/WebPlatformStrategies.h:
1059         * WebCoreSupport/WebPlatformStrategies.mm:
1060
1061 2012-12-18  Alice Liu  <alice.liu@apple.com>
1062
1063         Add SPI to WebKit1 WebFrame for hit testing
1064         https://bugs.webkit.org/show_bug.cgi?id=105106
1065
1066         Reviewed by Dan Bernstein.
1067
1068         * WebView/WebFrame.mm:
1069         (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
1070         Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary. 
1071         * WebView/WebFramePrivate.h:
1072
1073 2012-12-18  Alice Liu  <alice.liu@apple.com>
1074
1075         Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
1076         https://bugs.webkit.org/show_bug.cgi?id=105262
1077
1078         Reviewed by Anders Carlsson.
1079
1080         * WebView/WebFrame.mm:
1081         (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
1082         for the WebCore::Node in that particular WebScriptWorld.
1083         * WebView/WebFramePrivate.h:
1084
1085 2012-12-18  Beth Dakin  <bdakin@apple.com>
1086
1087         https://bugs.webkit.org/show_bug.cgi?id=102579
1088         [mac] Enable scaled cursors
1089
1090         Reviewed by Dean Jackson.
1091
1092         * Configurations/FeatureDefines.xcconfig:
1093
1094 2012-12-16  Levi Weintraub  <leviw@chromium.org>
1095
1096         Push pixel snapping logic into TransformState
1097         https://bugs.webkit.org/show_bug.cgi?id=101779
1098
1099         Reviewed by Simon Fraser.
1100
1101         * WebView/WebFullScreenController.mm:
1102         (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
1103
1104 2012-12-15  Anders Carlsson  <andersca@apple.com>
1105
1106         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
1107         https://bugs.webkit.org/show_bug.cgi?id=105122
1108
1109         Reviewed by Andreas Kling.
1110
1111         Update for WebCore changes.
1112
1113         * WebCoreSupport/WebFrameLoaderClient.h:
1114         (WebFrameLoaderClient):
1115         * WebCoreSupport/WebFrameLoaderClient.mm:
1116         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
1117
1118 2012-12-15  Mark Lam  <mark.lam@apple.com>
1119
1120         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
1121         https://bugs.webkit.org/show_bug.cgi?id=104934.
1122
1123         Not reviewed.
1124
1125         Merged from r137767. Previously reviewed by Sam Weinig.
1126
1127         * WebCoreSupport/WebPlatformStrategies.h:
1128         (WebPlatformStrategies):
1129         * WebCoreSupport/WebPlatformStrategies.mm:
1130         (WebPlatformStrategies::createDatabaseStrategy):
1131
1132 2012-12-14  Mark Lam  <mark.lam@apple.com>
1133
1134         The WebView should initialize the platform strategies before initializing other sub-systems.
1135         https://bugs.webkit.org/show_bug.cgi?id=105083.
1136
1137         Reviewed by Alexey Proskuryakov.
1138
1139         * WebView/WebView.mm:
1140         (-[WebView _commonInitializationWithFrameName:groupName:]):
1141
1142 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
1143
1144         Unreviewed, rolling out r137767.
1145         http://trac.webkit.org/changeset/137767
1146         https://bugs.webkit.org/show_bug.cgi?id=105062
1147
1148         Broke Mac builds. (Requested by mlam on #webkit).
1149
1150         * WebCoreSupport/WebPlatformStrategies.h:
1151         (WebPlatformStrategies):
1152         * WebCoreSupport/WebPlatformStrategies.mm:
1153
1154 2012-12-14  Mark Lam  <mark.lam@apple.com>
1155
1156         Introducing the DatabaseStrategy and database servers.
1157         https://bugs.webkit.org/show_bug.cgi?id=104934.
1158
1159         Reviewed by Sam Weinig.
1160
1161         The database server is currently a placeholder that does nothing.
1162
1163         * WebCoreSupport/WebPlatformStrategies.h:
1164         (WebPlatformStrategies):
1165         * WebCoreSupport/WebPlatformStrategies.mm:
1166         (WebPlatformStrategies::createDatabaseStrategy):
1167
1168 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
1169
1170         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
1171         https://bugs.webkit.org/show_bug.cgi?id=104691
1172
1173         Reviewed by Sam Weinig.
1174
1175         * WebCoreSupport/WebFrameNetworkingContext.h:
1176         * WebCoreSupport/WebFrameNetworkingContext.mm:
1177         (WebFrameNetworkingContext::inPrivateBrowsingMode):
1178         (WebFrameNetworkingContext::storageSession):
1179         Implemented inPrivateBrowsingMode().
1180
1181 2012-12-12  Mark Lam  <mark.lam@apple.com>
1182
1183         Encapsulate externally used webdatabase APIs in DatabaseManager.
1184         https://bugs.webkit.org/show_bug.cgi?id=104741.
1185
1186         Reviewed by Sam Weinig.
1187
1188         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
1189         and DatabaseContext directly. This is to prepare for upcoming webkit2
1190         refactoring.
1191
1192         * Storage/WebDatabaseManager.mm:
1193         (-[WebDatabaseManager origins]):
1194         (-[WebDatabaseManager databasesWithOrigin:]):
1195         (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
1196         (-[WebDatabaseManager deleteAllDatabases]):
1197         (-[WebDatabaseManager deleteOrigin:]):
1198         (-[WebDatabaseManager deleteDatabase:withOrigin:]):
1199         (WebKitInitializeDatabasesIfNecessary):
1200         * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
1201         (WebDatabaseManagerClient):
1202         * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
1203         (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
1204         (WebDatabaseManagerClient::WebDatabaseManagerClient):
1205         (WebDatabaseManagerClient::~WebDatabaseManagerClient):
1206         (DidModifyOriginData::dispatchToMainThread):
1207         (DidModifyOriginData::DidModifyOriginData):
1208         (DidModifyOriginData):
1209         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
1210         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
1211         * Storage/WebDatabaseQuotaManager.mm:
1212         (-[WebDatabaseQuotaManager usage]):
1213         (-[WebDatabaseQuotaManager quota]):
1214         (-[WebDatabaseQuotaManager setQuota:]):
1215         * Storage/WebDatabaseTrackerClient.h: Removed.
1216         * Storage/WebDatabaseTrackerClient.mm: Removed.
1217         * WebCoreSupport/WebSecurityOrigin.mm:
1218         (-[WebSecurityOrigin usage]):
1219         (-[WebSecurityOrigin quota]):
1220         (-[WebSecurityOrigin setQuota:]):
1221         * WebKit.order:
1222         * WebView/WebFrame.mm:
1223         (-[WebFrame _cacheabilityDictionary]):
1224         * WebView/WebView.mm:
1225         (-[WebView _preferencesChanged:]):
1226
1227 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
1228
1229         Make LOG() work in WebProcess and NetworkProcess
1230         https://bugs.webkit.org/show_bug.cgi?id=104718
1231
1232         Reviewed by Tim Horton.
1233
1234         * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
1235         WebCore and WebKit versions of this file.
1236
1237 2012-12-11  Mike West  <mkwst@chromium.org>
1238
1239         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
1240         https://bugs.webkit.org/show_bug.cgi?id=66371
1241
1242         Reviewed by Pavel Feldman.
1243
1244         Drops WebCore::MessageType from the addMessageToConsole method.
1245
1246         * WebCoreSupport/WebChromeClient.h:
1247         (WebChromeClient):
1248         * WebCoreSupport/WebChromeClient.mm:
1249         (WebChromeClient::addMessageToConsole):
1250
1251 2012-12-09  Antti Koivisto  <antti@apple.com>
1252
1253         Factor node traversal into standalone functions
1254         https://bugs.webkit.org/show_bug.cgi?id=104507
1255
1256         Reviewed by Eric Seidel.
1257     
1258         * WebView/WebHTMLRepresentation.mm:
1259         (searchForLabelsBeforeElement):
1260
1261 2012-12-10  Alexis Menard  <alexis@webkit.org>
1262
1263         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
1264         https://bugs.webkit.org/show_bug.cgi?id=104539
1265
1266         Reviewed by Antonio Gomes.
1267
1268         As discussed on webkit-dev it is not needed to keep this feature flag 
1269         as support for <position> type is a small feature that is already 
1270         implemented by three other UAs. It was useful while landing this 
1271         feature as partial bits were landed one after one.
1272
1273         * Configurations/FeatureDefines.xcconfig:
1274
1275 2012-12-06  Rick Byers  <rbyers@chromium.org>
1276
1277         CSS cursor property should support webkit-image-set
1278         https://bugs.webkit.org/show_bug.cgi?id=99493
1279
1280         Reviewed by Beth Dakin.
1281
1282         Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
1283
1284         * Configurations/FeatureDefines.xcconfig:
1285
1286 2012-12-03  Yury Semikhatsky  <yurys@chromium.org>
1287
1288         Unreviewed. Fix Mac compilation after r136448.
1289
1290         * WebCoreSupport/WebChromeClient.mm:
1291         (stringForMessageType):
1292
1293 2012-12-03  Alexis Menard  <alexis@webkit.org>
1294
1295         [Mac] Enable CSS3 background-position offset by default.
1296         https://bugs.webkit.org/show_bug.cgi?id=103905
1297
1298         Reviewed by Simon Fraser.
1299
1300         Turn the flag on by default.
1301
1302         * Configurations/FeatureDefines.xcconfig:
1303
1304 2012-12-02  Yongjun Zhang  <yongjun_zhang@apple.com>
1305
1306         Need a method to close all idle localstorage databases immediately.
1307         https://bugs.webkit.org/show_bug.cgi?id=103469
1308
1309         Reviewed by David Kilzer.
1310
1311         Add a new method to WebStorageManager that we can call to close all
1312         idle local storage databases.
1313
1314         * Storage/WebStorageManager.mm:
1315         (+[WebStorageManager closeIdleLocalStorageDatabases]):
1316         * Storage/WebStorageManagerPrivate.h:
1317
1318 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
1319
1320         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
1321         https://bugs.webkit.org/show_bug.cgi?id=101192
1322
1323         Reviewed by Hajime Morita.
1324
1325         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
1326
1327         Tests: No new tests because there is no functional change.
1328
1329         * WebView/WebView.mm:
1330         (-[WebView _preferencesChanged:]):
1331
1332 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
1333
1334         [HTMLTemplateElement] Add feature flag
1335         https://bugs.webkit.org/show_bug.cgi?id=103694
1336
1337         Reviewed by Adam Barth.
1338
1339         This flag will guard the implementation of the HTMLTemplateElement.
1340         http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
1341
1342         * Configurations/FeatureDefines.xcconfig:
1343
1344 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
1345
1346         [WK2] Forward cookie jar calls to NetworkProcess
1347         https://bugs.webkit.org/show_bug.cgi?id=103457
1348
1349         Reviewed by Darin Adler.
1350
1351         * WebCoreSupport/WebPlatformStrategies.h:
1352         (WebPlatformStrategies):
1353         * WebCoreSupport/WebPlatformStrategies.mm:
1354         (WebPlatformStrategies::cookiesForDOM):
1355         (WebPlatformStrategies::setCookiesFromDOM):
1356         (WebPlatformStrategies::cookiesEnabled):
1357         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1358         (WebPlatformStrategies::getRawCookies):
1359         (WebPlatformStrategies::deleteCookie):
1360         (WebPlatformStrategies::getHostnamesWithCookies):
1361         (WebPlatformStrategies::deleteCookiesForHostname):
1362         (WebPlatformStrategies::deleteAllCookies):
1363         (WebPlatformStrategies::getPluginInfo):
1364         (WebPlatformStrategies::bufferForType):
1365         WebKit1 strategy just uses PlatformCookieJar.
1366
1367 2012-11-28  Beth Dakin  <bdakin@apple.com>
1368
1369         https://bugs.webkit.org/show_bug.cgi?id=102970
1370         [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless 
1371         WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
1372
1373         Reviewed by Sam Weinig.
1374
1375         We should always register for DidFirstLayout in WK1 since we do work 
1376         at that time besides just calling the delegate function.
1377         * WebView/WebView.mm:
1378         (-[WebView _cacheFrameLoadDelegateImplementations]):
1379
1380 2012-11-27  Michael Saboff  <msaboff@apple.com>
1381
1382         TextIterator unnecessarily converts 8 bit strings to 16 bits
1383         https://bugs.webkit.org/show_bug.cgi?id=103295
1384
1385         Reviewed by Brent Fulgham.
1386
1387         Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
1388
1389         * WebView/WebFrame.mm:
1390         (-[WebFrame _stringForRange:]):
1391
1392 2012-11-27  James Simonsen  <simonjam@chromium.org>
1393
1394         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1395         https://bugs.webkit.org/show_bug.cgi?id=102151
1396
1397         Reviewed by Adam Barth.
1398
1399         * Plugins/WebPluginController.mm:
1400         * WebView/WebFrame.mm:
1401         (-[WebFrame loadRequest:]):
1402         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1403
1404 2012-11-27  Pratik Solanki  <psolanki@apple.com>
1405
1406         objc/objc-runtime.h does not exist on all PLATFORM(MAC)
1407         https://bugs.webkit.org/show_bug.cgi?id=101780
1408
1409         Reviewed by Brent Fulgham.
1410
1411         Clean up header includes so we don't include objc/objc-runtime.h.
1412
1413         * Carbon/HIWebView.mm:
1414         (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
1415         * Plugins/WebNetscapePluginView.mm:
1416         * Plugins/WebPluginContainerCheck.mm:
1417         (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
1418         * Plugins/WebPluginController.mm:
1419         * WebCoreSupport/WebCachedFramePlatformData.h:
1420         * WebCoreSupport/WebDeviceOrientationClient.mm:
1421         * WebView/WebDelegateImplementationCaching.mm:
1422         * WebView/WebHTMLView.mm:
1423         * WebView/WebPDFDocumentExtras.mm:
1424         * WebView/WebPolicyDelegate.mm:
1425         (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
1426         * WebView/WebView.mm:
1427
1428 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1429
1430         Unreviewed, rolling out r135786.
1431         http://trac.webkit.org/changeset/135786
1432         https://bugs.webkit.org/show_bug.cgi?id=103379
1433
1434         It made 3 plugin tests timeout on several platforms (Requested
1435         by Ossy on #webkit).
1436
1437         * Plugins/WebPluginController.mm:
1438         * WebView/WebFrame.mm:
1439         (-[WebFrame loadRequest:]):
1440         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1441
1442 2012-11-26  James Simonsen  <simonjam@chromium.org>
1443
1444         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1445         https://bugs.webkit.org/show_bug.cgi?id=102151
1446
1447         Reviewed by Adam Barth.
1448
1449         * Plugins/WebPluginController.mm:
1450         * WebView/WebFrame.mm:
1451         (-[WebFrame loadRequest:]):
1452         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1453
1454 2012-11-23  Alexis Menard  <alexis@webkit.org>
1455
1456         [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
1457         https://bugs.webkit.org/show_bug.cgi?id=102104
1458
1459         Reviewed by Julien Chaffraix.
1460
1461         Protect the new feature behind a feature flag.
1462
1463         * Configurations/FeatureDefines.xcconfig:
1464
1465 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1466
1467         Disambiguate innerNodeFramePoint and mainFramePoint
1468         https://bugs.webkit.org/show_bug.cgi?id=98139
1469
1470         Reviewed by Julien Chaffraix.
1471
1472         Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
1473
1474         * WebCoreSupport/WebContextMenuClient.mm:
1475         (WebContextMenuClient::showContextMenu):
1476
1477 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1478
1479         Unreviewed, rolling out r135295.
1480         http://trac.webkit.org/changeset/135295
1481         https://bugs.webkit.org/show_bug.cgi?id=102834
1482
1483         This patch causes assertion to some layout tests on chromium
1484         (Requested by jianli on #webkit).
1485
1486         * Plugins/WebPluginController.mm:
1487         * WebView/WebFrame.mm:
1488         (-[WebFrame loadRequest:]):
1489         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1490
1491 2012-11-20  James Simonsen  <simonjam@chromium.org>
1492
1493         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1494         https://bugs.webkit.org/show_bug.cgi?id=102151
1495
1496         Reviewed by Adam Barth.
1497
1498         * Plugins/WebPluginController.mm:
1499         * WebView/WebFrame.mm:
1500         (-[WebFrame loadRequest:]):
1501         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1502
1503 2012-11-19  Kihong Kwon  <kihong.kwon@samsung.com>
1504
1505         Add PROXIMITY_EVENTS feature
1506         https://bugs.webkit.org/show_bug.cgi?id=102658
1507
1508         Reviewed by Kentaro Hara.
1509
1510         Add PROXIMITY_EVENTS feature to xcode project for WebKit.
1511
1512         * Configurations/FeatureDefines.xcconfig:
1513
1514 2012-11-16  Tony Chang  <tony@chromium.org>
1515
1516         Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
1517         https://bugs.webkit.org/show_bug.cgi?id=102554
1518
1519         Reviewed by Andreas Kling.
1520
1521         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
1522         we're going to revist this feature once additional vendor support is
1523         achieved.
1524
1525         * Configurations/FeatureDefines.xcconfig:
1526
1527 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
1528
1529         Private Browsing is a per-page setting that sets a global value
1530         https://bugs.webkit.org/show_bug.cgi?id=67870
1531
1532         Reviewed by Sam Weinig.
1533
1534         * WebCoreSupport/WebFrameNetworkingContext.h:
1535         * WebCoreSupport/WebFrameNetworkingContext.mm:
1536         Moved functions for managing global sessions from WebCore.
1537
1538         * WebCoreSupport/WebPlatformStrategies.h:
1539         * WebCoreSupport/WebPlatformStrategies.mm:
1540         (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
1541         to reach the storage.
1542
1543         * WebView/WebPreferences.mm:
1544         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
1545         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
1546
1547         * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
1548         are not generic enough for use outside DRT (one of them had "testing" in name,
1549         but another did not).
1550
1551         * WebView/WebView.mm:
1552         (-[WebView _preferencesChanged:]): Create a global private browsing session when
1553         the first view with private browsing is created, delete it when any window with
1554         it disabled is created (since this comes from preferences, it applies to all
1555         views equally, even though we are dealing with a single one here).
1556         (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
1557         a global one.
1558
1559 2012-11-13  Timothy Hatcher  <timothy@apple.com>
1560
1561         Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
1562
1563         https://bugs.webkit.org/show_bug.cgi?id=102073
1564
1565         Reviewed by Joseph Pecoraro.
1566
1567         * WebCoreSupport/WebInspectorClient.mm:
1568         (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
1569
1570 2012-11-12  Simon Fraser  <simon.fraser@apple.com>
1571
1572         Build fix after r134346 and 134347.
1573         
1574         Use frameView.isFlipped, not frameView.flipped in the assertion.
1575
1576         * WebCoreSupport/WebInspectorClient.mm:
1577         (-[WebInspectorWindowController window]):
1578
1579 2012-11-12  Timothy Hatcher  <timothy@apple.com>
1580
1581         Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
1582
1583         https://bugs.webkit.org/show_bug.cgi?id=102025
1584
1585         Reviewed by Joseph Pecoraro.
1586
1587         * Resources/Dock.pdf: Added.
1588         * WebCoreSupport/WebInspectorClient.h:
1589         * WebCoreSupport/WebInspectorClient.mm:
1590         (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
1591         (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
1592         (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
1593         (-[WebInspectorWindowController window]): Create the dock button and add it.
1594         (-[WebInspectorWindowController attachWindow:]): Added.
1595         (-[WebInspectorWindowController attach]): Call setAttachedWindow.
1596         (-[WebInspectorWindowController detach]): Ditto.
1597         (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
1598
1599 2012-11-08  Timothy Hatcher  <timothy@apple.com>
1600
1601         Always use a textured window for the Web Inspector.
1602
1603         https://bugs.webkit.org/show_bug.cgi?id=101693
1604
1605         Reviewed by Joseph Pecoraro.
1606
1607         * WebCoreSupport/WebInspectorClient.mm:
1608         (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
1609
1610 2012-11-08  Roger Fong  <roger_fong@apple.com>
1611
1612         Null check URL key entries into WebHistory hash table. 
1613         https://bugs.webkit.org/show_bug.cgi?id=101664
1614         <rdar://problem/12440852>
1615
1616         Reviewed by Brady Eidson.
1617         
1618         Sometimes the _entriesByURL hash table used to keep track of web history is erroneously passed in null key entries, which causes an exception to fire.
1619         This prevents the desired page navigation from taking effect. This is a workaround for the problem.
1620         Ideally we would figure out where the null values for the key are coming from but for now we'll just set it to "" to prevent the exception from being thrown
1621         so that navigation can continue as expected.
1622
1623         * History/WebHistory.mm:
1624         (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
1625
1626 2012-11-07  Andreas Kling  <akling@apple.com>
1627
1628         Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
1629         <http://webkit.org/b/101492>
1630
1631         Reviewed by Anders Carlsson.
1632
1633         * Plugins/WebJavaPlugIn.h: Removed.
1634
1635 2012-11-06  Adam Barth  <abarth@webkit.org>
1636
1637         Unreviewed attempt to fix the chromium-mac build.
1638
1639         * WebCoreSupport/WebSystemInterface.mm:
1640         (InitWebCoreSystemInterface):
1641
1642 2012-11-06  Anders Carlsson  <andersca@apple.com>
1643
1644         Update Java related WKSI function names
1645         https://bugs.webkit.org/show_bug.cgi?id=101414
1646
1647         Reviewed by Sam Weinig.
1648
1649         * WebCoreSupport/WebChromeClient.mm:
1650         (WebChromeClient::unavailablePluginButtonClicked):
1651         * WebCoreSupport/WebFrameLoaderClient.mm:
1652         (isPlugInInactive):
1653
1654 2012-11-06  Alexey Proskuryakov  <ap@apple.com>
1655
1656         Clean up which storage cookie jar functions use
1657         https://bugs.webkit.org/show_bug.cgi?id=101395
1658
1659         Reviewed by Brady Eidson.
1660
1661         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
1662         two new functions.
1663
1664 2012-11-06  Andrey Lushnikov  <lushnikov@google.com>
1665
1666         Added console.clear() method
1667
1668         Web Inspector: add console.clear()
1669         https://bugs.webkit.org/show_bug.cgi?id=101021
1670
1671         Reviewed by Vsevolod Vlasov.
1672
1673         * WebCoreSupport/WebChromeClient.mm:
1674         (stringForMessageType): Added ClearMessageType case to switch
1675
1676 2012-11-05  Alexey Proskuryakov  <ap@apple.com>
1677
1678         Get rid of setCookieStoragePrivateBrowsingEnabled.
1679         https://bugs.webkit.org/show_bug.cgi?id=101247
1680
1681         Reviewed by Brady Eidson.
1682
1683         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
1684         have this function.
1685
1686 2012-11-03  Alexey Proskuryakov  <ap@apple.com>
1687
1688         Get rid of USE(CFURLSTORAGESESSIONS)
1689         https://bugs.webkit.org/show_bug.cgi?id=101131
1690
1691         Reviewed by Sam Weinig.
1692
1693         * WebView/WebPreferences.mm:
1694         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
1695         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
1696         * WebView/WebView.mm:
1697         (-[WebView _cachedResponseForURL:]):
1698
1699 2012-11-02  Anders Carlsson  <andersca@apple.com>
1700
1701         Don't instantiate the Java plug-in if it's inactive
1702         https://bugs.webkit.org/show_bug.cgi?id=101102
1703         <rdar://problem/12595679>
1704
1705         Reviewed by Andreas Kling.
1706
1707         * WebCoreSupport/WebChromeClient.mm:
1708         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
1709         The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
1710
1711         (WebChromeClient::unavailablePluginButtonClicked):
1712         If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
1713         then reload the page.
1714
1715         * WebCoreSupport/WebFrameLoaderClient.mm:
1716         (isOracleJavaPlugIn):
1717         (isPlugInInactive):
1718         Helper functions.
1719
1720         (WebFrameLoaderClient::createPlugin):
1721         If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
1722
1723 2012-11-02  Simon Fraser  <simon.fraser@apple.com>
1724
1725         Enable SUBPIXEL_LAYOUT on Mac
1726         https://bugs.webkit.org/show_bug.cgi?id=101076
1727
1728         Reviewed by Dave Hyatt.
1729
1730         Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
1731
1732         * Configurations/FeatureDefines.xcconfig:
1733
1734 2012-11-02  Adam Barth  <abarth@webkit.org>
1735
1736         ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
1737         https://bugs.webkit.org/show_bug.cgi?id=100711
1738
1739         Reviewed by Eric Seidel.
1740
1741         * Configurations/FeatureDefines.xcconfig:
1742
1743 2012-11-01  Adam Roben  <aroben@webkit.org>
1744
1745         [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
1746         https://bugs.webkit.org/show_bug.cgi?id=100957
1747
1748         Reviewed by Simon Fraser.
1749
1750         WebCore doesn't yet support subpixel scrolling. WebKit2 forces
1751         scrolling to always be integral. Now WebKit1 forces this as well.
1752
1753         I'm not sure how to write a test for this.
1754
1755         * WebView/WebDynamicScrollBarsView.mm:
1756         (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
1757         or position:sticky elements in the page.
1758         (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
1759         scroll origin to the nearest pixel if needed.
1760
1761 2012-10-31  Anders Carlsson  <andersca@apple.com>
1762
1763         Fix build.
1764         <rdar://problem/12612207>.
1765
1766         Reviewed by Sam Weinig.
1767
1768         * Panels/WebAuthenticationPanel.m:
1769         (-[WebAuthenticationPanel loadNib]):
1770
1771 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
1772
1773         [Mac] Sync up FeatureDefine Configuration Files
1774         https://bugs.webkit.org/show_bug.cgi?id=100171
1775
1776         Reviewed by David Kilzer.
1777
1778         Follow up to better coordinate with iOS feature defines. Make:
1779
1780           - ENABLE_FILTERS always on
1781           - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
1782
1783         * Configurations/FeatureDefines.xcconfig:
1784
1785 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
1786
1787         [Mac] Sync up FeatureDefine Configuration Files
1788         https://bugs.webkit.org/show_bug.cgi?id=100171
1789
1790         Reviewed by David Kilzer.
1791
1792         Ensure an identical FeatureDefine files across all projects. Changes:
1793
1794           - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
1795           - ENABLE_PDFKIT_PLUGIN should be in all
1796           - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
1797           - ENABLE_ENCRYPTED_MEDIA should be in all
1798           - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
1799           - Some alphabetical ordering cleanup
1800
1801         * Configurations/FeatureDefines.xcconfig:
1802
1803 2012-10-29  Anders Carlsson  <andersca@apple.com>
1804
1805         Build WebKit as C++11 on Mac
1806         https://bugs.webkit.org/show_bug.cgi?id=100720
1807
1808         Reviewed by Daniel Bates.
1809
1810         * Configurations/Base.xcconfig:
1811         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
1812
1813         * History/WebBackForwardList.mm:
1814         (-[WebBackForwardList description]):
1815         * History/WebHistoryItem.mm:
1816         (-[WebHistoryItem description]):
1817         Add static_casts to prevent implicit type conversions in non-constant initializer lists.
1818
1819 2012-10-28  Mark Rowe  <mrowe@apple.com>
1820
1821         Simplify Xcode configuration settings that used to vary between OS versions.
1822
1823         Reviewed by Dan Bernstein.
1824
1825         * Configurations/Base.xcconfig:
1826         * Configurations/DebugRelease.xcconfig:
1827         * Configurations/WebKit.xcconfig:
1828
1829 2012-10-28  Mark Rowe  <mrowe@apple.com>
1830
1831         Remove references to unsupported OS and Xcode versions.
1832
1833         Reviewed by Anders Carlsson.
1834
1835         * Configurations/Base.xcconfig:
1836         * Configurations/CompilerVersion.xcconfig: Removed.
1837         * Configurations/DebugRelease.xcconfig:
1838         * Configurations/Version.xcconfig:
1839
1840 2012-10-29  Enrica Casucci  <enrica@apple.com>
1841
1842         Add ENABLE_USERSELECT_ALL feature flag.
1843         https://bugs.webkit.org/show_bug.cgi?id=100559
1844
1845         Reviewed by Eric Seidel.
1846
1847         * Configurations/FeatureDefines.xcconfig:
1848
1849 2012-10-27  Alexey Proskuryakov  <ap@apple.com>
1850
1851         All tests crash in WebKit1 mode
1852         https://bugs.webkit.org/show_bug.cgi?id=100602
1853
1854         Reviewed by Sam Weinig.
1855
1856         * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
1857         scheduler is created via a strategy, so strategies need to be initialized before
1858         using it.
1859
1860 2012-10-27  Dan Bernstein  <mitz@apple.com>
1861
1862         REAL_PLATFORM_NAME build setting is no longer needed
1863         https://bugs.webkit.org/show_bug.cgi?id=100587
1864
1865         Reviewed by Mark Rowe.
1866
1867         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
1868         to PLATFORM_NAME.
1869
1870         * Configurations/Base.xcconfig:
1871         * Configurations/CompilerVersion.xcconfig:
1872         * Configurations/DebugRelease.xcconfig:
1873         * Configurations/FeatureDefines.xcconfig:
1874         * Configurations/Version.xcconfig:
1875         * Configurations/WebKit.xcconfig:
1876
1877 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1878
1879         Add feature flags for CSS Device Adaptation
1880         https://bugs.webkit.org/show_bug.cgi?id=95960
1881
1882         Reviewed by Kenneth Rohde Christiansen.
1883
1884         * Configurations/FeatureDefines.xcconfig:
1885
1886 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
1887
1888         Conditionalize XHR timeout support
1889         https://bugs.webkit.org/show_bug.cgi?id=100356
1890
1891         Reviewed by Adam Barth.
1892
1893         Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
1894         Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
1895
1896         * Configurations/FeatureDefines.xcconfig:
1897
1898 2012-10-24  Timothy Hatcher  <timothy@apple.com>
1899
1900         Fix a crash seen during the Inspector tests on the WebKit1 bots.
1901
1902         Reviewed by Filip Pizlo.
1903
1904         * WebCoreSupport/WebInspectorClient.mm:
1905         (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
1906         is not the same when the Inspector is docked.
1907
1908 2012-10-24  Brady Eidson  <beidson@apple.com>
1909
1910         Add a strategy for loader customization.
1911         https://bugs.webkit.org/show_bug.cgi?id=100278
1912
1913         Reviewed by Alexey Proskuryakov.
1914
1915         * WebCoreSupport/WebPlatformStrategies.h:
1916         (WebPlatformStrategies):
1917         * WebCoreSupport/WebPlatformStrategies.mm:
1918         (WebPlatformStrategies::createLoaderStrategy):
1919
1920 2012-10-24  Timothy Hatcher  <timothy@apple.com>
1921
1922         Make the Inspector WKView/WebView become the first responder when bringToFront is called.
1923
1924         https://bugs.webkit.org/show_bug.cgi?id=100209
1925
1926         Reviewed by Joseph Pecoraro.
1927
1928         * WebCoreSupport/WebInspectorClient.mm:
1929         (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
1930
1931 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
1932
1933         Add a strategy for shared workers
1934         https://bugs.webkit.org/show_bug.cgi?id=100165
1935
1936         Reviewed by Brady Eidson.
1937
1938         * WebCoreSupport/WebPlatformStrategies.h:
1939         * WebCoreSupport/WebPlatformStrategies.mm:
1940         (WebPlatformStrategies::createPasteboardStrategy):
1941         (WebPlatformStrategies::createSharedWorkerStrategy):
1942         (WebPlatformStrategies::createVisitedLinkStrategy):
1943
1944 2012-10-24  Eric Carlson  <eric.carlson@apple.com>
1945
1946         Allow ports to override text track rendering style
1947         https://bugs.webkit.org/show_bug.cgi?id=97800
1948         <rdar://problem/12044964>
1949
1950         Reviewed by Maciej Stachowiak.
1951
1952         * WebCoreSupport/WebSystemInterface.mm:
1953         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1954
1955 2012-10-23  Dan Bernstein  <mitz@apple.com>
1956
1957         WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
1958         https://bugs.webkit.org/show_bug.cgi?id=100188
1959
1960         Reviewed by Sam Weinig.
1961
1962         * WebView/WebView.mm:
1963         (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
1964         code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
1965         default. Changed to refer to that default key by name.
1966
1967 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1968
1969         Add support for resolution media query
1970         https://bugs.webkit.org/show_bug.cgi?id=99077
1971
1972         Reviewed by Antti Koivisto.
1973
1974         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
1975
1976         * Configurations/FeatureDefines.xcconfig:
1977
1978 2012-10-21  Andreas Kling  <kling@webkit.org>
1979
1980         Remove Page::javaScriptURLsAreAllowed setting.
1981         <http://webkit.org/b/99944>
1982
1983         Reviewed by Anders Carlsson.
1984
1985         * WebKit.order:
1986         * WebView/WebView.mm:
1987         * WebView/WebViewPrivate.h:
1988
1989 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
1990
1991         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
1992         https://bugs.webkit.org/show_bug.cgi?id=99804
1993
1994         Reviewed by Julien Chaffraix.
1995
1996         CSS3 text related properties will be implemented under this flag,
1997         including text decoration, text-align-last, and text-justify.
1998
1999         * Configurations/FeatureDefines.xcconfig:
2000
2001 2012-10-18  Pablo Flouret  <pablof@motorola.com>
2002
2003         Implement css3-conditional's @supports rule
2004         https://bugs.webkit.org/show_bug.cgi?id=86146
2005
2006         Reviewed by Antti Koivisto.
2007
2008         * Configurations/FeatureDefines.xcconfig:
2009             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
2010
2011 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
2012
2013         [Mac] Uninitialized Members in WebDataSourcePrivate
2014         https://bugs.webkit.org/show_bug.cgi?id=99617
2015
2016         Reviewed by David Kilzer.
2017
2018         Initialize BOOL member variables.
2019
2020         * WebView/WebDataSource.mm:
2021         (WebDataSourcePrivate::WebDataSourcePrivate):
2022
2023 2012-10-17  Mark Rowe  <mrowe@apple.com>
2024
2025         Fix the build with a newer version of clang.
2026
2027         Reviewed by Dan Bernstein.
2028
2029         Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
2030         While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
2031         with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
2032         therefore generates a warning in newer versions of the compiler.
2033
2034         Fixes <rdar://problem/12503709>.
2035
2036         * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
2037         * Misc/WebCoreStatistics.mm: Ditto.
2038         (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
2039         (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
2040
2041 2012-10-16  Jian Li  <jianli@chromium.org>
2042
2043         Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
2044         https://bugs.webkit.org/show_bug.cgi?id=98975
2045
2046         Reviewed by Adam Barth.
2047
2048         Renaming is needed to better match with the draggable region code.
2049
2050         * Configurations/FeatureDefines.xcconfig:
2051
2052 2012-10-15  Dan Bernstein  <mitz@apple.com>
2053
2054         WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
2055         https://bugs.webkit.org/show_bug.cgi?id=99113
2056
2057         Reviewed by Tim Horton.
2058
2059         * WebCoreSupport/WebSystemInterface.mm:
2060         (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
2061
2062 2012-10-15  David Kilzer  <ddkilzer@apple.com>
2063
2064         Move framework and library linking into WebKit.xcconfig
2065         <http://webkit.org/b/99284>
2066
2067         Reviewed by Mark Rowe.
2068
2069         * Configurations/WebKit.xcconfig: Move frameworks and libraries
2070         link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
2071
2072 2012-10-14  Jon Lee  <jonlee@apple.com>
2073
2074         Allow notification origin permission request when no js callback is provided
2075         https://bugs.webkit.org/show_bug.cgi?id=63615
2076         <rdar://problem/11059590>
2077
2078         Reviewed by Sam Weinig.
2079
2080         Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
2081         we do not fall through to calling the standard API's callback if the legacy API's callback is null.
2082
2083         * WebCoreSupport/WebNotificationClient.mm:
2084         (WebCore):
2085         (-[WebNotificationPolicyListener initWithVoidCallback:]):
2086         (-[WebNotificationPolicyListener allow]):
2087         (-[WebNotificationPolicyListener deny]):
2088
2089 2012-10-14  Sam Weinig  <sam@webkit.org>
2090
2091         Make UserScript and UserStyleSheet value objects that are copyable
2092         https://bugs.webkit.org/show_bug.cgi?id=99275
2093
2094         Reviewed by Tim Horton.
2095
2096         * WebView/WebView.mm:
2097         (-[WebView _injectMailQuirksScript]):
2098         (-[WebView _injectOutlookQuirksScript]):
2099         Update for new PageGroup function signatures.
2100
2101 2012-10-10  Brady Eidson  <beidson@apple.com>
2102
2103         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
2104         https://bugs.webkit.org/show_bug.cgi?id=98976
2105
2106         Reviewed by Anders Carlsson.
2107
2108         * WebView/WebDataSource.mm:
2109         (-[WebDataSource data]):
2110
2111 2012-10-10  Jer Noble  <jer.noble@apple.com>
2112
2113         Disallow full screen mode keyboard access by default.
2114         https://bugs.webkit.org/show_bug.cgi?id=98971
2115         <rdar://problem/12474226>
2116
2117         Reviewed by Sam Weinig.
2118
2119         Only support full screen if keyboard access is not requested.
2120
2121         * WebView/WebView.mm:
2122         (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
2123
2124 2012-10-10  Jon Lee  <jonlee@apple.com>
2125
2126         [WK2] Activate plugins when user clicks on snapshot
2127         https://bugs.webkit.org/show_bug.cgi?id=98328
2128         <rdar://problem/12426681>
2129
2130         Reviewed by Brady Eidson.
2131
2132         * WebCoreSupport/WebFrameLoaderClient.h:
2133         * WebCoreSupport/WebFrameLoaderClient.mm:
2134         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
2135
2136 2012-10-10  Brady Eidson  <beidson@apple.com>
2137
2138         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
2139         https://bugs.webkit.org/show_bug.cgi?id=98541
2140
2141         Reviewed by Anders Carlsson.
2142
2143         * WebView/WebHTMLView.mm:
2144         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
2145
2146 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
2147
2148         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
2149         https://bugs.webkit.org/show_bug.cgi?id=98839
2150
2151         Reviewed by Sam Weinig.
2152
2153         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
2154         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
2155         but store the computed rect in m_visibleRect.
2156         
2157         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
2158         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
2159
2160         * WebView/WebFrame.mm:
2161         (-[WebFrame _layerTreeAsText]):
2162
2163 2012-10-09  Jian Li  <jianli@chromium.org>
2164
2165         Update the CSS property used to support draggable regions.
2166         https://bugs.webkit.org/show_bug.cgi?id=97156
2167
2168         Reviewed by Adam Barth.
2169
2170         The CSS property to support draggable regions, guarded under
2171         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
2172         confusion with DASHBOARD_SUPPORT feature.
2173
2174         Also update the code to use the new name annotatedRegions to work for
2175         both features.
2176
2177         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
2178         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
2179         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
2180         (WebChromeClient::annotatedRegionsChanged):
2181         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
2182         (-[WebView _dashboardRegions]):
2183
2184 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2185
2186         Unreviewed, rolling out r130811 and r130821.
2187         http://trac.webkit.org/changeset/130811
2188         http://trac.webkit.org/changeset/130821
2189         https://bugs.webkit.org/show_bug.cgi?id=98831
2190
2191         Broke date-suggestion-picker-appearance-with-scroll-bar.html
2192         (Requested by abarth|gardening on #webkit).
2193
2194         * WebView/WebFullScreenController.mm:
2195         (screenRectOfContents):
2196         * WebView/WebRenderNode.mm:
2197         (copyRenderNode):
2198
2199 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
2200
2201         Throttle DOM timers on hidden pages.
2202         https://bugs.webkit.org/show_bug.cgi?id=98474
2203
2204         Reviewed by Maciej Stachowiak.
2205
2206         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
2207         DumpRenderTree to modify the visibility state of a page.  The latter
2208         is needed to test throttling of timers on hidden pages through DumpRenderTree.
2209
2210         * Configurations/FeatureDefines.xcconfig:
2211         * WebView/WebView.mm:
2212         (-[WebView _setVisibilityState:isInitialState:]):
2213         * WebView/WebViewPrivate.h:
2214
2215 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2216
2217         Rename first/second to key/value in HashMap iterators
2218         https://bugs.webkit.org/show_bug.cgi?id=82784
2219
2220         Reviewed by Eric Seidel.
2221
2222         * History/WebHistory.mm:
2223         (-[WebHistoryPrivate removeItemFromDateCaches:]):
2224         (-[WebHistoryPrivate orderedLastVisitedDays]):
2225         (WebHistoryWriter::WebHistoryWriter):
2226         * Misc/WebCoreStatistics.mm:
2227         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
2228         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
2229         * Plugins/Hosted/NetscapePluginHostManager.mm:
2230         (WebKit::NetscapePluginHostManager::hostForPlugin):
2231         (WebKit::NetscapePluginHostManager::pluginHostDied):
2232         (WebKit::NetscapePluginHostManager::didCreateWindow):
2233         * Plugins/Hosted/NetscapePluginHostProxy.mm:
2234         (WebKit::NetscapePluginHostProxy::pluginHostDied):
2235         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
2236         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
2237         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
2238         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
2239         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
2240         (WebKit::NetscapePluginInstanceProxy::destroy):
2241         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
2242         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
2243         * Plugins/Hosted/ProxyInstance.mm:
2244         (WebKit::ProxyInstance::methodNamed):
2245         (WebKit::ProxyInstance::fieldNamed):
2246         * Plugins/WebNetscapePluginView.mm:
2247         (-[WebNetscapePluginView stopTimers]):
2248         (-[WebNetscapePluginView startTimers]):
2249         * WebCoreSupport/WebNotificationClient.mm:
2250         (WebNotificationClient::show):
2251         (WebNotificationClient::clearNotifications):
2252         (WebNotificationClient::notificationObjectDestroyed):
2253         * WebView/WebHTMLView.mm:
2254         (commandNameForSelector):
2255
2256 2012-10-06  Dan Bernstein  <mitz@apple.com>
2257
2258         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
2259         https://bugs.webkit.org/show_bug.cgi?id=98601
2260
2261         Reviewed by Darin Adler.
2262
2263         * WebView/WebView.mm:
2264         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
2265         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
2266         the value YES.
2267
2268 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2269
2270         Unreviewed, rolling out r130556 and r130564.
2271         http://trac.webkit.org/changeset/130556
2272         http://trac.webkit.org/changeset/130564
2273         https://bugs.webkit.org/show_bug.cgi?id=98572
2274
2275         The patch wasn't reviewed by a reviewer and it is breaking
2276         Chromium Windows (Requested by jchaffraix on #webkit).
2277
2278         * WebCoreSupport/WebSystemInterface.mm:
2279         (InitWebCoreSystemInterface):
2280
2281 2012-10-05  Tim Horton  <timothy_horton@apple.com>
2282
2283         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
2284         https://bugs.webkit.org/show_bug.cgi?id=98565
2285         <rdar://problem/12436468>
2286
2287         Reviewed by Simon Fraser.
2288
2289         Add wkCGContextDrawsWithCorrectShadowOffsets.
2290
2291         * WebCoreSupport/WebSystemInterface.mm:
2292         (InitWebCoreSystemInterface):
2293
2294 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
2295
2296         Allow ports to override text track rendering style
2297         https://bugs.webkit.org/show_bug.cgi?id=97800
2298         <rdar://problem/12044964>
2299
2300         Reviewed by Silvia Pfeiffer.
2301
2302         Add WCSI support for new WKSI caption functions.
2303
2304         * WebCoreSupport/WebSystemInterface.mm:
2305         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
2306
2307 2012-10-04  Jon Lee  <jonlee@apple.com>
2308
2309         Add a setting to enable plugin snapshotting
2310         https://bugs.webkit.org/show_bug.cgi?id=98319
2311         <rdar://problem/12426480>
2312
2313         Reviewed by Brady Eidson.
2314
2315         Expose plugInSnapshottingEnabled preference to WebKit clients.
2316
2317         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
2318         * WebView/WebPreferences.mm:
2319         (+[WebPreferences initialize]): Setting is turned off by default.
2320         (-[WebPreferences plugInSnapshottingEnabled]):
2321         (-[WebPreferences setPlugInSnapshottingEnabled:]):
2322         * WebView/WebPreferencesPrivate.h:
2323         * WebView/WebView.mm:
2324         (-[WebView _preferencesChanged:]): Update settings based on preference.
2325
2326 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
2327
2328         Turn Compositing on by default in WebKit build
2329         https://bugs.webkit.org/show_bug.cgi?id=98315
2330
2331         Reviewed by Simon Fraser.
2332
2333         enable -webkit-blend-mode on trunk.
2334
2335         * Configurations/FeatureDefines.xcconfig:
2336
2337 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
2338
2339         Final part of "sync" to "flush" renaming
2340         https://bugs.webkit.org/show_bug.cgi?id=98430
2341
2342         Reviewed by Tim Horton.
2343
2344         Change method names on GraphicsLayer and GraphicsLayerClient that
2345         refer to "sync" to use the term "flush" instead, to be consistent
2346         with the rest of the code.
2347
2348         * WebView/WebView.mm:
2349
2350 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
2351
2352         [WK2] Support all attributes of GeolocationPosition
2353         https://bugs.webkit.org/show_bug.cgi?id=98212
2354
2355         Reviewed by Sam Weinig.
2356
2357         Add an internal constructor for the sake of testing.
2358         A similar API is used on iOS.
2359
2360         * WebView/WebGeolocationPosition.mm:
2361         (-[WebGeolocationPosition initWithGeolocationPosition:]):
2362
2363 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
2364
2365         Standardize on "flush" terminology for compositing layer flushing/syncing
2366         https://bugs.webkit.org/show_bug.cgi?id=98321
2367
2368         Reviewed by Simon Fraser.
2369
2370         Rename compositing-related methods that refer to "syncing" to instead
2371         refer to "flushing".
2372
2373         * WebCoreSupport/WebChromeClient.h:
2374         * WebCoreSupport/WebChromeClient.mm:
2375         (WebChromeClient::scheduleCompositingLayerFlush):
2376         * WebView/WebView.mm:
2377         (-[WebView _flushCompositingChanges]):
2378         (LayerFlushController::flushLayers):
2379         (-[WebView _scheduleCompositingLayerFlush]):
2380         * WebView/WebViewInternal.h:
2381
2382 == Rolled over to ChangeLog-2012-10-02 ==