Bart Schaefer
35c87f0b3b
unposted (cf. 49202 and 49217): insertlastword ignores blank/missing history entries when repeating
2021-09-06 13:33:40 -07:00
Barton E. Schaefer
e51c9c17af
40453: signal handler safety for callers of patcompile(PAT_STATIC), which is not re-entrant.
2017-01-29 08:30:14 -08:00
Peter Stephenson
48cadf48ff
40285: Be more careful with pattern allocation in history isearch.
...
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.
2017-01-06 17:42:13 +00:00
Daniel Shahaf
5cf6ae0056
37590: Invoke zle-line-pre-redraw during isearch.
2016-01-14 00:04:12 +00:00
Peter Stephenson
f9d7651c25
36682: expand pattern interface to optimise unmetafication
2015-09-28 20:31:51 +01:00
Peter Stephenson
e1c0a947cc
Read full multibyte string early for self-insert
2015-09-11 21:40:45 +01:00
Oliver Kiddle
4f509c6201
36125: don't set history context in get-line
2015-08-12 18:06:01 +02:00
Oliver Kiddle
98687fa1de
35474, 35492: support the bracketed paste mode of newer terminal emulators
2015-06-19 00:15:38 +02:00
Oliver Kiddle
0a0ba5e664
35487, 35496: don't reinstate previous incremental search string
...
when search direction changes
2015-06-19 00:01:42 +02:00
Peter Stephenson
de22f2bfa6
34919: update interrupt parse error for ZLE cases.
...
Covers both send-break and push-input.
2015-04-17 17:37:26 +01:00
Peter Stephenson
d067ebcacd
33876: etc.: Separate errors and keyboards interrupts
...
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-11 09:41:17 +00:00
Oliver Kiddle
b0a659e710
33845: save correct cursor position with push-line from vi command mode
2014-12-05 20:13:32 +01:00
Oliver Kiddle
13f3eec61d
33696: simple up/down line widgets that don't go through history lines
2014-11-15 21:31:29 +01:00
Oliver Kiddle
f62bd9c06c
32450: make get-line widget set the history number that was saved with the line
2014-03-03 12:17:28 +01:00
Mikael Magnusson
72cb7cfc6f
29307, 29308 + replies: Fix some doubled words in docs and comments.
2011-05-19 16:10:46 +00:00
Peter Stephenson
24e97ba046
28773: add zle-history-line-set widget
2011-02-18 22:34:29 +00:00
Peter Stephenson
0a5702457b
28510: add (z+c+) and (z+C+) parameter flags
2010-12-12 22:44:50 +00:00
Peter Stephenson
22899d3788
28285: zle-isearch-update and zle-isearch-exit
2010-10-06 08:25:28 +00:00
Peter Stephenson
443d873258
27926: fix completion suffix when inserting last word
2010-04-27 08:58:34 +00:00
Peter Stephenson
be2381eb52
27804: don't hang in isearch if invalid character found
2010-03-18 16:03:09 +00:00
Peter Stephenson
c88fd11377
Holger Weiss: 57248: fix anchoring for vi searches
2009-09-06 21:37:14 +00:00
Peter Stephenson
ea29159571
users/13902: make isearch return status useful
...
add LASTABORTEDSEARCH variable
2009-03-13 10:04:21 +00:00
Peter Stephenson
b7f4c91597
users/13903 fix vi search prompt and repeat
2009-03-13 09:58:14 +00:00
Peter Stephenson
46cdeb71b7
26366: add "isearch" keymap and "accept-search" functino
2009-01-19 17:57:43 +00:00
Clint Adams
787c86f68d
25949: remove dead code in getvisrchstr.
2008-10-30 01:47:32 +00:00
Peter Stephenson
1775a6ba81
25690: fix insert-last-word on multibyte characters with Meta
2008-09-18 20:35:37 +00:00
Peter Stephenson
4bed4f9d0f
24994: fix problem with up/down-line-or-search, perhaps
2008-05-11 18:37:34 +00:00
Wayne Davison
f7b2570e15
Locking simplification and signed/unsigned fixes.
2008-05-05 01:14:04 +00:00
Peter Stephenson
1424e923b1
24915: some more fix-ups for combining characters
2008-05-04 18:30:02 +00:00
Peter Stephenson
a8854f71eb
24900: add backward-kill-word behaviour to isearch
...
document isearch commands better
2008-05-01 11:33:02 +00:00
Peter Stephenson
f8220437f2
unposted: reset search line on anchored pattern isearch
2008-04-28 15:45:41 +00:00
Peter Stephenson
7462e3f978
unposted: more tweaks for failed isearch pattern matches
2008-04-28 11:35:54 +00:00
Peter Stephenson
be947a5606
24890: Matt Wozniski: reset skip_pos on backtracking in isearch
2008-04-28 10:56:42 +00:00
Peter Stephenson
bbcee91527
24886: fix endless loop in string isearch
2008-04-27 20:01:49 +00:00
Peter Stephenson
91a10708b2
24822: highlighting of isearch matches
...
unposted: not in NEWS that COMBINING_CHARS is not on by default
2008-04-26 22:52:50 +00:00
Peter Stephenson
3587f599b0
unposted: fix position of cursor on forward pattern searching
2008-04-26 21:26:28 +00:00
Peter Stephenson
1fc8484f05
24881: only feep once on an invalid pattern
2008-04-26 20:53:04 +00:00
Peter Stephenson
49d05f7476
feeping on a failed match could be mistimed
2008-04-26 20:40:18 +00:00
Peter Stephenson
35bbbbacb6
24879: unpleasantness at the pattern search line duplication test club
2008-04-26 20:27:39 +00:00
Peter Stephenson
234c6ed193
24878: add incremental pattern searches
2008-04-26 19:51:08 +00:00
Peter Stephenson
2cec7aae44
24861 (with tweaks): logic to use alternative wcwidth() if needed;
...
slightly improve test for overwriting with combining characters.
2008-04-22 15:08:04 +00:00
Peter Stephenson
3cf29e7513
24853: bits missed from patch
2008-04-20 21:19:52 +00:00
Peter Stephenson
b8ec06c870
24853: use metafied strings for inner loops over history
2008-04-20 21:17:29 +00:00
Peter Stephenson
fe6d34f024
24816: some places where we need cursor alignment with combining characters
2008-04-14 14:57:52 +00:00
Peter Stephenson
97dcf15556
24808: initial support for combining characters in zle
2008-04-13 16:58:42 +00:00
Peter Stephenson
659bfee072
unposted: move zlefind() and zlecmp() into zle_hist.c
2008-04-11 11:38:06 +00:00
Clint Adams
8deb3e6c43
2381x: set vipenultsrchstr to NULL after freeing it to avoid vi-mode history search segfaults.
2007-09-13 10:14:56 +00:00
Peter Stephenson
80acfd135c
22684: improve getkeystring() interface and make printf do octal escapes
2006-09-10 18:10:48 +00:00
Wayne Davison
4cb83571c4
Changed some structures to avoid gcc's type-punned warnings.
2006-03-07 21:30:36 +00:00
Peter Stephenson
94953f70b9
22124: handle bad multibyte input better
2006-01-06 14:23:00 +00:00