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