Overview of Changes from GLib 2.4.5 to GLib 2.4.6
=================================================
* Bug fixes [Matthias Clasen, Ray Strode]
* New and updated translations (mn,nb)
Overview of Changes from GLib 2.4.4 to GLib 2.4.5
=================================================
* Fix g_filename_from_uri() to work with non-UTF-8
filenames [Robert Ã~Vgren, Matthias Clasen]
* Make GMarkup parser handle of whitespace inside tags
according to XML 1.1 [Hiroyuki Ikezoe, Matthias]
* Documentation improvements [Soeren Sandmann, Christophe Fergeau,
Danek Duvall]
* Other bug fixes [Oliver Guntermann, Sven Neumann,
James Henstridge, Murray Cumming, Matthias, Tommi Komulainen]
* New and updated translations (bg,hi,sq)
* Fix g_filename_from_uri() to work with non-UTF-8 filenames
[Robert Ögren, Matthias Clasen]
* Make GMarkup parser handle of whitespace inside tags according to XML 1.1
[Hiroyuki Ikezoe, Matthias]
* Documentation improvements [Soeren Sandmann, Christophe Fergeau, Danek
Duvall]
* Other bug fixes [Oliver Guntermann, Sven Neumann, James Henstridge, Murray
Cumming, Matthias, Tommi Komulainen]
* New and updated translations (bg,hi,sq)
* Win32 bug fixes (John Ehresman)
* Other bug fixes (Manish Singh, Matthias Clasen, Federico
Mena Quintero, Philippe Blain, Sven Neumann, Julio M. Merino
Vidal, Kaz Sasayama, Morten Welinder, Mariano Suarez-Alvarez)
* Documentation updates (Crispin Flowerday, Ed Griffiths,
Federico)
* New and updated translations (az,ne,sq)
* Win32 bug fixes
- make printf accept ll format modifier [Tor Lillqvist]
- only believe HOME if it is an absolute path an exists [Tor]
* Other bug fixes (Steve Lhomme, Tor, Hans Breuer, Manish Singh,
Owen Taylor, Matthias Clasen, Nikolai Weibull, Benoît Carpentier,
Morten Welinder)
* New and updated translations (de,it,ja,ko,no,pt_BR,sq,wa,zh_CN)
* Win32 bug fixes [Tor Lillqvist, Roger Leigh, John Ehresman]
* Miscellaneous bug and portability fixes [Owen Taylor,
Matthias Clasen, Jonas Jonsson, Christian Krause,
Nickolay V. Shmyrev, Christophe Saout, Philippe Blain,
Piotr Klaban]
* Documentation updates [Matthias]
* New and updated translations (ca,cs,cy,el,en_CA,en_GB,es,eu,fi,
fr,gu,he,id,nl,pt,pl,ru,sr,sr@ije,sr@Latn,sv,uk)
Add a workaround for broken dlopen(NULL, 0) implementations, like NetBSD's
one, which don't search in modules opened at runtime to locate symbols
requested through the global handle. The workaround consists in querying
all open modules (not just the main one) when finding a symbol through the
global handle.
This should be fixed in NetBSD, but the check and workaround are needed to
let this work on not-so-old versions of it. The patch has been submitted
to glib developers, too.
This problem exposes, at least, in evolution's settings dialog, where many
widgets can't be created because of missing functions.
and caused lots of obscure problems in programs loading plugins (specially,
gstreamer).
The problem is that the check in the configure script tries to dlopen the
libpthread.so library, but the test program is not linked against libpthread
itself. So it crashes, because this is not supported in NetBSD (the program
was "initialized" as a non-threaded one). I've changed the test program to
use libintl, which seems to work fine.
Bump PKGREVISION to 1.
GLib-2.4 is a stable release adding an incremental improvement
in functionality over GLib-2.2 while maintaining binary and
source compatibility. New features include:
General
* Watches for child process exit integrated into the main loop.
* Unicode tables updated to cover all of Unicode-4.0.
* Standard header file for gettext macros, including Q_() macro
for strings with context.
* Improved seeding for the GRandom random number generator.
Threading
* Atomic operations on integers and pointers.
* GOnce for one-time initialization.
GObject:
* G_DEFINE_TYPE macros for easy definition of GObject types.
* Properties can now be added to interfaces.
* Instance private data allows private data members for objects.
"configure" script which otherwise picks "-pthreads" as the compiler
option for POSIX's Threads.
The real problem is probably that the buildlink3 framework passes
"-pthread" as a compiler option to "configure" and therefore defeats
the probes in the "configure" script. But that's hard to fix.
by moving the inclusion of buildlink3.mk files outside of the protected
region. This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.
BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list. This ordering property is used to check for builtin
packages in the correct order. The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end. However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
Overview of Changes from GLib 2.2.2 to GLib-2.2.3
=================================================
* Win32 [Tor Lillqvist]
- Fix socket handling for giochannel [Andrew Lanoix]
- Omit helper process for GSpawn when possible
- Accept / as well as \ as a pathname separators in
path handling functions.
- Fix g_strdup_printf to be locale sensitive [Ernst Lippe]
- Build fixes [Jeff Bonggren]
- Misc bug fixes
* Documentation improvements [Matthias Clasen]
* glib-gettext.m4 fixes [Tim Mooney, Owen Taylor, James Henstridge]
* Improve configure checks for sprintf [Matthias]
* Misc bug fixes [Albert Chin, Noah Levitt, Manish Singh, Owen,
Morten Welinder, Daniel Yacob]
* New and updated translations (ar,az,cy,eo,is,sr,sr@Latn,zh_CN)
Also, add patch-ac to fix a compilation error in a test (patch
fed back).
* Fix busy wait when main loop was recursed out of an IO watch or similar
[Owen Taylor, Christian Krause]
* Fix main loops run from from other threads [Owen, Jean-Yves Lefort]
* Many bug fixes in Unicode manipulation routines [Noah Levitt]
* Win32 bug fixes [Tor Lillqvist, Cedric Gustin, Daniel Kaufmann]
* Fix portability problems with G_MIN/MAX_INT64 [Manish Singh]
* Miscellaneous bug fixes [Matthias Clasen, Martin Kretzschmar,
Sven Neumann, Havoc Pennington, Balasz Scheidler, Ray Strode,
Hidetoshi Tajima, Owen, Morten Welinder, Dan Winship]
* Code cleanups and performance tweaks [Morten, Matthias, Christian Biere,
Noah Levitt, Owen]
* Threading fixes for configure.in [Sebastian Wilhelmi]
* Fix make uninstall in po/Makefile.in.in [James Henstridge]
* Miscellaneous build fixes [Zach Frey, Raja Harinath, Evan Martin,
Andras Salamon, Jeffrey Stedfast, Hidetoshi Tajima, Owen, Morten]
* Documentation improvements [Matthias, Christian Biere, Christophe Fergeau,
Sven, Phillip Vandry]
* New and updated translations (az,cy,et,fa,id,li,ml,pt,sr,ta,tr,yi,zh_TW)
gthread.la file doesn't note that pthread is a dependancy, so linking with
libtool against libgthread breaks. It seems the workaround for libtool not
understanding -pthread doesn't work, so we use the same thing as linux, and
convert -pthread to -lpthread. gtk2 now builds to completion on -current
Note that this has no impact on 1.6.1 as it doesn't use -pthread.
Major changes:
* Improve generation of pseudo-random integers [Morten Welinder,
Sebastian Wilhelmi]
* Avoid literal UTF-8 in favor of octal escapes [Owen, Tomas Ogren]
* Add copy of the Trio library to build and use for printf() when
system printf isn't good enough. Add g_printf()/etc. [Matthias Clasen]
* Add g_str_has_suffix()/g_str_has_prefix() [Alex Larsson]
* Add g_markup_parse_context_get_element() [Matthias]
* Add g_utf8_strreverse [Matthias]
* Add g_ascii_strtoull() [Tim Janik]
* Support scanning of 64-bit values with GScanner [Tim]
* Add g_set/get_application_name() [Havoc Pennington]
* Add G_LIKELY()/G_UNLIKELY() macros for hinting branch probabilities.
Use for g_return_if_fail(). [Matthias Clasen]
* Add G_GNUC_DEPRECATED macro [Tom Tromey]
* Improve the seeding algorithm of GRandom to avoid problems
with certain pathological seeds. Support G_RANDOM_VERSION=2.0
environment variable. [Sebastian Wilhelmi]
* Improve thread configure checks, use -pthread where applicable
[Sebastian]
* Improve handlng of thread priorities [Sebastian]
...as well as many bug fixes and translation updates.
Introduce USE_PTL2 so that PTL2 can still be used as an alternative (e.g.
for debugging).
Only include ptl2/buildlink2.mk if USE_PTL2 is set and no native threads
are available.
Bump PKGREVISIONS.
Overview of Changes in GLib 2.0.1
=================================
* Portability fixes for Sun's Forte compiler [Erwann Chenede]
* Performance improvements for GObject parameter lookup,
g_filename_to/from_utf8() [Alex Larsson]
* Actually check interface prerequisites [Matthias Clasen,
Miroslaw Dobrzanski-Neumann]
* Fix problem with glib-mkenums taking huge amounts of stack. [Owen Taylor]
* Fix g_signal_handlers_disconnect_by_func() for C++ [Damien Sandras]
* Fixes for g_log() and threading.
[Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, Tim Janik]
* Make g_print(), g_printerr(), g_warning(), etc, convert from
UTF-8 to the encoding of the locale [Sebastain Wilhelmi, Tim]
* Fixes for GIOChannel on windows. [Tor Lillquist]
* Fix gsize/gint mismatches in giochannel.c [Miroslaw]
* Fix file descriptor leak in g_file_get_contents() [Matthias]
* Workaround iconv() problems on older Solaris [Lauri Alanko]
* Fix warnings with gcc-3.1 about asm const [Cody Russel]
* Minor bug fixes.
Other contributors: Hans Breuer, LEE Sau Dan, Sven Neumann, Salmaso Raffaele,
Akira Tagoh, Morten Welinder
GLib is a library which includes routines for C, providing lists,
trees, hashes, memory allocation functionality and many other things.
glib2 will coexist with glib-1.2.*