New module 'environ'.
[gnulib.git] / ChangeLog
index 468a04f..36e7e06 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,90 @@
+2008-02-24  Bruno Haible  <bruno@clisp.org>
+
+       New module 'environ'.
+       * modules/environ: New file.
+       * lib/unistd.in.h (environ): New declaration.
+       * m4/environ.m4: New file.
+       (gt_CHECK_VAR_DECL): Moved here from m4/setenv.m4. Undefine gt_cv_var
+       after use.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_ENVIRON and
+       HAVE_DECL_ENVIRON.
+       * modules/unistd (Makefile.am): Substitute also GNULIB_ENVIRON and
+       HAVE_DECL_ENVIRON.
+       * doc/posix-functions/environ.texi: Mention module 'environ'. Remove
+       wrong claim that 'environ' is missing on some systems.
+       * modules/execute (Depends-on): Add environ.
+       * lib/execute.c (environ): Remove fallback declaration.
+       * modules/pipe (Depends-on): Add environ.
+       * lib/pipe.c (environ): Remove fallback declaration.
+       * modules/setenv (Depends-on): Add environ.
+       * lib/setenv.c (environ): Remove fallback declaration.
+       * modules/unsetenv (Depends-on): Add environ.
+       * lib/unsetenv.c (environ): Remove fallback declaration.
+       * m4/setenv.m4 (gt_CHECK_VAR_DECL): Remove macro. Moved to
+       m4/environ.m4.
+       (gl_PREREQ_SETENV): Require gl_ENVIRON instead of testing for environ.
+       (gl_PREREQ_UNSETENV): Likewise.
+
+2008-02-24  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-functions/environ.texi: Document the MacOS X problem.
+
+2008-02-20  Bob Proulx  <bob@proulx.com>
+
+       Enable use of older two part flavor 'git describe'.
+       * build-aux/git-version-gen: If using the older two part flavor of
+       git version then recreate the third part now present in the
+       newer three part flavor of git describe.
+
+2008-02-20  Martin Buchholz  <martin@xemacs.org>  (tiny change)
+
+       * lib/fts.c (fts_build): Typo correction to comment.
+
+2008-02-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/git-merge-changelog.c (main) [split_merged_entry]: Avoid
+       generating no-op conflicts.
+
+2008-02-17  Bruno Haible  <bruno@clisp.org>
+
+       Speed up by 10%.
+       * lib/git-merge-changelog.c (main): Use the iterator to iterate through
+       result_entries, rather than an index-based loop.
+
+2008-02-17  Bruno Haible  <bruno@clisp.org>
+
+       Speed up by 25%.
+       * lib/git-merge-changelog.c (struct entry): New fields 'hashcode',
+       'hashcode_cached'.
+       (entry_create): New function.
+       (entry_hashcode): Use the cached hashcode if possible.
+       (read_changelog_file, try_split_merged_entry): Use entry_create.
+
+2008-02-17  Bruno Haible  <bruno@clisp.org>
+
+       Speed up from O(n^2) to O(n) for long ChangeLog files.
+       * lib/git-merge-changelog.c: Include gl_rbtreehash_list.h.
+       (read_changelog_file): Change implementation of entries_reversed list
+       to rbtreehash.
+       * modules/git-merge-changelog (Depends-on): Add rbtreehash-list.
+
+2008-02-17  Bruno Haible  <bruno@clisp.org>
+
+       New option --split-merged-entry.
+       * lib/git-merge-changelog.c (FSTRCMP_STRICTER_THRESHOLD): New macro.
+       (find_paragraph_end, try_split_merged_entry): New functions.
+       (long_options): Add option --split-merged-entry.
+       (usage): Document option --split-merged-entry.
+       (main): Implement option --split-merged-entry.
+       Reported by Eric Blake.
+
+2008-02-17  Bruno Haible  <bruno@clisp.org>
+
+       * lib/git-merge-changelog.c: Include c-strstr.h.
+       (main): Support the "git pull --rebase" situation.
+       * modules/git-merge-changelog (Depends-on): Add c-strstr.
+       Reported by Eric Blake.
+
 2008-02-16  Eric Blake  <ebb9@byu.net>
 
        Avoid doubling \ in common case of "c-maybe" quoting style.
        * m4/uintmax_t.m4: New file.
        * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
 
-Copyright (C) 1997-2008 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.
+
+       -----
+
+       Copyright (C) 1997-2008 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.