about summary refs log tree commit diff
path: root/Src/Zle/computil.c
Commit message (Collapse)AuthorAgeFilesLines
* 43793: computil could overrun bufferKamil Dudka2018-11-091-2/+2
|
* 42600: error paths for _values leaked the exclusion list arrayOliver Kiddle2018-04-071-0/+4
|
* 42575: fix to not complete options in the argument to another optionOliver Kiddle2018-04-051-1/+1
|
* 42501: avoid out of bound pointer (as 42487)Jun-ichi Takimoto2018-03-241-2/+2
|
* dana: 42145: Fix additional completion cases with option arguments.dana2017-12-201-1/+3
|
* 41983: fix exclusion of long options with (-) on a normal argumentOliver Kiddle2017-11-041-1/+1
|
* 41824: fix to not complete rest args from an _arguments set alongside the ↵Oliver Kiddle2017-10-071-16/+16
| | | | argument to and option in a separate set
* 41772: fix bug in handling of long options with _arguments' -A optionOliver Kiddle2017-09-281-1/+1
|
* 40763: count wide characters and Cmatcher pointers more sanely in ↵Barton E. Schaefer2017-03-081-6/+13
| | | | | | | cfp_matcher_pats(), and count characters in pattern_match() the same way to stay in sync Might not fix wide-char matching in completion matcher-lists but should avoid wild pointer crash
* 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer2017-01-291-0/+8
| | | | not re-entrant.
* 40362: Fix setting of parameter values in compvaluesPeter Stephenson2017-01-151-2/+2
|
* 40321: _arguments option groupsOliver Kiddle2017-01-111-71/+120
|
* 40269: handle option exclusion within current word for clumped optionsOliver Kiddle2017-01-051-13/+13
| | | | This replaces the change made in 13999 with an alternative approach.
* 40227: handle _arguments sets and rest arguments starting with a dashOliver Kiddle2017-01-041-11/+26
| | | | | This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets.
* 40226: tidy up some of the _arguments set codeOliver Kiddle2017-01-041-70/+29
| | | | | | Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases.
* 40162: _arguments support for a match spec in combination with setsOliver Kiddle2016-12-221-1/+1
|
* 40129: revert 39611, add code comments and test cases for _argumentsOliver Kiddle2016-12-091-33/+58
|
* 40043: fix computil.c indentation (cosmetic)Peter Stephenson2016-11-301-4/+4
|
* 39500: compdescribe: perform on-screen-width computation using the "nice" ↵Daniel Shahaf2016-10-161-9/+10
| | | | | | | length, since the matches are rendered by nice*() functions by compadd Remove two "###" question comments relative to the patch posted, since the answer to them is (clearly) negative.
* 39611: with _arguments sets completion stopped if one of the rest arguments ↵Oliver Kiddle2016-10-131-1/+2
| | | | starts with a dash
* 39545: Add some missing unqueue_signals().Peter Stephenson2016-10-031-0/+1
| | | | All of these are added simply to fit existing logic in other branches.
* 39412: Fix directory completion when $PWD:h contains parentheses, which are ↵Daniel Shahaf2016-09-231-1/+4
| | | | interpreted as globbing metacharacters.
* 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses.Daniel Shahaf2016-09-111-3/+3
|
* 39173: _arguments: Escape colons and backslashes in $opt_args unambiguously.Daniel Shahaf2016-09-061-3/+9
|
* 39026: pattern specified with _arguments' -A option shouldn't be checked ↵Oliver Kiddle2016-08-131-2/+4
| | | | against words after the cursor
* workers/38995 (in part): compfiles: Add reverse-engineered documentation ↵Daniel Shahaf2016-08-051-0/+15
| | | | breadcrumbs.
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-301-1/+1
|
* 36974: fix some functions with empty argument listsPeter Stephenson2015-10-271-2/+2
|
* 36911: '-optarg' should not match optspec '-opt='Jun-ichi Takimoto2015-10-251-2/+5
| | | | | Remove the requirement that -xy= should come before -x= in the list of optspecs passed to _arguments.
* 35692: cfp_matcher_range used wrong raw characterPeter Stephenson2015-07-051-1/+1
|
* 35127#1: Fix _describe/compdescribe problem with unsorted groupsDaniel Shahaf2015-05-231-3/+37
|
* 34116: computil: Check for NULL before passing to strlenMikael Magnusson2015-01-061-1/+2
| | | | | The rest of this function appears to be very careful about checking these, then forgets in this one spot. Found by Coverity (Issue 1255805).
* 32600: in _arguments, "-" is not an option letter after another "-"m0viefreak2014-05-081-3/+7
|
* 31784: better line width calculation for completion listingsBarton E. Schaefer2013-10-031-25/+33
| | | | | | | When deciding whether there is enough horizontal space to show completion descriptions for each match in a listing, treat the separator as part of the description rather than as part of the match, and account for lines that have already wrapped due to very long matches.
* 31781: "compdescribe -i" clears the completion list column padding widthBarton E. Schaefer2013-10-031-0/+1
|
* 31737: same loop counter fix in get_cadef as get_cvdef.Barton E. Schaefer2013-09-191-1/+1
|
* 31735: fix off-by-one in completion utility cache code.Axel Beckert2013-09-191-1/+1
| | | | Was causing crashes in complex completions, particularly with taskwarrior
* Danek: 29254: fix some compiler warningsPeter Stephenson2011-05-131-1/+0
|
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-13/+16
|
* Fix compiler warning due to state.doff duplication.Wayne Davison2011-04-151-1/+1
|
* 28102: use lstat() when checking ignore-parentsPeter Stephenson2010-07-261-3/+12
|
* users/14732: Test X:/ rather than X: in CygwinPeter Stephenson2010-01-221-9/+34
|
* 27415: Src/Zle/computil.c: comparguments "*::..." descriptions could stepBart Schaefer2009-11-211-0/+17
| | | | | on sequentially earlier descriptions when completing for a word other than the last word on the command line.
* 27218: don't unquote $line generated in comparguments for _argumentsPeter Stephenson2009-08-171-2/+16
|
* 27211: handle Cygwin device files & drives specially in compfilesPeter Stephenson2009-08-051-8/+66
|
* 26047: convert lower levels of completion matching to usePeter Stephenson2008-11-151-2/+2
| | | | multibyte strings and wide characters
* 25989: fix crash in matchingPeter Stephenson2008-11-021-36/+27
|
* 25940: delay !multi memory allocation until after possibility to error out ↵Clint Adams2008-10-291-7/+7
| | | | and return without freeing.
* 25912: fix another metafication bug in completionPeter Stephenson2008-10-181-19/+39
| | | | and remove lies about matchers
* 25897: remove small bit of dead code in cfp_opt_pats.Clint Adams2008-10-141-2/+2
|