b9a9d7d0ea5737872a178faab926ba13dd6f2e25
[WebKit-https.git] / WebKit2 / ChangeLog
1 2010-04-28  Sam Weinig  <sam@webkit.org>
2
3         Reviewed by Mark Rowe.
4
5         Only build on SnowLeopard and later when using the Makefile.
6
7         * Makefile:
8
9 2010-04-27  Sam Weinig  <sam@webkit.org>
10
11         Reviewed by Maciej Stachowiak.
12
13         Fix for https://bugs.webkit.org/show_bug.cgi?id=38238
14         Allow both WebKit and WebKit2 to link to the same WebCore.framework
15
16         * Configurations/WebKit2.xcconfig: Remove the OTHER_LDFLAGS. We don't
17         need to set WebCore as a sub_umbrella of WebKit2, since we are not
18         reexporting any of its symbols.
19
20 2010-04-27  Sam Weinig  <sam@webkit.org>
21
22         Reviewed by Geoffrey Garen.
23
24         Add comment about not using StringImpl::createCFString in WKStringCopyCFString.
25
26         * UIProcess/API/C/cf/WKStringCF.cpp:
27         (WKStringCopyCFString):
28
29 2010-04-27  Sam Weinig  <sam@webkit.org>
30
31         Reviewed by Geoffrey Garen.
32
33         Remove call to StringImpl::createCFString and instead use CFStringCreateWithCharacters
34         directly. StringImpl::createCFString only an optimization when called
35         from the thread that WebCore is running on, which is never the case for
36         WKStringCopyCFString. We should revisit this later, perhaps adding a
37         threadspecific allocator. We also now honor the passed in allocator.
38
39         * UIProcess/API/C/cf/WKStringCF.cpp:
40         (WKStringCopyCFString):
41
42 2010-04-25  Sam Weinig  <sam@webkit.org>
43
44         Reviewed by Maciej Stachowiak.
45
46         Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
47         Disentangle initializing the main thread from initializing threading
48
49         * UIProcess/Launcher/mac/WebProcessLauncher.mm:
50         (WebKit::webThreadBody): Add call to initializeMainThread.
51         * UIProcess/Launcher/win/WebProcessLauncher.cpp:
52         (WebKit::webThreadBody): Ditto.
53         * WebProcess/Launching/mac/WebProcessMain.mm:
54         (main): Ditto.
55         * WebProcess/win/WebProcessMain.cpp:
56         (WebKit::WebProcessMain): Ditto.
57
58 2010-04-23  Sam Weinig  <sam@webkit.org>
59
60         Reviewed by Anders Carlsson.
61
62         https://bugs.webkit.org/show_bug.cgi?id=38065
63         Merge mac and win DrawingAreaProxyUpdateChunk implementations.
64
65         * UIProcess/API/mac/WKView.mm:
66         (-[WKView drawRect:]):
67         * UIProcess/DrawingAreaProxy.cpp: Copied from UIProcess/mac/DrawingAreaProxy.mm.
68         * UIProcess/DrawingAreaProxy.h: Copied from UIProcess/mac/DrawingAreaProxy.h.
69         * UIProcess/DrawingAreaProxyUpdateChunk.cpp: Copied from UIProcess/mac/DrawingAreaProxyUpdateChunk.mm.
70         (WebKit::DrawingAreaProxyUpdateChunk::DrawingAreaProxyUpdateChunk):
71         (WebKit::DrawingAreaProxyUpdateChunk::paint):
72         (WebKit::DrawingAreaProxyUpdateChunk::setSize):
73         (WebKit::DrawingAreaProxyUpdateChunk::didSetSize):
74         (WebKit::DrawingAreaProxyUpdateChunk::update):
75         (WebKit::DrawingAreaProxyUpdateChunk::didReceiveMessage):
76         * UIProcess/DrawingAreaProxyUpdateChunk.h: Copied from UIProcess/mac/DrawingAreaProxyUpdateChunk.h.
77         * UIProcess/mac/DrawingAreaProxy.h: Removed.
78         * UIProcess/mac/DrawingAreaProxy.mm: Removed.
79         * UIProcess/mac/DrawingAreaProxyUpdateChunk.h: Removed.
80         * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: Removed.
81         * UIProcess/mac/DrawingAreaProxyUpdateChunkMac.mm: Copied from UIProcess/mac/DrawingAreaProxyUpdateChunk.mm.
82         (WebKit::DrawingAreaProxyUpdateChunk::page):
83         (WebKit::DrawingAreaProxyUpdateChunk::invalidateBackingStore):
84         (WebKit::DrawingAreaProxyUpdateChunk::platformPaint):
85         (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore):
86         * UIProcess/win/DrawingAreaProxy.cpp: Removed.
87         * UIProcess/win/DrawingAreaProxy.h: Removed.
88         * UIProcess/win/DrawingAreaProxyUpdateChunkWin.cpp: Copied from UIProcess/win/DrawingAreaProxy.cpp.
89         (WebKit::DrawingAreaProxyUpdateChunk::page):
90         (WebKit::DrawingAreaProxyUpdateChunk::ensureBackingStore):
91         (WebKit::DrawingAreaProxyUpdateChunk::invalidateBackingStore):
92         (WebKit::DrawingAreaProxyUpdateChunk::platformPaint):
93         (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore):
94         * UIProcess/win/WebView.cpp:
95         (WebKit::WebView::WebView):
96         (WebKit::WebView::onPaintEvent):
97         * WebKit2.xcodeproj/project.pbxproj:
98         * win/WebKit2.vcproj:
99
100 2010-04-23  Sam Weinig  <sam@webkit.org>
101
102         Reviewed by Anders Carlsson.
103
104         Fix for https://bugs.webkit.org/show_bug.cgi?id=38059
105         Merge mac and win DrawingAreaUpdateChunk implementations.
106
107         * UIProcess/win/DrawingAreaProxy.cpp:
108         (WebKit::DrawingAreaProxy::didSetSize):
109         (WebKit::DrawingAreaProxy::didReceiveMessage):
110         * UIProcess/win/DrawingAreaProxy.h:
111         * WebKit2.xcodeproj/project.pbxproj:
112         * WebProcess/WebPage/DrawingAreaUpdateChunk.cpp: Copied from WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp.
113         (WebKit::DrawingAreaUpdateChunk::setSize):
114         * WebProcess/WebPage/DrawingAreaUpdateChunk.h: Copied from WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h.
115         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: Removed.
116         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h: Removed.
117         * WebProcess/WebPage/mac/DrawingAreaUpdateChunkMac.cpp: Copied from WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp.
118         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: Removed.
119         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.h: Removed.
120         * WebProcess/WebPage/win/DrawingAreaUpdateChunkWin.cpp: Copied from WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp.
121         (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk):
122         * win/WebKit2.vcproj:
123
124 2010-04-23  Anders Carlsson  <andersca@apple.com>
125
126         Reviewed by Sam Weinig.
127
128         Remove an assert. (It's not valid when resizing).
129
130         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp:
131         (WebKit::DrawingAreaUpdateChunk::didUpdate):
132
133 2010-04-23  Anders Carlsson  <andersca@apple.com>
134
135         Fix build.
136
137         * UIProcess/win/DrawingAreaProxy.cpp:
138         (WebKit::DrawingAreaProxy::paint):
139         (WebKit::DrawingAreaProxy::setSize):
140         (WebKit::DrawingAreaProxy::didReceiveMessage):
141         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp:
142         (WebKit::DrawingAreaUpdateChunk::setSize):
143         (WebKit::DrawingAreaUpdateChunk::didReceiveMessage):
144
145 2010-04-22  Anders Carlsson  <andersca@apple.com>
146
147         Reviewed by Sam Weinig.
148
149         Remove an assert. (It's not valid when resizing).
150
151         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp:
152         (WebKit::DrawingAreaUpdateChunk::didUpdate):
153
154 2010-04-22  Sam Weinig  <sam@webkit.org>
155
156         Reviewed by Anders Carlsson.
157
158         Merge the prefix headers.
159
160         * Configurations/BaseTarget.xcconfig:
161         * WebKit2.xcodeproj/project.pbxproj:
162         * WebKit2Prefix.h:
163         * WebKit2_Prefix.pch: Removed.
164
165 2010-04-22  Anders Carlsson  <andersca@apple.com>
166
167         Reviewed by Sam Weinig.
168
169         Don't pass the new size when calling didSetSize, it's possible to get
170         the size from the update chunk.
171
172         * UIProcess/mac/DrawingAreaProxyUpdateChunk.h:
173         * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm:
174         (WebKit::DrawingAreaProxyUpdateChunk::didSetSize):
175         (WebKit::DrawingAreaProxyUpdateChunk::didReceiveMessage):
176         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp:
177         (WebKit::DrawingAreaUpdateChunk::setSize):
178
179 2010-04-22  Anders Carlsson  <andersca@apple.com>
180
181         Reviewed by Sam Weinig.
182
183         Rename SetFrame and DidSetFrame to SetSize and DidSetSize.
184
185         * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h:
186         (DrawingAreaMessage::):
187         * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h:
188         (DrawingAreaProxyMessage::):
189         * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm:
190         (WebKit::DrawingAreaProxyUpdateChunk::drawRectIntoContext):
191         (WebKit::DrawingAreaProxyUpdateChunk::setSize):
192         (WebKit::DrawingAreaProxyUpdateChunk::didReceiveMessage):
193         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp:
194         (WebKit::DrawingAreaUpdateChunk::setSize):
195         (WebKit::DrawingAreaUpdateChunk::didReceiveMessage):
196
197 2010-04-22  Sam Weinig  <sam@webkit.org>
198
199         Reviewed by Anders Carlsson.
200
201         Fix for https://bugs.webkit.org/show_bug.cgi?id=38002
202         Add rudimentary statistics gathering for WebKit2
203
204         * UIProcess/API/C/WKContext.cpp:
205         (WKContextGetStatistics):
206         * UIProcess/API/C/WKContextPrivate.h: Copied from WebKit2/UIProcess/API/C/WKContext.h.
207         * UIProcess/API/C/WKPageNamespace.cpp:
208         (WKPageNamespaceGetContext):
209         * UIProcess/API/C/WKPageNamespace.h:
210         * UIProcess/WebContext.cpp:
211         (WebKit::WebContext::getStatistics):
212         * UIProcess/WebContext.h:
213         * UIProcess/WebPageNamespace.cpp:
214         (WebKit::WebPageNamespace::getStatistics):
215         * UIProcess/WebPageNamespace.h:
216         * UIProcess/WebPageProxy.cpp:
217         (WebKit::WebPageProxy::getStatistics):
218         * UIProcess/WebPageProxy.h:
219         * UIProcess/WebProcessProxy.cpp:
220         (WebKit::WebProcessProxy::numberOfPages):
221         * UIProcess/WebProcessProxy.h:
222         * WebKit2.xcodeproj/project.pbxproj:
223         * win/WebKit2.vcproj:
224
225 2010-04-20  Anders Carlsson  <andersca@apple.com>
226
227         Reviewed by Sam Weinig.
228
229         Don't paint the web page before we've blit the last update chunk to the backing store.
230
231         * UIProcess/win/DrawingAreaProxy.cpp:
232         (WebKit::DrawingAreaProxy::update):
233         (WebKit::DrawingAreaProxy::didReceiveMessage):
234         * UIProcess/win/DrawingAreaProxy.h:
235         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp:
236         (WebKit::DrawingAreaUpdateChunk::DrawingAreaUpdateChunk):
237         (WebKit::DrawingAreaUpdateChunk::display):
238         (WebKit::DrawingAreaUpdateChunk::scheduleDisplay):
239         (WebKit::DrawingAreaUpdateChunk::setSize):
240         (WebKit::DrawingAreaUpdateChunk::didUpdate):
241         (WebKit::DrawingAreaUpdateChunk::didReceiveMessage):
242         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.h:
243
244 2010-04-20  Anders Carlsson  <andersca@apple.com>
245
246         Fix build.
247
248         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
249         (WebKit::WebFrameLoaderClient::receivedData):
250
251 2010-04-20  Anders Carlsson  <andersca@apple.com>
252
253         Reviewed by Sam Weinig.
254
255         Don't paint the web page before we've blit the last update chunk to the backing store
256         https://bugs.webkit.org/show_bug.cgi?id=37896
257
258         * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h:
259         (DrawingAreaMessage::):
260         * UIProcess/mac/DrawingAreaProxyUpdateChunk.h:
261         * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm:
262         (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore):
263         (WebKit::DrawingAreaProxyUpdateChunk::update):
264         (WebKit::DrawingAreaProxyUpdateChunk::didReceiveMessage):
265         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp:
266         (WebKit::DrawingAreaUpdateChunk::DrawingAreaUpdateChunk):
267         (WebKit::DrawingAreaUpdateChunk::display):
268         (WebKit::DrawingAreaUpdateChunk::scheduleDisplay):
269         (WebKit::DrawingAreaUpdateChunk::setSize):
270         (WebKit::DrawingAreaUpdateChunk::didUpdate):
271         (WebKit::DrawingAreaUpdateChunk::didReceiveMessage):
272         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h:
273
274 2010-04-20  Anders Carlsson  <andersca@apple.com>
275
276         Fix build.
277
278         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
279         (WebKit::WebChromeClient::chooseIconForFiles):
280         * WebProcess/WebCoreSupport/WebChromeClient.h:
281
282 2010-04-19  Anders Carlsson  <andersca@apple.com>
283
284         Fix build.
285
286         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
287         (WebKit::WebFrameLoaderClient::dispatchDidChangeIcons):
288         * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
289
290 2010-04-17  Sam Weinig  <weinig@apple.com>
291
292         Reviewed by Jon "The Belly" Honeycutt.
293
294         Remove the need for a .defs file! Define WK_EXPORT.
295
296         * UIProcess/API/C/WKBase.h:
297         * WebProcess/win/WebProcessMain.h:
298         * win/WebKit2.def: Removed.
299         * win/WebKit2.vcproj:
300
301 2010-04-17  Sam Weinig  <weinig@apple.com>
302
303         Reviewed by Adam Roben.
304
305         Teach windows MiniBrowser how to work with window.open()
306         and targeted links.
307
308         Export WKPageSetPageUIClient.
309
310         * win/WebKit2.def:
311
312 2010-04-16  Sam Weinig  <sam@webkit.org>
313
314         Reviewed by Anders Carlsson.
315
316         Fix window.open() and targeted links.
317
318         * UIProcess/WebPageProxy.cpp:
319         (WebKit::WebPageProxy::didReceiveSyncMessage): Pass in the new pageID
320         instead of 0.
321
322         * WebProcess/WebProcess.cpp:
323         (WebKit::WebProcess::createWebPage): Allow for the page to have already
324         been created, as is the case with programmatic window opening from within
325         WebCore (e.g. window.open() or <a target="_blank">).
326
327 2010-04-16  Sam Weinig  <sam@webkit.org>
328
329         Reviewed by Mark Rowe.
330
331         Don't optimize debug builds.
332
333         * WebKit2.xcodeproj/project.pbxproj: Define GCC_OPTIMIZATION_LEVEL correctly.
334
335 2010-04-16  Anders Carlsson  <andersca@apple.com>
336
337         Fix build.
338
339         * WebProcess/WebPage/WebPage.cpp:
340         (WebKit::WebPage::runJavaScriptInMainFrame):
341
342 2010-04-16  Anders Carlsson  <andersca@apple.com>
343
344         Reviewed by Sam Weinig.
345
346         Fix windows build.
347
348         * Platform/win/RunLoopWin.cpp:
349         (RunLoop::run):
350         * UIProcess/Launcher/win/WebProcessLauncher.cpp:
351         (WebKit::webThreadBody):
352         (WebKit::launchWebProcess):
353         * WebProcess/win/WebProcessMain.cpp:
354         (WebKit::WebProcessMain):
355
356 2010-04-16  Sam Weinig  <weinig@apple.com>
357
358         Reviewed by Anders Carlsson.
359
360         Make resizing responsive on Windows.
361
362         - Use the same waitFor logic as do for the Mac resizing
363           DrawingAreaUpdateChunk code.
364
365         * Shared/win/UpdateChunk.cpp:
366         (WebKit::UpdateChunk::UpdateChunk):
367         * Shared/win/UpdateChunk.h:
368          Add a constructor that only takes an IntRect and allocates
369          the shared memory mapping for you.
370         * UIProcess/win/DrawingAreaProxy.cpp:
371         (WebKit::DrawingAreaProxy::DrawingAreaProxy):
372         (WebKit::DrawingAreaProxy::ensureBackingStore):
373         (WebKit::DrawingAreaProxy::paint):
374         (WebKit::DrawingAreaProxy::drawUpdateChunkIntoBackingStore):
375         (WebKit::DrawingAreaProxy::setSize):
376         (WebKit::DrawingAreaProxy::didSetSize):
377         (WebKit::DrawingAreaProxy::didReceiveMessage):
378         * UIProcess/win/DrawingAreaProxy.h:
379         Perform wait in paint as we do on the mac.
380
381         * UIProcess/win/WebView.cpp:
382         (WebKit::WebView::onSizeEvent):
383         Change to use an IntSize.
384
385         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp:
386         (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk):
387         (WebKit::DrawingAreaUpdateChunk::display):
388         (WebKit::DrawingAreaUpdateChunk::setSize):
389         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.h:
390         Specialize setSize() drawing and factor out painting
391         into a helper function.
392
393 2010-04-16  Anders Carlsson  <andersca@apple.com>
394
395         Reviewed by David Hyatt.
396
397         Make run loops be allocated as thread specific data.
398         https://bugs.webkit.org/show_bug.cgi?id=37723
399
400         * Platform/RunLoop.cpp:
401         (RunLoop::initializeMainRunLoop):
402         (RunLoop::current):
403         (RunLoop::main):
404         * Platform/RunLoop.h:
405         * Platform/mac/RunLoopMac.mm:
406         (RunLoop::run):
407         (RunLoop::stop):
408         * UIProcess/Launcher/mac/WebProcessLauncher.mm:
409         (WebKit::webThreadBody):
410         (WebKit::launchWebProcess):
411         * UIProcess/ResponsivenessTimer.cpp:
412         (WebKit::ResponsivenessTimer::ResponsivenessTimer):
413         * WebProcess/Launching/mac/WebProcessMain.mm:
414         (main):
415         * WebProcess/WebProcess.cpp:
416         (WebKit::WebProcess::isSeparateProcess):
417
418 2010-04-16  Sam Weinig  <weinig@apple.com>
419
420         Reviewed by Adam Roben.
421
422         Use GDI text rendering on Windows by default.
423
424         * WebProcess/WebPage/win/WebPageWin.cpp:
425         (WebKit::WebPage::platformInitialize): Use the AlternateRenderingMode
426         setting.
427
428 2010-04-16  Sam Weinig  <weinig@apple.com>
429
430         Reviewed by Adam Roben.
431
432         Fix crash when trying to load an invalid URL.
433
434         * WebProcess/WebPage/WebPage.cpp:
435         (WebKit::WebPage::loadURL): Use constructor for ResourceRequest
436         that takes a KURL instead of the one that takes a String. The one
437         that takes a string expects a valid URL.
438
439 2010-04-16  Sam Weinig  <weinig@apple.com>
440
441         Reviewed by Adam Roben.
442
443         Make tooltips work. Thanks Adam!
444
445         * UIProcess/win/WebView.cpp:
446         (WebKit::WebView::toolTipChanged): Pass the WebView's HWND, not the tooltip's.
447
448 2010-04-15  Anders Carlsson  <andersca@apple.com>
449
450         Reviewed by Adam Roben.
451
452         Fix build dependencies.
453
454         * WebKit2.sln:
455
456 2010-04-15  Adam Roben  <aroben@apple.com>
457
458         Fix Windows WebKit2 build.
459
460         * UIProcess/WebPageProxy.cpp:
461         (WebKit::WebPageProxy::processDidExit):
462         * win/WebKit2Generated.make:
463
464 2010-04-15  Sam Weinig  <sam@webkit.org>
465
466         Reviewed by Anders Carlsson.
467
468         Add WebHistoryClient support.
469         https://bugs.webkit.org/show_bug.cgi?id=37671
470
471         Adds the following callbacks:
472             didNavigateWithNavigationData
473             didPerformClientRedirect
474             didPerformServerRedirect
475             didUpdateHistoryTitle
476
477         * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h:
478         (WebPageProxyMessage::):
479         * Shared/WebNavigationDataStore.h: Added.
480         * UIProcess/API/C/WKAPICast.h:
481         * UIProcess/API/C/WKBase.h:
482         * UIProcess/API/C/WKNavigationData.cpp: Added.
483         * UIProcess/API/C/WKNavigationData.h: Added.
484         * UIProcess/API/C/WKPage.cpp:
485         * UIProcess/API/C/WKPage.h:
486         * UIProcess/API/C/WebKit2.h:
487         * UIProcess/WebHistoryClient.cpp: Copied from UIProcess/WebUIClient.cpp.
488         * UIProcess/WebHistoryClient.h: Copied from UIProcess/WebUIClient.h.
489         * UIProcess/WebNavigationData.cpp: Added.
490         * UIProcess/WebNavigationData.h: Added.
491         * UIProcess/WebPageProxy.cpp:
492         * UIProcess/WebPageProxy.h:
493         * WebKit2.xcodeproj/project.pbxproj:
494         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
495         * win/WebKit2.vcproj:
496
497 2010-04-15  Sam Weinig  <sam@webkit.org>
498
499         Reviewed by Adam Roben.
500
501         Remove empty file configurations.
502
503         * win/WebKit2.vcproj:
504
505 2010-04-15  Sam Weinig  <sam@webkit.org>
506
507         Reviewed by Anders Carlsson.
508
509         Fix WebKit2s build. Don't return temporaries.
510
511         * UIProcess/API/C/cf/WKStringCF.cpp:
512         (WKStringCreateWithCFString):
513         * UIProcess/API/C/cf/WKURLCF.cpp:
514         (WKURLCreateWithCFURL):
515         (WKURLCopyCFURL):
516
517 2010-04-12  Geoffrey Garen  <ggaren@apple.com>
518
519         Reviewed by Anders Carlsson.
520
521         Fixed complexity and performance FIXME created by using KURL in the UI
522         process -- it turned out that everywhere we were using KURL, we could
523         have just used String instead. (That's how Windows WebKit works, too.)
524
525         I kept WKURLRef and WKStringRef distinct opaque types in the API for now,
526         though, since there may be profit in changing their backing stores in the
527         future, and it's nice for the API to encode a difference between generic
528         strings and strings that are valid, canonical URLs.
529
530         * Shared/KURLWrapper.h: Removed. Yay!
531
532         * Shared/WebCoreTypeArgumentMarshalling.h: Nixed KURL marshalling functions.
533         Old callers marshal Strings now, instead. (This is what KURL was doing
534         under the covers, anyway.)
535
536         * UIProcess/API/C/WKAPICast.h:
537         (toWK): Backed by StringImpl* now.
538         (toURLRef): Added a disambiguating function for specifying that you want
539         a WKURLRef, since StringImpl* converts to WKStringRef by default.
540
541         * UIProcess/API/C/WKFrame.cpp:
542         (WKFrameGetProvisionalURL):
543         (WKFrameGetURL):
544         * UIProcess/API/C/WKPage.cpp:
545         (WKPageLoadURL):
546         * UIProcess/API/C/WKURL.cpp:
547         * UIProcess/API/C/cf/WKURLCF.cpp:
548         (WKURLCreateWithCFURL):
549         (WKURLCopyCFURL):
550         * UIProcess/WebFrameProxy.cpp:
551         (WebKit::WebFrameProxy::didStartProvisionalLoad):
552         (WebKit::WebFrameProxy::didCommitLoad):
553         * UIProcess/WebFrameProxy.h:
554         (WebKit::WebFrameProxy::url):
555         (WebKit::WebFrameProxy::provisionalURL):
556         * UIProcess/WebPageProxy.cpp:
557         (WebKit::WebPageProxy::loadURL):
558         (WebKit::WebPageProxy::didReceiveMessage):
559         (WebKit::WebPageProxy::didStartProvisionalLoadForFrame):
560         (WebKit::WebPageProxy::decidePolicyForNavigationAction):
561         (WebKit::WebPageProxy::decidePolicyForNewWindowAction):
562         (WebKit::WebPageProxy::decidePolicyForMIMEType):
563         (WebKit::WebPageProxy::processDidExit):
564         * UIProcess/WebPageProxy.h:
565         (WebKit::WebPageProxy::urlAtProcessExit):
566         * UIProcess/WebPolicyClient.cpp:
567         (WebKit::WebPolicyClient::decidePolicyForNavigationAction):
568         (WebKit::WebPolicyClient::decidePolicyForNewWindowAction):
569         (WebKit::WebPolicyClient::decidePolicyForMIMEType):
570         * UIProcess/WebPolicyClient.h:
571         * WebKit2.xcodeproj/project.pbxproj:
572         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
573         (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad):
574         (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForMIMEType):
575         (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
576         (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction):
577         * WebProcess/WebPage/WebPage.cpp:
578         (WebKit::WebPage::loadURL):
579         (WebKit::WebPage::didReceiveMessage):
580         * WebProcess/WebPage/WebPage.h: Replaced KURL / KURLWrapper with String.
581
582 2010-04-14  Anders Carlsson  <andersca@apple.com>
583
584         Reviewed by Sam Weinig.
585
586         Fix horizontal scrollbar repainting
587         https://bugs.webkit.org/show_bug.cgi?id=37626
588
589         Make sure that the update chunk is flipped because that's what WebCore expects.
590         
591         * Shared/mac/UpdateChunk.cpp:
592         (WebKit::UpdateChunk::createImage):
593         * Shared/mac/UpdateChunk.h:
594         Add new createImage member function that creates a CGImageRef from the update chunk.
595         
596         * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm:
597         (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore):
598         Pass the right rectangle here; CoreGraphics wants it in non-flipped coordinates.
599         
600         (WebKit::DrawingAreaProxyUpdateChunk::ensureBackingStore):
601         Create a flipped backing store.
602
603         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp:
604         (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk):
605         Flip the update chunk.
606
607 2010-04-14  Sam Weinig  <sam@webkit.org>
608
609         Reviewed by Anders Carlsson.
610
611         Add WKRetainPtr helper class as private header
612         https://bugs.webkit.org/show_bug.cgi?id=37603
613
614         WKRetainPtr is just like RetainPtr, but works for WK types instead of
615         CF/NS types.
616
617         * UIProcess/API/cpp: Added.
618         * UIProcess/API/cpp/WKRetainPtr.h: Added.
619         * WebKit2.xcodeproj/project.pbxproj: Add new file.
620         * win/WebKit2.vcproj: Ditto.
621
622 2010-04-14  Sam Weinig  <sam@webkit.org>
623
624         Reviewed by Anders Carlsson.
625
626         Make the WebProcess a LSUIElement to suppress its icon from the Dock.
627
628         * WebKit2.xcodeproj/project.pbxproj:
629         * WebProcess/Info.plist:
630
631 2010-04-14  Anders Carlsson  <andersca@apple.com>
632
633         Reviewed by Sam Weinig.
634
635         Factor code to paint into an update chunk out into a separate function.
636         https://bugs.webkit.org/show_bug.cgi?id=37594
637
638         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp:
639         (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk):
640         (WebKit::DrawingAreaUpdateChunk::display):
641         (WebKit::DrawingAreaUpdateChunk::setSize):
642         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h:
643
644 2010-04-13  Sam Weinig  <sam@webkit.org>
645
646         Reviewed by Anders Carlsson.
647
648         Fix reported leaks when quitting MiniBrowser with open pages.
649
650         * WebProcess/WebPage/WebPage.h: Make close() public.
651         * WebProcess/WebProcess.cpp:
652         (WebKit::WebProcess::WebProcess):
653         (WebKit::WebProcess::removeWebPage):
654         (WebKit::WebProcess::didClose): If the UIProcess disappears, close
655         the live pages in an effort to not leak.
656         * WebProcess/WebProcess.h:
657
658 2010-04-13  Sam Weinig  <sam@webkit.org>
659
660         Reviewed by Anders Carlsson.
661
662         Do a JS collection and clear the memory cache to improve leaks output
663         when exiting. Only do this in debug builds as it is slow.
664
665         * UIProcess/API/mac/WKView.h:
666         * UIProcess/WebProcessProxy.cpp:
667         * WebProcess/WebPage/WebPage.cpp:
668         * WebProcess/WebProcess.cpp:
669         (WebKit::WebProcess::shutdown):
670         (WebKit::WebProcess::didClose):
671
672 2010-04-13  Sam Weinig  <sam@webkit.org>
673
674         Reviewed by Adele Peterson.
675
676         Post a null event after calling [NSApp stop] to flush the run loop
677         and finish teardown.
678
679         * Platform/mac/RunLoopMac.mm:
680         (RunLoop::stop):
681
682 2010-04-12  Sam Weinig  <sam@webkit.org>
683
684         Reviewed by Anders Carlsson.
685
686         Add #ifdef so that WKView is not included on the mac if not
687         compiling objective-c.
688
689         * UIProcess/API/C/WebKit2.h:
690
691 2010-04-12  Anders Carlsson  <andersca@apple.com>
692
693         Reviewed by Adam Roben.
694
695         Add WebKit2 solution file.
696
697         * WebKit2.sln: Added.
698
699 2010-04-11  Sam Weinig  <sam@webkit.org>
700
701         Reviewed by Darin Adler.
702
703         Fix for https://bugs.webkit.org/show_bug.cgi?id=37417
704         Move duplicated internal CoreIPC message kinds to a
705         header.
706
707         * Platform/CoreIPC/Connection.cpp:
708         (CoreIPC::Connection::processIncomingMessage):
709         * Platform/CoreIPC/CoreIPCMessageKinds.h: Added.
710         (CoreIPC::CoreIPCMessage::):
711         (CoreIPC::):
712         * Platform/CoreIPC/mac/ConnectionMac.cpp:
713         * WebKit2.xcodeproj/project.pbxproj:
714         * win/WebKit2.vcproj:
715
716 2010-04-11  Sam Weinig  <sam@webkit.org>
717
718         Rubber-stamped by Anders Carlsson.
719
720         Disable not-implemented warnings by default for now.
721
722         * Shared/NotImplemented.h:
723
724 2010-04-10  Sam Weinig  <sam@webkit.org>
725
726         Reviewed by Anders Carlsson.
727
728         Fix for https://bugs.webkit.org/show_bug.cgi?id=37399
729         Remove use of STL data structures from CoreIPC code
730
731         * Platform/CoreIPC/ArgumentDecoder.cpp:
732         (CoreIPC::ArgumentDecoder::ArgumentDecoder):
733         (CoreIPC::ArgumentDecoder::decodeBytes):
734         (CoreIPC::ArgumentDecoder::removeAttachment):
735         * Platform/CoreIPC/ArgumentDecoder.h:
736         Use WTF::Deque instead of std::queue and WTF::Vector
737         instead of std::vector. Replace use of malloc/free with 
738         fastMalloc/fastFree.
739
740         * Platform/CoreIPC/ArgumentEncoder.cpp:
741         (CoreIPC::ArgumentEncoder::addAttachment):
742         (CoreIPC::ArgumentEncoder::releaseAttachments):
743         * Platform/CoreIPC/ArgumentEncoder.h:
744         Use WTF::Vector instead of std::list. Replace use of malloc/free
745         with fastMalloc/fastFree.
746
747         * Platform/CoreIPC/Connection.cpp:
748         (CoreIPC::Connection::sendMessage):
749         (CoreIPC::Connection::waitForMessage):
750         (CoreIPC::Connection::processIncomingMessage):
751         (CoreIPC::Connection::sendOutgoingMessages):
752         (CoreIPC::Connection::dispatchMessages):
753         * Platform/CoreIPC/Connection.h:
754         * Platform/CoreIPC/mac/ConnectionMac.cpp:
755         (CoreIPC::Connection::sendOutgoingMessage):
756         (CoreIPC::createArgumentDecoder):
757         Use WTF::Vector instead of std::queue.
758
759         * Platform/RunLoop.cpp:
760         (RunLoop::performWork):
761         (RunLoop::scheduleWork):
762         * Platform/RunLoop.h:
763         Ditto.
764
765         * Platform/WorkQueue.h:
766         * Platform/win/WorkQueueWin.cpp:
767         (WorkQueue::scheduleWork):
768         (WorkQueue::performWork):
769         Ditto.
770
771 2010-04-10  Mark Rowe  <mrowe@apple.com>
772
773         Fix an obviously incorrect part of the Xcode configuration cleanup that resulted in debug builds
774         asserting shortly after launch.
775
776         * WebKit2.xcodeproj/project.pbxproj: Fix the setting of DEBUG_DEFINES for the Debug configuration.
777
778 2010-04-09  Mark Rowe  <mrowe@apple.com>
779
780         Reviewed by Sam Weinig.
781
782         Bring the WebKit2 Xcode configuration in to sync with recent changes to the WebKit Xcode configuration files.
783
784         In particular, this updates the FEATURE_DEFINES to match those used in the other projects, and brings in
785         the changes to support building WebKit for older Mac OS X versions from the current Mac OS X version.
786
787         * Configurations/Base.xcconfig:
788         * Configurations/DebugRelease.xcconfig:
789         * Configurations/FeatureDefines.xcconfig:
790         * Configurations/Version.xcconfig:
791
792 2010-04-09  Mark Rowe  <mrowe@apple.com>
793
794         Reviewed by Sam Weinig.
795
796         Clean up the Xcode project configuration.
797
798         Common target settings are pulled out in to BaseTarget.xcconfig.  The majority of setting overrides are
799         removed from the Xcode project itself.  Info.plist files are updated to match those used in other frameworks.
800
801         * Configurations/BaseTarget.xcconfig: Copied from WebKit2/Configurations/WebKit2.xcconfig.
802         * Configurations/WebKit2.xcconfig:
803         * Configurations/WebProcess.xcconfig: Copied from WebKit2/Configurations/WebKit2.xcconfig.
804         * Info.plist:
805         * WebKit2.xcodeproj/project.pbxproj:
806         * WebProcess-Info.plist: Removed.
807         * WebProcess/Info.plist: Moved from WebProcess-Info.plist.
808
809 2010-04-09  Mark Rowe  <mrowe@apple.com>
810
811         Build fix.
812
813         * WebProcess/WebCoreSupport/mac/WebSystemInterface.m:
814         (InitWebCoreSystemInterface): Update for recent WKSI changes.
815
816 2010-04-09  Sam Weinig  <sam@webkit.org>
817
818         Reviewed by Darin Adler.
819
820         Fix for https://bugs.webkit.org/show_bug.cgi?id=37351
821         Cannot build with build-webkit --webkit2
822
823         Add some headers that it seems others are not getting
824         already.
825
826         * Platform/mac/WorkQueueMac.cpp: #inlude <mach/mach_port.h>
827         * Shared/mac/UpdateChunk.cpp: #inlude <mach/vm_map.h>
828
829 2010-04-09  Anders Carlsson  <andersca@apple.com>
830
831         More build fixes.
832         
833         * WebProcess/win/WebProcessMain.h:
834         Include windows.h here.
835         
836         * win/WebKit2.def:
837         Add new exports.
838
839         * win/WebKit2.vcproj:
840         Add new files.
841
842 2010-04-09  Sam Weinig  <sam@webkit.org>
843
844         Reviewed by Anders Carlsson.
845
846         Add new WKString.h and WKURL.h headers to top
847         level include.
848
849         * UIProcess/API/C/WebKit2.h:
850
851 2010-04-09  Anders Carlsson  <andersca@apple.com>
852
853         More Windows build fixes.
854         
855         * Shared/NotImplemented.h:
856         * UIProcess/API/C/cf/WKURLCF.cpp:
857         Fix typo.
858         
859         (WKURLCreateWithCFURL):
860         * UIProcess/API/C/cf/WKURLCF.h:
861         Ditto.
862         
863         * win/WebKit2Generated.make:
864         Copy the new CF headers.
865
866 2010-04-09  Sam Weinig  <sam@webkit.org>
867
868         Reviewed by Anders Carlsson.
869
870         Two more #include sorting issues.
871
872         * Shared/NotImplemented.h:
873         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp:
874
875 2010-04-09  Sam Weinig  <sam@webkit.org>
876
877         Reviewed by Anders Carlsson.
878
879         Fix minor style nits found by the style-script.
880
881         * Platform/CoreIPC/ArgumentDecoder.h:
882         * Platform/CoreIPC/ArgumentEncoder.cpp:
883         * Platform/CoreIPC/Attachment.cpp:
884         * Platform/CoreIPC/Connection.cpp:
885         * Platform/CoreIPC/Connection.h:
886         * Platform/CoreIPC/mac/ConnectionMac.cpp:
887         * Platform/CoreIPC/win/ConnectionWin.cpp:
888         * Platform/WorkQueue.h:
889         * Platform/mac/WorkQueueMac.cpp:
890         * Platform/win/RunLoopWin.cpp:
891         * Shared/KURLWrapper.h:
892         * Shared/WebCoreTypeArgumentMarshalling.h:
893         * Shared/mac/UpdateChunk.cpp:
894         * UIProcess/API/C/WKPage.cpp:
895         * UIProcess/API/C/WKURL.cpp:
896         * UIProcess/Launcher/win/WebProcessLauncher.cpp:
897         * UIProcess/ResponsivenessTimer.cpp:
898         * UIProcess/WebLoaderClient.cpp:
899         * UIProcess/WebPageProxy.h:
900         * UIProcess/WebPolicyClient.cpp:
901         * UIProcess/WebUIClient.cpp:
902         * UIProcess/win/DrawingAreaProxy.cpp:
903         * UIProcess/win/WebView.cpp:
904         * WebProcess/Launching/win/WebProcessWinMain.cpp:
905         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
906         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
907         * WebProcess/WebCoreSupport/mac/WebSystemInterface.h:
908         * WebProcess/WebCoreSupport/win/WebCoreLocalizedStrings.cpp:
909         * WebProcess/WebCoreSupport/win/WebErrorsWin.cpp:
910         * WebProcess/WebPage/WebFrame.h:
911         * WebProcess/WebPage/WebPage.cpp:
912         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp:
913         * WebProcess/WebProcess.h:
914         * WebProcess/win/WebLocalizableStrings.cpp:
915         * WebProcess/win/WebLocalizableStrings.h:
916         * WebProcess/win/WebProcessMain.cpp:
917
918 2010-04-09  Anders Carlsson  <andersca@apple.com>
919
920         Fix Windows build.
921
922         * Shared/NotImplemented.h:
923         Include stdio.h.
924
925 2010-04-09  Sam Weinig  <sam@webkit.org>
926
927         Reviewed by Anders Carlsson.
928
929         Fix for https://bugs.webkit.org/show_bug.cgi?id=37347
930         Don't use CF types in the new C API
931
932         Replace all uses of CF types in the C API.
933         - Replace CFStringRef with WKStringRef.
934         - Replace CFURLRef with WKURLRef.
935
936         * WebKit2.xcodeproj/project.pbxproj: Add new files.
937
938         * Shared/KURLWrapper.h: Added. RefCounted wrapper around KURL.
939         * UIProcess/API/C/WKAPICast.h: Add new conversions.
940         * UIProcess/API/C/WKBase.h: Add new types.
941         * UIProcess/API/C/WKFrame.cpp:
942         * UIProcess/API/C/WKFrame.h: 
943         * UIProcess/API/C/WKPage.cpp:
944         * UIProcess/API/C/WKPage.h:
945         Replace uses of CF types with WK equivalents.
946
947         * UIProcess/API/C/WKString.cpp: Added.
948         * UIProcess/API/C/WKString.h: Added.
949         Represents a WebCore::StringImpl*.
950
951         * UIProcess/API/C/WKURL.cpp: Added.
952         * UIProcess/API/C/WKURL.h: Added.
953         Represents a WebKit::KURLWrapper*.
954
955         * UIProcess/API/C/cf: Added.
956         * UIProcess/API/C/cf/WKStringCF.cpp: Added.
957         * UIProcess/API/C/cf/WKStringCF.h: Added.
958         * UIProcess/API/C/cf/WKURLCF.cpp: Added.
959         * UIProcess/API/C/cf/WKURLCF.h: Added.
960         CoreFoundation conversion files. Allows converting
961          WKStringRef <-> CFStringRef
962          WKURLRef <-> CFURLRef
963
964         * UIProcess/ScriptReturnValueCallback.cpp:
965         (WebKit::ScriptReturnValueCallback::performCallbackWithReturnValue):
966         * UIProcess/ScriptReturnValueCallback.h:
967         * UIProcess/WebFrameProxy.cpp:
968         (WebKit::WebFrameProxy::didStartProvisionalLoad):
969         (WebKit::WebFrameProxy::didCommitLoad):
970         * UIProcess/WebFrameProxy.h:
971         (WebKit::WebFrameProxy::url):
972         (WebKit::WebFrameProxy::provisionalURL):
973         * UIProcess/WebLoaderClient.cpp:
974         (WebKit::WebLoaderClient::didReceiveTitleForFrame):
975         * UIProcess/WebLoaderClient.h:
976         * UIProcess/WebPageProxy.cpp:
977         (WebKit::WebPageProxy::close):
978         (WebKit::WebPageProxy::didReceiveTitleForFrame):
979         (WebKit::WebPageProxy::decidePolicyForNavigationAction):
980         (WebKit::WebPageProxy::decidePolicyForNewWindowAction):
981         (WebKit::WebPageProxy::decidePolicyForMIMEType):
982         (WebKit::WebPageProxy::runJavaScriptAlert):
983         (WebKit::WebPageProxy::didRunJavaScriptInMainFrame):
984         (WebKit::WebPageProxy::processDidExit):
985         * UIProcess/WebPageProxy.h:
986         (WebKit::WebPageProxy::pageTitle):
987         (WebKit::WebPageProxy::urlAtProcessExit):
988         * UIProcess/WebPolicyClient.cpp:
989         (WebKit::WebPolicyClient::decidePolicyForNavigationAction):
990         (WebKit::WebPolicyClient::decidePolicyForNewWindowAction):
991         (WebKit::WebPolicyClient::decidePolicyForMIMEType):
992         * UIProcess/WebPolicyClient.h:
993         * UIProcess/WebUIClient.cpp:
994         (WebKit::WebUIClient::runJavaScriptAlert):
995         * UIProcess/WebUIClient.h:
996         Don't use CF types internally at all.
997
998         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
999         (WebKit::WebFrameLoaderClient::frameLoaderDestroyed):
1000         Fix typo.
1001
1002 2010-04-08  Sam Weinig  <sam@webkit.org>
1003
1004         Reviewed by Anders Carlsson.
1005
1006         Add build support for WebKit2.
1007
1008         * Configurations: Added.
1009         * Configurations/Base.xcconfig: Added.
1010         * Configurations/DebugRelease.xcconfig: Added.
1011         * Configurations/FeatureDefines.xcconfig: Added.
1012         * Configurations/Version.xcconfig: Added.
1013         * Configurations/WebKit2.xcconfig: Added.
1014         * English.lproj: Added.
1015         * English.lproj/InfoPlist.strings: Added.
1016         * Info.plist: Added.
1017         * Makefile: Added.
1018         * WebKit2.xcodeproj: Added.
1019         * WebKit2.xcodeproj/project.pbxproj: Added.
1020         * WebKit2Prefix.cpp: Added.
1021         * WebKit2Prefix.h: Added.
1022         * WebKit2_Prefix.pch: Added.
1023         * WebProcess-Info.plist: Added.
1024         * version.plist: Added.
1025         * win: Added.
1026         * win/WebKit2.def: Added.
1027         * win/WebKit2.vcproj: Added.
1028         * win/WebKit2Generated.make: Added.
1029         * win/WebKit2Generated.vcproj: Added.
1030         * win/WebKit2WebProcess.vcproj: Added.
1031
1032 2010-04-08  Anders Carlsson  <andersca@apple.com>
1033
1034         Reviewed by Sam Weinig.
1035
1036         https://bugs.webkit.org/show_bug.cgi?id=37301
1037         Add WebKit2/UIProcess directory.
1038
1039         * UIProcess: Added.
1040         * UIProcess/API: Added.
1041         * UIProcess/API/C: Added.
1042         * UIProcess/API/C/WKAPICast.h: Added.
1043         * UIProcess/API/C/WKBase.h: Added.
1044         * UIProcess/API/C/WKContext.cpp: Added.
1045         * UIProcess/API/C/WKContext.h: Added.
1046         * UIProcess/API/C/WKFrame.cpp: Added.
1047         * UIProcess/API/C/WKFrame.h: Added.
1048         * UIProcess/API/C/WKFramePolicyListener.cpp: Added.
1049         * UIProcess/API/C/WKFramePolicyListener.h: Added.
1050         * UIProcess/API/C/WKPage.cpp: Added.
1051         * UIProcess/API/C/WKPage.h: Added.
1052         * UIProcess/API/C/WKPageNamespace.cpp: Added.
1053         * UIProcess/API/C/WKPageNamespace.h: Added.
1054         * UIProcess/API/C/WKPreferences.cpp: Added.
1055         * UIProcess/API/C/WKPreferences.h: Added.
1056         * UIProcess/API/C/WebKit2.h: Added.
1057         * UIProcess/API/mac: Added.
1058         * UIProcess/API/mac/PageClientImpl.h: Added.
1059         * UIProcess/API/mac/PageClientImpl.mm: Added.
1060         * UIProcess/API/mac/WKView.h: Added.
1061         * UIProcess/API/mac/WKView.mm: Added.
1062         * UIProcess/API/mac/WKViewInternal.h: Added.
1063         * UIProcess/API/win: Added.
1064         * UIProcess/API/win/WKAPICastWin.h: Added.
1065         * UIProcess/API/win/WKBaseWin.h: Added.
1066         * UIProcess/API/win/WKView.cpp: Added.
1067         * UIProcess/API/win/WKView.h: Added.
1068         * UIProcess/Launcher: Added.
1069         * UIProcess/Launcher/WebProcessLauncher.h: Added.
1070         * UIProcess/Launcher/mac: Added.
1071         * UIProcess/Launcher/mac/WebProcessLauncher.mm: Added.
1072         * UIProcess/Launcher/win: Added.
1073         * UIProcess/Launcher/win/WebProcessLauncher.cpp: Added.
1074         * UIProcess/PageClient.h: Added.
1075         * UIProcess/ProcessModel.h: Added.
1076         * UIProcess/ResponsivenessTimer.cpp: Added.
1077         * UIProcess/ResponsivenessTimer.h: Added.
1078         * UIProcess/ScriptReturnValueCallback.cpp: Added.
1079         * UIProcess/ScriptReturnValueCallback.h: Added.
1080         * UIProcess/WebContext.cpp: Added.
1081         * UIProcess/WebContext.h: Added.
1082         * UIProcess/WebFramePolicyListenerProxy.cpp: Added.
1083         * UIProcess/WebFramePolicyListenerProxy.h: Added.
1084         * UIProcess/WebFrameProxy.cpp: Added.
1085         * UIProcess/WebFrameProxy.h: Added.
1086         * UIProcess/WebLoaderClient.cpp: Added.
1087         * UIProcess/WebLoaderClient.h: Added.
1088         * UIProcess/WebPageNamespace.cpp: Added.
1089         * UIProcess/WebPageNamespace.h: Added.
1090         * UIProcess/WebPageProxy.cpp: Added.
1091         * UIProcess/WebPageProxy.h: Added.
1092         * UIProcess/WebPolicyClient.cpp: Added.
1093         * UIProcess/WebPolicyClient.h: Added.
1094         * UIProcess/WebPreferences.cpp: Added.
1095         * UIProcess/WebPreferences.h: Added.
1096         * UIProcess/WebProcessManager.cpp: Added.
1097         * UIProcess/WebProcessManager.h: Added.
1098         * UIProcess/WebProcessProxy.cpp: Added.
1099         * UIProcess/WebProcessProxy.h: Added.
1100         * UIProcess/WebUIClient.cpp: Added.
1101         * UIProcess/WebUIClient.h: Added.
1102         * UIProcess/mac: Added.
1103         * UIProcess/mac/DrawingAreaProxy.h: Added.
1104         * UIProcess/mac/DrawingAreaProxy.mm: Added.
1105         * UIProcess/mac/DrawingAreaProxyUpdateChunk.h: Added.
1106         * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: Added.
1107         * UIProcess/win: Added.
1108         * UIProcess/win/DrawingAreaProxy.cpp: Added.
1109         * UIProcess/win/DrawingAreaProxy.h: Added.
1110         * UIProcess/win/WebView.cpp: Added.
1111         * UIProcess/win/WebView.h: Added.
1112
1113 2010-04-08  Anders Carlsson  <andersca@apple.com>
1114
1115         Reviewed by Sam Weinig and Oliver Hunt.
1116
1117         https://bugs.webkit.org/show_bug.cgi?id=37300
1118         Add WebKit2/WebProcess directory.
1119
1120         * WebProcess: Added.
1121         * WebProcess/Launching: Added.
1122         * WebProcess/Launching/mac: Added.
1123         * WebProcess/Launching/mac/WebProcessMain.mm: Added.
1124         * WebProcess/Launching/win: Added.
1125         * WebProcess/Launching/win/WebProcessWinMain.cpp: Added.
1126         * WebProcess/WebCoreSupport: Added.
1127         * WebProcess/WebCoreSupport/WebChromeClient.cpp: Added.
1128         * WebProcess/WebCoreSupport/WebChromeClient.h: Added.
1129         * WebProcess/WebCoreSupport/WebContextMenuClient.cpp: Added.
1130         * WebProcess/WebCoreSupport/WebContextMenuClient.h: Added.
1131         * WebProcess/WebCoreSupport/WebDragClient.cpp: Added.
1132         * WebProcess/WebCoreSupport/WebDragClient.h: Added.
1133         * WebProcess/WebCoreSupport/WebEditorClient.cpp: Added.
1134         * WebProcess/WebCoreSupport/WebEditorClient.h: Added.
1135         * WebProcess/WebCoreSupport/WebErrors.h: Added.
1136         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: Added.
1137         * WebProcess/WebCoreSupport/WebInspectorClient.h: Added.
1138         * WebProcess/WebCoreSupport/mac: Added.
1139         * WebProcess/WebCoreSupport/mac/WebErrorsMac.mm: Added.
1140         * WebProcess/WebCoreSupport/mac/WebSystemInterface.h: Added.
1141         * WebProcess/WebCoreSupport/mac/WebSystemInterface.m: Added.
1142         * WebProcess/WebCoreSupport/win: Added.
1143         * WebProcess/WebCoreSupport/win/WebCoreLocalizedStrings.cpp: Added.
1144         * WebProcess/WebCoreSupport/win/WebErrorsWin.cpp: Added.
1145         * WebProcess/WebPage: Added.
1146         * WebProcess/WebPage/DrawingArea.cpp: Added.
1147         * WebProcess/WebPage/DrawingArea.h: Added.
1148         * WebProcess/WebPage/WebFrame.cpp: Added.
1149         * WebProcess/WebPage/WebFrame.h: Added.
1150         * WebProcess/WebPage/WebPage.cpp: Added.
1151         * WebProcess/WebPage/WebPage.h: Added.
1152         * WebProcess/WebPage/mac: Added.
1153         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: Added.
1154         * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h: Added.
1155         * WebProcess/WebPage/mac/WebPageMac.mm: Added.
1156         * WebProcess/WebPage/win: Added.
1157         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: Added.
1158         * WebProcess/WebPage/win/DrawingAreaUpdateChunk.h: Added.
1159         * WebProcess/WebPage/win/WebPageWin.cpp: Added.
1160         * WebProcess/WebProcess.cpp: Added.
1161         * WebProcess/WebProcess.h: Added.
1162         * WebProcess/win: Added.
1163         * WebProcess/win/DllMain.cpp: Added.
1164         * WebProcess/win/WebLocalizableStrings.cpp: Added.
1165         * WebProcess/win/WebLocalizableStrings.h: Added.
1166         * WebProcess/win/WebProcessMain.cpp: Added.
1167         * WebProcess/win/WebProcessMain.h: Added.
1168
1169 2010-04-08  Sam Weinig  <sam@webkit.org>
1170
1171         Reviewed by Anders Carlsson.
1172
1173         https://bugs.webkit.org/show_bug.cgi?id=37295
1174         Add WebKit2/Shared directory.
1175
1176         * Shared: Added.
1177         * Shared/CoreIPCSupport: Added.
1178         * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h: Added.
1179         * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h: Added.
1180         * Shared/CoreIPCSupport/WebPageMessageKinds.h: Added.
1181         * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Added.
1182         * Shared/CoreIPCSupport/WebProcessMessageKinds.h: Added.
1183         * Shared/NotImplemented.h: Added.
1184         * Shared/WebCoreTypeArgumentMarshalling.h: Added.
1185         * Shared/WebEvent.h: Added.
1186         * Shared/WebEventConversion.cpp: Added.
1187         * Shared/WebEventConversion.h: Added.
1188         * Shared/WebPreferencesStore.cpp: Added.
1189         * Shared/WebPreferencesStore.h: Added.
1190         * Shared/mac: Added.
1191         * Shared/mac/UpdateChunk.cpp: Added.
1192         * Shared/mac/UpdateChunk.h: Added.
1193         * Shared/mac/WebEventFactory.h: Added.
1194         * Shared/mac/WebEventFactory.mm: Added.
1195         * Shared/win: Added.
1196         * Shared/win/UpdateChunk.cpp: Added.
1197         * Shared/win/UpdateChunk.h: Added.
1198         * Shared/win/WebEventFactory.cpp: Added.
1199         * Shared/win/WebEventFactory.h: Added.
1200
1201 2010-04-08  Sam Weinig  <sam@webkit.org>
1202
1203         Reviewed by Anders Carlsson.
1204
1205         https://bugs.webkit.org/show_bug.cgi?id=37293
1206         Add WebKit2/Platform directory.
1207
1208         * Platform: Added.
1209         * Platform/CoreIPC: Added.
1210         * Platform/CoreIPC/ArgumentDecoder.cpp: Added.
1211         * Platform/CoreIPC/ArgumentDecoder.h: Added.
1212         * Platform/CoreIPC/ArgumentEncoder.cpp: Added.
1213         * Platform/CoreIPC/ArgumentEncoder.h: Added.
1214         * Platform/CoreIPC/Arguments.h: Added.
1215         * Platform/CoreIPC/Attachment.cpp: Added.
1216         * Platform/CoreIPC/Attachment.h: Added.
1217         * Platform/CoreIPC/Connection.cpp: Added.
1218         * Platform/CoreIPC/Connection.h: Added.
1219         * Platform/CoreIPC/MessageID.h: Added.
1220         * Platform/CoreIPC/mac: Added.
1221         * Platform/CoreIPC/mac/ConnectionMac.cpp: Added.
1222         * Platform/CoreIPC/mac/MachPort.h: Added.
1223         * Platform/CoreIPC/win: Added.
1224         * Platform/CoreIPC/win/ConnectionWin.cpp: Added.
1225         * Platform/PlatformProcessIdentifier.h: Added.
1226         * Platform/RunLoop.cpp: Added.
1227         * Platform/RunLoop.h: Added.
1228         * Platform/WorkItem.h: Added.
1229         * Platform/WorkQueue.cpp: Added.
1230         * Platform/WorkQueue.h: Added.
1231         * Platform/mac: Added.
1232         * Platform/mac/RunLoopMac.mm: Added.
1233         * Platform/mac/WorkQueueMac.cpp: Added.
1234         * Platform/win: Added.
1235         * Platform/win/RunLoopWin.cpp: Added.
1236
1237 2010-04-08  Sam Weinig  <sam@webkit.org>
1238
1239         Rubber-stamped by Mark Rowe.
1240
1241         Add WebKit2 directory.