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