diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-12 | 6 | ||||
-rw-r--r-- | NEWS | 56 | ||||
-rw-r--r-- | README.in | 11 | ||||
-rw-r--r-- | docs/reference/ChangeLog | 2 | ||||
-rw-r--r-- | docs/reference/glib/glib-sections.txt | 1 | ||||
-rw-r--r-- | glib/gthread.c | 6 |
8 files changed, 92 insertions, 2 deletions
@@ -1,5 +1,11 @@ 2005-11-17 Matthias Clasen <mclasen@redhat.com> + * NEWS: Updates + + * glib/gthread.c (g_thread_foreach): Mark as new api. + + * README.in: Updates. + * glib/glib.symbols: * glib/gdate.h: * glib/gdate.c (g_date_set_time_t): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index b527b1ad0..d2a09dd98 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,11 @@ 2005-11-17 Matthias Clasen <mclasen@redhat.com> + * NEWS: Updates + + * glib/gthread.c (g_thread_foreach): Mark as new api. + + * README.in: Updates. + * glib/glib.symbols: * glib/gdate.h: * glib/gdate.c (g_date_set_time_t): diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index b527b1ad0..d2a09dd98 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,5 +1,11 @@ 2005-11-17 Matthias Clasen <mclasen@redhat.com> + * NEWS: Updates + + * glib/gthread.c (g_thread_foreach): Mark as new api. + + * README.in: Updates. + * glib/glib.symbols: * glib/gdate.h: * glib/gdate.c (g_date_set_time_t): @@ -1,3 +1,59 @@ +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] + Overview of Changes from GLib 2.8.0 to GLib 2.8.1 ================================================= * Optimize single-character insertions in GString [Ross Burton] @@ -24,6 +24,17 @@ Installation See the file 'INSTALL' +Notes about GLib 2.10 +===================== + +* The functions g_snprintf() and g_vsnprintf() have been removed from + the gprintf.h header, since they are already declared in glib.h. This + doesn't break documented use of gprintf.h, but people have been known + to include gprintf.h without including glib.h. + +* The Unicode support has been updated to Unicode 4.1. This adds several + new members to the GUnicodeBreakType enumeration. + Notes about GLib 2.6.0 ====================== diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 42c274ce6..0f7b5c9e1 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -2,7 +2,7 @@ * glib/tmpl/date.sgml: * glib/glib-sections.txt: Add g_date_set_time_t, - g_date_set_time_val. + g_date_set_time_val and g_thread_foreach 2005-11-08 Matthias Clasen <mclasen@redhat.com> diff --git a/docs/reference/glib/glib-sections.txt b/docs/reference/glib/glib-sections.txt index efae15c5f..c3e1fdf78 100644 --- a/docs/reference/glib/glib-sections.txt +++ b/docs/reference/glib/glib-sections.txt @@ -522,6 +522,7 @@ g_thread_join g_thread_set_priority g_thread_yield g_thread_exit +g_thread_foreach <SUBSECTION> GMutex diff --git a/glib/gthread.c b/glib/gthread.c index ee2dcbc91..17cee7f73 100644 --- a/glib/gthread.c +++ b/glib/gthread.c @@ -894,14 +894,18 @@ _g_thread_mem_private_set (GThread *thread, * g_thread_foreach * @thread_func: function to call for all GThread structures * @user_data: second argument to @thread_func - * Call @thread_func on all existing GThread structures. Note that + * + * Call @thread_func on all existing #GThread structures. Note that * threads may decide to exit while @thread_func is running, so * without intimate knowledge about the lifetime of foreign threads, * @thread_func shouldn't access the GThread* pointer passed in as * first argument. However, @thread_func will not be called for threads * which are known to have exited already. + * * Due to thread lifetime checks, this function has an execution complexity * which is quadratic in the number of existing threads. + * + * Since: 2.10 */ void g_thread_foreach (GFunc thread_func, |