Some warning fixes for the Sun compiler (Reported by David L. Cooper II,
[platform/upstream/glib.git] / ChangeLog.pre-2-4
index 3ea33c4..7ef2f28 100644 (file)
@@ -1,3 +1,526 @@
+Sat Mar 13 23:10:35 2004  Owen Taylor  <otaylor@redhat.com>
+
+       Some warning fixes for the Sun compiler (Reported by 
+       David L. Cooper II, #136401)
+
+       * glib/giochannel.c (g_io_channel_read): Return
+       G_IO_ERROR_NONE, not G_IO_STATUS_NORMAL, since hte
+       function returns a GIOError.
+
+       * glib/guniprop.c: Fix some guchar/gchar confusion
+       with special_case_table.
+
+Fri Mar 12 15:30:58 2004  Manish Singh  <yosh@gimp.org>
+
+       * glib/gbacktrace.h: ia32's G_BREAKPOINT() implementation works on
+       amd64 too. Enable it.
+
+Fri Mar 12 15:21:22 2004  Manish Singh  <yosh@gimp.org>
+
+       * glib/gatomic.c: Non-optimizing compile fails for two asm
+       statements on PowerPC. Use generic implementaton for those
+       cases. Spotted by Christof Petig <christof@petig-baender.de>,
+       fix by Sebastian Wilhelmi. Bug #137006 has a possible alternate
+       solution, but we'll be conservative for now.
+
+Thu Mar 11 02:05:13 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmain.c (g_main_depth): Remove an extra semicolon.
+       Spotted by Kjartan Maraas.
+
+2004-03-10  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gspawn-win32.c
+       * glib/gspawn-win32-helper.c: Implement
+       G_SPAWN_FILE_AND_ARGV_ZERO. (#136792, Bruce Hochstetler)
+
+       * tests/spawn-test.c
+       * tests/spawn-test-win32-gui.c: Test it.
+
+Tue Mar  9 09:16:11 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.3.6 ===
+
+       * configure.in: Version 2.3.6, interface age 1.
+
+       * NEWS: Updates
+
+2004-03-09  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * tests/child-test.c: Do not run the g_child_watch_* test
+       multi-threaded, as that doesn't work on linux prior 2.6. Fixes
+       #136539.
+
+2004-03-08 Alastair McKinstry <mckinstry@computer.org>
+
+       * configure.in: Added "ga" (Irish) to ALL_LINGUAS.
+
+2004-03-07  Danilo Šegan  <dsegan@gmx.net>
+
+       * configure.in: Added "sr@ije" to ALL_LINGUAS.
+
+2003-03-07  Hans Breuer  <hans@breuer.org>
+
+       * glib/gspawn-win32.c : (GPid)shortcut_spawn_retval which
+       doesn't improve the implementation at all, it just make it 
+       compile with msvc ...
+
+       * glib/makefile.msc.in : build gatomic.c (now really:)
+       
+2004-03-06  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Update.
+
+       * configure.in
+       * Makefile.am
+       * */Makefile.am: Drop the hand-written makefile.mingw(.in)
+       files. They haven't been maintained in a long time. As several
+       people have managed to build GLib for Win32 using the
+       autoconfiscation mechanism, there is no real reason to even try to
+       maintain the hand-written mingw makefiles.
+
+2004-03-05  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gatomic.c: Fix infinite recursion for
+       G_MEMORY_BARRIER_NEEDED and DEFINE_WITH_MUTEXES by using a GMutex
+       instead of G_DEFINE_LOCK. The mutex is allocated by the new
+       function _g_atomic_thread_init. Fixes #136284.
+
+       * glib/gthreadinit.h, glib/gthread.c: Declare and call
+       _g_atomic_thread_init during thread system initialization.
+2004-03-05  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/glib.def: Add g_main_depth. (#136221, Cedric Gustin)
+
+2004-03-04  Guntupalli Karunakar  <karunakar@freedomink.org>
+
+       * configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
+
+2004-03-04  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gmain.c: Use the atomic integer operations for GMainContext
+       and GMainLoop reference counting.
+
+       * glib/gmain.c: Hold the main_context_list lock, when iterating
+       the list. Only call g_main_context_wakeup for positive reference
+       count.
+
+2004-03-03  Tor Lillqvist  <tml@iki.fi>
+
+       * glibconfig.h.win32.in: Update to match a configure-generated
+       glibconfig.h. Specifically: Remove G_{MIN,MAX,MAXU}INT64
+       definitions (now in gtypes.h). Remove g_once and
+       g_static_mutex_get_mutex_impl_shortcut definitions (now in
+       gthread.h).
+
+       * tests/child-test.c: Use a macro GPID_FORMAT for the format to
+       print GPid in (%p on Win32, %d on Unix). Maybe configure.in should
+       place that in glibconfig.h?
+
+       Print verbose error message if CreateProcess() fails.
+
+       Don't close the child handle until in the child watch callback.
+
+       Don't try to run /bin/true on Win32. Run ipconfig instead (just to
+       pick a program that should exist on all Window boxes).
+
+2004-03-02  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.c: Fixed missing definition for ppc code. Fix by
+       Mark McLoughlin <mark@skynet.ie>.
+
+Mon Mar  1 16:49:51 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.3.5 ===
+
+       * configure.in: Version 2.3.5, interface ago 0.
+
+       * NEWS: Some further updates.
+
+Mon Mar  1 15:49:09 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (check_for_child_exited): Don't
+       call waitpid() on a source that has already exited.
+
+       * glib/gmain.c (g_child_watch_check): Return TRUE
+       only if the child actually exited.
+
+Mon Mar  1 15:39:57 2004  Owen Taylor  <otaylor@redhat.com>
+
+       Patch from J. Ali Harlow
+
+       * configure.in: Use void * not HANDLE for GPid on win32.
+
+       * glib/gspawn.[ch] glib/gspawn-win32.[ch] glib/glib.def: 
+       Add g_spawn_close_pid().
+       
+       * glib/gspawn.[ch]: Make g_spawn functions take
+       GPid * instead if int * (GPid == int on unix, will
+       produce compile warnings until fixed on Win32.)
+
+       * tests/child-test.c: Make the test a little more
+       inappropriately verbose.
+
+        * glib/gmain.c: Add some documentation warnings about
+       not closing @pid while the source is active.
+
+Mon Mar  1 20:32:06 2004  Tim Janik  <timj@gtk.org>
+
+       * autogen.sh:
+       - exit with $? instead of 1 in case of failure
+       - exit with $? if ./configure failed
+         (that's so autogen.sh && make lines work)
+       - removed --enable-gtk-doc option
+       - added $AUTOGEN_CONFIGURE_ARGS
+
+Mon Mar  1 09:17:32 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_depth): Clarify doc comment.
+
+2004-03-01  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.c: Define g_atomic_(int|pointer)_get only for
+       G_ATOMIC_OP_MEMORY_BARRIER_NEEDED. Spotted by Hans Breuer.
+
+Sun Feb 29 21:42:47 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c: Fix leftover references to 
+       g_main_context_depth() in docs.
+
+Sun Feb 29 21:34:34 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.[ch]: Add g_main_depth() (Request from
+       Tim Janik and Stefan Westerfeld)
+
+Mon Mar  1 00:26:11 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * NEWS: Update for 2.3.4
+
+2003-02-29  Hans Breuer  <hans@breuer.org>
+
+       * glib/gatomic.c : added win32 api based implementation
+       for G_PLATFORM_WIN32, !__GNUC__
+
+       * glb/glib.def : change to g_atomi_* no _fallback
+
+2004-02-29  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in, glib/gatomic.c, glib/gatomic.h: Moved the
+       assembler functions from gatomic.h to gatomic.c, which makes for
+       better maintainability. Also use gint instead of gint32 to be able
+       to use reference counting for ABI-fixed structures with
+       gint/guint.
+
+       * glib/gthread.h: Adapted accordingly.
+
+       * tests/atomic-test.c: Updated to test for G_MAXINT and G_MININT.
+
+2003-02-28  Hans Breuer  <hans@breuer.org>
+
+       * glib/glib.def : updated externals, including those
+       from bug #135386
+
+       * glib/makefile.msc.in : build gatomic.c
+
+       * glibconfig.h.win32.in : removed duplicate definition
+       of G_MAXSIZE, typedef void* GPid instead of int
+
+       * tests/child-test.c  glib/gmain.c : 
+       applied patch from J. Ali Harlow <ali@juiblex.co.uk> to fix 
+       g_child_watch implementation on win32, bug #50296
+
+Fri Feb 27 22:13:22 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gqueue.c: Trivial doc changes.
+
+Fri Feb 27 21:58:20 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/ghash.c (g_hash_table_find): Add "Since: 2.4"
+
+2004-02-27  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gasyncqueue.c, glib/gasyncqueue.h: Use
+       g_atomic_int_(inc|dec_and_test) for reference
+       counting. g_async_queue_unref_and_unlock and
+       g_async_queue_ref_locked is deprecated, but still there to
+       preserve ABI.
+
+       * glib/gasyncqueue.c, glib/gasyncqueue.h: Reading access to
+       ref_count only with g_atomic_int_get().
+
+Fri Feb 27 02:00:34 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * acglib.m4: quote AC_DEFUN macro names so automake
+       1.8 won't whine at us.  (#134882)
+
+Fri Feb 27 01:44:41 2004  Matthias Clasen <maclas@gmx.de>
+
+       * glib/gdate.c: Translate from locale era to AD in 
+       g_date_set_parse().  (#133400, Theppitak Karoonboonyanan)
+
+Fri Feb 27 00:46:29 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gstrfuncs.c (g_strerror): Don't modify errno.  (#116617, 
+       Balazs Scheidler)
+
+2004-02-26  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gatomic.h: Fix the !G_THREADS_ENABLED case.
+
+       * tests/child-test.c (main): Only run, if threads are enabled.
+
+       * glib/gatomic.h: empty G_ATOMIC_MEMORY_BARRIER() definition for
+       !G_THREADS_ENABLED
+
+       * glib/gthread.h: Define g_once and
+       g_static_mutex_get_mutex_impl_shortcut in terms of
+       G_MEMORY_BARRIER, if defined and if we can inline.
+
+       * configure.in: Remove double checked locking feature check.
+
+       * configure.in, config.h.win32.in, glib/gthread.c: Removed the PID
+       niceness surrogate for thread priorities as requested by Tim. It
+       does more harm than good.
+
+       * glib/gatomic.c, glib/gatomic.h: New files to implement atomic
+       operations for different platforms. Fixes bug #63621.
+
+       * glib/glib.h: Include gatomic.h.
+
+       * configure.in: Add test for assembler routines for atomic operations.
+
+       * glib/Makefile.am: Add gatomic.c, gatomic.h.
+
+       * tests/Makefile.am, tests/atomic-test.c: Unit test for atomic
+       operations.
+
+2003-02-26  Hans Breuer  <hans@breuer.org>
+
+       * glib/glib.def : added g_hash_table_find and a
+       bunch of g_queue_*
+
+       * glib/gmain.c : make it compile on win32, 
+       child_wake_up_pipe replaced by semaphore like it is done
+       for the other wake_up_pipe
+
+       * config.h.win32.in : added HAVE_INT64_AND_I64
+       * glibconfig.h.win32.in : G_MAXSIZE .. G_M??INT64,
+       and typedef for GPid
+
+       * test/env-test.c : don't let the local log function
+       collide in namespace with standard C
+
+2004-02-25  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * configure.in, glib/gthread.c: For the PID thread priorities
+       surrogate use gettid instead of getpid. This also works with nptl
+       (on linux-2.6), as well as with linuxthreads (on linux-2.4).
+
+2004-02-24  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/grand.c: Add Since: 2.4, where due
+
+Tue Feb 24 14:09:21 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.3.3 ===
+
+       * configure.in: Version 2.3.3, interface age 0.
+
+Mon Feb 23 22:24:00 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * NEWS: Start of 2.3.3 section.
+
+Sun Feb 22 02:32:14 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: Set the gmodule suffix to 'a' for aix and 
+       use the aix gmodule implementation.  (#85930, Laurent Vivier)
+
+Sun Feb 22 00:47:04 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gnode.c (g_node_copy_deep): New function to deep-copy a 
+       GNode and its children.  (#93464, James M. Cape)
+
+Sat Feb 21 15:42:39 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * glib/gqueue.c: Some documentation fixes.
+
+Sat Feb 21 13:45:08 2004  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * glib/gqueue.[ch]: Extend GQueue API to match the GList
+       API. (#78414).
+
+       * tests/queue-test.c: Update test suite to cover the new API.
+
+Fri Feb 20 03:02:05 2004  Tim Janik  <timj@gtk.org>
+
+       * glib/ghash.[hc]: applied patch from #131937 with slight
+       renames. provides g_hash_table_find().
+
+Fri Feb 20 02:39:03 2004  Tim Janik  <timj@gtk.org>
+
+       * applied patch from David Schleef <ds@schleef.org> which implements
+       a G_MODULE_BIND_LOCAL flag to g_module_open() to disable global
+       symbol registration.
+
+Thu Feb 19 18:40:01 2004  Tim Janik  <timj@gtk.org>
+
+       * glib/gstring.[hc]: for G_CAN_INLINE environments, inline
+       g_string_append_c() for efficiency. (vaguely based on #118707).
+
+Wed Feb 18 23:57:42 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmain.c: Include signal.h for SIGCHLD.  (#134622, Damien
+       Carbery)
+
+2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gasyncqueue.c: Lazy creation of GCond. Only
+       signal GCond, if threads are waiting.
+
+       * glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
+       only for G_THREADS_ENABLED.
+
+Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
+
+       * configure.in: Remove unnecessary STRIP_* definitions, and GNU
+       make check. Really fixes #134102.
+
+Sat Feb 14 02:11:08 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: Make the check for GNU make work when MAKE is a 
+       full path.  (#134102, Julio M. Merino Vidal)
+
+Sat Feb 14 02:08:03 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: Suppress xsltproc and xmlcatalog checks
+       if enable_man=no.  (#134091, Julio M. Merino Vidal)
+
+Sat Feb 14 01:21:34 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmain.h: 
+       * glib/gmain.c (g_child_watch_source_new): 
+       * glib/gmain.c (g_child_watch_add): 
+       * glib/gmain.c (g_child_watch_add_full): Wrap waitpid() as a
+       GSource. This is a partial implementation of the "Unix signal 
+       source".  (#50296, Jonathan R. Blandford)
+
+       * configure.in: Add the necessary configury to typedef GPid
+       appropriately.
+
+       * tests/Makefile.am:
+       * tests/child-test.c: Test child_watch sources.
+
+Sat Feb  7 15:02:01 2004  Manish Singh  <yosh@gimp.org>
+
+       * tests/type-test.c: Fix broken test for gsize formats.
+
+2004-02-05  Robert Sedak  <robert.sedak@sk.htnet.hr>
+
+        * configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
+
+Wed Feb  4 17:58:51 2004  Manish Singh  <yosh@gimp.org>
+
+       * glib/gcompletion.h: Add prototype for g_completion_complete_utf8().
+
+       * tests/completion-test.c: #include <string.h>
+
+2004-02-05  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/glib.def: Add g_completion_complete_utf8.
+
+Thu Feb  5 01:19:12 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * tests/file-test.c (test_mkstemp): Weaken an g_assert() to a 
+       g_warning(), since apparently nothing in Posix forces mkstemp()
+       to reject templates without any X's.  (#133397)
+
+Thu Feb  5 00:56:28 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gcompletion.c (g_completion_complete_utf8): New function which
+       works like g_completion_complete(), but strips a trailing incomplete
+       UTF-8 character from the prefix.  (#133313, Theppitak Karoonboonyanan)
+
+       * tests/completion-test.c (main): Some GCompletion tests.
+
+       * tests/Makefile.am: Add completion-test.
+
+2004-02-01  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/glib.def: Add g_strsplit_set.
+
+Sat Jan 31 03:13:56 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/garray.c (g_byte_array_remove_range): Don't return FALSE
+       from a pointer function.  (#131472, Morten Welinder)
+
+2004-01-30  Noah Levitt  <nlevitt@columbia.edu>
+
+       * glib/gunicomp.h:
+       * glib/gunidecomp.c:
+       * glib/gen-unicode-tables.pl: Size compose_table correctly. (#123421,
+        Simon Josefsson)
+
+       * glib/gen-unicode-tables.pl: Get rid of some new warnings from perl
+       5.8.1.
+
+Tue Jan 27 18:45:47 2004  Manish Singh  <yosh@gimp.org>
+
+       * m4macros/glib-2.0.m4
+       * m4macros/glib-gettext.m4: quote AC_DEFUN macro names so automake
+       1.8 won't whine at us.
+
+Wed Jan 28 01:39:21 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gstrfuncs.h: 
+       * glib/gstrfuncs.c (g_strsplit_set): New function, a cross 
+       between g_strsplit() and strtok().  (#88329, Soeren Sandmann)
+
+       * tests/strfunc-test.c (main): Add g_strsplit_set() tests.
+       
+Fri Jan 23 22:49:52 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gutils.c (g_get_any_init): Sigh, protect against
+       pw->pw_gecos being "" as well.  (#132317, Kaj-Michael Lang)
+       
+2004-01-23  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/glib.def: Add new functions.
+
+       * glib/grand.c: Don't include <unistd.h> unless
+       HAVE_UNISTD_H. Include <process.h> on G_OS_WIN32.
+       (g_rand_new): Use getppid() only on G_OS_UNIX.
+
+Thu Jan 22 15:16:11 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * === Released 2.3.2 ===
+
+Thu Jan 22 13:55:44 2004  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gtimer.c: Add g_timer_continue().
+       (#98536, Tim-Philipp Müller)
+
+       * configure.in: Version 2.3.2, interface age 0.
+
+       * NEWS: tweak, finish.
+
+Thu Jan 22 20:50:55 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gutils.c (g_get_any_init): Protect against
+       pw->pw_gecos being NULL.
+
+Thu Jan 22 00:41:34 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gutils.c (g_get_any_init): Don't treat the Win32
+       user name like a gecos field, and when extracting a real
+       name from a gecos field, replace '&' by the capitalized
+       user name (a traditional passwd feature).  
+       (#118973, reported by Soeren Boll Overgaard)
+
+Tue Jan 20 22:31:22 2004  Matthias Clasen  <maclas@gmx.de>
+
+       * NEWS: Start of 2.3.2 section.
+
 Fri Jan 16 21:45:56 2004  Matthias Clasen  <maclas@gmx.de>
 
        * glib/gstring.c (g_string_ascii_up): Forgot to fix this one.
@@ -185,7 +708,7 @@ Sat Nov 15 00:46:14 2003  Matthias Clasen  <maclas@gmx.de>
        * configure.in: Don't blindly set glib_cv_long_long_format to
        "ll" when using the included printf. As long as the native 
        printf supports 64bit printing, use the native format.  
-       (#119525, Tor Lillquist)
+       (#119525, Tor Lillqvist)
 
 Fri Nov 14 00:28:46 2003  Matthias Clasen  <maclas@gmx.de>