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