Don't warn about deprecation on Win32. Code written for GLib 1.2 doesn't
[platform/upstream/glib.git] / ChangeLog.pre-2-0
index 0fb9444..a5762a1 100644 (file)
@@ -1,3 +1,125 @@
+2001-01-09  Tor Lillqvist  <tml@iki.fi>
+
+       * gutils.c (g_basename, g_dirname): Don't warn about deprecation
+       on Win32. Code written for GLib 1.2 doesn't have much choice but
+       to use GLib >= 1.3 on Win32.
+
+       * glib.def: Update.
+
+2001-01-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gmem.c: Made g_profile_mutex a GMutex* instead of
+       G_LOCK_DEFINE_STATIC to avoid deadlock for thread implementations
+       without native static mutexes. Contruct g_profile_mutex in
+       g_mem_init().
+
+2001-01-06  Tor Lillqvist  <tml@iki.fi>
+
+       * gconvert.c (g_locale_to_utf8, g_locale_from_utf8): Get len using
+       strlen() if arg is negative in the Win32 code, too.
+
+       * giowin32.c: Changes necessary to be able to run
+       mainloop-test. We can't close the fd that our (internal) reader
+       thread is sitting doing a blocking read() from. We must terminate
+       the thread first. Keep track of thread handle, and close it when
+       thread is dying. Start reader thread with the lower-level
+       CreateThread() instead of _beginthreadex() from the C runtime, in
+       order to be able to use TerminateThread(). Hopefuly this isn't
+       harmful.
+
+       * glib.def: Update.
+
+       * tests/makefile.{mingw,msc}.in (TESTS): Add mainloop-test and
+       unicode-encoding.
+
+       * tests/mainloop-test.c: Portability: <unistd.h>, need <fcntl.h>
+       on Win32.
+
+       * tests/unicode-encoding.c (process): Add missing "line" argument
+       to fail(). On Win32, convert UTF-16LE, as libiconv'c ivonf always
+       converts to UTF-16BE if we ask for unspecific UTF-16.
+       (main) Handle also '\r'.
+
+Fri Jan  5 11:25:42 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in (PACKAGE): move $enable_debug down below
+       checks for GCC to avoid setting CFLAGS prematurely,
+       change checks to avoid adding -g twice.
+
+       * gutf8.c (g_ucs4_to_utf8): Support len < 0 to mean
+       0 termination.
+
+       * gutf8.c (g_utf8_to_ucs4): Terminate result with 0.
+
+       * tests/mainloop-test.c (main): Fix uses of 
+       g_main_loop_destroy().
+
+       * tests/unicode-encoding.c tests/Makefile.am tests/utf8.txt:
+       Tests for unicode-conversion code.
+
+       * gconvert.c (g_convert, g_convert_with_fallback): work around
+       a couple of GNU libc bugs.
+
+       * gconvert.[ch] (g_{locale,filename}_{to,from}_utf8): Standardize
+       arguments to match g_convert(). Document.
+
+       * gunicode.[ch]: 
+         - Implement conversion functions to and from UTF-16
+         - Standardize unicode conversion functions on prototype like
+           g_convert.
+         - Add a lot of error checking to unicode conversion functions.
+
+       * gunicode.[ch] (g_utf8_to_ucs4_fast): Add fast, non-checking
+       variant of g_utf8_to_ucs4.
+
+       * gutf8.c (g_utf8_validate): 
+        - add g_return_if_fail (str != NULL).
+        - add checks for overlong strings, non-valid Unicode characters (>= 110000)
+          and single surrogates.
+
+2001-01-05  Tor Lillqvist  <tml@iki.fi>
+
+       * testglib.c (main): Add test for g_path_skip_root().
+
+       * gfileutils.c (g_file_open_tmp): (Win32:) Look also for (illegal)
+       forward slashes in the template.
+
+       * gutils.c (g_path_skip_root): On Win32, skip the \\server\share
+       part of UNC paths. On all platforms, skip several initial
+       slashes. Add a few comments.
+       (g_get_any_init): On Win32, in case HOME is Unix-style with
+       (forward) slashes (some other applications apparently set it up
+       this way, convert to backslashed form.
+
+       * configure.in (glib_os): Remove stray 'v'. Add case for mingw,
+       although using configure for mingw surely doesn't work yet.
+
+       * glib.def: Update.
+
+2001-01-02  Havoc Pennington  <hp@redhat.com>
+
+       * configure.in: remove glib-config-2.0
+
+       * Makefile.am: remove glib-config-2.0
+
+2001-01-03  Havoc Pennington  <hp@pobox.com>
+
+       * tests/Makefile.am (INCLUDES): -I$(top_srcdir)/gmodule, 
+       fix from Michael Meeks
+
+       * Makefile.am (INCLUDES): DISABLE was spelled wrong
+
+Wed Jan  3 14:10:49 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gmain.[ch]: Switch GMainLoop to be ref/unref, use to
+       make dropping reference to running loop safe.
+
+Wed Dec 13 20:41:49 2000  Owen Taylor  <otaylor@redhat.com>
+
+       * gmain.c (g_source_unref_internal): Unref callback->cb_data
+       if it was still set when the source is freed. (Usually, this
+       will be done by g_source_destroy.)
+
 2001-01-02  Dan Winship  <danw@helixcode.com>
 
        * garray.h (g_array_append_val, g_array_prepend_val,