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