1 What's new in GLib 1.2.0 (since GLib 1.0.x):
3 * GLib is distributed seperatedly from Gtk+
6 * GModule mechanism (implemented in an extra library) which wraps dynamic
7 object code loading facilities in a portable manner
8 * GIOChannel structure to encapsulate the IPC mechanism
10 * GRelations for n-way mapping of certain data
11 * An n-way tree implementation
12 * GDate functionality for calendar date manipulations
13 * GAllocator type and assocated functions
14 * Added generic callback maintenance functions (ghook)
15 * Generic functions for TAB completions
16 * Endian defines (G_*_ENDIAN)
17 * g_log() mechanism for logging of messages at different log levels
18 * Generic main-loop mechanism
19 * New glib-config helper script
20 * Many more API extensions
22 Overview of Changes in GLib 1.1.16:
24 * Allocate smaller pools of memory for glists, gslists, gnodes
27 Overview of Changes in GLib 1.1.15:
29 * HPUX 11 thread system detection should now work
30 * Release the main loop lock around calls to prepare() and
31 check() so it is not held over user code
34 Overview of Changes in GLib 1.1.14:
36 * Check for dlsym() in system libraries and -dl
37 * FreeBSD portability fixes
38 * Random bug fixes and autoconf/automake changes
40 Overview of Changes in GLib 1.1.13:
42 * Removed alloca() based function and macro variants again.
43 * Improved thread related configure tests.
44 * GSource destruction fixups.
45 * Fixed up idle function removal based on user_data pointer.
46 * Advanced Win32 portability.
47 * Enforced GSource's check(), prepare() and dispatch() constrains,
48 loop recursions may only happen from dispatch(), and check() as well
49 as prepare() are called while the main_loop lock is being held.
50 * GLib development now requires GNU autoconf 2.13, GNU automake 1.4
52 * Lots of random portability and bug fixes.
54 Overview of Changes in GLib 1.1.12:
56 * Added alloca functions/macros: g_strdup_a, g_strconcat3_a, g_alloca,
58 * New tests structure. Type 'make check' on your system to run them.
59 * Avoid unnecessary extra hook referencing in g_hook_list_marshal
61 Overview of Changes in GLib 1.1.11:
63 * provide defaults for POLL sysdefs
64 * g_main_is_running: new function to check whether a main loop has been quitted
65 * a few other enhancement/fixes
67 Overview of Changes in GLib 1.1.9:
69 * Check for pthread_attr_init in all cases, Digital Unix 4 requires this
70 * For G_LOCK_DECLARE_*, if !G_THREADS_ENABLED, eat trailing semicolon better
71 * Changed g_main_poll_(add|remove) to g_main_(add|remove)_poll
73 Overview of Changes in GLib 1.1.8:
75 * Added threading support
76 - The ability to specify a set of functions to be used for
78 - Default implementations of locking functions for pthreads,
79 Solaris threads, and (experimentally) NSPR.
80 - All static variables should now properly locked.
81 - Enhancements to the generic main-loop mechanism to be thread-safe.
82 (It is used for the main-loop in GTK+ as of GTK+-1.1.8)
85 Overview of Changes in GLib 1.1.7:
87 * Removed multiple define from glibconfig.h
89 Overview of Changes in GLib 1.1.6:
91 * New GDate functionality for calendar date manipulations (g_date_*)
92 * New GAllocator type and assocated functions
93 * New functions g_slist_copy and g_list_copy to duplicate a list with all
95 * New function g_array_insert_vals and new macro g_array_insert_val to
96 insert elements at an arbitrary index
97 * GAllocators used for glist, gslist, gnode node allocations
98 * Incremental freezing in ghash
99 * New function g_hook_list_marshal_check to eventually destroy hooks after
101 * Revised GIOChannel to provide generic virtual-function based interface
102 * Added generic main-loop abstraction
103 * Removed GListAllocator type and its g_*_allocator_*() function variants
106 Overview of Changes in GLib 1.1.5:
109 * GIOChannel structure to encapsulate the IPC mechanism
110 * Reimplemented endian stuff, using inline asm for x86
112 - g_strescape: escapes backslashes
113 - g_path_is_absolute and g_path_skip_root
114 - g_getenv: expands environment variables that contain references
115 to other environment variables
116 - g_scanner_sync_file_offset: rewind the filedescriptor to the current
117 buffer position and blow the file read ahead buffer
118 - g_array_remove_index: remove an entry, preserving the order
119 - g_array_remove_index_fast: remove an entry, order might be distorted
120 - g_ptr_array_remove: remove an entry, preserving the order
121 - g_ptr_array_remove_fast: remove an entry, order might be distorted
122 - g_byte_array_remove_index: wrapper for g_array_remove_index
123 - g_byte_array_remove_index_fast: wrapper for g_array_remove_index_fast
124 - g_strncasecmp: modeled closely after g_strcasecmp
125 - g_list_sort, g_slist_sort: to merge sort GLists and GSLists
127 - G_DIR_SEPARATOR, G_DIR_SEPARATOR_S: platform-dependant file name
129 - G_SEARCHPATH_SEPARATOR, G_SEARCHPATH_SEPARATOR_S: platform-dependant
130 search path syntax conventions
131 - G_STRUCT_OFFSET, G_STRUCT_MEMBER_P, G_STRUCT_MEMBER: for handling
132 structure fields through their offsets
133 * Removed G_ENUM, G_FLAGS, G_NV, and G_SV macros
136 Overview of Changes in GLib 1.1.4:
138 * Added generic callback maintenance functions (ghook)
139 * New endian defines (G_*_ENDIAN)
140 * New string join/split/free routines
143 Overview of Changes in GLib 1.1.3:
145 * New GModule mechanism (implemented in an extra library) which wraps dynamic
146 object code loading facilities in a portable manner.
147 * glib-config features extra "glib" (old behaviour remains) and "gmodule"
148 (add libgmodule.so to the --libs output) arguments now. this can also
149 be specified as fourth argument to the AM_PATH_GLIB() macro.
150 * Overhaul of the `inline' autoconfiguration stuff, so inlining should be
151 sufficiently supported on all systems that allow inlining now.
152 * New g_log() mechanism for logging of messages at different log levels,
153 associated with certain log domains (define -DG_LOG_DOMAIN for your library).
154 * New inline functions for bit masks tests.
155 * GNode macros (and functions) now return the newly allocated node.
156 * New macro G_VA_COPY() to work around va_list copying oddities on some
157 platforms. the non-static g_vsprintf() function vanished in favour of
158 a publically exported g_strdup_vprintf().
159 People that used the former g_vsprintf() would definitely want to read the
160 associated ChangeLog entries (grep for printf).
161 * New utility functions:
162 g_strndup(), g_on_error_query(), g_on_error_stack_trace(), g_strdup_printf(),
163 g_strdup_vprintf(), g_printf_string_upper_bound(), g_spaced_primes_closest(),
164 g_strnfill(), g_memdup().
165 * Overhaul of the array implementations, this contains some source incompatible
166 changes. Again, the ChangeLog is much more informative (grep for garray.c).
167 * The internals of the g_dataset mechanism are now exported through the
168 new g_datalist_* API (this is also the underlying implementation for the
169 keyed data of GtkObjects).
170 * New function g_atexit(), use of the ATEXIT() macro is discouraged.
171 * Better configure checks for ansi compliance.
172 * Libtool update to version 1.2b.
173 * Lotsa bug fixes and cleanups as always ;)
175 Overview of Changes in GLib 1.1.2:
177 * Fixed packaging mistake which occured in 1.1.1
178 * fix 64-bitness in g_prints in glibtest
180 What is new in GLib 1.1.1:
182 * An n-way tree implementation is provided now, based on the GNode structure.
183 * Bugfix for pointer arrays.
185 What is new in GLib 1.1.0:
187 * GLib is distributed seperatedly from Gtk+ now and uses a sophisticated
188 shared library versioning scheme to deal with interface and binary
190 * There is a glib-config helper script installed now.
191 * Fixups all over the place.
192 * gboolean is now a gint, not a gchar anymore.
193 * API extensions for GList and GSList.
194 * New g_str*() functions for simple string handling.
195 * GScanner extensions for scope, warning and error handling.
196 * Minor performance improvements for GMemChunks.
197 * Implementations of GQuarks and datasets (similar to GtkObjects data
198 mechansim, but works for generic memory locations).
199 * More convenience macros for GNU C function arguments.
200 * Const correction all over the place, including a new pointer type
202 * Generic functions for TAB completions.
203 * GRelations for n-way mapping of certain data.