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