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