ec652d8c35a9c7768dba0e9fded6f940df635eb4
[WebKit-https.git] / Source / Platform / ChangeLog
1 2012-02-24  Sheriff Bot  <webkit.review.bot@gmail.com>
2
3         Unreviewed, rolling out r108860.
4         http://trac.webkit.org/changeset/108860
5         https://bugs.webkit.org/show_bug.cgi?id=79544
6
7         "Breaks Linux compile" (Requested by enne on #webkit).
8
9         * Platform.gypi:
10         * chromium/public/WebColor.h:
11         (WebKit):
12         * chromium/public/WebColorName.h: Renamed from Source/WebKit/chromium/public/WebColorName.h.
13         (WebKit):
14
15 2012-02-24  James Robinson  <jamesr@chromium.org>
16
17         [chromium] WebKit::setColorNames is a client API
18         https://bugs.webkit.org/show_bug.cgi?id=79539
19
20         Reviewed by Darin Fisher.
21
22         * Platform.gypi:
23         * chromium/public/WebColor.h:
24         (WebKit):
25
26 2012-02-22  James Robinson  <jamesr@chromium.org>
27
28         [chromium] Move WebGraphicsContext3D header into the Platform directory
29         https://bugs.webkit.org/show_bug.cgi?id=79301
30
31         Reviewed by Adam Barth.
32
33         Moves WebGraphicsContext3D and WebNonCopyable (which WGC3D depends on).
34
35         * Platform.gypi:
36         * chromium/public/WebGraphicsContext3D.h: Copied from Source/WebKit/chromium/public/platform/WebGraphicsContext3D.h.
37         (WebKit):
38         (WebGraphicsContext3D):
39         (ActiveInfo):
40         (WebKit::WebGraphicsContext3D::Attributes::Attributes):
41         (Attributes):
42         (WebGraphicsContextLostCallback):
43         (WebKit::WebGraphicsContext3D::WebGraphicsContextLostCallback::~WebGraphicsContextLostCallback):
44         (WebGraphicsErrorMessageCallback):
45         (WebKit::WebGraphicsContext3D::WebGraphicsErrorMessageCallback::~WebGraphicsErrorMessageCallback):
46         (WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
47         (WebKit::WebGraphicsContext3D::WebGraphicsSwapBuffersCompleteCallbackCHROMIUM::~WebGraphicsSwapBuffersCompleteCallbackCHROMIUM):
48         (WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
49         (WebKit::WebGraphicsContext3D::WebGraphicsMemoryAllocationChangedCallbackCHROMIUM::~WebGraphicsMemoryAllocationChangedCallbackCHROMIUM):
50         (WebKit::WebGraphicsContext3D::~WebGraphicsContext3D):
51         (WebKit::WebGraphicsContext3D::setMemoryAllocationChangedCallbackCHROMIUM):
52         (WebKit::WebGraphicsContext3D::setParentContext):
53         (WebKit::WebGraphicsContext3D::setSwapBuffersCompleteCallbackCHROMIUM):
54         (WebKit::WebGraphicsContext3D::rateLimitOffscreenContextCHROMIUM):
55         (WebKit::WebGraphicsContext3D::setContextLostCallback):
56         (WebKit::WebGraphicsContext3D::setErrorMessageCallback):
57         (WebKit::WebGraphicsContext3D::getGraphicsResetStatusARB):
58         (WebKit::WebGraphicsContext3D::getTranslatedShaderSourceANGLE):
59         (WebKit::WebGraphicsContext3D::texImageIOSurface2DCHROMIUM):
60         (WebKit::WebGraphicsContext3D::texStorage2DEXT):
61         (WebKit::WebGraphicsContext3D::onCreateGrGLInterface):
62         * chromium/public/WebNonCopyable.h: Copied from Source/WebKit/chromium/public/platform/WebNonCopyable.h.
63         (WebKit):
64         (WebNonCopyable):
65         (WebKit::WebNonCopyable::WebNonCopyable):
66         (WebKit::WebNonCopyable::~WebNonCopyable):
67
68 2012-02-23  James Robinson  <jamesr@chromium.org>
69
70         [chromium] Move Web*Layer* headers into Platform
71         https://bugs.webkit.org/show_bug.cgi?id=79425
72
73         Reviewed by Adam Barth.
74
75         This moves the Web*Layer* headers and their dependencies from WebKit/chromium/public/platform/ into
76         Platform/chromium/public.
77
78         * Platform.gypi:
79         * chromium/public/WebCanvas.h: Copied from Source/WebKit/chromium/public/platform/WebCanvas.h.
80         (WebKit):
81         * chromium/public/WebColor.h: Copied from Source/WebKit/chromium/public/platform/WebColor.h.
82         (WebKit):
83         * chromium/public/WebColorName.h: Copied from Source/WebKit/chromium/public/platform/WebColorName.h.
84         (WebKit):
85         * chromium/public/WebContentLayer.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayer.h.
86         (WebKit):
87         (WebContentLayer):
88         (WebKit::WebContentLayer::WebContentLayer):
89         (WebKit::WebContentLayer::~WebContentLayer):
90         (WebKit::WebContentLayer::operator=):
91         * chromium/public/WebContentLayerClient.h: Copied from Source/WebKit/chromium/public/platform/WebContentLayerClient.h.
92         (WebKit):
93         (WebContentLayerClient):
94         (WebKit::WebContentLayerClient::~WebContentLayerClient):
95         * chromium/public/WebExternalTextureLayer.h: Copied from Source/WebKit/chromium/public/platform/WebExternalTextureLayer.h.
96         (WebKit):
97         (WebExternalTextureLayer):
98         (WebKit::WebExternalTextureLayer::WebExternalTextureLayer):
99         (WebKit::WebExternalTextureLayer::~WebExternalTextureLayer):
100         (WebKit::WebExternalTextureLayer::operator=):
101         * chromium/public/WebLayer.h: Copied from Source/WebKit/chromium/public/platform/WebLayer.h.
102         (WebKit):
103         (WebLayer):
104         (WebKit::WebLayer::WebLayer):
105         (WebKit::WebLayer::~WebLayer):
106         (WebKit::WebLayer::operator=):
107         (WebKit::WebLayer::isNull):
108         (WebKit::WebLayer::to):
109         (WebKit::WebLayer::toConst):
110         (WebKit::WebLayer::unwrap):
111         (WebKit::WebLayer::constUnwrap):
112         (WebKit::operator==):
113         (WebKit::operator!=):
114         * chromium/public/WebLayerTreeView.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeView.h.
115         (WebCore):
116         (WebKit):
117         (WebLayerTreeView):
118         (WebKit::WebLayerTreeView::Settings::Settings):
119         (Settings):
120         (WebKit::WebLayerTreeView::WebLayerTreeView):
121         (WebKit::WebLayerTreeView::~WebLayerTreeView):
122         (WebKit::WebLayerTreeView::operator=):
123         (WebKit::operator==):
124         (WebKit::operator!=):
125         * chromium/public/WebLayerTreeViewClient.h: Copied from Source/WebKit/chromium/public/platform/WebLayerTreeViewClient.h.
126         (WebKit):
127         (WebLayerTreeViewClient):
128         (WebKit::WebLayerTreeViewClient::~WebLayerTreeViewClient):
129         * chromium/public/WebPrivatePtr.h: Copied from Source/WebKit/chromium/public/platform/WebPrivatePtr.h.
130         (WebKit):
131         (WebPrivatePtr):
132         (WebKit::WebPrivatePtr::WebPrivatePtr):
133         (WebKit::WebPrivatePtr::~WebPrivatePtr):
134         (WebKit::WebPrivatePtr::isNull):
135         (WebKit::WebPrivatePtr::reset):
136         (WebKit::WebPrivatePtr::operator=):
137         (WebKit::WebPrivatePtr::get):
138         (WebKit::WebPrivatePtr::operator->):
139         (WebKit::WebPrivatePtr::assign):
140         * chromium/public/WebSolidColorLayer.h: Copied from Source/WebKit/chromium/public/platform/WebSolidColorLayer.h.
141         (WebKit):
142         (WebSolidColorLayer):
143
144 2012-02-08  James Robinson  <jamesr@chromium.org>
145
146         r107042 caused compile breakages on chromium try bots
147         https://bugs.webkit.org/show_bug.cgi?id=78125
148
149         Reviewed by Adam Barth.
150
151         Replace the copy script with a copies GYP action since the MSVS generator tracks dependencies on a per-file
152         basis.
153
154         * Platform.gyp/Platform.gyp:
155         * Platform.gyp/copy_webcore_headers.py: Removed.
156
157 2012-02-07  James Robinson  <jamesr@chromium.org>
158
159         [chromium] Move geometry headers in Platform API to Platform directory
160         https://bugs.webkit.org/show_bug.cgi?id=78067
161
162         Reviewed by Adam Barth.
163
164         This moves several geometry-related headers in the chromium WebKit platform API to Platform/chromium/public.
165         These require a bit of extra work since when WEBKIT_IMPLEMENTATION is set they #include headers from
166         WebCore/platform such as IntPoint so that the implementations of several functions can be inlined. Since we do
167         not want to add anything in WebCore to the include path of projects that depend on the Platform API this poses a
168         bit of an issue. I've added an extra build step to copy the specific headers used into the
169         SHARED_INTERMEDIATE_DIR to preserve this inlining.
170         
171         Eventually we'll move the cross-platform code, including these headers, into somewhere under Platform/, but doing
172         that requires non-trivial modifications to every build system in WebKit.
173
174         * Platform.gyp/Platform.gyp:
175         * Platform.gyp/copy_webcore_headers.py: Added.
176         (CopyHeaders):
177         (Main):
178         * chromium/public/WebFloatPoint.h: Copied from Source/WebKit/chromium/public/platform/WebFloatPoint.h.
179         (WebKit):
180         (WebFloatPoint):
181         (WebKit::WebFloatPoint::WebFloatPoint):
182         (WebKit::WebFloatPoint::operator=):
183         (WebKit::WebFloatPoint::operator WebCore::FloatPoint):
184         (WebKit::operator==):
185         (WebKit::operator!=):
186         * chromium/public/WebFloatQuad.h: Copied from Source/WebKit/chromium/public/platform/WebFloatQuad.h.
187         (WebKit):
188         (WebFloatQuad):
189         (WebKit::WebFloatQuad::WebFloatQuad):
190         (WebKit::WebFloatQuad::operator=):
191         * chromium/public/WebFloatRect.h: Copied from Source/WebKit/chromium/public/platform/WebFloatRect.h.
192         (WebKit):
193         (WebFloatRect):
194         (WebKit::WebFloatRect::isEmpty):
195         (WebKit::WebFloatRect::WebFloatRect):
196         (WebKit::WebFloatRect::operator=):
197         (WebKit::WebFloatRect::operator WebCore::FloatRect):
198         (WebKit::operator==):
199         (WebKit::operator!=):
200         * chromium/public/WebPoint.h: Copied from Source/WebKit/chromium/public/platform/WebPoint.h.
201         (WebKit):
202         (WebPoint):
203         (WebKit::WebPoint::WebPoint):
204         (WebKit::WebPoint::operator=):
205         (WebKit::WebPoint::operator WebCore::IntPoint):
206         (WebKit::WebPoint::operator gfx::Point):
207         (WebKit::operator==):
208         (WebKit::operator!=):
209         * chromium/public/WebRect.h: Copied from Source/WebKit/chromium/public/platform/WebRect.h.
210         (WebKit):
211         (WebRect):
212         (WebKit::WebRect::isEmpty):
213         (WebKit::WebRect::WebRect):
214         (WebKit::WebRect::operator=):
215         (WebKit::WebRect::operator WebCore::IntRect):
216         (WebKit::WebRect::operator gfx::Rect):
217         (WebKit::operator==):
218         (WebKit::operator!=):
219         * chromium/public/WebSize.h: Copied from Source/WebKit/chromium/public/platform/WebSize.h.
220         (WebKit):
221         (WebSize):
222         (WebKit::WebSize::isEmpty):
223         (WebKit::WebSize::WebSize):
224         (WebKit::WebSize::operator=):
225         (WebKit::WebSize::operator WebCore::IntSize):
226         (WebKit::WebSize::operator gfx::Size):
227         (WebKit::operator==):
228         (WebKit::operator!=):
229
230 2012-01-19  Joi Sigurdsson  <joi@chromium.org>
231
232         Enable use of precompiled headers in Chromium port on Windows.
233
234         Bug 76381 - Use precompiled headers in Chromium port on Windows
235         https://bugs.webkit.org/show_bug.cgi?id=76381
236
237         Reviewed by Tony Chang.
238
239         * Platform.gyp/Platform.gyp: Include WinPrecompile.gypi.
240
241 2012-01-04  James Robinson  <jamesr@chromium.org>
242
243         [chromium] Compile fix, rename libplatform.a to libwebkit_platform.a to avoid collision with nacl
244
245         * Platform.gyp/Platform.gyp:
246
247 2012-01-04  James Robinson  <jamesr@chromium.org>
248
249         [chromium] Move WebMimeRegistry and dependencies to Source/Platform
250         https://bugs.webkit.org/show_bug.cgi?id=74583
251
252         Reviewed by Darin Fisher.
253
254         This creates a skeleton directory structure for the chromium WebKit platform API and moves WebMimeRegistry.h
255         along with its dependencies (WebString and WebCString) to their final location.
256
257         * Platform.gyp/Platform.gyp: Added.
258         * Platform.gypi: Added.
259         * chromium/platform/WebCString.h: Copied from Source/WebKit/chromium/public/platform/WebCString.h.
260         (WebKit::WebCString::~WebCString):
261         (WebKit::WebCString::WebCString):
262         (WebKit::WebCString::operator=):
263         (WebKit::WebCString::isEmpty):
264         (WebKit::WebCString::isNull):
265         (WebKit::WebCString::operator std::string):
266         (WebKit::WebCString::fromUTF16):
267         (WebKit::operator<):
268         * chromium/platform/WebCommon.h: Copied from Source/WebKit/chromium/public/platform/WebCommon.h.
269         * chromium/platform/WebMimeRegistry.h: Copied from Source/WebKit/chromium/public/platform/WebMimeRegistry.h.
270         (WebKit::WebMimeRegistry::~WebMimeRegistry):
271         * chromium/platform/WebString.h: Copied from Source/WebKit/chromium/public/platform/WebString.h.
272         (WebKit::WebString::~WebString):
273         (WebKit::WebString::WebString):
274         (WebKit::WebString::operator=):
275         (WebKit::WebString::isEmpty):
276         (WebKit::WebString::isNull):
277         (WebKit::WebString::operator string16):
278         (WebKit::WebString::operator NullableString16):
279         (WebKit::WebString::fromUTF8):
280         (WebKit::operator==):
281         (WebKit::operator!=):
282         * chromium/src/WebCString.cpp: Renamed from Source/WebKit/chromium/src/WebCString.cpp.
283         (WebKit::WebCString::compare):
284         (WebKit::WebCString::reset):
285         (WebKit::WebCString::assign):
286         (WebKit::WebCString::length):
287         (WebKit::WebCString::data):
288         (WebKit::WebCString::utf16):
289         (WebKit::WebCString::fromUTF16):
290         (WebKit::WebCString::WebCString):
291         (WebKit::WebCString::operator=):
292         (WebKit::WebCString::operator WTF::CString):
293         * chromium/src/WebString.cpp: Renamed from Source/WebKit/chromium/src/WebString.cpp.
294         (WebKit::WebString::reset):
295         (WebKit::WebString::assign):
296         (WebKit::WebString::length):
297         (WebKit::WebString::data):
298         (WebKit::WebString::utf8):
299         (WebKit::WebString::fromUTF8):
300         (WebKit::WebString::equals):
301         (WebKit::WebString::WebString):
302         (WebKit::WebString::operator=):
303         (WebKit::WebString::operator WTF::String):
304         (WebKit::WebString::operator WTF::AtomicString):
305
306 2011-11-02  Adam Barth  <abarth@webkit.org>
307
308         Add stubs for WTF and Platform
309         https://bugs.webkit.org/show_bug.cgi?id=71492
310
311         Reviewed by Eric Seidel.
312
313         This patch creates the Platform directory, which begins the process of
314         moving Platform out of WebCore.