about summary refs log tree commit diff
path: root/Src/Zle
Commit message (Collapse)AuthorAgeFilesLines
* 35824: allow highlighting of just pasted text and put text from bracketed ↵Oliver Kiddle2015-07-234-9/+32
| | | | paste in cut buffers
* 35814: POSTEDIT needs to be unmetafiedOliver Kiddle2015-07-231-1/+1
|
* 35826: add getsparam_u() to return unmetafied string, use it for a number of ↵Barton E. Schaefer2015-07-222-4/+4
| | | | references to non-special params
* 35737: (tweaked c.f. Peter: 35759): use new undo limit for minibuffer and ↵Oliver Kiddle2015-07-141-1/+1
| | | | beep when limit is reached
* 35708: add UNDO_LIMIT_NOPeter Stephenson2015-07-092-2/+25
|
* unposted: remove compiler error in completion codePeter Stephenson2015-07-071-1/+2
|
* 35704: compadd -E 0 should imply -J and -2Oliver Kiddle2015-07-062-3/+3
|
* 35692: cfp_matcher_range used wrong raw characterPeter Stephenson2015-07-051-1/+1
|
* 35674: make an undo event for initial buffer contentsOliver Kiddle2015-07-031-0/+1
|
* 35665: better handling for command line completion match handlingHan Pingtian2015-07-021-3/+6
|
* 35637: remove the now unused module hook for reverse-menu-completeOliver Kiddle2015-06-293-8/+2
|
* 35627: make reverse-menu-complete start with the last match inOliver Kiddle2015-06-296-68/+36
| | | | menu selection
* 35623: fix menu-selection where initial selectionOliver Kiddle2015-06-291-0/+3
| | | | would not be displayed without scrolling
* 35615: fix completion after tyepsetPeter Stephenson2015-06-261-5/+12
|
* 35550: fix backspace in interactive menu-selectJun-ichi Takimoto2015-06-251-2/+2
|
* unposted: add missing (void) argument list to bracketedestring()Peter Stephenson2015-06-231-1/+1
|
* 35474, 35492: support the bracketed paste mode of newer terminal emulatorsOliver Kiddle2015-06-196-36/+147
|
* 35487, 35496: don't reinstate previous incremental search stringOliver Kiddle2015-06-192-2/+4
| | | | when search direction changes
* Add non-metafied character length handling.Peter Stephenson2015-06-122-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.
* 35127#1: Fix _describe/compdescribe problem with unsorted groupsDaniel Shahaf2015-05-232-7/+42
|
* 35092: fix for numeric arguments from vi operator pending modeOliver Kiddle2015-05-131-1/+1
|
* 35029: improvements to newline handling for vi-mode word movementOliver Kiddle2015-05-041-18/+33
|
* 34919: update interrupt parse error for ZLE cases.Peter Stephenson2015-04-172-2/+2
| | | | Covers both send-break and push-input.
* 34905: no parse error after keyboard interrupt.Peter Stephenson2015-04-171-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.
* 34653: move aborted vared lines to ZLE_VARED_ABORTEDPeter Stephenson2015-03-061-1/+3
|
* 34322: bug with interface to parsestr() etc.Peter Stephenson2015-01-182-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.
* Rearrange context saving.Peter Stephenson2015-01-094-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.
* 34144: allocate origline by ztrdup(), not by dupstring()Jun-ichi Takimoto2015-01-072-3/+6
| | | | | If origline is allocated in heap, it will have been freed when menuselect() is called directly as a widget.
* 34120: compctl, jobs: Check contents instead of arrayMikael Magnusson2015-01-061-1/+1
| | | | | | text is an array in the struct, and can never be null. Found by Coverity (Issue 1255780).
* 34119: complist: Fix leak of string in clnicezputsMikael Magnusson2015-01-061-0/+2
| | | | Found by Coverity (Issue 1255808).
* 34121: compresult: Remove unneeded NULL checkMikael Magnusson2015-01-061-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).
* 34104: compctl: Remove pointless checkMikael Magnusson2015-01-061-1/+1
| | | | | cc has already been derefed a bunch of times leading up to here. Found by Coverity (Issue 1255841).
* 34115: compcore: Fix size argument to zfreeMikael Magnusson2015-01-061-1/+1
| | | | | Found by Coverity (Issue 1255852), has no impact unless using --enable-zsh-mem, and even then it is minimal.
* 34117: zle: size_t is unsigned, use int insteadMikael Magnusson2015-01-061-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.
* 34116: computil: Check for NULL before passing to strlenMikael Magnusson2015-01-061-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).
* 34070: fix starting position for memset() from 34005.Daniel Shahaf2014-12-281-1/+1
|
* 34005: region_highlights memory fixPeter Stephenson2014-12-191-2/+8
| | | | Zero uninitialised part of memory when reallocing
* 34002: zshcalloc() in init_keymaps()Barton E. Schaefer2014-12-181-1/+1
|
* 33981: more care with region_highlights managementPeter Stephenson2014-12-182-29/+39
|
* 33978: avoid infinite loop in interactive modeJun-ichi Takimoto2014-12-181-1/+3
| | | | | Update command line when accept-and-hold is called in the interactive mode of menu select.
* 33956: document key binding changes and remove ^X bindingOliver Kiddle2014-12-132-1/+2
|
* 33846: additional default vi-mode key bindingsOliver Kiddle2014-12-133-5/+12
|
* 33950: ignore KEYTIMEOUT for vi operatorsOliver Kiddle2014-12-123-12/+19
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-1110-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.
* 33924: allow vi line/characterwise mode to be forcedOliver Kiddle2014-12-084-3/+26
|
* 33860: minor fixes to vi mode changesOliver Kiddle2014-12-054-44/+52
|
* 33845: save correct cursor position with push-line from vi command modeOliver Kiddle2014-12-051-0/+2
|
* 33823: overwrite mode shouldn't replace newlinesOliver Kiddle2014-11-301-11/+10
|
* 33800: remove old workaround for ancient systems toOliver Kiddle2014-11-301-41/+2
| | | | consume typeahead before setting up the terminal
* 33818: fix types passed to sizeof detected by coverity as being wrongOliver Kiddle2014-11-301-2/+2
|