about summary refs log tree commit diff
path: root/Src/Zle/zle_tricky.c
Commit message (Collapse)AuthorAgeFilesLines
* Rearrange context saving.Peter Stephenson2015-01-091-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 Takimoto2015-01-071-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 interruptsPeter Stephenson2014-12-111-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 Stephenson2014-10-241-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. Schaefer2014-04-131-1/+1
| | | | restoring from it (updates 32531).
* 32531: fix memory leaks detected by valgrindBarton E. Schaefer2014-04-061-0/+1
|
* 32361: don't reset lastline before completionOliver Kiddle2014-02-141-1/+0
|
* Fix leading whitespace in a commentBarton E. Schaefer2014-02-021-1/+1
|
* 32314: merge undo events corresponding to vi change in the vi-cmd-mode ↵Oliver Kiddle2014-01-311-2/+1
| | | | widget so undo from insert mode is useful again
* 32182: re-enable command completion after a separatorBarton E. Schaefer2013-12-251-4/+7
|
* 32114: ZLE_PROMPT_INDENT allows you to move rprompt flush rightPatrick Oscity2013-12-161-1/+11
|
* 31644: Fix insertion of multibyte characters into editor line.Peter Stephenson2013-08-081-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 loopPeter Stephenson2013-08-021-2/+24
|
* 30715: use enum lextok for variables containing lexical tokensPeter Stephenson2012-10-051-6/+9
|
* 29820: _pick_variant -b to match builtinPeter Stephenson2011-10-141-0/+41
|
* 29644: work around _describe bug, plus cosmetic tweaksPeter Stephenson2011-08-031-1/+12
|
* 29503: Missing popheap() on failed autoloadPeter Stephenson2011-06-231-4/+0
|
* unposted: Remove additional for loop noticed by MikaelPeter Stephenson2011-06-191-2/+0
|
* 29491: remove some variables set but not usedPeter Stephenson2011-06-191-3/+1
|
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-19/+19
|
* 29107: replace overlapping strcpy with memmoveBart Schaefer2011-04-291-4/+4
|
* 28926: No newline after the last line in listlist() when printing the listBart Schaefer2011-03-281-1/+3
| | | | in a single column.
* 28772: Update regions in region highlight dynamicallyPeter Stephenson2011-02-181-5/+3
|
* lexsave/lexrestore lexflagsPeter Stephenson2010-12-141-4/+3
| | | | add new LEXFLAGS_ZLE
* 28528: Rearrange zleparse to lexflagsPeter Stephenson2010-12-141-8/+8
| | | | Add (z+n+)
* Fix ZLE access to pushed history linePeter Stephenson2010-03-221-8/+8
|
* 27479: prevent completions split across backslash-newlinePeter Stephenson2009-12-071-22/+58
| | | | from causing too much mayhem
* users/14307: end of command line in completion with variant zsh syntaxPeter Stephenson2009-08-151-1/+9
|
* 26588: don't expand aliases in run-helpPeter Stephenson2009-02-201-2/+1
|
* 26247: fix compilation with -Werror=format-securityAndrey Borzenkov2009-01-051-1/+1
|
* 25859: avoid possible NULL dereferencing if RC_QUOTES is set.Clint Adams2008-10-121-1/+1
|
* 25636: free s before returning with an error condition.Clint Adams2008-09-081-1/+7
|
* 25051: add colour sequences to formatting strings in completionPeter Stephenson2008-05-161-2/+27
|
* 24861 (with tweaks): logic to use alternative wcwidth() if needed;Peter Stephenson2008-04-221-1/+1
| | | | slightly improve test for overwriting with combining characters.
* 24816: some places where we need cursor alignment with combining charactersPeter Stephenson2008-04-141-4/+1
|
* 24810: ensure combining character alignment on unmetaficationPeter Stephenson2008-04-141-0/+8
|
* 24808: initial support for combining characters in zlePeter Stephenson2008-04-131-9/+9
|
* 24542: fix RC_QUOTES completion if opening quote not at start of stringPeter Stephenson2008-02-091-5/+10
|
* 23900: Better handling of NO_EQUALS in old completionPeter Stephenson2007-10-031-0/+7
|
* 23809: expand $'...' in completion wordPeter Stephenson2007-08-301-1/+84
|
* 23488: tidy up module interface and documentationPeter Stephenson2007-05-291-1/+1
|
* see 23479: add initial features support for modulesPeter Stephenson2007-05-281-1/+1
|
* 23246: fix completions of redirections that occur before the command wordPeter Stephenson2007-03-281-4/+15
|
* 23172: typo displaying multiline explanation stringsPeter Stephenson2007-02-131-1/+2
|
* Fixed the error checking of mbrtowc() since its return vlaue can neverWayne Davison2007-01-261-1/+1
| | | | be < 0 -- it returns MB_INVALID, (size_t)-1, which is a positive value.
* 23118: improve sorting to make it work with localesPeter Stephenson2007-01-211-11/+9
|
* 23036: three more fixes for completion using $'...'Peter Stephenson2006-12-081-0/+10
|
* Incomplete improvements for $'...' in completionPeter Stephenson2006-12-031-14/+36
|
* 22950: fix reverse-menu-complete as start of completionPeter Stephenson2006-11-021-2/+8
|
* 22911: use QT_BACKSLASH if instring is QT_NONEPeter Stephenson2006-10-251-1/+2
|