about summary refs log tree commit diff
path: root/Src/Zle/compctl.c
Commit message (Collapse)AuthorAgeFilesLines
* 45269: Fix misspellings in completions and elsewhere.Jens Schleusener2020-01-091-1/+1
|
* 44997: GLOB_COMPLETE fix for compctl file completion.Peter Stephenson2019-12-101-1/+21
| | | | Dashes could cause problems in directory prefixes.
* 44435: Handling digita arguments for :h and :t.Peter Stephenson2019-06-201-1/+1
| | | | | | | Pick number of leading or trailing path components to substitute. Active in history, brace parameters, glob qualifiers. Add tests for all three environments.
* 44202: Rewrite to use memmove() for possibly overlapping copyPeter Stephenson2019-04-101-5/+3
|
* 43969: untokenize Dash for compctl with GLOB_SUBST setPeter Stephenson2019-01-031-0/+9
|
* 42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer used for file ↵Oliver Kiddle2018-03-241-0/+6
| | | | completion candidates
* 42487: Fix pointer problems in compctl.Peter Stephenson2018-03-211-32/+32
| | | | | Pointing off the front of a string caused warnings with gcc 7.3.0 and is somewhat murky C anyway.
* 41368: Add missing unqueue_signals() to compctl.Peter Stephenson2017-06-271-0/+2
|
* 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer2017-01-291-7/+25
| | | | not re-entrant.
* 39958: Add extra byte to PATH_MAX allocations.Peter Stephenson2016-11-171-1/+1
| | | | | This ensures we've got enough space for a null, although this isn't always needed.
* unposted: Update findcmd() in Zle.Peter Stephenson2016-09-291-3/+4
| | | | Unfinished business from previous patch.
* 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses.Daniel Shahaf2016-09-111-10/+10
|
* 37838: use UNUSED() consistentlyJun-ichi Takimoto2016-01-301-1/+1
|
* 37092: make nested ${(P)name} properly refer to parameter on returnPeter Stephenson2015-11-111-2/+2
|
* 35627: make reverse-menu-complete start with the last match inOliver Kiddle2015-06-291-1/+1
| | | | menu selection
* 34322: bug with interface to parsestr() etc.Peter Stephenson2015-01-181-2/+2
| | | | | | | Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy.
* Rearrange context saving.Peter Stephenson2015-01-091-4/+4
| | | | | | | 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.
* 34120: compctl, jobs: Check contents instead of arrayMikael Magnusson2015-01-061-1/+1
| | | | | | text is an array in the struct, and can never be null. Found by Coverity (Issue 1255780).
* 34104: compctl: Remove pointless checkMikael Magnusson2015-01-061-1/+1
| | | | | cc has already been derefed a bunch of times leading up to here. Found by Coverity (Issue 1255841).
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Fix some compiler warnings in ZlePeter Stephenson2014-09-301-1/+1
|
* 32958: bitwise logic fixMiles Ohlrich2014-08-041-1/+1
|
* 32340: improve error messages for "read -c" / "read -l"Barton E. Schaefer2014-02-021-1/+1
|
* 31272: Avoid double free, get_compctl should not free its arguments.Bart Schaefer2013-04-201-1/+0
|
* 29307, 29308 + replies: Fix some doubled words in docs and comments.Mikael Magnusson2011-05-191-1/+1
|
* 29267: add -enable-zsh-debug and use for debugging completion matcher groupsPeter Stephenson2011-05-141-0/+5
|
* lexsave/lexrestore lexflagsPeter Stephenson2010-12-141-4/+4
| | | | add new LEXFLAGS_ZLE
* 28528: Rearrange zleparse to lexflagsPeter Stephenson2010-12-141-5/+5
| | | | Add (z+n+)
* 26027: free pprogc before it goes out of scope in makecomplistflags.Clint Adams2008-11-111-0/+1
|
* 25744: dynamic named directories and further doshfunc() simplificationPeter Stephenson2008-09-261-2/+2
|
* 25677: add %x and %I prompt escapes for shell source code debuggingPeter Stephenson2008-09-161-6/+6
| | | | tidy up interface to doshfunc()
* 23900: Better handling of NO_EQUALS in old completionPeter Stephenson2007-10-031-1/+1
|
* 23665: autoloading of module features and related tweaksPeter Stephenson2007-07-061-4/+4
|
* see 23479: add initial features support for modulesPeter Stephenson2007-05-281-3/+25
|
* 23337: fix unmetafication for stat() of files in compctlPeter Stephenson2007-04-271-1/+6
|
* Incomplete improvements for $'...' in completionPeter Stephenson2006-12-031-1/+1
|
* string quoting in compctl used QT_NONE instead of QT_BACKSLASHPeter Stephenson2006-10-161-1/+2
|
* 22819: improved internal use of string quotation,Peter Stephenson2006-10-051-28/+67
| | | | plus completion bug fix with RCQUOTES
* 22660: unmetafy directory for opendir() etc. in compctlPeter Stephenson2006-09-111-6/+16
|
* 22474: use variable argument lists to improve error message handlingPeter Stephenson2006-05-301-71/+54
|
* Changed some structures to avoid gcc's type-punned warnings.Wayne Davison2006-03-071-9/+9
|
* Got rid of some unsigned-char/char pointer casts.Wayne Davison2005-11-151-7/+7
|
* 21871: replace INULL() by inull()Peter Stephenson2005-10-131-1/+1
|
* c.f. 21590: metafy_line()/unmetafy_line() now support wide charactersPeter Stephenson2005-08-101-33/+43
|
* c.f. 20675: improve zle as a basis for Unicode.Peter Stephenson2005-01-141-31/+31
| | | | unposted: update version to 4.2.3-dev-1
* 20605: Use separate structure with get/set/unset methods fro parameters.Peter Stephenson2004-12-071-2/+2
| | | | Separate justification width of parameters from base/precision.
* 20331: Use internal zlong variables for consistencyPeter Stephenson2004-09-091-1/+1
| | | | 20332: Add WIDGETSTYLE zle parameter
* Marked unused parameters with the new UNUSED() macro.Wayne Davison2004-06-021-8/+8
|
* Silenced one signed/unsigned comparison compiler warning.Wayne Davison2004-05-281-1/+1
|
* 19422: fix crash resulting from passing a long option to compctlOliver Kiddle2004-02-151-1/+1
|