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

127 commits

Author SHA1 Message Date
Peter Stephenson
289b14113b 22819: improved internal use of string quotation,
plus completion bug fix with RCQUOTES
2006-10-05 21:53:26 +00:00
Peter Stephenson
0d4a9f65f7 22713: word end in math completion context was screwy 2006-09-15 15:38:36 +00:00
Peter Stephenson
754503c60d 22651: failed to unmetafy bytes for output 2006-08-20 22:28:17 +00:00
Peter Stephenson
f29b8450e7 22643: completing in math context 2006-08-20 18:07:49 +00:00
Peter Stephenson
2ccad2310e 22599: use wide character widths in completion 2006-08-11 21:30:38 +00:00
Peter Stephenson
d5b3716e1c 22597: back off two column-subtraction hunks 2006-08-10 16:34:19 +00:00
Peter Stephenson
2983ed3fb3 22594: Attempt to fix some off-by-one errors for completion lists
that exactly fit the display width
2006-08-09 22:08:38 +00:00
Peter Stephenson
48d6402e65 rationalise mb<->wc conversions to use restartable form 2006-08-03 15:37:49 +00:00
Peter Stephenson
bb912594b2 22575: multibyte fixes for bslashquote(), getzlequery() 2006-08-01 21:28:04 +00:00
Peter Stephenson
4a67f24798 22544: Improve use of ztype tests for multibyte characters. Add
POSIX_IDENTIFIERS option to control allowability of multibyte
alphanumeric characters in parameter and module names.
2006-07-10 13:08:22 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Wayne Davison
4cb83571c4 Changed some structures to avoid gcc's type-punned warnings. 2006-03-07 21:30:36 +00:00
Wayne Davison
f8e97151de Call makecommaspecial() when we notice we're completing inside
an open brace list.
2006-02-13 11:01:04 +00:00
Wayne Davison
f6fefb2db3 - Use "mbs" for the multi-byte state variable name (for consistency).
- Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t
  -1 and -2 values (respectively).
2006-01-12 00:51:53 +00:00
Wayne Davison
c6798bc151 The return value of mbrtowc() is a size_t (unsigned), so don't
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.
2006-01-11 19:49:59 +00:00
Wayne Davison
63cf1412f2 Got rid of two unneeded "(char *)" casts. 2005-11-18 17:26:10 +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
Peter Stephenson
8a9c9d8078 21971: multibyte version of pfxlen() 2005-11-01 23:10:17 +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
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
3c37057c34 21871: replace INULL() by inull() 2005-10-13 16:30:13 +00:00
Peter Stephenson
046f4cf49e 21784: Improved character widths for formatted multibyte character output 2005-09-29 17:32:34 +00:00
Peter Stephenson
817e59cf19 21596: fix run-help, which-command, accept-and-menu-complete 2005-08-10 19:51:30 +00:00
Peter Stephenson
2a888b3d5a c.f. 21590: metafy_line()/unmetafy_line() now support wide characters 2005-08-10 10:56:40 +00:00
Peter Stephenson
8665549030 21541: remove some warnings from ZLE_UNICODE_SUPPORT 2005-07-28 14:45:32 +00:00
Peter Stephenson
8a24c5a5ee users/8856, users/8863: which-command stuff 2005-05-23 10:11:18 +00:00
Peter Stephenson
d9137fd4b6 20854: more Unicode stuff. 2005-02-23 13:50:09 +00:00
Peter Stephenson
b83f0e2290 Andrej: 20838: get ZLE_UNICODE_SUPPORT basically working 2005-02-22 13:12:35 +00:00
Peter Stephenson
e34d2df070 20828: typos in 20822 2005-02-18 17:30:55 +00:00
Peter Stephenson
d7c13fb2c3 20822: Initial code for Unicode/multibyte input
20823: Debugging test in stat wrong for 64-bit systems
2005-02-18 13:57:25 +00:00
Peter Stephenson
88a37cc187 c.f. 20675: improve zle as a basis for Unicode.
unposted: update version to 4.2.3-dev-1
2005-01-14 13:04:47 +00:00
Clint Adams
8db6e42ecd * 20657: Src/Zle/zle_tricky.c: sort completions partially based on LC_COLLATE setting. 2005-01-11 18:24:51 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Wayne Davison
14c7f464c2 Silenced two signed/unsigned comparison compiler warnings. 2004-05-28 19:21:05 +00:00
Oliver Kiddle
95231270ed 19595: rename DO to DOLOOP to avoid conflict with curses.h on Tru64 5.1 2004-03-11 14:25:12 +00:00
Peter Stephenson
2ace0ce4f2 19553: rename c in zle to lastchar 2004-03-08 11:44:09 +00:00
Sven Wischnowsky
de670cbb58 fix typo in comment (17569) 2002-08-20 15:21:54 +00:00
Sven Wischnowsky
1229d05c19 fix default completion module loading, use compctl if it hasn't been loaded already and no completion widgets have been defined (17567) 2002-08-20 12:28:05 +00:00
Sven Wischnowsky
def8d4afda remove qword, it isn't needed anymore (17439) 2002-07-08 09:03:04 +00:00
Sven Wischnowsky
053629183d add new sepcial context -assign-parameter- for completing the parameter in an assignment (17387) 2002-07-01 08:25:15 +00:00
Sven Wischnowsky
0cfe1b30be fix for unquoting with `compset -q' with singly and doubly quoted strings (17135) 2002-05-13 09:31:59 +00:00
Sven Wischnowsky
e9a2060fe9 treat backslashed bangs in double quotes specially in get_comp_string(), they are more like $s there (16990) 2002-04-16 07:53:13 +00:00
Sven Wischnowsky
45f9a36216 remove that -T option to compdef again and instead use comma-separated sub-contexts both for function and style lookup (16819) 2002-03-13 09:28:04 +00:00
Sven Wischnowsky
6bfc325a94 don't try to build the redirection string for the loops (for, foreach, select) (16776) 2002-03-07 08:38:44 +00:00
Sven Wischnowsky
10490ec499 add $redirections array to completion system parameters, containing information about all redirections on the line; make this and compstate[redirect] contain the file descriptor number (16751) 2002-03-01 10:41:59 +00:00
Sven Wischnowsky
3013e98ca4 fix completion after var+= to use value context (16418) 2002-01-08 15:33:23 +00:00
Sven Wischnowsky
bd629defe8 (15357) 2001-07-10 09:25:43 +00:00
Sven Wischnowsky
bbd2a98f41 make expand-word not always restore the command line (3940) 2001-06-25 09:32:21 +00:00
Bart Schaefer
2e4a17b32f Change magic-space to respect !". 2001-06-24 03:42:09 +00:00
Sven Wischnowsky
a5a5aa4e3e fixes for display bugs for completion lists (cursor left one line to far up or down) (14903) 2001-06-13 14:03:44 +00:00