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