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