summary refs log tree commit diff
path: root/Src/Zle/compctl.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 19242: Make job table dynamically reallocatable.Peter Stephenson2003-11-131-1/+1
|
* a la 19209: zcalloc -> zshcallocPeter Stephenson2003-10-291-15/+15
|
* 17582: Improved option argument handling.Peter Stephenson2002-08-271-17/+17
| | | | unposted: Updated version to 4.1.0-dev-6 because of interface change.
* fix for file-type-tests in nested quotes and don't count space ↵Sven Wischnowsky2002-05-211-1/+1
| | | | file-type-character (17195)
* add new generic fake style and changes to the C-code for that (different ↵Sven Wischnowsky2002-01-221-3/+3
| | | | implementation of compadd -x) (16483)
* 16269: Fix crash on reserved-word completion.Bart Schaefer2001-11-281-1/+1
|
* add `aliases' option to be able to disable alias expansion (13554)Sven Wischnowsky2001-02-281-3/+4
|
* *** empty log message ***Sven Wischnowsky2001-01-181-2/+2
|
* fix for ol' compctl when completing hash keys (13364)Sven Wischnowsky2001-01-161-1/+4
|