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