Don't instantiate the Java plug-in if it's inactive
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2012-11-02  Anders Carlsson  <andersca@apple.com>
2
3         Don't instantiate the Java plug-in if it's inactive
4         https://bugs.webkit.org/show_bug.cgi?id=101102
5         <rdar://problem/12595679>
6
7         Reviewed by Andreas Kling.
8
9         * WebCoreSupport/WebChromeClient.mm:
10         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
11         The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
12
13         (WebChromeClient::unavailablePluginButtonClicked):
14         If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
15         then reload the page.
16
17         * WebCoreSupport/WebFrameLoaderClient.mm:
18         (isOracleJavaPlugIn):
19         (isPlugInInactive):
20         Helper functions.
21
22         (WebFrameLoaderClient::createPlugin):
23         If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
24
25 2012-11-02  Simon Fraser  <simon.fraser@apple.com>
26
27         Enable SUBPIXEL_LAYOUT on Mac
28         https://bugs.webkit.org/show_bug.cgi?id=101076
29
30         Reviewed by Dave Hyatt.
31
32         Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
33
34         * Configurations/FeatureDefines.xcconfig:
35
36 2012-11-02  Adam Barth  <abarth@webkit.org>
37
38         ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
39         https://bugs.webkit.org/show_bug.cgi?id=100711
40
41         Reviewed by Eric Seidel.
42
43         * Configurations/FeatureDefines.xcconfig:
44
45 2012-11-01  Adam Roben  <aroben@webkit.org>
46
47         [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
48         https://bugs.webkit.org/show_bug.cgi?id=100957
49
50         Reviewed by Simon Fraser.
51
52         WebCore doesn't yet support subpixel scrolling. WebKit2 forces
53         scrolling to always be integral. Now WebKit1 forces this as well.
54
55         I'm not sure how to write a test for this.
56
57         * WebView/WebDynamicScrollBarsView.mm:
58         (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
59         or position:sticky elements in the page.
60         (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
61         scroll origin to the nearest pixel if needed.
62
63 2012-10-31  Anders Carlsson  <andersca@apple.com>
64
65         Fix build.
66         <rdar://problem/12612207>.
67
68         Reviewed by Sam Weinig.
69
70         * Panels/WebAuthenticationPanel.m:
71         (-[WebAuthenticationPanel loadNib]):
72
73 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
74
75         [Mac] Sync up FeatureDefine Configuration Files
76         https://bugs.webkit.org/show_bug.cgi?id=100171
77
78         Reviewed by David Kilzer.
79
80         Follow up to better coordinate with iOS feature defines. Make:
81
82           - ENABLE_FILTERS always on
83           - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
84
85         * Configurations/FeatureDefines.xcconfig:
86
87 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
88
89         [Mac] Sync up FeatureDefine Configuration Files
90         https://bugs.webkit.org/show_bug.cgi?id=100171
91
92         Reviewed by David Kilzer.
93
94         Ensure an identical FeatureDefine files across all projects. Changes:
95
96           - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
97           - ENABLE_PDFKIT_PLUGIN should be in all
98           - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
99           - ENABLE_ENCRYPTED_MEDIA should be in all
100           - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
101           - Some alphabetical ordering cleanup
102
103         * Configurations/FeatureDefines.xcconfig:
104
105 2012-10-29  Anders Carlsson  <andersca@apple.com>
106
107         Build WebKit as C++11 on Mac
108         https://bugs.webkit.org/show_bug.cgi?id=100720
109
110         Reviewed by Daniel Bates.
111
112         * Configurations/Base.xcconfig:
113         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
114
115         * History/WebBackForwardList.mm:
116         (-[WebBackForwardList description]):
117         * History/WebHistoryItem.mm:
118         (-[WebHistoryItem description]):
119         Add static_casts to prevent implicit type conversions in non-constant initializer lists.
120
121 2012-10-28  Mark Rowe  <mrowe@apple.com>
122
123         Simplify Xcode configuration settings that used to vary between OS versions.
124
125         Reviewed by Dan Bernstein.
126
127         * Configurations/Base.xcconfig:
128         * Configurations/DebugRelease.xcconfig:
129         * Configurations/WebKit.xcconfig:
130
131 2012-10-28  Mark Rowe  <mrowe@apple.com>
132
133         Remove references to unsupported OS and Xcode versions.
134
135         Reviewed by Anders Carlsson.
136
137         * Configurations/Base.xcconfig:
138         * Configurations/CompilerVersion.xcconfig: Removed.
139         * Configurations/DebugRelease.xcconfig:
140         * Configurations/Version.xcconfig:
141
142 2012-10-29  Enrica Casucci  <enrica@apple.com>
143
144         Add ENABLE_USERSELECT_ALL feature flag.
145         https://bugs.webkit.org/show_bug.cgi?id=100559
146
147         Reviewed by Eric Seidel.
148
149         * Configurations/FeatureDefines.xcconfig:
150
151 2012-10-27  Alexey Proskuryakov  <ap@apple.com>
152
153         All tests crash in WebKit1 mode
154         https://bugs.webkit.org/show_bug.cgi?id=100602
155
156         Reviewed by Sam Weinig.
157
158         * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
159         scheduler is created via a strategy, so strategies need to be initialized before
160         using it.
161
162 2012-10-27  Dan Bernstein  <mitz@apple.com>
163
164         REAL_PLATFORM_NAME build setting is no longer needed
165         https://bugs.webkit.org/show_bug.cgi?id=100587
166
167         Reviewed by Mark Rowe.
168
169         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
170         to PLATFORM_NAME.
171
172         * Configurations/Base.xcconfig:
173         * Configurations/CompilerVersion.xcconfig:
174         * Configurations/DebugRelease.xcconfig:
175         * Configurations/FeatureDefines.xcconfig:
176         * Configurations/Version.xcconfig:
177         * Configurations/WebKit.xcconfig:
178
179 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
180
181         Add feature flags for CSS Device Adaptation
182         https://bugs.webkit.org/show_bug.cgi?id=95960
183
184         Reviewed by Kenneth Rohde Christiansen.
185
186         * Configurations/FeatureDefines.xcconfig:
187
188 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
189
190         Conditionalize XHR timeout support
191         https://bugs.webkit.org/show_bug.cgi?id=100356
192
193         Reviewed by Adam Barth.
194
195         Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
196         Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
197
198         * Configurations/FeatureDefines.xcconfig:
199
200 2012-10-24  Timothy Hatcher  <timothy@apple.com>
201
202         Fix a crash seen during the Inspector tests on the WebKit1 bots.
203
204         Reviewed by Filip Pizlo.
205
206         * WebCoreSupport/WebInspectorClient.mm:
207         (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
208         is not the same when the Inspector is docked.
209
210 2012-10-24  Brady Eidson  <beidson@apple.com>
211
212         Add a strategy for loader customization.
213         https://bugs.webkit.org/show_bug.cgi?id=100278
214
215         Reviewed by Alexey Proskuryakov.
216
217         * WebCoreSupport/WebPlatformStrategies.h:
218         (WebPlatformStrategies):
219         * WebCoreSupport/WebPlatformStrategies.mm:
220         (WebPlatformStrategies::createLoaderStrategy):
221
222 2012-10-24  Timothy Hatcher  <timothy@apple.com>
223
224         Make the Inspector WKView/WebView become the first responder when bringToFront is called.
225
226         https://bugs.webkit.org/show_bug.cgi?id=100209
227
228         Reviewed by Joseph Pecoraro.
229
230         * WebCoreSupport/WebInspectorClient.mm:
231         (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
232
233 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
234
235         Add a strategy for shared workers
236         https://bugs.webkit.org/show_bug.cgi?id=100165
237
238         Reviewed by Brady Eidson.
239
240         * WebCoreSupport/WebPlatformStrategies.h:
241         * WebCoreSupport/WebPlatformStrategies.mm:
242         (WebPlatformStrategies::createPasteboardStrategy):
243         (WebPlatformStrategies::createSharedWorkerStrategy):
244         (WebPlatformStrategies::createVisitedLinkStrategy):
245
246 2012-10-24  Eric Carlson  <eric.carlson@apple.com>
247
248         Allow ports to override text track rendering style
249         https://bugs.webkit.org/show_bug.cgi?id=97800
250         <rdar://problem/12044964>
251
252         Reviewed by Maciej Stachowiak.
253
254         * WebCoreSupport/WebSystemInterface.mm:
255         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
256
257 2012-10-23  Dan Bernstein  <mitz@apple.com>
258
259         WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
260         https://bugs.webkit.org/show_bug.cgi?id=100188
261
262         Reviewed by Sam Weinig.
263
264         * WebView/WebView.mm:
265         (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
266         code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
267         default. Changed to refer to that default key by name.
268
269 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
270
271         Add support for resolution media query
272         https://bugs.webkit.org/show_bug.cgi?id=99077
273
274         Reviewed by Antti Koivisto.
275
276         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
277
278         * Configurations/FeatureDefines.xcconfig:
279
280 2012-10-21  Andreas Kling  <kling@webkit.org>
281
282         Remove Page::javaScriptURLsAreAllowed setting.
283         <http://webkit.org/b/99944>
284
285         Reviewed by Anders Carlsson.
286
287         * WebKit.order:
288         * WebView/WebView.mm:
289         * WebView/WebViewPrivate.h:
290
291 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
292
293         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
294         https://bugs.webkit.org/show_bug.cgi?id=99804
295
296         Reviewed by Julien Chaffraix.
297
298         CSS3 text related properties will be implemented under this flag,
299         including text decoration, text-align-last, and text-justify.
300
301         * Configurations/FeatureDefines.xcconfig:
302
303 2012-10-18  Pablo Flouret  <pablof@motorola.com>
304
305         Implement css3-conditional's @supports rule
306         https://bugs.webkit.org/show_bug.cgi?id=86146
307
308         Reviewed by Antti Koivisto.
309
310         * Configurations/FeatureDefines.xcconfig:
311             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
312
313 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
314
315         [Mac] Uninitialized Members in WebDataSourcePrivate
316         https://bugs.webkit.org/show_bug.cgi?id=99617
317
318         Reviewed by David Kilzer.
319
320         Initialize BOOL member variables.
321
322         * WebView/WebDataSource.mm:
323         (WebDataSourcePrivate::WebDataSourcePrivate):
324
325 2012-10-17  Mark Rowe  <mrowe@apple.com>
326
327         Fix the build with a newer version of clang.
328
329         Reviewed by Dan Bernstein.
330
331         Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
332         While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
333         with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
334         therefore generates a warning in newer versions of the compiler.
335
336         Fixes <rdar://problem/12503709>.
337
338         * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
339         * Misc/WebCoreStatistics.mm: Ditto.
340         (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
341         (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
342
343 2012-10-16  Jian Li  <jianli@chromium.org>
344
345         Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
346         https://bugs.webkit.org/show_bug.cgi?id=98975
347
348         Reviewed by Adam Barth.
349
350         Renaming is needed to better match with the draggable region code.
351
352         * Configurations/FeatureDefines.xcconfig:
353
354 2012-10-15  Dan Bernstein  <mitz@apple.com>
355
356         WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
357         https://bugs.webkit.org/show_bug.cgi?id=99113
358
359         Reviewed by Tim Horton.
360
361         * WebCoreSupport/WebSystemInterface.mm:
362         (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
363
364 2012-10-15  David Kilzer  <ddkilzer@apple.com>
365
366         Move framework and library linking into WebKit.xcconfig
367         <http://webkit.org/b/99284>
368
369         Reviewed by Mark Rowe.
370
371         * Configurations/WebKit.xcconfig: Move frameworks and libraries
372         link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
373
374 2012-10-14  Jon Lee  <jonlee@apple.com>
375
376         Allow notification origin permission request when no js callback is provided
377         https://bugs.webkit.org/show_bug.cgi?id=63615
378         <rdar://problem/11059590>
379
380         Reviewed by Sam Weinig.
381
382         Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
383         we do not fall through to calling the standard API's callback if the legacy API's callback is null.
384
385         * WebCoreSupport/WebNotificationClient.mm:
386         (WebCore):
387         (-[WebNotificationPolicyListener initWithVoidCallback:]):
388         (-[WebNotificationPolicyListener allow]):
389         (-[WebNotificationPolicyListener deny]):
390
391 2012-10-14  Sam Weinig  <sam@webkit.org>
392
393         Make UserScript and UserStyleSheet value objects that are copyable
394         https://bugs.webkit.org/show_bug.cgi?id=99275
395
396         Reviewed by Tim Horton.
397
398         * WebView/WebView.mm:
399         (-[WebView _injectMailQuirksScript]):
400         (-[WebView _injectOutlookQuirksScript]):
401         Update for new PageGroup function signatures.
402
403 2012-10-10  Brady Eidson  <beidson@apple.com>
404
405         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
406         https://bugs.webkit.org/show_bug.cgi?id=98976
407
408         Reviewed by Anders Carlsson.
409
410         * WebView/WebDataSource.mm:
411         (-[WebDataSource data]):
412
413 2012-10-10  Jer Noble  <jer.noble@apple.com>
414
415         Disallow full screen mode keyboard access by default.
416         https://bugs.webkit.org/show_bug.cgi?id=98971
417         <rdar://problem/12474226>
418
419         Reviewed by Sam Weinig.
420
421         Only support full screen if keyboard access is not requested.
422
423         * WebView/WebView.mm:
424         (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
425
426 2012-10-10  Jon Lee  <jonlee@apple.com>
427
428         [WK2] Activate plugins when user clicks on snapshot
429         https://bugs.webkit.org/show_bug.cgi?id=98328
430         <rdar://problem/12426681>
431
432         Reviewed by Brady Eidson.
433
434         * WebCoreSupport/WebFrameLoaderClient.h:
435         * WebCoreSupport/WebFrameLoaderClient.mm:
436         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
437
438 2012-10-10  Brady Eidson  <beidson@apple.com>
439
440         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
441         https://bugs.webkit.org/show_bug.cgi?id=98541
442
443         Reviewed by Anders Carlsson.
444
445         * WebView/WebHTMLView.mm:
446         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
447
448 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
449
450         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
451         https://bugs.webkit.org/show_bug.cgi?id=98839
452
453         Reviewed by Sam Weinig.
454
455         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
456         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
457         but store the computed rect in m_visibleRect.
458         
459         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
460         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
461
462         * WebView/WebFrame.mm:
463         (-[WebFrame _layerTreeAsText]):
464
465 2012-10-09  Jian Li  <jianli@chromium.org>
466
467         Update the CSS property used to support draggable regions.
468         https://bugs.webkit.org/show_bug.cgi?id=97156
469
470         Reviewed by Adam Barth.
471
472         The CSS property to support draggable regions, guarded under
473         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
474         confusion with DASHBOARD_SUPPORT feature.
475
476         Also update the code to use the new name annotatedRegions to work for
477         both features.
478
479         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
480         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
481         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
482         (WebChromeClient::annotatedRegionsChanged):
483         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
484         (-[WebView _dashboardRegions]):
485
486 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
487
488         Unreviewed, rolling out r130811 and r130821.
489         http://trac.webkit.org/changeset/130811
490         http://trac.webkit.org/changeset/130821
491         https://bugs.webkit.org/show_bug.cgi?id=98831
492
493         Broke date-suggestion-picker-appearance-with-scroll-bar.html
494         (Requested by abarth|gardening on #webkit).
495
496         * WebView/WebFullScreenController.mm:
497         (screenRectOfContents):
498         * WebView/WebRenderNode.mm:
499         (copyRenderNode):
500
501 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
502
503         Throttle DOM timers on hidden pages.
504         https://bugs.webkit.org/show_bug.cgi?id=98474
505
506         Reviewed by Maciej Stachowiak.
507
508         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
509         DumpRenderTree to modify the visibility state of a page.  The latter
510         is needed to test throttling of timers on hidden pages through DumpRenderTree.
511
512         * Configurations/FeatureDefines.xcconfig:
513         * WebView/WebView.mm:
514         (-[WebView _setVisibilityState:isInitialState:]):
515         * WebView/WebViewPrivate.h:
516
517 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
518
519         Rename first/second to key/value in HashMap iterators
520         https://bugs.webkit.org/show_bug.cgi?id=82784
521
522         Reviewed by Eric Seidel.
523
524         * History/WebHistory.mm:
525         (-[WebHistoryPrivate removeItemFromDateCaches:]):
526         (-[WebHistoryPrivate orderedLastVisitedDays]):
527         (WebHistoryWriter::WebHistoryWriter):
528         * Misc/WebCoreStatistics.mm:
529         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
530         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
531         * Plugins/Hosted/NetscapePluginHostManager.mm:
532         (WebKit::NetscapePluginHostManager::hostForPlugin):
533         (WebKit::NetscapePluginHostManager::pluginHostDied):
534         (WebKit::NetscapePluginHostManager::didCreateWindow):
535         * Plugins/Hosted/NetscapePluginHostProxy.mm:
536         (WebKit::NetscapePluginHostProxy::pluginHostDied):
537         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
538         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
539         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
540         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
541         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
542         (WebKit::NetscapePluginInstanceProxy::destroy):
543         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
544         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
545         * Plugins/Hosted/ProxyInstance.mm:
546         (WebKit::ProxyInstance::methodNamed):
547         (WebKit::ProxyInstance::fieldNamed):
548         * Plugins/WebNetscapePluginView.mm:
549         (-[WebNetscapePluginView stopTimers]):
550         (-[WebNetscapePluginView startTimers]):
551         * WebCoreSupport/WebNotificationClient.mm:
552         (WebNotificationClient::show):
553         (WebNotificationClient::clearNotifications):
554         (WebNotificationClient::notificationObjectDestroyed):
555         * WebView/WebHTMLView.mm:
556         (commandNameForSelector):
557
558 2012-10-06  Dan Bernstein  <mitz@apple.com>
559
560         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
561         https://bugs.webkit.org/show_bug.cgi?id=98601
562
563         Reviewed by Darin Adler.
564
565         * WebView/WebView.mm:
566         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
567         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
568         the value YES.
569
570 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
571
572         Unreviewed, rolling out r130556 and r130564.
573         http://trac.webkit.org/changeset/130556
574         http://trac.webkit.org/changeset/130564
575         https://bugs.webkit.org/show_bug.cgi?id=98572
576
577         The patch wasn't reviewed by a reviewer and it is breaking
578         Chromium Windows (Requested by jchaffraix on #webkit).
579
580         * WebCoreSupport/WebSystemInterface.mm:
581         (InitWebCoreSystemInterface):
582
583 2012-10-05  Tim Horton  <timothy_horton@apple.com>
584
585         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
586         https://bugs.webkit.org/show_bug.cgi?id=98565
587         <rdar://problem/12436468>
588
589         Reviewed by Simon Fraser.
590
591         Add wkCGContextDrawsWithCorrectShadowOffsets.
592
593         * WebCoreSupport/WebSystemInterface.mm:
594         (InitWebCoreSystemInterface):
595
596 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
597
598         Allow ports to override text track rendering style
599         https://bugs.webkit.org/show_bug.cgi?id=97800
600         <rdar://problem/12044964>
601
602         Reviewed by Silvia Pfeiffer.
603
604         Add WCSI support for new WKSI caption functions.
605
606         * WebCoreSupport/WebSystemInterface.mm:
607         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
608
609 2012-10-04  Jon Lee  <jonlee@apple.com>
610
611         Add a setting to enable plugin snapshotting
612         https://bugs.webkit.org/show_bug.cgi?id=98319
613         <rdar://problem/12426480>
614
615         Reviewed by Brady Eidson.
616
617         Expose plugInSnapshottingEnabled preference to WebKit clients.
618
619         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
620         * WebView/WebPreferences.mm:
621         (+[WebPreferences initialize]): Setting is turned off by default.
622         (-[WebPreferences plugInSnapshottingEnabled]):
623         (-[WebPreferences setPlugInSnapshottingEnabled:]):
624         * WebView/WebPreferencesPrivate.h:
625         * WebView/WebView.mm:
626         (-[WebView _preferencesChanged:]): Update settings based on preference.
627
628 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
629
630         Turn Compositing on by default in WebKit build
631         https://bugs.webkit.org/show_bug.cgi?id=98315
632
633         Reviewed by Simon Fraser.
634
635         enable -webkit-blend-mode on trunk.
636
637         * Configurations/FeatureDefines.xcconfig:
638
639 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
640
641         Final part of "sync" to "flush" renaming
642         https://bugs.webkit.org/show_bug.cgi?id=98430
643
644         Reviewed by Tim Horton.
645
646         Change method names on GraphicsLayer and GraphicsLayerClient that
647         refer to "sync" to use the term "flush" instead, to be consistent
648         with the rest of the code.
649
650         * WebView/WebView.mm:
651
652 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
653
654         [WK2] Support all attributes of GeolocationPosition
655         https://bugs.webkit.org/show_bug.cgi?id=98212
656
657         Reviewed by Sam Weinig.
658
659         Add an internal constructor for the sake of testing.
660         A similar API is used on iOS.
661
662         * WebView/WebGeolocationPosition.mm:
663         (-[WebGeolocationPosition initWithGeolocationPosition:]):
664
665 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
666
667         Standardize on "flush" terminology for compositing layer flushing/syncing
668         https://bugs.webkit.org/show_bug.cgi?id=98321
669
670         Reviewed by Simon Fraser.
671
672         Rename compositing-related methods that refer to "syncing" to instead
673         refer to "flushing".
674
675         * WebCoreSupport/WebChromeClient.h:
676         * WebCoreSupport/WebChromeClient.mm:
677         (WebChromeClient::scheduleCompositingLayerFlush):
678         * WebView/WebView.mm:
679         (-[WebView _flushCompositingChanges]):
680         (LayerFlushController::flushLayers):
681         (-[WebView _scheduleCompositingLayerFlush]):
682         * WebView/WebViewInternal.h:
683
684 == Rolled over to ChangeLog-2012-10-02 ==