about summary refs log tree commit diff
path: root/Src/Zle/computil.c
Commit message (Collapse)AuthorAgeFilesLines
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-1/+1
|
* Replaced a flawed look-behind algorithm for backslash detectionWayne Davison2006-02-131-8/+8
| | | | | with one that looks forward (avoiding an accidental quoting of a char after a "\\" sequence).
* In parse_cadef(), the variable name oargs was re-defined in an innerWayne Davison2005-10-311-2/+2
| | | | context, so I changed the name of the outer variable to orig_args.
* Use idigit() instead of range-checking '0' - '9'.Wayne Davison2005-10-311-1/+1
|
* 21428: Travis: fix crash on bad compvalues callBart Schaefer2005-07-121-1/+2
|
* 20605: Use separate structure with get/set/unset methods fro parameters.Peter Stephenson2004-12-071-1/+1
| | | | Separate justification width of parameters from base/precision.
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-11/+11
|
* Silenced three signed/unsigned comparison compiler warnings.Wayne Davison2004-05-281-3/+3
|
* a la 19209: zcalloc -> zshcallocPeter Stephenson2003-10-291-1/+1
|
* 18477: Null pointer dereferenced in _arguments "*-+bar"Peter Stephenson2003-04-231-1/+1
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-10/+11
| | | | unposted: Updated version to 4.1.0-dev-6 because of interface change.
* report option arguments to _arguments in the original form (17196)Sven Wischnowsky2002-05-231-4/+34
|
* allow multiple lines in option completion lists to share the same ↵Sven Wischnowsky2002-05-231-2/+21
| | | | description, for (hopefully) cleaner displays (17212)
* improve calculation of used columns for match-max-length (17194)Sven Wischnowsky2002-05-211-15/+37
|
* avoid printing in the last screen column when preparing a completion listing ↵Sven Wischnowsky2002-05-211-2/+2
| | | | with compdescribe (17190)
* allow users to give the maximum number of display-columns the matches should ↵Sven Wischnowsky2002-05-141-14/+25
| | | | take up via the style currently named max-match-length (17147)
* make compvalues unquote the string from the line like comparguments does (16998)Sven Wischnowsky2002-04-171-3/+20
|
* allow an argument containing only a single colon as a separator between ↵Sven Wischnowsky2002-02-181-0/+2
| | | | options to _arguments and specs (16669)
* fix for displaying matches in groups via _describe; go back to displaying ↵Sven Wischnowsky2002-02-071-1/+10
| | | | one match per line when lines get too long (16582)
* don't report _arguments-specs more than once (not even shared options with ↵Sven Wischnowsky2002-01-081-1/+8
| | | | multiple sets) (16417)
* Silence "might be used uninitialized" warnings.Wayne Davison2001-08-081-0/+1
|
* follow-up to 15588; add -w option to _values (look at all words); change _dd ↵Sven Wischnowsky2001-08-081-5/+41
| | | | back (15597)
* (15526)Sven Wischnowsky2001-07-301-4/+4
|
* (15509)Sven Wischnowsky2001-07-271-35/+93
|
* another fix for 15477 (separator strings); add list-separator style (15484)Sven Wischnowsky2001-07-251-3/+4
|
* fixlet for 15477, don't let it remove consecutive dummy matches (15482)Sven Wischnowsky2001-07-251-2/+4
|
* make display for groups in _describe nicer; improve packing with ↵Sven Wischnowsky2001-07-251-92/+364
| | | | list_packed; leave space for type character (list_types) only in groups with at least one file name (15477)
* don't use compsuffix when it might be freed; use the right variable in that ↵Sven Wischnowsky2001-07-201-5/+7
| | | | loop there, dammit (15433)
* yet another followup to 15497; make _describe filter out non-matching ↵Sven Wischnowsky2001-07-191-3/+3
| | | | strings before calling compdescribe, otherwise some matches will be hiddens (15415)
* fix for 15407; there may be sets without matches (15409)Sven Wischnowsky2001-07-181-2/+3
|
* add list-grouped option to make options and such be grouped together if they ↵Sven Wischnowsky2001-07-181-117/+206
| | | | 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)
* fix for finding the first ambiguous path component in compfiles (3946)Sven Wischnowsky2001-06-261-0/+2
|
* Compiler warnings.Bart Schaefer2001-06-191-2/+2
|
* fix for comparguments (completing after single letter options that get their ↵Sven Wischnowsky2001-06-131-1/+57
| | | | argument in the next word); make _values ignore some of the standard option it may get; make _mount use _dir_list in some places and improve that; `document' comparguments and compvalues with some comments in computil.c (14897)
* (14841)Sven Wischnowsky2001-06-111-98/+184
|
* fix for exclusion of normal arguments (14630)Sven Wischnowsky2001-06-011-5/+11
|
* fix tag-order problem with _arguments (completion after an option that gets ↵Sven Wischnowsky2001-05-311-1/+1
| | | | an argument in the same word); and a fix for completion after -ab, where -a gets an argument in the next word and -b gets one in the same word (14607)
* fix two memory leaks (at least I hope they are fixed) and some out-of-bound ↵Sven Wischnowsky2001-05-311-2/+3
| | | | array accesses, plus some defensive programming for heap allocated param structs (14605)
* barf if a empty string is given as one of the separators for _values (14293)Sven Wischnowsky2001-05-101-1/+1
|
* add -S option to specify separator between values and their arguments; make ↵Sven Wischnowsky2001-05-081-11/+28
| | | | _values add the value-separator as a suffix for most types of actions (14257)
* Prevent "no multi-letter values" error on values of '\:' and '' in compvalues().Bart Schaefer2001-05-061-2/+3
|
* 14214Sven Wischnowsky2001-05-031-1/+4
|
* remove quotes when looking at arguments in comparguments (14198)Sven Wischnowsky2001-05-021-0/+6
|
* rename -W option to -w, add new -W option which makes _arguments complete ↵Sven Wischnowsky2001-04-261-1/+6
| | | | options even after options that get their argument in the same word; new _guard function for conditionally displaying messages (14105)
* fix a sizeof() to strlen()Sven Wischnowsky2001-04-251-1/+1
|
* only use the exclusion lists of options that are not currently being ↵Sven Wischnowsky2001-04-171-7/+9
| | | | completed, but keep options from being completed more than once (13999)
* make `_arguments -S' still complete long options after `--<TAB>'; fix for ↵ pre-func-moveSven Wischnowsky2001-04-021-1/+1
| | | | cursor positioning with partial word match specs (13868)
* handle colons in xor lists (13770)Sven Wischnowsky2001-03-261-1/+1
|
* remove 13108 (trap queues); replace with signal queueing to ensure that user ↵Sven Wischnowsky2001-01-161-0/+10
| | | | signal handlers are only executed when it is safe to run them (13365)
* *** empty log message ***Sven Wischnowsky2000-10-171-1/+4
|