X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=6c965e410805ea5f92ef1797ba2720b928aeeeae;hb=6c48d0159096088da3d62b4dce62838bc3f8607c;hp=92ea8cbc44812f1b7a78bf6f4eac11c3fbde86d2;hpb=9fda55928cc575ba9a3cbbc70c11153a9082e12d;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 92ea8cbc4..6c965e410 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,348 @@ +2007-11-03 Bruno Haible + + * lib/vasnprintf.c (VASNPRINTF): Don't assume that snprintf's return + value is C99 compliant. + Needed for OSF/1 5.1. + +2007-11-03 Bruno Haible + + Fix out-of-memory handling of vasnprintf. + * lib/printf-parse.c: Include . + (PRINTF_PARSE): When failing, set errno to EINVAL or ENOMEM. + * lib/vasnprintf.c (VASNPRINTF): When PRINTF_PARSE fails, assume errno + is already set. + +2007-11-02 Eric Blake + + Fix tests on cygwin. + * modules/xprintf-posix-tests (Makefile.am): Link against -lintl. + +2007-11-01 Bruno Haible + + * lib/stdlib.in.h (putenv): Remove the "not POSIX compliant everywhere" + warning. + * doc/functions/putenv.texi: Clarify that the 'putenv' module is not + needed for POSIX compatibility. + +2007-11-01 Paul Eggert + + * m4/putenv.m4 (gl_FUNC_PUTENV): Also mention that we're checking + for compatibility with GNU. + +2007-11-01 Bruno Haible + + * lib/putenv.c: Include . Remove rpl_putenv declaration. + (putenv): Renamed from rpl_putenv. Change argument type from + 'const char *' to 'char *'. + * m4/putenv.m4 (gl_FUNC_PUTENV): Require gl_STDLIB_H_DEFAULTS. Instead + of defining putenv in config.h, just set REPLACE_PUTENV. + * modules/putenv (Depends-on): Add stdlib. + (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR. + (Include): Use . + * lib/stdlib.in.h (putenv): New declaration. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_PUTENV and + REPLACE_PUTENV. + * modules/stdlib (Makefile.am): Substitute GNULIB_PUTENV and + REPLACE_PUTENV. + Needed for MacOS X 10.5.0. + Reported by Peter O'Gorman . + +2007-11-01 Jim Meyering + + Treat an empty date string exactly like "0". + * lib/getdate.y (get_date): Once any isspace or TZ= prefix is consumed, + if the remaining date string (to be parsed) is empty, use "0". + Reported by Mischa Molhoek and discussed in this thread: + . + +2007-10-31 Bruno Haible + + * m4/intmax_t.m4 (gl_AC_TYPE_INTMAX_T, gt_AC_TYPE_INTMAX_T): Use + AC_TYPE_LONG_LONG_INT instead of gl_AC_TYPE_LONG_LONG. + * m4/uintmax_t.m4 (gl_AC_TYPE_UINTMAX_T): Use + AC_TYPE_UNSIGNED_LONG_LONG_INT instead of gl_AC_TYPE_UNSIGNED_LONG_LONG. + * m4/longlong.m4 (gl_AC_TYPE_LONG_LONG): Remove macro. + * m4/ulonglong.m4 (gl_AC_TYPE_UNSIGNED_LONG_LONG): Remove macro. + +2007-10-31 Bruno Haible + + * m4/longlong.m4 (_AC_TYPE_LONG_LONG_SNIPPET): New macro, extracted + from AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT. + (AC_TYPE_LONG_LONG_INT): Use it. + (AC_TYPE_UNSIGNED_LONG_LONG_INT): Moved here from m4/ulonglong.m4. Use + it as well. + * m4/ulonglong.m4 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Remove macro; moved + to m4/longlong.m4. + * modules/stdint (Files): Remove m4/ulonglong.m4. + * modules/strtoull (Files): Use m4/longlong.m4 instead of + m4/ulonglong.m4. + * modules/strtoumax (Files): Likewise. + +2007-10-30 Bruno Haible + + * modules/xvasprintf-posix: New file. + Suggested by Eric Blake. + +2007-10-30 Bruno Haible + + * modules/xprintf-posix-tests: New file. + * tests/test-xprintf-posix.sh: New file. + * tests/test-xprintf-posix.c: New file. + * tests/test-xfprintf-posix.c: New file. + + * modules/xprintf-posix: New file. + +2007-10-30 Ralf Wildenhues + + * modules/fbufmode-tests (MOSTLYCLEANFILES): Remove temp files. + * modules/freadable-tests (MOSTLYCLEANFILES): Likewise. + * modules/fwritable-tests (MOSTLYCLEANFILES): Likewise. + +2007-10-29 Bruno Haible + + * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): Rename the cache variable to + contain the special marker '_cv_'. + * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): Likewise. + * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): Likewise. + * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): Likewise. + * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): Likewise. + * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): Likewise. + Reported by Ralf Wildenhues. + +2007-10-29 Bruno Haible + + * gnulib-tool (func_import): When --lgpl is not specified, set + sed_transform_lib_file to convert LGPL and GPLv2+ copyright headers to + GPLv3. + Reported by Simon Josefsson. + +2007-10-28 Bruno Haible + + * lib/math.in.h: Test REPLACE_ISFINITE instead of HAVE_DECL_ISFINITE. + * m4/isfinite.m4 (gl_ISFINITE): Initialize REPLACE_ISFINITE instead of + HAVE_DECL_ISFINITE. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update. + * modules/math (Makefile.am): Substitute REPLACE_ISFINITE instead of + HAVE_DECL_ISFINITE. + +2007-10-28 Bruno Haible + + * lib/stdint.in.h (_STDINT_MAX): Subtract 1 from an unused signed + integer shift in the signed case. Fixes warnings with OSF/1 5.1 cc. + +2007-10-28 Bruno Haible + + Fix link errors with Sun C 5.0 on Solaris 10. + * m4/floorf.m4 (gl_FUNC_FLOORF): Consider also the case that the + function is declared but not present in the compiler's libm. + * m4/floorl.m4 (gl_FUNC_FLOORL): Likewise. + * m4/ceilf.m4 (gl_FUNC_CEILF): Likewise. + * m4/ceill.m4 (gl_FUNC_CEILL: Likewise. + * lib/math.in.h: Test REPLACE_CEILF instead of HAVE_DECL_CEILF. + Test REPLACE_CEILL instead of HAVE_DECL_CEILL. + Test REPLACE_FLOORF instead of HAVE_DECL_FLOORF. + Test REPLACE_FLOORL instead of HAVE_DECL_FLOORL. + * m4/math_h.m4 (gl_MATH_H_DEFAULTS): Update. + * modules/math (Makefile.am): Substitute REPLACE_CEILF instead of + HAVE_DECL_CEILF, REPLACE_CEILL instead of HAVE_DECL_CEILL, + REPLACE_FLOORF instead of HAVE_DECL_FLOORF, REPLACE_FLOORL instead of + HAVE_DECL_FLOORL. + +2007-10-28 Bruno Haible + + * m4/floorl.m4 (gl_FUNC_FLOORL_LIBS): New macro, extracted from + gl_FUNC_FLOORL. Cache the result. + (gl_FUNC_FLOORL): Use it. + * m4/ceill.m4 (gl_FUNC_CEILL_LIBS): New macro, extracted from + gl_FUNC_CEILL. Cache the result. + (gl_FUNC_CEILL): Use it. + + * m4/floor.m4 (gl_FUNC_FLOOR_LIBS): New macro, extracted from + gl_FUNC_FLOOR. Cache the result. + (gl_FUNC_FLOOR): Use it. + * m4/ceil.m4 (gl_FUNC_CEIL_LIBS): New macro, extracted from + gl_FUNC_CEIL. Cache the result. + (gl_FUNC_CEIL): Use it. + + * m4/floorf.m4 (gl_FUNC_FLOORF_LIBS): New macro, extracted from + gl_FUNC_FLOORF. Cache the result. + (gl_FUNC_FLOORF): Use it. + * m4/ceilf.m4 (gl_FUNC_CEILF_LIBS): New macro, extracted from + gl_FUNC_CEILF. Cache the result. + (gl_FUNC_CEILF): Use it. + +2007-10-28 Bruno Haible + + * gnulib-tool: Allow specifying the LGPL version number through + --lgpl=2 or --lgpl=3. + (func_usage): Document --lgpl with argument. + Handle --lgpl=... arguments. + (func_import): Recognize also gl_LGPL calls with an argument. When + --lgpl=2 is used and the module's license is just LGPL, report an + error. Set sed_transform_lib_file according to the lgpl variable. In + the generated files, use --lgpl or gl_LGPL invocations with argument, + if necessary. + * doc/gnulib-intro.texi (Copyright): Explain how to get modules under + an LGPv2+ license. + * doc/gnulib-tool.texi (Modified imports): Update explanation of + gl_LGPL macro. + +2007-10-28 Ralf Wildenhues + Bruno Haible + + * lib/unistr.h (u8_uctomb_aux): Declare also if !HAVE_INLINE. + (u16_uctomb_aux): Likewise. + * lib/unistr/u8-uctomb-aux.c (u8_uctomb_aux): Define also if + !HAVE_INLINE. + * lib/unistr/u16-uctomb-aux.c (u16_uctomb_aux): Likewise + +2007-10-28 Bruno Haible + + * modules/error: Add a notice recommending to change XGETTEXT_OPTIONS. + Invoke AM_GETTEXT_OPTION if it exists. + * modules/vasprintf: Likewise. + * modules/verror: Likewise. + * modules/xprintf: Likewise. + * modules/xvasprintf: Likewise. + +2007-10-27 Ben Pfaff + + * lib/math.in.h: Define isfinite macro and prototypes for + gl_isfinitef, gl_isfinited, gl_isfinitel if we are providing + implementations. + * m4/math_h.m4: New substitutions for isfinite module. + * lib/isfinite.c: New file. + * m4/isfinite.m4: New file. + * modules/math: Replace isfinite-related @VARS@ in math.in.h. + * modules/isfinite: New file. + * modules/isfinite-tests: New file. + * tests/tests-isfinite.c: New file. + * doc/functions/isfinite.texi: Mention isfinite module. + * MODULES.html.sh: Mention new module. + +2007-10-27 Ben Pfaff + + Ralf Wildenhues reported that Tru64 4.0D declares the round + functions but does not have definitions. + * m4/check-math-lib.m4 (gl_CHECK_MATH_LIB): If the target function + cannot be found in any library, set the output variable to + "missing" instead of "". + * m4/round.m4: Also use our substitute if we cannot find round in + any library, even if it is declared. + * m4/roundf.m4: Likewise for roundf. + * m4/roundl.m4: Likewise for roundl. + * lib/math.in.h: Undefine roundf, round, roundl before defining + their replacements, to allow for hypothetical systems where these + may be defined as macros but not available in libraries. + +2007-10-27 Bruno Haible + + * doc/gnulib.texi: Invoke @firstparagraphindent. + * doc/gnulib-tool.texi (Simple update): Mention possible incompatible + changes in gnulib. + (Source changes): New section. + +2007-10-26 Bruno Haible + + * m4/gnulib-common.m4 (AC_C_RESTRICT): New overriding definition, + borrowed from autoconf. + +2007-10-26 Bruno Haible + + * lib/strerror.c (rpl_strerror): Return "Unknown error ..." also if + strerror returned the empty string. Needed on HP-UX 11.00. + +2007-10-24 Micah Cowan + + Remove vestiges of cvs-gnulib-checkout process. Now we use git. + * build-aux/bootstrap: Remove support for now-unnecessary option, + --cvs-user, and envvars CVS_USER, CVS_RSH. + +2007-10-24 Jim Meyering + + Avoid diagnostics from sha1sum when there is no cached checksum. + * build-aux/bootstrap (update_po_files): Skip the sha1sum check + if the po.s1 file hasn't been created yet. + + * build-aux/bootstrap: Sync from coreutils: + 2007-10-24 Jim Meyering + Get gnulib from the git repository, not from an obsolete cvs one. + * build-aux/bootstrap: Suggestion from Micah Cowan. + 2007-10-04 Jim Meyering + * build-aux/bootstrap (slurp): Adapt to _.h -> .in.h name change. + (update_po_files): Work also when there are no .po files in po/. + +2007-10-24 Paul Eggert + + * README: Append ".git" to git and cg examples. + Problem reported by Benoit Sigoure. + +2007-10-23 Micah Cowan + + * users.txt: Add wget. + +2007-10-23 Ralf Wildenhues + + Fix linking of some unistdio tests on FreeBSD. + * modules/unistdio/u16-vsnprintf-tests + (test_u16_vsprintf1_LDADD): Add @LIBINTL@. + * modules/unistdio/u16-vsprintf-tests + (test_u16_vsnprintf1_LDADD): Likewise. + * modules/unistdio/u32-vsnprintf-tests + (test_u32_vsnprintf1_LDADD): Likewise. + * modules/unistdio/u32-vsprintf-tests + (test_u32_vsprintf1_LDADD): Likewise. + * modules/unistdio/u8-vsnprintf-tests + (test_u8_vsnprintf1_LDADD): Likewise. + * modules/unistdio/u8-vsprintf-tests + (test_u8_vsprintf1_LDADD): Likewise. + * modules/unistdio/ulc-vsnprintf-tests + (test_ulc_vsnprintf1_LDADD): Likewise. + * modules/unistdio/ulc-vsprintf-tests + (test_ulc_vsprintf1_LDADD): Likewise. + + Fix linking of some uniconv tests on FreeBSD. + * modules/uniconv/u16-conv-from-enc-tests + (test_u16_conv_from_enc_LDADD): Link $(LDADD) before @LIBICONV@. + * modules/uniconv/u16-conv-to-enc-tests + (test_u16_conv_to_enc_LDADD): Likewise. + * modules/uniconv/u16-strconv-from-enc-tests + (test_u16_strconv_from_enc_LDADD): Likewise. + * modules/uniconv/u16-strconv-to-enc-tests + (test_u16_strconv_to_enc_LDADD): Likewise. + * modules/uniconv/u32-conv-from-enc-tests + (test_u32_conv_from_enc_LDADD): Likewise. + * modules/uniconv/u32-conv-to-enc-tests + (test_u32_conv_to_enc_LDADD): Likewise. + * modules/uniconv/u32-strconv-from-enc-tests + (test_u32_strconv_from_enc_LDADD): Likewise. + * modules/uniconv/u32-strconv-to-enc-tests + (test_u32_strconv_to_enc_LDADD): Likewise. + * modules/uniconv/u8-conv-from-enc-tests + (test_u8_conv_from_enc_LDADD): Likewise. + * modules/uniconv/u8-conv-to-enc-tests + (test_u8_conv_to_enc_LDADD): Likewise. + * modules/uniconv/u8-strconv-from-enc-tests + (test_u8_strconv_from_enc_LDADD): Likewise. + * modules/uniconv/u8-strconv-to-enc-tests + (test_u8_strconv_to_enc_LDADD): Likewise. + +2007-10-22 Bruno Haible + + * lib/stdint.in.h: Add check that intmax_t and uintmax_t have the same + size. + +2007-10-22 Eric Blake + + Tweak x*printf documentation. + * lib/xprintf.c (xprintf, xvprintf, xfprintf, xvfprintf): Adjust + variable name and comments. + Suggested by Bruno Haible. + +2007-10-22 Bruno Haible + + * lib/acl.c (copy_acl): Fix file name in comment. + 2007-10-22 Paul Eggert Fix Tru64 problem with stdbool.h.