* memcoll.c (memcoll): Optimize for the common case where the
[gnulib.git] / ChangeLog
index dccbc87..3eb6b03 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,517 @@
+2006-08-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/cycle-check (configure.ac): Add gl_CYCLE_CHECK.
+
+2006-08-15  Bruno Haible  <bruno@clisp.org>
+
+       * modules/tmpdir (License): Change to LGPL.
+
+2006-08-15  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_all_modules, func_verify_module): COPYING is not a
+       module.
+
+2006-08-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Change copyright notice from LGPL 2 to GPL 2, since that's the
+       standard form used in the gnulib repository.
+       * tests/test-lock.c: Likewise.
+       * tests/test-stdint.c: Likewise.
+       * tests/test-tls.c: Likewise.
+
+       * users.txt: Add bison, diffutils, libprelude, prelude-lml,
+       prelude-manager.  User shorter URLs for GNU projects, without '?'.
+       Add copyright notice.
+
+       * check-module: Add copyright notice.  Output a copyright
+       notice if "--version" is specified.
+       * modules/COPYING: New file.
+       * tests/test-getaddrinfo.c: Add copyright notice.
+       * tests/test-verify.c: Likewise.
+
+2006-08-11  Eric Blake  <ebb9@byu.net>
+
+       * users.txt: Sort.  Add tar.
+
+2006-08-11  Bruno Haible  <bruno@clisp.org>
+
+       * users.txt: New file.
+
+2006-08-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/snprintf (Depends-on): Remove minmax.
+       (Maintainer): Add self and Bruno.
+
+2006-08-10  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Detect unexpanded macros here
+       as well.
+
+2006-08-10  Eric Blake  <ebb9@byu.net>
+       and Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_import): Detect unexpanded macros in gnulib
+       namespace.
+
+2006-08-10  Jim Meyering  <jim@meyering.net>
+
+       * modules/same-inode: New module.
+       * modules/dev-ino: New module.
+       * modules/cycle-check: Depend on these modules, rather than simply
+       including their .h files.
+       (Makefile.am): Don't list cycle-check.[ch] here, now that they're
+       required via m4/cycle-check.m4.
+       * modules/same: Depend on new same-inode module, rather than
+       including same-inode.h.
+       * modules/chdir-safer: New file.
+
+       * modules/chown (Depends-on): Add stat-macros.
+
+2006-08-10  Eric Blake  <ebb9@byu.net>
+
+       * modules/verror (Depends-on): Remove bogus gl_VERROR that snuck
+       in from original proposal.
+
+2006-08-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/restrict: Remove; no longer needed now that we assume
+       Autoconf 2.59 or later.
+       * MODULES.html.sh: Remove 'restrict'.
+       * modules/argp (Depends-on): Remove 'restrict'.
+       * modules/base64 (Depends-on): Likewise.
+       * modules/gc (Depends-on): Likewise.
+       * modules/getaddrinfo (Depends-on): Likewise.
+       * modules/glob (Depends-on): Likewise.
+       * modules/inet_ntop (Depends-on): Likewise.
+       * modules/inet_pton (Depends-on): Likewise.
+       * modules/memxor (Depends-on): Likewise.
+       * modules/regex (Depends-on): Likewise.
+       * modules/strtok_r (Depends-on): Likewise.
+       * modules/time_r (Depends-on): Likewise.
+
+2006-08-08  Eric Blake  <ebb9@byu.net>
+
+       * modules/verror: New module.
+       * MODULES.html.sh: Document it.
+
+2006-08-07  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Wrap the set of autoconf snippets
+       in an AC_DEFUN. Needed so that the autoconf snippets can use
+       AC_REQUIRE.
+
+2006-08-06  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Initialize pkgdata_DATA.
+       * modules/javaversion (Makefile.am): Add to pkgdata_DATA, rather than
+       overriding it.
+
+2006-08-04  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Make the mostlyclean-local rule depend on mostlyclean-generic.
+       Reported by Jim Meyering. Solution suggested by Ralf Wildenhues.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/csharpexec (configure.ac): Comment out macro invocation.
+       * modules/javaexec (configure.ac): Likewise.
+       * modules/javacomp-script (configure.ac): Likewise.
+
+       * modules/csharpcomp-script (configure.ac): Use AC_REQUIRE.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/javaversion (Makefile.am): Distribute javaversion.java and
+       javaversion.class. Also install javaversion.class in $(pkgdatadir) and
+       set PKGDATADIR to point to it.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/clean-temp (Depends-on): Add linkedhash-list, remove
+       linked-list.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/readlink (License): Change to LGPL.
+
+2006-07-30  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
+       Initialize MOSTLYCLEANFILES to core and *.stackdump, so that core dumps
+       get removed.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (autoconf_minversion): If a --dir option is given and
+       relevant, look for configure.ac there, not in the current directory.
+       Also use a simple search for AC_PREREQ, not "autoconf --trace".
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_usage): Document option --no-libtool.
+       Handle option --no-libtool.
+       (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): Update
+       for changed semantics of $libtool variable.
+       (func_import): Likewise. If libtool is not used, show this through
+       an option --no-libtool.
+       (func_create_testdir): Update.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/setenv (Depends-on): Add unistd.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       Make it possible for gnulib-tool to work with locally modified or
+       augmented gnulib repositories.
+       * gnulib-tool (func_usage): Document --local-dir option.
+       (local_gnulib_dir): New variable.
+       Handle --local-dir option.
+       (func_lookup_file): New function.
+       (func_all_modules, func_verify_module): Look also in $local_gnulib_dir.
+       (func_get_description, func_get_filelist, func_get_description,
+       func_get_filelist, func_get_dependencies, func_get_autoconf_snippet,
+       func_get_automake_snippet, func_get_include_directive,
+       func_get_license, func_get_maintainer): Use func_lookup_file.
+       (func_import, func_create_testdir): Use func_lookup_file.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (import, update): If there is no Makefile.am, look at
+       aclocal.m4, instead of bailing out.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (SORT): New variable.
+       (func_usage): Undocument --assume-autoconf option.
+       Remove --assume-autoconf option handling.
+       (autoconf_minversion): Determine from the contents of configure.ac.
+       (func_import): Remove autoconf_minversion handling.
+       Suggested by Eric Blake.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Don't create the $docbase directory if
+       there is no file to store there.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_usage): Revert most of the 2006-07-15 change.
+       Categorize the options by when they are useful.
+
+2006-07-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Extend error message about missing
+       --doc-base.
+
+2006-07-28  Simon Josefsson  <jas@extundo.com>
+
+       * modules/inet_ntop (Depends-on): Depend on arpa_inet.
+       * modules/inet_pton (Depends-on): Likewise.
+
+2006-07-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/version-etc (Depends-on): Add stdarg.
+
+2006-07-24  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh (File stream based Input/Output):
+       Add fopen-safer, tmpfile-safer; remove stdio-safer.
+       * modules/getusershell (Depends-on): Change stdio-safer to fopen-safer.
+       * modules/fopen-safer, modules/tmpfile-safer: New files.
+       * modules/stdio-safer: Remove.
+
+2006-07-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/javacomp (Depends-on): Add unistd, javaversion, binary-io,
+       getline, pathname, fwriteerror, clean-temp, xvasprintf, strstr.
+
+2006-07-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/clean-temp: New file.
+
+2006-07-24  Bruno Haible  <bruno@clisp.org>
+
+       * modules/tmpdir: New file.
+       * MODULES.html.sh (File system functions): Add it.
+
+2006-07-23  Eric Blake  <ebb9@byu.net>
+
+       * modules/stdio-safer (Files): Add tmpfile-safer.c.
+       (Depends-on): Add binary-io.
+
+2006-07-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/close-stream: New file.
+       * modules/closeout (Description): Make it clear that it exits
+       with a diagnostic on error.
+       (Depends-on): Add close-stream.  Remove fpending, stdbool.
+       * MODULES.html.sh (File stream based Input/Output): Add close-stream.
+
+2006-07-22  Bruno Haible  <bruno@clisp.org>
+
+       Merge from GNU gettext 0.15.
+
+       2006-05-01  Bruno Haible  <bruno@clisp.org>
+
+               * build-aux/javacomp.sh.in: Update for changed javacomp.m4.
+
+       2006-07-22  Bruno Haible  <bruno@clisp.org>
+
+               * modules/javaversion: New file.
+               * MODULES.html.sh (Java): Add javaversion.
+
+       2006-03-12  Bruno Haible  <bruno@clisp.org>
+
+               * build-aux/javaexec.sh.in: Update for changed javaexec.m4.
+
+       2005-12-04  Bruno Haible  <bruno@clisp.org>
+
+               * build-aux/csharpexec.sh.in: Add support for 'clix' launcher
+               (untested).
+
+       2006-06-21  Bruno Haible  <bruno@clisp.org>
+
+               Avoid warnings from recent versions of mcs.
+               * build-aux/csharpcomp.sh.in (options_mcs): Don't use options
+               -o, -L, -r any more. Use options documented since mcs-1.0
+               instead. Similarly for -g.
+
+       2005-12-04  Bruno Haible  <bruno@clisp.org>
+
+               * build-aux/csharpcomp.sh.in: Suffix for resources is
+               .resources, not .resource.
+
+       2005-07-09  Bruno Haible  <bruno@clisp.org>
+
+               * build-aux/csharpcomp.sh.in (options_csc): For -l option,
+               add a .dll suffix.
+               Reported by Mark Junker <mjscod@gmx.de>.
+
+       2006-07-22  Bruno Haible  <bruno@clisp.org>
+
+               * modules/gettext: Upgrade to gettext-0.15.
+               (Files): Remove m4/isc-posix.m4. Add m4/lock.m4,
+               m4/visibility.m4.
+               Replace m4/inttypes.m4 with m4/inttypes-h.m4.
+
+2006-07-21  Eric Blake  <ebb9@byu.net>
+
+       * modules/stdlib-safer: New file.
+       * MODULES.html.sh (File stream based Input/Output): Add
+       stdlib-safer.
+
+2006-07-20  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh (func_all_modules): Add a missing func_begin_table.
+
+2006-07-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (func_usage): Document --assume-autoconf='latest-stable'.
+
+2006-07-20  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: Recognize new option --assume-autoconf.
+       (autoconf_minversion): New variable.
+       (func_get_filelist): Use it to decide whether to add onceonly_2_57.m4.
+
+2006-07-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/list: New file.
+       * modules/array-list: New file.
+       * modules/carray-list, modules/carray-list-tests: New files.
+       * modules/linked-list, modules/linked-list-tests: New files.
+       * modules/avltree-list, modules/avltree-list-tests: New files.
+       * modules/rbtree-list, modules/rbtree-list-tests: New files.
+       * modules/linkedhash-list, modules/linkedhash-list-tests: New files.
+       * modules/avltreehash-list, modules/avltreehash-list-tests: New files.
+       * modules/rbtreehash-list, modules/rbtreehash-list-tests: New files.
+       * modules/oset: New file.
+       * modules/array-oset: New file.
+       * modules/avltree-oset, modules/avltree-oset-tests: New files.
+       * modules/rbtree-oset, rbtree-oset-tests: New files.
+       * tests/test-carray_list.c: New file.
+       * tests/test-linked_list.c: New file.
+       * tests/test-avltree_list.c: New file.
+       * tests/test-rbtree_list.c: New file.
+       * tests/test-linkedhash_list.c: New file.
+       * tests/test-avltreehash_list.c: New file.
+       * tests/test-rbtreehash_list.c: New file.
+       * tests/test-avltree_oset.c: New file.
+       * tests/test-rbtree_oset.c: New file.
+       * MODULES.html.sh (Container data structures): New section.
+
+2006-07-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh: Add mkancestors.
+       * modules/mkancesdirs: New module.
+       * modules/mkdir-p (Files): Remove lib/chdir-safer.c, lib/chdir-safer.h,
+       lib/same-inode.h, m4/afs.m4, m4/chdir-safer.m4.
+       The chdir-safer and afs files are now orphans; I'll remove them
+       unless someone speaks up.
+       Add lib/dirchownmod.c, lib/dirchownmod.h.
+       (Depends-on): Remove alloca, chown, save-cwd, dirname.
+       Add lchown, mkancesdirs.
+       (Maintainer): Add self.
+
+2006-07-15  Karl Berry  <karl@gnu.org>
+
+       * gnulib-tool: help message wording/arrangement.
+
+2006-07-12  Simon Josefsson  <jas@extundo.com>
+
+       * modules/gendocs (License): Fix license, approved by Karl.
+
+2006-07-12  Eric Blake  <ebb9@byu.net>
+
+       * MODULES.html.sh: Add gendocs.
+
+2006-07-11  Eric Blake  <ebb9@byu.net>
+
+       * gnulib-tool: List --doc-base before --tests-base.
+
+2006-07-11  Eric Blake  <ebb9@byu.net>
+
+       * modules/fdl: New module, to install doc/fdl.texi.
+       * MODULES.html.sh: Add new section for documentation modules.
+       * gnulib-tool: Avoid space-tab.
+       (--doc-base): New option, to manage files from doc.
+
+2006-07-11  Bruno Haible  <bruno@clisp.org>
+
+       * README: Mention where to put documentation.
+
+2006-07-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * build-aux/depcomp, build-aux/install-sh: Sync from Automake.
+
+2006-07-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (func_get_filelist): Don't echo m4/onceonly_2_57.m4,
+       for the benefit of people using Autoconf 2.60.  If you want to
+       support older Autoconf versions you can copy m4/onceonly_2_57.m4
+       (or m4/onceonly.m4, if pre-2.57) manually.
+
+2006-07-07  Simon Josefsson  <jas@extundo.com>
+
+       * tests/test-crc.c: Change expected crc value, the test vector
+       were probably computed using the old broken crc.c?
+
+2006-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
+
+       * modules/getusershell (configure.ac): Use gl_FUNC_GETUSERSHELL,
+       not gl_PREREQ_GETUSERSHELL.
+
+2006-07-06  Simon Josefsson  <jas@extundo.com>
+
+       * modules/sys_socket (Files): Add m4/sockpfaf.m4 (this module is
+       now the canonical place for the M4 file).
+
+       * modules/getaddrinfo (Files): Remove m4/sockpfaf.m4, we get it
+       from the sys_socket dependency now.
+
+       * modules/inet_pton (Files): Ditto.
+
+       * modules/inet_ntop (Files): Ditto.
+
+2006-07-05  Eric Blake  <ebb9@byu.net>
+
+       * modules/getaddrinfo (Depends-on): Add snprintf.
+
+2006-07-04  Eric Blake  <ebb9@byu.net>
+
+       * modules/dirname-tests: New test module.
+       * tests/test-dirname.c: New file, replacing dirname.c
+       TEST_DIRNAME section that was recently deleted.
+
+2006-07-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/cycle-check (lib_SOURCES): Add same-inode.h.
+       From Mark D. Baushke.
+
+2006-07-03  Eric Blake  <ebb9@byu.net>
+
+       * modules/dirname (Depends-on): Add xstrndup.
+
+2006-07-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Merge from coreutils.
+       * MODULES.html.sh: Add xstrtold.
+       * modules/xstrtold: New file.
+       * modules/cycle-check (Files): Add lib/same-inode.h.
+       * modules/dirname (Files): Add m4/double-slash-root.m4.
+       * modules/getcwd (Files): Add m4/getcwd-abort-bug.m4.
+       * modules/mkdir-p (Files): Add lib/same-inode.h.
+       * modules/same (Files): Add lib/same-inode.h.
+
+2006-07-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/inttypes (Depends-on): No longer depends on stdint.
+       * modules/stdint (Description): Say more about assumptions.
+       Say that the fast types might differ.  Say macros are used.
+       (Files): Remove m4/size_max.m4, m4/wchar_t.m4.  Add m4/longlong.m4.
+       (Makefile.am): Revise list of substituted symbols to match
+       new stdint.m4.
+       * modules/stdint-tests (Files): Add m4/wchar_t.m4, m4/wint_t.m4.
+       (configure.ac): Add gt_TYPE_WCHAR_T, gt_TYPE_WINT_T.
+       * tests/test-stdint.c (verify_same_types)
+       [! (__GNUC__ >= 2 && DO_PEDANTIC)]: Put in a decl, so that
+       the code conforms to C99/C89.
+       Test for WCHAR_MIN and WCHAR_MAX only if HAVE_WCHAR_T.
+       Test for WINT_MIN and WINT_MAX only if HAVE_WINT_T.
+
+2006-06-29  Eric Blake  <ebb9@byu.net>
+
+       * MODULES.html.sh: Add sys_stat.
+       * modules/sys_stat: New module.
+       * modules/mkstemp (Depends-on): Add sys_stat.
+
+2006-06-29  Jim Meyering  <jim@meyering.net>
+
+       * modules/strftime (Maintainer): Add my name, since with the
+       FPRINTFTIME changes strftime.c has forked from glibc.
+
+2006-06-29  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcwidth (License): Change to LGPL.
+
+2006-06-29  Derek Price  <derek@ximbiot.com>
+
+       * modules/c-bs-a: Removed - \a is C89.
+       * MODULES.html.sh: Remove c-bs-a.
+
+2006-06-28  Bruno Haible  <bruno@clisp.org>
+
+       * modules/wcwidth (Files): Add m4/wchar_t.m4.
+
+2006-06-28  Eric Blake  <ebb9@byu.net>
+
+       * modules/wcwidth: New file.
+       * modules/mbchar (Depends-on): Add wcwidth.
+       * modules/mbswidth (Depends-on): Add wcwidth.
+       * MODULES.html.sh: Add wcwidth.
+
+2006-06-28  Simon Josefsson  <jas@extundo.com>
+
+       * tests/test-getaddrinfo.c: Test getnameinfo too.  Call WSAStartup
+       on _WIN32.
+
+       * modules/getaddrinfo (Depends-on): Add inet_ntop, needed by
+       getnameinfo.
+
+2006-06-27  Simon Josefsson  <jas@extundo.com>
+
+       * modules/sys_select: New file, suggested by Bruno Haible, Paul
+       Eggert and Martin Lambers.
+
 2006-06-26  Bruno Haible  <bruno@clisp.org>
 
        * modules/stdint (Makefile.am): Also substitute HAVE_WCHAR_H.
 
 2006-06-23  Simon Josefsson  <jas@extundo.com>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_emit_lib_Makefile_am): Define MOSTLYCLEANDIRS.
        Emit mostlyclean-local rule.
        * modules/wait-process: Likewise.
 
 2006-04-23  Claudio Fontana  <claudio@gnu.org>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * modules/gettext (Makefile.am): Add a -I flag for <libintl.h>.
        * gnulib-tool (func_emit_lib_Makefile_am): Emit empty default value