summaryrefslogtreecommitdiff
path: root/Src/Zle
AgeCommit message (Collapse)AuthorFilesLines
2015-07-0935708: add UNDO_LIMIT_NOPeter Stephenson2-2/+25
2015-07-07unposted: remove compiler error in completion codePeter Stephenson1-1/+2
2015-07-0635704: compadd -E 0 should imply -J and -2Oliver Kiddle2-3/+3
2015-07-0535692: cfp_matcher_range used wrong raw characterPeter Stephenson1-1/+1
2015-07-0335674: make an undo event for initial buffer contentsOliver Kiddle1-0/+1
2015-07-0235665: better handling for command line completion match handlingHan Pingtian1-3/+6
2015-06-2935637: remove the now unused module hook for reverse-menu-completeOliver Kiddle3-8/+2
2015-06-2935627: make reverse-menu-complete start with the last match inOliver Kiddle6-68/+36
menu selection
2015-06-2935623: fix menu-selection where initial selectionOliver Kiddle1-0/+3
would not be displayed without scrolling
2015-06-2635615: fix completion after tyepsetPeter Stephenson1-5/+12
2015-06-2535550: fix backspace in interactive menu-selectJun-ichi Takimoto1-2/+2
2015-06-23unposted: add missing (void) argument list to bracketedestring()Peter Stephenson1-1/+1
2015-06-1935474, 35492: support the bracketed paste mode of newer terminal emulatorsOliver Kiddle6-36/+147
2015-06-1935487, 35496: don't reinstate previous incremental search stringOliver Kiddle2-2/+4
when search direction changes
2015-06-12Add non-metafied character length handling.Peter Stephenson2-2/+2
Use this in regex module and add test using $'\ua0'. Rename mb_metacharinit() to mb_charinit() as it does not involve metafied characters.
2015-05-2335127#1: Fix _describe/compdescribe problem with unsorted groupsDaniel Shahaf2-7/+42
2015-05-1335092: fix for numeric arguments from vi operator pending modeOliver Kiddle1-1/+1
2015-05-0435029: improvements to newline handling for vi-mode word movementOliver Kiddle1-18/+33
2015-04-1734919: update interrupt parse error for ZLE cases.Peter Stephenson2-2/+2
Covers both send-break and push-input.
2015-04-1734905: no parse error after keyboard interrupt.Peter Stephenson1-1/+2
Handled generally, though only showing up in special nested cases. Also fix ZLE so it doesn't cancel the interrupt flag when not actually returning from a local keymap.
2015-03-0634653: move aborted vared lines to ZLE_VARED_ABORTEDPeter Stephenson1-1/+3
2015-01-1834322: bug with interface to parsestr() etc.Peter Stephenson2-3/+4
Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy.
2015-01-09Rearrange context saving.Peter Stephenson4-20/+20
Variables are now associated with the module that declares them, being initialised and saved/restored there. However, as many variables are used for communication between modules, many of them are set in multiple places, so the assignment is ambiguous.
2015-01-0734144: allocate origline by ztrdup(), not by dupstring()Jun-ichi Takimoto2-3/+6
If origline is allocated in heap, it will have been freed when menuselect() is called directly as a widget.
2015-01-0634120: compctl, jobs: Check contents instead of arrayMikael Magnusson1-1/+1
text is an array in the struct, and can never be null. Found by Coverity (Issue 1255780).
2015-01-0634119: complist: Fix leak of string in clnicezputsMikael Magnusson1-0/+2
Found by Coverity (Issue 1255808).
2015-01-0634121: compresult: Remove unneeded NULL checkMikael Magnusson1-1/+1
The variable is set to if NULL at the start of the function, and derefed on the previous line. Found by Coverity (Issue 1255843).
2015-01-0634104: compctl: Remove pointless checkMikael Magnusson1-1/+1
cc has already been derefed a bunch of times leading up to here. Found by Coverity (Issue 1255841).
2015-01-0634115: compcore: Fix size argument to zfreeMikael Magnusson1-1/+1
Found by Coverity (Issue 1255852), has no impact unless using --enable-zsh-mem, and even then it is minimal.
2015-01-0634117: zle: size_t is unsigned, use int insteadMikael Magnusson1-1/+1
The function wctomb returns an int according to my manpage, and we furthermore check if it is negative, and then return it, and the function signature is int, so declaring it as an int seems to make more sense.
2015-01-0634116: computil: Check for NULL before passing to strlenMikael Magnusson1-1/+2
The rest of this function appears to be very careful about checking these, then forgets in this one spot. Found by Coverity (Issue 1255805).
2014-12-2834070: fix starting position for memset() from 34005.Daniel Shahaf1-1/+1
2014-12-1934005: region_highlights memory fixPeter Stephenson1-2/+8
Zero uninitialised part of memory when reallocing
2014-12-1834002: zshcalloc() in init_keymaps()Barton E. Schaefer1-1/+1
2014-12-1833981: more care with region_highlights managementPeter Stephenson2-29/+39
2014-12-1833978: avoid infinite loop in interactive modeJun-ichi Takimoto1-1/+3
Update command line when accept-and-hold is called in the interactive mode of menu select.
2014-12-1333956: document key binding changes and remove ^X bindingOliver Kiddle2-1/+2
2014-12-1333846: additional default vi-mode key bindingsOliver Kiddle3-5/+12
2014-12-1233950: ignore KEYTIMEOUT for vi operatorsOliver Kiddle3-12/+19
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson10-20/+51
Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles.
2014-12-0833924: allow vi line/characterwise mode to be forcedOliver Kiddle4-3/+26
2014-12-0533860: minor fixes to vi mode changesOliver Kiddle4-44/+52
2014-12-0533845: save correct cursor position with push-line from vi command modeOliver Kiddle1-0/+2
2014-11-3033823: overwrite mode shouldn't replace newlinesOliver Kiddle1-11/+10
2014-11-3033800: remove old workaround for ancient systems toOliver Kiddle1-41/+2
consume typeahead before setting up the terminal
2014-11-3033818: fix types passed to sizeof detected by coverity as being wrongOliver Kiddle1-2/+2
2014-11-2833815: Fix word transposition bug.Marc Finet1-1/+0
With a one-character word the wrong two words could be transposed.
2014-11-2533770: avoid calling identical FIONREAD ioctl twice in successionOliver Kiddle1-9/+5
2014-11-2133738: account for a selection in vi-replace-charsOliver Kiddle1-8/+35
2014-11-2133730: vim style text objects for selecting wordsOliver Kiddle4-1/+335