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
Peter Stephenson
eb09406787
21593: character arrays wrongly declared with ZLE_UNICODE_SUPPORT
2005-08-10 13:21:15 +00:00
Peter Stephenson
0c301a8af6
21592: browsing new directory from menu selection crashed
2005-08-10 11:59:28 +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
5733e942f5
Optimise length calculations for ${...//.../...}
2005-04-24 00:38:07 +00:00
Peter Stephenson
691dd7e529
20861: Fix statusline in Unicode, apart from isearch
2005-02-24 15:32:36 +00:00
Peter Stephenson
0da7162ed6
20856: use VARARR for multibyte string.
2005-02-23 13:59:33 +00:00
Peter Stephenson
d9137fd4b6
20854: more Unicode stuff.
2005-02-23 13:50:09 +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
Peter Stephenson
b115ca307a
20500: Unmetafy patterns where possible and other minor pattern fixes
2004-10-18 11:56:14 +00:00
Peter Stephenson
cf89569c45
20482: but with completion inside interactive completion
2004-10-14 07:19:04 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Peter Stephenson
2ace0ce4f2
19553: rename c in zle to lastchar
2004-03-08 11:44:09 +00:00
Wayne Davison
cd7bfcf690
Silenced some compiler warnings about uninitialized variables.
2004-02-19 09:11:40 +00:00
Peter Stephenson
1f8c031467
18926: problem accepting filename require metafication with menu selection
2003-08-05 10:12:08 +00:00
Peter Stephenson
2b744cb21d
18513: Work around crash on resize in menu selection
2003-05-14 10:16:01 +00:00
Andrey Borzenkov
f318d64e3d
18476: Fix menu selection on Linux console
2003-05-05 06:07:04 +00:00
Sven Wischnowsky
135db923be
improve interactive mode when there are no matches left (alow to go back with undo) (17429)
2002-07-05 08:18:50 +00:00
Sven Wischnowsky
c2dd10edc9
in menu selection, use copies of comp{pre,suf}fix to make sure they exist; fix display problem with non-empty iprefix (17403)
2002-07-04 09:29:20 +00:00
Sven Wischnowsky
d98faffcaf
fix for interactive mode when menu selection is called via the menu-select widget (17394)
2002-07-03 07:59:53 +00:00
Sven Wischnowsky
d28f67623f
two new modes for menu selection: incremental search and interactive (17366)
2002-06-26 11:07:42 +00:00
Sven Wischnowsky
5221570c4a
don't use optimised completion list display code after the list has been erased or we're not in menu selection anymore anyway (17286)
2002-06-05 07:49:02 +00:00
Sven Wischnowsky
b36344b6ba
follow-up to 17222, make the optimisation work for some more keys again (17237)
2002-05-27 07:41:07 +00:00
Sven Wischnowsky
9038bdb400
we have to disable 17219 for some keys because their code doesn't set up the variables we need (17222)
2002-05-24 15:02:32 +00:00
Sven Wischnowsky
205e07663f
make re-display in menu selection faster; redraw only the previously and newly selected matches (17219)
2002-05-24 08:50:10 +00:00
Sven Wischnowsky
5a89ede77b
fix for file-type-tests in nested quotes and don't count space file-type-character (17195)
2002-05-21 08:07:51 +00:00
Sven Wischnowsky
3807c902a2
add new generic fake style and changes to the C-code for that (different implementation of compadd -x) (16483)
2002-01-22 10:22:47 +00:00
Sven Wischnowsky
eba59194d7
make display for groups in _describe nicer; improve packing with list_packed; leave space for type character (list_types) only in groups with at least one file name (15477)
2001-07-25 08:52:34 +00:00
Sven Wischnowsky
8c1b953b5a
add list-grouped option to make options and such be grouped together if they have the same description; matches with line-display strings can be hidden; hi and du capabalities in complist are only used if set by the user (15407)
2001-07-18 13:10:07 +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
Sven Wischnowsky
a3e01003c8
print space/backspace when reacing the last column while printing descriptions and the like to avoid a cursor positioning bug depending on the kind of terminal (autowrap) (14251)
2001-05-08 08:14:33 +00:00
Sven Wischnowsky
d83665b7cf
fix default colour for directories (3674)
2001-03-15 09:55:32 +00:00
Sven Wischnowsky
c06782d95b
*** empty log message ***
2001-01-18 14:41:40 +00:00
Sven Wischnowsky
757168e2c8
remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365)
2001-01-16 13:44:18 +00:00
Sven Wischnowsky
6db6cde964
re-display list for cleanup only if we were in menu selection (13084)
2000-10-25 10:52:25 +00:00
Sven Wischnowsky
9e44b5ea29
add a counter for invalidatelist() to allow finding out if there is a new list (13082)
2000-10-25 08:18:43 +00:00
Sven Wischnowsky
ead3cee30d
avoid printing file type characters in completion lists for matches ending in a slash (13071)
2000-10-24 07:50:24 +00:00
Sven Wischnowsky
adf7965951
add _all_matcher completer and supporting C-code for adding a special match representing all other matches; remove completions style from _expand(|_word) (12960)
2000-10-11 12:19:23 +00:00
Sven Wischnowsky
5d8adbee07
make user defined completion widgets leave menu selection without accepting the currently selected match (12959)
2000-10-11 10:57:40 +00:00
Sven Wischnowsky
0ddb4fb835
change format style with warnings tag, don't add descriptions as matches; make a-a-i-n-h in menu selection work even without matches (12134)
2000-07-03 08:05:27 +00:00
Sven Wischnowsky
04bf39bf2e
fix for list-colors handling (12107)
2000-06-28 13:59:21 +00:00
Sven Wischnowsky
0334b4df7c
make a-a-i-n-h in menu selection work with one match; better undo behaviour for menu selection (12093)
2000-06-28 07:29:59 +00:00
Sven Wischnowsky
b9a533f382
allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling (12029)
2000-06-22 08:42:36 +00:00
Sven Wischnowsky
cde71bb1a5
make undo break out of menu selection if nothing to undo inside it (11992)
2000-06-19 14:51:06 +00:00
Sven Wischnowsky
53f5cc9465
better fix for menu selection on dumb terminal (11885?)
2000-06-14 06:54:44 +00:00
Sven Wischnowsky
a2417f6863
fix for longer capability strings (sunsite still not responding, sigh)
2000-06-13 10:49:18 +00:00
Bart Schaefer
bae526275a
Alexandre: Fix colored listings crash (article number attribution may be
...
wrong in ChangeLog).
2000-06-11 08:15:27 +00:00
Bart Schaefer
060ac27a17
11850: Fix crash in menu-select on dumb terminals. Also, a ChangeLog entry
...
for PWS's 11842.
2000-06-10 17:30:22 +00:00
Sven Wischnowsky
4997db3470
fix for menu-completion when another completion came right after it (11836)
2000-06-09 11:14:34 +00:00
Sven Wischnowsky
9ac1ee5703
hopefully more consistent beeping with menu-selection (11794)
2000-06-07 08:39:56 +00:00
Sven Wischnowsky
5a4253f42e
allow display of only messages via $compstate[list]=messages (11688)
2000-05-31 09:56:12 +00:00
Sven Wischnowsky
c99a94e365
better cursor-movement in menu-selection (11569)
2000-05-25 11:33:13 +00:00
Sven Wischnowsky
6959ffd962
force listing in _complete_debug; make complist with list-scrolling stopt at the end of the list when prompt would scroll it out; fix _in_vared to handle `foo[bar]' (11565)
2000-05-25 07:58:44 +00:00
Sven Wischnowsky
007cfdff55
fix for a-a-m-c in menu selection; scroll explanations onto screen again (11487)
2000-05-22 08:47:30 +00:00
Sven Wischnowsky
aa17f0db6d
fix scrolling in menu-selection with matches spanning multiple lines
2000-05-16 10:45:01 +00:00
Sven Wischnowsky
57ed8b5441
make menu-select accept the match when typing a non-special character (11401)
2000-05-16 08:05:15 +00:00
Sven Wischnowsky
d3620a02df
make ^G in menu-selection restore the old command line; add select=long* values for menu style to start menu-selection if list is too long for screen (11319)
2000-05-11 08:40:09 +00:00
Sven Wischnowsky
92637abbb8
misc. completion cleanups and changes (11242)
2000-05-08 08:16:32 +00:00
Sven Wischnowsky
0d6350d65a
remove backslashes before $' in _expand when
substitute' is unset; fix for clearing end-of-list lines in menu-selection (11110)
2000-05-03 11:52:00 +00:00
Sven Wischnowsky
b19f915a4f
avoid wrapping around both horizontally and vertically at the same time (10992)
2000-04-28 07:39:08 +00:00
Sven Wischnowsky
a35472cb31
better wrap around for cursor movement widgets; avoid flicker when leaving menu-selection (10978)
2000-04-27 13:40:52 +00:00
Sven Wischnowsky
77f5b71cec
make menu-selection handle undefined-key (10961)
2000-04-27 08:55:06 +00:00