X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=d53d6dd4df2144dd70dc98fa34c19a4fb248c2b2;hb=f64a5d6252a22e5ec3c050f9f49b4d591ec82e78;hp=1ea17367be286bdd1f5121e22866e73826e94715;hpb=3f7fa5077b410cd9a8859c6454ee2d92fb1a9408;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 1ea17367b..d53d6dd4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,384 @@ +2008-05-14 Bruno Haible + + Help GCC to do better code generation. + * lib/eealloc.h (eemalloc) [GCC >= 3]: Declare with attribute 'malloc'. + * lib/pagealign_alloc.h (pagealign_alloc, pagealign_xalloc): Likewise. + * lib/xalloc.h (ATTRIBUTE_MALLOC): New macro. + (xmalloc, xzalloc, xcalloc, xmemdup, xstrdup, xnmalloc, xcharalloc): + Declare with attribute 'malloc' if supported. + +2008-05-14 Lasse Collin + + use "echo STR|wc -c" rather than unportable "expr length STR" + * build-aux/mktempd (mktempd): Vendor-supplied expr from at least + OpenBSD 4.3 and Solaris 10 do not honor expr's "length" function. + +2008-05-14 Jim Meyering + + use dd ibs=$n count=1 ... rather than less-portable head -c$n + * build-aux/mktempd (rand_bytes): head's -cN option is not accepted + by Solaris 10's /bin/head or by the one from HP-UX 11.x. + Reported in http://sourceforge.net/forum/message.php?msg_id=4960334 + via Collin Lasse. + +2008-05-14 Eric Blake + + Avoid quadratic growth in gl_LIBSOURCES. + * gnulib-tool (func_emit_initmacro_done): s/\(m4_append\)_uniq/\1/. + Suggested by Bruno Haible. + + Test xmemdup0. + * modules/xmemdup0-tests: New file. + * tests/test-xmemdup0.c: Likewise. + +2008-05-13 Eric Blake + + Split xmemdup0 into its own module. + * modules/xmemdup0: New file. + * lib/xmemdup0.h: Likewise. + * lib/xmemdup0.c: Likewise. + * MODULES.html.sh (Memory management functions): Add xmemdup0. + * lib/xalloc.h (xmemdup0): Remove. + * lib/xmalloc.c (xmemdup0): Likewise. + +2008-05-13 Eric Blake + Bruno Haible + + Reduce number of forks required during autoconf. + * gnulib-tool (func_emit_initmacro_start): Prepare gl_LIBSOURCES_LIST + and gl_LIBSOURCES_DIR. + (func_emit_initmacro_end): Use them here in a single m4_syscmd... + (func_emit_initmacro_done) : ...rather than in one + m4_syscmd per file. + : Move... + * m4/gnulib-common.m4 (m4_foreach_w): ...here. + +2008-05-13 Eric Blake + + * gnulib-tool: Fix various comment typos. + +2008-05-12 Bruno Haible + + Tailor the linebreaking algorithm. + * lib/unilbrk/tables.c (unilbrk_table): Change (IS,AL) entry. + +2008-05-12 Bruno Haible + + Update to Unicode 5.0.0. + * lib/unilbrk/tables.h (LBP_*): Add LBP_WJ, LBP_H2, LBP_H3, LBP_JL, + LBP_JV, LBP_JT. Redistribute values. + (unilbrk_table): Change size. + * lib/unilbrk/tables.c (unilbrk_table): Change size. Update to match + Unicode TR#14 rev. 22. + * lib/unilbrk/gen-lbrk.c (LBP_*): Add LBP_WJ, LBP_H2, LBP_H3, LBP_JL, + LBP_JV, LBP_JT. Redistribute values. + (get_lbp): Update to match Unicode TR#14 rev. 21/22 and Unicode 5.0.0. + (debug_output_lbp, fill_org_lbp, debug_output_org_lbp, output_lbp): + Update. + * lib/unilbrk/lbrkprop1.h: Regenerated. + * lib/unilbrk/lbrkprop2.h: Regenerated. + * lib/unilbrk/u8-possible-linebreaks.c (u8_possible_linebreaks): + Change handling of LBP_CM after LBP_ZW. Update for new value of LBP_BK. + * lib/unilbrk/u16-possible-linebreaks.c (u16_possible_linebreaks): + Likewise. + * lib/unilbrk/u32-possible-linebreaks.c (u32_possible_linebreaks): + Likewise. + * tests/unilbrk/test-u8-possible-linebreaks.c (main): Update expected + result. + * tests/unilbrk/test-u16-possible-linebreaks.c (main): Likewise. + * tests/unilbrk/test-u32-possible-linebreaks.c (main): Likewise. + * tests/unilbrk/test-ulc-possible-linebreaks.c (main): Likewise. + * tests/unilbrk/test-u8-width-linebreaks.c (main): Likewise. + * tests/unilbrk/test-u16-width-linebreaks.c (main): Likewise. + * tests/unilbrk/test-u32-width-linebreaks.c (main): Likewise. + +2008-05-11 Bruno Haible + + * lib/unilbrk/gen-lbrk.c (output_lbp): Fix whitespace. + +2008-05-11 Bruno Haible + + * lib/unilbrk/gen-lbrk.c: New file, from GNU gettext (gen-lbrkprop.c). + * modules/unilbrk/gen-lbrk: New file. + +2008-05-11 Bruno Haible + + * m4/sha256.m4 (gl_SHA256): Require AC_C_INLINE. + * m4/sha512.m4 (gl_SHA512): Likewise. + +2008-05-11 Jim Meyering + + New modules: crypto/sha256, crypto/sha512 (from coreutils) + * modules/crypto/sha256: New file. + * modules/crypto/sha512: Likewise. + * lib/sha256.c: Likewise. + * lib/sha256.h: Likewise. + * lib/sha512.c: Likewise. + * lib/sha512.h: Likewise. + * lib/u64.h: Likewise. + * m4/sha256.m4: Likewise. + * m4/sha512.m4: Likewise. + * MODULES.html.sh (Cryptographic computations (low-level)): List them. + +2008-05-10 Bruno Haible + + * MODULES.html.sh (Environment variables ): Add unsetenv. + (Input/Output ): Add xprintf. + (Signal handling ): Add strsignal. + (Cryptographic computations (high-level)): Add crypto/gc-camellia. + (Core language properties): Add func. + (Mathematics ): Add ceil, floor, frexp-nolibm. + (Support for systems lacking POSIX:2001): Add environ, EOVERFLOW, + strings. + (Enhancements for POSIX:2001 functions): Add iconv_open-utf. + (Input/output): New section. + (File system functions): Add openat-die, stat-macros. + (Networking functions): Add sockets. + (Unicode string functions): Add unictype/*. + (Support for building libraries and executables): Add gperf. + (Support for building documentation): Add agpl-3.0. + (Misc): Add nocrash. + +2008-05-10 Bruno Haible + + * modules/unictype/gen-ctype: New file. + +2008-05-10 Jim Meyering + + Make chdir-safer.c more efficient on a system with no symlinks. + * lib/chdir-safer.c (chdir_no_follow): Skip lstat and fstat calls + also if ELOOP is zero. Suggested by Bruno Haible. + + Make chdir-safer.c slightly safer. + * lib/chdir-safer.c (chdir_no_follow): Test HAVE_WORKING_O_NOFOLLOW, + not O_NOFOLLOW, in case the latter is nonzero and open ignores it. + + Avoid compile failure on systems without ELOOP (like mingw). + * lib/chdir-safer.c (ELOOP): Define if not already defined. + Reported by Bruno Haible. + +2008-05-10 Bruno Haible + + * lib/unilbrk/ulc-common.c: Include c-strcaseeq.h instead of streq.h. + (is_utf8_encoding): Use a case-insensitive comparison. + * modules/unilbrk/ulc-common (Depends-on): Add c-strcaseeq. Remove + streq. + +2008-05-10 Bruno Haible + + * lib/unilbrk/ulc-common.c: Don't include . + (iconv_string_length, iconv_string_keeping_offsets): Remove functions. + * lib/unilbrk/ulc-common.h (iconv_string_length, + iconv_string_keeping_offsets): Remove declarations. + * lib/unilbrk/ulc-possible-linebreaks.c: Include , uniconv.h. + Don't include , streq.h, xsize.h. + (ulc_possible_linebreaks): Use u8_conv_from_encoding for doing the + conversion. + * lib/unilbrk/ulc-width-linebreaks.c: Include uniconv.h. Don't include + , streq.h, xsize.h. + (ulc_width_linebreaks): Use u8_conv_from_encoding for doing the + conversion. + * modules/unilbrk/ulc-common (Depends-on): Remove iconv. + * modules/unilbrk/ulc-possible-linebreaks (Depends-on): Add + uniconv/u8-conv-from-enc. Remove iconv_open, streq, xsize. + * modules/unilbrk/ulc-width-linebreaks (Depends-on): Likewise. + +2008-05-10 Bruno Haible + + * modules/unilbrk/ulc-width-linebreaks-tests: New file. + * tests/unilbrk/test-ulc-width-linebreaks.c: New file. + + * modules/unilbrk/u32-width-linebreaks-tests: New file. + * tests/unilbrk/test-u32-width-linebreaks.c: New file. + + * modules/unilbrk/u16-width-linebreaks-tests: New file. + * tests/unilbrk/test-u16-width-linebreaks.c: New file. + + * modules/unilbrk/u8-width-linebreaks-tests: New file. + * tests/unilbrk/test-u8-width-linebreaks.c: New file. + + * modules/unilbrk/ulc-possible-linebreaks-tests: New file. + * tests/unilbrk/test-ulc-possible-linebreaks.c: New file. + + * modules/unilbrk/u32-possible-linebreaks-tests: New file. + * tests/unilbrk/test-u32-possible-linebreaks.c: New file. + + * modules/unilbrk/u16-possible-linebreaks-tests: New file. + * tests/unilbrk/test-u16-possible-linebreaks.c: New file. + + * modules/unilbrk/u8-possible-linebreaks-tests: New file. + * tests/unilbrk/test-u8-possible-linebreaks.c: New file. + +2008-05-10 Bruno Haible + + Split up 'linebreak' module. + * lib/unilbrk.h: New file, based on lib/linebreak.h. + * lib/unilbrk/lbrkprop1.h: New file, extracted from lib/lbrkprop.h. + * lib/unilbrk/lbrkprop2.h: New file, renamed from lib/lbrkprop.h with + modifications. + * lib/unilbrk/tables.h: New file, extracted from lib/linebreak.c. + * lib/unilbrk/tables.c: New file, extracted from lib/linebreak.c. + * lib/unilbrk/u8-possible-linebreaks.c: New file, extracted from + lib/linebreak.c. + * lib/unilbrk/u16-possible-linebreaks.c: New file, extracted from + lib/linebreak.c. + * lib/unilbrk/u32-possible-linebreaks.c: New file, extracted from + lib/linebreak.c. + * lib/unilbrk/ulc-common.h: New file, extracted from lib/linebreak.c. + * lib/unilbrk/ulc-common.c: New file, extracted from lib/linebreak.c. + * lib/unilbrk/ulc-possible-linebreaks.c: New file, extracted from + lib/linebreak.c. + * lib/unilbrk/u8-width-linebreaks.c: New file, extracted from + lib/linebreak.c. + * lib/unilbrk/u16-width-linebreaks.c: New file, extracted from + lib/linebreak.c. + * lib/unilbrk/u32-width-linebreaks.c: New file, extracted from + lib/linebreak.c. + * lib/unilbrk/ulc-width-linebreaks.c: New file, extracted from + lib/linebreak.c. + * modules/unilbrk/base: New file. + * modules/unilbrk/tables: New file. + * modules/unilbrk/u8-possible-linebreaks: New file. + * modules/unilbrk/u16-possible-linebreaks: New file. + * modules/unilbrk/u32-possible-linebreaks: New file. + * modules/unilbrk/ulc-common: New file. + * modules/unilbrk/ulc-possible-linebreaks: New file. + * modules/unilbrk/u8-width-linebreaks: New file. + * modules/unilbrk/u16-width-linebreaks: New file. + * modules/unilbrk/u32-width-linebreaks: New file. + * modules/unilbrk/ulc-width-linebreaks: New file. + * lib/linebreak.h: Remove file. + * lib/linebreak.c: Remove file. + * m4/linebreak.m4: Remove file. + * modules/linebreak: Remove file. + * NEWS: Mention the changes. + +2008-05-09 Eric Blake + + Add xmemdup0. + * lib/xalloc.h (xmemdup0): New prototype and C++ typesafe + implementation. + * lib/xmalloc.c (xmemdup0): New C implementation. + +2008-05-08 Bruno Haible + + * m4/wctype.m4 (gl_WCTYPE_H): Correct indentation. + +2008-05-07 Eric Blake + + Support cross-compilation of . + * m4/wctype.m4 (gl_WCTYPE_H): Fix improper nesting in + AC_CACHE_CHECK. + +2008-05-06 Soren Hansen (tiny change) + + * build-aux/vc-list-files: Add support for bzr. + +2008-05-03 Jim Meyering + + avoid failed assertion with tight malloc + * tests/test-getndelim2.c: Correct an off-by-one assertion. + +2008-05-03 Simon Josefsson + + * m4/inet_pton.m4: Set HAVE_DECL_INET_PTON to 0 when declarations + are needed from arpa/inet.h. + * m4/inet_ntop.m4: Likewise, for HAVE_DECL_INET_NTOP. + Reported by Bruno Haible. + +2008-05-02 Jim Meyering + + avoid compilation error on FreeBSD 6 + * tests/test-getaddrinfo.c [!defined EAI_NODATA] (EAI_NODATA): Define. + +2008-05-01 Jim Meyering + + useless-if-before-free: correct --help's exit status description + * build-aux/useless-if-before-free (usage): Like grep, exit 0 + for one or more matches, etc. Reported by Bruno Haible. + + vc-list-files: make the stand-alone gnulib test work + * modules/vc-list-files-tests (configure.ac): + Define and AC_SUBST abs_aux_dir. + (Makefile.am) [TESTS_ENVIRONMENT]: Rather than passing + $(abs_top_srcdir) to each script and having each of them + duplicate the work of setting PATH, set PATH here, using + the new variable, abs_aux_dir instead. + * tests/test-vc-list-files-cvs.sh: Don't set PATH here. + * tests/test-vc-list-files-git.sh: Likewise. + Reported by Bruno Haible. + +2008-05-01 Bruno Haible + + * lib/getndelim2.c (getndelim2): Fix newsize computation during + reallocation. Rename 'done' to 'found_delimiter'. + +2008-05-01 Jim Meyering + + vc-list-files: accommodate /bin/sh like the one from Solaris 10 + * build-aux/vc-list-files: Use `...`, not $(...). + +2008-04-30 Jim Meyering + + add tests for vc-list-files + * modules/vc-list-files-tests: New module. + * tests/test-vc-list-files-cvs.sh: New file. + * tests/test-vc-list-files-git.sh: New file. + + avoid a warning from gcc + * lib/getndelim2.c (IF_LINT): Define. + (getndelim2): Use it to void a "may be used uninitialized" warning. + + vc-list-files: work properly with build-aux/cvsu, too + * build-aux/vc-list-files: Hoist the "./"-removing code to apply + to all cvs-based clauses. + + vc-list-files: work properly in the CVS+awk case, too + * build-aux/vc-list-files: In the CVS+awk case, remove "./" prefix. + + vc-list-files: avoid use of ${*-*} that fails when /bin/sh is dash + * build-aux/vc-list-files: Simplify ${*-*} to $dir, since we no longer + take more than one file argument, so . Add quotes, just in case $dir + ever contains a shell meta-character. Prompted by Soren Hansen in + . + +2008-04-29 Eric Blake + + Optimize getndelim2 to use block operations when possible. + * modules/getndelim2 (Depends-on): Add stdbool, freadptr, + freadseek, and memchr2. + * lib/getndelim2.c (getndelim2): Use them for block reads. + +2008-04-29 Bruno Haible + + * m4/inet_ntop.m4 (gl_INET_NTOP): Require gl_USE_SYSTEM_EXTENSIONS. + * m4/inet_pton.m4 (gl_INET_PTON): Likewise. + * modules/inet_ntop (Depends-on): Add extensions. + * modules/inet_pton (Depends-on): Likewise. + Reported by Simon Josefsson. + +2008-04-29 Jim Meyering + + When the is more than one match in a block, match all of them. + * build-aux/useless-if-before-free: Iterate through each block + until there are no more matches. + + Fix broken useless-if-before-free script. + * build-aux/useless-if-before-free: Fix typo: missing "?" after + the expression to match cast of argument to free-like function. + +2008-04-29 Eric Blake + + Use new header. + * lib/getaddrinfo.c (includes): s/"inet_ntop.h"//. + 2008-04-29 Jim Meyering + Avoid test segfault on x86_64 due to lack of inet_ntop declaration. + * tests/test-getaddrinfo.c: Include , now guaranteed + by gnulib to exist and to declare e.g., inet_ntop. + Don't include "inet_ntop.h", now removed. + * m4/arpa_inet_h.m4: Remove trailing blanks. 2008-04-29 Eric Blake