- * acinclude.m4 (AC_FUNC_PRINTF_UNIX98): New macro to check wether
- printf supports SUS positional parameters.
-
- * configure.in: New option --enable-included-printf to force
- compilation of trio; otherwise trio is compiled if the system
- printf misses either C99 snprintf semantics of SUS positional
- parameters.
-
- * glib/Makefile.am (SUBDIRS): Conditionally compile trio.
- (libglib_2_0_la_SOURCES): Add gprintf.c and gprintfint.h.
- (glibsubinclude_HEADERS): Add gprintf.h.
-
- * glib/gprintfint.h: New private wrapping either system printf
- or trio printf variants in _g_printf wrappers for use inside glib.
-
- * glib/gprintf.h: New public header declaring g_printf variants.
- * glib/gprintf.c: Corresponding implementations.
-
- * glib/trio/*: New directory, containing the trio-1.9 sources.
-
-2002-11-20 Matthias Clasen <maclas@gmx.de>
-
- * glib/gmessages.h (g_return_if_fail):
- (g_return_val_if_fail): Use G_LIKELY. (#69022)
-
- * glib/gmacros.h (G_LIKELY):
- (G_UNLIKELY): New macros for hinting the compiler about the
- expected result of expressions. For gcc 3.x, define these
- using __builtin_expect. (#69022)
-
-Tue Nov 19 14:38:18 2002 Owen Taylor <otaylor@redhat.com>
-
- * glib/gstrfuncs.c (g_ascii_strtoull): Fix
- strtull/strtoull type in docs (#99012, Morten
- Welinder.) Add copyright information for code
- taken from GNU libc.
-
-2002-11-18 Tor Lillqvist <tml@iki.fi>
-
- * glib/gspawn-win32.c (do_spawn_with_pipes): Do handle
- G_SPAWN_DO_NOT_REAP_CHILD after all, similarily as on Unix. If the
- flag is not set, don't call DuplicateHandle() on the handle
- returned by the helper process, and set the "child pid" returned
- to the called to zero. Close the handle to the helper process in
- all cases.
-
- * glib/gspawn.c (g_spawn_async_with_pipes): Document Windows
- behaviour of G_SPAWN_DO_NOT_REAP_CHILD.
-
-2002-11-18 Tor Lillqvist <tml@iki.fi>
-
- [Win32] Fix the asynchronous g_spawn* to return the process handle
- of the started program properly. (Note: not the process id. The
- spawn*() functions in the C runtime return the created process's
- handle. There doesn't seem to be any way to get the process id of
- a child process if you have the handle. But then, the process
- handle usually is more useful anyway.)
-
- * glib/gspawn-win32-helper.c (WinMain): If the spawning of the
- child process succeeded, and if asynchronous spawn (P_NOWAIT),
- write the result handle up to the parent process, waiting to read
- it in do_spawn_with_pipes().
-
- * glib/gspawn-win32.c (do_spawn): Use return value from spawning
- the helper. If it is -1 the helper wasn't found or couldn't be run
- for some reason. Otherwise it is the helper's process handle.
-
- (g_spawn_async_with_pipes): Pass the child_pid parameter on to
- do_spawn_with_pipes().
-
- (do_spawn_with_pipes): Take also a child_pid parameter. If
- do_spawn() returned -1, fail immediately. Otherwise make the
- handle passed to us by the helper process into a handle valid in
- this process by calling DuplicateHandle().
-
-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
- (64-bit cleanliness fix). Removed leftover line_term cruft.
-
-Tue Oct 15 15:07:45 2002 Manish Singh <yosh@gimp.org>
-
- * gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am:
- add -DG_DISABLED_DEPRECATED
-
- * tests/gio-test.c tests/mainloop-test.c tests/string-test.c
- tests/testglib.c test/tree-test.c tests/unicode-collate.c
- tests/unicode-normalize.c: Deprecation cleanup
-
-Mon Oct 14 15:51:05 2002 Owen Taylor <otaylor@redhat.com>
-
- * glib/gdate.c (g_date_fill_parse_tokens): Fix a memory
- leak. (#94550, Sebastian Rittau)
-
-Mon Oct 14 15:36:11 2002 Owen Taylor <otaylor@redhat.com>
-
- * glib/gcompletion.[ch] (g_completion_complete): Make
- prefix argument const. (#91662, Gustavo Carneiro)
-
-Mon Oct 14 15:32:14 2002 Owen Taylor <otaylor@redhat.com>
-
- * tests/mainloop-test.c (adder_response): Fix a minor memory
- leak.
-
-Sat Oct 12 21:30:41 2002 Tim Janik <timj@gtk.org>
-
- * merged up from glib-2-0:
-
- * glib/gstrfuncs.c (g_ascii_strtod): fix comment.
- (g_ascii_strtoull): new function, acting like strtoull(3) in the C
- locale.
-
- * glib/gscanner.[hc]: fix 32bit issues with integer parsing and
- support storing 64bit values in GTokenValue by
- using g_ascii_strtoull().
-
-Sat Oct 12 12:34:22 2002 Soeren Sandmann <sandmann@daimi.au.dk>
-
- * glib/gtree.c (g_tree_search), glib/gspawn.c
- (g_spawn_async_with_pipes):
-
- Documentation fixes: #71778, Owen Taylor; #85095, Bill Janssen,
- Owen Taylor.
-
-Thu Oct 10 23:27:02 2002 Tim Janik <timj@gtk.org>
-
- * glib/gscanner.c (g_scanner_msg_handler): if input_name is NULL,
- print out "<memory>" instead of completely skipping input specification
- and thusly loosing error line information.
-
-Sun Sep 29 12:15:44 2002 Manish Singh <yosh@gimp.org>
-
- * tests/mainloop-test.c: use gsize instead of int where appropriate
- (64-bit cleanliness fix)
-
-2002-09-29 Tor Lillqvist <tml@iki.fi>
-
- * configure.in: Instead of forcing -fnative-struct into CFLAGS
- when using gcc for Win32, check for gcc version 3.x which uses
- -mms-bitfields instead. Also check if either of these switches is
- actually available at all, and warn if not. Thanks to Soren
- Andersen for the inspiration.