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