summaryrefslogtreecommitdiff
path: root/Src/Zle/zle_hist.c
AgeCommit message (Collapse)AuthorFilesLines
2024-11-2353243: fix use of vi-fetch-history with a rangeOliver Kiddle1-4/+17
2023-08-22users/29175: Don't need to forget zle edits if noneNojus Gudinavičius1-0/+12
2021-09-06unposted (cf. 49202 and 49217): insertlastword ignores blank/missing history ↵Bart Schaefer1-2/+7
entries when repeating
2017-01-2940453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer1-4/+6
not re-entrant.
2017-01-0640285: Be more careful with pattern allocation in history isearch.Peter Stephenson1-4/+7
If there are ZLE hooks to be called, they may use patterns, in which case it's not safe to allocate the isearch pattern in the static buffer.
2016-01-1437590: Invoke zle-line-pre-redraw during isearch.Daniel Shahaf1-0/+2
2015-09-2836682: expand pattern interface to optimise unmetaficationPeter Stephenson1-2/+2
2015-09-11Read full multibyte string early for self-insertPeter Stephenson1-2/+2
2015-08-1236125: don't set history context in get-lineOliver Kiddle1-4/+2
2015-06-1935474, 35492: support the bracketed paste mode of newer terminal emulatorsOliver Kiddle1-0/+15
2015-06-1935487, 35496: don't reinstate previous incremental search stringOliver Kiddle1-1/+1
when search direction changes
2015-04-1734919: update interrupt parse error for ZLE cases.Peter Stephenson1-1/+1
Covers both send-break and push-input.
2014-12-1133876: etc.: Separate errors and keyboards interruptsPeter Stephenson1-2/+4
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-0533845: save correct cursor position with push-line from vi command modeOliver Kiddle1-0/+2
2014-11-1533696: simple up/down line widgets that don't go through history linesOliver Kiddle1-10/+10
2014-03-0332450: make get-line widget set the history number that was saved with the lineOliver Kiddle1-0/+4
2011-05-1929307, 29308 + replies: Fix some doubled words in docs and comments.Mikael Magnusson1-1/+1
2011-02-1828773: add zle-history-line-set widgetPeter Stephenson1-0/+1
2010-12-1228510: add (z+c+) and (z+C+) parameter flagsPeter Stephenson1-1/+1
2010-10-0628285: zle-isearch-update and zle-isearch-exitPeter Stephenson1-0/+2
2010-04-2727926: fix completion suffix when inserting last wordPeter Stephenson1-0/+1
2010-03-1827804: don't hang in isearch if invalid character foundPeter Stephenson1-0/+2
2009-09-06Holger Weiss: 57248: fix anchoring for vi searchesPeter Stephenson1-1/+1
2009-03-13users/13902: make isearch return status usefulPeter Stephenson1-17/+51
add LASTABORTEDSEARCH variable
2009-03-13users/13903 fix vi search prompt and repeatPeter Stephenson1-1/+5
2009-01-1926366: add "isearch" keymap and "accept-search" functinoPeter Stephenson1-0/+10
2008-10-3025949: remove dead code in getvisrchstr.Clint Adams1-6/+2
2008-09-1825690: fix insert-last-word on multibyte characters with MetaPeter Stephenson1-5/+3
2008-05-1124994: fix problem with up/down-line-or-search, perhapsPeter Stephenson1-3/+9
2008-05-05Locking simplification and signed/unsigned fixes.Wayne Davison1-2/+2
2008-05-0424915: some more fix-ups for combining charactersPeter Stephenson1-0/+9
2008-05-0124900: add backward-kill-word behaviour to isearchPeter Stephenson1-16/+27
document isearch commands better
2008-04-28unposted: reset search line on anchored pattern isearchPeter Stephenson1-11/+13
2008-04-28unposted: more tweaks for failed isearch pattern matchesPeter Stephenson1-1/+2
2008-04-2824890: Matt Wozniski: reset skip_pos on backtracking in isearchPeter Stephenson1-14/+15
2008-04-2724886: fix endless loop in string isearchPeter Stephenson1-1/+1
2008-04-2624822: highlighting of isearch matchesPeter Stephenson1-20/+57
unposted: not in NEWS that COMBINING_CHARS is not on by default
2008-04-26unposted: fix position of cursor on forward pattern searchingPeter Stephenson1-11/+30
2008-04-2624881: only feep once on an invalid patternPeter Stephenson1-2/+4
2008-04-26feeping on a failed match could be mistimedPeter Stephenson1-0/+4
2008-04-2624879: unpleasantness at the pattern search line duplication test clubPeter Stephenson1-3/+16
2008-04-2624878: add incremental pattern searchesPeter Stephenson1-173/+405
2008-04-2224861 (with tweaks): logic to use alternative wcwidth() if needed;Peter Stephenson1-1/+1
slightly improve test for overwriting with combining characters.
2008-04-2024853: bits missed from patchPeter Stephenson1-3/+3
2008-04-2024853: use metafied strings for inner loops over historyPeter Stephenson1-224/+304
2008-04-1424816: some places where we need cursor alignment with combining charactersPeter Stephenson1-1/+5
2008-04-1324808: initial support for combining characters in zlePeter Stephenson1-2/+2
2008-04-11unposted: move zlefind() and zlecmp() into zle_hist.cPeter Stephenson1-0/+86
2007-09-132381x: set vipenultsrchstr to NULL after freeing it to avoid vi-mode history ↵Clint Adams1-0/+1
search segfaults.
2006-09-1022684: improve getkeystring() interface and make printf do octal escapesPeter Stephenson1-1/+1