* build-aux/bootstrap: Remove obsolete comment about wget --help.
[gnulib.git] / ChangeLog
index 431dd2c..3355515 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,371 @@
+2007-09-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * build-aux/bootstrap: Remove obsolete comment about wget --help.
+
+2007-09-06  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+
+       * m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Fix misspelling
+       in variable name.
+
+2007-09-03  Jim Meyering  <jim@meyering.net>
+
+       New module: git-version-gen.
+       * modules/git-version-gen: New file.
+
+       Import changes from coreutils for bootstrap script.
+
+       * build-aux/bootstrap (WGET_COMMAND): Remove code to set this variable.
+
+       bootstrap: uses rsync to download the .po files
+       * build-aux/bootstrap (po_download_command_format): New global.
+       (download_po_files): Use rsync.
+       (update_po_files): Don't remove .po files after download,
+       so future rsync runs can take advantage of the copies.
+
+       * build-aux/bootstrap (gnulib_tool): Make sha1sum check quietly.
+
+       Solve the unnecessary-.po-file-regeneration problem once and for all.
+       * build-aux/bootstrap (download_po_files): New function, renamed from
+       get_translations.  Now, downloads, but doesn't update LINGUAS.
+       (update_po_files): New function.
+
+       bootstrap: Ignore more.
+       * build-aux/bootstrap (symlink_to_dir): Add a directory name like
+       uniwidth to e.g., lib/.gitignore.
+       (slurp): Handle the sys_stat_.h -> sys mapping, too.
+
+       * build-aux/bootstrap: New setting: vc_ignore.
+       (insert_sorted_if_absent): Create $file if absent.
+       Adapt to new, possibly empty, list: $vc_ignore.
+
+       bootstrap: generate more ignorable names
+       * build-aux/bootstrap (slurp): When generating ignorable names,
+       also map .sin to .sed, .gperf to .c, and .y to .c.
+
+2007-09-03  Jim Meyering  <jim@meyering.net>
+
+       * build-aux/git-version-gen: New file, from coreutils.  For details, see
+       http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=bfe49f506
+
+2007-09-02  Bruno Haible  <bruno@clisp.org>
+
+       Fix mis-recognition of 'mcs' on QNX 6.
+       * m4/csharpcomp.m4 (gt_CSHARPCOMP): Test whether the "mcs --version"
+       output contains the string "Mono".
+       * lib/csharpcomp.c (compile_csharp_using_mono): Likewise.
+       Reported by <kraai@ftbfs.org> at <https://savannah.gnu.org/bugs/?18337>.
+
+2007-09-01  Bruno Haible  <bruno@clisp.org>
+
+       Fix collision between uniwidth/* and linebreak modules.
+       * lib/linebreak.h (locale_charset, uc_width, u8_width, u16_width,
+       u32_width): Remove declarations.
+       * lib/linebreak.c: Include uniwidth.h, uniwidth/cjk.h, streq.h.
+       (u32_mbtouc_unsafe, streq9, streq8, streq7, streq6, streq5, streq4,
+       streq3, streq2, streq1, streq0): Remove functions.
+       (STREQ): Remove macro.
+       (is_cjk_encoding): Remove function.
+       (nonspacing_table_data, nonspacing_table_ind): Remove constants.
+       (uc_width, u8_width, u16_width, u32_width): Remove functions.
+       * modules/linebreak (Depends-on): Add streq, uniwidth/width.
+       * NEWS: Document the change.
+
+2007-09-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/streq.h: Add double-inclusion guard.
+
+2007-09-01  Karl Berry  <karl@gnu.org>
+
+       * MODULES.html.sh: Rename mreadlink_with_size to areadlink_with_size.
+
+2007-08-28  Jim Meyering  <jim@meyering.net>
+
+       Rename mreadlink_with_size to areadlink_with_size.
+       * NEWS: Document the change.
+       * lib/mreadlink-with-size.c (mreadlink_with_size): Rename this to...
+       * lib/areadlink-with-size.c (areadlink_with_size): ...this.
+       * lib/mreadlink.h: Rename this to...
+       * lib/areadlink.h: ...this.
+       * modules/mreadlink-with-size: Rename this to...
+       * modules/areadlink-with-size: ...this.
+       * lib/canonicalize.c: Reflect the renaming.
+       * modules/canonicalize: Likewise.
+
+2007-08-26  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): When deciding which files to remove,
+       consider also dangling symbolic links.
+       Reported by Eric Blake.
+
+2007-08-26  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_ln_if_changed): Use "test -h", not "test -L".
+
+2007-08-23  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/readline.c: Don't include getline.h, the prototype is now
+       found in stdio.h.
+
+2007-08-23  Jim Meyering  <jim@meyering.net>
+
+       Getdelim touchup.
+       * lib/getdelim.c (getdelim): Don't bother to save/restore errno
+       around the funlockfile call, since funlockfile never sets errno.
+       Don't set errno upon failed realloc.
+
+2007-08-22  Eric Blake  <ebb9@byu.net>
+
+       Getline touchups.
+       * lib/getdelim.c (getdelim): Revert regression that required *n to
+       be 0 when *lineptr is NULL.  Preserve errno across funlockfile.
+       * m4/getdelim.m4 (gl_FUNC_GETDELIM): Check for declaration of
+       getdelim, rather than whether implementation is missing.
+       * m4/getline.m4 (gl_FUNC_GETLINE): Likewise for getline.
+       * lib/stdio_.h (getline): Also declare if replacement is
+       required.
+       * doc/functions/getdelim.texi: New file.
+       * doc/functions/getline.texi: Likewise.
+       * doc/gnulib.texi (Function Substitutes): Add new files.
+       Reported by Bruno Haible.
+
+2007-08-22  Ludovic Courtès  <ludo@gnu.org>
+
+       * users.txt: Add Guile.
+
+2007-08-22  Eric Blake  <ebb9@byu.net>
+
+       * tests/test-getdelim.c (main): Use remove, not unlink.
+       * tests/test-getline.c (main): Likewise.
+
+       Move getline and getdelim into stdio.h, per POSIX 200x.
+       * modules/getline (Files): Remove getline.h.
+       (Depends-on): Add stdio.
+       (configure.ac): Add module indicator.
+       * modules/getdelim (Files): Remove getdelim.h.
+       (Depends-on): Add stdio.
+       (configure.ac): Add module indicator.
+       * modules/stdio (Makefile.am): Work with new indicators.
+       * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add new defaults.
+       * m4/getdelim.m4 (gl_FUNC_GETDELIM): Work with stdio needs.
+       * m4/getline.m4 (gl_FUNC_GETLINE): Likewise.
+       * lib/getdelim.h: Delete.
+       * lib/getline.h: Delete.
+       * lib/stdio_.h (getdelim, getline): Declare.
+       * modules/getdelim-tests: New module.
+       * modules/getline-tests: Likewise.
+       * tests/test-getdelim.c: New file.
+       * tests/test-getline.c: Likewise.
+       * NEWS: Document the change.
+       * lib/getline.c: Update choice of header.
+       * lib/csharpcomp.c: Likewise.
+       * lib/getpass.c: Likewise.
+       * lib/javacomp.c: Likewise.
+       * lib/javaversion.c: Likewise.
+       * lib/yesno.c: Likewise.
+       * lib/getdelim.c: Likewise.
+       (getdelim): Set errno on failure, and avoid memory leak.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/closein (Depends-on): Add freadahead.
+       * lib/closein.c: Include freadahead.h.
+       (close_stdin): Skip the fseeko and fflush calls if freadahead(stdin)
+       is zero.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/freadahead-tests: New file.
+       * tests/test-freadahead.sh: New file.
+       * tests/test-freadahead.c: New file.
+
+       * modules/freadahead: New file.
+       * lib/freadahead.h: New file.
+       * lib/freadahead.c: New file.
+       * MODULES.html.sh (File stream based Input/Output): Add freadahead,
+       fbufmode, fpurge, freadable, fwritable.
+
+2007-08-19  Eric Blake  <ebb9@byu.net>
+
+       Test yesno in combination with closein.
+       * lib/yesno.c (yesno): Document use of stdin.
+       * modules/yesno-tests (Files): New module.
+       * tests/test-yesno.c (main): New file.
+       * tests/test-yesno.sh: Likewise.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * lib/fbufmode.c (fbufmode): Add tentative support for Solaris/AMD64.
+       * lib/fseeko.c (rpl_fseeko): Likewise.
+       * lib/fseterr.c (fseterr): Likewise.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-lseek.c (main): Disable a test for BeOS.
+       * doc/functions/lseek.texi: Document the BeOS bug.
+
+2007-08-19  Bruno Haible  <bruno@clisp.org>
+            Eric Blake  <ebb9@byu.net>
+
+       * lib/lseek.c: Include <sys/stat.h>.
+       (rpl_lseek): Add workaround code also for Unix platforms.
+       Needed for BeOS.
+       * m4/lseek.m4 (gl_FUNC_LSEEK): When cross-compiling, fail on BeOS.
+       * doc/functions/lseek.texi: Document BeOS definiency.
+
+2007-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fstrcmp-tests: New file.
+       * tests/test-fstrcmp.c: New file.
+
+2007-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fstrcmp: New file, from GNU gettext with modifications.
+       * lib/fstrcmp.h: New file, from GNU gettext.
+       * lib/fstrcmp.c: New file, from GNU gettext.
+       * MODULES.html.sh (String handling): Add fstrcmp.
+
+2007-08-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/diffseq.h (struct context): Change type of 'heuristic' field to
+       'bool'.
+       (diag, compareseq): Remove const from the ctxt argument.
+       (USE_HEURISTIC): Undefine at the end.
+
+2007-08-18  Jim Meyering  <jim@meyering.net>
+
+       New file: lib/idcache.h
+       * NEWS: Mention the addition.
+       * modules/idcache (Files): Add lib/idcache.h
+       * lib/idcache.c: Include "idcache.h".
+       Don't include <sys/types.h>.
+       Add a FIXME comment.
+       Move file-scoped "static" declarations to the top.
+       * lib/idcache.h: New file.  Include <sys/types.h> here, instead.
+
+2007-08-17  Bruno Haible  <bruno@clisp.org>
+       and Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh: Add diffseq.
+       * modules/diffseq: New file.
+       * lib/diffseq.h: New file, from GNU gettext with a few minor changes,
+       extracted from GNU gettext's fstrcmp.c and GNU diff's analyze.c.
+
+2007-08-15  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Import changes from coreutils for bootstrap script.
+
+       2007-07-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * build-aux/bootstrap (slurp): Work even in environments where
+       "ls" defaults to "ls -A".  Put in a FIXME, though, since the
+       current code does not slurp files whose names start with ".", and
+       this looks like it might be a troublesome area.
+
+       2007-07-11  Jim Meyering  <jim@meyering.net>
+
+       If there's a GPL vN copyright comment, require that N == 3.
+
+       2007-07-08  Jim Meyering  <jim@meyering.net>
+
+       Run the coreutils-specific code only if tests/Makefile.am.in exists.
+       * build-aux/bootstrap (mam_template): Move definition out of loop.
+
+       Create symlinks for gl/{lib,m4}/*, just as for gnulib/{lib,m4}/*.
+
+       * build-aux/bootstrap (symlink_to_dir): Rename function from
+       symlink_to_gnulib.  Add a directory parameter.  Update all
+       callers.
+       (cp_mark_as_generated): Also check for -- and link to -- files in
+       gl/.
+
+       2007-07-08  Jim Meyering  <jim@meyering.net>
+
+       Adapt to deeper hierarchy in gnulib.
+       * build-aux/bootstrap (symlink_to_dir): If the destination
+       directory doesn't exist, create it. This is required at least for
+       "lib/uniwidth/cjk.h".
+
+       2007-05-15  Jim Meyering  <jim@meyering.net>
+
+       * build-aux/bootstrap: Now that generated Makefile.am files
+       are no longer under version control, they must be created at
+       bootstrap time.
+
+2007-08-14  Ben Pfaff  <blp@gnu.org>
+
+       * lib/count-one-bits.h: Add comments.  From Bruno Haible.
+
+2007-08-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/count-one-bits.h: Don't include <limits.h>; no longer needed
+       given the changes below.
+       (COUNT_ONE_BITS): Use 'verify' rather than 'verify_true'.  Work
+       even on hosts that have padding bits beyond the supported 64.
+
+2007-08-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * NEWS: In xstrtol, remove STRTOL_FATAL_ERROR and add xstrtol_fatal.
+       * lib/xstrtol.h: Don't include exitfail.h; that's now internal to
+       xstrtol.c.  Include getopt.h, since xstrtol_fatal's signature
+       depends on it.
+       (xstrtol_error): Remove.
+       (xstrtol_fatal): New decl, replacing the functionality of xstrtol_error
+       but with a different signature.
+       (ATTRIBUTE_NORETURN, __attribute__): New macros.
+       * lib/xstrtol-error.c: Include exitfail.h.
+       (xstrtol_fatal): New function, with a different signature from the
+       old xstrtol_error, so that the caller need not worry about passing
+       in an exit status, or about storage management of the option argument.
+       (xstrtol_error): Now a static function.  Redo signature to
+       implement xstrtol_fatal.  Output the correct number of hyphens in
+       front of the option so that the caller need not worry about
+       storage management.
+       (N_): New macro.
+       (_): Remove; not used now.
+       * modules/xstrtol: Depend on getopt.
+       * tests/test-xstrtol.c (main): Use new xstrtol_error function instead
+       of old STRTOL_FATAL_ERROR macro.
+       * tests/test-xstrtol.sh (t-xstrtol.xo): Adjust to match new behavior
+       of test program.
+       * tests/test-xstrtoimax.sh (t-xstrtoimax.xo): Likewise.
+       * tests/test-xstrtoumax.sh (t-xstrtoumax.xo): Likewise.
+
+2007-08-08  Eric Blake  <ebb9@byu.net>
+
+       * lib/xstrtol-error.c: Add missing include.
+
+       Move xstrtol messages into gnulib domain, when --pobase is used.
+       * lib/xstrtol.h (_STRTOL_ERROR): Move messages out of macro...
+       * lib/xstrtol-error.c (xstrtol_error): ...into new file.
+       * modules/xstrtol (Files): Distribute new file.
+       * m4/xstrtol.m4 (gl_XSTRTOL): Build new file.
+       * lib/xstrtol.c (TESTING_XSTRTO): Move tests...
+       * tests/test-xstrtol.c: ...into new file.
+       * tests/test-xstrtoul.c: Also test xstrtoul.
+       * tests/test-xstrtoimax.c: Also test xstrtoimax.
+       * tests/test-xstrtoumax.c: Also test xstrtoumax.
+       * tests/test-xstrtol.sh: Drive the tests.
+       * tests/test-xstrtoimax.sh: Likewise.
+       * tests/test-xstrtoumax.sh: Likewise.
+       * modules/xstrtol-tests: New module.
+       * modules/xstrtoimax-tests: Likewise.
+       * modules/xstrtoumax-tests: Likewise.
+
+2007-08-08  Jim Meyering  <jim@meyering.net>
+
+       New function: mfile_name_concat.
+       * lib/filenamecat.c (mfile_name_concat): New function, just like
+       file_name_concat, but return NULL upon failure rather than exiting
+       with a diagnostic.
+       * lib/filenamecat.h: Declare it.
+
+2007-08-07  Bruno Haible  <bruno@clisp.org>
+
+       * m4/inttypes.m4 (gl_INTTYPES_H): Use GL_TRIGGER_STDC_LIMIT_MACROS
+       instead of __STDC_LIMIT_MACROS_TRIGGER. This avoids a redefinition
+       warning from gcc.
+       Reported by Eric Blake.
+
 2007-08-07  Simon Josefsson  <simon@josefsson.org>
 
        * modules/crypto/arctwo (License): Use the synonymous term "LGPLv2+".