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