Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Updates for ksh array element syntax. | Peter Stephenson | 2017-09-24 | 1 | -1/+1 |
| | | | | | | | | Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on. | ||||
* | 41242: zstrbcmp(...) removed in favor of zstrcmp(..., ↵ | Barton E. Schaefer | 2017-06-17 | 1 | -47/+0 |
| | | | | | | SORTIT_IGNORING_BACKSLASHES) This should make sorting consistent in completion listings vs. elsewhere. | ||||
* | 40026: Fix for completion after redirection. | Peter Stephenson | 2016-11-29 | 1 | -5/+19 |
| | | | | | | | This could get confused about where we were in the command line word array e.g. after the > of "!> .". Also take more care if does confused, with debug output. Also neaten up one obscure test. | ||||
* | unposted: Update findcmd() in Zle. | Peter Stephenson | 2016-09-29 | 1 | -2/+3 |
| | | | | Unfinished business from previous patch. | ||||
* | 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses. | Daniel Shahaf | 2016-09-11 | 1 | -12/+12 |
| | |||||
* | 38248: fix word position calculation when completing on or just before a ↵ | Barton E. Schaefer | 2016-04-07 | 1 | -0/+15 |
| | | | | | | | | | redirection operator The completion result is still in need of some repair; e.g., if the first thing on the line is the redirection, completion before it is not taken to be in command position, and in this and other cases a necessary space is not inserted between the completed word and the redirection. | ||||
* | 38229: fix cursor placement calculation when completing in empty double quotes | Barton E. Schaefer | 2016-04-05 | 1 | -1/+8 |
| | |||||
* | 38043: allow any completion widget to cycle matches for menu completion to ↵ | Oliver Kiddle | 2016-03-07 | 1 | -2/+1 |
| | | | | fix reverse menu completion | ||||
* | unposted: Make $EDITOR's jump-to-matching-brace happy. | Daniel Shahaf | 2015-11-13 | 1 | -0/+2 |
| | |||||
* | 37092: make nested ${(P)name} properly refer to parameter on return | Peter Stephenson | 2015-11-11 | 1 | -1/+1 |
| | |||||
* | unposted: zle: Document the C helper function processcmd(). | Daniel Shahaf | 2015-09-25 | 1 | -0/+3 |
| | | | | Also, tweak the docstring of zlelineasstring(). | ||||
* | 36365: magic-space could delete the reset of the line. | Peter Stephenson | 2015-09-01 | 1 | -0/+2 |
| | | | | | | If we got a LEXERR, which didn't necessarily mean an actual error, just something the rather nasty ctxtlex() got confused by, we didn't scan the reset of the line. | ||||
* | 36288: refine 36825, slightly different test for redirect context | Barton E. Schaefer | 2015-08-26 | 1 | -1/+1 |
| | |||||
* | 36285: update 36025, context cannot be command and redirect at the same ↵ | Barton E. Schaefer | 2015-08-26 | 1 | -4/+5 |
| | | | | time, redirect wins | ||||
* | 36025: Fix completion aftoer "foo=bar; setopt ". | Peter Stephenson | 2015-08-09 | 1 | -3/+13 |
| | | | | | Done by catching a case that doesn't seem to be handled otherwise, so there's some hope it doesn't screw up too much. | ||||
* | 35908: fix $((...)) completion in expand-or-complete widget | Peter Stephenson | 2015-07-25 | 1 | -2/+4 |
| | |||||
* | 35637: remove the now unused module hook for reverse-menu-complete | Oliver Kiddle | 2015-06-29 | 1 | -4/+1 |
| | |||||
* | 35627: make reverse-menu-complete start with the last match in | Oliver Kiddle | 2015-06-29 | 1 | -8/+2 |
| | | | | menu selection | ||||
* | 35615: fix completion after tyepset | Peter Stephenson | 2015-06-26 | 1 | -5/+12 |
| | |||||
* | Rearrange context saving. | Peter Stephenson | 2015-01-09 | 1 | -12/+12 |
| | | | | | | | 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. | ||||
* | 34144: allocate origline by ztrdup(), not by dupstring() | Jun-ichi Takimoto | 2015-01-07 | 1 | -1/+2 |
| | | | | | If origline is allocated in heap, it will have been freed when menuselect() is called directly as a widget. | ||||
* | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 2014-12-11 | 1 | -3/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | 33480, slightly tweaked: fix for $' completion. | Peter Stephenson | 2014-10-24 | 1 | -4/+11 |
| | | | | | | | Improves case where completing after the $' but before any closing quote, or if the closing quote is absent. No other change --- we still don't attempt to exand the quotes if we're inside them. | ||||
* | 32540: in doexpandhist(), discard saved line position data rather than ↵ | Barton E. Schaefer | 2014-04-13 | 1 | -1/+1 |
| | | | | restoring from it (updates 32531). | ||||
* | 32531: fix memory leaks detected by valgrind | Barton E. Schaefer | 2014-04-06 | 1 | -0/+1 |
| | |||||
* | 32361: don't reset lastline before completion | Oliver Kiddle | 2014-02-14 | 1 | -1/+0 |
| | |||||
* | Fix leading whitespace in a comment | Barton E. Schaefer | 2014-02-02 | 1 | -1/+1 |
| | |||||
* | 32314: merge undo events corresponding to vi change in the vi-cmd-mode ↵ | Oliver Kiddle | 2014-01-31 | 1 | -2/+1 |
| | | | | widget so undo from insert mode is useful again | ||||
* | 32182: re-enable command completion after a separator | Barton E. Schaefer | 2013-12-25 | 1 | -4/+7 |
| | |||||
* | 32114: ZLE_PROMPT_INDENT allows you to move rprompt flush right | Patrick Oscity | 2013-12-16 | 1 | -1/+11 |
| | |||||
* | 31644: Fix insertion of multibyte characters into editor line. | Peter Stephenson | 2013-08-08 | 1 | -1/+2 |
| | | | | | This was broken for a string that came from outside ZLE in the case where the editing buffer wasn't metafied, i.e. not in completion. | ||||
* | 31611: attempt to fix crash completing redirection in do loop | Peter Stephenson | 2013-08-02 | 1 | -2/+24 |
| | |||||
* | 30715: use enum lextok for variables containing lexical tokens | Peter Stephenson | 2012-10-05 | 1 | -6/+9 |
| | |||||
* | 29820: _pick_variant -b to match builtin | Peter Stephenson | 2011-10-14 | 1 | -0/+41 |
| | |||||
* | 29644: work around _describe bug, plus cosmetic tweaks | Peter Stephenson | 2011-08-03 | 1 | -1/+12 |
| | |||||
* | 29503: Missing popheap() on failed autoload | Peter Stephenson | 2011-06-23 | 1 | -4/+0 |
| | |||||
* | unposted: Remove additional for loop noticed by Mikael | Peter Stephenson | 2011-06-19 | 1 | -2/+0 |
| | |||||
* | 29491: remove some variables set but not used | Peter Stephenson | 2011-06-19 | 1 | -3/+1 |
| | |||||
* | 29165: use term.h globally if needed at all. | Peter Stephenson | 2011-05-09 | 1 | -19/+19 |
| | |||||
* | 29107: replace overlapping strcpy with memmove | Bart Schaefer | 2011-04-29 | 1 | -4/+4 |
| | |||||
* | 28926: No newline after the last line in listlist() when printing the list | Bart Schaefer | 2011-03-28 | 1 | -1/+3 |
| | | | | in a single column. | ||||
* | 28772: Update regions in region highlight dynamically | Peter Stephenson | 2011-02-18 | 1 | -5/+3 |
| | |||||
* | lexsave/lexrestore lexflags | Peter Stephenson | 2010-12-14 | 1 | -4/+3 |
| | | | | add new LEXFLAGS_ZLE | ||||
* | 28528: Rearrange zleparse to lexflags | Peter Stephenson | 2010-12-14 | 1 | -8/+8 |
| | | | | Add (z+n+) | ||||
* | Fix ZLE access to pushed history line | Peter Stephenson | 2010-03-22 | 1 | -8/+8 |
| | |||||
* | 27479: prevent completions split across backslash-newline | Peter Stephenson | 2009-12-07 | 1 | -22/+58 |
| | | | | from causing too much mayhem | ||||
* | users/14307: end of command line in completion with variant zsh syntax | Peter Stephenson | 2009-08-15 | 1 | -1/+9 |
| | |||||
* | 26588: don't expand aliases in run-help | Peter Stephenson | 2009-02-20 | 1 | -2/+1 |
| | |||||
* | 26247: fix compilation with -Werror=format-security | Andrey Borzenkov | 2009-01-05 | 1 | -1/+1 |
| | |||||
* | 25859: avoid possible NULL dereferencing if RC_QUOTES is set. | Clint Adams | 2008-10-12 | 1 | -1/+1 |
| |