summaryrefslogtreecommitdiff
path: root/Src/Zle
AgeCommit message (Collapse)AuthorFilesLines
2016-09-1639310/0010: internals: match_str: Simplify expression.Daniel Shahaf1-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).
2016-09-1639310/0009: internals: match_str: Downscope local variable 't'.Daniel Shahaf1-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'.
2016-09-1639310/0008: internals: match_str: Document several local variables.Daniel Shahaf1-2/+16
2016-09-1639310/0007: internals: match_str: Rename and constify local variables 'oll', ↵Daniel Shahaf1-2/+3
'olw'.
2016-09-1639310/0006: internals: match_str: Downscope local variable 'bpc'.Daniel Shahaf1-3/+7
2016-09-1639310/0005: internals: match_str: Constify some local variables.Daniel Shahaf1-6/+6
2016-09-1639310/0004: internals: match_str: Document 'savl'.Daniel Shahaf1-1/+16
2016-09-1639310/0003: internals: match_str: Document 'savw'. Avoid magic number.Daniel Shahaf1-3/+6
All callees checked to ensure that they only check that parameter for nonzeroness.
2016-09-1639310/0002: internals: match_str: Simplify by removing 'zoff'.Daniel Shahaf1-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'.
2016-09-1639310/0001: internals: match_str: Document some local variables. See 39123.Daniel Shahaf1-2/+56
2016-09-1139252: internal: quotestring: Drop the 'e' parameter, which no caller uses.Daniel Shahaf5-27/+27
2016-09-0639173: _arguments: Escape colons and backslashes in $opt_args unambiguously.Daniel Shahaf1-3/+9
2016-09-0639181: Add PM_SINGLE and use for compstate.Peter Stephenson1-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.
2016-09-04unposted: internals: Document zshcompwid(1) parameter implementations.Daniel Shahaf2-3/+21
2016-08-1339026: pattern specified with _arguments' -A option shouldn't be checked ↵Oliver Kiddle1-2/+4
against words after the cursor
2016-08-1239031: Ensure variables in transpose-words are initialisedPeter Stephenson1-1/+1
2016-08-1238983: Make transpose-words handle numeric arguments sensiblyHan Pingtian1-39/+51
2016-08-06unposted: fix typo in commentBarton E. Schaefer1-1/+1
2016-08-05workers/38995 (in part): compfiles: Add reverse-engineered documentation ↵Daniel Shahaf1-0/+15
breadcrumbs.
2016-07-2838927: zle-line-pre-redraw: Set $WIDGET like other special widgets do.Daniel Shahaf1-1/+1
2016-07-1738845: reset region_active before entering zleOliver Kiddle1-1/+1
It was done on exit but before zle-line-finish. Also reword documentation on region to better cover vi mode.
2016-07-0838810: fix cursor positioning and repeated invocations when widgets used ↵Oliver Kiddle1-9/+9
from emacs mode
2016-07-0838809: fix tracking of colour attributes and restore them when turning bold offOliver Kiddle1-2/+1
2016-06-2938770: vi upper/lowercase widgets and shell widget example that reads a vi ↵Oliver Kiddle3-1/+52
movement
2016-06-2238714: add x: syntax to match specs to make it possible to disable match ↵Oliver Kiddle1-0/+10
specs hardcoded in completion functions
2016-06-0238540: fix undo problem by not moving the current change when only undoing a ↵Oliver Kiddle1-3/+8
history line change
2016-05-1038463: use immortal widgets in .safe keymapBarton E. Schaefer1-8/+8
2016-04-2338291: Change names of ISEARCH_* parameters to ISEARCHMATCH_*m0viefreak1-12/+12
2016-04-1438287: fix position for the end of a visual selection range for the cursor ↵Oliver Kiddle1-1/+1
on an empty last line in the buffer
2016-04-1438286: cursor correction following yank-pop is only applicable to vi command ↵Oliver Kiddle1-1/+1
mode
2016-04-0738248: fix word position calculation when completing on or just before a ↵Barton E. Schaefer1-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.
2016-04-0538229: fix cursor placement calculation when completing in empty double quotesBarton E. Schaefer1-1/+8
2016-04-0438241: ungetkeycmd() needs to unmetafy key string.Peter Stephenson2-7/+17
Use the new function to simplify memory management in prefix handling. Third time lucky.
2016-03-2138191: additional re-entrancy checks in reexpandprompt()Barton E. Schaefer1-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().
2016-03-2138145: ZLE parameters for isearch and completion suffixesm0viefreak1-0/+60
2016-03-1138135: internal: bin_compadd: Add a few comments.Daniel Shahaf1-0/+3
2016-03-0738043: allow any completion widget to cycle matches for menu completion to ↵Oliver Kiddle3-10/+3
fix reverse menu completion
2016-03-0338048: fix "zle redisplay" when called while a listing is below the promptBarton E. Schaefer1-2/+2
2016-02-1738001: clear-screen re-expands promptsBarton E. Schaefer1-0/+1
2016-02-1437961: fix crash on bad memory accessBarton E. Schaefer1-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
2016-02-1337927: recreate local keymaps as necessary in case the user has deleted themBarton E. Schaefer1-21/+34
2016-02-0337868: add 'static' to file local variablesJun-ichi Takimoto3-4/+4
2016-01-3037838: use UNUSED() consistentlyJun-ichi Takimoto4-4/+4
2016-01-1537643: Reset interrupt on key input in menu selection.Peter Stephenson1-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.
2016-01-1437590: Invoke zle-line-pre-redraw during isearch.Daniel Shahaf2-1/+4
2015-12-3137456: Have zle_highlight=(none) disable paste highlightingDaniel Shahaf1-3/+3
Before this change, zle_highlight=(paste:none) worked, but zle_highlight=(none) didn't.
2015-12-1936650: Add zle-line-pre-redraw hook for highlightingMikael Magnusson1-1/+30
2015-12-1537405: Fix self-insert binding for multibyte sequences.Peter Stephenson1-9/+100
This makes it work even if the self-insert applies to a sequence longer than an initial byte, including the case of a complete binding to a full character sequence.
2015-12-08users/21071: Fix binding of multibyte sequences.Peter Stephenson1-1/+1
There was a problem if the first byte was already bound to self-insert.
2015-12-0737337: Delay freeing widget until not in use.Peter Stephenson3-3/+27