maint.mk: import changes to syntax-check macros from coreutils
[gnulib.git] / ChangeLog
index aeba6b7..069ae1f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,149 @@
+2009-04-07  Reuben Thomas  <rrt@sc3d.org>
+
+       maint.mk: import changes to syntax-check macros from coreutils
+       * top/maint.mk (_prohibit_regexp, _header_without_use): Define.
+       Use them in the relevant macros.
+
+2009-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix unportable use of bit-fields.
+       * lib/unicase/special-casing.h (struct special_casing_rule): Change the
+       bit-field type from 'int' to 'signed int'. Otherwise Solaris cc,
+       AIX xlc, and OSF/1 cc interpret it as 'unsigned int'.
+
+2009-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failures on AIX and OSF/1.
+       * tests/unicase/test-u8-casefold.c (check): Account for the possibility
+       that malloc(0) = NULL.
+       * tests/unicase/test-u8-tolower.c (check): Likewise.
+       * tests/unicase/test-u8-totitle.c (check): Likewise.
+       * tests/unicase/test-u8-toupper.c (check): Likewise.
+       * tests/unicase/test-u16-casefold.c (check): Likewise.
+       * tests/unicase/test-u16-tolower.c (check): Likewise.
+       * tests/unicase/test-u16-totitle.c (check): Likewise.
+       * tests/unicase/test-u16-toupper.c (check): Likewise.
+       * tests/unicase/test-u32-casefold.c (check): Likewise.
+       * tests/unicase/test-u32-tolower.c (check): Likewise.
+       * tests/unicase/test-u32-totitle.c (check): Likewise.
+       * tests/unicase/test-u32-toupper.c (check): Likewise.
+       * tests/uninorm/test-u8-nfc.c (check): Likewise.
+       * tests/uninorm/test-u8-nfd.c (check): Likewise.
+       * tests/uninorm/test-u8-nfkc.c (check): Likewise.
+       * tests/uninorm/test-u8-nfkd.c (check): Likewise.
+       * tests/uninorm/test-u16-nfc.c (check): Likewise.
+       * tests/uninorm/test-u16-nfd.c (check): Likewise.
+       * tests/uninorm/test-u16-nfkc.c (check): Likewise.
+       * tests/uninorm/test-u16-nfkd.c (check): Likewise.
+       * tests/uninorm/test-u32-nfc.c (check): Likewise.
+       * tests/uninorm/test-u32-nfd.c (check): Likewise.
+       * tests/uninorm/test-u32-nfkc.c (check): Likewise.
+       * tests/uninorm/test-u32-nfkd.c (check): Likewise.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       Work around an autoconf limitation.
+       * gnulib-tool (func_emit_lib_Makefile_am): Omit the "Reproduce by"
+       comment line if it would be longer than 3 KB.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failure with libiconv-1.13.
+       * tests/test-striconveh.c (main): Allow result of libiconv 1.13 as one
+       of the expected test results.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Don't add the library to
+       noinst_LTLIBRARIES if the Makefile.am in the same directory specifies
+       that it should be installed.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: New option --copy-file.
+       (func_usage): Document it.
+       (func_dest_tmpfilename): Moved out of func_import.
+       (func_add_file, func_update_file): New functions, extracted from
+       func_import.
+       (func_import): Update.
+
+2009-04-05  Karl Berry  <karl@gnu.org>
+
+       * README: prominently mention gnulib-tool.
+       Rearrange sections so getting the code is near the top.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unicase.h: Mention u*_cmp2.
+       * lib/unicase/u-casecmp.h (FUNC): Invoke U_CMP2 instead of U_CMP.
+       * lib/unicase/u8-casecmp.c: Use u8_cmp2 instead of u8_cmp.
+       * lib/unicase/ulc-casecmp.c: Likewise.
+       * lib/unicase/u16-casecmp.c: Use u16_cmp2 instead of u16_cmp.
+       * lib/unicase/u32-casecmp.c: Use u32_cmp2 instead of u32_cmp.
+       * modules/unicase/u8-casecmp (Depends-on): Add unistr/u8-cmp2, remove
+       unistr/u8-cmp.
+       * modules/unicase/ulc-casecmp (Depends-on): Likewise.
+       * modules/unicase/u16-casecmp (Depends-on): Add unistr/u16-cmp2, remove
+       unistr/u16-cmp.
+       * modules/unicase/u32-casecmp (Depends-on): Add unistr/u32-cmp2, remove
+       unistr/u32-cmp.
+
+       * lib/uninorm.h: Mention u*_cmp2.
+       * lib/uninorm/u-normcmp.h (FUNC): Invoke U_CMP2 instead of U_CMP.
+       * lib/uninorm/u8-normcmp.c: Use u8_cmp2 instead of u8_cmp.
+       * lib/uninorm/u16-normcmp.c: Use u16_cmp2 instead of u16_cmp.
+       * lib/uninorm/u32-normcmp.c: Use u32_cmp2 instead of u32_cmp.
+       * modules/uninorm/u8-normcmp (Depends-on): Add unistr/u8-cmp2, remove
+       unistr/u8-cmp.
+       * modules/uninorm/u16-normcmp (Depends-on): Add unistr/u16-cmp2, remove
+       unistr/u16-cmp.
+       * modules/uninorm/u32-normcmp (Depends-on): Add unistr/u32-cmp2, remove
+       unistr/u32-cmp.
+
+       New module 'unistr/u32-cmp2'.
+       * lib/unistr/u32-cmp2.c: New file.
+       * modules/unistr/u32-cmp2: New file.
+
+       New module 'unistr/u16-cmp2'.
+       * lib/unistr/u16-cmp2.c: New file.
+       * modules/unistr/u16-cmp2: New file.
+
+       New module 'unistr/u8-cmp2'.
+       * lib/unistr.h (u8_cmp2, u16_cmp2, u32_cmp2): New declarations.
+       * lib/unistr/u8-cmp2.c: New file.
+       * lib/unistr/u-cmp2.h: New file.
+       * modules/unistr/u8-cmp2: New file.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unictype.h (uc_property_is_valid): New macro.
+       * tests/unictype/test-pr_byname.c (main): Use it.
+
+       * lib/unistr.h: Doc fixes.
+       * lib/uniconv.h: Doc fixes.
+       * lib/unictype.h: Doc fixes.
+
+2009-04-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port coreutils 7.2 to Solaris 8.
+
+       * modules/arpa_inet (arpa/inet.h): Depend on arpa_inet.in.h.
+       * m4/inet_ntop.m4 (gl_INET_NTOP): Search for inet_ntop in -lnsl,
+       for Solaris 8.  This is a bit of a hack, as it means it's the
+       caller's responsibility to add -lnsl if needed, but most likely it
+       won't be needed since only getaddrinfo uses this and getaddrinfo
+       isn't needed on Solaris 8.
+
+       * modules/fnmatch (Depends-on): Add mbsrtowcs, to fix a porting
+       problem to Solaris 8 encountered with coreutils 7.2, which
+       resulted in a message "fnmatch.c:292: warning: passing argument 4
+       of 'mbsrtowcs' from incompatible pointer type".  Also, add mbsinit
+       at the suggestion of Bruno Haible, since fnmatch uses mbsinit.
+
+2009-04-03  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/ld-version-script.m4: Add FIXME comment.
+
 2009-04-02  Simon Josefsson  <simon@josefsson.org>
 
        * doc/ld-output-def.texi: Use DLL_VERSION instead of confusing