Switch CachedResource over from SharedBuffer to a new ResourceBuffer
[WebKit-https.git] / Source / WebKit / mac / ChangeLog
1 2012-10-10  Brady Eidson  <beidson@apple.com>
2
3         Switch CachedResource over from SharedBuffer to a new ResourceBuffer
4         https://bugs.webkit.org/show_bug.cgi?id=98541
5
6         Reviewed by Anders Carlsson.
7
8         * WebView/WebHTMLView.mm:
9         (-[WebHTMLView namesOfPromisedFilesDroppedAtDestination:]):
10
11 2012-10-10  Simon Fraser  <simon.fraser@apple.com>
12
13         Store a visible rect in GraphicsLayers, and optionally dump it in layerTreeAsText
14         https://bugs.webkit.org/show_bug.cgi?id=98839
15
16         Reviewed by Sam Weinig.
17
18         To replace CATiledLayer with TileCaches, we need to be able to compute the visible part of a GraphicsLayer,
19         in order to limit the extent of TileCache tiles. Reuse the existing code in GraphicsLayerCA for this,
20         but store the computed rect in m_visibleRect.
21         
22         Add a flag to layerTreeAsText() so that tests can optionally include this visible rect in
23         layer tree dumps. This output will be platform-specific, so we don't want to do it unconditionally.
24
25         * WebView/WebFrame.mm:
26         (-[WebFrame _layerTreeAsText]):
27
28 2012-10-09  Jian Li  <jianli@chromium.org>
29
30         Update the CSS property used to support draggable regions.
31         https://bugs.webkit.org/show_bug.cgi?id=97156
32
33         Reviewed by Adam Barth.
34
35         The CSS property to support draggable regions, guarded under
36         WIDGET_REGION is now disabled from Mac WebKit, in order not to cause
37         confusion with DASHBOARD_SUPPORT feature.
38
39         Also update the code to use the new name annotatedRegions to work for
40         both features.
41
42         * Configurations/FeatureDefines.xcconfig: Disable WIDGET_REGION feature.
43         * WebCoreSupport/WebChromeClient.h: Rename dashboardRegions to annotatedRegions.
44         * WebCoreSupport/WebChromeClient.mm: Rename dashboardRegions to annotatedRegions.
45         (WebChromeClient::annotatedRegionsChanged):
46         * WebView/WebView.mm: Rename dashboardRegions to annotatedRegions.
47         (-[WebView _dashboardRegions]):
48
49 2012-10-09  Sheriff Bot  <webkit.review.bot@gmail.com>
50
51         Unreviewed, rolling out r130811 and r130821.
52         http://trac.webkit.org/changeset/130811
53         http://trac.webkit.org/changeset/130821
54         https://bugs.webkit.org/show_bug.cgi?id=98831
55
56         Broke date-suggestion-picker-appearance-with-scroll-bar.html
57         (Requested by abarth|gardening on #webkit).
58
59         * WebView/WebFullScreenController.mm:
60         (screenRectOfContents):
61         * WebView/WebRenderNode.mm:
62         (copyRenderNode):
63
64 2012-10-08  Kiran Muppala  <cmuppala@apple.com>
65
66         Throttle DOM timers on hidden pages.
67         https://bugs.webkit.org/show_bug.cgi?id=98474
68
69         Reviewed by Maciej Stachowiak.
70
71         Add HIDDEN_PAGE_DOM_TIMER_THROTTLING feature define and provide a SPI for
72         DumpRenderTree to modify the visibility state of a page.  The latter
73         is needed to test throttling of timers on hidden pages through DumpRenderTree.
74
75         * Configurations/FeatureDefines.xcconfig:
76         * WebView/WebView.mm:
77         (-[WebView _setVisibilityState:isInitialState:]):
78         * WebView/WebViewPrivate.h:
79
80 2012-10-07  Caio Marcelo de Oliveira Filho  <caio.oliveira@openbossa.org>
81
82         Rename first/second to key/value in HashMap iterators
83         https://bugs.webkit.org/show_bug.cgi?id=82784
84
85         Reviewed by Eric Seidel.
86
87         * History/WebHistory.mm:
88         (-[WebHistoryPrivate removeItemFromDateCaches:]):
89         (-[WebHistoryPrivate orderedLastVisitedDays]):
90         (WebHistoryWriter::WebHistoryWriter):
91         * Misc/WebCoreStatistics.mm:
92         (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
93         (+[WebCoreStatistics javaScriptObjectTypeCounts]):
94         * Plugins/Hosted/NetscapePluginHostManager.mm:
95         (WebKit::NetscapePluginHostManager::hostForPlugin):
96         (WebKit::NetscapePluginHostManager::pluginHostDied):
97         (WebKit::NetscapePluginHostManager::didCreateWindow):
98         * Plugins/Hosted/NetscapePluginHostProxy.mm:
99         (WebKit::NetscapePluginHostProxy::pluginHostDied):
100         * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
101         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
102         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
103         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
104         (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
105         (WebKit::NetscapePluginInstanceProxy::destroy):
106         (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
107         (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
108         * Plugins/Hosted/ProxyInstance.mm:
109         (WebKit::ProxyInstance::methodNamed):
110         (WebKit::ProxyInstance::fieldNamed):
111         * Plugins/WebNetscapePluginView.mm:
112         (-[WebNetscapePluginView stopTimers]):
113         (-[WebNetscapePluginView startTimers]):
114         * WebCoreSupport/WebNotificationClient.mm:
115         (WebNotificationClient::show):
116         (WebNotificationClient::clearNotifications):
117         (WebNotificationClient::notificationObjectDestroyed):
118         * WebView/WebHTMLView.mm:
119         (commandNameForSelector):
120
121 2012-10-06  Dan Bernstein  <mitz@apple.com>
122
123         WebKit/mac part of <rdar://problem/12446507> [mac] WebKit clients cannot change the behavior of text-rendering: auto
124         https://bugs.webkit.org/show_bug.cgi?id=98601
125
126         Reviewed by Darin Adler.
127
128         * WebView/WebView.mm:
129         (+[WebView initialize]): Added a call to Font::setDefaultTypesettingFeatures() to enable
130         kerning and ligatures if the WebKitKerningAndLigaturesEnabledByDefault user default key has
131         the value YES.
132
133 2012-10-05  Sheriff Bot  <webkit.review.bot@gmail.com>
134
135         Unreviewed, rolling out r130556 and r130564.
136         http://trac.webkit.org/changeset/130556
137         http://trac.webkit.org/changeset/130564
138         https://bugs.webkit.org/show_bug.cgi?id=98572
139
140         The patch wasn't reviewed by a reviewer and it is breaking
141         Chromium Windows (Requested by jchaffraix on #webkit).
142
143         * WebCoreSupport/WebSystemInterface.mm:
144         (InitWebCoreSystemInterface):
145
146 2012-10-05  Tim Horton  <timothy_horton@apple.com>
147
148         [cg] GraphicsContextCG should ask CG whether the shadow offset workaround is required
149         https://bugs.webkit.org/show_bug.cgi?id=98565
150         <rdar://problem/12436468>
151
152         Reviewed by Simon Fraser.
153
154         Add wkCGContextDrawsWithCorrectShadowOffsets.
155
156         * WebCoreSupport/WebSystemInterface.mm:
157         (InitWebCoreSystemInterface):
158
159 2012-10-04  Eric Carlson  <eric.carlson@apple.com>
160
161         Allow ports to override text track rendering style
162         https://bugs.webkit.org/show_bug.cgi?id=97800
163         <rdar://problem/12044964>
164
165         Reviewed by Silvia Pfeiffer.
166
167         Add WCSI support for new WKSI caption functions.
168
169         * WebCoreSupport/WebSystemInterface.mm:
170         (InitWebCoreSystemInterface): Initialize new WKSI function pointers.
171
172 2012-10-04  Jon Lee  <jonlee@apple.com>
173
174         Add a setting to enable plugin snapshotting
175         https://bugs.webkit.org/show_bug.cgi?id=98319
176         <rdar://problem/12426480>
177
178         Reviewed by Brady Eidson.
179
180         Expose plugInSnapshottingEnabled preference to WebKit clients.
181
182         * WebView/WebPreferenceKeysPrivate.h: Add WebKitPlugInSnapshottingEnabled key.
183         * WebView/WebPreferences.mm:
184         (+[WebPreferences initialize]): Setting is turned off by default.
185         (-[WebPreferences plugInSnapshottingEnabled]):
186         (-[WebPreferences setPlugInSnapshottingEnabled:]):
187         * WebView/WebPreferencesPrivate.h:
188         * WebView/WebView.mm:
189         (-[WebView _preferencesChanged:]): Update settings based on preference.
190
191 2012-10-04  Rik Cabanier  <cabanier@adobe.com>
192
193         Turn Compositing on by default in WebKit build
194         https://bugs.webkit.org/show_bug.cgi?id=98315
195
196         Reviewed by Simon Fraser.
197
198         enable -webkit-blend-mode on trunk.
199
200         * Configurations/FeatureDefines.xcconfig:
201
202 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
203
204         Final part of "sync" to "flush" renaming
205         https://bugs.webkit.org/show_bug.cgi?id=98430
206
207         Reviewed by Tim Horton.
208
209         Change method names on GraphicsLayer and GraphicsLayerClient that
210         refer to "sync" to use the term "flush" instead, to be consistent
211         with the rest of the code.
212
213         * WebView/WebView.mm:
214
215 2012-10-03  Benjamin Poulain  <bpoulain@apple.com>
216
217         [WK2] Support all attributes of GeolocationPosition
218         https://bugs.webkit.org/show_bug.cgi?id=98212
219
220         Reviewed by Sam Weinig.
221
222         Add an internal constructor for the sake of testing.
223         A similar API is used on iOS.
224
225         * WebView/WebGeolocationPosition.mm:
226         (-[WebGeolocationPosition initWithGeolocationPosition:]):
227
228 2012-10-04  Simon Fraser  <simon.fraser@apple.com>
229
230         Standardize on "flush" terminology for compositing layer flushing/syncing
231         https://bugs.webkit.org/show_bug.cgi?id=98321
232
233         Reviewed by Simon Fraser.
234
235         Rename compositing-related methods that refer to "syncing" to instead
236         refer to "flushing".
237
238         * WebCoreSupport/WebChromeClient.h:
239         * WebCoreSupport/WebChromeClient.mm:
240         (WebChromeClient::scheduleCompositingLayerFlush):
241         * WebView/WebView.mm:
242         (-[WebView _flushCompositingChanges]):
243         (LayerFlushController::flushLayers):
244         (-[WebView _scheduleCompositingLayerFlush]):
245         * WebView/WebViewInternal.h:
246
247 == Rolled over to ChangeLog-2012-10-02 ==