Add a separate class for networking related storage
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2012-12-22  Alexey Proskuryakov  <ap@apple.com>
2
3         Add a separate class for networking related storage
4         https://bugs.webkit.org/show_bug.cgi?id=105676
5
6         Reviewed by Sam Weinig.
7
8         * WebCoreSupport/WebFrameLoaderClient.mm:
9         Updated for ResourceHandle include changes.
10
11         * WebCoreSupport/WebFrameNetworkingContext.h:
12         * WebCoreSupport/WebFrameNetworkingContext.mm:
13         This class is now simpler, with more session tracking being in WebCore now.
14
15         * WebCoreSupport/WebPlatformStrategies.h:
16         * WebCoreSupport/WebPlatformStrategies.mm:
17         (WebPlatformStrategies::cookiesForDOM):
18         (WebPlatformStrategies::setCookiesFromDOM):
19         (WebPlatformStrategies::cookiesEnabled):
20         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
21         (WebPlatformStrategies::getRawCookies):
22         (WebPlatformStrategies::deleteCookie):
23         We no longer need a function for default cookie storage! Other cookie functions
24         now take a session.
25
26         * WebView/WebPreferences.mm:
27         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Initialize WCSI before
28         calling a WebCore that uses it.
29         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Use
30         NetworkStorageSession for session tracking.
31
32         * WebView/WebView.mm: (-[WebView _cachedResponseForURL:]): Updated for networking
33         context now returning a class for session.
34
35 2012-12-20  Ilya Tikhonovsky  <loislo@chromium.org>
36
37         Unreviewed build fix for chromium mac after r138206.
38
39         * WebCoreSupport/WebSystemInterface.mm:
40         (InitWebCoreSystemInterface):
41
42 2012-12-19  Alexey Proskuryakov  <ap@apple.com>
43
44         <rdar://problem/12890242> [WK2 NetworkProcess] Client doesn't receive SSL certificates
45         https://bugs.webkit.org/show_bug.cgi?id=105467
46
47         Reviewed by Brady Eidson.
48
49         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Initialize
50         a WKSI function we've been missing.
51
52 2012-12-19  Alexis Menard  <alexis@webkit.org>
53
54         Implement CSS parsing for CSS transitions unprefixed.
55         https://bugs.webkit.org/show_bug.cgi?id=104804
56
57         Reviewed by Dean Jackson.
58
59         Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
60         to cover the work of unprefixing Transforms, Animations and 
61         Transitions. It will let the possibility of each ports to turn it off 
62         in their release branches until we're confident that these CSS 
63         properties are ready to be unprefixed.
64
65         * Configurations/FeatureDefines.xcconfig:
66
67 2012-12-18  Alexey Proskuryakov  <ap@apple.com>
68
69         Remove unnecessary functions from CookiesStrategy
70         https://bugs.webkit.org/show_bug.cgi?id=105369
71
72         Reviewed by Brady Eidson.
73
74         * WebCoreSupport/WebPlatformStrategies.h:
75         * WebCoreSupport/WebPlatformStrategies.mm:
76
77 2012-12-18  Alice Liu  <alice.liu@apple.com>
78
79         Add SPI to WebKit1 WebFrame for hit testing
80         https://bugs.webkit.org/show_bug.cgi?id=105106
81
82         Reviewed by Dan Bernstein.
83
84         * WebView/WebFrame.mm:
85         (-[WebFrame elementAtPoint:]): Added. Takes an NSPoint to feed to the WebCore::Frame for hit-testing.
86         Creates a WebElementDictionary from that WebCore::HitTestResult, and returns the element dictionary. 
87         * WebView/WebFramePrivate.h:
88
89 2012-12-18  Alice Liu  <alice.liu@apple.com>
90
91         Add SPI to WebKit1 WebFrame for node conversion to JSValueRef
92         https://bugs.webkit.org/show_bug.cgi?id=105262
93
94         Reviewed by Anders Carlsson.
95
96         * WebView/WebFrame.mm:
97         (-[WebFrame jsWrapper:forWorld:]): Added. Takes a DOMNode and WebScriptWorld and provides a JSValueRef
98         for the WebCore::Node in that particular WebScriptWorld.
99         * WebView/WebFramePrivate.h:
100
101 2012-12-18  Beth Dakin  <bdakin@apple.com>
102
103         https://bugs.webkit.org/show_bug.cgi?id=102579
104         [mac] Enable scaled cursors
105
106         Reviewed by Dean Jackson.
107
108         * Configurations/FeatureDefines.xcconfig:
109
110 2012-12-16  Levi Weintraub  <leviw@chromium.org>
111
112         Push pixel snapping logic into TransformState
113         https://bugs.webkit.org/show_bug.cgi?id=101779
114
115         Reviewed by Simon Fraser.
116
117         * WebView/WebFullScreenController.mm:
118         (screenRectOfContents): Removed SnapOffsetForTransforms as it's no longer needed.
119
120 2012-12-15  Anders Carlsson  <andersca@apple.com>
121
122         Rename FrameLoaderClient::download to convertMainResourceLoadToDownload
123         https://bugs.webkit.org/show_bug.cgi?id=105122
124
125         Reviewed by Andreas Kling.
126
127         Update for WebCore changes.
128
129         * WebCoreSupport/WebFrameLoaderClient.h:
130         (WebFrameLoaderClient):
131         * WebCoreSupport/WebFrameLoaderClient.mm:
132         (WebFrameLoaderClient::convertMainResourceLoadToDownload):
133
134 2012-12-15  Mark Lam  <mark.lam@apple.com>
135
136         Re-landing patch for "Introducing the DatabaseStrategy and database servers".
137         https://bugs.webkit.org/show_bug.cgi?id=104934.
138
139         Not reviewed.
140
141         Merged from r137767. Previously reviewed by Sam Weinig.
142
143         * WebCoreSupport/WebPlatformStrategies.h:
144         (WebPlatformStrategies):
145         * WebCoreSupport/WebPlatformStrategies.mm:
146         (WebPlatformStrategies::createDatabaseStrategy):
147
148 2012-12-14  Mark Lam  <mark.lam@apple.com>
149
150         The WebView should initialize the platform strategies before initializing other sub-systems.
151         https://bugs.webkit.org/show_bug.cgi?id=105083.
152
153         Reviewed by Alexey Proskuryakov.
154
155         * WebView/WebView.mm:
156         (-[WebView _commonInitializationWithFrameName:groupName:]):
157
158 2012-12-14  Sheriff Bot  <webkit.review.bot@gmail.com>
159
160         Unreviewed, rolling out r137767.
161         http://trac.webkit.org/changeset/137767
162         https://bugs.webkit.org/show_bug.cgi?id=105062
163
164         Broke Mac builds. (Requested by mlam on #webkit).
165
166         * WebCoreSupport/WebPlatformStrategies.h:
167         (WebPlatformStrategies):
168         * WebCoreSupport/WebPlatformStrategies.mm:
169
170 2012-12-14  Mark Lam  <mark.lam@apple.com>
171
172         Introducing the DatabaseStrategy and database servers.
173         https://bugs.webkit.org/show_bug.cgi?id=104934.
174
175         Reviewed by Sam Weinig.
176
177         The database server is currently a placeholder that does nothing.
178
179         * WebCoreSupport/WebPlatformStrategies.h:
180         (WebPlatformStrategies):
181         * WebCoreSupport/WebPlatformStrategies.mm:
182         (WebPlatformStrategies::createDatabaseStrategy):
183
184 2012-12-13  Alexey Proskuryakov  <ap@apple.com>
185
186         <rdar://problem/12838354> Per-Tab WebProcess: DOM cookie access functions should respect private browsing
187         https://bugs.webkit.org/show_bug.cgi?id=104691
188
189         Reviewed by Sam Weinig.
190
191         * WebCoreSupport/WebFrameNetworkingContext.h:
192         * WebCoreSupport/WebFrameNetworkingContext.mm:
193         (WebFrameNetworkingContext::inPrivateBrowsingMode):
194         (WebFrameNetworkingContext::storageSession):
195         Implemented inPrivateBrowsingMode().
196
197 2012-12-12  Mark Lam  <mark.lam@apple.com>
198
199         Encapsulate externally used webdatabase APIs in DatabaseManager.
200         https://bugs.webkit.org/show_bug.cgi?id=104741.
201
202         Reviewed by Sam Weinig.
203
204         Use DatabaseManager instead of accessing DatabaseTracker, AbstractDatabase,
205         and DatabaseContext directly. This is to prepare for upcoming webkit2
206         refactoring.
207
208         * Storage/WebDatabaseManager.mm:
209         (-[WebDatabaseManager origins]):
210         (-[WebDatabaseManager databasesWithOrigin:]):
211         (-[WebDatabaseManager detailsForDatabase:withOrigin:]):
212         (-[WebDatabaseManager deleteAllDatabases]):
213         (-[WebDatabaseManager deleteOrigin:]):
214         (-[WebDatabaseManager deleteDatabase:withOrigin:]):
215         (WebKitInitializeDatabasesIfNecessary):
216         * Storage/WebDatabaseManagerClient.h: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.h.
217         (WebDatabaseManagerClient):
218         * Storage/WebDatabaseManagerClient.mm: Copied from Source/WebKit/mac/Storage/WebDatabaseTrackerClient.mm.
219         (WebDatabaseManagerClient::sharedWebDatabaseManagerClient):
220         (WebDatabaseManagerClient::WebDatabaseManagerClient):
221         (WebDatabaseManagerClient::~WebDatabaseManagerClient):
222         (DidModifyOriginData::dispatchToMainThread):
223         (DidModifyOriginData::DidModifyOriginData):
224         (DidModifyOriginData):
225         (WebDatabaseManagerClient::dispatchDidModifyOrigin):
226         (WebDatabaseManagerClient::dispatchDidModifyDatabase):
227         * Storage/WebDatabaseQuotaManager.mm:
228         (-[WebDatabaseQuotaManager usage]):
229         (-[WebDatabaseQuotaManager quota]):
230         (-[WebDatabaseQuotaManager setQuota:]):
231         * Storage/WebDatabaseTrackerClient.h: Removed.
232         * Storage/WebDatabaseTrackerClient.mm: Removed.
233         * WebCoreSupport/WebSecurityOrigin.mm:
234         (-[WebSecurityOrigin usage]):
235         (-[WebSecurityOrigin quota]):
236         (-[WebSecurityOrigin setQuota:]):
237         * WebKit.order:
238         * WebView/WebFrame.mm:
239         (-[WebFrame _cacheabilityDictionary]):
240         * WebView/WebView.mm:
241         (-[WebView _preferencesChanged:]):
242
243 2012-12-12  Alexey Proskuryakov  <ap@apple.com>
244
245         Make LOG() work in WebProcess and NetworkProcess
246         https://bugs.webkit.org/show_bug.cgi?id=104718
247
248         Reviewed by Tim Horton.
249
250         * WebView/WebView.mm: Use WebCore/InitializeLogging.h to avoid conflicts between
251         WebCore and WebKit versions of this file.
252
253 2012-12-11  Mike West  <mkwst@chromium.org>
254
255         Web Inspector: ConsoleTypes should not expose MessageType - it should be private to inspector.
256         https://bugs.webkit.org/show_bug.cgi?id=66371
257
258         Reviewed by Pavel Feldman.
259
260         Drops WebCore::MessageType from the addMessageToConsole method.
261
262         * WebCoreSupport/WebChromeClient.h:
263         (WebChromeClient):
264         * WebCoreSupport/WebChromeClient.mm:
265         (WebChromeClient::addMessageToConsole):
266
267 2012-12-09  Antti Koivisto  <antti@apple.com>
268
269         Factor node traversal into standalone functions
270         https://bugs.webkit.org/show_bug.cgi?id=104507
271
272         Reviewed by Eric Seidel.
273     
274         * WebView/WebHTMLRepresentation.mm:
275         (searchForLabelsBeforeElement):
276
277 2012-12-10  Alexis Menard  <alexis@webkit.org>
278
279         [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag.
280         https://bugs.webkit.org/show_bug.cgi?id=104539
281
282         Reviewed by Antonio Gomes.
283
284         As discussed on webkit-dev it is not needed to keep this feature flag 
285         as support for <position> type is a small feature that is already 
286         implemented by three other UAs. It was useful while landing this 
287         feature as partial bits were landed one after one.
288
289         * Configurations/FeatureDefines.xcconfig:
290
291 2012-12-06  Rick Byers  <rbyers@chromium.org>
292
293         CSS cursor property should support webkit-image-set
294         https://bugs.webkit.org/show_bug.cgi?id=99493
295
296         Reviewed by Beth Dakin.
297
298         Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
299
300         * Configurations/FeatureDefines.xcconfig:
301
302 2012-12-03  Yury Semikhatsky  <yurys@chromium.org>
303
304         Unreviewed. Fix Mac compilation after r136448.
305
306         * WebCoreSupport/WebChromeClient.mm:
307         (stringForMessageType):
308
309 2012-12-03  Alexis Menard  <alexis@webkit.org>
310
311         [Mac] Enable CSS3 background-position offset by default.
312         https://bugs.webkit.org/show_bug.cgi?id=103905
313
314         Reviewed by Simon Fraser.
315
316         Turn the flag on by default.
317
318         * Configurations/FeatureDefines.xcconfig:
319
320 2012-12-02  Yongjun Zhang  <yongjun_zhang@apple.com>
321
322         Need a method to close all idle localstorage databases immediately.
323         https://bugs.webkit.org/show_bug.cgi?id=103469
324
325         Reviewed by David Kilzer.
326
327         Add a new method to WebStorageManager that we can call to close all
328         idle local storage databases.
329
330         * Storage/WebStorageManager.mm:
331         (+[WebStorageManager closeIdleLocalStorageDatabases]):
332         * Storage/WebStorageManagerPrivate.h:
333
334 2012-11-30  Mihai Maerean  <mmaerean@adobe.com>
335
336         [CSSRegions] when WebKit uses V8, there should be a single variable to store if the CSS Regions feature is enabled
337         https://bugs.webkit.org/show_bug.cgi?id=101192
338
339         Reviewed by Hajime Morita.
340
341         Removed the CSS Regions flag in Settings and switched to using the new flag I have added in RuntimeEnabledFeatures.
342
343         Tests: No new tests because there is no functional change.
344
345         * WebView/WebView.mm:
346         (-[WebView _preferencesChanged:]):
347
348 2012-11-29  Rafael Weinstein  <rafaelw@chromium.org>
349
350         [HTMLTemplateElement] Add feature flag
351         https://bugs.webkit.org/show_bug.cgi?id=103694
352
353         Reviewed by Adam Barth.
354
355         This flag will guard the implementation of the HTMLTemplateElement.
356         http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html
357
358         * Configurations/FeatureDefines.xcconfig:
359
360 2012-11-29  Alexey Proskuryakov  <ap@apple.com>
361
362         [WK2] Forward cookie jar calls to NetworkProcess
363         https://bugs.webkit.org/show_bug.cgi?id=103457
364
365         Reviewed by Darin Adler.
366
367         * WebCoreSupport/WebPlatformStrategies.h:
368         (WebPlatformStrategies):
369         * WebCoreSupport/WebPlatformStrategies.mm:
370         (WebPlatformStrategies::cookiesForDOM):
371         (WebPlatformStrategies::setCookiesFromDOM):
372         (WebPlatformStrategies::cookiesEnabled):
373         (WebPlatformStrategies::cookieRequestHeaderFieldValue):
374         (WebPlatformStrategies::getRawCookies):
375         (WebPlatformStrategies::deleteCookie):
376         (WebPlatformStrategies::getHostnamesWithCookies):
377         (WebPlatformStrategies::deleteCookiesForHostname):
378         (WebPlatformStrategies::deleteAllCookies):
379         (WebPlatformStrategies::getPluginInfo):
380         (WebPlatformStrategies::bufferForType):
381         WebKit1 strategy just uses PlatformCookieJar.
382
383 2012-11-28  Beth Dakin  <bdakin@apple.com>
384
385         https://bugs.webkit.org/show_bug.cgi?id=102970
386         [WK1] REGRESSION (r129545): Main frame doesn't rubberband unless 
387         WebFrameLoadDelegate implements -webView:didFirstLayoutInFrame:
388
389         Reviewed by Sam Weinig.
390
391         We should always register for DidFirstLayout in WK1 since we do work 
392         at that time besides just calling the delegate function.
393         * WebView/WebView.mm:
394         (-[WebView _cacheFrameLoadDelegateImplementations]):
395
396 2012-11-27  Michael Saboff  <msaboff@apple.com>
397
398         TextIterator unnecessarily converts 8 bit strings to 16 bits
399         https://bugs.webkit.org/show_bug.cgi?id=103295
400
401         Reviewed by Brent Fulgham.
402
403         Updated _stringForRange to use plainText() instead of removed plainTextToMallocAllocatedBuffer().
404
405         * WebView/WebFrame.mm:
406         (-[WebFrame _stringForRange:]):
407
408 2012-11-27  James Simonsen  <simonjam@chromium.org>
409
410         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
411         https://bugs.webkit.org/show_bug.cgi?id=102151
412
413         Reviewed by Adam Barth.
414
415         * Plugins/WebPluginController.mm:
416         * WebView/WebFrame.mm:
417         (-[WebFrame loadRequest:]):
418         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
419
420 2012-11-27  Pratik Solanki  <psolanki@apple.com>
421
422         objc/objc-runtime.h does not exist on all PLATFORM(MAC)
423         https://bugs.webkit.org/show_bug.cgi?id=101780
424
425         Reviewed by Brent Fulgham.
426
427         Clean up header includes so we don't include objc/objc-runtime.h.
428
429         * Carbon/HIWebView.mm:
430         (UpdateCommandStatus): Use wtfObjcMsgSend template instead of objc_msgSend.
431         * Plugins/WebNetscapePluginView.mm:
432         * Plugins/WebPluginContainerCheck.mm:
433         (-[WebPluginContainerCheck _continueWithPolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
434         * Plugins/WebPluginController.mm:
435         * WebCoreSupport/WebCachedFramePlatformData.h:
436         * WebCoreSupport/WebDeviceOrientationClient.mm:
437         * WebView/WebDelegateImplementationCaching.mm:
438         * WebView/WebHTMLView.mm:
439         * WebView/WebPDFDocumentExtras.mm:
440         * WebView/WebPolicyDelegate.mm:
441         (-[WebPolicyDecisionListener _usePolicy:]): Use wtfObjcMsgSend template instead of objc_msgSend.
442         * WebView/WebView.mm:
443
444 2012-11-27  Sheriff Bot  <webkit.review.bot@gmail.com>
445
446         Unreviewed, rolling out r135786.
447         http://trac.webkit.org/changeset/135786
448         https://bugs.webkit.org/show_bug.cgi?id=103379
449
450         It made 3 plugin tests timeout on several platforms (Requested
451         by Ossy on #webkit).
452
453         * Plugins/WebPluginController.mm:
454         * WebView/WebFrame.mm:
455         (-[WebFrame loadRequest:]):
456         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
457
458 2012-11-26  James Simonsen  <simonjam@chromium.org>
459
460         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
461         https://bugs.webkit.org/show_bug.cgi?id=102151
462
463         Reviewed by Adam Barth.
464
465         * Plugins/WebPluginController.mm:
466         * WebView/WebFrame.mm:
467         (-[WebFrame loadRequest:]):
468         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
469
470 2012-11-23  Alexis Menard  <alexis@webkit.org>
471
472         [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing.
473         https://bugs.webkit.org/show_bug.cgi?id=102104
474
475         Reviewed by Julien Chaffraix.
476
477         Protect the new feature behind a feature flag.
478
479         * Configurations/FeatureDefines.xcconfig:
480
481 2012-11-21  Allan Sandfeld Jensen  <allan.jensen@digia.com>
482
483         Disambiguate innerNodeFramePoint and mainFramePoint
484         https://bugs.webkit.org/show_bug.cgi?id=98139
485
486         Reviewed by Julien Chaffraix.
487
488         Switch to using HitTestResult::innerNodeFrame and HitTestResult::innerNodeFramePoint.
489
490         * WebCoreSupport/WebContextMenuClient.mm:
491         (WebContextMenuClient::showContextMenu):
492
493 2012-11-20  Sheriff Bot  <webkit.review.bot@gmail.com>
494
495         Unreviewed, rolling out r135295.
496         http://trac.webkit.org/changeset/135295
497         https://bugs.webkit.org/show_bug.cgi?id=102834
498
499         This patch causes assertion to some layout tests on chromium
500         (Requested by jianli on #webkit).
501
502         * Plugins/WebPluginController.mm:
503         * WebView/WebFrame.mm:
504         (-[WebFrame loadRequest:]):
505         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
506
507 2012-11-20  James Simonsen  <simonjam@chromium.org>
508
509         Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
510         https://bugs.webkit.org/show_bug.cgi?id=102151
511
512         Reviewed by Adam Barth.
513
514         * Plugins/WebPluginController.mm:
515         * WebView/WebFrame.mm:
516         (-[WebFrame loadRequest:]):
517         (-[WebFrame _loadData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
518
519 2012-11-19  Kihong Kwon  <kihong.kwon@samsung.com>
520
521         Add PROXIMITY_EVENTS feature
522         https://bugs.webkit.org/show_bug.cgi?id=102658
523
524         Reviewed by Kentaro Hara.
525
526         Add PROXIMITY_EVENTS feature to xcode project for WebKit.
527
528         * Configurations/FeatureDefines.xcconfig:
529
530 2012-11-16  Tony Chang  <tony@chromium.org>
531
532         Remove ENABLE_CSS_HIERARCHIES since it's no longer in use
533         https://bugs.webkit.org/show_bug.cgi?id=102554
534
535         Reviewed by Andreas Kling.
536
537         As mentioned in https://bugs.webkit.org/show_bug.cgi?id=79939#c41 ,
538         we're going to revist this feature once additional vendor support is
539         achieved.
540
541         * Configurations/FeatureDefines.xcconfig:
542
543 2012-11-15  Alexey Proskuryakov  <ap@apple.com>
544
545         Private Browsing is a per-page setting that sets a global value
546         https://bugs.webkit.org/show_bug.cgi?id=67870
547
548         Reviewed by Sam Weinig.
549
550         * WebCoreSupport/WebFrameNetworkingContext.h:
551         * WebCoreSupport/WebFrameNetworkingContext.mm:
552         Moved functions for managing global sessions from WebCore.
553
554         * WebCoreSupport/WebPlatformStrategies.h:
555         * WebCoreSupport/WebPlatformStrategies.mm:
556         (WebPlatformStrategies::defaultCookieStorage): Added. Uses WebFrameNetworkingContext
557         to reach the storage.
558
559         * WebView/WebPreferences.mm:
560         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): Ditto.
561         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]): Ditto.
562
563         * WebView/WebPreferencesPrivate.h: Added a comment explaining that two functions
564         are not generic enough for use outside DRT (one of them had "testing" in name,
565         but another did not).
566
567         * WebView/WebView.mm:
568         (-[WebView _preferencesChanged:]): Create a global private browsing session when
569         the first view with private browsing is created, delete it when any window with
570         it disabled is created (since this comes from preferences, it applies to all
571         views equally, even though we are dealing with a single one here).
572         (-[WebView _cachedResponseForURL:]): Use main frame's networking context instead of
573         a global one.
574
575 2012-11-13  Timothy Hatcher  <timothy@apple.com>
576
577         Adjust the Web Inspector window title frame if needed to prevent it from intersecting the dock button.
578
579         https://bugs.webkit.org/show_bug.cgi?id=102073
580
581         Reviewed by Joseph Pecoraro.
582
583         * WebCoreSupport/WebInspectorClient.mm:
584         (-[WebInspectorWindow _customTitleFrame]): Added. Adjust the title frame.
585
586 2012-11-12  Simon Fraser  <simon.fraser@apple.com>
587
588         Build fix after r134346 and 134347.
589         
590         Use frameView.isFlipped, not frameView.flipped in the assertion.
591
592         * WebCoreSupport/WebInspectorClient.mm:
593         (-[WebInspectorWindowController window]):
594
595 2012-11-12  Timothy Hatcher  <timothy@apple.com>
596
597         Add a dock button to the top right corner of the Web Inspector window (similar to the full screen button).
598
599         https://bugs.webkit.org/show_bug.cgi?id=102025
600
601         Reviewed by Joseph Pecoraro.
602
603         * Resources/Dock.pdf: Added.
604         * WebCoreSupport/WebInspectorClient.h:
605         * WebCoreSupport/WebInspectorClient.mm:
606         (-[WebInspectorWindow _cursorForResizeDirection:]): Added.
607         (WebInspectorClient::didResizeMainFrame): Call attachAvailabilityChanged instead.
608         (WebInspectorFrontendClient::attachAvailabilityChanged): Added.
609         (-[WebInspectorWindowController window]): Create the dock button and add it.
610         (-[WebInspectorWindowController attachWindow:]): Added.
611         (-[WebInspectorWindowController attach]): Call setAttachedWindow.
612         (-[WebInspectorWindowController detach]): Ditto.
613         (-[WebInspectorWindowController setDockingUnavailable:]): Added. Update hidden state of the dock button.
614
615 2012-11-08  Timothy Hatcher  <timothy@apple.com>
616
617         Always use a textured window for the Web Inspector.
618
619         https://bugs.webkit.org/show_bug.cgi?id=101693
620
621         Reviewed by Joseph Pecoraro.
622
623         * WebCoreSupport/WebInspectorClient.mm:
624         (-[WebInspectorWindowController window]): Removed the conditional for a textured window.
625
626 2012-11-08  Roger Fong  <roger_fong@apple.com>
627
628         Null check URL key entries into WebHistory hash table. 
629         https://bugs.webkit.org/show_bug.cgi?id=101664
630         <rdar://problem/12440852>
631
632         Reviewed by Brady Eidson.
633         
634         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.
635         This prevents the desired page navigation from taking effect. This is a workaround for the problem.
636         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
637         so that navigation can continue as expected.
638
639         * History/WebHistory.mm:
640         (-[WebHistoryPrivate visitedURL:withTitle:increaseVisitCount:]):
641
642 2012-11-07  Andreas Kling  <akling@apple.com>
643
644         Remove build-webkit dependency on Java SDK for Apple Mac WebKit.
645         <http://webkit.org/b/101492>
646
647         Reviewed by Anders Carlsson.
648
649         * Plugins/WebJavaPlugIn.h: Removed.
650
651 2012-11-06  Adam Barth  <abarth@webkit.org>
652
653         Unreviewed attempt to fix the chromium-mac build.
654
655         * WebCoreSupport/WebSystemInterface.mm:
656         (InitWebCoreSystemInterface):
657
658 2012-11-06  Anders Carlsson  <andersca@apple.com>
659
660         Update Java related WKSI function names
661         https://bugs.webkit.org/show_bug.cgi?id=101414
662
663         Reviewed by Sam Weinig.
664
665         * WebCoreSupport/WebChromeClient.mm:
666         (WebChromeClient::unavailablePluginButtonClicked):
667         * WebCoreSupport/WebFrameLoaderClient.mm:
668         (isPlugInInactive):
669
670 2012-11-06  Alexey Proskuryakov  <ap@apple.com>
671
672         Clean up which storage cookie jar functions use
673         https://bugs.webkit.org/show_bug.cgi?id=101395
674
675         Reviewed by Brady Eidson.
676
677         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): Updated for
678         two new functions.
679
680 2012-11-06  Andrey Lushnikov  <lushnikov@google.com>
681
682         Added console.clear() method
683
684         Web Inspector: add console.clear()
685         https://bugs.webkit.org/show_bug.cgi?id=101021
686
687         Reviewed by Vsevolod Vlasov.
688
689         * WebCoreSupport/WebChromeClient.mm:
690         (stringForMessageType): Added ClearMessageType case to switch
691
692 2012-11-05  Alexey Proskuryakov  <ap@apple.com>
693
694         Get rid of setCookieStoragePrivateBrowsingEnabled.
695         https://bugs.webkit.org/show_bug.cgi?id=101247
696
697         Reviewed by Brady Eidson.
698
699         * WebCoreSupport/WebSystemInterface.mm: (InitWebCoreSystemInterface): We no longer
700         have this function.
701
702 2012-11-03  Alexey Proskuryakov  <ap@apple.com>
703
704         Get rid of USE(CFURLSTORAGESESSIONS)
705         https://bugs.webkit.org/show_bug.cgi?id=101131
706
707         Reviewed by Sam Weinig.
708
709         * WebView/WebPreferences.mm:
710         (+[WebPreferences _switchNetworkLoaderToNewTestingSession]):
711         (+[WebPreferences _setCurrentNetworkLoaderSessionCookieAcceptPolicy:]):
712         * WebView/WebView.mm:
713         (-[WebView _cachedResponseForURL:]):
714
715 2012-11-02  Anders Carlsson  <andersca@apple.com>
716
717         Don't instantiate the Java plug-in if it's inactive
718         https://bugs.webkit.org/show_bug.cgi?id=101102
719         <rdar://problem/12595679>
720
721         Reviewed by Andreas Kling.
722
723         * WebCoreSupport/WebChromeClient.mm:
724         (WebChromeClient::shouldUnavailablePluginMessageBeButton):
725         The RenderEmbeddedObject::PluginInactive reason should always result in a button being shown.
726
727         (WebChromeClient::unavailablePluginButtonClicked):
728         If the Java plug-in is inactive, call WKJLReportWebComponentsUsed() to reactivate the plug-in and
729         then reload the page.
730
731         * WebCoreSupport/WebFrameLoaderClient.mm:
732         (isOracleJavaPlugIn):
733         (isPlugInInactive):
734         Helper functions.
735
736         (WebFrameLoaderClient::createPlugin):
737         If the plug-in is inactive, set the appropriate unavailability reason on the renderer.
738
739 2012-11-02  Simon Fraser  <simon.fraser@apple.com>
740
741         Enable SUBPIXEL_LAYOUT on Mac
742         https://bugs.webkit.org/show_bug.cgi?id=101076
743
744         Reviewed by Dave Hyatt.
745
746         Define ENABLE_SUBPIXEL_LAYOUT and include it in FEATURE_DEFINES.
747
748         * Configurations/FeatureDefines.xcconfig:
749
750 2012-11-02  Adam Barth  <abarth@webkit.org>
751
752         ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development
753         https://bugs.webkit.org/show_bug.cgi?id=100711
754
755         Reviewed by Eric Seidel.
756
757         * Configurations/FeatureDefines.xcconfig:
758
759 2012-11-01  Adam Roben  <aroben@webkit.org>
760
761         [WK1] Fixed-position elements jiggle up and down slightly during scrolling on a Retina display
762         https://bugs.webkit.org/show_bug.cgi?id=100957
763
764         Reviewed by Simon Fraser.
765
766         WebCore doesn't yet support subpixel scrolling. WebKit2 forces
767         scrolling to always be integral. Now WebKit1 forces this as well.
768
769         I'm not sure how to write a test for this.
770
771         * WebView/WebDynamicScrollBarsView.mm:
772         (shouldRoundScrollOrigin): Returns YES if there are any position:fixed
773         or position:sticky elements in the page.
774         (-[WebDynamicScrollBarsView scrollClipView:toPoint:]): Round the
775         scroll origin to the nearest pixel if needed.
776
777 2012-10-31  Anders Carlsson  <andersca@apple.com>
778
779         Fix build.
780         <rdar://problem/12612207>.
781
782         Reviewed by Sam Weinig.
783
784         * Panels/WebAuthenticationPanel.m:
785         (-[WebAuthenticationPanel loadNib]):
786
787 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
788
789         [Mac] Sync up FeatureDefine Configuration Files
790         https://bugs.webkit.org/show_bug.cgi?id=100171
791
792         Reviewed by David Kilzer.
793
794         Follow up to better coordinate with iOS feature defines. Make:
795
796           - ENABLE_FILTERS always on
797           - ENABLE_INPUT_* iphonesimulator values point to the iphoneos values
798
799         * Configurations/FeatureDefines.xcconfig:
800
801 2012-10-30  Joseph Pecoraro  <pecoraro@apple.com>
802
803         [Mac] Sync up FeatureDefine Configuration Files
804         https://bugs.webkit.org/show_bug.cgi?id=100171
805
806         Reviewed by David Kilzer.
807
808         Ensure an identical FeatureDefine files across all projects. Changes:
809
810           - ENABLE_CSS_BOX_DECORATION_BREAK should be in all
811           - ENABLE_PDFKIT_PLUGIN should be in all
812           - ENABLE_RESOLUTION_MEDIA_QUERY should be in all
813           - ENABLE_ENCRYPTED_MEDIA should be in all
814           - ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING with corrected value
815           - Some alphabetical ordering cleanup
816
817         * Configurations/FeatureDefines.xcconfig:
818
819 2012-10-29  Anders Carlsson  <andersca@apple.com>
820
821         Build WebKit as C++11 on Mac
822         https://bugs.webkit.org/show_bug.cgi?id=100720
823
824         Reviewed by Daniel Bates.
825
826         * Configurations/Base.xcconfig:
827         Add CLANG_CXX_LANGUAGE_STANDARD=gnu++0x.
828
829         * History/WebBackForwardList.mm:
830         (-[WebBackForwardList description]):
831         * History/WebHistoryItem.mm:
832         (-[WebHistoryItem description]):
833         Add static_casts to prevent implicit type conversions in non-constant initializer lists.
834
835 2012-10-28  Mark Rowe  <mrowe@apple.com>
836
837         Simplify Xcode configuration settings that used to vary between OS versions.
838
839         Reviewed by Dan Bernstein.
840
841         * Configurations/Base.xcconfig:
842         * Configurations/DebugRelease.xcconfig:
843         * Configurations/WebKit.xcconfig:
844
845 2012-10-28  Mark Rowe  <mrowe@apple.com>
846
847         Remove references to unsupported OS and Xcode versions.
848
849         Reviewed by Anders Carlsson.
850
851         * Configurations/Base.xcconfig:
852         * Configurations/CompilerVersion.xcconfig: Removed.
853         * Configurations/DebugRelease.xcconfig:
854         * Configurations/Version.xcconfig:
855
856 2012-10-29  Enrica Casucci  <enrica@apple.com>
857
858         Add ENABLE_USERSELECT_ALL feature flag.
859         https://bugs.webkit.org/show_bug.cgi?id=100559
860
861         Reviewed by Eric Seidel.
862
863         * Configurations/FeatureDefines.xcconfig:
864
865 2012-10-27  Alexey Proskuryakov  <ap@apple.com>
866
867         All tests crash in WebKit1 mode
868         https://bugs.webkit.org/show_bug.cgi?id=100602
869
870         Reviewed by Sam Weinig.
871
872         * WebView/WebView.mm: (+[WebView _setLoadResourcesSerially:]): Resource load
873         scheduler is created via a strategy, so strategies need to be initialized before
874         using it.
875
876 2012-10-27  Dan Bernstein  <mitz@apple.com>
877
878         REAL_PLATFORM_NAME build setting is no longer needed
879         https://bugs.webkit.org/show_bug.cgi?id=100587
880
881         Reviewed by Mark Rowe.
882
883         Removed the definition of REAL_PLATFORM_NAME and replaced references to it with references
884         to PLATFORM_NAME.
885
886         * Configurations/Base.xcconfig:
887         * Configurations/CompilerVersion.xcconfig:
888         * Configurations/DebugRelease.xcconfig:
889         * Configurations/FeatureDefines.xcconfig:
890         * Configurations/Version.xcconfig:
891         * Configurations/WebKit.xcconfig:
892
893 2012-10-26  Thiago Marcos P. Santos  <thiago.santos@intel.com>
894
895         Add feature flags for CSS Device Adaptation
896         https://bugs.webkit.org/show_bug.cgi?id=95960
897
898         Reviewed by Kenneth Rohde Christiansen.
899
900         * Configurations/FeatureDefines.xcconfig:
901
902 2012-10-25  Dominik Röttsches  <dominik.rottsches@intel.com>
903
904         Conditionalize XHR timeout support
905         https://bugs.webkit.org/show_bug.cgi?id=100356
906
907         Reviewed by Adam Barth.
908
909         Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
910         Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
911
912         * Configurations/FeatureDefines.xcconfig:
913
914 2012-10-24  Timothy Hatcher  <timothy@apple.com>
915
916         Fix a crash seen during the Inspector tests on the WebKit1 bots.
917
918         Reviewed by Filip Pizlo.
919
920         * WebCoreSupport/WebInspectorClient.mm:
921         (WebInspectorFrontendClient::bringToFront): Use the window from the WebView since m_windowController's window
922         is not the same when the Inspector is docked.
923
924 2012-10-24  Brady Eidson  <beidson@apple.com>
925
926         Add a strategy for loader customization.
927         https://bugs.webkit.org/show_bug.cgi?id=100278
928
929         Reviewed by Alexey Proskuryakov.
930
931         * WebCoreSupport/WebPlatformStrategies.h:
932         (WebPlatformStrategies):
933         * WebCoreSupport/WebPlatformStrategies.mm:
934         (WebPlatformStrategies::createLoaderStrategy):
935
936 2012-10-24  Timothy Hatcher  <timothy@apple.com>
937
938         Make the Inspector WKView/WebView become the first responder when bringToFront is called.
939
940         https://bugs.webkit.org/show_bug.cgi?id=100209
941
942         Reviewed by Joseph Pecoraro.
943
944         * WebCoreSupport/WebInspectorClient.mm:
945         (WebInspectorFrontendClient::bringToFront): Make the Inspector WebView become the first responder.
946
947 2012-10-23  Alexey Proskuryakov  <ap@apple.com>
948
949         Add a strategy for shared workers
950         https://bugs.webkit.org/show_bug.cgi?id=100165
951
952         Reviewed by Brady Eidson.
953
954         * WebCoreSupport/WebPlatformStrategies.h:
955         * WebCoreSupport/WebPlatformStrategies.mm:
956         (WebPlatformStrategies::createPasteboardStrategy):
957         (WebPlatformStrategies::createSharedWorkerStrategy):
958         (WebPlatformStrategies::createVisitedLinkStrategy):
959
960 2012-10-24  Eric Carlson  <eric.carlson@apple.com>
961
962         Allow ports to override text track rendering style
963         https://bugs.webkit.org/show_bug.cgi?id=97800
964         <rdar://problem/12044964>
965
966         Reviewed by Maciej Stachowiak.
967
968         * WebCoreSupport/WebSystemInterface.mm:
969         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
970
971 2012-10-23  Dan Bernstein  <mitz@apple.com>
972
973         WebKit/mac part of <rdar://problem/2966974> [mac] Kerning and ligatures are not enabled by default
974         https://bugs.webkit.org/show_bug.cgi?id=100188
975
976         Reviewed by Sam Weinig.
977
978         * WebView/WebView.mm:
979         (+[WebView initialize]): Added a local variable to hold the standard user defaults. Added
980         code to register a value of YES for the WebKitKerningAndLigaturesEnabledByDefault user
981         default. Changed to refer to that default key by name.
982
983 2012-10-23  Kenneth Rohde Christiansen  <kenneth@webkit.org>
984
985         Add support for resolution media query
986         https://bugs.webkit.org/show_bug.cgi?id=99077
987
988         Reviewed by Antti Koivisto.
989
990         Add support for the RESOLUTION_MEDIA_QUERY feature flag.
991
992         * Configurations/FeatureDefines.xcconfig:
993
994 2012-10-21  Andreas Kling  <kling@webkit.org>
995
996         Remove Page::javaScriptURLsAreAllowed setting.
997         <http://webkit.org/b/99944>
998
999         Reviewed by Anders Carlsson.
1000
1001         * WebKit.order:
1002         * WebView/WebView.mm:
1003         * WebView/WebViewPrivate.h:
1004
1005 2012-10-19  Dongwoo Joshua Im  <dw.im@samsung.com>
1006
1007         Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT
1008         https://bugs.webkit.org/show_bug.cgi?id=99804
1009
1010         Reviewed by Julien Chaffraix.
1011
1012         CSS3 text related properties will be implemented under this flag,
1013         including text decoration, text-align-last, and text-justify.
1014
1015         * Configurations/FeatureDefines.xcconfig:
1016
1017 2012-10-18  Pablo Flouret  <pablof@motorola.com>
1018
1019         Implement css3-conditional's @supports rule
1020         https://bugs.webkit.org/show_bug.cgi?id=86146
1021
1022         Reviewed by Antti Koivisto.
1023
1024         * Configurations/FeatureDefines.xcconfig:
1025             Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
1026
1027 2012-10-17  Joseph Pecoraro  <pecoraro@apple.com>
1028
1029         [Mac] Uninitialized Members in WebDataSourcePrivate
1030         https://bugs.webkit.org/show_bug.cgi?id=99617
1031
1032         Reviewed by David Kilzer.
1033
1034         Initialize BOOL member variables.
1035
1036         * WebView/WebDataSource.mm:
1037         (WebDataSourcePrivate::WebDataSourcePrivate):
1038
1039 2012-10-17  Mark Rowe  <mrowe@apple.com>
1040
1041         Fix the build with a newer version of clang.
1042
1043         Reviewed by Dan Bernstein.
1044
1045         Some of the methods in WebCoreStatistics appear to have been added by someone not familiar with Objective-C.
1046         While it's technically valid to have empty components in a selector, it's rarely done and is not consistent
1047         with our style guidelines. In this particular case it's also done in such a manner that it's ambiguous and
1048         therefore generates a warning in newer versions of the compiler.
1049
1050         Fixes <rdar://problem/12503709>.
1051
1052         * Misc/WebCoreStatistics.h: Remove unused methods and rename the two poorly-named methods that remain.
1053         * Misc/WebCoreStatistics.mm: Ditto.
1054         (-[WebFrame numberOfPagesWithPageWidth:pageHeight:]):
1055         (-[WebFrame printToCGContext:pageWidth:pageHeight:]):
1056
1057 2012-10-16  Jian Li  <jianli@chromium.org>
1058
1059         Rename feature define ENABLE_WIDGET_REGION to ENABLE_DRAGGBALE_REGION
1060         https://bugs.webkit.org/show_bug.cgi?id=98975
1061
1062         Reviewed by Adam Barth.
1063
1064         Renaming is needed to better match with the draggable region code.
1065
1066         * Configurations/FeatureDefines.xcconfig:
1067
1068 2012-10-15  Dan Bernstein  <mitz@apple.com>
1069
1070         WebKit/mac part of <rdar://problem/12470680> Font’s fast code path doesn’t support kerning and ligatures
1071         https://bugs.webkit.org/show_bug.cgi?id=99113
1072
1073         Reviewed by Tim Horton.
1074
1075         * WebCoreSupport/WebSystemInterface.mm:
1076         (InitWebCoreSystemInterface): Added wkCTFontTransformGlyphs.
1077
1078 2012-10-15  David Kilzer  <ddkilzer@apple.com>
1079
1080         Move framework and library linking into WebKit.xcconfig
1081         <http://webkit.org/b/99284>
1082
1083         Reviewed by Mark Rowe.
1084
1085         * Configurations/WebKit.xcconfig: Move frameworks and libraries
1086         link flags to OTHER_LDFLAGS so that they work for iOS and OS X.
1087
1088 2012-10-14  Jon Lee  <jonlee@apple.com>
1089
1090         Allow notification origin permission request when no js callback is provided
1091         https://bugs.webkit.org/show_bug.cgi?id=63615
1092         <rdar://problem/11059590>
1093
1094         Reviewed by Sam Weinig.
1095
1096         Introduce a boolean to determine whether the request was using the legacy or standard API. This way,
1097         we do not fall through to calling the standard API's callback if the legacy API's callback is null.
1098
1099         * WebCoreSupport/WebNotificationClient.mm:
1100         (WebCore):
1101         (-[WebNotificationPolicyListener initWithVoidCallback:]):
1102         (-[WebNotificationPolicyListener allow]):
1103         (-[WebNotificationPolicyListener deny]):
1104
1105 2012-10-14  Sam Weinig  <sam@webkit.org>
1106
1107         Make UserScript and UserStyleSheet value objects that are copyable
1108         https://bugs.webkit.org/show_bug.cgi?id=99275
1109
1110         Reviewed by Tim Horton.
1111
1112         * WebView/WebView.mm:
1113         (-[WebView _injectMailQuirksScript]):
1114         (-[WebView _injectOutlookQuirksScript]):
1115         Update for new PageGroup function signatures.
1116
1117 2012-10-10  Brady Eidson  <beidson@apple.com>
1118
1119         Switch ResourceLoader::resourceData() from SharedBuffer to ResourceBuffer
1120         https://bugs.webkit.org/show_bug.cgi?id=98976
1121
1122         Reviewed by Anders Carlsson.
1123
1124         * WebView/WebDataSource.mm:
1125         (-[WebDataSource data]):
1126
1127 2012-10-10  Jer Noble  <jer.noble@apple.com>
1128
1129         Disallow full screen mode keyboard access by default.
1130         https://bugs.webkit.org/show_bug.cgi?id=98971
1131         <rdar://problem/12474226>
1132
1133         Reviewed by Sam Weinig.
1134
1135         Only support full screen if keyboard access is not requested.
1136
1137         * WebView/WebView.mm:
1138         (-[WebView _supportsFullScreenForElement:WebCore::withKeyboard:]):
1139
1140 2012-10-10  Jon Lee  <jonlee@apple.com>
1141
1142         [WK2] Activate plugins when user clicks on snapshot
1143         https://bugs.webkit.org/show_bug.cgi?id=98328
1144         <rdar://problem/12426681>
1145
1146         Reviewed by Brady Eidson.
1147
1148         * WebCoreSupport/WebFrameLoaderClient.h:
1149         * WebCoreSupport/WebFrameLoaderClient.mm:
1150         (WebFrameLoaderClient::recreatePlugin): Stub implementation of recreatePlugin().
1151
1152 2012-10-10  Brady Eidson  <beidson@apple.com>
1153
1154         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
1155         https://bugs.webkit.org/show_bug.cgi?id=98541
1156
1157         Reviewed by Anders Carlsson.
1158
1159         * WebView/WebHTMLView.mm:
1160         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
1161
1162 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
1163
1164         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
1165         https://bugs.webkit.org/show_bug.cgi?id=98839
1166
1167         Reviewed by Sam Weinig.
1168
1169         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
1170         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
1171         but store the computed rect in m_visibleRect.
1172         
1173         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
1174         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
1175
1176         * WebView/WebFrame.mm:
1177         (-[WebFrame _layerTreeAsText]):
1178
1179 2012-10-09  Jian Li  <jianli@chromium.org>
1180
1181         Update the CSS property used to support draggable regions.
1182         https://bugs.webkit.org/show_bug.cgi?id=97156
1183
1184         Reviewed by Adam Barth.
1185
1186         The CSS property to support draggable regions, guarded under
1187         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
1188         confusion with DASHBOARD_SUPPORT feature.
1189
1190         Also update the code to use the new name annotatedRegions to work for
1191         both features.
1192
1193         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
1194         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
1195         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
1196         (WebChromeClient::annotatedRegionsChanged):
1197         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
1198         (-[WebView _dashboardRegions]):
1199
1200 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
1201
1202         Unreviewed, rolling out r130811 and r130821.
1203         http://trac.webkit.org/changeset/130811
1204         http://trac.webkit.org/changeset/130821
1205         https://bugs.webkit.org/show_bug.cgi?id=98831
1206
1207         Broke date-suggestion-picker-appearance-with-scroll-bar.html
1208         (Requested by abarth|gardening on #webkit).
1209
1210         * WebView/WebFullScreenController.mm:
1211         (screenRectOfContents):
1212         * WebView/WebRenderNode.mm:
1213         (copyRenderNode):
1214
1215 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
1216
1217         Throttle DOM timers on hidden pages.
1218         https://bugs.webkit.org/show_bug.cgi?id=98474
1219
1220         Reviewed by Maciej Stachowiak.
1221
1222         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
1223         DumpRenderTree to modify the visibility state of a page.  The latter
1224         is needed to test throttling of timers on hidden pages through DumpRenderTree.
1225
1226         * Configurations/FeatureDefines.xcconfig:
1227         * WebView/WebView.mm:
1228         (-[WebView _setVisibilityState:isInitialState:]):
1229         * WebView/WebViewPrivate.h:
1230
1231 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
1232
1233         Rename first/second to key/value in HashMap iterators
1234         https://bugs.webkit.org/show_bug.cgi?id=82784
1235
1236         Reviewed by Eric Seidel.
1237
1238         * History/WebHistory.mm:
1239         (-[WebHistoryPrivate removeItemFromDateCaches:]):
1240         (-[WebHistoryPrivate orderedLastVisitedDays]):
1241         (WebHistoryWriter::WebHistoryWriter):
1242         * Misc/WebCoreStatistics.mm:
1243         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
1244         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
1245         * Plugins/Hosted/NetscapePluginHostManager.mm:
1246         (WebKit::NetscapePluginHostManager::hostForPlugin):
1247         (WebKit::NetscapePluginHostManager::pluginHostDied):
1248         (WebKit::NetscapePluginHostManager::didCreateWindow):
1249         * Plugins/Hosted/NetscapePluginHostProxy.mm:
1250         (WebKit::NetscapePluginHostProxy::pluginHostDied):
1251         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
1252         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
1253         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
1254         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
1255         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
1256         (WebKit::NetscapePluginInstanceProxy::destroy):
1257         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
1258         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
1259         * Plugins/Hosted/ProxyInstance.mm:
1260         (WebKit::ProxyInstance::methodNamed):
1261         (WebKit::ProxyInstance::fieldNamed):
1262         * Plugins/WebNetscapePluginView.mm:
1263         (-[WebNetscapePluginView stopTimers]):
1264         (-[WebNetscapePluginView startTimers]):
1265         * WebCoreSupport/WebNotificationClient.mm:
1266         (WebNotificationClient::show):
1267         (WebNotificationClient::clearNotifications):
1268         (WebNotificationClient::notificationObjectDestroyed):
1269         * WebView/WebHTMLView.mm:
1270         (commandNameForSelector):
1271
1272 2012-10-06  Dan Bernstein  <mitz@apple.com>
1273
1274         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
1275         https://bugs.webkit.org/show_bug.cgi?id=98601
1276
1277         Reviewed by Darin Adler.
1278
1279         * WebView/WebView.mm:
1280         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
1281         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
1282         the value YES.
1283
1284 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
1285
1286         Unreviewed, rolling out r130556 and r130564.
1287         http://trac.webkit.org/changeset/130556
1288         http://trac.webkit.org/changeset/130564
1289         https://bugs.webkit.org/show_bug.cgi?id=98572
1290
1291         The patch wasn't reviewed by a reviewer and it is breaking
1292         Chromium Windows (Requested by jchaffraix on #webkit).
1293
1294         * WebCoreSupport/WebSystemInterface.mm:
1295         (InitWebCoreSystemInterface):
1296
1297 2012-10-05  Tim Horton  <timothy_horton@apple.com>
1298
1299         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
1300         https://bugs.webkit.org/show_bug.cgi?id=98565
1301         <rdar://problem/12436468>
1302
1303         Reviewed by Simon Fraser.
1304
1305         Add wkCGContextDrawsWithCorrectShadowOffsets.
1306
1307         * WebCoreSupport/WebSystemInterface.mm:
1308         (InitWebCoreSystemInterface):
1309
1310 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
1311
1312         Allow ports to override text track rendering style
1313         https://bugs.webkit.org/show_bug.cgi?id=97800
1314         <rdar://problem/12044964>
1315
1316         Reviewed by Silvia Pfeiffer.
1317
1318         Add WCSI support for new WKSI caption functions.
1319
1320         * WebCoreSupport/WebSystemInterface.mm:
1321         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
1322
1323 2012-10-04  Jon Lee  <jonlee@apple.com>
1324
1325         Add a setting to enable plugin snapshotting
1326         https://bugs.webkit.org/show_bug.cgi?id=98319
1327         <rdar://problem/12426480>
1328
1329         Reviewed by Brady Eidson.
1330
1331         Expose plugInSnapshottingEnabled preference to WebKit clients.
1332
1333         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
1334         * WebView/WebPreferences.mm:
1335         (+[WebPreferences initialize]): Setting is turned off by default.
1336         (-[WebPreferences plugInSnapshottingEnabled]):
1337         (-[WebPreferences setPlugInSnapshottingEnabled:]):
1338         * WebView/WebPreferencesPrivate.h:
1339         * WebView/WebView.mm:
1340         (-[WebView _preferencesChanged:]): Update settings based on preference.
1341
1342 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
1343
1344         Turn Compositing on by default in WebKit build
1345         https://bugs.webkit.org/show_bug.cgi?id=98315
1346
1347         Reviewed by Simon Fraser.
1348
1349         enable -webkit-blend-mode on trunk.
1350
1351         * Configurations/FeatureDefines.xcconfig:
1352
1353 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1354
1355         Final part of "sync" to "flush" renaming
1356         https://bugs.webkit.org/show_bug.cgi?id=98430
1357
1358         Reviewed by Tim Horton.
1359
1360         Change method names on GraphicsLayer and GraphicsLayerClient that
1361         refer to "sync" to use the term "flush" instead, to be consistent
1362         with the rest of the code.
1363
1364         * WebView/WebView.mm:
1365
1366 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
1367
1368         [WK2] Support all attributes of GeolocationPosition
1369         https://bugs.webkit.org/show_bug.cgi?id=98212
1370
1371         Reviewed by Sam Weinig.
1372
1373         Add an internal constructor for the sake of testing.
1374         A similar API is used on iOS.
1375
1376         * WebView/WebGeolocationPosition.mm:
1377         (-[WebGeolocationPosition initWithGeolocationPosition:]):
1378
1379 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
1380
1381         Standardize on "flush" terminology for compositing layer flushing/syncing
1382         https://bugs.webkit.org/show_bug.cgi?id=98321
1383
1384         Reviewed by Simon Fraser.
1385
1386         Rename compositing-related methods that refer to "syncing" to instead
1387         refer to "flushing".
1388
1389         * WebCoreSupport/WebChromeClient.h:
1390         * WebCoreSupport/WebChromeClient.mm:
1391         (WebChromeClient::scheduleCompositingLayerFlush):
1392         * WebView/WebView.mm:
1393         (-[WebView _flushCompositingChanges]):
1394         (LayerFlushController::flushLayers):
1395         (-[WebView _scheduleCompositingLayerFlush]):
1396         * WebView/WebViewInternal.h:
1397
1398 == Rolled over to ChangeLog-2012-10-02 ==