New modules 'unistr/u8-cmp', 'unistr/u16-cmp', 'unistr/u32-cmp'.
[gnulib.git] / ChangeLog
index 1a775f1..9c67e8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,239 @@
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_all_modules): Use find, not ls, to traverse the
+       modules directory. Filter out CVS, ChangeLog, COPYING, README also from
+       subdirectories.
+
+2007-01-08  Karl Berry  <karl@gnu.org>
+
+       * doc/error.texi: mention that main() fns must set program_name
+       when progname is used.
+
+2007-01-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/wctype.m4 (gl_WCTYPE_H): Compute ABSOLUTE_WCTYPE_H even if
+       WCTYPE_H is empty, for the benefit of builds from non-distclean
+       directories.  Problem reported by Eric Blake in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-01/msg00157.html>.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Remove
+       PROVIDE_CANONICALIZE_FILENAME_MODE macro definition.
+       * lib/canonicalize.h: Test GNULIB_CANONICALIZE instead of
+       PROVIDE_CANONICALIZE_FILENAME_MODE.
+       * modules/canonicalize (configure.ac): Use gl_MODULE_INDICATOR.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/fts.m4 (gl_FUNC_FTS_LGPL): Remove _LGPL_PACKAGE macro definition.
+       * lib/fts_.h (_LGPL_PACKAGE): Remove macro.
+       Use !GNULIB_FTS instead of _LGPL_PACKAGE.
+       * lib/fts.c: Likewise.
+       * modules/fts (configure.ac): Use gl_MODULE_INDICATOR.
+
+2006-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/utf8-ucs4-safe: New file.
+       * lib/utf8-ucs4-safe.h: New file.
+       * lib/unistr/utf8-ucs4-safe.c: New file.
+
+       * modules/utf16-ucs4-safe: New file.
+       * lib/utf16-ucs4-safe.h: New file.
+       * lib/unistr/utf16-ucs4-safe.c: New file.
+
+       * MODULES.html.sh (Unicode string functions): Add the new modules.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * modules/utf8-ucs4 (Files, lib_SOURCES): Add unistr/utf8-ucs4.c.
+       (Depends-on): Add unitypes.
+       * lib/utf8-ucs4.h: Add double-inclusion guard. Include unitypes.h.
+       (u8_mbtouc_aux): Move out to separate file.
+       (u8_mbtouc): Use ucs4_t, uint8_t types.
+       * lib/unistr/utf8-ucs4.c: New file.
+
+       * modules/utf16-ucs4 (Files, lib_SOURCES): Add unistr/utf16-ucs4.c.
+       (Depends-on): Add unitypes.
+       * lib/utf16-ucs4.h: Add double-inclusion guard. Include unitypes.h.
+       (u16_mbtouc_aux): Move out to separate file.
+       (u16_mbtouc): Use ucs4_t, uint16_t types.
+       * lib/unistr/utf16-ucs4.c: New file.
+
+       * modules/ucs4-utf8 (Files, lib_SOURCES): Add unistr/ucs4-utf8.c.
+       (Depends-on): Add unitypes.
+       * lib/ucs4-utf8.h: Add double-inclusion guard. Include unitypes.h.
+       (u8_uctomb_aux): Move out to separate file.
+       (u8_uctomb): Use ucs4_t, uint8_t types.
+       * lib/unistr/ucs4-utf8.c: New file.
+
+       * modules/ucs4-utf16 (Files, lib_SOURCES): Add unistr/ucs4-utf16.c.
+       (Depends-on): Add unitypes.
+       * lib/ucs4-utf16.h: Add double-inclusion guard. Include unitypes.h.
+       (u16_uctomb_aux): Move out to separate file.
+       (u16_uctomb): Use ucs4_t, uint16_t types.
+       * lib/unistr/ucs4-utf16.c: New file.
+
+2006-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unitypes: New file.
+       * lib/unitypes.h: New file.
+       * MODULES.html.sh (func_all_modules): New section "Unicode string
+       functions". Move ucs4-utf8, ucs4-utf16, utf8-ucs4, utf16-ucs4 to
+       this section. Add unitypes.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       Avoid variable names that conflict with those from libtool.
+       * m4/lib-link.m4 (AC_LIB_RPATH, AC_LIB_LINKFLAGS_BODY,
+       AC_LIB_LINKFLAGS_FROM_LIBS): Rename libext to acl_libext,
+       shlibext to acl_shlibext, libname_spec to acl_libname_spec,
+       library_names_spec to acl_library_names_spec, hardcode_* to
+       acl_hardcode_*.
+       Reported by Ralf Wildenhues.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/gc-arcfour.m4 (gl_GC_ARCFOUR): Remove GC_USE_ARCFOUR macro
+       definition.
+       * m4/gc-arctwo.m4 (gl_GC_ARCTWO): Remove GC_USE_ARCTWO macro
+       definition.
+       * m4/gc-des.m4 (gl_GC_DES): Remove GC_USE_DES macro definition.
+       * m4/gc-hmac-md5.m4 (gl_GC_HMAC_MD5): Remove GC_USE_HMAC_MD5 macro
+       definition.
+       * m4/gc-hmac-sha1.m4 (gl_GC_HMAC_SHA1): Remove GC_USE_HMAC_SHA1 macro
+       definition.
+       * m4/gc-md2.m4 (gl_GC_MD2): Remove GC_USE_MD2 macro definition.
+       * m4/gc-md4.m4 (gl_GC_MD4): Remove GC_USE_MD4 macro definition.
+       * m4/gc-md5.m4 (gl_GC_MD5): Remove GC_USE_MD5 macro definition.
+       * m4/gc-random.m4 (gl_GC_RANDOM): Remove GC_USE_RANDOM macro
+       definition.
+       * m4/gc-rijndael.m4 (gl_GC_RIJNDAEL): Remove GC_USE_RIJNDAEL macro
+       definition.
+       * m4/gc-sha1.m4 (gl_GC_SHA1): Remove GC_USE_SHA1 macro definition.
+       * lib/gc-gnulib.c: Use GNULIB_GC_<algorithm> instead of
+       GC_USE_<algorithm>.
+       * lib/gc-libgcrypt.c: Likewise.
+       * modules/gc-arcfour (configure.ac): Use gl_MODULE_INDICATOR.
+       * modules/gc-arctwo (configure.ac): Likewise.
+       * modules/gc-des (configure.ac): Likewise.
+       * modules/gc-hmac-md5 (configure.ac): Likewise.
+       * modules/gc-hmac-sha1 (configure.ac): Likewise.
+       * modules/gc-md2 (configure.ac): Likewise.
+       * modules/gc-md4 (configure.ac): Likewise.
+       * modules/gc-md5 (configure.ac): Likewise.
+       * modules/gc-random (configure.ac): Likewise.
+       * modules/gc-rijndael (configure.ac): Likewise.
+       * modules/gc-sha1 (configure.ac): Likewise.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/close-stream.m4 (gl_CLOSE_STREAM): Remove GNULIB_CLOSE_STREAM
+       macro definition.
+       * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Remove GNULIB_FCNTL_SAFER macro
+       definition.
+       * m4/stdio-safer.m4 (gl_FOPEN_SAFER): Remove GNULIB_FOPEN_SAFER macro
+       definition.
+       * modules/close-stream (configure.ac): Invoke gl_MODULE_INDICATOR.
+       * modules/fcntl-safer (configure.ac): Likewise.
+       * modules/fopen-safer (configure.ac): Likewise.
+       * modules/fwriteerror (configure.ac): Likewise. Remove explicit
+       GNULIB_FWRITEERROR macro definition.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/gnulib-common.m4: New file.
+       * gnulib-tool (func_get_autoconf_snippet): Undo last change.
+       (func_get_filelist): Add m4/gnulib-common.m4.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Simplify the sorting
+       command.
+
+2007-01-08  Jim Meyering  <jim@meyering.net>
+
+       Use a more robust test for a "can't happen" condition.
+       * lib/fts.c (fts_read): Revert the change of 2006-11-22, since it
+       narrowed the st_size value.  Presuming the "can't happen" condition
+       is true, that narrowing could conceivably convert an invalid st_size
+       value into a valid one.  Instead, use a change based on Matthew
+       Woehlke's original patch.
+
+       Slight readability improvement: use an assert-like macro
+       in place of literal "abort ()" uses.
+       * lib/fts.c (fts_assert): Define.
+       (fts_set_stat_required, cwd_advance_fd, fts_read, fd_ring_check):
+       Use this macro instead of a bare 'abort'.
+
+2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Don't worry about using IRIX 5.3's wctype.h broken definitions;
+       simply work around them.
+       * lib/wctype_.h: Remove test for HAVE_WCTYPE_CTMP_BUG.
+       (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, iswlower):
+       (iswprint, iswpunct, iswspace, iswupper, iswxdigit): Undef before declaring.
+       Don't bother to define as macros, since the standard doesn't require it.
+       * m4/wctype.m4 (WCTYPE_H, ABSOLUTE_WCTYPE_H): Simplify, since we no
+       longer worry about IRIX 5.3.
+       (HAVE_WCTYPE_CTMP_BUG): Remove.
+
+2007-01-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/wctype_.h (_ctmp_) [HAVE_WCTYPE_CTMP_BUG]: Now of type wchar_t,
+       not wint_t.  Also, include <ctype.h>, to fix another IRIX bug.
+       * m4/wctype.m4 (gl_WCTYPE_H): Likewise.
+       Problems reported by Georg Schwarz for IRIX 5.3.
+
+       * gnulib-tool (autoconf_minversion): Take the maximum version number
+       found, not the minimum.  Problem reported by James Youngman.
+
+2007-01-03  Karl Berry  <karl@gnu.org>
+
+       * doc/error.texi: new file, explaining interaction with progname.
+       * doc/gnulib.texi: include it.  Update copyright.
+
+2007-01-03  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_create_testdir): Run AC_CANONICAL_BUILD and
+       AC_CANONICAL_HOST, to improve autobuild outputs.
+
+2007-01-03  Paolo Bonzini  <bonzini@gnu.org>
+           Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+
+       * lib/poll.c (poll): Use recv on Mac OS X to distinguish connected
+       sockets, server sockets, and other file descriptors.  Count errors
+       to compute the return value.  Reorder the code a bit to be easier
+       to follow.  Don't set event bits that were not requested (except
+       POLLERR and POLLHUP).
+
+2007-01-01  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lchmod (Include): Require lchmod.h, not lchown.h.
+
+2007-01-03  Jim Meyering  <jim@meyering.net>
+
+       * modules/fts-lgpl (Depends-on): Add i-ring.  Reported by Bruno Haible.
+
+2007-01-02  Bruno Haible  <bruno@clisp.org>
+
+       * modules/settime (Include): Require timespec.h.
+       * modules/nanosleep (Include): Likewise.
+
+2007-01-01  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_copyright_notice): Bump year.
+       (func_get_autoconf_snippet): Emit a GNULIB_<modulename> macro.
+
+2007-01-01  Bruno Haible  <bruno@clisp.org>
+
+       Improve support for OpenBSD.
+       * build-aux/config.rpath (libname_spec): Export.
+       (library_names_spec): New variable. Export.
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Extract libname_spec and
+       library_names_spec from the config.rpath output. Locate shared library
+       through the name pattern in library_names_spec.
+
 2007-01-01  Eric Blake  <ebb9@byu.net>
 
        * lib/version-etc.c (COPYRIGHT_YEAR): Bump for new year.
        * gnulib-tool (func_import): Also copy m4/gnulib-tool.m4. Omit
        declaration macro definitions from generated gnulib.m4.
 
-2005-08-30  "Oskar Liljeblad"  <oskar@osk.mine.nu>
+2005-08-30  Oskar Liljeblad  <oskar@osk.mine.nu>
 
        * lib/iconvme.h: Add prototype for iconv_alloc.
 
 
        * modules/byteswap (Makefile.am): Fix rule to not assume GNU make.
 
-2005-08-29  "Oskar Liljeblad"  <oskar@osk.mine.nu>
+2005-08-29  Oskar Liljeblad  <oskar@osk.mine.nu>
 
        * lib/iconvme.c: Split iconv_string into iconv_alloc.
 
        * m4/uintmax_t.m4: New file.
        * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
 
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
   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.