summary refs log tree commit diff
path: root/Src/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* The PROMPT_SP code now ensures that PROMPT_PERCENT is enabled whenWayne Davison2005-09-201-1/+5
| | | | it uses promptexpand() to expand some percent strings. (21739)
* unposted: fix wcsiidentPeter Stephenson2005-09-201-1/+1
|
* 21737: unmetafy wordchars before looking for multibyte charactersPeter Stephenson2005-09-201-5/+8
|
* 21736: improve tests for word and identifier characters with multibyte inputPeter Stephenson2005-09-201-6/+92
|
* 21730: fix metafication of nicechar and pwdPeter Stephenson2005-09-171-15/+33
|
* 21722: fix multibyte word stuffPeter Stephenson2005-09-091-0/+36
|
* Marked some #ifdef ZLE_UNICODE_SUPPORT lines (and their #endif lines)Wayne Davison2005-08-171-0/+8
| | | | with /**/ so that they would get copied to the .epro file.
* 21619: define wide versions of zarrdup, zputs, niceztrlen.Clint Adams2005-08-151-0/+101
|
* c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson2005-08-101-1/+1
|
* 21577 (adapted): Dan Bullok: improved window resize handling, againPeter Stephenson2005-08-091-1/+2
|