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