userspec-tests: test the userspec module
[gnulib.git] / ChangeLog
index 7171d59..0ced685 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,319 @@
+2010-01-22  Jim Meyering  <meyering@redhat.com>
+
+       userspec: add unit tests
+       * tests/test-userspec.c: New file.
+       * modules/userspec-tests: Likewise.
+
+2010-01-21  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: handle source file names containing "." robustly
+       * top/maint.mk (_dot_escaped_srcdir): Define.
+       (VC_LIST): Use it in LHS of sed substitution.
+
+2010-01-21  Jiri Denemark  <jdenemar@redhat.com>
+
+       maint.mk: fix VC_LIST_EXCEPT for srcdir != builddir
+       * top/maint.mk (VC_LIST_EXCEPT): Preprocess the output of
+       $(VC_LIST) to remove a prefix of '$(srcdir)/', so that it works
+       from a non-srcdir build.
+
+2010-01-20  Eric Blake  <ebb9@byu.net>
+
+       warn-on-use: use instead of link-warning
+       * modules/stdio (Depends-on, Makefile.am): Drop link-warning.
+       * modules/unistd (Depends-on, Makefile.am): Likewise.
+       * modules/arpa_inet (Depends-on): Replace link-warning with
+       warn-on-use.
+       (Makefile.am): Update rules accordingly.
+       * modules/ctype (Depends-on, Makefile.am): Likewise.
+       * modules/dirent (Depends-on, Makefile.am): Likewise.
+       * modules/fcntl-h (Depends-on, Makefile.am): Likewise.
+       * modules/inttypes (Depends-on, Makefile.am): Likewise.
+       * modules/langinfo (Depends-on, Makefile.am): Likewise.
+       * modules/locale (Depends-on, Makefile.am): Likewise.
+       * modules/math (Depends-on, Makefile.am): Likewise.
+       * modules/search (Depends-on, Makefile.am): Likewise.
+       * modules/signal (Depends-on, Makefile.am): Likewise.
+       * modules/spawn (Depends-on, Makefile.am): Likewise.
+       * modules/stdlib (Depends-on, Makefile.am): Likewise.
+       * modules/string (Depends-on, Makefile.am): Likewise.
+       * modules/strings (Depends-on, Makefile.am): Likewise.
+       * modules/sys_file (Depends-on, Makefile.am): Likewise.
+       * modules/sys_ioctl (Depends-on, Makefile.am): Likewise.
+       * modules/sys_select (Depends-on, Makefile.am): Likewise.
+       * modules/sys_socket (Depends-on, Makefile.am): Likewise.
+       * modules/sys_stat (Depends-on, Makefile.am): Likewise.
+       * modules/sys_times (Depends-on, Makefile.am): Likewise.
+       * modules/sys_utsname (Depends-on, Makefile.am): Likewise.
+       * modules/wchar (Depends-on, Makefile.am): Likewise.
+       * m4/arpa_inet_h.m4 (gl_HEADER_ARPA_INET): Check which functions
+       should be poisoned.
+       * m4/ctype.m4 (gl_CTYPE_H): Likewise.
+       * m4/dirent_h.m4 (gl_DIRENT_H): Likewise.
+       * m4/fcntl_h.m4 (gl_FCNTL_H): Likewise.
+       * m4/inttypes.m4 (gl_INTTYPES_H): Likewise.
+       * m4/langinfo_h.m4 (gl_LANGINFO_H): Likewise.
+       * m4/locale_h.m4 (gl_LOCALE_H): Likewise.
+       * m4/math_h.m4 (gl_MATH_H): Likewise.
+       * m4/search_h.m4 (gl_SEARCH_H): Likewise.
+       * m4/signal_h.m4 (gl_SIGNAL_H): Likewise.
+       * m4/spawn_h.m4 (gl_SPAWN_H): Likewise.
+       * m4/stdio_h.m4 (gl_STDIO_H): Likewise.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Likewise.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_BODY): Likewise.
+       * m4/strings_h.m4 (gl_HEADER_STRINGS_H_BODY): Likewise.
+       * m4/sys_file_h.m4 (gl_HEADER_SYS_FILE_H_DEFAULTS): Likewise.
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H): Likewise.
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Likewise.
+       * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise.
+       * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Likewise.
+       * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise.
+       * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H): Likewise.
+       * m4/unistd_h.m4 (gl_UNISTD_H): Likewise.
+       * m4/wchar.m4 (gl_WCHAR_H): Likewise.
+       * lib/arpa_inet.in.h: Use _GL_WARN_ON_USE instead of
+       GL_LINK_WARNING.
+       * lib/ctype.in.h: Likewise.
+       * lib/dirent.in.h: Likewise.
+       * lib/fcntl.in.h: Likewise.
+       * lib/inttypes.in.h: Likewise.
+       * lib/langinfo.in.h: Likewise.
+       * lib/locale.in.h: Likewise.
+       * lib/math.in.h: Likewise.
+       * lib/search.in.h: Likewise.
+       * lib/signal.in.h: Likewise.
+       * lib/spawn.in.h: Likewise.
+       * lib/stdio.in.h: Likewise.
+       * lib/stdlib.in.h: Likewise.
+       * lib/string.in.h: Likewise.
+       * lib/strings.in.h: Likewise.
+       * lib/sys_file.in.h: Likewise.
+       * lib/sys_ioctl.in.h: Likewise.
+       * lib/sys_select.in.h: Likewise.
+       * lib/sys_socket.in.h: Likewise.
+       * lib/sys_stat.in.h: Likewise.
+       * lib/sys_times.in.h: Likewise.
+       * lib/sys_utsname.in.h: Likewise.
+       * lib/unistd.in.h: Likewise.
+       * lib/wchar.in.h: Likewise.
+
+2010-01-20  Bruno Haible  <bruno@clisp.org>
+
+       Avoid duplicate -lm.
+       * m4/isnan.m4 (gl_ISNAN): Avoid duplicate -lm in $ISNAN_LIBM.
+       * m4/round.m4 (gl_FUNC_ROUND): Avoid duplicate -lm in $ROUND_LIBM.
+       * m4/roundf.m4 (gl_FUNC_ROUNDF): Avoid duplicate -lm in $ROUNDF_LIBM.
+       * m4/roundl.m4 (gl_FUNC_ROUNDL): Avoid duplicate -lm in $ROUNDL_LIBM.
+       * m4/acosl.m4 (gl_FUNC_ACOSL): Avoid duplicate -lm in $ACOSL_LIBM.
+       * m4/cosl.m4 (gl_FUNC_COSL): Avoid duplicate -lm in $COSL_LIBM.
+       * m4/logl.m4 (gl_FUNC_LOGL): Avoid duplicate -lm in $LOGL_LIBM.
+       * m4/sinl.m4 (gl_FUNC_SINL): Avoid duplicate -lm in $SINL_LIBM.
+       * m4/sqrtl.m4 (gl_FUNC_SQRTL): Avoid duplicate -lm in $SQRTL_LIBM.
+       * m4/tanl.m4 (gl_FUNC_TANL): Avoid duplicate -lm in $TANL_LIBM.
+       * m4/asinl.m4 (gl_FUNC_ASINL): Same change, for consistency.
+       * m4/atanl.m4 (gl_FUNC_ATANL): Likewise.
+       Reported by Paolo Bonzini.
+
+2010-01-19  Bruno Haible  <bruno@clisp.org>
+
+       langinfo, nl_langinfo: Relicense under LGPLv2+.
+       * modules/langinfo (License): Change to LGPLv2+.
+       * modules/nl_langinfo (License): Likewise.
+       Patch by David Lutterkort <lutter@redhat.com>.
+
+2010-01-19  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compilation error with cc on OSF/1 5.1.
+       * lib/fcntl.in.h: Include <unistd.h> after the #include_next <fcntl.h>
+       statement, not before.
+       Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2010-01-18  Bruno Haible  <bruno@clisp.org>
+
+       Avoid a link error due to the __printf__ symbol.
+       * lib/stdio.in.h (__attribute__): Define to empty also for gcc 2.5.x
+       and 2.6.x.
+       (__format__, __printf__): Remove definitions.
+       * lib/argp-fmtstream.h: Likewise.
+       * lib/argp.h: Likewise.
+       * lib/error.h: Likewise.
+       * lib/vasnprintf.h: Likewise.
+       * lib/xprintf.h: Likewise.
+       * lib/xvasprintf.h: Likewise.
+       Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2010-01-18  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'tanl'.
+       * modules/tanl-tests: New file.
+       * tests/test-tanl.c: New file.
+
+       Tests for module 'sqrtl'.
+       * modules/sqrtl-tests: New file.
+       * tests/test-sqrtl.c: New file.
+
+       Tests for module 'sinl'.
+       * modules/sinl-tests: New file.
+       * tests/test-sinl.c: New file.
+
+       Tests for module 'logl'.
+       * modules/logl-tests: New file.
+       * tests/test-logl.c: New file.
+
+       Tests for module 'expl'.
+       * modules/expl-tests: New file.
+       * tests/test-expl.c: New file.
+
+       Tests for module 'cosl'.
+       * modules/cosl-tests: New file.
+       * tests/test-cosl.c: New file.
+
+       Tests for module 'atanl'.
+       * modules/atanl-tests: New file.
+       * tests/test-atanl.c: New file.
+
+       Tests for module 'asinl'.
+       * modules/asinl-tests: New file.
+       * tests/test-asinl.c: New file.
+
+       Tests for module 'acosl'.
+       * modules/acosl-tests: New file.
+       * tests/test-acosl.c: New file.
+
+       New modules acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
+       * lib/math.in.h (acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl,
+       tanl): Use the standard gnulib idiom.
+       * lib/cosl.c: Don't include trigl.c and sincosl.c.
+       * lib/sinl.c: Likewise.
+       * lib/tanl.c: Don't include trigl.c.
+       (kernel_tanl): Make static.
+       * lib/sincosl.c: Include trigl.h first.
+       * lib/trigl.c: Likewise.
+       * m4/acosl.m4: New file.
+       * m4/asinl.m4: New file.
+       * m4/atanl.m4: New file.
+       * m4/cosl.m4: New file.
+       * m4/expl.m4: New file.
+       * m4/logl.m4: New file.
+       * m4/sinl.m4: New file.
+       * m4/sqrtl.m4: New file.
+       * m4/tanl.m4: New file.
+       * m4/mathl.m4: Remove file.
+       * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Initialize GNULIB_* and HAVE_*
+       variables for acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl.
+       Don't initialize GNULIB_MATHL.
+       * modules/acosl: New file.
+       * modules/asinl: New file.
+       * modules/atanl: New file.
+       * modules/cosl: New file.
+       * modules/expl: New file.
+       * modules/logl: New file.
+       * modules/sinl: New file.
+       * modules/sqrtl: New file.
+       * modules/tanl: New file.
+       * modules/math (Makefile.am): Substitute GNULIB_* and HAVE_* variables
+       for acosl, asinl, atanl, cosl, expl, logl, sinl, sqrtl, tanl. Don't
+       substitute GNULIB_MATHL.
+       * modules/mathl: Rewritten.
+       * doc/posix-functions/acosl.texi: Mention the 'acosl' module.
+       * doc/posix-functions/asinl.texi: Mention the 'asinl' module.
+       * doc/posix-functions/atanl.texi: Mention the 'atanl' module.
+       * doc/posix-functions/cosl.texi: Mention the 'cosl' module.
+       * doc/posix-functions/expl.texi: Mention the 'expl' module.
+       * doc/posix-functions/logl.texi: Mention the 'logl' module.
+       * doc/posix-functions/sinl.texi: Mention the 'sinl' module.
+       * doc/posix-functions/sqrtl.texi: Mention the 'sqrtl' module.
+       * doc/posix-functions/tanl.texi: Mention the 'tanl' module.
+
+2010-01-18  Bruno Haible  <bruno@clisp.org>
+
+       sqrt: Make gl_FUNC_SQRT requirable.
+       * m4/sqrt.m4: New file.
+       * modules/sqrt (Files): Add it.
+       (configure.ac): Invoke gl_FUNC_SQRT.
+
+2010-01-18  Bruno Haible  <bruno@clisp.org>
+
+       New modules for common <math.h> functions.
+       * m4/mathfunc.m4: New file.
+       * modules/acos: New file.
+       * modules/asin: New file.
+       * modules/atan: New file.
+       * modules/atan2: New file.
+       * modules/cbrt: New file.
+       * modules/copysign: New file.
+       * modules/cos: New file.
+       * modules/cosh: New file.
+       * modules/erf: New file.
+       * modules/erfc: New file.
+       * modules/exp: New file.
+       * modules/fabs: New file.
+       * modules/fmod: New file.
+       * modules/hypot: New file.
+       * modules/j0: New file.
+       * modules/j1: New file.
+       * modules/jn: New file.
+       * modules/ldexp: New file.
+       * modules/lgamma: New file.
+       * modules/log: New file.
+       * modules/log10: New file.
+       * modules/log1p: New file.
+       * modules/logb: New file.
+       * modules/modf: New file.
+       * modules/nextafter: New file.
+       * modules/pow: New file.
+       * modules/remainder: New file.
+       * modules/rint: New file.
+       * modules/sin: New file.
+       * modules/sinh: New file.
+       * modules/sqrt: New file.
+       * modules/tan: New file.
+       * modules/tanh: New file.
+       * modules/y0: New file.
+       * modules/y1: New file.
+       * modules/yn: New file.
+       * doc/posix-functions/acos.texi: Mention the 'acos' module.
+       * doc/posix-functions/asin.texi: Mention the 'asin' module.
+       * doc/posix-functions/atan.texi: Mention the 'atan' module.
+       * doc/posix-functions/atan2.texi: Mention the 'atan2' module.
+       * doc/posix-functions/cbrt.texi: Mention the 'cbrt' module.
+       * doc/posix-functions/copysign.texi: Mention the 'copysign' module.
+       * doc/posix-functions/cos.texi: Mention the 'cos' module.
+       * doc/posix-functions/cosh.texi: Mention the 'cosh' module.
+       * doc/posix-functions/erf.texi: Mention the 'erf' module.
+       * doc/posix-functions/erfc.texi: Mention the 'erfc' module.
+       * doc/posix-functions/exp.texi: Mention the 'exp' module.
+       * doc/posix-functions/fabs.texi: Mention the 'fabs' module.
+       * doc/posix-functions/fmod.texi: Mention the 'fmod' module.
+       * doc/posix-functions/hypot.texi: Mention the 'hypot' module.
+       * doc/posix-functions/j0.texi: Mention the 'j0' module.
+       * doc/posix-functions/j1.texi: Mention the 'j1' module.
+       * doc/posix-functions/jn.texi: Mention the 'jn' module.
+       * doc/posix-functions/ldexp.texi: Mention the 'ldexp' module.
+       * doc/posix-functions/lgamma.texi: Mention the 'lgamma' module.
+       * doc/posix-functions/log.texi: Mention the 'log' module.
+       * doc/posix-functions/log10.texi: Mention the 'log10' module.
+       * doc/posix-functions/log1p.texi: Mention the 'log1p' module.
+       * doc/posix-functions/logb.texi: Mention the 'logb' module.
+       * doc/posix-functions/modf.texi: Mention the 'modf' module.
+       * doc/posix-functions/nextafter.texi: Mention the 'nextafter' module.
+       * doc/posix-functions/pow.texi: Mention the 'pow' module.
+       * doc/posix-functions/remainder.texi: Mention the 'remainder' module.
+       * doc/posix-functions/rint.texi: Mention the 'rint' module.
+       * doc/posix-functions/sin.texi: Mention the 'sin' module.
+       * doc/posix-functions/sinh.texi: Mention the 'sinh' module.
+       * doc/posix-functions/sqrt.texi: Mention the 'sqrt' module.
+       * doc/posix-functions/tan.texi: Mention the 'tan' module.
+       * doc/posix-functions/tanh.texi: Mention the 'tanh' module.
+       * doc/posix-functions/y0.texi: Mention the 'y0' module.
+       * doc/posix-functions/y1.texi: Mention the 'y1' module.
+       * doc/posix-functions/yn.texi: Mention the 'yn' module.
+
 2010-01-18  Jim Meyering  <meyering@redhat.com>
 
+       ignore-value: relax license to LGPLv2+
+       * modules/ignore-value (License): Relax to LGPLv2+.
+
        getdate: don't leak when TZ contains two or more '"'s
        * lib/getdate.y (get_date): Don't leak a copy of TZ for each
        double quote in TZ after the first one.