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