To avoid deadlocks get rid of the settings G_LOCK. Use the
[platform/upstream/glib.git] / ChangeLog.pre-2-10
index bdca69c..595bb98 100644 (file)
@@ -1,3 +1,53 @@
+2006-01-17  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gthreadpool.c: To avoid deadlocks get rid of the settings
+       G_LOCK. Use the unused_thread_queue lock instead. Change
+       g_thread_pool_thread_proxy such that threads only wait on
+       non-exlusive pools for at most a 1/2 second. Do not reorder tasks
+       due to superfluous tasks. Global tasks wait at most for
+       max-idle-time milliseconds. Make sure, that no task is woken up
+       twice for the same event via a wakeup_serial. This fixes #324228.
+
+       * tests/threadpool-test.c: Adapt test accordingly. Do not pass
+       invalid NULL into the thread pools. This as well fixes #327290.
+
+2006-01-16  Matthias Clasen  <mclasen@redhat.com>
+
+       * configure.in: Bump version
+
+       * === Released 2.9.3 ===
+
+       * NEWS: Updates
+
+       * glib/gthread.h (g_static_mutex_get_mutex_impl_shortcut): 
+       Rework the strict aliasing fix to not break C++, pointed
+       out by Murray Cumming.
+       
+       * glib/gasyncqueue.c (g_async_queue_push_sorted_unlocked):
+       Signal waiting threads, problem noticed by Christian Kellner.
+
+2006-01-16  Matthias Clasen  <mclasen@redhat.com>
+
+       Fix bug 326747, Alberto Ruiz:
+       
+       * glib/gconvert.c (make_valid_utf8): Change this function to
+       replace unknown characters by the Unicode replacement character
+       instead of '?', and don't append "(invalid encoding)".
+       (g_filename_display_name, g_filename_display_basename): Document
+       how to determine if the filename was in an invalid encoding.
+
+2006-01-14  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/gtree.c: Replace the simple recursive implementation
+       by a nonrecursive, threaded implementation by Maurizio 
+       Monge.  (#169285)
+
+2006-01-12  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/asyncqueue-test.c (main): Fix the
+       assert to not always trigger.  (#326558, 
+       Daichi Kawahata)
+
 2006-01-11  Matthias Clasen  <mclasen@redhat.com>
 
        * tests/convert-test.c: Don't test items_read and