1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 05:53:52 +01:00
Commit Graph

128 Commits

Author SHA1 Message Date
Sven Wischnowsky
f04b4c74a7 more security in completion matching (11924) 2000-06-15 09:41:47 +00:00
Sven Wischnowsky
dc102b8130 fix for _arguments, it took non-option strings as options (11910) 2000-06-15 08:09:09 +00:00
Sven Wischnowsky
53f5cc9465 better fix for menu selection on dumb terminal (11885?) 2000-06-14 06:54:44 +00:00
Sven Wischnowsky
9310826027 make -A take a pattern as argument to match non-arguments; allow single-letter option strings to have multiple arguments; fix to allow option completion with multiple sets (?) 2000-06-13 12:14:32 +00:00
Sven Wischnowsky
a2417f6863 fix for longer capability strings (sunsite still not responding, sigh) 2000-06-13 10:49:18 +00:00
Sven Wischnowsky
cedd1006e6 fixes for calling compfiles, for completing words with special characters; make compfiles optimisations work with globcomplete and simple match (sunsite isn't responding) 2000-06-13 09:05:35 +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
427b4b74f2 improve _path_files, move some code into C, try to optimise glob patterns and immediately accept exact directory matches (11833) 2000-06-09 07:49:44 +00:00
Sven Wischnowsky
a95d051826 more anchor matching fixes (11817) 2000-06-08 09:25:24 +00:00
Sven Wischnowsky
2e1c0ec483 make C-code expansion add a space only when more than one word was generated (11814) 2000-06-08 07:20:31 +00:00
Sven Wischnowsky
b0b33a41a1 try to get the tests for `strings long enough' right in anchor matching code (11796) 2000-06-07 13:25:32 +00:00
Sven Wischnowsky
25ca4f8792 optimise command lookup in old and new completion (user/3124) 2000-06-07 11:21:42 +00:00
Sven Wischnowsky
9ac1ee5703 hopefully more consistent beeping with menu-selection (11794) 2000-06-07 08:39:56 +00:00
Sven Wischnowsky
f94e5d78b0 some more memory leak fixes (11745) 2000-06-05 07:57:27 +00:00
Bart Schaefer
4c2601e753 Felix, 11734: Memory leak and doc error. 2000-06-03 16:37:24 +00:00
Sven Wischnowsky
ed708a901b fix some memory leaks (thanks, Felix) (11722) 2000-06-02 08:09:26 +00:00
Wayne Davison
91d5f73434 Changed the array "len" to be "end" -- a 1-relative index of the last
item (or you can think of it as pointing one past the last item).
2000-06-02 01:54:16 +00:00
Bart Schaefer
15a6466044 Disable vared only for interactive shells where ZLE has been explicitly
disabled, but also for any shell running in an emacs buffer.
2000-06-01 15:22:15 +00:00
Sven Wischnowsky
5a4253f42e allow display of only messages via $compstate[list]=messages (11688) 2000-05-31 09:56:12 +00:00
Peter Stephenson
7bf294f2b8 Wayne: pattern.c unitialised var
Zero-length arrays now possible with $array[1,0]
2000-05-31 08:56:23 +00:00
Sven Wischnowsky
d5b6d1f40c move to last cursor after not asking a second time if list should be shown (11682) 2000-05-31 06:31:22 +00:00
Sven Wischnowsky
fb6bcb7364 fix for ignore-line style (11679) 2000-05-31 06:13:50 +00:00
Sven Wischnowsky
24520730a6 bogus uninitialised variable warning 2000-05-30 10:54:22 +00:00
Sven Wischnowsky
47c0bd0db1 fixes for _arguments without multiple sets; change completion test for empty actions (11647) 2000-05-30 07:49:00 +00:00
Bart Schaefer
8564aa5c0d Wayne: Fix two history bugs that were causing the
failure of `print -s'.
2000-05-30 03:43:27 +00:00
Sven Wischnowsky
cd38cd40f7 matching bugs with patterns with two anchors (11634) 2000-05-29 12:42:59 +00:00
Sven Wischnowsky
a2750a4eff fixes for _arguments with sets; make _zpty not use sets (11624) 2000-05-29 08:00:46 +00:00
Sven Wischnowsky
972fe43f51 disable vared if zle is not enabled (11566) 2000-05-26 07:03:43 +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
8f7beea079 fix for comparguments to make -s have an effect again (11552) 2000-05-24 08:32:12 +00:00
Sven Wischnowsky
22c3204495 add -[ak] options to compadd (11533) 2000-05-23 14:23:16 +00:00
Sven Wischnowsky
7f9f81f3e2 save and restore more variables in bufferwords(); move gotword() into core (11523) 2000-05-23 08:20:56 +00:00
Sven Wischnowsky
01bd1c61ae make sure wouldinstab is set before calling docomplete() (11503) 2000-05-22 14:50:07 +00:00
Sven Wischnowsky
fa50c70000 fix for clines in suffix (11496) 2000-05-22 12:14:37 +00:00
Sven Wischnowsky
91f40b975f be more careful when decided if to insert tabs instead of completing (11493) 2000-05-22 11:28:29 +00:00
Sven Wischnowsky
ce90081ea8 pat(-) in long-option patterns to say that argument should be completed only after the `='; merge _arguments and _argument_sets; slightly better test when not to complete options (11489) 2000-05-22 09:28:34 +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
7672efed2e fix for unambiguous string insertion (11466) 2000-05-19 08:33:06 +00:00
Sven Wischnowsky
781a5bd4b1 small doc fix; make compcall autoload compctl module (11457) 2000-05-18 09:22:31 +00:00
Sven Wischnowsky
05d3c175a5 add Felix' completion matching test; some fixes for bugs shown by it (11439) 2000-05-17 11:59:32 +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
8272394e7e extra paranoia for empty prefix/suffix in completion matching (11374) 2000-05-15 11:55:38 +00:00
Sven Wischnowsky
db95186da5 fix for completion of string with single quote (11365) 2000-05-15 09:54:46 +00:00
Sven Wischnowsky
6d4bdb661d fix for suffix-matching; better in-path completion in _path_files (11364) 2000-05-15 09:34:11 +00:00
Sven Wischnowsky
a6ed22c585 fix for completing options with _arguments -s'; fix for _message to use builtin compadd' (11349) 2000-05-12 14:36:46 +00:00
Sven Wischnowsky
984bae21ba fixes for completion matching (11346) 2000-05-12 11:52:30 +00:00