|
1 2010-07-22 Jon Honeycutt <jhoneycutt@apple.com> |
|
2 |
|
3 Build fix. Unreviewed. |
|
4 |
|
5 * win/WebKit2WebProcess.vcproj: |
|
6 Remove the pre- and post-build events, so that they will use the value |
|
7 inherited from the vsprops. |
|
8 |
|
9 2010-07-21 Darin Adler <darin@apple.com> |
|
10 |
|
11 Reviewed by Sam Weinig. |
|
12 |
|
13 WebKitTestRunner needs layoutTestController.dumpChildFrameScrollPositions |
|
14 https://bugs.webkit.org/show_bug.cgi?id=42548 |
|
15 |
|
16 Added WKBundleFrameCopyName. |
|
17 |
|
18 * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: |
|
19 (WKBundleFrameCopyName): Added. |
|
20 * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: Ditto. |
|
21 |
|
22 * WebProcess/WebPage/WebFrame.cpp: |
|
23 (WebKit::WebFrame::name): Added. |
|
24 * WebProcess/WebPage/WebFrame.h: Ditto. |
|
25 |
|
26 2010-07-21 Darin Adler <darin@apple.com> |
|
27 |
|
28 Reviewed by Sam Weinig. |
|
29 |
|
30 WebKitTestRunner needs to support dumping of scroll position |
|
31 https://bugs.webkit.org/show_bug.cgi?id=42514 |
|
32 |
|
33 Added WKBundleFrameGetJavaScriptContext function. |
|
34 |
|
35 * WebKit2.xcodeproj: Added property svn:ignore. |
|
36 |
|
37 * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: |
|
38 (WKBundleFrameGetJavaScriptContext): Added. |
|
39 * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: Ditto. |
|
40 |
|
41 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: |
|
42 * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp: |
|
43 (WebKit::InjectedBundlePageLoaderClient::didClearWindowObjectForFrame): |
|
44 * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h: |
|
45 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
46 (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): |
|
47 Use JSGlobalContextRef instead of JSContextRef and context instead of ct. |
|
48 |
|
49 2010-07-21 Adam Roben <aroben@apple.com> |
|
50 |
|
51 Handle broken pipes in more places in CoreIPC |
|
52 |
|
53 Fixes <http://webkit.org/b/42784> Assertion failure in |
|
54 Connection::readEventHandler when WebKitTestRunner exits |
|
55 |
|
56 Reviewed by Anders Carlsson. |
|
57 |
|
58 * Platform/CoreIPC/win/ConnectionWin.cpp: |
|
59 (CoreIPC::Connection::readEventHandler): Check for a broken pipe |
|
60 whenever we call ::PeekNamedPipe. |
|
61 |
|
62 2010-07-21 Adam Roben <aroben@apple.com> |
|
63 |
|
64 Teach CoreIPC how to handle messages that are larger than the pipe's |
|
65 buffer |
|
66 |
|
67 ::GetOverlappedResult and ::ReadFile can fail with ERROR_MORE_DATA |
|
68 when there is more data available on the pipe than was requested in |
|
69 the read operation. In those cases, the appropriate response is to |
|
70 perform another read operation to read the extra data. We now do this. |
|
71 |
|
72 Also, MSDN says that, because we are doing asynchronous read |
|
73 operations, we should not pass a pointer to ::ReadFile to find out how |
|
74 many bytes were read. Instead we should always call |
|
75 ::GetOverlappedResult to find this out. I've changed |
|
76 Connection::readEventHandler to have a single loop that calls |
|
77 ::GetOverlappedResult and ::ReadFile in alternation, rather than |
|
78 sometimes calling ::ReadFile multiple times in a row, to satisfy this |
|
79 requirement. |
|
80 |
|
81 In order to simplify the logic in this function, I've made us request |
|
82 only a single byte from the pipe when there are no messages already in |
|
83 the pipe. (Previously we were requesting 4096 bytes in this case.) |
|
84 This allows us not to have to consider the case where the received |
|
85 message is smaller than our read buffer. If we decide that this has a |
|
86 negative impact on performance, we can of course change it. I've |
|
87 mitigated this somewhat by using ::PeekNamedMessage to find out the |
|
88 size of the next message in the pipe (if any), so that we can read it |
|
89 all in one read operation. |
|
90 |
|
91 Fixes <http://webkit.org/b/42710> <rdar://problem/8197571> Assertion |
|
92 in Connection::readEventHandler when launching WebKitTestRunner |
|
93 |
|
94 Reviewed by Anders Carlsson. |
|
95 |
|
96 * Platform/CoreIPC/win/ConnectionWin.cpp: |
|
97 (CoreIPC::Connection::readEventHandler): Put the call to |
|
98 ::GetOverlappedResult in the same loop as ::ReadFile so that we will |
|
99 call them alternately. If ::GetOverlappedResult fails with |
|
100 ERROR_MORE_DATA, use ::PeekNamedPipe to determine the size of the rest |
|
101 of the message, then read it from the pipe. After dispatching the |
|
102 message, use ::PeekNamedPipe to find out the size of the next message |
|
103 in the pipe so we can read it all in one operation. If there's no |
|
104 message in the pipe, we'll request just a single byte of the next |
|
105 message that becomes available, and Windows will tell us when the rest |
|
106 of the message is ready. If ::ReadFile fails with ERROR_MORE_DATA it |
|
107 means there is data available now even though we didn't think there |
|
108 was any. We go back to the top of the loop in this case and call |
|
109 ::GetOverlappedResult again to retrieve the available data. |
|
110 |
|
111 2010-07-21 Sam Weinig <sam@webkit.org> |
|
112 |
|
113 Reviewed by Anders Carlsson. |
|
114 |
|
115 Patch for https://bugs.webkit.org/show_bug.cgi?id=42539 |
|
116 WebKitTestRunner needs to support printing ALERT, PROMPT and CONFIRM messages |
|
117 |
|
118 - Convert injected bundle UIClient functions to will-style, at least until we establish |
|
119 more concrete use cases for them past the TestRunner. |
|
120 |
|
121 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: |
|
122 * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: |
|
123 (WebKit::InjectedBundlePageUIClient::willAddMessageToConsole): |
|
124 (WebKit::InjectedBundlePageUIClient::willSetStatusbarText): |
|
125 (WebKit::InjectedBundlePageUIClient::willRunJavaScriptAlert): |
|
126 (WebKit::InjectedBundlePageUIClient::willRunJavaScriptConfirm): |
|
127 (WebKit::InjectedBundlePageUIClient::willRunJavaScriptPrompt): |
|
128 * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: |
|
129 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
130 (WebKit::WebChromeClient::addMessageToConsole): |
|
131 (WebKit::WebChromeClient::runJavaScriptAlert): |
|
132 (WebKit::WebChromeClient::runJavaScriptConfirm): |
|
133 (WebKit::WebChromeClient::runJavaScriptPrompt): |
|
134 (WebKit::WebChromeClient::setStatusbarText): |
|
135 |
|
136 2010-07-21 Simon Fraser <simon.fraser@apple.com> |
|
137 |
|
138 Windows build fix. |
|
139 |
|
140 Need to supply implementations of PageClient::pageDidEnterAcceleratedCompositing() |
|
141 and pageDidLeaveAcceleratedCompositing() for WebView on Windows. |
|
142 |
|
143 * UIProcess/win/WebView.cpp: |
|
144 (WebKit::WebView::pageDidEnterAcceleratedCompositing): |
|
145 (WebKit::WebView::pageDidLeaveAcceleratedCompositing): |
|
146 * UIProcess/win/WebView.h: |
|
147 |
|
148 2010-07-21 Anders Carlsson <andersca@apple.com> |
|
149 |
|
150 Reviewed by Sam Weinig. |
|
151 |
|
152 Don't assert when clicking on a plug-in in WebKit2 |
|
153 https://bugs.webkit.org/show_bug.cgi?id=42762 |
|
154 |
|
155 Add stub for PluginView::handleEvent. |
|
156 |
|
157 * WebProcess/Plugins/PluginView.cpp: |
|
158 (WebKit::PluginView::handleEvent): |
|
159 * WebProcess/Plugins/PluginView.h: |
|
160 |
|
161 2010-07-21 Simon Fraser <simon.fraser@apple.com> |
|
162 |
|
163 Reviewed by Anders Carlsson. |
|
164 |
|
165 Get accelerated compositing working with webkit2 |
|
166 https://bugs.webkit.org/show_bug.cgi?id=41084 |
|
167 |
|
168 Hook up dynamic DrawingArea switching, so that when the WebProcess hits a page |
|
169 that requires accelerated compositing, we switch to the LayerBackedDrawingArea. |
|
170 |
|
171 * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h: |
|
172 (DrawingAreaProxyMessage::): |
|
173 * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: |
|
174 (WebPageProxyMessage::): |
|
175 * UIProcess/API/mac/PageClientImpl.h: |
|
176 * UIProcess/API/mac/PageClientImpl.mm: |
|
177 (WebKit::PageClientImpl::pageDidEnterAcceleratedCompositing): |
|
178 (WebKit::PageClientImpl::pageDidLeaveAcceleratedCompositing): |
|
179 * UIProcess/API/mac/WKView.mm: |
|
180 (-[WKView _startAcceleratedCompositing:]): |
|
181 (-[WKView _switchToDrawingAreaTypeIfNecessary:DrawingAreaProxy::]): |
|
182 (-[WKView _pageDidEnterAcceleratedCompositing]): |
|
183 (-[WKView _pageDidLeaveAcceleratedCompositing]): |
|
184 * UIProcess/API/mac/WKViewInternal.h: |
|
185 * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: |
|
186 (WebKit::ChunkedUpdateDrawingAreaProxy::didReceiveSyncMessage): |
|
187 * UIProcess/ChunkedUpdateDrawingAreaProxy.h: |
|
188 * UIProcess/DrawingAreaProxy.h: |
|
189 (WebKit::DrawingAreaProxy::): |
|
190 (WebKit::DrawingAreaProxy::type): |
|
191 * UIProcess/LayerBackedDrawingAreaProxy.cpp: |
|
192 (WebKit::LayerBackedDrawingAreaProxy::didSetSize): |
|
193 (WebKit::LayerBackedDrawingAreaProxy::didReceiveMessage): |
|
194 (WebKit::LayerBackedDrawingAreaProxy::didReceiveSyncMessage): |
|
195 * UIProcess/LayerBackedDrawingAreaProxy.h: |
|
196 * UIProcess/PageClient.h: |
|
197 * UIProcess/WebPageProxy.cpp: |
|
198 (WebKit::WebPageProxy::setDrawingArea): |
|
199 (WebKit::WebPageProxy::didReceiveSyncMessage): |
|
200 (WebKit::WebPageProxy::didEnterAcceleratedCompositing): |
|
201 (WebKit::WebPageProxy::didLeaveAcceleratedCompositing): |
|
202 * UIProcess/WebPageProxy.h: |
|
203 * UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm: |
|
204 (WebKit::LayerBackedDrawingAreaProxy::attachCompositingContext): |
|
205 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
206 (WebKit::WebChromeClient::attachRootGraphicsLayer): |
|
207 * WebProcess/WebPage/ChunkedUpdateDrawingArea.h: |
|
208 (WebKit::ChunkedUpdateDrawingArea::attachCompositingContext): |
|
209 (WebKit::ChunkedUpdateDrawingArea::setRootCompositingLayer): |
|
210 * WebProcess/WebPage/DrawingArea.cpp: |
|
211 (WebKit::DrawingArea::create): |
|
212 * WebProcess/WebPage/DrawingArea.h: |
|
213 (WebKit::DrawingArea::): |
|
214 (WebKit::DrawingArea::type): |
|
215 * WebProcess/WebPage/LayerBackedDrawingArea.cpp: |
|
216 (WebKit::LayerBackedDrawingArea::LayerBackedDrawingArea): |
|
217 (WebKit::LayerBackedDrawingArea::setNeedsDisplay): |
|
218 (WebKit::LayerBackedDrawingArea::setSize): |
|
219 (WebKit::LayerBackedDrawingArea::didUpdate): |
|
220 (WebKit::LayerBackedDrawingArea::setRootCompositingLayer): |
|
221 * WebProcess/WebPage/LayerBackedDrawingArea.h: |
|
222 * WebProcess/WebPage/WebPage.cpp: |
|
223 (WebKit::WebPage::changeAcceleratedCompositingMode): |
|
224 (WebKit::WebPage::enterAcceleratedCompositingMode): |
|
225 (WebKit::WebPage::exitAcceleratedCompositingMode): |
|
226 * WebProcess/WebPage/WebPage.h: |
|
227 * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: |
|
228 (WebKit::LayerBackedDrawingArea::platformInit): |
|
229 (WebKit::LayerBackedDrawingArea::attachCompositingContext): |
|
230 (WebKit::LayerBackedDrawingArea::detachCompositingContext): |
|
231 (WebKit::LayerBackedDrawingArea::setRootCompositingLayer): |
|
232 |
|
233 2010-07-20 Steve Falkenburg <sfalken@apple.com> |
|
234 |
|
235 Reviewed by Adam Roben. |
|
236 |
|
237 WebKit on Windows should build optionally with an unversioned ICU DLL |
|
238 https://bugs.webkit.org/show_bug.cgi?id=42722 |
|
239 <rdar://problem/8211767> WebKit needs to link against unversioned ICU |
|
240 |
|
241 To get the proper value for U_DISABLE_RENAMING into all source files, we force |
|
242 the include of ICUVersion.h (our generated header) via the compiler options. |
|
243 |
|
244 Since the versioned and unversioned ICU have different filenames (libicuuc.lib vs icuuc.lib) |
|
245 we copy the ICU lib to an intermediate location under obj with a common name. This |
|
246 allows us to link properly with either without adding a new build configuration. |
|
247 |
|
248 * win/WebKit2Common.vsprops: |
|
249 Copy ICU libs into a common location with a common name. |
|
250 Add additional library search path to pick up icu lib. |
|
251 Change ICU library filename specified to linker. |
|
252 Add forced include of ICUVersion.h. |
|
253 |
|
254 2010-07-21 Adam Roben <aroben@apple.com> |
|
255 |
|
256 Windows build fix |
|
257 |
|
258 * Shared/win/UpdateChunk.h: |
|
259 (WebKit::UpdateChunk::isEmpty): Added to match the Mac definition. |
|
260 |
|
261 2010-07-21 Anders Carlsson <andersca@apple.com> |
|
262 |
|
263 Land file I forgot to add. |
|
264 |
|
265 * WebProcess/com.apple.WebProcess.sb: Added. |
|
266 |
|
267 2010-07-21 Adam Roben <aroben@apple.com> |
|
268 |
|
269 Move WebKit2WebProcess's settings to a vsprops file |
|
270 |
|
271 Fixes <http://webkit.org/b/42751> WebKit2WebProcess should use vsprops |
|
272 files |
|
273 |
|
274 Reviewed by Darin Adler. |
|
275 |
|
276 * win/WebKit2WebProcess.vcproj: Moved settings from here... |
|
277 * win/WebKit2WebProcessCommon.vsprops: ...to here. |
|
278 |
|
279 2010-07-20 Ivan Krstić <ike@apple.com> |
|
280 |
|
281 Reviewed and tweaked by Anders Carlsson and Sam Weinig. |
|
282 |
|
283 Put WebProcess in a sandbox. All of the following changes are |
|
284 Mac-only. |
|
285 <rdar://problem/7865269> |
|
286 |
|
287 * UIProcess/WebProcessProxy.cpp: |
|
288 (WebKit::WebProcessProxy::WebProcessProxy): |
|
289 Send Sandbox extension for injected bundle to WebProcess. |
|
290 |
|
291 * WebKit2.xcodeproj/project.pbxproj: |
|
292 Add Sandbox profile to Resources for WebProcess. |
|
293 |
|
294 * WebProcess/InjectedBundle/InjectedBundle.h: |
|
295 New function InjectedBundle::setSandboxToken. |
|
296 |
|
297 * WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp: |
|
298 (WebKit::InjectedBundle::load): |
|
299 Consume Sandbox token for the bundle if present. |
|
300 |
|
301 (WebKit::InjectedBundle::setSandboxToken): |
|
302 Set Sandbox token for the bundle. |
|
303 |
|
304 * WebProcess/WebProcess.cpp: |
|
305 (WebKit::WebProcess::loadInjectedBundle): |
|
306 Extra function parameter for Sandbox token. |
|
307 |
|
308 (WebKit::WebProcess::didReceiveMessage): |
|
309 Pass Sandbox token to loadInjectedBundle(). |
|
310 |
|
311 * WebProcess/WebProcess.h: |
|
312 Extra function parameter for Sandbox token in loadInjectedBundle(). |
|
313 |
|
314 * WebProcess/com.apple.WebProcess.sb: Added. |
|
315 Sandbox profile for WebProcess. |
|
316 |
|
317 * WebProcess/mac/WebProcessMainMac.mm: |
|
318 (WebKit::WebProcessMain): |
|
319 Initialize Sandbox, exit on failure. |
|
320 |
|
321 2010-07-20 Sam Weinig <sam@webkit.org> |
|
322 |
|
323 Reviewed by Brady Eidson. |
|
324 |
|
325 Patch for https://bugs.webkit.org/show_bug.cgi?id=42719 |
|
326 Make Acid2 pass in WebKit2 |
|
327 |
|
328 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
329 (WebKit::WebFrameLoaderClient::objectContentType): Check for supported image mimetypes |
|
330 before falling back to plugins. |
|
331 |
|
332 2010-07-20 Adam Roben <aroben@apple.com> |
|
333 |
|
334 Remove WebKit2.sln |
|
335 |
|
336 WebKit.sln builds all the same projects. |
|
337 |
|
338 Rubber-stamped in advance by Steve Falkenburg. |
|
339 |
|
340 * WebKit2.sln: Removed. |
|
341 |
|
342 2010-07-20 Adam Roben <aroben@apple.com> |
|
343 |
|
344 Make the web process break into the debugger when Ctrl-Alt-Shift is |
|
345 held during launch |
|
346 |
|
347 Fixes <http://webkit.org/b/42670> Would like a way to break into the |
|
348 debugger when the web process launches |
|
349 |
|
350 Reviewed by Anders Carlsson. |
|
351 |
|
352 * WebProcess/WebKitMain.cpp: |
|
353 (WebKitMain): If the Control, Alt, and Shift keys are held down in a |
|
354 Debug build, call DebugBreak() so that we will break into the |
|
355 debugger. |
|
356 |
|
357 2010-07-20 Adam Roben <aroben@apple.com> |
|
358 |
|
359 Teach Connection how to handle a slow receiver |
|
360 |
|
361 Fixes <http://webkit.org/b/42667> Assertion in |
|
362 Connection::sendOutgoingMessage when browser or web process is paused |
|
363 |
|
364 Reviewed by Anders Carlsson. |
|
365 |
|
366 * Platform/CoreIPC/win/ConnectionWin.cpp: |
|
367 (CoreIPC::Connection::sendOutgoingMessage): If WriteFile returns FALSE |
|
368 and the last error is ERROR_IO_PENDING, Windows will write the data as |
|
369 soon as the current write operation is completed. We don't need to do |
|
370 anything special in this case, so there's no need to assert about it. |
|
371 |
|
372 2010-07-20 Anders Carlsson <andersca@apple.com> |
|
373 |
|
374 Reviewed by Dan Bernstein. |
|
375 |
|
376 Handle WKView visibility changes |
|
377 <rdar://problem/7891077> |
|
378 |
|
379 * Shared/mac/UpdateChunk.h: |
|
380 (WebKit::UpdateChunk::isEmpty): |
|
381 Add convenience getter. |
|
382 |
|
383 * UIProcess/API/mac/WKView.mm: |
|
384 (-[WKView viewDidMoveToWindow]): |
|
385 Reorder the calls to _updateActiveState and _updateVisibility based on whether the view is moved to |
|
386 a window or away from a window. |
|
387 |
|
388 * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: |
|
389 (WebKit::ChunkedUpdateDrawingAreaProxy::ChunkedUpdateDrawingAreaProxy): |
|
390 Initialize m_forceRepaintWhenResumingPainting to false. |
|
391 |
|
392 (WebKit::ChunkedUpdateDrawingAreaProxy::setPageIsVisible): |
|
393 Pass the m_forceRepaintWhenResumingPainting along to the DrawingAreaMessage::ResumePainting message. |
|
394 |
|
395 (WebKit::ChunkedUpdateDrawingAreaProxy::didSetSize): |
|
396 Don't try to paint empty update chunks. |
|
397 |
|
398 (WebKit::ChunkedUpdateDrawingAreaProxy::update): |
|
399 Don't paint the update chunk if we're not visible. Instead, make sure that the entire page is being redrawn |
|
400 when its shown again. |
|
401 |
|
402 * UIProcess/ChunkedUpdateDrawingAreaProxy.h: |
|
403 * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp: |
|
404 (WebKit::ChunkedUpdateDrawingArea::ChunkedUpdateDrawingArea): |
|
405 (WebKit::ChunkedUpdateDrawingArea::display): |
|
406 (WebKit::ChunkedUpdateDrawingArea::suspendPainting): |
|
407 Rename m_shouldPaint to m_isPaintingSuspended and invert its logic. |
|
408 |
|
409 (WebKit::ChunkedUpdateDrawingArea::scheduleDisplay): |
|
410 Don't schedule a display timer if the dirty rect is empty. |
|
411 |
|
412 (WebKit::ChunkedUpdateDrawingArea::setSize): |
|
413 If painting is suspended, just send back an empty update chunk in the DidSetSize message. |
|
414 |
|
415 (WebKit::ChunkedUpdateDrawingArea::resumePainting): |
|
416 If forceRepaint is true, repaint the entire drawing area. |
|
417 |
|
418 2010-07-20 Anders Carlsson <andersca@apple.com> |
|
419 |
|
420 Reviewed by Dan Bernstein. |
|
421 |
|
422 Implement NPN_GetURL and NPN_PostURL |
|
423 https://bugs.webkit.org/show_bug.cgi?id=42650 |
|
424 |
|
425 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
426 (WebKit::parsePostBuffer): |
|
427 Add a FIXME about deleting the file. |
|
428 |
|
429 (WebKit::makeURLString): |
|
430 Move this static method before NPN_GetURL. |
|
431 |
|
432 (WebKit::NPN_GetURL): |
|
433 Call NetscapePLugin::LoadURL. |
|
434 |
|
435 (WebKit::NPN_PostURL): |
|
436 Ditto. |
|
437 |
|
438 (WebKit::NPN_PostURLNotify): |
|
439 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
440 Remove unreached code. |
|
441 |
|
442 (WebKit::NetscapePluginStream::deliverDataToPlugin): |
|
443 Stop the stream if the plug-in returns -1 from NPP_Write. |
|
444 |
|
445 2010-07-19 Anders Carlsson <andersca@apple.com> |
|
446 |
|
447 Reviewed by Sam Weinig. |
|
448 |
|
449 WebKitTestRunner and WebProcess simultaneously stall in CoreIPC::Connection::sendOutgoingMessage |
|
450 https://bugs.webkit.org/show_bug.cgi?id=42356 |
|
451 |
|
452 Up the port queue length from 5 to 1024. While this does solve the problem, we should still try to |
|
453 make sendOutgoingMessage not block. I've filed https://bugs.webkit.org/show_bug.cgi?id=42611 to track |
|
454 doing this on Mac and Windows. |
|
455 |
|
456 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
457 (CoreIPC::Connection::open): |
|
458 Call setMachPortQueueLength. |
|
459 |
|
460 * Platform/mac/MachUtilities.cpp: Added. |
|
461 (setMachPortQueueLength): |
|
462 Given a mach port receive right, sets the port queue length. |
|
463 |
|
464 * Platform/mac/MachUtilities.h: Added. |
|
465 |
|
466 * WebKit2.xcodeproj/project.pbxproj: |
|
467 Add MachUtilities.cpp and MachUtilities.h |
|
468 |
|
469 2010-07-19 Anders Carlsson <andersca@apple.com> |
|
470 |
|
471 Reviewed by Darin Adler, Adam Roben, Dan Bernstein and Sam Weinig. |
|
472 |
|
473 Handle NP_ASFILE and NP_ASFILEONLY transfer modes |
|
474 https://bugs.webkit.org/show_bug.cgi?id=42587 |
|
475 |
|
476 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
477 (WebKit::NetscapePlugin::NPP_StreamAsFile): |
|
478 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
479 Add NPP_ wrapper. |
|
480 |
|
481 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
482 (WebKit::NetscapePluginStream::NetscapePluginStream): |
|
483 Initialize m_fileHandle. |
|
484 |
|
485 (WebKit::isSupportedTransferMode): |
|
486 NP_ASFILE and NP_ASFILEONLY is now supported. |
|
487 |
|
488 (WebKit::NetscapePluginStream::deliverData): |
|
489 Call deliverDataToFile if necessary. |
|
490 |
|
491 (WebKit::NetscapePluginStream::deliverDataToFile): |
|
492 Create a temporary file and write the data into it. |
|
493 |
|
494 (WebKit::NetscapePluginStream::stop): |
|
495 If the transfer mode is either NP_ASFILE or NP_ASFILEONLY, make sure to |
|
496 call NPP_StreamAsFile and close the file and delete it. |
|
497 |
|
498 * WebProcess/Plugins/PluginView.cpp: |
|
499 (WebKit::PluginView::cancelStreamLoad): |
|
500 Keep a reference to the Stream since cancelling it will remove it from the map. |
|
501 |
|
502 2010-07-19 Anders Carlsson <andersca@apple.com> |
|
503 |
|
504 Reviewed by Sam Weinig. |
|
505 |
|
506 Implement NPN_PostURLNotify |
|
507 https://bugs.webkit.org/show_bug.cgi?id=42602 |
|
508 |
|
509 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
510 (WebKit::parsePostBuffer): |
|
511 Read the buffer from a file if necessary and parse it. |
|
512 |
|
513 (WebKit::NPN_GetURLNotify): |
|
514 Add extra arguments. |
|
515 |
|
516 (WebKit::NPN_PostURLNotify): |
|
517 Parse the post buffer, then call NetscapePlugin::loadURL. |
|
518 |
|
519 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
520 (WebKit::NetscapePlugin::loadURL): |
|
521 Pass the method, the header fields and form data along. |
|
522 |
|
523 (WebKit::NetscapePlugin::allowPopups): |
|
524 Just return false for now. |
|
525 |
|
526 (WebKit::NetscapePlugin::initialize): |
|
527 Pass extra arguments to loadURL. |
|
528 |
|
529 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
530 * WebProcess/Plugins/PluginController.h: |
|
531 Add method, header fields and form data. |
|
532 |
|
533 * WebProcess/Plugins/PluginView.cpp: |
|
534 (WebKit::PluginView::loadURL): |
|
535 Set the method, add the header fields and set the body. |
|
536 |
|
537 2010-07-19 Sam Weinig <sam@webkit.org> |
|
538 |
|
539 Reviewed by Darin Adler. |
|
540 |
|
541 Add local storage support for WebKit2 |
|
542 https://bugs.webkit.org/show_bug.cgi?id=42584 |
|
543 |
|
544 * Shared/WebPreferencesStore.cpp: |
|
545 (WebKit::WebPreferencesStore::WebPreferencesStore): |
|
546 (WebKit::WebPreferencesStore::swap): |
|
547 * Shared/WebPreferencesStore.h: |
|
548 (WebKit::WebPreferencesStore::encode): |
|
549 (WebKit::WebPreferencesStore::decode): |
|
550 * UIProcess/API/C/WKPreferences.cpp: |
|
551 (WKPreferencesSetLocalStorageEnabled): |
|
552 (WKPreferencesGetLocalStorageEnabled): |
|
553 * UIProcess/API/C/WKPreferences.h: |
|
554 * UIProcess/WebPreferences.cpp: |
|
555 (WebKit::WebPreferences::setLocalStorageEnabled): |
|
556 (WebKit::WebPreferences::localStorageEnabled): |
|
557 * UIProcess/WebPreferences.h: |
|
558 * WebProcess/WebPage/WebPage.cpp: |
|
559 (WebKit::WebPage::WebPage): |
|
560 (WebKit::WebPage::preferencesDidChange): |
|
561 |
|
562 2010-07-19 Simon Fraser <simon.fraser@apple.com> |
|
563 |
|
564 Reviewed by Anders Carlsson. |
|
565 |
|
566 Uae an OwnPtr for the drawing area in WebPage (fixes a leak!). |
|
567 |
|
568 * WebProcess/WebPage/WebPage.h: |
|
569 (WebKit::WebPage::drawingArea): |
|
570 |
|
571 2010-07-19 Anders carlsson <andersca@apple.com> |
|
572 |
|
573 Reviewed by Adam Roben. |
|
574 |
|
575 WebKit2 does not have application cache |
|
576 https://bugs.webkit.org/show_bug.cgi?id=42552 |
|
577 |
|
578 * Shared/CoreIPCSupport/WebProcessMessageKinds.h: |
|
579 (WebProcessMessage::): |
|
580 Add SetApplicationCacheDirectory. |
|
581 |
|
582 * Shared/WebPreferencesStore.h: |
|
583 (WebKit::WebPreferencesStore::encode): |
|
584 (WebKit::WebPreferencesStore::decode): |
|
585 add offlineWebApplicationCacheEnabled. |
|
586 |
|
587 * UIProcess/API/C/WKPreferences.cpp: |
|
588 (WKPreferencesSetOfflineWebApplicationCacheEnabled): |
|
589 (WKPreferencesGetOfflineWebApplicationCacheEnabled): |
|
590 * UIProcess/API/C/WKPreferences.h: |
|
591 Add getters/setters for whether the application cache is enabled. |
|
592 |
|
593 * UIProcess/WebContext.h: |
|
594 * UIProcess/WebPreferences.cpp: |
|
595 (WebKit::WebPreferences::setOfflineWebApplicationCacheEnabled): |
|
596 Update the store and call update(). |
|
597 |
|
598 * UIProcess/WebPreferences.h: |
|
599 * UIProcess/WebProcessProxy.cpp: |
|
600 (WebKit::WebProcessProxy::WebProcessProxy): |
|
601 Ask the web process to set the application cache directory. |
|
602 |
|
603 * UIProcess/mac/WebContextMac.mm: Added. |
|
604 (WebKit::WebContext::applicationCacheDirectory): |
|
605 Return the application cache directory. |
|
606 |
|
607 * UIProcess/win/WebContextWin.cpp: Added. |
|
608 (WebKit::WebContext::applicationCacheDirectory): |
|
609 Ditto. |
|
610 |
|
611 * WebKit2.xcodeproj/project.pbxproj: |
|
612 Add WebContextMac.mm |
|
613 |
|
614 * WebProcess/WebPage/WebPage.cpp: |
|
615 (WebKit::WebPage::preferencesDidChange): |
|
616 |
|
617 (WebKit::WebPage::didReceiveMessage): |
|
618 Handle PreferencesDidChange. Get rid of the default: case statement so we'll |
|
619 get warnings if we have unhandled message kinds. |
|
620 |
|
621 * WebProcess/WebProcess.cpp: |
|
622 (WebKit::WebProcess::setApplicationCacheDirectory): |
|
623 Set the application cache directory. |
|
624 |
|
625 (WebKit::WebProcess::didReceiveMessage): |
|
626 Handle SetApplicationCacheDirectory. |
|
627 |
|
628 win/WebKit2.vcproj: |
|
629 Add WebContextWin.cpp |
|
630 |
|
631 2010-07-18 Anders Carlsson <andersca@apple.com> |
|
632 |
|
633 Another attempt at fixing the Windows build. |
|
634 |
|
635 * WebProcess/Plugins/NPJSObjectMap.h: |
|
636 |
|
637 2010-07-18 Anders Carlsson <andersca@apple.com> |
|
638 |
|
639 Try to fix Windows build. |
|
640 |
|
641 * win/WebKit2.vcproj: |
|
642 |
|
643 2010-07-18 Anders Carlsson <andersca@apple.com> |
|
644 |
|
645 Reviewed by Sam Weinig. |
|
646 |
|
647 More NPRuntime work |
|
648 https://bugs.webkit.org/show_bug.cgi?id=42526 |
|
649 |
|
650 * WebProcess/Plugins/NPJSObjectMap.cpp: |
|
651 (WebKit::identifierFromIdentifierRep): |
|
652 (WebKit::NPJSObject::hasProperty): |
|
653 Check if the JSObject has the given property. |
|
654 |
|
655 (WebKit::NPJSObject::getProperty): |
|
656 Add stubbed out function. |
|
657 |
|
658 (WebKit::NPJSObject::npClass): |
|
659 Add NP_HasProperty and NP_GetProperty. |
|
660 |
|
661 (WebKit::NPJSObject::NP_HasProperty): |
|
662 Call NPJSObject::hasProperty. |
|
663 |
|
664 (WebKit::NPJSObject::NP_GetProperty): |
|
665 Call NPJSObject::getProperty. |
|
666 |
|
667 * WebProcess/Plugins/NPRuntimeUtilities.cpp: |
|
668 (WebKit::releaseNPVariantValue): |
|
669 Release the given NPVariant. |
|
670 |
|
671 * WebProcess/Plugins/NPRuntimeUtilities.h: |
|
672 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
673 (WebKit::NPN_GetProperty): |
|
674 Call the NPClass GetProperty function. |
|
675 |
|
676 (WebKit::NPN_HasProperty): |
|
677 Call the NPClass HasProperty function. |
|
678 |
|
679 (WebKit::NPN_ReleaseVariantValue): |
|
680 Call releaseNPVariantValue. |
|
681 |
|
682 2010-07-18 Anders Carlsson <andersca@apple.com> |
|
683 |
|
684 Reviewed by Sam Weinig. |
|
685 |
|
686 Add NPJSObjectMap class |
|
687 https://bugs.webkit.org/show_bug.cgi?id=42524 |
|
688 |
|
689 * WebKit2.xcodeproj/project.pbxproj: |
|
690 Add files. |
|
691 |
|
692 * WebProcess/Plugins/NPJSObjectMap.cpp: Added. |
|
693 * WebProcess/Plugins/NPJSObjectMap.h: Added. |
|
694 Add NPJSObjectMap, a map which contains NPObjects that wrap JavaScript objects. |
|
695 |
|
696 * WebProcess/Plugins/PluginView.cpp: |
|
697 (WebKit::PluginView::PluginView): |
|
698 Initialize the map. |
|
699 |
|
700 (WebKit::PluginView::~PluginView): |
|
701 Invalidate the map. |
|
702 |
|
703 (WebKit::PluginView::frame): |
|
704 Add frame getter. |
|
705 |
|
706 (WebKit::PluginView::windowScriptNPObject): |
|
707 Wrap the window object. |
|
708 |
|
709 (WebKit::PluginView::pluginElementNPObject): |
|
710 Wrap the plug-in element object. |
|
711 |
|
712 * WebProcess/Plugins/PluginView.h: |
|
713 |
|
714 2010-07-18 Anders Carlsson <andersca@apple.com> |
|
715 |
|
716 Reviewed by Sam Weinig. |
|
717 |
|
718 Implement more NPRuntime related NPN_ functions |
|
719 https://bugs.webkit.org/show_bug.cgi?id=42520 |
|
720 |
|
721 * WebKit2.xcodeproj/project.pbxproj: |
|
722 * WebProcess/Plugins/NPRuntimeUtilities.cpp: Added. |
|
723 * WebProcess/Plugins/NPRuntimeUtilities.h: Added. |
|
724 Add new file with NPRuntime related utility functions. |
|
725 |
|
726 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
727 (WebKit::NPN_CreateObject): |
|
728 (WebKit::NPN_RetainObject): |
|
729 (WebKit::NPN_ReleaseObject): |
|
730 Call the corresponding NPRuntimeUtilities functions. |
|
731 |
|
732 2010-07-18 Anders Carlsson <andersca@apple.com> |
|
733 |
|
734 Reviewed by Dan Bernstein. |
|
735 |
|
736 Begin work on NPRuntime support |
|
737 https://bugs.webkit.org/show_bug.cgi?id=42519 |
|
738 |
|
739 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
740 (WebKit::NPN_GetValue): |
|
741 Handle NPNVWindowNPObject and NPNVPluginElementNPObject. |
|
742 |
|
743 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
744 (WebKit::NetscapePlugin::windowScriptNPObject): |
|
745 (WebKit::NetscapePlugin::pluginElementNPObject): |
|
746 Call the plug-in controller. |
|
747 |
|
748 * WebProcess/Plugins/PluginController.h: |
|
749 Add new windowScriptNPObject and pluginElementNPObject functions. |
|
750 |
|
751 * WebProcess/Plugins/PluginView.cpp: |
|
752 (WebKit::PluginView::windowScriptNPObject): |
|
753 (WebKit::PluginView::pluginElementNPObject): |
|
754 Add stubbed out functions. |
|
755 |
|
756 2010-07-18 Anders Carlsson <andersca@apple.com> |
|
757 |
|
758 Reviewed by Dan Bernstein. |
|
759 |
|
760 Implement some NPRuntime related NPN_ functions |
|
761 https://bugs.webkit.org/show_bug.cgi?id=42518 |
|
762 |
|
763 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
764 (WebKit::NPN_GetStringIdentifier): |
|
765 (WebKit::NPN_GetStringIdentifiers): |
|
766 (WebKit::NPN_GetIntIdentifier): |
|
767 (WebKit::NPN_IdentifierIsString): |
|
768 (WebKit::NPN_UTF8FromIdentifier): |
|
769 (WebKit::NPN_IntFromIdentifier): |
|
770 (WebKit::NPN_CreateObject): |
|
771 |
|
772 2010-07-18 Anders Carlsson <andersca@apple.com> |
|
773 |
|
774 Reviewed by Dan Bernstein. |
|
775 |
|
776 Add dumping of statusbar text to WebKitTestRunner |
|
777 https://bugs.webkit.org/show_bug.cgi?id=42516 |
|
778 |
|
779 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: |
|
780 Add setStatusbarText callback to WKBundlePageUIClient. |
|
781 |
|
782 * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: |
|
783 (WebKit::InjectedBundlePageUIClient::setStatusbarText): |
|
784 Call setStatusbarText. |
|
785 |
|
786 * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: |
|
787 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
788 (WebKit::WebChromeClient::setStatusbarText): |
|
789 Call the bundle page UI client. |
|
790 |
|
791 2010-07-17 Anders Carlsson <andersca@apple.com> |
|
792 |
|
793 Reviewed by Maciej Stachowiak. |
|
794 |
|
795 WebKitTestRunner should load the test plug-in |
|
796 https://bugs.webkit.org/show_bug.cgi?id=42509 |
|
797 |
|
798 * UIProcess/API/C/WKContext.cpp: |
|
799 (_WKContextSetAdditionalPluginPath): |
|
800 Add a private function for setting a single additional plug-in path. the WebKit1 SPI that does the |
|
801 same thing takes an array of paths, but this is good enough for now. |
|
802 |
|
803 * UIProcess/Plugins/PluginInfoStore.cpp: |
|
804 (WebKit::PluginInfoStore::setAdditionalPluginPaths): |
|
805 Set the additional plug-in paths vector and refresh the database. |
|
806 |
|
807 (WebKit::PluginInfoStore::loadPluginsIfNecessary): |
|
808 First try to load plug-ins in the additional plug-in paths. |
|
809 |
|
810 * UIProcess/WebContext.cpp: |
|
811 (WebKit::WebContext::setAdditionalPluginPath): |
|
812 Call PluginInfoStore::setAdditionalPluginPaths. |
|
813 |
|
814 * UIProcess/WebContext.h: |
|
815 (WebKit::WebContext::pluginInfoStore): |
|
816 Make the plug-in info store per context instead of having a single shared info store. |
|
817 |
|
818 * UIProcess/WebProcessProxy.cpp: |
|
819 (WebKit::WebProcessProxy::getPlugins): |
|
820 (WebKit::WebProcessProxy::getPluginHostConnection): |
|
821 * UIProcess/WebProcessProxy.h: |
|
822 Get the plug-in info store from the context. |
|
823 |
|
824 2010-07-17 Anders Carlsson <andersca@apple.com> |
|
825 |
|
826 Reviewed by Dan Bernstein. |
|
827 |
|
828 Stop all NPStreams before destroying a plug-in |
|
829 https://bugs.webkit.org/show_bug.cgi?id=42504 |
|
830 |
|
831 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
832 (WebKit::NetscapePlugin::stopAllStreams): |
|
833 Go through all streams and stop them. |
|
834 |
|
835 (WebKit::NetscapePlugin::destroy): |
|
836 Call stopAllStreams. |
|
837 |
|
838 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
839 Add stopAllStreams. |
|
840 |
|
841 * WebProcess/Plugins/Netscape/NetscapePluginStream.h: |
|
842 Make stop public. |
|
843 |
|
844 2010-07-17 Anders Carlsson <andersca@apple.com> |
|
845 |
|
846 Reviewed by Dan Bernstein. |
|
847 |
|
848 Open streams should not keep a plug-in view alive |
|
849 https://bugs.webkit.org/show_bug.cgi?id=42503 |
|
850 |
|
851 PluginView::Stream now has a weak reference to its PluginView. |
|
852 |
|
853 * WebProcess/Plugins/PluginView.cpp: |
|
854 (WebKit::PluginView::Stream::~Stream): |
|
855 Assert that the plug-in view is null. |
|
856 |
|
857 (WebKit::PluginView::Stream::didFail): |
|
858 After calling removeStream, set the plug-in view member variable to 0. This is OK to do |
|
859 since we keep a reference to the Stream, so we're sure that the call to removeStream does not |
|
860 destroy the stream. |
|
861 |
|
862 (WebKit::PluginView::Stream::didFinishLoading): |
|
863 Ditto . |
|
864 |
|
865 (WebKit::PluginView::~PluginView): |
|
866 Cancel all streams. |
|
867 |
|
868 (WebKit::PluginView::cancelAllStreams): |
|
869 Cancel all streams. |
|
870 |
|
871 2010-07-16 Zhe Su <suzhe@chromium.org> |
|
872 |
|
873 Reviewed by Darin Adler. |
|
874 |
|
875 REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms |
|
876 https://bugs.webkit.org/show_bug.cgi?id=42253 |
|
877 |
|
878 Dummy implementation of EditorClient::willSetInputMethodState. |
|
879 |
|
880 * WebProcess/WebCoreSupport/WebEditorClient.cpp: |
|
881 (WebKit::WebEditorClient::willSetInputMethodState): |
|
882 * WebProcess/WebCoreSupport/WebEditorClient.h: |
|
883 |
|
884 2010-07-16 Alice Liu <alice.liu@apple.com> |
|
885 |
|
886 Build fix, not reviewed. |
|
887 |
|
888 Reverted http://trac.webkit.org/changeset/63585 because getopt isn't |
|
889 available in the OpenSource support libraries |
|
890 |
|
891 * WebKit2.sln: |
|
892 |
|
893 2010-07-16 Sam Weinig <sam@webkit.org> |
|
894 |
|
895 Reviewed by Anders Carlsson. |
|
896 |
|
897 Fix for https://bugs.webkit.org/show_bug.cgi?id=42482 |
|
898 <rdar://problem/8197701> |
|
899 Add notification of when the BackForwardList changes |
|
900 to aid invalidation of Back/Forward related UI elements. |
|
901 |
|
902 * UIProcess/API/C/WKPage.h: |
|
903 Add didChangeBackForwardList to the WKPageLoaderClient. This |
|
904 fires whenever an item is added or removed from the back forward |
|
905 list or when the cursor changes position. |
|
906 |
|
907 * UIProcess/WebBackForwardList.cpp: |
|
908 (WebKit::WebBackForwardList::addItem): |
|
909 (WebKit::WebBackForwardList::goToItem): |
|
910 * UIProcess/WebLoaderClient.cpp: |
|
911 (WebKit::WebLoaderClient::didChangeBackForwardList): |
|
912 * UIProcess/WebLoaderClient.h: |
|
913 * UIProcess/WebPageProxy.cpp: |
|
914 (WebKit::WebPageProxy::didChangeBackForwardList): |
|
915 * UIProcess/WebPageProxy.h: |
|
916 Pipe changes to the WebBackForwardList up to the page load client. |
|
917 |
|
918 2010-07-16 Alice Liu <alice.liu@apple.com> |
|
919 |
|
920 Reviewed by Sam Weinig. |
|
921 |
|
922 Add WebKitTestRunner to the WebKit2 solution |
|
923 |
|
924 * WebKit2.sln: Add InjectedBundle and WebKitTestRunner projects. Also change the build dependency order from |
|
925 DumpRunderTree --> WebKitAPITest to |
|
926 DumpRenderTree --> InjectedBundle --> WebKitTestRunner --> WebKitAPITest |
|
927 |
|
928 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
929 |
|
930 Reviewed by Dan Bernstein. |
|
931 |
|
932 Set notifyData to the stream's notification data |
|
933 https://bugs.webkit.org/show_bug.cgi?id=42429 |
|
934 |
|
935 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
936 (WebKit::NetscapePluginStream::start): |
|
937 |
|
938 2010-07-15 Brent Fulgham <bfulgham@webkit.org> |
|
939 |
|
940 Build fix. Don't include CoreGraphics.h on non-CG builds. |
|
941 |
|
942 * WebKit2Prefix.h: Conditionalize include of CoreGraphics.h |
|
943 to avoid build break on WinCairo. |
|
944 |
|
945 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
946 |
|
947 Reviewed by Sam Weinig. |
|
948 |
|
949 If needed, NPN_GetURL the src URL |
|
950 https://bugs.webkit.org/show_bug.cgi?id=42424 |
|
951 |
|
952 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
953 (WebKit::NetscapePlugin::NPP_GetValue): |
|
954 Add NPP_GetValue wrapper. |
|
955 |
|
956 (WebKit::NetscapePlugin::shouldLoadSrcURL): |
|
957 Check whether the src url should be cancelled. |
|
958 |
|
959 (WebKit::NetscapePlugin::initialize): |
|
960 If the src URL should be loaded, then load it. |
|
961 |
|
962 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
963 |
|
964 Reviewed by Sam Weinig. |
|
965 |
|
966 Stop the plug-in stream when it's finished loading |
|
967 https://bugs.webkit.org/show_bug.cgi?id=42423 |
|
968 |
|
969 * WebProcess/Plugins/DummyPlugin.cpp: |
|
970 (WebKit::DummyPlugin::streamDidFinishLoading): |
|
971 * WebProcess/Plugins/DummyPlugin.h: |
|
972 Add empty stub. |
|
973 |
|
974 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
975 (WebKit::NetscapePlugin::streamDidFinishLoading): |
|
976 Call NetscapePluginStream::didFinishLoading. |
|
977 |
|
978 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
979 (WebKit::NetscapePluginStream::didFinishLoading): |
|
980 Stop the stream with NPRES_DONE. |
|
981 |
|
982 * WebProcess/Plugins/Plugin.h: |
|
983 Add streamDidFinishLoading. |
|
984 |
|
985 * WebProcess/Plugins/PluginView.cpp: |
|
986 (WebKit::PluginView::Stream::didFinishLoading): |
|
987 Call Plugin::streamDidFinishLoading. |
|
988 |
|
989 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
990 |
|
991 Reviewed by Sam Weinig. |
|
992 |
|
993 Pass URL stream data to the plug-in |
|
994 https://bugs.webkit.org/show_bug.cgi?id=42420 |
|
995 |
|
996 * WebProcess/Plugins/DummyPlugin.cpp: |
|
997 (WebKit::DummyPlugin::streamDidReceiveData): |
|
998 * WebProcess/Plugins/DummyPlugin.h: |
|
999 Add empty stub. |
|
1000 |
|
1001 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1002 (WebKit::NetscapePlugin::streamDidReceiveData): |
|
1003 Call NetscapePluginStream::didReceiveData. |
|
1004 |
|
1005 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
1006 (WebKit::NetscapePluginStream::didReceiveData): |
|
1007 Deliver the data to the plug-in. |
|
1008 |
|
1009 * WebProcess/Plugins/Plugin.h: |
|
1010 Add pure virtual streamDidReceiveData member function. |
|
1011 |
|
1012 * WebProcess/Plugins/PluginView.cpp: |
|
1013 (WebKit::PluginView::Stream::didReceiveData): |
|
1014 Call Plugin::streamDidReceiveData. |
|
1015 |
|
1016 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1017 |
|
1018 Reviewed by Sam Weinig. |
|
1019 |
|
1020 Handle failed loads correctly |
|
1021 https://bugs.webkit.org/show_bug.cgi?id=42418 |
|
1022 |
|
1023 * WebProcess/Plugins/DummyPlugin.cpp: |
|
1024 (WebKit::DummyPlugin::streamDidFail): |
|
1025 * WebProcess/Plugins/DummyPlugin.h: |
|
1026 Add empty stub. |
|
1027 |
|
1028 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1029 (WebKit::NetscapePlugin::streamDidFail): |
|
1030 Call NetscapePluginStream::didFail. |
|
1031 |
|
1032 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
1033 (WebKit::NetscapePluginStream::didReceiveResponse): |
|
1034 Take a reference to the plug-in stream in case starting it causes it to be destroyed. |
|
1035 |
|
1036 (WebKit::NetscapePluginStream::didFail): |
|
1037 Take a reference to the plug-in stream in case stopping it causes it to be destroyed. |
|
1038 |
|
1039 (WebKit::NetscapePluginStream::destroy): |
|
1040 Cancel the stream. |
|
1041 |
|
1042 (WebKit::NetscapePluginStream::start): |
|
1043 If we fail to start the stream, cancel the load. |
|
1044 |
|
1045 (WebKit::NetscapePluginStream::cancel): |
|
1046 Call NetscapePlugin::cancelStreamLoad. |
|
1047 |
|
1048 (WebKit::NetscapePluginStream::notifyAndDestroyStream): |
|
1049 Don't call cancel here. notifyAndDestroyStream can be called when we don't want to cancel the |
|
1050 load, such as when it's already failed to load. |
|
1051 |
|
1052 * WebProcess/Plugins/Netscape/NetscapePluginStream.h: |
|
1053 Add didFail. |
|
1054 |
|
1055 * WebProcess/Plugins/Plugin.h: |
|
1056 Add pure virtual streamDidFail member function. |
|
1057 |
|
1058 * WebProcess/Plugins/PluginView.cpp: |
|
1059 (WebKit::PluginView::Stream::Stream): |
|
1060 Initialize m_streamWasCancelled to false. |
|
1061 |
|
1062 (WebKit::PluginView::Stream::cancel): |
|
1063 Set m_streamWasCancelled to true. |
|
1064 |
|
1065 (WebKit::PluginView::Stream::didFail): |
|
1066 Call Plugin::streamDidFail. |
|
1067 |
|
1068 2010-07-15 Sam Weinig <sam@webkit.org> |
|
1069 |
|
1070 Reviewed by Anders Carlsson. |
|
1071 |
|
1072 Fix for https://bugs.webkit.org/show_bug.cgi?id=42358 |
|
1073 <rdar://problem/8194512> |
|
1074 Hyphenation tests crash the Web process |
|
1075 |
|
1076 * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: |
|
1077 (InitWebCoreSystemInterface): Add missing initializer. |
|
1078 |
|
1079 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1080 |
|
1081 Attempt to fix the Windows build. |
|
1082 |
|
1083 * WebProcess/Plugins/PluginView.cpp: |
|
1084 (WebKit::PluginView::Stream::didReceiveResponse): |
|
1085 expectedContentLength should be a signed long long. |
|
1086 |
|
1087 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1088 |
|
1089 Reviewed by Sam Weinig. |
|
1090 |
|
1091 Cancel stream loads when destroying NetscapePluginStreams |
|
1092 https://bugs.webkit.org/show_bug.cgi?id=42413 |
|
1093 |
|
1094 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1095 (WebKit::NetscapePlugin::cancelStreamLoad): |
|
1096 Call PluginController::cancelStreamLoad. |
|
1097 |
|
1098 (WebKit::NetscapePlugin::streamDidReceiveResponse): |
|
1099 Call NetscapePluginStream::didReceiveResponse. |
|
1100 |
|
1101 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
1102 (WebKit::NetscapePluginStream::didReceiveResponse): |
|
1103 Try to start the stream. |
|
1104 |
|
1105 (WebKit::NetscapePluginStream::sendJavaScriptStream): |
|
1106 Don't stop the stream if it can't be started. start handles that now. |
|
1107 |
|
1108 (WebKit::isSupportedTransferMode): |
|
1109 Return whether the given transfer mode is supported. |
|
1110 |
|
1111 (WebKit::NetscapePluginStream::start): |
|
1112 If the stream fails to start, call notifyAndDestroyStream. If it starts successfully but has |
|
1113 an unsupported transfer mode, call stop. |
|
1114 |
|
1115 (WebKit::NetscapePluginStream::notifyAndDestroyStream): |
|
1116 Cancel the stream load unless it's being destroyed because it has finished loading. |
|
1117 |
|
1118 * WebProcess/Plugins/PluginController.h: |
|
1119 Add cancelStreamLoad pure virtual member function. |
|
1120 |
|
1121 * WebProcess/Plugins/PluginView.cpp: |
|
1122 (WebKit::PluginView::Stream::cancel): |
|
1123 Tell the stream loader to cancel and null it out. |
|
1124 |
|
1125 (WebKit::PluginView::cancelStreamLoad): |
|
1126 Get the stream and cancel it. |
|
1127 |
|
1128 * WebProcess/Plugins/PluginView.h: |
|
1129 |
|
1130 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1131 |
|
1132 Reviewed by Sam Weinig. |
|
1133 |
|
1134 Start loading plug-in streams |
|
1135 https://bugs.webkit.org/show_bug.cgi?id=42407 |
|
1136 |
|
1137 * WebProcess/Plugins/DummyPlugin.cpp: |
|
1138 (WebKit::DummyPlugin::streamDidReceiveResponse): |
|
1139 * WebProcess/Plugins/DummyPlugin.h: |
|
1140 Add empty stub. |
|
1141 |
|
1142 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1143 (WebKit::NetscapePlugin::streamDidReceiveResponse): |
|
1144 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
1145 Add empty stub. |
|
1146 |
|
1147 * WebProcess/Plugins/Plugin.h: |
|
1148 Add streamDidReceiveResponse pure virtual member function. |
|
1149 |
|
1150 * WebProcess/Plugins/PluginView.cpp: |
|
1151 Make PluginView::Stream a NetscapePlugInStreamLoaderClient. |
|
1152 |
|
1153 (WebKit::PluginView::Stream::start): |
|
1154 Create a plug-in loader and start loading. |
|
1155 |
|
1156 (WebKit::PluginView::Stream::didReceiveResponse): |
|
1157 Get the necessary data out of the resource response and call streamDidReceiveResponse. |
|
1158 |
|
1159 (WebKit::PluginView::Stream::didReceiveData): |
|
1160 (WebKit::PluginView::Stream::didFail): |
|
1161 (WebKit::PluginView::Stream::didFinishLoading): |
|
1162 Add empty stubs. |
|
1163 |
|
1164 2010-07-15 Sam Weinig <sam@webkit.org> |
|
1165 |
|
1166 Reviewed by Anders Carlsson. |
|
1167 |
|
1168 Patch for https://bugs.webkit.org/show_bug.cgi?id=42396 |
|
1169 Give the navigation type in the policy client callbacks meaning. |
|
1170 |
|
1171 - Use the new WKFrameNavigationType instead of just uint32_t. |
|
1172 |
|
1173 * UIProcess/API/C/WKAPICast.h: |
|
1174 (toWK): |
|
1175 Add conversion method from WebCore::NavigationType to WKFrameNavigationType. |
|
1176 * UIProcess/API/C/WKPage.h: |
|
1177 * UIProcess/WebPageProxy.cpp: |
|
1178 (WebKit::WebPageProxy::didReceiveMessage): |
|
1179 (WebKit::WebPageProxy::decidePolicyForNavigationAction): |
|
1180 (WebKit::WebPageProxy::decidePolicyForNewWindowAction): |
|
1181 * UIProcess/WebPageProxy.h: |
|
1182 * UIProcess/WebPolicyClient.cpp: |
|
1183 (WebKit::WebPolicyClient::decidePolicyForNavigationAction): |
|
1184 (WebKit::WebPolicyClient::decidePolicyForNewWindowAction): |
|
1185 * UIProcess/WebPolicyClient.h: |
|
1186 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: |
|
1187 |
|
1188 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1189 |
|
1190 Reviewed by Sam Weinig. |
|
1191 |
|
1192 Add a PluginView::Stream class |
|
1193 https://bugs.webkit.org/show_bug.cgi?id=42398 |
|
1194 |
|
1195 * WebProcess/Plugins/PluginView.cpp: |
|
1196 Add the Stream class. |
|
1197 |
|
1198 (WebKit::PluginView::performURLRequest): |
|
1199 Create the stream and start it. |
|
1200 |
|
1201 (WebKit::PluginView::addStream): |
|
1202 Add the stream to the map. |
|
1203 |
|
1204 (WebKit::PluginView::removeStream): |
|
1205 Remove the stream from the map. |
|
1206 |
|
1207 * WebProcess/Plugins/PluginView.h: |
|
1208 Add Stream forward declaration and the m_streams map. |
|
1209 |
|
1210 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1211 |
|
1212 Reviewed by Sam Weinig. |
|
1213 |
|
1214 Don't allow multiple calls to NetscapePluginStream::stop |
|
1215 https://bugs.webkit.org/show_bug.cgi?id=42395 |
|
1216 |
|
1217 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
1218 (WebKit::NetscapePluginStream::NetscapePluginStream): |
|
1219 Initialize m_urlNotifyHasBeenCalled. |
|
1220 |
|
1221 (WebKit::NetscapePluginStream::~NetscapePluginStream): |
|
1222 Assert that the stream didn't need a URL notification or that one was sent. |
|
1223 |
|
1224 (WebKit::NetscapePluginStream::sendJavaScriptStream): |
|
1225 Don't call stop in the JS failure case because the stream won't be started. |
|
1226 |
|
1227 (WebKit::NetscapePluginStream::stop): |
|
1228 Remove m_isStarted check and add an assertion instead. Move code that calls NPP_URLNotify and |
|
1229 destroys the stream out to a separate function. |
|
1230 |
|
1231 (WebKit::NetscapePluginStream::notifyAndDestroyStream): |
|
1232 Call NPP_URLNotify if necessary and destroy the stream. |
|
1233 |
|
1234 * WebProcess/Plugins/Netscape/NetscapePluginStream.h: |
|
1235 |
|
1236 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1237 |
|
1238 Reviewed by Sam Weinig. |
|
1239 |
|
1240 Implement NPN_DestroyStream |
|
1241 https://bugs.webkit.org/show_bug.cgi?id=42393 |
|
1242 |
|
1243 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
1244 (WebKit::NPN_DestroyStream): |
|
1245 Call NetscapePlugin::destroyStream. |
|
1246 |
|
1247 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1248 (WebKit::NetscapePlugin::destroyStream): |
|
1249 Check if the stream is valid, and if it is call NetscapePluginStream::destroy. |
|
1250 |
|
1251 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
1252 (WebKit::NetscapePluginStream::sendJavaScriptStream): |
|
1253 Keep a reference to the stream in case it's destroyed by an NPP_ call. |
|
1254 |
|
1255 (WebKit::NetscapePluginStream::destroy): |
|
1256 Verify that the stream can be destroyed and stop it. |
|
1257 |
|
1258 (WebKit::NetscapePluginStream::deliverDataToPlugin): |
|
1259 Add m_isStarted checks after any calls to NPP_ functions. |
|
1260 |
|
1261 (WebKit::NetscapePluginStream::stop): |
|
1262 Set m_isStarted to false before calling NPP_DestroyStream. |
|
1263 |
|
1264 * WebProcess/Plugins/Netscape/NetscapePluginStream.h: |
|
1265 (WebKit::NetscapePluginStream::npStream): |
|
1266 Add NPStream getter. |
|
1267 |
|
1268 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1269 |
|
1270 Reviewed by Darin Adler. |
|
1271 |
|
1272 WebKitTestRunner goes off the deep end, spinning in a dispatch queue thread |
|
1273 https://bugs.webkit.org/show_bug.cgi?id=42355 |
|
1274 |
|
1275 Sometimes, when receiving a message whose size is very close to the inlineMessageMaxSize, |
|
1276 mach_msg would return with MACH_RCV_TOO_LARGE. In debug builds we would assert, but in release |
|
1277 builds we would just bail and the receiveSourceEventHandler would be run again shortly since we didn't |
|
1278 actually pull the message off the mach message queue. |
|
1279 |
|
1280 Fix this by setting the receive source buffer size to include the maximum message trailer size, which |
|
1281 mach_msg requires. Also, handle mach_msg returning MACH_RCV_TOO_LARGE (even though in theory it would never happen |
|
1282 now that the receivedBufferSize always includes the maximum message trailer size. |
|
1283 |
|
1284 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
1285 (CoreIPC::Connection::receiveSourceEventHandler): |
|
1286 Use a Vector with inline data instead of a char array. This way we can resize the Vector if the message received |
|
1287 is too big. |
|
1288 |
|
1289 2010-07-15 Anders Carlsson <andersca@apple.com> |
|
1290 |
|
1291 Reviewed by Darin Adler. |
|
1292 |
|
1293 Send JavaScript stream data to plug-ins |
|
1294 https://bugs.webkit.org/show_bug.cgi?id=42384 |
|
1295 |
|
1296 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1297 (WebKit::NetscapePlugin::NPP_WriteReady): |
|
1298 (WebKit::NetscapePlugin::NPP_Write): |
|
1299 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
1300 Add NPP_ wrappers. |
|
1301 |
|
1302 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
1303 (WebKit::NetscapePluginStream::NetscapePluginStream): |
|
1304 Initialize m_deliveryDataTimer and m_stopstreamWhenDoneDelivering. |
|
1305 |
|
1306 (WebKit::NetscapePluginStream::sendJavaScriptStream): |
|
1307 Call deliverData and stop. |
|
1308 |
|
1309 (WebKit::NetscapePluginStream::deliverData): |
|
1310 Add the data to m_deliveryData and call deliverDataToPlugin. |
|
1311 |
|
1312 (WebKit::NetscapePluginStream::deliverDataToPlugin): |
|
1313 Deliver the data in m_deliveryData to the plug-in. Call NPP_WriteReady to see how much |
|
1314 data the plug-in can handle right now. If the plug-in returns zero or a negative value, delay the |
|
1315 delivery using the delivery data timer. Otherwise, call NPP_Write in chunks until all the data has been |
|
1316 delivered, then stop the stream if needed. |
|
1317 |
|
1318 (WebKit::NetscapePluginStream::stop): |
|
1319 If the reason for stopping the stream is that it's finished and the plug-in hasn't processed all the data, |
|
1320 don't close the stream now. Instead, set m_stopStreamWhenDoneDelivering to true which will cause the stream to be |
|
1321 closed once all data has been delivered. |
|
1322 |
|
1323 * WebProcess/Plugins/Netscape/NetscapePluginStream.h: |
|
1324 Add member functions and member variables. |
|
1325 |
|
1326 2010-07-14 Brent Fulgham <bfulgham@webkit.org> |
|
1327 |
|
1328 Reviewed by Steve Falkenburg. |
|
1329 |
|
1330 Patch for https://bugs.webkit.org/show_bug.cgi?id=42299 |
|
1331 Correct WinCairo build for new WebKit2 project structure. |
|
1332 |
|
1333 * win/WebKit2Apple.vsprops: Put WebKit2.def here. |
|
1334 * win/WebKit2CFLite.def: Added CFLite version of def file. |
|
1335 * win/WebKit2CFLite.vsprops: Add new WebKit2CFLite.def here. |
|
1336 * win/WebKit2Common.vsprops: Remove WebKit2.def definition as |
|
1337 WinCairo and Apple need different versions of this. |
|
1338 * win/WebKit2WebProcess.vcproj: Add a new Debug_Cairo target |
|
1339 for the WebKit2WebProcess project. |
|
1340 |
|
1341 2010-07-15 Mark Rowe <mrowe@apple.com> |
|
1342 |
|
1343 Update the sorting in the Xcode project files. |
|
1344 |
|
1345 * WebKit2.xcodeproj/project.pbxproj: |
|
1346 |
|
1347 2010-07-14 Sam Weinig <sam@webkit.org> |
|
1348 |
|
1349 Reviewed by Dan Bernstein. |
|
1350 |
|
1351 Patch for https://bugs.webkit.org/show_bug.cgi?id=42315 |
|
1352 <rdar://problem/8185281> |
|
1353 All text in WebKit2 draws with no subpixel antialiasing |
|
1354 |
|
1355 - Change CGBitmapInfo passed to CGBitmapContextCreate and CGImageCreate |
|
1356 from kCGImageAlphaPremultipliedLast to kCGImageAlphaPremultipliedFirst | kCGBitmapByteOrder32Host. |
|
1357 |
|
1358 * Shared/mac/UpdateChunk.cpp: |
|
1359 (WebKit::UpdateChunk::createImage): |
|
1360 * UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm: |
|
1361 (WebKit::ChunkedUpdateDrawingAreaProxy::ensureBackingStore): |
|
1362 * WebProcess/WebPage/mac/ChunkedUpdateDrawingAreaMac.cpp: |
|
1363 (WebKit::ChunkedUpdateDrawingArea::paintIntoUpdateChunk): |
|
1364 |
|
1365 2010-07-14 Maciej Stachowiak <mjs@apple.com> |
|
1366 |
|
1367 Reviewed by Mark Rowe. |
|
1368 |
|
1369 - Fix WebKitTestRunner build |
|
1370 |
|
1371 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Add stdint.h include. |
|
1372 |
|
1373 2010-07-14 Anders Carlsson <andersca@apple.com> |
|
1374 |
|
1375 Try to fix Windows build. |
|
1376 |
|
1377 * win/WebKit2.vcproj: |
|
1378 |
|
1379 2010-07-14 Anders Carlsson <andersca@apple.com> |
|
1380 |
|
1381 Reviewed by Sam Weinig. |
|
1382 |
|
1383 More work on plug-in streams |
|
1384 https://bugs.webkit.org/show_bug.cgi?id=42308 |
|
1385 |
|
1386 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1387 (WebKit::NetscapePlugin::loadURL): |
|
1388 If the target is null, create a NetscapePluginStream and add it to the m_streams map. |
|
1389 |
|
1390 (WebKit::NetscapePlugin::removePluginStream): |
|
1391 Remove the given NetscapePluginStream from the m_streams map. |
|
1392 |
|
1393 (WebKit::NetscapePlugin::NPP_NewStream): |
|
1394 (WebKit::NetscapePlugin::NPP_DestroyStream): |
|
1395 Add NPP_ wrappers. |
|
1396 |
|
1397 (WebKit::NetscapePlugin::streamFromID): |
|
1398 Return the plug-in stream given a stream ID. |
|
1399 |
|
1400 (WebKit::NetscapePlugin::didEvaluateJavaScript): |
|
1401 Find the plug-in stream and call sendJavaScriptStream. |
|
1402 |
|
1403 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: |
|
1404 (WebKit::NetscapePluginStream::NetscapePluginStream): |
|
1405 Initialize member variables. |
|
1406 |
|
1407 (WebKit::NetscapePluginStream::~NetscapePluginStream): |
|
1408 Assert that we aren't started. |
|
1409 |
|
1410 (WebKit::NetscapePluginStream::sendJavaScriptStream): |
|
1411 If the JavaScript request was successful, start the stream. Otherwise call stop() which just |
|
1412 ends up calling NPP_URLNotify when the stream isn't started. |
|
1413 |
|
1414 (WebKit::NetscapePluginStream::start): |
|
1415 Set up the NPStream object. Call NPP_NewStream. Return false if the call was not successful, or if |
|
1416 the requested stream type is one that we don't yet support. |
|
1417 |
|
1418 (WebKit::NetscapePluginStream::stop): |
|
1419 Call NPP_DestroyStream if the stream is started. Call NPP_URLNotify if necessary. |
|
1420 |
|
1421 * WebProcess/Plugins/PluginView.cpp: |
|
1422 (WebKit::PluginView::performJavaScriptURLRequest): |
|
1423 Remove unneeded comment. |
|
1424 |
|
1425 2010-07-14 Sam Weinig <sam@webkit.org> |
|
1426 |
|
1427 Reviewed by John Sullivan. |
|
1428 |
|
1429 Make Back/Forward work. |
|
1430 |
|
1431 * UIProcess/WebPageProxy.cpp: |
|
1432 (WebKit::WebPageProxy::goForward): Pass the item ID to avoid roundtrip. |
|
1433 (WebKit::WebPageProxy::goBack): Ditto. |
|
1434 (WebKit::WebPageProxy::didReceiveMessage): Implement WebPageProxyMessage::BackForwardGoToItem. |
|
1435 * WebProcess/WebPage/WebPage.cpp: |
|
1436 (WebKit::WebPage::WebPage): |
|
1437 (WebKit::WebPage::goForward): Use m_page->goToItem with the correct type instead of the Page shortcut. |
|
1438 (WebKit::WebPage::goBack): Ditto. |
|
1439 (WebKit::WebPage::didReceiveMessage): |
|
1440 * WebProcess/WebPage/WebPage.h: |
|
1441 Remove unused m_canGoBack and m_canGoForward. |
|
1442 |
|
1443 2010-07-14 Anders Carlsson <andersca@apple.com> |
|
1444 |
|
1445 Reviewed by Darin Adler. |
|
1446 |
|
1447 Add NetscapePluginStream class |
|
1448 https://bugs.webkit.org/show_bug.cgi?id=42296 |
|
1449 |
|
1450 * WebKit2.xcodeproj/project.pbxproj: |
|
1451 * WebProcess/Plugins/Netscape/NetscapePluginStream.cpp: Added. |
|
1452 (WebKit::NetscapePluginStream::NetscapePluginStream): |
|
1453 (WebKit::NetscapePluginStream::~NetscapePluginStream): |
|
1454 * WebProcess/Plugins/Netscape/NetscapePluginStream.h: Added. |
|
1455 (WebKit::NetscapePluginStream::create): |
|
1456 |
|
1457 2010-07-14 Sam Weinig <sam@webkit.org> |
|
1458 |
|
1459 Reviewed by Darin Adler. |
|
1460 |
|
1461 Patch for https://bugs.webkit.org/show_bug.cgi?id=42297 |
|
1462 <rdar://problem/8187355> |
|
1463 Make titles in WebBackForwardListItems work. |
|
1464 |
|
1465 - Make WebBackForwardListItemMap per WebProcessProxy to allow updating |
|
1466 them separate from a page. They are conceptually per process anyway. |
|
1467 - Add a message to add or update a WebBackForwardListItemMap triggered |
|
1468 by the WebCore::notifyHistoryItemChanged mechanism. |
|
1469 |
|
1470 * Shared/CoreIPCSupport/WebProcessProxyMessageKinds.h: |
|
1471 (WebProcessProxyMessage::): |
|
1472 Add AddOrUpdateBackForwardItem message. |
|
1473 |
|
1474 * UIProcess/WebBackForwardListItem.h: |
|
1475 (WebKit::WebBackForwardListItem::setOriginalURL): |
|
1476 (WebKit::WebBackForwardListItem::setURL): |
|
1477 (WebKit::WebBackForwardListItem::setTitle): |
|
1478 Add setters. |
|
1479 |
|
1480 * UIProcess/WebPageProxy.cpp: |
|
1481 (WebKit::WebPageProxy::didReceiveMessage): |
|
1482 BackForwardAddItem now assumes the item has already been created, so |
|
1483 now just forwards the add message onto the WebBackForwardList. |
|
1484 |
|
1485 (WebKit::WebPageProxy::addItemToBackForwardList): Take a WebBackForwardList instead of an ID. |
|
1486 (WebKit::WebPageProxy::goToItemInBackForwardList): Ditto. |
|
1487 * UIProcess/WebPageProxy.h: Ditto. |
|
1488 |
|
1489 * UIProcess/WebProcessProxy.cpp: |
|
1490 (WebKit::WebProcessProxy::webBackForwardItem): |
|
1491 (WebKit::WebProcessProxy::addOrUpdateBackForwardListItem): |
|
1492 (WebKit::WebProcessProxy::didReceiveMessage): |
|
1493 (WebKit::WebProcessProxy::didReceiveSyncMessage): |
|
1494 * UIProcess/WebProcessProxy.h: |
|
1495 Have the WebProcessProxy manage the WebBackForwardListItems. |
|
1496 |
|
1497 * WebProcess/WebPage/WebBackForwardListProxy.cpp: |
|
1498 (WebKit::updateBackForwardItem): |
|
1499 (WebKit::WK2NotifyHistoryItemChanged): Use this to notify UIProcess |
|
1500 of HistoryItem changes (such as the title being added). |
|
1501 (WebKit::WebBackForwardListProxy::WebBackForwardListProxy): |
|
1502 Register the notifyHistoryItemChanged function. |
|
1503 (WebKit::WebBackForwardListProxy::addItem): |
|
1504 Just send the ID as the updateBackForwardItem is already going to have |
|
1505 been called by this time. |
|
1506 |
|
1507 2010-07-14 Anders Carlsson <andersca@apple.com> |
|
1508 |
|
1509 Reviewed by Sam Weinig. |
|
1510 |
|
1511 Call NPN_URLNotify for frame loads initiated by plug-ins |
|
1512 https://bugs.webkit.org/show_bug.cgi?id=42291 |
|
1513 |
|
1514 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1515 (WebKit::NetscapePlugin::loadURL): |
|
1516 If needed, keep track of the request ID and URL so we can call NPP_URLNotify at a later point. |
|
1517 |
|
1518 (WebKit::NetscapePlugin::frameDidFinishLoading): |
|
1519 Get the notification data and the URL from the map and call NPP_URLNotify. |
|
1520 |
|
1521 (WebKit::NetscapePlugin::frameDidFail): |
|
1522 Get the notification data and the URL from the map and call NPP_URLNotify. |
|
1523 |
|
1524 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
1525 |
|
1526 2010-07-14 Anders Carlsson <andersca@apple.com> |
|
1527 |
|
1528 Reviewed by Sam Weinig. |
|
1529 |
|
1530 Add NetscapePlugin::NPP_ member functions for calling into the plug-in |
|
1531 https://bugs.webkit.org/show_bug.cgi?id=42287 |
|
1532 |
|
1533 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1534 (WebKit::NetscapePlugin::NPP_New): |
|
1535 (WebKit::NetscapePlugin::NPP_Destroy): |
|
1536 (WebKit::NetscapePlugin::NPP_SetWindow): |
|
1537 (WebKit::NetscapePlugin::NPP_URLNotify): |
|
1538 (WebKit::NetscapePlugin::callSetWindow): |
|
1539 (WebKit::NetscapePlugin::initialize): |
|
1540 (WebKit::NetscapePlugin::destroy): |
|
1541 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
1542 |
|
1543 2010-07-14 Anders Carlsson <andersca@apple.com> |
|
1544 |
|
1545 Reviewed by Sam Weinig. |
|
1546 |
|
1547 Send JavaScript url request results back to the plug-in |
|
1548 https://bugs.webkit.org/show_bug.cgi?id=42277 |
|
1549 |
|
1550 * WebProcess/Plugins/DummyPlugin.cpp: |
|
1551 (WebKit::DummyPlugin::didEvaluateJavaScript): |
|
1552 * WebProcess/Plugins/DummyPlugin.h: |
|
1553 Add empty stub. |
|
1554 |
|
1555 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1556 (WebKit::NetscapePlugin::didEvaluateJavaScript): |
|
1557 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
1558 Add Empty stub. |
|
1559 |
|
1560 * WebProcess/Plugins/Plugin.h: |
|
1561 Add didEvaluateJavaScript pure virtual member function. |
|
1562 |
|
1563 * WebProcess/Plugins/PluginView.cpp: |
|
1564 (WebKit::PluginView::performJavaScriptURLRequest): |
|
1565 If target is not null, Call Plugin::frameDidFail or Plugin::frameDidFinishLoading. |
|
1566 If target is null, call didEvaluateJavaScript with the result string. |
|
1567 |
|
1568 2010-07-14 Sam Weinig <sam@webkit.org> |
|
1569 |
|
1570 Reviewed by Darin Adler. |
|
1571 |
|
1572 Patch for https://bugs.webkit.org/show_bug.cgi?id=42232 |
|
1573 Make changing Cursors work in WebKit2. |
|
1574 |
|
1575 * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: |
|
1576 Add SetCursor message. |
|
1577 |
|
1578 * Shared/WebCoreArgumentCoders.h: |
|
1579 Add encoding/decoding of Cursors. For now we don't support Custom |
|
1580 cursors. |
|
1581 |
|
1582 * UIProcess/API/mac/PageClientImpl.h: |
|
1583 * UIProcess/API/mac/PageClientImpl.mm: |
|
1584 (WebKit::PageClientImpl::setCursor): |
|
1585 * UIProcess/PageClient.h: |
|
1586 Add pass through functions to get the cursor from the WebPageProxy |
|
1587 to the WKView. |
|
1588 |
|
1589 * UIProcess/API/mac/WKView.mm: |
|
1590 (-[WKView _setCursor:]): |
|
1591 * UIProcess/API/mac/WKViewInternal.h: |
|
1592 Implement changing the cursor. |
|
1593 |
|
1594 * UIProcess/WebPageProxy.cpp: |
|
1595 (WebKit::WebPageProxy::didReceiveMessage): |
|
1596 (WebKit::WebPageProxy::setCursor): |
|
1597 * UIProcess/WebPageProxy.h: |
|
1598 Decode the cursor. |
|
1599 |
|
1600 * UIProcess/win/WebView.cpp: |
|
1601 (WebKit::WebView::wndProc): |
|
1602 (WebKit::WebView::WebView): |
|
1603 (WebKit::WebView::onSetCursor): |
|
1604 (WebKit::WebView::setCursor): |
|
1605 * UIProcess/win/WebView.h: |
|
1606 Implement changing the cursor. |
|
1607 |
|
1608 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
1609 (WebKit::WebChromeClient::setCursor): |
|
1610 (WebKit::WebChromeClient::setLastSetCursorToCurrentCursor): |
|
1611 * WebProcess/WebCoreSupport/WebChromeClient.h: |
|
1612 Encode the cursor when setCursor is called. |
|
1613 |
|
1614 2010-07-13 Anders Carlsson <andersca@apple.com> |
|
1615 |
|
1616 Reviewed by Sam Weinig. |
|
1617 |
|
1618 Add support for loading javascript: URLs |
|
1619 https://bugs.webkit.org/show_bug.cgi?id=42221 |
|
1620 |
|
1621 * WebProcess/Plugins/DummyPlugin.cpp: |
|
1622 (WebKit::DummyPlugin::controller): |
|
1623 * WebProcess/Plugins/DummyPlugin.h: |
|
1624 Add stub function. |
|
1625 |
|
1626 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1627 (WebKit::NetscapePlugin::destroy): |
|
1628 Set the plug-in controller to 0. |
|
1629 |
|
1630 (WebKit::NetscapePlugin::controller): |
|
1631 Return the plug-in controller. |
|
1632 |
|
1633 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
1634 Add controller() member function. |
|
1635 |
|
1636 * WebProcess/Plugins/Plugin.h: |
|
1637 Add controller() pure virtual member function. |
|
1638 |
|
1639 * WebProcess/Plugins/PluginView.cpp: |
|
1640 (WebKit::PluginView::performURLRequest): |
|
1641 If the given URL request has a javascript: protocol, call |
|
1642 performJavaScriptURLRequest. |
|
1643 |
|
1644 (WebKit::PluginView::performFrameLoadURLRequest): |
|
1645 Add a security origin check. |
|
1646 |
|
1647 (WebKit::PluginView::performJavaScriptURLRequest): |
|
1648 Evaluate the JavaScript code, Get the resulting string. |
|
1649 |
|
1650 * WebProcess/Plugins/PluginView.h: |
|
1651 Add performJavaScriptURLRequest. |
|
1652 |
|
1653 2010-07-13 Anders Carlsson <andersca@apple.com> |
|
1654 |
|
1655 Reviewed by Sam Weinig. |
|
1656 |
|
1657 Add support for URL frame loading using NPN_GetURLNotify |
|
1658 https://bugs.webkit.org/show_bug.cgi?id=42192 |
|
1659 |
|
1660 * WebProcess/Plugins/DummyPlugin.cpp: |
|
1661 (WebKit::DummyPlugin::frameDidFinishLoading): |
|
1662 (WebKit::DummyPlugin::frameDidFail): |
|
1663 * WebProcess/Plugins/DummyPlugin.h: |
|
1664 Add empty stubs. |
|
1665 |
|
1666 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
1667 Implement NPN_GetURLNotify and have it call NetscapePlugin::loadURL. |
|
1668 |
|
1669 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
1670 (WebKit::NetscapePlugin::NetscapePlugin): |
|
1671 Initialize m_nextRequestID to 0. |
|
1672 |
|
1673 (WebKit::NetscapePlugin::loadURL): |
|
1674 Ask the plug-in controller to load the URL. |
|
1675 |
|
1676 (WebKit::NetscapePlugin::frameDidFinishLoading): |
|
1677 (WebKit::NetscapePlugin::frameDidFail): |
|
1678 Add empty stubs for now. |
|
1679 |
|
1680 * WebProcess/Plugins/Plugin.h: |
|
1681 Add new member functions for frame load notifications. |
|
1682 |
|
1683 * WebProcess/Plugins/PluginController.h: |
|
1684 Add loadURL. |
|
1685 |
|
1686 * WebProcess/Plugins/PluginView.cpp: |
|
1687 (WebKit::PluginView::URLRequest::URLRequest): |
|
1688 Add class that represents an URL request. |
|
1689 |
|
1690 (WebKit::PluginView::PluginView): |
|
1691 Initialize m_pendingURLRequestsTimer. |
|
1692 |
|
1693 (WebKit::PluginView::~PluginView): |
|
1694 Unset all active load listeners. |
|
1695 |
|
1696 (WebKit::PluginView::pendingURLRequestsTimerFired): |
|
1697 Take the first request in the queue and process it. |
|
1698 |
|
1699 (WebKit::PluginView::performURLRequest): |
|
1700 Call performFrameLoadURLRequest if necessary. |
|
1701 |
|
1702 (WebKit::PluginView::performFrameLoadURLRequest): |
|
1703 Find a frame to load the request in. If a frame doesn't exist try to create a new frame. |
|
1704 |
|
1705 (WebKit::PluginView::loadURL): |
|
1706 Create a URLRequest and add it to the queue. |
|
1707 |
|
1708 (WebKit::PluginView::didFinishLoad): |
|
1709 Get the pending frame load request and call Plugin::frameDidFinishLoading. |
|
1710 |
|
1711 (WebKit::PluginView::didFailLoad): |
|
1712 Get the pending frame load request and call Plugin::frameDidFail. |
|
1713 |
|
1714 * WebProcess/Plugins/PluginView.h: |
|
1715 Inherit from WebFrame::LoadListener. |
|
1716 |
|
1717 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
1718 (WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad): |
|
1719 (WebKit::WebFrameLoaderClient::dispatchDidFailLoad): |
|
1720 (WebKit::WebFrameLoaderClient::dispatchDidFinishLoad): |
|
1721 (WebKit::WebFrameLoaderClient::didFinishLoad): |
|
1722 Call the WebFrame's load listener if needed. |
|
1723 |
|
1724 * WebProcess/WebPage/WebFrame.cpp: |
|
1725 (WebKit::WebFrame::WebFrame): |
|
1726 Initialize m_loadListener to 0. |
|
1727 |
|
1728 * WebProcess/WebPage/WebFrame.h: |
|
1729 Add a LoadListener class that the plug-in view can use to track frame loads. |
|
1730 |
|
1731 (WebKit::WebFrame::LoadListener::~LoadListener): |
|
1732 (WebKit::WebFrame::setLoadListener): |
|
1733 (WebKit::WebFrame::loadListener): |
|
1734 |
|
1735 2010-07-13 Diego Gonzalez <diegohcg@webkit.org> |
|
1736 |
|
1737 Reviewed by Kenneth Rohde Christiansen. |
|
1738 |
|
1739 [Qt] [WebKit2] Hook up navigation actions |
|
1740 https://bugs.webkit.org/show_bug.cgi?id=42183 |
|
1741 |
|
1742 Make Back, Forward, Stop and Reload being enable/disabled according |
|
1743 page loading. |
|
1744 |
|
1745 * UIProcess/API/qt/ClientImpl.cpp: |
|
1746 (qt_wk_didStartProvisionalLoadForFrame): |
|
1747 (qt_wk_didCommitLoadForFrame): |
|
1748 (qt_wk_didFinishLoadForFrame): |
|
1749 (qt_wk_didFailLoadWithErrorForFrame): |
|
1750 * UIProcess/API/qt/qwkpage.cpp: |
|
1751 (QWKPagePrivate::updateAction): |
|
1752 |
|
1753 2010-07-13 John Sullivan <sullivan@apple.com> |
|
1754 |
|
1755 Written by Simon Fraser, reviewed by me. |
|
1756 |
|
1757 Cleaner fix for previous check-in. |
|
1758 |
|
1759 * UIProcess/WebBackForwardList.cpp: |
|
1760 (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit): |
|
1761 Use std::max<int> for int-casting brevity. |
|
1762 |
|
1763 2010-07-13 John Sullivan <sullivan@apple.com> |
|
1764 |
|
1765 Reviewed by Sam Weinig. |
|
1766 |
|
1767 Fixed signed/unsigned problem that led to bogus contents in the array |
|
1768 returned by WKBackForwardListCopyBackListWithLimit(). |
|
1769 |
|
1770 * UIProcess/WebBackForwardList.cpp: |
|
1771 (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit): |
|
1772 Cast m_current and limit to signed values in std::max call. |
|
1773 |
|
1774 2010-07-13 Steve Falkenburg <sfalken@apple.com> |
|
1775 |
|
1776 Reviewed by Ada Chan. |
|
1777 |
|
1778 Fix missing resources causing layout test failures |
|
1779 https://bugs.webkit.org/show_bug.cgi?id=42179 |
|
1780 |
|
1781 Quick fix to get the layout tests going again. |
|
1782 I'll work on getting resource.h from WebKit into a cross-project |
|
1783 propagated header after this lands. |
|
1784 |
|
1785 * win/WebKit2.rc: |
|
1786 * win/resource.h: Copied from WebKit/win/WebKit.vcproj/resource.h. |
|
1787 |
|
1788 2010-07-13 Anders Carlsson <andersca@apple.com> |
|
1789 |
|
1790 Reviewed by Adam Roben. |
|
1791 |
|
1792 Make all NPN_ functions static. |
|
1793 |
|
1794 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
1795 |
|
1796 2010-07-13 Anders Carlsson <andersca@apple.com> |
|
1797 |
|
1798 Reviewed by Adam Roben. |
|
1799 |
|
1800 Document the member functions of the abstract Plugin and PluginController classes. |
|
1801 |
|
1802 * WebProcess/Plugins/Plugin.h: |
|
1803 * WebProcess/Plugins/PluginController.h: |
|
1804 |
|
1805 2010-07-13 Simon Hausmann <simon.hausmann@nokia.com> |
|
1806 |
|
1807 [Qt] Trivial build fix. |
|
1808 |
|
1809 Provide a stub for mimeTypeFromExtension() that uses notImplemented(). |
|
1810 |
|
1811 * UIProcess/Plugins/qt/PluginInfoStoreQt.cpp: |
|
1812 (WebKit::PluginInfoStore::mimeTypeFromExtension): |
|
1813 |
|
1814 2010-07-13 Simon Hausmann <simon.hausmann@nokia.com> |
|
1815 |
|
1816 Reviewed by Kenneth Rohde Christiansen. |
|
1817 |
|
1818 [Qt] Tweaks needed to compile WebKit2 with Qt |
|
1819 https://bugs.webkit.org/show_bug.cgi?id=41604 |
|
1820 |
|
1821 * UIProcess/Launcher/qt/ProcessLauncherQt.cpp: |
|
1822 (WebKit::ProcessLauncherHelper::launch): Adjust to PassOwnPtr API changes. |
|
1823 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Don't include JavaScriptCore.h, |
|
1824 as it unconditionally includes JSStringRefCF. Instead include JavaScript.h. |
|
1825 |
|
1826 2010-07-12 Steve Falkenburg <sfalken@apple.com> |
|
1827 |
|
1828 Windows build fix. |
|
1829 Don't build MiniBrowser except for Debug_Internal. |
|
1830 |
|
1831 * WebKit2.sln: |
|
1832 |
|
1833 2010-07-12 Steve Falkenburg <sfalken@apple.com> |
|
1834 |
|
1835 Reviewed by Maciej Stachowiak. |
|
1836 |
|
1837 Make WebKit2 be built by build-webkit (so it will be built by build.webkit.org bots) |
|
1838 https://bugs.webkit.org/show_bug.cgi?id=40922 |
|
1839 |
|
1840 Add additional dependent projects. Necessary since our WebKit build on |
|
1841 Windows is packaged into a DLL with WebKit2. |
|
1842 |
|
1843 * WebKit2.sln: |
|
1844 |
|
1845 2010-07-12 Mark Rowe <mrowe@apple.com> |
|
1846 |
|
1847 Rubber-stamped by Maciej Stachowiak. |
|
1848 |
|
1849 Fix WebKit2 to use the same compiler-selection logic as the other projects. |
|
1850 |
|
1851 * WebKit2.xcodeproj/project.pbxproj: Don't hard-code WebKit2 to build with GCC 4.2. |
|
1852 |
|
1853 2010-07-12 Maciej Stachowiak <mjs@apple.com> |
|
1854 |
|
1855 Reviewed by Anders Carlsson. |
|
1856 |
|
1857 WKView should override setFrameSize: instead of setFrame: |
|
1858 https://bugs.webkit.org/show_bug.cgi?id=42127 |
|
1859 |
|
1860 * UIProcess/API/mac/WKView.mm: |
|
1861 (-[WKView setFrameSize:]): Override this method instead of setFrame:, |
|
1862 since that is the right way to do it. |
|
1863 |
|
1864 2010-07-12 Steve Falkenburg <sfalken@apple.com> |
|
1865 |
|
1866 Reviewed by Alice Liu. |
|
1867 |
|
1868 <rdar://problem/8113038> WebKit1 and WebKit2 should build as a single DLL |
|
1869 https://bugs.webkit.org/show_bug.cgi?id=40921 |
|
1870 |
|
1871 Pre-WebKit2 WebKit now builds into a static library named WebKitLib.lib. |
|
1872 WebKit.dll now links in WebCore.lib, WebKitLib.lib and WebKit2 code. |
|
1873 |
|
1874 This is a first step. We'll likely want to migrate the remainder of |
|
1875 the non-deprecated WebKit code (strings, DLLMain, resources) into WebKit2. |
|
1876 |
|
1877 * UIProcess/API/C/WKBase.h: Updated to new BUILDING_ name. |
|
1878 * WebProcess/InjectedBundle/API/c/WKBundleBase.h: Updated to new BUILDING_ name. |
|
1879 * WebProcess/WebCoreSupport/win/WebCoreLocalizedStrings.cpp: Removed. |
|
1880 * WebProcess/win/DllMain.cpp: Removed. Overlaps with implementation in WebKitLib.lib. |
|
1881 * WebProcess/win/WebLocalizableStrings.cpp: Removed. Overlaps with implementation in WebKitLib.lib. |
|
1882 * WebProcess/win/WebLocalizableStrings.h: Removed. Overlaps with implementation in WebKitLib.lib. |
|
1883 * win/WebKit2.def: Added. Copied from WebKit project. |
|
1884 * win/WebKit2.rc: Added resources previously in WebKit. |
|
1885 * win/WebKit2.vcproj: Changed project name to WebKit so we will link output to WebKit.dll. |
|
1886 Removed implementations overlapping with WebKitLib (WebCoreLocalizedStrings, DllMain, WebLocalizableStrings, WebProcessMain). |
|
1887 * win/WebKit2Common.vsprops: Use a framework name of WebKit instead of WebKit2 to reflect project name. |
|
1888 Renamed BUILDING_WEBKIT2 to BUILDING_WEBKIT since there is now just a single WebKit.dll. |
|
1889 * win/WebKit2WebProcess.vcproj: Link against WebKit instead of WebKit2 due to renaming. |
|
1890 * win/deleteButton.png: Copied from ../WebKit/win/WebKit.vcproj/deleteButton.png. |
|
1891 * win/deleteButtonPressed.png: Copied from ../WebKit/win/WebKit.vcproj/deleteButtonPressed.png. |
|
1892 * win/fsVideoAudioVolumeHigh.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoAudioVolumeHigh.png. |
|
1893 * win/fsVideoAudioVolumeLow.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoAudioVolumeLow.png. |
|
1894 * win/fsVideoExitFullscreen.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoExitFullscreen.png. |
|
1895 * win/fsVideoPause.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoPause.png. |
|
1896 * win/fsVideoPlay.png: Copied from ../WebKit/win/WebKit.vcproj/fsVideoPlay.png. |
|
1897 * win/missingImage.png: Copied from ../WebKit/win/WebKit.vcproj/missingImage.png. |
|
1898 * win/nullplugin.png: Copied from ../WebKit/win/WebKit.vcproj/nullplugin.png. |
|
1899 * win/panEastCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panEastCursor.png. |
|
1900 * win/panIcon.png: Copied from ../WebKit/win/WebKit.vcproj/panIcon.png. |
|
1901 * win/panNorthCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panNorthCursor.png. |
|
1902 * win/panNorthEastCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panNorthEastCursor.png. |
|
1903 * win/panNorthWestCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panNorthWestCursor.png. |
|
1904 * win/panSouthCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panSouthCursor.png. |
|
1905 * win/panSouthEastCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panSouthEastCursor.png. |
|
1906 * win/panSouthWestCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panSouthWestCursor.png. |
|
1907 * win/panWestCursor.png: Copied from ../WebKit/win/WebKit.vcproj/panWestCursor.png. |
|
1908 * win/searchCancel.png: Copied from ../WebKit/win/WebKit.vcproj/searchCancel.png. |
|
1909 * win/searchCancelPressed.png: Copied from ../WebKit/win/WebKit.vcproj/searchCancelPressed.png. |
|
1910 * win/searchMagnifier.png: Copied from ../WebKit/win/WebKit.vcproj/searchMagnifier.png. |
|
1911 * win/searchMagnifierResults.png: Copied from ../WebKit/win/WebKit.vcproj/searchMagnifierResults.png. |
|
1912 * win/textAreaResizeCorner.png: Copied from ../WebKit/win/WebKit.vcproj/textAreaResizeCorner.png. |
|
1913 * win/verticalTextCursor.png: Copied from ../WebKit/win/WebKit.vcproj/verticalTextCursor.png. |
|
1914 * win/zoomInCursor.png: Copied from ../WebKit/win/WebKit.vcproj/zoomInCursor.png. |
|
1915 * win/zoomOutCursor.png: Copied from ../WebKit/win/WebKit.vcproj/zoomOutCursor.png. |
|
1916 |
|
1917 2010-07-12 Maciej Stachowiak <mjs@apple.com> |
|
1918 |
|
1919 Reviewed by Anders Carlsson. |
|
1920 |
|
1921 Get rid of auto_ptr use in WebKit2 |
|
1922 https://bugs.webkit.org/show_bug.cgi?id=42119 |
|
1923 |
|
1924 Replace all use of auto_ptr with OwnPtr/PassOwnPtr. |
|
1925 |
|
1926 * Platform/CoreIPC/Connection.cpp: |
|
1927 (CoreIPC::Connection::sendMessage): |
|
1928 (CoreIPC::Connection::waitForMessage): |
|
1929 (CoreIPC::Connection::sendSyncMessage): |
|
1930 (CoreIPC::Connection::processIncomingMessage): |
|
1931 (CoreIPC::Connection::sendOutgoingMessages): |
|
1932 (CoreIPC::Connection::dispatchMessages): |
|
1933 * Platform/CoreIPC/Connection.h: |
|
1934 (CoreIPC::Connection::Message::Message): |
|
1935 (CoreIPC::Connection::send): |
|
1936 (CoreIPC::Connection::sendSync): |
|
1937 (CoreIPC::Connection::waitFor): |
|
1938 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
1939 (CoreIPC::Connection::sendOutgoingMessage): |
|
1940 (CoreIPC::createArgumentDecoder): |
|
1941 (CoreIPC::Connection::receiveSourceEventHandler): |
|
1942 * Platform/CoreIPC/qt/ConnectionQt.cpp: |
|
1943 (CoreIPC::Connection::readyReadHandler): |
|
1944 (CoreIPC::Connection::sendOutgoingMessage): |
|
1945 * Platform/CoreIPC/win/ConnectionWin.cpp: |
|
1946 (CoreIPC::Connection::readEventHandler): |
|
1947 (CoreIPC::Connection::sendOutgoingMessage): |
|
1948 * Platform/RunLoop.cpp: |
|
1949 (RunLoop::performWork): |
|
1950 (RunLoop::scheduleWork): |
|
1951 * Platform/RunLoop.h: |
|
1952 * Platform/WorkItem.h: |
|
1953 (WorkItem::create): |
|
1954 * Platform/WorkQueue.h: |
|
1955 * Platform/mac/WorkQueueMac.cpp: |
|
1956 (WorkQueue::executeWorkItem): |
|
1957 (WorkQueue::scheduleWork): |
|
1958 (WorkQueue::EventSource::EventSource): |
|
1959 (WorkQueue::registerMachPortEventHandler): |
|
1960 * Platform/qt/WorkQueueQt.cpp: |
|
1961 (WorkQueue::connectSignal): |
|
1962 (WorkQueue::scheduleWork): |
|
1963 * Platform/win/WorkQueueWin.cpp: |
|
1964 (WorkQueue::registerHandle): |
|
1965 (WorkQueue::scheduleWork): |
|
1966 (WorkQueue::performWork): |
|
1967 * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: |
|
1968 (WebKit::ChunkedUpdateDrawingAreaProxy::paint): |
|
1969 * UIProcess/WebProcessProxy.cpp: |
|
1970 (WebKit::WebProcessProxy::sendMessage): |
|
1971 (WebKit::WebProcessProxy::didFinishLaunching): |
|
1972 * UIProcess/WebProcessProxy.h: |
|
1973 (WebKit::WebProcessProxy::send): |
|
1974 |
|
1975 2010-07-12 Ada Chan <adachan@apple.com> |
|
1976 |
|
1977 Build fix. Copy WKArray.h to the include directory. |
|
1978 |
|
1979 * win/WebKit2Generated.make: |
|
1980 |
|
1981 2010-07-12 Mark Rowe <mrowe@apple.com> |
|
1982 |
|
1983 Re-do an Xcode project change that Xcode decided not to save. |
|
1984 |
|
1985 * WebKit2.xcodeproj/project.pbxproj: Remove WebKit2.exp from the project. |
|
1986 For some reason it was being copied in to the framework wrapper. |
|
1987 |
|
1988 2010-07-12 Mark Rowe <mrowe@apple.com> |
|
1989 |
|
1990 Reviewed by Sam Weinig. |
|
1991 |
|
1992 Remove the exports file from WebKit2. |
|
1993 |
|
1994 * Configurations/Base.xcconfig: Have symbols default to hidden visibility. |
|
1995 * Configurations/WebKit2.xcconfig: Remove the export file. |
|
1996 * UIProcess/API/mac/WKView.h: Export the WKView class. |
|
1997 * WebProcess/WebKitMain.cpp: Export the WebKitMain function. |
|
1998 * mac/WebKit2.exp: Removed. |
|
1999 |
|
2000 2010-07-12 Adam Roben <aroben@apple.com> |
|
2001 |
|
2002 Move WebKit2.vcproj's settings into .vsprops files |
|
2003 |
|
2004 This makes it easier to make changes that affect all configurations. |
|
2005 |
|
2006 Fixes <http://webkit.org/b/42097> WebKit2 should use .vsprops files |
|
2007 |
|
2008 Reviewed by Steve Falkenburg. |
|
2009 |
|
2010 * win/WebKit2.vcproj: Moved settings from here to the files below. |
|
2011 * win/WebKit2Apple.vsprops: Added. Links against Apple-specific |
|
2012 libraries. |
|
2013 * win/WebKit2CFLite.vsprops: Added. Links against CFLite. |
|
2014 * win/WebKit2Common.vsprops: Added. Contains settings shared by all |
|
2015 configurations. |
|
2016 * win/WebKit2DirectX.vsprops: Added. Contains settings to help with |
|
2017 linking against DirectX. |
|
2018 |
|
2019 2010-07-12 Adam Roben <aroben@apple.com> |
|
2020 |
|
2021 Stop generating stripped symbols for Release builds |
|
2022 |
|
2023 It turns out we can strip the symbols after-the-fact using PDBCopy. |
|
2024 |
|
2025 Fixes <http://webkit.org/b/42085>. |
|
2026 |
|
2027 Reviewed by Steve Falkenburg. |
|
2028 |
|
2029 * win/WebKit2.vcproj: Removed the no-longer-needed Release override of |
|
2030 the StripPrivateSymbols attribute. (This attribute is no longer set in |
|
2031 release.vsprops, so doesn't need to be overridden.) |
|
2032 |
|
2033 2010-07-12 Brian Weinstein <bweinstein@apple.com> |
|
2034 |
|
2035 WebKit2 build fix for Windows. |
|
2036 |
|
2037 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: Remove some stub function definitions. |
|
2038 * win/WebKit2.vcproj: Add PluginController.h to the vcproj. |
|
2039 |
|
2040 2010-07-12 Anders Carlsson <andersca@apple.com> |
|
2041 |
|
2042 Reviewed by Adam Roben. |
|
2043 |
|
2044 Add a PluginController class, use it for invalidation and getting the user agent |
|
2045 https://bugs.webkit.org/show_bug.cgi?id=42084 |
|
2046 |
|
2047 * WebKit2.xcodeproj/project.pbxproj: |
|
2048 Add PluginController.h |
|
2049 |
|
2050 * WebProcess/Plugins/DummyPlugin.cpp: |
|
2051 (WebKit::DummyPlugin::initialize): |
|
2052 * WebProcess/Plugins/DummyPlugin.h: |
|
2053 Pass the PluginController to initialize. |
|
2054 |
|
2055 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
2056 Implement NPN_UserAgent, NPN_MemAlloc, NPN_MemFree, NPN_InvalidateRect and NPN_InvalidateRegion. |
|
2057 |
|
2058 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
2059 (WebKit::NetscapePlugin::NetscapePlugin): |
|
2060 Initialize m_pluginController to null. |
|
2061 |
|
2062 (WebKit::NetscapePlugin::invalidate): |
|
2063 Ask the plug-in controller to invalidate. |
|
2064 |
|
2065 (WebKit::NetscapePlugin::userAgent):´ |
|
2066 Ask the plug-in controller for the user agent. |
|
2067 |
|
2068 (WebKit::NetscapePlugin::initialize): |
|
2069 Set the m_pluginController member variable. |
|
2070 |
|
2071 * WebProcess/Plugins/Plugin.h: |
|
2072 Make initialize take a PluginController. |
|
2073 |
|
2074 * WebProcess/Plugins/PluginController.h: Added. |
|
2075 |
|
2076 * WebProcess/Plugins/PluginView.cpp: |
|
2077 (WebKit::PluginView::initializePlugin): |
|
2078 Pass the PluginController to initialize. |
|
2079 |
|
2080 (WebKit::PluginView::invalidateRect): |
|
2081 Tell the host window to invalidate the given rect. |
|
2082 |
|
2083 (WebKit::PluginView::invalidate): |
|
2084 Call invalidateRect. |
|
2085 |
|
2086 (WebKit::PluginView::userAgent): |
|
2087 Ask the frame loader client for the user agent. |
|
2088 |
|
2089 * WebProcess/Plugins/PluginView.h: |
|
2090 |
|
2091 2010-07-12 Adam Roben <aroben@apple.com> |
|
2092 |
|
2093 Windows build fix |
|
2094 |
|
2095 * WebProcess/Plugins/Netscape/win/NetscapePluginModuleWin.cpp: Added. |
|
2096 (WebKit::NetscapePluginModule::tryLoad): |
|
2097 (WebKit::NetscapePluginModule::unload): |
|
2098 Stubbed these out. |
|
2099 |
|
2100 * win/WebKit2.vcproj: Added a Netscape filter beneath |
|
2101 WebProcess/Plugins, and moved NetscapePlugin into it. Added |
|
2102 NetscapePluginModule to the new Netscape filter. Added |
|
2103 WebProcess/Plugins to the include path for all configurations (it was |
|
2104 only added to Release and Debug_Internal previously) and added |
|
2105 WebProcess/Plugins/Netscape to the include path for all |
|
2106 configurations. |
|
2107 |
|
2108 2010-07-11 Maciej Stachowiak <mjs@apple.com> |
|
2109 |
|
2110 Reviewed by Dan Bernstein. |
|
2111 |
|
2112 Implement animation-related methods for WebKitTestRunner |
|
2113 https://bugs.webkit.org/show_bug.cgi?id=42053 |
|
2114 |
|
2115 Implemented some helpers for WebKitTestRunner; |
|
2116 |
|
2117 * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: |
|
2118 (WKBundleFrameGetNumberOfActiveAnimations): |
|
2119 (WKBundleFramePauseAnimationOnElementWithId): |
|
2120 * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: |
|
2121 * WebProcess/WebPage/WebFrame.cpp: |
|
2122 (WebKit::WebFrame::numberOfActiveAnimations): |
|
2123 (WebKit::WebFrame::pauseAnimationOnElementWithId): |
|
2124 * WebProcess/WebPage/WebFrame.h: |
|
2125 * mac/WebKit2.exp: |
|
2126 |
|
2127 2010-07-10 Anders Carlsson <andersca@apple.com> |
|
2128 |
|
2129 Reviewed by Sam Weinig. |
|
2130 |
|
2131 Don't initialize plug-ins until allowed by the page |
|
2132 https://bugs.webkit.org/show_bug.cgi?id=42033 |
|
2133 |
|
2134 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
2135 (WebKit::NetscapePlugin::paint): |
|
2136 (WebKit::NetscapePlugin::geometryDidChange): |
|
2137 Assert that the plug-in is started. |
|
2138 |
|
2139 * WebProcess/Plugins/PluginView.cpp: |
|
2140 (WebKit::PluginView::PluginView): |
|
2141 Initialize m_isWaitingUntilMediaCanStart. |
|
2142 |
|
2143 (WebKit::PluginView::~PluginView): |
|
2144 If necessary, remove the plug-in view as a MediaCanStartListener. |
|
2145 |
|
2146 (WebKit::PluginView::initializePlugin): |
|
2147 If we're not allowed to initialize the plug-in, add the plug-in view as a MediaCanStartListener. |
|
2148 |
|
2149 (WebKit::PluginView::paint): |
|
2150 Check that the plug-in is initialized. |
|
2151 |
|
2152 (WebKit::PluginView::viewGeometryDidChange): |
|
2153 Ditto. |
|
2154 |
|
2155 (WebKit::PluginView::mediaCanStart): |
|
2156 Initialize the plug-in. |
|
2157 |
|
2158 * WebProcess/Plugins/PluginView.h: |
|
2159 |
|
2160 2010-07-10 Anders Carlsson <andersca@apple.com> |
|
2161 |
|
2162 Reviewed by Dan Bernstein. |
|
2163 |
|
2164 Have the plug-in view initialize the plug-in |
|
2165 https://bugs.webkit.org/show_bug.cgi?id=42030 |
|
2166 |
|
2167 * WebProcess/Plugins/DummyPlugin.cpp: |
|
2168 (WebKit::DummyPlugin::initialize): |
|
2169 * WebProcess/Plugins/DummyPlugin.h: |
|
2170 Plugin::initialize now takes a struct. |
|
2171 |
|
2172 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
2173 (WebKit::NetscapePlugin::initialize): |
|
2174 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
2175 Plugin::initialize now takes a struct. |
|
2176 |
|
2177 * WebProcess/Plugins/Plugin.h: |
|
2178 Add Parameters struct. |
|
2179 |
|
2180 * WebProcess/Plugins/PluginView.cpp: |
|
2181 (WebKit::PluginView::PluginView): |
|
2182 Add Parameters parameter. |
|
2183 |
|
2184 (WebKit::PluginView::~PluginView): |
|
2185 Add m_plugin null check. |
|
2186 |
|
2187 (WebKit::PluginView::initializePlugin): |
|
2188 Try to initialize the plug-in and zero out the plug-in if initialization fails. |
|
2189 |
|
2190 (WebKit::PluginView::paint): |
|
2191 Add m_plugin null check. |
|
2192 |
|
2193 (WebKit::PluginView::setParent): |
|
2194 Initialize the plug-in. |
|
2195 |
|
2196 * WebProcess/Plugins/PluginView.h: |
|
2197 (WebKit::PluginView::create): |
|
2198 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2199 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2200 Don't initialize the plug-in here. |
|
2201 |
|
2202 2010-07-10 Anders Carlsson <andersca@apple.com> |
|
2203 |
|
2204 Reviewed by Oliver Hunt. |
|
2205 |
|
2206 Call Page::canStartMedia when the WKView is added to/removed from a window |
|
2207 https://bugs.webkit.org/show_bug.cgi?id=42029 |
|
2208 |
|
2209 * Shared/CoreIPCSupport/WebPageMessageKinds.h: |
|
2210 (WebPageMessage::): |
|
2211 Add SetIsInWindow. |
|
2212 |
|
2213 * UIProcess/API/mac/WKView.mm: |
|
2214 (-[WKView initWithFrame:pageNamespaceRef:]): |
|
2215 Call setIsInWindow. |
|
2216 |
|
2217 (-[WKView _updateVisibility]): |
|
2218 Call setIsInWindow. |
|
2219 |
|
2220 * UIProcess/WebPageProxy.cpp: |
|
2221 (WebKit::WebPageProxy::WebPageProxy): |
|
2222 Initialize m_isInWindow. |
|
2223 |
|
2224 (WebKit::WebPageProxy::setIsInWindow): |
|
2225 Send WebPageMessage::SetIsInWindow. |
|
2226 |
|
2227 * UIProcess/WebPageProxy.h: |
|
2228 * WebProcess/WebPage/WebPage.cpp: |
|
2229 (WebKit::WebPage::setIsInWindow): |
|
2230 Call Page::canStartMedia. |
|
2231 |
|
2232 (WebKit::WebPage::didReceiveMessage): |
|
2233 Handle the SetIsInWindow message. |
|
2234 |
|
2235 * WebProcess/WebPage/WebPage.h: |
|
2236 |
|
2237 2010-07-10 Anders Carlsson <andersca@apple.com> |
|
2238 |
|
2239 Reviewed by Dan Bernstein. |
|
2240 |
|
2241 Reuse initialized NetscapePluginModules, pass parameters to NPP_New |
|
2242 https://bugs.webkit.org/show_bug.cgi?id=42028 |
|
2243 |
|
2244 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
2245 (WebKit::NetscapePlugin::NetscapePlugin): |
|
2246 Let the plug-in module know that a plug-in has been created. |
|
2247 |
|
2248 (WebKit::NetscapePlugin::~NetscapePlugin): |
|
2249 Let the plug-in module know that a plug-in has been destroyed. |
|
2250 |
|
2251 (WebKit::NetscapePlugin::initialize): |
|
2252 Pass the MIME type and parameters to the plug-in. |
|
2253 |
|
2254 * WebProcess/Plugins/Netscape/NetscapePluginModule.cpp: |
|
2255 (WebKit::initializedNetscapePluginModules): |
|
2256 Add list of initialized plug-in modules. |
|
2257 |
|
2258 (WebKit::NetscapePluginModule::NetscapePluginModule): |
|
2259 Initialize m_pluginCount to 0. |
|
2260 |
|
2261 (WebKit::NetscapePluginModule::~NetscapePluginModule): |
|
2262 Assert that we're not in the list of initialized plug-ins. |
|
2263 |
|
2264 (WebKit::NetscapePluginModule::pluginCreated): |
|
2265 Increment the plug-in count. |
|
2266 |
|
2267 (WebKit::NetscapePluginModule::pluginDestroyed): |
|
2268 Decrement the plug-in count and call shutdown if it's 0. |
|
2269 |
|
2270 (WebKit::NetscapePluginModule::shutdown): |
|
2271 Call NP_Shutdown and remove the plug-in from the list of initialized plug-ins. |
|
2272 |
|
2273 (WebKit::NetscapePluginModule::getOrCreate): |
|
2274 Look for an already initialized plug-in module before creating one. |
|
2275 |
|
2276 (WebKit::NetscapePluginModule::load): |
|
2277 Set m_isInitialized to true. |
|
2278 |
|
2279 * WebProcess/Plugins/Netscape/mac/NetscapePluginModuleMac.cpp: |
|
2280 (WebKit::NetscapePluginModule::unload): |
|
2281 Leak the CFBundleRef to avoid possible crashes. |
|
2282 |
|
2283 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2284 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2285 Call getOrCreate instead of create. |
|
2286 |
|
2287 2010-07-09 Leon Clarke <leonclarke@google.com> |
|
2288 |
|
2289 Reviewed by Adam Barth. |
|
2290 |
|
2291 add support for link prefetching |
|
2292 https://bugs.webkit.org/show_bug.cgi?id=3652 |
|
2293 |
|
2294 * Configurations/FeatureDefines.xcconfig: |
|
2295 |
|
2296 2010-07-09 Anders Carlsson <andersca@apple.com> |
|
2297 |
|
2298 Reviewed by Sam Weinig and Dan Bernstein. |
|
2299 |
|
2300 Handle setting of drawing and event models |
|
2301 https://bugs.webkit.org/show_bug.cgi?id=41994 |
|
2302 |
|
2303 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
2304 Handle NPPVpluginDrawingModel and NPPVpluginEventModel. |
|
2305 |
|
2306 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
2307 (WebKit::NetscapePlugin::NetscapePlugin): |
|
2308 Initialize m_inNPPNew. |
|
2309 |
|
2310 (WebKit::NetscapePlugin::~NetscapePlugin): |
|
2311 Assert that we aren't still running. |
|
2312 |
|
2313 (WebKit::NetscapePlugin::fromNPP): |
|
2314 New function that returns a NetscapePlugin object given a NPP pointer. |
|
2315 |
|
2316 (WebKit::NetscapePlugin::initialize): |
|
2317 * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.cpp: |
|
2318 (WebKit::NetscapePlugin::setDrawingModel): |
|
2319 Set the drawing model. |
|
2320 |
|
2321 (WebKit::NetscapePlugin::setEventModel): |
|
2322 Set the event model. |
|
2323 |
|
2324 (WebKit::initializeEvent): |
|
2325 (WebKit::NetscapePlugin::platformPaint): |
|
2326 Only send the Cocoa event when using the Cocoa event model. |
|
2327 |
|
2328 2010-07-09 Sam Weinig <sam@webkit.org> |
|
2329 |
|
2330 Reviewed by Anders Carlsson. |
|
2331 |
|
2332 Patch for https://bugs.webkit.org/show_bug.cgi?id=41971 |
|
2333 Add really basic BackForwardList support. |
|
2334 |
|
2335 * Shared/CoreIPCSupport/WebPageMessageKinds.h: |
|
2336 (WebPageMessage::): |
|
2337 Add new message kind. |
|
2338 |
|
2339 * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: |
|
2340 (WebPageProxyMessage::): |
|
2341 Add new message kinds. Remove DidChangeCanGoBack and DidChangeCanGoForward. |
|
2342 |
|
2343 * UIProcess/API/C/WKPage.cpp: |
|
2344 (WKPageGoToBackForwardListItem): |
|
2345 * UIProcess/API/C/WKPage.h: |
|
2346 Add function to initiate a navigation to a BackForward item. The |
|
2347 BackForward list will be updated to use this as the current item |
|
2348 asynchronously. |
|
2349 |
|
2350 * UIProcess/WebBackForwardList.cpp: |
|
2351 (WebKit::WebBackForwardList::WebBackForwardList): |
|
2352 (WebKit::WebBackForwardList::addItem): Added. |
|
2353 (WebKit::WebBackForwardList::goToItem): Added. |
|
2354 (WebKit::WebBackForwardList::itemAtIndex): Added. |
|
2355 (WebKit::WebBackForwardList::backListCount): Changed to return int matching WebCore. |
|
2356 (WebKit::WebBackForwardList::forwardListCount): Ditto. |
|
2357 (WebKit::WebBackForwardList::backListWithLimit): Add cast to int. |
|
2358 (WebKit::WebBackForwardList::forwardListWithLimit): Ditto. |
|
2359 (WebKit::WebBackForwardList::backListAsImmutableArrayWithLimit): Ditto. |
|
2360 (WebKit::WebBackForwardList::forwardListAsImmutableArrayWithLimit): Ditto. |
|
2361 * UIProcess/WebBackForwardList.h: |
|
2362 |
|
2363 * UIProcess/WebBackForwardListItem.cpp: |
|
2364 (WebKit::WebBackForwardListItem::WebBackForwardListItem): |
|
2365 * UIProcess/WebBackForwardListItem.h: |
|
2366 (WebKit::WebBackForwardListItem::create): |
|
2367 (WebKit::WebBackForwardListItem::itemID): |
|
2368 Added itemID. |
|
2369 |
|
2370 * UIProcess/WebPageProxy.cpp: |
|
2371 (WebKit::WebPageProxy::WebPageProxy): |
|
2372 (WebKit::WebPageProxy::close): |
|
2373 (WebKit::WebPageProxy::canGoForward): |
|
2374 (WebKit::WebPageProxy::canGoBack): |
|
2375 (WebKit::WebPageProxy::goToBackForwardItem): |
|
2376 (WebKit::WebPageProxy::didReceiveMessage): |
|
2377 (WebKit::WebPageProxy::didReceiveSyncMessage): |
|
2378 (WebKit::WebPageProxy::addItemToBackForwardList): |
|
2379 (WebKit::WebPageProxy::goToItemInBackForwardList): |
|
2380 (WebKit::WebPageProxy::processDidExit): |
|
2381 * UIProcess/WebPageProxy.h: |
|
2382 - Removed m_canGoBack and m_canGoForward booleans and instead use the BackForwardList. |
|
2383 - Forward goToBackForwardItem to the WebProcess. |
|
2384 - Respond to messages from the WebBackForwardListProxy in the WebProcess, |
|
2385 forwarding to the WebBackForwardList. |
|
2386 |
|
2387 * WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp: |
|
2388 (WebKit::WebBackForwardControllerClient::createBackForwardList): |
|
2389 Start using a WebBackForwardListProxy instead of a BackForwardListImpl. |
|
2390 |
|
2391 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2392 (WebKit::WebFrameLoaderClient::dispatchDidAddBackForwardItem): |
|
2393 (WebKit::WebFrameLoaderClient::dispatchDidRemoveBackForwardItem): |
|
2394 (WebKit::WebFrameLoaderClient::dispatchDidChangeBackForwardIndex): |
|
2395 Remove calls backForwardListDidChange() now that we communicate much more |
|
2396 information than just this state. |
|
2397 |
|
2398 * WebProcess/WebPage/WebBackForwardListProxy.cpp: |
|
2399 (WebKit::idToHistoryItemMap): |
|
2400 (WebKit::historyItemToIDMap): |
|
2401 (WebKit::generateHistoryItemID): |
|
2402 (WebKit::getIDForHistoryItem): |
|
2403 (WebKit::WebBackForwardListProxy::itemForID): |
|
2404 Add leaking cached maps of HistoryItems to IDs, the life time of these |
|
2405 objects will be improved in a subsequent patch. |
|
2406 |
|
2407 (WebKit::WebBackForwardListProxy::WebBackForwardListProxy): |
|
2408 (WebKit::WebBackForwardListProxy::addItem): |
|
2409 (WebKit::WebBackForwardListProxy::goBack): |
|
2410 (WebKit::WebBackForwardListProxy::goForward): |
|
2411 (WebKit::WebBackForwardListProxy::goToItem): |
|
2412 (WebKit::WebBackForwardListProxy::backItem): |
|
2413 (WebKit::WebBackForwardListProxy::currentItem): |
|
2414 (WebKit::WebBackForwardListProxy::forwardItem): |
|
2415 (WebKit::WebBackForwardListProxy::itemAtIndex): |
|
2416 (WebKit::WebBackForwardListProxy::backListWithLimit): |
|
2417 (WebKit::WebBackForwardListProxy::forwardListWithLimit): |
|
2418 (WebKit::WebBackForwardListProxy::capacity): |
|
2419 (WebKit::WebBackForwardListProxy::setCapacity): |
|
2420 (WebKit::WebBackForwardListProxy::enabled): |
|
2421 (WebKit::WebBackForwardListProxy::setEnabled): |
|
2422 (WebKit::WebBackForwardListProxy::backListCount): |
|
2423 (WebKit::WebBackForwardListProxy::forwardListCount): |
|
2424 (WebKit::WebBackForwardListProxy::containsItem): |
|
2425 (WebKit::WebBackForwardListProxy::close): |
|
2426 (WebKit::WebBackForwardListProxy::closed): |
|
2427 (WebKit::WebBackForwardListProxy::removeItem): |
|
2428 (WebKit::WebBackForwardListProxy::entries): |
|
2429 (WebKit::WebBackForwardListProxy::pushStateItem): |
|
2430 * WebProcess/WebPage/WebBackForwardListProxy.h: |
|
2431 Forward functions to the UIProcess. |
|
2432 |
|
2433 * WebProcess/WebPage/WebPage.cpp: |
|
2434 (WebKit::WebPage::goToBackForwardItem): |
|
2435 (WebKit::WebPage::didReceiveMessage): |
|
2436 * WebProcess/WebPage/WebPage.h: |
|
2437 Respond to GoToBackForwardItem message. |
|
2438 |
|
2439 * mac/WebKit2.exp: Add new API function. |
|
2440 |
|
2441 2010-07-09 Anders Carlsson <andersca@apple.com> |
|
2442 |
|
2443 Reviewed by Sam Weinig. |
|
2444 |
|
2445 Verify drawing coordinates, add crude painting support |
|
2446 https://bugs.webkit.org/show_bug.cgi?id=41984 |
|
2447 |
|
2448 * WebKit2.xcodeproj/project.pbxproj: |
|
2449 Add NetscapePluginMac.cpp. |
|
2450 |
|
2451 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
2452 (WebKit::NetscapePlugin::NetscapePlugin): |
|
2453 Initialize drawing and event models. |
|
2454 |
|
2455 (WebKit::NetscapePlugin::initialize): |
|
2456 Call platformPostInitialize. |
|
2457 |
|
2458 (WebKit::NetscapePlugin::destroy): |
|
2459 Call NPP_Destroy. |
|
2460 |
|
2461 (WebKit::NetscapePlugin::paint): |
|
2462 Call platformPaint. |
|
2463 |
|
2464 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
2465 Add member functions. |
|
2466 |
|
2467 * WebProcess/Plugins/Netscape/mac/NetscapePluginMac.cpp: Added. |
|
2468 (WebKit::NetscapePlugin::platformPostInitialize): |
|
2469 Set default event and drawing models and verify that they are compatible. |
|
2470 |
|
2471 (WebKit::NetscapePlugin::platformPaint): |
|
2472 Send a paint event (assuming the Cocoa event model currently). |
|
2473 |
|
2474 * WebProcess/Plugins/PluginView.cpp: |
|
2475 (WebKit::PluginView::paint): |
|
2476 Change the paint rect to be in window coordinates. |
|
2477 |
|
2478 (WebKit::PluginView::viewGeometryDidChange): |
|
2479 (WebKit::PluginView::clipRectInWindowCoordinates): |
|
2480 * WebProcess/Plugins/PluginView.h: |
|
2481 |
|
2482 2010-07-09 Anders Carlsson <andersca@apple.com> |
|
2483 |
|
2484 Reviewed by Sam Weinig. |
|
2485 |
|
2486 Pass a clip rect to the plugin and call NPP_SetWindow |
|
2487 https://bugs.webkit.org/show_bug.cgi?id=41969 |
|
2488 |
|
2489 * WebProcess/Plugins/DummyPlugin.cpp: |
|
2490 (WebKit::DummyPlugin::geometryDidChange): |
|
2491 * WebProcess/Plugins/DummyPlugin.h: |
|
2492 Add clip rect parameter. |
|
2493 |
|
2494 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
2495 (WebKit::NetscapePlugin::NetscapePlugin): |
|
2496 Initialize m_npWindow. |
|
2497 |
|
2498 (WebKit::NetscapePlugin::callSetWindow): |
|
2499 Call NPP_SetWindow. |
|
2500 |
|
2501 (WebKit::NetscapePlugin::initialize): |
|
2502 Set the window type to NPWindowTypeDrawable for now. |
|
2503 |
|
2504 (WebKit::NetscapePlugin::geometryDidChange): |
|
2505 Update the frame and clip rects and call NPP_SetWindow. |
|
2506 |
|
2507 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
2508 Add an NPWindow member variable. |
|
2509 |
|
2510 * WebProcess/Plugins/Plugin.h: |
|
2511 Add a clipRect parameter to geometryDidChange. |
|
2512 |
|
2513 * WebProcess/Plugins/PluginView.cpp: |
|
2514 (WebKit::PluginView::PluginView): |
|
2515 Add the plug-in element to the constructor. |
|
2516 |
|
2517 (WebKit::PluginView::viewGeometryDidChange): |
|
2518 Compute the clip rect and pass it to the plug-in. |
|
2519 |
|
2520 * WebProcess/Plugins/PluginView.h: |
|
2521 (WebKit::PluginView::create): |
|
2522 Pass the plug-in element to the constructor. |
|
2523 |
|
2524 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2525 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2526 Pass the plug-in element to PluginView::create. |
|
2527 |
|
2528 2010-07-09 Anders Carlsson <andersca@apple.com> |
|
2529 |
|
2530 Reviewed by Simon Fraser. |
|
2531 |
|
2532 Instantiate Netscape plug-ins, pass geometry information to Plugin |
|
2533 https://bugs.webkit.org/show_bug.cgi?id=41960 |
|
2534 |
|
2535 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: |
|
2536 Handle NPNVsupportsCoreGraphicsBool and NPNVsupportsCocoaBool. |
|
2537 |
|
2538 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: |
|
2539 (WebKit::NetscapePlugin::NetscapePlugin): |
|
2540 Set npp.ndata. |
|
2541 |
|
2542 (WebKit::NetscapePlugin::initialize): |
|
2543 Try to instantiate the plug-in by calling NPP_New. |
|
2544 |
|
2545 * WebProcess/Plugins/Netscape/NetscapePlugin.h: |
|
2546 Store the NetscapePluginModule and the NPP struct. |
|
2547 |
|
2548 * WebProcess/Plugins/Netscape/NetscapePluginModule.h: |
|
2549 Add a getter for the NPPluginFuncs vtable. |
|
2550 |
|
2551 * WebProcess/Plugins/PluginView.cpp: |
|
2552 (WebKit::PluginView::frameRectsChanged): |
|
2553 Make sure to call viewGeometryDidChange. |
|
2554 |
|
2555 (WebKit::PluginView::setParent): |
|
2556 Ditto. |
|
2557 |
|
2558 (WebKit::PluginView::viewGeometryDidChange): |
|
2559 Convert the frame rect to window coordinates and pass it to the plug-in. |
|
2560 |
|
2561 * WebProcess/Plugins/PluginView.h: |
|
2562 Add function declarations. |
|
2563 |
|
2564 2010-07-08 Diego Gonzalez <diegohcg@webkit.org> |
|
2565 |
|
2566 Reviewed by Kenneth Rohde Christiansen. |
|
2567 |
|
2568 [Qt] [WebKit2] Make QWKPage call _q_webActionTriggered as a private slot |
|
2569 https://bugs.webkit.org/show_bug.cgi?id=41880 |
|
2570 |
|
2571 * UIProcess/API/qt/qwkpage.cpp: |
|
2572 * UIProcess/API/qt/qwkpage.h: |
|
2573 |
|
2574 2010-07-09 Antti Koivisto <koivisto@iki.fi> |
|
2575 |
|
2576 Not reviewed. |
|
2577 |
|
2578 Build fix. |
|
2579 |
|
2580 * UIProcess/API/qt/qwkpage.h: |
|
2581 |
|
2582 2010-07-08 Brian Weinstein <bweinstein@apple.com> |
|
2583 |
|
2584 WebKit2 build fix for Windows. |
|
2585 |
|
2586 * WebProcess/Plugins/PluginView.h: Change the forward declaration of Plugin |
|
2587 to an include. |
|
2588 * win/WebKit2.vcproj: Update the include paths for Release to match Debug, and |
|
2589 add some files to the vcproj that were added on Mac. |
|
2590 |
|
2591 2010-07-08 Sam Weinig <sam@webkit.org> |
|
2592 |
|
2593 Attempt to fix the windows build. |
|
2594 |
|
2595 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2596 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2597 |
|
2598 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2599 |
|
2600 Reviewed by Sam Weinig. |
|
2601 |
|
2602 Add NetscapePlugin class |
|
2603 https://bugs.webkit.org/show_bug.cgi?id=41919 |
|
2604 |
|
2605 * WebKit2.xcodeproj/project.pbxproj: |
|
2606 * WebProcess/Plugins/Netscape/NetscapePlugin.cpp: Added. |
|
2607 (WebKit::NetscapePlugin::NetscapePlugin): |
|
2608 (WebKit::NetscapePlugin::~NetscapePlugin): |
|
2609 (WebKit::NetscapePlugin::initialize): |
|
2610 (WebKit::NetscapePlugin::destroy): |
|
2611 (WebKit::NetscapePlugin::paint): |
|
2612 (WebKit::NetscapePlugin::geometryDidChange): |
|
2613 * WebProcess/Plugins/Netscape/NetscapePlugin.h: Added. |
|
2614 (WebKit::NetscapePlugin::create): |
|
2615 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2616 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2617 |
|
2618 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2619 |
|
2620 Reviewed by Sam Weinig. |
|
2621 |
|
2622 Enable notImplemented messages by default and have the various clients explicitly disable them. |
|
2623 |
|
2624 * Shared/NotImplemented.h: |
|
2625 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
2626 * WebProcess/WebCoreSupport/WebContextMenuClient.cpp: |
|
2627 * WebProcess/WebCoreSupport/WebDragClient.cpp: |
|
2628 * WebProcess/WebCoreSupport/WebEditorClient.cpp: |
|
2629 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2630 * WebProcess/WebCoreSupport/WebInspectorClient.cpp: |
|
2631 |
|
2632 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2633 |
|
2634 Reviewed by Sam Weinig. |
|
2635 |
|
2636 Add stubbed out NPN functions |
|
2637 https://bugs.webkit.org/show_bug.cgi?id=41917 |
|
2638 |
|
2639 * WebKit2.xcodeproj/project.pbxproj: |
|
2640 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.cpp: Added. |
|
2641 (WebKit::initializeBrowserFuncs): |
|
2642 (WebKit::netscapeBrowserFuncs): |
|
2643 * WebProcess/Plugins/Netscape/NetscapeBrowserFuncs.h: Added. |
|
2644 * WebProcess/Plugins/Netscape/mac/NetscapePluginModuleMac.cpp: |
|
2645 (WebKit::NetscapePluginModule::tryLoad): |
|
2646 |
|
2647 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2648 |
|
2649 Fix Windows build. |
|
2650 |
|
2651 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2652 |
|
2653 2010-07-08 Luiz Agostini <luiz.agostini@openbossa.org> |
|
2654 |
|
2655 Reviewed by Kenneth Rohde Christiansen. |
|
2656 |
|
2657 [Qt] Spelling and style correction |
|
2658 https://bugs.webkit.org/show_bug.cgi?id=41891 |
|
2659 |
|
2660 Correcting a spelling and a style mistakes. |
|
2661 |
|
2662 * UIProcess/Launcher/ProcessLauncher.h: |
|
2663 * UIProcess/Launcher/qt/ProcessLauncherQt.cpp: |
|
2664 |
|
2665 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2666 |
|
2667 Reviewed by Sam Weinig. |
|
2668 |
|
2669 Implement more of NetscapePluginModule |
|
2670 https://bugs.webkit.org/show_bug.cgi?id=41910 |
|
2671 |
|
2672 * WebKit2.xcodeproj/project.pbxproj: |
|
2673 * WebProcess/Plugins/Netscape/NetscapePluginModule.cpp: |
|
2674 (WebKit::NetscapePluginModule::create): |
|
2675 (WebKit::NetscapePluginModule::load): |
|
2676 * WebProcess/Plugins/Netscape/NetscapePluginModule.h: |
|
2677 * WebProcess/Plugins/Netscape/mac/NetscapePluginModuleMac.cpp: Added. |
|
2678 (WebKit::NetscapePluginModule::unload): |
|
2679 (WebKit::pointerToFunction): |
|
2680 (WebKit::NetscapePluginModule::tryLoad): |
|
2681 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2682 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2683 |
|
2684 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2685 |
|
2686 Reviewed by Sam Weinig. |
|
2687 |
|
2688 Add stubbed out NetscapePluginModule class |
|
2689 https://bugs.webkit.org/show_bug.cgi?id=41901 |
|
2690 |
|
2691 * WebKit2.xcodeproj/project.pbxproj: |
|
2692 * WebProcess/Plugins/Netscape/NetscapePluginModule.cpp: Added. |
|
2693 (WebKit::NetscapePluginModule::NetscapePluginModule): |
|
2694 * WebProcess/Plugins/Netscape/NetscapePluginModule.h: Added. |
|
2695 (WebKit::NetscapePluginModule::create): |
|
2696 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2697 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2698 |
|
2699 2010-07-08 Luiz Agostini <luiz.agostini@openbossa.org> |
|
2700 |
|
2701 Reviewed by Kenneth Rohde Christiansen. |
|
2702 |
|
2703 [Qt] Move socket objects to connection's thread |
|
2704 https://bugs.webkit.org/show_bug.cgi?id=41897 |
|
2705 |
|
2706 To receive network related notifications in the WorkQueue thread, the |
|
2707 QLocalSocket instances must be moved to that thread. |
|
2708 |
|
2709 * Platform/CoreIPC/qt/ConnectionQt.cpp: |
|
2710 (CoreIPC::Connection::open): |
|
2711 * Platform/WorkQueue.h: |
|
2712 * Platform/qt/WorkQueueQt.cpp: |
|
2713 (WorkQueue::moveSocketToWorkThread): |
|
2714 |
|
2715 2010-07-08 Alice Liu <alice.liu@apple.com> |
|
2716 |
|
2717 Reviewed by Sam Weinig. |
|
2718 |
|
2719 https://bugs.webkit.org/show_bug.cgi?id=41653 |
|
2720 Add new WebKitTestRunner project for Windows |
|
2721 |
|
2722 * win/WebKit2Generated.make: Add files needed for WebKitTestRunner |
|
2723 |
|
2724 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2725 |
|
2726 Reviewed by Sam Weinig. |
|
2727 |
|
2728 Add a GetPluginHostConnection WebProcessProxy message |
|
2729 https://bugs.webkit.org/show_bug.cgi?id=41893 |
|
2730 |
|
2731 * Shared/CoreIPCSupport/WebProcessProxyMessageKinds.h: |
|
2732 (WebProcessProxyMessage::): |
|
2733 * UIProcess/WebProcessProxy.cpp: |
|
2734 (WebKit::WebProcessProxy::getPluginHostConnection): |
|
2735 (WebKit::WebProcessProxy::didReceiveMessage): |
|
2736 (WebKit::WebProcessProxy::didReceiveSyncMessage): |
|
2737 * UIProcess/WebProcessProxy.h: |
|
2738 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2739 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2740 |
|
2741 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2742 |
|
2743 Reviewed by Sam Weinig. |
|
2744 |
|
2745 Add more parameters to Plugin::initialize |
|
2746 https://bugs.webkit.org/show_bug.cgi?id=41890 |
|
2747 |
|
2748 * WebProcess/Plugins/DummyPlugin.cpp: |
|
2749 (WebKit::DummyPlugin::initialize): |
|
2750 * WebProcess/Plugins/DummyPlugin.h: |
|
2751 * WebProcess/Plugins/Plugin.h: |
|
2752 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2753 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2754 |
|
2755 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2756 |
|
2757 Fix build. |
|
2758 |
|
2759 * WebProcess/Plugins/DummyPlugin.h: |
|
2760 |
|
2761 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2762 |
|
2763 Reviewed by Sam Weinig. |
|
2764 |
|
2765 Add a Plugin abstract base class and a DummyPlugin that implements it |
|
2766 https://bugs.webkit.org/show_bug.cgi?id=41885 |
|
2767 |
|
2768 * WebKit2.xcodeproj/project.pbxproj: |
|
2769 Add files. |
|
2770 |
|
2771 * WebProcess/Plugins/DummyPlugin.cpp: Added. |
|
2772 (WebKit::DummyPlugin::paint): |
|
2773 Paint a red rectangle. |
|
2774 |
|
2775 * WebProcess/Plugins/Plugin.cpp: Added. |
|
2776 * WebProcess/Plugins/Plugin.h: Added. |
|
2777 Add Plugin, an abstract baseclass. |
|
2778 |
|
2779 * WebProcess/Plugins/PluginView.cpp: |
|
2780 (WebKit::PluginView::PluginView): |
|
2781 (WebKit::PluginView::~PluginView): |
|
2782 (WebKit::PluginView::paint): |
|
2783 (WebKit::PluginView::viewGeometryDidChange): |
|
2784 * WebProcess/Plugins/PluginView.h: |
|
2785 (WebKit::PluginView::create): |
|
2786 Add a Plugin member function and forward PluginView calls to it. |
|
2787 |
|
2788 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2789 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2790 Make a DummyPlugin and pass it to the PluginView. |
|
2791 |
|
2792 * win/WebKit2.vcproj: |
|
2793 Add files. |
|
2794 |
|
2795 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2796 |
|
2797 Reviewed by Sam Weinig. |
|
2798 |
|
2799 Add stubbed out PluginView class |
|
2800 https://bugs.webkit.org/show_bug.cgi?id=41879 |
|
2801 |
|
2802 * WebKit2.xcodeproj/project.pbxproj: |
|
2803 Add PluginView.cpp and PluginView.h |
|
2804 |
|
2805 * WebProcess/Plugins/PluginView.cpp: Added. |
|
2806 (WebKit::PluginView::PluginView): |
|
2807 (WebKit::PluginView::~PluginView): |
|
2808 (WebKit::PluginView::setFrameRect): |
|
2809 (WebKit::PluginView::paint): |
|
2810 (WebKit::PluginView::viewGeometryDidChange): |
|
2811 (WebKit::PluginView::invalidateRect): |
|
2812 Stub out these functions. |
|
2813 |
|
2814 * WebProcess/Plugins/PluginView.h: Added. |
|
2815 (WebKit::PluginView::create): |
|
2816 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
2817 (WebKit::WebFrameLoaderClient::createPlugin): |
|
2818 Create a plug-in view. |
|
2819 |
|
2820 * win/WebKit2.vcproj: |
|
2821 Add PluginView.cpp and PluginView.h. |
|
2822 |
|
2823 2010-07-08 Steve Falkenburg <sfalken@apple.com> |
|
2824 |
|
2825 Reviewed by Adam Roben. |
|
2826 |
|
2827 WebKit2 on Windows needs a version resource |
|
2828 https://bugs.webkit.org/show_bug.cgi?id=41870 |
|
2829 <rdar://problem/8170501> |
|
2830 |
|
2831 * win/WebKit2.rc: Added. |
|
2832 * win/WebKit2.vcproj: |
|
2833 * win/WebKit2WebProcess.rc: Added. |
|
2834 * win/WebKit2WebProcess.vcproj: |
|
2835 |
|
2836 2010-07-08 Sam Weinig <sam@webkit.org> |
|
2837 |
|
2838 Reviewed by Anders Carlsson. |
|
2839 |
|
2840 Patch for https://bugs.webkit.org/show_bug.cgi?id=41874 |
|
2841 Add stubbed out WebBackForwardListProxy |
|
2842 |
|
2843 - No behavior change. |
|
2844 - Rename the old WebBackForwardListProxy to WebBackForwardList since it |
|
2845 will be the implementation, not the proxy. |
|
2846 |
|
2847 * UIProcess/API/C/WKAPICast.h: |
|
2848 * UIProcess/API/C/WKBackForwardList.cpp: |
|
2849 * UIProcess/API/C/WKPage.cpp: |
|
2850 * UIProcess/WebBackForwardList.cpp: Copied from UIProcess/WebBackForwardListProxy.cpp. |
|
2851 * UIProcess/WebBackForwardList.h: Copied from UIProcess/WebBackForwardListProxy.h. |
|
2852 (WebKit::WebBackForwardList::create): |
|
2853 * UIProcess/WebBackForwardListProxy.cpp: Removed. |
|
2854 * UIProcess/WebBackForwardListProxy.h: Removed. |
|
2855 * UIProcess/WebPageProxy.cpp: |
|
2856 (WebKit::WebPageProxy::WebPageProxy): |
|
2857 * UIProcess/WebPageProxy.h: |
|
2858 (WebKit::WebPageProxy::backForwardList): |
|
2859 * WebKit2.xcodeproj/project.pbxproj: |
|
2860 * WebProcess/WebPage/WebBackForwardListProxy.cpp: Added. |
|
2861 * WebProcess/WebPage/WebBackForwardListProxy.h: Added. |
|
2862 (WebKit::WebBackForwardListProxy::create): |
|
2863 * win/WebKit2.vcproj: |
|
2864 |
|
2865 2010-07-08 Sam Weinig <sam@webkit.org> |
|
2866 |
|
2867 Reviewed by Anders Carlsson. |
|
2868 |
|
2869 Pass Page to BackForwardControllerClient::createBackForwardList since it |
|
2870 may be called before implementations of BackForwardControllerClient have |
|
2871 access to a Page. |
|
2872 |
|
2873 * WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp: |
|
2874 (WebKit::WebBackForwardControllerClient::createBackForwardList): |
|
2875 * WebProcess/WebCoreSupport/WebBackForwardControllerClient.h: |
|
2876 |
|
2877 2010-07-08 Anders Carlsson <andersca@apple.com> |
|
2878 |
|
2879 Reviewed by Sam Weinig. |
|
2880 |
|
2881 Fix fallout from Darin's adoptRef assertion changes. |
|
2882 |
|
2883 * UIProcess/WebContext.cpp: |
|
2884 (WebKit::WebContext::sharedProcessContext): |
|
2885 (WebKit::WebContext::sharedThreadContext): |
|
2886 * WebProcess/WebPage/WebFrame.cpp: |
|
2887 (WebKit::WebFrame::createMainFrame): |
|
2888 (WebKit::WebFrame::createSubframe): |
|
2889 (WebKit::WebFrame::create): |
|
2890 (WebKit::WebFrame::WebFrame): |
|
2891 * WebProcess/WebPage/WebFrame.h: |
|
2892 |
|
2893 2010-07-08 Steve Falkenburg <sfalken@apple.com> |
|
2894 |
|
2895 Reviewed by Mark Rowe. |
|
2896 |
|
2897 WebKit2 should enable DEP (Data Execution Prevention) on Windows via /NXCOMPAT |
|
2898 https://bugs.webkit.org/show_bug.cgi?id=41837 |
|
2899 <rdar://problem/8170505> |
|
2900 |
|
2901 * win/WebKit2WebProcess.vcproj: |
|
2902 |
|
2903 2010-07-08 Sam Weinig <sam@webkit.org> |
|
2904 |
|
2905 Reviewed by Anders Carlsson. |
|
2906 |
|
2907 Patch for https://bugs.webkit.org/show_bug.cgi?id=41826 |
|
2908 Convert BackForwardList to an abstract base class and add BackForwardListImpl |
|
2909 as the concrete implementation of it. |
|
2910 |
|
2911 * WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp: |
|
2912 (WebKit::WebBackForwardControllerClient::createBackForwardList): |
|
2913 |
|
2914 2010-07-08 Luiz Agostini <luiz@webkit.org>, Kenneth Rohde Christiansen <kenneth@webkit.org> |
|
2915 |
|
2916 Reviewed by Antti Koivisto. |
|
2917 |
|
2918 [Qt] Improve QtWebkit2 secondary process launching procedure |
|
2919 https://bugs.webkit.org/show_bug.cgi?id=41853 |
|
2920 |
|
2921 Changing secondary process launching procedure to make sure that the method |
|
2922 ProcessLauncher::didFinishLaunchingProcess will only be called after secondary |
|
2923 process has been launched and the connection has been stablished between the |
|
2924 UIProcess and WebProcess. |
|
2925 |
|
2926 This solves the timing issues ocasionaly observed when launching MiniBrowser. |
|
2927 |
|
2928 QLocalServer object and related code has been removed from the class Connection. |
|
2929 Server instances of the Connection class now get the QLocalSocket via ProcessLauncher. |
|
2930 |
|
2931 * Platform/CoreIPC/Connection.h: |
|
2932 * Platform/CoreIPC/qt/ConnectionQt.cpp: |
|
2933 (CoreIPC::Connection::platformInitialize): |
|
2934 (CoreIPC::Connection::platformInvalidate): |
|
2935 (CoreIPC::Connection::open): |
|
2936 |
|
2937 Using QProcess* as PlatformProcessIdentifier. |
|
2938 |
|
2939 * Platform/PlatformProcessIdentifier.h: |
|
2940 |
|
2941 A new singleton class named ProcessLauncherHelper was created to handle the QLocalServer |
|
2942 object used to receive connections. This class launches the process and waits for it to connect |
|
2943 before calling ProcessLauncher::didFinishLaunchingProcess. |
|
2944 |
|
2945 * UIProcess/Launcher/ProcessLauncher.h: |
|
2946 * UIProcess/Launcher/qt/ProcessLauncherQt.cpp: |
|
2947 (WebKit::ProcessLauncherHelper::launch): |
|
2948 (WebKit::ProcessLauncherHelper::takePendingConnection): |
|
2949 (WebKit::ProcessLauncherHelper::ProcessLauncherHelper): |
|
2950 (WebKit::ProcessLauncherHelper::instance): |
|
2951 (WebKit::ProcessLauncherHelper::newConnection): |
|
2952 (WebKit::ProcessLauncher::launchProcess): |
|
2953 (WebKit::ProcessLauncher::terminateProcess): |
|
2954 (_qt_takePendingConnection): |
|
2955 |
|
2956 2010-07-08 Antti Koivisto <koivisto@iki.fi> |
|
2957 |
|
2958 Reviewed by Kenneth Rohde Christiansen. |
|
2959 |
|
2960 [Qt] Initial WebKit2 implementation |
|
2961 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
2962 |
|
2963 Random build fixes. |
|
2964 |
|
2965 * Shared/qt/WebEventFactoryQt.cpp: |
|
2966 * UIProcess/API/qt/ClientImpl.cpp: |
|
2967 * UIProcess/API/qt/qwkpage.cpp: |
|
2968 * UIProcess/API/qt/qwkpage.h: |
|
2969 * UIProcess/DrawingAreaProxy.h: |
|
2970 * UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp: |
|
2971 * WebProcess/WebProcess.cpp: |
|
2972 |
|
2973 2010-07-07 Zoltan Horvath <zoltan@webkit.org> |
|
2974 |
|
2975 Reviewed by Kenneth Rohde Christiansen. |
|
2976 |
|
2977 [Qt] Terminate QtWebProcess on exit |
|
2978 https://bugs.webkit.org/show_bug.cgi?id=41766 |
|
2979 |
|
2980 Call WKPageTerminate to terminate QtWebProcess on exit. |
|
2981 |
|
2982 * UIProcess/API/qt/qwkpage.cpp: |
|
2983 (QWKPage::~QWKPage): |
|
2984 |
|
2985 2010-07-07 Steve Falkenburg <sfalken@apple.com> |
|
2986 |
|
2987 Windows release build fix. |
|
2988 Don't generate public symbols since this is exceeding address space on our builders. |
|
2989 |
|
2990 * win/WebKit2.vcproj: |
|
2991 |
|
2992 2010-07-07 Sam Weinig <sam@webkit.org> |
|
2993 |
|
2994 Reviewed by Anders Carlsson. |
|
2995 |
|
2996 Patch for https://bugs.webkit.org/show_bug.cgi?id=41772 |
|
2997 Add basic piping for BackForwardControllerClient. |
|
2998 |
|
2999 - Add very basic WebBackForwardControllerClient. |
|
3000 |
|
3001 * WebKit2.xcodeproj/project.pbxproj: |
|
3002 * WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp: Added. |
|
3003 (WebKit::WebBackForwardControllerClient::backForwardControllerDestroyed): |
|
3004 (WebKit::WebBackForwardControllerClient::createBackForwardList): |
|
3005 * WebProcess/WebCoreSupport/WebBackForwardControllerClient.h: Added. |
|
3006 (WebKit::WebBackForwardControllerClient::WebBackForwardControllerClient): |
|
3007 * WebProcess/WebPage/WebPage.cpp: |
|
3008 (WebKit::WebPage::WebPage): |
|
3009 * win/WebKit2.vcproj: |
|
3010 |
|
3011 2010-07-07 Antti Koivisto <koivisto@iki.fi> |
|
3012 |
|
3013 Reviewed by Kenneth Rohde Christiansen. |
|
3014 |
|
3015 [Qt] Initial WebKit2 implementation |
|
3016 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3017 |
|
3018 Add Qt section to the prefix header. |
|
3019 |
|
3020 * WebKit2Prefix.h: |
|
3021 |
|
3022 2010-07-07 Antti Koivisto <koivisto@iki.fi> |
|
3023 |
|
3024 Not reviewed. |
|
3025 |
|
3026 Fix build, remove some left over debugging code. |
|
3027 |
|
3028 * Platform/CoreIPC/qt/ConnectionQt.cpp: |
|
3029 (CoreIPC::Connection::readyReadHandler): |
|
3030 (CoreIPC::Connection::sendOutgoingMessage): |
|
3031 |
|
3032 2010-07-07 Antti Koivisto <koivisto@iki.fi> |
|
3033 |
|
3034 Reviewed by Kenneth Rohde Christiansen. |
|
3035 |
|
3036 [Qt] Initial WebKit2 implementation |
|
3037 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3038 |
|
3039 Implement WebPage for Qt. |
|
3040 |
|
3041 * WebProcess/WebPage/qt/WebPageQt.cpp: Added. |
|
3042 (WebKit::WebPage::platformInitialize): |
|
3043 (WebKit::): |
|
3044 (WebKit::WebPage::interpretKeyEvent): |
|
3045 |
|
3046 |
|
3047 2010-07-06 Anders Carlsson <andersca@apple.com> |
|
3048 |
|
3049 Fix Windows WebKit2 build. |
|
3050 |
|
3051 * UIProcess/Plugins/win/PluginInfoStoreWin.cpp: |
|
3052 (WebKit::PluginInfoStore::mimeTypeFromExtension): |
|
3053 |
|
3054 2010-07-06 Anders Carlsson <andersca@apple.com> |
|
3055 |
|
3056 Reviewed by Sam Weinig. |
|
3057 |
|
3058 Add PluginInfoStore::findPlugin |
|
3059 https://bugs.webkit.org/show_bug.cgi?id=41719 |
|
3060 |
|
3061 * UIProcess/Plugins/PluginInfoStore.cpp: |
|
3062 (WebKit::PluginInfoStore::getPlugins): |
|
3063 (WebKit::PluginInfoStore::findPluginForMIMEType): |
|
3064 (WebKit::PluginInfoStore::findPluginForExtension): |
|
3065 (WebKit::pathExtension): |
|
3066 (WebKit::PluginInfoStore::findPlugin): |
|
3067 * UIProcess/Plugins/PluginInfoStore.h: |
|
3068 * UIProcess/Plugins/mac/PluginInfoStoreMac.mm: |
|
3069 (WebKit::PluginInfoStore::mimeTypeFromExtension): |
|
3070 |
|
3071 2010-07-06 Sam Weinig <sam@webkit.org> |
|
3072 |
|
3073 Reviewed by Anders Carlsson. |
|
3074 |
|
3075 Add injected bundle API for exposing console messages. |
|
3076 |
|
3077 - Split WKBundlePageClient into multiple clients matching WKPage. |
|
3078 (For now we only have a loader client and a UI client) |
|
3079 |
|
3080 * WebKit2.xcodeproj/project.pbxproj: |
|
3081 * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: |
|
3082 (WKBundlePageSetLoaderClient): |
|
3083 (WKBundlePageSetUIClient): |
|
3084 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: |
|
3085 * WebProcess/InjectedBundle/InjectedBundlePageClient.cpp: Removed. |
|
3086 * WebProcess/InjectedBundle/InjectedBundlePageClient.h: Removed. |
|
3087 * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp: Copied from WebProcess/InjectedBundle/InjectedBundlePageClient.cpp. |
|
3088 (WebKit::InjectedBundlePageLoaderClient::InjectedBundlePageLoaderClient): |
|
3089 (WebKit::InjectedBundlePageLoaderClient::initialize): |
|
3090 (WebKit::InjectedBundlePageLoaderClient::didStartProvisionalLoadForFrame): |
|
3091 (WebKit::InjectedBundlePageLoaderClient::didReceiveServerRedirectForProvisionalLoadForFrame): |
|
3092 (WebKit::InjectedBundlePageLoaderClient::didFailProvisionalLoadWithErrorForFrame): |
|
3093 (WebKit::InjectedBundlePageLoaderClient::didCommitLoadForFrame): |
|
3094 (WebKit::InjectedBundlePageLoaderClient::didFinishLoadForFrame): |
|
3095 (WebKit::InjectedBundlePageLoaderClient::didFailLoadWithErrorForFrame): |
|
3096 (WebKit::InjectedBundlePageLoaderClient::didReceiveTitleForFrame): |
|
3097 (WebKit::InjectedBundlePageLoaderClient::didClearWindowObjectForFrame): |
|
3098 * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h: Copied from WebProcess/InjectedBundle/InjectedBundlePageClient.h. |
|
3099 * WebProcess/InjectedBundle/InjectedBundlePageUIClient.cpp: Added. |
|
3100 (WebKit::InjectedBundlePageUIClient::InjectedBundlePageUIClient): |
|
3101 (WebKit::InjectedBundlePageUIClient::initialize): |
|
3102 (WebKit::InjectedBundlePageUIClient::addMessageToConsole): |
|
3103 * WebProcess/InjectedBundle/InjectedBundlePageUIClient.h: Added. |
|
3104 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
3105 (WebKit::WebChromeClient::addMessageToConsole): |
|
3106 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
3107 (WebKit::WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): |
|
3108 (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad): |
|
3109 (WebKit::WebFrameLoaderClient::dispatchDidReceiveTitle): |
|
3110 (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad): |
|
3111 (WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad): |
|
3112 (WebKit::WebFrameLoaderClient::dispatchDidFailLoad): |
|
3113 (WebKit::WebFrameLoaderClient::dispatchDidFinishLoad): |
|
3114 (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): |
|
3115 * WebProcess/WebPage/WebPage.cpp: |
|
3116 (WebKit::WebPage::initializeInjectedBundleLoaderClient): |
|
3117 (WebKit::WebPage::initializeInjectedBundleUIClient): |
|
3118 * WebProcess/WebPage/WebPage.h: |
|
3119 (WebKit::WebPage::injectedBundleLoaderClient): |
|
3120 (WebKit::WebPage::injectedBundleUIClient): |
|
3121 * mac/WebKit2.exp: |
|
3122 * win/WebKit2.vcproj: |
|
3123 |
|
3124 2010-07-06 Sam Weinig <sam@webkit.org> |
|
3125 |
|
3126 Reviewed by Anders Carlsson. |
|
3127 |
|
3128 Patch for https://bugs.webkit.org/show_bug.cgi?id=41707 |
|
3129 Add ability to dump frame inner text for the test runner |
|
3130 |
|
3131 * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: |
|
3132 (WKBundleFrameCopyInnerText): |
|
3133 * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: |
|
3134 * WebProcess/WebPage/WebFrame.cpp: |
|
3135 (WebKit::WebFrame::innerText): |
|
3136 * WebProcess/WebPage/WebFrame.h: |
|
3137 * mac/WebKit2.exp: |
|
3138 |
|
3139 2010-07-06 Anders Carlsson <andersca@apple.com> |
|
3140 |
|
3141 Reviewed by Sam Weinig. |
|
3142 |
|
3143 Only export a single WebKitMain function for the Web Process to call |
|
3144 https://bugs.webkit.org/show_bug.cgi?id=41702 |
|
3145 |
|
3146 * Shared/CommandLine.h: |
|
3147 Add windows CommandLine::parse overload. |
|
3148 |
|
3149 * Shared/win/CommandLineWin.cpp: Added. |
|
3150 (WebKit::CommandLine::parse): |
|
3151 Move parse overload from WebProcess/win/WebProcessMain.cpp. |
|
3152 |
|
3153 * UIProcess/Launcher/win/ProcessLauncherWin.cpp: |
|
3154 (WebKit::ProcessLauncher::launchProcess): |
|
3155 Pass the right mode to. |
|
3156 |
|
3157 * WebKit2.xcodeproj/project.pbxproj: |
|
3158 Update for moves. |
|
3159 |
|
3160 * WebProcess/Launching/mac/WebProcessMain.mm: Removed. |
|
3161 * WebProcess/Launching/win/WebProcessWinMain.cpp: Removed. |
|
3162 * WebProcess/WebKitMain.cpp: Added. |
|
3163 (WebKitMain): |
|
3164 (enableTerminationOnHeapCorruption): |
|
3165 Add WebKitMain functions for Mac and Windows. |
|
3166 |
|
3167 * WebProcess/WebProcessMain.h: Added. |
|
3168 * WebProcess/mac/WebProcessMainMac.mm: Added. |
|
3169 (WebKit::WebProcessMain): |
|
3170 Add Mac version of WebProcessMain. |
|
3171 |
|
3172 * WebProcess/win/WebProcessMain.cpp: Removed. |
|
3173 * WebProcess/win/WebProcessMain.h: Removed. |
|
3174 * WebProcess/win/WebProcessMainWin.cpp: Added. |
|
3175 (WebKit::WebProcessMain): |
|
3176 Add Windows version of WebProcessMain. |
|
3177 |
|
3178 * mac/MainMac.cpp: Added. |
|
3179 (main): |
|
3180 Add Mac WebProcess main function. |
|
3181 |
|
3182 * mac/WebKit2.exp: |
|
3183 Remove functions that we don't need to export. |
|
3184 |
|
3185 * win/MainWin.cpp: Added. |
|
3186 (wWinMain): |
|
3187 Add Windows WebProcess main function. |
|
3188 |
|
3189 * win/WebKit2.vcproj: |
|
3190 * win/WebKit2WebProcess.vcproj: |
|
3191 Update for moves. |
|
3192 |
|
3193 2010-07-05 Luiz Agostini <luiz.agostini@openbossa.org> |
|
3194 |
|
3195 Reviewed by Kenneth Rohde Christiansen. |
|
3196 |
|
3197 [Qt] WebKit2 triple click |
|
3198 https://bugs.webkit.org/show_bug.cgi?id=41629 |
|
3199 |
|
3200 QtWebkit2 triple click implementation. |
|
3201 |
|
3202 * UIProcess/API/qt/qwkpage.cpp: |
|
3203 (QWKPagePrivate::mousePressEvent): |
|
3204 (QWKPagePrivate::mouseDoubleClickEvent): |
|
3205 (QWKPage::timerEvent): |
|
3206 * UIProcess/API/qt/qwkpage.h: |
|
3207 * UIProcess/API/qt/qwkpage_p.h: |
|
3208 |
|
3209 2010-07-05 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
3210 |
|
3211 Reviewed by Antti Koivisto. |
|
3212 |
|
3213 [Qt] Initial WebKit2 implementation |
|
3214 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3215 |
|
3216 Add stubs |
|
3217 |
|
3218 * UIProcess/Plugins/qt/PluginInfoStoreQt.cpp: Copied from WebKit2/UIProcess/Plugins/win/PluginInfoStoreWin.cpp. |
|
3219 (WebKit::PluginInfoStore::pluginDirectories): |
|
3220 (WebKit::PluginInfoStore::pluginPathsInDirectory): |
|
3221 (WebKit::PluginInfoStore::getPluginInfo): |
|
3222 (WebKit::PluginInfoStore::shouldUsePlugin): |
|
3223 * WebProcess/InjectedBundle/InjectedBundle.h: |
|
3224 * WebProcess/InjectedBundle/qt/InjectedBundleQt.cpp: Added. |
|
3225 (WebKit::InjectedBundle::load): |
|
3226 |
|
3227 2010-07-05 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
3228 |
|
3229 Reviewed by Antti Koivisto. |
|
3230 |
|
3231 [Qt] Initial WebKit2 implementation |
|
3232 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3233 |
|
3234 Add WebErrorsQt |
|
3235 |
|
3236 * WebProcess/WebCoreSupport/qt/WebErrorsQt.cpp: Added. |
|
3237 (WebKit::): |
|
3238 (WebKit::cancelledError): |
|
3239 (WebKit::blockedError): |
|
3240 (WebKit::cannotShowURLError): |
|
3241 (WebKit::interruptForPolicyChangeError): |
|
3242 (WebKit::cannotShowMIMETypeError): |
|
3243 (WebKit::fileDoesNotExistError): |
|
3244 |
|
3245 2010-07-05 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
3246 |
|
3247 Reviewed by Antti Koivisto. |
|
3248 |
|
3249 [Qt] Initial WebKit2 implementation |
|
3250 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3251 |
|
3252 Add Qt C API integration. |
|
3253 |
|
3254 * UIProcess/API/cpp/qt/WKStringQt.cpp: Added. |
|
3255 (WKStringCreateWithQString): |
|
3256 (WKStringCopyQString): |
|
3257 * UIProcess/API/cpp/qt/WKStringQt.h: Added. |
|
3258 * UIProcess/API/cpp/qt/WKURLQt.cpp: Added. |
|
3259 (WKURLCreateWithQUrl): |
|
3260 (WKURLCopyQUrl): |
|
3261 * UIProcess/API/cpp/qt/WKURLQt.h: Added. |
|
3262 |
|
3263 2010-07-05 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
3264 |
|
3265 Reviewed by Antti Koivisto. |
|
3266 |
|
3267 [Qt] Initial WebKit2 implementation |
|
3268 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3269 |
|
3270 Add the Qt process launcher. |
|
3271 |
|
3272 * UIProcess/Launcher/qt/ProcessLauncherQt.cpp: Added. |
|
3273 (WebKit::ProcessLauncher::launchProcess): |
|
3274 (WebKit::ProcessLauncher::terminateProcess): |
|
3275 (WebKit::webThreadBody): |
|
3276 (WebKit::ProcessLauncher::createWebThread): |
|
3277 (webProcessMain): |
|
3278 |
|
3279 2010-07-05 Antti Koivisto <koivisto@iki.fi> |
|
3280 |
|
3281 Reviewed by Kenneth Rohde Christiansen. |
|
3282 |
|
3283 [Qt] Initial WebKit2 implementation |
|
3284 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3285 |
|
3286 Implement ChunkedUpdateDrawingArea + Proxy for Qt. Not built yet. |
|
3287 |
|
3288 * UIProcess/ChunkedUpdateDrawingAreaProxy.h: |
|
3289 * UIProcess/qt: Added. |
|
3290 * UIProcess/qt/ChunkedUpdateDrawingAreaProxyQt.cpp: Added. |
|
3291 (WebKit::ChunkedUpdateDrawingAreaProxy::page): |
|
3292 (WebKit::ChunkedUpdateDrawingAreaProxy::ensureBackingStore): |
|
3293 (WebKit::ChunkedUpdateDrawingAreaProxy::invalidateBackingStore): |
|
3294 (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): |
|
3295 (WebKit::ChunkedUpdateDrawingAreaProxy::drawUpdateChunkIntoBackingStore): |
|
3296 * WebProcess/WebPage/qt: Added. |
|
3297 * WebProcess/WebPage/qt/ChunkedUpdateDrawingAreaQt.cpp: Added. |
|
3298 (WebKit::ChunkedUpdateDrawingArea::paintIntoUpdateChunk): |
|
3299 |
|
3300 2010-07-04 Anders Carlsson <andersca@apple.com> |
|
3301 |
|
3302 Reviewed by Dan Bernstein. |
|
3303 |
|
3304 Add simple command line parser and pass mode argument to the web process |
|
3305 https://bugs.webkit.org/show_bug.cgi?id=41586 |
|
3306 |
|
3307 * Shared/CommandLine.h: |
|
3308 (WebKit::CommandLine::operator[]): |
|
3309 Add CommandLine class. |
|
3310 |
|
3311 * Shared/mac/CommandLineMac.cpp: |
|
3312 (WebKit::CommandLine::parse): |
|
3313 Implement Mac version of CommandLine::parse. |
|
3314 |
|
3315 * UIProcess/Launcher/mac/ProcessLauncherMac.mm: |
|
3316 (WebKit::ProcessLauncher::launchProcess): |
|
3317 Add "legacywebprocess" mode to the posix_spawn call. |
|
3318 |
|
3319 * WebKit2.xcodeproj/project.pbxproj: |
|
3320 Add CommandLine to the xcode project. |
|
3321 |
|
3322 * WebProcess/Launching/mac/WebProcessMain.mm: |
|
3323 (webProcessMain): |
|
3324 (main): |
|
3325 Parse the command line and check the mode. |
|
3326 |
|
3327 2010-07-04 Maciej Stachowiak <mjs@apple.com> |
|
3328 |
|
3329 Reviewed by Mark Rowe. |
|
3330 |
|
3331 WebProcess crashes in release for simple layout tests |
|
3332 https://bugs.webkit.org/show_bug.cgi?id=41575 |
|
3333 |
|
3334 * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: |
|
3335 (WKBundlePageCopyRenderTreeExternalRepresentation): ref external representation StringImpl* |
|
3336 before taking it out of its parent String, to avoid returning freed memory. |
|
3337 |
|
3338 2010-07-03 Maciej Stachowiak <mjs@apple.com> |
|
3339 |
|
3340 Rubber stamped by Anders Carlsson. |
|
3341 |
|
3342 Add stdint.h include to fix WebKitTestRunner build. |
|
3343 |
|
3344 * UIProcess/API/C/WKPage.h: |
|
3345 |
|
3346 2010-07-02 Luiz Agostini <luiz.agostini@openbossa.org> |
|
3347 |
|
3348 Reviewed by Kenneth Rohde Christiansen. |
|
3349 |
|
3350 [Qt] Wrong method name in file Connection.h |
|
3351 https://bugs.webkit.org/show_bug.cgi?id=41536 |
|
3352 |
|
3353 Method openConnectionHandler was spelled as openConnection in class Connection. |
|
3354 |
|
3355 * Platform/CoreIPC/Connection.h: |
|
3356 |
|
3357 2010-07-02 Luiz Agostini <luiz.agostini@openbossa.org> |
|
3358 |
|
3359 Reviewed by Sam Weinig. |
|
3360 |
|
3361 Adding notification and touch events methods to WebChromeClient |
|
3362 https://bugs.webkit.org/show_bug.cgi?id=41527 |
|
3363 |
|
3364 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
3365 (WebKit::WebChromeClient::notificationPresenter): |
|
3366 (WebKit::WebChromeClient::needTouchEvents): |
|
3367 * WebProcess/WebCoreSupport/WebChromeClient.h: |
|
3368 |
|
3369 2010-07-02 Luiz Agostini <luiz.agostini@openbossa.org> |
|
3370 |
|
3371 Reviewed by Sam Weinig. |
|
3372 |
|
3373 Removing CoreFoundation.h include from WKFrame.h |
|
3374 https://bugs.webkit.org/show_bug.cgi?id=41528 |
|
3375 |
|
3376 * UIProcess/API/C/WKFrame.h: |
|
3377 |
|
3378 2010-07-02 Sam Weinig <sam@webkit.org> |
|
3379 |
|
3380 Reviewed by Oliver Hunt. |
|
3381 |
|
3382 Patch for https://bugs.webkit.org/show_bug.cgi?id=41540 |
|
3383 WebKit2: Add InjectedCode API to get a list of subframes |
|
3384 |
|
3385 * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: |
|
3386 (WKBundleFrameCopyChildFrames): |
|
3387 * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: |
|
3388 * WebProcess/WebPage/WebFrame.cpp: |
|
3389 (WebKit::childFrameRef): |
|
3390 (WebKit::childFrameDeref): |
|
3391 (WebKit::WebFrame::childFrames): |
|
3392 * WebProcess/WebPage/WebFrame.h: |
|
3393 * mac/WebKit2.exp: |
|
3394 |
|
3395 2010-07-02 Sam Weinig <sam@webkit.org> |
|
3396 |
|
3397 Reviewed by Anders Carlsson. |
|
3398 |
|
3399 Turn off the Objective-C garbage collection for the WebProcess. |
|
3400 |
|
3401 * Configurations/WebProcess.xcconfig: |
|
3402 * WebProcess/Launching/mac/WebProcessMain.mm: |
|
3403 (main): Assert that GC is off. |
|
3404 |
|
3405 2010-07-02 Sam Weinig <sam@webkit.org> |
|
3406 |
|
3407 Reviewed by Anders Carlsson. |
|
3408 |
|
3409 There is no longer a reason to check that the process is valid when posting |
|
3410 a message to the bundle, the process code will take care of that for us. |
|
3411 |
|
3412 * UIProcess/WebContext.cpp: |
|
3413 (WebKit::WebContext::postMessageToInjectedBundle): |
|
3414 |
|
3415 2010-07-02 Sam Weinig <sam@webkit.org> |
|
3416 |
|
3417 Reviewed by Anders Carlsson. |
|
3418 |
|
3419 Use send instead of connection()->send(), now that connections() are created |
|
3420 asynchronously it can be null at this point and the message needs to be queued. |
|
3421 |
|
3422 * UIProcess/mac/WebProcessProxyMac.mm: |
|
3423 (WebKit::WebProcessProxy::setUpAcceleratedCompositing): |
|
3424 |
|
3425 2010-07-01 Steve Falkenburg <sfalken@apple.com> |
|
3426 |
|
3427 Even more Windows build fixing. |
|
3428 Removed bogus post-build event commands. |
|
3429 Removed unnecessary link libraries. |
|
3430 |
|
3431 * win/WebKit2.vcproj: |
|
3432 |
|
3433 2010-07-01 Steve Falkenburg <sfalken@apple.com> |
|
3434 |
|
3435 Fix Windows while not breaking Qt (didn't realize this was building for Qt). |
|
3436 |
|
3437 * WebProcess/WebProcess.cpp: |
|
3438 |
|
3439 2010-07-01 Steve Falkenburg <sfalken@apple.com> |
|
3440 |
|
3441 Windows build fix. |
|
3442 |
|
3443 * win/WebKit2Generated.make: |
|
3444 |
|
3445 2010-07-01 Steve Falkenburg <sfalken@apple.com> |
|
3446 |
|
3447 Windows build fix. |
|
3448 |
|
3449 * WebProcess/WebProcess.cpp: |
|
3450 |
|
3451 2010-07-01 Sam Weinig <sam@webkit.org> |
|
3452 |
|
3453 Reviewed by Jon Honeycutt. |
|
3454 |
|
3455 Make WebKit2 compile (though not work) on Leopard. |
|
3456 |
|
3457 * Platform/WorkQueue.h: |
|
3458 * Platform/mac/WorkQueueMac.cpp: |
|
3459 (WorkQueue::EventSource::EventSource): |
|
3460 (WorkQueue::scheduleWork): |
|
3461 (WorkQueue::registerMachPortEventHandler): |
|
3462 (WorkQueue::unregisterMachPortEventHandler): |
|
3463 (WorkQueue::platformInitialize): |
|
3464 (WorkQueue::platformInvalidate): |
|
3465 * UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm: |
|
3466 (WebKit::LayerBackedDrawingAreaProxy::attachCompositingContext): |
|
3467 * UIProcess/mac/WebProcessProxyMac.mm: |
|
3468 (WebKit::WebProcessProxy::setUpAcceleratedCompositing): |
|
3469 * WebProcess/WebPage/LayerBackedDrawingArea.cpp: |
|
3470 (WebKit::LayerBackedDrawingArea::LayerBackedDrawingArea): |
|
3471 (WebKit::LayerBackedDrawingArea::setNeedsDisplay): |
|
3472 * WebProcess/WebPage/LayerBackedDrawingArea.h: |
|
3473 * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: |
|
3474 (WebKit::LayerBackedDrawingArea::platformClear): |
|
3475 (WebKit::LayerBackedDrawingArea::attachCompositingContext): |
|
3476 |
|
3477 2010-07-01 Sam Weinig <sam@webkit.org> |
|
3478 |
|
3479 Reviewed by Anders Carlsson. |
|
3480 |
|
3481 https://bugs.webkit.org/show_bug.cgi?id=41491 |
|
3482 Add first stab at back/forward list API. |
|
3483 |
|
3484 * UIProcess/API/C/WKAPICast.h: |
|
3485 * UIProcess/API/C/WKBackForwardList.cpp: Added. |
|
3486 * UIProcess/API/C/WKBackForwardList.h: Added. |
|
3487 * UIProcess/API/C/WKBackForwardListItem.cpp: Added. |
|
3488 * UIProcess/API/C/WKBackForwardListItem.h: Added. |
|
3489 * UIProcess/API/C/WKBase.h: |
|
3490 * UIProcess/API/C/WKPage.cpp: |
|
3491 * UIProcess/API/C/WKPage.h: |
|
3492 * UIProcess/API/C/WebKit2.h: |
|
3493 * UIProcess/WebBackForwardListItem.cpp: Added. |
|
3494 * UIProcess/WebBackForwardListItem.h: Added. |
|
3495 * UIProcess/WebBackForwardListProxy.cpp: Added. |
|
3496 * UIProcess/WebBackForwardListProxy.h: Added. |
|
3497 * UIProcess/WebPageProxy.cpp: |
|
3498 * UIProcess/WebPageProxy.h: |
|
3499 * WebKit2.xcodeproj/project.pbxproj: |
|
3500 * win/WebKit2.vcproj: |
|
3501 |
|
3502 2010-07-01 Anders Carlsson <andersca@apple.com> |
|
3503 |
|
3504 Reviewed by Sam Weinig. |
|
3505 |
|
3506 Make process launching asynchronous |
|
3507 https://bugs.webkit.org/show_bug.cgi?id=41489 |
|
3508 |
|
3509 * Platform/CoreIPC/Connection.h: |
|
3510 Make OutgoingMessage public. |
|
3511 |
|
3512 * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: |
|
3513 (WebKit::ChunkedUpdateDrawingAreaProxy::paint): |
|
3514 Don't wait for a paint reply when the process is starting up. |
|
3515 |
|
3516 * UIProcess/Launcher/ProcessLauncher.cpp: Added. |
|
3517 Add new ProcessLauncher class. |
|
3518 |
|
3519 (WebKit::processLauncherWorkQueue): |
|
3520 Returns the work queue where process launching will happen. |
|
3521 |
|
3522 (WebKit::ProcessLauncher::ProcessLauncher): |
|
3523 Schedule launching the process. |
|
3524 |
|
3525 (WebKit::ProcessLauncher::didFinishLaunchingProcess): |
|
3526 Call the client method. |
|
3527 |
|
3528 (WebKit::ProcessLauncher::invalidate): |
|
3529 Set the client to 0. |
|
3530 |
|
3531 * UIProcess/Launcher/ProcessLauncher.h: Added. |
|
3532 * UIProcess/Launcher/WebProcessLauncher.h: Removed. |
|
3533 Rename WebProcessLauncher.h -> ProcessLauncher.h |
|
3534 |
|
3535 * UIProcess/Launcher/mac/ProcessLauncherMac.mm: Added. |
|
3536 * UIProcess/Launcher/mac/WebProcessLauncher.mm: Removed. |
|
3537 Rename WebProcessLauncher.mm -> ProcessLauncherMac.mm, update for ProcessLauncher changes. |
|
3538 |
|
3539 * UIProcess/Launcher/win/ProcessLauncherWin.cpp: Added. |
|
3540 * UIProcess/Launcher/win/WebProcessLauncher.cpp: Removed. |
|
3541 Rename WebProcessLauncher.cpp -> ProcessLauncherWin.cpp, update for ProcessLauncher changes. |
|
3542 |
|
3543 * UIProcess/WebProcessProxy.cpp: |
|
3544 (WebKit::WebProcessProxy::~WebProcessProxy): |
|
3545 Delete any unsent messages. |
|
3546 |
|
3547 (WebKit::WebProcessProxy::connect): |
|
3548 Use the new ProcessLauncher. |
|
3549 |
|
3550 (WebKit::WebProcessProxy::sendMessage): |
|
3551 If we're waiting for the process to launch, the messages need to be enqueued. |
|
3552 |
|
3553 (WebKit::WebProcessProxy::didFinishLaunching): |
|
3554 Send the outgoing messages. |
|
3555 |
|
3556 * WebKit2.xcodeproj/project.pbxproj: |
|
3557 * win/WebKit2.vcproj: |
|
3558 Update for renames. |
|
3559 |
|
3560 2010-07-01 Simon Fraser <simon.fraser@apple.com> |
|
3561 |
|
3562 Reviewed by Anders Carlsson. |
|
3563 |
|
3564 Get accelerated compositing working with webkit2 |
|
3565 https://bugs.webkit.org/show_bug.cgi?id=41084 |
|
3566 |
|
3567 Start up the CA render server in the UI process (currently, at launch time), and |
|
3568 pass the server port over to the web process for use by the layer-backed drawing area. |
|
3569 |
|
3570 Fix some style issues pointed out by Dan Bernstein. |
|
3571 |
|
3572 Implement the WebChromeClient methods that pass the attach/detach calls through |
|
3573 to the drawing area. |
|
3574 |
|
3575 * Shared/CoreIPCSupport/WebProcessMessageKinds.h: |
|
3576 * UIProcess/API/mac/WKView.mm: |
|
3577 (-[WKView _startAcceleratedCompositing:]): |
|
3578 * UIProcess/API/mac/WKViewInternal.h: |
|
3579 * UIProcess/WebProcessProxy.cpp: |
|
3580 (WebKit::WebProcessProxy::WebProcessProxy): |
|
3581 (WebKit::WebProcessProxy::setUpAcceleratedCompositing): |
|
3582 * UIProcess/WebProcessProxy.h: |
|
3583 * UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm: |
|
3584 * UIProcess/mac/WebProcessProxyMac.mm: Added. |
|
3585 (WebKit::WebProcessProxy::setUpAcceleratedCompositing): |
|
3586 * WebKit2.xcodeproj/project.pbxproj: |
|
3587 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
3588 (WebKit::WebChromeClient::attachRootGraphicsLayer): |
|
3589 (WebKit::WebChromeClient::scheduleCompositingLayerSync): |
|
3590 * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: |
|
3591 (WebKit::LayerBackedDrawingArea::attachCompositingContext): |
|
3592 * WebProcess/WebProcess.cpp: |
|
3593 (WebKit::WebProcess::WebProcess): |
|
3594 (WebKit::WebProcess::didReceiveMessage): |
|
3595 * WebProcess/WebProcess.h: |
|
3596 (WebKit::WebProcess::compositingRenderServerPort): |
|
3597 |
|
3598 2010-07-01 Simon Fraser <simon.fraser@apple.com> |
|
3599 |
|
3600 Reviewed by Anders Carlsson. |
|
3601 |
|
3602 Get accelerated compositing working with webkit2 |
|
3603 https://bugs.webkit.org/show_bug.cgi?id=41084 |
|
3604 |
|
3605 Add a new kind of DrawingArea, which is a LayerBackedDrawingArea, which will be used |
|
3606 when the page goes into accelerated compositing mode. It is not wired up yet. |
|
3607 |
|
3608 * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h: New 'attach' and 'detach' messages |
|
3609 related to accelerated compositing. |
|
3610 |
|
3611 * UIProcess/API/mac/WKView.mm: |
|
3612 (-[WKView _startAcceleratedCompositing:]): |
|
3613 (-[WKView _stopAcceleratedCompositing]): |
|
3614 * UIProcess/API/mac/WKViewInternal.h: |
|
3615 Add a subview of the WKView which has layer-backing enabled, and put the drawing area's |
|
3616 layer inside of that. |
|
3617 |
|
3618 * UIProcess/ChunkedUpdateDrawingAreaProxy.h: |
|
3619 (WebKit::ChunkedUpdateDrawingAreaProxy::attachCompositingContext): |
|
3620 (WebKit::ChunkedUpdateDrawingAreaProxy::detachCompositingContext): These methods will never be called |
|
3621 on the ChunkedUpdateDrawingArea. Stub them out. |
|
3622 |
|
3623 * UIProcess/DrawingAreaProxy.h: |
|
3624 Add attachCompositingContext() and detachCompositingContext() methods, and a new drawing area |
|
3625 type to the enum. |
|
3626 |
|
3627 * UIProcess/LayerBackedDrawingAreaProxy.cpp: Added. |
|
3628 * UIProcess/LayerBackedDrawingAreaProxy.h: Added. |
|
3629 * UIProcess/mac/LayerBackedDrawingAreaProxyMac.mm: Added. |
|
3630 |
|
3631 * WebKit2.xcodeproj/project.pbxproj: Add LayerBackedDrawingArea files. |
|
3632 |
|
3633 * WebProcess/WebPage/ChunkedUpdateDrawingArea.h: Add virtual methods stubs. |
|
3634 |
|
3635 * WebProcess/WebPage/DrawingArea.cpp: |
|
3636 (WebKit::DrawingArea::create): Create a LayerBackedDrawingArea if asked. |
|
3637 * WebProcess/WebPage/DrawingArea.h: New LayerBackedDrawingAreaType type, and new virtual |
|
3638 methods related to accelerated compositing. |
|
3639 |
|
3640 * WebProcess/WebPage/LayerBackedDrawingArea.cpp: Added. |
|
3641 * WebProcess/WebPage/LayerBackedDrawingArea.h: Added. |
|
3642 * WebProcess/WebPage/mac/LayerBackedDrawingAreaMac.mm: Added. |
|
3643 |
|
3644 2010-07-01 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
3645 |
|
3646 Rubberstamped by Sam Weinig. |
|
3647 |
|
3648 Export symbols on Linux with GCC, like JSC does. |
|
3649 |
|
3650 * UIProcess/API/C/WKBase.h: |
|
3651 * WebProcess/InjectedBundle/API/c/WKBundleBase.h: |
|
3652 |
|
3653 2010-07-01 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
3654 |
|
3655 Reviewed by Antti Koivisto. |
|
3656 |
|
3657 [Qt] Initial WebKit2 implementation |
|
3658 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3659 |
|
3660 Add implementation of the UI and loader client for Qt. |
|
3661 |
|
3662 * UIProcess/API/qt/qwkpage.cpp: |
|
3663 * UIProcess/API/qt/ClientImpl.cpp: Added. |
|
3664 (toQWKPage): |
|
3665 (qt_wk_didStartProvisionalLoadForFrame): |
|
3666 (qt_wk_didReceiveServerRedirectForProvisionalLoadForFrame): |
|
3667 (qt_wk_didFailProvisionalLoadWithErrorForFrame): |
|
3668 (qt_wk_didCommitLoadForFrame): |
|
3669 (qt_wk_didFinishLoadForFrame): |
|
3670 (qt_wk_didFailLoadWithErrorForFrame): |
|
3671 (qt_wk_didReceiveTitleForFrame): |
|
3672 (qt_wk_didFirstLayoutForFrame): |
|
3673 (qt_wk_didFirstVisuallyNonEmptyLayoutForFrame): |
|
3674 (qt_wk_didStartProgress): |
|
3675 (qt_wk_didChangeProgress): |
|
3676 (qt_wk_didFinishProgress): |
|
3677 (qt_wk_didBecomeUnresponsive): |
|
3678 (qt_wk_didBecomeResponsive): |
|
3679 (qt_wk_createNewPage): |
|
3680 (qt_wk_showPage): |
|
3681 (qt_wk_close): |
|
3682 (qt_wk_runJavaScriptAlert): |
|
3683 * UIProcess/API/qt/ClientImpl.h: Added. |
|
3684 |
|
3685 2010-07-01 Anders Carlsson <andersca@apple.com> |
|
3686 |
|
3687 Reviewed by Dan Bernstein. |
|
3688 |
|
3689 Change the CoreIPC connection identifier to be a HANDLE on Windows |
|
3690 https://bugs.webkit.org/show_bug.cgi?id=41479 |
|
3691 |
|
3692 * Platform/CoreIPC/Connection.h: |
|
3693 * Platform/CoreIPC/win/ConnectionWin.cpp: |
|
3694 (CoreIPC::Connection::createServerAndClientIdentifiers): |
|
3695 New function that creates a server and client HANDLE. |
|
3696 |
|
3697 (CoreIPC::Connection::platformInitialize): |
|
3698 Don't open the connections here. |
|
3699 |
|
3700 (CoreIPC::Connection::readEventHandler): |
|
3701 (CoreIPC::Connection::open): |
|
3702 |
|
3703 * UIProcess/Launcher/win/WebProcessLauncher.cpp: |
|
3704 (WebKit::webThreadBody): |
|
3705 Get the handle from the thread. |
|
3706 |
|
3707 (WebKit::launchWebProcess): |
|
3708 Mark the client identifier as inheritable and pass it along to the web process. |
|
3709 |
|
3710 * WebProcess/win/WebProcessMain.cpp: |
|
3711 (WebKit::CommandLine::CommandLine): |
|
3712 (WebKit::CommandLine::parse): |
|
3713 (WebKit::CommandLine::operator[]): |
|
3714 Add simple command line parser. |
|
3715 |
|
3716 (WebKit::WebProcessMain): |
|
3717 Get the handle identifier from the command line. |
|
3718 |
|
3719 * WebProcess/win/WebProcessMain.h: |
|
3720 |
|
3721 2010-07-01 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
3722 |
|
3723 Reviewed by Antti Koivisto. |
|
3724 |
|
3725 [Qt] Initial WebKit2 implementation |
|
3726 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3727 |
|
3728 Add initial Qt API for WebKit2 |
|
3729 |
|
3730 * UIProcess/API/qt/WKView.h: Added. |
|
3731 * UIProcess/API/qt/qgraphicswkview.cpp: Added. |
|
3732 (QGraphicsWKViewPrivate::pageRef): |
|
3733 (QGraphicsWKView::QGraphicsWKView): |
|
3734 (QGraphicsWKView::~QGraphicsWKView): |
|
3735 (QGraphicsWKView::page): |
|
3736 (QGraphicsWKView::paint): |
|
3737 (QGraphicsWKView::setGeometry): |
|
3738 (QGraphicsWKView::load): |
|
3739 (QGraphicsWKView::setUrl): |
|
3740 (QGraphicsWKView::url): |
|
3741 (QGraphicsWKView::title): |
|
3742 (QGraphicsWKView::triggerPageAction): |
|
3743 (QGraphicsWKView::back): |
|
3744 (QGraphicsWKView::forward): |
|
3745 (QGraphicsWKView::reload): |
|
3746 (QGraphicsWKView::stop): |
|
3747 (QGraphicsWKView::itemChange): |
|
3748 (QGraphicsWKView::event): |
|
3749 (QGraphicsWKView::sizeHint): |
|
3750 (QGraphicsWKView::inputMethodQuery): |
|
3751 (QGraphicsWKView::keyPressEvent): |
|
3752 (QGraphicsWKView::keyReleaseEvent): |
|
3753 (QGraphicsWKView::hoverMoveEvent): |
|
3754 (QGraphicsWKView::mouseMoveEvent): |
|
3755 (QGraphicsWKView::mousePressEvent): |
|
3756 (QGraphicsWKView::mouseReleaseEvent): |
|
3757 (QGraphicsWKView::mouseDoubleClickEvent): |
|
3758 (QGraphicsWKView::wheelEvent): |
|
3759 (QGraphicsWKViewPrivate::QGraphicsWKViewPrivate): |
|
3760 (QGraphicsWKView::visibleRect): |
|
3761 * UIProcess/API/qt/qgraphicswkview.h: Added. |
|
3762 * UIProcess/API/qt/qwkpage.cpp: Added. |
|
3763 (QWKPagePrivate::QWKPagePrivate): |
|
3764 (QWKPagePrivate::~QWKPagePrivate): |
|
3765 (QWKPagePrivate::init): |
|
3766 (QWKPagePrivate::toolTipChanged): |
|
3767 (QWKPagePrivate::paint): |
|
3768 (QWKPagePrivate::keyPressEvent): |
|
3769 (QWKPagePrivate::keyReleaseEvent): |
|
3770 (QWKPagePrivate::mouseMoveEvent): |
|
3771 (QWKPagePrivate::mousePressEvent): |
|
3772 (QWKPagePrivate::mouseReleaseEvent): |
|
3773 (QWKPagePrivate::mouseDoubleClickEvent): |
|
3774 (QWKPagePrivate::wheelEvent): |
|
3775 (QWKPagePrivate::updateAction): |
|
3776 (QWKPagePrivate::updateNavigationActions): |
|
3777 (QWKPagePrivate::_q_webActionTriggered): |
|
3778 (QWKPage::QWKPage): |
|
3779 (QWKPage::~QWKPage): |
|
3780 (QWKPage::pageRef): |
|
3781 (QWKPage::setCreateNewPageFunction): |
|
3782 (QWKPage::load): |
|
3783 (QWKPage::setUrl): |
|
3784 (QWKPage::url): |
|
3785 (QWKPage::title): |
|
3786 (QWKPage::setViewportSize): |
|
3787 (QWKPage::requestZoomRect): |
|
3788 (QWKPage::triggerAction): |
|
3789 (QWKPage::action): |
|
3790 * UIProcess/API/qt/qwkpage.h: Added. |
|
3791 * UIProcess/API/qt/qwkpage_p.h: Added. |
|
3792 (QWKPagePrivate::get): |
|
3793 (QWKPagePrivate::processDidExit): |
|
3794 (QWKPagePrivate::processDidRevive): |
|
3795 (QWKPagePrivate::takeFocus): |
|
3796 |
|
3797 2010-07-01 John Sullivan <sullivan@apple.com> |
|
3798 |
|
3799 Rubber-stamped by Anders Carlsson. |
|
3800 |
|
3801 * mac/WebKit2.exp: |
|
3802 Added _WKFramePolicyListenerDownload and _WKFramePolicyListenerIgnore. |
|
3803 |
|
3804 2010-07-01 Sheriff Bot <webkit.review.bot@gmail.com> |
|
3805 |
|
3806 Unreviewed, rolling out r62267. |
|
3807 http://trac.webkit.org/changeset/62267 |
|
3808 https://bugs.webkit.org/show_bug.cgi?id=41468 |
|
3809 |
|
3810 broke stuff (Requested by weinig on #webkit). |
|
3811 |
|
3812 * UIProcess/API/C/WKBase.h: |
|
3813 * WebProcess/InjectedBundle/API/c/WKBundleBase.h: |
|
3814 |
|
3815 2010-07-01 John Sullivan <sullivan@apple.com> |
|
3816 |
|
3817 Rubber-stamped by Sam Weinig. |
|
3818 |
|
3819 * mac/WebKit2.exp: |
|
3820 Added _WKFramePolicyListenerRelease and _WKFramePolicyListenerRetain. |
|
3821 |
|
3822 2010-07-01 Kenneth Rohde Christiansen <kenneth.christiansen@openbossa.org> |
|
3823 |
|
3824 Reviewed by Antti Koivisto. |
|
3825 |
|
3826 [Qt] Initial WebKit2 implementation |
|
3827 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3828 |
|
3829 Add our event factory for converting Qt events to something WebKit2 |
|
3830 understands. |
|
3831 |
|
3832 * Shared/qt/WebEventFactoryQt.cpp: Added. |
|
3833 (WebKit::mouseButtonForEvent): |
|
3834 (WebKit::webEventTypeForEvent): |
|
3835 (WebKit::modifiersForEvent): |
|
3836 (WebKit::WebEventFactory::createWebMouseEvent): |
|
3837 (WebKit::WebEventFactory::createWebWheelEvent): |
|
3838 (WebKit::WebEventFactory::createWebKeyboardEvent): |
|
3839 * Shared/qt/WebEventFactoryQt.h: Added. |
|
3840 |
|
3841 2010-07-01 Antti Koivisto <koivisto@iki.fi> |
|
3842 |
|
3843 Reviewed by Kenneth Rohde Christiansen. |
|
3844 |
|
3845 [Qt] Initial WebKit2 implementation |
|
3846 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3847 |
|
3848 Add UpdateChunk. This one is mmap based, using Qt abstractions. |
|
3849 |
|
3850 * Shared/qt: Added. |
|
3851 * Shared/qt/UpdateChunk.cpp: Added. |
|
3852 (WebKit::MappedMemory::markUsed): |
|
3853 (WebKit::MappedMemory::markFree): |
|
3854 (WebKit::MappedMemory::isFree): |
|
3855 (WebKit::mapMemory): |
|
3856 (WebKit::mapFile): |
|
3857 (WebKit::UpdateChunk::UpdateChunk): |
|
3858 (WebKit::UpdateChunk::~UpdateChunk): |
|
3859 (WebKit::UpdateChunk::data): |
|
3860 (WebKit::UpdateChunk::encode): |
|
3861 (WebKit::UpdateChunk::decode): |
|
3862 (WebKit::UpdateChunk::createImage): |
|
3863 * Shared/qt/UpdateChunk.h: Added. |
|
3864 (WebKit::UpdateChunk::rect): |
|
3865 (WebKit::UpdateChunk::size): |
|
3866 |
|
3867 2010-07-01 Antti Koivisto <koivisto@iki.fi> |
|
3868 |
|
3869 Reviewed by Kenneth Rohde Christiansen. |
|
3870 |
|
3871 [Qt] Initial WebKit2 implementation |
|
3872 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3873 |
|
3874 Include some stdlib headers to fix linux build. |
|
3875 |
|
3876 * Platform/CoreIPC/ArgumentDecoder.cpp: |
|
3877 * Platform/CoreIPC/ArgumentEncoder.cpp: |
|
3878 * UIProcess/WebLoaderClient.cpp: |
|
3879 * UIProcess/WebPageProxy.cpp: |
|
3880 * UIProcess/WebUIClient.cpp: |
|
3881 |
|
3882 2010-07-01 Antti Koivisto <koivisto@iki.fi> |
|
3883 |
|
3884 Reviewed by Kenneth Rohde Christiansen. |
|
3885 |
|
3886 [Qt] Initial WebKit2 implementation |
|
3887 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3888 |
|
3889 Implement CoreIPC::Connection and PlatformProcessIdentifier for Qt. Not built yet. |
|
3890 |
|
3891 * Platform/CoreIPC/Connection.h: |
|
3892 * Platform/CoreIPC/qt: Added. |
|
3893 * Platform/CoreIPC/qt/ConnectionQt.cpp: Added. |
|
3894 (CoreIPC::Connection::platformInitialize): |
|
3895 (CoreIPC::Connection::platformInvalidate): |
|
3896 (CoreIPC::Connection::newConnectionHandler): |
|
3897 (CoreIPC::Connection::readyReadHandler): |
|
3898 (CoreIPC::Connection::openConnection): |
|
3899 (CoreIPC::Connection::open): |
|
3900 (CoreIPC::Connection::sendOutgoingMessage): |
|
3901 * Platform/PlatformProcessIdentifier.h: |
|
3902 |
|
3903 2010-07-01 Antti Koivisto <koivisto@iki.fi> |
|
3904 |
|
3905 Reviewed by Kenneth Rohde Christiansen. |
|
3906 |
|
3907 [Qt] Initial WebKit2 implementation |
|
3908 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3909 |
|
3910 Implement WorkQueue for Qt. Not built yet. |
|
3911 |
|
3912 * Platform/WorkQueue.h: |
|
3913 * Platform/qt/WorkQueueQt.cpp: Added. |
|
3914 (WorkQueue::WorkItemQt::WorkItemQt): |
|
3915 (WorkQueue::WorkItemQt::~WorkItemQt): |
|
3916 (WorkQueue::WorkItemQt::execute): |
|
3917 (WorkQueue::WorkItemQt::timerEvent): |
|
3918 (WorkQueue::connectSignal): |
|
3919 (WorkQueue::disconnectSignal): |
|
3920 (WorkQueue::platformInitialize): |
|
3921 (WorkQueue::platformInvalidate): |
|
3922 (WorkQueue::scheduleWork): |
|
3923 |
|
3924 2010-07-01 Antti Koivisto <koivisto@iki.fi> |
|
3925 |
|
3926 Reviewed by Kenneth Rohde Christiansen. |
|
3927 |
|
3928 [Qt] Initial WebKit2 implementation |
|
3929 https://bugs.webkit.org/show_bug.cgi?id=40233 |
|
3930 |
|
3931 Implement RunLoop for Qt. Not built yet. |
|
3932 |
|
3933 * Platform/RunLoop.h: |
|
3934 * Platform/qt: Added. |
|
3935 * Platform/qt/RunLoopQt.cpp: Added. |
|
3936 (RunLoop::TimerObject::TimerObject): |
|
3937 (RunLoop::TimerObject::performWork): |
|
3938 (RunLoop::TimerObject::wakeUp): |
|
3939 (RunLoop::TimerObject::timerEvent): |
|
3940 (RunLoop::run): |
|
3941 (RunLoop::stop): |
|
3942 (RunLoop::RunLoop): |
|
3943 (RunLoop::~RunLoop): |
|
3944 (RunLoop::wakeUp): |
|
3945 (RunLoop::TimerBase::timerFired): |
|
3946 (RunLoop::TimerBase::TimerBase): |
|
3947 (RunLoop::TimerBase::~TimerBase): |
|
3948 (RunLoop::TimerBase::start): |
|
3949 (RunLoop::TimerBase::stop): |
|
3950 (RunLoop::TimerBase::isActive): |
|
3951 |
|
3952 2010-06-30 Sam Weinig <sam@webkit.org> |
|
3953 |
|
3954 Reviewed by Darin Adler. |
|
3955 |
|
3956 Patch for https://bugs.webkit.org/show_bug.cgi?id=41426 |
|
3957 Add ImmutableArray class and WKArrayRef API to go with it. This will be used |
|
3958 in a few follow up patches. |
|
3959 |
|
3960 * Shared/ImmutableArray.cpp: Added. |
|
3961 (WebKit::ImmutableArray::ImmutableArray): |
|
3962 (WebKit::ImmutableArray::~ImmutableArray): |
|
3963 * Shared/ImmutableArray.h: Added. |
|
3964 * UIProcess/API/C/WKAPICast.h: |
|
3965 * UIProcess/API/C/WKArray.cpp: Added. |
|
3966 * UIProcess/API/C/WKArray.h: Added. |
|
3967 * UIProcess/API/C/WKBase.h: |
|
3968 * WebKit2.xcodeproj/project.pbxproj: |
|
3969 * mac/WebKit2.exp: |
|
3970 * win/WebKit2.vcproj: |
|
3971 |
|
3972 2010-06-30 Anders Carlsson <andersca@apple.com> |
|
3973 |
|
3974 Reviewed by Adam Roben. |
|
3975 |
|
3976 Add WebProcessProxy::send |
|
3977 https://bugs.webkit.org/show_bug.cgi?id=41416 |
|
3978 |
|
3979 * Platform/CoreIPC/Connection.h: |
|
3980 * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: |
|
3981 (WebKit::ChunkedUpdateDrawingAreaProxy::setSize): |
|
3982 (WebKit::ChunkedUpdateDrawingAreaProxy::setPageIsVisible): |
|
3983 (WebKit::ChunkedUpdateDrawingAreaProxy::update): |
|
3984 * UIProcess/WebContext.cpp: |
|
3985 (WebKit::WebContext::postMessageToInjectedBundle): |
|
3986 * UIProcess/WebPageProxy.cpp: |
|
3987 (WebKit::WebPageProxy::initializeWebPage): |
|
3988 (WebKit::WebPageProxy::reinitializeWebPage): |
|
3989 (WebKit::WebPageProxy::close): |
|
3990 (WebKit::WebPageProxy::tryClose): |
|
3991 (WebKit::WebPageProxy::loadURL): |
|
3992 (WebKit::WebPageProxy::stopLoading): |
|
3993 (WebKit::WebPageProxy::reload): |
|
3994 (WebKit::WebPageProxy::goForward): |
|
3995 (WebKit::WebPageProxy::goBack): |
|
3996 (WebKit::WebPageProxy::setFocused): |
|
3997 (WebKit::WebPageProxy::setActive): |
|
3998 (WebKit::WebPageProxy::mouseEvent): |
|
3999 (WebKit::WebPageProxy::wheelEvent): |
|
4000 (WebKit::WebPageProxy::keyEvent): |
|
4001 (WebKit::WebPageProxy::receivedPolicyDecision): |
|
4002 (WebKit::WebPageProxy::runJavaScriptInMainFrame): |
|
4003 (WebKit::WebPageProxy::getRenderTreeExternalRepresentation): |
|
4004 (WebKit::WebPageProxy::preferencesDidChange): |
|
4005 * UIProcess/WebProcessProxy.cpp: |
|
4006 (WebKit::WebProcessProxy::WebProcessProxy): |
|
4007 (WebKit::WebProcessProxy::sendMessage): |
|
4008 * UIProcess/WebProcessProxy.h: |
|
4009 (WebKit::WebProcessProxy::connection): |
|
4010 (WebKit::WebProcessProxy::send): |
|
4011 |
|
4012 2010-06-29 Anders Carlsson <andersca@apple.com> |
|
4013 |
|
4014 Reviewed by Sam Weinig. |
|
4015 |
|
4016 Add a private Message class template |
|
4017 https://bugs.webkit.org/show_bug.cgi?id=41370 |
|
4018 |
|
4019 * Platform/CoreIPC/Connection.h: |
|
4020 (CoreIPC::Connection::Message::Message): |
|
4021 (CoreIPC::Connection::Message::arguments): |
|
4022 |
|
4023 2010-06-28 John Gregg <johnnyg@google.com> |
|
4024 |
|
4025 Unreviewed, build fix (removing merge conflict from previous). |
|
4026 |
|
4027 * Configurations/FeatureDefines.xcconfig: |
|
4028 |
|
4029 2010-06-23 John Gregg <johnnyg@google.com> |
|
4030 |
|
4031 Reviewed by Kent Tamura. |
|
4032 |
|
4033 add ENABLE_DIRECTORY_UPLOAD build support |
|
4034 https://bugs.webkit.org/show_bug.cgi?id=41100 |
|
4035 |
|
4036 * Configurations/FeatureDefines.xcconfig: |
|
4037 |
|
4038 2010-06-28 Sam Weinig <sam@webkit.org> |
|
4039 |
|
4040 Rubber-stamped Geoffrey Garen. |
|
4041 |
|
4042 Add WKBundleFrameIsMainFrame to exports file. |
|
4043 |
|
4044 * mac/WebKit2.exp: |
|
4045 |
|
4046 2010-06-28 Sam Weinig <sam@webkit.org> |
|
4047 |
|
4048 Reviewed by Anders Carlsson. |
|
4049 |
|
4050 Patch for https://bugs.webkit.org/show_bug.cgi?id=41288 |
|
4051 WebKit2: Add frame API for InjectedBundle code |
|
4052 |
|
4053 * WebKit2.xcodeproj/project.pbxproj: |
|
4054 * WebProcess/InjectedBundle/API/c/WKBundleFrame.cpp: Added. |
|
4055 (WKBundleFrameIsMainFrame): |
|
4056 (WKBundleFrameGetURL): |
|
4057 * WebProcess/InjectedBundle/API/c/WKBundleFrame.h: Added. |
|
4058 * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: |
|
4059 (WKBundlePageGetMainFrame): |
|
4060 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: |
|
4061 * WebProcess/WebPage/WebFrame.cpp: |
|
4062 (WebKit::WebFrame::isMainFrame): |
|
4063 (WebKit::WebFrame::url): |
|
4064 * WebProcess/WebPage/WebFrame.h: |
|
4065 * WebProcess/WebPage/WebPage.cpp: |
|
4066 * WebProcess/WebPage/WebPage.h: |
|
4067 (WebKit::WebPage::mainFrame): |
|
4068 * mac/WebKit2.exp: |
|
4069 * win/WebKit2.vcproj: |
|
4070 |
|
4071 2010-06-27 Mark Rowe <mrowe@apple.com> |
|
4072 |
|
4073 Rubber-stamped by Maciej Stachowiak. |
|
4074 |
|
4075 Update guards related to blocks to check whether __BLOCKS__ is defined, rather than checking its value. |
|
4076 This matches how similar checks are performed in system headers, and avoids a compile error when __BLOCKS__ |
|
4077 is not defined. |
|
4078 |
|
4079 * UIProcess/API/C/WKPage.cpp: |
|
4080 * UIProcess/API/C/WKPage.h: |
|
4081 * UIProcess/API/C/WKPagePrivate.h: |
|
4082 |
|
4083 2010-06-26 Tony Gentilcore <tonyg@chromium.org> |
|
4084 |
|
4085 Reviewed by Dimitri Glazkov. |
|
4086 |
|
4087 Add an ENABLE_WEB_TIMING option for enabling Web Timing support. |
|
4088 https://bugs.webkit.org/show_bug.cgi?id=38924 |
|
4089 |
|
4090 * Configurations/FeatureDefines.xcconfig: |
|
4091 |
|
4092 2010-06-25 Steve Falkenburg <sfalken@apple.com> |
|
4093 |
|
4094 Windows build fix. |
|
4095 |
|
4096 * win/WebKit2.vcproj: |
|
4097 |
|
4098 2010-06-25 Ada Chan <adachan@apple.com> |
|
4099 |
|
4100 Rubber-stamped by Mark Rowe. |
|
4101 |
|
4102 Add additional include search paths relative to $(WebKitLibrariesDir) to fix a build. |
|
4103 |
|
4104 * win/WebKit2.vcproj: |
|
4105 |
|
4106 2010-06-25 Sam Weinig <sam@webkit.org> |
|
4107 |
|
4108 Reviewed by Anders Carlsson. |
|
4109 |
|
4110 WKBundlePageRenderTreeExternalRepresentation really needs to be |
|
4111 WKBundlePageCopyRenderTreeExternalRepresentation so we don't have dangling |
|
4112 pointers and adhere to naming conventions. |
|
4113 |
|
4114 * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: |
|
4115 (WKBundlePageCopyRenderTreeExternalRepresentation): |
|
4116 * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h: |
|
4117 * mac/WebKit2.exp: |
|
4118 |
|
4119 2010-06-24 Steve Falkenburg <sfalken@apple.com> |
|
4120 |
|
4121 Windows build fix. |
|
4122 |
|
4123 * win/WebKit2.make: Added. |
|
4124 * win/WebKit2.submit.sln: Added. |
|
4125 |
|
4126 2010-06-24 Steve Falkenburg <sfalken@apple.com> |
|
4127 |
|
4128 Windows build fix. |
|
4129 |
|
4130 * win/WebKit2WebProcess.vcproj: |
|
4131 |
|
4132 2010-06-24 Sam Weinig <sam@webkit.org> |
|
4133 |
|
4134 Reviewed by Brady Eidson. |
|
4135 |
|
4136 Add WKBundlePageRenderTreeExternalRepresentation for WebKitTestRunner. |
|
4137 |
|
4138 * WebKit2.xcodeproj/project.pbxproj: |
|
4139 * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: |
|
4140 (WKBundlePageRenderTreeExternalRepresentation): |
|
4141 * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h: Added. |
|
4142 * WebProcess/WebPage/WebPage.cpp: |
|
4143 (WebKit::WebPage::renderTreeExternalRepresentation): |
|
4144 (WebKit::WebPage::getRenderTreeExternalRepresentation): |
|
4145 * WebProcess/WebPage/WebPage.h: |
|
4146 * mac/WebKit2.exp: |
|
4147 * win/WebKit2.vcproj: |
|
4148 |
|
4149 2010-06-24 John Sullivan <sullivan@apple.com> |
|
4150 |
|
4151 Rubber-stamped by Ada Chan. |
|
4152 |
|
4153 * mac/WebKit2.exp: |
|
4154 Added _WKNavigationDataRelease and _WKNavigationDataRetain. |
|
4155 |
|
4156 2010-06-24 John Sullivan <sullivan@apple.com> |
|
4157 |
|
4158 Rubber-stamped by Anders Carlsson. |
|
4159 |
|
4160 * mac/WebKit2.exp: |
|
4161 Added _WKPageReloadFromOrigin. |
|
4162 |
|
4163 2010-06-24 Sam Weinig <sam@webkit.org> |
|
4164 |
|
4165 Reviewed by Anders Carlsson. |
|
4166 |
|
4167 Fix for https://bugs.webkit.org/show_bug.cgi?id=41168 |
|
4168 <rdar://problem/8124605> |
|
4169 Webkit2: Add WKPageReloadFromOrigin() to match old-WebKit functionality |
|
4170 |
|
4171 * UIProcess/API/C/WKPage.cpp: |
|
4172 (WKPageReload): |
|
4173 (WKPageReloadFromOrigin): |
|
4174 * UIProcess/API/C/WKPage.h: |
|
4175 * UIProcess/WebPageProxy.cpp: |
|
4176 (WebKit::WebPageProxy::reload): |
|
4177 * UIProcess/WebPageProxy.h: |
|
4178 * WebProcess/WebPage/WebPage.cpp: |
|
4179 (WebKit::WebPage::reload): |
|
4180 (WebKit::WebPage::didReceiveMessage): |
|
4181 * WebProcess/WebPage/WebPage.h: |
|
4182 |
|
4183 2010-06-24 Adam Roben <aroben@apple.com> |
|
4184 |
|
4185 Windows build fix |
|
4186 |
|
4187 Fixes <http://webkit.org/b/41158>. |
|
4188 |
|
4189 Reviewed by Anders Carlsson. |
|
4190 |
|
4191 * Shared/win/UpdateChunk.cpp: Updated header name. |
|
4192 |
|
4193 * UIProcess/Plugins/win/PluginInfoStoreWin.cpp: Added. |
|
4194 (WebKit::PluginInfoStore::pluginDirectories): |
|
4195 (WebKit::PluginInfoStore::pluginPathsInDirectory): |
|
4196 (WebKit::PluginInfoStore::getPluginInfo): |
|
4197 (WebKit::PluginInfoStore::shouldUsePlugin): |
|
4198 Stubbed these out. |
|
4199 |
|
4200 * win/WebKit2.vcproj: Added UIProcess/Plugins to the include path for |
|
4201 all configurations. Added UIProcess/Plugins files to the project. |
|
4202 |
|
4203 2010-06-23 Anders Carlsson <andersca@apple.com> |
|
4204 |
|
4205 Reviewed by Sam Weinig. |
|
4206 |
|
4207 Have the UI process compute the plug-in data |
|
4208 https://bugs.webkit.org/show_bug.cgi?id=41118 |
|
4209 |
|
4210 * Shared/CoreIPCSupport/WebProcessProxyMessageKinds.h: |
|
4211 (WebProcessProxyMessage::): |
|
4212 Add GetPlugin message kind. |
|
4213 |
|
4214 * Shared/WebCoreArgumentCoders.h: |
|
4215 Add argument coders for PluginInfo and MimeClassInfo. |
|
4216 |
|
4217 * UIProcess/Plugins/mac/PluginInfoStoreMac.mm: |
|
4218 (WebKit::safeCreateCFString): |
|
4219 (WebKit::PluginInfoStore::pluginPathsInDirectory): |
|
4220 (WebKit::PluginInfoStore::getPluginInfo): |
|
4221 Use safeCreateCFString. |
|
4222 |
|
4223 * UIProcess/WebProcessProxy.cpp: |
|
4224 (WebKit::WebProcessProxy::getPlugins): |
|
4225 Ask the plug-in info store for the plug-in list. |
|
4226 |
|
4227 (WebKit::WebProcessProxy::didReceiveSyncMessage): |
|
4228 Handle GetPlugins. |
|
4229 |
|
4230 * UIProcess/WebProcessProxy.h: |
|
4231 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4232 (WebKit::WebFrameLoaderClient::objectContentType): |
|
4233 Implement. |
|
4234 |
|
4235 * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: |
|
4236 (WebKit::WebPlatformStrategies::populatePluginCache): |
|
4237 Send a sync GetPlugins message. |
|
4238 |
|
4239 2010-06-23 Anders Carlsson <andersca@apple.com> |
|
4240 |
|
4241 Reviewed by Dan Bernstein. |
|
4242 |
|
4243 Add ArgumentCoder for vectors. |
|
4244 |
|
4245 * Platform/CoreIPC/ArgumentCoders.h: |
|
4246 (CoreIPC::): |
|
4247 |
|
4248 2010-06-23 Anders Carlsson <andersca@apple.com> |
|
4249 |
|
4250 Reviewed by Dan Bernstein. |
|
4251 |
|
4252 Rename WebCoreTypeArgumentMarshalling.h to WebCoreArgumentCoders.h |
|
4253 |
|
4254 * Shared/WebCoreArgumentCoders.h: Copied from Shared/WebCoreTypeArgumentMarshalling.h. |
|
4255 * Shared/WebCoreTypeArgumentMarshalling.h: Removed. |
|
4256 * Shared/WebEvent.h: |
|
4257 * Shared/WebNavigationDataStore.h: |
|
4258 * Shared/WebPreferencesStore.h: |
|
4259 * Shared/mac/UpdateChunk.cpp: |
|
4260 * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: |
|
4261 * UIProcess/WebContext.cpp: |
|
4262 * UIProcess/WebPageProxy.cpp: |
|
4263 * WebKit2.xcodeproj/project.pbxproj: |
|
4264 * WebProcess/InjectedBundle/InjectedBundle.cpp: |
|
4265 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
4266 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4267 * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp: |
|
4268 * WebProcess/WebPage/WebPage.cpp: |
|
4269 * WebProcess/WebProcess.cpp: |
|
4270 |
|
4271 2010-06-23 Anders Carlsson <andersca@apple.com> |
|
4272 |
|
4273 Reviewed by Dan Bernstein. |
|
4274 |
|
4275 MessageIDs should always have the most significant bit zeroed out |
|
4276 https://bugs.webkit.org/show_bug.cgi?id=41112 |
|
4277 |
|
4278 The most significant bit is used by the Mac implementation of CoreIPC, and |
|
4279 should always be zero in MessageID objects. |
|
4280 |
|
4281 * Platform/CoreIPC/Connection.cpp: |
|
4282 (CoreIPC::Connection::waitForMessage): |
|
4283 * Platform/CoreIPC/MessageID.h: |
|
4284 (CoreIPC::MessageID::): |
|
4285 (CoreIPC::MessageID::MessageID): |
|
4286 (CoreIPC::MessageID::operator==): |
|
4287 (CoreIPC::MessageID::fromInt): |
|
4288 (CoreIPC::MessageID::isSync): |
|
4289 (CoreIPC::MessageID::stripMostSignificantBit): |
|
4290 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
4291 (CoreIPC::Connection::sendOutgoingMessage): |
|
4292 (CoreIPC::createArgumentDecoder): |
|
4293 |
|
4294 2010-06-23 John Sullivan <sullivan@apple.com> |
|
4295 |
|
4296 Rubber-stamped by Anders Carlsson. |
|
4297 |
|
4298 * mac/WebKit2.exp: |
|
4299 Added yet another symbol needed by Mac clients. |
|
4300 |
|
4301 2010-06-23 John Sullivan <sullivan@apple.com> |
|
4302 |
|
4303 Rubber-stamped by Anders Carlsson. |
|
4304 |
|
4305 * mac/WebKit2.exp: |
|
4306 Added another symbol needed by Mac clients. |
|
4307 |
|
4308 2010-06-23 Anders Carlsson <andersca@apple.com> |
|
4309 |
|
4310 Reviewed by Sam Weinig. |
|
4311 |
|
4312 Rename SimpleArgumentCoder.h to ArgumentCoders.h |
|
4313 |
|
4314 * Platform/CoreIPC/ArgumentCoders.h: Copied from Platform/CoreIPC/SimpleArgumentCoder.h. |
|
4315 * Platform/CoreIPC/SimpleArgumentCoder.h: Removed. |
|
4316 * Shared/WebCoreTypeArgumentMarshalling.h: |
|
4317 * WebKit2.xcodeproj/project.pbxproj: |
|
4318 |
|
4319 2010-06-23 Anders Carlsson <andersca@apple.com> |
|
4320 |
|
4321 Reviewed by Sam Weinig. |
|
4322 |
|
4323 Add a plug-in info cache to WebPlatformStrategies |
|
4324 https://bugs.webkit.org/show_bug.cgi?id=41087 |
|
4325 |
|
4326 This is in preparation for proxying the getPlugins call over to the UI process. |
|
4327 |
|
4328 * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: |
|
4329 (WebKit::WebPlatformStrategies::WebPlatformStrategies): |
|
4330 (WebKit::WebPlatformStrategies::populatePluginCache): |
|
4331 (WebKit::WebPlatformStrategies::refreshPlugins): |
|
4332 (WebKit::WebPlatformStrategies::getPluginInfo): |
|
4333 * WebProcess/WebCoreSupport/WebPlatformStrategies.h: |
|
4334 |
|
4335 2010-06-23 Sam Weinig <sam@webkit.org> |
|
4336 |
|
4337 Reviewed by John Sullivan. |
|
4338 |
|
4339 Stop silently ignoring crashes. |
|
4340 |
|
4341 * WebProcess/Launching/mac/WebProcessMain.mm: |
|
4342 |
|
4343 2010-06-23 Sam Weinig <sam@webkit.org> |
|
4344 |
|
4345 Reviewed by Anders Carlsson. |
|
4346 |
|
4347 Add missing include to WKRetainPtr. |
|
4348 |
|
4349 * UIProcess/API/cpp/WKRetainPtr.h: |
|
4350 |
|
4351 2010-06-23 Sam Weinig <sam@webkit.org> |
|
4352 |
|
4353 Reviewed by Anders Carlsson. |
|
4354 |
|
4355 Fix for https://bugs.webkit.org/show_bug.cgi?id=41073 |
|
4356 WebKit2: Flesh out more of the InjectedBundle client API |
|
4357 |
|
4358 * WebProcess/InjectedBundle/API/c/WKBundle.h: |
|
4359 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: |
|
4360 * WebProcess/InjectedBundle/InjectedBundle.cpp: |
|
4361 (WebKit::InjectedBundle::willDestroyPage): |
|
4362 * WebProcess/InjectedBundle/InjectedBundle.h: |
|
4363 * WebProcess/InjectedBundle/InjectedBundlePageClient.cpp: |
|
4364 (WebKit::InjectedBundlePageClient::didStartProvisionalLoadForFrame): |
|
4365 (WebKit::InjectedBundlePageClient::didReceiveServerRedirectForProvisionalLoadForFrame): |
|
4366 (WebKit::InjectedBundlePageClient::didFailProvisionalLoadWithErrorForFrame): |
|
4367 (WebKit::InjectedBundlePageClient::didCommitLoadForFrame): |
|
4368 (WebKit::InjectedBundlePageClient::didFinishLoadForFrame): |
|
4369 (WebKit::InjectedBundlePageClient::didFailLoadWithErrorForFrame): |
|
4370 (WebKit::InjectedBundlePageClient::didReceiveTitleForFrame): |
|
4371 * WebProcess/InjectedBundle/InjectedBundlePageClient.h: |
|
4372 * WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp: |
|
4373 (WebKit::InjectedBundle::load): Add some error logging on failure to load the bundle. |
|
4374 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4375 (WebKit::WebFrameLoaderClient::dispatchDidReceiveServerRedirectForProvisionalLoad): |
|
4376 (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad): |
|
4377 (WebKit::WebFrameLoaderClient::dispatchDidReceiveTitle): |
|
4378 (WebKit::WebFrameLoaderClient::dispatchDidCommitLoad): |
|
4379 (WebKit::WebFrameLoaderClient::dispatchDidFailProvisionalLoad): |
|
4380 (WebKit::WebFrameLoaderClient::dispatchDidFailLoad): |
|
4381 (WebKit::WebFrameLoaderClient::dispatchDidFinishLoad): |
|
4382 * WebProcess/WebPage/WebPage.cpp: |
|
4383 (WebKit::WebPage::close): |
|
4384 * mac/WebKit2.exp: |
|
4385 |
|
4386 2010-06-22 Anders Carlsson <andersca@apple.com> |
|
4387 |
|
4388 Reviewed by Sam Weinig. |
|
4389 |
|
4390 Add a SimpleArgumentCoder class template that works on POD types |
|
4391 https://bugs.webkit.org/show_bug.cgi?id=41023 |
|
4392 |
|
4393 * Platform/CoreIPC/SimpleArgumentCoder.h: Added. |
|
4394 (CoreIPC::SimpleArgumentCoder::encode): |
|
4395 (CoreIPC::SimpleArgumentCoder::decode): |
|
4396 * Shared/WebCoreTypeArgumentMarshalling.h: |
|
4397 (CoreIPC::): |
|
4398 * WebKit2.xcodeproj/project.pbxproj: |
|
4399 |
|
4400 2010-06-22 Anders Carlsson <andersca@apple.com> |
|
4401 |
|
4402 Reviewed by Sam Weinig. |
|
4403 |
|
4404 Use the ArgumentCoder class template for decoding |
|
4405 https://bugs.webkit.org/show_bug.cgi?id=41021 |
|
4406 |
|
4407 * Platform/CoreIPC/ArgumentCoder.h: |
|
4408 (CoreIPC::ArgumentCoder::decode): |
|
4409 * Platform/CoreIPC/ArgumentDecoder.h: |
|
4410 (CoreIPC::ArgumentDecoder::decode): |
|
4411 * Shared/WebCoreTypeArgumentMarshalling.h: |
|
4412 (CoreIPC::): |
|
4413 |
|
4414 2010-06-22 Anders Carlsson <andersca@apple.com> |
|
4415 |
|
4416 Reviewed by Dan Bernstein. |
|
4417 |
|
4418 Change the encode functions to be specializations of a class template |
|
4419 https://bugs.webkit.org/show_bug.cgi?id=41015 |
|
4420 |
|
4421 * Platform/CoreIPC/ArgumentCoder.h: Added. |
|
4422 (CoreIPC::ArgumentCoder::encode): |
|
4423 * Platform/CoreIPC/ArgumentEncoder.h: |
|
4424 (CoreIPC::ArgumentEncoder::encode): |
|
4425 * Shared/WebCoreTypeArgumentMarshalling.h: |
|
4426 (CoreIPC::): |
|
4427 * WebKit2.xcodeproj/project.pbxproj: |
|
4428 |
|
4429 2010-06-22 Anders Carlsson <andersca@apple.com> |
|
4430 |
|
4431 Reviewed by Sam Weinig. |
|
4432 |
|
4433 Implement PluginInfoStore::shouldUsePlugin. |
|
4434 |
|
4435 * UIProcess/Plugins/PluginInfoStore.h: |
|
4436 * UIProcess/Plugins/mac/PluginInfoStoreMac.mm: |
|
4437 (WebKit::PluginInfoStore::getPluginInfo): |
|
4438 (WebKit::PluginInfoStore::shouldUsePlugin): |
|
4439 * WebKit2.xcodeproj/project.pbxproj: |
|
4440 |
|
4441 2010-06-21 Anders Carlsson <andersca@apple.com> |
|
4442 |
|
4443 Reviewed by Sam Weinig. |
|
4444 |
|
4445 Support reading plug-in info from Carbon resources |
|
4446 https://bugs.webkit.org/show_bug.cgi?id=40959 |
|
4447 |
|
4448 * UIProcess/Plugins/mac/PluginInfoStoreMac.mm: |
|
4449 (WebKit::ResourceMap::ResourceMap): |
|
4450 (WebKit::ResourceMap::~ResourceMap): |
|
4451 (WebKit::ResourceMap::isValid): |
|
4452 (WebKit::getStringListResource): |
|
4453 (WebKit::getPluginInfoFromCarbonResources): |
|
4454 (WebKit::PluginInfoStore::getPluginInfo): |
|
4455 |
|
4456 2010-06-21 Anders Carlsson <andersca@apple.com> |
|
4457 |
|
4458 Build fix. |
|
4459 |
|
4460 * UIProcess/Plugins/mac/PluginInfoStoreMac.mm: |
|
4461 (WebKit::PluginInfoStore::getPluginInfo): |
|
4462 |
|
4463 2010-06-21 Anders Carlsson <andersca@apple.com> |
|
4464 |
|
4465 Reviewed by Sam Weinig. |
|
4466 |
|
4467 Have PluginInfoStoreMac actually get plug-in info and populate the plug-in list |
|
4468 https://bugs.webkit.org/show_bug.cgi?id=40957 |
|
4469 |
|
4470 * UIProcess/Plugins/PluginInfoStore.cpp: |
|
4471 (WebKit::PluginInfoStore::loadPluginsIfNecessary): |
|
4472 (WebKit::PluginInfoStore::loadPluginsInDirectory): |
|
4473 (WebKit::PluginInfoStore::loadPlugin): |
|
4474 (WebKit::PluginInfoStore::getPlugins): |
|
4475 * UIProcess/Plugins/PluginInfoStore.h: |
|
4476 * UIProcess/Plugins/mac/PluginInfoStoreMac.mm: Added. |
|
4477 (WebKit::PluginInfoStore::pluginDirectories): |
|
4478 (WebKit::PluginInfoStore::pluginPathsInDirectory): |
|
4479 (WebKit::getPluginArchitecture): |
|
4480 (WebKit::getPluginInfoFromPropertyLists): |
|
4481 (WebKit::PluginInfoStore::getPluginInfo): |
|
4482 (WebKit::PluginInfoStore::shouldUsePlugin): |
|
4483 * WebKit2.xcodeproj/project.pbxproj: |
|
4484 |
|
4485 2010-06-21 Anders Carlsson <andersca@apple.com> |
|
4486 |
|
4487 Reviewed by Sam Weinig. |
|
4488 |
|
4489 Add PluginInfoStore class |
|
4490 https://bugs.webkit.org/show_bug.cgi?id=40949 |
|
4491 |
|
4492 * Shared/WebPreferencesStore.cpp: |
|
4493 (WebKit::WebPreferencesStore::WebPreferencesStore): |
|
4494 * Shared/WebPreferencesStore.h: |
|
4495 (WebKit::WebPreferencesStore::encode): |
|
4496 (WebKit::WebPreferencesStore::decode): |
|
4497 Add plugInsEnabled to the preferences store. |
|
4498 |
|
4499 * UIProcess/Plugins: Added. |
|
4500 * UIProcess/Plugins/PluginInfoStore.cpp: Added. |
|
4501 (WebKit::PluginInfoStore::shared): |
|
4502 (WebKit::PluginInfoStore::PluginInfoStore): |
|
4503 (WebKit::PluginInfoStore::refresh): |
|
4504 (WebKit::PluginInfoStore::getPlugins): |
|
4505 * UIProcess/Plugins/PluginInfoStore.h: Added. |
|
4506 * UIProcess/Plugins/mac: Added. |
|
4507 * WebKit2.xcodeproj/project.pbxproj: |
|
4508 * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: |
|
4509 (WebKit::WebPlatformStrategies::refreshPlugins): |
|
4510 (WebKit::WebPlatformStrategies::getPluginInfo): |
|
4511 * WebProcess/WebPage/WebPage.cpp: |
|
4512 (WebKit::WebPage::WebPage): |
|
4513 |
|
4514 2010-06-21 Simon Fraser <simon.fraser@apple.com> |
|
4515 |
|
4516 Reviewed by Anders Carlsson. |
|
4517 |
|
4518 Rename DrawingAreaProxyUpdateChunk to ChunkedUpdateDrawingArea |
|
4519 https://bugs.webkit.org/show_bug.cgi?id=40948 |
|
4520 |
|
4521 Rename UIProcess version of DrawingAreaUpdateChunk to ChunkedUpdateDrawingAreaProxy, |
|
4522 and rename the Mac/Win versions of the various DrawingArea files too. |
|
4523 |
|
4524 Also rename the DrawingAreaUpdateChunkType enum to ChunkedUpdateDrawingAreaType. |
|
4525 |
|
4526 * UIProcess/API/mac/WKView.mm: |
|
4527 (-[WKView initWithFrame:pageNamespaceRef:]): |
|
4528 * UIProcess/ChunkedUpdateDrawingArea.cpp: Removed. |
|
4529 * UIProcess/ChunkedUpdateDrawingArea.h: Removed. |
|
4530 * UIProcess/ChunkedUpdateDrawingAreaProxy.cpp: Added. |
|
4531 (WebKit::ChunkedUpdateDrawingAreaProxy::ChunkedUpdateDrawingAreaProxy): |
|
4532 (WebKit::ChunkedUpdateDrawingAreaProxy::~ChunkedUpdateDrawingAreaProxy): |
|
4533 (WebKit::ChunkedUpdateDrawingAreaProxy::paint): |
|
4534 (WebKit::ChunkedUpdateDrawingAreaProxy::setSize): |
|
4535 (WebKit::ChunkedUpdateDrawingAreaProxy::setPageIsVisible): |
|
4536 (WebKit::ChunkedUpdateDrawingAreaProxy::didSetSize): |
|
4537 (WebKit::ChunkedUpdateDrawingAreaProxy::update): |
|
4538 (WebKit::ChunkedUpdateDrawingAreaProxy::didReceiveMessage): |
|
4539 * UIProcess/ChunkedUpdateDrawingAreaProxy.h: Added. |
|
4540 (WebKit::ChunkedUpdateDrawingAreaProxy::encode): |
|
4541 * UIProcess/DrawingAreaProxy.h: |
|
4542 (WebKit::DrawingAreaProxy::): |
|
4543 * UIProcess/mac/ChunkedUpdateDrawingAreaProxyMac.mm: Added. |
|
4544 (WebKit::ChunkedUpdateDrawingAreaProxy::page): |
|
4545 (WebKit::ChunkedUpdateDrawingAreaProxy::ensureBackingStore): |
|
4546 (WebKit::ChunkedUpdateDrawingAreaProxy::invalidateBackingStore): |
|
4547 (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): |
|
4548 (WebKit::ChunkedUpdateDrawingAreaProxy::drawUpdateChunkIntoBackingStore): |
|
4549 * UIProcess/mac/DrawingAreaProxyUpdateChunkMac.mm: Removed. |
|
4550 * UIProcess/win/ChunkedUpdateDrawingAreaProxyWin.cpp: Added. |
|
4551 (WebKit::ChunkedUpdateDrawingAreaProxy::page): |
|
4552 (WebKit::ChunkedUpdateDrawingAreaProxy::ensureBackingStore): |
|
4553 (WebKit::ChunkedUpdateDrawingAreaProxy::invalidateBackingStore): |
|
4554 (WebKit::ChunkedUpdateDrawingAreaProxy::platformPaint): |
|
4555 (WebKit::ChunkedUpdateDrawingAreaProxy::drawUpdateChunkIntoBackingStore): |
|
4556 * UIProcess/win/DrawingAreaProxyUpdateChunkWin.cpp: Removed. |
|
4557 * UIProcess/win/WebView.cpp: |
|
4558 (WebKit::WebView::WebView): |
|
4559 * WebKit2.xcodeproj/project.pbxproj: |
|
4560 * WebProcess/WebPage/ChunkedUpdateDrawingArea.cpp: Added. |
|
4561 (WebKit::ChunkedUpdateDrawingArea::ChunkedUpdateDrawingArea): |
|
4562 (WebKit::ChunkedUpdateDrawingArea::~ChunkedUpdateDrawingArea): |
|
4563 (WebKit::ChunkedUpdateDrawingArea::invalidateWindow): |
|
4564 (WebKit::ChunkedUpdateDrawingArea::invalidateContentsAndWindow): |
|
4565 (WebKit::ChunkedUpdateDrawingArea::invalidateContentsForSlowScroll): |
|
4566 (WebKit::ChunkedUpdateDrawingArea::scroll): |
|
4567 (WebKit::ChunkedUpdateDrawingArea::setNeedsDisplay): |
|
4568 (WebKit::ChunkedUpdateDrawingArea::display): |
|
4569 (WebKit::ChunkedUpdateDrawingArea::scheduleDisplay): |
|
4570 (WebKit::ChunkedUpdateDrawingArea::setSize): |
|
4571 (WebKit::ChunkedUpdateDrawingArea::suspendPainting): |
|
4572 (WebKit::ChunkedUpdateDrawingArea::resumePainting): |
|
4573 (WebKit::ChunkedUpdateDrawingArea::didUpdate): |
|
4574 (WebKit::ChunkedUpdateDrawingArea::didReceiveMessage): |
|
4575 * WebProcess/WebPage/ChunkedUpdateDrawingArea.h: Added. |
|
4576 * WebProcess/WebPage/DrawingArea.cpp: |
|
4577 (WebKit::DrawingArea::create): |
|
4578 * WebProcess/WebPage/DrawingArea.h: |
|
4579 (WebKit::DrawingArea::): |
|
4580 * WebProcess/WebPage/DrawingAreaUpdateChunk.cpp: Removed. |
|
4581 * WebProcess/WebPage/DrawingAreaUpdateChunk.h: Removed. |
|
4582 * WebProcess/WebPage/mac/ChunkedUpdateDrawingAreaMac.cpp: Added. |
|
4583 (WebKit::ChunkedUpdateDrawingArea::paintIntoUpdateChunk): |
|
4584 * WebProcess/WebPage/mac/DrawingAreaUpdateChunkMac.cpp: Removed. |
|
4585 * WebProcess/WebPage/win/ChunkedUpdateDrawingAreaWin.cpp: Added. |
|
4586 (WebKit::ChunkedUpdateDrawingArea::paintIntoUpdateChunk): |
|
4587 * WebProcess/WebPage/win/DrawingAreaUpdateChunkWin.cpp: Removed. |
|
4588 * win/WebKit2.vcproj: |
|
4589 |
|
4590 2010-06-21 Simon Fraser <simon.fraser@apple.com> |
|
4591 |
|
4592 Reviewed by Anders Carlsson. |
|
4593 |
|
4594 Rename DrawingAreaProxyUpdateChunk to ChunkedUpdateDrawingArea |
|
4595 https://bugs.webkit.org/show_bug.cgi?id=40948 |
|
4596 |
|
4597 Rename DrawingAreaUpdateChunk to ChunkedUpdateDrawingArea. |
|
4598 |
|
4599 * UIProcess/API/mac/WKView.mm: |
|
4600 (-[WKView initWithFrame:pageNamespaceRef:]): |
|
4601 * UIProcess/ChunkedUpdateDrawingArea.cpp: Added. |
|
4602 (WebKit::ChunkedUpdateDrawingArea::ChunkedUpdateDrawingArea): |
|
4603 (WebKit::ChunkedUpdateDrawingArea::~ChunkedUpdateDrawingArea): |
|
4604 (WebKit::ChunkedUpdateDrawingArea::paint): |
|
4605 (WebKit::ChunkedUpdateDrawingArea::setSize): |
|
4606 (WebKit::ChunkedUpdateDrawingArea::setPageIsVisible): |
|
4607 (WebKit::ChunkedUpdateDrawingArea::didSetSize): |
|
4608 (WebKit::ChunkedUpdateDrawingArea::update): |
|
4609 (WebKit::ChunkedUpdateDrawingArea::didReceiveMessage): |
|
4610 * UIProcess/ChunkedUpdateDrawingArea.h: Added. |
|
4611 (WebKit::ChunkedUpdateDrawingArea::encode): |
|
4612 * UIProcess/DrawingAreaProxyUpdateChunk.cpp: Removed. |
|
4613 * UIProcess/DrawingAreaProxyUpdateChunk.h: Removed. |
|
4614 * UIProcess/mac/DrawingAreaProxyUpdateChunkMac.mm: |
|
4615 (WebKit::ChunkedUpdateDrawingArea::page): |
|
4616 (WebKit::ChunkedUpdateDrawingArea::ensureBackingStore): |
|
4617 (WebKit::ChunkedUpdateDrawingArea::invalidateBackingStore): |
|
4618 (WebKit::ChunkedUpdateDrawingArea::platformPaint): |
|
4619 (WebKit::ChunkedUpdateDrawingArea::drawUpdateChunkIntoBackingStore): |
|
4620 * UIProcess/win/DrawingAreaProxyUpdateChunkWin.cpp: |
|
4621 (WebKit::ChunkedUpdateDrawingArea::page): |
|
4622 (WebKit::ChunkedUpdateDrawingArea::ensureBackingStore): |
|
4623 (WebKit::ChunkedUpdateDrawingArea::invalidateBackingStore): |
|
4624 (WebKit::ChunkedUpdateDrawingArea::platformPaint): |
|
4625 (WebKit::ChunkedUpdateDrawingArea::drawUpdateChunkIntoBackingStore): |
|
4626 * UIProcess/win/WebView.cpp: |
|
4627 (WebKit::WebView::WebView): |
|
4628 * WebKit2.xcodeproj/project.pbxproj: |
|
4629 * win/WebKit2.vcproj: |
|
4630 |
|
4631 2010-06-21 Sam Weinig <sam@webkit.org> |
|
4632 |
|
4633 Reviewed by Anders Carlsson. |
|
4634 |
|
4635 Patch for https://bugs.webkit.org/show_bug.cgi?id=40940 |
|
4636 Add message passing support to the WebKit2 API. |
|
4637 |
|
4638 Adds message passing for both InjectedBundle -> WebContext |
|
4639 and WebContext -> InjectedBundle. |
|
4640 |
|
4641 * Shared/CoreIPCSupport/WebProcessMessageKinds.h: |
|
4642 (WebProcessMessage::): |
|
4643 * Shared/CoreIPCSupport/WebProcessProxyMessageKinds.h: Added. |
|
4644 (WebProcessProxyMessage::): |
|
4645 (CoreIPC::): |
|
4646 * UIProcess/API/C/WKContext.cpp: |
|
4647 (WKContextSetInjectedBundleClient): |
|
4648 (WKContextPostMessageToInjectedBundle): |
|
4649 * UIProcess/API/C/WKContext.h: |
|
4650 * UIProcess/WebContext.cpp: |
|
4651 (WebKit::WebContext::initializeInjectedBundleClient): |
|
4652 (WebKit::WebContext::forwardMessageToWebContext): |
|
4653 (WebKit::WebContext::postMessageToInjectedBundle): |
|
4654 * UIProcess/WebContext.h: |
|
4655 * UIProcess/WebContextInjectedBundleClient.cpp: Added. |
|
4656 (WebKit::WebContextInjectedBundleClient::WebContextInjectedBundleClient): |
|
4657 (WebKit::WebContextInjectedBundleClient::initialize): |
|
4658 (WebKit::WebContextInjectedBundleClient::didRecieveMessageFromInjectedBundle): |
|
4659 * UIProcess/WebContextInjectedBundleClient.h: Added. |
|
4660 * UIProcess/WebProcessManager.cpp: |
|
4661 (WebKit::WebProcessManager::processDidClose): |
|
4662 * UIProcess/WebProcessProxy.cpp: |
|
4663 (WebKit::WebProcessProxy::didReceiveInjectedBundleMessage): |
|
4664 (WebKit::WebProcessProxy::didReceiveMessage): |
|
4665 * UIProcess/WebProcessProxy.h: |
|
4666 * WebKit2.xcodeproj/project.pbxproj: |
|
4667 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: |
|
4668 (WKBundlePostMessage): |
|
4669 * WebProcess/InjectedBundle/API/c/WKBundle.h: |
|
4670 * WebProcess/InjectedBundle/InjectedBundle.cpp: |
|
4671 (WebKit::InjectedBundle::postMessage): |
|
4672 (WebKit::InjectedBundle::didCreatePage): |
|
4673 (WebKit::InjectedBundle::didRecieveMessage): |
|
4674 * WebProcess/InjectedBundle/InjectedBundle.h: |
|
4675 * WebProcess/WebProcess.cpp: |
|
4676 (WebKit::WebProcess::loadInjectedBundle): |
|
4677 (WebKit::WebProcess::forwardMessageToInjectedBundle): |
|
4678 (WebKit::WebProcess::didReceiveMessage): |
|
4679 * WebProcess/WebProcess.h: |
|
4680 * mac/WebKit2.exp: |
|
4681 * win/WebKit2.vcproj: |
|
4682 |
|
4683 2010-06-21 Anders Carlsson <andersca@apple.com> |
|
4684 |
|
4685 Reviewed by Sam Weinig. |
|
4686 |
|
4687 Make WebKit2 build with clang++ |
|
4688 |
|
4689 * Platform/CoreIPC/Connection.h: |
|
4690 * UIProcess/API/mac/WKView.mm: |
|
4691 (-[WKView keyUp:]): |
|
4692 (-[WKView keyDown:]): |
|
4693 * UIProcess/WebHistoryClient.h: |
|
4694 * UIProcess/WebPageProxy.h: |
|
4695 * WebProcess/WebPage/WebPage.h: |
|
4696 * WebProcess/WebProcess.h: |
|
4697 |
|
4698 2010-06-21 Satish Sampath <satish@chromium.org> |
|
4699 |
|
4700 Reviewed by Steve Block. |
|
4701 |
|
4702 Speech Input Patch 0: Added compilation argument to conditionally compile pending patches. |
|
4703 |
|
4704 Speech Input Patch 0: Added compilation argument to conditionally compile pending patches. |
|
4705 https://bugs.webkit.org/show_bug.cgi?id=40878 |
|
4706 |
|
4707 * Configurations/FeatureDefines.xcconfig: |
|
4708 |
|
4709 2010-06-20 Jessie Berlin <jberlin@apple.com> |
|
4710 |
|
4711 Reviewed by Dan Bernstein. |
|
4712 |
|
4713 Add #if USE(PLATFORM_STRATEGIES) where WebPlatformStrategies is being used. |
|
4714 |
|
4715 * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: |
|
4716 * WebProcess/WebCoreSupport/WebPlatformStrategies.h: |
|
4717 * WebProcess/WebProcess.cpp: |
|
4718 (WebKit::WebProcess::WebProcess): |
|
4719 Only initialize the web platform strategies if PLATFORM_STRATEGIES is being used. |
|
4720 |
|
4721 2010-06-19 Sam Weinig <sam@webkit.org> |
|
4722 |
|
4723 Reviewed by Anders Carlsson. |
|
4724 |
|
4725 Fix for https://bugs.webkit.org/show_bug.cgi?id=40882 |
|
4726 Add ability to have a WebProcess per WebContext. |
|
4727 |
|
4728 - Move to a one-to-one correspondence of WebContexts to WebProcessProxies. |
|
4729 - Add explicit shared contexts for general use. |
|
4730 - Only non-shared contexts can use injected bundles. |
|
4731 |
|
4732 * UIProcess/API/C/WKContext.cpp: |
|
4733 (WKContextCreate): |
|
4734 (WKContextCreateWithInjectedBundlePath): |
|
4735 (WKContextGetSharedProcessContext): |
|
4736 (WKContextGetSharedThreadContext): |
|
4737 * UIProcess/API/C/WKContext.h: |
|
4738 * UIProcess/API/C/WKContextPrivate.h: |
|
4739 Change API for WKContext to no longer take a WKProcessModel type and instead |
|
4740 have explicit Create/Get functions for the different kind of contexts. Added |
|
4741 two shared contexts, one threaded, one process, and made the threaded on private |
|
4742 for now. |
|
4743 |
|
4744 * UIProcess/API/mac/WKView.mm: |
|
4745 (-[WKView initWithFrame:]): |
|
4746 Make WKViews that don't have an explicit context use the shared process |
|
4747 context by default. |
|
4748 |
|
4749 * UIProcess/Launcher/WebProcessLauncher.h: |
|
4750 * UIProcess/Launcher/mac/WebProcessLauncher.mm: |
|
4751 (WebKit::launchWebProcess): |
|
4752 * UIProcess/Launcher/win/WebProcessLauncher.cpp: |
|
4753 (WebKit::launchWebProcess): |
|
4754 Use a boolean argument to note whether we are using a thread or a process |
|
4755 instead of using the process model enum. |
|
4756 |
|
4757 * UIProcess/ProcessModel.h: |
|
4758 (WebKit::): |
|
4759 Convert to using explicit Shared modifier for shared contexts. |
|
4760 |
|
4761 * UIProcess/WebContext.cpp: |
|
4762 (WebKit::WebContext::sharedProcessContext): |
|
4763 (WebKit::WebContext::sharedThreadContext): |
|
4764 (WebKit::WebContext::ensureWebProcess): |
|
4765 (WebKit::WebContext::createWebPage): |
|
4766 (WebKit::WebContext::reviveIfNecessary): |
|
4767 * UIProcess/WebContext.h: |
|
4768 (WebKit::WebContext::create): |
|
4769 (WebKit::WebContext::process): |
|
4770 * UIProcess/WebPageNamespace.cpp: |
|
4771 (WebKit::WebPageNamespace::createWebPage): |
|
4772 (WebKit::WebPageNamespace::preferencesDidChange): |
|
4773 (WebKit::WebPageNamespace::getStatistics): |
|
4774 * UIProcess/WebPageNamespace.h: |
|
4775 (WebKit::WebPageNamespace::process): |
|
4776 (WebKit::WebPageNamespace::reviveIfNecessary): |
|
4777 Move WebProcessProxy creation logic up into WebContext. |
|
4778 |
|
4779 * UIProcess/WebProcessManager.cpp: |
|
4780 (WebKit::WebProcessManager::getWebProcess): |
|
4781 (WebKit::WebProcessManager::processDidClose): |
|
4782 * UIProcess/WebProcessManager.h: |
|
4783 Keep a map of WebContexts to WebProcessProxies in addition to the two |
|
4784 shared processes. |
|
4785 |
|
4786 * UIProcess/WebProcessProxy.cpp: |
|
4787 (WebKit::WebProcessProxy::create): |
|
4788 (WebKit::WebProcessProxy::WebProcessProxy): |
|
4789 (WebKit::WebProcessProxy::connect): |
|
4790 (WebKit::WebProcessProxy::didClose): |
|
4791 * UIProcess/WebProcessProxy.h: |
|
4792 Store a WebContext instead of the process model. |
|
4793 |
|
4794 * mac/WebKit2.exp: |
|
4795 Add new functions. |
|
4796 |
|
4797 2010-06-18 Anders Carlsson <andersca@apple.com> |
|
4798 |
|
4799 Reviewed by Sam Weinig. |
|
4800 |
|
4801 Make WebCoreSystemInterface.h a C++ only header |
|
4802 https://bugs.webkit.org/show_bug.cgi?id=40867 |
|
4803 |
|
4804 * WebKit2.xcodeproj/project.pbxproj: |
|
4805 * WebProcess/WebCoreSupport/mac/WebSystemInterface.h: |
|
4806 * WebProcess/WebCoreSupport/mac/WebSystemInterface.m: Removed. |
|
4807 * WebProcess/WebCoreSupport/mac/WebSystemInterface.mm: Copied from WebKit2/WebProcess/WebCoreSupport/mac/WebSystemInterface.m. |
|
4808 * mac/WebKit2.exp: |
|
4809 |
|
4810 2010-06-18 Anders Carlsson <andersca@apple.com> |
|
4811 |
|
4812 Reviewed by Sam Weinig. |
|
4813 |
|
4814 Add platform strategies for WebKit2. |
|
4815 https://bugs.webkit.org/show_bug.cgi?id=40863 |
|
4816 |
|
4817 * WebKit2.xcodeproj/project.pbxproj: |
|
4818 * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: Added. |
|
4819 (WebKit::WebPlatformStrategies::initialize): |
|
4820 (WebKit::WebPlatformStrategies::WebPlatformStrategies): |
|
4821 (WebKit::WebPlatformStrategies::createPluginStrategy): |
|
4822 (WebKit::WebPlatformStrategies::refreshPlugins): |
|
4823 (WebKit::WebPlatformStrategies::getPluginInfo): |
|
4824 * WebProcess/WebCoreSupport/WebPlatformStrategies.h: Added. |
|
4825 * WebProcess/WebProcess.cpp: |
|
4826 (WebKit::WebProcess::WebProcess): |
|
4827 |
|
4828 2010-06-18 Sam Weinig <weinig@apple.com> |
|
4829 |
|
4830 Rolling http://trac.webkit.org/changeset/61297 back in. |
|
4831 |
|
4832 * WebKit2.xcodeproj/project.pbxproj: |
|
4833 * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: Added. |
|
4834 (WKBundlePageSetClient): |
|
4835 (WKBundlePageGetMainFrameURL): |
|
4836 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Added. |
|
4837 * WebProcess/InjectedBundle/InjectedBundlePageClient.cpp: Added. |
|
4838 (WebKit::InjectedBundlePageClient::InjectedBundlePageClient): |
|
4839 (WebKit::InjectedBundlePageClient::initialize): |
|
4840 (WebKit::InjectedBundlePageClient::didClearWindowObjectForFrame): |
|
4841 * WebProcess/InjectedBundle/InjectedBundlePageClient.h: Added. |
|
4842 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4843 (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): |
|
4844 * WebProcess/WebPage/WebPage.cpp: |
|
4845 (WebKit::WebPage::initializeInjectedBundleClient): |
|
4846 (WebKit::WebPage::mainFrameURL): |
|
4847 * WebProcess/WebPage/WebPage.h: |
|
4848 (WebKit::WebPage::injectedBundleClient): |
|
4849 * mac/WebKit2.exp: |
|
4850 * win/WebKit2.vcproj: |
|
4851 |
|
4852 2010-06-17 Anders Carlsson <andersca@apple.com> |
|
4853 |
|
4854 Reviewed by Sam Weinig. |
|
4855 |
|
4856 Fix a race condition during startup where we would never send the InitializeConnection message to the server. |
|
4857 |
|
4858 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
4859 (CoreIPC::Connection::open): |
|
4860 |
|
4861 2010-06-17 Ada Chan <adachan@apple.com> |
|
4862 |
|
4863 Rolling out http://trac.webkit.org/changeset/61297 due to build errors. |
|
4864 |
|
4865 * WebKit2.xcodeproj/project.pbxproj: |
|
4866 * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: Removed. |
|
4867 * WebProcess/InjectedBundle/API/c/WKBundlePage.h: Removed. |
|
4868 * WebProcess/InjectedBundle/InjectedBundlePageClient.cpp: Removed. |
|
4869 * WebProcess/InjectedBundle/InjectedBundlePageClient.h: Removed. |
|
4870 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
4871 (WebKit::WebFrameLoaderClient::dispatchDidClearWindowObjectInWorld): |
|
4872 * WebProcess/WebPage/WebPage.cpp: |
|
4873 * WebProcess/WebPage/WebPage.h: |
|
4874 * mac/WebKit2.exp: |
|
4875 * win/WebKit2.vcproj: |
|
4876 |
|
4877 2010-06-15 Sam Weinig <sam@webkit.org> |
|
4878 |
|
4879 Reviewed by Anders Carlsson. |
|
4880 |
|
4881 Fix for <rdar://problem/8010805> |
|
4882 Assertion failure ("mainThreadPthread") in isMainThread() mousing over cnn.com in Mini Browser |
|
4883 |
|
4884 Don't use WebCore::String::operator NSString*() from the UIProcess, since it uses |
|
4885 StringImpl::createCFString() which expects to be called from WebCore's main thread. |
|
4886 |
|
4887 * UIProcess/API/mac/PageClientImpl.h: |
|
4888 * UIProcess/API/mac/PageClientImpl.mm: |
|
4889 (WebKit::nsStringFromWebCoreString): |
|
4890 (WebKit::PageClientImpl::toolTipChanged): |
|
4891 * UIProcess/API/mac/WKView.mm: |
|
4892 (-[WKView view:stringForToolTip:point:userData:]): |
|
4893 |
|
4894 2010-06-15 Sam Weinig <sam@webkit.org> |
|
4895 |
|
4896 Reviewed by Anders Carlsson. |
|
4897 |
|
4898 Fix for https://bugs.webkit.org/show_bug.cgi?id=40630 |
|
4899 WebKit2: Add mechanism to inject code into the WebProcess on startup |
|
4900 |
|
4901 Add initial InjectedBundle support. |
|
4902 |
|
4903 * Shared/CoreIPCSupport/WebProcessMessageKinds.h: |
|
4904 (WebProcessMessage::): |
|
4905 Add new LoadInjectedBundle message kind. |
|
4906 |
|
4907 * UIProcess/API/C/WKContext.cpp: |
|
4908 (toWK): |
|
4909 (WKContextCreate): |
|
4910 (WKContextCreateWithInjectedBundlePath): |
|
4911 * UIProcess/API/C/WKContext.h: |
|
4912 Rename WKContextCreateWithProcessModel to WKContextCreate and add |
|
4913 WKContextCreateWithInjectedBundlePath for creating a context with |
|
4914 a bundle. |
|
4915 |
|
4916 * UIProcess/WebContext.cpp: |
|
4917 (WebKit::WebContext::WebContext): |
|
4918 * UIProcess/WebContext.h: |
|
4919 (WebKit::WebContext::create): |
|
4920 (WebKit::WebContext::processModel): |
|
4921 (WebKit::WebContext::bundlePath): |
|
4922 * UIProcess/WebPageNamespace.cpp: |
|
4923 (WebKit::WebPageNamespace::ensureWebProcess): |
|
4924 (WebKit::WebPageNamespace::reviveIfNecessary): |
|
4925 * UIProcess/WebProcessManager.cpp: |
|
4926 (WebKit::WebProcessManager::getWebProcess): |
|
4927 * UIProcess/WebProcessManager.h: |
|
4928 * UIProcess/WebProcessProxy.cpp: |
|
4929 (WebKit::WebProcessProxy::create): |
|
4930 (WebKit::WebProcessProxy::WebProcessProxy): |
|
4931 * UIProcess/WebProcessProxy.h: |
|
4932 Thread the bundle path through process creation. |
|
4933 |
|
4934 * WebProcess/InjectedBundle: Added. |
|
4935 * WebProcess/InjectedBundle/API: Added. |
|
4936 * WebProcess/InjectedBundle/API/c: Added. |
|
4937 * WebProcess/InjectedBundle/API/c/WKBundle.cpp: Added. |
|
4938 (WKBundleSetClient): |
|
4939 * WebProcess/InjectedBundle/API/c/WKBundle.h: Added. |
|
4940 * WebProcess/InjectedBundle/API/c/WKBundleAPICast.h: Added. |
|
4941 (WebKit::): |
|
4942 (toWK): |
|
4943 (toRef): |
|
4944 * WebProcess/InjectedBundle/API/c/WKBundleBase.h: Added. |
|
4945 * WebProcess/InjectedBundle/API/c/WKBundleInitialize.h: Added. |
|
4946 * WebProcess/InjectedBundle/InjectedBundle.cpp: Added. |
|
4947 (WebKit::InjectedBundle::InjectedBundle): |
|
4948 (WebKit::InjectedBundle::~InjectedBundle): |
|
4949 (WebKit::InjectedBundle::initializeClient): |
|
4950 (WebKit::InjectedBundle::didCreatePage): |
|
4951 * WebProcess/InjectedBundle/InjectedBundle.h: Added. |
|
4952 (WebKit::InjectedBundle::create): |
|
4953 Add bundle boilerplate. |
|
4954 |
|
4955 * WebProcess/InjectedBundle/mac: Added. |
|
4956 * WebProcess/InjectedBundle/mac/InjectedBundleMac.cpp: Added. |
|
4957 (WebKit::InjectedBundle::load): |
|
4958 Load the InjectedBundle using CFBundle. |
|
4959 |
|
4960 * WebProcess/InjectedBundle/win: Added. |
|
4961 * WebProcess/InjectedBundle/win/InjectedBundleWin.cpp: Added. |
|
4962 (WebKit::pathGetFileName): |
|
4963 (WebKit::directoryName): |
|
4964 (WebKit::InjectedBundle::load): |
|
4965 Load the InjectedBundle using HMODULE. |
|
4966 |
|
4967 * WebProcess/WebPage/WebPage.cpp: |
|
4968 (WebKit::WebPage::WebPage): |
|
4969 Add initial bundle callback for page creation. More to come. |
|
4970 |
|
4971 * WebProcess/WebProcess.cpp: |
|
4972 (WebKit::WebProcess::loadInjectedBundle): |
|
4973 (WebKit::WebProcess::didReceiveMessage): |
|
4974 * WebProcess/WebProcess.h: |
|
4975 (WebKit::WebProcess::injectedBundle): |
|
4976 Load the InjectedBundle on LoadInjectedBundle message. |
|
4977 |
|
4978 * WebKit2.xcodeproj/project.pbxproj: |
|
4979 * mac/WebKit2.exp: |
|
4980 * win/WebKit2.vcproj: |
|
4981 * win/WebKit2Generated.make: |
|
4982 Add the new files. |
|
4983 |
|
4984 2010-06-15 Darin Adler <darin@apple.com> |
|
4985 |
|
4986 Reviewed by Adam Barth. |
|
4987 |
|
4988 Move functions out of Frame class that were marked "move to Chrome" |
|
4989 https://bugs.webkit.org/show_bug.cgi?id=39636 |
|
4990 |
|
4991 * WebProcess/WebPage/WebPage.cpp: |
|
4992 (WebKit::WebPage::tryClose): Call shouldClose on FrameLoader instead of |
|
4993 going through Frame. |
|
4994 |
|
4995 2010-06-14 Steve Falkenburg <sfalken@apple.com> |
|
4996 |
|
4997 Windows build fix. |
|
4998 Reorder build event to fix cygwin path issue. |
|
4999 |
|
5000 * win/WebKit2Generated.vcproj: |
|
5001 |
|
5002 2010-06-14 Steve Falkenburg <sfalken@apple.com> |
|
5003 |
|
5004 Windows build fix. |
|
5005 Add build failure stopping code. |
|
5006 |
|
5007 * win/WebKit2WebProcess.vcproj: |
|
5008 |
|
5009 2010-06-14 Steve Falkenburg <sfalken@apple.com> |
|
5010 |
|
5011 Windows build fix. |
|
5012 Add build failure stopping code. |
|
5013 |
|
5014 * win/WebKit2Generated.vcproj: |
|
5015 |
|
5016 2010-06-14 Ada Chan <adachan@apple.com> |
|
5017 |
|
5018 Rubber-stamped by Steve Falkenburg. |
|
5019 |
|
5020 - Fix the release configuration to use release.vsprops. |
|
5021 - Add Debug_Internal and Debug_All configurations to the WebKit2WebProcess project. |
|
5022 - Fix launchWebProcess() to get the right path to the WebKit2WebProcess executable. |
|
5023 |
|
5024 * UIProcess/Launcher/win/WebProcessLauncher.cpp: |
|
5025 (WebKit::launchWebProcess): |
|
5026 * win/WebKit2WebProcess.vcproj: |
|
5027 |
|
5028 2010-06-12 Ada Chan <adachan@apple.com> |
|
5029 |
|
5030 Unreviewed fix for a linking error with WebKit2LocalizableStringsBundle for Windows release build. |
|
5031 |
|
5032 * WebProcess/win/WebLocalizableStrings.cpp: |
|
5033 (findCachedString): |
|
5034 |
|
5035 2010-06-11 Sam Weinig <sam@webkit.org> |
|
5036 |
|
5037 Reviewed by Mark Rowe. |
|
5038 |
|
5039 Use -Os for optimized builds instead of -02. -02 wasn't giving the |
|
5040 right trade off at this time. |
|
5041 |
|
5042 * Configurations/Base.xcconfig: |
|
5043 |
|
5044 2010-06-11 Sam Weinig <sam@webkit.org> |
|
5045 |
|
5046 Reviewed by Anders Carlsson. |
|
5047 |
|
5048 Move WKRetain and WKRelease overloaded functions out of WKRetainPtr |
|
5049 and into the files of the type they overload (eg, WKRetain(WKFrameRef |
|
5050 moves to WKFrame.h)). |
|
5051 |
|
5052 * UIProcess/API/C/WKBase.h: |
|
5053 * UIProcess/API/C/WKContext.h: |
|
5054 * UIProcess/API/C/WKFrame.h: |
|
5055 * UIProcess/API/C/WKFramePolicyListener.h: |
|
5056 * UIProcess/API/C/WKNavigationData.h: |
|
5057 * UIProcess/API/C/WKPage.h: |
|
5058 * UIProcess/API/C/WKPageNamespace.h: |
|
5059 * UIProcess/API/C/WKPreferences.h: |
|
5060 * UIProcess/API/C/WKString.h: |
|
5061 * UIProcess/API/C/WKURL.h: |
|
5062 * UIProcess/API/cpp/WKRetainPtr.h: |
|
5063 * UIProcess/API/win/WKView.h: |
|
5064 |
|
5065 2010-06-10 John Sullivan <sullivan@apple.com> |
|
5066 |
|
5067 Reviewed by Dan Bernstein. |
|
5068 |
|
5069 * mac/WebKit2.exp: |
|
5070 Added another symbol needed by Mac clients. |
|
5071 |
|
5072 2010-06-09 Ilya Tikhonovsky <loislo@chromium.org> |
|
5073 |
|
5074 Unreviewed build fix. |
|
5075 |
|
5076 * WebProcess/WebCoreSupport/WebInspectorClient.h: |
|
5077 |
|
5078 2010-06-09 Ilya Tikhonovsky <loislo@chromium.org> |
|
5079 |
|
5080 Unreviewed build fix. |
|
5081 |
|
5082 WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc |
|
5083 data from inspected page to WebInspector as JSON string via http. The native |
|
5084 serialization to JSON string is supported by InspectorValue's classes. This patch |
|
5085 has the implementation of sendMessageToFrontend function. WebKit version of it still |
|
5086 uses ScriptFunctionCall and will be switched to another transport a little bit later. |
|
5087 https://bugs.webkit.org/show_bug.cgi?id=40134 |
|
5088 |
|
5089 * WebProcess/WebCoreSupport/WebInspectorClient.cpp: |
|
5090 (WebKit::WebInspectorClient::sendMessageToFrontend): |
|
5091 * WebProcess/WebCoreSupport/WebInspectorClient.h: |
|
5092 |
|
5093 2010-06-08 Anders Carlsson <andersca@apple.com> |
|
5094 |
|
5095 Reviewed by John Sullivan. |
|
5096 |
|
5097 <rdar://problem/8071268> WebKit2 URLs are displayed as 1-character strings in log statements |
|
5098 |
|
5099 Create a CFString from our WebCore string and then create the CFURL from the CFString. |
|
5100 |
|
5101 * UIProcess/API/C/cf/WKURLCF.cpp: |
|
5102 (WKURLCopyCFURL): |
|
5103 |
|
5104 2010-06-08 John Sullivan <sullivan@apple.com> |
|
5105 |
|
5106 Rubber-stamped by Anders Carlsson. |
|
5107 |
|
5108 * mac/WebKit2.exp: |
|
5109 Added _WKPageGetEstimatedProgress and _WKFrameGetPage |
|
5110 |
|
5111 2010-06-08 Anders Carlsson <andersca@apple.com> |
|
5112 |
|
5113 Reviewed by John Sullivan. |
|
5114 |
|
5115 Would like a way to query WKPageRef for the current progress value |
|
5116 https://bugs.webkit.org/show_bug.cgi?id=40310 |
|
5117 <rdar://problem/8071299> |
|
5118 |
|
5119 Add WKPageGetEstimatedProgress. Remove the progress parameter from the didChangeProgress |
|
5120 loader client callback function. |
|
5121 |
|
5122 * UIProcess/API/C/WKPage.cpp: |
|
5123 (WKPageGetEstimatedProgress): |
|
5124 * UIProcess/API/C/WKPage.h: |
|
5125 * UIProcess/WebLoaderClient.cpp: |
|
5126 (WebKit::WebLoaderClient::didChangeProgress): |
|
5127 * UIProcess/WebLoaderClient.h: |
|
5128 * UIProcess/WebPageProxy.cpp: |
|
5129 (WebKit::WebPageProxy::WebPageProxy): |
|
5130 (WebKit::WebPageProxy::close): |
|
5131 (WebKit::WebPageProxy::didStartProgress): |
|
5132 (WebKit::WebPageProxy::didChangeProgress): |
|
5133 (WebKit::WebPageProxy::didFinishProgress): |
|
5134 (WebKit::WebPageProxy::processDidExit): |
|
5135 * UIProcess/WebPageProxy.h: |
|
5136 (WebKit::WebPageProxy::estimatedProgress): |
|
5137 |
|
5138 2010-06-08 Anders Carlsson <andersca@apple.com> |
|
5139 |
|
5140 Reviewed by John Sullivan. |
|
5141 |
|
5142 Would like a way to tell which WKPageRef a WKFrameRef is part of |
|
5143 https://bugs.webkit.org/show_bug.cgi?id=40308 |
|
5144 <rdar://problem/8071251> |
|
5145 |
|
5146 Add and implement WKFrameGetPage. |
|
5147 |
|
5148 * UIProcess/API/C/WKFrame.cpp: |
|
5149 (WKFrameGetPage): |
|
5150 * UIProcess/API/C/WKFrame.h: |
|
5151 * UIProcess/WebFrameProxy.h: |
|
5152 (WebKit::WebFrameProxy::page): |
|
5153 |
|
5154 2010-06-08 John Sullivan <sullivan@apple.com> |
|
5155 |
|
5156 Rubber-stamped by Mark Rowe. |
|
5157 |
|
5158 * mac/WebKit2.exp: |
|
5159 Added a few more symbols needed by Mac clients. |
|
5160 |
|
5161 2010-06-08 MORITA Hajime <morrita@google.com> |
|
5162 |
|
5163 Unreviewed. An attempt to fix test break. |
|
5164 |
|
5165 * Configurations/FeatureDefines.xcconfig: |
|
5166 |
|
5167 2010-06-06 MORITA Hajime <morrita@google.com> |
|
5168 |
|
5169 Unreviewd, follow up to r60820 |
|
5170 |
|
5171 https://bugs.webkit.org/show_bug.cgi?id=40219 |
|
5172 [Mac] ENABLE_METER_TAG should be enabled |
|
5173 |
|
5174 * Configurations/FeatureDefines.xcconfig: |
|
5175 |
|
5176 2010-06-05 Mark Rowe <mrowe@apple.com> |
|
5177 |
|
5178 Rubber-stamped by Dan Bernstein. |
|
5179 |
|
5180 <rdar://problem/8063622> Failure to launch WebProcess.app when framework is outside of the build directory |
|
5181 |
|
5182 * Configurations/WebProcess.xcconfig: |
|
5183 |
|
5184 2010-06-04 John Sullivan <sullivan@apple.com> |
|
5185 |
|
5186 Rubber-stamped by Ada Chan. |
|
5187 |
|
5188 Added a couple of symbols needed to start using WKFrameRefs in Mac clients. |
|
5189 |
|
5190 * mac/WebKit2.exp: |
|
5191 Added _WKFrameRelease and _WKFrameRetain. |
|
5192 |
|
5193 2010-06-04 Ada Chan <adachan@apple.com> |
|
5194 |
|
5195 Reviewed by Anders Carlsson. |
|
5196 |
|
5197 http://bugs.webkit.org/show_bug.cgi?id=40186 |
|
5198 |
|
5199 Need to close WebPageProxy when the WebView is destroyed. |
|
5200 Also, WebPageProxy shouldn't hold an OwnPtr to the PageClient, which is the WebView on Windows. |
|
5201 |
|
5202 * UIProcess/WebPageProxy.cpp: |
|
5203 (WebKit::WebPageProxy::WebPageProxy): |
|
5204 (WebKit::WebPageProxy::setPageClient): |
|
5205 * UIProcess/WebPageProxy.h: |
|
5206 * UIProcess/win/WebView.cpp: |
|
5207 (WebKit::WebView::close): |
|
5208 |
|
5209 2010-06-03 Ada Chan <adachan@apple.com> |
|
5210 |
|
5211 Reviewed by Adam Roben. |
|
5212 |
|
5213 https://bugs.webkit.org/show_bug.cgi?id=40152 |
|
5214 |
|
5215 Need to remove the WebView from WindowMessageBroadcaster's listeners list when the WebView is destroyed. |
|
5216 |
|
5217 * UIProcess/API/win/WKView.cpp: |
|
5218 (WKViewSetHostWindow): Expose API to change the host window of a WKView. |
|
5219 (WKViewWindowAncestryDidChange): Expose API to allow clients to notify WebKit when a WKView's window ancestry has changed. |
|
5220 * UIProcess/API/win/WKView.h: |
|
5221 * UIProcess/win/WebView.cpp: |
|
5222 (WebKit::WebView::wndProc): Set the WebView's host window to 0 when it's destroyed. setHostWindow() will call |
|
5223 windowAncestryDidChange(), which will remove this WebView from the WindowMessageBroadcaster's listeners list. |
|
5224 (WebKit::WebView::WebView): Initialize m_isBeingDestroyed. |
|
5225 (WebKit::WebView::setHostWindow): Update the window's parent window and call windowAncestryDidChange(). |
|
5226 (WebKit::WebView::close): Set the host window to 0. |
|
5227 * UIProcess/win/WebView.h: |
|
5228 |
|
5229 2010-06-04 Tony Gentilcore <tonyg@chromium.org> |
|
5230 |
|
5231 Reviewed by Adam Barth. |
|
5232 |
|
5233 Utilize new takeFirst() method where appropriate. |
|
5234 https://bugs.webkit.org/show_bug.cgi?id=40089 |
|
5235 |
|
5236 * Platform/CoreIPC/ArgumentDecoder.cpp: |
|
5237 (CoreIPC::ArgumentDecoder::removeAttachment): |
|
5238 |
|
5239 2010-06-03 Ada Chan <adachan@apple.com> |
|
5240 |
|
5241 Reviewed by Anders Carlsson. |
|
5242 |
|
5243 Add UIProcess\API\cpp to the list of additional include directories. |
|
5244 Allow WKViewRef to work with WKRetainPtr on Windows. |
|
5245 |
|
5246 * UIProcess/API/cpp/WKRetainPtr.h: |
|
5247 * win/WebKit2.vcproj: |
|
5248 |
|
5249 2010-06-01 Alice Liu <alice.liu@apple.com> |
|
5250 |
|
5251 Build fix. Not reviewed |
|
5252 |
|
5253 * win/WebKit2Generated.make: Added WKRetainPtr.h |
|
5254 |
|
5255 2010-06-01 John Sullivan <sullivan@apple.com> |
|
5256 |
|
5257 Rubber-stamped by Anders Carlsson. |
|
5258 |
|
5259 Added _WKRetainPtr to .exp file, and added .exp file to Xcode project. |
|
5260 |
|
5261 * WebKit2.xcodeproj/project.pbxproj: |
|
5262 Added mac/WebKit2.exp. |
|
5263 |
|
5264 * mac/WebKit2.exp: |
|
5265 Added _WKRetainPtr. |
|
5266 |
|
5267 2010-06-01 John Sullivan <sullivan@apple.com> |
|
5268 |
|
5269 Rubber-stamped by Anders Carlsson. |
|
5270 |
|
5271 Fixed typo/wordo that prevented a certain flavor of constructor from compiling. |
|
5272 |
|
5273 * UIProcess/API/cpp/WKRetainPtr.h: |
|
5274 (WebKit::WKRetainPtr::WKRetainPtr): |
|
5275 Changed the mysterious "retainWKPtr" to "WKRetain". |
|
5276 |
|
5277 2010-05-28 John Sullivan <sullivan@apple.com> |
|
5278 |
|
5279 Rubber-stamped by Dan Bernstein. |
|
5280 |
|
5281 Add a using declaration for AdoptWK to match the one just added for WKRetainPtr. |
|
5282 |
|
5283 * UIProcess/API/cpp/WKRetainPtr.h: |
|
5284 |
|
5285 2010-05-28 Sam Weinig <sam@webkit.org> |
|
5286 |
|
5287 Reviewed by Anders Carlsson. |
|
5288 |
|
5289 Add a using declaration for WKRetainPtr matching what we do for our |
|
5290 other smart pointers and fix the destructor. |
|
5291 |
|
5292 * UIProcess/API/cpp/WKRetainPtr.h: |
|
5293 (WebKit::WKRetainPtr::~WKRetainPtr): |
|
5294 |
|
5295 2010-05-25 Ada Chan <adachan@apple.com> |
|
5296 |
|
5297 Reviewed by Darin Adler. |
|
5298 |
|
5299 https://bugs.webkit.org/show_bug.cgi?id=39686 |
|
5300 |
|
5301 Fix the ProjectGUID of the WebKit2 project so it doesn't conflict with the one in WebKit. |
|
5302 |
|
5303 * WebKit2.sln: |
|
5304 * win/WebKit2.vcproj: |
|
5305 |
|
5306 2010-05-24 Ada Chan <adachan@apple.com> |
|
5307 |
|
5308 Rubber-stamped by Mark Rowe. |
|
5309 |
|
5310 Build fix for 32bit systems. |
|
5311 |
|
5312 * mac/WebKit2.exp: |
|
5313 |
|
5314 2010-05-21 Mark Rowe <mrowe@apple.com> |
|
5315 |
|
5316 Reviewed by Oliver Hunt. |
|
5317 |
|
5318 Teach WebKit2 to build in the Production configuration. |
|
5319 |
|
5320 * Configurations/Base.xcconfig: Restrict WebKit2 to Intel, and disable the order file. |
|
5321 * Configurations/BaseTarget.xcconfig: Fix the path to the umbrella framework directory. |
|
5322 This path is used to locate WebCore.framework, so it needs to be relative to WebKit.framework |
|
5323 rather than WebKit2.framework. |
|
5324 * Configurations/WebKit2.xcconfig: Update the install path. Add an exports file. |
|
5325 * Configurations/WebProcess.xcconfig: Update the install path. |
|
5326 * WebKit2.xcodeproj/project.pbxproj: Add a Production configuration. |
|
5327 * mac/WebKit2.exp: Added. |
|
5328 |
|
5329 2010-05-21 Steve Block <steveblock@google.com> |
|
5330 |
|
5331 Unreviewed build fix for WebKit2 |
|
5332 |
|
5333 Pass 0 to Page constructor for DeviceOrientationClient. |
|
5334 See http://trac.webkit.org/changeset/59935 |
|
5335 |
|
5336 * WebProcess/WebPage/WebPage.cpp: |
|
5337 (WebKit::WebPage::WebPage): |
|
5338 |
|
5339 2010-05-11 Mark Rowe <mrowe@apple.com> |
|
5340 |
|
5341 Fix the world. |
|
5342 |
|
5343 In r59162 a change was made to WebCore's FeatureDefines.xcconfig that enabled FILE_READER and FILE_WRITER. |
|
5344 The author and reviewer of that patch ignored the carefully-worded warning at the top of that file asking |
|
5345 that changes to the file be kept in sync across JavaScriptCore, WebCore and WebKit, as well as being kept |
|
5346 in sync with build-webkit. This led to WebCore and WebKit having different views of Document's vtable |
|
5347 and results in crashes in Safari shortly after launch when virtual function calls resulted in the wrong |
|
5348 function in WebCore being called. |
|
5349 |
|
5350 We fix this by bringing the FeatureDefines.xcconfig files in to sync. Based on the ChangeLog message and |
|
5351 other changes in r59162 it appears that enabling FILE_WRITER was unintentional so that particular change |
|
5352 has been reverted. |
|
5353 |
|
5354 * Configurations/FeatureDefines.xcconfig: |
|
5355 |
|
5356 2010-05-04 Anders Carlsson <andersca@apple.com> |
|
5357 |
|
5358 Reviewed by Dan Bernstein. |
|
5359 |
|
5360 [WebKit2] The web process doesn't need to paint when the web view is hidden. |
|
5361 https://bugs.webkit.org/show_bug.cgi?id=38549 |
|
5362 |
|
5363 * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h: |
|
5364 (DrawingAreaMessage::): |
|
5365 Add SuspendPainting/ResumePainting messages. |
|
5366 |
|
5367 * UIProcess/DrawingAreaProxyUpdateChunk.cpp: |
|
5368 (WebKit::DrawingAreaProxyUpdateChunk::setPageIsVisible): |
|
5369 Suspend and resume painting accordingly. |
|
5370 |
|
5371 * WebProcess/WebPage/DrawingAreaUpdateChunk.cpp: |
|
5372 (WebKit::DrawingAreaUpdateChunk::DrawingAreaUpdateChunk): |
|
5373 Initialize m_shouldPaint to true. |
|
5374 |
|
5375 (WebKit::DrawingAreaUpdateChunk::display): |
|
5376 Return if m_shouldPaint is false. |
|
5377 |
|
5378 (WebKit::DrawingAreaUpdateChunk::scheduleDisplay): |
|
5379 Ditto. |
|
5380 |
|
5381 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
5382 Assert that we should paint here. |
|
5383 |
|
5384 (WebKit::DrawingAreaUpdateChunk::suspendPainting): |
|
5385 Set m_shouldPaint to false and stop the timer. |
|
5386 |
|
5387 (WebKit::DrawingAreaUpdateChunk::resumePainting): |
|
5388 Set m_shouldPaint to true and paint if needed. |
|
5389 |
|
5390 (WebKit::DrawingAreaUpdateChunk::didReceiveMessage): |
|
5391 handle SuspendPainting/ResumePainting messages. |
|
5392 |
|
5393 * WebProcess/WebPage/DrawingAreaUpdateChunk.h: |
|
5394 |
|
5395 2010-05-03 Anders Carlsson <andersca@apple.com> |
|
5396 |
|
5397 Reviewed by Jon Honeycutt. |
|
5398 |
|
5399 [WebKit2] WKView should respond to WM_SHOWWINDOW messages |
|
5400 https://bugs.webkit.org/show_bug.cgi?id=38496 |
|
5401 |
|
5402 * UIProcess/win/WebView.cpp: |
|
5403 (WebKit::WebView::wndProc): |
|
5404 Add case for WM_SHOWWINDOW. |
|
5405 |
|
5406 (WebKit::WebView::onShowWindowEvent): |
|
5407 Update the page visibility accordingly. |
|
5408 |
|
5409 * UIProcess/win/WebView.h: |
|
5410 |
|
5411 2010-05-03 Anders Carlsson <andersca@apple.com> |
|
5412 |
|
5413 Reviewed by Dan Bernstein. |
|
5414 |
|
5415 Get rid of PageClient::isPageVisible and pass visibility directly in setPageIsVisible |
|
5416 https://bugs.webkit.org/show_bug.cgi?id=38493 |
|
5417 |
|
5418 * UIProcess/API/mac/PageClientImpl.h: |
|
5419 * UIProcess/API/mac/PageClientImpl.mm: |
|
5420 Remove isPageVisible. |
|
5421 |
|
5422 * UIProcess/API/mac/WKView.mm: |
|
5423 (isViewVisible): |
|
5424 New function (moved here from PageClientImpl). |
|
5425 |
|
5426 (-[WKView _updateVisibility]): |
|
5427 Call didChangeVisibility. |
|
5428 |
|
5429 (-[WKView viewDidMoveToWindow]): |
|
5430 (-[WKView viewDidHide]): |
|
5431 (-[WKView viewDidUnhide]): |
|
5432 Call _updateVisibility. |
|
5433 |
|
5434 * UIProcess/DrawingAreaProxy.h: |
|
5435 Rename didChangeVisibility to setPageIsVisible and add an isVisible parameter. |
|
5436 |
|
5437 * UIProcess/DrawingAreaProxyUpdateChunk.cpp: |
|
5438 (WebKit::DrawingAreaProxyUpdateChunk::setPageIsVisible): |
|
5439 Don't call WebPageProxy::isVisible. |
|
5440 |
|
5441 * UIProcess/DrawingAreaProxyUpdateChunk.h: |
|
5442 |
|
5443 * UIProcess/PageClient.h: |
|
5444 Remove isPageVisible. |
|
5445 |
|
5446 * UIProcess/WebPageProxy.cpp: |
|
5447 * UIProcess/WebPageProxy.h: |
|
5448 Remove isVisible. |
|
5449 |
|
5450 2010-05-03 Anders Carlsson <andersca@apple.com> |
|
5451 |
|
5452 Reviewed by Adam Roben. |
|
5453 |
|
5454 Implement PageClient::isPageVisible on Windows. |
|
5455 https://bugs.webkit.org/show_bug.cgi?id=38483 |
|
5456 |
|
5457 * UIProcess/PageClient.h: |
|
5458 * UIProcess/win/WebView.cpp: |
|
5459 (WebKit::WebView::isPageVisible): |
|
5460 * UIProcess/win/WebView.h: |
|
5461 |
|
5462 2010-05-03 Anders Carlsson <andersca@apple.com> |
|
5463 |
|
5464 Fix Windows build. |
|
5465 |
|
5466 * Platform/CoreIPC/win/ConnectionWin.cpp: |
|
5467 (CoreIPC::Connection::sendOutgoingMessage): |
|
5468 * Shared/win/UpdateChunk.cpp: |
|
5469 (WebKit::UpdateChunk::UpdateChunk): |
|
5470 (WebKit::UpdateChunk::encode): |
|
5471 (WebKit::UpdateChunk::decode): |
|
5472 * Shared/win/UpdateChunk.h: |
|
5473 (WebKit::UpdateChunk::rect): |
|
5474 * UIProcess/DrawingAreaProxy.h: |
|
5475 * UIProcess/DrawingAreaProxyUpdateChunk.h: |
|
5476 * UIProcess/win/DrawingAreaProxyUpdateChunkWin.cpp: |
|
5477 (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore): |
|
5478 * WebProcess/WebPage/win/DrawingAreaUpdateChunkWin.cpp: |
|
5479 (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk): |
|
5480 * WebProcess/win/WebProcessMain.cpp: |
|
5481 |
|
5482 2010-04-30 Anders Carlsson <andersca@apple.com> |
|
5483 |
|
5484 Reviewed by Sam Weinig. |
|
5485 |
|
5486 https://bugs.webkit.org/show_bug.cgi?id=38415 |
|
5487 Have the WKView notify the DrawingAreaProxy when its visibility changes. |
|
5488 |
|
5489 * UIProcess/API/mac/PageClientImpl.h: |
|
5490 * UIProcess/API/mac/PageClientImpl.mm: |
|
5491 (WebKit::PageClientImpl::isPageVisible): |
|
5492 * UIProcess/API/mac/WKView.mm: |
|
5493 (-[WKView viewDidMoveToWindow]): |
|
5494 (-[WKView viewDidHide]): |
|
5495 (-[WKView viewDidUnhide]): |
|
5496 * UIProcess/DrawingAreaProxy.h: |
|
5497 * UIProcess/DrawingAreaProxyUpdateChunk.cpp: |
|
5498 (WebKit::DrawingAreaProxyUpdateChunk::DrawingAreaProxyUpdateChunk): |
|
5499 (WebKit::DrawingAreaProxyUpdateChunk::didChangeVisibility): |
|
5500 * UIProcess/DrawingAreaProxyUpdateChunk.h: |
|
5501 * UIProcess/PageClient.h: |
|
5502 * UIProcess/WebPageProxy.cpp: |
|
5503 (WebKit::WebPageProxy::isVisible): |
|
5504 * UIProcess/WebPageProxy.h: |
|
5505 |
|
5506 2010-05-03 Jens Alfke <snej@chromium.org> |
|
5507 |
|
5508 Reviewed by Darin Fisher. |
|
5509 |
|
5510 [chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient |
|
5511 https://bugs.webkit.org/show_bug.cgi?id=38397 |
|
5512 |
|
5513 No tests (functionality is exposed only through native WebKit API.) |
|
5514 |
|
5515 * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: |
|
5516 (WebKit::WebFrameLoaderClient::dispatchWillSendSubmitEvent): |
|
5517 |
|
5518 2010-05-01 Sam Weinig <sam@webkit.org> |
|
5519 |
|
5520 Reviewed by Anders Carlsson. |
|
5521 |
|
5522 Fix for https://bugs.webkit.org/show_bug.cgi?id=38471 |
|
5523 Add generic callback mechanism |
|
5524 |
|
5525 Added GenericCallback class replacing RenderTreeExternalRepresentationCallback |
|
5526 and ScriptReturnValueCallback. |
|
5527 |
|
5528 Also, |
|
5529 - Standardize C API callbacks to take the context last. |
|
5530 - Standardize C API callbacks to not have the _f suffix (now the block |
|
5531 variants have a _b suffix). |
|
5532 - Re-write toWK and toRef methods as a set of template functions using |
|
5533 the generic API->implementation mapping information. |
|
5534 |
|
5535 * UIProcess/API/C/WKAPICast.h: |
|
5536 * UIProcess/API/C/WKPage.cpp: |
|
5537 (WKPageRunJavaScriptInMainFrame): |
|
5538 (callRunJavaScriptBlockAndRelease): |
|
5539 (disposeRunJavaScriptBlock): |
|
5540 (WKPageRunJavaScriptInMainFrame_b): |
|
5541 (WKPageRenderTreeExternalRepresentation): |
|
5542 (WKPageRenderTreeExternalRepresentation_b): |
|
5543 * UIProcess/API/C/WKPage.h: |
|
5544 * UIProcess/API/C/WKPagePrivate.h: |
|
5545 * UIProcess/GenericCallback.h: Added. |
|
5546 (WebKit::GenericCallback::create): |
|
5547 (WebKit::GenericCallback::~GenericCallback): |
|
5548 (WebKit::GenericCallback::performCallbackWithReturnValue): |
|
5549 (WebKit::GenericCallback::invalidate): |
|
5550 (WebKit::GenericCallback::callbackID): |
|
5551 (WebKit::GenericCallback::generateCallbackID): |
|
5552 (WebKit::GenericCallback::GenericCallback): |
|
5553 * UIProcess/RenderTreeExternalRepresentationCallback.cpp: Removed. |
|
5554 * UIProcess/RenderTreeExternalRepresentationCallback.h: Removed. |
|
5555 * UIProcess/ScriptReturnValueCallback.cpp: Removed. |
|
5556 * UIProcess/ScriptReturnValueCallback.h: Removed. |
|
5557 * UIProcess/WebPageProxy.cpp: |
|
5558 (WebKit::WebPageProxy::didRunJavaScriptInMainFrame): |
|
5559 (WebKit::WebPageProxy::didGetRenderTreeExternalRepresentation): |
|
5560 * UIProcess/WebPageProxy.h: |
|
5561 * WebKit2.xcodeproj/project.pbxproj: |
|
5562 * win/WebKit2.vcproj: |
|
5563 |
|
5564 2010-04-30 Sam Weinig <sam@webkit.org> |
|
5565 |
|
5566 Fix the build. |
|
5567 |
|
5568 * Platform/CoreIPC/mac/ConnectionMac.cpp: Add missing #include. |
|
5569 |
|
5570 2010-04-30 Sam Weinig <sam@webkit.org> |
|
5571 |
|
5572 Reviewed by Anders Carlsson. |
|
5573 |
|
5574 https://bugs.webkit.org/show_bug.cgi?id=38413 |
|
5575 Add callback based API to get the textual representation of the RenderTree. |
|
5576 |
|
5577 - Also ensures that any pending callbacks are invalidated if the WebPage |
|
5578 closes (expectedly or unexpectedly). |
|
5579 - A follow up patch will unify the callback mechanism with a common base |
|
5580 class. |
|
5581 |
|
5582 * Shared/CoreIPCSupport/WebPageMessageKinds.h: |
|
5583 (WebPageMessage::): |
|
5584 * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: |
|
5585 (WebPageProxyMessage::): |
|
5586 * UIProcess/API/C/WKPage.cpp: |
|
5587 (WKPageRunJavaScriptInMainFrame_f): |
|
5588 (WKPageRenderTreeExternalRepresentation_f): |
|
5589 (callRenderTreeExternalRepresentationBlockAndDispose): |
|
5590 (disposeRenderTreeExternalRepresentationBlock): |
|
5591 (WKPageRenderTreeExternalRepresentation): |
|
5592 * UIProcess/API/C/WKPagePrivate.h: Added. |
|
5593 * UIProcess/RenderTreeExternalRepresentationCallback.cpp: Added. |
|
5594 (WebKit::generateCallbackID): |
|
5595 (WebKit::RenderTreeExternalRepresentationCallback::RenderTreeExternalRepresentationCallback): |
|
5596 (WebKit::RenderTreeExternalRepresentationCallback::~RenderTreeExternalRepresentationCallback): |
|
5597 (WebKit::RenderTreeExternalRepresentationCallback::performCallbackWithReturnValue): |
|
5598 (WebKit::RenderTreeExternalRepresentationCallback::invalidate): |
|
5599 * UIProcess/RenderTreeExternalRepresentationCallback.h: Added. |
|
5600 (WebKit::RenderTreeExternalRepresentationCallback::create): |
|
5601 (WebKit::RenderTreeExternalRepresentationCallback::callbackID): |
|
5602 * UIProcess/ScriptReturnValueCallback.cpp: |
|
5603 (WebKit::ScriptReturnValueCallback::~ScriptReturnValueCallback): |
|
5604 (WebKit::ScriptReturnValueCallback::performCallbackWithReturnValue): |
|
5605 (WebKit::ScriptReturnValueCallback::invalidate): |
|
5606 * UIProcess/ScriptReturnValueCallback.h: |
|
5607 * UIProcess/WebPageProxy.cpp: |
|
5608 (WebKit::WebPageProxy::close): |
|
5609 (WebKit::WebPageProxy::getRenderTreeExternalRepresentation): |
|
5610 (WebKit::WebPageProxy::didReceiveMessage): |
|
5611 (WebKit::WebPageProxy::didRunJavaScriptInMainFrame): |
|
5612 (WebKit::WebPageProxy::didGetRenderTreeExternalRepresentation): |
|
5613 (WebKit::WebPageProxy::processDidExit): |
|
5614 * UIProcess/WebPageProxy.h: |
|
5615 * WebKit2.xcodeproj/project.pbxproj: |
|
5616 * WebProcess/WebPage/WebPage.cpp: |
|
5617 (WebKit::WebPage::getRenderTreeExternalRepresentation): |
|
5618 (WebKit::WebPage::didReceiveMessage): |
|
5619 * WebProcess/WebPage/WebPage.h: |
|
5620 * win/WebKit2.vcproj: |
|
5621 |
|
5622 2010-04-30 Sam Weinig <sam@webkit.org> |
|
5623 |
|
5624 Reviewed by Anders Carlsson. |
|
5625 |
|
5626 Fix for https://bugs.webkit.org/show_bug.cgi?id=38406 |
|
5627 Add support for sending messages with a size greater than 4096 bytes |
|
5628 |
|
5629 Adds support by putting message bodies that are larger than 4096 bytes |
|
5630 in OOL memory. |
|
5631 |
|
5632 * Platform/CoreIPC/Connection.cpp: |
|
5633 (CoreIPC::Connection::sendMessage): |
|
5634 (CoreIPC::Connection::waitForMessage): |
|
5635 (CoreIPC::Connection::sendSyncMessage): |
|
5636 (CoreIPC::Connection::dispatchMessages): |
|
5637 * Platform/CoreIPC/Connection.h: |
|
5638 (CoreIPC::Connection::OutgoingMessage::OutgoingMessage): |
|
5639 (CoreIPC::Connection::OutgoingMessage::messageID): |
|
5640 (CoreIPC::Connection::send): |
|
5641 (CoreIPC::Connection::sendSync): |
|
5642 * Platform/CoreIPC/MessageID.h: |
|
5643 (CoreIPC::MessageID::): |
|
5644 (CoreIPC::MessageID::MessageID): |
|
5645 (CoreIPC::MessageID::equalIgnoringFlags): |
|
5646 (CoreIPC::MessageID::copyAddingFlags): |
|
5647 (CoreIPC::MessageID::fromInt): |
|
5648 (CoreIPC::MessageID::toInt): |
|
5649 (CoreIPC::MessageID::isMessageBodyOOL): |
|
5650 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
5651 (CoreIPC::Connection::sendOutgoingMessage): |
|
5652 (CoreIPC::createArgumentDecoder): |
|
5653 |
|
5654 2010-04-28 Mike Thole <mthole@apple.com> |
|
5655 |
|
5656 Build fix, not reviewed. |
|
5657 |
|
5658 Fix WebKit2 build by stubbing out WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace(). |
|
5659 |
|
5660 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5661 (WebKit::WebFrameLoaderClient::canAuthenticateAgainstProtectionSpace): |
|
5662 * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: |
|
5663 |
|
5664 2010-04-28 Sam Weinig <sam@webkit.org> |
|
5665 |
|
5666 Reviewed by Mark Rowe. |
|
5667 |
|
5668 Only build on SnowLeopard and later when using the Makefile. |
|
5669 |
|
5670 * Makefile: |
|
5671 |
|
5672 2010-04-27 Sam Weinig <sam@webkit.org> |
|
5673 |
|
5674 Reviewed by Maciej Stachowiak. |
|
5675 |
|
5676 Fix for https://bugs.webkit.org/show_bug.cgi?id=38238 |
|
5677 Allow both WebKit and WebKit2 to link to the same WebCore.framework |
|
5678 |
|
5679 * Configurations/WebKit2.xcconfig: Remove the OTHER_LDFLAGS. We don't |
|
5680 need to set WebCore as a sub_umbrella of WebKit2, since we are not |
|
5681 reexporting any of its symbols. |
|
5682 |
|
5683 2010-04-27 Sam Weinig <sam@webkit.org> |
|
5684 |
|
5685 Reviewed by Geoffrey Garen. |
|
5686 |
|
5687 Add comment about not using StringImpl::createCFString in WKStringCopyCFString. |
|
5688 |
|
5689 * UIProcess/API/C/cf/WKStringCF.cpp: |
|
5690 (WKStringCopyCFString): |
|
5691 |
|
5692 2010-04-27 Sam Weinig <sam@webkit.org> |
|
5693 |
|
5694 Reviewed by Geoffrey Garen. |
|
5695 |
|
5696 Remove call to StringImpl::createCFString and instead use CFStringCreateWithCharacters |
|
5697 directly. StringImpl::createCFString only an optimization when called |
|
5698 from the thread that WebCore is running on, which is never the case for |
|
5699 WKStringCopyCFString. We should revisit this later, perhaps adding a |
|
5700 threadspecific allocator. We also now honor the passed in allocator. |
|
5701 |
|
5702 * UIProcess/API/C/cf/WKStringCF.cpp: |
|
5703 (WKStringCopyCFString): |
|
5704 |
|
5705 2010-04-25 Sam Weinig <sam@webkit.org> |
|
5706 |
|
5707 Reviewed by Maciej Stachowiak. |
|
5708 |
|
5709 Fix for https://bugs.webkit.org/show_bug.cgi?id=38097 |
|
5710 Disentangle initializing the main thread from initializing threading |
|
5711 |
|
5712 * UIProcess/Launcher/mac/WebProcessLauncher.mm: |
|
5713 (WebKit::webThreadBody): Add call to initializeMainThread. |
|
5714 * UIProcess/Launcher/win/WebProcessLauncher.cpp: |
|
5715 (WebKit::webThreadBody): Ditto. |
|
5716 * WebProcess/Launching/mac/WebProcessMain.mm: |
|
5717 (main): Ditto. |
|
5718 * WebProcess/win/WebProcessMain.cpp: |
|
5719 (WebKit::WebProcessMain): Ditto. |
|
5720 |
|
5721 2010-04-23 Sam Weinig <sam@webkit.org> |
|
5722 |
|
5723 Reviewed by Anders Carlsson. |
|
5724 |
|
5725 https://bugs.webkit.org/show_bug.cgi?id=38065 |
|
5726 Merge mac and win DrawingAreaProxyUpdateChunk implementations. |
|
5727 |
|
5728 * UIProcess/API/mac/WKView.mm: |
|
5729 (-[WKView drawRect:]): |
|
5730 * UIProcess/DrawingAreaProxy.cpp: Copied from UIProcess/mac/DrawingAreaProxy.mm. |
|
5731 * UIProcess/DrawingAreaProxy.h: Copied from UIProcess/mac/DrawingAreaProxy.h. |
|
5732 * UIProcess/DrawingAreaProxyUpdateChunk.cpp: Copied from UIProcess/mac/DrawingAreaProxyUpdateChunk.mm. |
|
5733 (WebKit::DrawingAreaProxyUpdateChunk::DrawingAreaProxyUpdateChunk): |
|
5734 (WebKit::DrawingAreaProxyUpdateChunk::paint): |
|
5735 (WebKit::DrawingAreaProxyUpdateChunk::setSize): |
|
5736 (WebKit::DrawingAreaProxyUpdateChunk::didSetSize): |
|
5737 (WebKit::DrawingAreaProxyUpdateChunk::update): |
|
5738 (WebKit::DrawingAreaProxyUpdateChunk::didReceiveMessage): |
|
5739 * UIProcess/DrawingAreaProxyUpdateChunk.h: Copied from UIProcess/mac/DrawingAreaProxyUpdateChunk.h. |
|
5740 * UIProcess/mac/DrawingAreaProxy.h: Removed. |
|
5741 * UIProcess/mac/DrawingAreaProxy.mm: Removed. |
|
5742 * UIProcess/mac/DrawingAreaProxyUpdateChunk.h: Removed. |
|
5743 * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: Removed. |
|
5744 * UIProcess/mac/DrawingAreaProxyUpdateChunkMac.mm: Copied from UIProcess/mac/DrawingAreaProxyUpdateChunk.mm. |
|
5745 (WebKit::DrawingAreaProxyUpdateChunk::page): |
|
5746 (WebKit::DrawingAreaProxyUpdateChunk::invalidateBackingStore): |
|
5747 (WebKit::DrawingAreaProxyUpdateChunk::platformPaint): |
|
5748 (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore): |
|
5749 * UIProcess/win/DrawingAreaProxy.cpp: Removed. |
|
5750 * UIProcess/win/DrawingAreaProxy.h: Removed. |
|
5751 * UIProcess/win/DrawingAreaProxyUpdateChunkWin.cpp: Copied from UIProcess/win/DrawingAreaProxy.cpp. |
|
5752 (WebKit::DrawingAreaProxyUpdateChunk::page): |
|
5753 (WebKit::DrawingAreaProxyUpdateChunk::ensureBackingStore): |
|
5754 (WebKit::DrawingAreaProxyUpdateChunk::invalidateBackingStore): |
|
5755 (WebKit::DrawingAreaProxyUpdateChunk::platformPaint): |
|
5756 (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore): |
|
5757 * UIProcess/win/WebView.cpp: |
|
5758 (WebKit::WebView::WebView): |
|
5759 (WebKit::WebView::onPaintEvent): |
|
5760 * WebKit2.xcodeproj/project.pbxproj: |
|
5761 * win/WebKit2.vcproj: |
|
5762 |
|
5763 2010-04-23 Sam Weinig <sam@webkit.org> |
|
5764 |
|
5765 Reviewed by Anders Carlsson. |
|
5766 |
|
5767 Fix for https://bugs.webkit.org/show_bug.cgi?id=38059 |
|
5768 Merge mac and win DrawingAreaUpdateChunk implementations. |
|
5769 |
|
5770 * UIProcess/win/DrawingAreaProxy.cpp: |
|
5771 (WebKit::DrawingAreaProxy::didSetSize): |
|
5772 (WebKit::DrawingAreaProxy::didReceiveMessage): |
|
5773 * UIProcess/win/DrawingAreaProxy.h: |
|
5774 * WebKit2.xcodeproj/project.pbxproj: |
|
5775 * WebProcess/WebPage/DrawingAreaUpdateChunk.cpp: Copied from WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp. |
|
5776 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
5777 * WebProcess/WebPage/DrawingAreaUpdateChunk.h: Copied from WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h. |
|
5778 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: Removed. |
|
5779 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h: Removed. |
|
5780 * WebProcess/WebPage/mac/DrawingAreaUpdateChunkMac.cpp: Copied from WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp. |
|
5781 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: Removed. |
|
5782 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.h: Removed. |
|
5783 * WebProcess/WebPage/win/DrawingAreaUpdateChunkWin.cpp: Copied from WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp. |
|
5784 (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk): |
|
5785 * win/WebKit2.vcproj: |
|
5786 |
|
5787 2010-04-23 Anders Carlsson <andersca@apple.com> |
|
5788 |
|
5789 Reviewed by Sam Weinig. |
|
5790 |
|
5791 Remove an assert. (It's not valid when resizing). |
|
5792 |
|
5793 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: |
|
5794 (WebKit::DrawingAreaUpdateChunk::didUpdate): |
|
5795 |
|
5796 2010-04-23 Anders Carlsson <andersca@apple.com> |
|
5797 |
|
5798 Fix build. |
|
5799 |
|
5800 * UIProcess/win/DrawingAreaProxy.cpp: |
|
5801 (WebKit::DrawingAreaProxy::paint): |
|
5802 (WebKit::DrawingAreaProxy::setSize): |
|
5803 (WebKit::DrawingAreaProxy::didReceiveMessage): |
|
5804 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: |
|
5805 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
5806 (WebKit::DrawingAreaUpdateChunk::didReceiveMessage): |
|
5807 |
|
5808 2010-04-22 Anders Carlsson <andersca@apple.com> |
|
5809 |
|
5810 Reviewed by Sam Weinig. |
|
5811 |
|
5812 Remove an assert. (It's not valid when resizing). |
|
5813 |
|
5814 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: |
|
5815 (WebKit::DrawingAreaUpdateChunk::didUpdate): |
|
5816 |
|
5817 2010-04-22 Sam Weinig <sam@webkit.org> |
|
5818 |
|
5819 Reviewed by Anders Carlsson. |
|
5820 |
|
5821 Merge the prefix headers. |
|
5822 |
|
5823 * Configurations/BaseTarget.xcconfig: |
|
5824 * WebKit2.xcodeproj/project.pbxproj: |
|
5825 * WebKit2Prefix.h: |
|
5826 * WebKit2_Prefix.pch: Removed. |
|
5827 |
|
5828 2010-04-22 Anders Carlsson <andersca@apple.com> |
|
5829 |
|
5830 Reviewed by Sam Weinig. |
|
5831 |
|
5832 Don't pass the new size when calling didSetSize, it's possible to get |
|
5833 the size from the update chunk. |
|
5834 |
|
5835 * UIProcess/mac/DrawingAreaProxyUpdateChunk.h: |
|
5836 * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: |
|
5837 (WebKit::DrawingAreaProxyUpdateChunk::didSetSize): |
|
5838 (WebKit::DrawingAreaProxyUpdateChunk::didReceiveMessage): |
|
5839 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: |
|
5840 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
5841 |
|
5842 2010-04-22 Anders Carlsson <andersca@apple.com> |
|
5843 |
|
5844 Reviewed by Sam Weinig. |
|
5845 |
|
5846 Rename SetFrame and DidSetFrame to SetSize and DidSetSize. |
|
5847 |
|
5848 * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h: |
|
5849 (DrawingAreaMessage::): |
|
5850 * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h: |
|
5851 (DrawingAreaProxyMessage::): |
|
5852 * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: |
|
5853 (WebKit::DrawingAreaProxyUpdateChunk::drawRectIntoContext): |
|
5854 (WebKit::DrawingAreaProxyUpdateChunk::setSize): |
|
5855 (WebKit::DrawingAreaProxyUpdateChunk::didReceiveMessage): |
|
5856 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: |
|
5857 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
5858 (WebKit::DrawingAreaUpdateChunk::didReceiveMessage): |
|
5859 |
|
5860 2010-04-22 Sam Weinig <sam@webkit.org> |
|
5861 |
|
5862 Reviewed by Anders Carlsson. |
|
5863 |
|
5864 Fix for https://bugs.webkit.org/show_bug.cgi?id=38002 |
|
5865 Add rudimentary statistics gathering for WebKit2 |
|
5866 |
|
5867 * UIProcess/API/C/WKContext.cpp: |
|
5868 (WKContextGetStatistics): |
|
5869 * UIProcess/API/C/WKContextPrivate.h: Copied from WebKit2/UIProcess/API/C/WKContext.h. |
|
5870 * UIProcess/API/C/WKPageNamespace.cpp: |
|
5871 (WKPageNamespaceGetContext): |
|
5872 * UIProcess/API/C/WKPageNamespace.h: |
|
5873 * UIProcess/WebContext.cpp: |
|
5874 (WebKit::WebContext::getStatistics): |
|
5875 * UIProcess/WebContext.h: |
|
5876 * UIProcess/WebPageNamespace.cpp: |
|
5877 (WebKit::WebPageNamespace::getStatistics): |
|
5878 * UIProcess/WebPageNamespace.h: |
|
5879 * UIProcess/WebPageProxy.cpp: |
|
5880 (WebKit::WebPageProxy::getStatistics): |
|
5881 * UIProcess/WebPageProxy.h: |
|
5882 * UIProcess/WebProcessProxy.cpp: |
|
5883 (WebKit::WebProcessProxy::numberOfPages): |
|
5884 * UIProcess/WebProcessProxy.h: |
|
5885 * WebKit2.xcodeproj/project.pbxproj: |
|
5886 * win/WebKit2.vcproj: |
|
5887 |
|
5888 2010-04-20 Anders Carlsson <andersca@apple.com> |
|
5889 |
|
5890 Reviewed by Sam Weinig. |
|
5891 |
|
5892 Don't paint the web page before we've blit the last update chunk to the backing store. |
|
5893 |
|
5894 * UIProcess/win/DrawingAreaProxy.cpp: |
|
5895 (WebKit::DrawingAreaProxy::update): |
|
5896 (WebKit::DrawingAreaProxy::didReceiveMessage): |
|
5897 * UIProcess/win/DrawingAreaProxy.h: |
|
5898 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: |
|
5899 (WebKit::DrawingAreaUpdateChunk::DrawingAreaUpdateChunk): |
|
5900 (WebKit::DrawingAreaUpdateChunk::display): |
|
5901 (WebKit::DrawingAreaUpdateChunk::scheduleDisplay): |
|
5902 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
5903 (WebKit::DrawingAreaUpdateChunk::didUpdate): |
|
5904 (WebKit::DrawingAreaUpdateChunk::didReceiveMessage): |
|
5905 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.h: |
|
5906 |
|
5907 2010-04-20 Anders Carlsson <andersca@apple.com> |
|
5908 |
|
5909 Fix build. |
|
5910 |
|
5911 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5912 (WebKit::WebFrameLoaderClient::receivedData): |
|
5913 |
|
5914 2010-04-20 Anders Carlsson <andersca@apple.com> |
|
5915 |
|
5916 Reviewed by Sam Weinig. |
|
5917 |
|
5918 Don't paint the web page before we've blit the last update chunk to the backing store |
|
5919 https://bugs.webkit.org/show_bug.cgi?id=37896 |
|
5920 |
|
5921 * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h: |
|
5922 (DrawingAreaMessage::): |
|
5923 * UIProcess/mac/DrawingAreaProxyUpdateChunk.h: |
|
5924 * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: |
|
5925 (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore): |
|
5926 (WebKit::DrawingAreaProxyUpdateChunk::update): |
|
5927 (WebKit::DrawingAreaProxyUpdateChunk::didReceiveMessage): |
|
5928 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: |
|
5929 (WebKit::DrawingAreaUpdateChunk::DrawingAreaUpdateChunk): |
|
5930 (WebKit::DrawingAreaUpdateChunk::display): |
|
5931 (WebKit::DrawingAreaUpdateChunk::scheduleDisplay): |
|
5932 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
5933 (WebKit::DrawingAreaUpdateChunk::didUpdate): |
|
5934 (WebKit::DrawingAreaUpdateChunk::didReceiveMessage): |
|
5935 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h: |
|
5936 |
|
5937 2010-04-20 Anders Carlsson <andersca@apple.com> |
|
5938 |
|
5939 Fix build. |
|
5940 |
|
5941 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
5942 (WebKit::WebChromeClient::chooseIconForFiles): |
|
5943 * WebProcess/WebCoreSupport/WebChromeClient.h: |
|
5944 |
|
5945 2010-04-19 Anders Carlsson <andersca@apple.com> |
|
5946 |
|
5947 Fix build. |
|
5948 |
|
5949 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
5950 (WebKit::WebFrameLoaderClient::dispatchDidChangeIcons): |
|
5951 * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: |
|
5952 |
|
5953 2010-04-17 Sam Weinig <weinig@apple.com> |
|
5954 |
|
5955 Reviewed by Jon "The Belly" Honeycutt. |
|
5956 |
|
5957 Remove the need for a .defs file! Define WK_EXPORT. |
|
5958 |
|
5959 * UIProcess/API/C/WKBase.h: |
|
5960 * WebProcess/win/WebProcessMain.h: |
|
5961 * win/WebKit2.def: Removed. |
|
5962 * win/WebKit2.vcproj: |
|
5963 |
|
5964 2010-04-17 Sam Weinig <weinig@apple.com> |
|
5965 |
|
5966 Reviewed by Adam Roben. |
|
5967 |
|
5968 Teach windows MiniBrowser how to work with window.open() |
|
5969 and targeted links. |
|
5970 |
|
5971 Export WKPageSetPageUIClient. |
|
5972 |
|
5973 * win/WebKit2.def: |
|
5974 |
|
5975 2010-04-16 Sam Weinig <sam@webkit.org> |
|
5976 |
|
5977 Reviewed by Anders Carlsson. |
|
5978 |
|
5979 Fix window.open() and targeted links. |
|
5980 |
|
5981 * UIProcess/WebPageProxy.cpp: |
|
5982 (WebKit::WebPageProxy::didReceiveSyncMessage): Pass in the new pageID |
|
5983 instead of 0. |
|
5984 |
|
5985 * WebProcess/WebProcess.cpp: |
|
5986 (WebKit::WebProcess::createWebPage): Allow for the page to have already |
|
5987 been created, as is the case with programmatic window opening from within |
|
5988 WebCore (e.g. window.open() or <a target="_blank">). |
|
5989 |
|
5990 2010-04-16 Sam Weinig <sam@webkit.org> |
|
5991 |
|
5992 Reviewed by Mark Rowe. |
|
5993 |
|
5994 Don't optimize debug builds. |
|
5995 |
|
5996 * WebKit2.xcodeproj/project.pbxproj: Define GCC_OPTIMIZATION_LEVEL correctly. |
|
5997 |
|
5998 2010-04-16 Anders Carlsson <andersca@apple.com> |
|
5999 |
|
6000 Fix build. |
|
6001 |
|
6002 * WebProcess/WebPage/WebPage.cpp: |
|
6003 (WebKit::WebPage::runJavaScriptInMainFrame): |
|
6004 |
|
6005 2010-04-16 Anders Carlsson <andersca@apple.com> |
|
6006 |
|
6007 Reviewed by Sam Weinig. |
|
6008 |
|
6009 Fix windows build. |
|
6010 |
|
6011 * Platform/win/RunLoopWin.cpp: |
|
6012 (RunLoop::run): |
|
6013 * UIProcess/Launcher/win/WebProcessLauncher.cpp: |
|
6014 (WebKit::webThreadBody): |
|
6015 (WebKit::launchWebProcess): |
|
6016 * WebProcess/win/WebProcessMain.cpp: |
|
6017 (WebKit::WebProcessMain): |
|
6018 |
|
6019 2010-04-16 Sam Weinig <weinig@apple.com> |
|
6020 |
|
6021 Reviewed by Anders Carlsson. |
|
6022 |
|
6023 Make resizing responsive on Windows. |
|
6024 |
|
6025 - Use the same waitFor logic as do for the Mac resizing |
|
6026 DrawingAreaUpdateChunk code. |
|
6027 |
|
6028 * Shared/win/UpdateChunk.cpp: |
|
6029 (WebKit::UpdateChunk::UpdateChunk): |
|
6030 * Shared/win/UpdateChunk.h: |
|
6031 Add a constructor that only takes an IntRect and allocates |
|
6032 the shared memory mapping for you. |
|
6033 * UIProcess/win/DrawingAreaProxy.cpp: |
|
6034 (WebKit::DrawingAreaProxy::DrawingAreaProxy): |
|
6035 (WebKit::DrawingAreaProxy::ensureBackingStore): |
|
6036 (WebKit::DrawingAreaProxy::paint): |
|
6037 (WebKit::DrawingAreaProxy::drawUpdateChunkIntoBackingStore): |
|
6038 (WebKit::DrawingAreaProxy::setSize): |
|
6039 (WebKit::DrawingAreaProxy::didSetSize): |
|
6040 (WebKit::DrawingAreaProxy::didReceiveMessage): |
|
6041 * UIProcess/win/DrawingAreaProxy.h: |
|
6042 Perform wait in paint as we do on the mac. |
|
6043 |
|
6044 * UIProcess/win/WebView.cpp: |
|
6045 (WebKit::WebView::onSizeEvent): |
|
6046 Change to use an IntSize. |
|
6047 |
|
6048 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: |
|
6049 (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk): |
|
6050 (WebKit::DrawingAreaUpdateChunk::display): |
|
6051 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
6052 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.h: |
|
6053 Specialize setSize() drawing and factor out painting |
|
6054 into a helper function. |
|
6055 |
|
6056 2010-04-16 Anders Carlsson <andersca@apple.com> |
|
6057 |
|
6058 Reviewed by David Hyatt. |
|
6059 |
|
6060 Make run loops be allocated as thread specific data. |
|
6061 https://bugs.webkit.org/show_bug.cgi?id=37723 |
|
6062 |
|
6063 * Platform/RunLoop.cpp: |
|
6064 (RunLoop::initializeMainRunLoop): |
|
6065 (RunLoop::current): |
|
6066 (RunLoop::main): |
|
6067 * Platform/RunLoop.h: |
|
6068 * Platform/mac/RunLoopMac.mm: |
|
6069 (RunLoop::run): |
|
6070 (RunLoop::stop): |
|
6071 * UIProcess/Launcher/mac/WebProcessLauncher.mm: |
|
6072 (WebKit::webThreadBody): |
|
6073 (WebKit::launchWebProcess): |
|
6074 * UIProcess/ResponsivenessTimer.cpp: |
|
6075 (WebKit::ResponsivenessTimer::ResponsivenessTimer): |
|
6076 * WebProcess/Launching/mac/WebProcessMain.mm: |
|
6077 (main): |
|
6078 * WebProcess/WebProcess.cpp: |
|
6079 (WebKit::WebProcess::isSeparateProcess): |
|
6080 |
|
6081 2010-04-16 Sam Weinig <weinig@apple.com> |
|
6082 |
|
6083 Reviewed by Adam Roben. |
|
6084 |
|
6085 Use GDI text rendering on Windows by default. |
|
6086 |
|
6087 * WebProcess/WebPage/win/WebPageWin.cpp: |
|
6088 (WebKit::WebPage::platformInitialize): Use the AlternateRenderingMode |
|
6089 setting. |
|
6090 |
|
6091 2010-04-16 Sam Weinig <weinig@apple.com> |
|
6092 |
|
6093 Reviewed by Adam Roben. |
|
6094 |
|
6095 Fix crash when trying to load an invalid URL. |
|
6096 |
|
6097 * WebProcess/WebPage/WebPage.cpp: |
|
6098 (WebKit::WebPage::loadURL): Use constructor for ResourceRequest |
|
6099 that takes a KURL instead of the one that takes a String. The one |
|
6100 that takes a string expects a valid URL. |
|
6101 |
|
6102 2010-04-16 Sam Weinig <weinig@apple.com> |
|
6103 |
|
6104 Reviewed by Adam Roben. |
|
6105 |
|
6106 Make tooltips work. Thanks Adam! |
|
6107 |
|
6108 * UIProcess/win/WebView.cpp: |
|
6109 (WebKit::WebView::toolTipChanged): Pass the WebView's HWND, not the tooltip's. |
|
6110 |
|
6111 2010-04-15 Anders Carlsson <andersca@apple.com> |
|
6112 |
|
6113 Reviewed by Adam Roben. |
|
6114 |
|
6115 Fix build dependencies. |
|
6116 |
|
6117 * WebKit2.sln: |
|
6118 |
|
6119 2010-04-15 Adam Roben <aroben@apple.com> |
|
6120 |
|
6121 Fix Windows WebKit2 build. |
|
6122 |
|
6123 * UIProcess/WebPageProxy.cpp: |
|
6124 (WebKit::WebPageProxy::processDidExit): |
|
6125 * win/WebKit2Generated.make: |
|
6126 |
|
6127 2010-04-15 Sam Weinig <sam@webkit.org> |
|
6128 |
|
6129 Reviewed by Anders Carlsson. |
|
6130 |
|
6131 Add WebHistoryClient support. |
|
6132 https://bugs.webkit.org/show_bug.cgi?id=37671 |
|
6133 |
|
6134 Adds the following callbacks: |
|
6135 didNavigateWithNavigationData |
|
6136 didPerformClientRedirect |
|
6137 didPerformServerRedirect |
|
6138 didUpdateHistoryTitle |
|
6139 |
|
6140 * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: |
|
6141 (WebPageProxyMessage::): |
|
6142 * Shared/WebNavigationDataStore.h: Added. |
|
6143 * UIProcess/API/C/WKAPICast.h: |
|
6144 * UIProcess/API/C/WKBase.h: |
|
6145 * UIProcess/API/C/WKNavigationData.cpp: Added. |
|
6146 * UIProcess/API/C/WKNavigationData.h: Added. |
|
6147 * UIProcess/API/C/WKPage.cpp: |
|
6148 * UIProcess/API/C/WKPage.h: |
|
6149 * UIProcess/API/C/WebKit2.h: |
|
6150 * UIProcess/WebHistoryClient.cpp: Copied from UIProcess/WebUIClient.cpp. |
|
6151 * UIProcess/WebHistoryClient.h: Copied from UIProcess/WebUIClient.h. |
|
6152 * UIProcess/WebNavigationData.cpp: Added. |
|
6153 * UIProcess/WebNavigationData.h: Added. |
|
6154 * UIProcess/WebPageProxy.cpp: |
|
6155 * UIProcess/WebPageProxy.h: |
|
6156 * WebKit2.xcodeproj/project.pbxproj: |
|
6157 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6158 * win/WebKit2.vcproj: |
|
6159 |
|
6160 2010-04-15 Sam Weinig <sam@webkit.org> |
|
6161 |
|
6162 Reviewed by Adam Roben. |
|
6163 |
|
6164 Remove empty file configurations. |
|
6165 |
|
6166 * win/WebKit2.vcproj: |
|
6167 |
|
6168 2010-04-15 Sam Weinig <sam@webkit.org> |
|
6169 |
|
6170 Reviewed by Anders Carlsson. |
|
6171 |
|
6172 Fix WebKit2s build. Don't return temporaries. |
|
6173 |
|
6174 * UIProcess/API/C/cf/WKStringCF.cpp: |
|
6175 (WKStringCreateWithCFString): |
|
6176 * UIProcess/API/C/cf/WKURLCF.cpp: |
|
6177 (WKURLCreateWithCFURL): |
|
6178 (WKURLCopyCFURL): |
|
6179 |
|
6180 2010-04-12 Geoffrey Garen <ggaren@apple.com> |
|
6181 |
|
6182 Reviewed by Anders Carlsson. |
|
6183 |
|
6184 Fixed complexity and performance FIXME created by using KURL in the UI |
|
6185 process -- it turned out that everywhere we were using KURL, we could |
|
6186 have just used String instead. (That's how Windows WebKit works, too.) |
|
6187 |
|
6188 I kept WKURLRef and WKStringRef distinct opaque types in the API for now, |
|
6189 though, since there may be profit in changing their backing stores in the |
|
6190 future, and it's nice for the API to encode a difference between generic |
|
6191 strings and strings that are valid, canonical URLs. |
|
6192 |
|
6193 * Shared/KURLWrapper.h: Removed. Yay! |
|
6194 |
|
6195 * Shared/WebCoreTypeArgumentMarshalling.h: Nixed KURL marshalling functions. |
|
6196 Old callers marshal Strings now, instead. (This is what KURL was doing |
|
6197 under the covers, anyway.) |
|
6198 |
|
6199 * UIProcess/API/C/WKAPICast.h: |
|
6200 (toWK): Backed by StringImpl* now. |
|
6201 (toURLRef): Added a disambiguating function for specifying that you want |
|
6202 a WKURLRef, since StringImpl* converts to WKStringRef by default. |
|
6203 |
|
6204 * UIProcess/API/C/WKFrame.cpp: |
|
6205 (WKFrameGetProvisionalURL): |
|
6206 (WKFrameGetURL): |
|
6207 * UIProcess/API/C/WKPage.cpp: |
|
6208 (WKPageLoadURL): |
|
6209 * UIProcess/API/C/WKURL.cpp: |
|
6210 * UIProcess/API/C/cf/WKURLCF.cpp: |
|
6211 (WKURLCreateWithCFURL): |
|
6212 (WKURLCopyCFURL): |
|
6213 * UIProcess/WebFrameProxy.cpp: |
|
6214 (WebKit::WebFrameProxy::didStartProvisionalLoad): |
|
6215 (WebKit::WebFrameProxy::didCommitLoad): |
|
6216 * UIProcess/WebFrameProxy.h: |
|
6217 (WebKit::WebFrameProxy::url): |
|
6218 (WebKit::WebFrameProxy::provisionalURL): |
|
6219 * UIProcess/WebPageProxy.cpp: |
|
6220 (WebKit::WebPageProxy::loadURL): |
|
6221 (WebKit::WebPageProxy::didReceiveMessage): |
|
6222 (WebKit::WebPageProxy::didStartProvisionalLoadForFrame): |
|
6223 (WebKit::WebPageProxy::decidePolicyForNavigationAction): |
|
6224 (WebKit::WebPageProxy::decidePolicyForNewWindowAction): |
|
6225 (WebKit::WebPageProxy::decidePolicyForMIMEType): |
|
6226 (WebKit::WebPageProxy::processDidExit): |
|
6227 * UIProcess/WebPageProxy.h: |
|
6228 (WebKit::WebPageProxy::urlAtProcessExit): |
|
6229 * UIProcess/WebPolicyClient.cpp: |
|
6230 (WebKit::WebPolicyClient::decidePolicyForNavigationAction): |
|
6231 (WebKit::WebPolicyClient::decidePolicyForNewWindowAction): |
|
6232 (WebKit::WebPolicyClient::decidePolicyForMIMEType): |
|
6233 * UIProcess/WebPolicyClient.h: |
|
6234 * WebKit2.xcodeproj/project.pbxproj: |
|
6235 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6236 (WebKit::WebFrameLoaderClient::dispatchDidStartProvisionalLoad): |
|
6237 (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForMIMEType): |
|
6238 (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNewWindowAction): |
|
6239 (WebKit::WebFrameLoaderClient::dispatchDecidePolicyForNavigationAction): |
|
6240 * WebProcess/WebPage/WebPage.cpp: |
|
6241 (WebKit::WebPage::loadURL): |
|
6242 (WebKit::WebPage::didReceiveMessage): |
|
6243 * WebProcess/WebPage/WebPage.h: Replaced KURL / KURLWrapper with String. |
|
6244 |
|
6245 2010-04-14 Anders Carlsson <andersca@apple.com> |
|
6246 |
|
6247 Reviewed by Sam Weinig. |
|
6248 |
|
6249 Fix horizontal scrollbar repainting |
|
6250 https://bugs.webkit.org/show_bug.cgi?id=37626 |
|
6251 |
|
6252 Make sure that the update chunk is flipped because that's what WebCore expects. |
|
6253 |
|
6254 * Shared/mac/UpdateChunk.cpp: |
|
6255 (WebKit::UpdateChunk::createImage): |
|
6256 * Shared/mac/UpdateChunk.h: |
|
6257 Add new createImage member function that creates a CGImageRef from the update chunk. |
|
6258 |
|
6259 * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: |
|
6260 (WebKit::DrawingAreaProxyUpdateChunk::drawUpdateChunkIntoBackingStore): |
|
6261 Pass the right rectangle here; CoreGraphics wants it in non-flipped coordinates. |
|
6262 |
|
6263 (WebKit::DrawingAreaProxyUpdateChunk::ensureBackingStore): |
|
6264 Create a flipped backing store. |
|
6265 |
|
6266 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: |
|
6267 (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk): |
|
6268 Flip the update chunk. |
|
6269 |
|
6270 2010-04-14 Sam Weinig <sam@webkit.org> |
|
6271 |
|
6272 Reviewed by Anders Carlsson. |
|
6273 |
|
6274 Add WKRetainPtr helper class as private header |
|
6275 https://bugs.webkit.org/show_bug.cgi?id=37603 |
|
6276 |
|
6277 WKRetainPtr is just like RetainPtr, but works for WK types instead of |
|
6278 CF/NS types. |
|
6279 |
|
6280 * UIProcess/API/cpp: Added. |
|
6281 * UIProcess/API/cpp/WKRetainPtr.h: Added. |
|
6282 * WebKit2.xcodeproj/project.pbxproj: Add new file. |
|
6283 * win/WebKit2.vcproj: Ditto. |
|
6284 |
|
6285 2010-04-14 Sam Weinig <sam@webkit.org> |
|
6286 |
|
6287 Reviewed by Anders Carlsson. |
|
6288 |
|
6289 Make the WebProcess a LSUIElement to suppress its icon from the Dock. |
|
6290 |
|
6291 * WebKit2.xcodeproj/project.pbxproj: |
|
6292 * WebProcess/Info.plist: |
|
6293 |
|
6294 2010-04-14 Anders Carlsson <andersca@apple.com> |
|
6295 |
|
6296 Reviewed by Sam Weinig. |
|
6297 |
|
6298 Factor code to paint into an update chunk out into a separate function. |
|
6299 https://bugs.webkit.org/show_bug.cgi?id=37594 |
|
6300 |
|
6301 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: |
|
6302 (WebKit::DrawingAreaUpdateChunk::paintIntoUpdateChunk): |
|
6303 (WebKit::DrawingAreaUpdateChunk::display): |
|
6304 (WebKit::DrawingAreaUpdateChunk::setSize): |
|
6305 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h: |
|
6306 |
|
6307 2010-04-13 Sam Weinig <sam@webkit.org> |
|
6308 |
|
6309 Reviewed by Anders Carlsson. |
|
6310 |
|
6311 Fix reported leaks when quitting MiniBrowser with open pages. |
|
6312 |
|
6313 * WebProcess/WebPage/WebPage.h: Make close() public. |
|
6314 * WebProcess/WebProcess.cpp: |
|
6315 (WebKit::WebProcess::WebProcess): |
|
6316 (WebKit::WebProcess::removeWebPage): |
|
6317 (WebKit::WebProcess::didClose): If the UIProcess disappears, close |
|
6318 the live pages in an effort to not leak. |
|
6319 * WebProcess/WebProcess.h: |
|
6320 |
|
6321 2010-04-13 Sam Weinig <sam@webkit.org> |
|
6322 |
|
6323 Reviewed by Anders Carlsson. |
|
6324 |
|
6325 Do a JS collection and clear the memory cache to improve leaks output |
|
6326 when exiting. Only do this in debug builds as it is slow. |
|
6327 |
|
6328 * UIProcess/API/mac/WKView.h: |
|
6329 * UIProcess/WebProcessProxy.cpp: |
|
6330 * WebProcess/WebPage/WebPage.cpp: |
|
6331 * WebProcess/WebProcess.cpp: |
|
6332 (WebKit::WebProcess::shutdown): |
|
6333 (WebKit::WebProcess::didClose): |
|
6334 |
|
6335 2010-04-13 Sam Weinig <sam@webkit.org> |
|
6336 |
|
6337 Reviewed by Adele Peterson. |
|
6338 |
|
6339 Post a null event after calling [NSApp stop] to flush the run loop |
|
6340 and finish teardown. |
|
6341 |
|
6342 * Platform/mac/RunLoopMac.mm: |
|
6343 (RunLoop::stop): |
|
6344 |
|
6345 2010-04-12 Sam Weinig <sam@webkit.org> |
|
6346 |
|
6347 Reviewed by Anders Carlsson. |
|
6348 |
|
6349 Add #ifdef so that WKView is not included on the mac if not |
|
6350 compiling objective-c. |
|
6351 |
|
6352 * UIProcess/API/C/WebKit2.h: |
|
6353 |
|
6354 2010-04-12 Anders Carlsson <andersca@apple.com> |
|
6355 |
|
6356 Reviewed by Adam Roben. |
|
6357 |
|
6358 Add WebKit2 solution file. |
|
6359 |
|
6360 * WebKit2.sln: Added. |
|
6361 |
|
6362 2010-04-11 Sam Weinig <sam@webkit.org> |
|
6363 |
|
6364 Reviewed by Darin Adler. |
|
6365 |
|
6366 Fix for https://bugs.webkit.org/show_bug.cgi?id=37417 |
|
6367 Move duplicated internal CoreIPC message kinds to a |
|
6368 header. |
|
6369 |
|
6370 * Platform/CoreIPC/Connection.cpp: |
|
6371 (CoreIPC::Connection::processIncomingMessage): |
|
6372 * Platform/CoreIPC/CoreIPCMessageKinds.h: Added. |
|
6373 (CoreIPC::CoreIPCMessage::): |
|
6374 (CoreIPC::): |
|
6375 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
6376 * WebKit2.xcodeproj/project.pbxproj: |
|
6377 * win/WebKit2.vcproj: |
|
6378 |
|
6379 2010-04-11 Sam Weinig <sam@webkit.org> |
|
6380 |
|
6381 Rubber-stamped by Anders Carlsson. |
|
6382 |
|
6383 Disable not-implemented warnings by default for now. |
|
6384 |
|
6385 * Shared/NotImplemented.h: |
|
6386 |
|
6387 2010-04-10 Sam Weinig <sam@webkit.org> |
|
6388 |
|
6389 Reviewed by Anders Carlsson. |
|
6390 |
|
6391 Fix for https://bugs.webkit.org/show_bug.cgi?id=37399 |
|
6392 Remove use of STL data structures from CoreIPC code |
|
6393 |
|
6394 * Platform/CoreIPC/ArgumentDecoder.cpp: |
|
6395 (CoreIPC::ArgumentDecoder::ArgumentDecoder): |
|
6396 (CoreIPC::ArgumentDecoder::decodeBytes): |
|
6397 (CoreIPC::ArgumentDecoder::removeAttachment): |
|
6398 * Platform/CoreIPC/ArgumentDecoder.h: |
|
6399 Use WTF::Deque instead of std::queue and WTF::Vector |
|
6400 instead of std::vector. Replace use of malloc/free with |
|
6401 fastMalloc/fastFree. |
|
6402 |
|
6403 * Platform/CoreIPC/ArgumentEncoder.cpp: |
|
6404 (CoreIPC::ArgumentEncoder::addAttachment): |
|
6405 (CoreIPC::ArgumentEncoder::releaseAttachments): |
|
6406 * Platform/CoreIPC/ArgumentEncoder.h: |
|
6407 Use WTF::Vector instead of std::list. Replace use of malloc/free |
|
6408 with fastMalloc/fastFree. |
|
6409 |
|
6410 * Platform/CoreIPC/Connection.cpp: |
|
6411 (CoreIPC::Connection::sendMessage): |
|
6412 (CoreIPC::Connection::waitForMessage): |
|
6413 (CoreIPC::Connection::processIncomingMessage): |
|
6414 (CoreIPC::Connection::sendOutgoingMessages): |
|
6415 (CoreIPC::Connection::dispatchMessages): |
|
6416 * Platform/CoreIPC/Connection.h: |
|
6417 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
6418 (CoreIPC::Connection::sendOutgoingMessage): |
|
6419 (CoreIPC::createArgumentDecoder): |
|
6420 Use WTF::Vector instead of std::queue. |
|
6421 |
|
6422 * Platform/RunLoop.cpp: |
|
6423 (RunLoop::performWork): |
|
6424 (RunLoop::scheduleWork): |
|
6425 * Platform/RunLoop.h: |
|
6426 Ditto. |
|
6427 |
|
6428 * Platform/WorkQueue.h: |
|
6429 * Platform/win/WorkQueueWin.cpp: |
|
6430 (WorkQueue::scheduleWork): |
|
6431 (WorkQueue::performWork): |
|
6432 Ditto. |
|
6433 |
|
6434 2010-04-10 Mark Rowe <mrowe@apple.com> |
|
6435 |
|
6436 Fix an obviously incorrect part of the Xcode configuration cleanup that resulted in debug builds |
|
6437 asserting shortly after launch. |
|
6438 |
|
6439 * WebKit2.xcodeproj/project.pbxproj: Fix the setting of DEBUG_DEFINES for the Debug configuration. |
|
6440 |
|
6441 2010-04-09 Mark Rowe <mrowe@apple.com> |
|
6442 |
|
6443 Reviewed by Sam Weinig. |
|
6444 |
|
6445 Bring the WebKit2 Xcode configuration in to sync with recent changes to the WebKit Xcode configuration files. |
|
6446 |
|
6447 In particular, this updates the FEATURE_DEFINES to match those used in the other projects, and brings in |
|
6448 the changes to support building WebKit for older Mac OS X versions from the current Mac OS X version. |
|
6449 |
|
6450 * Configurations/Base.xcconfig: |
|
6451 * Configurations/DebugRelease.xcconfig: |
|
6452 * Configurations/FeatureDefines.xcconfig: |
|
6453 * Configurations/Version.xcconfig: |
|
6454 |
|
6455 2010-04-09 Mark Rowe <mrowe@apple.com> |
|
6456 |
|
6457 Reviewed by Sam Weinig. |
|
6458 |
|
6459 Clean up the Xcode project configuration. |
|
6460 |
|
6461 Common target settings are pulled out in to BaseTarget.xcconfig. The majority of setting overrides are |
|
6462 removed from the Xcode project itself. Info.plist files are updated to match those used in other frameworks. |
|
6463 |
|
6464 * Configurations/BaseTarget.xcconfig: Copied from WebKit2/Configurations/WebKit2.xcconfig. |
|
6465 * Configurations/WebKit2.xcconfig: |
|
6466 * Configurations/WebProcess.xcconfig: Copied from WebKit2/Configurations/WebKit2.xcconfig. |
|
6467 * Info.plist: |
|
6468 * WebKit2.xcodeproj/project.pbxproj: |
|
6469 * WebProcess-Info.plist: Removed. |
|
6470 * WebProcess/Info.plist: Moved from WebProcess-Info.plist. |
|
6471 |
|
6472 2010-04-09 Mark Rowe <mrowe@apple.com> |
|
6473 |
|
6474 Build fix. |
|
6475 |
|
6476 * WebProcess/WebCoreSupport/mac/WebSystemInterface.m: |
|
6477 (InitWebCoreSystemInterface): Update for recent WKSI changes. |
|
6478 |
|
6479 2010-04-09 Sam Weinig <sam@webkit.org> |
|
6480 |
|
6481 Reviewed by Darin Adler. |
|
6482 |
|
6483 Fix for https://bugs.webkit.org/show_bug.cgi?id=37351 |
|
6484 Cannot build with build-webkit --webkit2 |
|
6485 |
|
6486 Add some headers that it seems others are not getting |
|
6487 already. |
|
6488 |
|
6489 * Platform/mac/WorkQueueMac.cpp: #inlude <mach/mach_port.h> |
|
6490 * Shared/mac/UpdateChunk.cpp: #inlude <mach/vm_map.h> |
|
6491 |
|
6492 2010-04-09 Anders Carlsson <andersca@apple.com> |
|
6493 |
|
6494 More build fixes. |
|
6495 |
|
6496 * WebProcess/win/WebProcessMain.h: |
|
6497 Include windows.h here. |
|
6498 |
|
6499 * win/WebKit2.def: |
|
6500 Add new exports. |
|
6501 |
|
6502 * win/WebKit2.vcproj: |
|
6503 Add new files. |
|
6504 |
|
6505 2010-04-09 Sam Weinig <sam@webkit.org> |
|
6506 |
|
6507 Reviewed by Anders Carlsson. |
|
6508 |
|
6509 Add new WKString.h and WKURL.h headers to top |
|
6510 level include. |
|
6511 |
|
6512 * UIProcess/API/C/WebKit2.h: |
|
6513 |
|
6514 2010-04-09 Anders Carlsson <andersca@apple.com> |
|
6515 |
|
6516 More Windows build fixes. |
|
6517 |
|
6518 * Shared/NotImplemented.h: |
|
6519 * UIProcess/API/C/cf/WKURLCF.cpp: |
|
6520 Fix typo. |
|
6521 |
|
6522 (WKURLCreateWithCFURL): |
|
6523 * UIProcess/API/C/cf/WKURLCF.h: |
|
6524 Ditto. |
|
6525 |
|
6526 * win/WebKit2Generated.make: |
|
6527 Copy the new CF headers. |
|
6528 |
|
6529 2010-04-09 Sam Weinig <sam@webkit.org> |
|
6530 |
|
6531 Reviewed by Anders Carlsson. |
|
6532 |
|
6533 Two more #include sorting issues. |
|
6534 |
|
6535 * Shared/NotImplemented.h: |
|
6536 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: |
|
6537 |
|
6538 2010-04-09 Sam Weinig <sam@webkit.org> |
|
6539 |
|
6540 Reviewed by Anders Carlsson. |
|
6541 |
|
6542 Fix minor style nits found by the style-script. |
|
6543 |
|
6544 * Platform/CoreIPC/ArgumentDecoder.h: |
|
6545 * Platform/CoreIPC/ArgumentEncoder.cpp: |
|
6546 * Platform/CoreIPC/Attachment.cpp: |
|
6547 * Platform/CoreIPC/Connection.cpp: |
|
6548 * Platform/CoreIPC/Connection.h: |
|
6549 * Platform/CoreIPC/mac/ConnectionMac.cpp: |
|
6550 * Platform/CoreIPC/win/ConnectionWin.cpp: |
|
6551 * Platform/WorkQueue.h: |
|
6552 * Platform/mac/WorkQueueMac.cpp: |
|
6553 * Platform/win/RunLoopWin.cpp: |
|
6554 * Shared/KURLWrapper.h: |
|
6555 * Shared/WebCoreTypeArgumentMarshalling.h: |
|
6556 * Shared/mac/UpdateChunk.cpp: |
|
6557 * UIProcess/API/C/WKPage.cpp: |
|
6558 * UIProcess/API/C/WKURL.cpp: |
|
6559 * UIProcess/Launcher/win/WebProcessLauncher.cpp: |
|
6560 * UIProcess/ResponsivenessTimer.cpp: |
|
6561 * UIProcess/WebLoaderClient.cpp: |
|
6562 * UIProcess/WebPageProxy.h: |
|
6563 * UIProcess/WebPolicyClient.cpp: |
|
6564 * UIProcess/WebUIClient.cpp: |
|
6565 * UIProcess/win/DrawingAreaProxy.cpp: |
|
6566 * UIProcess/win/WebView.cpp: |
|
6567 * WebProcess/Launching/win/WebProcessWinMain.cpp: |
|
6568 * WebProcess/WebCoreSupport/WebChromeClient.cpp: |
|
6569 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6570 * WebProcess/WebCoreSupport/mac/WebSystemInterface.h: |
|
6571 * WebProcess/WebCoreSupport/win/WebCoreLocalizedStrings.cpp: |
|
6572 * WebProcess/WebCoreSupport/win/WebErrorsWin.cpp: |
|
6573 * WebProcess/WebPage/WebFrame.h: |
|
6574 * WebProcess/WebPage/WebPage.cpp: |
|
6575 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: |
|
6576 * WebProcess/WebProcess.h: |
|
6577 * WebProcess/win/WebLocalizableStrings.cpp: |
|
6578 * WebProcess/win/WebLocalizableStrings.h: |
|
6579 * WebProcess/win/WebProcessMain.cpp: |
|
6580 |
|
6581 2010-04-09 Anders Carlsson <andersca@apple.com> |
|
6582 |
|
6583 Fix Windows build. |
|
6584 |
|
6585 * Shared/NotImplemented.h: |
|
6586 Include stdio.h. |
|
6587 |
|
6588 2010-04-09 Sam Weinig <sam@webkit.org> |
|
6589 |
|
6590 Reviewed by Anders Carlsson. |
|
6591 |
|
6592 Fix for https://bugs.webkit.org/show_bug.cgi?id=37347 |
|
6593 Don't use CF types in the new C API |
|
6594 |
|
6595 Replace all uses of CF types in the C API. |
|
6596 - Replace CFStringRef with WKStringRef. |
|
6597 - Replace CFURLRef with WKURLRef. |
|
6598 |
|
6599 * WebKit2.xcodeproj/project.pbxproj: Add new files. |
|
6600 |
|
6601 * Shared/KURLWrapper.h: Added. RefCounted wrapper around KURL. |
|
6602 * UIProcess/API/C/WKAPICast.h: Add new conversions. |
|
6603 * UIProcess/API/C/WKBase.h: Add new types. |
|
6604 * UIProcess/API/C/WKFrame.cpp: |
|
6605 * UIProcess/API/C/WKFrame.h: |
|
6606 * UIProcess/API/C/WKPage.cpp: |
|
6607 * UIProcess/API/C/WKPage.h: |
|
6608 Replace uses of CF types with WK equivalents. |
|
6609 |
|
6610 * UIProcess/API/C/WKString.cpp: Added. |
|
6611 * UIProcess/API/C/WKString.h: Added. |
|
6612 Represents a WebCore::StringImpl*. |
|
6613 |
|
6614 * UIProcess/API/C/WKURL.cpp: Added. |
|
6615 * UIProcess/API/C/WKURL.h: Added. |
|
6616 Represents a WebKit::KURLWrapper*. |
|
6617 |
|
6618 * UIProcess/API/C/cf: Added. |
|
6619 * UIProcess/API/C/cf/WKStringCF.cpp: Added. |
|
6620 * UIProcess/API/C/cf/WKStringCF.h: Added. |
|
6621 * UIProcess/API/C/cf/WKURLCF.cpp: Added. |
|
6622 * UIProcess/API/C/cf/WKURLCF.h: Added. |
|
6623 CoreFoundation conversion files. Allows converting |
|
6624 WKStringRef <-> CFStringRef |
|
6625 WKURLRef <-> CFURLRef |
|
6626 |
|
6627 * UIProcess/ScriptReturnValueCallback.cpp: |
|
6628 (WebKit::ScriptReturnValueCallback::performCallbackWithReturnValue): |
|
6629 * UIProcess/ScriptReturnValueCallback.h: |
|
6630 * UIProcess/WebFrameProxy.cpp: |
|
6631 (WebKit::WebFrameProxy::didStartProvisionalLoad): |
|
6632 (WebKit::WebFrameProxy::didCommitLoad): |
|
6633 * UIProcess/WebFrameProxy.h: |
|
6634 (WebKit::WebFrameProxy::url): |
|
6635 (WebKit::WebFrameProxy::provisionalURL): |
|
6636 * UIProcess/WebLoaderClient.cpp: |
|
6637 (WebKit::WebLoaderClient::didReceiveTitleForFrame): |
|
6638 * UIProcess/WebLoaderClient.h: |
|
6639 * UIProcess/WebPageProxy.cpp: |
|
6640 (WebKit::WebPageProxy::close): |
|
6641 (WebKit::WebPageProxy::didReceiveTitleForFrame): |
|
6642 (WebKit::WebPageProxy::decidePolicyForNavigationAction): |
|
6643 (WebKit::WebPageProxy::decidePolicyForNewWindowAction): |
|
6644 (WebKit::WebPageProxy::decidePolicyForMIMEType): |
|
6645 (WebKit::WebPageProxy::runJavaScriptAlert): |
|
6646 (WebKit::WebPageProxy::didRunJavaScriptInMainFrame): |
|
6647 (WebKit::WebPageProxy::processDidExit): |
|
6648 * UIProcess/WebPageProxy.h: |
|
6649 (WebKit::WebPageProxy::pageTitle): |
|
6650 (WebKit::WebPageProxy::urlAtProcessExit): |
|
6651 * UIProcess/WebPolicyClient.cpp: |
|
6652 (WebKit::WebPolicyClient::decidePolicyForNavigationAction): |
|
6653 (WebKit::WebPolicyClient::decidePolicyForNewWindowAction): |
|
6654 (WebKit::WebPolicyClient::decidePolicyForMIMEType): |
|
6655 * UIProcess/WebPolicyClient.h: |
|
6656 * UIProcess/WebUIClient.cpp: |
|
6657 (WebKit::WebUIClient::runJavaScriptAlert): |
|
6658 * UIProcess/WebUIClient.h: |
|
6659 Don't use CF types internally at all. |
|
6660 |
|
6661 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: |
|
6662 (WebKit::WebFrameLoaderClient::frameLoaderDestroyed): |
|
6663 Fix typo. |
|
6664 |
|
6665 2010-04-08 Sam Weinig <sam@webkit.org> |
|
6666 |
|
6667 Reviewed by Anders Carlsson. |
|
6668 |
|
6669 Add build support for WebKit2. |
|
6670 |
|
6671 * Configurations: Added. |
|
6672 * Configurations/Base.xcconfig: Added. |
|
6673 * Configurations/DebugRelease.xcconfig: Added. |
|
6674 * Configurations/FeatureDefines.xcconfig: Added. |
|
6675 * Configurations/Version.xcconfig: Added. |
|
6676 * Configurations/WebKit2.xcconfig: Added. |
|
6677 * English.lproj: Added. |
|
6678 * English.lproj/InfoPlist.strings: Added. |
|
6679 * Info.plist: Added. |
|
6680 * Makefile: Added. |
|
6681 * WebKit2.xcodeproj: Added. |
|
6682 * WebKit2.xcodeproj/project.pbxproj: Added. |
|
6683 * WebKit2Prefix.cpp: Added. |
|
6684 * WebKit2Prefix.h: Added. |
|
6685 * WebKit2_Prefix.pch: Added. |
|
6686 * WebProcess-Info.plist: Added. |
|
6687 * version.plist: Added. |
|
6688 * win: Added. |
|
6689 * win/WebKit2.def: Added. |
|
6690 * win/WebKit2.vcproj: Added. |
|
6691 * win/WebKit2Generated.make: Added. |
|
6692 * win/WebKit2Generated.vcproj: Added. |
|
6693 * win/WebKit2WebProcess.vcproj: Added. |
|
6694 |
|
6695 2010-04-08 Anders Carlsson <andersca@apple.com> |
|
6696 |
|
6697 Reviewed by Sam Weinig. |
|
6698 |
|
6699 https://bugs.webkit.org/show_bug.cgi?id=37301 |
|
6700 Add WebKit2/UIProcess directory. |
|
6701 |
|
6702 * UIProcess: Added. |
|
6703 * UIProcess/API: Added. |
|
6704 * UIProcess/API/C: Added. |
|
6705 * UIProcess/API/C/WKAPICast.h: Added. |
|
6706 * UIProcess/API/C/WKBase.h: Added. |
|
6707 * UIProcess/API/C/WKContext.cpp: Added. |
|
6708 * UIProcess/API/C/WKContext.h: Added. |
|
6709 * UIProcess/API/C/WKFrame.cpp: Added. |
|
6710 * UIProcess/API/C/WKFrame.h: Added. |
|
6711 * UIProcess/API/C/WKFramePolicyListener.cpp: Added. |
|
6712 * UIProcess/API/C/WKFramePolicyListener.h: Added. |
|
6713 * UIProcess/API/C/WKPage.cpp: Added. |
|
6714 * UIProcess/API/C/WKPage.h: Added. |
|
6715 * UIProcess/API/C/WKPageNamespace.cpp: Added. |
|
6716 * UIProcess/API/C/WKPageNamespace.h: Added. |
|
6717 * UIProcess/API/C/WKPreferences.cpp: Added. |
|
6718 * UIProcess/API/C/WKPreferences.h: Added. |
|
6719 * UIProcess/API/C/WebKit2.h: Added. |
|
6720 * UIProcess/API/mac: Added. |
|
6721 * UIProcess/API/mac/PageClientImpl.h: Added. |
|
6722 * UIProcess/API/mac/PageClientImpl.mm: Added. |
|
6723 * UIProcess/API/mac/WKView.h: Added. |
|
6724 * UIProcess/API/mac/WKView.mm: Added. |
|
6725 * UIProcess/API/mac/WKViewInternal.h: Added. |
|
6726 * UIProcess/API/win: Added. |
|
6727 * UIProcess/API/win/WKAPICastWin.h: Added. |
|
6728 * UIProcess/API/win/WKBaseWin.h: Added. |
|
6729 * UIProcess/API/win/WKView.cpp: Added. |
|
6730 * UIProcess/API/win/WKView.h: Added. |
|
6731 * UIProcess/Launcher: Added. |
|
6732 * UIProcess/Launcher/WebProcessLauncher.h: Added. |
|
6733 * UIProcess/Launcher/mac: Added. |
|
6734 * UIProcess/Launcher/mac/WebProcessLauncher.mm: Added. |
|
6735 * UIProcess/Launcher/win: Added. |
|
6736 * UIProcess/Launcher/win/WebProcessLauncher.cpp: Added. |
|
6737 * UIProcess/PageClient.h: Added. |
|
6738 * UIProcess/ProcessModel.h: Added. |
|
6739 * UIProcess/ResponsivenessTimer.cpp: Added. |
|
6740 * UIProcess/ResponsivenessTimer.h: Added. |
|
6741 * UIProcess/ScriptReturnValueCallback.cpp: Added. |
|
6742 * UIProcess/ScriptReturnValueCallback.h: Added. |
|
6743 * UIProcess/WebContext.cpp: Added. |
|
6744 * UIProcess/WebContext.h: Added. |
|
6745 * UIProcess/WebFramePolicyListenerProxy.cpp: Added. |
|
6746 * UIProcess/WebFramePolicyListenerProxy.h: Added. |
|
6747 * UIProcess/WebFrameProxy.cpp: Added. |
|
6748 * UIProcess/WebFrameProxy.h: Added. |
|
6749 * UIProcess/WebLoaderClient.cpp: Added. |
|
6750 * UIProcess/WebLoaderClient.h: Added. |
|
6751 * UIProcess/WebPageNamespace.cpp: Added. |
|
6752 * UIProcess/WebPageNamespace.h: Added. |
|
6753 * UIProcess/WebPageProxy.cpp: Added. |
|
6754 * UIProcess/WebPageProxy.h: Added. |
|
6755 * UIProcess/WebPolicyClient.cpp: Added. |
|
6756 * UIProcess/WebPolicyClient.h: Added. |
|
6757 * UIProcess/WebPreferences.cpp: Added. |
|
6758 * UIProcess/WebPreferences.h: Added. |
|
6759 * UIProcess/WebProcessManager.cpp: Added. |
|
6760 * UIProcess/WebProcessManager.h: Added. |
|
6761 * UIProcess/WebProcessProxy.cpp: Added. |
|
6762 * UIProcess/WebProcessProxy.h: Added. |
|
6763 * UIProcess/WebUIClient.cpp: Added. |
|
6764 * UIProcess/WebUIClient.h: Added. |
|
6765 * UIProcess/mac: Added. |
|
6766 * UIProcess/mac/DrawingAreaProxy.h: Added. |
|
6767 * UIProcess/mac/DrawingAreaProxy.mm: Added. |
|
6768 * UIProcess/mac/DrawingAreaProxyUpdateChunk.h: Added. |
|
6769 * UIProcess/mac/DrawingAreaProxyUpdateChunk.mm: Added. |
|
6770 * UIProcess/win: Added. |
|
6771 * UIProcess/win/DrawingAreaProxy.cpp: Added. |
|
6772 * UIProcess/win/DrawingAreaProxy.h: Added. |
|
6773 * UIProcess/win/WebView.cpp: Added. |
|
6774 * UIProcess/win/WebView.h: Added. |
|
6775 |
|
6776 2010-04-08 Anders Carlsson <andersca@apple.com> |
|
6777 |
|
6778 Reviewed by Sam Weinig and Oliver Hunt. |
|
6779 |
|
6780 https://bugs.webkit.org/show_bug.cgi?id=37300 |
|
6781 Add WebKit2/WebProcess directory. |
|
6782 |
|
6783 * WebProcess: Added. |
|
6784 * WebProcess/Launching: Added. |
|
6785 * WebProcess/Launching/mac: Added. |
|
6786 * WebProcess/Launching/mac/WebProcessMain.mm: Added. |
|
6787 * WebProcess/Launching/win: Added. |
|
6788 * WebProcess/Launching/win/WebProcessWinMain.cpp: Added. |
|
6789 * WebProcess/WebCoreSupport: Added. |
|
6790 * WebProcess/WebCoreSupport/WebChromeClient.cpp: Added. |
|
6791 * WebProcess/WebCoreSupport/WebChromeClient.h: Added. |
|
6792 * WebProcess/WebCoreSupport/WebContextMenuClient.cpp: Added. |
|
6793 * WebProcess/WebCoreSupport/WebContextMenuClient.h: Added. |
|
6794 * WebProcess/WebCoreSupport/WebDragClient.cpp: Added. |
|
6795 * WebProcess/WebCoreSupport/WebDragClient.h: Added. |
|
6796 * WebProcess/WebCoreSupport/WebEditorClient.cpp: Added. |
|
6797 * WebProcess/WebCoreSupport/WebEditorClient.h: Added. |
|
6798 * WebProcess/WebCoreSupport/WebErrors.h: Added. |
|
6799 * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: Added. |
|
6800 * WebProcess/WebCoreSupport/WebInspectorClient.h: Added. |
|
6801 * WebProcess/WebCoreSupport/mac: Added. |
|
6802 * WebProcess/WebCoreSupport/mac/WebErrorsMac.mm: Added. |
|
6803 * WebProcess/WebCoreSupport/mac/WebSystemInterface.h: Added. |
|
6804 * WebProcess/WebCoreSupport/mac/WebSystemInterface.m: Added. |
|
6805 * WebProcess/WebCoreSupport/win: Added. |
|
6806 * WebProcess/WebCoreSupport/win/WebCoreLocalizedStrings.cpp: Added. |
|
6807 * WebProcess/WebCoreSupport/win/WebErrorsWin.cpp: Added. |
|
6808 * WebProcess/WebPage: Added. |
|
6809 * WebProcess/WebPage/DrawingArea.cpp: Added. |
|
6810 * WebProcess/WebPage/DrawingArea.h: Added. |
|
6811 * WebProcess/WebPage/WebFrame.cpp: Added. |
|
6812 * WebProcess/WebPage/WebFrame.h: Added. |
|
6813 * WebProcess/WebPage/WebPage.cpp: Added. |
|
6814 * WebProcess/WebPage/WebPage.h: Added. |
|
6815 * WebProcess/WebPage/mac: Added. |
|
6816 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.cpp: Added. |
|
6817 * WebProcess/WebPage/mac/DrawingAreaUpdateChunk.h: Added. |
|
6818 * WebProcess/WebPage/mac/WebPageMac.mm: Added. |
|
6819 * WebProcess/WebPage/win: Added. |
|
6820 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.cpp: Added. |
|
6821 * WebProcess/WebPage/win/DrawingAreaUpdateChunk.h: Added. |
|
6822 * WebProcess/WebPage/win/WebPageWin.cpp: Added. |
|
6823 * WebProcess/WebProcess.cpp: Added. |
|
6824 * WebProcess/WebProcess.h: Added. |
|
6825 * WebProcess/win: Added. |
|
6826 * WebProcess/win/DllMain.cpp: Added. |
|
6827 * WebProcess/win/WebLocalizableStrings.cpp: Added. |
|
6828 * WebProcess/win/WebLocalizableStrings.h: Added. |
|
6829 * WebProcess/win/WebProcessMain.cpp: Added. |
|
6830 * WebProcess/win/WebProcessMain.h: Added. |
|
6831 |
|
6832 2010-04-08 Sam Weinig <sam@webkit.org> |
|
6833 |
|
6834 Reviewed by Anders Carlsson. |
|
6835 |
|
6836 https://bugs.webkit.org/show_bug.cgi?id=37295 |
|
6837 Add WebKit2/Shared directory. |
|
6838 |
|
6839 * Shared: Added. |
|
6840 * Shared/CoreIPCSupport: Added. |
|
6841 * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h: Added. |
|
6842 * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h: Added. |
|
6843 * Shared/CoreIPCSupport/WebPageMessageKinds.h: Added. |
|
6844 * Shared/CoreIPCSupport/WebPageProxyMessageKinds.h: Added. |
|
6845 * Shared/CoreIPCSupport/WebProcessMessageKinds.h: Added. |
|
6846 * Shared/NotImplemented.h: Added. |
|
6847 * Shared/WebCoreTypeArgumentMarshalling.h: Added. |
|
6848 * Shared/WebEvent.h: Added. |
|
6849 * Shared/WebEventConversion.cpp: Added. |
|
6850 * Shared/WebEventConversion.h: Added. |
|
6851 * Shared/WebPreferencesStore.cpp: Added. |
|
6852 * Shared/WebPreferencesStore.h: Added. |
|
6853 * Shared/mac: Added. |
|
6854 * Shared/mac/UpdateChunk.cpp: Added. |
|
6855 * Shared/mac/UpdateChunk.h: Added. |
|
6856 * Shared/mac/WebEventFactory.h: Added. |
|
6857 * Shared/mac/WebEventFactory.mm: Added. |
|
6858 * Shared/win: Added. |
|
6859 * Shared/win/UpdateChunk.cpp: Added. |
|
6860 * Shared/win/UpdateChunk.h: Added. |
|
6861 * Shared/win/WebEventFactory.cpp: Added. |
|
6862 * Shared/win/WebEventFactory.h: Added. |
|
6863 |
|
6864 2010-04-08 Sam Weinig <sam@webkit.org> |
|
6865 |
|
6866 Reviewed by Anders Carlsson. |
|
6867 |
|
6868 https://bugs.webkit.org/show_bug.cgi?id=37293 |
|
6869 Add WebKit2/Platform directory. |
|
6870 |
|
6871 * Platform: Added. |
|
6872 * Platform/CoreIPC: Added. |
|
6873 * Platform/CoreIPC/ArgumentDecoder.cpp: Added. |
|
6874 * Platform/CoreIPC/ArgumentDecoder.h: Added. |
|
6875 * Platform/CoreIPC/ArgumentEncoder.cpp: Added. |
|
6876 * Platform/CoreIPC/ArgumentEncoder.h: Added. |
|
6877 * Platform/CoreIPC/Arguments.h: Added. |
|
6878 * Platform/CoreIPC/Attachment.cpp: Added. |
|
6879 * Platform/CoreIPC/Attachment.h: Added. |
|
6880 * Platform/CoreIPC/Connection.cpp: Added. |
|
6881 * Platform/CoreIPC/Connection.h: Added. |
|
6882 * Platform/CoreIPC/MessageID.h: Added. |
|
6883 * Platform/CoreIPC/mac: Added. |
|
6884 * Platform/CoreIPC/mac/ConnectionMac.cpp: Added. |
|
6885 * Platform/CoreIPC/mac/MachPort.h: Added. |
|
6886 * Platform/CoreIPC/win: Added. |
|
6887 * Platform/CoreIPC/win/ConnectionWin.cpp: Added. |
|
6888 * Platform/PlatformProcessIdentifier.h: Added. |
|
6889 * Platform/RunLoop.cpp: Added. |
|
6890 * Platform/RunLoop.h: Added. |
|
6891 * Platform/WorkItem.h: Added. |
|
6892 * Platform/WorkQueue.cpp: Added. |
|
6893 * Platform/WorkQueue.h: Added. |
|
6894 * Platform/mac: Added. |
|
6895 * Platform/mac/RunLoopMac.mm: Added. |
|
6896 * Platform/mac/WorkQueueMac.cpp: Added. |
|
6897 * Platform/win: Added. |
|
6898 * Platform/win/RunLoopWin.cpp: Added. |
|
6899 |
|
6900 2010-04-08 Sam Weinig <sam@webkit.org> |
|
6901 |
|
6902 Rubber-stamped by Mark Rowe. |
|
6903 |
|
6904 Add WebKit2 directory. |