* m4/getdate.m4 (gl_C_COMPOUND_LITERALS): New macro.
[gnulib.git] / ChangeLog
index f3319ad..df74ad0 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,562 @@
+2005-09-20  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Remove trailing slashes from the values specified for
+       --source-base, --m4-base, --tests-base, --aux-dir.
+       Suggested by Simon Josefsson <jas@extundo.com>.
+
+2005-09-20  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_all_modules, func_modules_transitive_closure,
+       func_modules_to_filelist, func_import, func_create_testdir): Make all
+       sorting results locale-independent, so that gnulib-cache.m4 doesn't
+       change when gnulib-tool is invoked in a different locale.
+
+2005-09-19  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import): Provide default for --tests-base.
+
+2005-09-19  Jim Meyering  <jim@meyering.net>
+
+       * modules/pathmax (License): Change to LGPL.
+
+2005-09-18  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Support --with-tests also with --import.
+       (func_emit_tests_Makefile_am): Use variables $m4base and $testsbase.
+       (func_import): Use variables $testsbase and $inctests. Emit a
+       gl_TESTS_BASE form into gnulib-cache.m4. Create $testsbase/Makefile.am.
+       Remind the user to add AC_CONFIG_FILES($testsdir/Makefile) and
+       SUBDIRS += $testsdir.
+       (func_create_testdir): Update.
+
+2005-09-18  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Comment out code that spits out the
+       new files with --dry-run.
+
+2005-09-18  Bruno Haible  <bruno@clisp.org>
+
+       Portability fix.
+       * gnulib-tool (func_readlink): New function.
+       (func_ln_if_changed): Use it.
+
+2005-09-18  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Revise --dry-run implementation. Use variable $doit
+       instead of $dry_run.
+       (func_cp_if_changed, func_mv_if_changed): Remove functions.
+       (func_ln_if_changed): Don't handle dry-run here.
+       (func_import): In dry-run mode, detect more precisely which actions
+       would be performed, and don't use "...ing" verbs.
+
+2005-09-18  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_tmpdir): New function, taken from GNU gettextize.
+       (func_import): Use join on two temporary files instead of three nested
+       loops, in order to determine which files are new or old.
+
+2005-09-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh (File system functions): Add stat-time.
+       * modules/stat-time: New file.
+       * modules/timespec (Files): Remove m4/st_mtim.m4; this
+       is now done in a different way, by the stat-time module.
+       * modules/utimecmp (Depends-on): Add stat-time.
+
+2005-09-12  Derek Price  <derek@ximbiot.com>
+
+       * modules/canon-host: Add canon-host.h.  Depend on getaddrinfo.  Make
+       LGPL.
+       * modules/getaddrinfo: Add link to opengroup spec.  Depend on strdup.
+
+2005-09-12  Derek Price  <derek@ximbiot.com>
+           Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/glob (Files): Add glob-libc.h.
+
+2005-09-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/utimens (Files): Add m4/utimbuf.m4, since
+       m4/utimens.m4 requires gl_CHECK_TYPE_STRUCT_UTIMBUF.
+       Reported by Sergey Poznyakoff.
+
+2005-09-08  Simon Josefsson  <jas@extundo.com>
+
+       * modules/socklen: New file.
+
+2005-09-05  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Fix comparison in handling of symbolic
+       links.
+
+2005-09-04  Martin Lambers <marlam@marlam.de>  (tiny change)
+
+       * modules/size_max (Makefile.am): Add size_max.h
+
+2005-09-04  Derek Price  <derek@ximbiot.com>
+
+       * gnulib-tool (func_import): Fix reversed $symbolic logic.
+
+2005-09-03  Simon Josefsson  <jas@extundo.com>
+
+       * gnulib-tool: Fix typo.
+
+2005-09-02  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/inttostr (Files): Add m4/inttypes_h.m4, m4/stdint_h.m4,
+       m4/ulonglong.m4.  Problem reported by Martin Lambers.
+
+2005-09-02  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import): In the other first-use case, provide defaults
+       as well.
+
+2005-09-02  Simon Josefsson  <jas@extundo.com>
+
+       * modules/havelib: New module.
+
+       * modules/gettext, modules/iconv, modules/lock, modules/readline:
+       Use havelib.
+
+2005-08-31  Simon Josefsson  <jas@extundo.com>
+
+       * modules/socklen: New file.
+
+2005-09-01  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Fix handling of symbolic links.
+
+2005-09-01  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import): In the first-use case, provide defaults.
+
+2005-09-01  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Remove the .tmp files.
+
+2005-08-30  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Fix defaulting of $libname and $libtool.
+       Create directories that shall be filled.
+       (import): Don't look for gl_* macros in configure.ac. Recurse across
+       all directories containing a gnulib-cache.m4 files, if meaningful.
+
+2005-08-30  Bruno Haible  <bruno@clisp.org>
+
+       Avoid unnecessary diffs in the generated lib/Makefile.am.
+       * gnulib-tool (func_emit_lib_Makefile_am): Don't write the cmd into
+       the generated files.
+       (func_import): Don't set cmd.
+
+2005-08-30  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Read the previous cached settings
+       from gnulib-cache.m4 and gnulib-comp.m4. Remove files that were
+       earlier added by gnulib but are now dropped. Warn when a gnulib file
+       overwrites a non-gnulib file.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Generate two files gnulib-cache.m4 and
+       gnulib-comp.m4 instead of a single gnulib.m4, to make it easy for
+       projects that don't keep autogenerated files in CVS. Put into
+       actioncmd only the specified modules, not the transitive closure.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Require AC_GNU_SOURCE etc. instead of
+       always instantiating them.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import): Rename most ac_* variables to cached_*.
+       Also use new variables cached_lgpl, cached_libtool.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Also copy m4/gnulib-tool.m4. Omit
+       declaration macro definitions from generated gnulib.m4.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: New option --macro-prefix.
+       (func_import): Use macro_prefix.
+       (import): Handle option --macro-prefix.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Emit also a stub for gl_LIBTOOL.
+       (import): Set seen_libtool when we see gl_LIBTOOL.
+
+2005-08-31  Jim Meyering  <jim@meyering.net>
+
+       * check-module: Add a FIXME comment.
+
+2005-08-31  Eric Blake  <ebb9@byu.net>
+
+       * modules/unistd-safer (Files): Add unistd--.h.
+       * modules/stdio-safer (Files): Add stdio--.h.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import): Avoid unnecessary spaces in $avoidlist.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Emit more comments into gnulib.m4.
+       Emit more advice.
+
+2005-08-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Enclose all occurrences of $destdir in "...", so
+       that it works when the directory contains spaces.
+
+2005-07-11  Bruno Haible  <bruno@clisp.org>
+       and Stepan Kasal  <kasal@ucw.cz>
+
+       * check-module: If more parameters are given, check each of them
+       separately; add more exceptions, as noted by Jim Meyering.
+       (check_module): New procedure.
+       (%exempt_header): Now contains all exceptions.
+
+2005-07-30  Ben Pfaff  <blp@cs.stanford.edu>
+
+       * modules/byteswap (Makefile.am): Fix rule to not assume GNU make.
+
+2005-08-27  Jim Meyering  <jim@meyering.net>
+
+       * modules/unistd-safer (Files): Add pipe-safer.c.
+       * modules/fcntl-safer (Files): Add creat-safer.c.
+
+2005-08-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/regex (Depends-on): Add malloc, since the code
+       assumes that !malloc(0) means failure.
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/tls-tests: New file.
+       * tests/test-tls.c: New file, from GNU gettext.
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lock-tests: New file.
+       * tests/test-lock.c: New file, from GNU gettext.
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       Support for unit test modules.
+       * modules/README: Mention tests modules.
+       * modules/TEMPLATE-TESTS: New file.
+       * gnulib-tool: New options --extract-tests-module, --with-tests and
+       --tests-base (unused for the moment).
+       (testsbase, inctests): New variables.
+       (func_all_modules): Exclude TEMPLATE-TESTS and *-tests.
+       (func_verify_module): Exclude TEMPLATE-TESTS.
+       (func_verify_nontests_module, func_verify_tests_module): New functions.
+       (func_get_dependencies): Add implicit dependency for tests modules.
+       (func_get_tests_module): New function.
+       (func_modules_transitive_closure): When --with-tests was specified,
+       include the unit tests as well, unless explicitly avoided.
+       (func_emit_lib_Makefile_am): Ignore the tests modules here.
+       (func_emit_tests_Makefile_am): New function.
+       (func_create_testdir): When --with-tests was specified, emit a
+       tests/ directory.
+       * MODULES.html.sh (Future developments): Update.
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_version): Update.
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_megatestdir): Call autoreconf without the
+       option --force, because --force causes the aclocal.m4 of each
+       subdirectory to be newer than the corresponding config.h.in.
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Add support for the --aux-dir option to
+       --create-testdir, --create-megatestdir, --test, --megatest.
+       (func_create_testdir, func_create_megatestdir): Optionally emit a
+       AC_CONFIG_AUX_DIR directive.
+       (create-testdir, create-megatestdir, test, megatest): Provide a
+       default value for $auxdir.
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import): Use compound statement instead of subshell
+       where possible.
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import): Change --aux-dir default to "build-aux".
+
+2005-08-24  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import, func_create_testdir,
+       func_create_megatestdir): Quote all autoconf macro arguments.
+
+2005-08-24  Jim Meyering  <jim@meyering.net>
+
+       * modules/fcntl-safer: New module.
+       * modules/fts (Depends-on): Add fcntl-safer.
+       * MODULES.html.sh (File descriptor based Input/Output):
+       Add fcntl-safer.
+
+2005-08-24  Simon Josefsson  <jas@extundo.com>
+
+       * tests/test-getpass.c: New file.
+
+2005-08-24  Jim Meyering  <jim@meyering.net>
+
+       * modules/xgetcwd (Makefile.am): Remove `lib_SOURCES += ...' line,
+       now that xgetcwd.m4 requires xgetcwd.c and xgetcwd.h.
+
+2005-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/strcasestr: New file.
+       * MODULES.html.sh (String handling, based on ANSI C 89): Add
+       strcasestr.
+
+2005-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/strstr (Files): Add m4/mbrtowc.m4.
+       (Depends-on): Add mbuiter.
+
+2005-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/strcase (Depends-on): Add mbuiter. Remove strnlen1, mbchar.
+
+2005-08-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbuiter: New file.
+       * MODULES.html.sh (Extended multibyte and wide character utilities):
+       Add mbuiter.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/strcase (Files): Add m4/mbrtowc.m4.
+       (Depends-on): Add strnlen1, mbchar.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/strnlen1: New file.
+       * MODULES.html.sh (String handling): Add strnlen1.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbfile: New file.
+       * MODULES.html.sh (Extended multibyte and wide character utilities):
+       Add mbfile.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbiter: New file.
+       * MODULES.html.sh (Extended multibyte and wide character utilities):
+       Add mbiter.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/mbchar: New file.
+       * MODULES.html.sh (Extended multibyte and wide character utilities):
+       New section.
+
+2005-08-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/tls: New file.
+       * MODULES.html.sh (Multithreading): Add tls.
+
+2005-08-15  Simon Josefsson  <jas@extundo.com>
+
+       * modules/ssize_t (License): Change to 'unlimited'.
+
+       * gnulib-tool (sed_extract_prog): Recognize 'unlimited' license.
+
+2005-08-12  Simon Josefsson  <jas@extundo.com>
+
+       * MODULES.html.sh (Support for systems lacking POSIX:2001): Add
+       ssize_t.
+
+2005-08-12  Simon Josefsson  <jas@extundo.com>
+
+       * modules/getndelim2: Use ssize_t module.
+       * modules/getnline: Likewise.
+       * modules/safe-read: Likewise.
+       * modules/xreadlink: Likewise.
+
+       * modules/ssize_t: New file.
+
+2005-08-12  Simon Josefsson  <jas@extundo.com>
+
+       * MODULES.html.sh (Extra functions based on ANSI C 89: Misc): Add
+       readline, getdelim and check_version.
+       (Support for systems lacking ISO C 99: Sizes of integer types):
+       Add size_max.
+
+2005-08-11  Simon Josefsson  <jas@extundo.com>
+
+       * modules/readline: New file.
+
+       * modules/strnlen (Files): Add strnlen.h.
+
+2005-08-10  Simon Josefsson  <jas@extundo.com>
+
+       * tests/test-iconvme.c: New file.
+
+2005-08-08  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>  (tiny change)
+
+       * README: Typos.
+
+2005-08-02  Simon Josefsson  <jas@extundo.com>
+
+       * modules/getdelim: New file.
+
+       * modules/getline: Rewrite, don't use getndelim2.
+
+2005-07-16  Simon Josefsson  <jas@extundo.com>
+
+       * modules/readline: New file.
+
+2005-07-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/visibility: New file.
+       * MODULES.html.sh (Misc): Add visibility.
+
+2005-07-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/alloca-opt (Makefile.am): Remove explicit dependency on
+       $(ALLOCA_H), redundant through BUILT_SOURCES.
+       * modules/argz (Makefile.am): Remove explicit dependency on $(ARGZ_H),
+       redundant through BUILT_SOURCES.
+       * modules/byteswap (Makefile.am): Remove explicit dependency on
+       $(BYTESWAP_H), redundant through BUILT_SOURCES.
+       * modules/fnmatch (Makefile.am): Remove explicit dependency on
+       $(FNMATCH_H), redundant through BUILT_SOURCES.
+       * modules/getopt (Makefile.am): Remove explicit dependency on
+       $(GETOPT_H), redundant through BUILT_SOURCES.
+       * modules/glob (Makefile.am): Remove explicit dependency on $(GLOB_H),
+       redundant through BUILT_SOURCES.
+       * modules/poll (Makefile.am): Remove explicit dependency on $(POLL_H),
+       redundant through BUILT_SOURCES.
+       * modules/stdbool (Makefile.am): Remove explicit dependency on
+       $(STDBOOL_H), redundant through BUILT_SOURCES.
+       * modules/stdint (Makefile.am): Remove explicit dependency on
+       $(STDINT_H), redundant through BUILT_SOURCES.
+       * modules/sysexits (Makefile.am): Add $(SYSEXITS_H) to BUILT_SOURCES.
+       Remove explicit dependency on $(SYSEXITS_H).
+       Reported by Alexandre Duret-Lutz <adl@src.lip6.fr>.
+
+2005-07-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lock: New file.
+       * MODULES.html.sh (Multithreading): New section.
+
+2005-07-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/xalloc (Depends-on): Add xalloc-die.
+       * modules/xvasprintf (Depends-on): Add xalloc-die.
+
+2005-07-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/argp (Depends-on): Remove unlocked-io.
+
+2005-07-11  Simon Josefsson  <jas@extundo.com>
+
+       * modules/size_max: New file.
+
+       * modules/xsize: Depend on size_max module for size_max.m4.
+
+2005-07-09  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_usage): Document option --avoid.
+       (Command line options): Handle --avoid.
+       (func_acceptable): New function.
+       (func_modules_transitive_closure): Use it.
+
+2005-07-11  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh: Use shortcut URLs to the www.opengroup.org site.
+       Reported by Jim Meyering.
+
+2005-07-09  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * modules/argp (Depends-on): Add unlocked-io
+
+2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/regex (Files): Add lib/regex_internal.c,
+       lib/regex_internal.h, lib/regexec.c, lib/regcomp.c, m4/codeset.m4.
+       (Depends-on): Add extensions.
+       (Makefile.am): Remove lib_SOURCES; now done by m4 code.
+
+2005-07-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Support programs like Emacs that use gnulib but not gettext.
+       * MODULES.html.sh (Internationalization functions): Add gettext-h.
+       * modules/gettext-h: New file.
+       * modules/gettext (Files): Remove lib/gettext.h.
+       (Depends-on): Add gettext-h.
+       (Makefile.am): Remove lib_SOURCES.
+       * modules/argmatch, modules/c-stack, modules/closeout:
+       * modules/copy-file, modules/csharpcomp, modules/csharpexec:
+       * modules/execute, modules/file-type, modules/getaddrinfo:
+       * modules/getopt, modules/human, modules/javacomp:
+       * modules/javaexec, modules/mkdir-p, modules/obstack:
+       * modules/openat, modules/pagealign_alloc, modules/pipe:
+       * modules/quotearg, modules/regex, modules/rpmatch:
+       * modules/unicodeio, modules/userspec, modules/version-etc:
+       * modules/wait-process, modules/xalloc-die, modules/xmemcoll:
+       * modules/xsetenv:
+       Depend on gettext-h, not gettext.
+
+2005-07-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (func_import): Add support for 'public domain' license.
+       * modules/alloca, modules/atexit, modules/memmove:
+       Now public domain, not GPL.
+       * modules/dup2, modules/getpagesize, modules/malloc, modules/memset:
+       * modules/realloc, modules/strerror, modules/strtod:
+       Now LGPL, not GPL.
+
+2005-07-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Remove the dependency of the strftime module on the tzset module.
+       * modules/strftime (Depends-on): Remove dependency on tzset.
+
+2005-06-28  Jim Meyering  <jim@meyering.net>
+
+       * check-module (find_included_lib_files): Hard-code another
+       pair of exceptions: fts.c includes fts-cycle.c and unistd-safer.h
+       but modules/fts-lgpl (correctly) does not list those files.
+
+       * modules/canonicalize (Files): Add lib/pathmax.h.
+
+2005-06-28  Simon Josefsson  <jas@extundo.com>
+
+       * modules/check-version (Files): Add check-version.m4.
+
+2005-06-25  Simon Josefsson  <jas@extundo.com>
+
+       * modules/check-version: New file.
+
+2005-06-24  Derek Price  <derek@ximbiot.com>
+       and Bruno Haible  <bruno@clisp.org>
+
+       Remove stat module & update lstat.
+       * MODULES.html.sh (stat): Remove.
+       * MODULES.html: Regenerated.
+       * modules/lstat (Description): Correct function name.
+       (Files): Add "lstat.h".
+       (Depends-on): Remove stat, add xalloc, stat-macros.
+       * modules/stat: Remove this file.
+       (Include): Add "lstat.h", remove <sys/stat.h>.
+
+2005-06-08  Bruno Haible  <bruno@clisp.org>
+
+       * modules/csharpcomp: New file.
+       * MODULES.html.sh (C#): Add csharpcomp.
+
 2005-06-02  Paul Eggert  <eggert@cs.ucla.edu>
 
        Sync from coreutils.
 
        * modules/getlogin_r: New files.
 
+2005-05-21  Jim Meyering  <jim@meyering.net>
+
+       * modules/fts (Files): Add m4/inttypes-pri.m4.
+       (Depends-on): Add lstat and remove gettext.  Alphabetize.
+
 2005-05-18  Derek Price  <derek@ximbiot.com>
 
        * modules/minmax (Files): Add m4/minmax.m4.
        Problem reported by Dave Love.
 
 2005-05-09  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * modules/inet_ntop: New file.
        * MODULES.html.sh (Support for systems lacking POSIX:2001): Add
        * regex.c (WIDE_CHAR_SUPPORT): Define if _LIBC as well.
 
 
-Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
 Copying and distribution of this file, with or without modification,
 are permitted provided the copyright notice and this notice are preserved.