Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unposted (after 39952): Restore C89 compatibility. | Daniel Shahaf | 2016-11-20 | 1 | -1/+2 |
| | |||||
* | 39958: Add extra byte to PATH_MAX allocations. | Peter Stephenson | 2016-11-17 | 1 | -1/+1 |
| | | | | | This ensures we've got enough space for a null, although this isn't always needed. | ||||
* | 39962: bind vi case conversion widgets | Oliver Kiddle | 2016-11-17 | 1 | -0/+3 |
| | | | | u/U in visual mode and g~ from normal mode | ||||
* | 39959: when repeating vi changes advance through the numbered killring registers | Oliver Kiddle | 2016-11-17 | 1 | -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 Kiddle | 2016-11-17 | 1 | -0/+99 |
| | | | | buffers from a zle widget function | ||||
* | 39945: allow further tab presses to move on to menu completion even when ↵ | Oliver Kiddle | 2016-11-16 | 1 | -0/+1 |
| | | | | compstate[insert] is emptied | ||||
* | unposted: comment in zlecallhook() points to redrawhook() just in case | Barton E. Schaefer | 2016-11-13 | 1 | -0/+2 |
| | |||||
* | 39934: if a widget execution fails, try to execute a corresponding immortal ↵ | Barton E. Schaefer | 2016-11-13 | 1 | -3/+15 |
| | | | | widget instead. | ||||
* | 39933: more of zlecallhook() in redrawhook() | Barton E. Schaefer | 2016-11-13 | 1 | -2/+17 |
| | | | | add commentary on some of the differences | ||||
* | 39829: when compstate[insert] is emptied by the completion function and ↵ | Oliver Kiddle | 2016-11-05 | 1 | -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 Stephenson | 2016-11-03 | 1 | -0/+7 |
| | | | | | Describe putting back the tail end of the key buffer into the input. | ||||
* | 39806: internal: Document zle's vichgbuf. | Daniel Shahaf | 2016-11-03 | 1 | -0/+9 |
| | |||||
* | 39805: internal: Document some compadd internals. | Daniel Shahaf | 2016-11-03 | 2 | -12/+19 |
| | |||||
* | 39804: internal: Document matchspec flags. | Daniel Shahaf | 2016-11-03 | 2 | -4/+10 |
| | |||||
* | 39803: internal: Document bin_compadd(). | Daniel Shahaf | 2016-11-03 | 1 | -10/+10 |
| | |||||
* | 39802: internal: Document and simplify multiquote(). | Daniel Shahaf | 2016-11-03 | 2 | -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 bindings | Barton E. Schaefer | 2016-11-03 | 1 | -4/+6 |
| | |||||
* | 39813: fix keybuflen after ungetting extra keys from the end of keybuf in ↵ | Barton E. Schaefer | 2016-11-03 | 1 | -2/+5 |
| | | | | getkeymapcmd(). | ||||
* | 39811: vi-repeat-change must not be the "motion" of vi-change, lest it ↵ | Barton E. Schaefer | 2016-11-02 | 1 | -1/+1 |
| | | | | infinitely repeat itself | ||||
* | 39725: more metafication of patterns. | Barton E. Schaefer | 2016-10-25 | 1 | -2/+3 |
| | |||||
* | 39723: metafy string passed to pattern in complist. | Peter Stephenson | 2016-10-25 | 1 | -0/+1 |
| | | | | Also additional safety tokenizing a string with Meta characters. | ||||
* | 39715: Handle multibyte characters in complist listing | Peter Stephenson | 2016-10-23 | 1 | -5/+12 |
| | |||||
* | 39590: zle: Call zle-line-pre-redraw after inserting a completion result | m0viefreak | 2016-10-18 | 1 | -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 Shahaf | 2016-10-16 | 1 | -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 Kiddle | 2016-10-13 | 1 | -1/+2 |
| | | | | starts with a dash | ||||
* | 39550: reset signal queue in recursiveedit() | Barton E. Schaefer | 2016-10-03 | 1 | -0/+6 |
| | |||||
* | 39547: handle zero delta in calc_timeout() | Barton E. Schaefer | 2016-10-03 | 1 | -1/+1 |
| | |||||
* | 39545: Add some missing unqueue_signals(). | Peter Stephenson | 2016-10-03 | 2 | -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 init | Mikael Magnusson | 2016-09-30 | 1 | -1/+13 |
| | |||||
* | unposted: Update findcmd() in Zle. | Peter Stephenson | 2016-09-29 | 2 | -5/+7 |
| | | | | Unfinished business from previous patch. | ||||
* | unposted: remove extra close-paren from d6a6b4ff | Bart Schaefer | 2016-09-27 | 1 | -1/+1 |
| | |||||
* | 39369 (tweaked cf 39371): when calling an internal widget, set bindk because ↵ | Oliver Kiddle | 2016-09-27 | 1 | -0/+4 |
| | | | | some widgets use it to determine how they should act | ||||
* | 39412: Fix directory completion when $PWD:h contains parentheses, which are ↵ | Daniel Shahaf | 2016-09-23 | 1 | -1/+4 |
| | | | | interpreted as globbing metacharacters. | ||||
* | 39383: compadd: Restrict previous patch to the case where $PREFIX includes ↵ | Daniel Shahaf | 2016-09-20 | 1 | -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 Shahaf | 2016-09-20 | 1 | -4/+7 |
| | |||||
* | 39310/0010: internals: match_str: Simplify expression. | Daniel Shahaf | 2016-09-16 | 1 | -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 Shahaf | 2016-09-16 | 1 | -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 Shahaf | 2016-09-16 | 1 | -2/+16 |
| | |||||
* | 39310/0007: internals: match_str: Rename and constify local variables 'oll', ↵ | Daniel Shahaf | 2016-09-16 | 1 | -2/+3 |
| | | | | 'olw'. | ||||
* | 39310/0006: internals: match_str: Downscope local variable 'bpc'. | Daniel Shahaf | 2016-09-16 | 1 | -3/+7 |
| | |||||
* | 39310/0005: internals: match_str: Constify some local variables. | Daniel Shahaf | 2016-09-16 | 1 | -6/+6 |
| | |||||
* | 39310/0004: internals: match_str: Document 'savl'. | Daniel Shahaf | 2016-09-16 | 1 | -1/+16 |
| | |||||
* | 39310/0003: internals: match_str: Document 'savw'. Avoid magic number. | Daniel Shahaf | 2016-09-16 | 1 | -3/+6 |
| | | | | All callees checked to ensure that they only check that parameter for nonzeroness. | ||||
* | 39310/0002: internals: match_str: Simplify by removing 'zoff'. | Daniel Shahaf | 2016-09-16 | 1 | -10/+10 |
| | | | | | | 'zoff' was only used within 'if (sfx)' blocks, in which case it was initialized to 'alen', so simply s/zoff/alen/g. 'alen' is not const but it first changes on line 794, after the last use of 'zoff'. | ||||
* | 39310/0001: internals: match_str: Document some local variables. See 39123. | Daniel Shahaf | 2016-09-16 | 1 | -2/+56 |
| | |||||
* | 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses. | Daniel Shahaf | 2016-09-11 | 5 | -27/+27 |
| | |||||
* | 39173: _arguments: Escape colons and backslashes in $opt_args unambiguously. | Daniel Shahaf | 2016-09-06 | 1 | -3/+9 |
| | |||||
* | 39181: Add PM_SINGLE and use for compstate. | Peter Stephenson | 2016-09-06 | 1 | -2/+3 |
| | | | | | | | | | | | | This flags that compstate (or any other special) can only have a single instance and an attempt to create a new one is an error. Given the very fiddly semantics of compstate any other usage seems pointless. No investigation yet of other variables that could use this. Note it's still possible to hide such variables; only instances that keep the special nature are affected. | ||||
* | unposted: internals: Document zshcompwid(1) parameter implementations. | Daniel Shahaf | 2016-09-04 | 2 | -3/+21 |
| | |||||
* | 39026: pattern specified with _arguments' -A option shouldn't be checked ↵ | Oliver Kiddle | 2016-08-13 | 1 | -2/+4 |
| | | | | against words after the cursor |