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