=== libgnetwork 0.0.9 == 2005-02-17 James M. Cape * NEWS: * ChangeLog: * po/ChangeLog: version markers & updates. 2005-02-17 James M. Cape * libgnetwork/gnetwork-tcp-connection.c (gnetwork_tcp_connection_dispose): * libgnetwork/gnetwork-udp-datagram.c (gnetwork_udp_datagram_dispose): Call gnetwork_(datagram|connection)_close() instead of the impl function. 2005-02-15 James M. Cape * libgnetwork/gnetwork-tcp-connection.c (gnetwork_tcp_connection_base_init), (gnetwork_tcp_connection_base_finalize), (gnetwork_tcp_connection_class_init): Move base_init() stuff to class_init(), remove base_init()/base_finalize(). Reported by Daniel Brockman * libgnetwork/gnetwork-datagram.c (gnetwork_datagram_open): Fix build, reported by Daniel Brockman . 2005-02-11 James M. Cape * libgnetwork/gnetwork-connection.c (gnetwork_connection_open), (gnetwork_connection_close), (gnetwork_connection_send), (gnetwork_connection_sent), (gnetwork_connection_received): * libgnetwork/gnetwork-datagram.c (gnetwork_datagram_open), (gnetwork_datagram_close), (gnetwork_datagram_send), (gnetwork_datagram_sent), (gnetwork_datagram_received): Ref the object for the duration of the method call (prevents some ugliness with unreffing during signal emissions w/i the methods). 2005-02-09 James M. Cape * libgnetwork/gnetwork-ip-address.c: (_gnetwork_ip_address_to_sockaddr): Don't close() a failed socket() fd. Patch by Daniel Brockman . 2005-02-08 James M. Cape Fix issues reported by Daniel Brockman . * libgnetwork/gnetwork-tcp-connection.c: (gnetwork_tcp_connection_close), (io_channel_handler): * libgnetwork/gnetwork-tcp-proxy.c: (gnetwork_tcp_proxy_get_use_proxy): * libgnetwork/gnetwork-tcp-server.c: (gnetwork_tcp_server_close): * libgnetwork/gnetwork-udp-datagram.c: (gnetwork_udp_datagram_close), (io_channel_handler): * libgnetwork/gnetwork-unix-connection.c: (gnetwork_unix_connection_close): * libgnetwork/gnetwork-unix-server.c: (gnetwork_unix_server_close): s/g_slist_remove_link/g_slist_delete_link/. * libgnetwork/gnetwork-tcp-connection.c: (io_channel_handler): Fix memory corruption for partial reads. * libgnetwork/gnetwork-tcp-server.c: (gnetwork_tcp_server_open): Handle EADDRINUSE when bind()ing. 2005-02-08 James M. Cape * ChangeLog: * po/ChangeLog: * NEWS: * configure.in: Updates for 0.0.9. * libgnetwork/gnetwork-udp-datagram.c (gnetwork_udp_datagram_close): Hopefully really fix leaked callbacks on explicit close. === libgnetwork 0.0.8 === 2005-02-07 James M. Cape * ChangeLog: * po/ChangeLog: * NEWS: * configure.in: Updates for 0.0.8. * libgnetwork/gnetwork-udp-datagram.c (gnetwork_udp_datagram_close): Don't leak the callback open when explicitly closing, reported by Daniel Brockman . (io_channel_handler): Notify when sockfd has changed due to error-inspired shutdown()s. === libgnetwork 0.0.7 === 2004-12-24 James M. Cape * ChangeLog: * po/ChangeLog: version markers. * NEWS: updates for 0.0.7 * configure.in: Bump version number. 2004-12-24 James M. Cape * .cvsignore: Alphabetized, added a bunch more autotools stuff. * libgnetwork/gnetwork-ip-multicast.c: (network_socket_cb): * libgnetwork/gnetwork-udp-datagram.c: (gnetwork_udp_datagram_set_property): Fix int-to-pointer casts for ia64. (Patch from Dan Winship, Fixes #158318). 2004-07-06 James M. Cape * .cvsignore: - Add confdefs.h * configure.in, libgnetwork/Makefile.am, tests/Makefile.am, doc/Makefile.am: - Properly use the GNOME_COMPILE_WARNINGS macro, ditch custom warnings CFLAGS stuff. * libgnetwork/gnetwork-interfaces.c, libgnetwork/gnetwork-interfaces.h, libgnetwork/gnetwork-ssl.h, libgnetwork/gnetwork-type-builtins.c.template: - Fix (most of the) warnings unearthed by GNOME_COMPILE_WARNINGS. === libgnetwork 0.0.6 === 2004-07-06 James M. Cape * configure.in, po/*.po, NEWS: Updated/added translations from HEAD, release 0.0.6. 2004-07-05 James M. Cape * libgnetwork/gnetwork-tcp-connection.c: - Properly initialize some fields in _priv (fixes a series of "random connection freeze" issues). * autogen.sh, doc/Makefile.am, Makefile.am: - Use gnome-common. * .cvsignore: - Ignore gtk-doc.make and mkinstalldirs. 2004-07-05 James M. Cape * libgnetwork/gnetwork-tcp-proxy.c: - Hopefully fix issues on ARM arch. 2004-07-05 James M. Cape * libgnetwork/gnetwork-interfaces.c: - 64-bit fixes for iface indices. * libgnetwork/gnetwork-tcp-proxy.c: - Use gsize instead of gint (fixes warnings on S390). * libgnetwork/gnetwork-ssl.[c,h], doc/libgnetwork-sections.txt - Get SSL cert stuff "working," revert API changes -- real fix will require a new API. * tests/Makefile.am: - Add SSL_LIBS to CFLAGS. 2004-06-21 James M. Cape * configure.in, * data/libgnetwork-1.0.pc.in, * libgnetwork/Makefile.am, * doc/Makefile.am: * libgnetwork/gnetwork-tcp-connection.c: * libgnetwork/gnetwork-ssl.[c,h]: Mostly fix SSL (some new functions need to be implemented). * libgnetwork/gnetwork-connection.c: Fix the fix of #134187. 2004-06-21 James M. Cape * Created libgnetwork-0-0 branch for 0.0.5 fixups. * libgnetwork/gnetwork-connection.c: Fix #134187 (really bogus error thingie). * libgnetwork/gnetwork-udp-datagram.c: Fix #140041 (s/datagram/socket/). === libgnetwork 0.0.5 === 2004-01-12 James M. Cape * configure.in: * NEWS: - Require intltool 0.29. - Version 0.0.5. * Makefile.am: - Remove OrigTree.pm from EXTRA_DIST. * libgnetwork/gnetwork-interfaces.c: - Fix filename in top comment. 2004-01-04 James M. Cape * libgnetwork/gnetwork-ssl.c: - Fix compilation when SSL is disabled. 2004-01-02 James M. Cape * autogen.sh: - Run intltoolize after automake (another fix for intltool 0.28). * libgnetwork/gnetwork-dns.c: - Fix compile errors on RedHat. 2003-12-29 James M. Cape * autogen.sh: * configure.in: * Makefile.am: - Fixes for new intltool (bump prereq to 0.28). * doc/tmpl/*.sgml: - Docs updates. === libgnetwork 0.0.4 === 2003-12-28 James M. Cape * configure.in: * NEWS: * po/*: - Version 0.0.4. * tests/Makefile.am: * tests/testunix.c: - New test app for unix sockets. * libgnetwork/gnetwork-tcp-server.c: - Handle unspecified/improperly-specified interfaces properly. * libgnetwork/gnetwork-unix-connection.c: * libgnetwork/gnetwork-unix-server.c: - Fix segfaults. 2003-12-12 James M. Cape * doc/tmpl/*.sgml: - Doc template updates. * libgnetwork/gnetwork-dns.c: * libgnetwork/gnetwork-interfaces.[c,h]: * libgnetwork/gnetwork-ip-address.c: * libgnetwork/gnetwork-ip-multicast.c: * libgnetwork/gnetwork-tcp-connection.c: * libgnetwork/gnetwork-udp-datagram.c: * libgnetwork/gnetwork-utils.c: - Work on FreeBSD, patch from Joe Marcus Clarke . 2003-12-11 James M. Cape * libgnetwork/gnetwork-ip-address.c: - Fix compile error on non-GCC platforms. === libgnetwork 0.0.3 === 2003-12-08 James M. Cape * configure.in: * NEWS: * po/ChangeLog: - Version 0.0.3. * TODO: - Minor updates. * doc/*.xml: * doc/libgnetwork-docs.sgml: - Added encoding attribute to xml tag. - Don't build server/client tutorials -- they need rewriting. * libgnetwork/gnetwork-ip-address.h: - Fix gnetwork_str_is_ip_address argument name to match source (silence gtk-doc). * libgnetwork/gnetwork-tcp-server.[c,h]: - Make CreationData function args const where appropriate. * libgnetwork/gnetwork-unix-connection.c: - Rename "socket-fd" property to "socket", make r/w-able. * libgnetwork/gnetwork-unix-server.[c,h]: - Make CreationData structure opaque, add accessor functions. - Use reanmed "socket" property in GNetworkUnixConnection. * doc/tmpl/*.sgml: - Template updates for above changes. 2003-12-02 James M. Cape "Local Interfaces & IPv6 pt.2", or, "I really should commit more often". * libgnetwork/Makefile.am: * libgnetwork/gnetwork.h: * libgnetwork/gnetwork-ip-address.[c,h]: - Add new files, functions, and macros for storing IP addresses as 16-byte integers. * libgnetwork/gnetwork-dns.[c,h]: - Rewritten to only keep track of lookups while they are running (nscd and/or the apps will always do a better job of DNS caching than I can). - Make GNetworkDnsEntry opaque. * libgnetwork/gnetwork-interfaces.[c,h]: - Keep a list of multicast addresses, query via new func. - Store the index of the interface, query via new func. - Add function to retrieve info based on string address. * libgnetwork/gnetwork-udp-datagram.[c,h]: - Rename "socket-fd" property to "socket", make it a gpointer. * libgnetwork/gnetwork-tcp-server.c: - Fix some bugs uncovered by more advanced testing. - Handle change in "socket" property. * libgnetwork/gnetwork-tcp-proxy-private.h: * libgnetwork/gnetwork-tcp-proxy.c: - Take a GNetworkDnsEntry structure as a target (allows for IP and hostname destinations -- for proxied DNS & better error messages). * libgnetwork/gnetwork-tcp-connection.c: - Use GNetworkIpAddress when handling IP addresses. - Rename "socket-fd" property to "socket", make it a gpointer. - Handle proxy API change. * libgnetwork/gnetwork-udp-datagram.[c,h]: - Make GNetworkUdpTarget use a GNetworkIpAddress for the destination IP. - Properly handle IPv6. - Update for DNS API changes. - Rename "socket-fd" property to "socket", make it a gpointer. * libgnetwork/gnetwork-ip-multicast.[c,h]: - Use GNetworkIpAddress where appropriate. - Update for changes in GNetworkUdpDatagram. * tests/Makefile.am: * tests/.cvsignore: * tests/testdns.c: - New test for DNS lookups. * tests/testtcp.c: - Use slightly more obscure testing methods (re-use the client to get http://www.gnome.org/index.html, make sure everything the objects are unref'd). * tests/testinterfaces.c: - Output P. * libgnetwork/gnetwork-utils.[c,h]: - Moved around some sockaddr_in[6] handling code, reworked to work better with IPv6. More work in combining the socket-handling code is needed. * doc/libgnetwork-docs.sgml: * doc/libgnetwork-sections.txt: * doc/tmpl/gnetwork-dns.sgml: * doc/tmpl/gnetwork-errors.sgml: * doc/tmpl/gnetwork-interfaces.sgml: * doc/tmpl/gnetwork-ip-address.sgml: * doc/tmpl/gnetwork-ip-multicast.sgml: * doc/tmpl/gnetwork-tcp-connection.sgml: * doc/tmpl/gnetwork-tcp-server.sgml: * doc/tmpl/gnetwork-udp-datagram.sgml: - Docs updates for above changes. * TODO: - Updated. 2003-11-23 James M. Cape The "Local Interfaces & IPv6 pt.1" commit :-). * TODO: - Updated, only GNetworkIpMulticast is missing IPv6 now. * doc/Makefile.am: - Added "--sgml-mode" to MKDB_OPTIONS to support inline tags. * doc/libgnetwork-docs.sgml: * doc/libgnetwork-sections.txt: * doc/libgnetwork.types: * doc/libgnetwork-interfaces.sgml: * libgnetwork/Makefile.am: * libgnetwork/gnetwork.h: * libgnetwork/gnetwork-interfaces.[c,h]: - Added new API to query local interfaces. * tests/.cvsignore: * tests/Makefile.am: * tests/testinterfaces.c: - Added testing program to check results of new interfaces API (like ipconfig). * libgnetwork/gnetwork-tcp-server.c: * libgnetwork/gnetwork-udp-datagram.c: - Allow the "interface" property to contain an interface name instead of the IP address. * libgnetwork/gnetwork-utils.[c,h]: - Added private API to go to/from any string IP address to the appropriate sockaddr* struct. * libgnetwork/gnetwork-tcp-connection.c: * libgnetwork/gnetwork-tcp-server.c: * libgnetwork/gnetwork-udp-datagram.c: - Use the new sockaddr-related private API, support IPv6. 2003-11-18 James M. Cape * tests/testtcp.c: - Fix use of "interface" and "address" properties (they were inverted between the server & it's connection). 2003-11-18 James M. Cape * doc/libgnetwork-sections.txt: * doc/libgnetwork.types: * doc/tmpl/gnetwork-errors.sgml: * doc/tmpl/gnetwork-ip-multicast.sgml: * libgnetwork/Makefile.am: * libgnetwork/gnetwork.h: * libgnetwork/gnetwork-ip-multicast.[c,h]: - New IP multicasting object. * doc/tmpl/gnetwork-tcp-server.sgml: * libgnetwork/gnetwork-tcp-server.[c,h]: - Rename "address" property to "interface" (what it actually is). * doc/libgnetwork-sections.txt: * doc/tmpl/gnetwork-connection.sgml: * doc/tmpl/gnetwork-server.sgml: * doc/tmpl/gnetwork-datagram.sgml: * libgnetwork/Makefile.am: * libgnetwork/gnetwork-macros.h: * libgnetwork/gnetwork-connection.h: * libgnetwork/gnetwork-server.h: * libgnetwork/gnetwork-datagram.h: - New macros for chaining to parent interface impls. * libgnetwork/gnetwork-datagram.[c,h]: - Update signal slots to allow overriding. - Copy the GValue from the signal emission funcs before emitting the signal. * doc/libgnetwork-sections.txt: * doc/tmpl/gnetwork-errors.sgml: * doc/tmpl/gnetwork-udp-datagram.sgml: * libgnetwork/gnetwork-udp-datagram.[c,h]: - Add error enum for UDP errors. - Fix 3 bugs (2 crashes and send not working). - Rename "address" property to "interface" (what it actually is). * tests/.cvsignore: * tests/Makefile.am: * tests/testudp.c: - Testing app for UDP sockets. 2003-11-16 James M. Cape * libgnetwork/gnetwork-udp-datagram.c: * libgnetwork/gnetwork-tcp-connection.c: * libgnetwork/gnetwork-unix-connection.c: * libgnetwork/gnetwork-utils.h - Move G_UCHAR & G_INT macros to gnetwork-utils.h. * doc/libgnetwork-sections.txt: * doc/tmpl/gnetwork-connection.sgml: * libgnetwork/gnetwork-connection.[c,h]: - Added gnetwork_connection_sent() signal emitter. * libgnetwork/gnetwork-tcp-connection.c: * libgnetwork/gnetwork-unix-connection.c: - Clean up internal handling of send/recv/close. 2003-11-16 James M. Cape * libgnetwork/gnetwork-datagram.[c,h]: - New datagram interface. * libgnetwork/gnetwork-udp-datagram.[c,h]: - New UDP object. * doc/libgnetwork-docs.sgml: * doc/libgnetwork-sections.txt: * doc/libgnetwork.types: * doc/tmpl/gnetwork-datagram.sgml: * doc/tmpl/gnetwork-udp-datagram.sgml: - Documentation for new objects. * libgnetwork/Makefile.am: * libgnetwork/gnetwork-type-builtins.c.template: * libgnetwork/marshal.list: - Build new objects. - GTypes for new enums. - New signal handler types for datagram signals. * libgnetwork/*.[c,h]: - Extremely trivial comment fixups (lib name, blank line, etc.). - Make sure to #include . * libgnetwork/gnetwork-connection.[c,h]: * libgnetwork/gnetwork-tcp-connection.c: * libgnetwork/gnetwork-tcp-proxy.c: * libgnetwork/gnetwork-unix-connection.c: - Renamed some of the cxn status enum items. * TODO: * FAQ: * .cvsignore: - Updated/vestiges of renaming. 2003-11-14 James M. Cape * doc/libgnetwork-docs.sgml: * doc/libgnetwork-sections.txt: * doc/libgnetwork.types: * doc/tmpl/gnetwork-unix-connection.sgml: * doc/tmpl/gnetwork-unix-server.sgml: - Documentation for new objects. * libgnetwork/Makefile.am: * libgnetwork/gnetwork-unix-connection.[c,h]: * libgnetwork/gnetwork-unix-server.[c,h]: * libgnetwork/gnetwork-type-builtins.c.template: * libgnetwork/gnetwork.h: - New UNIX-stream objects. 2003-11-12 James M. Cape * po/POTFILES.in: - gnetwork-ssl-connection.c is dead. * doc/Makefile.am: - Fix distcheck bug. * libgnetwork/Makefile.am: - Remove unused G_DISABLE_DEPRECATED for now (needs to come back as configure option [tied to maintainer-mode?]). * NEWS: * configure.in: * po/*.po: - Version 0.0.2. 2003-11-12 James M. Cape Kill a bunch more API, SSL is now cleaned up and needs testing. * doc/libgnetwork-docs.sgml: * doc/libgnetwork-sections.txt: * doc/libgnetwork.types: * doc/tmpl/gnetwork-ssl.sgml: * doc/tmpl/gnetwork-connection.sgml: * doc/tmpl/gnetwork-server.sgml: * doc/tmpl/gnetwork-misc.sgml: * doc/tmpl/gnetwork-ssl-connection.sgml: - Docs updates for SSL changes. - Removed dead docs. * libgnetwork/Makefile.am: * libgnetwork/gnetwork-type-builtins.c.template: * libgnetwork/gnetwork-i18n.h: * libgnetwork/gnetwork-ssl-connection.[c,h]: - Remove dead files. * libgnetwork/Makefile.am: * libgnetwork/gnetwork-ssl.[c,h]: * libgnetwork/gnetwork-tcp-connection.c: - Expand the SSL API inside of GNetworkTcpConnection to properly handle client and server certificate validation, errors, etc. * libgnetwork/gnetwork-ssl.c: * libgnetwork/gnetwork-ssl-private.h: - Handle SSL stuff via a chained GIOChannel. * libgnetwork/*.c: * tests/testtcp.c: - Use , requires glib 2.3.x or CVS later than 2003-11-05. - Update for API changes. * libgnetwork/gnetwork.h: * libgnetwork/gnetwork-utils.[c,h]: - Made utils functions internal. * libgnetwork/gnetwork-tcp-proxy*: - Reorganization. * libgnetwork/gnetwork-connection.[c,h]: * libgnetwork/gnetwork-tcp-connection.[c,h]: * libgnetwork/gnetwork-server.[c,h]: * libgnetwork/gnetwork-tcp-server.[c,h]: - Remove property accessor interface functions... use g_object_get/set(). 2003-11-07 James M. Cape Bring back proxies, remove some API -- SSL is next, then real thread support. * doc/libgnetwork-docs.sgml: * doc/libgnetwork-sections.txt: * doc/tmpl/gnetwork-tcp-proxy.sgml: * doc/tmpl/gnetwork-errors.sgml: * libgnetwork/gnetwork-tcp-proxy-private.h: * libgnetwork/gnetwork-tcp-proxy.[c,h]: - Rewrote the proxy handling to use a GIOChannel. (gnetwork_tcp_proxy_get_host, gnetwork_tcp_proxy_get_port, gnetwork_tcp_proxy_strerror): - Made some sections of API private. * libgnetwork/gnetwork-tcp-connection.c: - Proxies are back. - Lots of internal cleanup. - Made ip-address, local-address, and local-port properties read-only, set automatically by the connection process. * libgnetwork/gnetwork-tcp-server.c: - Handle changes in which properties to set for the connection objects. - Fix bug whereby the address property of the connection was being incorrectly set to the local address. * tests/testtcp.c: - Don't close the server when it's connection is closed. 2003-11-03 Rodrigo Moya Fixes #126017 * libgnetwork/gnetwork-tcp-proxy.c (traverse_socks5_proxy): removed extra space in translatable string. 2003-11-02 James M. Cape * libgnetwork/gnetwork-tcp-connection.c: - De-thread. - Get client & server connections working. - SSL & Proxies disabled for now. * libgnetwork/gnetwork-connection.c: * libgnetwork/gnetwork-ssl-connection.c: * libgnetwork/gnetwork-server.c: - Fix incorrect signals being emitted. - Fix improper property flags. * libgnetwork/gnetwork-tcp-connection.[c,h]: * libgnetwork/gnetwork-tcp-server.[c,h]: - Return the exact object type from _new, not GObject. * doc/libgnetwork-sections.txt: * doc/libgnetwork-overrides.txt: * doc/libgnetwork-docs.sgml: * doc/tmpl/gnetwork-threads.sgml: * libgnetwork/gnetwork-dns.c: * libgnetwork/gnetwork-tcp-connection.c: * libgnetwork/gnetwork-tcp-server.c: * libgnetwork/gnetwork-threads.[c,h]: - Implement, doc, & use thread-aware helper functions -- not totally there with threads yet, but well on the way. * libgnetwork/gnetwork-ssl.[c,h]: - Move gnetwork_io_channel_add_watch_full to gnetwork-threads.[c,h] as gnetwork_thread_io_add_watch_full. * libgnetwork/Makefile.am: * libgnetwork/gnetwork-utils.[c,h]: - Miscellaneous (currently private) utility functions. * libgnetwork/testgtcpconnection.c: - Removed. * configure.in: * tests/Makefile.am: * tests/testtcp.c: - Test GNetworkTcpServer & GNetworkTcpConnection. 2003-10-28 James M. Cape * MAINTAINERS, README: - Add maintainers, finish rename in README. 2003-10-27 James M. Cape * configure.in: - Version 0.0.1. * doc/.cvsignore: * doc/compiling.xml: * doc/tmpl/.cvsignore: * doc/version.xml.in: - More renaming (tutorials are left, but they've got to be rewritten anyways). * doc/Makefile.am: * doc/libgnetwork-sections.txt: * doc/libgnetwork-docs.sgml: * doc/libgnetwork.types: * doc/tmpl/gnetwork-connection.sgml: * doc/tmpl/gnetwork-dns.sgml: * doc/tmpl/gnetwork-errors.sgml: * doc/tmpl/gnetwork-misc.sgml: * doc/tmpl/gnetwork-server.sgml: * doc/tmpl/gnetwork-ssl-connection.sgml: * doc/tmpl/gnetwork-ssl.sgml: * doc/tmpl/gnetwork-tcp-connection.sgml: * doc/tmpl/gnetwork-tcp-proxy.sgml: * doc/tmpl/gnetwork-tcp-server.sgml: * libgnetwork/gnetwork-connection.[c,h]: * libgnetwork/gnetwork-server.[c,h]: * libgnetwork/gnetwork-ssl-connection.[c,h]: * libgnetwork/gnetwork-ssl.[c,h]: * libgnetwork/gnetwork-tcp-proxy.[c,h]: - Get docs building, finish newer API (doesn't work, but the API is [mostly] done). * libgnetwork/gnetwork-threads.[c,h]: * libgnetwork/gnetwork-tcp-connection.c: * libgnetwork/gnetwork-dns.c: - Added destroy_data arg to gnetwork_threads_add, it's called after the thread function returns with user_data as it's argument. * libgnetwork/libgnetwork.h: * libgnetwork/gnetwork-types.h: - Removed (leftovers from GTcpSocket). * libgnetwork/gnetwork-tcp-proxy.c: * libgnetwork/proxy-keys.h: - Added support for GnomeVFS' "ignore_hosts" key to handle exceptions -- not perfect, but it'll do for now. - Removed the whole caching bit -- GConf does caching already, and since we're not using notification or writing to the keys, we can kill it all. 2003-10-26 James M. Cape * configure.in: * AUTHORS: * Makefile.am: * README: * doc/*: * doc/tmpl/*: * libgnetwork/*: * po/POTFILES.in: Make it build version 0.0.0. 2003-10-26 Hasbullah Bin Pit * configure.in: Added 'ms' (Malay) to ALL_LINGUAS. 2003-10-21 Rodrigo Moya * libgnetwork/gnetwork-dns.[ch]: * libgnetwork/gnetwork-errors.[ch]: * libgnetwork/gnetwork-i18n.h: * libgnetwork/gnetwork-types.h: * libgnetwork/gnetwork-tcp-connection.[ch]: * libgnetwork/Makefile.am: more renaming. * libgnetwork/gnetwork-connection.[ch]: fixed compilation errors. 2003-10-16 Rodrigo Moya * Makefile.am: * libgnetwork/Makefile.am: * configure.in: more GTcpSocket->libgnetwork renaming. 2003-10-15 Rodrigo Moya * autogen.sh: rename from libgtcpsocket to libgnetwork. 2003-10-15 James M. Cape * First commit to GNetwork :-). * libgnetwork/gnetwork-connection.[c,h], libgnetwork/gnetwork-server.[c,h]: - GInterface for incoming/outgoing connections. 2003-09-19 Miloslav Trmac * configure.in: Added cs (Czech) to ALL_LINGUAS. Tue Sep 2 21:21:51 2003 James M. Cape * configure.in, NEWS: - Brown paper bag 0.2.2. * libgtcpsocket/Makefile.am: - Add glib-mkenums templates to EXTRA_DIST. Tue Sep 2 18:04:34 2003 James M. Cape * configure.in, NEWS: - Release version 0.2.1. * doc/tmpl/gtcp-connection.sgml: - Document GTcpConnectionClass structure. * doc/client-tutorial.xml: - Mostly finish the client subclassing tutorial. Mon Sep 1 22:28:52 2003 James M. Cape * configure.in: - Update gtk-doc dep to 1.1. - Add --with-html-dir switch. Mon Sep 1 14:05:33 2003 James M. Cape * configure.in, libgtcpsocket/Makefile.am, libgtcpsocket/enum-types-header.template, libgtcpsocket/enum-types-source.template: - Use GLib 2.2.x mkenums "--template" feature. Mon Sep 1 12:54:51 2003 James M. Cape * configure.in: - Fix OpenSSL support. * libgtcpsocket/gtcp-socket-types.h: - Fix gtk-doc comment typo. 2003-09-01 Metin Amiroff configure.in: Added "az" in ALL_LINGUAS. Sat Aug 16 20:27:29 2003 James M. Cape * autogen.sh: - Remove check for intltool version. * data/libgtcpsocket-1.0.pc.in: - Remove explicit linc dep, LINC doesn't exist anymore, and we never used it explicitly anyways. * libgtcpsocket/gtcp-connection.c: - Fix compile problems with newer libgnutls. * libgtcpsocket/gtcp-server.h: - Docs for GTcpServerClass. 2003-07-25 Artur Flinta * configure.in: Added "pl" to ALL_LINGUAS. Thu Jun 26 13:34:05 2003 James M. Cape * configure.in, po/ChangeLog, po/ja.po: - Added Japanese translation by Takeshi AIHANA . Sat Jun 21 19:06:46 2003 James M. Cape * Release 0.2.0. * configure.in, NEWS: - Update for 0.2.0. * FAQ: - Update for things which have changed recently. * doc/libgtcpsocket-sections.txt, doc/tmpl/*.sgml, libgtcpsocket/gtcp-connection.h, libgtcpsocket/gtcp-server.h, libgtcpsocket/gtcp-socket-types.h, libgtcpsocket/gtcp-dns.h: - Move API docs to headers. * libgtcpsocket/gtcp-dns.[h,c], libgtcpsocket/gtcp-socket.def: - Added gtcp_dns_get_full, make gtcp_dns_get a #define. - Fix documentation error & possible leak of GTcpDNSEntry. * doc/client-tutorial.xml, doc/server-tutorial.xml: - More tutorial work. Sat Jun 21 10:11:54 2003 James M. Cape * autogen.sh: - Use --enable-maintainer-mode. * keys.txt: - Added note that socks_is_v5 is a LibGTcpSocket key. * data/libgtcpsocket.schemas.in: - Don't use "proxy" as a verb (Fixes #111011). * docs/Makefile.am, docs/libgtcpsocket-sections.txt: - Ignore gtcp-i18n.h. * libgtcpsocket/gtcp-i18n.h: - Fix N_() macro. * libgtcpsocket/gtcp-server.[c,h]: - Added create_incoming vtable function (should create a GTcpConnection object [or subclass] given a hostname/port). - Reorganized code to eliminate function headers. - Add abi padding to GTcpServerClass structure. * libgtcpsocket/gtcp-connection.h: - Add abi padding to GTcpConnectionClass structure. Fri May 30 19:42:33 2003 James M. Cape * po/.cvsignore: - Use Makefile.in* Wed May 21 15:57:00 2003 James M. Cape * Release 0.1.2. * autogen.sh, configure.in, doc/Makefile.am, doc/libgtcpsocket-overrides.txt: - Setup to use canned gtk-doc.make. * configure.in, NEWS: - Updated for 0.1.2. * Makefile.am, libgtcpsocket/Makefile.am, doc/Makefile.am: - Fixups to get GTcpSocket to pass make distcheck. * autogen.sh, Makefile.am, data/Makefile.am, doc/Makefile.am, libgtcpsocket/Makefile.am: - Require automake 1.7. * doc/client-tutorial.xml: - More documentation. * libgtcpsocket/gtcp-proxy.c: - Fix compile warning. 2003-05-21 Danilo Ĺ egan * configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS. Wed Apr 30 03:08:44 2003 James M. Cape * Release 0.1.1. * autogen.sh: - Support libtool-1.5. * configure.in, libgtcpsocket/Makefile.am: - Ok, for real, the last, last, last fix for the libtool versioning. * keys.txt: - Update to use the actual keys we use. * NEWS: - Add blurb about 0.1.1. 2003-04-26 Evandro Fernandes Giovanini * configure.in(ALL_LINGUAS): Added "pt_BR" (Brazilian Portuguese). Mon Apr 21 17:14:02 2003 James M. Cape * configure.in: - Bump version to 0.1.1. * HACKING, README: - Fix some stuff, add URL for reporting bugs. * doc/client-tutorial.xml: - Added more info on subclassing, break into s. * doc/tmpl/gtcp-connection.sgml: - Updates. * libgtcpsocket/*.c: - Don't set G_LOG_DOMAIN, it doesn't make sense to do so. * libgtcpsocket/gtcp-socket.def: - Export gtcp_(connection|server)_get_type functions. * libgtcpsocket/gtcp-proxy.c: - Ensure initialization. 2003-04-17 Christian Rose * configure.in: Added "sv" to ALL_LINGUAS. 2003-04-14 Duarte Loreto * configure.in: Added "pt" (Portuguese) to ALL_LINGUAS. 2003-04-12 Christian Neumair * configure.in: Added "de" (German) to ALL_LINGUAS. 2003-03-16 Kjartan Maraas * configure.in (ALL_LINGUAS): Added Norwegian. 2003-03-04 Ross Burton * doc/Makefile.am (dist-hook): Put the .devhelp file in the dist 2003-02-12 Christophe Merlet * configure.in: Added "fr" (French) to ALL_LINGUAS. 2003-02-06 Daniel Yacob * configure.ac: Added "am" (Amharic) to ALL_LINGUAS. Wed Feb 05 15:50:00 2003 German Poo-Caaman~o * configure.in: Added Spanish (es) to ALL_LINGUAS. Thu Jan 30 23:51:19 2003 James M. Cape * po/POTFILES.in, libgtcpsocket/testgtcpconnection.c: - Don't translate any strings, we don't need to for an non- installed test suite. Mon Jan 20 14:29:01 2003 James M. Cape * doc/compiling.xml: - Moved compilation tutorial to here (missing from last commit). Mon Jan 20 13:09:47 2003 James M. Cape * libgtcpsocket/Makefile.am: - Define (BUILT_SOURCES), (Ettore Perazzoli ). * doc/libgtcpsocket-docs.sgml, doc/client-tutorial.xml: - Reorganize sections using , break up the client-tutorial into refentrys. Fri Jan 17 11:47:58 2003 James M. Cape * NEWS: - Prepare for 0.1.1. * data/Makefile.am, doc/Makefile.am, libgtcpsocket/Makefile.am: - Get it to pass make distcheck. * data/Makefile.am, data/libgtcpsocket.schemas, data/libgtcpsocket.schemas.in: - I18n for schemas file. * libgtcpsocket/gtcp-socket.def: - Add missing enum GType functions. - Add gtcp_dns_entry_copy. * libgtcpsocket/gtcp-proxy.h, libgtcpsocket/gtcp-proxy.c, libgtcpsocket/gtcp-connection.c: - Rename private non-static functions. Sun Jan 12 13:49:14 2003 James M. Cape * libgtcpsocket/Makefile.am: - Remove the hacky generation of gen-prefs-keys and use noinst_PROGRAMS (Ross Burton ). * libgtcpsocket/gen-prefs-keys.c: - Change the type of i to 'unsigned int' so that gcc doesn't moan (Ross Burton ). * libgtcpsocket/gtcp-connection.c, libgtcpsocket/testgtcpconnection.c: - Minor spelling bugs :-). Fri Jan 10 13:03:48 2003 James M. Cape * RELEASE 0.1.0: Wooo! * configure.in: - gettext_package name fix. * NEWS: - Updated for libgtcpsocket 0.1.0 release. Fri Jan 10 11:17:02 2003 James M. Cape * Makefile.am, configure.in, doc/Makefile.am, libgtcpsocket/Makefile.am: - make dist fixes & fixes needed to build a debian package. * FAQ: - Minor update to SSL bits. - Indent fix to handle 8-char tabs + 80-columns. Fri Jan 10 09:41:47 2003 James M. Cape * libgtcpsocket/gtcp-dns.h, doc/tmpl/gtcp-dns.sgml: - Docs fix. * configure.in, doc/Makefile.am, data/Makefile.am: - make dist fixes. Fri Jan 10 08:44:26 2003 James M. Cape * libgtcpsocket/gtcp-connection.c: (gtcp_connection_finalize, gtcp_connection_closed_handler, write_thread): - Fix async_queue warning & memleak. (dns_callback, proxy_dns_callback): - Match prototype in gtcp-dns.h, copy to _priv. * libgtcpsocket/gtcp-server.c: (dns_callback): - Same. * libgtcpsocket/gtcp-dns.h, libgtcpsocket/gtcp-dns.c, doc/libgtcpsocket-sections.txt, doc/tmpl/gtcp-dns.sgml: - Make gtcp_dns_entry_copy public. - Change callback prototype to have a const entry. * libgtcpsocket/Makefile.am: - Add more warnings. * libgtcpsocket/gtcp-errors.c, libgtcpsocket/gtcp-proxy.c: - Fix probs uncovered by warnings. Thu Jan 9 19:46:07 2003 James M. Cape * libgtcpsocket/gtcp-connection.c: (handle_incoming) - Fix possible crash when the connection dies. * libgtcpsocket/Makefile.am: - Add -Wunused. 2003-01-09 Colin Walters * Makefile.am (EXTRA_DIST): Include autogen.sh, intltool-merge.in, intltool-update.in, and intltool-extract.in. * libgtcpsocket/Makefile.am (EXTRA_DIST): Include 'gtcp-socket.def'. Thu Jan 9 15:01:40 2003 James M. Cape * libgtcpsocket/gtcp-connection.c: (open_connection_thread): - #ifdef out the "out:" label if we're not using SSL. Thu Jan 9 14:48:14 2003 James M. Cape * configure.in: * libgtcpsocket/Makefile.am: - Don't use GNU TLS macro, do it the hard way (/me smacks RH). * libgtcpsocket/gtcp-proxy.c: - Fix breakage from move to gnome-vfs 2.2 keys. * po/.cvsignore, po/Makefile.in.in: - Fix .cvsignore, include Makefile.in.in, needed by intltool. Thu Jan 9 12:50:33 2003 James M. Cape * autogen.sh, configure.in: - Hopefully fix automake 1.7 errors for the *LAST* time by copying the autogen.sh in libglade & adding intltool. Works For Me & 1.7. - Fix the last versioning error. * libgtcpsocket/gtcp-dns.c: - Fix the error from last commit, run shutdown from cache_cleanup instead. * libgtcpsocket/gtcp-socket.def: - Remove non-blank line at the bottom. * data/libgtcpsocket.schemas, libgtcpsocket/proxy-keys.defs, libgtcpsocket/gtcp-proxy-private.h, libgtcpsocket/gtcp-proxy.c: - Use same proxy keys as gnome-vfs 2.2. * .cvsignore, tm.tags, tags.cache: - Removed, just anjuta junk. Thu Jan 9 11:14:09 2003 James M. Cape * configure.in, libgtcpsocket/Makefile.am: - Fix libtool versioning (hopefully for the last time). * libgtcpsocket/gtcp-dns.c: - Shutdown the DNS system if it has no more entries in the cache. Wed Jan 8 03:39:01 2003 James M. Cape * configure.in, data/libgtcpsocket-1.0.pc.in, libgtcpsocket/Makefile.am, libgtcpsocket/gtcp-connection.c: - Implement GNU TLS detection & support. - Remove libNSS detection/support. - Reorder gtcp-connection.c to remove prototypes. * doc/Makfile.am, doc/libgtcpsocket-docs.sgml, doc/client-tutorial.xml, doc/server-tutorial.xml: - Docs cleanups, finish introduction & start work on client and server tutorials. Tue Jan 7 17:08:28 2003 James M. Cape * configure.in: - Hopefully fix problems with automake 1.7. * libgtcpsocket/Makefile.am - s/gtcp-socket-def/gtcp-socket.def/. * configure.in, doc/Makefile.am, doc/libgtcpsocket-docs.sgml, doc/version.xml: - Create/include version.xml. - Cleanup docs generation, add start of introduction. * .cvsignore, doc/.cvsignore: - Add files we don't need to worry about. Sat Jan 4 01:13:07 2003 James M. Cape * .cvsignore: - Add removed files, entries needed for autoconf 2.53 * .tm_project.cache, acconfig.h, libgtcpsocket.pwd: - Removed. * autogen.sh, configure.in, data/libgtcpsocket-1.0.pc.in libgtcpsocket/Makefile.am, libgtcpsocket/gtcp-socket.def, docs/*: - Update to use autoconf 2.53. - Get docs working with gtk-doc 0.10. - "Fix" versioning (cough). - Explicitly specify symbols with gtcp-socket.def. * libgtcpsocket/*.c - Docs cleanups, add "Since 1.0". Mon Jul 22 00:11:32 2002 James M. Cape * data/libgtcpsocket-1.0.pc.in: - Fixed OpenSSL CFLAGS. * doc/libgtcpsocket-sections.txt: - Hide i18n declarations from gtk-docs to kill a warning. Wed Jul 17 19:10:52 2002 James M. Cape * acconfig.h, configure.in: - I *think* these changes + gtcp-i18n.h will allow i18n to work. * autogen.sh: - Copied from gconf 1.2.0. * po/.cvsignore: - Added. * po/POTFILES: - Removed, it should never have gone in. * po/POTFILES.in: - Added source files which use _()/N_() & a comment. * libgtcpsocket/gtcp-i18n.h: - New file, accomplishes same feat as libbonobo/bonobo-i18n.h -- aka libgnome/gnome-i18n.h). * libgtcpsocket/Makefile.am: - Install gtcp-i18n.h. * libgtcpsocket/*.c: - Marked appropriate strings for translation. - #include "gtcp-i18n.h". * libgtcpsocket/*.h: - Added G_BEGIN_DECLS/G_END_DECLS to headers. * libgtcpsocket/gtcp-socket.h: - Reordering, include all public headers. Tue Jul 16 18:08:49 2002 James M. Cape * doc/libgtcpsocket-sections.txt, doc/tmpl/gtcp-connection.sgml, doc/tmpl/gtcp-dns.sgml, doc/tmpl/gtcp-proxy.sgml, doc/tmpl/gtcp-server.sgml: - Updated documentation templates for enums/structs. * libgtcpsocket/gtcp-connection.c: (gtcp_connection_connect_done_handler): - Fix connection status test. (gtcp_connection_open, proxy_dns_callback): - Test if the connection's address and/or proxy address are IP addresses. If so, just call the appropriate DNS callback(s) directly (since gtcp_dns_get will attempt a reverse lookup in that case now). (gtcp_connection_closed_handler): - Cancel the DNS lookup if it's not finished. * libgtcpsocket/gtcp-connection.c, libgtcpsocket/gtcp-server.c: (various): - Updated documentation. * libgtcpsocket/gtcp-dns.c, libgtcpsocket/gtcp-dns.h: (gtcp_dns_get, gtcp_dns_cancel): - New GTcpDNSHandle to allow cancelling of callbacks. * libgtcpsocket/gtcp-socket-types.h: (GTcpSendStatus): - Fixed trigraph comment. * libgtcpsocket/testgtcpconnection.c: (do_send_test): - Added useless message. Tue Jul 16 08:26:09 2002 James M. Cape * doc/Makefile.am, doc/libgtcpsocket-docs.sgml, doc/libgtcpsocket-sections.txt, doc/tmpl/gtcp-dns.sgml: - Included documentation for DNS stuff. * libgtcpsocket/Makefile.am: - Install gtcp-dns.h (now public). * libgtcpsocket/gtcp-dns.h, libgtcpsocket/gtcp-dns.c: (gtcp_dns_get, gtcp_dns_reverse_get): - Combined these functions into one which automatically performs the appropriate lookup (Removed gtcp_dns_reverse_get). (various): - Reordered according to the mmeeks "backwards" style. - Simplified and optimized code in various places. - Use GStaticMutex instead of GMutex. A working thread impl is still needed by GTcpProxy and GTcpConnection though. * libgtcpsocket/gtcp-connection.c: (struct _GTcpConnectionPrivate, dns_callback, proxy_dns_callback): - Use new gtcp-dns API. * libgtcpsocket/gtcp-server.c: (reverse_dns_callback -> dns_callback, check_for_incoming): - Renamed reverse_dns_callback. - Use new gtcp-dns API. Sun Jul 14 02:00:22 2002 James M. Cape * README, keys.txt: - Updated, now valid. * Makefile.am, configure.in: - Build docs. * doc/.cvsignore, doc/Makefile.am, doc/libgtcpsocket-sections.txt, doc/libgtcpsocket.types, doc/libgtcpsocket-docs.sgml, doc/tmpl/.cvsignore, doc/tmpl/gtcp-connection.sgml, doc/tmpl/gtcp-server.sgml, doc/tmpl/gtcp-proxy.sgml, doc/tmpl/gtcp-error.sgml: - gtk-doc Documentation. * libgtcpsocket/gtcp-socket-types.h: (GTcpServerOpenStatus): - Removed unused enum values. * libgtcpsocket/gtcp-errors.h, libgtcpsocket/gtcp-errors.c: (gtcp_error_get_server_open_status_message): - Implemented new function to get a friendly message for server open errors. * libgtcpsocket/gtcp-server.c: (gtcp_server_open): - Don't use removed GTcpServerOpenStatus values, use ERROR_INTERNAL_ERROR where appropriate. * libgtcpsocket/gtcp-connection.h: (struct _GTcpConnection): - Added trigraph comment marking the _priv struct as private. * libgtcpsocket/gtcp-connection.c: (gtcp_connection_open): - Warning fix. * libgtcpsocket/gtcp-connection.h, libgtcpsocket/gtcp-connection.c, libgtcpsocket/gtcp-server.h, libgtcpsocket/gtcp-server.c: (various): - Fixes for documentation building. * libgtcpsocket/gtcp-proxy.c: (gtcp_proxy_new): - Initialize threading before calling g_mutex_new (). * libgtcpsocket/testgtcpconnection.c: (lookup_done_cb, connect_done_cb): - Use message functions from gtcp-errors.c. * libgtcpsocket/g-tcp-connection-linc.h, libgtcpsocket/g-tcp-connection-linc.c, libgtcpsocket/gtcp-dns-new.h, libgtcpsocket/gtcp-dns-new.c: - Removed unused files. Sun Jul 7 20:23:49 2002 James M. Cape * libgtcpsocket/gtcp-proxy.c, libgtcpsocket/gtcp-proxy-private.h: (gtcp_proxy_get_proxy): - G_CONST_RETURN. Sun Jul 7 04:59:13 2002 James M. Cape * libgtcpsocket/gtcp-proxy.c, libgtcpsocket/gtcp-proxy-private.h, libgtcpsocket/gtcp-connection.c: - Add/use mutex to GTcpProxy struct (various functions). - Some small code-style cleanups. * libgtcpsocket/gtcp-proxy.c: gtcp_proxy_destroy, gtcp_proxy_shutdown): - Free GTcpProxy structs on shutdown. (gcp_proxy_ge_proxy, gtcp_proxy_get_use_proxy): - Return SOCKS proxy for non-SOCKS proxies if it's set & the non-SOCKS proxy isn't. (gtcp_proxy_traverse_proxy): - HTTP proxy additions (Not sure if they're correct). * libgtcsocket/gtcp-socket-types.h: (struct _GTcpConnectionStatus): - Don't force enum values, doing so is unnecessary. * libgtcpsocket/gtcp-dns.c: (gtcp_dns_get): - Code style cleanup on func header final else. - g_strdup() address. Fri Jul 5 20:53:11 2002 Ross Golder * libgtcpsocket/Makefile.am - Build of testgtcpsocket failing unless libtcpsocket was previously installed. Fri Jul 5 20:31:04 2002 James M. Cape * libgtcpsocket/gtcp-connection.c: (open_connection_thread): - Try connecting through proxies. * libgtcpsocket/gtcp-proxy-private.h, libgtcpsocket/gtcp-proxy.c: (gtcp_proxy_traverse_proxy): - New function, handles HTTP, SOCKSv4, & SOCKSv5 proxies thus far, FTP & SSL proxies still need to be implemented. Thu Jul 4 22:17:53 2002 James M. Cape * data/libgtcpsocket.schemas: - Default value for socks_v5 key -> FALSE. * data/Makefile.am: - Fixed schemas installation. Thu Jul 4 21:13:50 2002 James M. Cape * data/Makefile.am: - Ugh, bad .cvsignore, add this file. * data/libgtcpsocket.schemas: - Added schemas for proxy settings. * data/gtcp-proxy.c: (gtcp_proxy_get_use_proxy): - Return the use_proxy field of the GTcpProxy struct. Thu Jul 4 19:03:25 2002 James M. Cape * libgtcpsocket/Makefile.am: - Some unnecessary alphabetical reordering in the build :-) * libgtcpsocket/gtcp-connection.c, libgtcpsocket/gtcp-connection.h: (gtcp_connection_send): - Change to use gconstpointer instead of guchar *. - Copy the data before sending appending to the write_queue. - Update gtk-doc comments appropriately. - Use additional send errors for g_return_val_if_fail tests. * libgtcpsocket/gtcp-connection.c: (global): - Some reorganization of the typedefs for GSource. - Keep the GSource for handle_incoming() in the private struct so closed handler can work easier. (gtcp_connection_class_init): - Fix installation of "local-port" property which was conflicting with "port" (gtcp_connection_closed_handler, gtcp_connection_close): - Fix up the close/closed handler so the connection is properly closed. (gtcp_connection_finalize): - unref the signal/write queues, & io_context (GMainContext). (write_thread): - Free the buffer after pushing the "closed" signal in case of send failures. (check_for_signals): - Free the data for send/recv signals after the signal is finished. (open_connection_thread): - Get/set the GTcpConnectionStatus from the errno, not the connect_retval (since the connect_retval is just -1 on error, not the error itself). - Set the "ip-address" property for the IP address it's trying to connect through. * libgtcpsocket/gtcp-proxy-private.h, libgtcpsocket/gtcp-socket-types.h: - Move the proxy data structs into gtcp-proxy-private.h - Add additional error codes for programming errors to GTcpSendStatus. * libgtcpsocket/testgtcpconnection.c: (global): - #include "gtcp-errors.h" (close_cb): - Add g_message. (do_close): - New function, calls "gtcp_connection_close". (connect_done_cb): - Use gtcp_error_get_connection_status_message in case of connect error. (do_send_test): - Update for new gtcp_connection_send() errors. - Change the timeout to be 30 seconds, and call do_close instead of quit_me. * libgtcpsocket/gtcp-server.c: (check_for_incoming): - Set "address" property for new GTcpConnections. - Fix compile error about do_reverse_lookups boolean. * libgtcpsocket/gtcp-proxy.h: - Indentation fix. * libgtcpsocket/gtcp-proxy.c: (gtcp_proxy_get_use_proxy): - Implement. (gtcp_proxy_get_proxy): - Implement. (gtcp_proxy_new): - Implement, loads proxy settings from GConf. (http_proxy_notify, ftp_proxy_notify, ssl_proxy_notify, socks_proxy_notify, gtcp_proxy_init, gtcp_proxy_shutdown): - Implement GConf notification. Mon Jul 1 23:27:12 2002 James M. Cape * libgtcpsocket/gtcp-server.c: (reverse_dns_callback, check_for_incoming): - Added support for (optional) threaded reverse DNS lookup. Mon Jul 1 21:41:50 2002 James M. Cape * libgtcpsocket/gtcp-connection.c, libgtcpsocket/gtcp-connection.h: (gtcp_connection_get_bytes_read, gtcp_connection_get_bytes_written): - Return gulong, not guint32. * libgtcpsocket/gtcp-connection.c: (global): - Fixed comment @ top of file. - Added "local-address" & "local-port" GObject properties. (gtcp_connection_class_init, gtcp_connection_set_property, gtcp_connection_get_property, gtcp_connection_finalize): - Support "local-address" & "local-port" GObject properties. (gtcp_connection_lookup_done_handler): - Don't do anything if the connection was started by a GTcpServer ("is-server" property == TRUE). (open_server_connection): - Implement OpenSSL in this case. * libgtcpsocket/gtcp-server.c, libgtcpsocket/gtcp-server.h: - Implement GTcpServer (using nonblocking sockets & GTcpConnections) * libgtcpsocket/gtcp-socket-types.h: - Added GTcpServerOpenStatus and GTcpServerKillStyle enums. * libgtcpsocket/testgtcpconnection.c: (recv_cb, send_cb): - Use '%lu' format to fix warning about gulong instead of '%u'. Tue Jun 25 18:48:44 2002 James M. Cape * libgtcpsocket/gtcp-errors.c, libgtcpsocket/gtcp-errors.h: (global): - Finished implementing conn_msgs. - Removed functions which returned GErrors. They're useless. * libgtcpsocket/gtcp-socket-types.h: (global): - Removed unused GTcpConnectionStatus items. * libgtcpsocket/testgtcpconnection.c: (send_cb): - Killed compile warning. Sun Jun 23 19:41:17 2002 James M. Cape * libgtcpsocket/gtcp-connection.c: (gtcp_connection_done_handler): - Fix segfault. (gtcp_connection_class_init): - Change "socket-fd" property decl so it isn't a CONSTRUCT property. - Some property description string changes, referring to which properties should only be used by GTcpServer. 2002-06-24 Mikael Hallendal * libgtcpsocket/gtcp-connection.c: - compile fixes Tue Jun 18 16:35:31 2002 James M. Cape * libgtcpsocket/gtcp-connection.c: (global, gtcp_connection_base_init): - Include one of the libNSS header for NSS_init(). This isn't nearly enough to get NSS support working, but it's a start. * data/libgtcpsocket-1.0.pc.in: - Correctly depend on linc, rather than linc-1.0. Fri Jun 14 22:20:42 2002 James M. Cape * libgtcpsocket/gtcp-connection.c: (global, gtcp_connection_class_init, gtcp_connection_connect_done_handler, gtcp_connection_set_property, gtcp_connection_get_property): - Add "socket-fd" property, for use by GTcpServer. (gtcp_connection_lookup_done_hander): - Use open_connection_thread instead of io_main_thread. (open_connection_thread): - Move the work to open an outgoing connection from io_main_thread to here. - Call SSL_connect if use_ssl is set. (open_server_thread): - Simply calls io_main_thread. (io_main_thread): - Change to only run the io_mainloop (write_thread): - Use SSL_write if use_ssl is set. OpenSSL should now be completely supported. * libgtcpsocket/testgtcpconnection.c: (send_cb, recv_cb): - Use printf instead of g_message because the data recieved is ASCII, not UTF-8. - Change headers to correctly use gconstpointer instead of gchar *. Fri Jun 14 18:56:12 2002 James M. Cape * libgtcpsocket/gtcp-connection.c: (watch_for_signals): - correctly pass the "requested" gboolean for the "closed" signal. * libgtcpsocket/testgtcpconnection.c: (close_cb): - Print a message if the close is requested or not. (global): - Attempt to connect to irc.us.gimp.org:6667 instead of ignore-your.tv:80. * FAQ: - Updated more info about why LINC isn't used. Fri Jun 14 14:44:25 2002 James M. Cape * libgtcpsocket/gtcp-connection.h, libgtcpsocket/gtcp-connection.c: - Changed send/recv signal prototypes to use gconstpointer instead of const guchar * - Change comment in GTcpConnectionClass to tell subclasses that all signals are parent-relative. (gtcp_connection_class_init): - Set send, recv, & closed object handlers. - Use new function names for object handlers. - Set all signals to G_SIGNAL_RUN_FIRST. (gtcp_connection_send_handler): - Implement. Set bytes-written property. (gtcp_connection_recv_handler): - Implement. Set bytes-read property. (gtcp_connection_lookup_done -> gtcp_connection_lookup_done_handler): - Rename function. (gtcp_connection_connect_done -> gtcp_connection_connect_done_handler): - Rename function. (gtcp_connection_closed_handler): - Implement. (gtcp_connection_close): - Moved code to gtcp_connection_closed_handler, emit signal by pushing GTcpSignal struct onto queue. (handle_incoming, write_thread): - Don't call gtcp_connection_close, push a signal onto the the signal queue instead. * .cvsignore - Add stamp-h1. * libgtcpsocket/Makefile.am: - Changed comment. Fri Jun 14 00:18:36 2002 James M. Cape * libgtcpsocket/gtcp-connection.c: (handle_incoming): - Dynamically create buffer so the recv signal works. (gtcp_connection_send): - Fix broken g_return_val_if_fail so sending works. Thu Jun 13 18:39:54 2002 James M. Cape * doc/connection_process.dia: Added, explains how the connection process is supposed to work. Thu Jun 13 15:14:17 2002 James M. Cape * libgtcpsocket/gtcp-connection.c: (handle_incoming): - Fix some build errors. (do_write): - Removed. (gtcp_connection_close): - Push appropriate data onto the write queue to cause write_thread() to die. (write_thread): - Minor cleanups. (append_data_to_queue): - Implement so send has a chance of doing something. (gtcp_connection_connect_done): - Start write_thread so send actually does something. - Set conn->_priv->status. * libgtcpsocket/gtcp-errors.c (global): - Fix lookup_msg & conn_msg declarations. * Makefile.am: - Add gtcp-proxy.c target to depend on proxy-keys.h Wed Jun 12 07:19:32 2002 James M. Cape * *: Initial changelog, rewriting src/* as libgtcpsocket/*. Thu Dec 27 22:24:47 2001 James M. Cape * src/g-tcp-socket-config.h, src/g-tcp-socket-config.c: Removed functions to set the proxy options. * src/g-tcp-client.h, src/g-tcp-client.c: Removed proxy option functions, added vars for expanded proxy options in the config. Still not near done handling the proxy stuff, but getting there. Thu Dec 27 20:41:18 2001 James M. Cape * src/g-tcp-dns.h, src/g-tcp-dns.c: Added reverse DNS lookup capabilities to the DNS cache. Thu Dec 27 19:25:55 2001 James M. Cape * src/g-tcp-socket-config.h, src/g-tcp-socket-config.c, data/libgtcpsocket.schema.in, configure.in, data/Makefile.am, src/Makefile.am: Added GConf2 support to handle global proxy settings. Install schema for this too. Still need to make the objects use it though :-). * data/Makefile.am, data/g-tcp-socket-1.0.pc.in: Move pkgconfig file to data subdir. Thu Dec 27 05:59:15 2001 James M. Cape * configure.in: Got conditional compilation of SSL working. The use of OpenSSL is enabled by default, to disable, use --with-openssl-includes=no or --with-openssl-libs=no. Distributors are encouraged to not ship SSL-enabled versions of this library because of insane legal issues between the LGPL and the OpenSSL license. Sigh... * src/g-tcp-client.h, src/g-tcp-socket-ssl.h: Fixed #ifdef's related to conditional compilation. Thu Dec 27 04:38:22 2001 James M. Cape * configure.in, g-tcp-socket-1.0.pc.in, src/Makefile.am, src/g-tcp-client.h, src/g-tcp-client.c, src/g-tcp-socket-ssl.h, src/g-tcp-socket-enums.h, src/g-tcp-socket-enums.c: Allowed SSL to be conditionally compiled in. configure.in still has problems and will not properly generate a ./configure script though :-(. Wed Dec 26 03:22:00 2001 James M. Cape * src/g-tcp-client.c: SSL send added. It may work, it may not. Help on this SSL crap is seriously appreciated, obviously. Sun Dec 23 18:16:13 2001 James M. Cape * src/g-tcp-socket-enums.h, src/g-tcp-socket-enums.c: Created GEnumValues needed to do GObjects "properly". * src/g-tcp-client.c, src/g-tcp-client.h, src/g-tcp-socket-ssl.h: Finished implementation of SSL -- it should work for real now :-) Sun Dec 23 14:37:29 2001 James M. Cape * COPYING, src/*: Changed license to LGPL 2.1. * src/g-tcp-client.c: SSL should work now -- it doesn't, but it should, I'll fix it later :-) Sun Dec 23 03:32:11 2001 James M. Cape * src/g-tcp-client.c: Remove threaded connect() calls, use non-blocking sockets with a GSource function to check if we're done. Change GTcpClientConnectStatus to accomodate this change. Added g_io_channel_flush () call to force g_tcp_client_send to actually write the stuff. Changed g_tcp_client_send to use gssize for length (use -1 to indicated a NULL-terminated array of chars (C-style string), otherwise, use the actual size of the data). * src/g-tcp-client.h: Updated header to reflect change to g_tcp_client_send Thu Dec 20 23:31:51 2001 James M. Cape * src/g-tcp-dns.c, src/g-tcp-dns.h: New files for DNS caching. * src/g-tcp-client.c: Use new DNS caching. * src/Makefile.am: Build new DNS caching. :-) Tue Dec 18 20:22:20 2001 James M. Cape * Initial ChangeLog * SSL support is in the works. For now it will not compile except against OpenSSL, but SSL connections do not work. * autoconf stuff basically works now. libgtcpsocket.so.1.0.0 is not being created though, it's creating libgtcpsocket.so.0.0.0. Any help is appreciated.