[chromium] rename newwtf target back to wtf
[WebKit-https.git] / Source / Platform / ChangeLog
1 2012-03-23  Tony Chang  <tony@chromium.org>
2
3         [chromium] rename newwtf target back to wtf
4         https://bugs.webkit.org/show_bug.cgi?id=82064
5
6         Reviewed by Adam Barth.
7
8         * Platform.gyp/Platform.gyp:
9
10 2012-03-22  Tony Chang  <tony@chromium.org>
11
12         Unreviewed, fix chromium build after wtf move.
13
14         Only use newwtf, remove references to wtf.
15
16         * Platform.gyp/Platform.gyp:
17
18 2012-03-21  Ryosuke Niwa  <rniwa@webkit.org>
19
20         Touch a file to make Chromium Windows bots happy.
21
22         * chromium/public/WebGraphicsContext3D.h:
23
24 2012-03-21  David Reveman  <reveman@chromium.org>
25
26         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
27         https://bugs.webkit.org/show_bug.cgi?id=80988
28
29         Reviewed by Adrienne Walker.
30
31         Add EXT_occlusion_query API to WebGraphicsContext3D.
32
33         * chromium/public/WebGraphicsContext3D.h:
34         (WebGraphicsContext3D):
35         (WebKit::WebGraphicsContext3D::createQueryEXT):
36         (WebKit::WebGraphicsContext3D::deleteQueryEXT):
37         (WebKit::WebGraphicsContext3D::isQueryEXT):
38         (WebKit::WebGraphicsContext3D::beginQueryEXT):
39         (WebKit::WebGraphicsContext3D::endQueryEXT):
40         (WebKit::WebGraphicsContext3D::getQueryivEXT):
41         (WebKit::WebGraphicsContext3D::getQueryObjectuivEXT):
42
43 2012-03-19  Michal Mocny  <mmocny@google.com>
44
45         [chromium] Adding support for GL_EXT_discard_framebuffer.
46         https://bugs.webkit.org/show_bug.cgi?id=81383
47
48         Reviewed by James Robinson.
49
50         * chromium/public/WebGraphicsContext3D.h:
51         (WebGraphicsContext3D):
52         (WebKit::WebGraphicsContext3D::discardFramebufferEXT):
53         (WebKit::WebGraphicsContext3D::ensureFramebufferCHROMIUM):
54
55 2012-03-19  Sheriff Bot  <webkit.review.bot@gmail.com>
56
57         Unreviewed, rolling out r111207.
58         http://trac.webkit.org/changeset/111207
59         https://bugs.webkit.org/show_bug.cgi?id=81561
60
61         Causing chromium unit test failure (Requested by reveman on
62         #webkit).
63
64         * chromium/public/WebGraphicsContext3D.h:
65
66 2012-03-19  Michal Mocny  <mmocny@google.com>
67
68         [chromium] Updating WebGraphicsContext3D MemoryAllocation callback to accept a struct with have backbuffer suggestion.
69         https://bugs.webkit.org/show_bug.cgi?id=81279
70
71         Reviewed by James Robinson.
72
73         Adding a suggestHaveBackbuffer hint to the WebGraphicsContext3D memory allocation callback.
74
75         * chromium/public/WebGraphicsContext3D.h:
76         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
77         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::onMemoryAllocationChanged):
78         * chromium/public/WebGraphicsMemoryAllocation.h: Added.
79         (WebKit):
80         (WebGraphicsMemoryAllocation):
81         (WebKit::WebGraphicsMemoryAllocation::WebGraphicsMemoryAllocation):
82
83 2012-03-19  David Reveman  <reveman@chromium.org>
84
85         [Chromium] GL_EXT_occlusion_query_boolean and GL_CHROMIUM_command_buffer_query support.
86         https://bugs.webkit.org/show_bug.cgi?id=80988
87
88         Reviewed by Adrienne Walker.
89
90         Add EXT_occlusion_query API to WebGraphicsContext3D.
91
92         * chromium/public/WebGraphicsContext3D.h:
93         (WebGraphicsContext3D):
94
95 2012-03-08  James Robinson  <jamesr@chromium.org>
96
97         Use an explicit attribute to signal that a context prefers to use a discrete GPU
98         https://bugs.webkit.org/show_bug.cgi?id=80639
99
100         Reviewed by Stephen White.
101
102         Adds preferDiscreteGPU attribute to WebGraphicsContext3D::Attributes. Also remove the forUseOnAnotherThread
103         attribute, this has been dead code for a while now.
104
105         * chromium/public/WebGraphicsContext3D.h:
106         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
107         (Attributes):
108
109 2012-02-24  James Robinson  <jamesr@chromium.org>
110
111         [chromium] WebKit::setColorNames is a client API
112         https://bugs.webkit.org/show_bug.cgi?id=79539
113
114         Reviewed by Darin Fisher.
115
116         * Platform.gypi:
117         * chromium/public/WebColor.h:
118         (WebKit):
119
120 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
121
122         Unreviewed, rolling out r108860.
123         http://trac.webkit.org/changeset/108860
124         https://bugs.webkit.org/show_bug.cgi?id=79544
125
126         "Breaks Linux compile" (Requested by enne on #webkit).
127
128         * Platform.gypi:
129         * chromium/public/WebColor.h:
130         (WebKit):
131         * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
132         (WebKit):
133
134 2012-02-24  James Robinson  <jamesr@chromium.org>
135
136         [chromium] WebKit::setColorNames is a client API
137         https://bugs.webkit.org/show_bug.cgi?id=79539
138
139         Reviewed by Darin Fisher.
140
141         * Platform.gypi:
142         * chromium/public/WebColor.h:
143         (WebKit):
144
145 2012-02-22  James Robinson  <jamesr@chromium.org>
146
147         [chromium] Move WebGraphicsContext3D header into the Platform directory
148         https://bugs.webkit.org/show_bug.cgi?id=79301
149
150         Reviewed by Adam Barth.
151
152         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
153
154         * Platform.gypi:
155         * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
156         (WebKit):
157         (WebGraphicsContext3D):
158         (ActiveInfo):
159         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
160         (Attributes):
161         (WebGraphicsContextLostCallback):
162         (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
163         (WebGraphicsErrorMessageCallback):
164         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
165         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
166         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
167         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
168         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
169         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
170         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
171         (WebKit::WebGraphicsContext3D::setParentContext):
172         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
173         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
174         (WebKit::WebGraphicsContext3D::setContextLostCallback):
175         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
176         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
177         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
178         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
179         (WebKit::WebGraphicsContext3D::texStorage2DEXT):
180         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
181         * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
182         (WebKit):
183         (WebNonCopyable):
184         (WebKit::WebNonCopyable::WebNonCopyable):
185         (WebKit::WebNonCopyable::~WebNonCopyable):
186
187 2012-02-23  James Robinson  <jamesr@chromium.org>
188
189         [chromium] Move Web*Layer* headers into Platform
190         https://bugs.webkit.org/show_bug.cgi?id=79425
191
192         Reviewed by Adam Barth.
193
194         This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
195         Platform/chromium/public.
196
197         * Platform.gypi:
198         * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
199         (WebKit):
200         * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
201         (WebKit):
202         * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
203         (WebKit):
204         * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
205         (WebKit):
206         (WebContentLayer):
207         (WebKit::WebContentLayer::WebContentLayer):
208         (WebKit::WebContentLayer::~WebContentLayer):
209         (WebKit::WebContentLayer::operator=):
210         * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
211         (WebKit):
212         (WebContentLayerClient):
213         (WebKit::WebContentLayerClient::~WebContentLayerClient):
214         * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
215         (WebKit):
216         (WebExternalTextureLayer):
217         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
218         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
219         (WebKit::WebExternalTextureLayer::operator=):
220         * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
221         (WebKit):
222         (WebLayer):
223         (WebKit::WebLayer::WebLayer):
224         (WebKit::WebLayer::~WebLayer):
225         (WebKit::WebLayer::operator=):
226         (WebKit::WebLayer::isNull):
227         (WebKit::WebLayer::to):
228         (WebKit::WebLayer::toConst):
229         (WebKit::WebLayer::unwrap):
230         (WebKit::WebLayer::constUnwrap):
231         (WebKit::operator==):
232         (WebKit::operator!=):
233         * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
234         (WebCore):
235         (WebKit):
236         (WebLayerTreeView):
237         (WebKit::WebLayerTreeView::Settings::Settings):
238         (Settings):
239         (WebKit::WebLayerTreeView::WebLayerTreeView):
240         (WebKit::WebLayerTreeView::~WebLayerTreeView):
241         (WebKit::WebLayerTreeView::operator=):
242         (WebKit::operator==):
243         (WebKit::operator!=):
244         * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
245         (WebKit):
246         (WebLayerTreeViewClient):
247         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
248         * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
249         (WebKit):
250         (WebPrivatePtr):
251         (WebKit::WebPrivatePtr::WebPrivatePtr):
252         (WebKit::WebPrivatePtr::~WebPrivatePtr):
253         (WebKit::WebPrivatePtr::isNull):
254         (WebKit::WebPrivatePtr::reset):
255         (WebKit::WebPrivatePtr::operator=):
256         (WebKit::WebPrivatePtr::get):
257         (WebKit::WebPrivatePtr::operator->):
258         (WebKit::WebPrivatePtr::assign):
259         * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
260         (WebKit):
261         (WebSolidColorLayer):
262
263 2012-02-08  James Robinson  <jamesr@chromium.org>
264
265         r107042 caused compile breakages on chromium try bots
266         https://bugs.webkit.org/show_bug.cgi?id=78125
267
268         Reviewed by Adam Barth.
269
270         Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
271         basis.
272
273         * Platform.gyp/Platform.gyp:
274         * Platform.gyp/copy_webcore_headers.py: Removed.
275
276 2012-02-07  James Robinson  <jamesr@chromium.org>
277
278         [chromium] Move geometry headers in Platform API to Platform directory
279         https://bugs.webkit.org/show_bug.cgi?id=78067
280
281         Reviewed by Adam Barth.
282
283         This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
284         These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
285         WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
286         not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
287         bit of an issue. I've added an extra build step to copy the specific headers used into the
288         SHARED_INTERMEDIATE_DIR to preserve this inlining.
289         
290         Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
291         that requires non-trivial modifications to every build system in WebKit.
292
293         * Platform.gyp/Platform.gyp:
294         * Platform.gyp/copy_webcore_headers.py: Added.
295         (CopyHeaders):
296         (Main):
297         * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
298         (WebKit):
299         (WebFloatPoint):
300         (WebKit::WebFloatPoint::WebFloatPoint):
301         (WebKit::WebFloatPoint::operator=):
302         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
303         (WebKit::operator==):
304         (WebKit::operator!=):
305         * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
306         (WebKit):
307         (WebFloatQuad):
308         (WebKit::WebFloatQuad::WebFloatQuad):
309         (WebKit::WebFloatQuad::operator=):
310         * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
311         (WebKit):
312         (WebFloatRect):
313         (WebKit::WebFloatRect::isEmpty):
314         (WebKit::WebFloatRect::WebFloatRect):
315         (WebKit::WebFloatRect::operator=):
316         (WebKit::WebFloatRect::operator WebCore::FloatRect):
317         (WebKit::operator==):
318         (WebKit::operator!=):
319         * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
320         (WebKit):
321         (WebPoint):
322         (WebKit::WebPoint::WebPoint):
323         (WebKit::WebPoint::operator=):
324         (WebKit::WebPoint::operator WebCore::IntPoint):
325         (WebKit::WebPoint::operator gfx::Point):
326         (WebKit::operator==):
327         (WebKit::operator!=):
328         * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
329         (WebKit):
330         (WebRect):
331         (WebKit::WebRect::isEmpty):
332         (WebKit::WebRect::WebRect):
333         (WebKit::WebRect::operator=):
334         (WebKit::WebRect::operator WebCore::IntRect):
335         (WebKit::WebRect::operator gfx::Rect):
336         (WebKit::operator==):
337         (WebKit::operator!=):
338         * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
339         (WebKit):
340         (WebSize):
341         (WebKit::WebSize::isEmpty):
342         (WebKit::WebSize::WebSize):
343         (WebKit::WebSize::operator=):
344         (WebKit::WebSize::operator WebCore::IntSize):
345         (WebKit::WebSize::operator gfx::Size):
346         (WebKit::operator==):
347         (WebKit::operator!=):
348
349 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
350
351         Enable use of precompiled headers in Chromium port on Windows.
352
353         Bug 76381 - Use precompiled headers in Chromium port on Windows
354         https://bugs.webkit.org/show_bug.cgi?id=76381
355
356         Reviewed by Tony Chang.
357
358         * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
359
360 2012-01-04  James Robinson  <jamesr@chromium.org>
361
362         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
363
364         * Platform.gyp/Platform.gyp:
365
366 2012-01-04  James Robinson  <jamesr@chromium.org>
367
368         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
369         https://bugs.webkit.org/show_bug.cgi?id=74583
370
371         Reviewed by Darin Fisher.
372
373         This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
374         along with its dependencies (WebString and WebCString) to their final location.
375
376         * Platform.gyp/Platform.gyp: Added.
377         * Platform.gypi: Added.
378         * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
379         (WebKit::WebCString::~WebCString):
380         (WebKit::WebCString::WebCString):
381         (WebKit::WebCString::operator=):
382         (WebKit::WebCString::isEmpty):
383         (WebKit::WebCString::isNull):
384         (WebKit::WebCString::operator std::string):
385         (WebKit::WebCString::fromUTF16):
386         (WebKit::operator<):
387         * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
388         * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
389         (WebKit::WebMimeRegistry::~WebMimeRegistry):
390         * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
391         (WebKit::WebString::~WebString):
392         (WebKit::WebString::WebString):
393         (WebKit::WebString::operator=):
394         (WebKit::WebString::isEmpty):
395         (WebKit::WebString::isNull):
396         (WebKit::WebString::operator string16):
397         (WebKit::WebString::operator NullableString16):
398         (WebKit::WebString::fromUTF8):
399         (WebKit::operator==):
400         (WebKit::operator!=):
401         * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
402         (WebKit::WebCString::compare):
403         (WebKit::WebCString::reset):
404         (WebKit::WebCString::assign):
405         (WebKit::WebCString::length):
406         (WebKit::WebCString::data):
407         (WebKit::WebCString::utf16):
408         (WebKit::WebCString::fromUTF16):
409         (WebKit::WebCString::WebCString):
410         (WebKit::WebCString::operator=):
411         (WebKit::WebCString::operator WTF::CString):
412         * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
413         (WebKit::WebString::reset):
414         (WebKit::WebString::assign):
415         (WebKit::WebString::length):
416         (WebKit::WebString::data):
417         (WebKit::WebString::utf8):
418         (WebKit::WebString::fromUTF8):
419         (WebKit::WebString::equals):
420         (WebKit::WebString::WebString):
421         (WebKit::WebString::operator=):
422         (WebKit::WebString::operator WTF::String):
423         (WebKit::WebString::operator WTF::AtomicString):
424
425 2011-11-02  Adam Barth  <abarth@webkit.org>
426
427         Add stubs for WTF and Platform
428         https://bugs.webkit.org/show_bug.cgi?id=71492
429
430         Reviewed by Eric Seidel.
431
432         This patch creates the Platform directory, which begins the process of
433         moving Platform out of WebCore.