Fix regex compilation error on HP-UX 11.
[gnulib.git] / ChangeLog
index f05aa8e..80e9007 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,352 @@
+2008-03-23  Bruno Haible  <bruno@clisp.org>
+
+       Fix regex compilation error on HP-UX 11.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Require AC_TYPE_MBSTATE_T.
+       * modules/regex (Files): Add m4/mbstate_t.m4.
+       Reported by Ton Voon <ton.voon@altinity.com>.
+
+2008-03-23  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (gettextize and autopoint): New section.
+
+2008-03-23  Eric Blake  <ebb9@byu.net>
+            Bruno Haible  <bruno@clisp.org>
+
+       Install files from top/ in the destination directory.
+       * gnulib-tool (func_get_automake_snippet): Synthesize an EXTRA_DIST
+       augmentation also for the files from top/.
+       (func_import, func_create_testdir): Rewrite file names:
+       top/filename -> filename.
+
+2008-03-23  Bruno Haible  <bruno@clisp.org>
+
+       Tweak "gnulib --version" output.
+       * gnulib-tool (func_version): Replace "-dirty" suffix with "-modified".
+
+2008-03-23  Bruno Haible  <bruno@clisp.org>
+
+       Tweak "gnulib --version" output.
+       * gnulib-tool (func_version): Use date of last commit to ChangeLog,
+       rather than contents of ChangeLog, when possible.
+
+2008-03-21  Eric Blake  <ebb9@byu.net>
+
+       More --version tweaks.
+       * gnulib-tool (func_version): Obey GNU Coding Standards.  Output
+       date of last ChangeLog entry.
+
+2008-03-21  Jim Meyering  <meyering@redhat.com>
+
+       * build-aux/GNUmakefile (_have-git-version-gen): Split long line.
+
+2008-03-20  Eric Blake  <ebb9@byu.net>
+
+       VPATH fix.
+       * build-aux/GNUmakefile (_have_git-version-gen): Look in correct dir.
+
+2008-03-20  Simon Josefsson  <simon@josefsson.org>
+
+       * build-aux/GNUmakefile: Make git-version-gen optional.  Add
+       _build-aux variable.  Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-20  Eric Blake  <ebb9@byu.net>
+
+       Sync GNUmakefile with coreutils.
+       * build-aux/GNUmakefile (have-Makefile): Rename...
+       (_have-Makefile): ...to this, for namespace consideration.
+       (GNUmakefile.cfg): Include, if present.
+       (_autoreconf): Define a default.
+       (_is-dist-target): New rule for rebuilds to pick up intra-release
+       version.
+       (maint-cfg.mk): Rename...
+       (cfg.mk): ...to this.
+
+2008-03-18  Jim Meyering  <meyering@redhat.com>
+
+       New script and module: mktempd
+       * MODULES.html.sh (maint+release support): Add mktempd.
+       * build-aux/mktempd: New file.
+       * modules/mktempd: New file.
+
+2008-03-15  Jim Meyering  <meyering@redhat.com>
+
+       Undo last change.
+       * lib/sha1.c, lib/md5.c: 63 != ~63.
+       Reported by Andreas Schwab.
+
+       sha1.c, md5.c: Hoist a redundant expression.
+       * lib/sha1.c (sha1_process_bytes): AND-off the low bits in
+       "ctx->buflen" only once, before calling *_process_block.
+       * lib/md5.c (md5_process_bytes): Likewise.
+
+2008-03-14  Eric Blake  <ebb9@byu.net>
+
+       Bump copyright year in files generated by gnulib-tool.
+       * gnulib-tool (func_emit_copyright_notice): Extract copyright from
+       gnulib-tool, rather than hard-coding it.
+
+       Fix 'gnulib-tool --version' output to work with git.
+       * gnulib-tool (func_gnulib_dir): New function, extracted from...
+       (startup): ...here.
+       (func_version): Use it to invoke git-version-gen, rather than
+       relying on CVS keyword expansion.  Modernize wording.
+       (cvsdatestamp, last_checkin_date, version): Kill unused
+       variables.
+
+2008-03-12  Jim Meyering  <meyering@redhat.com>
+
+       Recognize optional cast of the argument to free.
+       * build-aux/useless-if-before-free: Update regexps.
+
+       * build-aux/bootstrap (gnulib_tool): Remove trailing blanks.
+
+2008-03-11  Bruno Haible  <bruno@clisp.org>
+
+       Extend AC_LIB_LINKFLAGS to the situation of several libraries provided
+       by a single package.
+       * m4/lib-link.m4 (AC_LIB_FROMPACKAGE): New macro.
+       (AC_LIB_LINKFLAGS_BODY): Use the information stored by
+       AC_LIB_FROMPACKAGE. Use AC_ARG_WITH instead of AC_LIB_ARG_WITH.
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2008-03-12  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * build-aux/bootstrap (version_controlled_file): Adapt for SVN
+       repositories.
+
+2008-03-11  Bruno Haible  <bruno@clisp.org>
+
+       Avoid conflicts between local macro definitions.
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS,
+       AC_LIB_LINKFLAGS_BODY): Use pushdef/popdef instead of define/undefine.
+
+2008-03-10  Peter O'Gorman  <bug-gnulib@mlists.thewrittenword.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       Make va_copy work with some version of xlc on AIX 5.1.
+       * lib/stdarg.in.h: New file.
+       * m4/stdarg.m4 (gl_STDARG_H): Initialize STDARG_H and NEXT_STDARG_H.
+       On AIX, use a <stdarg.h> file substitute.
+       * modules/stdarg (Files): Add lib/stdarg.in.h.
+       (Depends-on): Add include_next.
+       (Makefile.am): Build a stdarg.h substitute if requested.
+       * doc/posix-functions/va_copy.texi: Document the platforms lacking it.
+
+2008-03-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Document a restriction.
+       * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise.
+       Reported by Peter O'Gorman <bug-gnulib@mlists.thewrittenword.com>.
+
+2008-03-10  Bruno Haible  <bruno@clisp.org>
+
+       * modules/stdlib (Depends-on): Add include_next, remove
+       absolute-header.
+
+2008-03-09  Bruno Haible  <bruno@clisp.org>
+
+       * lib/freadahead.h (freadahead): Document more precisely.
+       * lib/freadahead.c (freadahead): When an ungetc is in effect, return
+       the sum of both buffer sizes.
+       * tests/test-freadahead.c (main): Also test behaviour after ungetc.
+       * NEWS: Document the change.
+
+2008-03-09  Bruno Haible  <bruno@clisp.org>
+
+       Extend freadptr to return also the buffer size.
+       * lib/freadptr.h (freadptr): Add sizep argument.
+       * lib/freadptr.c: Include freadptr.h, not freadahead.h.
+       (freadptr): Add sizep argument. Determine buffer size like freadahead
+       does.
+       * tests/test-freadptr.c: Don't include freadahead.h.
+       (main): Adapt for new calling convention of freadptr.
+       * tests/test-freadptr2.c: New file, based on tests/test-freadahead.c.
+       * tests/test-freadptr2.sh: New file, based on tests/test-freadahead.sh.
+       * modules/freadptr-tests (Files): Add tests/test-freadptr2.c,
+       tests/test-freadptr2.sh.
+       (Depends): Remove freadahead.
+       (TESTS): Add test-freadptr2.sh.
+       (check_PROGRAMS): Add test-freadptr2.
+
+2008-03-09  Bruno Haible  <bruno@clisp.org>
+
+       * doc/Makefile (%.pdf): Explain how to remedy the save_size error.
+       Report and solution by Simon Josefsson.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       Make fflush after ungetc work on BSD platforms.
+       * lib/fflush.c (rpl_fflush): Discard ungetc buffer if possible.
+       * tests/test-fflush2.c: New file.
+       * tests/test-fflush2.sh: New file.
+       * modules/fflush-tests (Files): Add tests/test-fflush2.sh,
+       tests/test-fflush2.c.
+       (Makefile.am): Build test-fflush2 and run test-fflush2.sh.
+       * doc/posix-functions/fflush.texi: Document fflush after ungetc bug.
+
+2008-03-06  Eric Blake  <ebb9@byu.net>
+
+       Likewise for ftello.
+       * modules/ftello (Dependencies): Add extensions.
+       * m4/ftello.m4 (gl_FUNC_FTELLO): Require AC_USE_SYSTEM_EXTENSIONS.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fseeko (Dependencies): Add extensions.
+       * m4/fseeko.m4 (gl_FUNC_FSEEKO): Require AC_USE_SYSTEM_EXTENSIONS.
+       Needed on glibc systems.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (@nosuchmodulenote): Avoid line break inside
+       email address.
+       Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * users.txt: Add libgnupdf.
+
+2008-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>  (tiny change)
+
+       * doc/gnulib-tool.texi (@nosuchmodulenote): New macro.
+       (Header File Substitutes, Function Substitutes,
+       Glibc Header File Substitutes, Glibc Function Substitutes): Use it.
+       (Build robot for gnulib): Fix typo.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-tool.texi (VCS Issues): Small updates.
+       Reported by Thien-Thi Nguyen <ttn@gnuvola.org>.
+
+2008-03-06  Bruno Haible  <bruno@clisp.org>
+
+       * doc/func.texi: New file, extracted from doc/gnulib.texi.
+       * doc/gnulib.texi: Include it.
+
+2008-03-06  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/func (License): Change license to unlimited; there was
+       no LGPL parts in the module anyway.
+
+2008-03-06  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/__func__: Renamed to modules/func.
+       * modules/__func__-tests: Renamed to modules/func-tests.
+       * tests/test-__func__.c: Renamed to tests/test-func.c.
+       * m4/__func__.m4: Renamed to m4/func.m4.
+       * doc/gnulib.texi (__func__): Section renamed to func.
+       Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-06  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/gnulib.texi (__func__): Use C99 terminology when talking
+       about __func__.  Make example self-contained.  Suggested by Eric
+       Blake <ebb9@byu.net>.
+
+       * tests/test-__func__.c (main): Avoid extraneous () around __func.
+       Suggested by Eric Blake <ebb9@byu.net>.
+
+2008-03-06  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/__func__: New file.
+       * modules/__func__-tests: New file.
+       * tests/test-__func__.c: New file.
+       * m4/__func__.m4: New file.
+       * doc/gnulib.texi (__func__): Document __func__ module.
+
+2008-03-05  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/byteswap (License): Re-license as LGPLv2+.
+
+2008-03-05  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/Makefile: Add pdf target.
+
+2008-03-05  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/inline (License): Use 'unlimited', since there are only
+       *.m4 files in this module.
+
+2008-03-03  John E. Malmberg  <wb8tyw@qsl.net>  (tiny change)
+           Bruno Haible  <bruno@clisp.org>
+
+       Add support for HP C 7.1 on OpenVMS 8.3.
+       * lib/alloca.in.h (alloca): Define as alias for DEC C on VMS.
+
+2008-03-03  John E. Malmberg  <wb8tyw@qsl.net>  (tiny change)
+
+       Update VMS specifics.
+       * lib/getopt.c [VMS]: Remove include of unixlib.h.
+
+2008-03-02  Jim Meyering  <meyering@redhat.com>
+
+       Remove the last dependency on the "free" module.
+       * m4/readutmp.m4 (gl_READUTMP): Don't require gl_FUNC_FREE.
+       Reported by Bob Proulx.
+
+       * lib/getdelim.c (getdelim): Don't leak memory upon failed realloc.
+
+       Remove useless "if" tests before free.  Deprecate "free" module.
+       * doc/posix-functions/free.texi: Mention that this
+       module is no longer useful.
+       * modules/free (Notice): Say this module is obsolete.
+       * modules/readutmp (Depends-on): Remove free.
+       * lib/save-cwd.c (free_cwd): Remove useless "if" before free.
+       * lib/putenv.c (putenv): Likewise.
+       * lib/gc-gnulib.c (gc_cipher_close): Likewise.
+       * lib/getaddrinfo.c (freeaddrinfo): Likewise.
+       * tests/test-c-strcasestr.c (main): Likewise.
+       * tests/test-c-strstr.c (main): Likewise.
+       * tests/test-mbscasestr1.c (main): Likewise.
+       * tests/test-mbscasestr2.c (main): Likewise.
+       * tests/test-mbsstr1.c (main): Likewise.
+       * tests/test-mbsstr2.c (main): Likewise.
+       * tests/test-memmem.c (main): Likewise.
+       * tests/test-strcasestr.c (main): Likewise.
+       * tests/test-striconv.c (main): Likewise.
+       * tests/test-striconveh.c (main): Likewise.
+       * tests/test-striconveha.c (main): Likewise.
+       * tests/test-strstr.c (main): Likewise.
+
+       * build-aux/git-version-gen: Adjust a comment and the Usage string.
+
+       bootstrap: sync from coreutils again
+       * build-aux/bootstrap: Remove dangling m4/*.m4 symlinks.
+
+2008-03-01  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: sync from coreutils
+       * build-aux/bootstrap (update_po_files): Copy a .po file into place
+       also when the target doesn't exist.
+
+2008-03-01  Eric Blake  <ebb9@byu.net>
+
+       Fix bugs in last patch.
+       * lib/memchr2.c (memchr2): Fix typo.
+       * tests/test-memchr2.c: Test previous bug, and don't use GNU
+       extension.
+       Reported by Bruce Korb.
+
+       New module 'memchr2'.
+       * modules/memchr2: New file.
+       * modules/memchr2-tests: Likewise.
+       * lib/memchr2.h: Likewise.
+       * lib/memchr2.c: Likewise, based on memchr.c.
+       * tests/test-memchr2.c: New test.
+       * MODULES.html.sh (String handling): Add memchr2.
+
+2008-02-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/freadseek-tests: New file.
+       * tests/test-freadseek.sh: New file.
+       * tests/test-freadseek.c: New file.
+
+       New module 'freadseek'.
+       * modules/freadseek: New file.
+       * lib/freadseek.h: New file.
+       * lib/freadseek.c: New file.
+       * MODULES.html.sh (File stream based Input/Output): Add freadseek.
+
 2008-02-29  Sergey Poznyakoff  <gray@gnu.org.ua>
 
        * users.txt: Add anubis, cpio, mailfromd, mailutils, radius,