2011-06-06 Mihnea Ovidenie <mihnea@adobe.com>
[WebKit-https.git] / Source / WebKit2 / ChangeLog
1 2011-06-06  Mihnea Ovidenie  <mihnea@adobe.com>
2
3         Reviewed by Kent Tamura.
4
5         Add ENABLE(CSS_REGIONS) guard for CSS Regions support
6         https://bugs.webkit.org/show_bug.cgi?id=61631
7
8         * Configurations/FeatureDefines.xcconfig:
9
10 2011-06-06  Carlos Garcia Campos  <cgarcia@igalia.com>
11
12         Reviewed by Anders Carlsson.
13
14         [UNIX] SOCK_DGRAM sockets are not notified when the other end closes the connection
15         https://bugs.webkit.org/show_bug.cgi?id=61538
16
17         Use SOCK_STREAM instead of SOCK_DGRAM sockets. Rework the message
18         receiver code to support stream sockets, since it requires to
19         handle message boundaries. The same code works for DGRAM sockets,
20         so this change shouldn't break other ports using DGRAM.
21
22         * Platform/CoreIPC/Connection.h:
23         * Platform/CoreIPC/unix/ConnectionUnix.cpp:
24         (CoreIPC::Connection::platformInitialize):
25         (CoreIPC::Connection::processMessage): Process messages from data
26         already received.
27         (CoreIPC::readBytesFromSocket): Read from socket using recvmsg().
28         (CoreIPC::Connection::readyReadHandler):
29         * UIProcess/Launcher/gtk/ProcessLauncherGtk.cpp:
30         (WebKit::ProcessLauncher::launchProcess): Use SOCK_DGRAM in
31         socketpair().
32
33 == Rolled over to ChangeLog-2011-06-04 ==