Removed POSIX_*. Defined G_THREAD_SOURCE to "gthread-win32.c".
[platform/upstream/glib.git] / ChangeLog.pre-2-12
index de9984b..cd6afb2 100644 (file)
@@ -1,3 +1,174 @@
+2001-05-22  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * config.h.win32.in: Removed POSIX_*. Defined G_THREAD_SOURCE to
+       "gthread-win32.c".
+
+       * glibconfig.h.win32.in: Define G_HAVE_ISO_VARARGS for gcc, don't
+       know about MSC. Define G_THREADS_IMPL_WIN32 instead of
+       G_THREADS_IMPL_POSIX and define the right static mutex macros and
+       types.
+
+       * glib.def: g_thread_create renamed to g_thread_create_full.
+
+       * gthread.c: memcpy is not necessary here. We can simply use
+       struct assignment.
+
+       * gmessages.c: Fix compilation error on win32. Added
+       GFileDescriptor, wich is gint on Unix and FILE* on win32.
+
+2001-05-21  Andrew Lanoix <alanoix@umich.edu>
+
+       *giowin32.c: G_IO_WIN32_WINDOWS_MESSAGES channels
+       not handled correctly in g_io_win32_check()
+
+Sun May 20 10:47:47 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in: Fix some problems in writing out varargs
+       tests in configure.in
+
+Fri May 18 10:52:23 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * configure.in gmessages.h: Use compile checks for ISO C99 and GNU
+       extension varargs macros syntax and store result in glibconfig.h
+       (G_HAVE_ISO_VARARGS, G_HAVE_GNUC_VARARGS) rather than relying
+       on checking predefined macros.
+
+2001-05-18  Michael Natterer  <mitch@convergence.de>
+
+       * gmarkup.c: don't g_strdup()/g_free() all parsed attributes and
+       their values twice but simply copy the string pointers from the
+       GMarkupAttribute struct to the string arrays before passing them
+       to start_element().
+
+2001-05-18  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread.c, gthread.h: Renamed g_thread_create to
+       g_thread_create_full and added macro g_thread_create, which omits
+       'stack_size', 'bound' and 'priority' parameters. Also removed
+       'bound' from GThread struct.
+
+       * gthreadpool.h, gthreadpool.c: Adapted GThreadPool to the above
+       changes. GThreadPool lost the 'priority' and 'bound'
+       members. g_thread_pool_new the 'stack_size', 'bound' and
+       'priority' parameters.
+
+       * tests/mainloop-test.c, tests/thread-test.c,
+       tests/threadpool-test.c: Adapted to the above changes.
+
+       * gmem.c (g_mem_profile): Fixed mutex deadlock.
+
+2001-05-17  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * makefile.mingw.in: Add gpattern.o to objects.
+
+       * glib.def: Export g_thread_exit as well.
+
+       * Makefile.am: Fix BUILT_EXTRA_DIST exporting.
+
+Sun May 13 10:31:17 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * glib/Makefile.am gobject/Makefile.am gmodule/Makefile.am:
+       Add inter-library dependencies.
+
+       * acinclude.m4: Remove libtool macros.
+
+       * autogen.sh: Require libtool-1.4, automake-1.4p1.
+
+2001-05-15  Havoc Pennington  <hp@redhat.com>
+
+       * configure.in (AC_OUTPUT): m4macros/Makefile
+
+       * m4macros/Makefile.am, m4macros/glib-2.0.m4,
+       m4macros/glib-gettext.m4:
+       m4 files moved here on server, Makefile.am added
+        
+       This is so you can aclocal -I m4macros while avoiding acinclude.m4
+
+       * Makefile.am: add m4macros subdir, remove references to glib-2.0.m4
+
+2001-05-14  Havoc Pennington  <hp@redhat.com>
+
+       * gutf8.c (g_utf8_get_char): fix docs; they said we validated 
+       the UTF-8, but we can't possibly detect partial chars since
+       there's no length arg here, so trying to use this function 
+       on invalid UTF-8 is a bad idea.
+
+Thu May 10 23:21:30 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * gmessages.c (g_log_write_prefix): Avoid using stdio
+       to be as robust as possible in out-of-memory.
+
+       * gmessages.c (g_log_default_handler): Remove some dead
+       code.
+
+       * gutils.c (g_parse_debug_string): Fix to avoid mallocs.
+
+Fri May 11 18:25:23 2001  Tim Janik  <timj@gtk.org>
+
+       * gdataset.c:
+       (g_dataset_foreach):
+       (g_datalist_foreach): make these safe against removal of the
+       current element.
+
+2001-05-10  Havoc Pennington  <hp@pobox.com>
+
+       * gmessages.c (g_log_write_prefix): change env variable to
+       G_MESSAGES_PREFIXED, suggested by Tim
+
+Thu May 10 15:19:01 2001  Tim Janik  <timj@gtk.org>
+
+       * gscanner.c (g_scanner_key_hash): use g_str_hash() algorithm
+       to generate hashes.
+
+       * gmem.c (standard_calloc): free() doesn't return a value
+       (Mark Murnane).
+
+2001-04-26  Havoc Pennington  <hp@redhat.com>
+
+       * configure.in: Get rid of --enable-msg-prefix
+
+       * gmessages.c: make whether to prefix the messages with
+       appname/pid a runtime setting, not a compile-time setting.  Change
+       default to include prefix for debug/warning/error type messages.
+
+2001-05-09  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread.c, gthread.h: Renamed 'value' and 'arg' to 'data' and
+       'thread_func' to 'func' to make it more consistent with the rest
+       of GLib.
+
+       * gthreadpool.c, gthreadpool.h: Moved 'stack_size' from the public
+       members of GThreadPool to the private ones. Renamed 'thread_func'
+       to 'func' as above. Moved up 'user_data' in g_thead_pool_new
+       argument list and in GThreadPool struct.
+       
+Tue May  8 15:33:31 2001  Tim Janik  <timj@gtk.org>
+
+       * gcompletion.h: removed #include <unistd.h> sneaked in by
+       sopwith in november.
+
+2001-05-08  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gmain.c, gthread.c, gthread.h: Moved func and arg members from
+       GRealThread to GThread, such that they can be accessed by the
+       user.
+
+       * gthread.c, gthread.h: Due to popular demand (Tim being the
+       populus here ;-) threads now have a 'return value', which is
+       returned by g_thread_join and is either the return of the topmost
+       thread function or the value given to g_thread_exit.
+       
+       * gthreadpool.c, tests/mainloop-test.c, tests/thread-test.c:
+       Adapted to the above change.
+
+2001-01-06  Hans Breuer  <hans@breuer.org>
+
+       * glib.def : don't try to export g_strcpy, it is g_stpcpy;
+       updated and added some tweaking for functions which got 
+       renamed recently, to avoid the update hassle if it can 
+       simply be done compatible. Should vanish if there is a 
+       stable version for win32.
+
 Fri May  4 11:49:18 2001  Owen Taylor  <otaylor@redhat.com>
 
        * Released 1.3.5