Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Fixed completion after using the -f option due to a trailing ':', | Wayne Davison | 2006-02-05 | 1 | -24/+23 |
| | | | | | | | so removed a bunch of trailing ':'s. - Use "_directories" for consistency. - Added some missing "_files" directives. - Added some default completions for a couple options. | ||||
* | 22193: completion for wanna-build. | Clint Adams | 2006-02-05 | 2 | -0/+49 |
| | |||||
* | 22192: remove comments from .ssh/known_hosts | Peter Stephenson | 2006-02-04 | 2 | -1/+6 |
| | |||||
* | 22191: from Danek Duvall: neaten host and user completions | Peter Stephenson | 2006-02-03 | 3 | -3/+11 |
| | |||||
* | 22187: improved _hosts | Peter Stephenson | 2006-02-03 | 2 | -13/+32 |
| | |||||
* | Added one more new option for 2.6.7. | Wayne Davison | 2006-01-31 | 1 | -2/+3 |
| | |||||
* | Updated _rsync. | Wayne Davison | 2006-01-30 | 1 | -0/+5 |
| | |||||
* | Added options for upcoming 2.6.7 release. | Wayne Davison | 2006-01-30 | 1 | -11/+38 |
| | |||||
* | 22179: complete audio files and playlists based on a list of file extensions ↵ | Clint Adams | 2006-01-29 | 2 | -1/+7 |
| | | | | provided by Joe Wreschnig. | ||||
* | 22174: fix misspelling of -Q for oggdec. | Clint Adams | 2006-01-28 | 2 | -1/+6 |
| | |||||
* | 22169: hook function zle-keymap-select called when $KEYMAP changes | Peter Stephenson | 2006-01-28 | 3 | -3/+37 |
| | |||||
* | 22168: add options and handling for new subcommands added in 22166 except ↵ | Clint Adams | 2006-01-21 | 2 | -4/+90 |
| | | | | for cache and cleancache. | ||||
* | 22167: completion for GNU cp. | Clint Adams | 2006-01-21 | 2 | -0/+35 |
| | |||||
* | 22166: add new bts subcommands (clone, submitter, found, notfound, block, | Clint Adams | 2006-01-21 | 2 | -1/+10 |
| | | | | | unblock, user, usertag, package, owner, noowner, reportspam, cache, cleancache). | ||||
* | 22165: change "zshparams" to "zshparam". | Clint Adams | 2006-01-18 | 4 | -3/+8 |
| | |||||
* | Fixed a couple free()-related bugs in the %D prompt-expansion code. | Wayne Davison | 2006-01-17 | 1 | -0/+5 |
| | |||||
* | Tweaked the code that handles %D so that: (1) we don't free() a NULL | Wayne Davison | 2006-01-17 | 1 | -4/+3 |
| | | | | | pointer (we use zsfree() instead), and (2) we avoid a rare bug that could call free() on same memory twice (e.g. "%D{}%D"). | ||||
* | 22110: more intelligent su completion | Bart Schaefer | 2006-01-16 | 2 | -12/+67 |
| | |||||
* | Removed a compiler warning. | Wayne Davison | 2006-01-13 | 1 | -0/+3 |
| | |||||
* | Got rid of unused-variable compiler warning when compiling a | Wayne Davison | 2006-01-13 | 1 | -1/+1 |
| | | | | non-multibyte zsh. | ||||
* | Remove superfluous STOUC() use. | Wayne Davison | 2006-01-13 | 1 | -0/+5 |
| | |||||
* | Got rid of some superfluous STOUC() calls (such as the ones I added | Wayne Davison | 2006-01-13 | 4 | -13/+13 |
| | | | | for the arg of calls to nicechar(), which doesn't need this). | ||||
* | 22162 | Wayne Davison | 2006-01-13 | 1 | -0/+7 |
| | |||||
* | A better version of my last change. | Wayne Davison | 2006-01-13 | 1 | -12/+4 |
| | |||||
* | Metafy the output of the ztrftime() string since that's what the | Wayne Davison | 2006-01-13 | 1 | -1/+12 |
| | | | | prompt expects and some date names might not be ASCII. | ||||
* | Values being stored in an array or a hash needed to be metafied | Wayne Davison | 2006-01-13 | 1 | -5/+5 |
| | | | | (using META_DUP) instead of just duplicated via ztrdup(). | ||||
* | If we are saving the ztrftime() value in a variable, we now metafy | Wayne Davison | 2006-01-13 | 1 | -1/+1 |
| | | | | the string (using META_DUP) instead of duplicating it via ztrdup(). | ||||
* | 22159: completion for tpb. | Clint Adams | 2006-01-13 | 2 | -0/+22 |
| | |||||
* | Added missing "Src/" prefixes to a recent list of changed files. | Wayne Davison | 2006-01-12 | 1 | -2/+3 |
| | |||||
* | The new "eol" var was being set in singlerefresh(), but not accessed. | Wayne Davison | 2006-01-12 | 1 | -1/+1 |
| | |||||
* | 22153: completion for tpconfig. | Clint Adams | 2006-01-12 | 2 | -0/+29 |
| | |||||
* | Even more multibyte code cleanup. | Wayne Davison | 2006-01-12 | 1 | -6/+4 |
| | |||||
* | - 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). | ||||
* | - 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). | ||||
* | - The return value of mbrtowc() is a size_t (unsigned), so don't | Wayne Davison | 2006-01-12 | 1 | -61/+71 |
| | | | | | | | | | | | | | assign it to an int and then check for negativity, as that won't work on a system where an int is larger than a size_t. - 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 STOUC() when passing a char value to nicechar(). - Use "mbs" for the multi-byte state variable name (for consistency). - Be sure to reset the mbs state if mbrtowc() returns -1. - Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t -1 and -2 values (respectively). | ||||
* | Define MB_INCOMPLETE and MB_INVALID for MULTIBYTE_SUPPORT. | Wayne Davison | 2006-01-12 | 1 | -0/+3 |
| | |||||
* | A few more mbrtowc() cleanups. | Wayne Davison | 2006-01-11 | 1 | -0/+9 |
| | |||||
* | 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'. | ||||
* | 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. | ||||
* | 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. | ||||
* | 22151: bug outputting here-strings from which etc. when already quoted | Peter Stephenson | 2006-01-10 | 2 | -10/+16 |
| | |||||
* | Minor mbrtowc() changes. | Wayne Davison | 2006-01-09 | 1 | -4/+12 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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). |