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