about summary refs log tree commit diff
path: root/Src/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* unposted: typo in 22885Peter Stephenson2006-10-191-1/+1
|
* 22885: fix problems with multibyte tokenized stringsPeter Stephenson2006-10-191-0/+15
| | | | unposted: _todo.sh: more contexts
* 22852: users style effect changed in 22191Peter Stephenson2006-10-101-1/+1
| | | | 22853: unquoted ^ at end of bindkey string treated literally
* 22819: improved internal use of string quotation,Peter Stephenson2006-10-051-26/+31
| | | | plus completion bug fix with RCQUOTES
* 22765: rename some MB_ macros to WC_ for consistency.Peter Stephenson2006-09-231-4/+4
|
* 22753: minor character bugs spotted on CygwinPeter Stephenson2006-09-211-1/+2
|
* assume width 1 for control characters;Peter Stephenson2006-09-151-8/+12
| | | | don't crash if width of repeated padding string is 0
* 22705: make ${(l...)...} and ${(r...)...} handle multibyte charactersPeter Stephenson2006-09-131-57/+31
|
* 22684: improve getkeystring() interface and make printf do octal escapesPeter Stephenson2006-09-101-37/+25
|
* 22676, 22678: extend sched and make it able to run events when waiting forPeter Stephenson2006-09-101-6/+139
| | | | input
* 22599: use wide character widths in completionPeter Stephenson2006-08-111-3/+8
|
* 22586: fix warnings spotted on CygwinPeter Stephenson2006-08-041-1/+9
|
* 22585: fix zsh.exportsPeter Stephenson2006-08-041-2/+2
|
* rationalise mb<->wc conversions to use restartable formPeter Stephenson2006-08-031-33/+31
|
* 22575: multibyte fixes for bslashquote(), getzlequery()Peter Stephenson2006-08-011-112/+138
|
* fix typos in 22556Peter Stephenson2006-07-251-1/+3
|
* 22556: Multibyte separators and delimitersPeter Stephenson2006-07-241-141/+261
|
* 22544: Improve use of ztype tests for multibyte characters. AddPeter Stephenson2006-07-101-10/+84
| | | | | POSIX_IDENTIFIERS option to control allowability of multibyte alphanumeric characters in parameter and module names.
* 22529: multibyte conversion in math expressionsPeter Stephenson2006-06-301-0/+11
|
* 22525: lengths and cases of multibyte strings in parameters and historyPeter Stephenson2006-06-281-5/+15
|
* 22522: infinite loop with invalid character in mb_metastrlen()Peter Stephenson2006-06-271-2/+2
|
* 22518: Initial go at making parameter subscriptsPeter Stephenson2006-06-261-0/+106
| | | | use multibyte characters.
* 22484: support varargs.h in addition to stdarg.hPeter Stephenson2006-06-051-20/+44
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-43/+79
|
* 22408: support for multibyte characters in patternsPeter Stephenson2006-04-091-1/+1
|
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-8/+8
|
* Added "mod_export" to the declaration of makecommaspecial().Wayne Davison2006-03-011-1/+1
|
* Added the makecommaspecial() routine that completion uses whenWayne Davison2006-02-131-0/+14
| | | | it is completing filenames into an open brace list.
* 22195: don't set HOME in the shellPeter Stephenson2006-02-061-2/+2
|
* Got rid of some superfluous STOUC() calls (such as the ones I addedWayne Davison2006-01-131-5/+4
| | | | for the arg of calls to nicechar(), which doesn't need this).
* - The return value of mbsrtowcs() is also a size_t (like mbrtowc()).Wayne Davison2006-01-121-21/+33
| | | | | | | | | - When mbrtowc() returns -2 when given all the remaining chars in a string, set an end-of-line flag and avoid calling mbrtowc() again for any of the incomplete characters that remain in the string. - Use "mbs" for the multi-byte state variable name (for consistency). - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively).
* Decided to use a switch() in mb_niceformat().Wayne Davison2006-01-111-7/+12
|
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-111-6/+6
| | | | | assign it to an int and then check if it's <= 0, as that won't work on a system where an int is larger than a size_t.
* Changed the name of the "ret" variable in mb_niceformat() to "cnt"Wayne Davison2006-01-091-8/+8
| | | | | | | because "ret" is usually used for a variable name to hold the return value of the function. Also, changed the test when checking for a \0 to one that checks if "cnt" is 0, since we must always change a value of 0 to 1.
* Changed mb_niceformat() so that it does not truncate a name thatWayne Davison2006-01-081-15/+14
| | | | | | has an invalid character sequence in the current character set, displaying them as \M-... chars. (Improved version of the patch from workers/22140.)
* Changed wcswidth(&c, 1) to wcwidth(c).Wayne Davison2006-01-081-1/+1
|
* 22085 and back off 22075: include langinfo.h to get iconvPeter Stephenson2005-12-151-3/+3
|
* Changed ucs4toutf8() into a static function (since it's onlyWayne Davison2005-12-141-2/+1
| | | | used by this file when it's even defined).
* 22075: assume we can convert characters with wctomb() with --enable-multibytePeter Stephenson2005-12-141-3/+3
|
* One more fix for the non-multibyte prototype generation.Wayne Davison2005-11-301-0/+2
|
* fix utils.c prototype generation for non multibyte buildGeoff Wing2005-11-291-0/+2
|
* Changed ztrcmp() to take normal char pointers, not unsigned char.Wayne Davison2005-11-151-17/+19
|
* - Added the wcsiblank() function for wide-char blank-checking thatWayne Davison2005-11-011-2/+12
| | | | | does not match '\n'. - Fixed a couple calls to isascii() that were passing a "char" value.
* 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson2005-10-281-28/+32
| | | | use multibyte versions of nicechar wherever possible.
* 21882: extend prompt truncation to handle multibyte charactersPeter Stephenson2005-10-191-0/+43
|
* 21871: replace INULL() by inull()Peter Stephenson2005-10-131-1/+3
|
* 21809: need to export nicedup()Peter Stephenson2005-10-031-1/+1
|
* Changed the PROMPT_SP output to use prompt-escape %# instead of just #.Wayne Davison2005-10-011-2/+2
|
* 21784: Improved character widths for formatted multibyte character outputPeter Stephenson2005-09-291-75/+203
|
* 21769: fix some consequences of 21730 in completion listsPeter Stephenson2005-09-271-1/+1
|