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)
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
2.0.7
-----
* Ship API documentation pre-built as HTML
* Build fixes for mingw on win32 (Gisle Vanem)
(Released Feb 23, 2005)
2.0.6
-----
* New experimental HTTP Conn module (Tim Muller)
* Misc bug fixes:
- pthread detection
- escaping of high Latin-1 characters
- base64 encoding
- doc fixes (gnet_base64_encode)
- fix crash when doing dns lookup on ipv6-enabled
win32 systems (only if gnet has been built
using configure/autotools)
(Released Feb 18, 2005)
Package change:
Drop maintainership.
in the process. (More information on tech-pkg.)
Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.
Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
Changes:
* Many Win32 fixes
* Desciptor leak fixed in TCP sockets
* GConn 100% CPU bug fix
* Bug fix for URIs with high Latin-1 characters
* IPv6 fix for inetaddr_get_canonical_name()
* New echoserver-partyline example
* Miscellaneous clean-ups
* 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.
* Fixed major bug in IO channel code from 1.1.6
* IOChannels are non-buffering, non-encoded by default (for GLib 2.0)
* examples are now build by default
* gnet_inetaddr_list_interfaces() bug fix
* FreeBSD compile fix (affected gnet_inetaddr_list_interfaces())
* New gnet_init() function. This should be called in main(). [1]
* GNet now properly links to libgthread (if necessary)
* More automated test cases
* Several compile fixes and small bug fixes
* Package now includes a buildlink2.mk
GNet is a simple network library. It is written in C, object-oriented,
and built upon GLib. It is intended to be small, fast, easy-to-use,
and easy to port. GNet comes with documentation and examples.