X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=17453822d92dc8ce86e305f155b17644789a14c7;hb=2c4a44a5d092da2f1c2864b27ca382f77faeb63d;hp=70ae37bbf6b8e093d68aadbdd6cc690554fa40dd;hpb=5eeec029e833abe9ba663d51bb556bd1eebb814e;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 70ae37bbf..17453822d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,544 @@ +2006-11-03 Bruno Haible + + * lib/c-ctype.h [C++]: Define functions without name mangling. + * lib/fwriteerror.h [C++]: Likewise. + * lib/gcd.h [C++]: Likewise. + * lib/linebreak.h [C++]: Likewise. + +2006-11-03 Paul Eggert + + * lib/canonicalize.h: (canonicalize_mode_t, CAN_EXISTING): + (CAN_ALL_BUT_LAST, CAN_MISSING, canonicalize_filename_mode): + Define only if PROVIDE_CANONICALIZE_FILENAME_MODE is defined. + * m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): + Check for functions and headers just once. + Check for declaration of canonicalize_file_name. + Define PROVIDE_CANONICALIZE_FILENAME_MODE. + +2006-11-02 Charles Wilson + + * gnulib-tool (func_import): Fix typo in actioncmd. + +2006-11-02 Bruno Haible + + * gnulib-tool (func_get_automake_snippet): Interpret a backslash- + newline sequence in the Makefile.am snippet as a space, like "make" + does. + Reported by Roger Persson . + +2006-11-01 Bruno Haible + + * m4/strcase.m4 (gl_FUNC_STRNCASECMP): Check whether strncasecmp is + already declared in . + * lib/strcase.h (strncasecmp): Don't declare it if yes. + +2006-11-01 Bruno Haible + + * m4/strcase.m4 (gl_FUNC_STRCASECMP): Don't define strcasecmp here. + * lib/strcase.h: Include . + (strcasecmp): Define to rpl_strcasecmp here. + +2006-11-01 Bruno Haible + + * lib/printf-parse.c (PRINTF_PARSE): Cast malloc/realloc results. + +2006-11-01 Eric Blake + + * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation. + + * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration. + +2006-10-29 Bruno Haible + + Make it compile in C++ mode. + * lib/full-write.c (full_rw): Add a cast. + +2006-11-01 Bruno Haible + + * gnulib-tool (func_get_automake_snippet): Change sed_combine_lines to + be POSIX compliant. + Reported by Roger Persson . + +2006-11-01 Eric Blake + + * lib/getopt_.h: Fix comments. + +2006-10-31 Eric Blake + + * modules/tmpdir (Depends-on): Add sys_stat. + * modules/mkdtemp (Depends-on): Add tempname, drop unistd. + * lib/mkdtemp.c (gen_tempname): Remove; tempname covers this. + * lib/tmpdir.c (S_ISDIR): Simplify, thanks to sys_stat. + * m4/mkdtemp.m4 (gl_PREREQ_MKDTEMP): Simplify, thanks to + tempname. + +2006-10-31 Paul Eggert + + Avoid some C++ diagnostics reported by Bruno Haible. + * lib/quotearg.c (clone_quoting_options): Use xmemdup rather than + xmalloc. + (quotearg_alloc): Use xcharalloc rather than xmalloc. + (struct slotvec): Move to top level. + (quotearg_n_options): Rewrite to avoid xmalloc. + * lib/xalloc.h (xcharalloc): New function. + * (xrealloc, xnrealloc, x2realloc, x2nrealloc, xmemdup): + [defined __cplusplus]: Add function template that provides result + type propagation. This part of the change is from Bruno Haible. + +2006-10-29 Bruno Haible + + Make it compile in C++ mode. + * lib/striconv.c (mem_cd_iconv): Cast malloc/realloc result. + * lib/strnlen1.c (strnlen1): Cast memchr result. + * lib/mbchar.h (mb_copy): Rename arguments to 'new_mbc', 'old_mbc'. + * lib/clean-temp.c (string_equals, string_hash): Add casts. + (create_temp_dir): Rename local variable 'template'. + (compile_csharp_using_sscli): Add cast. + * lib/fatal-signal.c (at_fatal_signal): Cast xmalloc result. + * lib/findprog.c (find_in_path): Likewise. + * lib/linebreak.c (mbs_width_linebreaks): Cast malloc result. + * lib/wait-process.c (register_slave_subprocess): Likewise. + +2006-10-22 Bruno Haible + + * modules/tsearch: New file. + * lib/tsearch.h: New file. + * lib/tsearch.c: New file, from glibc-2.5 with small modifications. + * m4/tsearch.m4: New file. + * MODULES.html.sh (Support for systems lacking POSIX:2001): Add tsearch. + +2006-10-29 Eric Blake + + * lib/arcfour.c: Assume config.h. + * lib/arctwo.c: Likewise. + * lib/base64.c: Likewise. + * lib/check-version.c: Likewise. + * lib/crc.c: Likewise. + * lib/des.c: Likewise. + * lib/gc-gnulib.c: Likewise. + * lib/gc-libgcrypt.c: Likewise. + * lib/gc-pbkdf2-sha1.c: Likewise. + * lib/getaddrinfo.c: Likewise. + * lib/getdelim.c: Likewise. + * lib/getline.c: Likewise. + * lib/hmac-md5.c: Likewise. + * lib/hmac-sha1.c: Likewise. + * lib/iconvme.c: Likewise. + * lib/md2.c: Likewise. + * lib/md4.c: Likewise. + * lib/memxor.c: Likewise. + * lib/read-file.c: Likewise. + * lib/readline.c: Likewise. + * lib/rijndael-alg-fst.c: Likewise. + * lib/rijndael-api-fst.c: Likewise. + * lib/xgetdomainname.c: Likewise. + +2006-10-28 Eric Blake + + * lib/xstrndup.c: Assume config.h. + +2006-10-27 Paul Eggert + + Move stat.h-substitute stuff from lib/stat-macros.h to lib/stat_.h. + stat-macros.h is now for our own macros, whereas stat_h is for + macros in the name space. + * lib/stat-macros.h: Remove copyright notice, as this file is now tiny. + (STAT_MACROS_H): Remove. + (S_IFMT, S_ISBLK, S_ISCHR, S_ISDIR, S_ISFIFO, S_ISLNK, S_ISNAM): + (S_ISMPB, S_ISMPC, S_ISNWK, S_ISREG, S_ISSOCK, S_ISDOOR, S_ISPORT): + (S_TYPEISMQ, S_TYPEISTMO, S_TYPEISSEM, S_TYPEISSHM, S_ISCTG, S_ISOFD): + (S_ISOFL, S_ISWHT, S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IRGRP): + (S_IROTH, S_IWUSR, S_IWGRP, S_IWOTH, S_IXUSR, S_IXGRP, S_IXOTH): + (S_IRWXU, S_IRWXG, S_IRWXO, S_IXUGO, S_IRWXUGO): + Move these macros to ... + * lib/stat_.h: here. Don't include stat-macros.h. + * lib/canonicalize.c: Don't include stat-macros.h. + * lib/chown.c: Likewise. + * lib/euidaccess.c: Likewise. + * lib/file-type.c: Likewise. + * lib/filemode.c: Likewise. + * lib/glob.c: Likewise. + * lib/isapipe.c: Likewise. + * lib/lchown.c: Likewise. + * lib/lstat.c: Likewise. + * lib/mkdir-p.c: Likewise. + * lib/rmdir.c: Likewise. + * m4/lchown.m4 (gl_FUNC_LCHOWN): Don't require gl_STAT_MACROS. + * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Don't check for io.h + unless mkdir isn't declared, to speed up 'configure'. + Always create sys/stat.h, since it's unlikely any real sys/stat.h + would define all the S_* symbols. + * modules/canonicalize (Depends-on): + Depend on sys_stat, not stat-macros. + * modules/chown: Likewise. + * modules/euidaccess: Likewise. + * modules/filemode: Likewise. + * modules/file-type: Likewise. + * modules/glob: Likewise. + * modules/isapipe: Likewise. + * modules/lchown: Likewise. + * modules/lstat: Likewise. + * modules/mkancesdirs: Likewise. + * modules/rmdir: Likewise. + * modules/mkdir-p (Depends-on): Also depend on sys_stat. + * modules/modechange: Likewise. + * modules/stat-macros (Files): Remove m4/stat-macros.m4. + (configure.ac): Remove gl_STAT_MACROS. + * modules/sys_stat (Depends-on): Remove stat-macros. + +2006-10-27 Bruno Haible + + * m4/signed.m4: Remove file. + * m4/vasnprintf.m4 (gl_PREREQ_PRINTF_ARGS_: Remove bh_C_SIGNED + invocation. + * modules/vasnprintf (Files): Remove m4/signed.m4. + +2006-10-27 Bruno Haible + + Update to GNU gettext 0.16. + * modules/gettext (Files): Add m4/intl.m4, m4/intldir.m4. Remove + m4/inttypes-h.m4, m4/signed.m4. + * m4/gettext.m4: Update to GNU gettext 0.16. + * m4/intl.m4: New file, from GNU gettext. + * m4/intldir.m4: New file, from GNU gettext. + * config/srclist.txt: Update + +2006-10-27 Eric Blake + + * MODULES.html.sh: Document tempname. + * modules/mkstemp (Depends-on): Add tempname, and drop transitive + dependencies. + (Files): Move lib/tempname.c... + * modules/tempname: ...to this new module. + * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Remove tempname checks. + (gl_PREREQ_TEMPNAME): Move... + * m4/tempname.m4: ...to this new file. + * lib/mkstemp.c (includes) [!_LIBC]: Use tempname.h. + * modules/sys_stat (Depends-on): Add stat-macros. + * lib/stat_.h (includes): Pick up stat macros. + * m4/sys_stat_h.m4 (gl_HEADER_SYS_STAT_H): Replace + if stat macros are broken. + * lib/tempname.c (includes): No need to include "stat-macros.h". + (__gen_tempname) [!_LIBC]: Expose as gen_tempname. + (direxists, __path_search) [!_LIBC]: Don't compile these in + gnulib; the tmpdir module covers that. + * lib/tempname.h: New file. + +2006-10-26 Paul Eggert + + * COPYING: Explain how gnulib-tool converts licence headers. + Almost all wording by Eric Blake. + +2006-10-25 Paul Eggert + + * lib/mbchar.h (is_basic_table): Make read-only. + * lib/mbchar.c (is_basic_table): Likewise. + Reported by John Darrington. + +2006-10-25 Bruno Haible + + * lib/progname.h (set_program_name): Undefine before defining. + +2006-10-25 Bruno Haible + + * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to + false for non-gcc C++ compilers. + Reported by Nelson H. F. Beebe . + +2006-10-24 Bruno Haible + + * lib/striconv.c (mem_cd_iconv, str_cd_iconv): Treat all non-GNU + iconv implementations like Irix iconv. + +2006-10-24 Paul Eggert + + * modules/vararrays: New file. + * m4/vararrays.m4: New file, taken from diffutils. + * MODULES.html.sh: New module vararrays. + +2006-10-24 Karl Berry + + * doc/gnulib-intro.texi: --- instead of --; non-naive naive. + Don't call GNU Unix. + +2006-10-24 Ralf Wildenhues + + * users.txt: Add Libtool. + + Sync from Libtool: + + 2006-10-24 Paul Eggert + + * lib/argz.c: Remove check for HAVE_CONFIG_H, to conform + to gnulib's policy of including config.h unconditionally. + +2006-10-24 Bruno Haible + + * modules/wcwidth (Files): Add m4/wint_t.m4. + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Require gt_TYPE_WINT_T. + * lib/wcwidth.h (iswprint): Use 'int' if 'wint_t' is not defined. + +2006-10-24 Paul Eggert + + * lib/getdate.y (yyerror): Make the arguments pointer-to-const, + to pacify GCC with some -W flags enabled. Problem reported by + Bruno Haible. + +2006-10-24 Jim Meyering + + * MODULES.html.sh: Remove uinttostr. It's not a module. + Reported by Karl Berry. + +2006-10-23 Bruno Haible + + * lib/fts.c (fts_build): Move variable declaration, for C89 compliance. + +2006-10-24 Bruno Haible + + * lib/gl_list.h: Use C comment style, not C++ comment style. + +2006-10-23 Eric Blake + + * lib/getaddrinfo.c (includes): Add missing include. + +2006-10-23 Bruno Haible + Paul Eggert + + Ability to rename obstack_free. + * lib/obstack.h (__obstack_free): New macro. Declare instead of + obstack_free. + (obstack_free): Invoke the __obstack_free macro. + * lib/obstack.c (obstack_free): Use __obstack_free macro. + +2006-10-23 Bruno Haible + Paul Eggert + + * lib/argp.h (argp_parse, __argp_parse): Comment out the identifiers + __argc, __argv from the declaration. (They are defined as macros on + mingw.) + +2006-10-22 Bruno Haible + + * doc/gnulib-intro.texi: New file. + * doc/gnulib.texi: Include it. + +2006-10-21 Bruno Haible + + * doc/gnulib.texi: Split the chapter "Gnulib" into 3 chapters + "Introduction", "Miscellanous Notes", "Particular Modules". + +2006-10-21 Bruno Haible + + * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am): + Change mostlyclean-local rule to avoid sh syntax error from bash + versions 2.00..2.05 when $(MOSTLYCLEANDIRS) is empty. + +2006-10-23 Jim Meyering + + * lib/getaddrinfo.c (getnameinfo): Use new lightweight uinttostr, + in place of snprintf. + + * modules/inttostr (Files): Add lib/uinttostr.c. + * lib/uinttostr.c (inttostr): New file/function. + * lib/inttostr.h (uinttostr): Declare. + * m4/inttostr.m4: Add AC_LIBOBJ([uinttostr]). + * MODULES.html.sh (Numeric conversion functions ): + Add uinttostr. + * modules/getaddrinfo (Depends-on): Remove snprintf. Add inttostr. + +2006-10-21 Paul Eggert + + * lib/canonicalize.c (ELOOP): Define if not already defined. + Problem reported by Bruno Haible in + . + +2006-10-21 Paul Eggert + + * lib/stdint_.h [defined _AIX]: Don't include . + Problem reported by Perry Smith and Ville Laurikari. + + * lib/getndelim2.c (SSIZE_MAX): Use same defn that getdelim.c + uses. + +2006-10-19 Bruno Haible + + * lib/getndelim2.c (SSIZE_MAX): Provide fallback definition. Needed + for mingw. + +2006-10-19 Bruno Haible + + * lib/openat-priv.h (EOPNOTSUPP): Provide fallback definition. + Needed for mingw. + +2006-10-19 Bruno Haible + + * m4/size_max.m4 (gl_SIZE_MAX): Cache the result. + +2006-10-19 Bruno Haible + + * m4/allocsa.m4 (gl_ALLOCSA): Invoke gl_FUNC_ALLOCA, don't AC_REQUIRE + it. + +2006-10-19 Bruno Haible + + * m4/alloca.m4 (gl_FUNC_ALLOCA): Cache the result of the AC_EGREP_CPP + invocation. + +2006-10-19 Bruno Haible + + * gnulib-tool (func_create_testdir): Don't include ftruncate and + mountlist by default. + +2006-10-16 Bruno Haible + + * lib/c-strstr.c: Include c-strstr.h. + +2006-10-18 Charles Wilson + + * gnulib-tool: Don't clobber $sourcebase when $local_gnulib_dir ends + in a slash. + +2006-10-18 Bruno Haible + + * lib/lock.h [C++]: Wrap definitions in extern "C". + +2006-10-18 Bruno Haible + + * gnulib-tool (func_emit_initmacro_end): Remove duplicates from the + gl_LIBOBJS list. + +2006-10-18 Bruno Haible + + * lib/findprog.c (find_in_path): Avoid "gcc -Wwrite-strings" warning. + +2006-10-19 Paul Eggert + + * lib/xstrtol.h: Include gettext.h. + (_STRTOL_ERROR): Wrap English-language formats inside gettext. + Problem reported by Eric Blake. + * modules/xstrtol (Depends-on): Add gettext-h. + +2006-10-19 Paul Eggert (tiny change) + + * lib/strftime.c (advance): New macro. + (add): Use it to avoid adding 0 to a FILE *. FILE can be an + incomplete type, so you can't add 0 to it. Problem and patch + reported by Eelco Dolstra for dietlibc. + +2006-10-18 Jim Meyering + + * lib/readutmp.c (desirable_utmp_entry): Use "bool" as the + type for a local, and rename it: s/up/user_proc/. + +2006-10-18 Sergey Poznyakoff + + * lib/readutmp.c (desirable_utmp_entry): Implement new flag: + READ_UTMP_USER_PROCESS. + * lib/readutmp.h (READ_UTMP_USER_PROCESS): New flag + +2006-10-17 Paul Eggert + + * lib/localcharset.c: Do not check HAVE_SETLOCALE. + * m4/localcharset.m4 (gl_LOCALCHARSET): Don't check for setlocale. + +2006-10-17 Eric Blake + + * lib/sigprocmask.c (sigprocmask): Fix typo. + + * m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK): Fix typo. + + * modules/clean-temp (Makefile.am): Don't add to make output... + (configure.ac): ...instead define SIGNAL_SAFE_LIST inside + config.h. + +2006-10-17 Bruno Haible + + * lib/gettext.h (gettext, ngettext, pgettext, npgettext): Define + differently if DEFAULT_TEXT_DOMAIN is set. + +2006-10-16 Bruno Haible + + * lib/clean-temp.c: Include fwriteerror.h. + +2006-10-16 Bruno Haible + + * getndelim2.m4 (gl_GETNDELIM2): Remove 2003-10-23 hack. + +2006-10-16 Bruno Haible + + * m4/signalblocking.m4 (gl_PREREQ_SIGPROCMASK): Also test for sigset_t. + * lib/sigprocmask.h: Include . + (sigset_t): Use the system's definition if present. + +2006-10-17 Eric Blake + + * lib/xvasprintf.c (includes): Assume config.h. + * lib/xasprintf.c (includes): Likewise. + +2006-10-16 Paul Eggert + + * lib/fsusage.c (PROPAGATE_ALL_ONES): Don't assume uintmax_t is + at least as wide as intmax_t. + +2006-10-16 Alexandre Duret-Lutz + + (Imported from Automake.) + * build-aux/gnupload: Update to version 1.1 of directive file. + +2006-10-16 Eric Blake + + * modules/configmake (Makefile.am): Add pkglibexecdir support, to + match Automake 1.10a. + +2006-10-14 Bruno Haible + + * modules/sigprocmask: New file. + * lib/sigprocmask.h: New file. + * lib/sigprocmask.c: New file. + * m4/signalblocking.m4 (gl_SIGNALBLOCKING): Renamed from + gt_SIGNALBLOCKING. When not defining HAVE_POSIX_SIGNALBLOCKING, + request sigprocmask.o. + (gl_PREREQ_SIGPROCMASK): New macro. + * modules/fatal-signal (Files): Remove m4/signalblocking.m4. + (Depends-on): Add sigprocmask. + * m4/fatal-signal.m4 (gl_FATAL_SIGNAL): Don't require + gt_SIGNALBLOCKING. Test for 'raise' only once. + * lib/fatal-signal.c: Include sigprocmask.h. + (fatal_signal_set, init_fatal_signal_set, block_fatal_signals, + unblock_fatal_signals): Define always. + * MODULES.html.sh (Support for systems lacking POSIX:2001): Add + sigprocmask. + +2006-10-14 Paul Eggert + + Sync from Automake. + * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m, + which incorrectly sets the mode of an existing destination + directory. In some cases the unpatched install-sh could do the + equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD + system. We hope this is rare in practice, but it's clearly worth + fixing. Problem reported by Alex Unleashed in + . + Also, don't bother to check for -m bugs unless we're using -m; + suggested by Stepan Kasal. + +2006-10-14 Ralf Wildenhues + + Sync from Automake. + * build-aux/depcomp (gcc3): Put dependency extraction flags before the + `-c' flag, so they appear at the same position as in %FASTDEP% + mode in depend2.am. Fixes build failure for FreeBSD's c89, + which ignores unknown options only after the first non-option. + Bug report against M4 by Nelson H. F. Beebe. + +2006-10-13 Jim Meyering + + Fix a bug in yesterday's change. + * lib/fts.c (fts_open): When using FTS_XDEV|FTS_NOSTAT, + p->fts_statp->st_dev would be used uninitialized. + Ensures that we always call fts_stat on the very first entry. + Miklos Szeredi reported that find -xdev stopped working. + 2006-10-12 Bruno Haible * gnulib-tool (func_get_automake_snippet): Append an automatically @@ -17327,11 +17868,11 @@ * MODULES.html.sh (func_all_modules): Add poll. -2003-02-19 Paolo Bonzino +2003-02-19 Paolo Bonzini * modules/poll: New file. -2003-02-19 Paolo Bonzino +2003-02-19 Paolo Bonzini * lib/poll_.h: New file. * lib/poll.c: New file. @@ -17340,11 +17881,11 @@ * m4/poll.m4: New file. -2003-02-18 Paolo Bonzino +2003-02-18 Paolo Bonzini * modules/mathl: New file. -2003-02-18 Paolo Bonzino +2003-02-18 Paolo Bonzini * lib/mathl.h: New file. * lib/acosl.c: New file. @@ -21251,7 +21792,7 @@ * lib/basename.c (base_name): Add an assertion. -2000-07-23 Bruno Haible +2000-07-23 Bruno Haible * lib/quotearg.c: When the system forces us to redefine mbstate_t, shadow its mbsinit function.