update-copyright: automatically format copyright statements
[gnulib.git] / ChangeLog
index 2bb96cf..9d74602 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,221 @@
+2009-07-31  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: automatically format copyright statements
+       * build-aux/update-copyright: Implement that.
+       Also, be a little more predictable and safer by always failing
+       when the full copyright format is not perfectly recognized as an
+       unbroken whole.  Discussed at
+       <http://lists.gnu.org/archive/html/bug-gnulib/2009-07/msg00131.html>.
+       Rewrite documentation.
+
+2009-08-03  Bruno Haible  <bruno@clisp.org>
+
+       * m4/iconv.m4 (AM_ICONV): Fix displayed message with autoconf-2.64.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'uname'.
+       * modules/uname-tests: New file.
+       * tests/test-uname.c: New file.
+
+       New module 'uname'.
+       * lib/uname.c: New file.
+       * m4/uname.m4: New file.
+       * modules/uname: New file.
+       * doc/posix-functions/uname.texi: Mention the new module.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'sys_utsname'.
+       * modules/sys_utsname-tests: New file.
+       * tests/test-sys_utsname.c: New file.
+
+       New module 'sys_utsname'.
+       * lib/sys_utsname.in.h: New file, based on glibc's <sys/utsname.h>.
+       * m4/sys_utsname_h.m4: New file.
+       * modules/sys_utsname: New file.
+       * doc/posix-headers/sys_utsname.texi: Mention the new module.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       Implicitly initialize the sockets library.
+       * lib/gethostname.c: Include sockets.h.
+       (rpl_gethostname): Invoke gl_sockets_startup.
+       * lib/socket.c: Include sockets.h.
+       (rpl_socket): Invoke gl_sockets_startup.
+       * modules/gethostname (Depends-on): Add sockets.
+       * modules/socket (Depends-on): Likewise.
+       * tests/test-poll.c: Don't include sockets.h.
+       (main): Don't invoke gl_sockets_startup.
+       * tests/test-select.c: Don't include sockets.h.
+       (main): Don't invoke gl_sockets_startup.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       Allow multiple calls to gl_sockets_startup.
+       * lib/sockets.c (initialized_sockets_version): New variable.
+       (gl_sockets_startup): Do nothing if already called for this or a higher
+       version.
+       (gl_sockets_cleanup): Reset initialized_sockets_version.
+
+2009-08-03  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-argp-version-etc-1.sh: Use EXEEXT.  Don't fail on
+       different project/version.
+
+2009-08-02  Paolo Bonzini  <bonzini@gnu.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'pipe-filter-gi'.
+       * modules/pipe-filter-gi-tests: New file.
+       * tests/test-pipe-filter-gi1.sh: New file.
+       * tests/test-pipe-filter-gi1.c: New file.
+       * tests/test-pipe-filter-gi2.sh: New file.
+       * tests/test-pipe-filter-gi2-main.c: New file.
+       * tests/test-pipe-filter-gi2-child.c: New file.
+
+       New module 'pipe-filter-gi'.
+       * lib/pipe-filter-gi.c: New file.
+       * modules/pipe-filter-gi: New file.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+            Paolo Bonzini  <bonzini@gnu.org>
+
+       Tests for module 'pipe-filter-ii'.
+       * modules/pipe-filter-ii-tests: New file.
+       * tests/test-pipe-filter-ii1.sh: New file.
+       * tests/test-pipe-filter-ii1.c: New file.
+       * tests/test-pipe-filter-ii2.sh: New file.
+       * tests/test-pipe-filter-ii2-main.c: New file.
+       * tests/test-pipe-filter-ii2-child.c: New file.
+
+       New module 'pipe-filter-ii'.
+       * lib/pipe-filter.h: New file.
+       * lib/pipe-filter-ii.c: New file.
+       * lib/pipe-filter-aux.h: New file.
+       * modules/pipe-filter-ii: New file.
+
+2009-08-02  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/gc-libgcrypt.c: Change copyright to FSF.
+       * lib/gc-gnulib.c: Likewise.
+
+2009-08-02  Martin Lambers  <marlam@marlam.de>  (tiny change)
+
+       * lib/gethostname.c: Include limits.h.
+
+2009-08-02  Simon Josefsson  <simon@josefsson.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       Ensure HOST_NAME_MAX as part of the gethostname module.
+       * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): On native Windows platforms,
+       define also HOST_NAME_MAX.
+       * tests/test-gethostname.c: Include <limits.h>.
+       (main): Check also HOST_NAME_MAX.
+       * doc/posix-headers/limits.texi: Document the mingw problem.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       * lib/gethostname.c (gethostname): Fix handling of large len argument.
+       Add comments.
+
+2009-03-31  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/gethostname.c: Add Windows wrapper.
+       * m4/gethostname.m4: Look for gethostname in -lws2_32.
+       * modules/gethostname: Depend on sys_socket & errno, for also
+       added lib/w32sock.h.  Add GETHOSTNAME_LIB link directive.
+       * modules/gethostname-tests: Link to @GETHOSTNAME_LIB@.
+
+2009-07-31  Jim Meyering  <meyering@redhat.com>
+
+       getloadavg: fix symbol name in comment
+       * lib/getloadavg.c: Correct a typo I introduced when adding
+       comments to Matt's change: s/NLIST_POINTER/N_NAME_POINTER/.
+       Matt Kraai spotted the problem.
+
+2009-07-29  Matt Kraai  <mkraai@beckman.com>
+
+       getloadavg: check whether n_name is a pointer, for QNX 6.4.1
+       * lib/getloadavg.c (getloadavg): Use the strcpy-into-nlist.n_name
+       code also if ! defined N_NAME_POINTER.
+       * m4/getloadavg.m4 (gl_GETLOADAVG): Add a link-test for N_NAME_POINTER.
+       This is required on QNX 6.4.1, where /usr/include/nlist.h exists,
+       but the n_name member is a 12-byte array.
+
+2009-07-29  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: generalize comment handling
+       * build-aux/update-copyright: Handle copyright statements
+       within more comment styles.
+       Document usage.
+       Report any file with an external copyright holder or parse failure.
+
+2009-07-29  Jim Meyering  <meyering@redhat.com>
+
+       mktime: correct setting of REPLACE_MKTIME
+       * m4/mktime.m4 (gl_FUNC_MKTIME): Set REPLACE_MKTIME=0, when required.
+
+       update-copyright: new module
+       * modules/update-copyright: New file.
+       * build-aux/update-copyright: New file.
+       * MODULES.html.sh (maint+release support): Add update-copyright.
+
+2009-07-27  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error when <ctime> is used and mktime is replaced.
+       * lib/time.in.h (mktime): New declaration.
+       * m4/mktime.m4 (gl_FUNC_MKTIME): Require gl_HEADER_TIME_H_DEFAULTS. Set
+       REPLACE_MKTIME instead of defining mktime in config.h.
+       * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize REPLACE_MKTIME.
+       * modules/time (Makefile.am): Substitute REPLACE_MKTIME.
+       Reported by Ross McFarland <rwmcfa1@neces.com>.
+
+2009-07-27  Bruno Haible  <bruno@clisp.org>
+
+       * lib/math.in.h (cosl, logl, sinl): Undefine before declaring it.
+       Reported by Matt Kraai <mkraai@beckman.com>.
+
+2009-07-25  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: avoid warnings about missing files
+       * top/maint.mk (PREV_VERSION): Suppress stderr, to hide a
+       diagnostic when .prev-version does not exist.
+       (_cfg_mk): Define, so it can be empty when cfg.mk does not exist.
+       (syntax-check-rules): Use $(_cfg_mk) to avoid a diagnostic about
+       nonexistent cfg.mk.
+       Suggestions from Simon Josefsson.
+
+2009-07-25  Bruno Haible  <bruno@clisp.org>
+
+       * lib/math.in.h (cosl, logl, sinl): Don't declare if they are already
+       defined as macros. Needed on QNX 6.4.1.
+       Reported by Matt Kraai <mkraai@beckman.com>.
+
+2009-07-23  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: invoke "make dist" with a working value of XZ_OPT
+       * top/maint.mk (vc-dist): Use no "-" in the value of XZ_OPT.
+
+2009-07-22  Matt Kraai  <mkraai@beckman.com>  (tiny change)
+
+       Make fseeko.c compile on QNX.
+       * lib/fseeko.c (rpl_fseeko): Use the numerical value of _MWRITE.
+
+2009-07-22  Peter Simons  <simons@cryp.to>
+
+       C++: wrap md2,md5,sha1,etc. function declarations in extern "C" scope
+       * lib/md2.h [__cplusplus]: Wrap declarations in extern "C" scope.
+       * lib/md4.h: Likewise.
+       * lib/md5.h: Likewise.
+       * lib/sha1.h: Likewise.
+       * lib/sha256.h: Likewise.
+       * lib/sha512.h: Likewise.
+
+       tests-sha1: don't assign literal string to 'char *' variable
+       * tests/test-sha1.c (main): Declare locals with "const" to match
+       attributes of the right hand side.
+
 2009-07-21  Eric Blake  <ebb9@byu.net>
 
        dup2: fix more mingw problems