Test for interface properties and GParamSpecOverride.
[platform/upstream/glib.git] / ChangeLog.pre-2-12
index 1b4ab66..71cf103 100644 (file)
@@ -1,3 +1,272 @@
+Tue Oct 14 17:44:38 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/gobject/ifaceproperties.c: Test for interface
+       properties and GParamSpecOverride.
+
+Wed Oct  8 23:40:26 2003  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/gmarkup.c (g_markup_printf_escaped): 
+       (g_markup_vprintf_escaped): Document as 2.4 additions.
+       (unescape_text): Implement newline and whitespace normalization
+       according to the XML specification.  (#123919)
+       (g_markup_escape_text): Document whitespace (non)handling.
+
+2003-10-05  Matthias Clasen  <maclas@gmx.de>
+
+       * configure.in: Make the various printf feature test macros
+       reflect the system printf, even when using the included printf.
+       In particular, don't force HAVE_C99_SNPRINTF, since g-gnulib.h 
+       needs that test result.  (#122973)
+
+       * glib/gprintf.c (g_vasprintf): Don't rely on HAVE_VASPRINTF,
+       directly check for _g_vasprintf.
+
+       * glib/gprintfint.h (_g_vasprintf): Only define _g_vasprintf()
+       if vasprintf() is available.
+
+       * glib/gnulib/printf.c (_g_gnulib_vfprintf): Don't write
+       trailing nul to the file. (#122973)
+
+       * acinclude.m4 (AC_FUNC_VSNPRINTF_C99): Make the test 
+       detect non-C99-compliance of AIX 5.1 and Solaris 
+       vsnprintf().  (#122496)
+
+Thu Oct  2 01:15:46 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/gobject/ifacecheck.c: Test case for
+       g_type_add_interface_check().
+
+       * tests/gobject/ifaceinit.c: Add #undef G_DISABLE_ASSERT.
+
+Thu Oct  2 01:11:39 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/gobject/ifaceinherit.c: Remove some tests that
+       were testing things that weren't supposed to work; add
+       a test for adding an interface first to the child class,
+       then to the parent class.
+
+Thu Oct  2 00:02:55 2003  Owen Taylor  <otaylor@redhat.com>
+
+       * tests/gobject/Makefile.am test/gobject/ifaceinherit.c:
+       Tests of interface inheritance and overriding.
+
+2003-09-30  Tor Lillqvist  <tml@iki.fi>
+
+       * glib/gspawn-win32.c (do_spawn): Call protect_argv() in
+       do_spawn() instead of in do_spawn_with_pipes() so that we can use
+       the original argv[0] as the program file name parameter to
+       spawnv() in the shortcut (doing without helper process)
+       code. Fixes problem if GIMP 1.3 was installed in a path with
+       spaces in the name.
+
+Tue Sep 30 15:31:16 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
+
+       * glib/guniprop.c (has_more_above): make the argument const to
+       get rid of warning
+
+       * glib/garray.c (g_byte_array_remove_range): insert cast to get
+       rid of warning
+
+2003-09-29  Tor Lillqvist  <tml@iki.fi>
+
+       * tests/testglib.c (main): Use hardcoded name for DLL, as there is
+       no reliable way to determine it at compile or run time anyway. 
+
+2003-09-29  Matthias Clasen  <maclas@gmx.de>
+
+       * glib/guniprop.c (g_unichar_get_mirror_char): Add "Since: 2.4" 
+       to docs.
+
+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_type_default_interface_ref() and friends.
+
+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