about summary refs log tree commit diff
path: root/Src/Zle/zle_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* 24275: fixes for multibyte characters on SolarisPeter Stephenson2007-12-171-0/+16
|
* users/11419: zle copy-region-as-kill <string>Peter Stephenson2007-04-191-6/+31
| | | | adds text to the kill ring
* 22924: a couple more metafy_line()/unmetafy_line() problemsPeter Stephenson2006-10-301-18/+18
|
* Add two widges for user control of auto-suffix remove/keep.Bart Schaefer2006-10-161-0/+9
|
* rationalise mb<->wc conversions to use restartable formPeter Stephenson2006-08-031-1/+5
|
* 22575: multibyte fixes for bslashquote(), getzlequery()Peter Stephenson2006-08-011-27/+19
|
* Got rid of some superfluous STOUC() calls (such as the ones I addedWayne Davison2006-01-131-1/+1
| | | | for the arg of calls to nicechar(), which doesn't need this).
* - When mbrtowc() returns -2 when given all the remaining chars in aWayne Davison2006-01-121-21/+30
| | | | | | | | 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).
* Changed the name of the "ret" variable in mb_niceformat() to "cnt"Wayne Davison2006-01-091-8/+7
| | | | | | | 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 only check if "cnt" is 0, since we must always change a value of 0 to 1.
* The return value of mbrtowc() is a size_t (unsigned), so don'tWayne Davison2006-01-091-4/+4
| | | | | | 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. Also, we needed to use STOUC() on a char value passed to nicechar().
* Changed zlelineasstring() and zlegetline() to each return a normal charWayne Davison2005-11-151-29/+25
| | | | | | pointer, not an unsigned char pointer. Changed stringaszleline() to take a normal char pointer for its first arg. Got rid of some unsigned-char/char pointer casts.
* - One minor change to handle the ZLE_STRING_T change.Wayne Davison2005-11-011-13/+5
| | | | - A few brace-position twiddles.
* Fixed some compiler warnings about signed/unsigned comparisons.Wayne Davison2005-10-311-2/+2
|
* 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;Peter Stephenson2005-10-281-7/+7
| | | | use multibyte versions of nicechar wherever possible.
* 21890: fix segmentation error in left prompt truncation and a couple of minorPeter Stephenson2005-10-191-1/+2
| | | | inconsistencies
* 21784: Improved character widths for formatted multibyte character outputPeter Stephenson2005-09-291-4/+61
|
* 21603: wchar/multibyte conversion of cursor position when at end of linePeter Stephenson2005-08-121-2/+7
|
* c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson2005-08-101-53/+176
|
* 21541: remove some warnings from ZLE_UNICODE_SUPPORTPeter Stephenson2005-07-281-2/+14
|
* 20872: fix ZS_{icntrl,tolower} vs. ZC_{incntrl,tolower} confusionAndrey Borzenkov2005-02-261-2/+2
|
* 20869: more small Unicode tweaksPeter Stephenson2005-02-251-3/+3
|
* 20863: fix history (i)searching for UnicodePeter Stephenson2005-02-251-11/+59
|
* 20854: more Unicode stuff.Peter Stephenson2005-02-231-39/+35
|
* 20845: fix mbstate_t usage in getrestcharAndrey Borzenkov2005-02-221-3/+3
|
* Andrej: 20838: get ZLE_UNICODE_SUPPORT basically workingPeter Stephenson2005-02-221-7/+8
|
* 20822: Initial code for Unicode/multibyte inputPeter Stephenson2005-02-181-7/+7
| | | | 20823: Debugging test in stat wrong for 64-bit systems
* 20752: fix access to ZLE parametersPeter Stephenson2005-01-261-4/+12
|
* 20750: fix hang with 20742Peter Stephenson2005-01-261-2/+9
|
* 20742: More Unicode conversion stuff.Peter Stephenson2005-01-251-80/+237
|
* * 20736: Src/Zle/zle_utils.c: change zlegetline() to return a metafied string.Clint Adams2005-01-221-7/+2
|
* * 2073x: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and zlegetlineClint Adams2005-01-221-1/+26
| | | | | caller so that the octet-based and wide-character versions should return the same string.
* * 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode stuff.Clint Adams2005-01-161-6/+1
|
* c.f. 20675: improve zle as a basis for Unicode.Peter Stephenson2005-01-141-48/+79
| | | | unposted: update version to 4.2.3-dev-1
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-3/+3
|
* zsh-users/7160: Check and fix mod_export entries.Peter Stephenson2004-03-121-1/+1
|
* a la 19209: zcalloc -> zshcallocPeter Stephenson2003-10-291-1/+1
|
* 18139: Improve $killring interface; can now change length. EmptyPeter Stephenson2003-01-271-6/+12
| | | | | strings in $killring are ignored when yank-popping. Yank-popping is more consistent about looping and using the original cutbuffer.
* avoid adding empty strings to the kill ring (13767)Sven Wischnowsky2001-03-261-0/+3
|
* Andrej: Dynamic loading on cygwinPeter Stephenson2000-08-021-1/+1
|
* AIX dependency fixesOliver Kiddle2000-07-041-1/+1
|
* scrolling in completion lists and menu-selection, version1Sven Wischnowsky2000-04-171-14/+19
|
* Updated from list as far as 10376Peter Stephenson2000-04-011-43/+49
|
* Initial revisionTanaka Akira1999-04-151-0/+650