1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-07 11:41:16 +02:00
Commit graph

107 commits

Author SHA1 Message Date
Peter Stephenson
377f2bb812 28309: fix infinite loop padding with extra wide characters 2010-10-02 19:55:30 +00:00
Peter Stephenson
64d431d98b 28025: (D) parameter flag 2010-06-11 20:08:01 +00:00
Peter Stephenson
147cedfb6f 27965, 27966: Improve ${(q)...}: newline appears as $'\n;, 2010-05-27 18:57:34 +00:00
Peter Stephenson
11440d17d1 27889: Force more use of GLOB_SUBST in parameters if ~ is used 2010-04-20 21:16:21 +00:00
Peter Stephenson
e2d855f364 27865: fix problem with glob_subst in parameter subsitution 2010-04-09 15:40:13 +00:00
Peter Stephenson
815cc9fc0d rationalise widths of non-printing characters to zero. 2010-03-27 19:04:35 +00:00
Peter Stephenson
21193d7f01 users/14905 + 14906: problems with :s in parameter expansion 2010-02-27 00:18:13 +00:00
Peter Stephenson
4a0ddedf0a unposted: a couple of typeset -g's and a comment 2010-02-08 11:49:28 +00:00
Peter Stephenson
72529e4fa6 27304: add ${(q-)..} flag 2009-06-05 11:15:48 +00:00
Peter Stephenson
feb29659f1 users/14143 plus tweak in padding code:
use default IFS if IFS is unset
2009-05-20 09:04:39 +00:00
Peter Stephenson
3e1e46e9d2 26748: c modifier to add command path 2009-03-23 12:17:32 +00:00
Peter Stephenson
7733ade831 Michael Hwang: 26731 with cosmetic changes: add "a" and "A" modifiers
26736: document the above
2009-03-15 01:17:05 +00:00
Peter Stephenson
e391f09457 26705: multibyte characters with Meta in ${(%)foo} etc. 2009-03-10 11:12:02 +00:00
Peter Stephenson
c7d8b0dfb8 26546, 26556: sticky emulation for functions defined in emulate ... -c ...
environments, plus documentation
2009-02-11 20:42:15 +00:00
Peter Stephenson
14231691e1 26061: fix clash between process subst and numeric glob
26062: additional compmatch change, missed from 26047
2008-11-18 10:07:31 +00:00
Peter Stephenson
2fbc131ca8 26055: ensure process substitution is handled before parameter and command 2008-11-17 16:11:29 +00:00
Peter Stephenson
35a8612f21 26042 with some fixes from 26043 (Mikael):
allow <(...) and >(...) to occur in the middle of strings
and =(...) to have extra text following
2008-11-13 21:18:14 +00:00
Peter Stephenson
25833cc89e 25969: two bugs with metafication plus a test for one 2008-10-30 15:34:18 +00:00
Peter Stephenson
043959b0be 25760: add (~) flag 2008-09-27 20:58:24 +00:00
Peter Stephenson
4a34c96289 25755/25756: Jörg Sommer: improved handling of module arguments
25759: fix dynamic named directory crash, static named directory consistency
2008-09-27 19:57:25 +00:00
Peter Stephenson
b2d08a2155 25744: dynamic named directories and further doshfunc() simplification 2008-09-26 09:11:27 +00:00
Peter Stephenson
1f81bdcb47 25587: fix a==(stuff) and associated stuff. 2008-09-01 20:18:46 +00:00
Peter Stephenson
bd70d684fc 25002: only ZLE should update attributes resulting from prompt expansion 2008-05-12 13:50:42 +00:00
Peter Stephenson
cc026d2339 24788: ${(m)#...} returns string print width 2008-04-03 21:10:54 +00:00
Peter Stephenson
0076d68664 24611: fix ${+array[...]} for empty range 2008-02-27 15:51:26 +00:00
Peter Stephenson
2d03aa87fb 24264: restrict effect of 24234 to parameter substitution code and document 2007-12-16 14:05:14 +00:00
Peter Stephenson
5d5d1bef6e 24234: apply typeset parameter flags consistently 2007-12-13 20:52:52 +00:00
Peter Stephenson
a232ab5624 users/12149: "@" with splitting in double quotes retains empty fields 2007-10-30 14:01:32 +00:00
Peter Stephenson
4d52b7ebe6 23670: rationalise some linked list functions 2007-06-27 13:56:10 +00:00
Peter Stephenson
abae4fe16e 23562: add KSH_ZERO_SUBSCRIPT option and leave off by default 2007-06-18 13:25:03 +00:00
Peter Stephenson
a35302ebd4 23257: buffer too short for multibyte ${(#)...} evalution 2007-04-02 11:00:35 +00:00
Bart Schaefer
3fc59a0f09 23176: apply the (X) parameter flag to the (#) flag; fix comment typo. 2007-02-25 23:41:03 +00:00
Peter Stephenson
0a532a8f7f fix metafication of ${(#)x} 2007-02-10 22:12:58 +00:00
Peter Stephenson
54d692c4b5 23143: make =-expansion with metacharacters more consistent 2007-02-02 21:42:14 +00:00
Wayne Davison
ecaf124c95 Silenced a compiler warning by making an int unsigned. 2007-01-26 19:18:17 +00:00
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Peter Stephenson
481d1b7560 23114: ${foo:s/bar/rod} broken 2007-01-18 17:27:10 +00:00
Peter Stephenson
d8e36bffa2 23052: multibyte characters in typeset -L/R/Z padding 2006-12-13 22:30:37 +00:00
Peter Stephenson
34381548da Incomplete improvements for $'...' in completion 2006-12-03 21:07:17 +00:00
Peter Stephenson
b09a7cc5bf 22997: fix ${...?...} exit and traps 2006-11-11 13:16:10 +00:00
Peter Stephenson
f367a90505 22980: 22952 messed up parameter padding flag optional arguments 2006-11-07 22:47:07 +00:00
Peter Stephenson
d8207acddb 22952: fix some argument delimiters to work with multibyte characters 2006-11-02 18:43:19 +00:00
Peter Stephenson
9471bbcfa0 22934, modified, see 22937: add HIST_SUBST_PATTERN option
make ${.../#%...} anchor at both ends
2006-11-01 12:25:18 +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
8f98285662 22765: rename some MB_ macros to WC_ for consistency. 2006-09-23 20:25:05 +00:00
Andrey Borzenkov
71fa876def 22761: fix compdescrie for multibyte characters 2006-09-23 14:43:57 +00:00
Peter Stephenson
2bfad02a94 22742: parameter padding uses string lengths unless (m) flag set
22743: restrict sh "- [args]" -> "-xv [-- args]" hack to sh mode
2006-09-20 09:22:34 +00:00
Peter Stephenson
bb3628e898 assume width 1 for control characters;
don't crash if width of repeated padding string is 0
2006-09-15 13:17:27 +00:00
Peter Stephenson
a242b1eb35 22705: make ${(l...)...} and ${(r...)...} handle multibyte characters 2006-09-13 20:55:29 +00:00
Peter Stephenson
6371325fdf 22689: untokenize strings used in parameter substitution pattern matching 2006-09-12 09:56:25 +00:00