Ignore:
Timestamp:
Sep 8, 2010, 8:27:17 AM (15 years ago)
Author:
Martin Robinson
Message:

2010-09-08 Martin Robinson <[email protected]>

Reviewed by Xan Lopez.

[GTK] Need a WebSocket implementation
https://bugs.webkit.org/show_bug.cgi?id=45197

  • configure.ac: Enable WebSocket by default.

2010-09-08 Martin Robinson <[email protected]>

Reviewed by Xan Lopez.

[GTK] Need a WebSocket implementation
https://bugs.webkit.org/show_bug.cgi?id=45197

Add a GIO-based WebSocket implementation.

  • wtf/gobject/GRefPtr.cpp: Added PlatformRefPtr support for GSource. (WTF::refPlatformPtr): (WTF::derefPlatformPtr):
  • wtf/gobject/GRefPtr.h: Added new template specialization declarations.
  • wtf/gobject/GTypedefs.h: Add some more GLib/GIO forward declarations.

2010-09-08 Martin Robinson <[email protected]>

Reviewed by Xan Lopez.

[GTK] Need a WebSocket implementation
https://bugs.webkit.org/show_bug.cgi?id=45197

  • platform/gtk/Skipped: Unskip all WebSocket tests, as they are passing.

2010-09-08 Martin Robinson <[email protected]>

Reviewed by Xan Lopez.

[GTK] Need a WebSocket implementation
https://bugs.webkit.org/show_bug.cgi?id=45197

Add a GIO-based WebSocket implementation. This does not yet support
SSL sockets or proxies, but these should be possible to add as support
arrives in GLib/GIO for them.

  • platform/network/soup/SocketStreamHandle.h:
  • platform/network/soup/SocketStreamHandleSoup.cpp: Add a GIO-based WebSocket implementation. (WebCore::isActiveHandle): Added. (WebCore::deactivateHandle): Added. (WebCore::SocketStreamHandle::SocketStreamHandle): Filled out stub. (WebCore::SocketStreamHandle::~SocketStreamHandle): Ditto. (WebCore::SocketStreamHandle::connected): Added. (WebCore::SocketStreamHandle::readBytes): Added. (WebCore::SocketStreamHandle::writeReady): Added. (WebCore::SocketStreamHandle::platformSend): Filled out stub. (WebCore::SocketStreamHandle::platformClose): Filled out stub. (WebCore::SocketStreamHandle::beginWaitingForSocketWritability): Added. (WebCore::SocketStreamHandle::stopWaitingForSocketWritability): (WebCore::connectedCallback): Added. (WebCore::readReadyCallback): Added. (WebCore::writeReadyCallback): Added.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wtf/gobject/GRefPtr.h

    r66531 r66986  
    3737template <> GVariant* refPlatformPtr(GVariant* ptr);
    3838template <> void derefPlatformPtr(GVariant* ptr);
     39template <> GSource* refPlatformPtr(GSource* ptr);
     40template <> void derefPlatformPtr(GSource* ptr);
    3941
    4042template <typename T> inline T* refPlatformPtr(T* ptr)
Note: See TracChangeset for help on using the changeset viewer.