1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 16:40:24 +02:00
Commit graph

54 commits

Author SHA1 Message Date
Daniel Shahaf
0cffb0a6b3 46072 + 46136: Add the 'zle $widget -f nolast' syntax, to improve add-zle-hook-widget support for multiple hook functions.
See workers/46004 for the use-case.
2020-06-27 03:09:31 +00:00
Roman Perepelitsa
c551937280 44215: Maintain LASTWIDGET across reset-prompt.
This avoids side effects of asynchronous notifications.
2019-04-10 09:41:04 +01:00
Oliver Kiddle
f0c2cf8607 42760: move stack variable outside while loop scope as it is accessed in the while condition 2018-05-13 09:51:05 +02:00
Jun-ichi Takimoto
e4a8069b32 42501: avoid out of bound pointer (as 42487) 2018-03-24 15:22:10 +09:00
Peter Stephenson
d5c22d356b 41244: Add zmodload -s option.
Doesn't complain if module is unavailable, but prints more
obscure errors.

Use existing low-level silent flag by passing through
intermediate module loading hierarchy.
2017-06-12 10:10:23 +01:00
Peter Stephenson
34656ec2f0 40305: fix some problems redisplaying command line after interrupt.
Back off previous fix as this only covered some subset of problems.

Remaining problems happend after reset-prompt in TRAPINT.

One was in complist and is fixed by not attempting to list after
an error or interrupt.

The other was owing to not resetting clearflag when ZLE
was re-entered.
2017-01-10 19:18:52 +00:00
Oliver Kiddle
cb5f100bd3 39986, 39989: improve handling of vi-repeat-change
Save previous vi change and throw away a new change that fails.
Add zle -f vichange to allow shell widget to be a single change.
Fix repeat of command where numeric arguments were multiplied.
2016-11-20 23:59:48 +01:00
Bart Schaefer
8d04b5429f unposted: remove extra close-paren from d6a6b4ff 2016-09-27 21:47:55 -07:00
Oliver Kiddle
d6a6b4ff3a 39369 (tweaked cf 39371): when calling an internal widget, set bindk because some widgets use it to determine how they should act 2016-09-27 21:32:01 +02:00
Barton E. Schaefer
ac0dcc9a63 unposted: fix typo in comment 2016-08-06 20:07:26 -07:00
Peter Stephenson
0c2d823a79 37337: Delay freeing widget until not in use. 2015-12-07 14:32:52 +00:00
Peter Stephenson
d45a68c546 36974: fix some functions with empty argument lists 2015-10-27 09:28:36 +00:00
Mikael Magnusson
0626be9e3c unposted: define zle_usable before using it (reported in 36741) 2015-10-02 20:41:53 +02:00
Mikael Magnusson
fa72e54712 unposted: zle_thingy: return a value in bin_zle_flags 2015-10-01 20:24:45 +02:00
Mikael Magnusson
a855d7bd24 36709: zle -f from inside widget to set flags and make yank start/end zle params writable 2015-10-01 03:51:44 +02:00
Barton E. Schaefer
8e77fcb050 36522: unmetafy the argument of "zle -U" 2015-09-12 16:13:01 -07:00
Peter Stephenson
2fc2bb7c17 31961: rationalise fd watching to use structure 2013-11-12 20:41:06 +00:00
Peter Stephenson
f77a7a5b18 31937: zle -Fw uses widget semantics for file descriptor handler 2013-11-07 15:19:07 +00:00
Peter Stephenson
9b923cccea 30084: `zle -T tc func' for zle testing of termcap output 2012-01-05 20:01:24 +00:00
Peter Stephenson
45faf8f5b2 29891: make zle -lL with arguments work 2011-11-04 14:14:26 +00:00
Peter Stephenson
b8ec06c870 24853: use metafied strings for inner loops over history 2008-04-20 21:17:29 +00:00
Peter Stephenson
1ee6295909 24279: allow terminal changes after zle -I to be acquired by main shell 2007-12-18 10:42:36 +00:00
Peter Stephenson
6ab77f00ff 23488: tidy up module interface and documentation 2007-05-29 17:01:07 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
b726ead94e 22676, 22678: extend sched and make it able to run events when waiting for
input
2006-09-10 15:24:26 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +00:00
Peter Stephenson
949f5b6dee 22431: set WIDGET etc. more consistently when executing zle functions 2006-04-25 15:00:25 +00:00
Peter Stephenson
a2d5ebe3c0 22427: zle <widget> -w sets the environment for <widget> 2006-04-25 10:10:49 +00:00
Wayne Davison
eafa96805b Fixed call to undefined function zwarnname() instead of zwarnnam(). 2006-03-25 18:50:44 +00:00
Peter Stephenson
7b7905fedb 22638: MACHINES: IRIX
users/10047: zle widget -K keymap
2006-03-21 19:19:05 +00:00
Wayne Davison
04ea7bae96 Fix some compiler warnings and ensure that zmod gets restored
properly in bin_zle_call().
2006-03-09 09:44:28 +00:00
Wayne Davison
e79af955f0 Got rid of some unsigned-char/char pointer casts. 2005-11-15 08:44:17 +00:00
Peter Stephenson
aea7715261 21943, 21945: ZLE_UNICODE_SUPPORT -> MULTIBYTE_SUPPORT;
use multibyte versions of nicechar wherever possible.
2005-10-28 17:34:33 +00:00
Peter Stephenson
d7a37f48fd 21939: new UNMETACHECK() was too ruthless 2005-10-26 10:06:47 +00:00
Peter Stephenson
05b6a23362 not yet posted; zle line screwed up on bad return from insertlastword() 2005-10-23 17:42:56 +00:00
Peter Stephenson
046f4cf49e 21784: Improved character widths for formatted multibyte character output 2005-09-29 17:32:34 +00:00
Peter Stephenson
2a888b3d5a c.f. 21590: metafy_line()/unmetafy_line() now support wide characters 2005-08-10 10:56:40 +00:00
Peter Stephenson
691dd7e529 20861: Fix statusline in Unicode, apart from isearch 2005-02-24 15:32:36 +00:00
Peter Stephenson
d7c13fb2c3 20822: Initial code for Unicode/multibyte input
20823: Debugging test in stat wrong for 64-bit systems
2005-02-18 13:57:25 +00:00
Peter Stephenson
65bbf722d9 20330: rationalise zle return statuses 2004-09-08 15:23:47 +00:00
Peter Stephenson
fb79072575 20303: zle -I test and running zle widgets in traps 2004-09-02 14:34:33 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
1e212cbedc 19281: zle-line-init special widget 2003-12-12 22:53:27 +00:00
Peter Stephenson
815bc92148 a la 19209: zcalloc -> zshcalloc 2003-10-29 19:17:30 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Sven Wischnowsky
1229d05c19 fix default completion module loading, use compctl if it hasn't been loaded already and no completion widgets have been defined (17567) 2002-08-20 12:28:05 +00:00
Peter Stephenson
b673918c0f 17304: tweak to tweak the tweaked tweak for zle -I in 17301 2002-06-07 18:04:06 +00:00
Peter Stephenson
37199039b2 17301: improve zle -I. 2002-06-07 10:57:24 +00:00
Peter Stephenson
9c8b79b993 17295: `zle -F' failed because of bad test 2002-06-05 21:12:08 +00:00
Peter Stephenson
afe1b00e16 17141 plus mods: add `zle -F fd handler' feature. 2002-05-21 11:10:13 +00:00