about summary refs log tree commit diff
path: root/Src/Zle/compcore.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 23036: three more fixes for completion using $'...'Peter Stephenson2006-12-081-0/+1
|
* Incomplete improvements for $'...' in completionPeter Stephenson2006-12-031-24/+197
|
* 22819: improved internal use of string quotation,Peter Stephenson2006-10-051-39/+124
| | | | plus completion bug fix with RCQUOTES
* 22565: Fix bug after failed menucompletion with accept-and-menu-complete?Peter Stephenson2006-07-301-2/+2
|
* 22544: Improve use of ztype tests for multibyte characters. AddPeter Stephenson2006-07-101-5/+11
| | | | | POSIX_IDENTIFIERS option to control allowability of multibyte alphanumeric characters in parameter and module names.
* 22328, modified: add -o option to compaddPeter Stephenson2006-03-071-2/+2
| | | | add _list_files helper to handle new file-list style for _path_files
* Optimized away a recently-added call to strlen().Wayne Davison2006-02-201-1/+1
|
* Made the realocation of the line buffer in add_match_data() use aWayne Davison2006-02-191-8/+9
| | | | little more optimal size. Also tweaked the code just a little.
* The code in add_match_data() that looks for invalid charactersWayne Davison2006-02-181-25/+26
| | | | now properly parses the string as metafied.
* Made add_match_data() look for invalid multibyte chars in theWayne Davison2006-02-131-4/+61
| | | | names and substitute $'\123' sequences for them.
* Got rid of some unsigned-char/char pointer casts.Wayne Davison2005-11-151-4/+4
|
* 21871: replace INULL() by inull()Peter Stephenson2005-10-131-1/+1
|
* 21664: unmetafy ztat() argumentAndrey Borzenkov2005-08-181-9/+2
|
* 21642: remove redundant checksAndrey Borzenkov2005-08-161-16/+4
|
* Moved declaration of char pointer var to comply withWayne Davison2005-08-161-2/+2
| | | | restrictions of standard C.
* 21631: make sure an unmetafied string is passed to ztat to determine file type.Clint Adams2005-08-161-1/+8
|
* 21627: fix recursive ZLE from completion callAndrey Borzenkov2005-08-151-3/+22
|
* c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson2005-08-101-32/+54
|