1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00
Commit graph

1365 commits

Author SHA1 Message Date
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
Peter Stephenson
7c442d2e06 21930: handle extra-wide characters at end of line 2005-10-24 16:58:41 +00:00
Clint Adams
6d4c633119 21912: silence unused parameter compile warnings in cap.c 2005-10-24 02:18:15 +00:00
Bart Schaefer
533021f2ad Fix --disable-multibyte compile error. 2005-10-23 19:28:20 +00:00
Peter Stephenson
05b6a23362 not yet posted; zle line screwed up on bad return from insertlastword() 2005-10-23 17:42:56 +00:00
Peter Stephenson
e3856ef52e remove a couple of TODOs 2005-10-21 22:40:30 +00:00
Wayne Davison
99947c0c95 Got rid of a pointer-type warning by adding a definition for a
REFRESH_CHAR type and using it to define nullchr (it was using
ZLE_INT_T).
2005-10-19 23:45:06 +00:00
Peter Stephenson
2ddaeb605f 21890: fix segmentation error in left prompt truncation and a couple of minor
inconsistencies
2005-10-19 21:59:34 +00:00
Peter Stephenson
26e60b1f3a 21887: Display characters wider than one screen cell correctly. 2005-10-19 20:40:24 +00:00
Peter Stephenson
feddc4199b 21885: Convert some refresh macros into functions. 2005-10-19 18:23:06 +00:00
Peter Stephenson
4ca967e200 21882: extend prompt truncation to handle multibyte characters 2005-10-19 08:39:02 +00:00
Peter Stephenson
4a2f8d92e7 21872: job accounting in subshells was screwy 2005-10-13 17:49:59 +00:00
Peter Stephenson
3c37057c34 21871: replace INULL() by inull() 2005-10-13 16:30:13 +00:00
Peter Stephenson
cc81bba1e3 21870: bad INULL() definition
21869: multibyte characters in %-substitutions, invalid multibyte
characters in completion listings
2005-10-13 13:19:29 +00:00
Peter Stephenson
cca66ab341 21862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameter
substitutions that don't match anything.
2005-10-11 16:48:05 +00:00
Bart Schaefer
7f3c92059f 21821, 21822: fix two infinite loops 2005-10-04 14:27:12 +00:00
Peter Stephenson
c1b01cfba2 21809: need to export nicedup() 2005-10-03 09:09:58 +00:00