Overview of Changes from GLib 2.8.1 to GLib 2.8.2
=================================================
* Win32 changes
- the g_spawn* functions now take their arguments
in UTF-8 [Tor Lillqvist]
- Avoid extra console windows in some situations
[Tor Lillqvist]
* Bug fixes [Kjartan Maraas, Sebastian Wilhelmi,
Mathias Hasselmann]
* Documentation improvements [Matthias, Mark Drago,
Matthew F. Barnes, Behdad Esfahbod]
* Translation updates (bg,ca,cs,cy,da,de,el,en_CA,es,et,
eu,fi,fr,gl,gu,hu,it,ja,nb,nl,no,pl,pt,pt_BR,ro,ru,sk,
sq,sr,sr@Latn,sv,uk,vi,zh_TW)
Overview of Changes from GLib 2.8.0 to GLib 2.8.1
=================================================
* Optimize single-character insertions in GString [Ross Burton]
* Fix build problems on OS X
* Fix build problems on Win32 [Tor Lillqvist, Hans Breuer]
* Other bug fixes [Matthew F. Barnes, Stepan Kasal]
* Documentation improvements [Tristan van Berkom, Behnam
Esfahbod, Gustavo Carneiro, Stepan Kasal, Matthias]
* New and updated translations (ca,cy,ko,ro,uk)
Overview of Changes from GLib 2.7.7 to GLib 2.8.0
=================================================
* Make g_value_transform() handle enum values
correctly on ppc64. [Michael Lorenz]
(Third-party code accessing enumeration values
in GValues should also be changed to access
v_long, not v_int, in order to work on bigendian
64bit machines.)
* Make g_flags_get_first_value() handle a value
of 0 meaningfully. [Tim-Philipp Müller]
Overview of Changes from GLib 2.7.6 to GLib 2.7.7
=================================================
* Make atomic operations on s390 work [Matthias]
* Fix C++ guards in gstdio.h [Tor Lillqvist]
Overview of Changes from GLib 2.7.5 to GLib 2.7.6
=================================================
* Add native implementations of atomic operations
on s390 [Matthias]
* Make atomic reference counting of closures
work on s390 [Matthias]
* Avoid an infinite loop in g_convert_with_iconv().
[Sebastian Bacher]
* Documentation improvements [Ross Burton]
Overview of Changes from GLib 2.7.4 to GLib 2.7.5
=================================================
* Thread-related changes
- Fix build issues on HP-UX [Paul Cornett]
- Threadsafe access to flags stored in datasets [Tim Janik]
- Fix several issues with atomic refcounting for
closures, objects and paramspecs [Tim]
- Improve tests for atomic refcounting changes [Tim]
* Fix handling of stateful encodings in g_convert_* [Matthias]
* Fix translation of GOption help output [Dan Winship]
* Catch format errors in translations. This may cause
"make check" to fail when using older versions
of gettext [Matthias]
* Win32 bug fixes [Tor Lillqvist]
* Documentation improvements [Ross Burton, Jochen Baier,
Matthias, Tim]
* New and updated translations (de,fi,gu,pl,pt,tr,zh_TW)
Overview of Changes from GLib 2.7.3 to GLib 2.7.4
=================================================
* Fix g_atomic_pointer_compare_and_exchange
on Sparc64 [Gert Doering]
* Fix a hang in g_thread_pool_free. [Hong Jen Yee]
* Win32 bug fixes [Tor Lillquist]
* Other bug fixes [Benoit Dejean, Manish Singh]
* Documentation improvements [Bryan Silverthorn,
Callum McKenzie]
* New and updated translations (de,lt,sq,zh_CN)
Overview of Changes from GLib 2.7.2 to GLib 2.7.3
=================================================
* GOption
- Allow callbacks with optional arguments [Pawel Sliwowski]
- Allow to turn off the automatic long option name
disambiguation [Adam McLaurin]
- Only allow printable ASCII as short option names [Matthias]
* Win32
- Build fixes [Tor Lillqvist]
- Rewrite iochannel socket implementation [Tor]
* GObject
- Threadsafety improvements; in particular, refcounting
of objects is done atomically now. [Wim Taymans, Tim Janik]
* Bug fixes [Morten Welinder, Matthias, Wim Taymans]
* Documentation improvements [Richard Laager, Matthias]
* New and improved translations (bf,cs,hu,nb,nl,no)
Overview of Changes from GLib 2.7.1 to GLib 2.7.2
=================================================
* Win32 build fixes [Hans Breuer]
* Bug fixes [Mikael Magnusson]
* Documentation improvements [Matthias Clasen]
* New and updated translations (en_CA,es,et,ja,sr,sr@Latn,zh_TW)
Overview of Changes from GLib 2.7.0 to GLib 2.7.1
=================================================
* GOption
- Allow callback arguments without parameters [Dan Winship]
* GMappedFile: an mmap wrapper [David Schleef, Behdad Esfahbod]
* Misc new functions:
- g_get_host_name [Tor Lillqvist]
- g_mkdir_with_parents [Tor]
- g_build_pathv, g_build_filenamev [Todd A. Fisher,
Matthias Clasen]
* Bug fixes [Roger Leigh, Masatake YAMATO, Kjartan Maraas,
Manish Singh, Tor, Murray Cumming, Kian Duffy, Morten Welinder]
* Documentation improvements [Hong Gang XU, Dan Winship, Matthias]
* New and updated translations (bg,cs,da,en_CA,es,et,nb,nl,no,
sk,th,zh_TW)
Overview of Changes from GLib 2.6.x to GLib 2.7.0
=================================================
* GKeyFile
- Add unit tests [Matthias Clasen, Suren A. Chilingaryan]
- Accept \r\n as line end [Bastian Nocera]
- Don't interpret leading zeros as octal numbers. [Matthias]
- Make key and group removal work [David Hoover, Matthias Hasselmann]
* GOption
- Improve formatting of --help output [Matthias, Noah Levitt]
- Accept -? [Matthias]
- Warn about duplicate main groups [Jeff Franks]
- Treat '-' as non-option argument [Tim Musson, Thomas Leonard]
- Report missing arguments as errors [Björn Lindqvist]
- Add a boxed type for GDate [Tim-Philipp Müller]
* GTree
- g_tree_remove() and g_tree_steal() return status information [Matthew F. Barnes]
* Stdio wrappers
- Work regardless of large file support [Manish Singh]
- Add g_access(), g_chmod(), g_creat(), g_chdir [Tor Lillqvist]
* GObject
- Implement "toggle references" to help language bindings [Owen Taylor]
- Allow to mark names, nicks and blurbs of pspecs as static [Ben Maurer, Matthias]
- Make pspec lookup a bit faster [Morten Welinder]
* Add g_listenv() to list all set environment variables [Hans Petter Jansson]
* Add g_file_set_contents() to atomically write a file. [Søren Sandmann,
Sven Neumann, Manish, Alexis S. L. Carvalho]
* Add g_try_malloc(), g_try_new(), g_try_new0() and g_try_renew() [Stefan Kost]
* Add g_utf8_collate_key_for_filename() to sort filenames taking
extensions and numeric suffixes into account. [Ole Laursen, Alex Larsson]
* Add G_GNUC_NULL_TERMINATED to mark varargs function with
NULL-terminated argument lists. [Marc Meissner]
* Win32 changes
- Improved debugability [Ulf Lamping, Hans Breuer]
- Make filename handling more robust [Tor, Billy Skaggs]
- Improve g_get_system_data_dirs() [Tor]
- Use more precise timers [Tor]
- Build fixes [Kazuki Iwamoto, Hans, Tor, Robert Ögren]
* Other bug fixes [Roger Leigh, Owen, Matthias, Morten, Kjartan Maraas,
Pawel Sakowski, Tor, Simon Budig, Ed Avis, Manish, Nicolas Laurent,
Bastien, Fabrício Barros Cabral, Michael Banck, Daniel Atallah,
J. Ali Harlow, Tim Janik, Hazael Maldonado Torres, Sven, Jon-Kare Hellan,
Dave Benson, Tommi Komulainen, Benjamin Otte, Brian Cameron, Changwoo Ryu,
Christian Biere, Noah, Benoît Carpentier]
* Documentation improvements [Vincent Untz, Matthias, Tim-Philipp Müller,
Morten, Matthew, Federico Mena Quintero, Sebastian Bacher, Oliver Sessink,
Stefan, Jared Lash, Tor, Owen, Daniel Vaillard, Mathieu Lacage]
* New and updated translations (ca,cs,da,el,en_CA,en_GB,es,et,eu,fa,fr,gl,
hu,id,it,lt,mn,ne,nl,pl,pt,pt_BR,ro,rw,sk,sq,sr,sr@Latn,tl,uk,xh,zh_CN)
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.
data loss in libgobject, causing all kinds of annoying glitches in almost
all gtk2-applications (in words of macallan@, who requested this change).
Bump PKGREVISION to 1.
Overview of Changes from GLib 2.6.5 to GLib 2.6.6
=================================================
* Fix several bugs with the handling
of comments in key files [Mikael Magnusson]
* Fix g_atomic_pointer_compare_and_exchange
on Sparc64 [Gert Doering]
* Fix a deadlock with threadpools [Hong Jen Yee]
* Make GLib work on BeOS again [Kian Duffy]
* Win32 bug fixes [Kazuki Iwamoto]
* Other bug fixes [Roger Leigh, Kjartan Maraas,
Morten Welinder]
* New and updated translations (bg,cs,cy,de,
en_CA,es,et,fr,gu,hu,ja,ko,nl,sq,sr,sr@Latn,sv,
te,zh_CN,zh_TW)
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
Add condition for FreeBSD >= 5 then use -lpthread.
I assume the previous -Wc,-lc_r was for 4.x and I keep it there.
(Sorry if I break this for others using FreeBSD. I didn't get much
feedback when posted to tech-pkg in May about this.)
I noticed this when building audio/arts on FreeBSD 5.3-RELEASE:
Fatal error 'Spinlock called when not threaded.' at line 83 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
Bump PKGREVISION since this changes the resulting package for FreeBSD.
(Todo: pkgsrc/mk/pthread.builtin.mk or pkgsrc/mk/pthread.buildlink3.mk
can be improved so this workaround can be removed.)
* GOption
- Treat '-' as non-option argument [Tim Musson, Thomas Leonard]
* Win32 changes
- Improve g_get_system_data_dirs() [Tor]
* Other bug fixes [Tommi Komulainen, Tor, Benjamin Otte,
Morten Welinder, Christian Biere, Noah Levitt, Michael Banck]
* Documentation improvements [Mattew F. Barnes, Federico
Mena Quintero, Daniel Vaillard, Matthias]
* New and updated translations (da,eu,gl,mn,nb,ne,no)
Overview of Changes from GLib 2.6.3 to GLib 2.6.4
=================================================
* Fix compilation with gcc 4.0 [Matthias Clasen]
* Fix g_date_get_iso8601_week_of_year [Jon-Kare Hellan]
* Win32:
- use more precise times in gtimer.c [Tor Lillqvist]
- bug fixes [Tor, Daniel Atallah]
* Other bug fixes [Tim Janik, Matthias, Manish Singh,
Dave Benson, Jeff Franks]
* Documentation improvements [Tim-Philipp Müller, Matthias,
Stefan Kost, Tor, Jared Lash, Morten Welinder]
* New and updated translations (el,fa,hu,id,ne,ro,rw)
Noted on tech-pkg today that older packages had libgobject-2.0.so.400
and libglib-2.0.so.400 and newer packages provided
libgobject-2.0.so.0.600.3 and libglib-2.0.so.0.
The libtool changes on Sept. 22, 2004 made this install different
library naming. The next update was in 2.6.1 (on January 9, 2005).
So setting BUILDLINK_RECOMMENDED.glib2 to that version.
Apparently, 2.6 is binary-compatible with any 2.x version.
Hopefully, this will be good enough to force anyone with glib2 packages
from before Sept. 22, 2004 to update.
Overview of Changes from GLib 2.6.2 to GLib 2.6.3
=================================================
* GOption
- Fix formatting of --help output [Matthias Clasen]
- Accept -? [Matthias]
* Win32 bug fixes [Bill Skaggs, Tor Lillqvist,
J. Ali Harlow, Daniel Atallah]
* Other bug fixes [Ed Avis, Manish Singh, Matthias,
Nicolas Laurent, Kjartan Maraas, Bastian Nocera,
Suren A. Chilingaryan, Michael Banck]
* Documentation improvements [Matthias]
* New and updated translations (ar,el,et,fi,fr,gu,nb,no,uk,xh)
While here, get rid of the XDG path specification madness and use the
installation prefix to locate stuff instead of a nonsense hardcoded
path. Note that this is not pkgviews friendly (not a problem because
the previous behavior wasn't even). This makes applications work out
of the box (well, there are still some hardcoded paths in other
packages that have to be discovered), without any need to set an
environment variable.
* GOption
- Make gtk_init(NULL, NULL) work again [Marcin Krzyzanowski]
- Improve handling of -- [Matthias Clasen]
- Don't show G_OPTION_REMAINING in --help output [Matthew F. Barnes]
* g_find_program_in_path() doesn't return directories [Tommi Komulainen]
* Add gmodule-export-2.0.pc [Matthias]
* Win32 changes
- Improve hangling of UNC paths [Tor Lillqvist]
- g_getenv(), g_setenv(), g_unsetenv(), g_find_program_in_path()
take and return UTF-8 now [Tor]
- Make g_file_test() work more reliably, and use PATHEXT
when check for executables [Tor]
- Build and cross-compilation fixes [J. Ali Harlow]
* Other bug fixes [Jens Hatlak, Morten Welinder,
Tor, Kalpesh Shah, Adrian Bunk
* Documentation improvements [Marcin Krzyzanowski, Tor, Crispin
Flowerday, Mariano Suárez-Alvarez, Christian Biere, Danny Milo,
Vincent Untz, Bastien Nocera
* New and updated translations (cy,de,nl,ru,sq,sv)
Overview of Changes from GLib 2.4.x to GLib 2.6.0
=================================================
* Major new APIs
- GOption, a commandline option parser
- GKeyFile, a parser/editor for the .ini like files
- Functions to support the XDG basedir specification
- Wrappers for common POSIX pathname functions to handle filename
encodings consistently. On Windows, these use UTF-8.
* Miscellaneous new functions
- g_filename_display_name() converts filenames in displayable UTF-8 strings
- g_uri_list_extract_uris() splits uri lists
- g_date_get_iso8601_week_of_year() gets ISO 8601 week numbers
- g_log_set_default_handler() installs an alternate default log handler
- g_get_language_names() obtains a list of applicable locale names
- g_strv_length() calculates the length of NULL-terminated string arrays
- g_win32_get_windows_version() determines the Windows version
- G_GNUC_INTERNAL marks functions as non-exported
- glib_check_version() checks the GLib version at runtime
- g_debug() completes the family of logging functions
* Performance improvements
- Optimize g_utf8_validate()
- Optimize g_markup_parse_context_parse()
- Reduce signal connection complexity from O(n) to O(1)
- Get rid of many PLT entries for internally used exported symbols
- Reduce code size by removing literal strings from g_return_if_fail()
* Other changes
- On Windows, GLib functions that take file name arguments now require
those to be in UTF-8. Functions that return file names return UTF-8.
- Use higher precision for mathematical constants
- Don't convert to/from UTF-8 in g_filename_to_uri/g_filename_from_uri
- Support ll as printf format modifier for long long on all platforms
- Clean up the ABI and enforce the list of exported symbols
- Add a .pc file for using gmodule in libraries
- Require ngettext
* Reduce signal connection complexity from O(n) to O(1) [Sven Neumann]
* GChildWatch
- Use sigaction instead of signal [Jonas Jonnson, Archana Shah]
- Make the very first SIGCHLD work [Gustavo Carneiro]
* Win32 bug fixes [Tor Lillqvist, Bruce Hochstetler]
* Other bug fixes [Andrea Campi, Dave MacLachlan]
we don't add -pthread to CFLAGS. Also, pkgsrc libtool on NetBSD will
do the right thing with respect to pthreads, so we don't need to use the
hack in the configure script.
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.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
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.*