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