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