The WebView should initialize the platform strategies before initializing other sub...
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2012-12-14  Mark Lam  <mark.lam@apple.com>
2
3         The WebView should initialize the platform strategies before initializing other sub-systems.
4         https://bugs.webkit.org/show_bug.cgi?id=105083.
5
6         Reviewed by Alexey Proskuryakov.
7
8         * WebView/WebView.mm:
9         (-[WebView _commonInitializationWithFrameName:groupName:]):
10
11 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
12
13         Unreviewed, rolling out r137767.
14         http://trac.webkit.org/changeset/137767
15         https://bugs.webkit.org/show_bug.cgi?id=105062
16
17         Broke Mac builds. (Requested by mlam on #webkit).
18
19         * WebCoreSupport/WebPlatformStrategies.h:
20         (WebPlatformStrategies):
21         * WebCoreSupport/WebPlatformStrategies.mm:
22
23 2012-12-14  Mark Lam  <mark.lam@apple.com>
24
25         Introducing the DatabaseStrategy and database servers.
26         https://bugs.webkit.org/show_bug.cgi?id=104934.
27
28         Reviewed by Sam Weinig.
29
30         The database server is currently a placeholder that does nothing.
31
32         * WebCoreSupport/WebPlatformStrategies.h:
33         (WebPlatformStrategies):
34         * WebCoreSupport/WebPlatformStrategies.mm:
35         (WebPlatformStrategies::createDatabaseStrategy):
36
37 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
38
39         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
40         https://bugs.webkit.org/show_bug.cgi?id=104691
41
42         Reviewed by Sam Weinig.
43
44         * WebCoreSupport/WebFrameNetworkingContext.h:
45         * WebCoreSupport/WebFrameNetworkingContext.mm:
46         (WebFrameNetworkingContext::inPrivateBrowsingMode):
47         (WebFrameNetworkingContext::storageSession):
48         Implemented inPrivateBrowsingMode().
49
50 2012-12-12  Mark Lam  <mark.lam@apple.com>
51
52         Encapsulate externally used webdatabase APIs in DatabaseManager.
53         https://bugs.webkit.org/show_bug.cgi?id=104741.
54
55         Reviewed by Sam Weinig.
56
57         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
58         and DatabaseContext directly. This is to prepare for upcoming webkit2
59         refactoring.
60
61         * Storage/WebDatabaseManager.mm:
62         (-[WebDatabaseManager origins]):
63         (-[WebDatabaseManager databasesWithOrigin:]):
64         (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
65         (-[WebDatabaseManager deleteAllDatabases]):
66         (-[WebDatabaseManager deleteOrigin:]):
67         (-[WebDatabaseManager deleteDatabase:withOrigin:]):
68         (WebKitInitializeDatabasesIfNecessary):
69         * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
70         (WebDatabaseManagerClient):
71         * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
72         (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
73         (WebDatabaseManagerClient::WebDatabaseManagerClient):
74         (WebDatabaseManagerClient::~WebDatabaseManagerClient):
75         (DidModifyOriginData::dispatchToMainThread):
76         (DidModifyOriginData::DidModifyOriginData):
77         (DidModifyOriginData):
78         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
79         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
80         * Storage/WebDatabaseQuotaManager.mm:
81         (-[WebDatabaseQuotaManager usage]):
82         (-[WebDatabaseQuotaManager quota]):
83         (-[WebDatabaseQuotaManager setQuota:]):
84         * Storage/WebDatabaseTrackerClient.h: Removed.
85         * Storage/WebDatabaseTrackerClient.mm: Removed.
86         * WebCoreSupport/WebSecurityOrigin.mm:
87         (-[WebSecurityOrigin usage]):
88         (-[WebSecurityOrigin quota]):
89         (-[WebSecurityOrigin setQuota:]):
90         * WebKit.order:
91         * WebView/WebFrame.mm:
92         (-[WebFrame _cacheabilityDictionary]):
93         * WebView/WebView.mm:
94         (-[WebView _preferencesChanged:]):
95
96 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
97
98         Make LOG() work in WebProcess and NetworkProcess
99         https://bugs.webkit.org/show_bug.cgi?id=104718
100
101         Reviewed by Tim Horton.
102
103         * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
104         WebCore and WebKit versions of this file.
105
106 2012-12-11  Mike West  <mkwst@chromium.org>
107
108         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
109         https://bugs.webkit.org/show_bug.cgi?id=66371
110
111         Reviewed by Pavel Feldman.
112
113         Drops WebCore::MessageType from the addMessageToConsole method.
114
115         * WebCoreSupport/WebChromeClient.h:
116         (WebChromeClient):
117         * WebCoreSupport/WebChromeClient.mm:
118         (WebChromeClient::addMessageToConsole):
119
120 2012-12-09  Antti Koivisto  <antti@apple.com>
121
122         Factor node traversal into standalone functions
123         https://bugs.webkit.org/show_bug.cgi?id=104507
124
125         Reviewed by Eric Seidel.
126     
127         * WebView/WebHTMLRepresentation.mm:
128         (searchForLabelsBeforeElement):
129
130 2012-12-10  Alexis Menard  <alexis@webkit.org>
131
132         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
133         https://bugs.webkit.org/show_bug.cgi?id=104539
134
135         Reviewed by Antonio Gomes.
136
137         As discussed on webkit-dev it is not needed to keep this feature flag 
138         as support for <position> type is a small feature that is already 
139         implemented by three other UAs. It was useful while landing this 
140         feature as partial bits were landed one after one.
141
142         * Configurations/FeatureDefines.xcconfig:
143
144 2012-12-06  Rick Byers  <rbyers@chromium.org>
145
146         CSS cursor property should support webkit-image-set
147         https://bugs.webkit.org/show_bug.cgi?id=99493
148
149         Reviewed by Beth Dakin.
150
151         Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
152
153         * Configurations/FeatureDefines.xcconfig:
154
155 2012-12-03  Yury Semikhatsky  <yurys@chromium.org>
156
157         Unreviewed. Fix Mac compilation after r136448.
158
159         * WebCoreSupport/WebChromeClient.mm:
160         (stringForMessageType):
161
162 2012-12-03  Alexis Menard  <alexis@webkit.org>
163
164         [Mac] Enable CSS3 background-position offset by default.
165         https://bugs.webkit.org/show_bug.cgi?id=103905
166
167         Reviewed by Simon Fraser.
168
169         Turn the flag on by default.
170
171         * Configurations/FeatureDefines.xcconfig:
172
173 2012-12-02  Yongjun Zhang  <yongjun_zhang@apple.com>
174
175         Need a method to close all idle localstorage databases immediately.
176         https://bugs.webkit.org/show_bug.cgi?id=103469
177
178         Reviewed by David Kilzer.
179
180         Add a new method to WebStorageManager that we can call to close all
181         idle local storage databases.
182
183         * Storage/WebStorageManager.mm:
184         (+[WebStorageManager closeIdleLocalStorageDatabases]):
185         * Storage/WebStorageManagerPrivate.h:
186
187 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
188
189         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
190         https://bugs.webkit.org/show_bug.cgi?id=101192
191
192         Reviewed by Hajime Morita.
193
194         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
195
196         Tests: No new tests because there is no functional change.
197
198         * WebView/WebView.mm:
199         (-[WebView _preferencesChanged:]):
200
201 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
202
203         [HTMLTemplateElement] Add feature flag
204         https://bugs.webkit.org/show_bug.cgi?id=103694
205
206         Reviewed by Adam Barth.
207
208         This flag will guard the implementation of the HTMLTemplateElement.
209         http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
210
211         * Configurations/FeatureDefines.xcconfig:
212
213 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
214
215         [WK2] Forward cookie jar calls to NetworkProcess
216         https://bugs.webkit.org/show_bug.cgi?id=103457
217
218         Reviewed by Darin Adler.
219
220         * WebCoreSupport/WebPlatformStrategies.h:
221         (WebPlatformStrategies):
222         * WebCoreSupport/WebPlatformStrategies.mm:
223         (WebPlatformStrategies::cookiesForDOM):
224         (WebPlatformStrategies::setCookiesFromDOM):
225         (WebPlatformStrategies::cookiesEnabled):
226         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
227         (WebPlatformStrategies::getRawCookies):
228         (WebPlatformStrategies::deleteCookie):
229         (WebPlatformStrategies::getHostnamesWithCookies):
230         (WebPlatformStrategies::deleteCookiesForHostname):
231         (WebPlatformStrategies::deleteAllCookies):
232         (WebPlatformStrategies::getPluginInfo):
233         (WebPlatformStrategies::bufferForType):
234         WebKit1 strategy just uses PlatformCookieJar.
235
236 2012-11-28  Beth Dakin  <bdakin@apple.com>
237
238         https://bugs.webkit.org/show_bug.cgi?id=102970
239         [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless 
240         WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
241
242         Reviewed by Sam Weinig.
243
244         We should always register for DidFirstLayout in WK1 since we do work 
245         at that time besides just calling the delegate function.
246         * WebView/WebView.mm:
247         (-[WebView _cacheFrameLoadDelegateImplementations]):
248
249 2012-11-27  Michael Saboff  <msaboff@apple.com>
250
251         TextIterator unnecessarily converts 8 bit strings to 16 bits
252         https://bugs.webkit.org/show_bug.cgi?id=103295
253
254         Reviewed by Brent Fulgham.
255
256         Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
257
258         * WebView/WebFrame.mm:
259         (-[WebFrame _stringForRange:]):
260
261 2012-11-27  James Simonsen  <simonjam@chromium.org>
262
263         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
264         https://bugs.webkit.org/show_bug.cgi?id=102151
265
266         Reviewed by Adam Barth.
267
268         * Plugins/WebPluginController.mm:
269         * WebView/WebFrame.mm:
270         (-[WebFrame loadRequest:]):
271         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
272
273 2012-11-27  Pratik Solanki  <psolanki@apple.com>
274
275         objc/objc-runtime.h does not exist on all PLATFORM(MAC)
276         https://bugs.webkit.org/show_bug.cgi?id=101780
277
278         Reviewed by Brent Fulgham.
279
280         Clean up header includes so we don't include objc/objc-runtime.h.
281
282         * Carbon/HIWebView.mm:
283         (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
284         * Plugins/WebNetscapePluginView.mm:
285         * Plugins/WebPluginContainerCheck.mm:
286         (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
287         * Plugins/WebPluginController.mm:
288         * WebCoreSupport/WebCachedFramePlatformData.h:
289         * WebCoreSupport/WebDeviceOrientationClient.mm:
290         * WebView/WebDelegateImplementationCaching.mm:
291         * WebView/WebHTMLView.mm:
292         * WebView/WebPDFDocumentExtras.mm:
293         * WebView/WebPolicyDelegate.mm:
294         (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
295         * WebView/WebView.mm:
296
297 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
298
299         Unreviewed, rolling out r135786.
300         http://trac.webkit.org/changeset/135786
301         https://bugs.webkit.org/show_bug.cgi?id=103379
302
303         It made 3 plugin tests timeout on several platforms (Requested
304         by Ossy on #webkit).
305
306         * Plugins/WebPluginController.mm:
307         * WebView/WebFrame.mm:
308         (-[WebFrame loadRequest:]):
309         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
310
311 2012-11-26  James Simonsen  <simonjam@chromium.org>
312
313         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
314         https://bugs.webkit.org/show_bug.cgi?id=102151
315
316         Reviewed by Adam Barth.
317
318         * Plugins/WebPluginController.mm:
319         * WebView/WebFrame.mm:
320         (-[WebFrame loadRequest:]):
321         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
322
323 2012-11-23  Alexis Menard  <alexis@webkit.org>
324
325         [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
326         https://bugs.webkit.org/show_bug.cgi?id=102104
327
328         Reviewed by Julien Chaffraix.
329
330         Protect the new feature behind a feature flag.
331
332         * Configurations/FeatureDefines.xcconfig:
333
334 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
335
336         Disambiguate innerNodeFramePoint and mainFramePoint
337         https://bugs.webkit.org/show_bug.cgi?id=98139
338
339         Reviewed by Julien Chaffraix.
340
341         Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
342
343         * WebCoreSupport/WebContextMenuClient.mm:
344         (WebContextMenuClient::showContextMenu):
345
346 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
347
348         Unreviewed, rolling out r135295.
349         http://trac.webkit.org/changeset/135295
350         https://bugs.webkit.org/show_bug.cgi?id=102834
351
352         This patch causes assertion to some layout tests on chromium
353         (Requested by jianli on #webkit).
354
355         * Plugins/WebPluginController.mm:
356         * WebView/WebFrame.mm:
357         (-[WebFrame loadRequest:]):
358         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
359
360 2012-11-20  James Simonsen  <simonjam@chromium.org>
361
362         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
363         https://bugs.webkit.org/show_bug.cgi?id=102151
364
365         Reviewed by Adam Barth.
366
367         * Plugins/WebPluginController.mm:
368         * WebView/WebFrame.mm:
369         (-[WebFrame loadRequest:]):
370         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
371
372 2012-11-19  Kihong Kwon  <kihong.kwon@samsung.com>
373
374         Add PROXIMITY_EVENTS feature
375         https://bugs.webkit.org/show_bug.cgi?id=102658
376
377         Reviewed by Kentaro Hara.
378
379         Add PROXIMITY_EVENTS feature to xcode project for WebKit.
380
381         * Configurations/FeatureDefines.xcconfig:
382
383 2012-11-16  Tony Chang  <tony@chromium.org>
384
385         Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
386         https://bugs.webkit.org/show_bug.cgi?id=102554
387
388         Reviewed by Andreas Kling.
389
390         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
391         we're going to revist this feature once additional vendor support is
392         achieved.
393
394         * Configurations/FeatureDefines.xcconfig:
395
396 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
397
398         Private Browsing is a per-page setting that sets a global value
399         https://bugs.webkit.org/show_bug.cgi?id=67870
400
401         Reviewed by Sam Weinig.
402
403         * WebCoreSupport/WebFrameNetworkingContext.h:
404         * WebCoreSupport/WebFrameNetworkingContext.mm:
405         Moved functions for managing global sessions from WebCore.
406
407         * WebCoreSupport/WebPlatformStrategies.h:
408         * WebCoreSupport/WebPlatformStrategies.mm:
409         (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
410         to reach the storage.
411
412         * WebView/WebPreferences.mm:
413         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
414         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
415
416         * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
417         are not generic enough for use outside DRT (one of them had "testing" in name,
418         but another did not).
419
420         * WebView/WebView.mm:
421         (-[WebView _preferencesChanged:]): Create a global private browsing session when
422         the first view with private browsing is created, delete it when any window with
423         it disabled is created (since this comes from preferences, it applies to all
424         views equally, even though we are dealing with a single one here).
425         (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
426         a global one.
427
428 2012-11-13  Timothy Hatcher  <timothy@apple.com>
429
430         Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
431
432         https://bugs.webkit.org/show_bug.cgi?id=102073
433
434         Reviewed by Joseph Pecoraro.
435
436         * WebCoreSupport/WebInspectorClient.mm:
437         (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
438
439 2012-11-12  Simon Fraser  <simon.fraser@apple.com>
440
441         Build fix after r134346 and 134347.
442         
443         Use frameView.isFlipped, not frameView.flipped in the assertion.
444
445         * WebCoreSupport/WebInspectorClient.mm:
446         (-[WebInspectorWindowController window]):
447
448 2012-11-12  Timothy Hatcher  <timothy@apple.com>
449
450         Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
451
452         https://bugs.webkit.org/show_bug.cgi?id=102025
453
454         Reviewed by Joseph Pecoraro.
455
456         * Resources/Dock.pdf: Added.
457         * WebCoreSupport/WebInspectorClient.h:
458         * WebCoreSupport/WebInspectorClient.mm:
459         (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
460         (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
461         (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
462         (-[WebInspectorWindowController window]): Create the dock button and add it.
463         (-[WebInspectorWindowController attachWindow:]): Added.
464         (-[WebInspectorWindowController attach]): Call setAttachedWindow.
465         (-[WebInspectorWindowController detach]): Ditto.
466         (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
467
468 2012-11-08  Timothy Hatcher  <timothy@apple.com>
469
470         Always use a textured window for the Web Inspector.
471
472         https://bugs.webkit.org/show_bug.cgi?id=101693
473
474         Reviewed by Joseph Pecoraro.
475
476         * WebCoreSupport/WebInspectorClient.mm:
477         (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
478
479 2012-11-08  Roger Fong  <roger_fong@apple.com>
480
481         Null check URL key entries into WebHistory hash table. 
482         https://bugs.webkit.org/show_bug.cgi?id=101664
483         <rdar://problem/12440852>
484
485         Reviewed by Brady Eidson.
486         
487         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.
488         This prevents the desired page navigation from taking effect. This is a workaround for the problem.
489         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
490         so that navigation can continue as expected.
491
492         * History/WebHistory.mm:
493         (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
494
495 2012-11-07  Andreas Kling  <akling@apple.com>
496
497         Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
498         <http://webkit.org/b/101492>
499
500         Reviewed by Anders Carlsson.
501
502         * Plugins/WebJavaPlugIn.h: Removed.
503
504 2012-11-06  Adam Barth  <abarth@webkit.org>
505
506         Unreviewed attempt to fix the chromium-mac build.
507
508         * WebCoreSupport/WebSystemInterface.mm:
509         (InitWebCoreSystemInterface):
510
511 2012-11-06  Anders Carlsson  <andersca@apple.com>
512
513         Update Java related WKSI function names
514         https://bugs.webkit.org/show_bug.cgi?id=101414
515
516         Reviewed by Sam Weinig.
517
518         * WebCoreSupport/WebChromeClient.mm:
519         (WebChromeClient::unavailablePluginButtonClicked):
520         * WebCoreSupport/WebFrameLoaderClient.mm:
521         (isPlugInInactive):
522
523 2012-11-06  Alexey Proskuryakov  <ap@apple.com>
524
525         Clean up which storage cookie jar functions use
526         https://bugs.webkit.org/show_bug.cgi?id=101395
527
528         Reviewed by Brady Eidson.
529
530         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
531         two new functions.
532
533 2012-11-06  Andrey Lushnikov  <lushnikov@google.com>
534
535         Added console.clear() method
536
537         Web Inspector: add console.clear()
538         https://bugs.webkit.org/show_bug.cgi?id=101021
539
540         Reviewed by Vsevolod Vlasov.
541
542         * WebCoreSupport/WebChromeClient.mm:
543         (stringForMessageType): Added ClearMessageType case to switch
544
545 2012-11-05  Alexey Proskuryakov  <ap@apple.com>
546
547         Get rid of setCookieStoragePrivateBrowsingEnabled.
548         https://bugs.webkit.org/show_bug.cgi?id=101247
549
550         Reviewed by Brady Eidson.
551
552         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
553         have this function.
554
555 2012-11-03  Alexey Proskuryakov  <ap@apple.com>
556
557         Get rid of USE(CFURLSTORAGESESSIONS)
558         https://bugs.webkit.org/show_bug.cgi?id=101131
559
560         Reviewed by Sam Weinig.
561
562         * WebView/WebPreferences.mm:
563         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
564         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
565         * WebView/WebView.mm:
566         (-[WebView _cachedResponseForURL:]):
567
568 2012-11-02  Anders Carlsson  <andersca@apple.com>
569
570         Don't instantiate the Java plug-in if it's inactive
571         https://bugs.webkit.org/show_bug.cgi?id=101102
572         <rdar://problem/12595679>
573
574         Reviewed by Andreas Kling.
575
576         * WebCoreSupport/WebChromeClient.mm:
577         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
578         The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
579
580         (WebChromeClient::unavailablePluginButtonClicked):
581         If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
582         then reload the page.
583
584         * WebCoreSupport/WebFrameLoaderClient.mm:
585         (isOracleJavaPlugIn):
586         (isPlugInInactive):
587         Helper functions.
588
589         (WebFrameLoaderClient::createPlugin):
590         If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
591
592 2012-11-02  Simon Fraser  <simon.fraser@apple.com>
593
594         Enable SUBPIXEL_LAYOUT on Mac
595         https://bugs.webkit.org/show_bug.cgi?id=101076
596
597         Reviewed by Dave Hyatt.
598
599         Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
600
601         * Configurations/FeatureDefines.xcconfig:
602
603 2012-11-02  Adam Barth  <abarth@webkit.org>
604
605         ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
606         https://bugs.webkit.org/show_bug.cgi?id=100711
607
608         Reviewed by Eric Seidel.
609
610         * Configurations/FeatureDefines.xcconfig:
611
612 2012-11-01  Adam Roben  <aroben@webkit.org>
613
614         [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
615         https://bugs.webkit.org/show_bug.cgi?id=100957
616
617         Reviewed by Simon Fraser.
618
619         WebCore doesn't yet support subpixel scrolling. WebKit2 forces
620         scrolling to always be integral. Now WebKit1 forces this as well.
621
622         I'm not sure how to write a test for this.
623
624         * WebView/WebDynamicScrollBarsView.mm:
625         (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
626         or position:sticky elements in the page.
627         (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
628         scroll origin to the nearest pixel if needed.
629
630 2012-10-31  Anders Carlsson  <andersca@apple.com>
631
632         Fix build.
633         <rdar://problem/12612207>.
634
635         Reviewed by Sam Weinig.
636
637         * Panels/WebAuthenticationPanel.m:
638         (-[WebAuthenticationPanel loadNib]):
639
640 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
641
642         [Mac] Sync up FeatureDefine Configuration Files
643         https://bugs.webkit.org/show_bug.cgi?id=100171
644
645         Reviewed by David Kilzer.
646
647         Follow up to better coordinate with iOS feature defines. Make:
648
649           - ENABLE_FILTERS always on
650           - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
651
652         * Configurations/FeatureDefines.xcconfig:
653
654 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
655
656         [Mac] Sync up FeatureDefine Configuration Files
657         https://bugs.webkit.org/show_bug.cgi?id=100171
658
659         Reviewed by David Kilzer.
660
661         Ensure an identical FeatureDefine files across all projects. Changes:
662
663           - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
664           - ENABLE_PDFKIT_PLUGIN should be in all
665           - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
666           - ENABLE_ENCRYPTED_MEDIA should be in all
667           - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
668           - Some alphabetical ordering cleanup
669
670         * Configurations/FeatureDefines.xcconfig:
671
672 2012-10-29  Anders Carlsson  <andersca@apple.com>
673
674         Build WebKit as C++11 on Mac
675         https://bugs.webkit.org/show_bug.cgi?id=100720
676
677         Reviewed by Daniel Bates.
678
679         * Configurations/Base.xcconfig:
680         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
681
682         * History/WebBackForwardList.mm:
683         (-[WebBackForwardList description]):
684         * History/WebHistoryItem.mm:
685         (-[WebHistoryItem description]):
686         Add static_casts to prevent implicit type conversions in non-constant initializer lists.
687
688 2012-10-28  Mark Rowe  <mrowe@apple.com>
689
690         Simplify Xcode configuration settings that used to vary between OS versions.
691
692         Reviewed by Dan Bernstein.
693
694         * Configurations/Base.xcconfig:
695         * Configurations/DebugRelease.xcconfig:
696         * Configurations/WebKit.xcconfig:
697
698 2012-10-28  Mark Rowe  <mrowe@apple.com>
699
700         Remove references to unsupported OS and Xcode versions.
701
702         Reviewed by Anders Carlsson.
703
704         * Configurations/Base.xcconfig:
705         * Configurations/CompilerVersion.xcconfig: Removed.
706         * Configurations/DebugRelease.xcconfig:
707         * Configurations/Version.xcconfig:
708
709 2012-10-29  Enrica Casucci  <enrica@apple.com>
710
711         Add ENABLE_USERSELECT_ALL feature flag.
712         https://bugs.webkit.org/show_bug.cgi?id=100559
713
714         Reviewed by Eric Seidel.
715
716         * Configurations/FeatureDefines.xcconfig:
717
718 2012-10-27  Alexey Proskuryakov  <ap@apple.com>
719
720         All tests crash in WebKit1 mode
721         https://bugs.webkit.org/show_bug.cgi?id=100602
722
723         Reviewed by Sam Weinig.
724
725         * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
726         scheduler is created via a strategy, so strategies need to be initialized before
727         using it.
728
729 2012-10-27  Dan Bernstein  <mitz@apple.com>
730
731         REAL_PLATFORM_NAME build setting is no longer needed
732         https://bugs.webkit.org/show_bug.cgi?id=100587
733
734         Reviewed by Mark Rowe.
735
736         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
737         to PLATFORM_NAME.
738
739         * Configurations/Base.xcconfig:
740         * Configurations/CompilerVersion.xcconfig:
741         * Configurations/DebugRelease.xcconfig:
742         * Configurations/FeatureDefines.xcconfig:
743         * Configurations/Version.xcconfig:
744         * Configurations/WebKit.xcconfig:
745
746 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
747
748         Add feature flags for CSS Device Adaptation
749         https://bugs.webkit.org/show_bug.cgi?id=95960
750
751         Reviewed by Kenneth Rohde Christiansen.
752
753         * Configurations/FeatureDefines.xcconfig:
754
755 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
756
757         Conditionalize XHR timeout support
758         https://bugs.webkit.org/show_bug.cgi?id=100356
759
760         Reviewed by Adam Barth.
761
762         Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
763         Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
764
765         * Configurations/FeatureDefines.xcconfig:
766
767 2012-10-24  Timothy Hatcher  <timothy@apple.com>
768
769         Fix a crash seen during the Inspector tests on the WebKit1 bots.
770
771         Reviewed by Filip Pizlo.
772
773         * WebCoreSupport/WebInspectorClient.mm:
774         (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
775         is not the same when the Inspector is docked.
776
777 2012-10-24  Brady Eidson  <beidson@apple.com>
778
779         Add a strategy for loader customization.
780         https://bugs.webkit.org/show_bug.cgi?id=100278
781
782         Reviewed by Alexey Proskuryakov.
783
784         * WebCoreSupport/WebPlatformStrategies.h:
785         (WebPlatformStrategies):
786         * WebCoreSupport/WebPlatformStrategies.mm:
787         (WebPlatformStrategies::createLoaderStrategy):
788
789 2012-10-24  Timothy Hatcher  <timothy@apple.com>
790
791         Make the Inspector WKView/WebView become the first responder when bringToFront is called.
792
793         https://bugs.webkit.org/show_bug.cgi?id=100209
794
795         Reviewed by Joseph Pecoraro.
796
797         * WebCoreSupport/WebInspectorClient.mm:
798         (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
799
800 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
801
802         Add a strategy for shared workers
803         https://bugs.webkit.org/show_bug.cgi?id=100165
804
805         Reviewed by Brady Eidson.
806
807         * WebCoreSupport/WebPlatformStrategies.h:
808         * WebCoreSupport/WebPlatformStrategies.mm:
809         (WebPlatformStrategies::createPasteboardStrategy):
810         (WebPlatformStrategies::createSharedWorkerStrategy):
811         (WebPlatformStrategies::createVisitedLinkStrategy):
812
813 2012-10-24  Eric Carlson  <eric.carlson@apple.com>
814
815         Allow ports to override text track rendering style
816         https://bugs.webkit.org/show_bug.cgi?id=97800
817         <rdar://problem/12044964>
818
819         Reviewed by Maciej Stachowiak.
820
821         * WebCoreSupport/WebSystemInterface.mm:
822         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
823
824 2012-10-23  Dan Bernstein  <mitz@apple.com>
825
826         WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
827         https://bugs.webkit.org/show_bug.cgi?id=100188
828
829         Reviewed by Sam Weinig.
830
831         * WebView/WebView.mm:
832         (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
833         code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
834         default. Changed to refer to that default key by name.
835
836 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
837
838         Add support for resolution media query
839         https://bugs.webkit.org/show_bug.cgi?id=99077
840
841         Reviewed by Antti Koivisto.
842
843         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
844
845         * Configurations/FeatureDefines.xcconfig:
846
847 2012-10-21  Andreas Kling  <kling@webkit.org>
848
849         Remove Page::javaScriptURLsAreAllowed setting.
850         <http://webkit.org/b/99944>
851
852         Reviewed by Anders Carlsson.
853
854         * WebKit.order:
855         * WebView/WebView.mm:
856         * WebView/WebViewPrivate.h:
857
858 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
859
860         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
861         https://bugs.webkit.org/show_bug.cgi?id=99804
862
863         Reviewed by Julien Chaffraix.
864
865         CSS3 text related properties will be implemented under this flag,
866         including text decoration, text-align-last, and text-justify.
867
868         * Configurations/FeatureDefines.xcconfig:
869
870 2012-10-18  Pablo Flouret  <pablof@motorola.com>
871
872         Implement css3-conditional's @supports rule
873         https://bugs.webkit.org/show_bug.cgi?id=86146
874
875         Reviewed by Antti Koivisto.
876
877         * Configurations/FeatureDefines.xcconfig:
878             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
879
880 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
881
882         [Mac] Uninitialized Members in WebDataSourcePrivate
883         https://bugs.webkit.org/show_bug.cgi?id=99617
884
885         Reviewed by David Kilzer.
886
887         Initialize BOOL member variables.
888
889         * WebView/WebDataSource.mm:
890         (WebDataSourcePrivate::WebDataSourcePrivate):
891
892 2012-10-17  Mark Rowe  <mrowe@apple.com>
893
894         Fix the build with a newer version of clang.
895
896         Reviewed by Dan Bernstein.
897
898         Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
899         While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
900         with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
901         therefore generates a warning in newer versions of the compiler.
902
903         Fixes <rdar://problem/12503709>.
904
905         * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
906         * Misc/WebCoreStatistics.mm: Ditto.
907         (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
908         (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
909
910 2012-10-16  Jian Li  <jianli@chromium.org>
911
912         Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
913         https://bugs.webkit.org/show_bug.cgi?id=98975
914
915         Reviewed by Adam Barth.
916
917         Renaming is needed to better match with the draggable region code.
918
919         * Configurations/FeatureDefines.xcconfig:
920
921 2012-10-15  Dan Bernstein  <mitz@apple.com>
922
923         WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
924         https://bugs.webkit.org/show_bug.cgi?id=99113
925
926         Reviewed by Tim Horton.
927
928         * WebCoreSupport/WebSystemInterface.mm:
929         (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
930
931 2012-10-15  David Kilzer  <ddkilzer@apple.com>
932
933         Move framework and library linking into WebKit.xcconfig
934         <http://webkit.org/b/99284>
935
936         Reviewed by Mark Rowe.
937
938         * Configurations/WebKit.xcconfig: Move frameworks and libraries
939         link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
940
941 2012-10-14  Jon Lee  <jonlee@apple.com>
942
943         Allow notification origin permission request when no js callback is provided
944         https://bugs.webkit.org/show_bug.cgi?id=63615
945         <rdar://problem/11059590>
946
947         Reviewed by Sam Weinig.
948
949         Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
950         we do not fall through to calling the standard API's callback if the legacy API's callback is null.
951
952         * WebCoreSupport/WebNotificationClient.mm:
953         (WebCore):
954         (-[WebNotificationPolicyListener initWithVoidCallback:]):
955         (-[WebNotificationPolicyListener allow]):
956         (-[WebNotificationPolicyListener deny]):
957
958 2012-10-14  Sam Weinig  <sam@webkit.org>
959
960         Make UserScript and UserStyleSheet value objects that are copyable
961         https://bugs.webkit.org/show_bug.cgi?id=99275
962
963         Reviewed by Tim Horton.
964
965         * WebView/WebView.mm:
966         (-[WebView _injectMailQuirksScript]):
967         (-[WebView _injectOutlookQuirksScript]):
968         Update for new PageGroup function signatures.
969
970 2012-10-10  Brady Eidson  <beidson@apple.com>
971
972         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
973         https://bugs.webkit.org/show_bug.cgi?id=98976
974
975         Reviewed by Anders Carlsson.
976
977         * WebView/WebDataSource.mm:
978         (-[WebDataSource data]):
979
980 2012-10-10  Jer Noble  <jer.noble@apple.com>
981
982         Disallow full screen mode keyboard access by default.
983         https://bugs.webkit.org/show_bug.cgi?id=98971
984         <rdar://problem/12474226>
985
986         Reviewed by Sam Weinig.
987
988         Only support full screen if keyboard access is not requested.
989
990         * WebView/WebView.mm:
991         (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
992
993 2012-10-10  Jon Lee  <jonlee@apple.com>
994
995         [WK2] Activate plugins when user clicks on snapshot
996         https://bugs.webkit.org/show_bug.cgi?id=98328
997         <rdar://problem/12426681>
998
999         Reviewed by Brady Eidson.
1000
1001         * WebCoreSupport/WebFrameLoaderClient.h:
1002         * WebCoreSupport/WebFrameLoaderClient.mm:
1003         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1004
1005 2012-10-10  Brady Eidson  <beidson@apple.com>
1006
1007         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1008         https://bugs.webkit.org/show_bug.cgi?id=98541
1009
1010         Reviewed by Anders Carlsson.
1011
1012         * WebView/WebHTMLView.mm:
1013         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1014
1015 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
1016
1017         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
1018         https://bugs.webkit.org/show_bug.cgi?id=98839
1019
1020         Reviewed by Sam Weinig.
1021
1022         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
1023         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
1024         but store the computed rect in m_visibleRect.
1025         
1026         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
1027         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
1028
1029         * WebView/WebFrame.mm:
1030         (-[WebFrame _layerTreeAsText]):
1031
1032 2012-10-09  Jian Li  <jianli@chromium.org>
1033
1034         Update the CSS property used to support draggable regions.
1035         https://bugs.webkit.org/show_bug.cgi?id=97156
1036
1037         Reviewed by Adam Barth.
1038
1039         The CSS property to support draggable regions, guarded under
1040         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
1041         confusion with DASHBOARD_SUPPORT feature.
1042
1043         Also update the code to use the new name annotatedRegions to work for
1044         both features.
1045
1046         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
1047         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
1048         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
1049         (WebChromeClient::annotatedRegionsChanged):
1050         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
1051         (-[WebView _dashboardRegions]):
1052
1053 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1054
1055         Unreviewed, rolling out r130811 and r130821.
1056         http://trac.webkit.org/changeset/130811
1057         http://trac.webkit.org/changeset/130821
1058         https://bugs.webkit.org/show_bug.cgi?id=98831
1059
1060         Broke date-suggestion-picker-appearance-with-scroll-bar.html
1061         (Requested by abarth|gardening on #webkit).
1062
1063         * WebView/WebFullScreenController.mm:
1064         (screenRectOfContents):
1065         * WebView/WebRenderNode.mm:
1066         (copyRenderNode):
1067
1068 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
1069
1070         Throttle DOM timers on hidden pages.
1071         https://bugs.webkit.org/show_bug.cgi?id=98474
1072
1073         Reviewed by Maciej Stachowiak.
1074
1075         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
1076         DumpRenderTree to modify the visibility state of a page.  The latter
1077         is needed to test throttling of timers on hidden pages through DumpRenderTree.
1078
1079         * Configurations/FeatureDefines.xcconfig:
1080         * WebView/WebView.mm:
1081         (-[WebView _setVisibilityState:isInitialState:]):
1082         * WebView/WebViewPrivate.h:
1083
1084 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1085
1086         Rename first/second to key/value in HashMap iterators
1087         https://bugs.webkit.org/show_bug.cgi?id=82784
1088
1089         Reviewed by Eric Seidel.
1090
1091         * History/WebHistory.mm:
1092         (-[WebHistoryPrivate removeItemFromDateCaches:]):
1093         (-[WebHistoryPrivate orderedLastVisitedDays]):
1094         (WebHistoryWriter::WebHistoryWriter):
1095         * Misc/WebCoreStatistics.mm:
1096         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
1097         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
1098         * Plugins/Hosted/NetscapePluginHostManager.mm:
1099         (WebKit::NetscapePluginHostManager::hostForPlugin):
1100         (WebKit::NetscapePluginHostManager::pluginHostDied):
1101         (WebKit::NetscapePluginHostManager::didCreateWindow):
1102         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1103         (WebKit::NetscapePluginHostProxy::pluginHostDied):
1104         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1105         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
1106         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
1107         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
1108         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
1109         (WebKit::NetscapePluginInstanceProxy::destroy):
1110         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
1111         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
1112         * Plugins/Hosted/ProxyInstance.mm:
1113         (WebKit::ProxyInstance::methodNamed):
1114         (WebKit::ProxyInstance::fieldNamed):
1115         * Plugins/WebNetscapePluginView.mm:
1116         (-[WebNetscapePluginView stopTimers]):
1117         (-[WebNetscapePluginView startTimers]):
1118         * WebCoreSupport/WebNotificationClient.mm:
1119         (WebNotificationClient::show):
1120         (WebNotificationClient::clearNotifications):
1121         (WebNotificationClient::notificationObjectDestroyed):
1122         * WebView/WebHTMLView.mm:
1123         (commandNameForSelector):
1124
1125 2012-10-06  Dan Bernstein  <mitz@apple.com>
1126
1127         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
1128         https://bugs.webkit.org/show_bug.cgi?id=98601
1129
1130         Reviewed by Darin Adler.
1131
1132         * WebView/WebView.mm:
1133         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
1134         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
1135         the value YES.
1136
1137 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
1138
1139         Unreviewed, rolling out r130556 and r130564.
1140         http://trac.webkit.org/changeset/130556
1141         http://trac.webkit.org/changeset/130564
1142         https://bugs.webkit.org/show_bug.cgi?id=98572
1143
1144         The patch wasn't reviewed by a reviewer and it is breaking
1145         Chromium Windows (Requested by jchaffraix on #webkit).
1146
1147         * WebCoreSupport/WebSystemInterface.mm:
1148         (InitWebCoreSystemInterface):
1149
1150 2012-10-05  Tim Horton  <timothy_horton@apple.com>
1151
1152         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
1153         https://bugs.webkit.org/show_bug.cgi?id=98565
1154         <rdar://problem/12436468>
1155
1156         Reviewed by Simon Fraser.
1157
1158         Add wkCGContextDrawsWithCorrectShadowOffsets.
1159
1160         * WebCoreSupport/WebSystemInterface.mm:
1161         (InitWebCoreSystemInterface):
1162
1163 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
1164
1165         Allow ports to override text track rendering style
1166         https://bugs.webkit.org/show_bug.cgi?id=97800
1167         <rdar://problem/12044964>
1168
1169         Reviewed by Silvia Pfeiffer.
1170
1171         Add WCSI support for new WKSI caption functions.
1172
1173         * WebCoreSupport/WebSystemInterface.mm:
1174         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1175
1176 2012-10-04  Jon Lee  <jonlee@apple.com>
1177
1178         Add a setting to enable plugin snapshotting
1179         https://bugs.webkit.org/show_bug.cgi?id=98319
1180         <rdar://problem/12426480>
1181
1182         Reviewed by Brady Eidson.
1183
1184         Expose plugInSnapshottingEnabled preference to WebKit clients.
1185
1186         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
1187         * WebView/WebPreferences.mm:
1188         (+[WebPreferences initialize]): Setting is turned off by default.
1189         (-[WebPreferences plugInSnapshottingEnabled]):
1190         (-[WebPreferences setPlugInSnapshottingEnabled:]):
1191         * WebView/WebPreferencesPrivate.h:
1192         * WebView/WebView.mm:
1193         (-[WebView _preferencesChanged:]): Update settings based on preference.
1194
1195 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
1196
1197         Turn Compositing on by default in WebKit build
1198         https://bugs.webkit.org/show_bug.cgi?id=98315
1199
1200         Reviewed by Simon Fraser.
1201
1202         enable -webkit-blend-mode on trunk.
1203
1204         * Configurations/FeatureDefines.xcconfig:
1205
1206 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1207
1208         Final part of "sync" to "flush" renaming
1209         https://bugs.webkit.org/show_bug.cgi?id=98430
1210
1211         Reviewed by Tim Horton.
1212
1213         Change method names on GraphicsLayer and GraphicsLayerClient that
1214         refer to "sync" to use the term "flush" instead, to be consistent
1215         with the rest of the code.
1216
1217         * WebView/WebView.mm:
1218
1219 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
1220
1221         [WK2] Support all attributes of GeolocationPosition
1222         https://bugs.webkit.org/show_bug.cgi?id=98212
1223
1224         Reviewed by Sam Weinig.
1225
1226         Add an internal constructor for the sake of testing.
1227         A similar API is used on iOS.
1228
1229         * WebView/WebGeolocationPosition.mm:
1230         (-[WebGeolocationPosition initWithGeolocationPosition:]):
1231
1232 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1233
1234         Standardize on "flush" terminology for compositing layer flushing/syncing
1235         https://bugs.webkit.org/show_bug.cgi?id=98321
1236
1237         Reviewed by Simon Fraser.
1238
1239         Rename compositing-related methods that refer to "syncing" to instead
1240         refer to "flushing".
1241
1242         * WebCoreSupport/WebChromeClient.h:
1243         * WebCoreSupport/WebChromeClient.mm:
1244         (WebChromeClient::scheduleCompositingLayerFlush):
1245         * WebView/WebView.mm:
1246         (-[WebView _flushCompositingChanges]):
1247         (LayerFlushController::flushLayers):
1248         (-[WebView _scheduleCompositingLayerFlush]):
1249         * WebView/WebViewInternal.h:
1250
1251 == Rolled over to ChangeLog-2012-10-02 ==