summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_tricky.c
AgeCommit message (Collapse)AuthorFilesLines
2015-08-0936025: Fix completion aftoer "foo=bar; setopt ".Peter Stephenson1-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.
2015-07-2535908: fix $((...)) completion in expand-or-complete widgetPeter Stephenson1-2/+4
2015-06-2935637: remove the now unused module hook for reverse-menu-completeOliver Kiddle1-4/+1
2015-06-2935627: make reverse-menu-complete start with the last match inOliver Kiddle1-8/+2
menu selection
2015-06-2635615: fix completion after tyepsetPeter Stephenson1-5/+12
2015-01-09Rearrange context saving.Peter Stephenson1-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.
2015-01-0734144: allocate origline by ztrdup(), not by dupstring()Jun-ichi Takimoto1-1/+2
If origline is allocated in heap, it will have been freed when menuselect() is called directly as a widget.
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson1-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.
2014-10-2433480, slightly tweaked: fix for $' completion.Peter Stephenson1-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.
2014-04-1332540: in doexpandhist(), discard saved line position data rather than ↵Barton E. Schaefer1-1/+1
restoring from it (updates 32531).
2014-04-0632531: fix memory leaks detected by valgrindBarton E. Schaefer1-0/+1
2014-02-1432361: don't reset lastline before completionOliver Kiddle1-1/+0
2014-02-02Fix leading whitespace in a commentBarton E. Schaefer1-1/+1
2014-01-3132314: merge undo events corresponding to vi change in the vi-cmd-mode ↵Oliver Kiddle1-2/+1
widget so undo from insert mode is useful again
2013-12-2532182: re-enable command completion after a separatorBarton E. Schaefer1-4/+7
2013-12-1632114: ZLE_PROMPT_INDENT allows you to move rprompt flush rightPatrick Oscity1-1/+11
2013-08-0831644: Fix insertion of multibyte characters into editor line.Peter Stephenson1-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.
2013-08-0231611: attempt to fix crash completing redirection in do loopPeter Stephenson1-2/+24
2012-10-0530715: use enum lextok for variables containing lexical tokensPeter Stephenson1-6/+9
2011-10-1429820: _pick_variant -b to match builtinPeter Stephenson1-0/+41
2011-08-0329644: work around _describe bug, plus cosmetic tweaksPeter Stephenson1-1/+12
2011-06-2329503: Missing popheap() on failed autoloadPeter Stephenson1-4/+0
2011-06-19unposted: Remove additional for loop noticed by MikaelPeter Stephenson1-2/+0
2011-06-1929491: remove some variables set but not usedPeter Stephenson1-3/+1
2011-05-0929165: use term.h globally if needed at all.Peter Stephenson1-19/+19
2011-04-2929107: replace overlapping strcpy with memmoveBart Schaefer1-4/+4
2011-03-2828926: No newline after the last line in listlist() when printing the listBart Schaefer1-1/+3
in a single column.
2011-02-1828772: Update regions in region highlight dynamicallyPeter Stephenson1-5/+3
2010-12-14lexsave/lexrestore lexflagsPeter Stephenson1-4/+3
add new LEXFLAGS_ZLE
2010-12-1428528: Rearrange zleparse to lexflagsPeter Stephenson1-8/+8
Add (z+n+)
2010-03-22Fix ZLE access to pushed history linePeter Stephenson1-8/+8
2009-12-0727479: prevent completions split across backslash-newlinePeter Stephenson1-22/+58
from causing too much mayhem
2009-08-15users/14307: end of command line in completion with variant zsh syntaxPeter Stephenson1-1/+9
2009-02-2026588: don't expand aliases in run-helpPeter Stephenson1-2/+1
2009-01-0526247: fix compilation with -Werror=format-securityAndrey Borzenkov1-1/+1
2008-10-1225859: avoid possible NULL dereferencing if RC_QUOTES is set.Clint Adams1-1/+1
2008-09-0825636: free s before returning with an error condition.Clint Adams1-1/+7
2008-05-1625051: add colour sequences to formatting strings in completionPeter Stephenson1-2/+27
2008-04-2224861 (with tweaks): logic to use alternative wcwidth() if needed;Peter Stephenson1-1/+1
slightly improve test for overwriting with combining characters.
2008-04-1424816: some places where we need cursor alignment with combining charactersPeter Stephenson1-4/+1
2008-04-1424810: ensure combining character alignment on unmetaficationPeter Stephenson1-0/+8
2008-04-1324808: initial support for combining characters in zlePeter Stephenson1-9/+9
2008-02-0924542: fix RC_QUOTES completion if opening quote not at start of stringPeter Stephenson1-5/+10
2007-10-0323900: Better handling of NO_EQUALS in old completionPeter Stephenson1-0/+7
2007-08-3023809: expand $'...' in completion wordPeter Stephenson1-1/+84
2007-05-2923488: tidy up module interface and documentationPeter Stephenson1-1/+1
2007-05-28see 23479: add initial features support for modulesPeter Stephenson1-1/+1
2007-03-2823246: fix completions of redirections that occur before the command wordPeter Stephenson1-4/+15
2007-02-1323172: typo displaying multiline explanation stringsPeter Stephenson1-1/+2
2007-01-26Fixed the error checking of mbrtowc() since its return vlaue can neverWayne Davison1-1/+1
be < 0 -- it returns MB_INVALID, (size_t)-1, which is a positive value.