* modules/fnmatch (Depends-on): Depend on wchar.
[gnulib.git] / ChangeLog
index 3e68811..5fe7101 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,241 @@
+2007-01-16  Eric Blake  <ebb9@byu.net>
+
+       * modules/fnmatch (Depends-on): Depend on wchar.
+       * lib/fnmatch.c (WIDE_CHAR_SUPPORT): Assume <wchar.h>.
+       * m4/fnmatch.m4: Likewise.
+       * modules/mbchar (Makefile.am): Assume <wchar.h>.
+       * m4/mbchar.m4: Likewise.
+       * modules/mbswidth (Depends-on): Depend on wchar.
+       * lib/mbswidth.c: Assume <wchar.h>.
+       * m4/mbswidth.m4: Likewise.
+       * modules/quotearg (Depends-on): Depend on wchar.
+       * lib/quotearg.c: Assume <wchar.h>.
+       * m4/quotearg.m4: Likewise.
+       * modules/regex (Depends-on): Depend on wchar.
+       * lib/regex_internal.h: Assume <wchar.h>.
+       * m4/regex.m4: Likewise.
+       * modules/stdint (Depends-on): Depend on wchar.
+       * lib/stdint_.h [!defined WCHAR_MIN]: Assume <wchar.h>.
+       * m4/stdint.m4: Likewise.
+       * tests/test-stdint.c [HAVE_WINT_T]: Likewise.
+       * modules/strftime (Depends-on): Depend on wchar.
+       * lib/strftime.c (DO_MULTIBYTE): Assume <wchar.h>.
+       * modules/strtol (Depends-on): Depend on wchar.
+       * lib/strtol.c: Assume <wchar.h>.
+       * modules/wcwidth (Depends-on): Depend on wchar.
+       * lib/wcwidth.h: Assume <wchar.h>.
+       * m4/wcwidth.m4: Likewise.
+
+2007-01-16  Bruno Haible  <bruno@clisp.org>
+
+       * modules/csharpexec-script: New, created from...
+       * modules/csharpexec: ... this.
+
+2007-01-16  Paolo Bonzini  <bonzini@gnu.org>
+
+       * modules/javaexec-script: New, created from...
+       * modules/javaexec: ... this.
+
+2007-01-16  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+
+       * modules/poll (Dependencies): Add sys_select.
+
+2007-01-15  Jim Meyering  <jim@meyering.net>
+
+       * m4/readutmp.m4 (gl_READUTMP): Work around AIX 4.3 struct-
+       redefinition bug when using both <utmp.h> and <utmpx.h> headers.
+       * lib/readutmp.h: Likewise.  Reported by Daniel Richard G. in
+       <http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/9415>.
+
+2007-01-15  Bruno Haible  <bruno@clisp.org>
+
+       * modules/striconveh: New file.
+       * lib/striconveh.h: New file.
+       * lib/striconveh.c: New file.
+       * MODULES.html.sh (Internationalization functions): Add striconveh.
+
+       * modules/striconveh-tests: New file.
+       * tests/test-striconveh.c: New file.
+
+2007-01-15  Bruno Haible  <bruno@clisp.org>
+
+       * lib/striconv.c (str_cd_iconv): Use the first algorithm if iconv is
+       not from GNU libiconv or GNU libc.
+
+2007-01-15  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-intro.texi (Copyright): Explain the different license
+       terms for module descriptions, autoconf macros, tests, documentation.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/striconv-tests: New file.
+       * tests/test-striconv.c: New file.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/iconv-tests: New file.
+       * tests/test-iconv.c: New file.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_get_license): For test modules, use the license of
+       the main module.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/iconv (Include): Clarify that <iconv.h> can only be included
+       if iconv is found to exist.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/c-ctype-tests: New file.
+       * tests/test-c-ctype.c: New file.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/binary-io-tests: New file.
+       * tests/test-binary-io.sh: New file.
+       * tests/test-binary-io.c: New file.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/array-oset-tests: New file.
+       * tests/test-array_oset.c: New file.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/array-list-tests: New file.
+       * tests/test-array_list.c: New file.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Don't unnecessarily run configure
+       and make.
+       Reported by Simon Josefsson in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-01/msg00139.html>
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/allocsa-tests: New file.
+       * tests/test-allocsa.c: New file.
+
+2007-01-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fchdir (Depends-on): Add absolute-header.
+       * modules/unistd (Depends-on): Likewise.
+
+2006-12-30  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fchdir: New file.
+       * modules/unistd (Files): Add lib/unistd_.h.
+       (Makefile.am): Generate unistd.h from unistd_.h.
+       * lib/fchdir.c: New file.
+       * lib/dirent_.h: New file.
+       * lib/unistd_.h: New file.
+       * lib/fcntl_.h (open) [FCHDIR_REPLACEMENT]: New replacement.
+       * m4/fchdir.m4: New file.
+       * m4/unistd_h.m4 (gl_PREREQ_UNISTD): New macro.
+       (gl_HEADER_UNISTD): Invoke it.
+       * lib/dup-safer.c (dup_safer) [FCHDIR_REPLACEMENT]: Use the dup
+       function.
+       * lib/backupfile.c (opendir, closedir): Undefine.
+       * lib/chown.c (open, close): Undefine.
+       * lib/clean-temp.c (open, close): Undefine.
+       * lib/copy-file.c (open, close): Undefine.
+       * lib/execute.c (open, close): Undefine.
+       * lib/fsusage.c (open, close): Undefine.
+       * lib/gc-gnulib.c (open, close): Undefine.
+       * lib/getcwd.c (opendir, closedir): Undefine.
+       * lib/glob.c (opendir, closedir): Undefine.
+       * lib/javacomp.c (open, close): Undefine.
+       * lib/mountlist.c (open, close, opendir, closedir): Undefine.
+       * lib/openat-proc.c (open, close): Undefine.
+       * lib/pagealign_alloc.c (open, close): Undefine.
+       * lib/pipe.c (open, close): Undefine.
+       * lib/progreloc.c (open, close): Undefine.
+       * lib/savedir.c (opendir, closedir): Undefine.
+       * lib/utime.c (open, close): Undefine.
+       * MODULES.html.sh (Support for systems lacking POSIX:2001): Add fchdir.
+
+2007-01-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/striconv.c (mem_cd_iconv): Align the temporary buffer.
+
+2007-01-12  Eric Blake  <ebb9@byu.net>
+
+       Provide a robust <wchar.h>.  Further simplifications are now
+       possible in other modules, but not included here.
+       * modules/wchar: New module.
+       * m4/wchar.m4: New file.
+       * lib/wchar_.h: Likewise.
+       * modules/mbchar (Depends-on): Depend on wchar, as the first use
+       of the new module.
+       * MODULES.html.sh (Extended multibyte and wide character utilities):
+       New section.
+
+2007-01-12  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/xreadlink.c (SYMLINK_MAX) [!defined SYMLINK_MAX]: Define
+       to a reasonable default for memory allocation.
+       (xreadlink): Don't allocate a huge buffer, to work around a buggy
+       file system that reports garbage st_size values for symlinks.
+       Problem reported by Liyang Hu.
+
+2007-01-11  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_all_modules): Exclude all .* files (e.g.,
+       Emacs .#* auto-save files).
+
+2007-01-11  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_all_modules): Exclude all files inside the CVS
+       directory.
+
+2007-01-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Use @...@ consistently in lib/wctype_.h.
+       * lib/wctype_.h [HAVE_WINT_T]: Go back to using @...@, but rely
+       on it being set to 1 or 0.
+       * m4/wctype.m4 (gl_WCTYPE_H): Set HAVE_WINT_T to 1 or 0, and
+       go back to AC_SUBSTing it.
+       * modules/wctype (Makefile.am): Undo previous change.
+
+2007-01-10  Eric Blake  <ebb9@byu.net>
+
+       * lib/wctype_.h [HAVE_WINT_T]: Rely on AC_DEFINE.
+       * m4/wctype.m4 (gl_WCTYPE_H): No need to AC_SUBST(HAVE_WINT_T).
+       * modules/wctype (Makefile.am): Likewise.
+       Reported by Chris McGuire.
+
+2007-01-10  Jim Meyering  <jim@meyering.net>
+
+       fts.c: a small readability/maintainability improvement
+       * lib/fts.c (fts_read): Make this code slightly more readable and
+       maintainable by hoisting the "sp->fts_cur = p" assignments to
+       immediately follow the statements that set P.  Derived from
+       the patch by Miloslav Trmac in http://bugzilla.redhat.com/222089.
+
+2007-01-10  Eric Blake  <ebb9@byu.net>
+
+       * lib/wctype_.h [HAVE_WINT_T]: Include <stddef.h> before
+       <wchar.h>, to work around BSDI bug in BSD/OS 4.0.1.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
+       * m4/wint_t.m4 (gt_TYPE_WINT_T): Likewise.
+       Reported by Chris McGuire.
+
+2007-01-09  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_all_modules): Use POSIX conforming escaping
+       in sed script.
+
+2007-01-09  Bruno Haible  <bruno@clisp.org>
+
+       * MODULES.html.sh: Accept options --cvs-urls, --git-urls.
+       (repo_url_prefix, repo_url_suffix, repo_url_suffix_repl): New
+       variables.
+       (func_module): Use them.
+
 2007-01-09  Bruno Haible  <bruno@clisp.org>
 
        * modules/unistr/base: New file.