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