1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-01 18:30:55 +01:00
Commit graph

1451 commits

Author SHA1 Message Date
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
Peter Stephenson
dcc48ad81b minor tidy-ups 2005-10-02 19:13:44 +00:00
Wayne Davison
d84c522b49 Changed the PROMPT_SP output to use prompt-escape %# instead of just #. 2005-10-01 19:19:06 +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
ad2bd42c85 21758: optimise =(<<<...) to run within the shell. 2005-09-23 17:03:16 +00:00
Clint Adams
fdd0397411 Stephen Rueger: 21744: unconditionally assume that \t or \n are not part of multi-byte characters. 2005-09-22 01:36:35 +00:00
Wayne Davison
0945e20323 The PROMPT_SP code now ensures that PROMPT_PERCENT is enabled when
it uses promptexpand() to expand some percent strings. (21739)
2005-09-20 16:33:01 +00:00
Peter Stephenson
29bb2438c0 unposted: fix wcsiident 2005-09-20 15:41:22 +00:00
Peter Stephenson
33c9432d56 21737: unmetafy wordchars before looking for multibyte characters 2005-09-20 15:19:06 +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