<rdar://problem/13174821> Remove files with an incorrect license.
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2013-06-18  Alexey Proskuryakov  <ap@apple.com>
2
3         <rdar://problem/13174821> Remove files with an incorrect license.
4
5         Rubber-stamped by Maciej Stachowiak.
6
7         This will break the build, stay tuned for a fix coming soon.
8
9         * WebCoreSupport/WebFrameNetworkingContext.h: Removed.
10         * WebCoreSupport/WebFrameNetworkingContext.mm: Removed.
11
12 2013-06-17  Michael Brüning  <michael.bruning@digia.com>
13
14         [Qt] Remove Qt specific QTKIT flagged code.
15         https://bugs.webkit.org/show_bug.cgi?id=117635
16
17         Reviewed by Simon Hausmann.
18
19         Due to disabling QTKIT for Qt in r151546, the
20         code the flags that are not taken into account
21         anymore and the code that has been rendered
22         unreachable by this are removed.
23
24         * WebView/WebView.mm:
25         (-[WebView _preferencesChanged:]):
26
27 2013-06-17  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
28
29         Unreviewed, rolling out r151632.
30         http://trac.webkit.org/changeset/151632
31         https://bugs.webkit.org/show_bug.cgi?id=117585
32
33         Debug build error ASSERT(WTF_USE_GRAMMAR_CHECKING) for non MAC
34         platforms
35
36         * WebCoreSupport/WebContextMenuClient.mm:
37         (fixMenusReceivedFromOldClients):
38
39 2013-06-14  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
40
41         Context menu grammar checking items are available when GRAMMAR_CHECKING macro is off
42         https://bugs.webkit.org/show_bug.cgi?id=117585
43
44         Reviewed by Anders Carlsson.
45
46         Add GRAMMAR_CHECKING guard to the context menu grammar items.
47
48         * WebCoreSupport/WebContextMenuClient.mm:
49         (fixMenusReceivedFromOldClients):
50
51 2013-06-13  Jer Noble  <jer.noble@apple.com>
52
53         Add support for AVFoundation-backed HTMLMediaElements in the WebVideoFullScreenController.
54         https://bugs.webkit.org/show_bug.cgi?id=117597
55
56         Reviewed by Eric Carlson.
57
58         Allow AVFoundation to be enabled even when the FullScreen API is disabled.
59
60         * WebView/WebView.mm:
61         (-[WebView _preferencesChanged:]): 
62
63 2013-06-12  Anders Carlsson  <andersca@apple.com>
64
65         Remove the notion of inactive plug-ins
66         https://bugs.webkit.org/show_bug.cgi?id=117570
67         <rdar://problem/13484213>
68
69         Reviewed by Tim Horton.
70
71         Remove code that deals with inactive plug-ins.
72
73         * WebCoreSupport/WebChromeClient.mm:
74         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
75         (WebChromeClient::unavailablePluginButtonClicked):
76         * WebCoreSupport/WebFrameLoaderClient.mm:
77         (WebFrameLoaderClient::createPlugin):
78
79 2013-06-12  Zan Dobersek  <zdobersek@igalia.com>
80
81         Remove memoryInfoEnabled, quantizedMemoryInfoEnabled settings
82         https://bugs.webkit.org/show_bug.cgi?id=117512
83
84         Reviewed by Darin Adler.
85
86         * WebKit.order: Remove the memoryInfoEnabled entry.
87         * WebView/WebPreferenceKeysPrivate.h: Remove WebKitMemoryInfoEnabledPreferenceKey.
88         * WebView/WebPreferences.mm: Remove memoryInfoEnabled, setMemoryInfoEnabled methods.
89         (+[WebPreferences initialize]): Don't set the default value for the WebKitMemoryInfoEnabledPreferenceKey, the preference is being removed.
90         * WebView/WebPreferencesPrivate.h: Remove memoryInfoEnabled, setMemoryInfoEnabled method declarations.
91         * WebView/WebView.mm:
92         (-[WebView _preferencesChanged:]): Remove the call to Settings::setMemoryInfoEnabled, the setting is being removed.
93
94 2013-06-06  Timothy Hatcher  <timothy@apple.com>
95
96         Update the framework bundle identifier for the Web Inspector.
97
98         Reviewed by Mark Rowe.
99
100         * WebCoreSupport/WebInspectorClient.mm:
101         (useWebKitWebInspector):
102         (WebInspectorFrontendClient::localizedStringsURL):
103         (-[WebInspectorWindowController inspectorPagePath]):
104
105 2013-06-05  Bear Travis  <betravis@adobe.com>
106
107         [CSS Exclusions][CSS Shapes] Split CSS Exclusions & Shapes compile & runtime flags
108         https://bugs.webkit.org/show_bug.cgi?id=117172
109
110         Reviewed by Alexandru Chiculita.
111
112         Adding the CSS_SHAPES compile flag.
113
114         * Configurations/FeatureDefines.xcconfig:
115
116 2013-06-01  Andreas Kling  <akling@apple.com>
117
118         Remove unnused WebDOMNodeOperationsInternal category.
119         <http://webkit.org/b/117105>
120
121         Reviewed by Ryosuke Niwa.
122
123         _subresourceURLs had no clients.
124
125         * DOM/WebDOMOperations.mm:
126
127 2013-06-01  Andreas Kling  <akling@apple.com>
128
129         Move Node::hasID() and hasClass() to Element.
130         <http://webkit.org/b/117104>
131
132         Reviewed by Ryosuke Niwa.
133
134         * WebView/WebRenderLayer.mm:
135         (+[WebRenderLayer nameForLayer:]):
136
137 2013-05-31  Stephanie Lewis  <slewis@apple.com>
138
139         Update low memory handler to use new memory pressure notifications on new OS versions.
140         <rdar://problem/14027095> 
141
142         Reviewed by Mark Rowe.
143
144         * WebCoreSupport/WebSystemInterface.mm:
145         (InitWebCoreSystemInterface):
146
147 2013-05-29  Jeffrey Pfau  <jpfau@apple.com>
148
149         [Mac] Enable cache partitioning and the public suffix list on 10.8
150         <rdar://problem/13679019>
151
152         Rubber-stamped by David Kilzer.
153
154         * Configurations/FeatureDefines.xcconfig:
155
156 2013-05-29  Joseph Pecoraro  <pecoraro@apple.com>
157
158         Web Inspector: get rid of obsolete InspectorFrontendHost.hiddenPanels()
159         https://bugs.webkit.org/show_bug.cgi?id=60152
160
161         Reviewed by Andreas Kling.
162
163         * WebCoreSupport/WebInspectorClient.mm:
164
165 2013-05-28  Joseph Pecoraro  <pecoraro@apple.com>
166
167         Drag to move DOM nodes does not work
168         https://bugs.webkit.org/show_bug.cgi?id=116865
169
170         Do not block drag events on the WebKit 1 Web Inspector WebView.
171
172         Reviewed by Timothy Hatcher.
173
174         * WebCoreSupport/WebInspectorClient.mm:
175
176 2013-05-28  Andreas Kling  <akling@apple.com>
177
178         Document::setFocusedNode() should be setFocusedElement().
179         <http://webkit.org/b/116857>
180
181         Reviewed by Antti Koivisto.
182
183         * WebView/WebHTMLView.mm:
184         (-[WebHTMLView clearFocus]):
185         (-[WebHTMLView becomeFirstResponder]):
186
187 2013-05-25  Andreas Kling  <akling@apple.com>
188
189         Remove Document::getFocusableNodes().
190         <http://webkit.org/b/116773>
191
192         Reviewed by Joseph Pecoraro.
193
194         Remove the private _focusableNodes API on DOMDocument, it has no clients.
195
196         * DOM/WebDOMOperations.mm:
197         * DOM/WebDOMOperationsPrivate.h:
198
199 2013-05-25  Simon Fraser  <simon.fraser@apple.com>
200
201         Unprefix Page Visibility API
202         https://bugs.webkit.org/show_bug.cgi?id=102340
203
204         Reviewed by Tim Horton.
205
206         Renaming of the "preview" state to "unloaded".
207
208         * WebView/WebView.mm:
209         * WebView/WebViewPrivate.h:
210
211 2013-05-25  Dan Bernstein  <mitz@apple.com>
212
213         <rdar://problem/13924889> -webView:didPerformClientRedirectFromURL:toURL:inFrame: should be given the redirecting URL as the “from” URL
214         https://bugs.webkit.org/show_bug.cgi?id=116733
215
216         Reviewed by Adele Peterson.
217
218         By the time the history controller calls updateGlobalHistoryRedirectLinks(), the document
219         loader already reflects the destination URL. In order to be able to provide the immediate
220         source URL to the delegate, we make WebFrame track a URL and provisional URL, updating them
221         in response to FrameLoader callbacks in exactly the same way WebFrameProxy maintains its
222         m_url and m_provisionalURL member variables.
223
224         * WebCoreSupport/WebFrameLoaderClient.mm:
225         (WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): Update
226         provisionalURL.
227         (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage): Update url.
228         (WebFrameLoaderClient::dispatchDidPushStateWithinPage): Ditto.
229         (WebFrameLoaderClient::dispatchDidReplaceStateWithinPage): Ditto.
230         (WebFrameLoaderClient::dispatchDidPopStateWithinPage): Ditto.
231         (WebFrameLoaderClient::dispatchDidStartProvisionalLoad): Update provisionalURL.
232         (WebFrameLoaderClient::dispatchDidCommitLoad): Update URL and provisionalURL.
233         (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): Clear provisionalURL.
234         (WebFrameLoaderClient::dispatchDidFailLoad): Added an assertion.
235         (WebFrameLoaderClient::dispatchDidFinishLoad): Ditto.
236         (WebFrameLoaderClient::updateGlobalHistoryRedirectLinks): Pass the last committed URL as the
237         source, rather than clientRedirectSourceForHistory().
238         * WebView/WebFrameInternal.h: Added url and provisionalURL ivars to WebFramePrivate.
239
240 2013-05-24  Anders Carlsson  <andersca@apple.com>
241
242         Remove using namespace std from Mac WebKit1
243         https://bugs.webkit.org/show_bug.cgi?id=116747
244
245         Reviewed by Sam Weinig.
246
247         Use explicit std:: qualifiers instead.
248
249         * History/BinaryPropertyList.cpp:
250         (IntegerArray::deletedValueSize):
251         (BinaryPropertyListPlan::invalidObjectReference):
252         (bytesNeeded):
253         * History/WebHistory.mm:
254         (-[WebHistoryPrivate orderedLastVisitedDays]):
255         (WebHistoryWriter::WebHistoryWriter):
256         * History/WebHistoryItem.mm:
257         (-[WebHistoryItem initFromDictionaryRepresentation:]):
258         * Plugins/Hosted/NetscapePluginHostManager.mm:
259         (WebKit::NetscapePluginHostManager::instantiatePlugin):
260         * Plugins/Hosted/NetscapePluginHostProxy.mm:
261         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
262         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
263         (WebKit::NetscapePluginInstanceProxy::wheelEvent):
264         (WebKit::NetscapePluginInstanceProxy::print):
265         (WebKit::NetscapePluginInstanceProxy::snapshot):
266         (WebKit::NetscapePluginInstanceProxy::loadURL):
267         (WebKit::NetscapePluginInstanceProxy::createBindingsInstance):
268         * Plugins/Hosted/ProxyInstance.mm:
269         (WebKit::ProxyInstance::invoke):
270         (WebKit::ProxyInstance::supportsInvokeDefaultMethod):
271         (WebKit::ProxyInstance::supportsConstruct):
272         (WebKit::ProxyInstance::getPropertyNames):
273         (WebKit::ProxyInstance::methodNamed):
274         (WebKit::ProxyInstance::fieldNamed):
275         (WebKit::ProxyInstance::fieldValue):
276         (WebKit::ProxyInstance::setFieldValue):
277         * Plugins/WebBasePluginPackage.mm:
278         (-[WebBasePluginPackage supportsExtension:]):
279         (-[WebBasePluginPackage MIMETypeForExtension:]):
280         * Plugins/WebNetscapePluginStream.mm:
281         (WebNetscapePluginStream::deliverData):
282         * Plugins/WebNetscapePluginView.mm:
283         (PluginTimer::start):
284         (-[WebNetscapePluginView _postURL:target:len:buf:file:notifyData:sendNotification:allowHeaders:]):
285         * WebCoreSupport/WebFrameLoaderClient.mm:
286         * WebView/WebFrame.mm:
287         * WebView/WebHTMLView.mm:
288         (-[WebHTMLView _adjustedBottomOfPageWithTop:bottom:limit:]):
289         * WebView/WebTextCompletionController.mm:
290         (-[WebTextCompletionController _placePopupWindow:]):
291
292 2013-05-24  Anders Carlsson  <andersca@apple.com>
293
294         Move history property list writer to WebKit
295         https://bugs.webkit.org/show_bug.cgi?id=116746
296
297         Reviewed by Tim Horton.
298
299         Move WebCore history files to WebKit since they're only used by WebKit now.
300
301         * History/BinaryPropertyList.cpp: Renamed from Source/WebCore/platform/cf/BinaryPropertyList.cpp.
302         * History/BinaryPropertyList.h: Renamed from Source/WebCore/platform/cf/BinaryPropertyList.h.
303         * History/HistoryPropertyList.cpp: Renamed from Source/WebCore/history/cf/HistoryPropertyList.cpp.
304         * History/HistoryPropertyList.h: Renamed from Source/WebCore/history/cf/HistoryPropertyList.h.
305         * History/WebHistory.mm:
306
307 2013-05-24  Christophe Dumez  <ch.dumez@sisa.samsung.com>
308
309         Remove custom code for webkitAudioContext global constructor getter
310         https://bugs.webkit.org/show_bug.cgi?id=116530
311
312         Reviewed by Geoffrey Garen.
313
314         Use RuntimeEnabledFeatures instead of Settings to toggle Web Audio support.
315
316         * WebView/WebView.mm:
317         (-[WebView _preferencesChanged:]):
318
319 2013-05-23  Anders Carlsson  <andersca@apple.com>
320
321         Crash in convertMainResourceLoadToDownload when downloading file by option-return
322         https://bugs.webkit.org/show_bug.cgi?id=116451
323
324         Reviewed by Andreas Kling.
325
326         If the main resource loader is null, create a new download instead since there's no existing loader to convert.
327
328         * WebCoreSupport/WebFrameLoaderClient.mm:
329         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
330
331 2013-05-22  Simon Fraser  <simon.fraser@apple.com>
332
333         Fix issues with focus rings on search fields
334         https://bugs.webkit.org/show_bug.cgi?id=116591
335
336         Reviewed by Darin Adler.
337         
338         In WebKit1, focus rings didn't render correctly on some OSes until
339         some other control drew a focus ring, which changes internal AppKit state
340         on the focused view. Fix by overriding an internal AppKit method to always
341         disable AppKit's "automatic" focus ring drawing.
342
343         * WebView/WebHTMLView.mm:
344         (-[WebHTMLView _automaticFocusRingDisabled]):
345
346 2013-05-20  David Kilzer  <ddkilzer@apple.com>
347
348         Synchronize FeatureDefines.xcconfig
349
350         * Configurations/FeatureDefines.xcconfig: Add a newline to the
351         end of the file.
352
353 2013-05-19  Anders Carlsson  <andersca@apple.com>
354
355         Remove link prerendering code
356         https://bugs.webkit.org/show_bug.cgi?id=116415
357
358         Reviewed by Darin Adler.
359
360         This code was only used by Chromium and is dead now.
361
362         * Configurations/FeatureDefines.xcconfig:
363
364 2013-05-19  Anders Carlsson  <andersca@apple.com>
365
366         Remove ChromeClient::webView()
367         https://bugs.webkit.org/show_bug.cgi?id=116054
368
369         Reviewed by Darin Adler.
370
371         This blatantly horrible layer violation was only used to know if a ChromeClient is an empty
372         client or not. We already have a (slightly less horrible) way to do that.
373
374         * WebCoreSupport/WebChromeClient.h:
375         (WebChromeClient):
376
377 2013-05-17  Anders Carlsson  <andersca@apple.com>
378
379         Accessing null function pointers is bad.
380
381         * WebCoreSupport/WebFrameLoaderClient.mm:
382
383 2013-05-17  Anders Carlsson  <andersca@apple.com>
384
385         Make kit(Frame*) more robust
386         https://bugs.webkit.org/show_bug.cgi?id=116324
387
388         Reviewed by Darin Adler.
389
390         Check that the frame loader's client isn't the EmptyFrameLoaderClient (or a subclass thereof)
391         before casting to WebFrameLoaderClient.
392
393         * WebView/WebFrame.mm:
394         (kit):
395
396 2013-05-17  Anders Carlsson  <andersca@apple.com>
397
398         Move the policy function to WebFramePolicyListener
399         https://bugs.webkit.org/show_bug.cgi?id=116323
400
401         Reviewed by Darin Adler.
402
403         There's no need for the WebFrameLoaaderClient to hold on to the policy function,
404         so move it to WebFramePolicyListener. This gets rid of another WebFrameLoaderClient cast.
405
406         * WebCoreSupport/WebFrameLoaderClient.mm:
407         (WebFrameLoaderClient::setUpPolicyListener):
408         Pass the policy function when creating the WebFramePolicyListener object.
409
410 2013-05-17  Anders Carlsson  <andersca@apple.com>
411
412         WebFramePolicyListener should keep its Frame in a RefPtr
413         https://bugs.webkit.org/show_bug.cgi?id=116322
414
415         Reviewed by Darin Adler.
416
417         * WebCoreSupport/WebFrameLoaderClient.mm:
418         (-[WebFramePolicyListener initWithWebCoreFrame:]):
419         No need to ref the frame, the RefPtr does that for us.
420
421         (-[WebFramePolicyListener invalidate]):
422         Just set the frame to null.
423
424         (-[WebFramePolicyListener dealloc]):
425         Remove call to deref, that's done automatically now.
426
427         (-[WebFramePolicyListener finalize]):
428         Remove this method. (We could have kept it just for the assertion but I didn't think that was necessary).
429
430         (-[WebFramePolicyListener receivedPolicyDecision:):
431         Use release() to transfer ownership.
432
433 2013-05-17  Anders Carlsson  <andersca@apple.com>
434
435         Reduce number of WebFrameLoaderClient static casts in WebKit
436         https://bugs.webkit.org/show_bug.cgi?id=116320
437
438         Reviewed by Antti Koivisto.
439
440         We already have a function to return a WebFrame from a WebCore::Frame, use it.
441
442         * DOM/WebDOMOperations.mm:
443         (WebFrameFilter::shouldIncludeSubframe):
444         * WebView/WebDataSource.mm:
445         (-[WebDataSource webFrame]):
446
447 2013-05-16  Commit Queue  <commit-queue@webkit.org>
448
449         Unreviewed, rolling out r150034.
450         http://trac.webkit.org/changeset/150034
451         https://bugs.webkit.org/show_bug.cgi?id=116257
452
453         This work around doesn't work due to another bug NSUndoManager
454         has (Requested by rniwa on #webkit).
455
456         * WebCoreSupport/WebEditorClient.mm:
457         (WebEditorClient::registerUndoOrRedoStep):
458
459 2013-05-16  Tim Horton  <timothy_horton@apple.com>
460
461         PDFPlugins don't load when plugins are disabled, but they should
462         https://bugs.webkit.org/show_bug.cgi?id=75790
463         <rdar://problem/11650197>
464
465         Reviewed by Anders Carlsson.
466
467         * Plugins/WebBasePluginPackage.mm:
468         (-[WebBasePluginPackage getPluginInfoFromPLists]):
469         * Plugins/WebNetscapePluginPackage.mm:
470         (-[WebNetscapePluginPackage getPluginInfoFromResources]):
471         Nothing loaded via WebBasePluginPackage or WebNetscapePluginPackage
472         is an application plugin.
473
474         * WebView/WebFrame.mm:
475         (-[WebFrame _canProvideDocumentSource]):
476         Previously, this caller depended on pluginData() returning null if
477         plug-ins were disabled. Since that is no longer the case, we have to
478         check if we can use plug-ins, and otherwise ignore non-application-plug-ins.
479
480 2013-05-16  Andreas Kling  <akling@apple.com>
481
482         Page::chrome() should return a reference.
483         <http://webkit.org/b/116185>
484
485         Reviewed by Anders Carlsson.
486
487 2013-05-16  Dan Bernstein  <mitz@apple.com>
488
489         -webView:updateHistoryTitle:forURL: does not pass a frame to the delegate
490         https://bugs.webkit.org/show_bug.cgi?id=116243
491
492         Reviewed by Anders Carlsson.
493
494         Added a WebFrame parameter to the delegate method.
495
496         * WebCoreSupport/WebFrameLoaderClient.mm:
497         (WebFrameLoaderClient::setTitle): Pass the frame to the delegate. Maintain
498         compatibility with clients that implement the old delegate method that
499         doesn’t take a frame.
500         * WebView/WebDelegateImplementationCaching.h:
501         (WebHistoryDelegateImplementationCache): Added a field to cache the
502         implementation of the old delegate method.
503         * WebView/WebHistoryDelegate.h: Changed the signature of the delegate method.
504         * WebView/WebView.mm:
505         (-[WebView _cacheHistoryDelegateImplementations]): Cache the implementation
506         of the new delegate method, but also check for the old one.
507
508 2013-05-16  Simon Fraser  <simon.fraser@apple.com>
509
510         Re-land r150168 with some OS version guards.
511
512         * WebView/WebFrameView.mm:
513         (-[WebFrameView drawRect:]):
514         (-[WebFrameView wantsUpdateLayer]):
515         (-[WebFrameView updateLayer]):
516
517 2013-05-16  Commit Queue  <commit-queue@webkit.org>
518
519         Unreviewed, rolling out r150168.
520         http://trac.webkit.org/changeset/150168
521         https://bugs.webkit.org/show_bug.cgi?id=116214
522
523         broke the world on Mountain Lion (Requested by thorton on
524         #webkit).
525
526         * WebView/WebFrameView.mm:
527         (-[WebFrameView drawRect:]):
528
529 2013-05-15  Simon Fraser  <simon.fraser@apple.com>
530
531         Avoid backing store for the WebFrameView's layer when the WebView is layer-backed
532         https://bugs.webkit.org/show_bug.cgi?id=116172
533
534         Reviewed by Tim Horton.
535
536         When the WebView is layer-backed, AppKit will create a layer with backing store for
537         the WebFrameView because it implements drawRect:. However, this method only paints
538         when there is no documentView, so this layer’s backing store is wasteful.
539
540         We can avoid allocation of this backing store by implementing -wantsUpdateLayer
541         and -updateLayer, and setting the view’s backgroundColor.
542
543         * WebView/WebFrameView.mm:
544         (-[WebFrameView wantsUpdateLayer]):
545         (-[WebFrameView updateLayer]):
546
547 2013-05-13  Anders Carlsson  <andersca@apple.com>
548
549         Frame::editor() should return a reference
550         https://bugs.webkit.org/show_bug.cgi?id=116037
551
552         Reviewed by Darin Adler.
553
554         * WebView/WebFrame.mm:
555         (-[WebFrame _selectedString]):
556         (-[WebFrame _firstRectForDOMRange:]):
557         (-[WebFrame _markDOMRange]):
558         (-[WebFrame _insertParagraphSeparatorInQuotedContent]):
559         (-[WebFrame _setTypingStyle:withUndoAction:]):
560         (-[WebFrame _replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
561         * WebView/WebHTMLRepresentation.mm:
562         (-[WebHTMLRepresentation finishedLoadingWithDataSource:]):
563         * WebView/WebHTMLView.mm:
564         (-[WebHTMLView _pasteWithPasteboard:allowPlainText:]):
565         (-[WebHTMLView _shouldDeleteRange:]):
566         (-[WebHTMLView _canEdit]):
567         (-[WebHTMLView _canEditRichly]):
568         (-[WebHTMLView _insertOrderedList]):
569         (-[WebHTMLView _insertUnorderedList]):
570         (-[WebHTMLView _canIncreaseSelectionListLevel]):
571         (-[WebHTMLView _canDecreaseSelectionListLevel]):
572         (-[WebHTMLView _increaseSelectionListLevel]):
573         (-[WebHTMLView _increaseSelectionListLevelOrdered]):
574         (-[WebHTMLView _increaseSelectionListLevelUnordered]):
575         (-[WebHTMLView _decreaseSelectionListLevel]):
576         (-[WebHTMLView Editor::coreCommandBySelector:]):
577         (-[WebHTMLView Editor::coreCommandByName:]):
578         (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
579         (-[WebHTMLView becomeFirstResponder]):
580         (-[WebHTMLView _selectionStartFontAttributesAsRTF]):
581         (-[WebHTMLView _applyStyleToSelection:withUndoAction:]):
582         (-[WebHTMLView _changeCSSColorUsingSelector:inRange:]):
583         (-[WebHTMLView checkSpelling:]):
584         (-[WebHTMLView showGuessPanel:]):
585         (-[WebHTMLView toggleBaseWritingDirection:]):
586         (-[WebHTMLView changeBaseWritingDirection:]):
587         (-[WebHTMLView _changeBaseWritingDirectionTo:]):
588         (-[WebHTMLView _updateFontPanel]):
589         (-[WebHTMLView markedRange]):
590         (-[WebHTMLView hasMarkedText]):
591         (-[WebHTMLView unmarkText]):
592         (-[WebHTMLView setMarkedText:selectedRange:]):
593         (-[WebHTMLView doCommandBySelector:]):
594         (-[WebHTMLView insertText:]):
595         (-[WebHTMLView _updateSelectionForInputManager]):
596         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
597         (-[WebHTMLView setMarkedTextMatchesAreHighlighted:]):
598         (-[WebHTMLView markedTextMatchesAreHighlighted]):
599         (-[WebHTMLView _findString:options:]):
600         * WebView/WebView.mm:
601         (-[WebView _executeCoreCommandByName:value:]):
602         (-[WebView editableDOMRangeForPoint:]):
603         (-[WebView setEditable:]):
604         (-[WebView deleteSelection]):
605         (-[WebView applyStyle:]):
606         (-[WebView typingAttributes]):
607         (-[WebView _simplifyMarkup:endNode:]):
608         (-[WebView handleAcceptedAlternativeText:]):
609
610 2013-05-15  Darin Adler  <darin@apple.com>
611
612         [Mac] Remove the ClipboardMac class and header file
613         https://bugs.webkit.org/show_bug.cgi?id=116165
614
615         Reviewed by Anders Carlsson.
616
617         * WebCoreSupport/WebDragClient.mm: Import Clipboard.h instead of ClipboardMac.h.
618
619 2013-05-15  Darin Adler  <darin@apple.com>
620
621         [Mac] Thin out the ClipboardMac class and header file to prepare for deleting them
622         https://bugs.webkit.org/show_bug.cgi?id=116159
623
624         Reviewed by Andreas Kling.
625
626         * WebCoreSupport/WebDragClient.mm:
627         (WebDragClient::willPerformDragSourceAction): Changed to get the pasteboard name
628         without going through the ClipboardMac class.
629         (WebDragClient::startDrag): Ditto.
630
631 2013-05-14  Beth Dakin  <bdakin@apple.com>
632
633         Printing in 1Password app is broken with screen fonts disabled
634         https://bugs.webkit.org/show_bug.cgi?id=116133
635         -and corresponding-
636         <rdar://problem/13162981>
637
638         Reviewed by Anders Carlsson.
639
640         Return YES from [WebPreferences screenFontSubstitutionEnabled] for versions of the 
641         1Password app that were linked on or before MountainLion.
642
643         * WebView/WebPreferences.mm:
644         (needsScreenFontsEnabledQuirk):
645         (-[WebPreferences screenFontSubstitutionEnabled]):
646
647 2013-05-13  Dan Bernstein  <mitz@apple.com>
648
649         Make -[WebNavigationData url] the destination of the navigation
650         https://bugs.webkit.org/show_bug.cgi?id=114904
651
652         Reviewed by Dave Kilzer.
653
654         * WebCoreSupport/WebFrameLoaderClient.mm:
655         (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with the
656         current URL, not the original request URL.
657
658 2013-05-13  Anders Carlsson  <andersca@apple.com>
659
660         Remove ChromeClient::willPopupMenu
661         https://bugs.webkit.org/show_bug.cgi?id=116063
662
663         Reviewed by Andreas Kling.
664
665         ChromeClient::willPopupMenu is only called in one place from WebKit, so just move the function to the call site.
666
667         * WebCoreSupport/PopupMenuMac.mm:
668         (PopupMenuMac::show):
669         * WebCoreSupport/WebChromeClient.h:
670         * WebCoreSupport/WebChromeClient.mm:
671
672 2013-05-12  Timothy Hatcher  <timothy@apple.com>
673
674         Add support for updating the Web Inspector toolbar height.
675
676         https://bugs.webkit.org/show_bug.cgi?id=115996
677
678         Reviewed by Joseph Pecoraro and Benjamin Poulain.
679
680         * WebCoreSupport/WebInspectorClient.h:
681         * WebCoreSupport/WebInspectorClient.mm:
682         (WebInspectorFrontendClient::setToolbarHeight):
683
684 2013-05-13  Ryosuke Niwa  <rniwa@webkit.org>
685
686         Sometimes NSUndoManager can get into an inconsistent state
687         https://bugs.webkit.org/show_bug.cgi?id=116050
688
689         Reviewed by Enrica Casucci.
690
691         Always group undo items to work around a bug in NSUndoManager that manifests
692         when we call removeAllActionsWithTarget.
693
694         * WebCoreSupport/WebEditorClient.mm:
695         (WebEditorClient::registerUndoOrRedoStep):
696
697 2013-05-13  Zalan Bujtas  <zalan@apple.com>
698
699         WebProcess consuming very high CPU on linkedin.com
700         https://bugs.webkit.org/show_bug.cgi?id=115601
701
702         Reviewed by Andreas Kling.
703
704         Disable WEB_TIMING_MINIMAL.
705         Turn off window.performance and performance.now(). Some JS frameworks expect
706         additional Web Timing APIs, when performance.now() is available.
707
708         * Configurations/FeatureDefines.xcconfig:
709
710 2013-05-13  Darin Adler  <darin@apple.com>
711
712         [Mac] Layer-backed WebViews draw their background color even when setDrawsBackground:NO was called
713         https://bugs.webkit.org/show_bug.cgi?id=116014
714         <rdar://problem/12781227>
715
716         Reviewed by Dan Bernstein.
717
718         * WebView/WebFrame.mm:
719         (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]): Remove calls to setBackgroundColor: and
720         setDrawsBackground: on the document view. These were added to support a hypothetical document view
721         that wanted to draw its background like WebHTMLView does, but this was never communicated as a
722         document view protocol, formal or informal, and it's unlikely that it was ever used. The bug was
723         caused because there is an -[NSView setDrawsBackground:] method, probably an internal one, and we
724         were calling it unintentionally on a WebHTMLView.
725
726 2013-05-12  Anders Carlsson  <andersca@apple.com>
727
728         Stop including UnusedParam.h
729         https://bugs.webkit.org/show_bug.cgi?id=116003
730
731         Reviewed by Sam Weinig.
732
733         UnusedParam.h is empty now so there's no need to include it anymore.
734
735         * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
736         * WebView/WebDashboardRegion.mm:
737         * WebView/WebFullScreenController.mm:
738
739 2013-05-12  Andreas Kling  <akling@apple.com>
740
741         Unload event listeners should prevent Safari from insta-killing the web process on last tab close.
742         <http://webkit.org/b/115988>
743         <rdar://problem/13870943>
744
745         Reviewed by Anders Carlsson.
746
747         * WebCoreSupport/WebChromeClient.h:
748         * WebCoreSupport/WebChromeClient.mm:
749         (WebChromeClient::enableSuddenTermination):
750         (WebChromeClient::disableSuddenTermination):
751
752 2013-05-10  Brian J. Burg  <burg@cs.washington.edu>
753
754         Web Inspector: Implement WK2 version of WebInspectorFrontendClient::save
755         https://bugs.webkit.org/show_bug.cgi?id=115564
756
757         Reviewed by Benjamin Poulain.
758
759         Clean up save() and append() implementations.
760
761         * WebCoreSupport/WebInspectorClient.h:
762         * WebCoreSupport/WebInspectorClient.mm:
763         (WebInspectorFrontendClient::save):
764         (WebInspectorFrontendClient::append):
765
766 2013-05-10  Laszlo Gombos  <l.gombos@samsung.com>
767
768         Remove Mac OS X Leopard (10.5) support
769         https://bugs.webkit.org/show_bug.cgi?id=107964
770
771         Reviewed by Ryosuke Niwa.
772
773         Removed the code for 10.5 and removed if-def for 10.6.
774
775         * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
776         * Misc/WebKitErrors.m:
777         (-[NSError _initWithPluginErrorCode:contentURL:pluginPageURL:pluginName:MIMEType:]):
778         * WebCoreSupport/WebSystemInterface.mm:
779         (InitWebCoreSystemInterface):
780         * WebView/WebClipView.mm:
781         (-[WebClipView _immediateScrollToPoint:]):
782         * WebView/WebFrameView.mm:
783         (-[WebFrameView initWithFrame:]):
784         * WebView/WebView.mm:
785
786 2013-05-07  Mark Rowe  <mrowe@apple.com>
787
788         <rdar://problem/13633007> WebKit and others fail to build headers due to build root dependency
789
790         Reviewed by Sam Weinig.
791
792         * Configurations/WebKit.xcconfig: Look for WebCore's headers within the SDK if we're building against one.
793
794 2013-05-07  Mikhail Pozdnyakov  <mikhail.pozdnyakov@intel.com>
795
796         HashTraits<RefPtr<P> >::PeekType should be raw pointer for better performance
797         https://bugs.webkit.org/show_bug.cgi?id=115646
798
799         Reviewed by Darin Adler.
800
801         * Plugins/Hosted/NetscapePluginHostProxy.mm:
802         (WebKit::NetscapePluginHostProxy::pluginInstance):
803         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
804         (WebKit::NetscapePluginInstanceProxy::cancelStreamLoad):
805             Updated accordingly to new HashMap<.., RefPtr>::get() semantics.
806
807 2013-05-04  Dean Jackson  <dino@apple.com>
808
809         Animations and Transitions should not start when globally suspended
810         https://bugs.webkit.org/show_bug.cgi?id=114915
811
812         Reviewed by Sam Weinig.
813
814         The WebView private API cssAnimationsSuspended did not necessarily
815         reflect the reality of the Frame's AnimationController value because it
816         was caching rather than asking directly. While the WebCore part of this
817         patch ensured loading the Document wouldn't resume all animations, it
818         is still better to ask directly.
819
820         * WebView/WebView.mm:
821         (-[WebView cssAnimationsSuspended]): Call into AnimationController.
822         (-[WebView setCSSAnimationsSuspended:]): Ditto.
823         * WebView/WebViewData.h: Remove cssAnimationsSuspended boolean.
824         * WebView/WebViewData.mm: Ditto.
825         (-[WebViewPrivate init]):
826
827 2013-05-04  Sam Weinig  <sam@webkit.org>
828
829         Move PopupMenuMac and SearchPopupMenuMac to Source/WebKit/mac
830         matching where they are in WebKit2.
831
832         Reviewed by Anders Carlsson.
833
834         * WebCoreSupport/PopupMenuMac.h: Copied from WebCore/platform/mac/PopupMenuMac.h.
835         * WebCoreSupport/PopupMenuMac.mm: Copied from WebCore/platform/mac/PopupMenuMac.mm.
836         * WebCoreSupport/SearchPopupMenuMac.h: Copied from WebCore/platform/mac/SearchPopupMenuMac.h.
837         * WebCoreSupport/SearchPopupMenuMac.mm: Copied from WebCore/platform/mac/SearchPopupMenuMac.mm.
838         * WebCoreSupport/WebChromeClient.mm:
839
840 2013-05-04  Anders Carlsson  <andersca@apple.com>
841
842         Get rid of -[NSMutableDictionary _webkit_setObject:forUncopiedKey:]
843         https://bugs.webkit.org/show_bug.cgi?id=115592
844
845         Reviewed by Beth Dakin.
846
847         Using CFDictionarySetValue to set a key without having to copy it is not supported. Use NSMapTable with strong pointers instead.
848
849         * Misc/WebNSDictionaryExtras.h:
850         * Misc/WebNSDictionaryExtras.m:
851         * Panels/WebPanelAuthenticationHandler.h:
852         (NSURLAuthenticationChallenge):
853         * Panels/WebPanelAuthenticationHandler.m:
854         (-[WebPanelAuthenticationHandler init]):
855         (-[WebPanelAuthenticationHandler enqueueChallenge:forWindow:]):
856         (-[WebPanelAuthenticationHandler tryNextChallengeForWindow:]):
857         (-[WebPanelAuthenticationHandler startAuthentication:window:]):
858         (-[WebPanelAuthenticationHandler cancelAuthentication:]):
859         * Plugins/WebNetscapePluginView.h:
860         * Plugins/WebNetscapePluginView.mm:
861         (-[WebNetscapePluginView destroyPlugin]):
862         (-[WebNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
863         (-[WebNetscapePluginView webFrame:didFinishLoadWithReason:]):
864         (-[WebNetscapePluginView loadPluginRequest:]):
865
866 2011-05-01  Ryosuke Niwa  <rniwa@webkit.org>
867
868         [Mac] WebKit doesn't enable or disable autocorrections when system preferences are changed
869         https://bugs.webkit.org/show_bug.cgi?id=115463
870
871         Reviewed by Darin Adler.
872
873         Observe the default notification center for changes to autocorrection preferences.
874         Note system preferences may also update WebAutomatic* defaults.
875
876         * WebView/WebView.mm:
877         (+[WebView initialize]):
878         (+[WebView _shouldAutomaticTextReplacementBeEnabled]):
879         (+[WebView _didChangeAutomaticTextReplacementEnabled:]):
880         (+[WebView _shouldAutomaticSpellingCorrectionBeEnabled]):
881         (+[WebView _didChangeAutomaticSpellingCorrectionEnabled:]):
882         (+[WebView _shouldAutomaticQuoteSubstitutionBeEnabled]):
883         (+[WebView _shouldAutomaticDashSubstitutionBeEnabled]):
884         (+[WebView _didChangeAutomaticQuoteSubstitutionEnabled:]):
885         (+[WebView _didChangeAutomaticDashSubstitutionEnabled:]):
886
887 2013-05-01  Benjamin Poulain  <bpoulain@apple.com>
888
889         Fix the function names of r149453
890
891         Unreviewed.
892
893         I forgot to follow one of Darin's review comment. This patch
894         fixes the function names to follow CF naming conventions.
895
896         * WebView/WebHTMLRepresentation.mm:
897         (newArrayWithStrings):
898         (newArrayByConcatenatingArrays):
899         (+[WebHTMLRepresentation supportedMIMETypes]):
900         (+[WebHTMLRepresentation supportedNonImageMIMETypes]):
901         (+[WebHTMLRepresentation supportedImageMIMETypes]):
902         (+[WebHTMLRepresentation unsupportedTextMIMETypes]):
903
904 2013-05-01  Benjamin Poulain  <benjamin@webkit.org>
905
906         Simplify WebHTMLRepresentation supportedMIMETypes methods
907         https://bugs.webkit.org/show_bug.cgi?id=115314
908
909         Reviewed by Darin Adler.
910
911         The initialization was surprisingly complex because of DEFINE_STATIC_LOCAL.
912         First, a new pointer was allocated on the heap with fast malloc (for RetainPtr<NSArray>).
913         Then a new NSMutableArray was allocated but immediately put on the autorelease pool.
914         Finally, that array was retained by the RetainPtr.
915
916         This patch changes the code to only leak the NSMutableArray memory. There
917         is no fastMalloc, nor any use of the autorelease pool.
918
919         * WebView/WebHTMLRepresentation.mm:
920         (createArrayWithStrings):
921         (createArrayByConcatenatingArrays):
922         (+[WebHTMLRepresentation supportedMIMETypes]):
923         (+[WebHTMLRepresentation supportedNonImageMIMETypes]):
924         (+[WebHTMLRepresentation supportedImageMIMETypes]):
925         (+[WebHTMLRepresentation unsupportedTextMIMETypes]):
926
927 2013-04-30  Darin Adler  <darin@apple.com>
928
929         [Mac] Remove adoptNS/retain pairs, since the two cancel each other out
930         https://bugs.webkit.org/show_bug.cgi?id=115426
931
932         Reviewed by Anders Carlsson.
933
934         * Plugins/WebNetscapePluginStream.mm:
935         (WebNetscapePluginStream::deliverDataToFile): Remove adoptNS and release.
936
937 2013-04-30  Geoffrey Garen  <ggaren@apple.com>
938
939         Objective-C JavaScriptCore API should publicly support bridging to C
940         https://bugs.webkit.org/show_bug.cgi?id=115447
941
942         Reviewed by Mark Hahnenberg.
943
944         * WebView/WebFrame.mm:
945         (-[WebFrame _javaScriptContextForScriptWorld:]):
946         * WebView/WebScriptWorld.mm:
947         (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
948
949 2013-04-30  Anders Carlsson  <andersca@apple.com>
950
951         More StorageTracker cleanup
952         https://bugs.webkit.org/show_bug.cgi?id=115429
953
954         Reviewed by Andreas Kling.
955
956         Call PageGroup::syncLocalStorage directly.
957
958         * Storage/WebStorageManager.mm:
959         (-[WebStorageManager syncLocalStorage]):
960
961 2013-04-30  Zalan Bujtas  <zalan@apple.com>
962
963         Animations fail to start on http://www.google.com/insidesearch/howsearchworks/thestory/
964         https://bugs.webkit.org/show_bug.cgi?id=111244
965
966         Reviewed by David Kilzer.
967         
968         Enable performance.now() as a minimal subset of Web Timing API. 
969         It returns DOMHighResTimeStamp, a monotonically increasing value representing the 
970         number of milliseconds from the start of the navigation of the current document.
971         JS libraries use this API to check against the requestAnimationFrame() timestamp.
972
973         * Configurations/FeatureDefines.xcconfig:
974
975 2013-04-29  Chris Fleizach  <cfleizach@apple.com>
976
977         WEB SPEECH: need to identify the default voice per language
978         https://bugs.webkit.org/show_bug.cgi?id=115366
979
980         Reviewed by Tim Horton.
981
982         * WebCoreSupport/WebSystemInterface.mm:
983         (InitWebCoreSystemInterface):
984
985 2013-04-28  Dean Jackson  <dino@apple.com>
986
987         [Mac] Disable canvas backing store scaling (HIGH_DPI_CANVAS)
988         https://bugs.webkit.org/show_bug.cgi?id=115310
989
990         Reviewed by Simon Fraser.
991
992         Remove ENABLE_HIGH_DPI_CANVAS_macosx.
993
994         * Configurations/FeatureDefines.xcconfig:
995
996 2013-04-27  Darin Adler  <darin@apple.com>
997
998         Move from constructor and member function adoptCF/NS to free function adoptCF/NS.
999         https://bugs.webkit.org/show_bug.cgi?id=115307
1000
1001         Reviewed by Geoffrey Garen.
1002
1003         This change was done by a global replace followed by compiling and inspecting for
1004         cases that needed to be tweaked by hand.
1005
1006         * DefaultDelegates/WebDefaultContextMenuDelegate.mm:
1007         (-[WebDefaultUIDelegate menuItemWithTag:target:representedObject:]):
1008         * Misc/WebNSFileManagerExtras.mm:
1009         (-[NSFileManager _webkit_startupVolumeName]):
1010         * Plugins/Hosted/HostedNetscapePluginStream.mm:
1011         (WebKit::HostedNetscapePluginStream::HostedNetscapePluginStream):
1012         * Plugins/Hosted/NetscapePluginHostManager.mm:
1013         (WebKit::NetscapePluginHostManager::spawnPluginHost):
1014         (WebKit::NetscapePluginHostManager::instantiatePlugin):
1015         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1016         (WebKit::NetscapePluginHostProxy::NetscapePluginHostProxy):
1017         (WebKit::NetscapePluginHostProxy::beginModal):
1018         (WKPCBooleanAndDataReply):
1019         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1020         (WebKit::NetscapePluginInstanceProxy::print):
1021         (WebKit::NetscapePluginInstanceProxy::snapshot):
1022         (WebKit::NetscapePluginInstanceProxy::status):
1023         (WebKit::NetscapePluginInstanceProxy::loadURL):
1024         (WebKit::NetscapePluginInstanceProxy::evaluateJavaScript):
1025         (WebKit::NetscapePluginInstanceProxy::enumerate):
1026         (WebKit::NetscapePluginInstanceProxy::marshalValue):
1027         (WebKit::NetscapePluginInstanceProxy::marshalValues):
1028         (WebKit::NetscapePluginInstanceProxy::demarshalValue):
1029         (WebKit::NetscapePluginInstanceProxy::demarshalValues):
1030         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
1031         (-[WebHostedNetscapePluginView setAttributeKeys:andValues:]):
1032         (-[WebHostedNetscapePluginView createPlugin]):
1033         * Plugins/WebBaseNetscapePluginView.mm:
1034         (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
1035         (-[WebBaseNetscapePluginView cacheSnapshot]):
1036         (WebKit::getAuthenticationInfo):
1037         * Plugins/WebBasePluginPackage.mm:
1038         (-[WebBasePluginPackage initWithPath:]):
1039         * Plugins/WebNetscapePluginEventHandlerCarbon.mm:
1040         (WebNetscapePluginEventHandlerCarbon::startTimers):
1041         * Plugins/WebNetscapePluginEventHandlerCocoa.mm:
1042         (WebNetscapePluginEventHandlerCocoa::syntheticKeyDownWithCommandModifier):
1043         (WebNetscapePluginEventHandlerCocoa::handleTSMEvent):
1044         * Plugins/WebNetscapePluginPackage.mm:
1045         (-[WebNetscapePluginPackage _initWithPath:]):
1046         * Plugins/WebNetscapePluginStream.mm:
1047         (WebNetscapePluginStream::WebNetscapePluginStream):
1048         (WebNetscapePluginStream::deliverData):
1049         (WebNetscapePluginStream::deliverDataToFile):
1050         (WebNetscapePluginStream::didReceiveData):
1051         * Plugins/WebNetscapePluginView.mm:
1052         (-[WebNetscapePluginView createPlugin]):
1053         (-[WebNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
1054         (-[WebNetscapePluginView evaluateJavaScriptPluginRequest:]):
1055         * Storage/WebDatabaseManagerClient.mm:
1056         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
1057         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
1058         * Storage/WebStorageTrackerClient.mm:
1059         (WebStorageTrackerClient::dispatchDidModifyOrigin):
1060         * WebCoreSupport/CorrectionPanel.mm:
1061         (CorrectionPanel::handleAcceptedReplacement):
1062         * WebCoreSupport/WebApplicationCache.mm:
1063         (+[WebApplicationCache originsWithCache]):
1064         * WebCoreSupport/WebFrameLoaderClient.mm:
1065         (WebFrameLoaderClient::didRunInsecureContent):
1066         * WebCoreSupport/WebInspectorClient.mm:
1067         (WebInspectorClient::WebInspectorClient):
1068         (WebInspectorClient::openInspectorFrontend):
1069         * WebView/WebFullScreenController.mm:
1070         (-[WebFullScreenController enterFullScreen:]):
1071         * WebView/WebPDFDocumentExtras.mm:
1072         (allScriptsInPDFDocument):
1073         * WebView/WebPreferences.mm:
1074         (-[WebPreferences initWithIdentifier:]):
1075         (-[WebPreferences initWithCoder:]):
1076         * WebView/WebScriptDebugger.mm:
1077         (WebScriptDebugger::initGlobalCallFrame):
1078         (WebScriptDebugger::callEvent):
1079         * WebView/WebView.mm:
1080         (-[WebView previousValidKeyView]):
1081         Use adoptNS and adoptCF free functions.
1082
1083 2013-04-25  Roger Fong  <roger_fong@apple.com>
1084
1085         Disable sub-pixel layout on mac.
1086         https://bugs.webkit.org/show_bug.cgi?id=114999.
1087
1088         Reviewed by Simon Fraser.
1089
1090         * Configurations/FeatureDefines.xcconfig:
1091
1092 2013-04-26  Simon Fraser  <simon.fraser@apple.com>
1093
1094         Layer-backed WebViews don't repaint content outside the visible area
1095         https://bugs.webkit.org/show_bug.cgi?id=115275
1096
1097         Reviewed by Beth Dakin.
1098
1099         When a client of WebView makes the WebView be layer-backed, then
1100         AppKit propagaes the layer-backing down to the WebHTMLView (but
1101         no further).
1102         
1103         In this situation, we had a bug where content that was not
1104         in the visible content rect would not get repainted, because
1105         WebCore clips repaints to the visible rect.
1106         
1107         Fix by calling ScrollView::setPaintsEntireContents(bool) from
1108         -[WebHTMLView setLayer:], saying that we need
1109         to paint the entire contents if we have a layer.
1110
1111         * WebView/WebHTMLView.mm:
1112         (-[WebHTMLView setLayer:]):
1113
1114 2013-04-25  Chris Fleizach  <cfleizach@apple.com>
1115
1116         WEB SPEECH: language support does not work as expected
1117         https://bugs.webkit.org/show_bug.cgi?id=115119
1118
1119         Reviewed by Alexey Proskuryakov.
1120
1121         * WebCoreSupport/WebSystemInterface.mm:
1122         (InitWebCoreSystemInterface):
1123
1124 2013-04-25  Simon Fraser  <simon.fraser@apple.com>
1125
1126         Build fix for smart compliers.
1127
1128         Reviewed by Tim Horton.
1129         
1130         [NSDictionary dictionaryWithObjectsAndKeys:] returns an NSDictionary,
1131         not a NSMutableDictionary.
1132
1133         * WebCoreSupport/WebEditorClient.mm:
1134         (WebEditorClient::updateSpellingUIWithGrammarString):
1135
1136 2013-04-25  Joseph Pecoraro  <pecoraro@apple.com>
1137
1138         Web Inspector: ConsoleMessage should include line and column number where possible
1139         https://bugs.webkit.org/show_bug.cgi?id=114929
1140
1141         Reviewed by Timothy Hatcher.
1142
1143         * WebCoreSupport/WebChromeClient.h:
1144         * WebCoreSupport/WebChromeClient.mm:
1145         (WebChromeClient::addMessageToConsole):
1146
1147 2013-04-24  Jessie Berlin  <jberlin@apple.com>
1148
1149         Assertion failure (crash in release) attempting to delete database storage in WK1 without
1150         creating a WebView first
1151         https://bugs.webkit.org/show_bug.cgi?id=115065
1152
1153         Reviewed by Brady Eidson.
1154
1155         Make sure the WebPlatformStrategies is initialized before using the WebDatabaseManager.
1156
1157         * Storage/WebDatabaseManager.mm:
1158         (-[WebDatabaseManager init]):
1159         Move the logic from WebKitInitializeDatabasesIfNecessary here, and add a call to
1160         WebPlatformStrategies::initializeIfNecessary.
1161
1162         * Storage/WebDatabaseManagerInternal.h: Removed.
1163
1164         * WebCoreSupport/WebPlatformStrategies.h:
1165         (WebPlatformStrategies):
1166         Change "initialize" to "initalizeIfNecessary".
1167         * WebCoreSupport/WebPlatformStrategies.mm:
1168         (WebPlatformStrategies::initializeIfNecessary):
1169         Only call setPlatformStrategies once.
1170
1171         * WebView/WebView.mm:
1172         (-[WebView _commonInitializationWithFrameName:groupName:]):
1173         Updated for the name change from initialize to initializeIfNecessary.
1174         Instead of calling WebKitInitializeDatabasesIfNecessary, call [WebDatabaseManager
1175         sharedWebDatabaseManager].
1176         (+[WebView _setLoadResourcesSerially:]):
1177         Updated for the name change from initialize to initializeIfNecessary.
1178
1179 2013-04-23  Antoine Quint  <graouts@apple.com>
1180
1181         Initial advance of text runs should be taken into account
1182         https://bugs.webkit.org/show_bug.cgi?id=114949
1183
1184         Reviewed by Darin Adler.
1185
1186         Adding support for new method CTRunGetInitialAdvance in WebKitSystemInterface.
1187
1188         * WebCoreSupport/WebSystemInterface.mm:
1189         (InitWebCoreSystemInterface):
1190
1191 2013-04-22  Benjamin Poulain  <benjamin@webkit.org>
1192
1193         Remove the memory instrumentation code
1194         https://bugs.webkit.org/show_bug.cgi?id=114931
1195
1196         Reviewed by Andreas Kling.
1197
1198         * WebView/WebRenderLayer.mm:
1199
1200 2013-04-18  Andy Estes  <aestes@apple.com>
1201
1202         REGRESSION (r116645): Versions app's UI is munged in HiDPI due to background-size being reset to 'auto' when background short-hand is also specified
1203         https://bugs.webkit.org/show_bug.cgi?id=114833
1204
1205         Reviewed by David Kilzer.
1206
1207         The Versions app specifies both a background-size and a background
1208         shorthand CSS property, and its UI is broken after r116645 which resets
1209         background-size to 'auto' if the background shorthand property is
1210         specified.
1211
1212         This patch enables the useLegacyBackgroundSizeShorthandBehavior setting
1213         added in r147034 to restore the expected behavior if the embedder is
1214         Versions.app and it was linked against a version of WebKit that had the
1215         legacy behavior.
1216
1217         * Misc/WebKitVersionChecks.h:
1218         * WebView/WebView.mm:
1219         (shouldUseLegacyBackgroundSizeShorthandBehavior):
1220         (-[WebView _commonInitializationWithFrameName:groupName:]):
1221
1222 2013-04-18  Sam Weinig  <sam@webkit.org>
1223
1224         Network Process crashing trying to read in IDNScriptWhiteList.txt
1225         https://bugs.webkit.org/show_bug.cgi?id=114827
1226
1227         Reviewed by Anders Carlsson.
1228
1229         Move IDNScriptWhiteList.txt from WebKit to WebCore, so that the NetworkProcess does not have to link against
1230         WebKit. It was a layering violation for WebCore to be trying to access WebKit resources anyway.
1231
1232         * Resources/IDNScriptWhiteList.txt: Removed.
1233
1234 2013-04-17  Geoffrey Garen  <ggaren@apple.com>
1235
1236         Renamed JSGlobalData to VM
1237         https://bugs.webkit.org/show_bug.cgi?id=114777
1238
1239         Reviewed by Phil Pizlo.
1240
1241         * Misc/WebCoreStatistics.mm:
1242         (+[WebCoreStatistics javaScriptObjectsCount]):
1243         (+[WebCoreStatistics javaScriptGlobalObjectsCount]):
1244         (+[WebCoreStatistics javaScriptProtectedObjectsCount]):
1245         (+[WebCoreStatistics javaScriptProtectedGlobalObjectsCount]):
1246         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
1247         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
1248         (+[WebCoreStatistics shouldPrintExceptions]):
1249         (+[WebCoreStatistics setShouldPrintExceptions:]):
1250         (+[WebCoreStatistics memoryStatistics]):
1251         (+[WebCoreStatistics javaScriptReferencedObjectsCount]):
1252         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1253         (identifierFromIdentifierRep):
1254         * Plugins/Hosted/NetscapePluginInstanceProxy.h:
1255         (LocalObjectMap):
1256         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1257         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
1258         (WebKit::NetscapePluginInstanceProxy::getWindowNPObject):
1259         (WebKit::NetscapePluginInstanceProxy::getPluginElementNPObject):
1260         (WebKit::NetscapePluginInstanceProxy::evaluate):
1261         (WebKit::NetscapePluginInstanceProxy::addValueToArray):
1262         * Plugins/Hosted/ProxyInstance.mm:
1263         (WebKit::ProxyRuntimeMethod::create):
1264         (WebKit::ProxyRuntimeMethod::createStructure):
1265         (WebKit::ProxyRuntimeMethod::finishCreation):
1266         (WebKit::ProxyInstance::getPropertyNames):
1267         * Plugins/Hosted/ProxyRuntimeObject.h:
1268         (WebKit::ProxyRuntimeObject::create):
1269         (WebKit::ProxyRuntimeObject::createStructure):
1270         * Plugins/WebNetscapePluginStream.mm:
1271         (WebNetscapePluginStream::wantsAllStreams):
1272         * Plugins/WebNetscapePluginView.mm:
1273         (-[WebNetscapePluginView sendEvent:isDrawRect:]):
1274         (-[WebNetscapePluginView privateBrowsingModeDidChange]):
1275         (-[WebNetscapePluginView setWindowIfNecessary]):
1276         (-[WebNetscapePluginView createPluginScriptableObject]):
1277         (-[WebNetscapePluginView getFormValue:]):
1278         (-[WebNetscapePluginView evaluateJavaScriptPluginRequest:]):
1279         (-[WebNetscapePluginView webFrame:didFinishLoadWithReason:]):
1280         (-[WebNetscapePluginView loadPluginRequest:]):
1281         (-[WebNetscapePluginView _printedPluginBitmap]):
1282         * Plugins/WebPluginController.mm:
1283         (+[WebPluginController plugInViewWithArguments:fromPluginPackage:]):
1284         (-[WebPluginController stopOnePlugin:]):
1285         (-[WebPluginController destroyOnePlugin:]):
1286         (-[WebPluginController startAllPlugins]):
1287         (-[WebPluginController addPlugin:]):
1288         * WebKit.order:
1289         * WebView/WebScriptDebugDelegate.mm:
1290         (-[WebScriptCallFrame scopeChain]):
1291         (-[WebScriptCallFrame evaluateWebScript:]):
1292         * WebView/WebScriptDebugger.mm:
1293         (WebScriptDebugger::WebScriptDebugger):
1294
1295 2013-04-16  Beth Dakin  <bdakin@apple.com>
1296
1297         Re-name Page::layoutMilestones() to Page::requestedLayoutMilestones()
1298         https://bugs.webkit.org/show_bug.cgi?id=114713
1299
1300         Reviewed by Simon Fraser.
1301
1302         * WebView/WebView.mm:
1303         (-[WebView _layoutMilestones]):
1304
1305 2013-04-15  Sam Weinig  <sam@webkit.org>
1306
1307         Remove more #includes from Frame.h
1308         https://bugs.webkit.org/show_bug.cgi?id=114642
1309
1310         Reviewed by Anders Carlsson.
1311
1312         * WebView/WebFrame.mm:
1313         * WebView/WebHTMLRepresentation.mm:
1314         * WebView/WebView.mm:
1315
1316 2013-04-16  Alexey Proskuryakov  <ap@apple.com>
1317
1318         Remove unused AlternativeTextClient::dismissDictationAlternativeUI
1319         https://bugs.webkit.org/show_bug.cgi?id=114598
1320
1321         Reviewed by Ryosuke Niwa.
1322
1323         * WebCoreSupport/WebAlternativeTextClient.h:
1324         * WebCoreSupport/WebAlternativeTextClient.mm:
1325         * WebView/WebView.mm:
1326         * WebView/WebViewInternal.h:
1327
1328 2013-04-15  Ryosuke Niwa  <rniwa@webkit.org>
1329
1330         REGRESSION(r146025): WebKit applications can't apply underline or strike through
1331         https://bugs.webkit.org/show_bug.cgi?id=114662
1332
1333         Reviewed by Enrica Casucci.
1334
1335         Use -webkit- prefixes to apply underline. There should be no further compatibility issues
1336         since -khtml- was used only internally to pass the information down to WebCore.
1337
1338         Unfortunately, we can't test this code like any other font panel bug.
1339
1340         In the long run, we need to add some abstraction layer around font panel to make this testable
1341         or else we'll keep regressing this feature.
1342
1343         * WebView/WebHTMLView.mm:
1344         (-[WebHTMLView _styleFromFontAttributes:]):
1345         (-[WebHTMLView _styleForAttributeChange:]):
1346
1347 2013-04-15  Anders Carlsson  <andersca@apple.com>
1348
1349         plugins/get-url-beforeunload-destroys-plugin.html crashes in WebKit1
1350         https://bugs.webkit.org/show_bug.cgi?id=114653
1351         <rdar://problem/13659541>
1352
1353         Reviewed by Sam Weinig.
1354
1355         Protect the NetscapePluginInstanceProxy since it can otherwise go away.
1356
1357         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1358         (WebKit::NetscapePluginInstanceProxy::performRequest):
1359
1360 2013-04-14  Sam Weinig  <sam@webkit.org>
1361
1362         Move Mac specific snapshotting code into its own file
1363         https://bugs.webkit.org/show_bug.cgi?id=114597
1364
1365         Reviewed by Andreas Kling.
1366
1367         * WebView/WebHTMLView.mm:
1368         (-[WebHTMLView _selectionDraggingImage]):
1369         (-[WebHTMLView selectionImageForcingBlackText:]):
1370
1371 2013-04-14  Andreas Kling  <akling@apple.com>
1372
1373         Move CSSOM classes to using MutableStylePropertySet over StylePropertySet.
1374         <http://webkit.org/b/114581>
1375
1376         Reviewed by Anders Carlsson.
1377
1378         * WebCoreSupport/WebEditorClient.mm:
1379         (WebEditorClient::shouldApplyStyle):
1380         * WebView/WebFrame.mm:
1381         (-[WebFrame _typingStyle]):
1382
1383 2013-04-10  Sam Weinig  <sam@webkit.org>
1384
1385         Make Frame's ScriptController an OwnPtr and remove the #include
1386         https://bugs.webkit.org/show_bug.cgi?id=114105
1387
1388         Reviewed by Dean Jackson.
1389
1390         * Plugins/Hosted/HostedNetscapePluginStream.mm:
1391         * Plugins/WebNetscapePluginStream.mm:
1392         * Plugins/WebPluginContainerCheck.mm:
1393         * WebCoreSupport/WebGeolocationClient.mm:
1394         * WebCoreSupport/WebInspectorClient.mm:
1395         * WebView/WebFrame.mm:
1396
1397 2013-04-13  Anders Carlsson  <andersca@apple.com>
1398
1399         Add form delegate method that's invoked right before sending a submit event to a form element
1400         https://bugs.webkit.org/show_bug.cgi?id=114575
1401
1402         Reviewed by Dan Bernstein.
1403
1404         * MigrateHeaders.make:
1405         Copy DOMHTMLFormElementInternal.h over to WebKit.
1406
1407         * WebCoreSupport/WebFrameLoaderClient.mm:
1408         (makeFormFieldValuesDictionary):
1409         New helper function that returns the values of a form in dictionary form.
1410
1411         (WebFrameLoaderClient::dispatchWillSendSubmitEvent):
1412         Call the right delegate method.
1413
1414         (WebFrameLoaderClient::dispatchWillSubmitForm):
1415         Use the helper function.
1416
1417         * WebView/WebDelegateImplementationCaching.h:
1418         * WebView/WebDelegateImplementationCaching.mm:
1419         (CallFormDelegate):
1420         Add another overload.
1421
1422         * WebView/WebFormDelegate.h:
1423         * WebView/WebFormDelegate.m:
1424         (-[WebFormDelegate willSendSubmitEventToForm:inFrame:withValues:]):
1425         Add a default implementation.
1426
1427 2013-04-10  Benjamin Poulain  <bpoulain@apple.com>
1428
1429         Mass remove all the empty directories
1430
1431         Rubberstamped by Ryosuke Niwa.
1432
1433         * ForwardingHeaders/wtf/unicode/icu: Removed.
1434
1435 2013-04-08  Anders Carlsson  <andersca@apple.com>
1436
1437         Remove unneeded headers from FrameLoader.h
1438         https://bugs.webkit.org/show_bug.cgi?id=114223
1439
1440         Reviewed by Geoffrey Garen.
1441
1442         Include HistoryController.h from WebCore.
1443
1444         * WebCoreSupport/WebFrameLoaderClient.mm:
1445         * WebView/WebView.mm:
1446
1447 2013-04-09  Geoffrey Garen  <ggaren@apple.com>
1448
1449         Removed bitrotted TimeoutChecker code
1450         https://bugs.webkit.org/show_bug.cgi?id=114336
1451
1452         Reviewed by Alexey Proskuryakov.
1453
1454         This mechanism hasn't worked for a while.
1455
1456         MarkL is working on a new version of this feature with a distinct
1457         implementation.
1458
1459         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1460         (WebKit::NetscapePluginInstanceProxy::evaluate):
1461
1462 2013-04-08  Benjamin Poulain  <benjamin@webkit.org>
1463
1464         Remove HTML Notification
1465         https://bugs.webkit.org/show_bug.cgi?id=114231
1466
1467         Reviewed by Ryosuke Niwa.
1468
1469         * Configurations/FeatureDefines.xcconfig:
1470
1471 2013-04-05  Anders Carlsson  <andersca@apple.com>
1472
1473         Stop building Objective-C bindings for the SVG DOM
1474         https://bugs.webkit.org/show_bug.cgi?id=114076
1475
1476         Reviewed by Geoffrey Garen.
1477
1478         The DOM SVG Objective-C bindings have never been exposed as API, and not building them cuts WebCore build by 10%.
1479
1480         * Configurations/FeatureDefines.xcconfig:
1481         * MigrateHeaders.make:
1482
1483 2013-04-05  Timothy Hatcher  <timothy@apple.com>
1484
1485         Allow the Web Inspector to use WebSQL.
1486
1487         This fixes an exception on load in the Safari Web Inspector.
1488
1489         https://webkit.org/b/114040
1490         rdar://problem/13581422
1491
1492         Reviewed by Anders Carlsson.
1493
1494         * WebCoreSupport/WebInspectorClient.mm:
1495         (-[WebInspectorWindowController webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Added.
1496
1497 2013-04-02  Timothy Hatcher  <timothy@apple.com>
1498
1499         Provide a user default that can be used to disable docking of the Web Inspector.
1500
1501         The user default is "WebKit Web Inspector Setting - inspectorAttachDisabled".
1502
1503         https://webkit.org/b/113779
1504         rdar://problem/13446021
1505
1506         Reviewed by Joseph Pecoraro.
1507
1508         * WebCoreSupport/WebInspectorClient.h:
1509         (WebInspectorClient::inspectorAttachDisabled): Added.
1510         (WebInspectorClient::setInspectorAttachDisabled): Added.
1511
1512         * WebCoreSupport/WebInspectorClient.mm:
1513         (WebInspectorClient::didResizeMainFrame):
1514         (-[WebInspectorWindowController window]):
1515         (-[WebInspectorWindowController showWindow:]):
1516         Check inspectorAttachDisabled() in places where we attach or update the dock button.
1517
1518 2013-04-02  Alexey Proskuryakov  <ap@apple.com>
1519
1520         [Mac] Remove WKCreateNSURLConnectionDelegateProxy
1521         https://bugs.webkit.org/show_bug.cgi?id=113810
1522
1523         Reviewed by Anders Carlsson.
1524
1525         * WebCoreSupport/WebSystemInterface.mm:
1526         (InitWebCoreSystemInterface):
1527
1528 2013-04-02  Alexey Proskuryakov  <ap@apple.com>
1529
1530         <rdar://problem/13551119> [WK2] Crashes in NetworkProcess when canceling loads
1531         https://bugs.webkit.org/show_bug.cgi?id=113803
1532
1533         Reviewed by Darin Adler.
1534
1535         * WebCoreSupport/WebFrameLoaderClient.mm:
1536         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
1537         Just pass nil instead of proxy.
1538
1539 2013-04-01  Ryosuke Niwa  <rniwa@webkit.org>
1540
1541         WebKit/mac shouldn't have code for Mac 10.5 and earlier
1542         https://bugs.webkit.org/show_bug.cgi?id=113746
1543
1544         Reviewed by Darin Adler.
1545
1546         Deleted the code for 10.5 and removed if-defs for 10.6.
1547
1548         * Plugins/Hosted/WebHostedNetscapePluginView.mm:
1549         (-[WebHostedNetscapePluginView createPlugin]):
1550         * Plugins/WebBaseNetscapePluginView.mm:
1551         (-[WebBaseNetscapePluginView initWithFrame:pluginPackage:URL:baseURL:MIMEType:attributeKeys:attributeValues:loadManually:element:WebCore::]):
1552         * Plugins/WebNetscapePluginView.mm:
1553         (-[WebNetscapePluginView createPlugin]):
1554         (-[WebNetscapePluginView getVariable:forURL:value:length:]):
1555         (-[WebNetscapePluginView _workaroundSilverlightFullscreenBug:]):
1556         * WebCoreSupport/WebChromeClient.mm:
1557         (WebChromeClient::selectItemWritingDirectionIsNatural):
1558         (WebChromeClient::selectItemAlignmentFollowsMenuWritingDirection):
1559         * WebCoreSupport/WebEditorClient.mm:
1560         (core):
1561         (WebEditorClient::checkTextOfParagraph):
1562         (WebEditorClient::requestCheckingOfString):
1563         * WebView/WebDynamicScrollBarsView.mm:
1564         (-[WebDynamicScrollBarsView reflectScrolledClipView:]):
1565         * WebView/WebFullScreenController.mm:
1566         (-[WebFullScreenController _updateMenuAndDockForFullScreen]):
1567         * WebView/WebHTMLView.mm:
1568         (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]):
1569         (-[WebHTMLView _frameOrBoundsChanged]):
1570         (+[WebHTMLView _insertablePasteboardTypes]):
1571         (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]):
1572         (-[WebHTMLView validateUserInterfaceItemWithoutDelegate:]):
1573         (writingDirectionKeyBindingsEnabled):
1574         (-[WebHTMLView _lookUpInDictionaryFromMenu:]):
1575         (-[WebHTMLView attachRootLayer:]):
1576         * WebView/WebHTMLViewInternal.h:
1577         * WebView/WebPDFDocumentExtras.mm:
1578         * WebView/WebPreferences.mm:
1579         (+[WebPreferences initialize]):
1580         * WebView/WebResourceInternal.h:
1581         * WebView/WebScriptDebugDelegate.h:
1582         * WebView/WebView.mm:
1583         (-[WebView _commonInitializationWithFrameName:groupName:]):
1584         (-[WebView _preferencesChanged:]):
1585         (+[WebView initialize]):
1586         (clientNeedsWebViewInitThreadWorkaround):
1587         (-[WebView validateUserInterfaceItemWithoutDelegate:]):
1588         (-[WebView setGrammarCheckingEnabled:]):
1589         (-[WebView isAutomaticQuoteSubstitutionEnabled]):
1590         (-[WebView isAutomaticLinkDetectionEnabled]):
1591         (-[WebView isAutomaticDashSubstitutionEnabled]):
1592         (-[WebView isAutomaticTextReplacementEnabled]):
1593         (-[WebView isAutomaticSpellingCorrectionEnabled]):
1594         (-[WebView _searchWithSpotlightFromMenu:]):
1595         (WebInstallMemoryPressureHandler):
1596         * WebView/WebViewPrivate.h:
1597
1598 2013-04-01  Tim Horton  <timothy_horton@apple.com>
1599
1600         WebCache should do the normal initialization dance
1601         https://bugs.webkit.org/show_bug.cgi?id=113722
1602         <rdar://problem/13424530>
1603
1604         Reviewed by Anders Carlsson.
1605
1606         In case a WebKit1 client uses WebCache before creating a WebView (or any of the other
1607         initialization-ready classes), we should do the initialization work in WebCache as well.
1608
1609         * Misc/WebCache.mm:
1610         (+[WebCache initialize]):
1611
1612 2013-03-26  Timothy Hatcher  <timothy@apple.com>
1613
1614         Add support for dock-to-right of the Web Inspector in the Mac port.
1615
1616         Unfortunately this requires Safari changes, so it is disabled in the nightly builds.
1617
1618         https://webkit.org/b/113341
1619         rdar://problem/10368152
1620
1621         Reviewed by Joseph Pecoraro.
1622
1623         * Resources/Dock.pdf: Updated.
1624         * WebCoreSupport/WebInspectorClient.h:
1625         (WebInspectorFrontendClient):
1626         * WebCoreSupport/WebInspectorClient.mm:
1627         (WebInspectorFrontendClient::frontendLoaded):
1628         (WebInspectorFrontendClient::attachWindow):
1629         (WebInspectorFrontendClient::setAttachedWindowWidth):
1630         (-[WebInspectorWindowController attachWindow:]):
1631         (-[WebInspectorWindowController attach]):
1632         (-[WebInspectorWindowController detach]):
1633         * WebInspector/WebInspectorFrontend.mm:
1634         (-[WebInspectorFrontend attach]):
1635
1636 2013-03-26  Tim Horton  <timothy_horton@apple.com>
1637
1638         Unreviewed attempted cr-mac build fix.
1639
1640         * WebCoreSupport/WebSystemInterface.mm:
1641         (InitWebCoreSystemInterface):
1642
1643 2013-03-26  Hayato Ito  <hayato@chromium.org>
1644
1645         Allow ShadowContents in HitTests by default.
1646         https://bugs.webkit.org/show_bug.cgi?id=113171
1647
1648         Reviewed by Dimitri Glazkov.
1649
1650         * WebView/WebFrame.mm:
1651         (-[WebFrame elementAtPoint:]):
1652         * WebView/WebHTMLView.mm:
1653         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
1654
1655 2013-03-26  Tim Horton  <timothy_horton@apple.com>
1656
1657         [ca] Tell CA to clean up unused resources if a given WebProcess won't be drawing
1658         https://bugs.webkit.org/show_bug.cgi?id=107539
1659         <rdar://problem/13032692>
1660
1661         Reviewed by Simon Fraser.
1662
1663         Update WebSystemInterface.
1664
1665         * WebCoreSupport/WebSystemInterface.mm:
1666         (InitWebCoreSystemInterface):
1667
1668 2013-03-26  Sergio Villar Senin  <svillar@igalia.com>
1669
1670         Implement overtype mode for editable content
1671         https://bugs.webkit.org/show_bug.cgi?id=112126
1672
1673         Reviewed by Ryosuke Niwa.
1674
1675         Added the OverWrite editing command to the WebCore editing
1676         commands lists.
1677
1678         * WebView/WebHTMLView.mm:
1679         * WebView/WebView.h:
1680         * WebView/WebView.mm:
1681
1682 2013-03-25  Kent Tamura  <tkent@chromium.org>
1683
1684         Rename ENABLE_INPUT_TYPE_DATETIME
1685         https://bugs.webkit.org/show_bug.cgi?id=113254
1686
1687         Reviewed by Kentaro Hara.
1688
1689         Rename ENABLE_INPUT_TYPE_DATETIME to ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE.
1690         Actually I'd like to remove the code, but we shouldn't remove it yet
1691         because we shipped products with it on some platforms.
1692
1693         * Configurations/FeatureDefines.xcconfig:
1694
1695 2013-03-21  Kiran Muppala  <cmuppala@apple.com>
1696
1697         Add runtime setting for hidden page DOM timer throttling and CSS animation suspension
1698         https://bugs.webkit.org/show_bug.cgi?id=112308
1699
1700         Reviewed by Gavin Barraclough.
1701
1702         Add private preference for enabling/disabling hidden page DOM timer
1703         throttling and CSS animation suspension.  The preference should be
1704         disabled by default to avoid compatibility issues.
1705
1706         * WebView/WebPreferenceKeysPrivate.h:
1707         * WebView/WebPreferences.mm:
1708         (+[WebPreferences initialize]):
1709         (-[WebPreferences hiddenPageDOMTimerThrottlingEnabled]):
1710         (-[WebPreferences setHiddenPageDOMTimerThrottlingEnabled:]):
1711         (-[WebPreferences hiddenPageCSSAnimationSuspensionEnabled]):
1712         (-[WebPreferences setHiddenPageCSSAnimationSuspensionEnabled:]):
1713         * WebView/WebPreferencesPrivate.h:
1714         * WebView/WebView.mm:
1715         (-[WebView _preferencesChanged:]):
1716
1717 2013-03-19  Ryosuke Niwa  <rniwa@webkit.org>
1718
1719         Another Mac build fix attempt after r146239.
1720
1721         * WebCoreSupport/WebFrameNetworkingContext.h:
1722         (WebFrameNetworkingContext):
1723
1724 2013-03-19  Ryosuke Niwa  <rniwa@webkit.org>
1725
1726         Mac build fix attempt after r146239.
1727
1728         * WebCoreSupport/WebFrameNetworkingContext.h:
1729
1730 2013-03-19  Sergey Ryazanov  <serya@chromium.org>
1731
1732         Web Inspector: split Console into two entities, a web-facing bound object and page console.
1733         https://bugs.webkit.org/show_bug.cgi?id=111578
1734
1735         Reviewed by Vsevolod Vlasov.
1736
1737         Otherwise, a lot of logging in WebCore needs to go through the DOMWindow which is unnecessary.
1738
1739         * Misc/WebCoreStatistics.mm:
1740         (+[WebCoreStatistics shouldPrintExceptions]):
1741         (+[WebCoreStatistics setShouldPrintExceptions:]):
1742
1743 2013-03-17  Adam Barth  <abarth@webkit.org>
1744
1745         Legacy CSS vendor prefixes should only work for Dashboard
1746         https://bugs.webkit.org/show_bug.cgi?id=111890
1747
1748         Reviewed by Eric Seidel.
1749
1750         Enable legacy CSS vendor prefixes when we've been asked to turn on
1751         Dashboard compatibility mode.
1752
1753         * WebView/WebView.mm:
1754         (-[WebView _setDashboardBehavior:to:]):
1755
1756 2013-03-16  Pratik Solanki  <psolanki@apple.com>
1757
1758         Disable High DPI Canvas on iOS
1759         https://bugs.webkit.org/show_bug.cgi?id=112511
1760
1761         Reviewed by Joseph Pecoraro.
1762
1763         * Configurations/FeatureDefines.xcconfig:
1764
1765 2013-03-15  Timothy Hatcher  <timothy@apple.com>
1766
1767         Disable suppressesIncrementalRendering for the Web Inspector.
1768
1769         This ends up causing the Inspector to show blank for a couple seconds before
1770         it does its first paint. During that time the bare window chrome is showing
1771         when the Inspector's background and other simple elements count be painting.
1772         This causes the Inspector to look like it is loading slower than reality.
1773
1774         https://bugs.webkit.org/show_bug.cgi?id=112300
1775         rdar://problem/13412219
1776  
1777         Reviewed by Geoff Garen.
1778
1779         * WebCoreSupport/WebInspectorClient.mm:
1780         (-[WebInspectorWindowController init]): Disable suppressesIncrementalRendering.
1781
1782 2013-03-15  Nate Chapin  <japhet@chromium.org>
1783
1784         Hide MainResourceLoader from the outside world
1785         https://bugs.webkit.org/show_bug.cgi?id=109971
1786
1787         Reviewed by Adam Barth.
1788
1789         * WebCoreSupport/WebFrameLoaderClient.h:
1790         (WebFrameLoaderClient):
1791         * WebCoreSupport/WebFrameLoaderClient.mm:
1792         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
1793
1794 2013-03-15  Abhishek Arya  <inferno@chromium.org>
1795
1796         Replace static_casts with to* helper functions.
1797         https://bugs.webkit.org/show_bug.cgi?id=112401
1798
1799         Reviewed by Stephen Chenney.
1800
1801         to* helper functions are preferred over static_cast calls since they
1802         help to catch bad casts easily on the testing infrastructure.
1803
1804         * WebView/WebRenderNode.mm:
1805         (copyRenderNode):
1806         * WebView/WebView.mm:
1807         (-[WebView _addScrollerDashboardRegionsForFrameView:dashboardRegions:]):
1808
1809 2013-03-14  Manuel Rego Casasnovas  <rego@igalia.com>
1810
1811         Add selectTrailingWhitespaceEnabled setting to WebCore::Page
1812         https://bugs.webkit.org/show_bug.cgi?id=109404
1813
1814         Reviewed by Tony Chang.
1815
1816         Use new settings for smartInsertDeleteEnabled and
1817         selectTrailingWhitespaceEnabled.
1818
1819         * WebCoreSupport/WebEditorClient.mm:
1820         (WebEditorClient::smartInsertDeleteEnabled):
1821         (WebEditorClient::isSelectTrailingWhitespaceEnabled):
1822         * WebView/WebView.mm:
1823         (-[WebView _commonInitializationWithFrameName:groupName:]): Initialize
1824         settings from NSUserDefaults.
1825         (-[WebView setSelectTrailingWhitespaceEnabled:]):
1826         (-[WebView isSelectTrailingWhitespaceEnabled]):
1827         (-[WebView setSmartInsertDeleteEnabled:]):
1828         (-[WebView smartInsertDeleteEnabled]):
1829         * WebView/WebViewData.h:
1830         * WebView/WebViewData.mm:
1831         (-[WebViewPrivate init]):
1832
1833 2013-03-14  Abhishek Arya  <inferno@chromium.org>
1834
1835         Replace static_casts with to* helper functions.
1836         https://bugs.webkit.org/show_bug.cgi?id=112296
1837
1838         Reviewed by Kentaro Hara.
1839
1840         to* helper functions are preferred over static_cast calls since they
1841         help to catch bad casts easily on the testing infrastructure.
1842
1843         * WebCoreSupport/WebFrameLoaderClient.mm:
1844         (applyAppleDictionaryApplicationQuirkNonInlinePart):
1845         * WebView/WebHTMLRepresentation.mm:
1846         (searchForLabelsBeforeElement):
1847
1848 2013-03-14  Alice Liu  <alice.liu@apple.com>
1849
1850         Add to HistoryItem a way to know if its underlying CachedPage has expired.
1851         https://bugs.webkit.org/show_bug.cgi?id=110652
1852
1853         Reviewed by Brady Eidson.
1854
1855         * History/WebHistoryItem.mm:
1856         (-[WebHistoryItem _isInPageCache]): Added. Just calls and returns core imple's function. 
1857         (-[WebHistoryItem _hasCachedPageExpired]): Same thing. 
1858         * History/WebHistoryItemPrivate.h:
1859         * WebView/WebPreferences.mm:
1860         (-[WebPreferences _backForwardCacheExpirationInterval]): Address fixme, now that WebCore::Settings
1861         has getters and setters with default value.
1862         * WebView/WebView.mm:
1863         (-[WebView _preferencesChanged:]): call setBackForwardCacheExpirationInterval similar to other settings.
1864
1865 2013-03-13  Rik Cabanier  <cabanier@adobe.com>
1866
1867         create runtime flags for CSS Compositing
1868         https://bugs.webkit.org/show_bug.cgi?id=111818
1869
1870         Reviewed by Ryosuke Niwa.
1871
1872         Added a preference to enable CSS compositing.
1873
1874         * WebView/WebPreferenceKeysPrivate.h:
1875         * WebView/WebPreferences.mm:
1876         (+[WebPreferences initialize]):
1877         (-[WebPreferences cssCompositingEnabled]):
1878         (-[WebPreferences setCSSCompositingEnabled:]):
1879         * WebView/WebPreferencesPrivate.h:
1880         * WebView/WebView.mm:
1881         (-[WebView _preferencesChanged:]):
1882
1883 2013-03-13  Ryosuke Niwa  <rniwa@webkit.org>
1884
1885         Threaded HTML Parser is missing feature define flags in all but Chromium port's build files
1886         https://bugs.webkit.org/show_bug.cgi?id=112277
1887
1888         Reviewed by Adam Barth.
1889
1890         * Configurations/FeatureDefines.xcconfig:
1891
1892 2013-03-13  Pavel Feldman  <pfeldman@chromium.org>
1893
1894         Web Inspector: get rid of hiddenPanels filter
1895         https://bugs.webkit.org/show_bug.cgi?id=112252
1896
1897         Reviewed by Vsevolod Vlasov.
1898
1899         * WebCoreSupport/WebInspectorClient.h:
1900         (WebInspectorFrontendClient):
1901         * WebCoreSupport/WebInspectorClient.mm:
1902         * WebKit.order:
1903
1904 2013-03-12  Geoffrey Garen  <ggaren@apple.com>
1905
1906         Moved RunLoopTimer and SchedulePair to WTF
1907         https://bugs.webkit.org/show_bug.cgi?id=112171
1908
1909         Reviewed by Oliver Hunt.
1910
1911         This will allow us to use timers in lower level primitives without
1912         duplicating all the code.
1913
1914         * WebCoreSupport/WebFrameNetworkingContext.h:
1915         (WebFrameNetworkingContext):
1916
1917 2013-03-12  Abhishek Arya  <inferno@chromium.org>
1918
1919         Replace static_casts with to* functions.
1920         https://bugs.webkit.org/show_bug.cgi?id=112072
1921
1922         Reviewed by Philip Rogers.
1923
1924         to* functions are preferred over static_cast calls since they
1925         help to catch bad casts easily on the testing infrastructure.
1926
1927         * WebView/WebView.mm:
1928         (-[WebView _enterFullscreenForNode:WebCore::]):
1929
1930 2013-03-11  Sheriff Bot  <webkit.review.bot@gmail.com>
1931
1932         Unreviewed, rolling out r145462.
1933         http://trac.webkit.org/changeset/145462
1934         https://bugs.webkit.org/show_bug.cgi?id=112097
1935
1936         Compilation failure in PluginView.cpp (Requested by jamesr_ on
1937         #webkit).
1938
1939         * WebView/WebView.mm:
1940         (-[WebView _enterFullscreenForNode:WebCore::]):
1941
1942 2013-03-11  Abhishek Arya  <inferno@chromium.org>
1943
1944         Replace static_casts with to* functions.
1945         https://bugs.webkit.org/show_bug.cgi?id=112072
1946
1947         Reviewed by Philip Rogers.
1948
1949         to* functions are preferred over static_cast calls since they
1950         help to catch bad casts easily on the testing infrastructure.
1951
1952         * WebView/WebView.mm:
1953         (-[WebView _enterFullscreenForNode:WebCore::]):
1954
1955 2013-03-11  Jochen Eisinger  <jochen@chromium.org>
1956
1957         Rename DefinitelyProcessingUserGesture to DefinitelyProcessingNewUserGesture
1958         https://bugs.webkit.org/show_bug.cgi?id=111959
1959
1960         Reviewed by Alexey Proskuryakov.
1961
1962         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1963         (WebKit::NetscapePluginInstanceProxy::evaluate):
1964         * Plugins/WebNetscapePluginView.mm:
1965         (-[WebNetscapePluginView sendEvent:isDrawRect:]):
1966
1967 2013-03-11  Abhishek Arya  <inferno@chromium.org>
1968
1969         Replace static_cast with to* helper functions.
1970         https://bugs.webkit.org/show_bug.cgi?id=112045
1971
1972         Reviewed by Eric Seidel.
1973
1974         * WebView/WebRenderLayer.mm:
1975         (+[WebRenderLayer nameForLayer:]):
1976
1977 2013-03-11  Jer Noble  <jer.noble@apple.com>
1978
1979         Unreviewed build fix.  Remove stray brace which crept into r145409.
1980
1981         * WebView/WebFullScreenController.mm:
1982         (-[WebFullScreenController performClose:]):
1983
1984 2013-01-30  Jer Noble  <jer.noble@apple.com>
1985
1986         Mac: Cmd-w should close full screen window.
1987         https://bugs.webkit.org/show_bug.cgi?id=108406
1988
1989         Reviewed by Darin Adler.
1990
1991         Allow the user to close the full screen window with Cmd-w by making the full screen window
1992         closable, and by intercepting performClose:.
1993
1994         * WebView/WebFullScreenController.mm:
1995         (-[WebFullScreenController init]): Create a closable full screen window.
1996         (-[WebFullScreenController performClose:]): When we receive a close request in full screen mode,
1997             animate out of full screen.
1998
1999 2013-03-07  Anders Carlsson  <andersca@apple.com>
2000
2001         Add didFocusTextField:inFrame to WebFormDelegate
2002         https://bugs.webkit.org/show_bug.cgi?id=111804
2003
2004         Reviewed by Dan Bernstein.
2005
2006         * WebCoreSupport/WebChromeClient.mm:
2007         (WebChromeClient::focusedNodeChanged):
2008         * WebView/WebFormDelegate.h:
2009         * WebView/WebFormDelegate.m:
2010         (-[WebFormDelegate didFocusTextField:inFrame:]):
2011
2012 2013-03-04  Jer Noble  <jer.noble@apple.com>
2013
2014         Default mouse cursor behavior should be auto-hide for full screen video with custom controls
2015         https://bugs.webkit.org/show_bug.cgi?id=107601
2016
2017         Reviewed by Beth Dakin.
2018
2019         Enable the CURSOR_VISIBILITY feature.
2020
2021         * Configurations/FeatureDefines.xcconfig:
2022
2023 2013-03-05  Geoffrey Garen  <ggaren@apple.com>
2024
2025         Removed some dead code in the page cache
2026         https://bugs.webkit.org/show_bug.cgi?id=111525
2027
2028         Reviewed by Alexey Proskuryakov.
2029
2030         Page cache autorelease doesn't exist anymore, so there's no need to keep
2031         around these olds hacks.
2032
2033         This fixes <rdar://problem/4886761> Fix bizarre WebWindowWatcher policy in WebHistoryItem.
2034
2035         * History/WebHistoryItem.mm:
2036         (+[WebHistoryItem _releaseAllPendingPageCaches]):
2037         * History/WebHistoryItemInternal.h:
2038         * Misc/WebCoreStatistics.mm:
2039         (+[WebCoreStatistics autoreleasedPageCount]):
2040         * WebView/WebView.mm:
2041         (-[WebView _commonInitializationWithFrameName:groupName:]):
2042
2043 2013-03-06  Dmitry Zvorygin  <zvorygin@chromium.org>
2044
2045         Introduce new message sources for logging.
2046         https://bugs.webkit.org/show_bug.cgi?id=110968
2047
2048         Reviewed by Pavel Feldman.
2049
2050         * WebCoreSupport/WebChromeClient.mm:
2051         * WebView/WebUIDelegatePrivate.h:
2052
2053 2013-03-05  Kent Tamura  <tkent@chromium.org>
2054
2055         Rename WebCore/editing/visible_units.* to VisibleUnits.*
2056         https://bugs.webkit.org/show_bug.cgi?id=111426
2057
2058         Reviewed by Alexey Proskuryakov.
2059
2060         * WebView/WebFrame.mm:
2061
2062 2013-03-05  James Robinson  <jamesr@chromium.org>
2063
2064         ContainerNode::setActive should not sleep for 100ms on platforms that do not implement synchronous repaint(true) semantics
2065         https://bugs.webkit.org/show_bug.cgi?id=87054
2066
2067         Reviewed by Darin Adler.
2068
2069         The Mac WebKit1 port supports immediate invalidations.
2070
2071         * WebCoreSupport/WebChromeClient.h:
2072         (WebChromeClient):
2073         * WebCoreSupport/WebChromeClient.mm:
2074         (WebChromeClient::supportsImmediateInvalidation):
2075
2076 2013-03-05  David Kilzer  <ddkilzer@apple.com>
2077
2078         BUILD FIX (r144698): Only enable SPEECH_SYNTHESIS for Mac
2079         <http://webkit.org/b/106742>
2080
2081         Fixes the following build failures:
2082
2083             Undefined symbols for architecture i386:
2084               "__ZTVN7WebCore25PlatformSpeechSynthesizerE", referenced from:
2085                   __ZN7WebCore25PlatformSpeechSynthesizerC2EPNS_31PlatformSpeechSynthesizerClientE in PlatformSpeechSynthesizer.o
2086               NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
2087               "__ZN7WebCore25PlatformSpeechSynthesizer19initializeVoiceListEv", referenced from:
2088                   __ZN7WebCore25PlatformSpeechSynthesizerC2EPNS_31PlatformSpeechSynthesizerClientE in PlatformSpeechSynthesizer.o
2089             ld: symbol(s) not found for architecture i386
2090
2091         * Configurations/FeatureDefines.xcconfig:
2092         - Only set ENABLE_SPEECH_SYNTHESIS for the macosx platform.
2093
2094 2013-03-04  David Kilzer  <ddkilzer@apple.com>
2095
2096         BUILD FIX (r144662): Import JSBase.h in WebFrameLoadDelegate.h
2097         <http://webkit.org/b/111269>
2098
2099         Fixes the following build failure:
2100
2101             In file included from Source/WebKit/ios/DefaultDelegates/WebDefaultFrameLoadDelegate.m:11:
2102             In file included from Source/WebKit/mac/WebView/WebFrameLoadDelegatePrivate.h:29:
2103             Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:41:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
2104             #if JSC_OBJC_API_ENABLED
2105                 ^
2106             Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:207:5: error: 'JSC_OBJC_API_ENABLED' is not defined, evaluates to 0 [-Werror,-Wundef]
2107             #if JSC_OBJC_API_ENABLED
2108                 ^
2109             2 errors generated.
2110
2111         * WebView/WebFrameLoadDelegate.h: Include JSBase.h.
2112
2113 2013-03-04  Chris Fleizach  <cfleizach@apple.com>
2114
2115         Support WebSpeech - Speech Synthesis
2116         https://bugs.webkit.org/show_bug.cgi?id=106742
2117
2118         Reviewed by Simon Fraser.
2119
2120         Enable speech synthesis for the Mac.
2121
2122         * Configurations/FeatureDefines.xcconfig:
2123
2124 2013-03-04  Mark Hahnenberg  <mhahnenberg@apple.com>
2125
2126         Remove contextInternalContext from JSContextInternal.h
2127         https://bugs.webkit.org/show_bug.cgi?id=111356
2128
2129         Reviewed by Geoffrey Garen.
2130
2131         We don't need it any more since we have globalContextRef in JSContext.
2132
2133         * WebView/WebScriptWorld.mm:
2134         (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
2135
2136 2013-03-04  Laszlo Gombos  <l.gombos@samsung.com>
2137
2138         JSC_OBJC_API_ENABLED should be removed from FeatureDefines.h
2139         https://bugs.webkit.org/show_bug.cgi?id=111269
2140
2141         Reviewed by Mark Hahnenberg.
2142
2143         Include JavaScriptCore/JSBase.h for the definition of JSC_OBJC_API_ENABLED.
2144
2145         * WebView/WebDelegateImplementationCaching.h:
2146
2147 2013-03-04  Kunihiko Sakamoto  <ksakamoto@chromium.org>
2148
2149         Add build flag for FontLoader
2150         https://bugs.webkit.org/show_bug.cgi?id=111289
2151
2152         Reviewed by Benjamin Poulain.
2153
2154         Add ENABLE_FONT_LOAD_EVENTS build flag (disabled by default).
2155
2156         * Configurations/FeatureDefines.xcconfig:
2157
2158 2013-03-03  Benjamin Poulain  <benjamin@webkit.org>
2159
2160         [Mac] Get rid of a useless method from DOMHTMLInputElement
2161         https://bugs.webkit.org/show_bug.cgi?id=111279
2162
2163         Reviewed by Sam Weinig.
2164
2165         * DOM/WebDOMOperations.mm:
2166         * DOM/WebDOMOperationsPrivate.h:
2167         setValueForUser: is already privately exposed by DOMHTMLInputElement,
2168         no need to have it twice.
2169
2170 2013-03-03  Adam Barth  <abarth@webkit.org>
2171
2172         Unreviewed attempted build fix. Adds back some includes removed in
2173         http://trac.webkit.org/changeset/144565.
2174
2175         * DOM/WebDOMOperations.mm:
2176         * Misc/WebNSPasteboardExtras.mm:
2177         * WebCoreSupport/WebFrameNetworkingContext.mm:
2178         * WebView/WebRenderLayer.mm:
2179         * WebView/WebRenderNode.mm:
2180
2181 2013-03-03  Adam Barth  <abarth@webkit.org>
2182
2183         Unreviewed rollout of http://trac.webkit.org/r144530
2184         As described in https://bugs.webkit.org/show_bug.cgi?id=111167 and
2185         https://bugs.webkit.org/show_bug.cgi?id=111035, this patch caused a
2186         large number of ASSERTs in chromium-win.
2187
2188         * DOM/WebDOMOperations.mm:
2189         * Misc/WebNSPasteboardExtras.mm:
2190         * WebCoreSupport/WebFrameNetworkingContext.mm:
2191         * WebView/WebRenderLayer.mm:
2192         * WebView/WebRenderNode.mm:
2193
2194 2013-02-18  Darin Adler  <darin@apple.com>
2195
2196         Cut down the number of source files that depend on Clipboard.h
2197         https://bugs.webkit.org/show_bug.cgi?id=110030
2198
2199         Reviewed by Ryosuke Niwa.
2200
2201         * WebView/WebPDFView.mm: Add include of Clipboard.h since we use it
2202         here and the world no longer includes it everywhere.
2203
2204 2013-03-02  Benjamin Poulain  <bpoulain@apple.com>
2205
2206         Move computedStyleIncludingVisitedInfo from TestRunner to Internals
2207         https://bugs.webkit.org/show_bug.cgi?id=109772
2208
2209         Reviewed by Andreas Kling.
2210
2211         * WebView/WebView.mm:
2212         * WebView/WebViewPrivate.h:
2213
2214 2013-03-02  David Kilzer  <ddkilzer@apple.com>
2215
2216         BUILD FIX (r143637): Predeclare JSContext as an Objective-C class
2217         <http://webkit.org/b/106059>
2218
2219         Fixes the following build failure:
2220
2221             In file included from Source/WebKit/ios/DefaultDelegates/WebDefaultFrameLoadDelegate.m:11:
2222             In file included from Source/WebKit/mac/WebView/WebFrameLoadDelegatePrivate.h:29:
2223             Source/WebKit/mac/WebView/WebFrameLoadDelegate.h:215:64: error: expected a type
2224             - (void)webView:(WebView *)webView didCreateJavaScriptContext:(JSContext *)context forFrame:(WebFrame *)frame;
2225                                                                            ^
2226             1 error generated.
2227
2228         * WebView/WebFrameLoadDelegate.h: Add @class JSContext
2229         declaration.
2230
2231 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
2232
2233         Reduce amount of rebuilding when touching networking headers
2234         https://bugs.webkit.org/show_bug.cgi?id=111035
2235
2236         Reviewed by Eric Seidel.
2237
2238         Adding includes that are now necessary because WebCore headers don't have them
2239         any more.
2240
2241         * DOM/WebDOMOperations.mm:
2242         * Misc/WebNSPasteboardExtras.mm:
2243         * WebCoreSupport/WebFrameNetworkingContext.mm:
2244         * WebView/WebRenderLayer.mm:
2245         * WebView/WebRenderNode.mm:
2246
2247 2013-03-01  Jason Anderssen  <janderssen@gmail.com>
2248
2249         Move markerTextForListItem from TestRunner to Internals
2250         https://bugs.webkit.org/show_bug.cgi?id=110939
2251
2252         Reviewed by Benjamin Poulain.
2253
2254         * DOM/WebDOMOperations.mm:
2255         * DOM/WebDOMOperationsPrivate.h:
2256
2257 2013-02-28  Sam Weinig  <sam@webkit.org>
2258
2259         Add SPI for marking a WebView as doing things on behalf of another process
2260         https://bugs.webkit.org/show_bug.cgi?id=111125
2261
2262         Reviewed by Alexey Proskuryakov.
2263
2264         * WebCoreSupport/WebFrameNetworkingContext.h:
2265         (WebFrameNetworkingContext):
2266         * WebCoreSupport/WebFrameNetworkingContext.mm:
2267         (WebFrameNetworkingContext::sourceApplicationAuditData):
2268         * WebView/WebView.mm:
2269         (-[WebView _setSourceApplicationAuditData:]):
2270         (-[WebView _sourceApplicationAuditData]):
2271         * WebView/WebViewData.h:
2272         * WebView/WebViewData.mm:
2273         (-[WebViewPrivate dealloc]):
2274         * WebView/WebViewPrivate.h:
2275         Add SPI for setting a source application for a WebView.
2276
2277 2013-03-01  Sheriff Bot  <webkit.review.bot@gmail.com>
2278
2279         Unreviewed, rolling out r144422 and r144424.
2280         http://trac.webkit.org/changeset/144422
2281         http://trac.webkit.org/changeset/144424
2282         https://bugs.webkit.org/show_bug.cgi?id=111167
2283
2284         Caused over 20 tests to fail assertion on Chromium Win port as
2285         ASSERTION FAILED: m_platformRequestUpdated (Requested by
2286         toyoshim on #webkit).
2287
2288         * DOM/WebDOMOperations.mm:
2289         * Misc/WebNSPasteboardExtras.mm:
2290         * WebCoreSupport/WebFrameNetworkingContext.mm:
2291         * WebView/WebRenderLayer.mm:
2292         * WebView/WebRenderNode.mm:
2293
2294 2013-02-28  Alexey Proskuryakov  <ap@apple.com>
2295
2296         Reduce amount of rebuilding when touching networking headers
2297         https://bugs.webkit.org/show_bug.cgi?id=111035
2298
2299         Reviewed by Eric Seidel.
2300
2301         Adding includes that are now necessary because WebCore headers don't have them
2302         any more.
2303
2304         * DOM/WebDOMOperations.mm:
2305         * Misc/WebNSPasteboardExtras.mm:
2306         * WebCoreSupport/WebFrameNetworkingContext.mm:
2307         * WebView/WebRenderLayer.mm:
2308         * WebView/WebRenderNode.mm:
2309
2310 2013-02-27  John Bauman  <jbauman@chromium.org>
2311
2312         Plugin in iframe may not display
2313         https://bugs.webkit.org/show_bug.cgi?id=109879
2314
2315         Reviewed by Simon Fraser.
2316
2317         Ensure NetscapePluginWidget informs the plugin view of the cliprect change directly.
2318
2319         * Plugins/WebBaseNetscapePluginView.h:
2320         * WebCoreSupport/WebFrameLoaderClient.mm:
2321         (NetscapePluginWidget::clipRectChanged):
2322
2323 2013-02-26  Alexey Proskuryakov  <ap@apple.com>
2324
2325         Don't add a body to platform request until necessary
2326         https://bugs.webkit.org/show_bug.cgi?id=110900
2327
2328         Reviewed by Brady Eidson.
2329
2330         WebKit1 behavior is unchanged, body is added on every conversion.
2331
2332         * WebCoreSupport/WebFrameLoaderClient.mm:
2333         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
2334         (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache):
2335         (WebFrameLoaderClient::assignIdentifierToInitialRequest):
2336         (WebFrameLoaderClient::dispatchWillSendRequest):
2337         (WebFrameLoaderClient::dispatchDecidePolicyForResponse):
2338         (WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
2339         (WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
2340         (WebFrameLoaderClient::updateGlobalHistory):
2341         (WebFrameLoaderClient::canHandleRequest):
2342         * WebView/WebDataSource.mm:
2343         (-[WebDataSource initialRequest]):
2344         (-[WebDataSource request]):
2345         * WebView/WebFrame.mm:
2346         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
2347
2348 2013-02-27  Glenn Adams  <glenn@skynav.com>
2349
2350         Add ENABLE_CSS3_TEXT_LINE_BREAK flag.
2351         https://bugs.webkit.org/show_bug.cgi?id=110944
2352
2353         Reviewed by Dean Jackson.
2354
2355         * Configurations/FeatureDefines.xcconfig:
2356
2357 2013-02-26  Jer Noble  <jer.noble@apple.com>
2358
2359         Unreviewed build fix; use correct macro for platform name in FeatureDefines.xcconfig.
2360
2361         * Configurations/FeatureDefines.xcconfig:
2362
2363 2013-02-26  Dmitry Zvorygin  <zvorygin@chromium.org>
2364
2365         Merged Tip and Debug log levels for web console.
2366         https://bugs.webkit.org/show_bug.cgi?id=109919
2367
2368         Reviewed by Pavel Feldman.
2369
2370         In every component either TIP or DEBUG level was used for reporting,
2371         but not both. This patch is prerequisite for Web Inspector console log filtering.
2372
2373         * WebCoreSupport/WebChromeClient.mm:
2374         (stringForMessageLevel):
2375         * WebView/WebUIDelegatePrivate.h:
2376
2377
2378 2013-02-21  Jeffrey Pfau  <jpfau@apple.com>
2379
2380         Optionally partition cache to prevent using cache for tracking
2381         https://bugs.webkit.org/show_bug.cgi?id=110269
2382
2383         Reviewed by Maciej Stachowiak.
2384
2385         Update WKSI bindings and add feature defines.
2386
2387         * Configurations/FeatureDefines.xcconfig: Add defines for cache partitioning and public suffix list usage
2388         * WebCoreSupport/WebSystemInterface.mm:
2389         (InitWebCoreSystemInterface):
2390
2391 2013-02-25  Jer Noble  <jer.noble@apple.com>
2392
2393         Normalize ENABLE_ENCRYPTED_MEDIA definitions across all FeatureDefines files.
2394         https://bugs.webkit.org/show_bug.cgi?id=110806
2395
2396         Reviewed by Alexey Proskuryakov.
2397     
2398         Ensure both ENCRYPTED_MEDIA and ENCRYPTED_MEDIA_V2 are enabled on macosx_1090.
2399
2400         * Configurations/FeatureDefines.xcconfig:
2401
2402 2013-02-25  Andreas Kling  <akling@apple.com>
2403
2404         Reduce amount of code that includes StylePropertySet.h
2405         <http://webkit.org/b/101149>
2406
2407         Reviewed by Antti Koivisto.
2408
2409         * WebCoreSupport/WebEditorClient.mm:
2410         * WebView/WebFrame.mm:
2411         * WebView/WebView.mm:
2412
2413 2013-02-24  Andreas Kling  <akling@apple.com>
2414
2415         Reduce include graph of JSDOMBinding.h
2416         <http://webkit.org/b/110709>
2417
2418         Reviewed by Antti Koivisto.
2419
2420         * WebView/WebHTMLView.mm:
2421
2422 2013-02-21  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
2423
2424         Allow to retrieve the request data from abstract TextCheckingRequest to be accessible for WK2
2425         https://bugs.webkit.org/show_bug.cgi?id=110208
2426
2427         Reviewed by Hajime Morrita.
2428
2429         * WebCoreSupport/WebEditorClient.mm:
2430         (WebEditorClient::didCheckSucceed):
2431         (WebEditorClient::requestCheckingOfString):
2432         Extract the request data as it is the member of 'TextCheckingRequest'.
2433
2434 2013-02-19  Mark Hahnenberg  <mhahnenberg@apple.com>
2435
2436         Objective-C API: Need a way to use the Objective-C JavaScript API with WebKit
2437         https://bugs.webkit.org/show_bug.cgi?id=106059
2438
2439         Reviewed by Geoffrey Garen.
2440
2441         Addition of appropriate delegate callbacks and support to the WebKit API.
2442
2443         * WebCoreSupport/WebFrameLoaderClient.mm:
2444         * WebView/WebDelegateImplementationCaching.h:
2445         (WebFrameLoadDelegateImplementationCache):
2446         * WebView/WebFrame.h:
2447         * WebView/WebFrame.mm:
2448         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
2449         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
2450         (-[WebFrame _javaScriptContextForScriptWorld:]):
2451         (-[WebFrame javaScriptContext]):
2452         * WebView/WebFrameLoadDelegate.h:
2453         * WebView/WebFramePrivate.h:
2454         * WebView/WebScriptDebugDelegate.mm:
2455         (-[WebScriptCallFrame _convertValueToObjcValue:JSC::]):
2456         (-[WebScriptCallFrame exception]):
2457         (-[WebScriptCallFrame evaluateWebScript:]):
2458         * WebView/WebScriptWorld.h:
2459         * WebView/WebScriptWorld.mm:
2460         (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
2461         * WebView/WebView.mm:
2462         (-[WebView _cacheFrameLoadDelegateImplementations]):
2463         (aeDescFromJSValue):
2464         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
2465         (-[WebView _computedStyleIncludingVisitedInfo:forElement:]):
2466
2467 2013-02-20  Dirk Schulze  <krit@webkit.org>
2468
2469         Enable CANVAS_PATH flag
2470         https://bugs.webkit.org/show_bug.cgi?id=108508
2471
2472         Reviewed by Simon Fraser.
2473
2474         Enable CANVAS_PATH flag on trunk.
2475
2476         * Configurations/FeatureDefines.xcconfig:
2477
2478 2013-02-19  Tim Horton  <timothy_horton@apple.com>
2479
2480         Clarify isInWindow vs. isVisible path through to RenderLayerCompositor
2481         https://bugs.webkit.org/show_bug.cgi?id=110261
2482         <rdar://problem/13196122>
2483
2484         Reviewed by Simon Fraser.
2485
2486         * WebView/WebView.mm:
2487         (-[WebView viewWillMoveToWindow:]):
2488         (-[WebView viewDidMoveToWindow]):
2489         Use Page::setIsInWindow in addition to willMoveOffscreen/didMoveOnscreen.
2490
2491 2013-02-18  Anders Carlsson  <andersca@apple.com>
2492
2493         Add a DefaultHash for RefPtr<SecurityOrigin>
2494         https://bugs.webkit.org/show_bug.cgi?id=110170
2495
2496         Reviewed by Andreas Kling.
2497
2498         Remove all explicit uses of SecurityOriginHash.
2499
2500         * WebCoreSupport/WebApplicationCache.mm:
2501         (+[WebApplicationCache originsWithCache]):
2502
2503 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
2504
2505         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
2506         https://bugs.webkit.org/show_bug.cgi?id=109996
2507
2508         Reviewed by Simon Fraser.
2509
2510         * WebCoreSupport/WebSystemInterface.mm:
2511         (InitWebCoreSystemInterface):
2512
2513 2013-02-15  Sheriff Bot  <webkit.review.bot@gmail.com>
2514
2515         Unreviewed, rolling out r143088.
2516         http://trac.webkit.org/changeset/143088
2517         https://bugs.webkit.org/show_bug.cgi?id=110000
2518
2519         Breaks the build (Requested by dgorbik on #webkit).
2520
2521         * WebCoreSupport/WebSystemInterface.mm:
2522         (InitWebCoreSystemInterface):
2523
2524 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
2525
2526         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
2527         https://bugs.webkit.org/show_bug.cgi?id=109996
2528
2529         Reviewed by Simon Fraser.
2530
2531         * WebCoreSupport/WebSystemInterface.mm:
2532         (InitWebCoreSystemInterface):
2533
2534 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
2535
2536         Simplify hitTestResultAtPoint and nodesFromRect APIs
2537         https://bugs.webkit.org/show_bug.cgi?id=95720
2538
2539         Reviewed by Julien Chaffraix.
2540
2541         Update calls to new API.
2542
2543         * WebCoreSupport/WebFrameLoaderClient.mm:
2544         (WebFrameLoaderClient::actionDictionary):
2545         * WebView/WebFrame.mm:
2546         (-[WebFrame elementAtPoint:]):
2547         * WebView/WebHTMLView.mm:
2548         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
2549
2550 2013-02-14  David Kilzer  <ddkilzer@apple.com>
2551
2552         [Mac] Clean up WARNING_CFLAGS
2553         <http://webkit.org/b/109747>
2554         <rdar://problem/13208373>
2555
2556         Reviewed by Mark Rowe.
2557
2558         * Configurations/Base.xcconfig: Use
2559         GCC_WARN_64_TO_32_BIT_CONVERSION to enable and disable
2560         -Wshorten-64-to-32 rather than WARNING_CFLAGS.
2561
2562 2013-02-13  Zan Dobersek  <zdobersek@igalia.com>
2563
2564         The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
2565         https://bugs.webkit.org/show_bug.cgi?id=109325
2566
2567         Reviewed by Anders Carlsson.
2568
2569         Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
2570         two methods as they're provided by the C++ standard library being used.
2571
2572         * tests/DecimalTest.cpp:
2573         (TEST_F):
2574
2575 2013-02-12  Joseph Pecoraro  <pecoraro@apple.com>
2576
2577         [iOS] Enable PAGE_VISIBILITY_API
2578         https://bugs.webkit.org/show_bug.cgi?id=109399
2579
2580         Reviewed by David Kilzer.
2581
2582         * Configurations/FeatureDefines.xcconfig:
2583
2584 2013-02-12  David Kilzer  <ddkilzer@apple.com>
2585
2586         BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
2587         <https://bugs.webkit.org/show_bug.cgi?id=109534>
2588
2589         Fixes the following build failure:
2590
2591             WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
2592             bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
2593                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
2594
2595         * WebCoreSupport/WebEditorClient.mm:
2596         (WebEditorClient::shouldShowDeleteInterface): Protect with
2597         ENABLE(DELETION_UI) macro.
2598
2599 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
2600
2601         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
2602         https://bugs.webkit.org/show_bug.cgi?id=109534
2603
2604         Reviewed by Anders Carlsson.
2605
2606         * WebCoreSupport/WebEditorClient.h:
2607
2608 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
2609
2610         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
2611         https://bugs.webkit.org/show_bug.cgi?id=109349
2612
2613         Reviewed by Sam Weinig.
2614
2615         * WebView/WebView.mm:
2616         * WebView/WebViewPrivate.h:
2617
2618 2013-02-10  Dan Bernstein  <mitz@apple.com>
2619
2620         Added *.pdf to EXCLUDED_SOURCE_FILE_NAMES_iphoneos.
2621
2622         Rubber-stamped by Anders Carlsson.
2623
2624         * Configurations/WebKit.xcconfig:
2625
2626 2013-02-10  Jae Hyun Park  <jae.park08@gmail.com>
2627
2628         Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
2629         https://bugs.webkit.org/show_bug.cgi?id=104266
2630
2631         Reviewed by Philippe Normand.
2632
2633         Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
2634         the existing macro naming conventions.
2635
2636         From Platform.h
2637         USE() - use a particular third-party library or optional OS service
2638         ENABLE() - turn on a specific feature of WebKit
2639
2640         * WebView/WebView.mm:
2641         (-[WebView _commonInitializationWithFrameName:groupName:]):
2642         (-[WebView _close]):
2643         * WebView/WebViewData.h:
2644         * WebView/WebViewInternal.h:
2645
2646 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
2647
2648         Move workerThreadCount from TestRunner to WebCore Internals
2649         https://bugs.webkit.org/show_bug.cgi?id=109239
2650
2651         Reviewed by Darin Adler.
2652
2653         Get rid of WebWorkersPrivate, which was only needed for DRT.
2654
2655         * WebKit.exp:
2656         * Workers/WebWorkersPrivate.h: Removed.
2657         * Workers/WebWorkersPrivate.mm: Removed.
2658
2659 2013-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
2660
2661         Unreviewed, rolling out r142212.
2662         http://trac.webkit.org/changeset/142212
2663         https://bugs.webkit.org/show_bug.cgi?id=109255
2664
2665         Causes ASSERT(!m_installed) on launch (Requested by smfr on
2666         #webkit).
2667
2668         * WebView/WebView.mm:
2669         (-[WebView _commonInitializationWithFrameName:groupName:]):
2670         (WebInstallMemoryPressureHandler):
2671
2672 2013-02-06  Gavin Barraclough  <barraclough@apple.com>
2673
2674         PluginProcess should quit immediately if idle in response to low-memory notifications
2675         https://bugs.webkit.org/show_bug.cgi?id=109103
2676         <rdar://problem/12679827>
2677
2678         Reviewed by Darin Adler.
2679
2680         * WebView/WebView.mm:
2681         (-[WebView _commonInitializationWithFrameName:groupName:]):
2682             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
2683         (WebInstallMemoryPressureHandler):
2684             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
2685
2686 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
2687
2688         Move pauseAnimation/pauseTransition from TestRunner to Internals
2689         https://bugs.webkit.org/show_bug.cgi?id=109107
2690
2691         Reviewed by Anders Carlsson.
2692
2693         * WebView/WebFrame.mm:
2694         * WebView/WebFramePrivate.h:
2695
2696 2013-02-06  Mike West  <mkwst@chromium.org>
2697
2698         Add an ENABLE_NOSNIFF feature flag.
2699         https://bugs.webkit.org/show_bug.cgi?id=109029
2700
2701         Reviewed by Jochen Eisinger.
2702
2703         This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
2704         when processing script and other resource types.
2705
2706         * Configurations/FeatureDefines.xcconfig:
2707
2708 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
2709
2710         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
2711         https://bugs.webkit.org/show_bug.cgi?id=108741
2712
2713         Reviewed by Tony Chang.
2714
2715         * WebView/WebFrame.mm:
2716         * WebView/WebFramePrivate.h:
2717
2718 2013-02-04  Enrica Casucci  <enrica@apple.com>
2719
2720         Add specific EditActions for Bold and Italic commands.
2721         https://bugs.webkit.org/show_bug.cgi?id=108842.
2722         <rdar://problem/13098252>
2723
2724         Reviewed by Ryosuke Niwa.
2725
2726         * WebCoreSupport/WebEditorClient.mm:
2727         (undoNameForEditAction):
2728
2729 2013-02-03  David Kilzer  <ddkilzer@apple.com>
2730
2731         Upstream ENABLE_PDFKIT_PLUGIN settting
2732         <http://webkit.org/b/108792>
2733
2734         Reviewed by Tim Horton.
2735
2736         * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
2737         on iOS since PDFKit is a Mac-only framework.
2738
2739 2013-02-02  David Kilzer  <ddkilzer@apple.com>
2740
2741         Upstream iOS FeatureDefines
2742         <http://webkit.org/b/108753>
2743
2744         Reviewed by Anders Carlsson.
2745
2746         * Configurations/FeatureDefines.xcconfig:
2747         - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
2748         - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
2749         - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO.  Add
2750           PLATFORM_NAME variant to reduce future merge conflicts. 
2751
2752 2013-02-01  Alexis Menard  <alexis@webkit.org>
2753
2754         Enable unprefixed CSS transitions by default.
2755         https://bugs.webkit.org/show_bug.cgi?id=108216
2756
2757         Reviewed by Dean Jackson.
2758
2759         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
2760         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
2761         guard the unprefixing work for CSS Transforms and animations.
2762
2763         * Configurations/FeatureDefines.xcconfig:
2764
2765 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
2766
2767         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
2768         https://bugs.webkit.org/show_bug.cgi?id=107737
2769
2770         Reviewed by Ryosuke Niwa.
2771
2772         * WebView/WebHTMLView.mm:
2773         (-[WebHTMLView _updateSelectionForInputManager]):
2774
2775 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
2776
2777         Unreviewed, rolling out r141479.
2778         http://trac.webkit.org/changeset/141479
2779         https://bugs.webkit.org/show_bug.cgi?id=108564
2780
2781         breaks chromium test (Requested by morrita on #webkit).
2782
2783         * WebView/WebHTMLView.mm:
2784         (-[WebHTMLView _updateSelectionForInputManager]):
2785
2786 2013-01-31  Enrica Casucci  <enrica@apple.com>
2787
2788         Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
2789         https://bugs.webkit.org/show_bug.cgi?id=108519.
2790
2791         Reviewed by Sam Weinig.
2792
2793         There is no need to use AppKit types here.
2794         baseWritingDirectionForSelectionStart now returns WritingDirection and
2795         WebHTMLView toggleWritingDirection has been modified accordingly.
2796
2797         * WebView/WebHTMLView.mm:
2798         (-[WebHTMLView toggleBaseWritingDirection:]):
2799
2800 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
2801
2802         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
2803         https://bugs.webkit.org/show_bug.cgi?id=107737
2804
2805         Reviewed by Ryosuke Niwa.
2806
2807         * WebView/WebHTMLView.mm:
2808         (-[WebHTMLView _updateSelectionForInputManager]):
2809
2810 2013-01-31  Joseph Pecoraro  <pecoraro@apple.com>
2811
2812         Disable ENABLE_FULLSCREEN_API on iOS
2813         https://bugs.webkit.org/show_bug.cgi?id=108250
2814
2815         Reviewed by Benjamin Poulain.
2816
2817         * Configurations/FeatureDefines.xcconfig:
2818
2819 2013-01-31  Enrica Casucci  <enrica@apple.com>
2820
2821         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
2822         https://bugs.webkit.org/show_bug.cgi?id=108396.
2823         <rdar://problem/12920461>
2824
2825         Reviewed by Alexey Proskuryakov.
2826
2827         Adds stub implementation for WebKit of the new EditorClient methods.
2828
2829         * WebCoreSupport/WebEditorClient.h:
2830         * WebCoreSupport/WebEditorClient.mm:
2831         (WebEditorClient::willWriteSelectionToPasteboard):
2832         (WebEditorClient::getClientPasteboardDataForRange):
2833
2834 2013-01-31  Brady Eidson  <beidson@apple.com>
2835
2836         Lack of a log level string should not obliterate compiled in logging channel state.
2837         https://bugs.webkit.org/show_bug.cgi?id=108502
2838
2839         Reviewed by Alexey Proskuryakov and Sam Weinig.
2840
2841         * Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.
2842
2843 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
2844
2845         Unreviewed, rolling out r140983.
2846         http://trac.webkit.org/changeset/140983
2847         https://bugs.webkit.org/show_bug.cgi?id=108277
2848
2849         Unfortunately, this API has one last client (Requested by
2850         abarth on #webkit).
2851
2852         * Configurations/FeatureDefines.xcconfig:
2853
2854 2012-11-28  Jer Noble  <jer.noble@apple.com>
2855
2856         Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
2857         https://bugs.webkit.org/show_bug.cgi?id=103558
2858         <rdar://problem/12763112>
2859
2860         Reviewed by Benjamin Poulain.
2861
2862         Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
2863         view when in full screen mode.  Add a simple accessor for the existing placeholder view to
2864         WebFullScreenController and WebView.
2865
2866         * WebView/WebFullScreenController.h:
2867         * WebView/WebFullScreenController.mm:
2868         (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
2869         * WebView/WebView.mm:
2870         (-[WebView fullScreenPlaceholderView]): Added simple accessor.
2871
2872 2013-01-28  Pratik Solanki  <psolanki@apple.com>
2873
2874         PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
2875         https://bugs.webkit.org/show_bug.cgi?id=108101
2876
2877         Reviewed by Benjamin Poulain.
2878
2879         Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
2880         __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
2881
2882         * WebCoreSupport/WebSystemInterface.mm:
2883         (InitWebCoreSystemInterface):
2884
2885 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
2886
2887         [Mac] Update PageVisibilityState when WebView is hidden / visible
2888         https://bugs.webkit.org/show_bug.cgi?id=107509
2889
2890         Reviewed by Sam Weinig.
2891
2892         * WebView/WebView.mm:
2893         * WebView/WebViewPrivate.h:
2894         (-[WebView _commonInitializationWithFrameName:groupName:]):
2895         Set the initial visibility of the page.
2896
2897         (-[WebView addWindowObserversForWindow:]):
2898         (-[WebView removeWindowObservers]):
2899         (-[WebView _isViewVisible]):
2900         (-[WebView _updateVisibilityState]):
2901         (-[WebView viewDidMoveToWindow]):
2902         (-[WebView _windowVisibilityChanged:]):
2903         Update visibility state in the same ways WK2 does. This involves
2904         listening for some new NSWindow delegates.
2905
2906 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
2907
2908         Improve PageVisibility API with enums
2909         https://bugs.webkit.org/show_bug.cgi?id=107364
2910
2911         Reviewed by Sam Weinig.
2912
2913         * WebView/WebView.mm:
2914         * WebView/WebViewPrivate.h:
2915         (core):
2916         (-[WebView _setVisibilityState:isInitialState:]):
2917         Switch the private API form int to a WebPageVisibilityState enum.
2918
2919 2013-01-28  Adam Barth  <abarth@webkit.org>
2920
2921         Remove webkitNotifications.createHTMLNotification
2922         https://bugs.webkit.org/show_bug.cgi?id=107598
2923
2924         Reviewed by Benjamin Poulain.
2925
2926         * Configurations/FeatureDefines.xcconfig:
2927
2928 2013-01-25  Andy Estes  <aestes@apple.com>
2929
2930         Wrap content filtering code in an object
2931         https://bugs.webkit.org/show_bug.cgi?id=107914
2932
2933         Reviewed by Alexey Proskuryakov.
2934
2935         * WebCoreSupport/WebSystemInterface.mm:
2936         (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
2937
2938 2013-01-24  Dan Bernstein  <mitz@apple.com>
2939
2940         WebNavigationData does not distinguish between an empty title and a missing title
2941         https://bugs.webkit.org/show_bug.cgi?id=107917
2942
2943         Reviewed by Andy Estes.
2944
2945         * WebCoreSupport/WebFrameLoaderClient.mm:
2946         (nilOrNSString): Added this helper function.
2947         (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
2948         title, rather than the empty string, if the document does not have a title.
2949
2950 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
2951
2952         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
2953         https://bugs.webkit.org/show_bug.cgi?id=107327
2954
2955         Reviewed by Filip Pizlo.
2956
2957         We're renaming these two files, so we have to replace the names everywhere.
2958
2959         * DOM/WebDOMOperations.mm:
2960         * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
2961         * ForwardingHeaders/runtime/JSValue.h: Removed.
2962         * WebView/WebFrame.mm:
2963         * WebView/WebView.mm:
2964
2965 2013-01-22  Anders Carlsson  <andersca@apple.com>
2966
2967         Use a platforom strategy for local storage
2968         https://bugs.webkit.org/show_bug.cgi?id=107600
2969
2970         Reviewed by Andreas Kling.
2971
2972         Update for new storage strategy.
2973
2974         * WebCoreSupport/WebPlatformStrategies.h:
2975         (WebPlatformStrategies):
2976         * WebCoreSupport/WebPlatformStrategies.mm:
2977         (WebPlatformStrategies::createStorageStrategy):
2978
2979 2013-01-21  Kentaro Hara  <haraken@chromium.org>
2980
2981         Implement UIEvent constructor
2982         https://bugs.webkit.org/show_bug.cgi?id=107430
2983
2984         Reviewed by Adam Barth.
2985
2986         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
2987
2988         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
2989         which is enabled on Safari and Chromium for now.
2990
2991         * Configurations/FeatureDefines.xcconfig:
2992
2993 2013-01-22  Joseph Pecoraro  <pecoraro@apple.com>
2994
2995         [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
2996         https://bugs.webkit.org/show_bug.cgi?id=107230
2997
2998         Reviewed by David Kilzer.
2999
3000         * Configurations/FeatureDefines.xcconfig:
3001
3002 2013-01-22  Tim Horton  <timothy_horton@apple.com>
3003
3004         PDFPlugin: Build PDFPlugin everywhere, enable at runtime
3005         https://bugs.webkit.org/show_bug.cgi?id=107117
3006
3007         Reviewed by Alexey Proskuryakov.
3008
3009         Since PDFLayerController SPI is all forward-declared, the plugin should build
3010         on all Mac platforms, and can be enabled at runtime.
3011
3012         * Configurations/FeatureDefines.xcconfig:
3013
3014 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
3015
3016         Add build flag for Canvas's Path object (disabled by default)
3017         https://bugs.webkit.org/show_bug.cgi?id=107473
3018
3019         Reviewed by Dean Jackson.
3020
3021         * Configurations/FeatureDefines.xcconfig:
3022
3023 2013-01-17  Andy Estes  <aestes@apple.com>
3024
3025         Add a USE() macro for content filtering code
3026         https://bugs.webkit.org/show_bug.cgi?id=107098
3027
3028         Reviewed by Mark Rowe.
3029
3030         * WebCoreSupport/WebSystemInterface.mm:
3031         (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
3032
3033 2013-01-19  Philip Rogers  <pdr@google.com>
3034
3035         Merge SVGStylable into SVGStyledElement
3036         https://bugs.webkit.org/show_bug.cgi?id=106877
3037
3038         SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
3039         cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
3040
3041         Reviewed by Dirk Schulze.
3042
3043         * MigrateHeaders.make:
3044
3045 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
3046
3047         Add explicit keyword to constructors in platform-specific InspectorClient
3048         https://bugs.webkit.org/show_bug.cgi?id=107255
3049
3050         Reviewed by Kentaro Hara.
3051
3052         Add explicit keyword to constructors that take one argument
3053         in platform-specific implementation of InspectorClient.
3054
3055         * WebCoreSupport/WebInspectorClient.h:
3056         (WebInspectorClient):
3057
3058 2013-01-15  Jer Noble  <jer.noble@apple.com>
3059
3060         Add a Setting to disable QTKit media engine.
3061         https://bugs.webkit.org/show_bug.cgi?id=106972
3062
3063         Reviewed by Eric Carlson.
3064
3065         Add WebKit API to set QTKit enabled setting from user defaults.
3066
3067         * WebView/WebPreferenceKeysPrivate.h:
3068         * WebView/WebPreferences.mm:
3069         (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
3070         (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
3071         (-[WebPreferences isQTKitEnabled]): Ditto.
3072         * WebView/WebPreferencesPrivate.h:
3073         * WebView/WebView.mm:
3074         (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
3075
3076 2013-01-15  Enrica Casucci  <enrica@apple.com>
3077
3078         Add a new set of WebKit2 APIs for text search and
3079         search results management.
3080         https://bugs.webkit.org/show_bug.cgi?id=106834.
3081         <rdar://problem/12597159>
3082
3083         Reviewed by Simon Fraser.
3084         
3085         Adding new API to perform text search in WebKit2 without using
3086         the stock UI. The new interface provides all the information
3087         necessary to write a custom UI for search.
3088
3089         Added new TextWebKitAPI test.
3090
3091         * WebView/WebHTMLView.mm:
3092         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
3093         Modified to reflect the changes to Editor::countMatchesForText interface.
3094
3095 2013-01-10  Zan Dobersek  <zandobersek@gmail.com>
3096
3097         Remove the ENABLE_ANIMATION_API feature define occurences
3098         https://bugs.webkit.org/show_bug.cgi?id=106544
3099
3100         Reviewed by Simon Fraser.
3101
3102         The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
3103         feature define handling still lingers in various build systems and configurations
3104         but is of no use, so it should be removed.
3105
3106         * Configurations/FeatureDefines.xcconfig:
3107
3108 2013-01-08  Mark Lam  <mark.lam@apple.com>
3109
3110         Removed the need for the ProposedDatabase mechanism.
3111         https://bugs.webkit.org/show_bug.cgi?id=106292.
3112
3113         Reviewed by Sam Weinig.
3114
3115         * WebCoreSupport/WebChromeClient.h:
3116         * WebCoreSupport/WebChromeClient.mm:
3117         (WebChromeClient::exceededDatabaseQuota):
3118
3119 2013-01-07  Dan Bernstein  <mitz@apple.com>
3120
3121         [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
3122         https://bugs.webkit.org/show_bug.cgi?id=106261
3123
3124         Reviewed by Simon Fraser.
3125
3126         Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
3127
3128         Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
3129
3130         * WebCoreSupport/WebFrameLoaderClient.mm:
3131         (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
3132         method.
3133         * WebView/WebDelegateImplementationCaching.h:
3134         (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
3135         * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
3136         * WebView/WebView.mm:
3137         (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
3138
3139 2013-01-07  Mike West  <mkwst@chromium.org>
3140
3141         Make the IFRAME_SEAMLESS flag runtime-enabled.
3142         https://bugs.webkit.org/show_bug.cgi?id=106213
3143
3144         Reviewed by Ojan Vafai.
3145
3146         * WebView/WebPreferenceKeysPrivate.h:
3147         * WebView/WebPreferences.mm:
3148         (-[WebPreferences seamlessIFramesEnabled]):
3149         (-[WebPreferences setSeamlessIFramesEnabled:]):
3150         * WebView/WebPreferencesPrivate.h:
3151         * WebView/WebView.mm:
3152         (-[WebView _preferencesChanged:]):
3153             Add a seamless IFrame preference to WebPreferences, and use it to
3154             toggle the runtime state of the feature as appropriate.
3155
3156 2013-01-04  Adam Klein  <adamk@chromium.org>
3157
3158         Remove ENABLE_MUTATION_OBSERVERS #define
3159         https://bugs.webkit.org/show_bug.cgi?id=105459
3160
3161         Reviewed by Ryosuke Niwa.
3162
3163         * Configurations/FeatureDefines.xcconfig:
3164
3165 2013-01-01  Dan Bernstein  <mitz@apple.com>
3166
3167         <rdar://problem/12942239> Update copyright strings
3168
3169         Reviewed by Sam Weinig.
3170
3171         * Info.plist:
3172
3173 2012-12-29  Adam Roben  <aroben@webkit.org>
3174
3175         Web Inspector: Mac WK1 Inspector can't save/load timeline data
3176         https://bugs.webkit.org/show_bug.cgi?id=105547
3177
3178         Reviewed by Pavel Feldman.
3179
3180         * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
3181         member variables necessary for save support.
3182
3183         * WebCoreSupport/WebInspectorClient.mm:
3184         (WebInspectorFrontendClient::save):
3185         (WebInspectorFrontendClient::append):
3186         Implemented these to make saving timeline data work. (It seems to me
3187         the InspectorFrontendClient API could be cleaned up a bit. I had to
3188         look at Chromium source code to determine that I needed to call back
3189         into the InspectorFrontendAPI JS object after saving/appending, and
3190         that I needed to keep a map of passed URLs -> chosen URLs.)
3191
3192         (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
3193         Tweaked the position of the sheet so that open/save sheets look a
3194         little bette.r
3195
3196         (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
3197         Implemented to make loading timeline data work.
3198
3199 2012-12-28  Mark Rowe  <mrowe@apple.com>
3200
3201         Move logic for extracting the OS X marketing version in to WebCore
3202         <http://webkit.org/b/105841> / <rdar://problem/10736041>
3203
3204         Reviewed by Dan Bernstein.
3205
3206         * WebCoreSupport/WebSystemInterface.mm:
3207         (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
3208         * WebView/WebView.mm:
3209         (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
3210         (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
3211         do that for us.
3212
3213 2012-12-27  Sam Weinig  <sam@webkit.org>
3214
3215         Attempt to fix the tests.
3216
3217         * WebView/WebPreferences.mm:
3218         (+[WebPreferences initialize]):
3219
3220 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
3221
3222         <rdar://problem/12808377> Network process should respect cookie accept policy
3223         https://bugs.webkit.org/show_bug.cgi?id=105684
3224
3225         Reviewed by Sam Weinig.
3226
3227         * WebCoreSupport/WebPlatformStrategies.h:
3228         * WebCoreSupport/WebPlatformStrategies.mm:
3229         CookiesStrategy no longer has notifyCookiesChanged().
3230
3231 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
3232
3233         Add a separate class for networking related storage
3234         https://bugs.webkit.org/show_bug.cgi?id=105676
3235
3236         Reviewed by Sam Weinig.
3237
3238         * WebCoreSupport/WebFrameLoaderClient.mm:
3239         Updated for ResourceHandle include changes.
3240
3241         * WebCoreSupport/WebFrameNetworkingContext.h:
3242         * WebCoreSupport/WebFrameNetworkingContext.mm:
3243         This class is now simpler, with more session tracking being in WebCore now.
3244
3245         * WebCoreSupport/WebPlatformStrategies.h:
3246         * WebCoreSupport/WebPlatformStrategies.mm:
3247         (WebPlatformStrategies::cookiesForDOM):
3248         (WebPlatformStrategies::setCookiesFromDOM):
3249         (WebPlatformStrategies::cookiesEnabled):
3250         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
3251         (WebPlatformStrategies::getRawCookies):
3252         (WebPlatformStrategies::deleteCookie):
3253         We no longer need a function for default cookie storage! Other cookie functions
3254         now take a session.
3255
3256         * WebView/WebPreferences.mm:
3257         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
3258         calling a WebCore that uses it.
3259         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
3260         NetworkStorageSession for session tracking.
3261
3262         * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
3263         context now returning a class for session.
3264
3265 2012-12-20  Ilya Tikhonovsky  <loislo@chromium.org>
3266
3267         Unreviewed build fix for chromium mac after r138206.
3268
3269         * WebCoreSupport/WebSystemInterface.mm:
3270         (InitWebCoreSystemInterface):
3271
3272 2012-12-19  Alexey Proskuryakov  <ap@apple.com>
3273
3274         <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
3275         https://bugs.webkit.org/show_bug.cgi?id=105467
3276
3277         Reviewed by Brady Eidson.
3278
3279         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
3280         a WKSI function we've been missing.
3281
3282 2012-12-19  Alexis Menard  <alexis@webkit.org>
3283
3284         Implement CSS parsing for CSS transitions unprefixed.
3285         https://bugs.webkit.org/show_bug.cgi?id=104804
3286
3287         Reviewed by Dean Jackson.
3288
3289         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
3290         to cover the work of unprefixing Transforms, Animations and 
3291         Transitions. It will let the possibility of each ports to turn it off 
3292         in their release branches until we're confident that these CSS 
3293         properties are ready to be unprefixed.
3294
3295         * Configurations/FeatureDefines.xcconfig:
3296
3297 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
3298
3299         Remove unnecessary functions from CookiesStrategy
3300         https://bugs.webkit.org/show_bug.cgi?id=105369
3301
3302         Reviewed by Brady Eidson.
3303
3304         * WebCoreSupport/WebPlatformStrategies.h:
3305         * WebCoreSupport/WebPlatformStrategies.mm:
3306
3307 2012-12-18  Alice Liu  <alice.liu@apple.com>
3308
3309         Add SPI to WebKit1 WebFrame for hit testing
3310         https://bugs.webkit.org/show_bug.cgi?id=105106
3311
3312         Reviewed by Dan Bernstein.
3313
3314         * WebView/WebFrame.mm:
3315         (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
3316         Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary. 
3317         * WebView/WebFramePrivate.h:
3318
3319 2012-12-18  Alice Liu  <alice.liu@apple.com>
3320
3321         Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
3322         https://bugs.webkit.org/show_bug.cgi?id=105262
3323
3324         Reviewed by Anders Carlsson.
3325
3326         * WebView/WebFrame.mm:
3327         (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
3328         for the WebCore::Node in that particular WebScriptWorld.
3329         * WebView/WebFramePrivate.h:
3330
3331 2012-12-18  Beth Dakin  <bdakin@apple.com>
3332
3333         https://bugs.webkit.org/show_bug.cgi?id=102579
3334         [mac] Enable scaled cursors
3335
3336         Reviewed by Dean Jackson.
3337
3338         * Configurations/FeatureDefines.xcconfig:
3339
3340 2012-12-16  Levi Weintraub  <leviw@chromium.org>
3341
3342         Push pixel snapping logic into TransformState
3343         https://bugs.webkit.org/show_bug.cgi?id=101779
3344
3345         Reviewed by Simon Fraser.
3346
3347         * WebView/WebFullScreenController.mm:
3348         (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
3349
3350 2012-12-15  Anders Carlsson  <andersca@apple.com>
3351
3352         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
3353         https://bugs.webkit.org/show_bug.cgi?id=105122
3354
3355         Reviewed by Andreas Kling.
3356
3357         Update for WebCore changes.
3358
3359         * WebCoreSupport/WebFrameLoaderClient.h:
3360         (WebFrameLoaderClient):
3361         * WebCoreSupport/WebFrameLoaderClient.mm:
3362         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
3363
3364 2012-12-15  Mark Lam  <mark.lam@apple.com>
3365
3366         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
3367         https://bugs.webkit.org/show_bug.cgi?id=104934.
3368
3369         Not reviewed.
3370
3371         Merged from r137767. Previously reviewed by Sam Weinig.
3372
3373         * WebCoreSupport/WebPlatformStrategies.h:
3374         (WebPlatformStrategies):
3375         * WebCoreSupport/WebPlatformStrategies.mm:
3376         (WebPlatformStrategies::createDatabaseStrategy):
3377
3378 2012-12-14  Mark Lam  <mark.lam@apple.com>
3379
3380         The WebView should initialize the platform strategies before initializing other sub-systems.
3381         https://bugs.webkit.org/show_bug.cgi?id=105083.
3382
3383         Reviewed by Alexey Proskuryakov.
3384
3385         * WebView/WebView.mm:
3386         (-[WebView _commonInitializationWithFrameName:groupName:]):
3387
3388 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
3389
3390         Unreviewed, rolling out r137767.
3391         http://trac.webkit.org/changeset/137767
3392         https://bugs.webkit.org/show_bug.cgi?id=105062
3393
3394         Broke Mac builds. (Requested by mlam on #webkit).
3395
3396         * WebCoreSupport/WebPlatformStrategies.h:
3397         (WebPlatformStrategies):
3398         * WebCoreSupport/WebPlatformStrategies.mm:
3399
3400 2012-12-14  Mark Lam  <mark.lam@apple.com>
3401
3402         Introducing the DatabaseStrategy and database servers.
3403         https://bugs.webkit.org/show_bug.cgi?id=104934.
3404
3405         Reviewed by Sam Weinig.
3406
3407         The database server is currently a placeholder that does nothing.
3408
3409         * WebCoreSupport/WebPlatformStrategies.h:
3410         (WebPlatformStrategies):
3411         * WebCoreSupport/WebPlatformStrategies.mm:
3412         (WebPlatformStrategies::createDatabaseStrategy):
3413
3414 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
3415
3416         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
3417         https://bugs.webkit.org/show_bug.cgi?id=104691
3418
3419         Reviewed by Sam Weinig.
3420
3421         * WebCoreSupport/WebFrameNetworkingContext.h:
3422         * WebCoreSupport/WebFrameNetworkingContext.mm:
3423         (WebFrameNetworkingContext::inPrivateBrowsingMode):
3424         (WebFrameNetworkingContext::storageSession):
3425         Implemented inPrivateBrowsingMode().
3426
3427 2012-12-12  Mark Lam  <mark.lam@apple.com>
3428
3429         Encapsulate externally used webdatabase APIs in DatabaseManager.
3430         https://bugs.webkit.org/show_bug.cgi?id=104741.
3431
3432         Reviewed by Sam Weinig.
3433
3434         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
3435         and DatabaseContext directly. This is to prepare for upcoming webkit2
3436         refactoring.
3437
3438         * Storage/WebDatabaseManager.mm:
3439         (-[WebDatabaseManager origins]):
3440         (-[WebDatabaseManager databasesWithOrigin:]):
3441         (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
3442         (-[WebDatabaseManager deleteAllDatabases]):
3443         (-[WebDatabaseManager deleteOrigin:]):
3444         (-[WebDatabaseManager deleteDatabase:withOrigin:]):
3445         (WebKitInitializeDatabasesIfNecessary):
3446         * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
3447         (WebDatabaseManagerClient):
3448         * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
3449         (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
3450         (WebDatabaseManagerClient::WebDatabaseManagerClient):
3451         (WebDatabaseManagerClient::~WebDatabaseManagerClient):
3452         (DidModifyOriginData::dispatchToMainThread):
3453         (DidModifyOriginData::DidModifyOriginData):
3454         (DidModifyOriginData):
3455         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
3456         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
3457         * Storage/WebDatabaseQuotaManager.mm:
3458         (-[WebDatabaseQuotaManager usage]):
3459         (-[WebDatabaseQuotaManager quota]):
3460         (-[WebDatabaseQuotaManager setQuota:]):
3461         * Storage/WebDatabaseTrackerClient.h: Removed.
3462         * Storage/WebDatabaseTrackerClient.mm: Removed.
3463         * WebCoreSupport/WebSecurityOrigin.mm:
3464         (-[WebSecurityOrigin usage]):
3465         (-[WebSecurityOrigin quota]):
3466         (-[WebSecurityOrigin setQuota:]):
3467         * WebKit.order:
3468         * WebView/WebFrame.mm:
3469         (-[WebFrame _cacheabilityDictionary]):
3470         * WebView/WebView.mm:
3471         (-[WebView _preferencesChanged:]):
3472
3473 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
3474
3475         Make LOG() work in WebProcess and NetworkProcess
3476         https://bugs.webkit.org/show_bug.cgi?id=104718
3477
3478         Reviewed by Tim Horton.
3479
3480         * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
3481         WebCore and WebKit versions of this file.
3482
3483 2012-12-11  Mike West  <mkwst@chromium.org>
3484
3485         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
3486         https://bugs.webkit.org/show_bug.cgi?id=66371
3487
3488         Reviewed by Pavel Feldman.
3489
3490         Drops WebCore::MessageType from the addMessageToConsole method.
3491
3492         * WebCoreSupport/WebChromeClient.h:
3493         (WebChromeClient):
3494         * WebCoreSupport/WebChromeClient.mm:
3495         (WebChromeClient::addMessageToConsole):
3496
3497 2012-12-09  Antti Koivisto  <antti@apple.com>
3498
3499         Factor node traversal into standalone functions
3500         https://bugs.webkit.org/show_bug.cgi?id=104507
3501
3502         Reviewed by Eric Seidel.
3503     
3504         * WebView/WebHTMLRepresentation.mm:
3505         (searchForLabelsBeforeElement):
3506
3507 2012-12-10  Alexis Menard  <alexis@webkit.org>
3508
3509         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
3510         https://bugs.webkit.org/show_bug.cgi?id=104539
3511
3512         Reviewed by Antonio Gomes.
3513
3514         As discussed on webkit-dev it is not needed to keep this feature flag 
3515         as support for <position> type is a small feature that is already 
3516         implemented by three other UAs. It was useful while landing this 
3517         feature as partial bits were landed one after one.
3518
3519         * Configurations/FeatureDefines.xcconfig:
3520
3521 2012-12-06  Rick Byers  <rbyers@chromium.org>
3522
3523         CSS cursor property should support webkit-image-set
3524         https://bugs.webkit.org/show_bug.cgi?id=99493
3525
3526         Reviewed by Beth Dakin.
3527
3528         Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
3529
3530         * Configurations/FeatureDefines.xcconfig:
3531
3532 2012-12-03  Yury Semikhatsky  <yurys@chromium.org>
3533
3534         Unreviewed. Fix Mac compilation after r136448.
3535
3536         * WebCoreSupport/WebChromeClient.mm:
3537         (stringForMessageType):
3538
3539 2012-12-03  Alexis Menard  <alexis@webkit.org>
3540
3541         [Mac] Enable CSS3 background-position offset by default.
3542         https://bugs.webkit.org/show_bug.cgi?id=103905
3543
3544         Reviewed by Simon Fraser.
3545
3546         Turn the flag on by default.
3547
3548         * Configurations/FeatureDefines.xcconfig:
3549
3550 2012-12-02  Yongjun Zhang  <yongjun_zhang@apple.com>
3551
3552         Need a method to close all idle localstorage databases immediately.
3553         https://bugs.webkit.org/show_bug.cgi?id=103469
3554
3555         Reviewed by David Kilzer.
3556
3557         Add a new method to WebStorageManager that we can call to close all
3558         idle local storage databases.
3559
3560         * Storage/WebStorageManager.mm:
3561         (+[WebStorageManager closeIdleLocalStorageDatabases]):
3562         * Storage/WebStorageManagerPrivate.h:
3563
3564 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
3565
3566         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
3567         https://bugs.webkit.org/show_bug.cgi?id=101192
3568
3569         Reviewed by Hajime Morita.
3570
3571         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
3572
3573         Tests: No new tests because there is no functional change.
3574
3575         * WebView/WebView.mm:
3576         (-[WebView _preferencesChanged:]):
3577
3578 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
3579
3580         [HTMLTemplateElement] Add feature flag
3581         https://bugs.webkit.org/show_bug.cgi?id=103694
3582
3583         Reviewed by Adam Barth.
3584