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