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