head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.18 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.16 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.14 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.12 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.10 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.8 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.6 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.4 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.2 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.2.0.36 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.34 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.32 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.30 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.28 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.3 date 2008.04.16.14.43.38; author wiz; state dead; branches; next 1.2; 1.2 date 2003.04.15.12.19.19; author wiz; state Exp; branches; next 1.1; 1.1 date 2003.02.13.00.29.53; author dmcmahill; state Exp; branches; next ; desc @@ 1.3 log @Update to 2.0.8: 2.0.8 ----- * New API: gnet_conn_set_main_context gnet_conn_http_set_main_context gnet_inetaddr_new_async_full gnet_inetaddr_new_list_async_full gnet_inetaddr_get_name_async_full gnet_tcp_socket_connect_async_full gnet_tcp_socket_new_async_full gnet_tcp_socket_new_async_direct_full gnet_unix_socket_new_abstract gnet_unix_socket_server_new_abstract gnet_uri_parse_inplace * GConnHttp API is no longer marked as experimental * Fix major memory leak in GConnHttp * gnet_init() can now safely be called more than once now * Fix crash when gnet_conn_http_delete() is called from within the user callback. * GConnHttp: do not emit data events for pages that are being redirected to a new location. * GConnHttp: add gnet_conn_http_set_escaped_uri() (Samuel Cormier-Iijima) * Eliminate direct pthread usage on unix and use GLib GThreads instead (also fixes problems with gdb and valgrind) (Andreas Rottmann) * Dropped support for GLib-1.2 * Fix build on old systems that have a __ss_family member in struct sockaddr_storage instead of ss_family (Jeremy Denise) * GConnHttp: Documentation fixes * Fix compilation with --enable-debug on some 64-bit architectures like amd64 (Daniel Gryniewicz) * GConnHttp: fix several timeout issues (Steve Morris, Tim Muller). * GConnHttp: fix parsing of POST method response when there are optional headers after the 100-Continue response (#459895). * Relicense source code in examples/ directory from GPL to LGPL. * Add 'extern "C"' guards to pack.h to make things work with c++ compilers (thanks to Adriano Winter Bess). * New API: gnet_conn_write_direct() to write buffers asynchroneously without copying them (Jeff Garzik) * Fix for race condition and subsequent crash in asynchroneous DNS lookup (Steve Morris, Tim Müller) * Pass correct size parameters to bind() and connect() when creating unix sockets (Zeeshan Ali, #403197) * New API: gnet_unix_socket_new_abstract() and gnet_unix_socket_server_new_abstract() add support for abstract unix sockets on systems where this is supported (Zeeshan Ali, #404583) * Remove unused and pointless fork() fallback for asynchronous DNS lookups in cases where GLib has been compiled without threading support. It's 2007 - I think it's in order to require threading to be present; even my wrist watch can do that. Removs lots of unmaintained code and ugly #ifdefs. (Released Feb 3, 2008) @ text @$NetBSD: patch-ad,v 1.2 2003/04/15 12:19:19 wiz Exp $ --- examples/echoserver-unix.c.orig Mon Feb 3 20:01:56 2003 +++ examples/echoserver-unix.c @@@@ -228,7 +228,7 @@@@ async_client_iofunc(GIOChannel *iochanne /* Check for data to be read (or if the socket was closed) */ if (c & G_IO_IN) { GIOError e; - guint bytes_read; + gsize bytes_read; /* Read the data into our buffer */ e = g_io_channel_read(iochannel, @@@@ -259,7 +259,7 @@@@ async_client_iofunc(GIOChannel *iochanne } if (c & G_IO_OUT) { GIOError e; - guint bytes_written; + gsize bytes_written; /* Write the data out */ e = g_io_channel_write(iochannel, cs->buffer, cs->n, &bytes_written); @ 1.2 log @Update to 2.0.0. * DNS bug fixes * FreeBSD compile fixes and UDP send bug fix * New functions: gnet_{udp,mcast}_socket_get_local_inetaddr * Build improvements: library is now named libgnet-MAJOR.MINOR, favors GLib 2 over GLib 1.2 * New Base64 module (by Alfred Reibenschuh) * Major documentation improvements * Some minor API renaming in Inetaddr and TcpSocket * IPv6 support * Server, Conn, URI, and Unix modules are no longer "experimental" * Header files are now in gnet-2.0 * gnet-config removed. Use pkg-config. * Many API changes * gnet_server_new() changed, but the prototype is the same. Make sure you are using the new version correctly. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @correct some types to make this compile on alpha. Passes 3/4 tests so this is only a partial improvement. @ text @d3 4 a6 3 --- examples/echoserver-unix.c.orig Thu Sep 26 13:58:59 2002 +++ examples/echoserver-unix.c Wed Feb 12 10:04:48 2003 @@@@ -234,5 +234,5 @@@@ d13 3 a15 1 @@@@ -265,5 +265,5 @@@@ d22 1 @