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