+Thu Sep 25 15:43:08 2003 Owen Taylor <otaylor@redhat.com>
+
+ * tests/gobject/testmodule.[ch] test/gobject/Makefile.am:
+ Dummy dynamic type module for testing type plugin code
+ and dynamic types.
+
+ * test/gobject/defaultiface.c: Test of g_default_interface_ref,
+ etc.
+
+2003-09-28 Gediminas Paulauskas <menesis@delfi.lt>
+
+ * configure.in: Added lt to ALL_LINGUAS.
+
+2003-09-25 Tor Lillqvist <tml@iki.fi>
+
+ * glib/glib.def: Remove g_bsearch_array_* entries that don't exist
+ any longer. (ABI change?)
+
+Thu Sep 25 15:01:37 2003 Owen Taylor <otaylor@redhat.com>
+
+ * tests/Makefile.am (SUBDIRS): Add gobject/.
+
+Fri Sep 12 16:26:21 2003 Owen Taylor <otaylor@redhat.com>
+
+ * tests/gobject/ configure.in: New directory, framework
+ for automated GObject tests.
+
+ * tests/gobject/override.c: Move testoverride.c
+ here, automate.
+
+ * tests/gobject/ifaceinit.c: Move testifaceinit.c here.
+
+ * tests/gobject/accumulator.c: Test signal accumulators,
+ including g_signal_accumulator_true_handled.
+
+2003-09-12 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gen-unicode-tables.pl: Take a directory where to look for the
+ unicode files on the command line instead of 7 individual files.
+
+2003-09-12 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gen-unicode-tables.pl:
+ * glib/gunichartables.h:
+ * glib/gunicode.h:
+ * glib/guniprop.c: Add g_unichar_get_mirror_char. (#114749)
+
+Thu Sep 11 20:11:05 2003 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmarkup.c: Add g_markup_printf_escaped(),
+ g_markup_vprintf_escaped().
+
+ * tests/markup-escape-test.c (main): Test for
+ g_markup_escape_text(), g_markup_printf_escaped().
+
+2003-09-10 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gunicodeprivate.h:
+ * glib/gunicollate.c:
+ * glib/gunidecomp.c:
+ * glib/guniprop.c:
+ * tests/casemap.txt:
+ * tests/gen-casemap-txt.pl: Unicode 4.0 special casing. (#114681)
+
+ * glib/gunicodeprivate.h: Use a private header instead of extern
+ function declarations (_g_utf8_normalize_wc,
+ _g_unichar_combining_class).
+
+Mon Sep 8 00:31:10 2003 Stefan Westerfeld <stefan@space.twc.de>
+
+ * glib/gbsearcharray.h: inserted casts for C++.
+
+2003-08-28 Matthias Clasen <maclas@gmx.de>
+
+ * tests/patterntest.c (verbose): Fix a C99ism. (#120821, Thomas
+ Klausner)
+
+2003-08-25 Tor Lillqvist <tml@iki.fi>
+
+ * glib/giowin32.c (read_thread): Avoid UNLOCKing the critical
+ section twice, which might cause a hang. (#120653)
+
+ * glib/giowin32.c (g_io_channel_unix_new): Warn if fd is both a
+ valid file descriptor and socket.
+
+Mon Aug 25 12:34:36 2003 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmessages.c: Escape control characters in g_logv() output.
+ (#108287, Christian Biere)
+
+Mon Aug 25 12:17:20 2003 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_main_context_unref_and_unlock):
+ When DISABLE_MEM_POOLS is set, loop through and free
+ the poll records explicitely, since g_mem_chunk_destroy()
+ won't do it. (#118121, Morten Welinder)
+
+2003-08-22 Samúel Jón Gunnarsson <sammi@techattack.nu>
+
+ * is.po: Added "is" to ALL_LINGUAS.
+
+2003-08-19 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gmessages.c (g_logv): [Win32] Make the fatal error message
+ box easier to notice with MB_SETFOREGROUND. Also use MB_ICONERROR
+ to get a nice stop-sign icon.
+
+Tue Aug 19 09:42:06 2003 Owen Taylor <otaylor@redhat.com>
+
+ * m4macros/glib-gettext.m4: Add $INTLLIBS to $LIBS
+ temporarily, not -lintl. (Problem with fix for
+ #119171, pointed out by James Henstridge)
+
+Tue Aug 19 03:55:29 2003 Tim Janik <timj@gtk.org>
+
+ * glib/gbsearcharray.h: license change, no restrictions are made
+ in the new license at all, the implmentation is simply provided
+ "as is" to allow copy-pasting the code into any third-party app.
+ naturally, the implementation is self-contained within the header
+ file to allow this.
+ default to non-shrinking behaviour, allow users to request shrinking
+ via G_BSEARCH_ARRAY_AUTO_SHRINK.
+ creation, deletion functions are now named g_bsearch_array_create()
+ and g_bsearch_array_free().
+ fixed const in prototypes, removed cruft.
+ (g_bsearch_array_insert): take only three arguments, do nothing if the
+ node to insert is already there.
+ (g_bsearch_array_replace): insert or replace if the node is already
+ there.
+ (g_bsearch_array_remove): remove nodes by index, the index of a node
+ can be found via g_bsearch_array_get_index().
+ removed other g_bsearch_array_remove*() variants.
+ (g_bsearch_array_lookup): minor optimizations.
+ (g_bsearch_array_lookup_sibling): return nodes on mismatches.
+
+ * glib/gbsearcharray.c: removed.
+
+2003-08-16 Tor Lillqvist <tml@iki.fi>
+
+ Fix #117925 (Dov Grobgeld):
+
+ * glib/gutils.c (g_find_program_in_path, g_basename,
+ g_path_get_basename, g_path_is_absolute, g_path_skip_root,
+ g_path_get_dirname, g_get_any_init): On Win32, look also for
+ slashes ('/') as pathname separators.
+
+ * glib/gfileutils.c (g_file_open_tmp): Ditto. If the template
+ contains a pathname separator, include the actual one in the error
+ message, instead of always the canonical one.
+
+ (g_build_filename): Separate implementation on Win32 that looks
+ for either slash or backslash. Document Unix/Windows differences.
+
+ * tests/testglib.c
+ * tests/strfunc-test.c: Test above functionality on Win32.
+
+2003-08-15 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gmain.c (g_poll): [Win32] Don't exceed handle array
+ bounds. Warn if there would be too many handles to wait
+ for. (WaitForMultipleObjects() has a relatively low limit of 64
+ handles. The Win32 IO channel code should be fixed not to need to
+ wait for one handle per file or socket being watched. Later.)
+
+2003-08-13 Tor Lillqvist <tml@iki.fi>
+
+ * glib/Makefile.am
+ * gmodule/Makefile.am
+ * gobject/Makefile.am
+ * gthread/Makefile.am: Use srcdir also in references to the .def
+ files. (#118885, Jeff Bonggren)
+
+2003-08-12 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gconvert.c (g_locale_from_utf8): Drop the Win32-specific
+ implementation. It used WideCharToMultiByte(), which is broken as
+ it stores unconvertable characters as fallback characters
+ (question marks) in the destination string without being able to
+ tell how much of the conversion succeeded. Using g_convert() like
+ on Unix is better and simpler. (#117872)
+
+ (g_locale_to_utf8): No need for the Win32-specific implementation
+ here, either.
+
+ (have_broken_filenames): Define as TRUE on Win32.
+
+ (g_filename_to_utf8, g_filename_from_utf8): Drop Win32 ifdefs. As
+ have_broken_filenames() now is defined TRUE on Win32, works as
+ before.
+
+2003-08-11 Matthias Clasen <maclas@gmx.de>
+
+ * acinclude.m4: Copy newer versions of JH_CHECK_XML_CATALOG and
+ JH_PATH_XML_CATALOG from gtk-doc to enable configuring without
+ xmlcatalog in PATH. (#119115)
+
+2003-08-10 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gutils.c (g_getenv): Don't use a cache of variable name to
+ value mappings on Win32, as that breaks g_setenv() and
+ g_unsetenv(). Only call ExpandEnvironmentStrings() if necessary,
+ and in that case return a quarkified string. It is still
+ questionable how necessary expanding embedded environment variable
+ references is. Possibly the whole Win32-specific g_getenv()
+ implementation could be removed. (#119520)
+
+2003-08-08 Tor Lillqvist <tml@iki.fi>
+
+ * glib/glib.def: Add g_once_impl.
+
+ * glib/gutils.c (g_setenv): Fix syntax error in the !HAVE_SETENV
+ case.
+
+2003-08-08 Matthias Clasen <maclas@gmx.de>
+
+ * tests/env-test.c (main): Remove a test for getenv() behaviour
+ which isn't specified by SUS and doesn't work on Solaris.
+
+2003-08-07 Matthias Clasen <maclas@gmx.de>
+
+ * tests/env-test.c: Add tests for '=' in names and values.
+
+ * glib/gutils.c (g_setenv, g_unsetenv): Check that the variable
+ name doesn't contain '='. Add a declaration for environ. (#119338)
+
+ * acinclude.m4: Tighten the snprintf() test to check behaviour on
+ zero-size buffers. (#106091)
+
+ * tests/patterntest.c: Specify test strings in UTF-8, remove all
+ charset conversion. Replace the NOISY define by a cmdline arg
+ --noisy. (#115757)
+
+Thu Aug 7 15:01:09 2003 Owen Taylor <otaylor@redhat.com>
+
+ * m4macros/glib-gettext.m4: Set $LIBS to include
+ -lintl when checking for dcgettext and
+ _nl_msg_cat_cntr. (Tim Mooney, #119171)
+
+Thu Aug 7 14:15:44 2003 Owen Taylor <otaylor@redhat.com>
+
+ * glib/gmain.c (g_idle_source_new): Make the default priority
+ for idle sources G_PRIORITY_DEFAULT_IDLE as anybody would
+ expect and document that. (#114461, reported by Andy Wingo)
+
+2003-08-06 Noah Levitt <nlevitt@columbia.edu>
+
+ * tests/casemap.txt:
+ * tests/gen-casemap-txt.pl: Add test for special case not at inital
+ position in the string, the bug just fixed. (#118957)
+
+2003-08-05 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/guniprop.c: Get rid of "len" parameter to output_special_case
+ and output_marks, and make them work more like g_unichar_to_utf8,
+ fixing a bug in the process. (#118957)
+
+2003-08-05 Hans Breuer <hans@breuer.org>
+
+ * glib/gnulib/makefile.msc : (new file) for msvc build
+
+ * glib/gnulib/vasnprintf.c : use glib/galloc.h
+
+ * glib/gnulib/printf.h : #include <stdio.h> for FILE*
+
+ * glib/makefile.msc.in : replace trio with gnulib
+
+ * glib/glib.def : updated externals
+
+ * glib/guniprop.c : fix for guniprop.c(582) : error C2082:
+ redefinition of formal parameter 'len'
+
+2003-08-04 Noah Levitt <nlevitt@columbia.edu>
+
+ * tests/unicode-normalize.c: We do handle > BMP now, so test it.
+
+2003-07-31 Noah Levitt <nlevitt@columbia.edu>
+
+ * tests/file-test.c: s/g_read_link/g_file_read_link/ (#118727)
+
+2003-07-31 Noah Levitt <nlevitt@columbia.edu>
+
+ * tests/unicode-encoding.c: Return nonzero exit status if the test
+ fails. (#118729)
+
+2003-07-31 Noah Levitt <nlevitt@columbia.edu>
+
+ * tests/utf8.txt: Change instances of U+10ffff to U+10fffd, since that
+ is the last valid unicode character. Add check that U+10ffff is
+ NOTUNICODE. (#118730)
+
+2003-07-30 Noah Levitt <nlevitt@columbia.edu>
+
+ * glib/gen-unicode-tables.pl:
+ * glib/gunibreak.c:
+ * glib/gunibreak.h:
+ * glib/gunichartables.h:
+ * glib/gunicode.h:
+ * glib/gunicomp.h:
+ * glib/gunidecomp.c:
+ * glib/gunidecomp.h:
+ * glib/guniprop.c:
+ * tests/casefold.txt:
+ * tests/casemap.txt:
+ * tests/gen-casefold-txt.pl:
+ * tests/gen-casemap-txt.pl: Update Unicode data to 4.0. (#107974)
+
+2003-07-31 Tor Lillqvist <tml@iki.fi>
+
+ * glib/gspawn-win32.c: When possible, manage without the helper
+ process. (Part of the enhancements outlined in #98737.) Speeds up
+ GIMP 1.3's first-time-run plug-in query phase a lot.
+
+ Plug a file descriptor (and thus Win32 handle) leak: close the
+ read end of the child error report pipe after use.
+
2003-07-30 Matthias Clasen <maclas@gmx.de>
- * glib/gutils.c (g_unsetenv): Use same argument name as in header, to pacify gtk-doc.
- (g_getenv): Move docs inline, add comment about lifespan of return value.
+ * glib/gutils.c (g_unsetenv): Use same argument name as in header,
+ to pacify gtk-doc.
+ (g_getenv): Move docs inline, add comment about lifespan of return
+ value.
- * glib-2.0.pc.in (Libs): Remove forgotten @TRIO_LIBS@. (#118616, Noah Levitt)
+ * glib-2.0.pc.in (Libs): Remove forgotten @TRIO_LIBS@. (#118616,
+ Noah Levitt)
- * glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link() to better match the remaining file
- utilities in the g_file_ namespace and to better separate it from readlink(). This is hopefully no problem
- as the function is just 2 days old.
+ * glib/gfileutils.[hc]: Rename g_read_link() to g_file_read_link()
+ to better match the remaining file utilities in the g_file_
+ namespace and to better separate it from readlink(). This is
+ hopefully no problem as the function is just 2 days old.
2003-07-29 Matthias Clasen <maclas@gmx.de>
* glib/gqsort.[hc] (g_qsort_with_data):
* glib/gconvert.[hc] (g_filename_to_uri, g_filename_from_uri):
- * glib/gfileutils.[hc] (g_mkstemp, g_file_open_tmp): Use gchar, gint, gsize instead of char, int, size_t
- in the interface for consistency. (#118567)
+ * glib/gfileutils.[hc] (g_mkstemp, g_file_open_tmp): Use gchar,
+ gint, gsize instead of char, int, size_t in the interface for
+ consistency. (#118567)
Replace trio printf() by gnulib vasnprintf(): (#101874)
- * configure.in: Define HAVE_LONG_LONG_FORMAT if system printf understands %llu; rename enable_trio to
- enable_included_printf; add misc. tests needed for gnulib vasnprintf(); define G_GINT{16,32,64}_MODIFIER
- in glibconfig.h.
-
- * acinclude.m4: Misc tests needed for gnulib vasnprintf(): AC_FUNC_SNPRINTF_C99, bh_C_SIGNED, jm_AC_TYPE_LONG_LONG,
- gt_TYPE_LONGDOUBLE, gt_TYPE_WCHAR_T, gt_TYPE_WINT_T, gt_AC_TYPE_INTMAX_T, jm_AC_HEADER_STDINT_H,
+ * configure.in: Define HAVE_LONG_LONG_FORMAT if system printf
+ understands %llu; rename enable_trio to enable_included_printf;
+ add misc. tests needed for gnulib vasnprintf(); define
+ G_GINT{16,32,64}_MODIFIER in glibconfig.h.
+
+ * acinclude.m4: Misc tests needed for gnulib vasnprintf():
+ AC_FUNC_SNPRINTF_C99, bh_C_SIGNED, jm_AC_TYPE_LONG_LONG,
+ gt_TYPE_LONGDOUBLE, gt_TYPE_WCHAR_T, gt_TYPE_WINT_T,
+ gt_AC_TYPE_INTMAX_T, jm_AC_HEADER_STDINT_H,
jm_AC_HEADER_INTTYPES_H.
- * glib/Makefile.am: Replace TRIO_SUBDIR by PRINTF_SUBDIR and trio_libtrio_la by printf_la.
+ * glib/Makefile.am: Replace TRIO_SUBDIR by PRINTF_SUBDIR and
+ trio_libtrio_la by printf_la.
- * glib/gprintfint.h: Include gnulib/printf.h and use _g_gnulib_ functions instead of _g_trio_ functions.
+ * glib/gprintfint.h: Include gnulib/printf.h and use _g_gnulib_
+ functions instead of _g_trio_ functions.
* glib/trio/*: Removed
- * glib/gnulib/*: vasnprintf() implementation from gnulib, patched to live in the _g_gnulib namespace, use
- g_malloc instead of malloc, and support long long printing even if system printf doesn't. For more details,
- see glib/gnulib/README.
+ * glib/gnulib/*: vasnprintf() implementation from gnulib, patched
+ to live in the _g_gnulib namespace, use g_malloc instead of
+ malloc, and support long long printing even if system printf
+ doesn't. For more details, see glib/gnulib/README.
* tests/printf-test.c: Add tests for 64 bit printing.
* configure.in: Check for setenv, unsetenv, readlink and symlink.
- * tests/file-test.c (test_readlink): Test for g_read_link() (only on systems supporting
- symbolic links).
+ * tests/file-test.c (test_readlink): Test for g_read_link() (only
+ on systems supporting symbolic links).
* tests/env-test.c: New test for g_{get,set,unset}env().
2003-07-26 Matthias Clasen <maclas@gmx.de>
- * tests/printf-test.c: New test, tests printf behaviour. This was already mentioned in Makefile.am
- by accident.
+ * tests/printf-test.c: New test, tests printf behaviour. This was
+ already mentioned in Makefile.am by accident.
- * tests/file-test.c: New test, currently contains mkstemp tests copied from testglib.c.
+ * tests/file-test.c: New test, currently contains mkstemp tests
+ copied from testglib.c.
* tests/Makefile.am (test_programs): Add file-test.
- * glib/gprintf.c: Fix all g_return_val_if_fail () checks to return -1 on error to match the
- behaviour of the stdio printf() family.
+ * glib/gprintf.c: Fix all g_return_val_if_fail () checks to return
+ -1 on error to match the behaviour of the stdio printf() family.
* glib/garray.h:
- * glib/garray.c (g_{,byte,pointer}_remove_range): New functions to remove a range of elements
- from an array. (#94879, Nalin Dahyabhai)
+ * glib/garray.c (g_{,byte,pointer}_remove_range): New functions to
+ remove a range of elements from an array. (#94879, Nalin Dahyabhai)
- * glib/gmessages.c (g_logv): Remove the 1024 char limit in the common (non-recursive)
- case.
+ * glib/gmessages.c (g_logv): Remove the 1024 char limit in the
+ common (non-recursive) case.
2003-07-25 Matthias Clasen <maclas@gmx.de>
* glib/gerror.c:
* glib/gconvert.c:
* glib/gasyncqueue.c:
- * glib/gmem.c: Remove some explicit Docbook markup which is no longer necessary
- since gtk-doc does the right thing.
+ * glib/gmem.c: Remove some explicit Docbook markup which is no
+ longer necessary since gtk-doc does the right thing.
* glib/gutf8.c (g_utf8_get_char_validated): Work around gtk-doc stupidity.
2003-07-09 Matthias Clasen <maclas@gmx.de>
- Support for one-time initialization functions. (#69668, Sebastian Wilhelmi)
+ Support for one-time initialization functions. (#69668, Sebastian
+ Wilhelmi)
- * configure.in: Check whether double checked locking is safe, define g_once() in
- glibconfig.h accordingly.
+ * configure.in: Check whether double checked locking is safe,
+ define g_once() in glibconfig.h accordingly.
* glib/gthread.h: Add GOnce, GOnceStatus, G_ONCE_INIT and g_once_impl.
- * glib/gthread.c (g_once_impl): Fallback implementation using a mutex if double checked
- locking is unsafe.
+ * glib/gthread.c (g_once_impl): Fallback implementation using a
+ mutex if double checked locking is unsafe.
* tests/thread-test.c: Add tests for g_once().
2003-07-02 Matthias Clasen <maclas@gmx.de>