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