Ignore the G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully
[platform/upstream/glib.git] / ChangeLog.pre-2-6
index 04c64f7..e8a319e 100644 (file)
@@ -1,3 +1,124 @@
+2002-11-17  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gspawn-win32.c (g_spawn_async_with_pipes): Ignore the
+       G_SPAWN_DO_NOT_REAP_CHILD flag, can't be meaninfully implemented
+       on Windows, at least not now. Always pass dont_wait as TRUE to
+       do_spawn_with_pipes(). The semantics of the dont_wait parameter is
+       very different from the semantics of the intermediate_child
+       parameter to fork_exec_with_pipes() in the Unix version. This
+       fixes a serious bug, g_spawn_async() in fact behaved
+       synchronously.
+
+       (do_spawn_with_pipes, do_spawn): Rename from
+       fork_exec_with_pipes() and do_exec(), those names were from the
+       Unix bersion, and misleading.
+
+       (close_and_invalidate): Don't try to close invalid fds.
+
+       * glib/gspawn.c (g_spawn_async_with_pipes): Add warning about
+       Windows behaviour. There is no fork(), so the child_setup()
+       function is in fact called in the parent.
+       
+       * glib/gspawn-win32-helper.c (WinMain): Insert spaces in argv
+       debugging output.
+
+       * tests/spawn-test-win32-gui.c: New file. Test program to be
+       linked as a GUI application. Behaves differently depending on how
+       invoked (by spawn-test).
+
+       * tests/spawn-test.c (run_tests): On Win32, run the
+       spawn-test-win32-gui program, too, in several ways, synchronously
+       and asynchronously.
+
+       * tests/Makefile.am: Corresponding change.
+
+Fri Nov  8 19:44:20 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * docs/reference/glib/tmpl/arrays.sgml:
+       * docs/reference/glib/tmpl/arrays_byte.sgml:
+       * docs/reference/glib/tmpl/arrays_pointer.sgml:
+       * docs/reference/glib/tmpl/date.sgml:
+       * docs/reference/glib/tmpl/linked_lists_double.sgml:
+       * docs/reference/glib/tmpl/linked_lists_single.sgml:
+       * docs/reference/glib/tmpl/main.sgml:
+       * docs/reference/glib/tmpl/queue.sgml:
+       * docs/reference/glib/tmpl/random_numbers.sgml:
+       * docs/reference/glib/tmpl/relations.sgml:
+       * docs/reference/glib/tmpl/scanner.sgml:
+       * docs/reference/gobject/tmpl/gtype.sgml:
+       * docs/reference/gobject/tmpl/value_arrays.sgml glib/garray.h:
+       * glib/gdate.h glib/giochannel.h glib/glist.h glib/gmain.c:
+       * glib/gmain.h glib/gqueue.c glib/gqueue.h glib/grand.c glib/grand.h:
+       * glib/grel.h glib/gslist.h glib/gtimer.h gobject/gvaluearray.h:
+
+       Trivial s/foo/foo_/ fixes to make <glib.h> includable with
+       -Wshadow without warnings (#91680)
+
+Thu Nov  7 19:32:26 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.[ch] (g_set/get_application_name): 
+       Patch from Havoc Pennington to add functions for 
+       setting and getting a human readable application
+       name.
+
+       * configure.in: Up to version 2.1.3, since we'll
+       need to depend on last addition for GTK+.
+
+2002-11-06  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/glib.def: Add g_main_thread_init.
+
+2002-11-06  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gstrfuncs.c (g_str_has_suffix): 
+       (g_str_has_prefix): Minor doc markup fix.
+
+Mon Nov  4 10:45:48 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Add -DG_DISABLE_CAST_CHECKS for 
+       everything but --enable-debug.
+
+       * configure.in: Require pkg-config 0.14. (#97553)
+
+Mon Nov  4 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
+       * glib/gbsearcharray.c: Include config.h
+       so DISABLE_MEMPOOLS actually has an effect.
+       (#96437, Morten Welinder)
+       * tests/uri-test.c: Include <config.h>
+
+2002-11-03  Dmitry G. Mastrukov  <dmitry@taurussoft.org>
+
+       * configure.in: Added Belarusian to ALL_LINGUAS
+
+2002-11-02  Daniel Elstner  <daniel.elstner@gmx.net>
+
+       * glib/giochannel.c (g_io_channel_write_chars): Fix left_len
+       calculation in the from UTF-8 to UTF-8 case: left_len should
+       be the number of bytes left in the input buffer rather than
+       channel->write_buf. (#96373)
+
+2002-10-27  Tor Lillqvist  <tml@iki.fi>
+
+       * configure.in (G_MODULE_LDFLAGS): Don't set on Win32, only causes
+       trouble.
+       
+       * glib/gmain.c (g_poll): Fix for bug reported by Herman Bloggs
+       (http://mail.gnome.org/archives/gtk-devel-list/2002-October/msg00101.html)
+       and others. We waited for events only for GPollFDs whose events
+       field had G_IO_IN set. We need to wait also for events for
+       GPollFDs that have just G_IO_OUT set. Non-blocking sockets in the
+       process of being connect()ed are one such case. Also silence a
+       couple of gcc warnings.
+
+Fri Oct 18 13:41:30 2002  Manish Singh  <yosh@gimp.org>
+
+       * glib/giochannel.c (g_io_channel_read_line_backend): avoid
+       creating negative values out of unsigned values using MAX,
+       check to see if the result would be positive before doing
+       the calculation.
+
 Tue Oct 15 15:28:47 2002  Manish Singh  <yosh@gimp.org>
 
        * tests/iochannel-test.c: use gsize instead of int where appropriate