2004-11-12 Matthias Clasen * === Released 2.5.6 === 2004-11-11 J. Ali Harlow * gobject/Makefile.am: * glib/Makefile.am (gtk.def): Use embedded tab rather than '\t' escape sequence. (#157951) 2004-11-10 Tor Lillqvist * glib/gconvert.c (g_get_filename_charsets): Fix typo in doc comment. 2004-11-10 Matthias Clasen * NEWS: Updates Mon Nov 8 10:45:50 2004 Manish Singh * glib/gasyncqueue.c * glib/ghook.c * glib/giochannel.c: g_return_if_fail -> g_return_val_if_fail * glib/gmain.c: Ditto, plus also make g_main_context_ref() actually return the passed in pointer. 2004-11-08 Matthias Clasen * glib/gnode.h (enum GTraverseFlags): Add G_TRAVERSE_LEAVES and G_TRAVERSE_NON_LEAVES as alternative names for G_TRAVERSE_LEAFS and G_TRAVERSE_NON_LEAFS, which are grammatically brutal. (#138853, Morten Welinder) * glib/gasyncqueue.[hc]: * glib/ghook.[hc]: * glib/gmain.[hc]: * glib/giochannel.[hc]: Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(), g_async_queue_ref() return the passed in pointer. (#151663, Manish Singh) * glib/gmain.c: Initialize child_watch_count to 1, so that we don't miss the very first child if it exits before we set up the child watch. In that case we had previously source->count == child_watch_count == 0, causing g_child_watch_check() to skip the waitpid() call. (#154827, Gustavo Carneiro) * glib/gmain.c (g_child_watch_source_init_single) (g_child_watch_source_init_multi_threaded): Use sigaction() instead of signal(). (#136867, Jonas Jonsson, patch by Archana Shah) 2004-11-07 Matthias Clasen * glib/gutils.c (g_get_any_init): Work around an bug in Mac OS < 10.3. (#156446, Dave MacLachlan) 2004-11-06 Tor Lillqvist * glibconfig.h.win32.in: Cosmetics: move the G_GNUC_INTERNAL define to the same place where it is in a configure-generated glibconfig.h 2004-11-05 Matthias Clasen * tests/strtod-test.c: Portability fixes and extra sanity checks. (#157453, Morten Welinder) 2004-11-04 Matthias Clasen * glib/gstrfuncs.c (g_ascii_strtod): Handle numbers like 1e1, nan, -infinity. Also try harder to preserve errno. (#156421, Morten Welinder) * tests/strtod-test.c: Add testcases. 2004-11-04 Tor Lillqvist * glib/goption.h (enum GOptionFlags): Add G_OPTION_FLAG_REVERSE, to reverse the sense of a G_OPTION_ARG_NONE (boolean) option. * glib/goption.c (parse_arg): Obey the above flag. * glib/gconvert.c (g_filename_display_name): Document that the result is guaranteed to be non-NULL. * glib/gfileutils.c (get_contents_stdio, get_contents_regfile, get_contents_posix, get_contents_win32, g_file_open_tmp, g_file_read_link): Use g_filename_display_name() for error messages. (g_mkstemp): Document that the template should be in the GLib file name encoding. (g_file_open_tmp): Ditto. Also document that the actual name returned is also in the GLib file name encoding.