bc9e5ffdda7884d124336012b180db2d29442fb8
[WebKit-https.git] / Source / WebKit2 / ChangeLog
1 2011-06-11  Stephanie Lewis  <slewis@apple.com>
2
3         Reviewed by Sam Weinig.
4
5         https://bugs.webkit.org/show_bug.cgi?id=62480
6         part of <rdar://problem/8675177>
7         Add API to launch the WebProcess.  Launching it earlier can save time 
8         when loading the first page.
9
10         * UIProcess/API/C/WKContext.cpp:
11         (WKContextWarmInitialProcess):
12         * UIProcess/API/C/WKContextPrivate.h:
13         * UIProcess/WebContext.cpp:
14         (WebKit::WebContext::warmInitialProcess):
15         * UIProcess/WebContext.h:
16
17 2011-06-09  Jer Noble  <jer.noble@apple.com>
18
19         Reviewed by Darin Adler.
20
21         AVPlayerLayer is adding a "fade" animation during Safari full-screen
22         https://bugs.webkit.org/show_bug.cgi?id=62433
23
24         CoreAnimation will add default animations when certain properties are changed, unless
25         those changes are wrapped in a CATransaction which has had its disableActions property set
26         to true.  Wrap each of these three property changes in a CATransaction and disable its actions,
27         so that the default "fade" animation is not created in response.
28
29         * UIProcess/mac/WKFullScreenWindowController.mm:
30         (-[WKFullScreenWindowController enterFullScreen:]): Wrap with CATransaction.
31         (-[WKFullScreenWindowController _swapView:with:]): Ditto:
32         * WebProcess/FullScreen/mac/WebFullScreenManagerMac.mm:
33         (WebKit::WebFullScreenManagerMac::setRootFullScreenLayer): Ditto.
34
35 2011-06-10  Anders Carlsson  <andersca@apple.com>
36
37         Reviewed by Sam Weinig.
38
39         REGRESSION (WebKit2): window.showModalDialog() broken
40         https://bugs.webkit.org/show_bug.cgi?id=62496
41         <rdar://problem/9581492>
42
43         If dispatching a message ends up creating a nested run loop, some incoming messages can end up not being
44         delivered until we exit from the run loop.
45
46         Fix this by using a Deque instead of a Vector for incoming messages, and get one message at a time and then
47         dispatch it. That prevents us from having any lingering messages lying around in stack allocated space.
48
49         * Platform/CoreIPC/Connection.cpp:
50         (CoreIPC::Connection::waitForMessage):
51         (CoreIPC::Connection::dispatchMessages):
52         * Platform/CoreIPC/Connection.h:
53
54 2011-06-10  Sam Weinig  <sam@webkit.org>
55
56         Reviewed by Anders Carlsson.
57
58         Unresponsive cursor is shown when displaying a modal dialog
59         Part of <rdar://problem/9581492>
60         https://bugs.webkit.org/show_bug.cgi?id=62494
61
62         * UIProcess/WebPageProxy.cpp:
63         (WebKit::WebPageProxy::runModal):
64         * UIProcess/WebPageProxy.h:
65         Stop the responsiveness timer when calling out to show a modal dialog.
66
67 2011-06-10  Tony Chang  <tony@chromium.org>
68
69         Reviewed by Ojan Vafai.
70
71         add a compile guard ENABLE(FLEXBOX)
72         https://bugs.webkit.org/show_bug.cgi?id=62049
73
74         * Configurations/FeatureDefines.xcconfig:
75
76 2011-06-10  Ryuan Choi  <ryuan.choi@samsung.com>
77
78         Reviewed by Kenneth Rohde Christiansen.
79
80         [EFL][WK2] Add dummy files in WebProcess/WebCoreSupport/efl
81         https://bugs.webkit.org/show_bug.cgi?id=62346
82
83         Add WebProcess/WebCoreSupport/efl directory and files.
84
85         * WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp: Added.
86         (WebKit::WebContextMenuClient::lookUpInDictionary):
87         (WebKit::WebContextMenuClient::isSpeaking):
88         (WebKit::WebContextMenuClient::speak):
89         (WebKit::WebContextMenuClient::stopSpeaking):
90         * WebProcess/WebCoreSupport/efl/WebEditorClientEfl.cpp: Added.
91         (WebKit::WebEditorClient::handleKeyboardEvent):
92         (WebKit::WebEditorClient::handleInputMethodKeydown):
93         * WebProcess/WebCoreSupport/efl/WebErrorsEfl.cpp: Added.
94         (WebKit::cancelledError):
95         (WebKit::blockedError):
96         (WebKit::cannotShowURLError):
97         (WebKit::interruptForPolicyChangeError):
98         (WebKit::cannotShowMIMETypeError):
99         (WebKit::fileDoesNotExistError):
100         (WebKit::pluginWillHandleLoadError):
101         * WebProcess/WebCoreSupport/efl/WebFrameNetworkingContext.h: Added.
102         (WebFrameNetworkingContext::create):
103         (WebFrameNetworkingContext::WebFrameNetworkingContext):
104         * WebProcess/WebCoreSupport/efl/WebPopupMenuEfl.cpp: Added.
105         (WebKit::WebPopupMenu::setUpPlatformData):
106
107 2011-06-09  Andreas Kling  <kling@webkit.org>
108
109         Reviewed by Darin Adler.
110
111         WebKit2: Remove unused function CoreIPC::Connection::deprecatedWaitFor().
112         https://bugs.webkit.org/show_bug.cgi?id=62386
113
114         * Platform/CoreIPC/Connection.h:
115
116 2011-06-09  Andreas Kling  <kling@webkit.org>
117
118         Reviewed by Anders Carlsson.
119
120         [Qt][WK2] Remove usage of deprecated CoreIPC functions.
121         https://bugs.webkit.org/show_bug.cgi?id=62290
122
123         Use the new DrawingArea{,Proxy}.messages.in approach to CoreIPC in TiledDrawingArea.
124         The TiledDrawingArea{,Proxy}-specific messages were moved up into DrawingArea{,Proxy}
125         and guarded by ENABLE(TILED_BACKING_STORE).
126
127         * Shared/CoreIPCSupport/DrawingAreaMessageKinds.h: Removed.
128         * Shared/CoreIPCSupport/DrawingAreaProxyMessageKinds.h: Removed.
129
130         * GNUmakefile.am:
131         * WebKit2.pro:
132         * WebKit2.xcodeproj/project.pbxproj:
133         * win/WebKit2.vcproj: Prune deleted files from build system.
134
135         * Platform/CoreIPC/MessageID.h: Remove legacy DrawingArea message ID's.
136
137         * UIProcess/API/qt/qgraphicswkview.cpp:
138         (QGraphicsWKViewPrivate::commitScale): No longer waits for all tile updates to complete,
139         this will be addressed by the soon-to-be-upstreamed TileSet mechanism.
140
141         * UIProcess/DrawingAreaProxy.messages.in:
142         * UIProcess/DrawingAreaProxy.h:
143         (WebKit::DrawingAreaProxy::didSetSize):
144         (WebKit::DrawingAreaProxy::invalidate):
145         (WebKit::DrawingAreaProxy::snapshotTaken):
146         (WebKit::DrawingAreaProxy::tileUpdated):
147         (WebKit::DrawingAreaProxy::allTileUpdatesProcessed): Added IPC calls used by
148         TiledDrawingAreaProxy to DrawingAreaProxy.
149
150         * WebProcess/WebPage/DrawingArea.messages.in:
151         * WebProcess/WebPage/DrawingArea.h:
152         (WebKit::DrawingArea::setSize):
153         (WebKit::DrawingArea::cancelTileUpdate):
154         (WebKit::DrawingArea::requestTileUpdate):
155         (WebKit::DrawingArea::takeSnapshot): Added IPC calls used by TiledDrawingArea
156         to DrawingArea.
157
158         * UIProcess/DrawingAreaProxyImpl.h:
159         * UIProcess/DrawingAreaProxyImpl.cpp: Remove the now-unneeded didReceiveMessage()
160         and didReceiveSyncMessage().
161
162         * WebProcess/WebPage/DrawingAreaImpl.cpp:
163         * WebProcess/WebPage/DrawingAreaImpl.h: Remove the now-unneeded didReceiveMessage().
164
165         * UIProcess/TiledDrawingAreaProxy.h:
166         * UIProcess/TiledDrawingAreaProxy.cpp:
167         (WebKit::TiledDrawingAreaProxy::sizeDidChange):
168         (WebKit::TiledDrawingAreaProxy::tileUpdated):
169         (WebKit::TiledDrawingAreaProxy::allTileUpdatesProcessed): Split didReceiveMessage()
170         into functions.
171
172         (WebKit::TiledDrawingAreaProxy::removeTile):
173         (WebKit::TiledDrawingAreaProxy::requestTileUpdate):
174         (WebKit::TiledDrawingAreaProxy::setPageIsVisible):
175         (WebKit::TiledDrawingAreaProxy::takeSnapshot): Use new-style IPC.
176
177         * WebProcess/WebPage/TiledDrawingArea.cpp:
178         (WebKit::TiledDrawingArea::setSize):
179         (WebKit::TiledDrawingArea::cancelTileUpdate):
180         (WebKit::TiledDrawingArea::requestTileUpdate):
181         (WebKit::TiledDrawingArea::takeSnapshot): Split didReceiveMessage() into functions.
182
183         (WebKit::TiledDrawingArea::display):
184         (WebKit::TiledDrawingArea::updateTile):
185         (WebKit::TiledDrawingArea::tileUpdateTimerFired): Use new-style IPC.
186
187         * UIProcess/WebPageProxy.cpp:
188         (WebKit::WebPageProxy::didReceiveMessage): Remove handling of
189         CoreIPC::MessageClassDrawingAreaProxyLegacy.
190
191         * WebProcess/WebPage/WebPage.cpp:
192         (WebKit::WebPage::didReceiveMessage): Remove handling of
193         CoreIPC::MessageClassDrawingAreaLegacy.
194
195         * UIProcess/qt/TiledDrawingAreaProxyQt.cpp: Remove unneeded includes.
196
197         * WebProcess/WebPage/TiledDrawingArea.h: Remove didReceiveMessage() and make
198         CoreIPC message handlers explicitly virtual.
199
200 2011-06-09  Andreas Kling  <kling@webkit.org>
201
202         Reviewed by Anders Carlsson.
203
204         WebKit2: Generate correct header conditionals in message receivers.
205         https://bugs.webkit.org/show_bug.cgi?id=62379
206
207         Given a *.messages.in file like this:
208
209         Foo(AwesomeObject o)
210         #if ENABLE(ESOTERIC_FEATURE)
211         Bar(AwesomeObject o)
212         #endif
213
214         messages.py would include AwesomeObject.h only #if ENABLE(ESOTERIC_FEATURE).
215         This breaks the build on platforms without that defined.
216
217         Furthermore, if two messages guarded by different conditionals both pull in the same
218         header, only the last conditional will be applied, for example:
219
220         #if ENABLE(ESOTERIC_FEATURE)
221         Foo(AwesomeObject o)
222         #endif
223         #if ENABLE(MYSTERIOUS_FEATURE)
224         Bar(AwesomeObject o)
225         #endif
226
227         Would include AwesomeObject.h #if ENABLE(MYSTERIOUS_FEATURE) when it really should
228         check #if ENABLE(ESOTERIC_FEATURE) || ENABLE(MYSTERIOUS_FEATURE).
229
230         Change the generator to consider all conditionals for a given header file.
231         Also consider conditionals for reply parameters.
232
233         * Scripts/webkit2/messages.py:
234         * Scripts/webkit2/messages_unittest.py:
235
236 2011-06-09  Eunmi Lee  <eunmi15.lee@samsung.com>
237
238         Reviewed by Kenneth Rohde Christiansen.
239
240         [EFL][WK2] Add PageClientImpl and WebPageProxyEfl for efl port
241         https://bugs.webkit.org/show_bug.cgi?id=62363
242
243         * UIProcess/API/efl/PageClientImpl.cpp: Added.
244         (WebKit::PageClientImpl::PageClientImpl):
245         (WebKit::PageClientImpl::~PageClientImpl):
246         (WebKit::PageClientImpl::createDrawingAreaProxy):
247         (WebKit::PageClientImpl::setViewNeedsDisplay):
248         (WebKit::PageClientImpl::displayView):
249         (WebKit::PageClientImpl::scrollView):
250         (WebKit::PageClientImpl::viewSize):
251         (WebKit::PageClientImpl::isViewWindowActive):
252         (WebKit::PageClientImpl::isViewFocused):
253         (WebKit::PageClientImpl::isViewVisible):
254         (WebKit::PageClientImpl::isViewInWindow):
255         (WebKit::PageClientImpl::processDidCrash):
256         (WebKit::PageClientImpl::didRelaunchProcess):
257         (WebKit::PageClientImpl::pageClosed):
258         (WebKit::PageClientImpl::toolTipChanged):
259         (WebKit::PageClientImpl::setCursor):
260         (WebKit::PageClientImpl::setViewportArguments):
261         (WebKit::PageClientImpl::registerEditCommand):
262         (WebKit::PageClientImpl::clearAllEditCommands):
263         (WebKit::PageClientImpl::canUndoRedo):
264         (WebKit::PageClientImpl::executeUndoRedo):
265         (WebKit::PageClientImpl::convertToDeviceSpace):
266         (WebKit::PageClientImpl::convertToUserSpace):
267         (WebKit::PageClientImpl::windowToScreen):
268         (WebKit::PageClientImpl::doneWithKeyEvent):
269         (WebKit::PageClientImpl::createPopupMenuProxy):
270         (WebKit::PageClientImpl::createContextMenuProxy):
271         (WebKit::PageClientImpl::setFindIndicator):
272         (WebKit::PageClientImpl::didChangeScrollbarsForMainFrame):
273         (WebKit::PageClientImpl::didCommitLoadForMainFrame):
274         (WebKit::PageClientImpl::didFinishLoadingDataForCustomRepresentation):
275         (WebKit::PageClientImpl::customRepresentationZoomFactor):
276         (WebKit::PageClientImpl::setCustomRepresentationZoomFactor):
277         (WebKit::PageClientImpl::flashBackingStoreUpdates):
278         (WebKit::PageClientImpl::findStringInCustomRepresentation):
279         (WebKit::PageClientImpl::countStringMatchesInCustomRepresentation):
280         (WebKit::PageClientImpl::userSpaceScaleFactor):
281         * UIProcess/API/efl/PageClientImpl.h: Added.
282         (WebKit::PageClientImpl::create):
283         (WebKit::PageClientImpl::viewObject):
284         (WebKit::PageClientImpl::page):
285         * UIProcess/WebPageProxy.h:
286         * UIProcess/efl/WebPageProxyEfl.cpp: Added.
287         (WebKit::WebPageProxy::viewObject):
288         (WebKit::WebPageProxy::standardUserAgent):
289         (WebKit::WebPageProxy::getEditorCommandsForKeyEvent):
290         (WebKit::WebPageProxy::saveRecentSearches):
291         (WebKit::WebPageProxy::loadRecentSearches):
292
293 2011-06-08  John Sullivan  <sullivan@apple.com>
294
295         Reviewed by Darin Adler.
296
297         <https://bugs.webkit.org/show_bug.cgi?id=62332>
298         <rdar://problem/9355199>
299         [WKView _setDragImage:at:linkDrag:] can crash if WKView is dealloc'ed during drag
300
301         * UIProcess/API/mac/WKView.mm:
302         (-[WKView _resendKeyDownEvent:]):
303         Renamed self-protecting RetainPtr from "protect" to "protector" so it's a noun.
304         (-[WKView _setDragImage:at:linkDrag:]):
305         Added a self-protecting RetainPtr.
306
307 2011-06-08  No'am Rosenthal  <noam.rosenthal@nokia.com>
308
309         Reviewed by Kenneth Rohde Christiansen.
310
311         WebKit2: Enable serializing of data types needed for cross-process accelerated compositing
312         https://bugs.webkit.org/show_bug.cgi?id=61694
313
314         Add an ArgumentCoder for FloatPoint3D.
315
316         Together with Viatcheslav Ostapenko.
317
318         * Scripts/webkit2/messages.py:
319         * Shared/WebCoreArgumentCoders.h:
320
321 2011-06-08  No'am Rosenthal  <noam.rosenthal@nokia.com>
322
323          Reviewed by Kenneth Rohde Christiansen.
324
325          WebKit2: Enable serializing of data types needed for cross-process accelerated compositing
326          https://bugs.webkit.org/show_bug.cgi?id=61694
327
328          Add ArgumentCoders for TransformOperation, including all the subclasses,
329          and TransformOperations.
330
331          * Scripts/webkit2/messages.py:
332          * Shared/WebCoreArgumentCoders.h:
333
334 2011-06-08  Yael Aharon  <yael.aharon@nokia.com>
335
336         Reviewed by Andreas Kling.
337
338         [Qt] Build fix for building QtWebKit inside of Qt.
339         https://bugs.webkit.org/show_bug.cgi?id=62280
340
341         Remove CONFIG=staticlib, because it causes the configure script to add -lwebkit2
342         into QtWebKit.prl.
343
344         * WebKit2.pri:
345
346 2011-06-07  Tim Horton  <timothy_horton@apple.com>
347
348         Reviewed by Alexey Proskuryakov.
349
350         Use correct CFURLStorageSessionRef definition on Snow Leopard
351         https://bugs.webkit.org/show_bug.cgi?id=62223
352
353         * PluginProcess/mac/PluginProcessShim.mm:
354
355 2011-06-07  John Sullivan  <sullivan@apple.com>
356
357         Reviewed by Darin Adler.
358
359         <https://bugs.webkit.org/show_bug.cgi?id=62248>
360         <rdar://problem/9568516>
361         WKResponderChainSink mechanism isn't robust against some types of responder chain manipulation
362
363         * UIProcess/API/mac/WKView.mm:
364         (-[WKResponderChainSink detach]):
365         This method formerly blindly assumed that since -initWithResponderChain: put self at the
366         end of the responder chain, after _lastResponderInChain, then self is still at the end
367         of the responder chain and still immediately after _lastResponderInChain. Made this function
368         robust against some kinds of responder chain manipulations, though it can't be robust against
369         some other kinds (e.g., manipulations that removed self from this chain and put it into some
370         other chain).
371
372 2011-06-07  Sam Weinig  <sam@webkit.org>
373
374         Reviewed by Anders Carlsson.
375
376         Remove repeated IPC traffic from SetRenderTreeSize message
377         https://bugs.webkit.org/show_bug.cgi?id=62244
378
379         * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
380         Add didLayoutForFrame callback.
381
382         * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
383         (WKBundlePageGetRenderTreeSize):
384         * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
385         Add render tree size getter in WebProcess.
386
387         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
388         (WebKit::InjectedBundlePageLoaderClient::didLayoutForFrame):
389         * WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
390         Added.
391
392         * WebProcess/WebCoreSupport/WebChromeClient.cpp:
393         * WebProcess/WebCoreSupport/WebChromeClient.h:
394         Removed setRenderTreeSize.
395
396         * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
397         (WebKit::WebFrameLoaderClient::dispatchDidLayout):
398         * WebProcess/WebCoreSupport/WebFrameLoaderClient.h:
399         Call the new didLayoutForFrame client function.
400
401         * WebProcess/WebPage/WebPage.cpp:
402         (WebKit::WebPage::renderTreeSize):
403         * WebProcess/WebPage/WebPage.h:
404         Add iterative implementation to compute the total size of the render tree
405         for a page.
406
407 2011-06-07  Zalan Bujtas  <zbujtas@gmail.com>
408
409         Reviewed by Andreas Kling.
410
411         TiledDrawingArea: Delay serving tile requests when the drawing area is suspended.
412
413         Do not paint tiles when painting is disabled (suspended) on the web process side.
414         Buffer up the tile requests and paint them, when the drawing area gets resumed.
415         On the UI process side, do not block on tile updates, when the tiled area is
416         not visible (painting is disabled on the web process side).
417
418         * UIProcess/TiledDrawingAreaProxy.cpp:
419         (WebKit::TiledDrawingAreaProxy::waitUntilUpdatesComplete):
420         * WebProcess/WebPage/TiledDrawingArea.cpp:
421         (WebKit::TiledDrawingArea::suspendPainting):
422         (WebKit::TiledDrawingArea::resumePainting):
423         (WebKit::TiledDrawingArea::scheduleTileUpdate):
424         (WebKit::TiledDrawingArea::tileUpdateTimerFired):
425         (WebKit::TiledDrawingArea::didReceiveMessage):
426         * WebProcess/WebPage/TiledDrawingArea.h:
427
428 2011-06-07  Sheriff Bot  <webkit.review.bot@gmail.com>
429
430         Unreviewed, rolling out r88259 and r88263.
431         http://trac.webkit.org/changeset/88259
432         http://trac.webkit.org/changeset/88263
433         https://bugs.webkit.org/show_bug.cgi?id=62228
434
435         broke builds (Requested by rniwa on #webkit).
436
437         * PluginProcess/mac/PluginProcessShim.mm:
438
439 2011-06-07  Tim Horton  <timothy_horton@apple.com>
440
441         Reviewed by Alexey Proskuryakov.
442
443         Use correct CFURLStorageSessionRef definition on Snow Leopard
444         https://bugs.webkit.org/show_bug.cgi?id=62223
445
446         * PluginProcess/mac/PluginProcessShim.mm:
447
448 2011-06-07  Carlos Garcia Campos  <cgarcia@igalia.com>
449
450         Reviewed by Martin Robinson.
451
452         [GTK] Move moduleMixesGtkSymbols() from PluginPackage to PluginView
453         https://bugs.webkit.org/show_bug.cgi?id=62200
454
455         In WebKit2 PluginPackage is used by the UI process to load plugins
456         in order to get information about them, but it doesn't use any GTK
457         symbol. So the UI process should be able to load plugins even when
458         building with GTK3, but we should not allow the plugin view to use
459         the plugin if it mixes GTK2 and GTK3 symbols.
460
461         * WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp:
462         (WebKit::moduleMixesGtkSymbols):
463         (WebKit::NetscapePlugin::platformPostInitialize): Check whether
464         the module is mixing GTK+ 2 and GTK+ 3 symbols.
465
466 2011-06-06  Sheriff Bot  <webkit.review.bot@gmail.com>
467
468         Unreviewed, rolling out r88222.
469         http://trac.webkit.org/changeset/88222
470         https://bugs.webkit.org/show_bug.cgi?id=62192
471
472         Broke compile on Mac (Requested by abarth on #webkit).
473
474         * Scripts/webkit2/messages.py:
475         * Shared/WebCoreArgumentCoders.h:
476
477 2011-06-06  Noam Rosenthal  <noam.rosenthal@nokia.com>
478
479         Reviewed by Kenneth Rohde Christiansen.
480
481         WebKit2: Enable serializing of data types needed for cross-process accelerated compositing
482         https://bugs.webkit.org/show_bug.cgi?id=61694
483
484         Add ArgumentCoders for TransformOperation, including all the subclasses,
485         and TransformOperations.
486
487         * Scripts/webkit2/messages.py:
488         * Shared/WebCoreArgumentCoders.h:
489
490 2011-06-06  John Sullivan  <sullivan@apple.com>
491
492         Reviewed by Dan Bernstein.
493
494         <https://bugs.webkit.org/show_bug.cgi?id=62165>
495         <rdar://problem/9555835>
496         WebKit2 find-on-page callback doesn’t handle kWKMoreThanMaximumMatchCount on PDF pages
497
498         * UIProcess/API/mac/PDFViewController.mm:
499         (WebKit::PDFViewController::findString):
500         Return kWKMoreThanMaximumMatchCount when appropriate, a la FindController::countStringMatches().
501         Also, skip counting all the matches if maxMatchCount is 0, to avoid (perhaps slowly) computing a
502         number that would be ignored.
503
504 2011-06-06  Carlos Garcia Campos  <cgarcia@igalia.com>
505
506         Reviewed by Anders Carlsson.
507
508         Do not use NPRuntimeObjectMap in NetscapePlugin::setException when plug-in is running out of process
509         https://bugs.webkit.org/show_bug.cgi?id=62124
510
511         * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
512         (WebKit::NetscapePlugin::setException):
513
514 2011-06-06  Dominic Cooney  <dominicc@chromium.org>
515
516         Unreviewed WinCairo build fix after r88159.
517
518         * win/WebKit2CFLite.def: Export symbols for WebCoreTestSupport.
519
520 2011-06-04  Dominic Cooney  <dominicc@chromium.org>
521
522         Reviewed by Dimitri Glazkov.
523
524         Re-export JSC and WebCore symbols required by WebCoreTestSupport.
525         https://bugs.webkit.org/show_bug.cgi?id=61076
526
527         * win/WebKit2.def:
528
529 2011-06-06  Alexandru Chiculita  <achicu@adobe.com>
530
531         Reviewed by Kent Tamura.
532
533         Add ENABLE_CSS_EXCLUSIONS support for build-webkit script
534         https://bugs.webkit.org/show_bug.cgi?id=61628
535
536         * Configurations/FeatureDefines.xcconfig:
537
538 2011-06-06  Mihnea Ovidenie  <mihnea@adobe.com>
539
540         Reviewed by Kent Tamura.
541
542         Add ENABLE(CSS_REGIONS) guard for CSS Regions support
543         https://bugs.webkit.org/show_bug.cgi?id=61631
544
545         * Configurations/FeatureDefines.xcconfig:
546
547 2011-06-06  Carlos Garcia Campos  <cgarcia@igalia.com>
548
549         Reviewed by Anders Carlsson.
550
551         [UNIX] SOCK_DGRAM sockets are not notified when the other end closes the connection
552         https://bugs.webkit.org/show_bug.cgi?id=61538
553
554         Use SOCK_STREAM instead of SOCK_DGRAM sockets. Rework the message
555         receiver code to support stream sockets, since it requires to
556         handle message boundaries. The same code works for DGRAM sockets,
557         so this change shouldn't break other ports using DGRAM.
558
559         * Platform/CoreIPC/Connection.h:
560         * Platform/CoreIPC/unix/ConnectionUnix.cpp:
561         (CoreIPC::Connection::platformInitialize):
562         (CoreIPC::Connection::processMessage): Process messages from data
563         already received.
564         (CoreIPC::readBytesFromSocket): Read from socket using recvmsg().
565         (CoreIPC::Connection::readyReadHandler):
566         * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
567         (WebKit::ProcessLauncher::launchProcess): Use SOCK_DGRAM in
568         socketpair().
569
570 == Rolled over to ChangeLog-2011-06-04 ==