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