1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 18:10:56 +01:00
Commit graph

1381 commits

Author SHA1 Message Date
Peter Stephenson
bf3ee0f725 22049: bug exiting from sourced file within function 2005-12-03 00:14:05 +00:00
Wayne Davison
37e08571a4 Fixed parsedigit() to have it use its arg instead of "lastchar". 2005-11-30 16:49:44 +00:00
Wayne Davison
9483fd8a14 One more fix for the non-multibyte prototype generation. 2005-11-30 16:35:33 +00:00
Geoff Wing
fac5d69b8b fix utils.c prototype generation for non multibyte build 2005-11-29 01:43:14 +00:00
Peter Stephenson
3403c59af2 22027: more zsh-newuser-install fixes
22028: WARN_CREATE_GLOBAL overeager with temporarily set variables
2005-11-25 10:36:19 +00:00
Peter Stephenson
e66af50a98 22014: argument-base, insert-unicode-char 2005-11-24 10:25:33 +00:00
Peter Stephenson
09a854378a 22009: another double-width character fix 2005-11-21 15:22:12 +00:00
Wayne Davison
63cf1412f2 Got rid of two unneeded "(char *)" casts. 2005-11-18 17:26:10 +00:00
Wayne Davison
2288d7760b Got rid of some compiler warnings about comparisons between signed
and unsigned variables.
2005-11-15 09:34:00 +00:00
Wayne Davison
c70dabb500 Changed zlelineasstring() and zlegetline() to each return a normal char
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.
2005-11-15 08:44:32 +00:00
Wayne Davison
de79438241 Changed zlemetaline into a normal char pointer, not unsigned char.
Got rid of some unsigned-char/char pointer casts.
2005-11-15 08:44:30 +00:00
Wayne Davison
62c71d5d50 Changed zleread() to return a normal char pointer, not unsigned char.
Got rid of some unsigned-char/char pointer casts.
2005-11-15 08:44:28 +00:00
Wayne Davison
0f0d610401 The non-multibyte version of ZWS() doesn't need to force a cast anymore. 2005-11-15 08:44:26 +00:00
Wayne Davison
01875dc4a1 Changed ztrcmp() to take normal char pointers, not unsigned char. 2005-11-15 08:44:24 +00:00
Wayne Davison
d8838293f5 Changed two zle functions to each return a char pointer, not an
unsigned char pointer.
2005-11-15 08:44:21 +00:00
Wayne Davison
e79af955f0 Got rid of some unsigned-char/char pointer casts. 2005-11-15 08:44:17 +00:00
Peter Stephenson
e366ca8dbf users/9638: tweaks for FCEDIT etc.
21986: rewrite completion suffixes for wide characters
2005-11-07 09:37:34 +00:00
Peter Stephenson
325f9c5dea users/9618, modified: :G for global substution modifier 2005-11-04 16:20:32 +00:00
Andrey Borzenkov
0acbed6ab0 21978: unmetafy file name 2005-11-02 19:29:53 +00:00
Peter Stephenson
337b9dba1f 21974: memory leak with tied parameters 2005-11-02 12:04:46 +00:00
Peter Stephenson
6bca0ecb48 users/9610: handle digit argument when copying words 2005-11-02 11:09:22 +00:00
Peter Stephenson
29b0eda154 21973: typo caused digitargument() not to work 2005-11-02 10:11:32 +00:00
Peter Stephenson
8a9c9d8078 21971: multibyte version of pfxlen() 2005-11-01 23:10:17 +00:00
Peter Stephenson
f42d15278d 21967: add ${(#)...} substitution 2005-11-01 18:04:24 +00:00
Wayne Davison
f53996f14b I just noticed that zsh's default icntrl() macro returns true for
chars 128 - 159, so the "... ? ZWC('?') : (CHAR_VALUE | ZWC('@'))"
code needed to be updated to reflect this.
2005-11-01 04:02:02 +00:00
Wayne Davison
781711e733 - One minor change to handle the ZLE_STRING_T change.
- A few brace-position twiddles.
2005-11-01 03:26:57 +00:00
Wayne Davison
957b5cf3cd - Changed a couple pointers from "char *" to "unsigned char *" in
order to match the zlemetaline's type.
- A few brace-position twiddles.
2005-11-01 03:26:56 +00:00
Wayne Davison
b6fefba340 - Improved all the "... ? ZWC('?') : (CHAR_VALUE | ZWC('@'))" code
lines to work in both normal and multibyte mode without needing
  conditional code.
- A couple brace-position twiddles.
2005-11-01 03:26:54 +00:00
Wayne Davison
b043969570 - A few changes in light of the new ZLE_CHAR_T and ZLE_STRING_T.
- Use idigit() in place of some former '0' - '9' range checks.
- Simplified some multibyte conditional code by using ZC_icntrl()
  and LASTFULLCHAR.
2005-11-01 03:26:52 +00:00
Wayne Davison
ee324f449e Changed the non-wide version of: ZLE_CHAR_T into a "char" (formerly
an "int"), and ZLE_STRING_T into a "char *" (formerly an "unsigned
char *").
2005-11-01 03:26:51 +00:00
Wayne Davison
16697055ac Changed zle_text to a "char *" to match the new ZLE_STRING_T. 2005-11-01 03:26:50 +00:00
Wayne Davison
0d611ed481 - Changed a bunch of iblank() calls on zleline to use ZC_iblank().
- Changed one isalpha() call on zleline to use the new ZC_ialpha().
2005-11-01 02:50:31 +00:00
Wayne Davison
8fde3fdf76 - In vireplacechars(), changed "ch" into a ZLE_INT_T.
- Changed some islower()/isupper()/iblank() calls on zleline to
  use the new ZC_i<type> versions.
2005-11-01 02:50:30 +00:00
Wayne Davison
aa02446422 Changed iblank() calls on zleline to use ZC_iblank(). 2005-11-01 02:50:29 +00:00
Wayne Davison
2c28e857f8 - Defined some new ZC_i<type> macros, such as ZC_ilower, ZC_inblank,
ZC_iupper, etc.
- Fixed ZC_iblank to not return true when given a newline.
2005-11-01 02:50:28 +00:00
Wayne Davison
53d663f543 Changed some isdigit() calls to use idigit(). 2005-11-01 02:50:27 +00:00
Wayne Davison
dbac6846fa - Added the wcsiblank() function for wide-char blank-checking that
does not match '\n'.
- Fixed a couple calls to isascii() that were passing a "char" value.
2005-11-01 02:50:24 +00:00
Wayne Davison
232824511b Added macros for iascii(), ilower(), iprint(), and iupper(). 2005-11-01 02:50:22 +00:00
Wayne Davison
285ac8428f Fixed a compiler warning about a signed/unsigned comparison. 2005-10-31 21:19:30 +00:00
Wayne Davison
e02e6d0a26 Fixed some compiler warnings about signed/unsigned comparisons. 2005-10-31 21:12:24 +00:00
Wayne Davison
edbe0eda22 In parse_cadef(), the variable name oargs was re-defined in an inner
context, so I changed the name of the outer variable to orig_args.
2005-10-31 19:59:20 +00:00
Wayne Davison
87f010ec1a Use idigit() instead of range-checking '0' - '9'. 2005-10-31 18:22:40 +00:00
Peter Stephenson
4f683c2eea 21957: more wide-character refresh stuff 2005-10-30 20:39:38 +00:00
Wayne Davison
0fb08f5670 Made the two ZC_REDIR_*() macros return an int. 2005-10-28 22:14:22 +00:00
Wayne Davison
0b31102c4c Got rid of a use of WEOF when MULTIBYTE_SUPPORT is not defined
(which fixed a signed vs unsigned comparison compiler warning).
2005-10-28 22:13:44 +00:00
Peter Stephenson
d5ac7ad46e unposted: bit I missed in 21945 2005-10-28 17:42:07 +00:00
Peter Stephenson
aea7715261 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;
use multibyte versions of nicechar wherever possible.
2005-10-28 17:34:33 +00:00
Peter Stephenson
5f11a38bea 21942: another extra-wide character fix 2005-10-28 12:52:22 +00:00
Peter Stephenson
d7a37f48fd 21939: new UNMETACHECK() was too ruthless 2005-10-26 10:06:47 +00:00
Peter Stephenson
60a99da054 21936: bug deleting extra-wide character 2005-10-25 23:13:40 +00:00