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