Reduce include graph of JSDOMBinding.h
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2013-02-24  Andreas Kling  <akling@apple.com>
2
3         Reduce include graph of JSDOMBinding.h
4         <http://webkit.org/b/110709>
5
6         Reviewed by Antti Koivisto.
7
8         * WebView/WebHTMLView.mm:
9
10 2013-02-21  Grzegorz Czajkowski  <g.czajkowski@samsung.com>
11
12         Allow to retrieve the request data from abstract TextCheckingRequest to be accessible for WK2
13         https://bugs.webkit.org/show_bug.cgi?id=110208
14
15         Reviewed by Hajime Morrita.
16
17         * WebCoreSupport/WebEditorClient.mm:
18         (WebEditorClient::didCheckSucceed):
19         (WebEditorClient::requestCheckingOfString):
20         Extract the request data as it is the member of 'TextCheckingRequest'.
21
22 2013-02-19  Mark Hahnenberg  <mhahnenberg@apple.com>
23
24         Objective-C API: Need a way to use the Objective-C JavaScript API with WebKit
25         https://bugs.webkit.org/show_bug.cgi?id=106059
26
27         Reviewed by Geoffrey Garen.
28
29         Addition of appropriate delegate callbacks and support to the WebKit API.
30
31         * WebCoreSupport/WebFrameLoaderClient.mm:
32         * WebView/WebDelegateImplementationCaching.h:
33         (WebFrameLoadDelegateImplementationCache):
34         * WebView/WebFrame.h:
35         * WebView/WebFrame.mm:
36         (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]):
37         (-[WebFrame _stringByEvaluatingJavaScriptFromString:withGlobalObject:inScriptWorld:]):
38         (-[WebFrame _javaScriptContextForScriptWorld:]):
39         (-[WebFrame javaScriptContext]):
40         * WebView/WebFrameLoadDelegate.h:
41         * WebView/WebFramePrivate.h:
42         * WebView/WebScriptDebugDelegate.mm:
43         (-[WebScriptCallFrame _convertValueToObjcValue:JSC::]):
44         (-[WebScriptCallFrame exception]):
45         (-[WebScriptCallFrame evaluateWebScript:]):
46         * WebView/WebScriptWorld.h:
47         * WebView/WebScriptWorld.mm:
48         (+[WebScriptWorld scriptWorldForJavaScriptContext:]):
49         * WebView/WebView.mm:
50         (-[WebView _cacheFrameLoadDelegateImplementations]):
51         (aeDescFromJSValue):
52         (-[WebView aeDescByEvaluatingJavaScriptFromString:]):
53         (-[WebView _computedStyleIncludingVisitedInfo:forElement:]):
54
55 2013-02-20  Dirk Schulze  <krit@webkit.org>
56
57         Enable CANVAS_PATH flag
58         https://bugs.webkit.org/show_bug.cgi?id=108508
59
60         Reviewed by Simon Fraser.
61
62         Enable CANVAS_PATH flag on trunk.
63
64         * Configurations/FeatureDefines.xcconfig:
65
66 2013-02-19  Tim Horton  <timothy_horton@apple.com>
67
68         Clarify isInWindow vs. isVisible path through to RenderLayerCompositor
69         https://bugs.webkit.org/show_bug.cgi?id=110261
70         <rdar://problem/13196122>
71
72         Reviewed by Simon Fraser.
73
74         * WebView/WebView.mm:
75         (-[WebView viewWillMoveToWindow:]):
76         (-[WebView viewDidMoveToWindow]):
77         Use Page::setIsInWindow in addition to willMoveOffscreen/didMoveOnscreen.
78
79 2013-02-18  Anders Carlsson  <andersca@apple.com>
80
81         Add a DefaultHash for RefPtr<SecurityOrigin>
82         https://bugs.webkit.org/show_bug.cgi?id=110170
83
84         Reviewed by Andreas Kling.
85
86         Remove all explicit uses of SecurityOriginHash.
87
88         * WebCoreSupport/WebApplicationCache.mm:
89         (+[WebApplicationCache originsWithCache]):
90
91 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
92
93         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
94         https://bugs.webkit.org/show_bug.cgi?id=109996
95
96         Reviewed by Simon Fraser.
97
98         * WebCoreSupport/WebSystemInterface.mm:
99         (InitWebCoreSystemInterface):
100
101 2013-02-15  Sheriff Bot  <webkit.review.bot@gmail.com>
102
103         Unreviewed, rolling out r143088.
104         http://trac.webkit.org/changeset/143088
105         https://bugs.webkit.org/show_bug.cgi?id=110000
106
107         Breaks the build (Requested by dgorbik on #webkit).
108
109         * WebCoreSupport/WebSystemInterface.mm:
110         (InitWebCoreSystemInterface):
111
112 2013-02-15  Eric Carlson  <eric.carlson@apple.com>
113
114         [Mac] remove wkCaptionAppearance from WebKitSystemInterface
115         https://bugs.webkit.org/show_bug.cgi?id=109996
116
117         Reviewed by Simon Fraser.
118
119         * WebCoreSupport/WebSystemInterface.mm:
120         (InitWebCoreSystemInterface):
121
122 2013-02-15  Allan Sandfeld Jensen  <allan.jensen@digia.com>
123
124         Simplify hitTestResultAtPoint and nodesFromRect APIs
125         https://bugs.webkit.org/show_bug.cgi?id=95720
126
127         Reviewed by Julien Chaffraix.
128
129         Update calls to new API.
130
131         * WebCoreSupport/WebFrameLoaderClient.mm:
132         (WebFrameLoaderClient::actionDictionary):
133         * WebView/WebFrame.mm:
134         (-[WebFrame elementAtPoint:]):
135         * WebView/WebHTMLView.mm:
136         (-[WebHTMLView elementAtPoint:allowShadowContent:]):
137
138 2013-02-14  David Kilzer  <ddkilzer@apple.com>
139
140         [Mac] Clean up WARNING_CFLAGS
141         <http://webkit.org/b/109747>
142         <rdar://problem/13208373>
143
144         Reviewed by Mark Rowe.
145
146         * Configurations/Base.xcconfig: Use
147         GCC_WARN_64_TO_32_BIT_CONVERSION to enable and disable
148         -Wshorten-64-to-32 rather than WARNING_CFLAGS.
149
150 2013-02-13  Zan Dobersek  <zdobersek@igalia.com>
151
152         The 'global isinf/isnan' compiler quirk required when using clang with libstdc++
153         https://bugs.webkit.org/show_bug.cgi?id=109325
154
155         Reviewed by Anders Carlsson.
156
157         Prefix calls to the isinf and isnan methods with std::, declaring we want to use the
158         two methods as they're provided by the C++ standard library being used.
159
160         * tests/DecimalTest.cpp:
161         (TEST_F):
162
163 2013-02-12  Joseph Pecoraro  <pecoraro@apple.com>
164
165         [iOS] Enable PAGE_VISIBILITY_API
166         https://bugs.webkit.org/show_bug.cgi?id=109399
167
168         Reviewed by David Kilzer.
169
170         * Configurations/FeatureDefines.xcconfig:
171
172 2013-02-12  David Kilzer  <ddkilzer@apple.com>
173
174         BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
175         <https://bugs.webkit.org/show_bug.cgi?id=109534>
176
177         Fixes the following build failure:
178
179             WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
180             bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
181                                   ^~~~~~~~~~~~~~~~~~~~~~~~~
182
183         * WebCoreSupport/WebEditorClient.mm:
184         (WebEditorClient::shouldShowDeleteInterface): Protect with
185         ENABLE(DELETION_UI) macro.
186
187 2013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
188
189         Disable delete button controller on non-Mac ports and delete EditorClient::shouldShowDeleteInterface
190         https://bugs.webkit.org/show_bug.cgi?id=109534
191
192         Reviewed by Anders Carlsson.
193
194         * WebCoreSupport/WebEditorClient.h:
195
196 2013-02-11  Benjamin Poulain  <benjamin@webkit.org>
197
198         Kill TestRunner::setMinimumTimerInterval; implement the feature with InternalSettings
199         https://bugs.webkit.org/show_bug.cgi?id=109349
200
201         Reviewed by Sam Weinig.
202
203         * WebView/WebView.mm:
204         * WebView/WebViewPrivate.h:
205
206 2013-02-10  Dan Bernstein  <mitz@apple.com>
207
208         Added *.pdf to EXCLUDED_SOURCE_FILE_NAMES_iphoneos.
209
210         Rubber-stamped by Anders Carlsson.
211
212         * Configurations/WebKit.xcconfig:
213
214 2013-02-10  Jae Hyun Park  <jae.park08@gmail.com>
215
216         Rename ENABLE(GLIB_SUPPORT) to USE(GLIB)
217         https://bugs.webkit.org/show_bug.cgi?id=104266
218
219         Reviewed by Philippe Normand.
220
221         Using USE(GLIB) instead of ENABLE(GLIB_SUPPORT) is more consistent with
222         the existing macro naming conventions.
223
224         From Platform.h
225         USE() - use a particular third-party library or optional OS service
226         ENABLE() - turn on a specific feature of WebKit
227
228         * WebView/WebView.mm:
229         (-[WebView _commonInitializationWithFrameName:groupName:]):
230         (-[WebView _close]):
231         * WebView/WebViewData.h:
232         * WebView/WebViewInternal.h:
233
234 2013-02-08  Benjamin Poulain  <bpoulain@apple.com>
235
236         Move workerThreadCount from TestRunner to WebCore Internals
237         https://bugs.webkit.org/show_bug.cgi?id=109239
238
239         Reviewed by Darin Adler.
240
241         Get rid of WebWorkersPrivate, which was only needed for DRT.
242
243         * WebKit.exp:
244         * Workers/WebWorkersPrivate.h: Removed.
245         * Workers/WebWorkersPrivate.mm: Removed.
246
247 2013-02-07  Sheriff Bot  <webkit.review.bot@gmail.com>
248
249         Unreviewed, rolling out r142212.
250         http://trac.webkit.org/changeset/142212
251         https://bugs.webkit.org/show_bug.cgi?id=109255
252
253         Causes ASSERT(!m_installed) on launch (Requested by smfr on
254         #webkit).
255
256         * WebView/WebView.mm:
257         (-[WebView _commonInitializationWithFrameName:groupName:]):
258         (WebInstallMemoryPressureHandler):
259
260 2013-02-06  Gavin Barraclough  <barraclough@apple.com>
261
262         PluginProcess should quit immediately if idle in response to low-memory notifications
263         https://bugs.webkit.org/show_bug.cgi?id=109103
264         <rdar://problem/12679827>
265
266         Reviewed by Darin Adler.
267
268         * WebView/WebView.mm:
269         (-[WebView _commonInitializationWithFrameName:groupName:]):
270             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
271         (WebInstallMemoryPressureHandler):
272             - MemoryPressureHandler::install is now called via MemoryPressureHandler::initialize.
273
274 2013-02-07  Benjamin Poulain  <bpoulain@apple.com>
275
276         Move pauseAnimation/pauseTransition from TestRunner to Internals
277         https://bugs.webkit.org/show_bug.cgi?id=109107
278
279         Reviewed by Anders Carlsson.
280
281         * WebView/WebFrame.mm:
282         * WebView/WebFramePrivate.h:
283
284 2013-02-06  Mike West  <mkwst@chromium.org>
285
286         Add an ENABLE_NOSNIFF feature flag.
287         https://bugs.webkit.org/show_bug.cgi?id=109029
288
289         Reviewed by Jochen Eisinger.
290
291         This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
292         when processing script and other resource types.
293
294         * Configurations/FeatureDefines.xcconfig:
295
296 2013-02-04  Benjamin Poulain  <bpoulain@apple.com>
297
298         Kill suspendAnimation(), resumeAnimation() and numberOfActiveAnimations() from DRT/WTR; use Internals
299         https://bugs.webkit.org/show_bug.cgi?id=108741
300
301         Reviewed by Tony Chang.
302
303         * WebView/WebFrame.mm:
304         * WebView/WebFramePrivate.h:
305
306 2013-02-04  Enrica Casucci  <enrica@apple.com>
307
308         Add specific EditActions for Bold and Italic commands.
309         https://bugs.webkit.org/show_bug.cgi?id=108842.
310         <rdar://problem/13098252>
311
312         Reviewed by Ryosuke Niwa.
313
314         * WebCoreSupport/WebEditorClient.mm:
315         (undoNameForEditAction):
316
317 2013-02-03  David Kilzer  <ddkilzer@apple.com>
318
319         Upstream ENABLE_PDFKIT_PLUGIN settting
320         <http://webkit.org/b/108792>
321
322         Reviewed by Tim Horton.
323
324         * Configurations/FeatureDefines.xcconfig: Disable PDFKIT_PLUGIN
325         on iOS since PDFKit is a Mac-only framework.
326
327 2013-02-02  David Kilzer  <ddkilzer@apple.com>
328
329         Upstream iOS FeatureDefines
330         <http://webkit.org/b/108753>
331
332         Reviewed by Anders Carlsson.
333
334         * Configurations/FeatureDefines.xcconfig:
335         - ENABLE_DEVICE_ORIENTATION: Add iOS configurations.
336         - ENABLE_PLUGIN_PROXY_FOR_VIDEO: Ditto.
337         - FEATURE_DEFINES: Add ENABLE_PLUGIN_PROXY_FOR_VIDEO.  Add
338           PLATFORM_NAME variant to reduce future merge conflicts. 
339
340 2013-02-01  Alexis Menard  <alexis@webkit.org>
341
342         Enable unprefixed CSS transitions by default.
343         https://bugs.webkit.org/show_bug.cgi?id=108216
344
345         Reviewed by Dean Jackson.
346
347         Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
348         to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to 
349         guard the unprefixing work for CSS Transforms and animations.
350
351         * Configurations/FeatureDefines.xcconfig:
352
353 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
354
355         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
356         https://bugs.webkit.org/show_bug.cgi?id=107737
357
358         Reviewed by Ryosuke Niwa.
359
360         * WebView/WebHTMLView.mm:
361         (-[WebHTMLView _updateSelectionForInputManager]):
362
363 2013-01-31  Sheriff Bot  <webkit.review.bot@gmail.com>
364
365         Unreviewed, rolling out r141479.
366         http://trac.webkit.org/changeset/141479
367         https://bugs.webkit.org/show_bug.cgi?id=108564
368
369         breaks chromium test (Requested by morrita on #webkit).
370
371         * WebView/WebHTMLView.mm:
372         (-[WebHTMLView _updateSelectionForInputManager]):
373
374 2013-01-31  Enrica Casucci  <enrica@apple.com>
375
376         Mac: Editor::baseWritingDirectionForSelectionStart should return WritingDirection instead of NSWritingDirection.
377         https://bugs.webkit.org/show_bug.cgi?id=108519.
378
379         Reviewed by Sam Weinig.
380
381         There is no need to use AppKit types here.
382         baseWritingDirectionForSelectionStart now returns WritingDirection and
383         WebHTMLView toggleWritingDirection has been modified accordingly.
384
385         * WebView/WebHTMLView.mm:
386         (-[WebHTMLView toggleBaseWritingDirection:]):
387
388 2013-01-31  Aurimas Liutikas  <aurimas@chromium.org>
389
390         Editor::m_compositionNode not updated on HTMLInputElement::setValue()
391         https://bugs.webkit.org/show_bug.cgi?id=107737
392
393         Reviewed by Ryosuke Niwa.
394
395         * WebView/WebHTMLView.mm:
396         (-[WebHTMLView _updateSelectionForInputManager]):
397
398 2013-01-31  Joseph Pecoraro  <pecoraro@apple.com>
399
400         Disable ENABLE_FULLSCREEN_API on iOS
401         https://bugs.webkit.org/show_bug.cgi?id=108250
402
403         Reviewed by Benjamin Poulain.
404
405         * Configurations/FeatureDefines.xcconfig:
406
407 2013-01-31  Enrica Casucci  <enrica@apple.com>
408
409         WebKit2: provide new bundle APIs to allow bundle clients to be notified of pasteboard access.
410         https://bugs.webkit.org/show_bug.cgi?id=108396.
411         <rdar://problem/12920461>
412
413         Reviewed by Alexey Proskuryakov.
414
415         Adds stub implementation for WebKit of the new EditorClient methods.
416
417         * WebCoreSupport/WebEditorClient.h:
418         * WebCoreSupport/WebEditorClient.mm:
419         (WebEditorClient::willWriteSelectionToPasteboard):
420         (WebEditorClient::getClientPasteboardDataForRange):
421
422 2013-01-31  Brady Eidson  <beidson@apple.com>
423
424         Lack of a log level string should not obliterate compiled in logging channel state.
425         https://bugs.webkit.org/show_bug.cgi?id=108502
426
427         Reviewed by Alexey Proskuryakov and Sam Weinig.
428
429         * Misc/WebKitLogging.m: If there's no log level string, leave the channel state alone.
430
431 2013-01-29  Sheriff Bot  <webkit.review.bot@gmail.com>
432
433         Unreviewed, rolling out r140983.
434         http://trac.webkit.org/changeset/140983
435         https://bugs.webkit.org/show_bug.cgi?id=108277
436
437         Unfortunately, this API has one last client (Requested by
438         abarth on #webkit).
439
440         * Configurations/FeatureDefines.xcconfig:
441
442 2012-11-28  Jer Noble  <jer.noble@apple.com>
443
444         Allow clients to ask for the WebView/WKView placeholder view when in full screen mode.
445         https://bugs.webkit.org/show_bug.cgi?id=103558
446         <rdar://problem/12763112>
447
448         Reviewed by Benjamin Poulain.
449
450         Clients may want to behave differently when their WebView/WKView has been swapped out by a placeholder
451         view when in full screen mode.  Add a simple accessor for the existing placeholder view to
452         WebFullScreenController and WebView.
453
454         * WebView/WebFullScreenController.h:
455         * WebView/WebFullScreenController.mm:
456         (-[WebFullScreenController webViewPlaceholder]): Added simple accessor.
457         * WebView/WebView.mm:
458         (-[WebView fullScreenPlaceholderView]): Added simple accessor.
459
460 2013-01-28  Pratik Solanki  <psolanki@apple.com>
461
462         PLATFORM(IOS) should come before __MAC_OS_X_VERSION_MIN_REQUIRED
463         https://bugs.webkit.org/show_bug.cgi?id=108101
464
465         Reviewed by Benjamin Poulain.
466
467         Since iOS does not define __MAC_OS_X_VERSION_MIN_REQUIRED, any usage of
468         __MAC_OS_X_VERSION_MIN_REQUIRED should be after a PLATFORM(IOS) check.
469
470         * WebCoreSupport/WebSystemInterface.mm:
471         (InitWebCoreSystemInterface):
472
473 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
474
475         [Mac] Update PageVisibilityState when WebView is hidden / visible
476         https://bugs.webkit.org/show_bug.cgi?id=107509
477
478         Reviewed by Sam Weinig.
479
480         * WebView/WebView.mm:
481         * WebView/WebViewPrivate.h:
482         (-[WebView _commonInitializationWithFrameName:groupName:]):
483         Set the initial visibility of the page.
484
485         (-[WebView addWindowObserversForWindow:]):
486         (-[WebView removeWindowObservers]):
487         (-[WebView _isViewVisible]):
488         (-[WebView _updateVisibilityState]):
489         (-[WebView viewDidMoveToWindow]):
490         (-[WebView _windowVisibilityChanged:]):
491         Update visibility state in the same ways WK2 does. This involves
492         listening for some new NSWindow delegates.
493
494 2013-01-28  Joseph Pecoraro  <pecoraro@apple.com>
495
496         Improve PageVisibility API with enums
497         https://bugs.webkit.org/show_bug.cgi?id=107364
498
499         Reviewed by Sam Weinig.
500
501         * WebView/WebView.mm:
502         * WebView/WebViewPrivate.h:
503         (core):
504         (-[WebView _setVisibilityState:isInitialState:]):
505         Switch the private API form int to a WebPageVisibilityState enum.
506
507 2013-01-28  Adam Barth  <abarth@webkit.org>
508
509         Remove webkitNotifications.createHTMLNotification
510         https://bugs.webkit.org/show_bug.cgi?id=107598
511
512         Reviewed by Benjamin Poulain.
513
514         * Configurations/FeatureDefines.xcconfig:
515
516 2013-01-25  Andy Estes  <aestes@apple.com>
517
518         Wrap content filtering code in an object
519         https://bugs.webkit.org/show_bug.cgi?id=107914
520
521         Reviewed by Alexey Proskuryakov.
522
523         * WebCoreSupport/WebSystemInterface.mm:
524         (InitWebCoreSystemInterface): Updated to reflect changes in WKSI.
525
526 2013-01-24  Dan Bernstein  <mitz@apple.com>
527
528         WebNavigationData does not distinguish between an empty title and a missing title
529         https://bugs.webkit.org/show_bug.cgi?id=107917
530
531         Reviewed by Andy Estes.
532
533         * WebCoreSupport/WebFrameLoaderClient.mm:
534         (nilOrNSString): Added this helper function.
535         (WebFrameLoaderClient::updateGlobalHistory): Initialize the WebNavigationData with a nil
536         title, rather than the empty string, if the document does not have a title.
537
538 2013-01-24  Mark Hahnenberg  <mhahnenberg@apple.com>
539
540         Objective-C API: Rename JSValue.h/APIJSValue.h to JSCJSValue.h/JSValue.h
541         https://bugs.webkit.org/show_bug.cgi?id=107327
542
543         Reviewed by Filip Pizlo.
544
545         We're renaming these two files, so we have to replace the names everywhere.
546
547         * DOM/WebDOMOperations.mm:
548         * ForwardingHeaders/runtime/JSCJSValue.h: Copied from Source/WebKit/mac/ForwardingHeaders/runtime/JSValue.h.
549         * ForwardingHeaders/runtime/JSValue.h: Removed.
550         * WebView/WebFrame.mm:
551         * WebView/WebView.mm:
552
553 2013-01-22  Anders Carlsson  <andersca@apple.com>
554
555         Use a platforom strategy for local storage
556         https://bugs.webkit.org/show_bug.cgi?id=107600
557
558         Reviewed by Andreas Kling.
559
560         Update for new storage strategy.
561
562         * WebCoreSupport/WebPlatformStrategies.h:
563         (WebPlatformStrategies):
564         * WebCoreSupport/WebPlatformStrategies.mm:
565         (WebPlatformStrategies::createStorageStrategy):
566
567 2013-01-21  Kentaro Hara  <haraken@chromium.org>
568
569         Implement UIEvent constructor
570         https://bugs.webkit.org/show_bug.cgi?id=107430
571
572         Reviewed by Adam Barth.
573
574         Editor's draft: https://dvcs.w3.org/hg/d4e/raw-file/tip/source_respec.htm
575
576         UIEvent constructor is implemented under a DOM4_EVENTS_CONSTRUCTOR flag,
577         which is enabled on Safari and Chromium for now.
578
579         * Configurations/FeatureDefines.xcconfig:
580
581 2013-01-22  Joseph Pecoraro  <pecoraro@apple.com>
582
583         [Mac] Enable Page Visibility (PAGE_VISIBILITY_API)
584         https://bugs.webkit.org/show_bug.cgi?id=107230
585
586         Reviewed by David Kilzer.
587
588         * Configurations/FeatureDefines.xcconfig:
589
590 2013-01-22  Tim Horton  <timothy_horton@apple.com>
591
592         PDFPlugin: Build PDFPlugin everywhere, enable at runtime
593         https://bugs.webkit.org/show_bug.cgi?id=107117
594
595         Reviewed by Alexey Proskuryakov.
596
597         Since PDFLayerController SPI is all forward-declared, the plugin should build
598         on all Mac platforms, and can be enabled at runtime.
599
600         * Configurations/FeatureDefines.xcconfig:
601
602 2013-01-21  Dirk Schulze  <dschulze@adobe.com>
603
604         Add build flag for Canvas's Path object (disabled by default)
605         https://bugs.webkit.org/show_bug.cgi?id=107473
606
607         Reviewed by Dean Jackson.
608
609         * Configurations/FeatureDefines.xcconfig:
610
611 2013-01-17  Andy Estes  <aestes@apple.com>
612
613         Add a USE() macro for content filtering code
614         https://bugs.webkit.org/show_bug.cgi?id=107098
615
616         Reviewed by Mark Rowe.
617
618         * WebCoreSupport/WebSystemInterface.mm:
619         (InitWebCoreSystemInterface): Use USE(CONTENT_FILTERING).
620
621 2013-01-19  Philip Rogers  <pdr@google.com>
622
623         Merge SVGStylable into SVGStyledElement
624         https://bugs.webkit.org/show_bug.cgi?id=106877
625
626         SVG2 changes element inheritance so all SVGElements are stylable. As a first-step towards a
627         cleaner class hierarchy, this patch moves SVGStylable into SVGStyledElement.
628
629         Reviewed by Dirk Schulze.
630
631         * MigrateHeaders.make:
632
633 2013-01-18  Seokju Kwon  <seokju.kwon@gmail.com>
634
635         Add explicit keyword to constructors in platform-specific InspectorClient
636         https://bugs.webkit.org/show_bug.cgi?id=107255
637
638         Reviewed by Kentaro Hara.
639
640         Add explicit keyword to constructors that take one argument
641         in platform-specific implementation of InspectorClient.
642
643         * WebCoreSupport/WebInspectorClient.h:
644         (WebInspectorClient):
645
646 2013-01-15  Jer Noble  <jer.noble@apple.com>
647
648         Add a Setting to disable QTKit media engine.
649         https://bugs.webkit.org/show_bug.cgi?id=106972
650
651         Reviewed by Eric Carlson.
652
653         Add WebKit API to set QTKit enabled setting from user defaults.
654
655         * WebView/WebPreferenceKeysPrivate.h:
656         * WebView/WebPreferences.mm:
657         (+[WebPreferences initialize]): Set WebCore settings based on user defaults.
658         (-[WebPreferences setQTKitEnabled:]): Pass through to WebCore.
659         (-[WebPreferences isQTKitEnabled]): Ditto.
660         * WebView/WebPreferencesPrivate.h:
661         * WebView/WebView.mm:
662         (-[WebView _preferencesChanged:]): Synchronize WebKit/WebCore settings.
663
664 2013-01-15  Enrica Casucci  <enrica@apple.com>
665
666         Add a new set of WebKit2 APIs for text search and
667         search results management.
668         https://bugs.webkit.org/show_bug.cgi?id=106834.
669         <rdar://problem/12597159>
670
671         Reviewed by Simon Fraser.
672         
673         Adding new API to perform text search in WebKit2 without using
674         the stock UI. The new interface provides all the information
675         necessary to write a custom UI for search.
676
677         Added new TextWebKitAPI test.
678
679         * WebView/WebHTMLView.mm:
680         (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]):
681         Modified to reflect the changes to Editor::countMatchesForText interface.
682
683 2013-01-10  Zan Dobersek  <zandobersek@gmail.com>
684
685         Remove the ENABLE_ANIMATION_API feature define occurences
686         https://bugs.webkit.org/show_bug.cgi?id=106544
687
688         Reviewed by Simon Fraser.
689
690         The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
691         feature define handling still lingers in various build systems and configurations
692         but is of no use, so it should be removed.
693
694         * Configurations/FeatureDefines.xcconfig:
695
696 2013-01-08  Mark Lam  <mark.lam@apple.com>
697
698         Removed the need for the ProposedDatabase mechanism.
699         https://bugs.webkit.org/show_bug.cgi?id=106292.
700
701         Reviewed by Sam Weinig.
702
703         * WebCoreSupport/WebChromeClient.h:
704         * WebCoreSupport/WebChromeClient.mm:
705         (WebChromeClient::exceededDatabaseQuota):
706
707 2013-01-07  Dan Bernstein  <mitz@apple.com>
708
709         [mac] WebKit1 clients can’t tell when a frame has been removed from the hierarchy
710         https://bugs.webkit.org/show_bug.cgi?id=106261
711
712         Reviewed by Simon Fraser.
713
714         Test: TestWebKitAPI/Tests/mac/WebViewDidRemoveFrameFromHierarchy.mm.
715
716         Added -[WebFrameLoadDelegate webView:didRemoveFrameFromHierarchy:].
717
718         * WebCoreSupport/WebFrameLoaderClient.mm:
719         (WebFrameLoaderClient::detachedFromParent2): Added a call to the new frame load delegate
720         method.
721         * WebView/WebDelegateImplementationCaching.h:
722         (WebFrameLoadDelegateImplementationCache): Added the new method to the cache.
723         * WebView/WebFrameLoadDelegatePrivate.h: Declared the new delegate method.
724         * WebView/WebView.mm:
725         (-[WebView _cacheFrameLoadDelegateImplementations]): Added the new method to the cache.
726
727 2013-01-07  Mike West  <mkwst@chromium.org>
728
729         Make the IFRAME_SEAMLESS flag runtime-enabled.
730         https://bugs.webkit.org/show_bug.cgi?id=106213
731
732         Reviewed by Ojan Vafai.
733
734         * WebView/WebPreferenceKeysPrivate.h:
735         * WebView/WebPreferences.mm:
736         (-[WebPreferences seamlessIFramesEnabled]):
737         (-[WebPreferences setSeamlessIFramesEnabled:]):
738         * WebView/WebPreferencesPrivate.h:
739         * WebView/WebView.mm:
740         (-[WebView _preferencesChanged:]):
741             Add a seamless IFrame preference to WebPreferences, and use it to
742             toggle the runtime state of the feature as appropriate.
743
744 2013-01-04  Adam Klein  <adamk@chromium.org>
745
746         Remove ENABLE_MUTATION_OBSERVERS #define
747         https://bugs.webkit.org/show_bug.cgi?id=105459
748
749         Reviewed by Ryosuke Niwa.
750
751         * Configurations/FeatureDefines.xcconfig:
752
753 2013-01-01  Dan Bernstein  <mitz@apple.com>
754
755         <rdar://problem/12942239> Update copyright strings
756
757         Reviewed by Sam Weinig.
758
759         * Info.plist:
760
761 2012-12-29  Adam Roben  <aroben@webkit.org>
762
763         Web Inspector: Mac WK1 Inspector can't save/load timeline data
764         https://bugs.webkit.org/show_bug.cgi?id=105547
765
766         Reviewed by Pavel Feldman.
767
768         * WebCoreSupport/WebInspectorClient.h: Declared new overrides and
769         member variables necessary for save support.
770
771         * WebCoreSupport/WebInspectorClient.mm:
772         (WebInspectorFrontendClient::save):
773         (WebInspectorFrontendClient::append):
774         Implemented these to make saving timeline data work. (It seems to me
775         the InspectorFrontendClient API could be cleaned up a bit. I had to
776         look at Chromium source code to determine that I needed to call back
777         into the InspectorFrontendAPI JS object after saving/appending, and
778         that I needed to keep a map of passed URLs -> chosen URLs.)
779
780         (-[WebInspectorWindowController window:willPositionSheet:usingRect:]):
781         Tweaked the position of the sheet so that open/save sheets look a
782         little bette.r
783
784         (-[WebInspectorWindowController webView:runOpenPanelForFileButtonWithResultListener:allowMultipleFiles:]):
785         Implemented to make loading timeline data work.
786
787 2012-12-28  Mark Rowe  <mrowe@apple.com>
788
789         Move logic for extracting the OS X marketing version in to WebCore
790         <http://webkit.org/b/105841> / <rdar://problem/10736041>
791
792         Reviewed by Dan Bernstein.
793
794         * WebCoreSupport/WebSystemInterface.mm:
795         (InitWebCoreSystemInterface): Remove the code related to the WKSI symbol.
796         * WebView/WebView.mm:
797         (systemMarketingVersionForUserAgentString): Call the WebCore function instead of the WKSI function.
798         (+[WebView _standardUserAgentWithApplicationName:]): Retain the result now that our helper doesn't
799         do that for us.
800
801 2012-12-27  Sam Weinig  <sam@webkit.org>
802
803         Attempt to fix the tests.
804
805         * WebView/WebPreferences.mm:
806         (+[WebPreferences initialize]):
807
808 2012-12-23  Alexey Proskuryakov  <ap@apple.com>
809
810         <rdar://problem/12808377> Network process should respect cookie accept policy
811         https://bugs.webkit.org/show_bug.cgi?id=105684
812
813         Reviewed by Sam Weinig.
814
815         * WebCoreSupport/WebPlatformStrategies.h:
816         * WebCoreSupport/WebPlatformStrategies.mm:
817         CookiesStrategy no longer has notifyCookiesChanged().
818
819 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
820
821         Add a separate class for networking related storage
822         https://bugs.webkit.org/show_bug.cgi?id=105676
823
824         Reviewed by Sam Weinig.
825
826         * WebCoreSupport/WebFrameLoaderClient.mm:
827         Updated for ResourceHandle include changes.
828
829         * WebCoreSupport/WebFrameNetworkingContext.h:
830         * WebCoreSupport/WebFrameNetworkingContext.mm:
831         This class is now simpler, with more session tracking being in WebCore now.
832
833         * WebCoreSupport/WebPlatformStrategies.h:
834         * WebCoreSupport/WebPlatformStrategies.mm:
835         (WebPlatformStrategies::cookiesForDOM):
836         (WebPlatformStrategies::setCookiesFromDOM):
837         (WebPlatformStrategies::cookiesEnabled):
838         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
839         (WebPlatformStrategies::getRawCookies):
840         (WebPlatformStrategies::deleteCookie):
841         We no longer need a function for default cookie storage! Other cookie functions
842         now take a session.
843
844         * WebView/WebPreferences.mm:
845         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
846         calling a WebCore that uses it.
847         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
848         NetworkStorageSession for session tracking.
849
850         * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
851         context now returning a class for session.
852
853 2012-12-20  Ilya Tikhonovsky  <loislo@chromium.org>
854
855         Unreviewed build fix for chromium mac after r138206.
856
857         * WebCoreSupport/WebSystemInterface.mm:
858         (InitWebCoreSystemInterface):
859
860 2012-12-19  Alexey Proskuryakov  <ap@apple.com>
861
862         <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
863         https://bugs.webkit.org/show_bug.cgi?id=105467
864
865         Reviewed by Brady Eidson.
866
867         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
868         a WKSI function we've been missing.
869
870 2012-12-19  Alexis Menard  <alexis@webkit.org>
871
872         Implement CSS parsing for CSS transitions unprefixed.
873         https://bugs.webkit.org/show_bug.cgi?id=104804
874
875         Reviewed by Dean Jackson.
876
877         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
878         to cover the work of unprefixing Transforms, Animations and 
879         Transitions. It will let the possibility of each ports to turn it off 
880         in their release branches until we're confident that these CSS 
881         properties are ready to be unprefixed.
882
883         * Configurations/FeatureDefines.xcconfig:
884
885 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
886
887         Remove unnecessary functions from CookiesStrategy
888         https://bugs.webkit.org/show_bug.cgi?id=105369
889
890         Reviewed by Brady Eidson.
891
892         * WebCoreSupport/WebPlatformStrategies.h:
893         * WebCoreSupport/WebPlatformStrategies.mm:
894
895 2012-12-18  Alice Liu  <alice.liu@apple.com>
896
897         Add SPI to WebKit1 WebFrame for hit testing
898         https://bugs.webkit.org/show_bug.cgi?id=105106
899
900         Reviewed by Dan Bernstein.
901
902         * WebView/WebFrame.mm:
903         (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
904         Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary. 
905         * WebView/WebFramePrivate.h:
906
907 2012-12-18  Alice Liu  <alice.liu@apple.com>
908
909         Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
910         https://bugs.webkit.org/show_bug.cgi?id=105262
911
912         Reviewed by Anders Carlsson.
913
914         * WebView/WebFrame.mm:
915         (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
916         for the WebCore::Node in that particular WebScriptWorld.
917         * WebView/WebFramePrivate.h:
918
919 2012-12-18  Beth Dakin  <bdakin@apple.com>
920
921         https://bugs.webkit.org/show_bug.cgi?id=102579
922         [mac] Enable scaled cursors
923
924         Reviewed by Dean Jackson.
925
926         * Configurations/FeatureDefines.xcconfig:
927
928 2012-12-16  Levi Weintraub  <leviw@chromium.org>
929
930         Push pixel snapping logic into TransformState
931         https://bugs.webkit.org/show_bug.cgi?id=101779
932
933         Reviewed by Simon Fraser.
934
935         * WebView/WebFullScreenController.mm:
936         (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
937
938 2012-12-15  Anders Carlsson  <andersca@apple.com>
939
940         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
941         https://bugs.webkit.org/show_bug.cgi?id=105122
942
943         Reviewed by Andreas Kling.
944
945         Update for WebCore changes.
946
947         * WebCoreSupport/WebFrameLoaderClient.h:
948         (WebFrameLoaderClient):
949         * WebCoreSupport/WebFrameLoaderClient.mm:
950         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
951
952 2012-12-15  Mark Lam  <mark.lam@apple.com>
953
954         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
955         https://bugs.webkit.org/show_bug.cgi?id=104934.
956
957         Not reviewed.
958
959         Merged from r137767. Previously reviewed by Sam Weinig.
960
961         * WebCoreSupport/WebPlatformStrategies.h:
962         (WebPlatformStrategies):
963         * WebCoreSupport/WebPlatformStrategies.mm:
964         (WebPlatformStrategies::createDatabaseStrategy):
965
966 2012-12-14  Mark Lam  <mark.lam@apple.com>
967
968         The WebView should initialize the platform strategies before initializing other sub-systems.
969         https://bugs.webkit.org/show_bug.cgi?id=105083.
970
971         Reviewed by Alexey Proskuryakov.
972
973         * WebView/WebView.mm:
974         (-[WebView _commonInitializationWithFrameName:groupName:]):
975
976 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
977
978         Unreviewed, rolling out r137767.
979         http://trac.webkit.org/changeset/137767
980         https://bugs.webkit.org/show_bug.cgi?id=105062
981
982         Broke Mac builds. (Requested by mlam on #webkit).
983
984         * WebCoreSupport/WebPlatformStrategies.h:
985         (WebPlatformStrategies):
986         * WebCoreSupport/WebPlatformStrategies.mm:
987
988 2012-12-14  Mark Lam  <mark.lam@apple.com>
989
990         Introducing the DatabaseStrategy and database servers.
991         https://bugs.webkit.org/show_bug.cgi?id=104934.
992
993         Reviewed by Sam Weinig.
994
995         The database server is currently a placeholder that does nothing.
996
997         * WebCoreSupport/WebPlatformStrategies.h:
998         (WebPlatformStrategies):
999         * WebCoreSupport/WebPlatformStrategies.mm:
1000         (WebPlatformStrategies::createDatabaseStrategy):
1001
1002 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
1003
1004         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
1005         https://bugs.webkit.org/show_bug.cgi?id=104691
1006
1007         Reviewed by Sam Weinig.
1008
1009         * WebCoreSupport/WebFrameNetworkingContext.h:
1010         * WebCoreSupport/WebFrameNetworkingContext.mm:
1011         (WebFrameNetworkingContext::inPrivateBrowsingMode):
1012         (WebFrameNetworkingContext::storageSession):
1013         Implemented inPrivateBrowsingMode().
1014
1015 2012-12-12  Mark Lam  <mark.lam@apple.com>
1016
1017         Encapsulate externally used webdatabase APIs in DatabaseManager.
1018         https://bugs.webkit.org/show_bug.cgi?id=104741.
1019
1020         Reviewed by Sam Weinig.
1021
1022         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
1023         and DatabaseContext directly. This is to prepare for upcoming webkit2
1024         refactoring.
1025
1026         * Storage/WebDatabaseManager.mm:
1027         (-[WebDatabaseManager origins]):
1028         (-[WebDatabaseManager databasesWithOrigin:]):
1029         (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
1030         (-[WebDatabaseManager deleteAllDatabases]):
1031         (-[WebDatabaseManager deleteOrigin:]):
1032         (-[WebDatabaseManager deleteDatabase:withOrigin:]):
1033         (WebKitInitializeDatabasesIfNecessary):
1034         * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
1035         (WebDatabaseManagerClient):
1036         * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
1037         (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
1038         (WebDatabaseManagerClient::WebDatabaseManagerClient):
1039         (WebDatabaseManagerClient::~WebDatabaseManagerClient):
1040         (DidModifyOriginData::dispatchToMainThread):
1041         (DidModifyOriginData::DidModifyOriginData):
1042         (DidModifyOriginData):
1043         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
1044         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
1045         * Storage/WebDatabaseQuotaManager.mm:
1046         (-[WebDatabaseQuotaManager usage]):
1047         (-[WebDatabaseQuotaManager quota]):
1048         (-[WebDatabaseQuotaManager setQuota:]):
1049         * Storage/WebDatabaseTrackerClient.h: Removed.
1050         * Storage/WebDatabaseTrackerClient.mm: Removed.
1051         * WebCoreSupport/WebSecurityOrigin.mm:
1052         (-[WebSecurityOrigin usage]):
1053         (-[WebSecurityOrigin quota]):
1054         (-[WebSecurityOrigin setQuota:]):
1055         * WebKit.order:
1056         * WebView/WebFrame.mm:
1057         (-[WebFrame _cacheabilityDictionary]):
1058         * WebView/WebView.mm:
1059         (-[WebView _preferencesChanged:]):
1060
1061 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
1062
1063         Make LOG() work in WebProcess and NetworkProcess
1064         https://bugs.webkit.org/show_bug.cgi?id=104718
1065
1066         Reviewed by Tim Horton.
1067
1068         * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
1069         WebCore and WebKit versions of this file.
1070
1071 2012-12-11  Mike West  <mkwst@chromium.org>
1072
1073         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
1074         https://bugs.webkit.org/show_bug.cgi?id=66371
1075
1076         Reviewed by Pavel Feldman.
1077
1078         Drops WebCore::MessageType from the addMessageToConsole method.
1079
1080         * WebCoreSupport/WebChromeClient.h:
1081         (WebChromeClient):
1082         * WebCoreSupport/WebChromeClient.mm:
1083         (WebChromeClient::addMessageToConsole):
1084
1085 2012-12-09  Antti Koivisto  <antti@apple.com>
1086
1087         Factor node traversal into standalone functions
1088         https://bugs.webkit.org/show_bug.cgi?id=104507
1089
1090         Reviewed by Eric Seidel.
1091     
1092         * WebView/WebHTMLRepresentation.mm:
1093         (searchForLabelsBeforeElement):
1094
1095 2012-12-10  Alexis Menard  <alexis@webkit.org>
1096
1097         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
1098         https://bugs.webkit.org/show_bug.cgi?id=104539
1099
1100         Reviewed by Antonio Gomes.
1101
1102         As discussed on webkit-dev it is not needed to keep this feature flag 
1103         as support for <position> type is a small feature that is already 
1104         implemented by three other UAs. It was useful while landing this 
1105         feature as partial bits were landed one after one.
1106
1107         * Configurations/FeatureDefines.xcconfig:
1108
1109 2012-12-06  Rick Byers  <rbyers@chromium.org>
1110
1111         CSS cursor property should support webkit-image-set
1112         https://bugs.webkit.org/show_bug.cgi?id=99493
1113
1114         Reviewed by Beth Dakin.
1115
1116         Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
1117
1118         * Configurations/FeatureDefines.xcconfig:
1119
1120 2012-12-03  Yury Semikhatsky  <yurys@chromium.org>
1121
1122         Unreviewed. Fix Mac compilation after r136448.
1123
1124         * WebCoreSupport/WebChromeClient.mm:
1125         (stringForMessageType):
1126
1127 2012-12-03  Alexis Menard  <alexis@webkit.org>
1128
1129         [Mac] Enable CSS3 background-position offset by default.
1130         https://bugs.webkit.org/show_bug.cgi?id=103905
1131
1132         Reviewed by Simon Fraser.
1133
1134         Turn the flag on by default.
1135
1136         * Configurations/FeatureDefines.xcconfig:
1137
1138 2012-12-02  Yongjun Zhang  <yongjun_zhang@apple.com>
1139
1140         Need a method to close all idle localstorage databases immediately.
1141         https://bugs.webkit.org/show_bug.cgi?id=103469
1142
1143         Reviewed by David Kilzer.
1144
1145         Add a new method to WebStorageManager that we can call to close all
1146         idle local storage databases.
1147
1148         * Storage/WebStorageManager.mm:
1149         (+[WebStorageManager closeIdleLocalStorageDatabases]):
1150         * Storage/WebStorageManagerPrivate.h:
1151
1152 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
1153
1154         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
1155         https://bugs.webkit.org/show_bug.cgi?id=101192
1156
1157         Reviewed by Hajime Morita.
1158
1159         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
1160
1161         Tests: No new tests because there is no functional change.
1162
1163         * WebView/WebView.mm:
1164         (-[WebView _preferencesChanged:]):
1165
1166 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
1167
1168         [HTMLTemplateElement] Add feature flag
1169         https://bugs.webkit.org/show_bug.cgi?id=103694
1170
1171         Reviewed by Adam Barth.
1172
1173         This flag will guard the implementation of the HTMLTemplateElement.
1174         http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
1175
1176         * Configurations/FeatureDefines.xcconfig:
1177
1178 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
1179
1180         [WK2] Forward cookie jar calls to NetworkProcess
1181         https://bugs.webkit.org/show_bug.cgi?id=103457
1182
1183         Reviewed by Darin Adler.
1184
1185         * WebCoreSupport/WebPlatformStrategies.h:
1186         (WebPlatformStrategies):
1187         * WebCoreSupport/WebPlatformStrategies.mm:
1188         (WebPlatformStrategies::cookiesForDOM):
1189         (WebPlatformStrategies::setCookiesFromDOM):
1190         (WebPlatformStrategies::cookiesEnabled):
1191         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
1192         (WebPlatformStrategies::getRawCookies):
1193         (WebPlatformStrategies::deleteCookie):
1194         (WebPlatformStrategies::getHostnamesWithCookies):
1195         (WebPlatformStrategies::deleteCookiesForHostname):
1196         (WebPlatformStrategies::deleteAllCookies):
1197         (WebPlatformStrategies::getPluginInfo):
1198         (WebPlatformStrategies::bufferForType):
1199         WebKit1 strategy just uses PlatformCookieJar.
1200
1201 2012-11-28  Beth Dakin  <bdakin@apple.com>
1202
1203         https://bugs.webkit.org/show_bug.cgi?id=102970
1204         [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless 
1205         WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
1206
1207         Reviewed by Sam Weinig.
1208
1209         We should always register for DidFirstLayout in WK1 since we do work 
1210         at that time besides just calling the delegate function.
1211         * WebView/WebView.mm:
1212         (-[WebView _cacheFrameLoadDelegateImplementations]):
1213
1214 2012-11-27  Michael Saboff  <msaboff@apple.com>
1215
1216         TextIterator unnecessarily converts 8 bit strings to 16 bits
1217         https://bugs.webkit.org/show_bug.cgi?id=103295
1218
1219         Reviewed by Brent Fulgham.
1220
1221         Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
1222
1223         * WebView/WebFrame.mm:
1224         (-[WebFrame _stringForRange:]):
1225
1226 2012-11-27  James Simonsen  <simonjam@chromium.org>
1227
1228         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1229         https://bugs.webkit.org/show_bug.cgi?id=102151
1230
1231         Reviewed by Adam Barth.
1232
1233         * Plugins/WebPluginController.mm:
1234         * WebView/WebFrame.mm:
1235         (-[WebFrame loadRequest:]):
1236         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1237
1238 2012-11-27  Pratik Solanki  <psolanki@apple.com>
1239
1240         objc/objc-runtime.h does not exist on all PLATFORM(MAC)
1241         https://bugs.webkit.org/show_bug.cgi?id=101780
1242
1243         Reviewed by Brent Fulgham.
1244
1245         Clean up header includes so we don't include objc/objc-runtime.h.
1246
1247         * Carbon/HIWebView.mm:
1248         (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
1249         * Plugins/WebNetscapePluginView.mm:
1250         * Plugins/WebPluginContainerCheck.mm:
1251         (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
1252         * Plugins/WebPluginController.mm:
1253         * WebCoreSupport/WebCachedFramePlatformData.h:
1254         * WebCoreSupport/WebDeviceOrientationClient.mm:
1255         * WebView/WebDelegateImplementationCaching.mm:
1256         * WebView/WebHTMLView.mm:
1257         * WebView/WebPDFDocumentExtras.mm:
1258         * WebView/WebPolicyDelegate.mm:
1259         (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
1260         * WebView/WebView.mm:
1261
1262 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
1263
1264         Unreviewed, rolling out r135786.
1265         http://trac.webkit.org/changeset/135786
1266         https://bugs.webkit.org/show_bug.cgi?id=103379
1267
1268         It made 3 plugin tests timeout on several platforms (Requested
1269         by Ossy on #webkit).
1270
1271         * Plugins/WebPluginController.mm:
1272         * WebView/WebFrame.mm:
1273         (-[WebFrame loadRequest:]):
1274         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1275
1276 2012-11-26  James Simonsen  <simonjam@chromium.org>
1277
1278         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1279         https://bugs.webkit.org/show_bug.cgi?id=102151
1280
1281         Reviewed by Adam Barth.
1282
1283         * Plugins/WebPluginController.mm:
1284         * WebView/WebFrame.mm:
1285         (-[WebFrame loadRequest:]):
1286         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1287
1288 2012-11-23  Alexis Menard  <alexis@webkit.org>
1289
1290         [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
1291         https://bugs.webkit.org/show_bug.cgi?id=102104
1292
1293         Reviewed by Julien Chaffraix.
1294
1295         Protect the new feature behind a feature flag.
1296
1297         * Configurations/FeatureDefines.xcconfig:
1298
1299 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
1300
1301         Disambiguate innerNodeFramePoint and mainFramePoint
1302         https://bugs.webkit.org/show_bug.cgi?id=98139
1303
1304         Reviewed by Julien Chaffraix.
1305
1306         Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
1307
1308         * WebCoreSupport/WebContextMenuClient.mm:
1309         (WebContextMenuClient::showContextMenu):
1310
1311 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
1312
1313         Unreviewed, rolling out r135295.
1314         http://trac.webkit.org/changeset/135295
1315         https://bugs.webkit.org/show_bug.cgi?id=102834
1316
1317         This patch causes assertion to some layout tests on chromium
1318         (Requested by jianli on #webkit).
1319
1320         * Plugins/WebPluginController.mm:
1321         * WebView/WebFrame.mm:
1322         (-[WebFrame loadRequest:]):
1323         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1324
1325 2012-11-20  James Simonsen  <simonjam@chromium.org>
1326
1327         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
1328         https://bugs.webkit.org/show_bug.cgi?id=102151
1329
1330         Reviewed by Adam Barth.
1331
1332         * Plugins/WebPluginController.mm:
1333         * WebView/WebFrame.mm:
1334         (-[WebFrame loadRequest:]):
1335         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
1336
1337 2012-11-19  Kihong Kwon  <kihong.kwon@samsung.com>
1338
1339         Add PROXIMITY_EVENTS feature
1340         https://bugs.webkit.org/show_bug.cgi?id=102658
1341
1342         Reviewed by Kentaro Hara.
1343
1344         Add PROXIMITY_EVENTS feature to xcode project for WebKit.
1345
1346         * Configurations/FeatureDefines.xcconfig:
1347
1348 2012-11-16  Tony Chang  <tony@chromium.org>
1349
1350         Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
1351         https://bugs.webkit.org/show_bug.cgi?id=102554
1352
1353         Reviewed by Andreas Kling.
1354
1355         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
1356         we're going to revist this feature once additional vendor support is
1357         achieved.
1358
1359         * Configurations/FeatureDefines.xcconfig:
1360
1361 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
1362
1363         Private Browsing is a per-page setting that sets a global value
1364         https://bugs.webkit.org/show_bug.cgi?id=67870
1365
1366         Reviewed by Sam Weinig.
1367
1368         * WebCoreSupport/WebFrameNetworkingContext.h:
1369         * WebCoreSupport/WebFrameNetworkingContext.mm:
1370         Moved functions for managing global sessions from WebCore.
1371
1372         * WebCoreSupport/WebPlatformStrategies.h:
1373         * WebCoreSupport/WebPlatformStrategies.mm:
1374         (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
1375         to reach the storage.
1376
1377         * WebView/WebPreferences.mm:
1378         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
1379         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
1380
1381         * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
1382         are not generic enough for use outside DRT (one of them had "testing" in name,
1383         but another did not).
1384
1385         * WebView/WebView.mm:
1386         (-[WebView _preferencesChanged:]): Create a global private browsing session when
1387         the first view with private browsing is created, delete it when any window with
1388         it disabled is created (since this comes from preferences, it applies to all
1389         views equally, even though we are dealing with a single one here).
1390         (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
1391         a global one.
1392
1393 2012-11-13  Timothy Hatcher  <timothy@apple.com>
1394
1395         Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
1396
1397         https://bugs.webkit.org/show_bug.cgi?id=102073
1398
1399         Reviewed by Joseph Pecoraro.
1400
1401         * WebCoreSupport/WebInspectorClient.mm:
1402         (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
1403
1404 2012-11-12  Simon Fraser  <simon.fraser@apple.com>
1405
1406         Build fix after r134346 and 134347.
1407         
1408         Use frameView.isFlipped, not frameView.flipped in the assertion.
1409
1410         * WebCoreSupport/WebInspectorClient.mm:
1411         (-[WebInspectorWindowController window]):
1412
1413 2012-11-12  Timothy Hatcher  <timothy@apple.com>
1414
1415         Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
1416
1417         https://bugs.webkit.org/show_bug.cgi?id=102025
1418
1419         Reviewed by Joseph Pecoraro.
1420
1421         * Resources/Dock.pdf: Added.
1422         * WebCoreSupport/WebInspectorClient.h:
1423         * WebCoreSupport/WebInspectorClient.mm:
1424         (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
1425         (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
1426         (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
1427         (-[WebInspectorWindowController window]): Create the dock button and add it.
1428         (-[WebInspectorWindowController attachWindow:]): Added.
1429         (-[WebInspectorWindowController attach]): Call setAttachedWindow.
1430         (-[WebInspectorWindowController detach]): Ditto.
1431         (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
1432
1433 2012-11-08  Timothy Hatcher  <timothy@apple.com>
1434
1435         Always use a textured window for the Web Inspector.
1436
1437         https://bugs.webkit.org/show_bug.cgi?id=101693
1438
1439         Reviewed by Joseph Pecoraro.
1440
1441         * WebCoreSupport/WebInspectorClient.mm:
1442         (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
1443
1444 2012-11-08  Roger Fong  <roger_fong@apple.com>
1445
1446         Null check URL key entries into WebHistory hash table. 
1447         https://bugs.webkit.org/show_bug.cgi?id=101664
1448         <rdar://problem/12440852>
1449
1450         Reviewed by Brady Eidson.
1451         
1452         Sometimes the _entriesByURL hash table used to keep track of web history is erroneously passed in null key entries, which causes an exception to fire.
1453         This prevents the desired page navigation from taking effect. This is a workaround for the problem.
1454         Ideally we would figure out where the null values for the key are coming from but for now we'll just set it to "" to prevent the exception from being thrown
1455         so that navigation can continue as expected.
1456
1457         * History/WebHistory.mm:
1458         (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
1459
1460 2012-11-07  Andreas Kling  <akling@apple.com>
1461
1462         Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
1463         <http://webkit.org/b/101492>
1464
1465         Reviewed by Anders Carlsson.
1466
1467         * Plugins/WebJavaPlugIn.h: Removed.
1468
1469 2012-11-06  Adam Barth  <abarth@webkit.org>
1470
1471         Unreviewed attempt to fix the chromium-mac build.
1472
1473         * WebCoreSupport/WebSystemInterface.mm:
1474         (InitWebCoreSystemInterface):
1475
1476 2012-11-06  Anders Carlsson  <andersca@apple.com>
1477
1478         Update Java related WKSI function names
1479         https://bugs.webkit.org/show_bug.cgi?id=101414
1480
1481         Reviewed by Sam Weinig.
1482
1483         * WebCoreSupport/WebChromeClient.mm:
1484         (WebChromeClient::unavailablePluginButtonClicked):
1485         * WebCoreSupport/WebFrameLoaderClient.mm:
1486         (isPlugInInactive):
1487
1488 2012-11-06  Alexey Proskuryakov  <ap@apple.com>
1489
1490         Clean up which storage cookie jar functions use
1491         https://bugs.webkit.org/show_bug.cgi?id=101395
1492
1493         Reviewed by Brady Eidson.
1494
1495         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
1496         two new functions.
1497
1498 2012-11-06  Andrey Lushnikov  <lushnikov@google.com>
1499
1500         Added console.clear() method
1501
1502         Web Inspector: add console.clear()
1503         https://bugs.webkit.org/show_bug.cgi?id=101021
1504
1505         Reviewed by Vsevolod Vlasov.
1506
1507         * WebCoreSupport/WebChromeClient.mm:
1508         (stringForMessageType): Added ClearMessageType case to switch
1509
1510 2012-11-05  Alexey Proskuryakov  <ap@apple.com>
1511
1512         Get rid of setCookieStoragePrivateBrowsingEnabled.
1513         https://bugs.webkit.org/show_bug.cgi?id=101247
1514
1515         Reviewed by Brady Eidson.
1516
1517         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
1518         have this function.
1519
1520 2012-11-03  Alexey Proskuryakov  <ap@apple.com>
1521
1522         Get rid of USE(CFURLSTORAGESESSIONS)
1523         https://bugs.webkit.org/show_bug.cgi?id=101131
1524
1525         Reviewed by Sam Weinig.
1526
1527         * WebView/WebPreferences.mm:
1528         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
1529         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
1530         * WebView/WebView.mm:
1531         (-[WebView _cachedResponseForURL:]):
1532
1533 2012-11-02  Anders Carlsson  <andersca@apple.com>
1534
1535         Don't instantiate the Java plug-in if it's inactive
1536         https://bugs.webkit.org/show_bug.cgi?id=101102
1537         <rdar://problem/12595679>
1538
1539         Reviewed by Andreas Kling.
1540
1541         * WebCoreSupport/WebChromeClient.mm:
1542         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
1543         The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
1544
1545         (WebChromeClient::unavailablePluginButtonClicked):
1546         If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
1547         then reload the page.
1548
1549         * WebCoreSupport/WebFrameLoaderClient.mm:
1550         (isOracleJavaPlugIn):
1551         (isPlugInInactive):
1552         Helper functions.
1553
1554         (WebFrameLoaderClient::createPlugin):
1555         If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
1556
1557 2012-11-02  Simon Fraser  <simon.fraser@apple.com>
1558
1559         Enable SUBPIXEL_LAYOUT on Mac
1560         https://bugs.webkit.org/show_bug.cgi?id=101076
1561
1562         Reviewed by Dave Hyatt.
1563
1564         Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
1565
1566         * Configurations/FeatureDefines.xcconfig:
1567
1568 2012-11-02  Adam Barth  <abarth@webkit.org>
1569
1570         ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
1571         https://bugs.webkit.org/show_bug.cgi?id=100711
1572
1573         Reviewed by Eric Seidel.
1574
1575         * Configurations/FeatureDefines.xcconfig:
1576
1577 2012-11-01  Adam Roben  <aroben@webkit.org>
1578
1579         [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
1580         https://bugs.webkit.org/show_bug.cgi?id=100957
1581
1582         Reviewed by Simon Fraser.
1583
1584         WebCore doesn't yet support subpixel scrolling. WebKit2 forces
1585         scrolling to always be integral. Now WebKit1 forces this as well.
1586
1587         I'm not sure how to write a test for this.
1588
1589         * WebView/WebDynamicScrollBarsView.mm:
1590         (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
1591         or position:sticky elements in the page.
1592         (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
1593         scroll origin to the nearest pixel if needed.
1594
1595 2012-10-31  Anders Carlsson  <andersca@apple.com>
1596
1597         Fix build.
1598         <rdar://problem/12612207>.
1599
1600         Reviewed by Sam Weinig.
1601
1602         * Panels/WebAuthenticationPanel.m:
1603         (-[WebAuthenticationPanel loadNib]):
1604
1605 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
1606
1607         [Mac] Sync up FeatureDefine Configuration Files
1608         https://bugs.webkit.org/show_bug.cgi?id=100171
1609
1610         Reviewed by David Kilzer.
1611
1612         Follow up to better coordinate with iOS feature defines. Make:
1613
1614           - ENABLE_FILTERS always on
1615           - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
1616
1617         * Configurations/FeatureDefines.xcconfig:
1618
1619 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
1620
1621         [Mac] Sync up FeatureDefine Configuration Files
1622         https://bugs.webkit.org/show_bug.cgi?id=100171
1623
1624         Reviewed by David Kilzer.
1625
1626         Ensure an identical FeatureDefine files across all projects. Changes:
1627
1628           - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
1629           - ENABLE_PDFKIT_PLUGIN should be in all
1630           - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
1631           - ENABLE_ENCRYPTED_MEDIA should be in all
1632           - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
1633           - Some alphabetical ordering cleanup
1634
1635         * Configurations/FeatureDefines.xcconfig:
1636
1637 2012-10-29  Anders Carlsson  <andersca@apple.com>
1638
1639         Build WebKit as C++11 on Mac
1640         https://bugs.webkit.org/show_bug.cgi?id=100720
1641
1642         Reviewed by Daniel Bates.
1643
1644         * Configurations/Base.xcconfig:
1645         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
1646
1647         * History/WebBackForwardList.mm:
1648         (-[WebBackForwardList description]):
1649         * History/WebHistoryItem.mm:
1650         (-[WebHistoryItem description]):
1651         Add static_casts to prevent implicit type conversions in non-constant initializer lists.
1652
1653 2012-10-28  Mark Rowe  <mrowe@apple.com>
1654
1655         Simplify Xcode configuration settings that used to vary between OS versions.
1656
1657         Reviewed by Dan Bernstein.
1658
1659         * Configurations/Base.xcconfig:
1660         * Configurations/DebugRelease.xcconfig:
1661         * Configurations/WebKit.xcconfig:
1662
1663 2012-10-28  Mark Rowe  <mrowe@apple.com>
1664
1665         Remove references to unsupported OS and Xcode versions.
1666
1667         Reviewed by Anders Carlsson.
1668
1669         * Configurations/Base.xcconfig:
1670         * Configurations/CompilerVersion.xcconfig: Removed.
1671         * Configurations/DebugRelease.xcconfig:
1672         * Configurations/Version.xcconfig:
1673
1674 2012-10-29  Enrica Casucci  <enrica@apple.com>
1675
1676         Add ENABLE_USERSELECT_ALL feature flag.
1677         https://bugs.webkit.org/show_bug.cgi?id=100559
1678
1679         Reviewed by Eric Seidel.
1680
1681         * Configurations/FeatureDefines.xcconfig:
1682
1683 2012-10-27  Alexey Proskuryakov  <ap@apple.com>
1684
1685         All tests crash in WebKit1 mode
1686         https://bugs.webkit.org/show_bug.cgi?id=100602
1687
1688         Reviewed by Sam Weinig.
1689
1690         * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
1691         scheduler is created via a strategy, so strategies need to be initialized before
1692         using it.
1693
1694 2012-10-27  Dan Bernstein  <mitz@apple.com>
1695
1696         REAL_PLATFORM_NAME build setting is no longer needed
1697         https://bugs.webkit.org/show_bug.cgi?id=100587
1698
1699         Reviewed by Mark Rowe.
1700
1701         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
1702         to PLATFORM_NAME.
1703
1704         * Configurations/Base.xcconfig:
1705         * Configurations/CompilerVersion.xcconfig:
1706         * Configurations/DebugRelease.xcconfig:
1707         * Configurations/FeatureDefines.xcconfig:
1708         * Configurations/Version.xcconfig:
1709         * Configurations/WebKit.xcconfig:
1710
1711 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
1712
1713         Add feature flags for CSS Device Adaptation
1714         https://bugs.webkit.org/show_bug.cgi?id=95960
1715
1716         Reviewed by Kenneth Rohde Christiansen.
1717
1718         * Configurations/FeatureDefines.xcconfig:
1719
1720 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
1721
1722         Conditionalize XHR timeout support
1723         https://bugs.webkit.org/show_bug.cgi?id=100356
1724
1725         Reviewed by Adam Barth.
1726
1727         Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
1728         Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
1729
1730         * Configurations/FeatureDefines.xcconfig:
1731
1732 2012-10-24  Timothy Hatcher  <timothy@apple.com>
1733
1734         Fix a crash seen during the Inspector tests on the WebKit1 bots.
1735
1736         Reviewed by Filip Pizlo.
1737
1738         * WebCoreSupport/WebInspectorClient.mm:
1739         (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
1740         is not the same when the Inspector is docked.
1741
1742 2012-10-24  Brady Eidson  <beidson@apple.com>
1743
1744         Add a strategy for loader customization.
1745         https://bugs.webkit.org/show_bug.cgi?id=100278
1746
1747         Reviewed by Alexey Proskuryakov.
1748
1749         * WebCoreSupport/WebPlatformStrategies.h:
1750         (WebPlatformStrategies):
1751         * WebCoreSupport/WebPlatformStrategies.mm:
1752         (WebPlatformStrategies::createLoaderStrategy):
1753
1754 2012-10-24  Timothy Hatcher  <timothy@apple.com>
1755
1756         Make the Inspector WKView/WebView become the first responder when bringToFront is called.
1757
1758         https://bugs.webkit.org/show_bug.cgi?id=100209
1759
1760         Reviewed by Joseph Pecoraro.
1761
1762         * WebCoreSupport/WebInspectorClient.mm:
1763         (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
1764
1765 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
1766
1767         Add a strategy for shared workers
1768         https://bugs.webkit.org/show_bug.cgi?id=100165
1769
1770         Reviewed by Brady Eidson.
1771
1772         * WebCoreSupport/WebPlatformStrategies.h:
1773         * WebCoreSupport/WebPlatformStrategies.mm:
1774         (WebPlatformStrategies::createPasteboardStrategy):
1775         (WebPlatformStrategies::createSharedWorkerStrategy):
1776         (WebPlatformStrategies::createVisitedLinkStrategy):
1777
1778 2012-10-24  Eric Carlson  <eric.carlson@apple.com>
1779
1780         Allow ports to override text track rendering style
1781         https://bugs.webkit.org/show_bug.cgi?id=97800
1782         <rdar://problem/12044964>
1783
1784         Reviewed by Maciej Stachowiak.
1785
1786         * WebCoreSupport/WebSystemInterface.mm:
1787         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1788
1789 2012-10-23  Dan Bernstein  <mitz@apple.com>
1790
1791         WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
1792         https://bugs.webkit.org/show_bug.cgi?id=100188
1793
1794         Reviewed by Sam Weinig.
1795
1796         * WebView/WebView.mm:
1797         (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
1798         code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
1799         default. Changed to refer to that default key by name.
1800
1801 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
1802
1803         Add support for resolution media query
1804         https://bugs.webkit.org/show_bug.cgi?id=99077
1805
1806         Reviewed by Antti Koivisto.
1807
1808         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
1809
1810         * Configurations/FeatureDefines.xcconfig:
1811
1812 2012-10-21  Andreas Kling  <kling@webkit.org>
1813
1814         Remove Page::javaScriptURLsAreAllowed setting.
1815         <http://webkit.org/b/99944>
1816
1817         Reviewed by Anders Carlsson.
1818
1819         * WebKit.order:
1820         * WebView/WebView.mm:
1821         * WebView/WebViewPrivate.h:
1822
1823 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
1824
1825         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
1826         https://bugs.webkit.org/show_bug.cgi?id=99804
1827
1828         Reviewed by Julien Chaffraix.
1829
1830         CSS3 text related properties will be implemented under this flag,
1831         including text decoration, text-align-last, and text-justify.
1832
1833         * Configurations/FeatureDefines.xcconfig:
1834
1835 2012-10-18  Pablo Flouret  <pablof@motorola.com>
1836
1837         Implement css3-conditional's @supports rule
1838         https://bugs.webkit.org/show_bug.cgi?id=86146
1839
1840         Reviewed by Antti Koivisto.
1841
1842         * Configurations/FeatureDefines.xcconfig:
1843             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
1844
1845 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
1846
1847         [Mac] Uninitialized Members in WebDataSourcePrivate
1848         https://bugs.webkit.org/show_bug.cgi?id=99617
1849
1850         Reviewed by David Kilzer.
1851
1852         Initialize BOOL member variables.
1853
1854         * WebView/WebDataSource.mm:
1855         (WebDataSourcePrivate::WebDataSourcePrivate):
1856
1857 2012-10-17  Mark Rowe  <mrowe@apple.com>
1858
1859         Fix the build with a newer version of clang.
1860
1861         Reviewed by Dan Bernstein.
1862
1863         Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
1864         While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
1865         with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
1866         therefore generates a warning in newer versions of the compiler.
1867
1868         Fixes <rdar://problem/12503709>.
1869
1870         * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
1871         * Misc/WebCoreStatistics.mm: Ditto.
1872         (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
1873         (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
1874
1875 2012-10-16  Jian Li  <jianli@chromium.org>
1876
1877         Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
1878         https://bugs.webkit.org/show_bug.cgi?id=98975
1879
1880         Reviewed by Adam Barth.
1881
1882         Renaming is needed to better match with the draggable region code.
1883
1884         * Configurations/FeatureDefines.xcconfig:
1885
1886 2012-10-15  Dan Bernstein  <mitz@apple.com>
1887
1888         WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
1889         https://bugs.webkit.org/show_bug.cgi?id=99113
1890
1891         Reviewed by Tim Horton.
1892
1893         * WebCoreSupport/WebSystemInterface.mm:
1894         (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
1895
1896 2012-10-15  David Kilzer  <ddkilzer@apple.com>
1897
1898         Move framework and library linking into WebKit.xcconfig
1899         <http://webkit.org/b/99284>
1900
1901         Reviewed by Mark Rowe.
1902
1903         * Configurations/WebKit.xcconfig: Move frameworks and libraries
1904         link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
1905
1906 2012-10-14  Jon Lee  <jonlee@apple.com>
1907
1908         Allow notification origin permission request when no js callback is provided
1909         https://bugs.webkit.org/show_bug.cgi?id=63615
1910         <rdar://problem/11059590>
1911
1912         Reviewed by Sam Weinig.
1913
1914         Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
1915         we do not fall through to calling the standard API's callback if the legacy API's callback is null.
1916
1917         * WebCoreSupport/WebNotificationClient.mm:
1918         (WebCore):
1919         (-[WebNotificationPolicyListener initWithVoidCallback:]):
1920         (-[WebNotificationPolicyListener allow]):
1921         (-[WebNotificationPolicyListener deny]):
1922
1923 2012-10-14  Sam Weinig  <sam@webkit.org>
1924
1925         Make UserScript and UserStyleSheet value objects that are copyable
1926         https://bugs.webkit.org/show_bug.cgi?id=99275
1927
1928         Reviewed by Tim Horton.
1929
1930         * WebView/WebView.mm:
1931         (-[WebView _injectMailQuirksScript]):
1932         (-[WebView _injectOutlookQuirksScript]):
1933         Update for new PageGroup function signatures.
1934
1935 2012-10-10  Brady Eidson  <beidson@apple.com>
1936
1937         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1938         https://bugs.webkit.org/show_bug.cgi?id=98976
1939
1940         Reviewed by Anders Carlsson.
1941
1942         * WebView/WebDataSource.mm:
1943         (-[WebDataSource data]):
1944
1945 2012-10-10  Jer Noble  <jer.noble@apple.com>
1946
1947         Disallow full screen mode keyboard access by default.
1948         https://bugs.webkit.org/show_bug.cgi?id=98971
1949         <rdar://problem/12474226>
1950
1951         Reviewed by Sam Weinig.
1952
1953         Only support full screen if keyboard access is not requested.
1954
1955         * WebView/WebView.mm:
1956         (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
1957
1958 2012-10-10  Jon Lee  <jonlee@apple.com>
1959
1960         [WK2] Activate plugins when user clicks on snapshot
1961         https://bugs.webkit.org/show_bug.cgi?id=98328
1962         <rdar://problem/12426681>
1963
1964         Reviewed by Brady Eidson.
1965
1966         * WebCoreSupport/WebFrameLoaderClient.h:
1967         * WebCoreSupport/WebFrameLoaderClient.mm:
1968         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1969
1970 2012-10-10  Brady Eidson  <beidson@apple.com>
1971
1972         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1973         https://bugs.webkit.org/show_bug.cgi?id=98541
1974
1975         Reviewed by Anders Carlsson.
1976
1977         * WebView/WebHTMLView.mm:
1978         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1979
1980 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
1981
1982         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
1983         https://bugs.webkit.org/show_bug.cgi?id=98839
1984
1985         Reviewed by Sam Weinig.
1986
1987         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
1988         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
1989         but store the computed rect in m_visibleRect.
1990         
1991         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
1992         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
1993
1994         * WebView/WebFrame.mm:
1995         (-[WebFrame _layerTreeAsText]):
1996
1997 2012-10-09  Jian Li  <jianli@chromium.org>
1998
1999         Update the CSS property used to support draggable regions.
2000         https://bugs.webkit.org/show_bug.cgi?id=97156
2001
2002         Reviewed by Adam Barth.
2003
2004         The CSS property to support draggable regions, guarded under
2005         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
2006         confusion with DASHBOARD_SUPPORT feature.
2007
2008         Also update the code to use the new name annotatedRegions to work for
2009         both features.
2010
2011         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
2012         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
2013         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
2014         (WebChromeClient::annotatedRegionsChanged):
2015         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
2016         (-[WebView _dashboardRegions]):
2017
2018 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
2019
2020         Unreviewed, rolling out r130811 and r130821.
2021         http://trac.webkit.org/changeset/130811
2022         http://trac.webkit.org/changeset/130821
2023         https://bugs.webkit.org/show_bug.cgi?id=98831
2024
2025         Broke date-suggestion-picker-appearance-with-scroll-bar.html
2026         (Requested by abarth|gardening on #webkit).
2027
2028         * WebView/WebFullScreenController.mm:
2029         (screenRectOfContents):
2030         * WebView/WebRenderNode.mm:
2031         (copyRenderNode):
2032
2033 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
2034
2035         Throttle DOM timers on hidden pages.
2036         https://bugs.webkit.org/show_bug.cgi?id=98474
2037
2038         Reviewed by Maciej Stachowiak.
2039
2040         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
2041         DumpRenderTree to modify the visibility state of a page.  The latter
2042         is needed to test throttling of timers on hidden pages through DumpRenderTree.
2043
2044         * Configurations/FeatureDefines.xcconfig:
2045         * WebView/WebView.mm:
2046         (-[WebView _setVisibilityState:isInitialState:]):
2047         * WebView/WebViewPrivate.h:
2048
2049 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
2050
2051         Rename first/second to key/value in HashMap iterators
2052         https://bugs.webkit.org/show_bug.cgi?id=82784
2053
2054         Reviewed by Eric Seidel.
2055
2056         * History/WebHistory.mm:
2057         (-[WebHistoryPrivate removeItemFromDateCaches:]):
2058         (-[WebHistoryPrivate orderedLastVisitedDays]):
2059         (WebHistoryWriter::WebHistoryWriter):
2060         * Misc/WebCoreStatistics.mm:
2061         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
2062         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
2063         * Plugins/Hosted/NetscapePluginHostManager.mm:
2064         (WebKit::NetscapePluginHostManager::hostForPlugin):
2065         (WebKit::NetscapePluginHostManager::pluginHostDied):
2066         (WebKit::NetscapePluginHostManager::didCreateWindow):
2067         * Plugins/Hosted/NetscapePluginHostProxy.mm:
2068         (WebKit::NetscapePluginHostProxy::pluginHostDied):
2069         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
2070         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
2071         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
2072         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
2073         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
2074         (WebKit::NetscapePluginInstanceProxy::destroy):
2075         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
2076         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
2077         * Plugins/Hosted/ProxyInstance.mm:
2078         (WebKit::ProxyInstance::methodNamed):
2079         (WebKit::ProxyInstance::fieldNamed):
2080         * Plugins/WebNetscapePluginView.mm:
2081         (-[WebNetscapePluginView stopTimers]):
2082         (-[WebNetscapePluginView startTimers]):
2083         * WebCoreSupport/WebNotificationClient.mm:
2084         (WebNotificationClient::show):
2085         (WebNotificationClient::clearNotifications):
2086         (WebNotificationClient::notificationObjectDestroyed):
2087         * WebView/WebHTMLView.mm:
2088         (commandNameForSelector):
2089
2090 2012-10-06  Dan Bernstein  <mitz@apple.com>
2091
2092         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
2093         https://bugs.webkit.org/show_bug.cgi?id=98601
2094
2095         Reviewed by Darin Adler.
2096
2097         * WebView/WebView.mm:
2098         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
2099         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
2100         the value YES.
2101
2102 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
2103
2104         Unreviewed, rolling out r130556 and r130564.
2105         http://trac.webkit.org/changeset/130556
2106         http://trac.webkit.org/changeset/130564
2107         https://bugs.webkit.org/show_bug.cgi?id=98572
2108
2109         The patch wasn't reviewed by a reviewer and it is breaking
2110         Chromium Windows (Requested by jchaffraix on #webkit).
2111
2112         * WebCoreSupport/WebSystemInterface.mm:
2113         (InitWebCoreSystemInterface):
2114
2115 2012-10-05  Tim Horton  <timothy_horton@apple.com>
2116
2117         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
2118         https://bugs.webkit.org/show_bug.cgi?id=98565
2119         <rdar://problem/12436468>
2120
2121         Reviewed by Simon Fraser.
2122
2123         Add wkCGContextDrawsWithCorrectShadowOffsets.
2124
2125         * WebCoreSupport/WebSystemInterface.mm:
2126         (InitWebCoreSystemInterface):
2127
2128 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
2129
2130         Allow ports to override text track rendering style
2131         https://bugs.webkit.org/show_bug.cgi?id=97800
2132         <rdar://problem/12044964>
2133
2134         Reviewed by Silvia Pfeiffer.
2135
2136         Add WCSI support for new WKSI caption functions.
2137
2138         * WebCoreSupport/WebSystemInterface.mm:
2139         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
2140
2141 2012-10-04  Jon Lee  <jonlee@apple.com>
2142
2143         Add a setting to enable plugin snapshotting
2144         https://bugs.webkit.org/show_bug.cgi?id=98319
2145         <rdar://problem/12426480>
2146
2147         Reviewed by Brady Eidson.
2148
2149         Expose plugInSnapshottingEnabled preference to WebKit clients.
2150
2151         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
2152         * WebView/WebPreferences.mm:
2153         (+[WebPreferences initialize]): Setting is turned off by default.
2154         (-[WebPreferences plugInSnapshottingEnabled]):
2155         (-[WebPreferences setPlugInSnapshottingEnabled:]):
2156         * WebView/WebPreferencesPrivate.h:
2157         * WebView/WebView.mm:
2158         (-[WebView _preferencesChanged:]): Update settings based on preference.
2159
2160 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
2161
2162         Turn Compositing on by default in WebKit build
2163         https://bugs.webkit.org/show_bug.cgi?id=98315
2164
2165         Reviewed by Simon Fraser.
2166
2167         enable -webkit-blend-mode on trunk.
2168
2169         * Configurations/FeatureDefines.xcconfig:
2170
2171 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
2172
2173         Final part of "sync" to "flush" renaming
2174         https://bugs.webkit.org/show_bug.cgi?id=98430
2175
2176         Reviewed by Tim Horton.
2177
2178         Change method names on GraphicsLayer and GraphicsLayerClient that
2179         refer to "sync" to use the term "flush" instead, to be consistent
2180         with the rest of the code.
2181
2182         * WebView/WebView.mm:
2183
2184 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
2185
2186         [WK2] Support all attributes of GeolocationPosition
2187         https://bugs.webkit.org/show_bug.cgi?id=98212
2188
2189         Reviewed by Sam Weinig.
2190
2191         Add an internal constructor for the sake of testing.
2192         A similar API is used on iOS.
2193
2194         * WebView/WebGeolocationPosition.mm:
2195         (-[WebGeolocationPosition initWithGeolocationPosition:]):
2196
2197 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
2198
2199         Standardize on "flush" terminology for compositing layer flushing/syncing
2200         https://bugs.webkit.org/show_bug.cgi?id=98321
2201
2202         Reviewed by Simon Fraser.
2203
2204         Rename compositing-related methods that refer to "syncing" to instead
2205         refer to "flushing".
2206
2207         * WebCoreSupport/WebChromeClient.h:
2208         * WebCoreSupport/WebChromeClient.mm:
2209         (WebChromeClient::scheduleCompositingLayerFlush):
2210         * WebView/WebView.mm:
2211         (-[WebView _flushCompositingChanges]):
2212         (LayerFlushController::flushLayers):
2213         (-[WebView _scheduleCompositingLayerFlush]):
2214         * WebView/WebViewInternal.h:
2215
2216 == Rolled over to ChangeLog-2012-10-02 ==