1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-09 10:01:16 +02:00
Commit graph

121 commits

Author SHA1 Message Date
Peter Stephenson
55e4beb8d8 27085: add accept-search handling to scrollist keymap 2009-07-01 17:09:37 +00:00
Peter Stephenson
88d07936a2 27080: it wasnt possible to exit menu selection cleanly 2009-07-01 13:41:18 +00:00
Peter Stephenson
52bb631ccb 26373: initialise variable in menu completion in attempt to prevent crash 2009-01-20 10:42:08 +00:00
Bart Schaefer
16e75d6978 25389: rearrange precedence of ZLS_COLORS alternatives. 2008-08-06 02:21:01 +00:00
Peter Stephenson
5527851061 25266: always use EXTENDED_GLOB for patterns in ZLS_COLORS 2008-07-05 19:55:29 +00:00
Peter Stephenson
9533b19dad 25051: add colour sequences to formatting strings in completion 2008-05-16 09:37:56 +00:00
Peter Stephenson
ea09bb1cef 25006, 25009: fix "or" orphaned symlink highlighting
fix ordering of statd versus extension and pattern highlight tests
2008-05-12 16:49:59 +00:00
Peter Stephenson
dbe5fd93a7 24951: implement ZLS_COLORS ln=target 2008-05-06 16:01:18 +00:00
Peter Stephenson
2cec7aae44 24861 (with tweaks): logic to use alternative wcwidth() if needed;
slightly improve test for overwriting with combining characters.
2008-04-22 15:08:04 +00:00
Peter Stephenson
b8ec06c870 24853: use metafied strings for inner loops over history 2008-04-20 21:17:29 +00:00
Andrey Borzenkov
79ea3a1717 24851: support colour codes for from current GNU ls 2008-04-20 06:41:22 +00:00
Peter Stephenson
97dcf15556 24808: initial support for combining characters in zle 2008-04-13 16:58:42 +00:00
Peter Stephenson
af92f874e1 24777: bug clearing up after menu selection 2008-03-28 23:21:26 +00:00
Peter Stephenson
bc45a1b994 24672: fix(?) crash resizing window during menu-select 2008-02-28 23:12:37 +00:00
Peter Stephenson
ac0756270c 24554: reduce accumulated memory listing in completion listing
make file static be used as such instead of as a pretend parameter
2008-02-15 22:01:01 +00:00
Peter Stephenson
4af9d97317 23807: fix interactive completion mode 2007-08-30 14:38:26 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
0e58658d4a users/11421: %{...%} was broken in completion listings 2007-04-17 14:55:15 +00:00
Peter Stephenson
54949051da 23258: fix debugging added in 23248 2007-04-02 13:58:19 +00:00
Peter Stephenson
56bf25cff9 unposted: better fix for complist line wrap from 23248 2007-03-30 09:32:17 +00:00
Peter Stephenson
af8a88e4f5 23248: Completion listing problem with lines nearly screen width
If compiled with debug send dputs() output to $ZSH_DEBUG_LOG if defined.
2007-03-29 21:35:39 +00:00
Peter Stephenson
bae2ec88e5 unposted: uninitialised variable could result from 23144 2007-02-06 10:12:20 +00:00
Peter Stephenson
b2d709b22e 23144: Felix Eckhofer <felix@tribut.de>: NULL pointer in complist.c 2007-02-02 23:47:47 +00:00
Peter Stephenson
006229c32e 22924: a couple more metafy_line()/unmetafy_line() problems 2006-10-30 14:13:36 +00:00
Peter Stephenson
78d1939ffd 22753: minor character bugs spotted on Cygwin 2006-09-21 16:36:53 +00:00
Peter Stephenson
754503c60d 22651: failed to unmetafy bytes for output 2006-08-20 22:28:17 +00:00
Peter Stephenson
1a42aadd81 22612: comment the static variables 2006-08-17 09:34:11 +00:00
Peter Stephenson
77321097e7 22611: bug scrolling wide completion list 2006-08-15 21:19:34 +00:00
Peter Stephenson
f2dbedcc4f 22605: bug in complist wide character fixes introduced infinite loop 2006-08-14 13:29:29 +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
Bart Schaefer
7315dbb385 22595: paranoid bounds-checking on some
loop indices.
2006-08-10 15:59:09 +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
98e306e251 unposted: badly positioned declaration in complist.c 2006-08-07 15:58:44 +00:00
Peter Stephenson
b85a444fe0 22589: bug with long lines in menu selection 2006-08-07 15:45:19 +00:00
Peter Stephenson
48d6402e65 rationalise mb<->wc conversions to use restartable form 2006-08-03 15:37:49 +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
78ddb65f6c Got rid of some superfluous STOUC() calls (such as the ones I added
for the arg of calls to nicechar(), which doesn't need this).
2006-01-13 17:13:49 +00:00
Wayne Davison
542797377a - When mbrtowc() returns -2 when given all the remaining chars in a
string, set an end-of-line flag and avoid calling mbrtowc() again
  for any of the incomplete characters that remain in the string.
- 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:50 +00:00
Wayne Davison
4b831f02df Tweaked the code to handle mbrtowc() converting '\0' the same way as
the other callers do.  Also, changed the variable name to 'cnt'.
2006-01-11 20:12:09 +00:00
Wayne Davison
791bbf7120 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.  Also,
we needed to use STOUC() on a char value passed to nicechar(),
and we need to clear the mbstate_t object if mbrtowc() returns
an error.
2006-01-09 00:37:10 +00:00
Peter Stephenson
00e0c063ac 22069: completion listings didn't get unmetafied 2005-12-10 21:04:42 +00:00
Wayne Davison
e79af955f0 Got rid of some unsigned-char/char pointer casts. 2005-11-15 08:44:17 +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
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
Peter Stephenson
f3c0df36be 21769: fix some consequences of 21730 in completion lists 2005-09-27 14:30:30 +00:00