Put the g_return_val_if_fail() in the right place.
[glib.git] / NEWS
blob1df36f9f23701b463359922f50c86f90c02a3d82
1 Overview of Changes from GLib 2.2.0 to GLib-2.2.1
2 =================================================
3 * Win32 [Tor Lillqvist]
4   - Improve handling of stderr/stdout
5   - Install .def files
6   - Fix quoting for GSpawn [Alex Shaduri]
7   - Miscellaneous bug fixes
8 * configure fixes [Owen Taylor, Manish Singh, Rich Burridge, Tim Mooney]
9 * New and updated translations (am,bn,et,fi,mn,nl,pl,pt_BR,ru,zh_TW,uk)
11 Overview of Changes from GLib 2.1.5 to GLib-2.2.0
12 =================================================
14 * Fix a problem with g_thread_init() on 64-bit problems
15   [Alceste Scalas, Sebastian Wilhelmi]
16 * Add assembly implementations of byteswap macros
17   for ia64 and x86_64. [Manish Singh]
18 * IOChannel fixes for Win32 [Tor Lillqvist, Thorsten Maerz]
19 * Updated translations (bg,ca,es,da,fi,lv,ru,sk)
21 Overview of Changes from GLib 2.1.4 to GLib-2.1.5
22 =================================================
24 * Win32 bug fixes [Tor Lillqvist]
25 * Various post-rewrite fixes for glib-gettext.m4 [Owen Taylor,
26   Jody Goldberg, Kjartan Maraas, Johannes Stezenbach]
27 * Ensure we have a GUINT64_FORMAT by pulling in Trio
28   if necessary [Manish Singh]
29 * Further Trio build fixes [Matthias Clasen, Owen]
30 * Hack around gcc, libtool issues with -pthread [Owen]
31 * Docs improvements [Matthias]
32 * Bug and portability fixes 
33 * Updated and new translations (bg,de,fi,fr,sq,fr)
35 Other contributors: Kai Poitschke, Morten Welinder
37 Overview of Changes from GLib 2.1.3 to GLib-2.1.4
38 =================================================
40 * autoconf changes to make it possible to cross compile
41   GLib. [Owen Taylor, Dan Kegel, Amy Lin, Dimi Shahbaz, 
42   Johannes Stezenbach]
43 * Use libintl when it has bind_textdomain_codeset() and
44   GLib doesn't. [Owen]
45 * Improve generation of pseudo-random integers [Morten Welinder, 
46   Sebastian Wilhelmi]
47 * Avoid literal UTF-8 in favor of octal escapes [Owen, Tomas Ogren]
48 * Cleanup include order [Sven Neumann]
49 * autoconf cleanups and bug fixes [Daniel, Matthias Clasen, Owen]
50 * Doc fixes and additions [Matthias]
52 Other contributors: James M. Cape, Frederic Crozat, Martin Gansser,
53   Phuc LeHong, Manish Singh, Joshua Weage, Morten Welinder
55 Overview of Changes from GLib 2.0.x to GLib-2.1.x
56 =================================================
58 * Add copy of the Trio library to build and use for printf() when 
59   system printf isn't good enough. Add g_printf()/etc. [Matthias Clasen]
60 * Add g_str_has_suffix()/g_str_has_prefix() [Alex Larsson]
61 * Add g_markup_parse_context_get_element() [Matthias]
62 * Add g_utf8_strreverse [Matthias]
63 * Add g_ascii_strtoull() [Tim Janik]
64 * Support scanning of 64-bit values with GScanner [Tim]
65 * Add g_set/get_application_name() [Havoc Pennington]
66 * Add G_LIKELY()/G_UNLIKELY() macros for hinting branch probabilities. 
67   Use for g_return_if_fail(). [Matthias Clasen]
68 * Add G_GNUC_DEPRECATED macro [Tom Tromey]
69 * Improve the seeding algorithm of GRandom to avoid problems
70   with certain pathological seeds. Support G_RANDOM_VERSION=2.0
71   environment variable. [Sebastian Wilhelmi]
72 * Improve thread configure checks, use -pthread where applicable
73   [Sebastian]
74 * Improve handlng of thread priorities [Sebastian]
75 * Fix up parameter names that might shadow functions from
76   system headers [Soeren Sandmann]
77 * Clean up usage of deprecated functions [Manish Singh]
78 * Docs fixes and improvements. In particular, include "Since" information.
79   [Matthias, Soeren, Martin Schulze, Daryll Strauss, Bill Janssen, 
80   Owen Taylor, Morten Welinder]. 
82 Overview of Changes in GLib 2.0.7
83 =================================
85 * Fix C++ warnings in gtype.h [Dom Lachowicz]
86 * Fix g_type_fundamental_next() [Tim Janik]
87 * Fix various missing includes of config.h [Morten Welinder]
88 * Handle main loop initialization before g_thread_init [Sebastian Wilhelmi]
89 * Various 64-bit fixes [Manish Singh]
90 * Fix GPoll on Win32 [Tor Lillqvist, Herman Bloggs]
91 * Fix bug with buffering on UTF-8 IOChannels [Daniel Elstner]
92 * Misc bug and build fixes [Soren Andersen, Gustavo Carneiro, Tor,
93      Tim, Havoc Pennington,  Matthias Clasen, Sebastian Rittau,
94      Masahiro Sakai, Arvind Samptur, HideToshi Tajima, Owen Taylor]
95 * Updated and new translations (be,cs,de,*fa,it,lv,pt_BR,tr)
97 Overview of Changes in GLib 2.0.6
98 =================================
100 * Fix problem with interface prerequisites [Jon Trowbridge, Dave Camp]
101 * Clean up debug spew from GObject [Anders Carlsson]
102 * Compiler warning fixes [David L. Cooper II]
103 * Fix some problems with g_build_path() [Guillaume Chazarain, Owen Taylor]
104 * Fixes for --disable-debug [Sebastian Wilhelmi]
105 * Threading fixes [Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, 
106   Rajkumar Sivasamy, Laurent Vivier]
107 * Documentation fixes [Jacob Berkman, Manuel Clos, Jared Dukat, 
108   Sebastian Rittau, Linus Welleij]
109 * Misc bug fixes [Anders Carlsson, Sam Couter, Morten Welinder, Owen]
110 * Updated translations (bg,ko,vi)
112 Overview of Changes in GLib 2.0.5
113 =================================
115 * Fix problem with interface prerequisites [Jon Trowbridge, Dave Camp]
116 * Clean up debug spew from GObject [Anders Carlsson]
117 * Compiler warning fixes [David L. Cooper II]
118 * Fix some problems with g_build_path() [Guillaume Chazarain, Owen Taylor]
119 * Fixes for --disable-debug [Sebastian Wilhelmi]
120 * Threading fixes [Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, 
121   Rajkumar Sivasamy, Laurent Vivier]
122 * Documentation fixes [Jacob Berkman, Manuel Clos, Jared Dukat, 
123   Sebastian Rittau, Linus Welleij]
124 * Misc bug fixes [Anders Carlsson, Sam Couter, Morten Welinder, Owen]
125 * Updated translations (bg,ko,vi)
127 Overview of Changes in GLib 2.0.4
128 =================================
130 * Fix some 64-bit problems. (George Lebl, David L. Cooper II)
131 * Add note about Tru64 iconv to INSTALL. (Manuel Op de Coul)
132 * Fix problem with timouts > MAXINT. (Tim Janik, Owen Taylor)
133 * Updated translations (ca,es,fr,ja,gl,ms,nl,pl,pt,ru)
135 Overview of Changes in GLib 2.0.3
136 =================================
138 * Handle sorting 0-length arrays (Ron Arts)
139 * Threading fixes (Sebastian Wilhelmi)
140 * Portability fixes (Miroslaw Dobrzanski-Neumann, Jacob Berkman, Gareth Pierce, 
141   Sebastian, Qingjiang Yuan)
142 * Various fixes for glib-2.0.m4. (Jim Gettys, others.)
143 * Locate right glib-genmarshal when cross-compiling. (Mitch Natterer)
144 * Win32 fixes (Tor Lillqvist)
145 * Try to fix g_get_charset() related segfaults. (Owen)
146 * Fixes for gettext detection. (Dan Winship, HideToshi Tajima, Boyd Lynn Gerber,
147   Andrew P. Lentvorski, Jr.)
148 * Fix g_scanner_unexp_token() (Tim Janik, Sven Neumann)
149 * g_markup fixes. (Matthias Clasen.)
150 * Bug fixes and cleanups (Daniel Elstner, Matthias, Laszlo Peter, Morten Welinder,
151   Wayne Schuller)
153 Overview of Changes in GLib 2.0.1
154 =================================
156 * Portability fixes for Sun's Forte compiler [Erwann Chenede]
157 * Performance improvements for GObject parameter lookup, 
158   g_filename_to/from_utf8() [Alex Larsson]
159 * Actually check interface prerequisites [Matthias Clasen,
160   Miroslaw Dobrzanski-Neumann]
161 * Fix problem with glib-mkenums taking huge amounts of stack. [Owen Taylor]
162 * Fix g_signal_handlers_disconnect_by_func() for C++ [Damien Sandras]
163 * Fixes for g_log() and threading.
164   [Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann, Tim Janik]
165 * Make g_print(), g_printerr(), g_warning(), etc, convert from
166   UTF-8 to the encoding of the locale [Sebastian Wilhelmi, Tim]
167 * Fixes for GIOChannel on windows. [Tor Lillqvist]
168 * Fix gsize/gint mismatches in giochannel.c [Miroslaw Dobrzanski-Neumann]
169 * Fix file descriptor leak in g_file_get_contents() [Matthias]
170 * Workaround iconv() problems on older Solaris [Lauri Alanko]
171 * Fix warnings with gcc-3.1 about asm const [Cody Russel]
172 * Minor bug fixes.
174 Other contributors: Hans Breuer, LEE Sau Dan, Sven Neumann, Salmaso Raffaele,
175   Akira Tagoh, Morten Welinder
178 Overview of Changes in GLib 2.0.0
179 =================================
181 * Thread portability fixes [Sebastian Wilhelmi]
182 * Documentation updates [Owen Taylor]
183 * Make g_strerror(), g_strsignal() properly return UTF-8,
184   call bind_text_domain_codeset() so that error strings
185   are in UTF-8 as well. [Owen, Tor Lillqvist]
187 Overview of Changes in GLib 2.0.0 rc1:
188 ======================================
190 * Win32 fixes [Tor Lillqvist]
191 * Portability fixes [Finlay Dobbie, Miroslaw Dobrzanski-Neumann]
192 * Fix up g_date_strftime [Daniel Elstner]
193 * Add some structure padding [Tim Janik]
194 * Make g_get_homedir() prefer the users home directory to $HOME
196 Other contributors: Matthias Clasen, Paolo Maggi, Christian Rose
198 Overview of Changes in GLib 1.3.15:
199 ===================================
201 * Speed up marshalers by using private access to GValue 
202   [Anders Carlsson, Tim Janik]
203 * Reduce GValue to 2 elements [Tim]
204 * Add G_DEBUG environment variable, G_DEBUG=fatal_warnings [Matthias Clasen]
205 * Fixes for AIX compilation [Miroslaw Dobrzanski-Neumann]
206 * Add padding to various structures [Owen Taylor, Tim]
207 * Win32 fixes [Tor Lillqvist]
209 Other contributors: James Henstridge, Ryan Lovett, Morten Welinder,
210   Daniel Elstner
212 Overview of Changes in GLib 1.3.14:
213 ===================================
215 * Register value transformations for gint64, guint64 [Andy Wingo]
216 * Build with large-file support [Sven Neumann, Owen Taylor]
217 * Fix handling of hostnames in URI's [Darin Adler]
218 * Main loop bug fixes [Havoc Pennington, Owen]
219 * Doc fixes and improvements [Manish Singh, Tim Janik]
220 * Support ' as attribute delimiters in GMarkup [Matthias Clasen]
221 * Win32 fixes [Hans Breuer, Tor Lillqvist]
222 * Threading bug and build fixes [Sebastian Wilhelmi, Miroslaw Dobrzanski-Neumann]
223 * Miscellaneous bug fixes
225 Other contributors: Matthias Clasen, James Henstridge, Mitch Natterer, 
226   Morten Welinder.
228 Overview of Changes in GLib 1.3.13:
229 ===================================
231 * Fix g_filename_to/from_uri for Win32 [Tor Lillqvist, Darin Adler]
232 * Miscellaneous win32 fixes [Tor, Hans Breuer]
233 * Fix thread options for gcc on AIX [Jerome Zago, Sebastian Wilhelmi]
234 * Documentation improvements [Ron Steinke, Matthias, Sebastian]
235 * Cache iconv converters as used by g_convert() [Jeffrey Stedfast]
236 * Bug fixes [Sven Neumann, Owen Taylor, Matthias Clasen, Jeffrey,
237   Laszlo Peter, Havoc Pennington, Tim Janik]
239 Overview of Changes in GLib 1.3.12:
240 ===================================
242 * Implement closure chaining, fixing up API (Tim Janik)
243 * Closure chaining test case (James Henstridge)
244 * Make GType long not int where both are equal width (Tim)
245 * Win32 fixes and improvements (Hans Breuer, Tor Lillqvist)
246 * Fixes for NetBSD. (Dan Winship)
247 * Use snprintf() for g_printf_string_upper_bound() where possible. (Matthias Clasen)
248 * Save space for GBSearchArray (Tim Janik)
249 * Documentation improvements. (Matthias, Sven Neumann, Havoc Pennington)
251 Other contributors: Darin Adler, Chris Blizzard, Anders Carlson, Daniel Elstner, Michael Meeks, 
252   Mark McLoughlin, Dave Neary, Manish Singh, Owen Taylor, HideToshi Tajima, 
253   Sebastian Wilhelmi.
256 Overview of Changes in GLib 1.3.11:
257 ===================================
259 * Win32 fixes [Hans Breuer, Tor Lillqvist]
260 * Documentation improvements [Matthias Clasen]
261 * Portable directory handling API [Hans]
262 * Threading fixes [Sebastian Wilhelmi, Havoc Pennington]
263 * Fix excess relocations in Unicode tables [Andrew Taylor]
264 * Fix gpattern for UTF-8 [Matthias Clasen]
265 * Support overriding class closures [Tim Janik]
266 * Support for derivation from G_TYPE_POINTER [Owen Taylor]
267 * Hide pointers to type information inside GType to reduce locking
268   [Alex Larsson, Tim]
269 * Adds check for direct inclusion of gobject/*.h [Owen]
270 * GObject API cleanups [Tim]
272 Other contributors: Darin Adler, Jacob Berkman, Daniel Egger, Eric Lemings, 
273   Michael Meeks, Mark McLoughlin, Arkadiusz Miskiewicz, Dan Winship
276 Overview of Changes in GLib 1.3.10:
277 ===================================
279 * Many Win32 fixes and improvements [Tor Lillqvist]
280 * Documentation improvements [Matthias Clasen]
281 * g_string_printfa() renamed to g_string_append_printf()
282 * Use libcharset from libiconv to implement charset detection
283   more portably. [Owen Taylor, Hidetoshi Tajima]
284 * Add 64 bit type support to GObject [Joshua Pritikin, Mathieu Lacage, Owen]
285 * Make support for 64 bit integers a requirement [Joshua]
286 * GPattern improvements [Tim Janik, Matthias]
287 * Locale independent g_ascii_strtod / g_ascii_dtostr [Alex Larsson]
288 * Many bug fixes and minor tweaks.
290 Other Contributors: Darin Adler, Jakub Jelinek, James Antill, Andrew Taylor,
291   Ben Gertzfield, Elliot Lee, Manish Singh, Abel Cheung, Laszlo Peter,
292   Sven Neumann, George Lebl, Raja Harinath, Sebastian Wilhelmi,
293   Jacob Berkman
296 Overview of Changes in GLib 1.3.9:
297 ==================================
299 * Fixes for comparison of threads [Sebastian Wilhelmi]
300 * Use vasprintf() when possible for g_strdup_printf [Matthias Clasen]
301 * Win32 fixes [Tor Lillqvist, Hans Breuer]
302 * Add a len argument to g_ascii_strup/strdown
303 * Bug, portability fixes, cleanups.
305 Other Contributors: Darin Adler, Katsuhiro Okuno, Joshua N. Pritikin
308 Overview of Changes in GLib 1.3.8:
309 ==================================
311 * Documentation updates [Owen]
312 * Made GType interfaces overridable in derived types
313 * Many win32 fixes [Tor Lillqvist]
314 * Miscellaneous cleanups and fixes
316 Other contributors:
317   Darin Adler, Matthias Clasen, Ron Steinke, Hans Breuer, Alex Larsson
320 Overview of Changes in GLib 1.3.7:
321 ==================================
323 * Integrate GClosure support into the main loop [Owen Taylor]
324 * More GSignal convenience functions (macros) [Sven Neumann, Tim Janik]
325 * Introduced weak references for GObject [James Henstridge, Sven, Tim] 
326 * Minor hash table optimizations
327 * Main loop and threading improvements [Sebastian Wilhelmi]
328 * Added g_ascii_* functions to be used for locale insensitive UTF-8
329   compliant code instead of old string functions  [Darin Adler, Alex Larsson]
330 * Add functions for Unicode case-conversion, normalization, and 
331   collation [Owen]* GString improvements [Owen]
332 * Reworked the GIOChannel code [Hidetoshi Tajima, Ron Steinke]
333 * Removed glib-config-2.0 in favour of pkgconfig [Sebastian]
334 * Make code 64bit clean [Mark Murnane]
335 * More G_CONST_RETURN fixes
336 * Many improvements to the win32 code [Tor Lillqvist, Hans Breuer]
337 * Miscellaneous bug and API fixes
339 Other contributors:
340   Michael Natterer, Christopher James Lahey, Padraig O'Briain,
341   Matthias Clasen, Josh Pritikin, Steve Baker, Cesar Rincon, Garry R. Osgood,
342   Michael Meeks, Laszlo Peter,  Martin Baulig, Kjartan Maraas, Andrew Lanoix,
343   Peter Williams
346 Overview of Changes in GLib 1.3.6:
347 ==================================
349 * Threads have a "return value" from g_thread_join
350 * Removed ability to adjust thread stack size
351 * Prefix warnings with progname/PID by default, change toggle for this to 
352   be an env variable G_MESSAGES_PREFIXED not a compile-time option
353 * GMarkup speedups
354 * GDate const, convenience fixups
355 * Include test cases that headers are compilable by C++ compiler
356 * Add ability to spawn processes with argv[0] != executable path.
357 * g_strstr_len, g_strrstr, g_strrstr_len
358 * Add length argument to g_utf8_strchr and g_utf8_strrchr.
359 * Misc bug fixes
362 Overview of Changes in GLib 1.3.5:
363 ==================================
365 * Added an installed glib-mkenums Perl program for parsing enumeration
366   declarations from header files.
367 * Mark some additional deprecated functions.
368 * Bug and Portability fixes
371 Overview of Changes in GLib 1.3.4:
372 ==================================
374 * Efficiency improvements for GThreadPool
375 * A few bug fixes
376 * Build fixes
377 * Documentation improvements
380 Overview of Changes in GLib 1.3.3:
381 ==================================
383 GLib:
385 * More user_data support in various functions.
386 * Main loop API revamps to support per-thread main loops.
387 * Unicode handling improvements.
388 * Implemented debugging traps.
389 * G_CONST_RETURN specification all over the place.
390 * Various new small utility functions.
391 * Random number generator precision improvements.
392 * New configure option --disable-mem-pools.
393 * Many Win32 improvements.
394 * Added g_try_malloc() friends varinats.
395 * Many documentation improvements.
396 * Many threading improvements, support for dynamic allocation
397   of static mutexes.
398 * GHookLIst API cleanups.
399 * Improved format support of GDate parser.
400 * String function speed improvements with new g_stpcpy().
401 * Hashtable API additions.
402 * New GPatternSpec for shell-style pattern matching (from GtkPatternSpec).
403 * Optimizations, cleanups, bug fixes.
405 GObject:
407 * Added many convenience functions.
408 * GClosure and GParamSpec use float/sink ref-counting scheme now.
409 * Reworked property change notification.
410 * Binary searchable array cleanups, so it's widely usable now.
411 * Added static content keeping for some GValue types.
412 * Support for statically scoped signal parameters.
413 * Extinguished property trailer args in set/get interface.
414 * Added support for abstract types.
415 * G_CONST_RETURN specification all over the place.
416 * Split parameter exchange functionality into value transforms
417   and parameter conversions.
418 * Added signal emission hooks and signal accumulators.
419 * Added interface prerequisites to support is_a (interface, object)
420   relations.
421 * Implemented GValueArray.
422 * New types, boxed: G_TYPE_VALUE, G_TYPE_CLOSURE, G_TYPE_GSTRING
423   GParamSpecs: G_TYPE_PARAM_PARAM, G_TYPE_PARAM_POINTER, G_TYPE_PARAM_CLOSURE,
424   G_TYPE_VALUE_ARRAY, G_TYPE_PARAM_UNICHAR, G_TYPE_PARAM_VALUE_ARRAY.
425 * Varrags value collection improvements.
426 * Implemented debugging traps.
427 * Made things thread-safe.
428 * Many documentation improvements.
429 * Many cleanups, optimizations and bug fixes.
432 Overview of Changes in GLib 1.3.2:
433 ==================================
435 GLib:
437 * Win32 build improvements  [Tor]
438 * Improvements to error reporting  
439   (g_critical(), g_return_if_reached()) [Darin]
440 * Add g_strlcpy/g_strlcat  [David Wheeler]
441 * New IO channel implementation for Win32  [Tor] 
442 * Make g_array_free, g_string_free return pointer to memory requested
443   not to be freed.  [Darin]
444 * Added GError based error reporting for thread functions.  [Sebastian]
445 * Moved reference docs into GLib distribution. [Owen]
446 * Added g_convert() for doing convenient character set conversions based
447   on iconv. (GLib now requires libiconv or a native iconv.) [Havoc/Owen]
448 * Various Unicode handling additions (g_ucs4_to_utf8, g_utf8_validate(),
449   g_{locale,filename}_{to,from}_utf8)  [Robert/Havoc/Owen]
450 * Portability fixes for threading.  [Sebastian]
451 * Added convenient functions for launching new processes (g_spawn_*),
452   and shell quoting/unquoting functions.  [Havoc]
453 * Split glib.h into many headers.  [Sebastian]
454 * Added a simple callback-based parser for XML-like files (GMarkup).  [Havoc]
455 * Fixed confusions between comparison functions that return <0, 0, >0
456   and equaility functions that return FALSE,TRUE.  [Sebastian]
457 * Added safe/portable temporary file manipulation functions.  [Tor]
458 * autoconf improvements.  [Raja]
459 * Many documentation improvements.
460 * Bug fixes.
462 GObject:
464 * Added boxed and pointer types.  [Tim/Jonathan]
465 * Added callback abstraction (GClosure)  [Tim]
466 * Added signal system (GSignal)  [Tim]
467 * Make GTypePlugin an interface  [Tim]
468 * Added GTypeModule - a simple GTypePlugin instantiation  [Owen]
469 * Bug fixes.
472 What's new in GLib 1.3.1:
473 =========================
475 * New GObject library added including object system based on
476   the GTK+ object system. 
477 * Functions for getting the properties of Unicode characters, 
478   computing the canonical decomposition and ordering combining
479   characters aand manipulating UTF-8 string manipulation based
480   on libunicode.
481 * GString now properly handles embedded nuls.
482 * Multiple fixes from the 1.2.x branch.
483 * Upgrade to libtool 1.3.3
484 * Full thread support (thread creation and destruction).
485 * BeOS port, BeOS dynamic modules.
486 * Many improvements to the Windows ports.
487 * Improvements to the OS/2 port, OS/2 module support.
488 * Double ended queue implementation.
489 * GLib macros for printf() formatting, e.g. G_GULONG_FORMAT = "lu"
490 * New configure option --enable-msg-prefix to prefix messages, warnings
491   et ceteri with the program name and the process id.
492 * New thread-safe random number generator Mersenne Twister.
493 * g_strcompress() added, g_strescape() had a slight API change, and
494   more tightly defined semantics.
495 * the g_string(x) macro has been removed, #x may be used instead.
496