X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=612fbfef5b1635e5b09c2b5c352e032fb142fc54;hb=f655fd5741580b9992c18a1b1e410fabb173aa28;hp=c06f0d8cab577bdef52a135e50a95c476f9bb04f;hpb=999b44930f573035ae2c6531ea4b0f83ee9cd698;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index c06f0d8ca..612fbfef5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,352 @@ +2008-12-29 Bruno Haible + + * m4/codeset.m4 (AM_LANGINFO_CODESET): More systematic m4 argument + quoting. + * m4/gettext.m4 (AM_GNU_GETTEXT): Likewise. + * m4/glibc2.m4 (gt_GLIBC2): Likewise. + * m4/glibc21.m4 (gl_GLIBC21): Likewise. + * m4/iconv.m4 (AM_ICONV_LINK, AM_ICONV): Likewise. + * m4/intdiv0.m4 (gt_INTDIV0): Likewise. + * m4/intlmacosx.m4 (gt_INTL_MACOSX): Likewise. + * m4/intmax.m4 (gt_TYPE_INTMAX_T): Likewise. + * m4/inttypes-pri.m4 (gt_INTTYPES_PRI): Likewise. + * m4/inttypes_h.m4 (gl_AC_HEADER_INTTYPES_H): Likewise. + * m4/lcmessage.m4 (gt_LC_MESSAGES): Likewise. + * m4/nls.m4 (AM_NLS): Likewise. + * m4/po.m4 (AM_PO_SUBDIRS): Likewise. + * m4/printf-posix.m4 (gt_PRINTF_POSIX): Likewise. + * m4/progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise. + * m4/size_max.m4 (gl_SIZE_MAX): Likewise. + * m4/stdint_h.m4 (gl_AC_HEADER_STDINT_H): Likewise. + * m4/threadlib.m4 (gl_THREADLIB_BODY): Likewise. + * m4/uintmax_t.m4 (gl_AC_TYPE_UINTMAX_T): Likewise. + * m4/visibility.m4 (gl_VISIBILITY): Likewise. + * m4/wchar_t.m4 (gt_TYPE_WCHAR_T): Likewise. + * m4/wint_t.m4 (gt_TYPE_WINT_T): Likewise. + * m4/xsize.m4 (gl_XSIZE): Likewise. + Suggested by Jim Meyering. + +2008-11-17 Bruce Korb + + * lib/parse-duration.h: non-iso form accepts years, months weeks, too + * lib/parse-duration.c: use a switch instead of cascading if's. + +2008-12-29 Eric Blake + + wchar.h: supply WEOF on Irix 5.3 + * lib/wchar.in.h (wint_t): Also supply WEOF. + * lib/wctype.in.h (wint_t): Likewise. + * doc/posix-headers/wchar.texi (wchar.h): Document the bug. + * doc/posix-headers/wctype.texi (wctype.h): Likewise. + Reported by Tom G. Christensen. + +2008-12-26 Bruno Haible + + * m4/multiarch.m4 (gl_MULTIARCH): Recognize also the architecture names + i486, i586, i686. + +2008-12-26 Bruno Haible + + * lib/stdlib.in.h (struct random_data): Fix indentation of comments. + +2008-12-26 Bruno Haible + + * lib/stdint.in.h: Move the include of down until after all + the types are defined. Also conditionalize it on __STDC_LIMIT_MACROS, + not __STDC_CONSTANT_MACROS. + Reported by Nelson H. F. Beebe via Eric Blake. + +2008-12-25 Bruno Haible + + Add support for universal builds to vasnprintf. + * m4/printf.m4 (gl_PRINTF_ENOMEM): Require gl_MULTIARCH. In Apple + universal builds, guess no. + * modules/vasnprintf-posix (Depends-on): Add multiarch. + * modules/vasprintf-posix (Depends-on): Likewise. + * modules/fprintf-posix (Depends-on): Likewise. + * modules/vfprintf-posix (Depends-on): Likewise. + * modules/snprintf-posix (Depends-on): Likewise. + * modules/vsnprintf-posix (Depends-on): Likewise. + * modules/sprintf-posix (Depends-on): Likewise. + * modules/vsprintf-posix (Depends-on): Likewise. + * modules/unistdio/u8-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u16-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u32-vasnprintf (Depends-on): Likewise. + * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise. + * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise. + + Add support for universal builds to . + * lib/inttypes.in.h (_PRI64_PREFIX, _PRIu64_PREFIX, _SCN64_PREFIX, + _SCNu64_PREFIX): In Apple + universal builds, define directly, using _LP64. + * m4/inttypes.m4 (gl_INTTYPES_H): In Apple universal builds, set + INT64_MAX_EQ_LONG_MAX and UINT64_MAX_EQ_ULONG_MAX to -1. + * modules/inttypes (Depends-on): Add multiarch. + (Makefile.am): Substitute APPLE_UNIVERSAL_BUILD. + + Add support for universal builds to . + * lib/stdint.in.h (PDFDIFF_MIN, PTRDIFF_MAX, SIZE_MAX): In Apple + universal builds, define directly, using _LP64. + * m4/stdint.m4 (gl_STDINT_TYPE_PROPERTIES): Require gl_MULTIARCH. In + Apple universal builds, don't test for the size and suffix of ptrdiff_t + and size_t. + * modules/stdint (Depends-on): Add multiarch. + (Makefile.am): Substitute APPLE_UNIVERSAL_BUILD. + + New module 'multiarch'. + * modules/multiarch: New file. + * m4/multiarch.m4: New file. + +2008-12-25 Bruno Haible + + * gnulib-tool (func_create_testdir): Avoid failure of mv command. + +2008-12-25 Bruno Haible + + * modules/btowc (License): Relicense under LGPLv2+. + * modules/mbsinit (License): Likewise. + * modules/mbrtowc (License): Likewise. + * modules/wcrtomb (License): Likewise. + * modules/streq (License): Likewise. + Reported by David Lutterkort . + +2008-12-23 Bruno Haible + + * m4/fsusage.m4 (gl_FILE_SYSTEM_USAGE): Fix conditional and comment. + +2008-12-23 Bruno Haible + + Module getaddrinfo requires linking with $(GETADDRINFO_LIB). + * m4/getaddrinfo.m4 (gl_GETADDRINFO): Put link options into + GETADDRINFO_LIB, not in LIBS. + * modules/getaddrinfo (Link): Set to $(GETADDRINFO_LIB). + * modules/canon-host (Link): Likewise. + * NEWS: Mention the change. + * modules/getaddrinfo-tests (test_getaddrinfo_LDADD): Add the + GETADDRINFO_LIB. + +2008-12-22 Bruno Haible + + * doc/posix-functions/iswalnum_l.texi: Mention limitation of wchar_t. + * doc/posix-functions/iswalpha_l.texi: Likewise. + * doc/posix-functions/iswblank_l.texi: Likewise. + * doc/posix-functions/iswcntrl_l.texi: Likewise. + * doc/posix-functions/iswctype_l.texi: Likewise. + * doc/posix-functions/iswdigit_l.texi: Likewise. + * doc/posix-functions/iswgraph_l.texi: Likewise. + * doc/posix-functions/iswlower_l.texi: Likewise. + * doc/posix-functions/iswprint_l.texi: Likewise. + * doc/posix-functions/iswpunct_l.texi: Likewise. + * doc/posix-functions/iswspace_l.texi: Likewise. + * doc/posix-functions/iswupper_l.texi: Likewise. + * doc/posix-functions/iswxdigit_l.texi: Likewise. + * doc/posix-functions/mbsnrtowcs.texi: Likewise. + * doc/posix-functions/open_wmemstream.texi: Likewise. + * doc/posix-functions/swscanf.texi: Likewise. + * doc/posix-functions/towctrans_l.texi: Likewise. + * doc/posix-functions/towlower.texi: Likewise. + * doc/posix-functions/towlower_l.texi: Likewise. + * doc/posix-functions/towupper.texi: Likewise. + * doc/posix-functions/towupper_l.texi: Likewise. + * doc/posix-functions/vfwprintf.texi: Likewise. + * doc/posix-functions/vfwscanf.texi: Likewise. + * doc/posix-functions/vswscanf.texi: Likewise. + * doc/posix-functions/vwprintf.texi: Likewise. + * doc/posix-functions/vwscanf.texi: Likewise. + * doc/posix-functions/wcpcpy.texi: Likewise. + * doc/posix-functions/wcpncpy.texi: Likewise. + * doc/posix-functions/wcscasecmp.texi: Likewise. + * doc/posix-functions/wcscasecmp_l.texi: Likewise. + * doc/posix-functions/wcscoll_l.texi: Likewise. + * doc/posix-functions/wcsdup.texi: Likewise. + * doc/posix-functions/wcsncasecmp.texi: Likewise. + * doc/posix-functions/wcsncasecmp_l.texi: Likewise. + * doc/posix-functions/wcsnlen.texi: Likewise. + * doc/posix-functions/wcsnrtombs.texi: Likewise. + * doc/posix-functions/wcsxfrm_l.texi: Likewise. + * doc/posix-functions/wctrans_l.texi: Likewise. + * doc/posix-functions/wctype_l.texi: Likewise. + * doc/glibc-functions/fgetwc_unlocked.texi: Likewise. + * doc/glibc-functions/fgetws_unlocked.texi: Likewise. + * doc/glibc-functions/fputwc_unlocked.texi: Likewise. + * doc/glibc-functions/fputws_unlocked.texi: Likewise. + * doc/glibc-functions/getwc_unlocked.texi: Likewise. + * doc/glibc-functions/getwchar_unlocked.texi: Likewise. + * doc/glibc-functions/putwc_unlocked.texi: Likewise. + * doc/glibc-functions/putwchar_unlocked.texi: Likewise. + * doc/glibc-functions/wcschrnul.texi: Likewise. + * doc/glibc-functions/wcsftime_l.texi: Likewise. + * doc/glibc-functions/wcstod_l.texi: Likewise. + * doc/glibc-functions/wcstof_l.texi: Likewise. + * doc/glibc-functions/wcstol_l.texi: Likewise. + * doc/glibc-functions/wcstold_l.texi: Likewise. + * doc/glibc-functions/wcstoll_l.texi: Likewise. + * doc/glibc-functions/wcstoq.texi: Likewise. + * doc/glibc-functions/wcstoul_l.texi: Likewise. + * doc/glibc-functions/wcstoull_l.texi: Likewise. + * doc/glibc-functions/wcstouq.texi: Likewise. + * doc/glibc-functions/wmempcpy.texi: Likewise. + +2008-12-22 Ingo Weinhold (tiny change) + Eric Blake + Paolo Bonzini + Bruno Haible + + Make c-stack work on Haiku. + * lib/c-stack.c (SA_ONSTACK): Define fallback. + (c_stack_action): Use SA_ONSTACK flag. + +2008-12-22 Bruno Haible + + * m4/locale-fr.m4 (gt_LOCALE_FR_UTF8): Treat Haiku like BeOS. + +2008-12-22 Bruno Haible + + Work around mbrlen() bugs on AIX, HP-UX, OSF/1, Solaris. + * m4/mbrlen.m4 (gl_FUNC_MBRLEN): Set REPLACE_MBRLEN if mbrtowc is + being overridden. + (gl_MBRLEN_INCOMPLETE_STATE, gl_MBRLEN_RETVAL, gl_MBRLEN_NUL_RETVAL): + New macros. + * lib/wchar.in.h (mbrlen): Override if REPLACE_MBRLEN is set. + * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_MBRLEN. + * modules/wchar (Makefile.am): Substitute REPLACE_MBRLEN. + * doc/posix-functions/mbrlen.texi: Mention the various platform bugs. + +2008-12-22 Bruno Haible + + * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE): Remove unused variable + from test code. + +2008-12-22 Eric Blake + + Avoid gcc warnings on cygwin. + * lib/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]: + Avoid unused variable. + * lib/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]: + Likewise. + +2008-12-22 Bruno Haible + + Remove HAVE_MBRTOWC conditionals. + * lib/mbscasecmp.c: Include mbuiter.h unconditionally. + (mbscasecmp): Assume mbrtowc function. + * lib/mbscasestr.c: Include mbuiter.h unconditionally. + (knuth_morris_pratt_multibyte, mbscasestr): Assume mbrtowc function. + * lib/mbschr.c: Include mbuiter.h unconditionally. + (mbschr): Assume mbrtowc function. + * lib/mbscspn.c: Include mbuiter.h unconditionally. + (mbscspn): Assume mbrtowc function. + * lib/mbslen.c: Include mbuiter.h unconditionally. + (mbslen): Assume mbrtowc function. + * lib/mbsncasecmp.c: Include mbuiter.h unconditionally. + (mbsncasecmp): Assume mbrtowc function. + * lib/mbsnlen.c: Include mbiter.h unconditionally. + (mbsnlen): Assume mbrtowc function. + * lib/mbspbrk.c: Include mbuiter.h unconditionally. + (mbspbrk): Assume mbrtowc function. + * lib/mbspcasecmp.c: Include mbuiter.h unconditionally. + (mbspcasecmp): Assume mbrtowc function. + * lib/mbsrchr.c: Include mbuiter.h unconditionally. + (mbsrchr): Assume mbrtowc function. + * lib/mbssep.c: Include mbuiter.h unconditionally. + (mbssep): Assume mbrtowc function. + * lib/mbsspn.c: Include mbuiter.h unconditionally. + (mbsspn): Assume mbrtowc function. + * lib/mbsstr.c: Include mbuiter.h unconditionally. + (knuth_morris_pratt_multibyte, mbsstr): Assume mbrtowc function. + * lib/mbstok_r.c: Include mbuiter.h unconditionally. + (mbstok_r): Assume mbrtowc function. + * lib/propername.c: Include mbuiter.h unconditionally. + (mbsstr_trimmed_wordbounded): Assume mbrtowc function. + * lib/trim.c: Include mbchar.h, mbiter.h uncondtionally. + (trim2): Assume mbrtowc function. + * lib/mbswidth.c (mbsinit): Remove fallback definition. + (mbsnwidth): Assume mbrtowc function. + * modules/mbswidth (Depends-on): Add mbrtowc, mbsinit. + * lib/quotearg.c (MB_CUR_MAX, mbstate_t, mbrtowc, iswprint): Remove + fallback definitions. + * modules/quotearg (Depends-on): Add mbrtowc, mbsinit. + +2008-12-22 Bruno Haible + + * doc/posix-functions/mbtowc.texi: Mention a glibc bug. + +2008-12-22 Paolo Bonzini + + * modules/regex: Request emulations for the mb*/wc* functions we need. + * m4/regex.m4: Don't look for those functions here. + * lib/regex_internal.h: Do not check HAVE_WCRTOMB and HAVE_MBRTOWC. + +2008-12-22 Bruno Haible + + * modules/fnmatch (Depends-on): Remove duplicated dependency. + +2008-12-21 Bruno Haible + + Make mbiter.h, mbuiter.h, mbfile.h usable unconditionally. + * modules/mbiter (Depends-on): Add mbrtowc, mbsinit. + (Include): Remove conditionalization. + * modules/mbuiter (Depends-on): Add mbrtowc, mbsinit. + (Include): Remove conditionalization. + * modules/mbfile (Depends-on): Add mbrtowc, mbsinit. + (Include): Remove conditionalization. + * m4/mbiter.m4 (gl_MBITER): Deprecate the use of AC_FUNC_MBRTOWC. + * m4/mbfile.m4 (gl_MBFILE): Likewise. + * NEWS: Mention the change. + Reported by Alan Hourihane + via Sergey Poznyakoff . + +2008-12-21 Bruno Haible + + * MODULES.html.sh (Extended multibyte and wide character utilities + ): Add btowc, wctob, mbsinit, mbrlen, mbrtowc, mbsrtowcs, + wcrtomb, wcsrtombs. + (Support for systems lacking POSIX:2008): Add accept, bind, close, + connect, fclose, getpeername, getsockname, getsockopt, hostent, listen, + mbsnrtowcs, posix_spawn*, recv, recvfrom, sched, select, send, sendto, + setsockopt, shutdown, socket, spawn, sys_wait, wcsnrtombs, write. + +2008-12-21 Bruno Haible + + * MODULES.html.sh: Change section titles to refer to POSIX:2008. + +2008-12-21 Bruno Haible + + * modules/wcsnrtombs-tests: New file. + * tests/test-wcsnrtombs1.sh: New file. + * tests/test-wcsnrtombs2.sh: New file. + * tests/test-wcsnrtombs3.sh: New file. + * tests/test-wcsnrtombs4.sh: New file. + * tests/test-wcsnrtombs.c: New file. + + New module 'wcsnrtombs'. + * lib/wchar.in.h (wcsnrtombs): New declaration. + * lib/wcsnrtombs.c: New file. + * lib/wcsrtombs-state.c: New file. + * lib/wcsrtombs.c: Refer to _gl_wcsrtombs_state. + (internal_state): Remove variable. + * m4/wcsnrtombs.m4: New file. + * m4/wcsrtombs.m4 (gl_FUNC_WCSRTOMBS): Add wcsrtombs-state.c to the + compilation units. + * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize GNULIB_WCSNRTOMBS, + HAVE_WCSNRTOMBS. + * modules/wchar (Makefile.am): Substitute GNULIB_WCSNRTOMBS, + HAVE_WCSNRTOMBS. + * modules/wcsnrtombs: New file. + * modules/wcsrtombs (Files): Add lib/wcsrtombs-state.c. + * doc/posix-functions/wcsnrtombs.texi: Mention the new module. + 2008-12-21 Bruno Haible + * modules/wcsrtombs-tests: New file. + * tests/test-wcsrtombs1.sh: New file. + * tests/test-wcsrtombs2.sh: New file. + * tests/test-wcsrtombs3.sh: New file. + * tests/test-wcsrtombs4.sh: New file. + * tests/test-wcsrtombs.c: New file. + New module 'wcsrtombs'. * lib/wchar.in.h (wcsrtombs): New declaration. * lib/wcsrtombs.c: New file.