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