New module 'sublist'.
[gnulib.git] / ChangeLog
index 8ed60d7..7555b06 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,494 @@
+2006-10-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/sublist: New file.
+
+2006-09-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/closeout (Description): Mention stderr too.
+
+2006-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fwriteerror (configure.ac): Define GNULIB_FWRITEERROR.
+
+2006-10-02  Eric Blake  <ebb9@byu.net>
+
+       * modules/strnlen (Depends-on): Add extensions.
+
+2006-10-02  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Don't add no-dependencies
+       to the AUTOMAKE_OPTIONS.
+       Reported by Jim Meyering.
+
+2006-09-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/openat (Files): Add lib/openat-proc.c.
+       (Depends-on): Add same-inode, stdbool.
+
+2006-09-28  Bruno Haible  <bruno@clisp.org>
+
+       * modules/avltreehash-list (Depends-on): Add stdint, remove size_max.
+       * modules/linkedhash-list (Depends-on): Likewise.
+       * modules/rbtreehash-list (Depends-on): Likewise.
+
+2006-09-28  Paolo Bonzini  <bonzini@gnu.org>
+
+       * lib/poll.c (rpl_poll) [__APPLE__]: Use FIONREAD instead of MSG_PEEK.
+       * m4/poll.m4: Look for sys/ioctl.h and sys/filio.h.
+
+2006-09-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/savewd (Depends-on): Add 'raise'.
+
+2006-09-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/clock-time (Maintainer): Add self.
+       * modules/getlogin_r (Depends-on): Add extensions.
+
+2006-09-25  Eric Blake  <ebb9@byu.net>
+
+       * gnulib-tool (func_import, func_create_testdir): Fix typos in
+       exec's in 2006-09-18 patch when shuffling fds.
+
+2006-09-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/clock-time: New module.
+       * modules/nanosleep (Depends-on): Add clock-time.
+       * modules/gethrxtime (Depends-on): Likewise.
+       * modules/gettime (Depends-on): Likewise.
+       * modules/settime (Depends-on): Likewise.
+
+       * modules/fts-lgpl: Depend on openat.
+       * modules/mkancesdirs: Depend on savewd.
+       * modules/mkdir-p: Likewise.
+
+2006-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/bison-i18n (Depends-on): Add gettext.
+
+2006-09-22  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_megatestdir): Don't include the config-h
+       module.
+       Suggested by Ralf Wildenhues.
+
+2006-09-22  Simon Josefsson  <jas@extundo.com>
+
+       * modules/gc-sha1:
+       * modules/gc-md4:
+       * modules/gc-hmac-sha1:
+       * modules/gc-hmac-md5:
+       * modules/gc-des:
+       * modules/gc-arcfour: Distribute more files.
+
+2006-09-17  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import, func_create_testdir): Set gl_source_base
+       at the beginning of the gl_INIT macro.
+       * modules/getloadavg (configure.ac): Pass $gl_source_base to
+       gl_GETLOADAVG.
+
+2006-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_version): Create output all at once.  This
+       may help avoid triggering unnecessary SIGPIPEs, and at any
+       rate it doesn't hurt.
+
+2006-09-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/mkstemp (Depends-on): Add extensions, so that
+       mkstemp is visible on some platforms.
+       (Makefile.am): Add mkstemp.h to EXTRA_DIST.
+       (Include): Change to "mkstemp.h" from <stdlib.h>.
+       (Files): Add mkstemp.h.
+
+2006-09-19  Eric Blake  <ebb9@byu.net>
+
+       * gnulib-tool: Avoid space-tab.
+
+2006-09-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_exit): New function, to allow to pass the
+       exit status portably through the trap.  Use everywhere.
+       (--help, --version): Signal a write error.
+       (trap): catch SIGPIPE, for write errors.
+       Exit at the end of the trap, with the correct exit status.
+
+2006-09-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/inttypes (Files): Remove m4/inttypes-h.m4.
+
+2006-09-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (avoidlist): Fix typo that broke options like
+       --avoid=lock that are used by coreutils bootstrap.
+
+2006-09-18  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import, func_create_testdir): Use exec tricks to
+       avoid that the while loops be executed in a subshell.
+
+2006-09-18  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (func_module): Break long lines.
+       Suggested by Bruce Korb <bkorb@gnu.org>.
+
+2006-09-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/javaversion (Makefile.am): Remove DEFS setting.
+       (Depends-on): Add configmake, for PKGDATADIR definition.
+
+2006-09-17  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_append): New function, stolen from libtool.m4.
+       (func_modules_transitive_closure, func_modules_add_dummy,
+       func_modules_to_filelist, func_import, func_create_testdir,
+       func_create_megatestdir, ...): Use it wherever possible.
+       Suggested by Ralf Wildenhues.
+
+2006-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Speed up by a factor of 1.12.
+       * gnulib-tool (nl): New variable.
+       (func_import): Rewrite include directive extraction to only read each
+       directive once.
+
+2006-09-17  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Rewrite all files at once.
+
+2006-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Speed up by a factor of 1.13.
+       * gnulib-tool (func_import): Rewrite all old_files at once; likewise
+       for new_files, and the input to func_add_or_update.
+
+2006-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Speed up by a factor of 1.61.
+       * gnulib-tool (func_modules_transitive_closure): Rewrite to not check
+       already checked module names again.
+
+2006-09-15  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_all_modules, func_modules_to_filelist, func_import,
+       func_create_testdir, ...): Change 'sort | uniq' to 'sort -u'.
+
+2006-09-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/mkancesdirs (Depends-on): Add fcntl.
+       * modules/savewd: New file.
+       * MODULES.html.sh (File system functions): Add savewd.
+
+       * modules/configmake (Makefile.am): Add support for the
+       Automake-supplied PKGLIBDIR, PKGINCLUDEDIR, PKGDATADIR.
+
+2006-09-15  Jim Meyering  <jim@meyering.net>
+
+       * modules/rename-dest-slash: New module.
+       * MODULES.html.sh (posix_compat): Add it here.
+
+       * modules/rename: Reflect vb_FUNC_RENAME -> gl_FUNC_RENAME change.
+
+2009-09-13  Simon Josefsson  <jas@extundo.com>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Use $(LIBOBJS), not
+       @LIBOBJS@.
+       Suggested by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>.
+
+2006-09-10  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mkdtemp (Files): Remove m4/ulonglong.m4, m4/stdint_h.m4,
+       m4/inttypes_h.m4, m4/uintmax_t.m4.
+
+2006-09-09  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Eliminate lib_LDFLAGS
+       assignments if building a library without libtool.
+       (func_emit_tests_Makefile_am): Likewise. Handle lib_* variables as
+       in func_emit_lib_Makefile_am.
+       (func_import): When building a static library libfoo.a, arrange to
+       define variables LIBFOO_LIBDEPS and LIBFOO_LTLIBDEPS.
+       (func_create_testdir): Likewise.
+       * modules/gc (configure.ac, Makefile.am): If building statically,
+       augment gl_libdeps and gl_ltlibdeps instead of lib_LDFLAGS.
+       * modules/iconvme (configure.ac, Makefile.am): Likewise.
+       * modules/striconv (configure.ac, Makefile.am): Likewise.
+       Based on a suggestion by Ralf Wildenhues.
+
+2006-09-08  Jim Meyering  <jim@meyering.net>
+
+       Don't make generated files read-only.  That would bother too many
+       people.  However, do retain the ability to work when targets are
+       read-only: remove the destination and temporary files before writing
+       them (when generated via sed or echo), or by using the -f option for
+       both cp and mv commands.  Suggestion to use -f from Paul Eggert.
+       * modules/alloca-opt, modules/argz, modules/arpa_inet:
+       * modules/byteswap, modules/configmake, modules/fcntl:
+       * modules/fnmatch, modules/getopt, modules/glob, modules/inttypes:
+       * modules/localcharset, modules/netinet_in, modules/poll:
+       * modules/stdbool, modules/stdint, modules/sys_select:
+       * modules/sys_socket, modules/sys_stat, modules/sysexits:
+
+2006-09-07  Jim Meyering  <jim@meyering.net>
+
+       Fix global typo in last change: use chmod u-w, not chmod u-x.
+       Spotted by Paul Eggert and Bruce Korb.
+       * modules/alloca-opt, modules/argz, modules/arpa_inet:
+       * modules/byteswap, modules/configmake, modules/fcntl:
+       * modules/fnmatch, modules/getopt, modules/glob, modules/inttypes:
+       * modules/localcharset, modules/netinet_in, modules/poll:
+       * modules/stdbool, modules/stdint, modules/sys_select:
+       * modules/sys_socket, modules/sys_stat, modules/sysexits:
+
+2006-09-06  Jim Meyering  <jim@meyering.net>
+
+       Make generated files be read-only.
+       * modules/alloca-opt (Makefile.am): Work also when $@ is read-only.
+       Ensure that each generated file is now read-only.
+       * modules/argz: Likewise.
+       * modules/arpa_inet: Likewise.
+       * modules/byteswap: Likewise.
+       * modules/configmake: Likewise.
+       * modules/fcntl: Likewise.
+       * modules/fnmatch: Likewise.
+       * modules/getopt: Likewise.
+       * modules/glob: Likewise.
+       * modules/inttypes: Likewise.
+       * modules/netinet_in: Likewise.
+       * modules/poll: Likewise.
+       * modules/stdbool: Likewise.
+       * modules/stdint: Likewise.
+       * modules/sys_select: Likewise.
+       * modules/sys_socket: Likewise.
+       * modules/sys_stat: Likewise.
+       * modules/sysexits: Likewise.
+       * modules/localcharset: Same as above, but continue using temporary
+       file named "t-$@" (why different?) rather than the "$@-t" used
+       everywhere else.
+
+       * modules/sysexits (Makefile.am): Replace literal occurrences
+       of "sysexit.h" more readable, and more consistent, "$@".
+
+2006-09-05  Bruno Haible  <bruno@clisp.org>
+
+       * modules/gc (Makefile.am): Augment lib_LDFLAGS, not lib_LIBADD.
+       * modules/iconvme (Makefile.am): Likewise. Also handle the case of
+       not using libtool correctly.
+
+2006-09-05  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Initialize also
+       lib_..._LDFLAGS.
+
+2006-09-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/striconv: New file.
+       * modules/xstriconv: New file.
+       * MODULES.html.sh (Internationalization functions): Add striconv,
+       xstriconv.
+
+2006-09-05  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (String handling): Add trim.
+
+2006-09-05  Davide Angelocola <davide.angelocola@tiscali.it>
+
+       * modules/trim: New file.
+
+2006-09-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Fix typos in
+       yesterday's patch by changing test -n to test -z.
+
+2006-08-31  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (nl): Remove variable.
+       (sed_transform_lib_file): Use more robust test for config-h module.
+       (func_import): Fix typo in 2006-08-25 patch.
+
+2006-08-31  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/getloadavg (Files): Add m4/getloadavg.m4.
+       (configure.ac): AC_FUNC_GETLOADAVG -> gl_GETLOADAVG, as
+       the former is now obsolescent.
+
+       * modules/chdir-long (Depends-on): Add fcntl.
+
+2006-08-31  Eric Blake  <ebb9@byu.net>
+
+       * gnulib-tool: Don't let emacs change spaces to TAB.
+
+2006-08-31  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): When --makefile-name was
+       specified, augment Makefile.am variables instead of assigning them.
+
+2006-08-31  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: When calling func_import more than once, do it in a
+       subshell.
+       Reported by Eric Blake <ebb9@byu.net>.
+
+2006-08-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/nanosleep (Depends-on): Add gettime.
+
+2006-08-30  Paul Eggert  <eggert@cs.ucla.edu>
+       and Simon Josefsson  <jas@extundo.com>
+       and Oskar Liljeblad  <oskar@osk.mine.nu>
+
+       * MODULES.html.sh (Support for building documentation): Add gpl, lgpl.
+       * gnulib-tool (func_import): New license type 'unmodifiable license
+       text'.
+       * modules/fdl: Use it.  Longer description.
+       * module/gpl, module/lgpl: New files.
+
+2006-08-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/isapipe: New file.
+       * MODULES.html.sh (File descriptor based Input/Output): Add isapipe.
+
+2006-08-29  Jim Meyering  <jim@meyering.net>
+
+       * modules/configmake (Makefile.am): Make configmake.h depend on
+       Makefile.  Otherwise, a stale configmake.h could hang around.
+
+2006-08-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/localcharset (Depends-on): Add configmake.
+       (Makefile.am): Remove setting of LIBDIR through DEFS.
+
+2006-08-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/configmake (Makefile.am): Add a comment, and omit
+       the CONFIGMAKE_ prefix from generated macro names.  Suggested
+       by Bruno Haible.
+
+2006-08-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/fcntl: New file.
+       * modules/chdir-safer (Depends-on): Add fcntl.
+       * modules/fts: Likewise.
+       * modules/mkdir-p: Likewise.
+
+       * modules/stdint (Makefile.am): Do not substitute ABSOLUTE_INTTYPES_H.
+       This undoes the most recent change, since we're now addressing the
+       problem in a different way.
+
+       * gnulib-tool (emit_lib_Makefile_am): Don't put $makefile_name
+       into output, since the output might be called Makefile.am even
+       if $makefile_name is something different.
+       (func_import): Use $makefile_am rather than
+       ${makefile_name-Makefile.am}, to fix a bug where makefile_name was
+       empty.
+
+       * modules/inttypes (Files): Add m4/inttypes-h.m4.
+
+2006-08-28  Eric Blake  <ebb9@byu.net>
+
+       * modules/inttypes (Makefile.am): Fix sed error when inttypes.h
+       needs wrapper.
+
+2006-08-27  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: New option --makefile-name.
+       (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Use
+       $makefile_name.
+       (func_import): Write $makefile_name to the cache file, and read it from
+       there unless explicitly specified. Use $makefile_name as file name
+       instead of Makefile.am. Adjust the recommendations accordingly.
+
+2006-08-27  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Reorder some statements.
+
+2006-08-27  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_get_tests_module): Don't assume that $gnulib_dir
+       is the current directory. Respect also $local_gnulib_dir.
+
+2006-08-26  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_relativize, func_relconcat): New functions.
+       Give an error if --local-dir is given with --update.
+       Remove trailing slashes from $local_gnulib_dir.
+       (func_import): Store the relativized $local_gnulib_dir in
+       gnulib-cache.m4, and read it from there if not specified explicitly.
+
+2006-08-26  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_verify_module): Check against misapplying patch.
+
+2006-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * modules/c-strstr: New file, from GNU gettext.
+       * MODULES.html.sh (String handling): Add c-strstr.
+
+2006-08-26  Bruno Haible  <bruno@clisp.org>
+
+       * modules/inttypes (Files): Add lib/inttypes_.h, remove lib/inttypes.h.
+       Add m4/inttypes.m4, remove m4/_inttypes_h.m4 and m4/include_next.m4.
+       (Makefile.am): Create inttypes.h from inttypes_.h.
+       * modules/stdint (Makefile.am): Substitute also ABSOLUTE_INTTYPES_H.
+
+       * modules/imaxabs: New file.
+
+       * modules/imaxdiv: New file.
+
+2006-08-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       New config-h module, so that "make" output needn't be cluttered
+       by -DHAVE_CONFIG_H.
+       * MODULES.html.sh (Support for building libraries and executables):
+       Add config-h.
+       * modules/config-h: New file.
+       * gnulib-tool (nl, sed_transform_lib_file): New vars.
+       (func_import): Turn "#ifdef HAVE_CONFIG_H" to "#if 1" if
+       the config-h module is used.
+
+       New configmake module, so that "make" output needn't be cluttered
+       by fluff like '-DLIBDIR=\"/usr/local/lib\"'.
+       * MODULES.html.sh (Support for building libraries and executables):
+       Add configmake.
+       * modules/configmake: New file.
+
+2006-08-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh (Support for building libraries and executables):
+       Add elisp-comp.
+       * build-aux/elisp-comp: New file.
+       * modules/elisp-comp: New file.
+
+2006-08-24  Bruno Haible <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Use non-default values of
+       sourcebase and m4base.
+
+2006-08-24  Bruno Haible <bruno@clisp.org>
+
+       * MODULES.html.sh (Compatibility checks for POSIX:2001 functions: Fix
+       HTML structure.
+
+2006-08-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/openat (Depends-on): Add lchown.
+
+2006-08-23  Bruno Haible <bruno@clisp.org>
+
+       * gnulib-tool (func_import, func_create_testdir): Emit an invocation
+       of gl_LOCK_EARLY instead of gl_LOCK.
+
+2006-08-22  Eric Blake  <ebb9@byu.net>
+
+       * modules/regexprops-generic: New file.
+       * MODULES.html.sh (Support for building documentation): List it.
+
+2006-08-22  Bruno Haible <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Don't treat lib_LIBRARIES
+       and lib_LTLIBRARIES like the other lib_* variables.
+
 2006-08-22  Paul Eggert  <eggert@cs.ucla.edu>
 
        Avoid the need for AC_LIBSOURCES in m4 macros.
 2006-08-21  Bruno Haible <bruno@clisp.org>
 
        * gnulib-tool (func_emit_lib_Makefile_am): If the snippets already
-       specify an installation location, don't emit a noinst_[LT]LIBRARIES
-       assignment.
+       specify an installation location, don't emit a noinst_LIBRARIES or
+       noinst_LTLIBRARIES assignment.
 
 2006-08-19  Bruno Haible  <bruno@clisp.org>
 
        Reported by Martin Lambers <marlam@marlam.de>.
 
 2006-08-21  Mark D. Baushke  <mdb@gnu.org>
-            Bruno Haible <bruno@clisp.org>
+           Bruno Haible <bruno@clisp.org>
 
        * gnulib-tool (func_verify_module): Work around Sun's non-POSIX 1003.2
        /bin/sh understanding of '!' conditional negation.