summaryrefslogtreecommitdiff
path: root/lib/quotearg.c
AgeCommit message (Collapse)Author
2000-06-23Include <wctype.h> after <wchar.h>,Jim Meyering
for Solaris 2.5. (mbrtowc, mbstate_t): Define substitutes if HAVE_MBRTOWC && HAVE_WCHAR_H && !HAVE_MBSTATE_T_OBJECT. (iswprint): Define to 1 if !defined iswprint && !HAVE_ISWPRINT, not if ! (HAVE_MBRTOWC && HAVE_WCHAR_H).
2000-02-28(ALERT_CHAR): New macro.Jim Meyering
(quotearg_buffer_restyled): Use it.
2000-01-31fix typo. sheeshJim Meyering
2000-01-31(ISASCII): Add #undef and move definition to followJim Meyering
inclusion of wctype.h to work around solaris2.6 namespace pollution. (ISPRINT): Likewise.
2000-01-22[HAVE_WCTYPE_H]: Include <wctype.h>.Jim Meyering
2000-01-17(quotearg_buffer_restyled): Do not quoteJim Meyering
alert, backslash, formfeed, and vertical tab unnecessarily in shell quoting style.
2000-01-15Quote multibyte characters correctly.Jim Meyering
(ISGRAPH): Remove. (ISPRINT): New macro. (<wchar.h>): Include if HAVE_MBRTOWC && HAVE_WCHAR_H. (isprint, mbrtowc, mbsinit, mbstate_t): New macros, defined if ! (HAVE_MBRTOWC && HAVE_WCHAR_H). (quotearg_buffer_restyled): New function, with most of the old quotearg_buffer's contents. Major rewrite to support multibyte characters. (quotearg_buffer): Now just calls quotearg_buffer_restyled.
1999-08-10Include <libintl.h> if ENABLE_NLS.Jim Meyering
(_): New macro. (quoting_style_args, quoting_style_v, quotearg_buffer): Add support for locale_quoting_style, using _("`") and _("'") for open and close quote symbols. Do not quote spaces in escape_quoting_style. (quotearg_n_style, quotearg_style): New functions.
1999-08-01(quotearg_buffer):Jim Meyering
Don't quote spaces if C quoting style.
1999-01-25(quotearg_n_options): Revert type of parameter `n'Jim Meyering
(and hence that of the local `n1', too) to `int' at Paul's request.
1999-01-16(quotearg_n_options): Declare n1 to be of typeJim Meyering
unsigned int, not just int.
1999-01-11(quotearg_buffer): Change escape_quoting_style so that it no longer escapes ` '.Jim Meyering
Suggestion from Paul Eggert.
1999-01-01(quotearg_n_options): Make `options' parameter be `const'.Jim Meyering
1999-01-01(quotearg_buffer): Cast -1 to size_t before comparing.Jim Meyering
(quotearg_n): Change type of 1st parameter from int to unsigned int. (quotearg_n_options): Likewise. From Akim Demaille.
1998-12-11(quotearg_buffer): Use `7' as the mask, not `3'.Jim Meyering
From Bruno Haible.
1998-03-21Update from patch-2.5.3.Jim Meyering
1998-02-23.Jim Meyering