cleanup
[platform/upstream/glib.git] / ChangeLog.pre-2-0
index f558379..5eb3071 100644 (file)
@@ -1,3 +1,460 @@
+Fri Mar  8 10:58:28 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * ======== Released 2.0.0 ========
+
+Fri Mar  8 10:20:46 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * NEWS: Final updates for 2.0.0
+
+       * glib/gstrfuncs.c: Convert the results of strerror()
+       and strsignal() to UTF-8.
+
+       * glib/gconvert.c glib/gdir.c glib/giochannel.c glib/giounix.c
+       glib/giowin32.c: Use g_strerror(), not strerror().
+
+Fri Mar  8 00:15:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * README.in: Updates.
+
+       * README.in: Add warnings about current encoding problems with .po
+       files and error logging functions.
+
+       * configure.in: Check for bind_textdomain_codeset().
+
+       * glib/gutils.c (_glib_gettext): Call 
+       bind_textdomain_codeset, if present.
+
+       * INSTALL.in: Some updates.
+
+       * AUTHORS: Updates.
+
+       * Makefile.am (EXTRA_DIST): Remove TODO.xml from EXTRA_DIST.
+
+       * docs/Makefile.am (EXTRA_DIST): Remove Changes-2.0.txt
+       from EXTRA_DIST.
+
+2002-03-06  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Fixed recognition of dce. Do not use -lc_r on
+       OpenBSD and FreeBSD. Instead use -pthread. Move scheduling
+       parameter check to after the case..esac block for finding the
+       right thread libs. (#73686)
+
+Tue Mar  5 19:41:02 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * GTK+-2.0.0 rc1
+
+2002-03-05  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmain.c (g_source_set_priority): Finish docs.  
+       (#67064)
+
+Tue Mar  5 00:38:54 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gutils.c (g_get_any_init): Where we have
+       getpwuid[_r], use that in preference to $HOME, and
+       only check $HOME as a fallback if getpwuid fails.
+       (#2311)
+
+Sun Mar  3 21:09:24 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Default to --disable-gtk-doc, to avoid
+       Jade setup hassles.
+
+       * autogen.sh: Add --enable-gtk-doc.
+
+       * configure.in: Default to --disable-static to go
+       along with Pango, GTK+ where we need to do that for
+       bin-compat reasons.
+
+       * Makefile.am: Add a slightly modified distcheck rule
+       that passes --enable-gtk-doc to the configure inside.
+       (So that 'make dist' succeeds inside.)
+
+       * configure.in *.pc.in **/Makefile.am m4macros/glib-2.0.m4
+       tests/makefile.mingw.in: Switch everything over to
+       glib-2.0.
+
+Sun Mar  3 02:30:05 2002  Tim Janik  <timj@gtk.org>
+
+       * glib/gscanner.h (_GScannerConfig): added padding.
+
+       * glib/ghook.h (struct _GHook): add two padding pointers.
+
+Thu Feb 28 11:13:49 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gshell.c (g_shell_unquote): Fix memory leak.
+       (#72990, Paolo Maggi)
+
+2002-02-28  Sven Neumann  <sven@gimp.org>
+
+       * m4macros/glib-2.0.m4: nicer output of configure --help.
+
+2002-02-27  Daniel Elstner  <daniel.elstner@gmx.net>
+
+       * glib/gdate.c (g_date_strftime): Remove the shortcut
+       for UTF-8 locales to ensure consistent behaviour.  Fix
+       handling of the strftime return value, and avoid looping
+       if strftime is buggy and constantly returns 0.  Always
+       return 0 if the output buffer was to small. (#72544)
+
+Tue Feb 26 21:44:01 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * config.status config.guess: Remove these files
+       from CVS so we more-or-less current versions from
+       automake --add-missing. (Reported by Finlay Dobbie,
+       #60342)
+
+2002-02-26  Matthias Clasen  <maclas@gmx.de>
+
+       * docs/debugging.txt, gobject/glib-genmarshal.c,
+       gobject/glib-genmarshal.1, gobject/Makefile.am, gobject/gtype.c:
+       Remove references to gruntime. This includes renaming the test
+       program testgruntime to testgobject and the debug envvar
+       GRUNTIME_DEBUG to GOBJECT_DEBUG.  (#50877)
+
+Tue Feb 26 14:56:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib-2.0.pc.in: Reorder @INTL_LIBS@ and @ICONV_LIBS@ in case
+       -lintl depends on -licon. (Miroslaw Dobrzanski-Neumann #72708)
+
+Mon Feb 25 23:01:53 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in acconfig.h config.h.win32.in
+       glib/gconvert.c: Check for iconv_* in -liconv
+       as well as libiconv_* in -liconv since AIX ships
+       the system iconv in a separate library.
+       Patch from Miroslaw Dobrzanski-Neumann (#72569) 
+
+Mon Feb 25 22:46:29 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gdebug.h: Fix trailing , in enumeration
+       Miroslaw Dobrzanski-Neumann (#72574)
+       
+Mon Feb 25 21:58:01 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/guniprop.c (g_unichar_toupper/lower): Account
+       for some characters having now uppercase/lowercase
+       equivalents in code, docs. (#65416)
+
+Mon Feb 25 16:31:09 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gshell.c (tokenize_command_line): Fix quoting
+       of \' sequence (#72548, Christian Rose)
+
+2002-02-24  Tor Lillqvist  <tml@iki.fi>
+
+       * README.win32: Edits.
+
+       * config.h.win32.in: Add (as undefined) HAVE_UNSETENV,
+       _FILE_OFFSET_BITS and _LARGE_FILES, just for completeness.
+
+       * glibconfig.h.win32.in: Add the gcc-2.95.x undef of
+       G_HAVE_ISO_VARARGS.
+
+Sat Feb 23 21:36:51 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: 1.3.15, binary, interface age 0.
+
+       * NEWS: Updated.
+
+Sat Feb 23 14:54:13 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/giochannel.h (struct _GIOChannel): Add a little bit
+       of padding.
+       
+       * glib/gmain.h (struct _GSource): Add a little bit of padding.
+
+2002-02-21  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gdebug.h: New header containing GTK_DEBUG-style debugging
+       support for GLib. Currently only the fatal_warnings debug option exists. 
+
+       * glib/gmessages.c (g_log_msg_prefix_init): New one-shot function
+       for parsing G_MESSAGES_PREFIXED.
+       (_g_debug_init): New one-shot function for parsing G_DEBUG.
+       (g_log_write_prefix): Use g_log_msg_prefix_init().
+       (g_messages_init): Use g_log_msg_prefix_init() and _g_debug_init().
+
+       * glib/Makefile.am (libglib_1_3_la_SOURCES): Add gdebug.h.
+
+Wed Feb 20 22:35:42 2002  Owen Taylor  <otaylor@redhat.com>
+
+       Fixes from Miroslaw Dobrzanski-Neumann (#71963)
+
+       * glib/giounix.c (g_io_channel_new_file): Fix trailing comma
+       in enum.
+
+       * configure.in: Check for unsetenv.
+
+       * test/uri-test.c: Fall back to trying putenv(VARNAME) if
+       unsetenv isn't present.
+
+2002-02-20  Daniel Elstner  <daniel.elstner@gmx.net>
+
+       * glib/gstring.[ch] (g_string_erase): Use gssize instead of
+       gsize as type of the pos and len arguments. (#71964)
+
+2002-02-20  Simos Xenitellis  <simos@hellug.gr>
+
+       * configure.in: Added el to ALL_LINGUAS (Greek language).
+
+2002-02-19  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gspawn-win32.c: Include <config.h> first here, too. Use
+       g_io_channel_read_chars() instead of (deprecated)
+       g_io_channel_read(). Set encoding to NULL for the channels used
+       for the pipes from the child.
+
+       * glib/giowin32.c (buffer_read): Do return G_IO_STATUS_EOF when
+       EOF has been reached. Otherwise, with the above change to
+       gspawn-win32.c, spawn-test hangs.
+
+Mon Feb 18 20:18:23 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/libcharset/Makefile.am (EXTRA_DIST): Remove
+       charset.alias from EXTRA_DIST; we don't want the
+       charset.alias from the make distcheck machine
+       on the target system!. (#70974, reported by
+       Ryan Lovett)
+
+Mon Feb 18 12:40:36 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Turn off ISO varargs support for gcc-2.95
+       since it causes problems with ANSI and we we have GNUC
+       varargs. (#70024, reported by Morten Welinder, fix from
+       James Henstridge)
+
+Sun Feb 17 11:37:06 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * 1.3.14
+
+       * glib/glibintl.h: Error out of config.h wasn't included
+       rather than including it, since config.h must be the 
+       first thing included.
+
+       * glib/gconvert.c glib/gmarkup.c glib/gshell.c glib/gspawn.c
+       glib/gunibreak.c glib/gunidecomp.c glib/guniprop.c: 
+       Include config.h as the first thing. (#71704, Morten
+       Welinder)
+
+Fri Feb 15 11:41:42 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: 1.3.14, binary age 0, interface age 0.
+
+Fri Feb 15 10:41:51 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * NEWS: Updated.
+
+       * configure.in: Require autoconf-2.52, run AC_SYS_LARGEFILE.
+       (#71410, Sven Neumann)
+
+       * glib/giounix.c glib/giowin32.c glib/giochannel.[ch]:
+       Change offset type for g_io_channel_seek[_position] to
+       gint64.
+
+2002-02-15  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * tests/thread-test.c: Do not assume, that after
+       g_usleep(G_USEC_PER_SEC) the newly started thread began
+       running. Spotted by Miroslaw Dobrzanski-Neumann
+       <mne@mosaic-ag.com>. Make the test_g_static_rw_lock_thread threads
+       wait a random time. Make the test_g_static_rw_lock test run 5
+       seconds, not 1.
+
+2002-02-14  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gmessages.c (g_logv): Use the #if branch with
+       G_BREAKPOINT() also on Win32. Remove the separate __asm int 3 for
+       MSVC, G_BREAKPOINT() does exactly that.
+
+2002-02-14  James Henstridge  <james@daa.com.au>
+
+       * m4macros/glib-gettext.m4: add third argument to the AC_DEFINE
+       calls, so users of the macro don't need to add entries to
+       acconfig.h in their package.
+
+2002-02-13  Havoc Pennington  <hp@redhat.com>
+
+       * glib/gmain.c (g_main_context_check): never dispatch sources of
+       mixed priority, because while iterating over the dispatch array a
+       new source with more priority may be added, while a source with
+       less priority remains in the dispatch array
+
+2002-02-11  Darin Adler  <darin@bentspoon.com>
+
+       * glib/gmessages.h: Use "if (expr) { } else" as I meant to in the
+       first place. The other form can trigger warnings in some compilers
+       that suspect a ";" after "if (expr)" is an error.
+
+2002-02-11  Manish Singh  <yosh@gimp.org>
+
+       * glib/gmessages.h: need statement terminators for the if clauses for
+       the preceding change.
+
+2002-02-11  Darin Adler  <darin@bentspoon.com>
+
+       * glib/gmessages.h: Use "if (expr) else" rather than
+       "if (!(expr))" so the parentheses don't disable the gcc
+       warnings about = vs. ==.
+
+2002-02-11  jacob berkman  <jacob@ximian.com>
+
+       * glib/gmarkup.h (g_markup_error_quark): match the signature in
+       the implementation
+
+2002-02-10  Hans Breuer  <hans@breuer.org>
+
+       * glib/gfileutils.c : no sym links on win32, no lstat in msvcrt
+
+       * tests/makefile.msc.in : added uri-test
+
+2002-02-09  Darin Adler  <darin@bentspoon.com>
+
+       * glib/gmarkup.c: (xml_isspace): New.
+       (skip_spaces): g_unichar_isspace -> xml_isspace
+       * glib/gstrfuncs.c: (g_ascii_strtod): isspace -> g_ascii_isspace
+       isxdigit -> g_ascii_isxdigit, isdigit -> g_ascii_isdigit
+
+2002-02-09  Matthias Clasen  <matthias@local>
+
+       * tests/markups/valid-4.gmarkup: Test attribute value delimiters.
+
+       * glib/gmarkup.c (g_markup_parse_context_parse): Support 
+       ' and " as attribute value delimiters.  (#70677)
+
+2002-02-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * configure.in: Make --disable-threads work again. (#71034)
+
+Fri Feb  8 23:52:27 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * gobject/gvaluetransform.c: Register transformations for
+       gint64, guint64. (#70780, patch from Andy Wingo)
+
+       * configure.in: Handle missing G_GINT64_FORMAT, 
+       G_GUINT64_FORMAT ... harder to require GNU libc than GCC.
+
+       * NEWS: Some cleanups that I had setting around.
+
+2002-02-08  Darin Adler  <darin@bentspoon.com>
+
+       * glib/gconvert.h: Make hostname parameter const char *.
+       * glib/gconvert.c: (g_unescape_uri_string): Added a new
+       "ASCII must not be escaped" feature, and some missing error
+       checking.
+       (is_escalphanum): New.
+       (is_escalpha): New.
+       (hostname_validate): New.
+       (g_filename_from_uri): Don't allow hostnames to include
+       escaped ASCII, validate hostnames with the new
+       hostname_validate.
+       (g_filename_to_uri): Validate hostnames with the new
+       hostname_validate.
+
+       * tests/uri-test.c: Updated tests to reflect the hostname
+       validation changes above.
+
+       * glib/gdate.c: (g_date_fill_parse_tokens): Remove the
+       <ctype.h> include and do isdigit -> g_ascii_isdigit.
+
+Fri Feb  8 12:32:14 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/hash-test.c (second_hash_test): Fix access to
+       freed memory in test case (Miroslaw Dobrzanski-Neumann).
+       Re-enable and debug some commented out code.
+
+2002-02-08  Michael Natterer  <mitch@gimp.org>
+
+       * glib/gdir.c: g_dir_open: added g_return_val_if_fail() to prevent
+       us from calling opendir(NULL) (which simply crashes).
+
+2002-02-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gfileutils.c (g_file_test): Extended documentation.
+
+2002-02-07  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gfileutils.c (g_file_test): Do not follow symbolic links
+       for G_FILE_TEST_SYMLINK. Also fixed the correct "OR"-behaviour for
+       G_FILE_TEST_IS_EXECUTABLE and G_FILE_TEST_EXISTS. (#60048)
+
+2002-02-07  Changwoo Ryu  <cwryu@debian.org>
+
+       * configure.in (ALL_LINGUAS): Added "ko".
+
+Wed Feb  6 14:44:18 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_prepare): Handle 
+       NULL entries (already dispatched) in pending_dispatches array 
+       (pointed out by Manish Singh)
+
+Tue Feb  5 17:13:02 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/gmain.c (g_main_context_prepare): Unref pending
+       dispatches when discarding them.
+
+2002-02-04  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * glib/gthread.c (g_thread_create_full): Delay allocation until
+       after all g_return_val_if_fail ().
+
+       * glib/gthread.h: Make depth member guint for cosmetic reasons.
+
+       * glib/gthread.c: (g_static_rec_mutex_unlock_full): depth should
+       be unsigned. All that spotted by Jörgen Viksell
+       <jorgen.viksell@telia.com>
+
+2002-02-02  Manish Singh  <yosh@gimp.org>
+
+       * glib/gmain.c
+       * glib/gtree.c: remove references to deprecated functions in docs
+       and warning message.
+
+2002-01-31  jacob berkman  <jacob@ximian.com>
+
+       * glib-gettextize.in:
+       * m4macros/glib-gettext.m4 (AM_GLIB_GNU_GETTEXT): remove
+       references to po2tbl
+
+2002-01-29  Matthias Clasen  <matthiasc@poet.de>
+
+       * glib/gmarkup.c (g_markup_parse_context_parse): Change the
+       order in which some error conditions are checked to improve
+       error messages. (#69646)
+
+Tue Jan 29 15:04:31 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * 1.3.13
+
+       * tests/shell-test.c: Workaround for MSVC bugs. (#61064)
+
+Tue Jan 29 14:06:22 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * NEWS: Update to include last change. 
+
+2002-01-21  Jeffrey Stedfast  <fejj@ximian.com>
+
+       * glib/gconvert.c (open_converter): Rewritten to cache iconv
+       conversion descriptors. On at least some Unix systems like
+       Solaris, iconv_open() must dlopen the necessary charset modules in
+       order to setup the descriptor. This can take a major toll on
+       performace if you are constantly opening and closing conversion
+       descriptors for the same charset conversions over and over.
+       (g_convert_with_fallback): Use close_converter() rather than
+       g_iconv_close() since open_converter() now caches iconv
+       descriptors.
+
+Tue Jan 29 11:18:44 2002  Owen Taylor  <otaylor@redhat.com>
+
+       * NEWS: Updated.
+
+       * configure.in: Micro == 13, binary age, interface age 0.
+       [ binary breakage was return type of g_signal_connect_object(),
+       probably could have used binary age == 0, but a little safer not to.]
+
+       * configure.in: Remove configure warning.
+
 2002-01-28  Havoc Pennington  <hp@pobox.com>
 
        * glib/gmarkup.c (add_attribute): NULL-terminate
@@ -5214,7 +5671,7 @@ Wed May 10 19:52:44 2000  Owen Taylor  <otaylor@redhat.com>
 
        * makefile.{cygwin,msc}.in (glib_OBJECTS): Add new object files.
 
-       * tests/makefile.{cygwin,msc}.in: Add threadpool-test.
+       * tests/makefile.{cygwin,msc}.in: Add thread pool-test.
 
 2000-04-28  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
 
@@ -6320,7 +6777,7 @@ Mon Mar 22 03:54:43 1999  Tim Janik  <timj@gtk.org>
        functions, so it can be used to e.g. pass a GPollFd.
        (g_main_poll): only add poll records with an events mask != 0 to the
        fd_array. don't even bother calling poll_func() if fds=timeout=0.
-       added debugging printouts around poll_func() invokation that can be
+       added debugging printouts around poll_func() invocation that can be
        enabled with #define G_MAIN_POLL_DEBUG.
 
 Fri Mar 19 16:29:50 PST 1999 Manish Singh <yosh@gimp.org>