62fe94d8cc12ef7e460de011f6c42e43525a4edf
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2013-04-15  Anders Carlsson  <andersca@apple.com>
2
3         plugins/get-url-beforeunload-destroys-plugin.html crashes in WebKit1
4         https://bugs.webkit.org/show_bug.cgi?id=114653
5         <rdar://problem/13659541>
6
7         Reviewed by Sam Weinig.
8
9         Protect the NetscapePluginInstanceProxy since it can otherwise go away.
10
11         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
12         (WebKit::NetscapePluginInstanceProxy::performRequest):
13
14 2013-04-14  Sam Weinig  <sam@webkit.org>
15
16         Move Mac specific snapshotting code into its own file
17         https://bugs.webkit.org/show_bug.cgi?id=114597
18
19         Reviewed by Andreas Kling.
20
21         * WebView/WebHTMLView.mm:
22         (-[WebHTMLView _selectionDraggingImage]):
23         (-[WebHTMLView selectionImageForcingBlackText:]):
24
25 2013-04-14  Andreas Kling  <akling@apple.com>
26
27         Move CSSOM classes to using MutableStylePropertySet over StylePropertySet.
28         <http://webkit.org/b/114581>
29
30         Reviewed by Anders Carlsson.
31
32         * WebCoreSupport/WebEditorClient.mm:
33         (WebEditorClient::shouldApplyStyle):
34         * WebView/WebFrame.mm:
35         (-[WebFrame _typingStyle]):
36
37 2013-04-10  Sam Weinig  <sam@webkit.org>
38
39         Make Frame's ScriptController an OwnPtr and remove the #include
40         https://bugs.webkit.org/show_bug.cgi?id=114105
41
42         Reviewed by Dean Jackson.
43
44         * Plugins/Hosted/HostedNetscapePluginStream.mm:
45         * Plugins/WebNetscapePluginStream.mm:
46         * Plugins/WebPluginContainerCheck.mm:
47         * WebCoreSupport/WebGeolocationClient.mm:
48         * WebCoreSupport/WebInspectorClient.mm:
49         * WebView/WebFrame.mm:
50
51 2013-04-13  Anders Carlsson  <andersca@apple.com>
52
53         Add form delegate method that's invoked right before sending a submit event to a form element
54         https://bugs.webkit.org/show_bug.cgi?id=114575
55
56         Reviewed by Dan Bernstein.
57
58         * MigrateHeaders.make:
59         Copy DOMHTMLFormElementInternal.h over to WebKit.
60
61         * WebCoreSupport/WebFrameLoaderClient.mm:
62         (makeFormFieldValuesDictionary):
63         New helper function that returns the values of a form in dictionary form.
64
65         (WebFrameLoaderClient::dispatchWillSendSubmitEvent):
66         Call the right delegate method.
67
68         (WebFrameLoaderClient::dispatchWillSubmitForm):
69         Use the helper function.
70
71         * WebView/WebDelegateImplementationCaching.h:
72         * WebView/WebDelegateImplementationCaching.mm:
73         (CallFormDelegate):
74         Add another overload.
75
76         * WebView/WebFormDelegate.h:
77         * WebView/WebFormDelegate.m:
78         (-[WebFormDelegate willSendSubmitEventToForm:inFrame:withValues:]):
79         Add a default implementation.
80
81 2013-04-10  Benjamin Poulain  <bpoulain@apple.com>
82
83         Mass remove all the empty directories
84
85         Rubberstamped by Ryosuke Niwa.
86
87         * ForwardingHeaders/wtf/unicode/icu: Removed.
88
89 2013-04-08  Anders Carlsson  <andersca@apple.com>
90
91         Remove unneeded headers from FrameLoader.h
92         https://bugs.webkit.org/show_bug.cgi?id=114223
93
94         Reviewed by Geoffrey Garen.
95
96         Include HistoryController.h from WebCore.
97
98         * WebCoreSupport/WebFrameLoaderClient.mm:
99         * WebView/WebView.mm:
100
101 2013-04-09  Geoffrey Garen  <ggaren@apple.com>
102
103         Removed bitrotted TimeoutChecker code
104         https://bugs.webkit.org/show_bug.cgi?id=114336
105
106         Reviewed by Alexey Proskuryakov.
107
108         This mechanism hasn't worked for a while.
109
110         MarkL is working on a new version of this feature with a distinct
111         implementation.
112
113         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
114         (WebKit::NetscapePluginInstanceProxy::evaluate):
115
116 2013-04-08  Benjamin Poulain  <benjamin@webkit.org>
117
118         Remove HTML Notification
119         https://bugs.webkit.org/show_bug.cgi?id=114231
120
121         Reviewed by Ryosuke Niwa.
122
123         * Configurations/FeatureDefines.xcconfig:
124
125 2013-04-05  Anders Carlsson  <andersca@apple.com>
126
127         Stop building Objective-C bindings for the SVG DOM
128         https://bugs.webkit.org/show_bug.cgi?id=114076
129
130         Reviewed by Geoffrey Garen.
131
132         The DOM SVG Objective-C bindings have never been exposed as API, and not building them cuts WebCore build by 10%.
133
134         * Configurations/FeatureDefines.xcconfig:
135         * MigrateHeaders.make:
136
137 2013-04-05  Timothy Hatcher  <timothy@apple.com>
138
139         Allow the Web Inspector to use WebSQL.
140
141         This fixes an exception on load in the Safari Web Inspector.
142
143         https://webkit.org/b/114040
144         rdar://problem/13581422
145
146         Reviewed by Anders Carlsson.
147
148         * WebCoreSupport/WebInspectorClient.mm:
149         (-[WebInspectorWindowController webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Added.
150
151 2013-04-02  Timothy Hatcher  <timothy@apple.com>
152
153         Provide a user default that can be used to disable docking of the Web Inspector.
154
155         The user default is "WebKit Web Inspector Setting - inspectorAttachDisabled".
156
157         https://webkit.org/b/113779
158         rdar://problem/13446021
159
160         Reviewed by Joseph Pecoraro.
161
162         * WebCoreSupport/WebInspectorClient.h:
163         (WebInspectorClient::inspectorAttachDisabled): Added.
164         (WebInspectorClient::setInspectorAttachDisabled): Added.
165
166         * WebCoreSupport/WebInspectorClient.mm:
167         (WebInspectorClient::didResizeMainFrame):
168         (-[WebInspectorWindowController window]):
169         (-[WebInspectorWindowController showWindow:]):
170         Check inspectorAttachDisabled() in places where we attach or update the dock button.
171
172 2013-04-02  Alexey Proskuryakov  <ap@apple.com>
173
174         [Mac] Remove WKCreateNSURLConnectionDelegateProxy
175         https://bugs.webkit.org/show_bug.cgi?id=113810
176
177         Reviewed by Anders Carlsson.
178
179         * WebCoreSupport/WebSystemInterface.mm:
180         (InitWebCoreSystemInterface):
181
182 2013-04-02  Alexey Proskuryakov  <ap@apple.com>
183
184         <rdar://problem/13551119> [WK2] Crashes in NetworkProcess when canceling loads
185         https://bugs.webkit.org/show_bug.cgi?id=113803
186
187         Reviewed by Darin Adler.
188
189         * WebCoreSupport/WebFrameLoaderClient.mm:
190         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
191         Just pass nil instead of proxy.
192
193 2013-04-01  Ryosuke Niwa  <rniwa@webkit.org>
194
195         WebKit/mac shouldn't have code for Mac 10.5 and earlier
196         https://bugs.webkit.org/show_bug.cgi?id=113746
197
198         Reviewed by Darin Adler.
199
200         Deleted the code for 10.5 and removed if-defs for 10.6.
201
202         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
203         (-[WebHostedNetscapePluginView createPlugin]):
204         * Plugins/WebBaseNetscapePluginView.mm:
205         (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
206         * Plugins/WebNetscapePluginView.mm:
207         (-[WebNetscapePluginView createPlugin]):
208         (-[WebNetscapePluginView getVariable:forURL:value:length:]):
209         (-[WebNetscapePluginView _workaroundSilverlightFullscreenBug:]):
210         * WebCoreSupport/WebChromeClient.mm:
211         (WebChromeClient::selectItemWritingDirectionIsNatural):
212         (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection):
213         * WebCoreSupport/WebEditorClient.mm:
214         (core):
215         (WebEditorClient::checkTextOfParagraph):
216         (WebEditorClient::requestCheckingOfString):
217         * WebView/WebDynamicScrollBarsView.mm:
218         (-[WebDynamicScrollBarsView reflectScrolledClipView:]):
219         * WebView/WebFullScreenController.mm:
220         (-[WebFullScreenController _updateMenuAndDockForFullScreen]):
221         * WebView/WebHTMLView.mm:
222         (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]):
223         (-[WebHTMLView _frameOrBoundsChanged]):
224         (+[WebHTMLView _insertablePasteboardTypes]):
225         (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]):
226         (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
227         (writingDirectionKeyBindingsEnabled):
228         (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
229         (-[WebHTMLView attachRootLayer:]):
230         * WebView/WebHTMLViewInternal.h:
231         * WebView/WebPDFDocumentExtras.mm:
232         * WebView/WebPreferences.mm:
233         (+[WebPreferences initialize]):
234         * WebView/WebResourceInternal.h:
235         * WebView/WebScriptDebugDelegate.h:
236         * WebView/WebView.mm:
237         (-[WebView _commonInitializationWithFrameName:groupName:]):
238         (-[WebView _preferencesChanged:]):
239         (+[WebView initialize]):
240         (clientNeedsWebViewInitThreadWorkaround):
241         (-[WebView validateUserInterfaceItemWithoutDelegate:]):
242         (-[WebView setGrammarCheckingEnabled:]):
243         (-[WebView isAutomaticQuoteSubstitutionEnabled]):
244         (-[WebView isAutomaticLinkDetectionEnabled]):
245         (-[WebView isAutomaticDashSubstitutionEnabled]):
246         (-[WebView isAutomaticTextReplacementEnabled]):
247         (-[WebView isAutomaticSpellingCorrectionEnabled]):
248         (-[WebView _searchWithSpotlightFromMenu:]):
249         (WebInstallMemoryPressureHandler):
250         * WebView/WebViewPrivate.h:
251
252 2013-04-01  Tim Horton  <timothy_horton@apple.com>
253
254         WebCache should do the normal initialization dance
255         https://bugs.webkit.org/show_bug.cgi?id=113722
256         <rdar://problem/13424530>
257
258         Reviewed by Anders Carlsson.
259
260         In case a WebKit1 client uses WebCache before creating a WebView (or any of the other
261         initialization-ready classes), we should do the initialization work in WebCache as well.
262
263         * Misc/WebCache.mm:
264         (+[WebCache initialize]):
265
266 2013-03-26  Timothy Hatcher  <timothy@apple.com>
267
268         Add support for dock-to-right of the Web Inspector in the Mac port.
269
270         Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
271
272         https://webkit.org/b/113341
273         rdar://problem/10368152
274
275         Reviewed by Joseph Pecoraro.
276
277         * Resources/Dock.pdf: Updated.
278         * WebCoreSupport/WebInspectorClient.h:
279         (WebInspectorFrontendClient):
280         * WebCoreSupport/WebInspectorClient.mm:
281         (WebInspectorFrontendClient::frontendLoaded):
282         (WebInspectorFrontendClient::attachWindow):
283         (WebInspectorFrontendClient::setAttachedWindowWidth):
284         (-[WebInspectorWindowController attachWindow:]):
285         (-[WebInspectorWindowController attach]):
286         (-[WebInspectorWindowController detach]):
287         * WebInspector/WebInspectorFrontend.mm:
288         (-[WebInspectorFrontend attach]):
289
290 2013-03-26  Tim Horton  <timothy_horton@apple.com>
291
292         Unreviewed attempted cr-mac build fix.
293
294         * WebCoreSupport/WebSystemInterface.mm:
295         (InitWebCoreSystemInterface):
296
297 2013-03-26  Hayato Ito  <hayato@chromium.org>
298
299         Allow ShadowContents in HitTests by default.
300         https://bugs.webkit.org/show_bug.cgi?id=113171
301
302         Reviewed by Dimitri Glazkov.
303
304         * WebView/WebFrame.mm:
305         (-[WebFrame elementAtPoint:]):
306         * WebView/WebHTMLView.mm:
307         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
308
309 2013-03-26  Tim Horton  <timothy_horton@apple.com>
310
311         [ca] Tell CA to clean up unused resources if a given WebProcess won't be drawing
312         https://bugs.webkit.org/show_bug.cgi?id=107539
313         <rdar://problem/13032692>
314
315         Reviewed by Simon Fraser.
316
317         Update WebSystemInterface.
318
319         * WebCoreSupport/WebSystemInterface.mm:
320         (InitWebCoreSystemInterface):
321
322 2013-03-26  Sergio Villar Senin  <svillar@igalia.com>
323
324         Implement overtype mode for editable content
325         https://bugs.webkit.org/show_bug.cgi?id=112126
326
327         Reviewed by Ryosuke Niwa.
328
329         Added the OverWrite editing command to the WebCore editing
330         commands lists.
331
332         * WebView/WebHTMLView.mm:
333         * WebView/WebView.h:
334         * WebView/WebView.mm:
335
336 2013-03-25  Kent Tamura  <tkent@chromium.org>
337
338         Rename ENABLE_INPUT_TYPE_DATETIME
339         https://bugs.webkit.org/show_bug.cgi?id=113254
340
341         Reviewed by Kentaro Hara.
342
343         Rename ENABLE_INPUT_TYPE_DATETIME to ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE.
344         Actually I'd like to remove the code, but we shouldn't remove it yet
345         because we shipped products with it on some platforms.
346
347         * Configurations/FeatureDefines.xcconfig:
348
349 2013-03-21  Kiran Muppala  <cmuppala@apple.com>
350
351         Add runtime setting for hidden page DOM timer throttling and CSS animation suspension
352         https://bugs.webkit.org/show_bug.cgi?id=112308
353
354         Reviewed by Gavin Barraclough.
355
356         Add private preference for enabling/disabling hidden page DOM timer
357         throttling and CSS animation suspension.  The preference should be
358         disabled by default to avoid compatibility issues.
359
360         * WebView/WebPreferenceKeysPrivate.h:
361         * WebView/WebPreferences.mm:
362         (+[WebPreferences initialize]):
363         (-[WebPreferences hiddenPageDOMTimerThrottlingEnabled]):
364         (-[WebPreferences setHiddenPageDOMTimerThrottlingEnabled:]):
365         (-[WebPreferences hiddenPageCSSAnimationSuspensionEnabled]):
366         (-[WebPreferences setHiddenPageCSSAnimationSuspensionEnabled:]):
367         * WebView/WebPreferencesPrivate.h:
368         * WebView/WebView.mm:
369         (-[WebView _preferencesChanged:]):
370
371 2013-03-19  Ryosuke Niwa  <rniwa@webkit.org>
372
373         Another Mac build fix attempt after r146239.
374
375         * WebCoreSupport/WebFrameNetworkingContext.h:
376         (WebFrameNetworkingContext):
377
378 2013-03-19  Ryosuke Niwa  <rniwa@webkit.org>
379
380         Mac build fix attempt after r146239.
381
382         * WebCoreSupport/WebFrameNetworkingContext.h:
383
384 2013-03-19  Sergey Ryazanov  <serya@chromium.org>
385
386         Web Inspector: split Console into two entities, a web-facing bound object and page console.
387         https://bugs.webkit.org/show_bug.cgi?id=111578
388
389         Reviewed by Vsevolod Vlasov.
390
391         Otherwise, a lot of logging in WebCore needs to go through the DOMWindow which is unnecessary.
392
393         * Misc/WebCoreStatistics.mm:
394         (+[WebCoreStatistics shouldPrintExceptions]):
395         (+[WebCoreStatistics setShouldPrintExceptions:]):
396
397 2013-03-17  Adam Barth  <abarth@webkit.org>
398
399         Legacy CSS vendor prefixes should only work for Dashboard
400         https://bugs.webkit.org/show_bug.cgi?id=111890
401
402         Reviewed by Eric Seidel.
403
404         Enable legacy CSS vendor prefixes when we've been asked to turn on
405         Dashboard compatibility mode.
406
407         * WebView/WebView.mm:
408         (-[WebView _setDashboardBehavior:to:]):
409
410 2013-03-16  Pratik Solanki  <psolanki@apple.com>
411
412         Disable High DPI Canvas on iOS
413         https://bugs.webkit.org/show_bug.cgi?id=112511
414
415         Reviewed by Joseph Pecoraro.
416
417         * Configurations/FeatureDefines.xcconfig:
418
419 2013-03-15  Timothy Hatcher  <timothy@apple.com>
420
421         Disable suppressesIncrementalRendering for the Web Inspector.
422
423         This ends up causing the Inspector to show blank for a couple seconds before
424         it does its first paint. During that time the bare window chrome is showing
425         when the Inspector's background and other simple elements count be painting.
426         This causes the Inspector to look like it is loading slower than reality.
427
428         https://bugs.webkit.org/show_bug.cgi?id=112300
429         rdar://problem/13412219
430  
431         Reviewed by Geoff Garen.
432
433         * WebCoreSupport/WebInspectorClient.mm:
434         (-[WebInspectorWindowController init]): Disable suppressesIncrementalRendering.
435
436 2013-03-15  Nate Chapin  <japhet@chromium.org>
437
438         Hide MainResourceLoader from the outside world
439         https://bugs.webkit.org/show_bug.cgi?id=109971
440
441         Reviewed by Adam Barth.
442
443         * WebCoreSupport/WebFrameLoaderClient.h:
444         (WebFrameLoaderClient):
445         * WebCoreSupport/WebFrameLoaderClient.mm:
446         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
447
448 2013-03-15  Abhishek Arya  <inferno@chromium.org>
449
450         Replace static_casts with to* helper functions.
451         https://bugs.webkit.org/show_bug.cgi?id=112401
452
453         Reviewed by Stephen Chenney.
454
455         to* helper functions are preferred over static_cast calls since they
456         help to catch bad casts easily on the testing infrastructure.
457
458         * WebView/WebRenderNode.mm:
459         (copyRenderNode):
460         * WebView/WebView.mm:
461         (-[WebView _addScrollerDashboardRegionsForFrameView:dashboardRegions:]):
462
463 2013-03-14  Manuel Rego Casasnovas  <rego@igalia.com>
464
465         Add selectTrailingWhitespaceEnabled setting to WebCore::Page
466         https://bugs.webkit.org/show_bug.cgi?id=109404
467
468         Reviewed by Tony Chang.
469
470         Use new settings for smartInsertDeleteEnabled and
471         selectTrailingWhitespaceEnabled.
472
473         * WebCoreSupport/WebEditorClient.mm:
474         (WebEditorClient::smartInsertDeleteEnabled):
475         (WebEditorClient::isSelectTrailingWhitespaceEnabled):
476         * WebView/WebView.mm:
477         (-[WebView _commonInitializationWithFrameName:groupName:]): Initialize
478         settings from NSUserDefaults.
479         (-[WebView setSelectTrailingWhitespaceEnabled:]):
480         (-[WebView isSelectTrailingWhitespaceEnabled]):
481         (-[WebView setSmartInsertDeleteEnabled:]):
482         (-[WebView smartInsertDeleteEnabled]):
483         * WebView/WebViewData.h:
484         * WebView/WebViewData.mm:
485         (-[WebViewPrivate init]):
486
487 2013-03-14  Abhishek Arya  <inferno@chromium.org>
488
489         Replace static_casts with to* helper functions.
490         https://bugs.webkit.org/show_bug.cgi?id=112296
491
492         Reviewed by Kentaro Hara.
493
494         to* helper functions are preferred over static_cast calls since they
495         help to catch bad casts easily on the testing infrastructure.
496
497         * WebCoreSupport/WebFrameLoaderClient.mm:
498         (applyAppleDictionaryApplicationQuirkNonInlinePart):
499         * WebView/WebHTMLRepresentation.mm:
500         (searchForLabelsBeforeElement):
501
502 2013-03-14  Alice Liu  <alice.liu@apple.com>
503
504         Add to HistoryItem a way to know if its underlying CachedPage has expired.
505         https://bugs.webkit.org/show_bug.cgi?id=110652
506
507         Reviewed by Brady Eidson.
508
509         * History/WebHistoryItem.mm:
510         (-[WebHistoryItem _isInPageCache]): Added. Just calls and returns core imple's function. 
511         (-[WebHistoryItem _hasCachedPageExpired]): Same thing. 
512         * History/WebHistoryItemPrivate.h:
513         * WebView/WebPreferences.mm:
514         (-[WebPreferences _backForwardCacheExpirationInterval]): Address fixme, now that WebCore::Settings
515         has getters and setters with default value.
516         * WebView/WebView.mm:
517         (-[WebView _preferencesChanged:]): call setBackForwardCacheExpirationInterval similar to other settings.
518
519 2013-03-13  Rik Cabanier  <cabanier@adobe.com>
520
521         create runtime flags for CSS Compositing
522         https://bugs.webkit.org/show_bug.cgi?id=111818
523
524         Reviewed by Ryosuke Niwa.
525
526         Added a preference to enable CSS compositing.
527
528         * WebView/WebPreferenceKeysPrivate.h:
529         * WebView/WebPreferences.mm:
530         (+[WebPreferences initialize]):
531         (-[WebPreferences cssCompositingEnabled]):
532         (-[WebPreferences setCSSCompositingEnabled:]):
533         * WebView/WebPreferencesPrivate.h:
534         * WebView/WebView.mm:
535         (-[WebView _preferencesChanged:]):
536
537 2013-03-13  Ryosuke Niwa  <rniwa@webkit.org>
538
539         Threaded HTML Parser is missing feature define flags in all but Chromium port's build files
540         https://bugs.webkit.org/show_bug.cgi?id=112277
541
542         Reviewed by Adam Barth.
543
544         * Configurations/FeatureDefines.xcconfig:
545
546 2013-03-13  Pavel Feldman  <pfeldman@chromium.org>
547
548         Web Inspector: get rid of hiddenPanels filter
549         https://bugs.webkit.org/show_bug.cgi?id=112252
550
551         Reviewed by Vsevolod Vlasov.
552
553         * WebCoreSupport/WebInspectorClient.h:
554         (WebInspectorFrontendClient):
555         * WebCoreSupport/WebInspectorClient.mm:
556         * WebKit.order:
557
558 2013-03-12  Geoffrey Garen  <ggaren@apple.com>
559
560         Moved RunLoopTimer and SchedulePair to WTF
561         https://bugs.webkit.org/show_bug.cgi?id=112171
562
563         Reviewed by Oliver Hunt.
564
565         This will allow us to use timers in lower level primitives without
566         duplicating all the code.
567
568         * WebCoreSupport/WebFrameNetworkingContext.h:
569         (WebFrameNetworkingContext):
570
571 2013-03-12  Abhishek Arya  <inferno@chromium.org>
572
573         Replace static_casts with to* functions.
574         https://bugs.webkit.org/show_bug.cgi?id=112072
575
576         Reviewed by Philip Rogers.
577
578         to* functions are preferred over static_cast calls since they
579         help to catch bad casts easily on the testing infrastructure.
580
581         * WebView/WebView.mm:
582         (-[WebView _enterFullscreenForNode:WebCore::]):
583
584 2013-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
585
586         Unreviewed, rolling out r145462.
587         http://trac.webkit.org/changeset/145462
588         https://bugs.webkit.org/show_bug.cgi?id=112097
589
590         Compilation failure in PluginView.cpp (Requested by jamesr_ on
591         #webkit).
592
593         * WebView/WebView.mm:
594         (-[WebView _enterFullscreenForNode:WebCore::]):
595
596 2013-03-11  Abhishek Arya  <inferno@chromium.org>
597
598         Replace static_casts with to* functions.
599         https://bugs.webkit.org/show_bug.cgi?id=112072
600
601         Reviewed by Philip Rogers.
602
603         to* functions are preferred over static_cast calls since they
604         help to catch bad casts easily on the testing infrastructure.
605
606         * WebView/WebView.mm:
607         (-[WebView _enterFullscreenForNode:WebCore::]):
608
609 2013-03-11  Jochen Eisinger  <jochen@chromium.org>
610
611         Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture
612         https://bugs.webkit.org/show_bug.cgi?id=111959
613
614         Reviewed by Alexey Proskuryakov.
615
616         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
617         (WebKit::NetscapePluginInstanceProxy::evaluate):
618         * Plugins/WebNetscapePluginView.mm:
619         (-[WebNetscapePluginView sendEvent:isDrawRect:]):
620
621 2013-03-11  Abhishek Arya  <inferno@chromium.org>
622
623         Replace static_cast with to* helper functions.
624         https://bugs.webkit.org/show_bug.cgi?id=112045
625
626         Reviewed by Eric Seidel.
627
628         * WebView/WebRenderLayer.mm:
629         (+[WebRenderLayer nameForLayer:]):
630
631 2013-03-11  Jer Noble  <jer.noble@apple.com>
632
633         Unreviewed build fix.  Remove stray brace which crept into r145409.
634
635         * WebView/WebFullScreenController.mm:
636         (-[WebFullScreenController performClose:]):
637
638 2013-01-30  Jer Noble  <jer.noble@apple.com>
639
640         Mac: Cmd-w should close full screen window.
641         https://bugs.webkit.org/show_bug.cgi?id=108406
642
643         Reviewed by Darin Adler.
644
645         Allow the user to close the full screen window with Cmd-w by making the full screen window
646         closable, and by intercepting performClose:.
647
648         * WebView/WebFullScreenController.mm:
649         (-[WebFullScreenController init]): Create a closable full screen window.
650         (-[WebFullScreenController performClose:]): When we receive a close request in full screen mode,
651             animate out of full screen.
652
653 2013-03-07  Anders Carlsson  <andersca@apple.com>
654
655         Add didFocusTextField:inFrame to WebFormDelegate
656         https://bugs.webkit.org/show_bug.cgi?id=111804
657
658         Reviewed by Dan Bernstein.
659
660         * WebCoreSupport/WebChromeClient.mm:
661         (WebChromeClient::focusedNodeChanged):
662         * WebView/WebFormDelegate.h:
663         * WebView/WebFormDelegate.m:
664         (-[WebFormDelegate didFocusTextField:inFrame:]):
665
666 2013-03-04  Jer Noble  <jer.noble@apple.com>
667
668         Default mouse cursor behavior should be auto-hide for full screen video with custom controls
669         https://bugs.webkit.org/show_bug.cgi?id=107601
670
671         Reviewed by Beth Dakin.
672
673         Enable the CURSOR_VISIBILITY feature.
674
675         * Configurations/FeatureDefines.xcconfig:
676
677 2013-03-05  Geoffrey Garen  <ggaren@apple.com>
678
679         Removed some dead code in the page cache
680         https://bugs.webkit.org/show_bug.cgi?id=111525
681
682         Reviewed by Alexey Proskuryakov.
683
684         Page cache autorelease doesn't exist anymore, so there's no need to keep
685         around these olds hacks.
686
687         This fixes <rdar://problem/4886761> Fix bizarre WebWindowWatcher policy in WebHistoryItem.
688
689         * History/WebHistoryItem.mm:
690         (+[WebHistoryItem _releaseAllPendingPageCaches]):
691         * History/WebHistoryItemInternal.h:
692         * Misc/WebCoreStatistics.mm:
693         (+[WebCoreStatistics autoreleasedPageCount]):
694         * WebView/WebView.mm:
695         (-[WebView _commonInitializationWithFrameName:groupName:]):
696
697 2013-03-06  Dmitry Zvorygin  <zvorygin@chromium.org>
698
699         Introduce new message sources for logging.
700         https://bugs.webkit.org/show_bug.cgi?id=110968
701
702         Reviewed by Pavel Feldman.
703
704         * WebCoreSupport/WebChromeClient.mm:
705         * WebView/WebUIDelegatePrivate.h:
706
707 2013-03-05  Kent Tamura  <tkent@chromium.org>
708
709         Rename WebCore/editing/visible_units.* to VisibleUnits.*
710         https://bugs.webkit.org/show_bug.cgi?id=111426
711
712         Reviewed by Alexey Proskuryakov.
713
714         * WebView/WebFrame.mm:
715
716 2013-03-05  James Robinson  <jamesr@chromium.org>
717
718         ContainerNode::setActive should not sleep for 100ms on platforms that do not implement synchronous repaint(true) semantics
719         https://bugs.webkit.org/show_bug.cgi?id=87054
720
721         Reviewed by Darin Adler.
722
723         The Mac WebKit1 port supports immediate invalidations.
724
725         * WebCoreSupport/WebChromeClient.h:
726         (WebChromeClient):
727         * WebCoreSupport/WebChromeClient.mm:
728         (WebChromeClient::supportsImmediateInvalidation):
729
730 2013-03-05  David Kilzer  <ddkilzer@apple.com>
731
732         BUILD FIX (r144698): Only enable SPEECH_SYNTHESIS for Mac
733         <http://webkit.org/b/106742>
734
735         Fixes the following build failures:
736
737             Undefined symbols for architecture i386:
738               "__ZTVN7WebCore25PlatformSpeechSynthesizerE", referenced from:
739                   __ZN7WebCore25PlatformSpeechSynthesizerC2EPNS_31PlatformSpeechSynthesizerClientE in PlatformSpeechSynthesizer.o
740               NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
741               "__ZN7WebCore25PlatformSpeechSynthesizer19initializeVoiceListEv", referenced from:
742                   __ZN7WebCore25PlatformSpeechSynthesizerC2EPNS_31PlatformSpeechSynthesizerClientE in PlatformSpeechSynthesizer.o
743             ld: symbol(s) not found for architecture i386
744
745         * Configurations/FeatureDefines.xcconfig:
746         - Only set ENABLE_SPEECH_SYNTHESIS for the macosx platform.
747
748 2013-03-04  David Kilzer  <ddkilzer@apple.com>
749
750         BUILD FIX (r144662): Import JSBase.h in WebFrameLoadDelegate.h
751         <http://webkit.org/b/111269>
752
753         Fixes the following build failure:
754
755             In file included from Source/WebKit/ios/DefaultDelegates/WebDefaultFrameLoadDelegate.m:11:
756             In file included from Source/WebKit/mac/WebView/WebFrameLoadDelegatePrivate.h:29:
757             Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:41:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
758             #if JSC_OBJC_API_ENABLED
759                 ^
760             Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:207:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
761             #if JSC_OBJC_API_ENABLED
762                 ^
763             2 errors generated.
764
765         * WebView/WebFrameLoadDelegate.h: Include JSBase.h.
766
767 2013-03-04  Chris Fleizach  <cfleizach@apple.com>
768
769         Support WebSpeech - Speech Synthesis
770         https://bugs.webkit.org/show_bug.cgi?id=106742
771
772         Reviewed by Simon Fraser.
773
774         Enable speech synthesis for the Mac.
775
776         * Configurations/FeatureDefines.xcconfig:
777
778 2013-03-04  Mark Hahnenberg  <mhahnenberg@apple.com>
779
780         Remove contextInternalContext from JSContextInternal.h
781         https://bugs.webkit.org/show_bug.cgi?id=111356
782
783         Reviewed by Geoffrey Garen.
784
785         We don't need it any more since we have globalContextRef in JSContext.
786
787         * WebView/WebScriptWorld.mm:
788         (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
789
790 2013-03-04  Laszlo Gombos  <l.gombos@samsung.com>
791
792         JSC_OBJC_API_ENABLED should be removed from FeatureDefines.h
793         https://bugs.webkit.org/show_bug.cgi?id=111269
794
795         Reviewed by Mark Hahnenberg.
796
797         Include JavaScriptCore/JSBase.h for the definition of JSC_OBJC_API_ENABLED.
798
799         * WebView/WebDelegateImplementationCaching.h:
800
801 2013-03-04  Kunihiko Sakamoto  <ksakamoto@chromium.org>
802
803         Add build flag for FontLoader
804         https://bugs.webkit.org/show_bug.cgi?id=111289
805
806         Reviewed by Benjamin Poulain.
807
808         Add ENABLE_FONT_LOAD_EVENTS build flag (disabled by default).
809
810         * Configurations/FeatureDefines.xcconfig:
811
812 2013-03-03  Benjamin Poulain  <benjamin@webkit.org>
813
814         [Mac] Get rid of a useless method from DOMHTMLInputElement
815         https://bugs.webkit.org/show_bug.cgi?id=111279
816
817         Reviewed by Sam Weinig.
818
819         * DOM/WebDOMOperations.mm:
820         * DOM/WebDOMOperationsPrivate.h:
821         setValueForUser: is already privately exposed by DOMHTMLInputElement,
822         no need to have it twice.
823
824 2013-03-03  Adam Barth  <abarth@webkit.org>
825
826         Unreviewed attempted build fix. Adds back some includes removed in
827         http://trac.webkit.org/changeset/144565.
828
829         * DOM/WebDOMOperations.mm:
830         * Misc/WebNSPasteboardExtras.mm:
831         * WebCoreSupport/WebFrameNetworkingContext.mm:
832         * WebView/WebRenderLayer.mm:
833         * WebView/WebRenderNode.mm:
834
835 2013-03-03  Adam Barth  <abarth@webkit.org>
836
837         Unreviewed rollout of http://trac.webkit.org/r144530
838         As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
839         https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
840         large number of ASSERTs in chromium-win.
841
842         * DOM/WebDOMOperations.mm:
843         * Misc/WebNSPasteboardExtras.mm:
844         * WebCoreSupport/WebFrameNetworkingContext.mm:
845         * WebView/WebRenderLayer.mm:
846         * WebView/WebRenderNode.mm:
847
848 2013-02-18  Darin Adler  <darin@apple.com>
849
850         Cut down the number of source files that depend on Clipboard.h
851         https://bugs.webkit.org/show_bug.cgi?id=110030
852
853         Reviewed by Ryosuke Niwa.
854
855         * WebView/WebPDFView.mm: Add include of Clipboard.h since we use it
856         here and the world no longer includes it everywhere.
857
858 2013-03-02  Benjamin Poulain  <bpoulain@apple.com>
859
860         Move computedStyleIncludingVisitedInfo from TestRunner to Internals
861         https://bugs.webkit.org/show_bug.cgi?id=109772
862
863         Reviewed by Andreas Kling.
864
865         * WebView/WebView.mm:
866         * WebView/WebViewPrivate.h:
867
868 2013-03-02  David Kilzer  <ddkilzer@apple.com>
869
870         BUILD FIX (r143637): Predeclare JSContext as an Objective-C class
871         <http://webkit.org/b/106059>
872
873         Fixes the following build failure:
874
875             In file included from Source/WebKit/ios/DefaultDelegates/WebDefaultFrameLoadDelegate.m:11:
876             In file included from Source/WebKit/mac/WebView/WebFrameLoadDelegatePrivate.h:29:
877             Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:215:64: error: expected a type
878             - (void)webView:(WebView *)webView didCreateJavaScriptContext:(JSContext *)context forFrame:(WebFrame *)frame;
879                                                                            ^
880             1 error generated.
881
882         * WebView/WebFrameLoadDelegate.h: Add @class JSContext
883         declaration.
884
885 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
886
887         Reduce amount of rebuilding when touching networking headers
888         https://bugs.webkit.org/show_bug.cgi?id=111035
889
890         Reviewed by Eric Seidel.
891
892         Adding includes that are now necessary because WebCore headers don't have them
893         any more.
894
895         * DOM/WebDOMOperations.mm:
896         * Misc/WebNSPasteboardExtras.mm:
897         * WebCoreSupport/WebFrameNetworkingContext.mm:
898         * WebView/WebRenderLayer.mm:
899         * WebView/WebRenderNode.mm:
900
901 2013-03-01  Jason Anderssen  <janderssen@gmail.com>
902
903         Move markerTextForListItem from TestRunner to Internals
904         https://bugs.webkit.org/show_bug.cgi?id=110939
905
906         Reviewed by Benjamin Poulain.
907
908         * DOM/WebDOMOperations.mm:
909         * DOM/WebDOMOperationsPrivate.h:
910
911 2013-02-28  Sam Weinig  <sam@webkit.org>
912
913         Add SPI for marking a WebView as doing things on behalf of another process
914         https://bugs.webkit.org/show_bug.cgi?id=111125
915
916         Reviewed by Alexey Proskuryakov.
917
918         * WebCoreSupport/WebFrameNetworkingContext.h:
919         (WebFrameNetworkingContext):
920         * WebCoreSupport/WebFrameNetworkingContext.mm:
921         (WebFrameNetworkingContext::sourceApplicationAuditData):
922         * WebView/WebView.mm:
923         (-[WebView _setSourceApplicationAuditData:]):
924         (-[WebView _sourceApplicationAuditData]):
925         * WebView/WebViewData.h:
926         * WebView/WebViewData.mm:
927         (-[WebViewPrivate dealloc]):
928         * WebView/WebViewPrivate.h:
929         Add SPI for setting a source application for a WebView.
930
931 2013-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
932
933         Unreviewed, rolling out r144422 and r144424.
934         http://trac.webkit.org/changeset/144422
935         http://trac.webkit.org/changeset/144424
936         https://bugs.webkit.org/show_bug.cgi?id=111167
937
938         Caused over 20 tests to fail assertion on Chromium Win port as
939         ASSERTION FAILED: m_platformRequestUpdated (Requested by
940         toyoshim on #webkit).
941
942         * DOM/WebDOMOperations.mm:
943         * Misc/WebNSPasteboardExtras.mm:
944         * WebCoreSupport/WebFrameNetworkingContext.mm:
945         * WebView/WebRenderLayer.mm:
946         * WebView/WebRenderNode.mm:
947
948 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
949
950         Reduce amount of rebuilding when touching networking headers
951         https://bugs.webkit.org/show_bug.cgi?id=111035
952
953         Reviewed by Eric Seidel.
954
955         Adding includes that are now necessary because WebCore headers don't have them
956         any more.
957
958         * DOM/WebDOMOperations.mm:
959         * Misc/WebNSPasteboardExtras.mm:
960         * WebCoreSupport/WebFrameNetworkingContext.mm:
961         * WebView/WebRenderLayer.mm:
962         * WebView/WebRenderNode.mm:
963
964 2013-02-27  John Bauman  <jbauman@chromium.org>
965
966         Plugin in iframe may not display
967         https://bugs.webkit.org/show_bug.cgi?id=109879
968
969         Reviewed by Simon Fraser.
970
971         Ensure NetscapePluginWidget informs the plugin view of the cliprect change directly.
972
973         * Plugins/WebBaseNetscapePluginView.h:
974         * WebCoreSupport/WebFrameLoaderClient.mm:
975         (NetscapePluginWidget::clipRectChanged):
976
977 2013-02-26  Alexey Proskuryakov  <ap@apple.com>
978
979         Don't add a body to platform request until necessary
980         https://bugs.webkit.org/show_bug.cgi?id=110900
981
982         Reviewed by Brady Eidson.
983
984         WebKit1 behavior is unchanged, body is added on every conversion.
985
986         * WebCoreSupport/WebFrameLoaderClient.mm:
987         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
988         (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
989         (WebFrameLoaderClient::assignIdentifierToInitialRequest):
990         (WebFrameLoaderClient::dispatchWillSendRequest):
991         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
992         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
993         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
994         (WebFrameLoaderClient::updateGlobalHistory):
995         (WebFrameLoaderClient::canHandleRequest):
996         * WebView/WebDataSource.mm:
997         (-[WebDataSource initialRequest]):
998         (-[WebDataSource request]):
999         * WebView/WebFrame.mm:
1000         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1001
1002 2013-02-27  Glenn Adams  <glenn@skynav.com>
1003
1004         Add ENABLE_CSS3_TEXT_LINE_BREAK flag.
1005         https://bugs.webkit.org/show_bug.cgi?id=110944
1006
1007         Reviewed by Dean Jackson.
1008
1009         * Configurations/FeatureDefines.xcconfig:
1010
1011 2013-02-26  Jer Noble  <jer.noble@apple.com>
1012
1013         Unreviewed build fix; use correct macro for platform name in FeatureDefines.xcconfig.
1014
1015         * Configurations/FeatureDefines.xcconfig:
1016
1017 2013-02-26  Dmitry Zvorygin  <zvorygin@chromium.org>
1018
1019         Merged Tip and Debug log levels for web console.
1020         https://bugs.webkit.org/show_bug.cgi?id=109919
1021
1022         Reviewed by Pavel Feldman.
1023
1024         In every component either TIP or DEBUG level was used for reporting,
1025         but not both. This patch is prerequisite for Web Inspector console log filtering.
1026
1027         * WebCoreSupport/WebChromeClient.mm:
1028         (stringForMessageLevel):
1029         * WebView/WebUIDelegatePrivate.h:
1030
1031
1032 2013-02-21  Jeffrey Pfau  <jpfau@apple.com>
1033
1034         Optionally partition cache to prevent using cache for tracking
1035         https://bugs.webkit.org/show_bug.cgi?id=110269
1036
1037         Reviewed by Maciej Stachowiak.
1038
1039         Update WKSI bindings and add feature defines.
1040
1041         * Configurations/FeatureDefines.xcconfig: Add defines for cache partitioning and public suffix list usage
1042         * WebCoreSupport/WebSystemInterface.mm:
1043         (InitWebCoreSystemInterface):
1044
1045 2013-02-25  Jer Noble  <jer.noble@apple.com>
1046
1047         Normalize ENABLE_ENCRYPTED_MEDIA definitions across all FeatureDefines files.
1048         https://bugs.webkit.org/show_bug.cgi?id=110806
1049
1050         Reviewed by Alexey Proskuryakov.
1051     
1052         Ensure both ENCRYPTED_MEDIA and ENCRYPTED_MEDIA_V2 are enabled on macosx_1090.
1053
1054         * Configurations/FeatureDefines.xcconfig:
1055
1056 2013-02-25  Andreas Kling  <akling@apple.com>
1057
1058         Reduce amount of code that includes StylePropertySet.h
1059         <http://webkit.org/b/101149>
1060
1061         Reviewed by Antti Koivisto.
1062
1063         * WebCoreSupport/WebEditorClient.mm:
1064         * WebView/WebFrame.mm:
1065         * WebView/WebView.mm:
1066
1067 2013-02-24  Andreas Kling  <akling@apple.com>
1068
1069         Reduce include graph of JSDOMBinding.h
1070         <http://webkit.org/b/110709>
1071
1072         Reviewed by Antti Koivisto.
1073
1074         * WebView/WebHTMLView.mm:
1075
1076 2013-02-21  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
1077
1078         Allow to retrieve the request data from abstract TextCheckingRequest to be accessible for WK2
1079         https://bugs.webkit.org/show_bug.cgi?id=110208
1080
1081         Reviewed by Hajime Morrita.
1082
1083         * WebCoreSupport/WebEditorClient.mm:
1084         (WebEditorClient::didCheckSucceed):
1085         (WebEditorClient::requestCheckingOfString):
1086         Extract the request data as it is the member of 'TextCheckingRequest'.
1087
1088 2013-02-19  Mark Hahnenberg  <mhahnenberg@apple.com>
1089
1090         Objective-C API: Need a way to use the Objective-C JavaScript API with WebKit
1091         https://bugs.webkit.org/show_bug.cgi?id=106059
1092
1093         Reviewed by Geoffrey Garen.
1094
1095         Addition of appropriate delegate callbacks and support to the WebKit API.
1096
1097         * WebCoreSupport/WebFrameLoaderClient.mm:
1098         * WebView/WebDelegateImplementationCaching.h:
1099         (WebFrameLoadDelegateImplementationCache):
1100         * WebView/WebFrame.h:
1101         * WebView/WebFrame.mm:
1102         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
1103         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
1104         (-[WebFrame _javaScriptContextForScriptWorld:]):
1105         (-[WebFrame javaScriptContext]):
1106         * WebView/WebFrameLoadDelegate.h:
1107         * WebView/WebFramePrivate.h:
1108         * WebView/WebScriptDebugDelegate.mm:
1109         (-[WebScriptCallFrame _convertValueToObjcValue:JSC::]):
1110         (-[WebScriptCallFrame exception]):
1111         (-[WebScriptCallFrame evaluateWebScript:]):
1112         * WebView/WebScriptWorld.h:
1113         * WebView/WebScriptWorld.mm:
1114         (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
1115         * WebView/WebView.mm:
1116         (-[WebView _cacheFrameLoadDelegateImplementations]):
1117         (aeDescFromJSValue):
1118         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
1119         (-[WebView _computedStyleIncludingVisitedInfo:forElement:]):
1120
1121 2013-02-20  Dirk Schulze  <krit@webkit.org>
1122
1123         Enable CANVAS_PATH flag
1124         https://bugs.webkit.org/show_bug.cgi?id=108508
1125
1126         Reviewed by Simon Fraser.
1127
1128         Enable CANVAS_PATH flag on trunk.
1129
1130         * Configurations/FeatureDefines.xcconfig:
1131
1132 2013-02-19  Tim Horton  <timothy_horton@apple.com>
1133
1134         Clarify isInWindow vs. isVisible path through to RenderLayerCompositor
1135         https://bugs.webkit.org/show_bug.cgi?id=110261
1136         <rdar://problem/13196122>
1137
1138         Reviewed by Simon Fraser.
1139
1140         * WebView/WebView.mm:
1141         (-[WebView viewWillMoveToWindow:]):
1142         (-[WebView viewDidMoveToWindow]):
1143         Use Page::setIsInWindow in addition to willMoveOffscreen/didMoveOnscreen.
1144
1145 2013-02-18  Anders Carlsson  <andersca@apple.com>
1146
1147         Add a DefaultHash for RefPtr<SecurityOrigin>
1148         https://bugs.webkit.org/show_bug.cgi?id=110170
1149
1150         Reviewed by Andreas Kling.
1151
1152         Remove all explicit uses of SecurityOriginHash.
1153
1154         * WebCoreSupport/WebApplicationCache.mm:
1155         (+[WebApplicationCache originsWithCache]):
1156
1157 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
1158
1159         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
1160         https://bugs.webkit.org/show_bug.cgi?id=109996
1161
1162         Reviewed by Simon Fraser.
1163
1164         * WebCoreSupport/WebSystemInterface.mm:
1165         (InitWebCoreSystemInterface):
1166
1167 2013-02-15  Sheriff Bot  <webkit.review.bot@gmail.com>
1168
1169         Unreviewed, rolling out r143088.
1170         http://trac.webkit.org/changeset/143088
1171         https://bugs.webkit.org/show_bug.cgi?id=110000
1172
1173         Breaks the build (Requested by dgorbik on #webkit).
1174
1175         * WebCoreSupport/WebSystemInterface.mm:
1176         (InitWebCoreSystemInterface):
1177
1178 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
1179
1180         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
1181         https://bugs.webkit.org/show_bug.cgi?id=109996
1182
1183         Reviewed by Simon Fraser.
1184
1185         * WebCoreSupport/WebSystemInterface.mm:
1186         (InitWebCoreSystemInterface):
1187
1188 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1189
1190         Simplify hitTestResultAtPoint and nodesFromRect APIs
1191         https://bugs.webkit.org/show_bug.cgi?id=95720
1192
1193         Reviewed by Julien Chaffraix.
1194
1195         Update calls to new API.
1196
1197         * WebCoreSupport/WebFrameLoaderClient.mm:
1198         (WebFrameLoaderClient::actionDictionary):
1199         * WebView/WebFrame.mm:
1200         (-[WebFrame elementAtPoint:]):
1201         * WebView/WebHTMLView.mm:
1202         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
1203
1204 2013-02-14  David Kilzer  <ddkilzer@apple.com>
1205
1206         [Mac] Clean up WARNING_CFLAGS
1207         <http://webkit.org/b/109747>
1208         <rdar://problem/13208373>
1209
1210         Reviewed by Mark Rowe.
1211
1212         * Configurations/Base.xcconfig: Use
1213         GCC_WARN_64_TO_32_BIT_CONVERSION to enable and disable
1214         -Wshorten-64-to-32 rather than WARNING_CFLAGS.
1215
1216 2013-02-13  Zan Dobersek  <zdobersek@igalia.com>
1217
1218         The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
1219         https://bugs.webkit.org/show_bug.cgi?id=109325
1220
1221         Reviewed by Anders Carlsson.
1222
1223         Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
1224         two methods as they're provided by the C++ standard library being used.
1225
1226         * tests/DecimalTest.cpp:
1227         (TEST_F):
1228
1229 2013-02-12  Joseph Pecoraro  <pecoraro@apple.com>
1230
1231         [iOS] Enable PAGE_VISIBILITY_API
1232         https://bugs.webkit.org/show_bug.cgi?id=109399
1233
1234         Reviewed by David Kilzer.
1235
1236         * Configurations/FeatureDefines.xcconfig:
1237
1238 2013-02-12  David Kilzer  <ddkilzer@apple.com>
1239
1240         BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
1241         <https://bugs.webkit.org/show_bug.cgi?id=109534>
1242
1243         Fixes the following build failure:
1244
1245             WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
1246             bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
1247                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
1248
1249         * WebCoreSupport/WebEditorClient.mm:
1250         (WebEditorClient::shouldShowDeleteInterface): Protect with
1251         ENABLE(DELETION_UI) macro.
1252
1253 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
1254
1255         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
1256         https://bugs.webkit.org/show_bug.cgi?id=109534
1257
1258         Reviewed by Anders Carlsson.
1259
1260         * WebCoreSupport/WebEditorClient.h:
1261
1262 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
1263
1264         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
1265         https://bugs.webkit.org/show_bug.cgi?id=109349
1266
1267         Reviewed by Sam Weinig.
1268
1269         * WebView/WebView.mm:
1270         * WebView/WebViewPrivate.h:
1271
1272 2013-02-10  Dan Bernstein  <mitz@apple.com>
1273
1274         Added *.pdf to EXCLUDED_SOURCE_FILE_NAMES_iphoneos.
1275
1276         Rubber-stamped by Anders Carlsson.
1277
1278         * Configurations/WebKit.xcconfig:
1279
1280 2013-02-10  Jae Hyun Park  <jae.park08@gmail.com>
1281
1282         Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
1283         https://bugs.webkit.org/show_bug.cgi?id=104266
1284
1285         Reviewed by Philippe Normand.
1286
1287         Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
1288         the existing macro naming conventions.
1289
1290         From Platform.h
1291         USE() - use a particular third-party library or optional OS service
1292         ENABLE() - turn on a specific feature of WebKit
1293
1294         * WebView/WebView.mm:
1295         (-[WebView _commonInitializationWithFrameName:groupName:]):
1296         (-[WebView _close]):
1297         * WebView/WebViewData.h:
1298         * WebView/WebViewInternal.h:
1299
1300 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
1301
1302         Move workerThreadCount from TestRunner to WebCore Internals
1303         https://bugs.webkit.org/show_bug.cgi?id=109239
1304
1305         Reviewed by Darin Adler.
1306
1307         Get rid of WebWorkersPrivate, which was only needed for DRT.
1308
1309         * WebKit.exp:
1310         * Workers/WebWorkersPrivate.h: Removed.
1311         * Workers/WebWorkersPrivate.mm: Removed.
1312
1313 2013-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
1314
1315         Unreviewed, rolling out r142212.
1316         http://trac.webkit.org/changeset/142212
1317         https://bugs.webkit.org/show_bug.cgi?id=109255
1318
1319         Causes ASSERT(!m_installed) on launch (Requested by smfr on
1320         #webkit).
1321
1322         * WebView/WebView.mm:
1323         (-[WebView _commonInitializationWithFrameName:groupName:]):
1324         (WebInstallMemoryPressureHandler):
1325
1326 2013-02-06  Gavin Barraclough  <barraclough@apple.com>
1327
1328         PluginProcess should quit immediately if idle in response to low-memory notifications
1329         https://bugs.webkit.org/show_bug.cgi?id=109103
1330         <rdar://problem/12679827>
1331
1332         Reviewed by Darin Adler.
1333
1334         * WebView/WebView.mm:
1335         (-[WebView _commonInitializationWithFrameName:groupName:]):
1336             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
1337         (WebInstallMemoryPressureHandler):
1338             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
1339
1340 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
1341
1342         Move pauseAnimation/pauseTransition from TestRunner to Internals
1343         https://bugs.webkit.org/show_bug.cgi?id=109107
1344
1345         Reviewed by Anders Carlsson.
1346
1347         * WebView/WebFrame.mm:
1348         * WebView/WebFramePrivate.h:
1349
1350 2013-02-06  Mike West  <mkwst@chromium.org>
1351
1352         Add an ENABLE_NOSNIFF feature flag.
1353         https://bugs.webkit.org/show_bug.cgi?id=109029
1354
1355         Reviewed by Jochen Eisinger.
1356
1357         This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
1358         when processing script and other resource types.
1359
1360         * Configurations/FeatureDefines.xcconfig:
1361
1362 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
1363
1364         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
1365         https://bugs.webkit.org/show_bug.cgi?id=108741
1366
1367         Reviewed by Tony Chang.
1368
1369         * WebView/WebFrame.mm:
1370         * WebView/WebFramePrivate.h:
1371
1372 2013-02-04  Enrica Casucci  <enrica@apple.com>
1373
1374         Add specific EditActions for Bold and Italic commands.
1375         https://bugs.webkit.org/show_bug.cgi?id=108842.
1376         <rdar://problem/13098252>
1377
1378         Reviewed by Ryosuke Niwa.
1379
1380         * WebCoreSupport/WebEditorClient.mm:
1381         (undoNameForEditAction):
1382
1383 2013-02-03  David Kilzer  <ddkilzer@apple.com>
1384
1385         Upstream ENABLE_PDFKIT_PLUGIN settting
1386         <http://webkit.org/b/108792>
1387
1388         Reviewed by Tim Horton.
1389
1390         * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
1391         on iOS since PDFKit is a Mac-only framework.
1392
1393 2013-02-02  David Kilzer  <ddkilzer@apple.com>
1394
1395         Upstream iOS FeatureDefines
1396         <http://webkit.org/b/108753>
1397
1398         Reviewed by Anders Carlsson.
1399
1400         * Configurations/FeatureDefines.xcconfig:
1401         - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
1402         - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
1403         - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO.  Add
1404           PLATFORM_NAME variant to reduce future merge conflicts. 
1405
1406 2013-02-01  Alexis Menard  <alexis@webkit.org>
1407
1408         Enable unprefixed CSS transitions by default.
1409         https://bugs.webkit.org/show_bug.cgi?id=108216
1410
1411         Reviewed by Dean Jackson.
1412
1413         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
1414         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
1415         guard the unprefixing work for CSS Transforms and animations.
1416
1417         * Configurations/FeatureDefines.xcconfig:
1418
1419 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
1420
1421         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
1422         https://bugs.webkit.org/show_bug.cgi?id=107737
1423
1424         Reviewed by Ryosuke Niwa.
1425
1426         * WebView/WebHTMLView.mm:
1427         (-[WebHTMLView _updateSelectionForInputManager]):
1428
1429 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
1430
1431         Unreviewed, rolling out r141479.
1432         http://trac.webkit.org/changeset/141479
1433         https://bugs.webkit.org/show_bug.cgi?id=108564
1434
1435         breaks chromium test (Requested by morrita on #webkit).
1436
1437         * WebView/WebHTMLView.mm:
1438         (-[WebHTMLView _updateSelectionForInputManager]):
1439
1440 2013-01-31  Enrica Casucci  <enrica@apple.com>
1441
1442         Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
1443         https://bugs.webkit.org/show_bug.cgi?id=108519.
1444
1445         Reviewed by Sam Weinig.
1446
1447         There is no need to use AppKit types here.
1448         baseWritingDirectionForSelectionStart now returns WritingDirection and
1449         WebHTMLView toggleWritingDirection has been modified accordingly.
1450
1451         * WebView/WebHTMLView.mm:
1452         (-[WebHTMLView toggleBaseWritingDirection:]):
1453
1454 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
1455
1456         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
1457         https://bugs.webkit.org/show_bug.cgi?id=107737
1458
1459         Reviewed by Ryosuke Niwa.
1460
1461         * WebView/WebHTMLView.mm:
1462         (-[WebHTMLView _updateSelectionForInputManager]):
1463
1464 2013-01-31  Joseph Pecoraro  <pecoraro@apple.com>
1465
1466         Disable ENABLE_FULLSCREEN_API on iOS
1467         https://bugs.webkit.org/show_bug.cgi?id=108250
1468
1469         Reviewed by Benjamin Poulain.
1470
1471         * Configurations/FeatureDefines.xcconfig:
1472
1473 2013-01-31  Enrica Casucci  <enrica@apple.com>
1474
1475         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
1476         https://bugs.webkit.org/show_bug.cgi?id=108396.
1477         <rdar://problem/12920461>
1478
1479         Reviewed by Alexey Proskuryakov.
1480
1481         Adds stub implementation for WebKit of the new EditorClient methods.
1482
1483         * WebCoreSupport/WebEditorClient.h:
1484         * WebCoreSupport/WebEditorClient.mm:
1485         (WebEditorClient::willWriteSelectionToPasteboard):
1486         (WebEditorClient::getClientPasteboardDataForRange):
1487
1488 2013-01-31  Brady Eidson  <beidson@apple.com>
1489
1490         Lack of a log level string should not obliterate compiled in logging channel state.
1491         https://bugs.webkit.org/show_bug.cgi?id=108502
1492
1493         Reviewed by Alexey Proskuryakov and Sam Weinig.
1494
1495         * Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.
1496
1497 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
1498
1499         Unreviewed, rolling out r140983.
1500         http://trac.webkit.org/changeset/140983
1501         https://bugs.webkit.org/show_bug.cgi?id=108277
1502
1503         Unfortunately, this API has one last client (Requested by
1504         abarth on #webkit).
1505
1506         * Configurations/FeatureDefines.xcconfig:
1507
1508 2012-11-28  Jer Noble  <jer.noble@apple.com>
1509
1510         Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
1511         https://bugs.webkit.org/show_bug.cgi?id=103558
1512         <rdar://problem/12763112>
1513
1514         Reviewed by Benjamin Poulain.
1515
1516         Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
1517         view when in full screen mode.  Add a simple accessor for the existing placeholder view to
1518         WebFullScreenController and WebView.
1519
1520         * WebView/WebFullScreenController.h:
1521         * WebView/WebFullScreenController.mm:
1522         (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
1523         * WebView/WebView.mm:
1524         (-[WebView fullScreenPlaceholderView]): Added simple accessor.
1525
1526 2013-01-28  Pratik Solanki  <psolanki@apple.com>
1527
1528         PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
1529         https://bugs.webkit.org/show_bug.cgi?id=108101
1530
1531         Reviewed by Benjamin Poulain.
1532
1533         Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
1534         __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
1535
1536         * WebCoreSupport/WebSystemInterface.mm:
1537         (InitWebCoreSystemInterface):
1538
1539 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
1540
1541         [Mac] Update PageVisibilityState when WebView is hidden / visible
1542         https://bugs.webkit.org/show_bug.cgi?id=107509
1543
1544         Reviewed by Sam Weinig.
1545
1546         * WebView/WebView.mm:
1547         * WebView/WebViewPrivate.h:
1548         (-[WebView _commonInitializationWithFrameName:groupName:]):
1549         Set the initial visibility of the page.
1550
1551         (-[WebView addWindowObserversForWindow:]):
1552         (-[WebView removeWindowObservers]):
1553         (-[WebView _isViewVisible]):
1554         (-[WebView _updateVisibilityState]):
1555         (-[WebView viewDidMoveToWindow]):
1556         (-[WebView _windowVisibilityChanged:]):
1557         Update visibility state in the same ways WK2 does. This involves
1558         listening for some new NSWindow delegates.
1559
1560 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
1561
1562         Improve PageVisibility API with enums
1563         https://bugs.webkit.org/show_bug.cgi?id=107364
1564
1565         Reviewed by Sam Weinig.
1566
1567         * WebView/WebView.mm:
1568         * WebView/WebViewPrivate.h:
1569         (core):
1570         (-[WebView _setVisibilityState:isInitialState:]):
1571         Switch the private API form int to a WebPageVisibilityState enum.
1572
1573 2013-01-28  Adam Barth  <abarth@webkit.org>
1574
1575         Remove webkitNotifications.createHTMLNotification
1576         https://bugs.webkit.org/show_bug.cgi?id=107598
1577
1578         Reviewed by Benjamin Poulain.
1579
1580         * Configurations/FeatureDefines.xcconfig:
1581
1582 2013-01-25  Andy Estes  <aestes@apple.com>
1583
1584         Wrap content filtering code in an object
1585         https://bugs.webkit.org/show_bug.cgi?id=107914
1586
1587         Reviewed by Alexey Proskuryakov.
1588
1589         * WebCoreSupport/WebSystemInterface.mm:
1590         (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
1591
1592 2013-01-24  Dan Bernstein  <mitz@apple.com>
1593
1594         WebNavigationData does not distinguish between an empty title and a missing title
1595         https://bugs.webkit.org/show_bug.cgi?id=107917
1596
1597         Reviewed by Andy Estes.
1598
1599         * WebCoreSupport/WebFrameLoaderClient.mm:
1600         (nilOrNSString): Added this helper function.
1601         (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
1602         title, rather than the empty string, if the document does not have a title.
1603
1604 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
1605
1606         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
1607         https://bugs.webkit.org/show_bug.cgi?id=107327
1608
1609         Reviewed by Filip Pizlo.
1610
1611         We're renaming these two files, so we have to replace the names everywhere.
1612
1613         * DOM/WebDOMOperations.mm:
1614         * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
1615         * ForwardingHeaders/runtime/JSValue.h: Removed.
1616         * WebView/WebFrame.mm:
1617         * WebView/WebView.mm:
1618
1619 2013-01-22  Anders Carlsson  <andersca@apple.com>
1620
1621         Use a platforom strategy for local storage
1622         https://bugs.webkit.org/show_bug.cgi?id=107600
1623
1624         Reviewed by Andreas Kling.
1625
1626         Update for new storage strategy.
1627
1628         * WebCoreSupport/WebPlatformStrategies.h:
1629         (WebPlatformStrategies):
1630         * WebCoreSupport/WebPlatformStrategies.mm:
1631         (WebPlatformStrategies::createStorageStrategy):
1632
1633 2013-01-21  Kentaro Hara  <haraken@chromium.org>
1634
1635         Implement UIEvent constructor
1636         https://bugs.webkit.org/show_bug.cgi?id=107430
1637
1638         Reviewed by Adam Barth.
1639
1640         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
1641
1642         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
1643         which is enabled on Safari and Chromium for now.
1644
1645         * Configurations/FeatureDefines.xcconfig:
1646
1647 2013-01-22  Joseph Pecoraro  <pecoraro@apple.com>
1648
1649         [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
1650         https://bugs.webkit.org/show_bug.cgi?id=107230
1651
1652         Reviewed by David Kilzer.
1653
1654         * Configurations/FeatureDefines.xcconfig:
1655
1656 2013-01-22  Tim Horton  <timothy_horton@apple.com>
1657
1658         PDFPlugin: Build PDFPlugin everywhere, enable at runtime
1659         https://bugs.webkit.org/show_bug.cgi?id=107117
1660
1661         Reviewed by Alexey Proskuryakov.
1662
1663         Since PDFLayerController SPI is all forward-declared, the plugin should build
1664         on all Mac platforms, and can be enabled at runtime.
1665
1666         * Configurations/FeatureDefines.xcconfig:
1667
1668 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
1669
1670         Add build flag for Canvas's Path object (disabled by default)
1671         https://bugs.webkit.org/show_bug.cgi?id=107473
1672
1673         Reviewed by Dean Jackson.
1674
1675         * Configurations/FeatureDefines.xcconfig:
1676
1677 2013-01-17  Andy Estes  <aestes@apple.com>
1678
1679         Add a USE() macro for content filtering code
1680         https://bugs.webkit.org/show_bug.cgi?id=107098
1681
1682         Reviewed by Mark Rowe.
1683
1684         * WebCoreSupport/WebSystemInterface.mm:
1685         (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
1686
1687 2013-01-19  Philip Rogers  <pdr@google.com>
1688
1689         Merge SVGStylable into SVGStyledElement
1690         https://bugs.webkit.org/show_bug.cgi?id=106877
1691
1692         SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
1693         cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
1694
1695         Reviewed by Dirk Schulze.
1696
1697         * MigrateHeaders.make:
1698
1699 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
1700
1701         Add explicit keyword to constructors in platform-specific InspectorClient
1702         https://bugs.webkit.org/show_bug.cgi?id=107255
1703
1704         Reviewed by Kentaro Hara.
1705
1706         Add explicit keyword to constructors that take one argument
1707         in platform-specific implementation of InspectorClient.
1708
1709         * WebCoreSupport/WebInspectorClient.h:
1710         (WebInspectorClient):
1711
1712 2013-01-15  Jer Noble  <jer.noble@apple.com>
1713
1714         Add a Setting to disable QTKit media engine.
1715         https://bugs.webkit.org/show_bug.cgi?id=106972
1716
1717         Reviewed by Eric Carlson.
1718
1719         Add WebKit API to set QTKit enabled setting from user defaults.
1720
1721         * WebView/WebPreferenceKeysPrivate.h:
1722         * WebView/WebPreferences.mm:
1723         (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
1724         (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
1725         (-[WebPreferences isQTKitEnabled]): Ditto.
1726         * WebView/WebPreferencesPrivate.h:
1727         * WebView/WebView.mm:
1728         (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
1729
1730 2013-01-15  Enrica Casucci  <enrica@apple.com>
1731
1732         Add a new set of WebKit2 APIs for text search and
1733         search results management.
1734         https://bugs.webkit.org/show_bug.cgi?id=106834.
1735         <rdar://problem/12597159>
1736
1737         Reviewed by Simon Fraser.
1738         
1739         Adding new API to perform text search in WebKit2 without using
1740         the stock UI. The new interface provides all the information
1741         necessary to write a custom UI for search.
1742
1743         Added new TextWebKitAPI test.
1744
1745         * WebView/WebHTMLView.mm:
1746         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
1747         Modified to reflect the changes to Editor::countMatchesForText interface.
1748
1749 2013-01-10  Zan Dobersek  <zandobersek@gmail.com>
1750
1751         Remove the ENABLE_ANIMATION_API feature define occurences
1752         https://bugs.webkit.org/show_bug.cgi?id=106544
1753
1754         Reviewed by Simon Fraser.
1755
1756         The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
1757         feature define handling still lingers in various build systems and configurations
1758         but is of no use, so it should be removed.
1759
1760         * Configurations/FeatureDefines.xcconfig:
1761
1762 2013-01-08  Mark Lam  <mark.lam@apple.com>
1763
1764         Removed the need for the ProposedDatabase mechanism.
1765         https://bugs.webkit.org/show_bug.cgi?id=106292.
1766
1767         Reviewed by Sam Weinig.
1768
1769         * WebCoreSupport/WebChromeClient.h:
1770         * WebCoreSupport/WebChromeClient.mm:
1771         (WebChromeClient::exceededDatabaseQuota):
1772
1773 2013-01-07  Dan Bernstein  <mitz@apple.com>
1774
1775         [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
1776         https://bugs.webkit.org/show_bug.cgi?id=106261
1777
1778         Reviewed by Simon Fraser.
1779
1780         Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
1781
1782         Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
1783
1784         * WebCoreSupport/WebFrameLoaderClient.mm:
1785         (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
1786         method.
1787         * WebView/WebDelegateImplementationCaching.h:
1788         (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
1789         * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
1790         * WebView/WebView.mm:
1791         (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
1792
1793 2013-01-07  Mike West  <mkwst@chromium.org>
1794
1795         Make the IFRAME_SEAMLESS flag runtime-enabled.
1796         https://bugs.webkit.org/show_bug.cgi?id=106213
1797
1798         Reviewed by Ojan Vafai.
1799
1800         * WebView/WebPreferenceKeysPrivate.h:
1801         * WebView/WebPreferences.mm:
1802         (-[WebPreferences seamlessIFramesEnabled]):
1803         (-[WebPreferences setSeamlessIFramesEnabled:]):
1804         * WebView/WebPreferencesPrivate.h:
1805         * WebView/WebView.mm:
1806         (-[WebView _preferencesChanged:]):
1807             Add a seamless IFrame preference to WebPreferences, and use it to
1808             toggle the runtime state of the feature as appropriate.
1809
1810 2013-01-04  Adam Klein  <adamk@chromium.org>
1811
1812         Remove ENABLE_MUTATION_OBSERVERS #define
1813         https://bugs.webkit.org/show_bug.cgi?id=105459
1814
1815         Reviewed by Ryosuke Niwa.
1816
1817         * Configurations/FeatureDefines.xcconfig:
1818
1819 2013-01-01  Dan Bernstein  <mitz@apple.com>
1820
1821         <rdar://problem/12942239> Update copyright strings
1822
1823         Reviewed by Sam Weinig.
1824
1825         * Info.plist:
1826
1827 2012-12-29  Adam Roben  <aroben@webkit.org>
1828
1829         Web Inspector: Mac WK1 Inspector can't save/load timeline data
1830         https://bugs.webkit.org/show_bug.cgi?id=105547
1831
1832         Reviewed by Pavel Feldman.
1833
1834         * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
1835         member variables necessary for save support.
1836
1837         * WebCoreSupport/WebInspectorClient.mm:
1838         (WebInspectorFrontendClient::save):
1839         (WebInspectorFrontendClient::append):
1840         Implemented these to make saving timeline data work. (It seems to me
1841         the InspectorFrontendClient API could be cleaned up a bit. I had to
1842         look at Chromium source code to determine that I needed to call back
1843         into the InspectorFrontendAPI JS object after saving/appending, and
1844         that I needed to keep a map of passed URLs -> chosen URLs.)
1845
1846         (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
1847         Tweaked the position of the sheet so that open/save sheets look a
1848         little bette.r
1849
1850         (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
1851         Implemented to make loading timeline data work.
1852
1853 2012-12-28  Mark Rowe  <mrowe@apple.com>
1854
1855         Move logic for extracting the OS X marketing version in to WebCore
1856         <http://webkit.org/b/105841> / <rdar://problem/10736041>
1857
1858         Reviewed by Dan Bernstein.
1859
1860         * WebCoreSupport/WebSystemInterface.mm:
1861         (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
1862         * WebView/WebView.mm:
1863         (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
1864         (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
1865         do that for us.
1866
1867 2012-12-27  Sam Weinig  <sam@webkit.org>
1868
1869         Attempt to fix the tests.
1870
1871         * WebView/WebPreferences.mm:
1872         (+[WebPreferences initialize]):
1873
1874 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
1875
1876         <rdar://problem/12808377> Network process should respect cookie accept policy
1877         https://bugs.webkit.org/show_bug.cgi?id=105684
1878
1879         Reviewed by Sam Weinig.
1880
1881         * WebCoreSupport/WebPlatformStrategies.h:
1882         * WebCoreSupport/WebPlatformStrategies.mm:
1883         CookiesStrategy no longer has notifyCookiesChanged().
1884
1885 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
1886
1887         Add a separate class for networking related storage
1888         https://bugs.webkit.org/show_bug.cgi?id=105676
1889
1890         Reviewed by Sam Weinig.
1891
1892         * WebCoreSupport/WebFrameLoaderClient.mm:
1893         Updated for ResourceHandle include changes.
1894
1895         * WebCoreSupport/WebFrameNetworkingContext.h:
1896         * WebCoreSupport/WebFrameNetworkingContext.mm:
1897         This class is now simpler, with more session tracking being in WebCore now.
1898
1899         * WebCoreSupport/WebPlatformStrategies.h:
1900         * WebCoreSupport/WebPlatformStrategies.mm:
1901         (WebPlatformStrategies::cookiesForDOM):
1902         (WebPlatformStrategies::setCookiesFromDOM):
1903         (WebPlatformStrategies::cookiesEnabled):
1904         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1905         (WebPlatformStrategies::getRawCookies):
1906         (WebPlatformStrategies::deleteCookie):
1907         We no longer need a function for default cookie storage! Other cookie functions
1908         now take a session.
1909
1910         * WebView/WebPreferences.mm:
1911         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
1912         calling a WebCore that uses it.
1913         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
1914         NetworkStorageSession for session tracking.
1915
1916         * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
1917         context now returning a class for session.
1918
1919 2012-12-20  Ilya Tikhonovsky  <loislo@chromium.org>
1920
1921         Unreviewed build fix for chromium mac after r138206.
1922
1923         * WebCoreSupport/WebSystemInterface.mm:
1924         (InitWebCoreSystemInterface):
1925
1926 2012-12-19  Alexey Proskuryakov  <ap@apple.com>
1927
1928         <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
1929         https://bugs.webkit.org/show_bug.cgi?id=105467
1930
1931         Reviewed by Brady Eidson.
1932
1933         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
1934         a WKSI function we've been missing.
1935
1936 2012-12-19  Alexis Menard  <alexis@webkit.org>
1937
1938         Implement CSS parsing for CSS transitions unprefixed.
1939         https://bugs.webkit.org/show_bug.cgi?id=104804
1940
1941         Reviewed by Dean Jackson.
1942
1943         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
1944         to cover the work of unprefixing Transforms, Animations and 
1945         Transitions. It will let the possibility of each ports to turn it off 
1946         in their release branches until we're confident that these CSS 
1947         properties are ready to be unprefixed.
1948
1949         * Configurations/FeatureDefines.xcconfig:
1950
1951 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
1952
1953         Remove unnecessary functions from CookiesStrategy
1954         https://bugs.webkit.org/show_bug.cgi?id=105369
1955
1956         Reviewed by Brady Eidson.
1957
1958         * WebCoreSupport/WebPlatformStrategies.h:
1959         * WebCoreSupport/WebPlatformStrategies.mm:
1960
1961 2012-12-18  Alice Liu  <alice.liu@apple.com>
1962
1963         Add SPI to WebKit1 WebFrame for hit testing
1964         https://bugs.webkit.org/show_bug.cgi?id=105106
1965
1966         Reviewed by Dan Bernstein.
1967
1968         * WebView/WebFrame.mm:
1969         (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
1970         Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary. 
1971         * WebView/WebFramePrivate.h:
1972
1973 2012-12-18  Alice Liu  <alice.liu@apple.com>
1974
1975         Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
1976         https://bugs.webkit.org/show_bug.cgi?id=105262
1977
1978         Reviewed by Anders Carlsson.
1979
1980         * WebView/WebFrame.mm:
1981         (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
1982         for the WebCore::Node in that particular WebScriptWorld.
1983         * WebView/WebFramePrivate.h:
1984
1985 2012-12-18  Beth Dakin  <bdakin@apple.com>
1986
1987         https://bugs.webkit.org/show_bug.cgi?id=102579
1988         [mac] Enable scaled cursors
1989
1990         Reviewed by Dean Jackson.
1991
1992         * Configurations/FeatureDefines.xcconfig:
1993
1994 2012-12-16  Levi Weintraub  <leviw@chromium.org>
1995
1996         Push pixel snapping logic into TransformState
1997         https://bugs.webkit.org/show_bug.cgi?id=101779
1998
1999         Reviewed by Simon Fraser.
2000
2001         * WebView/WebFullScreenController.mm:
2002         (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
2003
2004 2012-12-15  Anders Carlsson  <andersca@apple.com>
2005
2006         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
2007         https://bugs.webkit.org/show_bug.cgi?id=105122
2008
2009         Reviewed by Andreas Kling.
2010
2011         Update for WebCore changes.
2012
2013         * WebCoreSupport/WebFrameLoaderClient.h:
2014         (WebFrameLoaderClient):
2015         * WebCoreSupport/WebFrameLoaderClient.mm:
2016         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
2017
2018 2012-12-15  Mark Lam  <mark.lam@apple.com>
2019
2020         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
2021         https://bugs.webkit.org/show_bug.cgi?id=104934.
2022
2023         Not reviewed.
2024
2025         Merged from r137767. Previously reviewed by Sam Weinig.
2026
2027         * WebCoreSupport/WebPlatformStrategies.h:
2028         (WebPlatformStrategies):
2029         * WebCoreSupport/WebPlatformStrategies.mm:
2030         (WebPlatformStrategies::createDatabaseStrategy):
2031
2032 2012-12-14  Mark Lam  <mark.lam@apple.com>
2033
2034         The WebView should initialize the platform strategies before initializing other sub-systems.
2035         https://bugs.webkit.org/show_bug.cgi?id=105083.
2036
2037         Reviewed by Alexey Proskuryakov.
2038
2039         * WebView/WebView.mm:
2040         (-[WebView _commonInitializationWithFrameName:groupName:]):
2041
2042 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
2043
2044         Unreviewed, rolling out r137767.
2045         http://trac.webkit.org/changeset/137767
2046         https://bugs.webkit.org/show_bug.cgi?id=105062
2047
2048         Broke Mac builds. (Requested by mlam on #webkit).
2049
2050         * WebCoreSupport/WebPlatformStrategies.h:
2051         (WebPlatformStrategies):
2052         * WebCoreSupport/WebPlatformStrategies.mm:
2053
2054 2012-12-14  Mark Lam  <mark.lam@apple.com>
2055
2056         Introducing the DatabaseStrategy and database servers.
2057         https://bugs.webkit.org/show_bug.cgi?id=104934.
2058
2059         Reviewed by Sam Weinig.
2060
2061         The database server is currently a placeholder that does nothing.
2062
2063         * WebCoreSupport/WebPlatformStrategies.h:
2064         (WebPlatformStrategies):
2065         * WebCoreSupport/WebPlatformStrategies.mm:
2066         (WebPlatformStrategies::createDatabaseStrategy):
2067
2068 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
2069
2070         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
2071         https://bugs.webkit.org/show_bug.cgi?id=104691
2072
2073         Reviewed by Sam Weinig.
2074
2075         * WebCoreSupport/WebFrameNetworkingContext.h:
2076         * WebCoreSupport/WebFrameNetworkingContext.mm:
2077         (WebFrameNetworkingContext::inPrivateBrowsingMode):
2078         (WebFrameNetworkingContext::storageSession):
2079         Implemented inPrivateBrowsingMode().
2080
2081 2012-12-12  Mark Lam  <mark.lam@apple.com>
2082
2083         Encapsulate externally used webdatabase APIs in DatabaseManager.
2084         https://bugs.webkit.org/show_bug.cgi?id=104741.
2085
2086         Reviewed by Sam Weinig.
2087
2088         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
2089         and DatabaseContext directly. This is to prepare for upcoming webkit2
2090         refactoring.
2091
2092         * Storage/WebDatabaseManager.mm:
2093         (-[WebDatabaseManager origins]):
2094         (-[WebDatabaseManager databasesWithOrigin:]):
2095         (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
2096         (-[WebDatabaseManager deleteAllDatabases]):
2097         (-[WebDatabaseManager deleteOrigin:]):
2098         (-[WebDatabaseManager deleteDatabase:withOrigin:]):
2099         (WebKitInitializeDatabasesIfNecessary):
2100         * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
2101         (WebDatabaseManagerClient):
2102         * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
2103         (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
2104         (WebDatabaseManagerClient::WebDatabaseManagerClient):
2105         (WebDatabaseManagerClient::~WebDatabaseManagerClient):
2106         (DidModifyOriginData::dispatchToMainThread):
2107         (DidModifyOriginData::DidModifyOriginData):
2108         (DidModifyOriginData):
2109         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
2110         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
2111         * Storage/WebDatabaseQuotaManager.mm:
2112         (-[WebDatabaseQuotaManager usage]):
2113         (-[WebDatabaseQuotaManager quota]):
2114         (-[WebDatabaseQuotaManager setQuota:]):
2115         * Storage/WebDatabaseTrackerClient.h: Removed.
2116         * Storage/WebDatabaseTrackerClient.mm: Removed.
2117         * WebCoreSupport/WebSecurityOrigin.mm:
2118         (-[WebSecurityOrigin usage]):
2119         (-[WebSecurityOrigin quota]):
2120         (-[WebSecurityOrigin setQuota:]):
2121         * WebKit.order:
2122         * WebView/WebFrame.mm:
2123         (-[WebFrame _cacheabilityDictionary]):
2124         * WebView/WebView.mm:
2125         (-[WebView _preferencesChanged:]):
2126
2127 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
2128
2129         Make LOG() work in WebProcess and NetworkProcess
2130         https://bugs.webkit.org/show_bug.cgi?id=104718
2131
2132         Reviewed by Tim Horton.
2133
2134         * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
2135         WebCore and WebKit versions of this file.
2136
2137 2012-12-11  Mike West  <mkwst@chromium.org>
2138
2139         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
2140         https://bugs.webkit.org/show_bug.cgi?id=66371
2141
2142         Reviewed by Pavel Feldman.
2143
2144         Drops WebCore::MessageType from the addMessageToConsole method.
2145
2146         * WebCoreSupport/WebChromeClient.h:
2147         (WebChromeClient):
2148         * WebCoreSupport/WebChromeClient.mm:
2149         (WebChromeClient::addMessageToConsole):
2150
2151 2012-12-09  Antti Koivisto  <antti@apple.com>
2152
2153         Factor node traversal into standalone functions
2154         https://bugs.webkit.org/show_bug.cgi?id=104507
2155
2156         Reviewed by Eric Seidel.
2157     
2158         * WebView/WebHTMLRepresentation.mm:
2159         (searchForLabelsBeforeElement):
2160
2161 2012-12-10  Alexis Menard  <alexis@webkit.org>
2162
2163         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
2164         https://bugs.webkit.org/show_bug.cgi?id=104539
2165
2166         Reviewed by Antonio Gomes.
2167
2168         As discussed on webkit-dev it is not needed to keep this feature flag 
2169         as support for <position> type is a small feature that is already 
2170         implemented by three other UAs. It was useful while landing this 
2171         feature as partial bits were landed one after one.
2172
2173         * Configurations/FeatureDefines.xcconfig:
2174
2175 2012-12-06  Rick Byers  <rbyers@chromium.org>
2176
2177         CSS cursor property should support webkit-image-set
2178         https://bugs.webkit.org/show_bug.cgi?id=99493
2179
2180         Reviewed by Beth Dakin.
2181
2182         Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
2183
2184         * Configurations/FeatureDefines.xcconfig:
2185
2186 2012-12-03  Yury Semikhatsky  <yurys@chromium.org>
2187
2188         Unreviewed. Fix Mac compilation after r136448.
2189
2190         * WebCoreSupport/WebChromeClient.mm:
2191         (stringForMessageType):
2192
2193 2012-12-03  Alexis Menard  <alexis@webkit.org>
2194
2195         [Mac] Enable CSS3 background-position offset by default.
2196         https://bugs.webkit.org/show_bug.cgi?id=103905
2197
2198         Reviewed by Simon Fraser.
2199
2200         Turn the flag on by default.
2201
2202         * Configurations/FeatureDefines.xcconfig:
2203
2204 2012-12-02  Yongjun Zhang  <yongjun_zhang@apple.com>
2205
2206         Need a method to close all idle localstorage databases immediately.
2207         https://bugs.webkit.org/show_bug.cgi?id=103469
2208
2209         Reviewed by David Kilzer.
2210
2211         Add a new method to WebStorageManager that we can call to close all
2212         idle local storage databases.
2213
2214         * Storage/WebStorageManager.mm:
2215         (+[WebStorageManager closeIdleLocalStorageDatabases]):
2216         * Storage/WebStorageManagerPrivate.h:
2217
2218 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
2219
2220         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
2221         https://bugs.webkit.org/show_bug.cgi?id=101192
2222
2223         Reviewed by Hajime Morita.
2224
2225         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
2226
2227         Tests: No new tests because there is no functional change.
2228
2229         * WebView/WebView.mm:
2230         (-[WebView _preferencesChanged:]):
2231
2232 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
2233
2234         [HTMLTemplateElement] Add feature flag
2235         https://bugs.webkit.org/show_bug.cgi?id=103694
2236
2237         Reviewed by Adam Barth.
2238
2239         This flag will guard the implementation of the HTMLTemplateElement.
2240         http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
2241
2242         * Configurations/FeatureDefines.xcconfig:
2243
2244 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
2245
2246         [WK2] Forward cookie jar calls to NetworkProcess
2247         https://bugs.webkit.org/show_bug.cgi?id=103457
2248
2249         Reviewed by Darin Adler.
2250
2251         * WebCoreSupport/WebPlatformStrategies.h:
2252         (WebPlatformStrategies):
2253         * WebCoreSupport/WebPlatformStrategies.mm:
2254         (WebPlatformStrategies::cookiesForDOM):
2255         (WebPlatformStrategies::setCookiesFromDOM):
2256         (WebPlatformStrategies::cookiesEnabled):
2257         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
2258         (WebPlatformStrategies::getRawCookies):
2259         (WebPlatformStrategies::deleteCookie):
2260         (WebPlatformStrategies::getHostnamesWithCookies):
2261         (WebPlatformStrategies::deleteCookiesForHostname):
2262         (WebPlatformStrategies::deleteAllCookies):
2263         (WebPlatformStrategies::getPluginInfo):
2264         (WebPlatformStrategies::bufferForType):
2265         WebKit1 strategy just uses PlatformCookieJar.
2266
2267 2012-11-28  Beth Dakin  <bdakin@apple.com>
2268
2269         https://bugs.webkit.org/show_bug.cgi?id=102970
2270         [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless 
2271         WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
2272
2273         Reviewed by Sam Weinig.
2274
2275         We should always register for DidFirstLayout in WK1 since we do work 
2276         at that time besides just calling the delegate function.
2277         * WebView/WebView.mm:
2278         (-[WebView _cacheFrameLoadDelegateImplementations]):
2279
2280 2012-11-27  Michael Saboff  <msaboff@apple.com>
2281
2282         TextIterator unnecessarily converts 8 bit strings to 16 bits
2283         https://bugs.webkit.org/show_bug.cgi?id=103295
2284
2285         Reviewed by Brent Fulgham.
2286
2287         Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
2288
2289         * WebView/WebFrame.mm:
2290         (-[WebFrame _stringForRange:]):
2291
2292 2012-11-27  James Simonsen  <simonjam@chromium.org>
2293
2294         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2295         https://bugs.webkit.org/show_bug.cgi?id=102151
2296
2297         Reviewed by Adam Barth.
2298
2299         * Plugins/WebPluginController.mm:
2300         * WebView/WebFrame.mm:
2301         (-[WebFrame loadRequest:]):
2302         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2303
2304 2012-11-27  Pratik Solanki  <psolanki@apple.com>
2305
2306         objc/objc-runtime.h does not exist on all PLATFORM(MAC)
2307         https://bugs.webkit.org/show_bug.cgi?id=101780
2308
2309         Reviewed by Brent Fulgham.
2310
2311         Clean up header includes so we don't include objc/objc-runtime.h.
2312
2313         * Carbon/HIWebView.mm:
2314         (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
2315         * Plugins/WebNetscapePluginView.mm:
2316         * Plugins/WebPluginContainerCheck.mm:
2317         (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
2318         * Plugins/WebPluginController.mm:
2319         * WebCoreSupport/WebCachedFramePlatformData.h:
2320         * WebCoreSupport/WebDeviceOrientationClient.mm:
2321         * WebView/WebDelegateImplementationCaching.mm:
2322         * WebView/WebHTMLView.mm:
2323         * WebView/WebPDFDocumentExtras.mm:
2324         * WebView/WebPolicyDelegate.mm:
2325         (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
2326         * WebView/WebView.mm:
2327
2328 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
2329
2330         Unreviewed, rolling out r135786.
2331         http://trac.webkit.org/changeset/135786
2332         https://bugs.webkit.org/show_bug.cgi?id=103379
2333
2334         It made 3 plugin tests timeout on several platforms (Requested
2335         by Ossy on #webkit).
2336
2337         * Plugins/WebPluginController.mm:
2338         * WebView/WebFrame.mm:
2339         (-[WebFrame loadRequest:]):
2340         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2341
2342 2012-11-26  James Simonsen  <simonjam@chromium.org>
2343
2344         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2345         https://bugs.webkit.org/show_bug.cgi?id=102151
2346
2347         Reviewed by Adam Barth.
2348
2349         * Plugins/WebPluginController.mm:
2350         * WebView/WebFrame.mm:
2351         (-[WebFrame loadRequest:]):
2352         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2353
2354 2012-11-23  Alexis Menard  <alexis@webkit.org>
2355
2356         [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
2357         https://bugs.webkit.org/show_bug.cgi?id=102104
2358
2359         Reviewed by Julien Chaffraix.
2360
2361         Protect the new feature behind a feature flag.
2362
2363         * Configurations/FeatureDefines.xcconfig:
2364
2365 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2366
2367         Disambiguate innerNodeFramePoint and mainFramePoint
2368         https://bugs.webkit.org/show_bug.cgi?id=98139
2369
2370         Reviewed by Julien Chaffraix.
2371
2372         Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
2373
2374         * WebCoreSupport/WebContextMenuClient.mm:
2375         (WebContextMenuClient::showContextMenu):
2376
2377 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
2378
2379         Unreviewed, rolling out r135295.
2380         http://trac.webkit.org/changeset/135295
2381         https://bugs.webkit.org/show_bug.cgi?id=102834
2382
2383         This patch causes assertion to some layout tests on chromium
2384         (Requested by jianli on #webkit).
2385
2386         * Plugins/WebPluginController.mm:
2387         * WebView/WebFrame.mm:
2388         (-[WebFrame loadRequest:]):
2389         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2390
2391 2012-11-20  James Simonsen  <simonjam@chromium.org>
2392
2393         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
2394         https://bugs.webkit.org/show_bug.cgi?id=102151
2395
2396         Reviewed by Adam Barth.
2397
2398         * Plugins/WebPluginController.mm:
2399         * WebView/WebFrame.mm:
2400         (-[WebFrame loadRequest:]):
2401         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2402
2403 2012-11-19  Kihong Kwon  <kihong.kwon@samsung.com>
2404
2405         Add PROXIMITY_EVENTS feature
2406         https://bugs.webkit.org/show_bug.cgi?id=102658
2407
2408         Reviewed by Kentaro Hara.
2409
2410         Add PROXIMITY_EVENTS feature to xcode project for WebKit.
2411
2412         * Configurations/FeatureDefines.xcconfig:
2413
2414 2012-11-16  Tony Chang  <tony@chromium.org>
2415
2416         Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
2417         https://bugs.webkit.org/show_bug.cgi?id=102554
2418
2419         Reviewed by Andreas Kling.
2420
2421         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
2422         we're going to revist this feature once additional vendor support is
2423         achieved.
2424
2425         * Configurations/FeatureDefines.xcconfig:
2426
2427 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
2428
2429         Private Browsing is a per-page setting that sets a global value
2430         https://bugs.webkit.org/show_bug.cgi?id=67870
2431
2432         Reviewed by Sam Weinig.
2433
2434         * WebCoreSupport/WebFrameNetworkingContext.h:
2435         * WebCoreSupport/WebFrameNetworkingContext.mm:
2436         Moved functions for managing global sessions from WebCore.
2437
2438         * WebCoreSupport/WebPlatformStrategies.h:
2439         * WebCoreSupport/WebPlatformStrategies.mm:
2440         (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
2441         to reach the storage.
2442
2443         * WebView/WebPreferences.mm:
2444         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
2445         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
2446
2447         * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
2448         are not generic enough for use outside DRT (one of them had "testing" in name,
2449         but another did not).
2450
2451         * WebView/WebView.mm:
2452         (-[WebView _preferencesChanged:]): Create a global private browsing session when
2453         the first view with private browsing is created, delete it when any window with
2454         it disabled is created (since this comes from preferences, it applies to all
2455         views equally, even though we are dealing with a single one here).
2456         (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
2457         a global one.
2458
2459 2012-11-13  Timothy Hatcher  <timothy@apple.com>
2460
2461         Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
2462
2463         https://bugs.webkit.org/show_bug.cgi?id=102073
2464
2465         Reviewed by Joseph Pecoraro.
2466
2467         * WebCoreSupport/WebInspectorClient.mm:
2468         (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
2469
2470 2012-11-12  Simon Fraser  <simon.fraser@apple.com>
2471
2472         Build fix after r134346 and 134347.
2473         
2474         Use frameView.isFlipped, not frameView.flipped in the assertion.
2475
2476         * WebCoreSupport/WebInspectorClient.mm:
2477         (-[WebInspectorWindowController window]):
2478
2479 2012-11-12  Timothy Hatcher  <timothy@apple.com>
2480
2481         Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
2482
2483         https://bugs.webkit.org/show_bug.cgi?id=102025
2484
2485         Reviewed by Joseph Pecoraro.
2486
2487         * Resources/Dock.pdf: Added.
2488         * WebCoreSupport/WebInspectorClient.h:
2489         * WebCoreSupport/WebInspectorClient.mm:
2490         (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
2491         (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
2492         (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
2493         (-[WebInspectorWindowController window]): Create the dock button and add it.
2494         (-[WebInspectorWindowController attachWindow:]): Added.
2495         (-[WebInspectorWindowController attach]): Call setAttachedWindow.
2496         (-[WebInspectorWindowController detach]): Ditto.
2497         (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
2498
2499 2012-11-08  Timothy Hatcher  <timothy@apple.com>
2500
2501         Always use a textured window for the Web Inspector.
2502
2503         https://bugs.webkit.org/show_bug.cgi?id=101693
2504
2505         Reviewed by Joseph Pecoraro.
2506
2507         * WebCoreSupport/WebInspectorClient.mm:
2508         (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
2509
2510 2012-11-08  Roger Fong  <roger_fong@apple.com>
2511
2512         Null check URL key entries into WebHistory hash table. 
2513         https://bugs.webkit.org/show_bug.cgi?id=101664
2514         <rdar://problem/12440852>
2515
2516         Reviewed by Brady Eidson.
2517         
2518         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.
2519         This prevents the desired page navigation from taking effect. This is a workaround for the problem.
2520         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
2521         so that navigation can continue as expected.
2522
2523         * History/WebHistory.mm:
2524         (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
2525
2526 2012-11-07  Andreas Kling  <akling@apple.com>
2527
2528         Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
2529         <http://webkit.org/b/101492>
2530
2531         Reviewed by Anders Carlsson.
2532
2533         * Plugins/WebJavaPlugIn.h: Removed.
2534
2535 2012-11-06  Adam Barth  <abarth@webkit.org>
2536
2537         Unreviewed attempt to fix the chromium-mac build.
2538
2539         * WebCoreSupport/WebSystemInterface.mm:
2540         (InitWebCoreSystemInterface):
2541
2542 2012-11-06  Anders Carlsson  <andersca@apple.com>
2543
2544         Update Java related WKSI function names
2545         https://bugs.webkit.org/show_bug.cgi?id=101414
2546
2547         Reviewed by Sam Weinig.
2548
2549         * WebCoreSupport/WebChromeClient.mm:
2550         (WebChromeClient::unavailablePluginButtonClicked):
2551         * WebCoreSupport/WebFrameLoaderClient.mm:
2552         (isPlugInInactive):
2553
2554 2012-11-06  Alexey Proskuryakov  <ap@apple.com>
2555
2556         Clean up which storage cookie jar functions use
2557         https://bugs.webkit.org/show_bug.cgi?id=101395
2558
2559         Reviewed by Brady Eidson.
2560
2561         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
2562         two new functions.
2563
2564 2012-11-06  Andrey Lushnikov  <lushnikov@google.com>
2565
2566         Added console.clear() method
2567
2568         Web Inspector: add console.clear()
2569         https://bugs.webkit.org/show_bug.cgi?id=101021
2570
2571         Reviewed by Vsevolod Vlasov.
2572
2573         * WebCoreSupport/WebChromeClient.mm:
2574         (stringForMessageType): Added ClearMessageType case to switch
2575
2576 2012-11-05  Alexey Proskuryakov  <ap@apple.com>
2577
2578         Get rid of setCookieStoragePrivateBrowsingEnabled.
2579         https://bugs.webkit.org/show_bug.cgi?id=101247
2580
2581         Reviewed by Brady Eidson.
2582
2583         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
2584         have this function.
2585
2586 2012-11-03  Alexey Proskuryakov  <ap@apple.com>
2587
2588         Get rid of USE(CFURLSTORAGESESSIONS)
2589         https://bugs.webkit.org/show_bug.cgi?id=101131
2590
2591         Reviewed by Sam Weinig.
2592
2593         * WebView/WebPreferences.mm:
2594         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
2595         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
2596         * WebView/WebView.mm:
2597         (-[WebView _cachedResponseForURL:]):
2598
2599 2012-11-02  Anders Carlsson  <andersca@apple.com>
2600
2601         Don't instantiate the Java plug-in if it's inactive
2602         https://bugs.webkit.org/show_bug.cgi?id=101102
2603         <rdar://problem/12595679>
2604
2605         Reviewed by Andreas Kling.
2606
2607         * WebCoreSupport/WebChromeClient.mm:
2608         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
2609         The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
2610
2611         (WebChromeClient::unavailablePluginButtonClicked):
2612         If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
2613         then reload the page.
2614
2615         * WebCoreSupport/WebFrameLoaderClient.mm:
2616         (isOracleJavaPlugIn):
2617         (isPlugInInactive):
2618         Helper functions.
2619
2620         (WebFrameLoaderClient::createPlugin):
2621         If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
2622
2623 2012-11-02  Simon Fraser  <simon.fraser@apple.com>
2624
2625         Enable SUBPIXEL_LAYOUT on Mac
2626         https://bugs.webkit.org/show_bug.cgi?id=101076
2627
2628         Reviewed by Dave Hyatt.
2629
2630         Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
2631
2632         * Configurations/FeatureDefines.xcconfig:
2633
2634 2012-11-02  Adam Barth  <abarth@webkit.org>
2635
2636         ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
2637         https://bugs.webkit.org/show_bug.cgi?id=100711
2638
2639         Reviewed by Eric Seidel.
2640
2641         * Configurations/FeatureDefines.xcconfig:
2642
2643 2012-11-01  Adam Roben  <aroben@webkit.org>
2644
2645         [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
2646         https://bugs.webkit.org/show_bug.cgi?id=100957
2647
2648         Reviewed by Simon Fraser.
2649
2650         WebCore doesn't yet support subpixel scrolling. WebKit2 forces
2651         scrolling to always be integral. Now WebKit1 forces this as well.
2652
2653         I'm not sure how to write a test for this.
2654
2655         * WebView/WebDynamicScrollBarsView.mm:
2656         (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
2657         or position:sticky elements in the page.
2658         (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
2659         scroll origin to the nearest pixel if needed.
2660
2661 2012-10-31  Anders Carlsson  <andersca@apple.com>
2662
2663         Fix build.
2664         <rdar://problem/12612207>.
2665
2666         Reviewed by Sam Weinig.
2667
2668         * Panels/WebAuthenticationPanel.m:
2669         (-[WebAuthenticationPanel loadNib]):
2670
2671 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
2672
2673         [Mac] Sync up FeatureDefine Configuration Files
2674         https://bugs.webkit.org/show_bug.cgi?id=100171
2675
2676         Reviewed by David Kilzer.
2677
2678         Follow up to better coordinate with iOS feature defines. Make:
2679
2680           - ENABLE_FILTERS always on
2681           - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
2682
2683         * Configurations/FeatureDefines.xcconfig:
2684
2685 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
2686
2687         [Mac] Sync up FeatureDefine Configuration Files
2688         https://bugs.webkit.org/show_bug.cgi?id=100171
2689
2690         Reviewed by David Kilzer.
2691
2692         Ensure an identical FeatureDefine files across all projects. Changes:
2693
2694           - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
2695           - ENABLE_PDFKIT_PLUGIN should be in all
2696           - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
2697           - ENABLE_ENCRYPTED_MEDIA should be in all
2698           - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
2699           - Some alphabetical ordering cleanup
2700
2701         * Configurations/FeatureDefines.xcconfig:
2702
2703 2012-10-29  Anders Carlsson  <andersca@apple.com>
2704
2705         Build WebKit as C++11 on Mac
2706         https://bugs.webkit.org/show_bug.cgi?id=100720
2707
2708         Reviewed by Daniel Bates.
2709
2710         * Configurations/Base.xcconfig:
2711         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
2712
2713         * History/WebBackForwardList.mm:
2714         (-[WebBackForwardList description]):
2715         * History/WebHistoryItem.mm:
2716         (-[WebHistoryItem description]):
2717         Add static_casts to prevent implicit type conversions in non-constant initializer lists.
2718
2719 2012-10-28  Mark Rowe  <mrowe@apple.com>
2720
2721         Simplify Xcode configuration settings that used to vary between OS versions.
2722
2723         Reviewed by Dan Bernstein.
2724
2725         * Configurations/Base.xcconfig:
2726         * Configurations/DebugRelease.xcconfig:
2727         * Configurations/WebKit.xcconfig:
2728
2729 2012-10-28  Mark Rowe  <mrowe@apple.com>
2730
2731         Remove references to unsupported OS and Xcode versions.
2732
2733         Reviewed by Anders Carlsson.
2734
2735         * Configurations/Base.xcconfig:
2736         * Configurations/CompilerVersion.xcconfig: Removed.
2737         * Configurations/DebugRelease.xcconfig:
2738         * Configurations/Version.xcconfig:
2739
2740 2012-10-29  Enrica Casucci  <enrica@apple.com>
2741
2742         Add ENABLE_USERSELECT_ALL feature flag.
2743         https://bugs.webkit.org/show_bug.cgi?id=100559
2744
2745         Reviewed by Eric Seidel.
2746
2747         * Configurations/FeatureDefines.xcconfig:
2748
2749 2012-10-27  Alexey Proskuryakov  <ap@apple.com>
2750
2751         All tests crash in WebKit1 mode
2752         https://bugs.webkit.org/show_bug.cgi?id=100602
2753
2754         Reviewed by Sam Weinig.
2755
2756         * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
2757         scheduler is created via a strategy, so strategies need to be initialized before
2758         using it.
2759
2760 2012-10-27  Dan Bernstein  <mitz@apple.com>
2761
2762         REAL_PLATFORM_NAME build setting is no longer needed
2763         https://bugs.webkit.org/show_bug.cgi?id=100587
2764
2765         Reviewed by Mark Rowe.
2766
2767         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
2768         to PLATFORM_NAME.
2769
2770         * Configurations/Base.xcconfig:
2771         * Configurations/CompilerVersion.xcconfig:
2772         * Configurations/DebugRelease.xcconfig:
2773         * Configurations/FeatureDefines.xcconfig:
2774         * Configurations/Version.xcconfig:
2775         * Configurations/WebKit.xcconfig:
2776
2777 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
2778
2779         Add feature flags for CSS Device Adaptation
2780         https://bugs.webkit.org/show_bug.cgi?id=95960
2781
2782         Reviewed by Kenneth Rohde Christiansen.
2783
2784         * Configurations/FeatureDefines.xcconfig:
2785
2786 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
2787
2788         Conditionalize XHR timeout support
2789         https://bugs.webkit.org/show_bug.cgi?id=100356
2790
2791         Reviewed by Adam Barth.
2792
2793         Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
2794         Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
2795
2796         * Configurations/FeatureDefines.xcconfig:
2797
2798 2012-10-24  Timothy Hatcher  <timothy@apple.com>
2799
2800         Fix a crash seen during the Inspector tests on the WebKit1 bots.
2801
2802         Reviewed by Filip Pizlo.
2803
2804         * WebCoreSupport/WebInspectorClient.mm:
2805         (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
2806         is not the same when the Inspector is docked.
2807
2808 2012-10-24  Brady Eidson  <beidson@apple.com>
2809
2810         Add a strategy for loader customization.
2811         https://bugs.webkit.org/show_bug.cgi?id=100278
2812
2813         Reviewed by Alexey Proskuryakov.
2814
2815         * WebCoreSupport/WebPlatformStrategies.h:
2816         (WebPlatformStrategies):
2817         * WebCoreSupport/WebPlatformStrategies.mm:
2818         (WebPlatformStrategies::createLoaderStrategy):
2819
2820 2012-10-24  Timothy Hatcher  <timothy@apple.com>
2821
2822         Make the Inspector WKView/WebView become the first responder when bringToFront is called.
2823
2824         https://bugs.webkit.org/show_bug.cgi?id=100209
2825
2826         Reviewed by Joseph Pecoraro.
2827
2828         * WebCoreSupport/WebInspectorClient.mm:
2829         (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
2830
2831 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
2832
2833         Add a strategy for shared workers
2834         https://bugs.webkit.org/show_bug.cgi?id=100165
2835
2836         Reviewed by Brady Eidson.
2837
2838         * WebCoreSupport/WebPlatformStrategies.h:
2839         * WebCoreSupport/WebPlatformStrategies.mm:
2840         (WebPlatformStrategies::createPasteboardStrategy):
2841         (WebPlatformStrategies::createSharedWorkerStrategy):
2842         (WebPlatformStrategies::createVisitedLinkStrategy):
2843
2844 2012-10-24  Eric Carlson  <eric.carlson@apple.com>
2845
2846         Allow ports to override text track rendering style
2847         https://bugs.webkit.org/show_bug.cgi?id=97800
2848         <rdar://problem/12044964>
2849
2850         Reviewed by Maciej Stachowiak.
2851
2852         * WebCoreSupport/WebSystemInterface.mm:
2853         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
2854
2855 2012-10-23  Dan Bernstein  <mitz@apple.com>
2856
2857         WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
2858         https://bugs.webkit.org/show_bug.cgi?id=100188
2859
2860         Reviewed by Sam Weinig.
2861
2862         * WebView/WebView.mm:
2863         (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
2864         code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
2865         default. Changed to refer to that default key by name.
2866
2867 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
2868
2869         Add support for resolution media query
2870         https://bugs.webkit.org/show_bug.cgi?id=99077
2871
2872         Reviewed by Antti Koivisto.
2873
2874         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
2875
2876         * Configurations/FeatureDefines.xcconfig:
2877
2878 2012-10-21  Andreas Kling  <kling@webkit.org>
2879
2880         Remove Page::javaScriptURLsAreAllowed setting.
2881         <http://webkit.org/b/99944>
2882
2883         Reviewed by Anders Carlsson.
2884
2885         * WebKit.order:
2886         * WebView/WebView.mm:
2887         * WebView/WebViewPrivate.h:
2888
2889 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
2890
2891         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
2892         https://bugs.webkit.org/show_bug.cgi?id=99804
2893
2894         Reviewed by Julien Chaffraix.
2895
2896         CSS3 text related properties will be implemented under this flag,
2897         including text decoration, text-align-last, and text-justify.
2898
2899         * Configurations/FeatureDefines.xcconfig:
2900
2901 2012-10-18  Pablo Flouret  <pablof@motorola.com>
2902
2903         Implement css3-conditional's @supports rule
2904         https://bugs.webkit.org/show_bug.cgi?id=86146
2905
2906         Reviewed by Antti Koivisto.
2907
2908         * Configurations/FeatureDefines.xcconfig:
2909             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
2910
2911 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
2912
2913         [Mac] Uninitialized Members in WebDataSourcePrivate
2914         https://bugs.webkit.org/show_bug.cgi?id=99617
2915
2916         Reviewed by David Kilzer.
2917
2918         Initialize BOOL member variables.
2919
2920         * WebView/WebDataSource.mm:
2921         (WebDataSourcePrivate::WebDataSourcePrivate):
2922
2923 2012-10-17  Mark Rowe  <mrowe@apple.com>
2924
2925         Fix the build with a newer version of clang.
2926
2927         Reviewed by Dan Bernstein.
2928
2929         Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
2930         While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
2931         with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
2932         therefore generates a warning in newer versions of the compiler.
2933
2934         Fixes <rdar://problem/12503709>.
2935
2936         * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
2937         * Misc/WebCoreStatistics.mm: Ditto.
2938         (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
2939         (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
2940
2941 2012-10-16  Jian Li  <jianli@chromium.org>
2942
2943         Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
2944         https://bugs.webkit.org/show_bug.cgi?id=98975
2945
2946         Reviewed by Adam Barth.
2947
2948         Renaming is needed to better match with the draggable region code.
2949
2950         * Configurations/FeatureDefines.xcconfig:
2951
2952 2012-10-15  Dan Bernstein  <mitz@apple.com>
2953
2954         WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
2955         https://bugs.webkit.org/show_bug.cgi?id=99113
2956
2957         Reviewed by Tim Horton.
2958
2959         * WebCoreSupport/WebSystemInterface.mm:
2960         (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
2961
2962 2012-10-15  David Kilzer  <ddkilzer@apple.com>
2963
2964         Move framework and library linking into WebKit.xcconfig
2965         <http://webkit.org/b/99284>
2966
2967         Reviewed by Mark Rowe.
2968
2969         * Configurations/WebKit.xcconfig: Move frameworks and libraries
2970         link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
2971
2972 2012-10-14  Jon Lee  <jonlee@apple.com>
2973
2974         Allow notification origin permission request when no js callback is provided
2975         https://bugs.webkit.org/show_bug.cgi?id=63615
2976         <rdar://problem/11059590>
2977
2978         Reviewed by Sam Weinig.
2979
2980         Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
2981         we do not fall through to calling the standard API's callback if the legacy API's callback is null.
2982
2983         * WebCoreSupport/WebNotificationClient.mm:
2984         (WebCore):
2985         (-[WebNotificationPolicyListener initWithVoidCallback:]):
2986         (-[WebNotificationPolicyListener allow]):
2987         (-[WebNotificationPolicyListener deny]):
2988
2989 2012-10-14  Sam Weinig  <sam@webkit.org>
2990
2991         Make UserScript and UserStyleSheet value objects that are copyable
2992         https://bugs.webkit.org/show_bug.cgi?id=99275
2993
2994         Reviewed by Tim Horton.
2995
2996         * WebView/WebView.mm:
2997         (-[WebView _injectMailQuirksScript]):
2998         (-[WebView _injectOutlookQuirksScript]):
2999         Update for new PageGroup function signatures.
3000
3001 2012-10-10  Brady Eidson  <beidson@apple.com>
3002
3003         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
3004         https://bugs.webkit.org/show_bug.cgi?id=98976
3005
3006         Reviewed by Anders Carlsson.
3007
3008         * WebView/WebDataSource.mm:
3009         (-[WebDataSource data]):
3010
3011 2012-10-10  Jer Noble  <jer.noble@apple.com>
3012
3013         Disallow full screen mode keyboard access by default.
3014         https://bugs.webkit.org/show_bug.cgi?id=98971
3015         <rdar://problem/12474226>
3016
3017         Reviewed by Sam Weinig.
3018
3019         Only support full screen if keyboard access is not requested.
3020
3021         * WebView/WebView.mm:
3022         (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
3023
3024 2012-10-10  Jon Lee  <jonlee@apple.com>
3025
3026         [WK2] Activate plugins when user clicks on snapshot
3027         https://bugs.webkit.org/show_bug.cgi?id=98328
3028         <rdar://problem/12426681>
3029
3030         Reviewed by Brady Eidson.
3031
3032         * WebCoreSupport/WebFrameLoaderClient.h:
3033         * WebCoreSupport/WebFrameLoaderClient.mm:
3034         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
3035
3036 2012-10-10  Brady Eidson  <beidson@apple.com>
3037
3038         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
3039         https://bugs.webkit.org/show_bug.cgi?id=98541
3040
3041         Reviewed by Anders Carlsson.
3042
3043         * WebView/WebHTMLView.mm:
3044         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
3045
3046 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
3047
3048         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
3049         https://bugs.webkit.org/show_bug.cgi?id=98839
3050
3051         Reviewed by Sam Weinig.
3052
3053         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
3054         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
3055         but store the computed rect in m_visibleRect.
3056         
3057         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
3058         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
3059
3060         * WebView/WebFrame.mm:
3061         (-[WebFrame _layerTreeAsText]):
3062
3063 2012-10-09  Jian Li  <jianli@chromium.org>
3064
3065         Update the CSS property used to support draggable regions.
3066         https://bugs.webkit.org/show_bug.cgi?id=97156
3067
3068         Reviewed by Adam Barth.
3069
3070         The CSS property to support draggable regions, guarded under
3071         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
3072         confusion with DASHBOARD_SUPPORT feature.
3073
3074         Also update the code to use the new name annotatedRegions to work for
3075         both features.
3076
3077         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
3078         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
3079         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
3080         (WebChromeClient::annotatedRegionsChanged):
3081         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
3082         (-[WebView _dashboardRegions]):
3083
3084 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
3085
3086         Unreviewed, rolling out r130811 and r130821.
3087         http://trac.webkit.org/changeset/130811
3088         http://trac.webkit.org/changeset/130821
3089         https://bugs.webkit.org/show_bug.cgi?id=98831
3090
3091         Broke date-suggestion-picker-appearance-with-scroll-bar.html
3092         (Requested by abarth|gardening on #webkit).
3093
3094         * WebView/WebFullScreenController.mm:
3095         (screenRectOfContents):
3096         * WebView/WebRenderNode.mm:
3097         (copyRenderNode):
3098
3099 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
3100
3101         Throttle DOM timers on hidden pages.
3102         https://bugs.webkit.org/show_bug.cgi?id=98474
3103
3104         Reviewed by Maciej Stachowiak.
3105
3106         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
3107         DumpRenderTree to modify the visibility state of a page.  The latter
3108         is needed to test throttling of timers on hidden pages through DumpRenderTree.
3109
3110         * Configurations/FeatureDefines.xcconfig:
3111         * WebView/WebView.mm:
3112         (-[WebView _setVisibilityState:isInitialState:]):
3113         * WebView/WebViewPrivate.h:
3114
3115 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
3116
3117         Rename first/second to key/value in HashMap iterators
3118         https://bugs.webkit.org/show_bug.cgi?id=82784
3119
3120         Reviewed by Eric Seidel.
3121
3122         * History/WebHistory.mm:
3123         (-[WebHistoryPrivate removeItemFromDateCaches:]):
3124         (-[WebHistoryPrivate orderedLastVisitedDays]):
3125         (WebHistoryWriter::WebHistoryWriter):
3126         * Misc/WebCoreStatistics.mm:
3127         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
3128         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
3129         * Plugins/Hosted/NetscapePluginHostManager.mm:
3130         (WebKit::NetscapePluginHostManager::hostForPlugin):
3131         (WebKit::NetscapePluginHostManager::pluginHostDied):
3132         (WebKit::NetscapePluginHostManager::didCreateWindow):
3133         * Plugins/Hosted/NetscapePluginHostProxy.mm:
3134         (WebKit::NetscapePluginHostProxy::pluginHostDied):
3135         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
3136         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
3137         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
3138         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
3139         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
3140         (WebKit::NetscapePluginInstanceProxy::destroy):
3141         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
3142         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
3143         * Plugins/Hosted/ProxyInstance.mm:
3144         (WebKit::ProxyInstance::methodNamed):
3145         (WebKit::ProxyInstance::fieldNamed):
3146         * Plugins/WebNetscapePluginView.mm:
3147         (-[WebNetscapePluginView stopTimers]):
3148         (-[WebNetscapePluginView startTimers]):
3149         * WebCoreSupport/WebNotificationClient.mm:
3150         (WebNotificationClient::show):
3151         (WebNotificationClient::clearNotifications):
3152         (WebNotificationClient::notificationObjectDestroyed):
3153         * WebView/WebHTMLView.mm:
3154         (commandNameForSelector):
3155
3156 2012-10-06  Dan Bernstein  <mitz@apple.com>
3157
3158         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
3159         https://bugs.webkit.org/show_bug.cgi?id=98601
3160
3161         Reviewed by Darin Adler.
3162
3163         * WebView/WebView.mm:
3164         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
3165         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
3166         the value YES.
3167
3168 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
3169
3170         Unreviewed, rolling out r130556 and r130564.
3171         http://trac.webkit.org/changeset/130556
3172         http://trac.webkit.org/changeset/130564
3173         https://bugs.webkit.org/show_bug.cgi?id=98572
3174
3175         The patch wasn't reviewed by a reviewer and it is breaking
3176         Chromium Windows (Requested by jchaffraix on #webkit).
3177
3178         * WebCoreSupport/WebSystemInterface.mm:
3179         (InitWebCoreSystemInterface):
3180
3181 2012-10-05  Tim Horton  <timothy_horton@apple.com>
3182
3183         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
3184         https://bugs.webkit.org/show_bug.cgi?id=98565
3185         <rdar://problem/12436468>
3186
3187         Reviewed by Simon Fraser.
3188
3189         Add wkCGContextDrawsWithCorrectShadowOffsets.
3190
3191         * WebCoreSupport/WebSystemInterface.mm:
3192         (InitWebCoreSystemInterface):
3193
3194 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
3195
3196         Allow ports to override text track rendering style
3197         https://bugs.webkit.org/show_bug.cgi?id=97800
3198         <rdar://problem/12044964>
3199
3200         Reviewed by Silvia Pfeiffer.
3201
3202         Add WCSI support for new WKSI caption functions.
3203
3204         * WebCoreSupport/WebSystemInterface.mm:
3205         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
3206
3207 2012-10-04  Jon Lee  <jonlee@apple.com>
3208
3209         Add a setting to enable plugin snapshotting
3210         https://bugs.webkit.org/show_bug.cgi?id=98319
3211         <rdar://problem/12426480>
3212
3213         Reviewed by Brady Eidson.
3214
3215         Expose plugInSnapshottingEnabled preference to WebKit clients.
3216
3217         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
3218         * WebView/WebPreferences.mm:
3219         (+[WebPreferences initialize]): Setting is turned off by default.
3220         (-[WebPreferences plugInSnapshottingEnabled]):
3221         (-[WebPreferences setPlugInSnapshottingEnabled:]):
3222         * WebView/WebPreferencesPrivate.h:
3223         * WebView/WebView.mm:
3224         (-[WebView _preferencesChanged:]): Update settings based on preference.
3225
3226 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
3227
3228         Turn Compositing on by default in WebKit build
3229         https://bugs.webkit.org/show_bug.cgi?id=98315
3230
3231         Reviewed by Simon Fraser.
3232
3233         enable -webkit-blend-mode on trunk.
3234
3235         * Configurations/FeatureDefines.xcconfig:
3236
3237 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
3238
3239         Final part of "sync" to "flush" renaming
3240         https://bugs.webkit.org/show_bug.cgi?id=98430
3241
3242         Reviewed by Tim Horton.
3243
3244         Change method names on GraphicsLayer and GraphicsLayerClient that
3245         refer to "sync" to use the term "flush" instead, to be consistent
3246         with the rest of the code.
3247
3248         * WebView/WebView.mm:
3249
3250 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
3251
3252         [WK2] Support all attributes of GeolocationPosition
3253         https://bugs.webkit.org/show_bug.cgi?id=98212
3254
3255         Reviewed by Sam Weinig.
3256
3257         Add an internal constructor for the sake of testing.
3258         A similar API is used on iOS.
3259
3260         * WebView/WebGeolocationPosition.mm:
3261         (-[WebGeolocationPosition initWithGeolocationPosition:]):
3262
3263 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
3264
3265         Standardize on "flush" terminology for compositing layer flushing/syncing
3266         https://bugs.webkit.org/show_bug.cgi?id=98321
3267
3268         Reviewed by Simon Fraser.
3269
3270         Rename compositing-related methods that refer to "syncing" to instead
3271         refer to "flushing".
3272
3273         * WebCoreSupport/WebChromeClient.h:
3274         * WebCoreSupport/WebChromeClient.mm:
3275         (WebChromeClient::scheduleCompositingLayerFlush):
3276         * WebView/WebView.mm:
3277         (-[WebView _flushCompositingChanges]):
3278         (LayerFlushController::flushLayers):
3279         (-[WebView _scheduleCompositingLayerFlush]):
3280         * WebView/WebViewInternal.h:
3281
3282 == Rolled over to ChangeLog-2012-10-02 ==