Added g_static_mutex_init to allow initialization of a GStaticMutex, that
[platform/upstream/glib.git] / ChangeLog.pre-2-0
index 85c4d38..ad1a004 100644 (file)
@@ -1,13 +1,54 @@
+2001-02-01  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread.c, gthread.h: Added g_static_mutex_init to allow
+       initialization of a GStaticMutex, that can not be initialized with
+       G_STATIC_MUTEX_INIT, for example in allocated structures.
+
+Wed Jan 31 13:46:58 2001  Owen Taylor  <otaylor@redhat.com>
+
+       * acinclude.m4 glib-gettext.m4: Fix problem with --disable-nls.
+
+2001-01-30  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread.c, gthread.h: Added g_static_mutex_free to allow using
+       GStaticMutexes with limited lifetime without leaking.
+       
+       * configure.in: GStaticMutex doesn't have to provide extra space
+       for debugging information for G_ERRORCHECK_MUTEXES, as then the
+       non-default implementation (runtime_mutex) is used anyway.
+
+       * gthread.h (g_cond_wait): Added debug information for
+       g_mutex_free calls, if G_ERRORCHECK_MUTEXES is defined.
+
+2001-01-29  Tor Lillqvist  <tml@iki.fi>
+
+       * glibconfig.h.win32.in: Use the same GMutex structure as the
+       configure-generated glibconfig.h does.
+
+       * gstrfuncs.c (g_strsignal): Declare strsignal() on Cygwin, too,
+       says jbdoll@kepri.re.kr.
+
+2001-01-29  Sebastian Wilhelmi  <wilhelmi@ira.uka.de>
+
+       * gthread.c: Broadcast the condition, if there are waiting
+       readers, as all might read at the same time. Only signal the
+       writer thread, if there are no more readers.
+
 2001-01-25  Tor Lillqvist  <tml@iki.fi>
 
+       * makefile.mingw.in
+       * */makefile.mingw.in: Protect the rule to rebuild makefile.mingw
+       if makefile.mingw.in has changed with a check if said .in file
+       exists. (This rule is mainly a convenience for yours truly.)
+
        * giowin32.c: Socket support rewritten. It was utterly broken, and
        untested in fact. We still do use a thread for each socket being
        watched, but instead of blocking in recv() (which of course was
-       plain stupid for sockets being liste()ed on), we block in
-       select(). The read method for sockets calls recv(). It is now
-       possible for the application to call accept(), recv() or send() in
-       the callback, just like on Unix. Tested with code kindly provided
-       by Andrew Lanoix.
+       plain stupid for sockets being listen()ed on in a server-type
+       application), we block in select(). The read method for sockets
+       calls recv(). It is now possible for the application to call
+       accept(), recv() or send() in the callback, just like on
+       Unix. Tested with code kindly provided by Andrew Lanoix.
 
        Rename g_io_channel_win32_new_stream_socket() to
        g_io_channel_win32_new_socket() as it isn't restricted to stream
@@ -28,7 +69,7 @@
        * tests/makefile.mingw.in: Remove superfluous compilation command
        line.
 
-2001-01-23    <alexl@redhat.com>
+2001-01-23  Alex Larsson  <alexl@redhat.com>
 
        * gmain.c (g_source_callback_unref): Free the callback
        (g_source_set_callback): Initialize the callback refcount