Updates
authorMatthias Clasen <mclasen@redhat.com>
Thu, 17 Nov 2005 19:05:59 +0000 (19:05 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 17 Nov 2005 19:05:59 +0000 (19:05 +0000)
2005-11-17  Matthias Clasen  <mclasen@redhat.com>

* NEWS: Updates

* glib/gthread.c (g_thread_foreach): Mark as new api.

* README.in: Updates.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
NEWS
README.in
docs/reference/ChangeLog
docs/reference/glib/glib-sections.txt
glib/gthread.c

index b527b1a..d2a09dd 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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): 
index b527b1a..d2a09dd 100644 (file)
@@ -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): 
index b527b1a..d2a09dd 100644 (file)
@@ -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/NEWS b/NEWS
index 2a88b04..9d61b0d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -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]
index 5a1ce5e..6ec5b0c 100644 (file)
--- a/README.in
+++ b/README.in
@@ -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
 ======================
 
index 42c274c..0f7b5c9 100644 (file)
@@ -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>
 
index efae15c..c3e1fdf 100644 (file)
@@ -522,6 +522,7 @@ g_thread_join
 g_thread_set_priority
 g_thread_yield
 g_thread_exit
+g_thread_foreach
 
 <SUBSECTION>
 GMutex
index ee2dcbc..17cee7f 100644 (file)
@@ -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,