Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 22195: don't set HOME in the shell | Peter Stephenson | 2006-02-06 | 1 | -2/+2 |
| | |||||
* | Got rid of some superfluous STOUC() calls (such as the ones I added | Wayne Davison | 2006-01-13 | 1 | -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 Davison | 2006-01-12 | 1 | -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 Davison | 2006-01-11 | 1 | -7/+12 |
| | |||||
* | The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-11 | 1 | -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 Davison | 2006-01-09 | 1 | -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 that | Wayne Davison | 2006-01-08 | 1 | -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 Davison | 2006-01-08 | 1 | -1/+1 |
| | |||||
* | 22085 and back off 22075: include langinfo.h to get iconv | Peter Stephenson | 2005-12-15 | 1 | -3/+3 |
| | |||||
* | Changed ucs4toutf8() into a static function (since it's only | Wayne Davison | 2005-12-14 | 1 | -2/+1 |
| | | | | used by this file when it's even defined). | ||||
* | 22075: assume we can convert characters with wctomb() with --enable-multibyte | Peter Stephenson | 2005-12-14 | 1 | -3/+3 |
| | |||||
* | One more fix for the non-multibyte prototype generation. | Wayne Davison | 2005-11-30 | 1 | -0/+2 |
| | |||||
* | fix utils.c prototype generation for non multibyte build | Geoff Wing | 2005-11-29 | 1 | -0/+2 |
| | |||||
* | Changed ztrcmp() to take normal char pointers, not unsigned char. | Wayne Davison | 2005-11-15 | 1 | -17/+19 |
| | |||||
* | - Added the wcsiblank() function for wide-char blank-checking that | Wayne Davison | 2005-11-01 | 1 | -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 Stephenson | 2005-10-28 | 1 | -28/+32 |
| | | | | use multibyte versions of nicechar wherever possible. | ||||
* | 21882: extend prompt truncation to handle multibyte characters | Peter Stephenson | 2005-10-19 | 1 | -0/+43 |
| | |||||
* | 21871: replace INULL() by inull() | Peter Stephenson | 2005-10-13 | 1 | -1/+3 |
| | |||||
* | 21809: need to export nicedup() | Peter Stephenson | 2005-10-03 | 1 | -1/+1 |
| | |||||
* | Changed the PROMPT_SP output to use prompt-escape %# instead of just #. | Wayne Davison | 2005-10-01 | 1 | -2/+2 |
| | |||||
* | 21784: Improved character widths for formatted multibyte character output | Peter Stephenson | 2005-09-29 | 1 | -75/+203 |
| | |||||
* | 21769: fix some consequences of 21730 in completion lists | Peter Stephenson | 2005-09-27 | 1 | -1/+1 |
| | |||||
* | The PROMPT_SP code now ensures that PROMPT_PERCENT is enabled when | Wayne Davison | 2005-09-20 | 1 | -1/+5 |
| | | | | it uses promptexpand() to expand some percent strings. (21739) | ||||
* | unposted: fix wcsiident | Peter Stephenson | 2005-09-20 | 1 | -1/+1 |
| | |||||
* | 21737: unmetafy wordchars before looking for multibyte characters | Peter Stephenson | 2005-09-20 | 1 | -5/+8 |
| | |||||
* | 21736: improve tests for word and identifier characters with multibyte input | Peter Stephenson | 2005-09-20 | 1 | -6/+92 |
| | |||||
* | 21730: fix metafication of nicechar and pwd | Peter Stephenson | 2005-09-17 | 1 | -15/+33 |
| | |||||
* | 21722: fix multibyte word stuff | Peter Stephenson | 2005-09-09 | 1 | -0/+36 |
| | |||||
* | Marked some #ifdef ZLE_UNICODE_SUPPORT lines (and their #endif lines) | Wayne Davison | 2005-08-17 | 1 | -0/+8 |
| | | | | with /**/ so that they would get copied to the .epro file. | ||||
* | 21619: define wide versions of zarrdup, zputs, niceztrlen. | Clint Adams | 2005-08-15 | 1 | -0/+101 |
| | |||||
* | c.f. 21590: metafy_line()/unmetafy_line() now support wide characters | Peter Stephenson | 2005-08-10 | 1 | -1/+1 |
| | |||||
* | 21577 (adapted): Dan Bullok: improved window resize handling, again | Peter Stephenson | 2005-08-09 | 1 | -1/+2 |
| | |||||
* | 21567: Dan Bullok: trashzle on updating window size | Peter Stephenson | 2005-08-08 | 1 | -1/+1 |
| | |||||
* | The PROMPT_SP output should be prior to the job notifications too. | Wayne Davison | 2005-07-27 | 1 | -7/+7 |
| | |||||
* | Moved the PROMPT_SP output into preprompt() so that it takes effect | Wayne Davison | 2005-07-26 | 1 | -0/+9 |
| | | | | prior to things like precmd(), the mail-check output, etc. | ||||
* | If getkeystring() finds a \c escape (when looking for such escapes), | Wayne Davison | 2005-07-26 | 1 | -1/+3 |
| | | | | truncate the returned string at the escape. | ||||
* | Improved the function comment for getkeystring(). | Wayne Davison | 2005-07-24 | 1 | -10/+11 |
| | |||||
* | Added missing "goto" in handling of 'c' escape (fix from | Wayne Davison | 2005-07-24 | 1 | -0/+2 |
| | | | | Thorsten Dahlheimer). | ||||
* | 21049: Don't close process substitution file descriptors for external programmes | Peter Stephenson | 2005-03-31 | 1 | -5/+6 |
| | |||||
* | Belated commit of 20892: improvements to correct/correctall behavior. | Bart Schaefer | 2005-03-11 | 1 | -13/+48 |
| | |||||
* | 20921: using UCS-4BE instead of ISO-10646 to identify character encoding | Oliver Kiddle | 2005-03-03 | 1 | -3/+3 |
| | | | | | is more portable, find more encodings in iconv completion on Solaris 20924: make error message more specific | ||||
* | 20863: fix history (i)searching for Unicode | Peter Stephenson | 2005-02-25 | 1 | -30/+0 |
| | |||||
* | 20862: attempt to fix configure scripts to detect iconv properly | Oliver Kiddle | 2005-02-24 | 1 | -6/+6 |
| | |||||
* | 20844: prune trailing slashes from named directory | Peter Stephenson | 2005-02-22 | 1 | -1/+13 |
| | |||||
* | 20759, 20760, 20765: Improve Cygwin configuration | Peter Stephenson | 2005-02-01 | 1 | -2/+2 |
| | |||||
* | c.f. 20675: improve zle as a basis for Unicode. | Peter Stephenson | 2005-01-14 | 1 | -14/+3 |
| | | | | unposted: update version to 4.2.3-dev-1 | ||||
* | 20572: Allow alternative signal names | Peter Stephenson | 2004-11-22 | 1 | -21/+0 |
| | |||||
* | Added gettempfile(), which works like a custom mkstemp() (in addition | Wayne Davison | 2004-10-21 | 1 | -0/+41 |
| | | | | to the existing gettempname(), which works like a custom mktemp()). | ||||
* | Made gettempname() take a prefix arg and a use_heap arg. When prefix is | Wayne Davison | 2004-10-18 | 1 | -9/+15 |
| | | | | non-NULL, it uses the specified prefix instead of $TMPPREFIX. | ||||
* | Made zclose() avoid calling close() when fd < 0. | Wayne Davison | 2004-10-18 | 1 | -1/+2 |
| |