Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | rationalise mb<->wc conversions to use restartable form | Peter Stephenson | 2006-08-03 | 4 | -11/+18 |
| | |||||
* | 22575: multibyte fixes for bslashquote(), getzlequery() | Peter Stephenson | 2006-08-01 | 4 | -31/+23 |
| | |||||
* | 22565: Fix bug after failed menucompletion with accept-and-menu-complete? | Peter Stephenson | 2006-07-30 | 1 | -2/+2 |
| | |||||
* | 22556: Multibyte separators and delimiters | Peter Stephenson | 2006-07-24 | 2 | -14/+22 |
| | |||||
* | 22544: Improve use of ztype tests for multibyte characters. Add | Peter Stephenson | 2006-07-10 | 2 | -39/+81 |
| | | | | | POSIX_IDENTIFIERS option to control allowability of multibyte alphanumeric characters in parameter and module names. | ||||
* | 22474: use variable argument lists to improve error message handling | Peter Stephenson | 2006-05-30 | 9 | -220/+195 |
| | |||||
* | Made implied "int" on new static variable explicit (which silences | Wayne Davison | 2006-05-30 | 1 | -1/+1 |
| | | | | gcc). | ||||
* | 22464: bad recursion if error in prompt substitution | Peter Stephenson | 2006-05-26 | 1 | -4/+9 |
| | |||||
* | 22448: typo retrieving $RBUFFER in completion | Peter Stephenson | 2006-05-19 | 1 | -1/+2 |
| | |||||
* | this one got missed | Peter Stephenson | 2006-04-25 | 1 | -1/+1 |
| | |||||
* | 22431: set WIDGET etc. more consistently when executing zle functions | Peter Stephenson | 2006-04-25 | 3 | -10/+17 |
| | |||||
* | 22427: zle <widget> -w sets the environment for <widget> | Peter Stephenson | 2006-04-25 | 1 | -2/+8 |
| | |||||
* | users/10172: new zle command read-command | Peter Stephenson | 2006-04-23 | 2 | -0/+14 |
| | |||||
* | 22408: support for multibyte characters in patterns | Peter Stephenson | 2006-04-09 | 1 | -18/+0 |
| | |||||
* | Fixed call to undefined function zwarnname() instead of zwarnnam(). | Wayne Davison | 2006-03-25 | 1 | -1/+1 |
| | |||||
* | 22638: MACHINES: IRIX | Peter Stephenson | 2006-03-21 | 1 | -1/+15 |
| | | | | users/10047: zle widget -K keymap | ||||
* | thinko fix | Clint Adams | 2006-03-20 | 1 | -1/+1 |
| | |||||
* | 22371: use only alphanumerics and underscores as word characters with vi ↵ | Clint Adams | 2006-03-20 | 2 | -13/+15 |
| | | | | bindings. | ||||
* | 22366: better handling for multibyte-character-containing words in vi widgets. | Clint Adams | 2006-03-17 | 1 | -12/+14 |
| | |||||
* | Fix some compiler warnings and ensure that zmod gets restored | Wayne Davison | 2006-03-09 | 1 | -7/+3 |
| | | | | properly in bin_zle_call(). | ||||
* | Changed some structures to avoid gcc's type-punned warnings. | Wayne Davison | 2006-03-07 | 10 | -54/+52 |
| | |||||
* | 22328, modified: add -o option to compadd | Peter Stephenson | 2006-03-07 | 3 | -2/+6 |
| | | | | add _list_files helper to handle new file-list style for _path_files | ||||
* | Optimized away a recently-added call to strlen(). | Wayne Davison | 2006-02-20 | 1 | -1/+1 |
| | |||||
* | Made the realocation of the line buffer in add_match_data() use a | Wayne Davison | 2006-02-19 | 1 | -8/+9 |
| | | | | little more optimal size. Also tweaked the code just a little. | ||||
* | The code in add_match_data() that looks for invalid characters | Wayne Davison | 2006-02-18 | 1 | -25/+26 |
| | | | | now properly parses the string as metafied. | ||||
* | Replaced a flawed look-behind algorithm for backslash detection | Wayne Davison | 2006-02-13 | 1 | -8/+8 |
| | | | | | with one that looks forward (avoiding an accidental quoting of a char after a "\\" sequence). | ||||
* | Made add_match_data() look for invalid multibyte chars in the | Wayne Davison | 2006-02-13 | 1 | -4/+61 |
| | | | | names and substitute $'\123' sequences for them. | ||||
* | Call makecommaspecial() when we notice we're completing inside | Wayne Davison | 2006-02-13 | 1 | -0/+5 |
| | | | | an open brace list. | ||||
* | Call ZS_memchr() instead of plain memchr() so that suffix-removal | Wayne Davison | 2006-02-09 | 1 | -2/+2 |
| | | | | works again. | ||||
* | Define ZS_memchr() as either wmemchr() or memchr(). | Wayne Davison | 2006-02-09 | 1 | -0/+2 |
| | |||||
* | 22169: hook function zle-keymap-select called when $KEYMAP changes | Peter Stephenson | 2006-01-28 | 1 | -1/+17 |
| | |||||
* | Got rid of unused-variable compiler warning when compiling a | Wayne Davison | 2006-01-13 | 1 | -1/+1 |
| | | | | non-multibyte zsh. | ||||
* | Got rid of some superfluous STOUC() calls (such as the ones I added | Wayne Davison | 2006-01-13 | 2 | -2/+2 |
| | | | | for the arg of calls to nicechar(), which doesn't need this). | ||||
* | The new "eol" var was being set in singlerefresh(), but not accessed. | Wayne Davison | 2006-01-12 | 1 | -1/+1 |
| | |||||
* | - When mbrtowc() returns -2 when given all the remaining chars in a | Wayne Davison | 2006-01-12 | 1 | -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). | ||||
* | - Use "mbs" for the multi-byte state variable name (for consistency). | Wayne Davison | 2006-01-12 | 1 | -5/+5 |
| | | | | | - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively). | ||||
* | - When mbrtowc() returns -2 when given all the remaining chars in a | Wayne Davison | 2006-01-12 | 4 | -31/+42 |
| | | | | | | | | 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). | ||||
* | Tweaked the code to handle mbrtowc() converting '\0' the same way as | Wayne Davison | 2006-01-11 | 1 | -11/+20 |
| | | | | the other callers do. Also, changed the variable name to 'cnt'. | ||||
* | The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-11 | 1 | -5/+7 |
| | | | | | 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. | ||||
* | The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-11 | 1 | -3/+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/+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. | ||||
* | A test for (size_t)-1 needed to check for (size_t)-2 too. | Wayne Davison | 2006-01-09 | 1 | -1/+1 |
| | |||||
* | The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-09 | 1 | -10/+9 |
| | | | | | | | | | | 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, the code that handled partial multibyte characters (that were assembled from multiple bytes of a metafied string) was not advancing past all the assembled bytes, nor was it handling the decoding of a '\0' char (it looks like it could have infinite looped in that case). | ||||
* | The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-09 | 1 | -15/+10 |
| | | | | | | | | 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(), and we need to clear the mbstate_t object if mbrtowc() returns an error. | ||||
* | The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-09 | 1 | -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(). | ||||
* | The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-09 | 1 | -3/+3 |
| | | | | | 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. | ||||
* | 22124: handle bad multibyte input better | Peter Stephenson | 2006-01-06 | 2 | -3/+13 |
| | |||||
* | A slightly more optimal way to fix the zle_setline() bug using | Wayne Davison | 2005-12-12 | 1 | -2/+1 |
| | | | | the same zlecs-checking idiom as setline(). | ||||
* | Fixed problem in zle_setline() where moving to an empty line would | Wayne Davison | 2005-12-12 | 1 | -1/+1 |
| | | | | set zlecs to -1. (Reported by Jun T.) | ||||
* | 22069: completion listings didn't get unmetafied | Peter Stephenson | 2005-12-10 | 1 | -7/+9 |
| |