libsoup r989 - in branches/libsoup-2.4: . libsoup tests



Author: danw
Date: 2007-12-19 20:59:32 +0000 (Wed, 19 Dec 2007)
New Revision: 989
ViewCVS link: http://svn.gnome.org/viewcvs/libsoup?rev=989&view=rev

Modified:
   branches/libsoup-2.4/ChangeLog
   branches/libsoup-2.4/libsoup/soup-address.c
   branches/libsoup-2.4/libsoup/soup-address.h
   branches/libsoup-2.4/libsoup/soup-connection.c
   branches/libsoup-2.4/libsoup/soup-message-io.c
   branches/libsoup-2.4/libsoup/soup-server.c
   branches/libsoup-2.4/libsoup/soup-socket.c
   branches/libsoup-2.4/libsoup/soup-socket.h
   branches/libsoup-2.4/tests/dns.c
   branches/libsoup-2.4/tests/revserver.c
   branches/libsoup-2.4/tests/ssl-test.c
Log:
	* libsoup/soup-socket.c: Cleanup. Remove the "connect_result"
	signal. Make local_address and remote_address
	into (construct-only) properties.
	(soup_socket_connect_async, soup_socket_connect_sync): Replace
	soup_socket_connect. _async takes a callback+user_data (like the
	old soup_socket_client_new_async), but doesn't implement the
	callback in terms of a connect_result signal.
	(soup_socket_client_new_async, soup_socket_client_new_sync): Gone.
	(Unused since the async_context addition anyway). Replaced by the
	new construct properties and connect methods.
	(soup_socket_read, soup_socket_read_until, soup_socket_write):
	Make these actually take a GError rather than doing an ugly hack
	to preserve the old API.
	(SOUP_SOCKET_FLAG_NODELAY, SOUP_SOCKET_FLAG_REUSEADDR)
	(SOUP_SOCKET_FLAG_CLOEXEC): kill these off (all three are always
	TRUE now); SoupSocket is libsoup's socket API; it's not
	necessarily intended to be generically useful for everyone.

	* *.c: Update for SoupSocket changes





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]