1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 18:10:56 +01:00
Commit graph

156 commits

Author SHA1 Message Date
Bart Schaefer
67847a96ee 28926: No newline after the last line in listlist() when printing the list
in a single column.
2011-03-28 04:50:20 +00:00
Peter Stephenson
212ca9edf9 28772: Update regions in region highlight dynamically 2011-02-18 22:08:45 +00:00
Peter Stephenson
ebcead7543 lexsave/lexrestore lexflags
add new LEXFLAGS_ZLE
2010-12-14 10:35:38 +00:00
Peter Stephenson
eab4f9a83c 28528: Rearrange zleparse to lexflags
Add (z+n+)
2010-12-14 09:59:04 +00:00
Peter Stephenson
08dec290d4 Fix ZLE access to pushed history line 2010-03-22 16:22:13 +00:00
Peter Stephenson
7293565963 27479: prevent completions split across backslash-newline
from causing too much mayhem
2009-12-07 21:40:04 +00:00
Peter Stephenson
2237f7376e users/14307: end of command line in completion with variant zsh syntax 2009-08-15 16:59:21 +00:00
Peter Stephenson
84864d5780 26588: don't expand aliases in run-help 2009-02-20 21:49:56 +00:00
Andrey Borzenkov
ead23b1898 26247: fix compilation with -Werror=format-security 2009-01-05 11:14:53 +00:00
Clint Adams
4de54f5d00 25859: avoid possible NULL dereferencing if RC_QUOTES is set. 2008-10-12 18:26:57 +00:00
Clint Adams
b4ee5adc25 25636: free s before returning with an error condition. 2008-09-08 22:17:50 +00:00
Peter Stephenson
9533b19dad 25051: add colour sequences to formatting strings in completion 2008-05-16 09:37:56 +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
fe6d34f024 24816: some places where we need cursor alignment with combining characters 2008-04-14 14:57:52 +00:00
Peter Stephenson
f125ca3293 24810: ensure combining character alignment on unmetafication 2008-04-14 09:13:18 +00:00
Peter Stephenson
97dcf15556 24808: initial support for combining characters in zle 2008-04-13 16:58:42 +00:00
Peter Stephenson
f6f8152f4b 24542: fix RC_QUOTES completion if opening quote not at start of string 2008-02-09 17:32:42 +00:00
Peter Stephenson
91b9f3d786 23900: Better handling of NO_EQUALS in old completion 2007-10-03 16:18:38 +00:00
Peter Stephenson
e0a3e74b15 23809: expand $'...' in completion word 2007-08-30 21:46:01 +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
299b238297 23246: fix completions of redirections that occur before the command word 2007-03-28 21:33:16 +00:00
Peter Stephenson
bd6baa2ede 23172: typo displaying multiline explanation strings 2007-02-13 21:54:41 +00:00
Wayne Davison
9abddc0ccf Fixed the error checking of mbrtowc() since its return vlaue can never
be < 0 -- it returns MB_INVALID, (size_t)-1, which is a positive value.
2007-01-26 19:11:48 +00:00
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Peter Stephenson
1cac90759a 23036: three more fixes for completion using $'...' 2006-12-08 18:52:04 +00:00
Peter Stephenson
34381548da Incomplete improvements for $'...' in completion 2006-12-03 21:07:17 +00:00
Peter Stephenson
d94e67d6fd 22950: fix reverse-menu-complete as start of completion 2006-11-02 16:26:23 +00:00
Peter Stephenson
048ac23985 22911: use QT_BACKSLASH if instring is QT_NONE 2006-10-25 18:01:41 +00:00
Peter Stephenson
289b14113b 22819: improved internal use of string quotation,
plus completion bug fix with RCQUOTES
2006-10-05 21:53:26 +00:00
Peter Stephenson
0d4a9f65f7 22713: word end in math completion context was screwy 2006-09-15 15:38:36 +00:00
Peter Stephenson
754503c60d 22651: failed to unmetafy bytes for output 2006-08-20 22:28:17 +00:00
Peter Stephenson
f29b8450e7 22643: completing in math context 2006-08-20 18:07:49 +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
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
48d6402e65 rationalise mb<->wc conversions to use restartable form 2006-08-03 15:37:49 +00:00
Peter Stephenson
bb912594b2 22575: multibyte fixes for bslashquote(), getzlequery() 2006-08-01 21:28:04 +00:00
Peter Stephenson
4a67f24798 22544: Improve use of ztype tests for multibyte characters. Add
POSIX_IDENTIFIERS option to control allowability of multibyte
alphanumeric characters in parameter and module names.
2006-07-10 13:08:22 +00:00
Peter Stephenson
dd5602f59b 22474: use variable argument lists to improve error message handling 2006-05-30 22:35:03 +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
f8e97151de Call makecommaspecial() when we notice we're completing inside
an open brace list.
2006-02-13 11:01:04 +00:00
Wayne Davison
f6fefb2db3 - Use "mbs" for the multi-byte state variable name (for consistency).
- Use the new MB_INVALID and MB_INCOMPLETE defines for the size_t
  -1 and -2 values (respectively).
2006-01-12 00:51:53 +00:00
Wayne Davison
c6798bc151 The return value of mbrtowc() is a size_t (unsigned), so don't
assign it to an int and then check if it's >= 0, as that won't
work on a system where an int is larger than a size_t.
2006-01-11 19:49:59 +00:00
Wayne Davison
63cf1412f2 Got rid of two unneeded "(char *)" casts. 2005-11-18 17:26:10 +00:00
Wayne Davison
de79438241 Changed zlemetaline into a normal char pointer, not unsigned char.
Got rid of some unsigned-char/char pointer casts.
2005-11-15 08:44:30 +00:00
Peter Stephenson
8a9c9d8078 21971: multibyte version of pfxlen() 2005-11-01 23:10:17 +00:00
Wayne Davison
957b5cf3cd - Changed a couple pointers from "char *" to "unsigned char *" in
order to match the zlemetaline's type.
- A few brace-position twiddles.
2005-11-01 03:26:56 +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
3c37057c34 21871: replace INULL() by inull() 2005-10-13 16:30:13 +00:00