about summary refs log tree commit diff
path: root/Src/Zle/compcore.c
Commit message (Collapse)AuthorAgeFilesLines
* 45729: internal: Add a second parameter to zlinklist2array(), analogously to ↵Daniel Shahaf2020-05-031-2/+2
| | | | | | hlinklist2array(). Will be used in the next commit.
* 45269: Fix misspellings in completions and elsewhere.Jens Schleusener2020-01-091-1/+1
|
* 44274: allow finer control of completion match soring with compadd's -o optionOliver Kiddle2019-05-071-22/+30
|
* 43531: Completion: Fix some false positives in the logic for "are these two ↵Daniel Shahaf2018-09-301-3/+1
| | | | candidates completions equivalent".
* 43219 (except term{cap,info}.c): fix several memory leaksJun-ichi Takimoto2018-07-311-0/+2
|
* 42870: another improvement of 'compset -q'Jun-ichi Takimoto2018-05-311-4/+6
| | | | zlemetall need not count the 'x' added at the cursor in set_comp_sep()
* 42809: slightly improve 'compset -q'Jun-ichi Takimoto2018-05-251-3/+6
|
* 42185: safety when removing separators in completiondana2018-05-111-1/+2
|
* 41242: zstrbcmp(...) removed in favor of zstrcmp(..., ↵Barton E. Schaefer2017-06-171-1/+3
| | | | | | SORTIT_IGNORING_BACKSLASHES) This should make sorting consistent in completion listings vs. elsewhere.
* 39945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle2016-11-161-0/+1
| | | | compstate[insert] is emptied
* 39829: when compstate[insert] is emptied by the completion function and ↵Oliver Kiddle2016-11-051-2/+8
| | | | AUTO_MENU is set, start menu completion on the second tab press rather than the third
* 39805: internal: Document some compadd internals.Daniel Shahaf2016-11-031-2/+10
|
* 39802: internal: Document and simplify multiquote().Daniel Shahaf2016-11-031-5/+17
| | | | | | | The code simplifications take advantage of the fact that all callers pass either 0 or 1 for 'ign'. The tildequote() text is from workers/39271.
* 39383: compadd: Restrict previous patch to the case where $PREFIX includes ↵Daniel Shahaf2016-09-201-2/+4
| | | | characters both from the -P prefix and from the (unprefixed) candidate completion word.
* 39372: compadd: Match -P prefix all-or-nothing rather than greedily.Daniel Shahaf2016-09-201-4/+7
|
* 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses.Daniel Shahaf2016-09-111-1/+1
|
* 38043: allow any completion widget to cycle matches for menu completion to ↵Oliver Kiddle2016-03-071-7/+1
| | | | fix reverse menu completion
* 35704: compadd -E 0 should imply -J and -2Oliver Kiddle2015-07-061-2/+2
|
* 35627: make reverse-menu-complete start with the last match inOliver Kiddle2015-06-291-4/+2
| | | | menu selection
* 35127#1: Fix _describe/compdescribe problem with unsorted groupsDaniel Shahaf2015-05-231-4/+5
|
* Rearrange context saving.Peter Stephenson2015-01-091-2/+2
| | | | | | | Variables are now associated with the module that declares them, being initialised and saved/restored there. However, as many variables are used for communication between modules, many of them are set in multiple places, so the assignment is ambiguous.
* 34115: compcore: Fix size argument to zfreeMikael Magnusson2015-01-061-1/+1
| | | | | Found by Coverity (Issue 1255852), has no impact unless using --enable-zsh-mem, and even then it is minimal.
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles.
* 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completionBarton E. Schaefer2014-10-021-0/+2
| | | | add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line.
* 32303: simplistic completion after $x:Peter Stephenson2014-01-281-0/+14
|
* 31882: Insulate completion widget against environment.Peter Stephenson2013-10-241-4/+1
| | | | Prevents change in pipestatus leaking back out.
* 30193: remnulargs() after poking into string in case length changesBart Schaefer2012-02-091-1/+1
|
* 29644: work around _describe bug, plus cosmetic tweaksPeter Stephenson2011-08-031-1/+2
|
* 29491: remove some variables set but not usedPeter Stephenson2011-06-191-4/+2
|
* 29459: Further fixes for parameter flag completion,Peter Stephenson2011-06-041-2/+4
| | | | plus drive-by fix for double-quoted parameter completion with flags
* 29452: allow completion of parameter flagsPeter Stephenson2011-06-031-3/+13
|
* 29268: extra dupstring() for value to be used in completion match groupPeter Stephenson2011-05-141-1/+1
|
* 29267: add -enable-zsh-debug and use for debugging completion matcher groupsPeter Stephenson2011-05-141-0/+31
|
* 28772: Update regions in region highlight dynamicallyPeter Stephenson2011-02-181-6/+2
|
* lexsave/lexrestore lexflagsPeter Stephenson2010-12-141-2/+2
| | | | add new LEXFLAGS_ZLE
* 28528: Rearrange zleparse to lexflagsPeter Stephenson2010-12-141-3/+3
| | | | Add (z+n+)
* 28486: $compstate[parameter] needs untokenizingPeter Stephenson2010-12-061-0/+11
|
* <hamer@hamer.org.ua>: 28104: fix completion crash due to NULL pointer.Peter Stephenson2010-07-291-1/+1
| | | | Actually commit the code.
* Back off 26270 (accept-and-menu-complete).Peter Stephenson2009-01-131-1/+0
| | | | Was causing memory corruption
* 26270: allow accept-and-menu-complete work with _vallues as wellAndrey Borzenkov2009-01-091-0/+1
|
* 25744: dynamic named directories and further doshfunc() simplificationPeter Stephenson2008-09-261-1/+1
|
* 25677: add %x and %I prompt escapes for shell source code debuggingPeter Stephenson2008-09-161-3/+3
| | | | tidy up interface to doshfunc()
* 25267: ambiguous pattern matching fix: missing logPeter Stephenson2008-07-071-1/+1
| | | | 25269: Frank Terbeck: typo
* 25267: fix problem with menu on ambiguous completion without matchingPeter Stephenson2008-07-061-0/+39
|
* 24951: implement ZLS_COLORS ln=targetPeter Stephenson2008-05-061-2/+9
|
* 24808: initial support for combining characters in zlePeter Stephenson2008-04-131-4/+4
|
* 24127: bug in matcher specs with left anchor and partial wordsPeter Stephenson2007-11-281-9/+9
|
* 23670: rationalise some linked list functionsPeter Stephenson2007-06-271-19/+2
|
* 23118: improve sorting to make it work with localesPeter Stephenson2007-01-211-3/+4
|
* 23097: splitting of $'...' strings in completionPeter Stephenson2007-01-081-23/+32
|