1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-20 14:04:03 +01:00
Commit Graph

26 Commits

Author SHA1 Message Date
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Wayne Davison
12b2ed63ab Silenced one signed/unsigned comparison compiler warning. 2004-05-28 19:24:13 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +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
ed98c0bed8 fix two memory leaks (found by Felix): pre-compiled patterns when re-defining styles and compredirs-copies in comp_wrapper() (17029) 2002-04-24 07:59:17 +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
b70ec86efe test if hash table pointer is NULL to avoid SEGV with compstate=() (15705) 2001-08-24 09:25:38 +00:00
Sven Wischnowsky
f29d50fe9c move pattern matching in the loop to make sure all match specs are used (15487) 2001-07-25 14:49:32 +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
1b2d095217 fix two memory leaks (at least I hope they are fixed) and some out-of-bound array accesses, plus some defensive programming for heap allocated param structs (14605) 2001-05-31 09:43:59 +00:00
Sven Wischnowsky
2a78c24842 *** empty log message *** 2001-01-11 10:06:40 +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
083befef2b new match spec characters bBeE, match only word/line not both (11977) 2000-06-19 10:48:21 +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
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
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
22c3204495 add -[ak] options to compadd (11533) 2000-05-23 14:23:16 +00:00
Sven Wischnowsky
997d40c05d add -x option to compadd to display message unconditionally 2000-05-02 10:30:41 +00:00
Sven Wischnowsky
eb2bfcd555 fix for parse error with left-anchored patterns (10963) 2000-04-27 09:04:32 +00:00
Sven Wischnowsky
ad31ce0db8 renamed parameters for menu selection to MENUSELECT, MENUPROMPT and MENUSCROLL; no special value for LISTMAX to turn on list scrolling, this is done by setting LISTPROMPT now; default values for LISTPROMPT and MENUPROMPT when set but empty (10959) 2000-04-27 08:21:10 +00:00
Sven Wischnowsky
ddb16a1b2b allow to anchor on gaps between strings in matching control specs (10926) 2000-04-26 06:54:26 +00:00
Sven Wischnowsky
30a98cc4d6 scrolling in completion lists and menu-selection, version1 2000-04-17 11:17:10 +00:00
Peter Stephenson
4852545255 Updated from list as far as 10376 2000-04-01 20:49:47 +00:00
Tanaka Akira
65392c396b Initial revision 1999-10-26 15:36:11 +00:00