update-copyright: much ado about intervals
[gnulib.git] / ChangeLog
index 46b79a9..0f65202 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,9 +1,135 @@
+2009-08-14  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: much ado about intervals
+       * build-aux/update-copyright: Implement and document
+       UPDATE_COPYRIGHT_USE_INTERVALS to control expansion and collapse
+       of copyright year intervals.
+       Also, document UPDATE_COPYRIGHT_YEAR.
+       * tests/test-update-copyright.sh: Test it.
+
+       update-copyright: convert 2-digit to 4-digit years
+       * build-aux/update-copyright: Implement and document.
+       * tests/test-update-copyright.sh: Update.
+
+2009-08-14  Jim Meyering  <meyering@redhat.com>
+
+       test-exclude: avoid coreutils "make check" failure
+       * tests/test-exclude.c (ARGMATCH_DIE_DECL) [ARGMATCH_DIE_DECL]: Define,
+       just as in test-argmatch.c.
+
+2009-08-13  Eric Blake  <ebb9@byu.net>
+
+       test-dup2: fix bad assumption
+       * tests/test-dup2.c (main): Tolerate leaked fds from environment.
+       Reported by Peter Breitenlohner <peb@mppmu.mpg.de>.
+
+       test-version-etc: fix CRLF portability issue
+       * tests/test-version-etc.sh: Use tr, not sed, as not all sed
+       recognize \r.
+       * tests/test-argp-version-etc-1.sh: Likewise.
+
+       getopt: update client modules
+       * modules/argp (Depends-on): Use getopt-gnu.
+       * modules/git-merge-changelog (Depends-on): Likewise.
+       * modules/long-options (Depends-on): Likewise.
+       * modules/xstrtol (Depends-on): Likewise.
+
+2009-08-13  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-version-etc.sh: Don't fail on different
+       project/version.  Don't fail on CRLF differences.  Rewrite to use
+       multiple -e instead of multiple sed forks, suggested by Eric Blake
+       <ebb9@byu.net>.
+       * tests/test-argp-version-etc-1.sh: Likewise.
+
+2009-08-13  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-version-etc.sh: Don't fail on different
+       project/version.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Tests for modules 'getopt-posix', 'getopt-gnu'.
+       * modules/getopt-posix-tests: New file.
+       * tests/test-getopt.c: New file.
+       * tests/test-getopt.h: New file.
+       * tests/test-getopt_long.h: New file.
+
+       New modules 'getopt-posix', 'getopt-gnu'.
+       * modules/getopt-gnu: New file, renamed from modules/getopt.
+       * modules/getopt-posix: New file.
+       * modules/getopt: Turn into an obsolete alias for getopt-gnu.
+       * m4/getopt.m4 (gl_FUNC_GETOPT_POSIX, gl_FUNC_GETOPT_GNU): New macros.
+       (gl_GETOPT): Remove macro.
+       (gl_GETOPT_CHECK_HEADERS): Do some checks only for gl_FUNC_GETOPT_GNU.
+       Disable the test against BSD systems that declare optreset. Test
+       against mingw bug. Test against lack of support of optional arguments
+       on many platforms.
+       * doc/glibc-headers/getopt.texi: Update module name and list of
+       relevant platforms.
+       * doc/posix-functions/getopt.texi: Mention modules 'getopt-posix' and
+       'getopt-gnu' and more portability problems.
+       * NEWS: Mention the changes.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Ensure that optarg etc. get declared by <unistd.h>.
+       * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Require
+       AC_USE_SYSTEM_EXTENSIONS.
+       * modules/getopt (Depends-on): Add 'extensions'.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test link errors.
+       * modules/pipe-filter-ii-tests (Makefile.am): Define
+       test_pipe_filter_ii1_LDADD and test_pipe_filter_ii2_main_LDADD.
+       * modules/pipe-filter-gi-tests (Makefile.am): Define
+       test_pipe_filter_gi1_LDADD and test_pipe_filter_gi2_main_LDADD.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
 2009-08-12  Bruno Haible  <bruno@clisp.org>
 
+       * m4/getopt.m4 (gl_REPLACE_GETOPT): New macro, was called
+       gl_GETOPT_SUBSTITUTE before.
+       (gl_GETOPT): Use it.
+       * m4/argp.m4 (gl_ARGP): Update.
+       Reported by Sergey Poznyakoff.
+
        * m4/getopt.m4: Reorder macros.
        (gl_GETOPT): Inline gl_GETOPT_SUBSTITUTE.
        (gl_GETOPT_SUBSTITUTE): Remove macro.
 
+2009-08-12  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       Minor improvement in gitlog-to-changelog
+
+       * build-aux/gitlog-to-changelog: New option `--format' makes
+       output format string configurable.
+
+2009-08-12  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       Optimize exclude: use hash tables for non-wildcard patterns.
+
+       * lib/exclude.c: Include hash.h and mbuiter.h
+       (struct exclude_pattern, exclude_segment): New data types.
+       (struct exclude): Rewrite.
+       (fnmatch_pattern_has_wildcards): New function.
+       (new_exclude_segment, free_exclude_segment): New functions.
+       (excluded_file_pattern_p, excluded_file_name_p): New functions.
+       (excluded_file_name, add_exclude): Rewrite using new struct exclude.
+       * lib/exclude.h (is_fnmatch_pattern): New prototype.
+       * modules/exclude: Depend on hash and mbuiter.
+
+       * modules/exclude-tests: New file.
+       * tests/test-exclude.c: New file.
+       * tests/test-exclude1.sh: New file.
+       * tests/test-exclude2.sh: New file.
+       * tests/test-exclude3.sh: New file.
+       * tests/test-exclude4.sh: New file.
+       * tests/test-exclude5.sh: New file.
+       * tests/test-exclude6.sh: New file.
+       * tests/test-exclude7.sh: New file.
+
 2009-08-12  Bruno Haible  <bruno@clisp.org>
 
        Ensure that getopt() gets declared by <unistd.h>.