1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-06 09:01:13 +02:00
Commit graph

135 commits

Author SHA1 Message Date
Jun-ichi Takimoto
152b797596 34144: allocate origline by ztrdup(), not by dupstring()
If origline is allocated in heap, it will have been freed
when menuselect() is called directly as a widget.
2015-01-07 21:48:28 +09:00
Mikael Magnusson
8035794a56 34119: complist: Fix leak of string in clnicezputs
Found by Coverity (Issue 1255808).
2015-01-06 23:47:05 +01:00
Jun-ichi Takimoto
fe51f39dad 33978: avoid infinite loop in interactive mode
Update command line when accept-and-hold is called in the
interactive mode of menu select.
2014-12-18 03:49:51 +09:00
Oliver Kiddle
0d4b548d1e 33818: fix types passed to sizeof detected by coverity as being wrong 2014-11-30 23:19:55 +01:00
Barton E. Schaefer
691547cda6 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko in status message for INT/QUIT signals; check errflag in output loops
Two semi-related patches for keyboard interrupt handling in completion,
most importantly so that unexpectedly long completion listings can be
interrupted.
2014-10-29 08:45:57 -07:00
Oliver Kiddle
b5fcc04f0e 32436: allow = to be used in ZLS_COLORS patterns if it is quoted or inside parentheses 2014-03-03 11:57:56 +01:00
Barton E. Schaefer
1584318b97 32283: fix crash in menu selection when number of terminal lines is small 2014-01-18 12:32:21 -08:00
Peter Stephenson
84f8330e0d users/16375: initialise nrefs on each loop in match tests 2011-09-18 17:44:12 +00:00
Peter Stephenson
962624e8c3 29491: remove some variables set but not used 2011-06-19 16:26:10 +00: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
Bart Schaefer
ecb32c6b12 Jun T.: 29031: increment global minfo state when inserting characters
on the line during interactive menu selection.
2011-04-24 19:10:20 +00:00
Peter Stephenson
afc3a7c412 28202: unmetafy line for reversemenucomplete 2010-08-31 18:09:15 +00:00
Peter Stephenson
c969dea22f 27441: add "sa" for suffix alias completion highlighting 2009-11-30 17:26:47 +00:00
Peter Stephenson
55e4beb8d8 27085: add accept-search handling to scrollist keymap 2009-07-01 17:09:37 +00:00
Peter Stephenson
88d07936a2 27080: it wasnt possible to exit menu selection cleanly 2009-07-01 13:41:18 +00:00
Peter Stephenson
52bb631ccb 26373: initialise variable in menu completion in attempt to prevent crash 2009-01-20 10:42:08 +00:00
Bart Schaefer
16e75d6978 25389: rearrange precedence of ZLS_COLORS alternatives. 2008-08-06 02:21:01 +00:00
Peter Stephenson
5527851061 25266: always use EXTENDED_GLOB for patterns in ZLS_COLORS 2008-07-05 19:55:29 +00:00
Peter Stephenson
9533b19dad 25051: add colour sequences to formatting strings in completion 2008-05-16 09:37:56 +00:00
Peter Stephenson
ea09bb1cef 25006, 25009: fix "or" orphaned symlink highlighting
fix ordering of statd versus extension and pattern highlight tests
2008-05-12 16:49:59 +00:00
Peter Stephenson
dbe5fd93a7 24951: implement ZLS_COLORS ln=target 2008-05-06 16:01:18 +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
b8ec06c870 24853: use metafied strings for inner loops over history 2008-04-20 21:17:29 +00:00
Andrey Borzenkov
79ea3a1717 24851: support colour codes for from current GNU ls 2008-04-20 06:41:22 +00:00
Peter Stephenson
97dcf15556 24808: initial support for combining characters in zle 2008-04-13 16:58:42 +00:00
Peter Stephenson
af92f874e1 24777: bug clearing up after menu selection 2008-03-28 23:21:26 +00:00
Peter Stephenson
bc45a1b994 24672: fix(?) crash resizing window during menu-select 2008-02-28 23:12:37 +00:00
Peter Stephenson
ac0756270c 24554: reduce accumulated memory listing in completion listing
make file static be used as such instead of as a pretend parameter
2008-02-15 22:01:01 +00:00
Peter Stephenson
4af9d97317 23807: fix interactive completion mode 2007-08-30 14:38:26 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Peter Stephenson
0e58658d4a users/11421: %{...%} was broken in completion listings 2007-04-17 14:55:15 +00:00
Peter Stephenson
54949051da 23258: fix debugging added in 23248 2007-04-02 13:58:19 +00:00
Peter Stephenson
56bf25cff9 unposted: better fix for complist line wrap from 23248 2007-03-30 09:32:17 +00:00
Peter Stephenson
af8a88e4f5 23248: Completion listing problem with lines nearly screen width
If compiled with debug send dputs() output to $ZSH_DEBUG_LOG if defined.
2007-03-29 21:35:39 +00:00
Peter Stephenson
bae2ec88e5 unposted: uninitialised variable could result from 23144 2007-02-06 10:12:20 +00:00
Peter Stephenson
b2d709b22e 23144: Felix Eckhofer <felix@tribut.de>: NULL pointer in complist.c 2007-02-02 23:47: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
78d1939ffd 22753: minor character bugs spotted on Cygwin 2006-09-21 16:36:53 +00:00
Peter Stephenson
754503c60d 22651: failed to unmetafy bytes for output 2006-08-20 22:28:17 +00:00
Peter Stephenson
1a42aadd81 22612: comment the static variables 2006-08-17 09:34:11 +00:00
Peter Stephenson
77321097e7 22611: bug scrolling wide completion list 2006-08-15 21:19:34 +00:00
Peter Stephenson
f2dbedcc4f 22605: bug in complist wide character fixes introduced infinite loop 2006-08-14 13:29:29 +00:00
Peter Stephenson
2ccad2310e 22599: use wide character widths in completion 2006-08-11 21:30:38 +00:00
Peter Stephenson
d5b3716e1c 22597: back off two column-subtraction hunks 2006-08-10 16:34:19 +00:00
Bart Schaefer
7315dbb385 22595: paranoid bounds-checking on some
loop indices.
2006-08-10 15:59:09 +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
98e306e251 unposted: badly positioned declaration in complist.c 2006-08-07 15:58:44 +00:00
Peter Stephenson
b85a444fe0 22589: bug with long lines in menu selection 2006-08-07 15:45:19 +00:00