summaryrefslogtreecommitdiff
path: root/Src/Zle
AgeCommit message (Collapse)AuthorFilesLines
2017-01-0640285: Be more careful with pattern allocation in history isearch.Peter Stephenson1-4/+7
If there are ZLE hooks to be called, they may use patterns, in which case it's not safe to allocate the isearch pattern in the static buffer.
2017-01-0540269: handle option exclusion within current word for clumped optionsOliver Kiddle1-13/+13
This replaces the change made in 13999 with an alternative approach.
2017-01-0440227: handle _arguments sets and rest arguments starting with a dashOliver Kiddle1-11/+26
This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets.
2017-01-0440226: tidy up some of the _arguments set codeOliver Kiddle1-70/+29
Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases.
2016-12-2240162: _arguments support for a match spec in combination with setsOliver Kiddle1-1/+1
2016-12-1040134: silence spurious compiler warnings.Barton E. Schaefer1-1/+1
2016-12-0940129: revert 39611, add code comments and test cases for _argumentsOliver Kiddle1-33/+58
2016-12-0340067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵Daniel Shahaf2-3/+13
unsetparam_pm(), and getindex().
2016-11-3040043: fix computil.c indentation (cosmetic)Peter Stephenson1-4/+4
2016-11-2940035: Cosmetic fixes for comments and documentation.Eitan Adler1-1/+1
Mostly fixes to doubled words.
2016-11-2940026: Fix for completion after redirection.Peter Stephenson1-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.
2016-11-24unposted: fix to compile on Solaris where curses.h has a #define for reg to ↵Oliver Kiddle1-9/+9
register
2016-11-2440003: include "0-"9 vi buffers in the registers associative arrayOliver Kiddle1-9/+26
2016-11-23unposted: clear ERRFLAG_ERROR before invoking immortal widget (cf. 39934)Bart Schaefer1-1/+5
Updates commit cbb9ca3d
2016-11-2139981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵Daniel Shahaf1-0/+4
suffix. Motivated by 39930.
2016-11-2039986, 39989: improve handling of vi-repeat-changeOliver Kiddle7-84/+123
Save previous vi change and throw away a new change that fails. Add zle -f vichange to allow shell widget to be a single change. Fix repeat of command where numeric arguments were multiplied.
2016-11-20unposted (after 39952): Restore C89 compatibility.Daniel Shahaf1-1/+2
2016-11-1739958: Add extra byte to PATH_MAX allocations.Peter Stephenson1-1/+1
This ensures we've got enough space for a null, although this isn't always needed.
2016-11-1739962: bind vi case conversion widgetsOliver Kiddle1-0/+3
u/U in visual mode and g~ from normal mode
2016-11-1739959: when repeating vi changes advance through the numbered killring registersOliver Kiddle1-9/+26
Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change.
2016-11-1739952: add registers special parameter to provide access to the vi register ↵Oliver Kiddle1-0/+99
buffers from a zle widget function
2016-11-1639945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle1-0/+1
compstate[insert] is emptied
2016-11-13unposted: comment in zlecallhook() points to redrawhook() just in caseBarton E. Schaefer1-0/+2
2016-11-1339934: if a widget execution fails, try to execute a corresponding immortal ↵Barton E. Schaefer1-3/+15
widget instead.
2016-11-1339933: more of zlecallhook() in redrawhook()Barton E. Schaefer1-2/+17
add commentary on some of the differences
2016-11-0539829: when compstate[insert] is emptied by the completion function and ↵Oliver Kiddle1-2/+8
AUTO_MENU is set, start menu completion on the second tab press rather than the third
2016-11-03unposted: comment explaining key buffer handling.Peter Stephenson1-0/+7
Describe putting back the tail end of the key buffer into the input.
2016-11-0339806: internal: Document zle's vichgbuf.Daniel Shahaf1-0/+9
2016-11-0339805: internal: Document some compadd internals.Daniel Shahaf2-12/+19
2016-11-0339804: internal: Document matchspec flags.Daniel Shahaf2-4/+10
2016-11-0339803: internal: Document bin_compadd().Daniel Shahaf1-10/+10
2016-11-0339802: internal: Document and simplify multiquote().Daniel Shahaf2-6/+18
The code simplifications take advantage of the fact that all callers pass either 0 or 1 for 'ign'. The tildequote() text is from workers/39271.
2016-11-0339820: vi-repeat handles multi-key bindingsBarton E. Schaefer1-4/+6
2016-11-0339813: fix keybuflen after ungetting extra keys from the end of keybuf in ↵Barton E. Schaefer1-2/+5
getkeymapcmd().
2016-11-0239811: vi-repeat-change must not be the "motion" of vi-change, lest it ↵Barton E. Schaefer1-1/+1
infinitely repeat itself
2016-10-2539725: more metafication of patterns.Barton E. Schaefer1-2/+3
2016-10-2539723: metafy string passed to pattern in complist.Peter Stephenson1-0/+1
Also additional safety tokenizing a string with Meta characters.
2016-10-2339715: Handle multibyte characters in complist listingPeter Stephenson1-5/+12
2016-10-1839590: zle: Call zle-line-pre-redraw after inserting a completion resultm0viefreak1-0/+1
This is necessary to make sure redrawhook() is called while cycling results in menu completion.
2016-10-1639500: compdescribe: perform on-screen-width computation using the "nice" ↵Daniel Shahaf1-9/+10
length, since the matches are rendered by nice*() functions by compadd Remove two "###" question comments relative to the patch posted, since the answer to them is (clearly) negative.
2016-10-1339611: with _arguments sets completion stopped if one of the rest arguments ↵Oliver Kiddle1-1/+2
starts with a dash
2016-10-0339550: reset signal queue in recursiveedit()Barton E. Schaefer1-0/+6
2016-10-0339547: handle zero delta in calc_timeout()Barton E. Schaefer1-1/+1
2016-10-0339545: Add some missing unqueue_signals().Peter Stephenson2-0/+2
All of these are added simply to fit existing logic in other branches.
2016-09-30Call the pre-redraw hook if there is text in the buffer on initMikael Magnusson1-1/+13
2016-09-29unposted: Update findcmd() in Zle.Peter Stephenson2-5/+7
Unfinished business from previous patch.
2016-09-27unposted: remove extra close-paren from d6a6b4ffBart Schaefer1-1/+1
2016-09-2739369 (tweaked cf 39371): when calling an internal widget, set bindk because ↵Oliver Kiddle1-0/+4
some widgets use it to determine how they should act
2016-09-2339412: Fix directory completion when $PWD:h contains parentheses, which are ↵Daniel Shahaf1-1/+4
interpreted as globbing metacharacters.
2016-09-2039383: compadd: Restrict previous patch to the case where $PREFIX includes ↵Daniel Shahaf1-2/+4
characters both from the -P prefix and from the (unprefixed) candidate completion word.