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