add m4/threadlib.m4 to the gettext module
[gnulib.git] / ChangeLog
index d4be462..17cac59 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,177 @@
+2008-08-20  Paolo Bonzini  <bonzini@gnu.org>
+
+       * modules/gettext: Add m4/threadlib.m4.
+
+2008-08-19  Eric Blake  <ebb9@byu.net>
+
+       test-c-stack: fix compilation failure on FreeBSD 5.0
+       * tests/test-c-stack.c [HAVE_SETRLIMIT]: Include prerequisite
+       headers before <sys/resource.h>.
+       * doc/posix-headers/sys_resource.texi (sys/resource.h): Document
+       the bug.
+       Reported by Nelson H. F. Beebe.
+
+       strverscmp: migrate from "strverscmp.h" to <string.h>
+       * modules/string (Makefile.am): Add new hooks.
+       * modules/strverscmp (Files): Remove strverscmp.h.
+       (Depends-on): Add string.
+       (configure.ac): Add indicator.
+       (Include): Mention new header.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Provide new
+       defaults.
+       * m4/strverscmp.m4 (gl_FUNC_STRVERSCMP): Inform string module of
+       results.
+       * lib/strverscmp.h: Delete.
+       * lib/string.in.h (strverscmp): Provide declaration, when needed.
+       * tests/test-strverscmp.c (includes): Adjust client.
+       * lib/check-version.c (includes): Likewise.
+       * NEWS: Document the change.
+
+       strverscmp: add unit test
+       * modules/strverscmp-tests: New file.
+       * tests/test-strverscmp.c: Likewise.
+
+2008-08-19  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/gc-gnulib.c: Indentation cleanup.  Add some comments
+       regarding Windows crypto stuff, from Mono.
+
+2008-08-19  Adam Strzelecki <ono@java.pl>  (tiny change)
+
+       * lib/gc-gnulib.c: Use CRYPT_VERIFY_CONTEXT.  Try to use Intel CSP
+       if present, for intel RND.  Return error on failures.
+
+2008-08-18  Ben Pfaff  <blp@gnu.org>
+
+       gitlog-to-changelog: give better diagnostic for failed pipe-open
+       * build-aux/gitlog-to-changelog: Improve error message: suggest
+       that the version of Git may be too old.
+
+2008-08-18  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/autobuild.m4: Use TZ=UTC to avoid time zone complexity.  Use
+       ISO 8601 format.  Suggested by Greg Troxel <gdt@ir.bbn.com>.
+
+2008-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/thread.h [USE_SOLARIS_THREADS]: Use thread_in_use(), not
+       pthread_in_use().
+
+2008-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/threadlib.c: Include <pthread.h>.
+
+2008-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/lock.h [USE_SOLARIS_THREADS]: Fix
+       glthread_recursive_lock_* macros.
+       * lib/glthread/lock.c (glthread_recursive_lock_destroy_multithreaded):
+       Fix syntax error.
+
+2008-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/thread.c: Avoid forcing a context switch right after
+       thread creation.
+
+2008-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/thread.c: New file, based on code from tests/test-lock.c.
+       * lib/glthread/thread.h: Provide Win32 specific implementation.
+       * modules/thread (Files): Add lib/glthread/thread.c.
+       (Depends-on): Add lock.
+       (Makefile.am): Add glthread/thread.c to lib_SOURCES.
+
+2008-08-17  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+
+       New module 'yield'.
+       * modules/yield: New file.
+       * lib/glthread/yield.h: New file.
+       * m4/yield.m4: New file.
+       * MODULES.html.sh (Multithreading): Add yield.
+
+2008-08-17  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+
+       New module 'thread'.
+       * modules/thread: New file.
+       * lib/glthread/thread.h: New file.
+       * m4/thread.m4: New file.
+       * MODULES.html.sh (Multithreading): Add thread.
+
+2008-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/lock.h: Include <stdlib.h> always.
+       * lib/glthread/tls.h: Likewise.
+       * lib/glthread/cond.h: Likewise.
+
+2008-08-17  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+
+       New module 'cond'.
+       * modules/cond: New file.
+       * lib/glthread/cond.h: New file.
+       * lib/glthread/cond.c: New file.
+       * m4/cond.m4: New file.
+       * MODULES.html.sh (Multithreading): Add cond.
+
+2008-08-16  Eric Blake  <ebb9@byu.net>
+
+       c-stack: fix regression on Irix 5.3 from 2008-06-21
+       * m4/c-stack.m4 (gl_PREREQ_C_STACK): Move check for
+       sa_sigaction...
+       * m4/sigaction.m4 (gl_PREREQ_SIG_HANDLER_H): ...here.
+       (gl_PREREQ_SIGACTION): Depend on sig-handler.h prereq's.
+       * m4/signal_h.m4 (gl_SIGNAL_H_DEFAULTS): Set the default.
+       * modules/signal (Makefile.am): Use the value.
+       * lib/signal.in.h (sa_sigaction) [HAVE_SIGACTION
+       && !HAVE_STRUCT_SIGACTION_SA_SIGACTION]: Define.
+       * doc/posix-headers/signal.texi (signal.h): Document this
+       portability issue.
+       * doc/posix-functions/sigaction.texi (sigaction): Likewise.
+       Reported by Tom G. Christensen.
+
+2008-08-17  Bruno Haible  <bruno@clisp.org>
+
+       New module 'threadlib'.
+       * modules/threadlib: New file.
+       * lib/glthread/threadlib.c: New file, extracted from
+       lib/glthread/lock.c.
+       * lib/glthread/lock.c (dummy_thread_func, glthread_in_use): Remove
+       functions.
+       * m4/threadlib.m4: New file, from m4/lock.m4, renaming gl_LOCK to
+       gl_THREADLIB and gl_LOCK_EARLY to gl_THREADLIB_EARLY.
+       * m4/lock.m4 (gl_LOCK_EARLY, gl_LOCK_EARLY_BODY, gl_LOCK_BODY): Remove
+       macros.
+       (gl_LOCK): Just require gl_THREADLIB and perform checks for lock.h.
+       (gl_DISABLE_THREADS): Remove macro.
+       * modules/lock (Files): Remove build-aux/config.rpath.
+       (Depends-on): Remove havelib. Add threadlib.
+       (configure.ac-early): Remove section.
+       * m4/tls.m4 (gl_TLS): Require gl_THREADLIB instead of gl_LOCK.
+       * modules/tls (Depends-on): Remove lock. Add threadlib.
+       (Link): New section, copied from threadlib.
+       * MODULES.html.sh (Multithreading): Add threadlib.
+
+2008-08-14  Bruno Haible  <bruno@clisp.org>
+
+       * lib/glthread/lock.h (glthread_lock_lock, glthread_lock_unlock,
+       glthread_lock_destroy, glthread_rwlock_rdlock, glthread_rwlock_wrlock,
+       glthread_rwlock_unlock, glthread_rwlock_destroy,
+       glthread_recursive_lock_lock, glthread_recursive_lock_unlock,
+       glthread_recursive_lock_destroy): Define as macros always.
+       * lib/glthread/lock.c (glthread_lock_lock_func): Renamed from
+       glthread_lock_lock.
+       (glthread_lock_unlock_func): Renamed from glthread_lock_unlock.
+       (glthread_lock_destroy_func): Renamed from glthread_lock_destroy.
+       (glthread_rwlock_rdlock_func): Renamed from glthread_rwlock_rdlock.
+       (glthread_rwlock_wrlock_func): Renamed from glthread_rwlock_wrlock.
+       (glthread_rwlock_unlock_func): Renamed from glthread_rwlock_unlock.
+       (glthread_rwlock_destroy_func): Renamed from glthread_rwlock_destroy.
+       (glthread_recursive_lock_lock_func): Renamed from
+       glthread_recursive_lock_lock.
+       (glthread_recursive_lock_unlock_func): Renamed from
+       glthread_recursive_lock_unlock.
+       (glthread_recursive_lock_destroy_func): Renamed from
+       glthread_recursive_lock_destroy.
+
 2008-08-14  Bruno Haible  <bruno@clisp.org>
 
        * lib/glthread/lock.h: Renamed from lib/lock.h.