summary refs log tree commit diff
path: root/Src/Zle
Commit message (Collapse)AuthorAgeFilesLines
* 40134: silence spurious compiler warnings.Barton E. Schaefer2016-12-101-1/+1
|
* 40129: revert 39611, add code comments and test cases for _argumentsOliver Kiddle2016-12-091-33/+58
|
* 40067: internal: Document 'cmatcher', parse_cmatcher(), 'comptoend', ↵Daniel Shahaf2016-12-032-3/+13
| | | | unsetparam_pm(), and getindex().
* 40043: fix computil.c indentation (cosmetic)Peter Stephenson2016-11-301-4/+4
|
* 40035: Cosmetic fixes for comments and documentation.Eitan Adler2016-11-291-1/+1
| | | | Mostly fixes to doubled words.
* 40026: Fix for completion after redirection.Peter Stephenson2016-11-291-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: fix to compile on Solaris where curses.h has a #define for reg to ↵Oliver Kiddle2016-11-241-9/+9
| | | | register
* 40003: include "0-"9 vi buffers in the registers associative arrayOliver Kiddle2016-11-241-9/+26
|
* unposted: clear ERRFLAG_ERROR before invoking immortal widget (cf. 39934)Bart Schaefer2016-11-231-1/+5
| | | | Updates commit cbb9ca3d
* 39981: Make compstate[to_end] skip suffix and hidden suffix, but not ignored ↵Daniel Shahaf2016-11-211-0/+4
| | | | | | suffix. Motivated by 39930.
* 39986, 39989: improve handling of vi-repeat-changeOliver Kiddle2016-11-207-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.
* unposted (after 39952): Restore C89 compatibility.Daniel Shahaf2016-11-201-1/+2
|
* 39958: Add extra byte to PATH_MAX allocations.Peter Stephenson2016-11-171-1/+1
| | | | | This ensures we've got enough space for a null, although this isn't always needed.
* 39962: bind vi case conversion widgetsOliver Kiddle2016-11-171-0/+3
| | | | u/U in visual mode and g~ from normal mode
* 39959: when repeating vi changes advance through the numbered killring registersOliver Kiddle2016-11-171-9/+26
| | | | | Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change.
* 39952: add registers special parameter to provide access to the vi register ↵Oliver Kiddle2016-11-171-0/+99
| | | | buffers from a zle widget function
* 39945: allow further tab presses to move on to menu completion even when ↵Oliver Kiddle2016-11-161-0/+1
| | | | compstate[insert] is emptied
* unposted: comment in zlecallhook() points to redrawhook() just in caseBarton E. Schaefer2016-11-131-0/+2
|
* 39934: if a widget execution fails, try to execute a corresponding immortal ↵Barton E. Schaefer2016-11-131-3/+15
| | | | widget instead.
* 39933: more of zlecallhook() in redrawhook()Barton E. Schaefer2016-11-131-2/+17
| | | | add commentary on some of the differences
* 39829: when compstate[insert] is emptied by the completion function and ↵Oliver Kiddle2016-11-051-2/+8
| | | | AUTO_MENU is set, start menu completion on the second tab press rather than the third
* unposted: comment explaining key buffer handling.Peter Stephenson2016-11-031-0/+7
| | | | | Describe putting back the tail end of the key buffer into the input.
* 39806: internal: Document zle's vichgbuf.Daniel Shahaf2016-11-031-0/+9
|
* 39805: internal: Document some compadd internals.Daniel Shahaf2016-11-032-12/+19
|
* 39804: internal: Document matchspec flags.Daniel Shahaf2016-11-032-4/+10
|
* 39803: internal: Document bin_compadd().Daniel Shahaf2016-11-031-10/+10
|
* 39802: internal: Document and simplify multiquote().Daniel Shahaf2016-11-032-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.
* 39820: vi-repeat handles multi-key bindingsBarton E. Schaefer2016-11-031-4/+6
|
* 39813: fix keybuflen after ungetting extra keys from the end of keybuf in ↵Barton E. Schaefer2016-11-031-2/+5
| | | | getkeymapcmd().
* 39811: vi-repeat-change must not be the "motion" of vi-change, lest it ↵Barton E. Schaefer2016-11-021-1/+1
| | | | infinitely repeat itself
* 39725: more metafication of patterns.Barton E. Schaefer2016-10-251-2/+3
|
* 39723: metafy string passed to pattern in complist.Peter Stephenson2016-10-251-0/+1
| | | | Also additional safety tokenizing a string with Meta characters.
* 39715: Handle multibyte characters in complist listingPeter Stephenson2016-10-231-5/+12
|
* 39590: zle: Call zle-line-pre-redraw after inserting a completion resultm0viefreak2016-10-181-0/+1
| | | | | This is necessary to make sure redrawhook() is called while cycling results in menu completion.
* 39500: compdescribe: perform on-screen-width computation using the "nice" ↵Daniel Shahaf2016-10-161-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.
* 39611: with _arguments sets completion stopped if one of the rest arguments ↵Oliver Kiddle2016-10-131-1/+2
| | | | starts with a dash
* 39550: reset signal queue in recursiveedit()Barton E. Schaefer2016-10-031-0/+6
|
* 39547: handle zero delta in calc_timeout()Barton E. Schaefer2016-10-031-1/+1
|
* 39545: Add some missing unqueue_signals().Peter Stephenson2016-10-032-0/+2
| | | | All of these are added simply to fit existing logic in other branches.
* Call the pre-redraw hook if there is text in the buffer on initMikael Magnusson2016-09-301-1/+13
|
* unposted: Update findcmd() in Zle.Peter Stephenson2016-09-292-5/+7
| | | | Unfinished business from previous patch.
* unposted: remove extra close-paren from d6a6b4ffBart Schaefer2016-09-271-1/+1
|
* 39369 (tweaked cf 39371): when calling an internal widget, set bindk because ↵Oliver Kiddle2016-09-271-0/+4
| | | | some widgets use it to determine how they should act
* 39412: Fix directory completion when $PWD:h contains parentheses, which are ↵Daniel Shahaf2016-09-231-1/+4
| | | | interpreted as globbing metacharacters.
* 39383: compadd: Restrict previous patch to the case where $PREFIX includes ↵Daniel Shahaf2016-09-201-2/+4
| | | | characters both from the -P prefix and from the (unprefixed) candidate completion word.
* 39372: compadd: Match -P prefix all-or-nothing rather than greedily.Daniel Shahaf2016-09-201-4/+7
|
* 39310/0010: internals: match_str: Simplify expression.Daniel Shahaf2016-09-161-5/+5
| | | | | | | In the first hunk we actually know that ind==0 since sfx==0, but keep it identical to the last hunk. Also add a comment (unrelated).
* 39310/0009: internals: match_str: Downscope local variable 't'.Daniel Shahaf2016-09-161-2/+11
| | | | | | | Remove needless initialization (it is written to again before it is ever read). Note there was another 't' variable at the end of the function that shadowed the int 't'.
* 39310/0008: internals: match_str: Document several local variables.Daniel Shahaf2016-09-161-2/+16
|
* 39310/0007: internals: match_str: Rename and constify local variables 'oll', ↵Daniel Shahaf2016-09-161-2/+3
| | | | 'olw'.