Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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. | |||||
* | 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.) | |||||
* | Got rid of wcswidth() define for OpenBSD now that wcswidth() isn't | Wayne Davison | 2006-01-08 | 1 | -4/+0 | |
| | | | | used. | |||||
* | Changed wcswidth(&c, 1) to wcwidth(c). | Wayne Davison | 2006-01-08 | 1 | -1/+1 | |
| | ||||||
* | 22124: handle bad multibyte input better | Peter Stephenson | 2006-01-06 | 2 | -3/+13 | |
| | ||||||
* | 22123: probe for wcswidth() and assume 1 if not found | Peter Stephenson | 2006-01-06 | 1 | -0/+4 | |
| | ||||||
* | 22082: print out uid or gid in stat if name not available | Peter Stephenson | 2005-12-19 | 1 | -6/+18 | |
| | ||||||
* | Two changes in the HIST_SAVE_BY_COPY code: (1) preserve the group | Wayne Davison | 2005-12-17 | 1 | -2/+20 | |
| | | | | | | and permissions on the history file, and (2) fail if zsh's euid differs from the file's uid (since that would change the history file's owner). | |||||
* | 22085 and back off 22075: include langinfo.h to get iconv | Peter Stephenson | 2005-12-15 | 2 | -10/+9 | |
| | ||||||
* | users/9788: add (oN) glob qualifier for no sorting | Peter Stephenson | 2005-12-15 | 1 | -14/+33 | |
| | | | | 22076: more documentation for multibyte handling | |||||
* | 21814: error handling for traps in "always" constructs. | Bart Schaefer | 2005-12-15 | 2 | -3/+17 | |
| | ||||||
* | 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 | |
| | ||||||
* | 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 | |
| | ||||||
* | Just-added "return" should have returned a value. | Wayne Davison | 2005-12-10 | 1 | -1/+1 | |
| | ||||||
* | 22057: don't use zsh/newuser in emulation | Peter Stephenson | 2005-12-09 | 2 | -1/+4 | |
| | | | | 22058: tweak docs for release | |||||
* | 22049: bug exiting from sourced file within function | Peter Stephenson | 2005-12-03 | 1 | -1/+2 | |
| | ||||||
* | Fixed parsedigit() to have it use its arg instead of "lastchar". | Wayne Davison | 2005-11-30 | 1 | -15/+12 | |
| | ||||||
* | 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 | |
| | ||||||
* | 22027: more zsh-newuser-install fixes | Peter Stephenson | 2005-11-25 | 1 | -6/+30 | |
| | | | | 22028: WARN_CREATE_GLOBAL overeager with temporarily set variables | |||||
* | 22014: argument-base, insert-unicode-char | Peter Stephenson | 2005-11-24 | 4 | -16/+75 | |
| | ||||||
* | 22009: another double-width character fix | Peter Stephenson | 2005-11-21 | 1 | -0/+6 | |
| | ||||||
* | Got rid of two unneeded "(char *)" casts. | Wayne Davison | 2005-11-18 | 1 | -2/+2 | |
| | ||||||
* | Got rid of some compiler warnings about comparisons between signed | Wayne Davison | 2005-11-15 | 1 | -5/+6 | |
| | | | | and unsigned variables. | |||||
* | Changed zlelineasstring() and zlegetline() to each return a normal char | Wayne Davison | 2005-11-15 | 1 | -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. | |||||
* | Changed zlemetaline into a normal char pointer, not unsigned char. | Wayne Davison | 2005-11-15 | 1 | -39/+35 | |
| | | | | Got rid of some unsigned-char/char pointer casts. | |||||
* | Changed zleread() to return a normal char pointer, not unsigned char. | Wayne Davison | 2005-11-15 | 1 | -8/+7 | |
| | | | | Got rid of some unsigned-char/char pointer casts. | |||||
* | The non-multibyte version of ZWS() doesn't need to force a cast anymore. | Wayne Davison | 2005-11-15 | 1 | -2/+2 | |
| | ||||||
* | Changed ztrcmp() to take normal char pointers, not unsigned char. | Wayne Davison | 2005-11-15 | 1 | -17/+19 | |
| | ||||||
* | Changed two zle functions to each return a char pointer, not an | Wayne Davison | 2005-11-15 | 2 | -5/+5 | |
| | | | | unsigned char pointer. | |||||
* | Got rid of some unsigned-char/char pointer casts. | Wayne Davison | 2005-11-15 | 11 | -112/+86 | |
| | ||||||
* | users/9638: tweaks for FCEDIT etc. | Peter Stephenson | 2005-11-07 | 6 | -56/+204 | |
| | | | | 21986: rewrite completion suffixes for wide characters | |||||
* | users/9618, modified: :G for global substution modifier | Peter Stephenson | 2005-11-04 | 1 | -6/+34 | |
| | ||||||
* | 21978: unmetafy file name | Andrey Borzenkov | 2005-11-02 | 1 | -2/+2 | |
| | ||||||
* | 21974: memory leak with tied parameters | Peter Stephenson | 2005-11-02 | 1 | -1/+6 | |
| | ||||||
* | users/9610: handle digit argument when copying words | Peter Stephenson | 2005-11-02 | 1 | -11/+29 | |
| | ||||||
* | 21973: typo caused digitargument() not to work | Peter Stephenson | 2005-11-02 | 1 | -2/+2 | |
| | ||||||
* | 21971: multibyte version of pfxlen() | Peter Stephenson | 2005-11-01 | 2 | -3/+43 | |
| | ||||||
* | 21967: add ${(#)...} substitution | Peter Stephenson | 2005-11-01 | 1 | -0/+43 | |
| | ||||||
* | I just noticed that zsh's default icntrl() macro returns true for | Wayne Davison | 2005-11-01 | 1 | -3/+3 | |
| | | | | | chars 128 - 159, so the "... ? ZWC('?') : (CHAR_VALUE | ZWC('@'))" code needed to be updated to reflect this. | |||||
* | - One minor change to handle the ZLE_STRING_T change. | Wayne Davison | 2005-11-01 | 1 | -13/+5 | |
| | | | | - A few brace-position twiddles. | |||||
* | - Changed a couple pointers from "char *" to "unsigned char *" in | Wayne Davison | 2005-11-01 | 1 | -19/+16 | |
| | | | | | order to match the zlemetaline's type. - A few brace-position twiddles. | |||||
* | - Improved all the "... ? ZWC('?') : (CHAR_VALUE | ZWC('@'))" code | Wayne Davison | 2005-11-01 | 1 | -13/+5 | |
| | | | | | | lines to work in both normal and multibyte mode without needing conditional code. - A couple brace-position twiddles. | |||||
* | - A few changes in light of the new ZLE_CHAR_T and ZLE_STRING_T. | Wayne Davison | 2005-11-01 | 1 | -20/+11 | |
| | | | | | | - Use idigit() in place of some former '0' - '9' range checks. - Simplified some multibyte conditional code by using ZC_icntrl() and LASTFULLCHAR. | |||||
* | Changed the non-wide version of: ZLE_CHAR_T into a "char" (formerly | Wayne Davison | 2005-11-01 | 1 | -4/+4 | |
| | | | | | an "int"), and ZLE_STRING_T into a "char *" (formerly an "unsigned char *"). |