Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | 25636: free s before returning with an error condition. | Clint Adams | 2008-09-08 | 1 | -1/+7 |
| | |||||
* | 25051: add colour sequences to formatting strings in completion | Peter Stephenson | 2008-05-16 | 1 | -2/+27 |
| | |||||
* | 24861 (with tweaks): logic to use alternative wcwidth() if needed; | Peter Stephenson | 2008-04-22 | 1 | -1/+1 |
| | | | | slightly improve test for overwriting with combining characters. | ||||
* | 24816: some places where we need cursor alignment with combining characters | Peter Stephenson | 2008-04-14 | 1 | -4/+1 |
| | |||||
* | 24810: ensure combining character alignment on unmetafication | Peter Stephenson | 2008-04-14 | 1 | -0/+8 |
| | |||||
* | 24808: initial support for combining characters in zle | Peter Stephenson | 2008-04-13 | 1 | -9/+9 |
| | |||||
* | 24542: fix RC_QUOTES completion if opening quote not at start of string | Peter Stephenson | 2008-02-09 | 1 | -5/+10 |
| | |||||
* | 23900: Better handling of NO_EQUALS in old completion | Peter Stephenson | 2007-10-03 | 1 | -0/+7 |
| | |||||
* | 23809: expand $'...' in completion word | Peter Stephenson | 2007-08-30 | 1 | -1/+84 |
| | |||||
* | 23488: tidy up module interface and documentation | Peter Stephenson | 2007-05-29 | 1 | -1/+1 |
| | |||||
* | see 23479: add initial features support for modules | Peter Stephenson | 2007-05-28 | 1 | -1/+1 |
| | |||||
* | 23246: fix completions of redirections that occur before the command word | Peter Stephenson | 2007-03-28 | 1 | -4/+15 |
| | |||||
* | 23172: typo displaying multiline explanation strings | Peter Stephenson | 2007-02-13 | 1 | -1/+2 |
| | |||||
* | Fixed the error checking of mbrtowc() since its return vlaue can never | Wayne Davison | 2007-01-26 | 1 | -1/+1 |
| | | | | be < 0 -- it returns MB_INVALID, (size_t)-1, which is a positive value. | ||||
* | 23118: improve sorting to make it work with locales | Peter Stephenson | 2007-01-21 | 1 | -11/+9 |
| | |||||
* | 23036: three more fixes for completion using $'...' | Peter Stephenson | 2006-12-08 | 1 | -0/+10 |
| | |||||
* | Incomplete improvements for $'...' in completion | Peter Stephenson | 2006-12-03 | 1 | -14/+36 |
| | |||||
* | 22950: fix reverse-menu-complete as start of completion | Peter Stephenson | 2006-11-02 | 1 | -2/+8 |
| | |||||
* | 22911: use QT_BACKSLASH if instring is QT_NONE | Peter Stephenson | 2006-10-25 | 1 | -1/+2 |
| |