Mark 'atexit' obsolete.
[gnulib.git] / ChangeLog
index b59412e..e66e20e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,170 @@
+2008-11-02  Bruno Haible  <bruno@clisp.org>
+
+       Mark 'atexit' obsolete.
+       * modules/atexit (Status, Notice): New sections.
+       * modules/chdir-long (Depends-on): Add atexit.
+       * modules/wait-process (Depends-on): Likewise.
+
+2008-11-02  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: New option --with-obsolete.
+       (func_usage): Document it.
+       (func_modules_transitive_closure): Drop obsolete dependencies if
+       incobsolete is not true.
+       (func_import): Read and save the incobsolete variable to the cache.
+
+2008-11-02  Bruno Haible  <bruno@clisp.org>
+
+       * modules/TEMPLATE-EXTENDED: New field 'Status'.
+       * gnulib-tool: New option --extract-status.
+       (func_usage): Document it.
+       (sed_extract_prog): Recognize it.
+       (func_get_status): New function.
+
+2008-10-30  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/sockets (License): Change from LGPL to LGPLv2+.
+
+2008-10-28  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk: Add coverage rules, inspired by scripts in gnupdf.
+
+2008-10-28  Simon Josefsson  <simon@josefsson.org>
+
+       * MODULES.html.sh (Support for systems lacking POSIX:2001):
+       Mention times and sys_times.
+       * modules/sys_times, modules/sys_times-tests: New modules.
+       * modules/times, modules/times-tests: Likewise
+       * m4/sys_times_h.m4: New file.
+       * lib/sys_times.in.h: Likewise
+       * lib/times.c: Likewise.
+       * tests/test-sys_times.c: Likewise.
+       * tests/test-times.c: Likewise.
+       * doc/posix-headers/sys_times.texi: Update.
+       * doc/posix-functions/times.texi: Update.
+
+2008-10-28  Jim Meyering  <meyering@redhat.com>
+
+       * modules/tempname (Depends-on): Add lstat.
+
+       * modules/lstat (License): Relicense: LGPL -> LGPLv2+.
+
+2008-10-28  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_emit_tests_Makefile_am): Revert last commit.
+       * modules/argp-tests (test_argp_LDADD): Set EXEEXT here instead,
+       using idiom used elsewhere in gnulib.
+
+2008-10-27  Jim Meyering  <meyering@redhat.com>
+
+       * modules/gethostname (License): Relicense: LGPL -> LGPLv2+.
+
+2008-10-27  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_emit_tests_Makefile_am): Set EXEEXT in
+       TESTS_ENVIRONMENT, for shell scripts that needs to call built
+       programs.
+       * tests/test-argp-2.sh: Use $EXEEXT when needed.
+
+2008-10-27  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/sys_stat.in.h (lstat): Fix declaration for mingw.
+
+2008-10-27  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-lstat.c: Include <stdio.h>.
+
+2008-10-27  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/lstat-tests: New module.
+       * tests/test-lstat.c: New file.
+
+2008-10-26  Jim Meyering  <meyering@redhat.com>
+
+       * lib/mkdir.c (rpl_mkdir) [_WIN32...]: Mark mode as an unused parameter.
+
+2008-10-26  Simon Josefsson  <simon@josefsson.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       Fix a clash between the type DATADIR on Windows and the macro DATADIR.
+       * modules/configmake (Include): Add a note that the include must come
+       after all system headers.
+       * lib/javaversion.c: Include configmake.h after all other includes.
+
+2008-10-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Set default of
+       HAVE_STRUCT_RANDOM_DATA to 1.
+       (gl_STDLIB_H): Simplify.
+
+2008-10-26  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/stdlib_h.m4: Check for struct random_data.  Initialize and
+       substitute HAVE_STRUCT_RANDOM_DATA.
+       * lib/stdlib.in.h [!HAVE_STRUCT_RANDOM_DATA]: Provide struct
+       random_data.
+       * modules/stdlib (Makefile.am): Substitute
+       HAVE_STRUCT_RANDOM_DATA.
+
+2008-10-26  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/gnulib.texi (@copying): Use GFDLv1.2+.
+       * doc/gnulib-intro.texi (Copyright): Likewise.
+
+2008-10-26  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/gnulib.texi (Header files): C++ fixes, based on Bruno's
+       findings.
+
+2008-10-25  Ben Pfaff  <blp@cs.stanford.edu>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistd.in.h: Include <winsock2.h>.
+       (socket, connect,accept, bind, getpeername, getsockname, getsockopt,
+       listen, recv, send, recvfrom, sendto, setsockopt, shutdown, select):
+       Provide dummy declarations.
+       (gethostname): Override.
+       * lib/sys_socket.in.h (gethostname): Provide dummy declaration.
+       * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Invoke
+       gl_PREREQ_SYS_H_WINSOCK2.
+       * modules/gethostname (Files): Add m4/sys_socket_h.m4.
+       * doc/posix-functions/gethostname.texi: More details.
+
+2008-10-25  Bruno Haible  <bruno@clisp.org>
+
+       * m4/sys_socket_h.m4 (gl_PREREQ_SYS_H_WINSOCK2): Require
+       gl_UNISTD_H_DEFAULTS, gl_SYS_IOCTL_H_DEFAULTS only if they exist.
+       * modules/sys_socket (Files): Remove m4/unistd_h.m4, m4/sys_ioctl_h.m4.
+
+       * lib/sys_socket.in.h (HAVE__GL_CLOSE_FD_MAYBE_SOCKET); Move macro from
+       here ...
+       * lib/unistd.in.h (HAVE__GL_CLOSE_FD_MAYBE_SOCKET); ... to here.
+       * m4/sys_socket_h.m4 (gl_SYS_SOCKET_H_DEFAULTS): Remove invocation of
+       gl_UNISTD_H_DEFAULTS.
+
+2008-10-25  Eric Blake  <ebb9@byu.net>
+
+       signbit: avoid spurious compiler failure
+       * m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): Move non-constant
+       declarations inside function.
+
+2008-10-24  Simon Josefsson  <simon@josefsson.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdlib.in.h (@GNULIB_RANDOM_R@): Include stdint.h.
+       * modules/random_r (Depends-on): Add stdint.
+
+2008-10-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/intprops (License): Change to LGPLv2+, with approval by Paul
+       Eggert.
+       * modules/strerror (License): Likewise.
+
+2008-10-24  Jim Meyering  <meyering@redhat.com>
+
+       sys_socket: fix typo that inhibited expansion of @GNULIB_SEND@
+       * modules/sys_socket (Depends-on) [Depends-on]: Fix typo.
+
 2008-10-24  Eric Blake  <ebb9@byu.net>
 
        getgroups: fix compilation when getgroups is available
        (gl_thread_exit_func): Use _endthreadex instead of EndThread.
 
 2008-10-11  Yoann Vandoorselaere  <yoann@prelude-ids.org>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        Provide a Win32 implementation of the 'cond' module.
        * lib/glthread/cond.h [USE_WIN32]: New implementation.
        * doc/gnulib.texi: Include it.
 
 2008-10-09  Paolo Bonzini  <bonzini@gnu.org>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        Combine the two replacements of 'close'.
        * lib/sys_socket.in.h (close): Define to a reminder to include
        * modules/select-tests (Depends-on): Likewise.
 
 2008-10-09  Paolo Bonzini  <bonzini@gnu.org>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        New module 'close'.
        * modules/close: New file.
        * modules/fchdir (Depends-on): Add close.
 
 2008-10-09  Paolo Bonzini  <bonzini@gnu.org>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * lib/fcntl.in.h (open): Simplify conditionals.
        (_gl_register_fd): New declaration.
        (_version): Rename from "version".
 
 2008-10-09  Paolo Bonzini  <bonzini@gnu.org>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * lib/fchdir.c (_gl_unregister_fd): New functions, extracted from
        rpl_close.