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