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