Oliver Kiddle
44c56f3af5
35627: make reverse-menu-complete start with the last match in
...
menu selection
2015-06-29 01:54:44 +02:00
Peter Stephenson
c6c9f5daf2
34322: bug with interface to parsestr() etc.
...
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-18 22:38:57 +00:00
Mikael Magnusson
9e5dc2925c
34121: compresult: Remove unneeded NULL check
...
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-06 23:46:49 +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
m0viefreak
cd2eb07a78
m0viefreak: users/18655,18657,18660: assorted auto-removable suffix fixes
...
Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix
auto-removable suffix highlighting
Completion/Unix/Command/_git: fix compadd for auto-removable suffix in
_git_commit_ranges and _git_stash
2014-03-23 13:02:12 -07:00
Peter Stephenson
506615ff94
29267: add -enable-zsh-debug and use for debugging completion matcher groups
2011-05-14 00:07:41 +00:00
Peter Stephenson
d89361739a
29165: use term.h globally if needed at all.
2011-05-09 09:49:08 +00:00
Peter Stephenson
212ca9edf9
28772: Update regions in region highlight dynamically
2011-02-18 22:08:45 +00:00
Peter Stephenson
a15007fe64
28167: reset more variables on invalidating completion list
2010-08-15 18:40:04 +00:00
Peter Stephenson
e61af474c1
26876 with updated documentation: add ZLE_{REMOVE,SPACE}_SUFFIX_CHARS
2009-04-24 09:00:29 +00:00
Peter Stephenson
0cf040f4bf
Back off 26270 (accept-and-menu-complete).
...
Was causing memory corruption
2009-01-13 12:19:53 +00:00
Andrey Borzenkov
1a43616975
26270: allow accept-and-menu-complete work with _vallues as well
2009-01-09 20:54:35 +00:00
Peter Stephenson
1663a63196
24959: crash with ^D in compctl
2008-05-07 08:53:39 +00:00
Peter Stephenson
97dcf15556
24808: initial support for combining characters in zle
2008-04-13 16:58:42 +00:00
Peter Stephenson
5a52e1ee80
24551: Free heap memory after every ZLE command
2008-02-14 15:21:35 +00:00
Peter Stephenson
d931eed826
23794: fix crash completing on "foo$" (quotes significant)
2007-08-22 17:24:08 +00:00
Peter Stephenson
bd76320790
23478: crash in reverse-menu-complete if no completion
2007-05-28 13:08:47 +00:00
Peter Stephenson
006229c32e
22924: a couple more metafy_line()/unmetafy_line() problems
2006-10-30 14:13:36 +00:00
Peter Stephenson
9986ebfd33
obscure crash with hasbrpsfx()
2006-10-30 12:57:52 +00:00
Andrey Borzenkov
9d8c3eb74d
22831: use CM_SPACE in compdescribe
2006-10-07 08:05:03 +00:00
Peter Stephenson
b4f837a862
22820: this time, fix handling of long accumulated completion line
2006-10-06 16:48:42 +00:00
Peter Stephenson
e87b35c04e
10791: fix handling of long accumulated completion line
2006-10-06 10:07:37 +00:00
Peter Stephenson
2ccad2310e
22599: use wide character widths in completion
2006-08-11 21:30:38 +00:00
Peter Stephenson
2983ed3fb3
22594: Attempt to fix some off-by-one errors for completion lists
...
that exactly fit the display width
2006-08-09 22:08:38 +00:00
Peter Stephenson
bb912594b2
22575: multibyte fixes for bslashquote(), getzlequery()
2006-08-01 21:28:04 +00:00
Wayne Davison
4cb83571c4
Changed some structures to avoid gcc's type-punned warnings.
2006-03-07 21:30:36 +00:00
Wayne Davison
e79af955f0
Got rid of some unsigned-char/char pointer casts.
2005-11-15 08:44:17 +00:00
Peter Stephenson
e366ca8dbf
users/9638: tweaks for FCEDIT etc.
...
21986: rewrite completion suffixes for wide characters
2005-11-07 09:37:34 +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
046f4cf49e
21784: Improved character widths for formatted multibyte character output
2005-09-29 17:32:34 +00:00
Andrey Borzenkov
a6ebb7bfc3
21664: unmetafy ztat() argument
2005-08-18 18:19:29 +00:00
Peter Stephenson
817e59cf19
21596: fix run-help, which-command, accept-and-menu-complete
2005-08-10 19:51:30 +00:00
Peter Stephenson
2a888b3d5a
c.f. 21590: metafy_line()/unmetafy_line() now support wide characters
2005-08-10 10:56:40 +00:00
Geoff Wing
e71c9f6c01
20162: in printlist() don't output new line if we haven't printed anything
2005-04-22 02:46:40 +00:00
Peter Stephenson
88a37cc187
c.f. 20675: improve zle as a basis for Unicode.
...
unposted: update version to 4.2.3-dev-1
2005-01-14 13:04:47 +00:00
Peter Stephenson
aad11eb618
unposted: improve 20150 by setting pointer to NULL
2004-07-12 10:05:46 +00:00
Peter Stephenson
86ae90bc1c
20149: improve prompt-reset code
...
20150: commit ancient memory leak fix(?) in completion
2004-07-11 22:53:01 +00:00
Wayne Davison
fb0937a69e
Marked unused parameters with the new UNUSED() macro.
2004-06-02 22:14:25 +00:00
Geoff Wing
8026bedc1c
19474: fix a calculation when displaying completions which are
...
screen width or multiples of that wide, and ALWAYS_LAST_PROMPT
2004-03-05 00:51:36 +00:00
Peter Stephenson
809ab19dff
18191: from Greg Klanderman: compctl -y didn't respect list arrangement
...
options listpacked and listrowsfirst.
2003-02-06 10:29:30 +00:00
Peter Stephenson
1e7c463fd9
18059: allow compadd -r and -R with default space suffix
2003-01-13 10:32:03 +00:00
Sven Wischnowsky
273929e188
make sure invalidatelist() isn't called hwen we are inside menu selection and there's only one match left (17489)
2002-07-30 07:47:03 +00:00
Sven Wischnowsky
d28f67623f
two new modes for menu selection: incremental search and interactive (17366)
2002-06-26 11:07:42 +00:00
Sven Wischnowsky
5a89ede77b
fix for file-type-tests in nested quotes and don't count space file-type-character (17195)
2002-05-21 08:07:51 +00:00
Sven Wischnowsky
3807c902a2
add new generic fake style and changes to the C-code for that (different implementation of compadd -x) (16483)
2002-01-22 10:22:47 +00:00
Sven Wischnowsky
aac666130c
fix calculation of number of columns needed with list_packed (15946)
2001-10-05 12:44:00 +00:00
Wayne Davison
4afcd4b149
Got rid of unused variables.
2001-08-08 07:41:04 +00:00
Sven Wischnowsky
4da5c1b2e0
(15509)
2001-07-27 12:56:57 +00:00
Sven Wischnowsky
eba59194d7
make display for groups in _describe nicer; improve packing with list_packed; leave space for type character (list_types) only in groups with at least one file name (15477)
2001-07-25 08:52:34 +00:00
Sven Wischnowsky
8c1b953b5a
add list-grouped option to make options and such be grouped together if they have the same description; matches with line-display strings can be hidden; hi and du capabalities in complist are only used if set by the user (15407)
2001-07-18 13:10:07 +00:00