Update to 2.10.0:
Overview of Changes from GLib 2.9.6 to GLib 2.10.0
==================================================
* Bugs fixed:
328997 64bit pointer trunction in glib slab-allocator
[Pascal Hofstee]
331110 g_cond_broadcast(inform_cond) without holding
inform_mutex [Chris Wilson, Sebastian Wilhelmi]
332093 Fix some leaks in the tests [Kjartan Maraas]
332435 g_utf8_strlen returns wrong value if a maximum
number of bytes to check is specified
[Matthias Clasen]
331367 gslice requires more POSIX-like semantics for
GPrivate destructors [Tor Lillqvist]
* Documentation improvements [Matthias, Kang Jeong-Hee,
Tor Lillqvist, Stefan Kost]
* Translation updates (el,eu,ka,uk)
Overview of Changes from GLib 2.9.5 to GLib 2.9.6
=================================================
* Bugs fixed:
329124 distclean removes README [Kjartan Maraas, Tim Janik]
317679 GRelation field type not documented [Behdad Esfahbod]
329123 Typo in GTime docs [Kjartan Maraas]
* Documentation improvements [Sven Herzberg, David
Schleef, Kjartan Maraas, Behdad Esfahbod]
* Translation updates (cs,cy,it,ko,pt,sq,sr,sr@Latn,ru
Overview of Changes from GLib 2.9.4 to GLib 2.9.5
=================================================
* Memory management:
Runtime debugging support: The slice allocator
can be turned off by setting G_SLICE=always-malloc
in the environment. Zeroing of freed memory can
now be turned on at runtime by setting
G_DEBUG=gc-friendly in the environment. [Tim Janik]
* Bugs fixed:
328253 HP-UX/IA-64 uses ".so" as default shared library
extension [Albert Chin]
143380 unicode-encoding test fails converting to UTF-16
with libiconv [Marc Moorcroft]
328254 Build breakage (GSlice) [Jens Ganseuer]
328705 C99ism in glib/gmem.c [Kazuki Iwamoto]
* Translation updates (da,et,zh_CN)
Overview of Changes from GLib 2.9.3 to GLib 2.9.4
=================================================
* Type system:
Fix a problem with g_object_compat_control() which
can lead to segfaults in GTK+ applications on 64bit
platforms.
* Thread suppport:
Unused threads now fall back to the global pool after
500 milliseconds, where they wait for another
max-idle-time milliseconds. [Sebastian Wilhelmi]
* Fix a memory allocation problem in GKeyFile. [Morten
Welinder]
Overview of Changes from GLib 2.9.2 to GLib 2.9.3
=================================================
* GTree:
- Replace the simple recursive implementation by
a nonrecursive, threaded one [Maurizio Monge]
* Change g_filename_display_name and
g_filename_display_basename to use the Unicode
replacement character U+FFFD instead of a question
mark, and don't append "(invalid encoding)" [Matthias]
* Documentation improvements [Sven Herzberg, Federico
Mena Quintero, Stefan Kost]
* Bugs fixed:
323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X
[Bogdan Nicula]
326558 Some test failures on IRIX 6.5 [Daichi Kawahata]
169285 "threaded" tree implementation for GTree
[Maurizio Monge]
326747 g_filename_display_basename adds (invalid encoding)
[Alberto Ruiz]
Other contributors: Christian Kellner, Murray Cumming
New and updated translations (bg,ca,de,es,et,gu,ja,nl,th,vi)
Overview of Changes from GLib 2.9.1 to GLib 2.9.2
=================================================
* Memory management:
- Add tests for cache colorization [Tim Janik]
- Minimize space consumption if small amounts of differently
sized slices are allocated, at a small performance cost. [Tim]
* Thread support:
- Add g_atomic_pointer_set() and g_atomic_int_set() [Tim Janik,
Sebastian Wilhelmi]
- Add g_thread_pool_set_sort_function() to allow sorting the
tasks of a threadpool. [Martyn Russell]
- Add g_thread_pool_set_idle_time() to allow unused threads
to exit after a certain time. [Martyn]
* Type system:
- introduce a new type GInitiallyUnowned, which has an initial
floating reference. [Tim]
- Add support for GType parameters. [Matthias]
* Main loop:
- Add g_main_context_is_owner() to determine if the current
thread is the owner of the context. [Michael Meeks]
* Provide g_access(), g_chdir(), g_unlink(), g_rmdir() as
wrapper functions instead of macros. [Manish Singh]
* Documentation improvements [Tim, Matthias, Federico Mena Quintero,
Stefan Kasal, Dan Williams]
* New and updated translations (en_CA,fi,fr,gl,ml,nb,no,zh_HK,zh_TW)
* Bugs fixed:
324179 g_allocator_new() returns pointer to const dummy which Gtk+ 2.8
tries to modify [J. Ali Harlow]
324332 g_option_context_parse() returns false without setting error
[Tim-Philipp Müller]
324950 GLIB 2.9.1 testcase errors [Dan Yefimov]
325015 gslice.c: process.h is needed on Windows [Kazuki Iwamoto]
321978 G_DATALIST_GET_FLAGS() macro is not casting datalist to
gpointer [Andrew Paprocki]
316221 G_LOCK warns about breaking strict-aliasing [Michal Benes,
Stanislav Brabec]
325273 Error in documentation for glib_check_version () [Declan Naughton]
325310 g_spawn_sync hangs when catching both stdout and
stderr [Tor Lillqvist]
325249 gcc warning when using g_rmdir from <glib/gstdio.h> [Jani Monoses]
325864 glib/gthreadpool.c:"#define debug(...)" is C99 [Kazuki Iwamoto]
325874 Should say somewhere that source IDs are > 0 [Dan Williams]
325438 a typo (compatability) [Stefan Kasal]
323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula]
Overview of Changes from GLib 2.9.0 to GLib 2.9.1
=================================================
* Memory management
- The slice allocator is implemented [Tim Janik]
- g_slice_free_chain() has been renamed to
g_slice_free_chain_with_offset() [Tim, Behdad Esfahbod]
- Mem chunks are deprecated [Matthias Clasen]
* Data structures
- Hash tables are refcounted, and have a boxed type [Tim]
* Thread support
- Support for Solaris threads has been removed
[Sebastian Wilhelmi, Andrew Paprocki]
- g_async_queue_sort(), g_async_queue_push_sorted() have
been added to allow GAsyncQueue to be used as a priority
queue, together with the corresponding _unlocked
variants [Martyn Russell]
* GObject:
- The concept of a floating initial reference has been
moved from GtkObject to GObject [Tim]
* Win32 changes:
- Make g_rename() replace existing files [Tor Lillqvist]
* Misc new API:
- G_GUINT64_CONSTANT macro to define guint64
constants [Andrew Paprocki]
- G_GNUC_WARN_UNUSED_RESULT macro to instruct the
compiler to emit a warning if the value returned
by a function is ignored. [Arjan van de Ven, Alex Larsson]
- GList and GSList now have sort functions which take an
extra user data argument [Martyn Russell]
- g_param_spec_ref_sink() has been added for consistency [Tim]
* $LOGNAME is respected when determining user data. [Laszlo Peter]
* Other changes and bug fixes [Tim, Matthias, Behdad,
Christian Persch, Benedikt Meurer, Andrew Paprocki,
Kazuki Iwamoto, Alexis S. L. Carvalho, Stanislav Brabec,
Andreas Schwab, Kalle Vahlman]
* Documentation
- Deprecation warnings carry version information [Matthias]
- The slice allocator has been documented [Matthias, Tim]
- Other improvements [Morten Welinder]
Overview of Changes from GLib 2.8.x to GLib 2.9.0
=================================================
* Unicode support:
- The Unicode tables have been updated to Unicode 4.1,
adding several new values to the GUnicodeBreakType
enumeration. This breaks Pango <= 1.10
[Behdad Esfahbod]
- The various Unicode character predicate functions
(g_unichar_isalpha, g_unichar_isdigit,...) have
been optimized
[Behdad]
- g_utf8_pointer_to_offset, g_utf8_offset_to_pointer:
These functions handle negative offsets now, and
going backwards in g_utf8_offset_to_pointer uses
"stutter stepping".
[Larry Ewing, Matthias Clasen]
* Memory management:
- Mem chunks are no longer used internally in GLib and
GObject. GMemChunk will be deprecated in GLib 2.10
- All APIs based on GAllocator (g_list_push/pop_allocator,
and similar push/pop_allocator functions for other
data structures) have been deprecated, since they
never worked as intended.
- The g_slice_* functions have been added as a
new API for fast allocation of small memory blocks.
The implementation in GLib 2.9.0 is just a simple
wrapper around malloc. GLib 2.10 will have an
efficient and scalable implementation.
[Tim Janik, Matthias]
* Pattern matching:
- g_pattern_match has been optimized to avoid
unnecessary recursion.
[Tim, Matthias]
* g_intern_string, g_intern_static_string:
- New functions to intern strings. These are now used
by GObject to avoid duplicating static strings
[Matthias]
* g_thread_foreach:
- New function to iterate over all GThreads
[Tim, Matthias]
* g_date_set_time_t, g_date_set_time_val:
- New functions to set a GDate from a time_t or
GTimeVal value. g_date_set_time has been deprecated
in favor of these.
[Roger Leigh]
* g_snprintf and g_vsnprintf:
- These functions are no longer declared in gprintf.h,
since they are in glib.h
[Matthias]
2006-02-25 14:31:03 +01:00
|
|
|
# $NetBSD: Makefile,v 1.92 2006/02/25 13:31:03 wiz Exp $
|
2002-03-24 21:27:12 +01:00
|
|
|
|
Update to 2.10.0:
Overview of Changes from GLib 2.9.6 to GLib 2.10.0
==================================================
* Bugs fixed:
328997 64bit pointer trunction in glib slab-allocator
[Pascal Hofstee]
331110 g_cond_broadcast(inform_cond) without holding
inform_mutex [Chris Wilson, Sebastian Wilhelmi]
332093 Fix some leaks in the tests [Kjartan Maraas]
332435 g_utf8_strlen returns wrong value if a maximum
number of bytes to check is specified
[Matthias Clasen]
331367 gslice requires more POSIX-like semantics for
GPrivate destructors [Tor Lillqvist]
* Documentation improvements [Matthias, Kang Jeong-Hee,
Tor Lillqvist, Stefan Kost]
* Translation updates (el,eu,ka,uk)
Overview of Changes from GLib 2.9.5 to GLib 2.9.6
=================================================
* Bugs fixed:
329124 distclean removes README [Kjartan Maraas, Tim Janik]
317679 GRelation field type not documented [Behdad Esfahbod]
329123 Typo in GTime docs [Kjartan Maraas]
* Documentation improvements [Sven Herzberg, David
Schleef, Kjartan Maraas, Behdad Esfahbod]
* Translation updates (cs,cy,it,ko,pt,sq,sr,sr@Latn,ru
Overview of Changes from GLib 2.9.4 to GLib 2.9.5
=================================================
* Memory management:
Runtime debugging support: The slice allocator
can be turned off by setting G_SLICE=always-malloc
in the environment. Zeroing of freed memory can
now be turned on at runtime by setting
G_DEBUG=gc-friendly in the environment. [Tim Janik]
* Bugs fixed:
328253 HP-UX/IA-64 uses ".so" as default shared library
extension [Albert Chin]
143380 unicode-encoding test fails converting to UTF-16
with libiconv [Marc Moorcroft]
328254 Build breakage (GSlice) [Jens Ganseuer]
328705 C99ism in glib/gmem.c [Kazuki Iwamoto]
* Translation updates (da,et,zh_CN)
Overview of Changes from GLib 2.9.3 to GLib 2.9.4
=================================================
* Type system:
Fix a problem with g_object_compat_control() which
can lead to segfaults in GTK+ applications on 64bit
platforms.
* Thread suppport:
Unused threads now fall back to the global pool after
500 milliseconds, where they wait for another
max-idle-time milliseconds. [Sebastian Wilhelmi]
* Fix a memory allocation problem in GKeyFile. [Morten
Welinder]
Overview of Changes from GLib 2.9.2 to GLib 2.9.3
=================================================
* GTree:
- Replace the simple recursive implementation by
a nonrecursive, threaded one [Maurizio Monge]
* Change g_filename_display_name and
g_filename_display_basename to use the Unicode
replacement character U+FFFD instead of a question
mark, and don't append "(invalid encoding)" [Matthias]
* Documentation improvements [Sven Herzberg, Federico
Mena Quintero, Stefan Kost]
* Bugs fixed:
323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X
[Bogdan Nicula]
326558 Some test failures on IRIX 6.5 [Daichi Kawahata]
169285 "threaded" tree implementation for GTree
[Maurizio Monge]
326747 g_filename_display_basename adds (invalid encoding)
[Alberto Ruiz]
Other contributors: Christian Kellner, Murray Cumming
New and updated translations (bg,ca,de,es,et,gu,ja,nl,th,vi)
Overview of Changes from GLib 2.9.1 to GLib 2.9.2
=================================================
* Memory management:
- Add tests for cache colorization [Tim Janik]
- Minimize space consumption if small amounts of differently
sized slices are allocated, at a small performance cost. [Tim]
* Thread support:
- Add g_atomic_pointer_set() and g_atomic_int_set() [Tim Janik,
Sebastian Wilhelmi]
- Add g_thread_pool_set_sort_function() to allow sorting the
tasks of a threadpool. [Martyn Russell]
- Add g_thread_pool_set_idle_time() to allow unused threads
to exit after a certain time. [Martyn]
* Type system:
- introduce a new type GInitiallyUnowned, which has an initial
floating reference. [Tim]
- Add support for GType parameters. [Matthias]
* Main loop:
- Add g_main_context_is_owner() to determine if the current
thread is the owner of the context. [Michael Meeks]
* Provide g_access(), g_chdir(), g_unlink(), g_rmdir() as
wrapper functions instead of macros. [Manish Singh]
* Documentation improvements [Tim, Matthias, Federico Mena Quintero,
Stefan Kasal, Dan Williams]
* New and updated translations (en_CA,fi,fr,gl,ml,nb,no,zh_HK,zh_TW)
* Bugs fixed:
324179 g_allocator_new() returns pointer to const dummy which Gtk+ 2.8
tries to modify [J. Ali Harlow]
324332 g_option_context_parse() returns false without setting error
[Tim-Philipp Müller]
324950 GLIB 2.9.1 testcase errors [Dan Yefimov]
325015 gslice.c: process.h is needed on Windows [Kazuki Iwamoto]
321978 G_DATALIST_GET_FLAGS() macro is not casting datalist to
gpointer [Andrew Paprocki]
316221 G_LOCK warns about breaking strict-aliasing [Michal Benes,
Stanislav Brabec]
325273 Error in documentation for glib_check_version () [Declan Naughton]
325310 g_spawn_sync hangs when catching both stdout and
stderr [Tor Lillqvist]
325249 gcc warning when using g_rmdir from <glib/gstdio.h> [Jani Monoses]
325864 glib/gthreadpool.c:"#define debug(...)" is C99 [Kazuki Iwamoto]
325874 Should say somewhere that source IDs are > 0 [Dan Williams]
325438 a typo (compatability) [Stefan Kasal]
323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula]
Overview of Changes from GLib 2.9.0 to GLib 2.9.1
=================================================
* Memory management
- The slice allocator is implemented [Tim Janik]
- g_slice_free_chain() has been renamed to
g_slice_free_chain_with_offset() [Tim, Behdad Esfahbod]
- Mem chunks are deprecated [Matthias Clasen]
* Data structures
- Hash tables are refcounted, and have a boxed type [Tim]
* Thread support
- Support for Solaris threads has been removed
[Sebastian Wilhelmi, Andrew Paprocki]
- g_async_queue_sort(), g_async_queue_push_sorted() have
been added to allow GAsyncQueue to be used as a priority
queue, together with the corresponding _unlocked
variants [Martyn Russell]
* GObject:
- The concept of a floating initial reference has been
moved from GtkObject to GObject [Tim]
* Win32 changes:
- Make g_rename() replace existing files [Tor Lillqvist]
* Misc new API:
- G_GUINT64_CONSTANT macro to define guint64
constants [Andrew Paprocki]
- G_GNUC_WARN_UNUSED_RESULT macro to instruct the
compiler to emit a warning if the value returned
by a function is ignored. [Arjan van de Ven, Alex Larsson]
- GList and GSList now have sort functions which take an
extra user data argument [Martyn Russell]
- g_param_spec_ref_sink() has been added for consistency [Tim]
* $LOGNAME is respected when determining user data. [Laszlo Peter]
* Other changes and bug fixes [Tim, Matthias, Behdad,
Christian Persch, Benedikt Meurer, Andrew Paprocki,
Kazuki Iwamoto, Alexis S. L. Carvalho, Stanislav Brabec,
Andreas Schwab, Kalle Vahlman]
* Documentation
- Deprecation warnings carry version information [Matthias]
- The slice allocator has been documented [Matthias, Tim]
- Other improvements [Morten Welinder]
Overview of Changes from GLib 2.8.x to GLib 2.9.0
=================================================
* Unicode support:
- The Unicode tables have been updated to Unicode 4.1,
adding several new values to the GUnicodeBreakType
enumeration. This breaks Pango <= 1.10
[Behdad Esfahbod]
- The various Unicode character predicate functions
(g_unichar_isalpha, g_unichar_isdigit,...) have
been optimized
[Behdad]
- g_utf8_pointer_to_offset, g_utf8_offset_to_pointer:
These functions handle negative offsets now, and
going backwards in g_utf8_offset_to_pointer uses
"stutter stepping".
[Larry Ewing, Matthias Clasen]
* Memory management:
- Mem chunks are no longer used internally in GLib and
GObject. GMemChunk will be deprecated in GLib 2.10
- All APIs based on GAllocator (g_list_push/pop_allocator,
and similar push/pop_allocator functions for other
data structures) have been deprecated, since they
never worked as intended.
- The g_slice_* functions have been added as a
new API for fast allocation of small memory blocks.
The implementation in GLib 2.9.0 is just a simple
wrapper around malloc. GLib 2.10 will have an
efficient and scalable implementation.
[Tim Janik, Matthias]
* Pattern matching:
- g_pattern_match has been optimized to avoid
unnecessary recursion.
[Tim, Matthias]
* g_intern_string, g_intern_static_string:
- New functions to intern strings. These are now used
by GObject to avoid duplicating static strings
[Matthias]
* g_thread_foreach:
- New function to iterate over all GThreads
[Tim, Matthias]
* g_date_set_time_t, g_date_set_time_val:
- New functions to set a GDate from a time_t or
GTimeVal value. g_date_set_time has been deprecated
in favor of these.
[Roger Leigh]
* g_snprintf and g_vsnprintf:
- These functions are no longer declared in gprintf.h,
since they are in glib.h
[Matthias]
2006-02-25 14:31:03 +01:00
|
|
|
DISTNAME= glib-2.10.0
|
2002-03-24 21:27:12 +01:00
|
|
|
PKGNAME= ${DISTNAME:S/glib/glib2/}
|
|
|
|
CATEGORIES= devel
|
Update to 2.10.0:
Overview of Changes from GLib 2.9.6 to GLib 2.10.0
==================================================
* Bugs fixed:
328997 64bit pointer trunction in glib slab-allocator
[Pascal Hofstee]
331110 g_cond_broadcast(inform_cond) without holding
inform_mutex [Chris Wilson, Sebastian Wilhelmi]
332093 Fix some leaks in the tests [Kjartan Maraas]
332435 g_utf8_strlen returns wrong value if a maximum
number of bytes to check is specified
[Matthias Clasen]
331367 gslice requires more POSIX-like semantics for
GPrivate destructors [Tor Lillqvist]
* Documentation improvements [Matthias, Kang Jeong-Hee,
Tor Lillqvist, Stefan Kost]
* Translation updates (el,eu,ka,uk)
Overview of Changes from GLib 2.9.5 to GLib 2.9.6
=================================================
* Bugs fixed:
329124 distclean removes README [Kjartan Maraas, Tim Janik]
317679 GRelation field type not documented [Behdad Esfahbod]
329123 Typo in GTime docs [Kjartan Maraas]
* Documentation improvements [Sven Herzberg, David
Schleef, Kjartan Maraas, Behdad Esfahbod]
* Translation updates (cs,cy,it,ko,pt,sq,sr,sr@Latn,ru
Overview of Changes from GLib 2.9.4 to GLib 2.9.5
=================================================
* Memory management:
Runtime debugging support: The slice allocator
can be turned off by setting G_SLICE=always-malloc
in the environment. Zeroing of freed memory can
now be turned on at runtime by setting
G_DEBUG=gc-friendly in the environment. [Tim Janik]
* Bugs fixed:
328253 HP-UX/IA-64 uses ".so" as default shared library
extension [Albert Chin]
143380 unicode-encoding test fails converting to UTF-16
with libiconv [Marc Moorcroft]
328254 Build breakage (GSlice) [Jens Ganseuer]
328705 C99ism in glib/gmem.c [Kazuki Iwamoto]
* Translation updates (da,et,zh_CN)
Overview of Changes from GLib 2.9.3 to GLib 2.9.4
=================================================
* Type system:
Fix a problem with g_object_compat_control() which
can lead to segfaults in GTK+ applications on 64bit
platforms.
* Thread suppport:
Unused threads now fall back to the global pool after
500 milliseconds, where they wait for another
max-idle-time milliseconds. [Sebastian Wilhelmi]
* Fix a memory allocation problem in GKeyFile. [Morten
Welinder]
Overview of Changes from GLib 2.9.2 to GLib 2.9.3
=================================================
* GTree:
- Replace the simple recursive implementation by
a nonrecursive, threaded one [Maurizio Monge]
* Change g_filename_display_name and
g_filename_display_basename to use the Unicode
replacement character U+FFFD instead of a question
mark, and don't append "(invalid encoding)" [Matthias]
* Documentation improvements [Sven Herzberg, Federico
Mena Quintero, Stefan Kost]
* Bugs fixed:
323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X
[Bogdan Nicula]
326558 Some test failures on IRIX 6.5 [Daichi Kawahata]
169285 "threaded" tree implementation for GTree
[Maurizio Monge]
326747 g_filename_display_basename adds (invalid encoding)
[Alberto Ruiz]
Other contributors: Christian Kellner, Murray Cumming
New and updated translations (bg,ca,de,es,et,gu,ja,nl,th,vi)
Overview of Changes from GLib 2.9.1 to GLib 2.9.2
=================================================
* Memory management:
- Add tests for cache colorization [Tim Janik]
- Minimize space consumption if small amounts of differently
sized slices are allocated, at a small performance cost. [Tim]
* Thread support:
- Add g_atomic_pointer_set() and g_atomic_int_set() [Tim Janik,
Sebastian Wilhelmi]
- Add g_thread_pool_set_sort_function() to allow sorting the
tasks of a threadpool. [Martyn Russell]
- Add g_thread_pool_set_idle_time() to allow unused threads
to exit after a certain time. [Martyn]
* Type system:
- introduce a new type GInitiallyUnowned, which has an initial
floating reference. [Tim]
- Add support for GType parameters. [Matthias]
* Main loop:
- Add g_main_context_is_owner() to determine if the current
thread is the owner of the context. [Michael Meeks]
* Provide g_access(), g_chdir(), g_unlink(), g_rmdir() as
wrapper functions instead of macros. [Manish Singh]
* Documentation improvements [Tim, Matthias, Federico Mena Quintero,
Stefan Kasal, Dan Williams]
* New and updated translations (en_CA,fi,fr,gl,ml,nb,no,zh_HK,zh_TW)
* Bugs fixed:
324179 g_allocator_new() returns pointer to const dummy which Gtk+ 2.8
tries to modify [J. Ali Harlow]
324332 g_option_context_parse() returns false without setting error
[Tim-Philipp Müller]
324950 GLIB 2.9.1 testcase errors [Dan Yefimov]
325015 gslice.c: process.h is needed on Windows [Kazuki Iwamoto]
321978 G_DATALIST_GET_FLAGS() macro is not casting datalist to
gpointer [Andrew Paprocki]
316221 G_LOCK warns about breaking strict-aliasing [Michal Benes,
Stanislav Brabec]
325273 Error in documentation for glib_check_version () [Declan Naughton]
325310 g_spawn_sync hangs when catching both stdout and
stderr [Tor Lillqvist]
325249 gcc warning when using g_rmdir from <glib/gstdio.h> [Jani Monoses]
325864 glib/gthreadpool.c:"#define debug(...)" is C99 [Kazuki Iwamoto]
325874 Should say somewhere that source IDs are > 0 [Dan Williams]
325438 a typo (compatability) [Stefan Kasal]
323937 gslice.c in glib 2.9.1 doesn't build on Mac OS X [Bogdan Nicula]
Overview of Changes from GLib 2.9.0 to GLib 2.9.1
=================================================
* Memory management
- The slice allocator is implemented [Tim Janik]
- g_slice_free_chain() has been renamed to
g_slice_free_chain_with_offset() [Tim, Behdad Esfahbod]
- Mem chunks are deprecated [Matthias Clasen]
* Data structures
- Hash tables are refcounted, and have a boxed type [Tim]
* Thread support
- Support for Solaris threads has been removed
[Sebastian Wilhelmi, Andrew Paprocki]
- g_async_queue_sort(), g_async_queue_push_sorted() have
been added to allow GAsyncQueue to be used as a priority
queue, together with the corresponding _unlocked
variants [Martyn Russell]
* GObject:
- The concept of a floating initial reference has been
moved from GtkObject to GObject [Tim]
* Win32 changes:
- Make g_rename() replace existing files [Tor Lillqvist]
* Misc new API:
- G_GUINT64_CONSTANT macro to define guint64
constants [Andrew Paprocki]
- G_GNUC_WARN_UNUSED_RESULT macro to instruct the
compiler to emit a warning if the value returned
by a function is ignored. [Arjan van de Ven, Alex Larsson]
- GList and GSList now have sort functions which take an
extra user data argument [Martyn Russell]
- g_param_spec_ref_sink() has been added for consistency [Tim]
* $LOGNAME is respected when determining user data. [Laszlo Peter]
* Other changes and bug fixes [Tim, Matthias, Behdad,
Christian Persch, Benedikt Meurer, Andrew Paprocki,
Kazuki Iwamoto, Alexis S. L. Carvalho, Stanislav Brabec,
Andreas Schwab, Kalle Vahlman]
* Documentation
- Deprecation warnings carry version information [Matthias]
- The slice allocator has been documented [Matthias, Tim]
- Other improvements [Morten Welinder]
Overview of Changes from GLib 2.8.x to GLib 2.9.0
=================================================
* Unicode support:
- The Unicode tables have been updated to Unicode 4.1,
adding several new values to the GUnicodeBreakType
enumeration. This breaks Pango <= 1.10
[Behdad Esfahbod]
- The various Unicode character predicate functions
(g_unichar_isalpha, g_unichar_isdigit,...) have
been optimized
[Behdad]
- g_utf8_pointer_to_offset, g_utf8_offset_to_pointer:
These functions handle negative offsets now, and
going backwards in g_utf8_offset_to_pointer uses
"stutter stepping".
[Larry Ewing, Matthias Clasen]
* Memory management:
- Mem chunks are no longer used internally in GLib and
GObject. GMemChunk will be deprecated in GLib 2.10
- All APIs based on GAllocator (g_list_push/pop_allocator,
and similar push/pop_allocator functions for other
data structures) have been deprecated, since they
never worked as intended.
- The g_slice_* functions have been added as a
new API for fast allocation of small memory blocks.
The implementation in GLib 2.9.0 is just a simple
wrapper around malloc. GLib 2.10 will have an
efficient and scalable implementation.
[Tim Janik, Matthias]
* Pattern matching:
- g_pattern_match has been optimized to avoid
unnecessary recursion.
[Tim, Matthias]
* g_intern_string, g_intern_static_string:
- New functions to intern strings. These are now used
by GObject to avoid duplicating static strings
[Matthias]
* g_thread_foreach:
- New function to iterate over all GThreads
[Tim, Matthias]
* g_date_set_time_t, g_date_set_time_val:
- New functions to set a GDate from a time_t or
GTimeVal value. g_date_set_time has been deprecated
in favor of these.
[Roger Leigh]
* g_snprintf and g_vsnprintf:
- These functions are no longer declared in gprintf.h,
since they are in glib.h
[Matthias]
2006-02-25 14:31:03 +01:00
|
|
|
MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.10/ \
|
|
|
|
ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.10/ \
|
|
|
|
${MASTER_SITE_GNOME:=sources/glib/2.10/}
|
2002-12-19 13:59:29 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2002-03-24 21:27:12 +01:00
|
|
|
|
2004-08-31 13:53:07 +02:00
|
|
|
MAINTAINER= jmmv@NetBSD.org
|
2002-03-24 21:27:12 +01:00
|
|
|
HOMEPAGE= http://www.gtk.org/docs/glib_toc.html
|
2004-10-04 13:19:40 +02:00
|
|
|
COMMENT= Some useful routines for C programming (glib2)
|
2002-03-24 21:27:12 +01:00
|
|
|
|
2004-04-24 06:56:17 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2002-03-24 21:27:12 +01:00
|
|
|
BUILD_USES_MSGFMT= yes
|
2004-02-11 18:14:13 +01:00
|
|
|
|
2002-11-30 22:08:23 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= gmake perl:run pkg-config
|
2002-03-24 21:27:12 +01:00
|
|
|
USE_LIBTOOL= yes
|
2004-03-10 18:58:22 +01:00
|
|
|
TEST_TARGET= check
|
2004-02-14 18:21:32 +01:00
|
|
|
|
2005-03-13 14:17:39 +01:00
|
|
|
PKGCONFIG_OVERRIDE= glib-2.0-uninstalled.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= glib-2.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-2.0-uninstalled.pc.in
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-2.0.pc.in
|
2005-03-13 14:17:39 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-export-2.0.pc.in
|
Update to 2.8.2:
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)
2005-10-02 14:15:09 +02:00
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0-uninstalled.pc.in
|
2005-03-13 14:17:39 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gmodule-no-export-2.0.pc.in
|
|
|
|
PKGCONFIG_OVERRIDE+= gobject-2.0-uninstalled.pc.in
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gobject-2.0.pc.in
|
2005-03-13 14:17:39 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gthread-2.0-uninstalled.pc.in
|
2004-02-14 19:26:26 +01:00
|
|
|
PKGCONFIG_OVERRIDE+= gthread-2.0.pc.in
|
2002-09-11 13:31:40 +02:00
|
|
|
|
2005-09-28 22:52:18 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PKGLOCALEDIR=${PKGLOCALEDIR:Q}
|
2003-01-04 20:56:38 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-gtk-doc=no
|
2002-03-24 21:27:12 +01:00
|
|
|
CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib
|
Update to 2.4.1:
* 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)
2004-05-02 22:05:53 +02:00
|
|
|
CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc
|
2004-03-10 18:58:22 +01:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
|
2003-10-31 03:11:43 +01:00
|
|
|
|
2006-02-18 21:38:54 +01:00
|
|
|
CONFIGURE_ARGS.gnu-iconv+= --with-libiconv=gnu
|
2004-02-11 01:20:51 +01:00
|
|
|
|
2004-03-22 23:09:17 +01:00
|
|
|
# Avoid an ICE in gcc2 on sparc64
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= F77=${FALSE:Q}
|
2004-03-22 23:09:17 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
CONFIGURE_ENV+= PERL_PATH=${PERL5:Q}
|
2004-10-15 15:42:51 +02:00
|
|
|
|
2005-11-25 22:30:17 +01:00
|
|
|
.include "options.mk"
|
|
|
|
|
2005-09-26 13:44:54 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2005-02-13 20:12:14 +01:00
|
|
|
CPPFLAGS+= -DPREFIX="\"${PREFIX}\""
|
|
|
|
CPPFLAGS+= -DPKGLOCALEDIR="\"${PKGLOCALEDIR}\""
|
|
|
|
CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
|
Update to 2.6.1.
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)
2005-01-09 18:30:00 +01:00
|
|
|
|
2004-04-15 03:49:41 +02:00
|
|
|
.if ${OPSYS} == "FreeBSD"
|
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= thr
|
2004-04-15 03:49:41 +02:00
|
|
|
SUBST_STAGE.thr= post-patch
|
|
|
|
SUBST_FILES.thr= gthread/Makefile.in
|
2005-07-06 09:00:10 +02:00
|
|
|
. if ${OS_VERSION:R} >= 5
|
|
|
|
SUBST_SED.thr= -e "s|@G_THREAD_LIBS_FOR_GTHREAD@|-lpthread|g"
|
|
|
|
. else
|
2004-04-15 03:49:41 +02:00
|
|
|
SUBST_SED.thr= -e "s|@G_THREAD_LIBS_FOR_GTHREAD@|-Wc,-lc_r|g"
|
2005-07-06 09:00:10 +02:00
|
|
|
. endif
|
2004-04-15 03:49:41 +02:00
|
|
|
SUBST_MESSAGE.thr= "Fixing libgthread."
|
|
|
|
|
|
|
|
.endif
|
|
|
|
|
Update to 2.4.1:
* 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)
2004-05-02 22:05:53 +02:00
|
|
|
# Handle directories shared with devel/glib.
|
|
|
|
PRINT_PLIST_AWK+= /^@dirrm include\/glib$$/ \
|
|
|
|
{ print "@unexec $${RMDIR} %D/" $$2 \
|
|
|
|
" 2>/dev/null || $${TRUE}"; next; }
|
|
|
|
|
2004-02-10 02:56:42 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2004-12-20 14:05:08 +01:00
|
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
2006-02-18 21:36:47 +01:00
|
|
|
.if !empty(LOWER_OPSYS:Mirix5*)
|
|
|
|
CONFIGURE_ARGS+= --disable-threads
|
|
|
|
.else
|
2004-02-10 02:56:42 +01:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2006-02-18 21:36:47 +01:00
|
|
|
.endif
|
2002-08-01 07:48:00 +02:00
|
|
|
|
2002-03-24 21:27:12 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|