1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-11 10:41:12 +02:00
Commit graph

499 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
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
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
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
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
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
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
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
Bart Schaefer
7f3c92059f 21821, 21822: fix two infinite loops 2005-10-04 14:27:12 +00:00
Peter Stephenson
dcc48ad81b minor tidy-ups 2005-10-02 19:13:44 +00:00
Peter Stephenson
046f4cf49e 21784: Improved character widths for formatted multibyte character output 2005-09-29 17:32:34 +00:00
Bart Schaefer
6183db6faa 21770: tweak 21760 to avoid conflicts with global bindings 2005-09-29 14:39:18 +00:00
Peter Stephenson
f3c0df36be 21769: fix some consequences of 21730 in completion lists 2005-09-27 14:30:30 +00:00
Peter Stephenson
d9bb1a52c9 21764: unmetafication mangle zle history lines 2005-09-26 18:39:21 +00:00
Bart Schaefer
5f076d1390 21760: fix test for sequence prefixes in the local keymap in getkeymapcmd() 2005-09-24 18:49:42 +00:00
Peter Stephenson
409296e22f 21736: improve tests for word and identifier characters with multibyte input 2005-09-20 15:10:26 +00:00
Peter Stephenson
bd678526b3 21731: handle multibyte characters in prompts correctly 2005-09-17 21:39:07 +00:00
Peter Stephenson
d33c6e502a 21722: fix multibyte word stuff 2005-09-09 20:34:42 +00:00
Peter Stephenson
58b9e731da 21720: fix getrestchar() some more 2005-09-09 16:55:21 +00:00
Peter Stephenson
5831792752 21717: Src/Zle/zle_misc.c: fix execute-named-command and -where-is
with multibyte support
2005-09-09 13:48:59 +00:00
Peter Stephenson
d39b9fabdb 21709 plus tweaks: use $KEYTIMEOUT for multibyte chars.Reset input state on invalid characters or EOF 2005-09-09 11:48:27 +00:00
Andrey Borzenkov
a6ebb7bfc3 21664: unmetafy ztat() argument 2005-08-18 18:19:29 +00:00
Andrey Borzenkov
c26b8accb4 21663: check for string overflow 2005-08-18 18:15:44 +00:00
Wayne Davison
5e803c0fcf Got rid of an empty #ifdef/#else/#endif. 2005-08-17 19:26:03 +00:00