Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 45269: Fix misspellings in completions and elsewhere. | Jens Schleusener | 2020-01-09 | 1 | -1/+1 |
| | |||||
* | 44997: GLOB_COMPLETE fix for compctl file completion. | Peter Stephenson | 2019-12-10 | 1 | -1/+21 |
| | | | | Dashes could cause problems in directory prefixes. | ||||
* | 44435: Handling digita arguments for :h and :t. | Peter Stephenson | 2019-06-20 | 1 | -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 copy | Peter Stephenson | 2019-04-10 | 1 | -5/+3 |
| | |||||
* | 43969: untokenize Dash for compctl with GLOB_SUBST set | Peter Stephenson | 2019-01-03 | 1 | -0/+9 |
| | |||||
* | 42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer used for file ↵ | Oliver Kiddle | 2018-03-24 | 1 | -0/+6 |
| | | | | completion candidates | ||||
* | 42487: Fix pointer problems in compctl. | Peter Stephenson | 2018-03-21 | 1 | -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 Stephenson | 2017-06-27 | 1 | -0/+2 |
| | |||||
* | 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵ | Barton E. Schaefer | 2017-01-29 | 1 | -7/+25 |
| | | | | not re-entrant. | ||||
* | 39958: Add extra byte to PATH_MAX allocations. | Peter Stephenson | 2016-11-17 | 1 | -1/+1 |
| | | | | | This ensures we've got enough space for a null, although this isn't always needed. | ||||
* | unposted: Update findcmd() in Zle. | Peter Stephenson | 2016-09-29 | 1 | -3/+4 |
| | | | | Unfinished business from previous patch. | ||||
* | 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses. | Daniel Shahaf | 2016-09-11 | 1 | -10/+10 |
| | |||||
* | 37838: use UNUSED() consistently | Jun-ichi Takimoto | 2016-01-30 | 1 | -1/+1 |
| | |||||
* | 37092: make nested ${(P)name} properly refer to parameter on return | Peter Stephenson | 2015-11-11 | 1 | -2/+2 |
| | |||||
* | 35627: make reverse-menu-complete start with the last match in | Oliver Kiddle | 2015-06-29 | 1 | -1/+1 |
| | | | | menu selection | ||||
* | 34322: bug with interface to parsestr() etc. | Peter Stephenson | 2015-01-18 | 1 | -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 Stephenson | 2015-01-09 | 1 | -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 array | Mikael Magnusson | 2015-01-06 | 1 | -1/+1 |
| | | | | | | text is an array in the struct, and can never be null. Found by Coverity (Issue 1255780). | ||||
* | 34104: compctl: Remove pointless check | Mikael Magnusson | 2015-01-06 | 1 | -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 interrupts | Peter Stephenson | 2014-12-11 | 1 | -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 Zle | Peter Stephenson | 2014-09-30 | 1 | -1/+1 |
| | |||||
* | 32958: bitwise logic fix | Miles Ohlrich | 2014-08-04 | 1 | -1/+1 |
| | |||||
* | 32340: improve error messages for "read -c" / "read -l" | Barton E. Schaefer | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | 31272: Avoid double free, get_compctl should not free its arguments. | Bart Schaefer | 2013-04-20 | 1 | -1/+0 |
| | |||||
* | 29307, 29308 + replies: Fix some doubled words in docs and comments. | Mikael Magnusson | 2011-05-19 | 1 | -1/+1 |
| | |||||
* | 29267: add -enable-zsh-debug and use for debugging completion matcher groups | Peter Stephenson | 2011-05-14 | 1 | -0/+5 |
| | |||||
* | lexsave/lexrestore lexflags | Peter Stephenson | 2010-12-14 | 1 | -4/+4 |
| | | | | add new LEXFLAGS_ZLE | ||||
* | 28528: Rearrange zleparse to lexflags | Peter Stephenson | 2010-12-14 | 1 | -5/+5 |
| | | | | Add (z+n+) | ||||
* | 26027: free pprogc before it goes out of scope in makecomplistflags. | Clint Adams | 2008-11-11 | 1 | -0/+1 |
| | |||||
* | 25744: dynamic named directories and further doshfunc() simplification | Peter Stephenson | 2008-09-26 | 1 | -2/+2 |
| | |||||
* | 25677: add %x and %I prompt escapes for shell source code debugging | Peter Stephenson | 2008-09-16 | 1 | -6/+6 |
| | | | | tidy up interface to doshfunc() | ||||
* | 23900: Better handling of NO_EQUALS in old completion | Peter Stephenson | 2007-10-03 | 1 | -1/+1 |
| | |||||
* | 23665: autoloading of module features and related tweaks | Peter Stephenson | 2007-07-06 | 1 | -4/+4 |
| | |||||
* | see 23479: add initial features support for modules | Peter Stephenson | 2007-05-28 | 1 | -3/+25 |
| | |||||
* | 23337: fix unmetafication for stat() of files in compctl | Peter Stephenson | 2007-04-27 | 1 | -1/+6 |
| | |||||
* | Incomplete improvements for $'...' in completion | Peter Stephenson | 2006-12-03 | 1 | -1/+1 |
| | |||||
* | string quoting in compctl used QT_NONE instead of QT_BACKSLASH | Peter Stephenson | 2006-10-16 | 1 | -1/+2 |
| | |||||
* | 22819: improved internal use of string quotation, | Peter Stephenson | 2006-10-05 | 1 | -28/+67 |
| | | | | plus completion bug fix with RCQUOTES | ||||
* | 22660: unmetafy directory for opendir() etc. in compctl | Peter Stephenson | 2006-09-11 | 1 | -6/+16 |
| | |||||
* | 22474: use variable argument lists to improve error message handling | Peter Stephenson | 2006-05-30 | 1 | -71/+54 |
| | |||||
* | Changed some structures to avoid gcc's type-punned warnings. | Wayne Davison | 2006-03-07 | 1 | -9/+9 |
| | |||||
* | Got rid of some unsigned-char/char pointer casts. | Wayne Davison | 2005-11-15 | 1 | -7/+7 |
| | |||||
* | 21871: replace INULL() by inull() | Peter Stephenson | 2005-10-13 | 1 | -1/+1 |
| | |||||
* | c.f. 21590: metafy_line()/unmetafy_line() now support wide characters | Peter Stephenson | 2005-08-10 | 1 | -33/+43 |
| | |||||
* | c.f. 20675: improve zle as a basis for Unicode. | Peter Stephenson | 2005-01-14 | 1 | -31/+31 |
| | | | | unposted: update version to 4.2.3-dev-1 | ||||
* | 20605: Use separate structure with get/set/unset methods fro parameters. | Peter Stephenson | 2004-12-07 | 1 | -2/+2 |
| | | | | Separate justification width of parameters from base/precision. | ||||
* | 20331: Use internal zlong variables for consistency | Peter Stephenson | 2004-09-09 | 1 | -1/+1 |
| | | | | 20332: Add WIDGETSTYLE zle parameter | ||||
* | Marked unused parameters with the new UNUSED() macro. | Wayne Davison | 2004-06-02 | 1 | -8/+8 |
| | |||||
* | Silenced one signed/unsigned comparison compiler warning. | Wayne Davison | 2004-05-28 | 1 | -1/+1 |
| | |||||
* | 19422: fix crash resulting from passing a long option to compctl | Oliver Kiddle | 2004-02-15 | 1 | -1/+1 |
| |