Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 | ||||
* | 39031: Ensure variables in transpose-words are initialised | Peter Stephenson | 2016-08-12 | 1 | -1/+1 |
| | |||||
* | 38983: Make transpose-words handle numeric arguments sensibly | Han Pingtian | 2016-08-12 | 1 | -39/+51 |
| | |||||
* | unposted: fix typo in comment | Barton E. Schaefer | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | workers/38995 (in part): compfiles: Add reverse-engineered documentation ↵ | Daniel Shahaf | 2016-08-05 | 1 | -0/+15 |
| | | | | breadcrumbs. | ||||
* | 38927: zle-line-pre-redraw: Set $WIDGET like other special widgets do. | Daniel Shahaf | 2016-07-28 | 1 | -1/+1 |
| | |||||
* | 38845: reset region_active before entering zle | Oliver Kiddle | 2016-07-17 | 1 | -1/+1 |
| | | | | | It was done on exit but before zle-line-finish. Also reword documentation on region to better cover vi mode. | ||||
* | 38810: fix cursor positioning and repeated invocations when widgets used ↵ | Oliver Kiddle | 2016-07-08 | 1 | -9/+9 |
| | | | | from emacs mode | ||||
* | 38809: fix tracking of colour attributes and restore them when turning bold off | Oliver Kiddle | 2016-07-08 | 1 | -2/+1 |
| | |||||
* | 38770: vi upper/lowercase widgets and shell widget example that reads a vi ↵ | Oliver Kiddle | 2016-06-29 | 3 | -1/+52 |
| | | | | movement | ||||
* | 38714: add x: syntax to match specs to make it possible to disable match ↵ | Oliver Kiddle | 2016-06-22 | 1 | -0/+10 |
| | | | | specs hardcoded in completion functions | ||||
* | 38540: fix undo problem by not moving the current change when only undoing a ↵ | Oliver Kiddle | 2016-06-02 | 1 | -3/+8 |
| | | | | history line change | ||||
* | 38463: use immortal widgets in .safe keymap | Barton E. Schaefer | 2016-05-10 | 1 | -8/+8 |
| | |||||
* | 38291: Change names of ISEARCH_* parameters to ISEARCHMATCH_* | m0viefreak | 2016-04-23 | 1 | -12/+12 |
| | |||||
* | 38287: fix position for the end of a visual selection range for the cursor ↵ | Oliver Kiddle | 2016-04-14 | 1 | -1/+1 |
| | | | | on an empty last line in the buffer | ||||
* | 38286: cursor correction following yank-pop is only applicable to vi command ↵ | Oliver Kiddle | 2016-04-14 | 1 | -1/+1 |
| | | | | mode | ||||
* | 38248: fix word position calculation when completing on or just before a ↵ | Barton E. Schaefer | 2016-04-07 | 1 | -0/+15 |
| | | | | | | | | | redirection operator The completion result is still in need of some repair; e.g., if the first thing on the line is the redirection, completion before it is not taken to be in command position, and in this and other cases a necessary space is not inserted between the completed word and the redirection. | ||||
* | 38229: fix cursor placement calculation when completing in empty double quotes | Barton E. Schaefer | 2016-04-05 | 1 | -1/+8 |
| | |||||
* | 38241: ungetkeycmd() needs to unmetafy key string. | Peter Stephenson | 2016-04-04 | 2 | -7/+17 |
| | | | | | | Use the new function to simplify memory management in prefix handling. Third time lucky. | ||||
* | 38191: additional re-entrancy checks in reexpandprompt() | Barton E. Schaefer | 2016-03-21 | 1 | -8/+27 |
| | | | | | | Do not free global pointers until after promptexpand() in case they are referenced from signal handlers, and check for window size changes during promptexpand(). | ||||
* | 38145: ZLE parameters for isearch and completion suffixes | m0viefreak | 2016-03-21 | 1 | -0/+60 |
| | |||||
* | 38135: internal: bin_compadd: Add a few comments. | Daniel Shahaf | 2016-03-11 | 1 | -0/+3 |
| | |||||
* | 38043: allow any completion widget to cycle matches for menu completion to ↵ | Oliver Kiddle | 2016-03-07 | 3 | -10/+3 |
| | | | | fix reverse menu completion | ||||
* | 38048: fix "zle redisplay" when called while a listing is below the prompt | Barton E. Schaefer | 2016-03-03 | 1 | -2/+2 |
| | |||||
* | 38001: clear-screen re-expands prompts | Barton E. Schaefer | 2016-02-17 | 1 | -0/+1 |
| | |||||
* | 37961: fix crash on bad memory access | Barton E. Schaefer | 2016-02-14 | 1 | -8/+22 |
| | | | | | | | In interactive menuselection, use of "compadd -x" (e.g. the "warnings" zstyle) may have replaced the completion list, so skip highlighting of the current selection until a subsequent keystroke has regenerated the original listing | ||||
* | 37927: recreate local keymaps as necessary in case the user has deleted them | Barton E. Schaefer | 2016-02-13 | 1 | -21/+34 |
| | |||||
* | 37868: add 'static' to file local variables | Jun-ichi Takimoto | 2016-02-03 | 3 | -4/+4 |
| | |||||
* | 37838: use UNUSED() consistently | Jun-ichi Takimoto | 2016-01-30 | 4 | -4/+4 |
| | |||||
* | 37643: Reset interrupt on key input in menu selection. | Peter Stephenson | 2016-01-15 | 1 | -0/+6 |
| | | | | | | | We don't need to propagate the interrupt further as the interrupt causes the key to be empty, which will exit the widget. We need to reset the condition as zrefresh() is now more sensitive to errors since 36416 / 32f5d3d8. | ||||
* | 37590: Invoke zle-line-pre-redraw during isearch. | Daniel Shahaf | 2016-01-14 | 2 | -1/+4 |
| | |||||
* | 37456: Have zle_highlight=(none) disable paste highlighting | Daniel Shahaf | 2015-12-31 | 1 | -3/+3 |
| | | | | | Before this change, zle_highlight=(paste:none) worked, but zle_highlight=(none) didn't. |