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

108 commits

Author SHA1 Message Date
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Peter Stephenson
aba936b17c 22981: Zvi Har'el: bad call from 22952
22980: add hook array for special functions
2006-11-08 10:38:05 +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
663b9376ad 22562: make ${...#...} etc. understand multibyte characters 2006-07-30 18:00:37 +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
Clint Adams
a915138852 22284: add --disable-dynamic-nss configure switch to disable use of getpw*(), getgr*(), initgroups() functions. 2006-02-19 19:36:31 +00:00
Peter Stephenson
b5a83cc754 users/9788: add (oN) glob qualifier for no sorting
22076: more documentation for multibyte handling
2005-12-15 10:38:55 +00:00
Peter Stephenson
3c37057c34 21871: replace INULL() by inull() 2005-10-13 16:30:13 +00:00
Peter Stephenson
cca66ab341 21862/21863: GLOB_SUBST shouldn't swallow up backslashes in parameter
substitutions that don't match anything.
2005-10-11 16:48:05 +00:00
Peter Stephenson
d551b0f483 21661: fix glob bug introduced in 21655 2005-08-18 10:17:47 +00:00
Peter Stephenson
b0ca393c47 21655: bug in ${..//../${..//../..}} 2005-08-17 23:45:31 +00:00
Wayne Davison
ed370a901a 21609: fixed a readlink() call in statfullpath(). 2005-08-15 16:04:32 +00:00
Peter Stephenson
15d4118cb9 21557: Thorsten Dahlheimer: BRACE_CCL fix 2005-08-02 09:23:38 +00:00
Oliver Kiddle
6245d3e32f 21317: fix bug where recursive glob within e qualifier would hang the shell 2005-06-21 08:58:43 +00:00
Bart Schaefer
813cb26e40 21174 adjustments to 21170 2005-04-24 18:38:38 +00:00
Peter Stephenson
5733e942f5 Optimise length calculations for ${...//.../...} 2005-04-24 00:38:07 +00:00
Peter Stephenson
51ec0b8079 20983: failed glob from fixed strings segments in globbed paths 2005-03-16 11:50:50 +00:00
Peter Stephenson
a92d2d84c0 20661: *(+func) = *(e:func:) 2005-01-10 17:31:07 +00:00
Peter Stephenson
c8e70ab5cf 20522: must-match optimisation in parameter substitution broken 2004-10-26 17:20:21 +00:00
Peter Stephenson
b115ca307a 20500: Unmetafy patterns where possible and other minor pattern fixes 2004-10-18 11:56:14 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Wayne Davison
88013bb195 Fixed signed/unsigned compiler warning. 2004-05-28 19:05:11 +00:00
Wayne Davison
5bae8f00b8 Minor optimization to qualnonemptydir() when a dir has a subdir. 2004-04-06 17:45:47 +00:00
Peter Stephenson
fda060370f 19717: (F) glob qualifier for full directories 2004-04-01 18:33:05 +00:00
Peter Stephenson
bbc409eefe 19167: fix NUL at start of BRACE_CCL range. 2003-10-06 22:42:35 +00:00
Oliver Kiddle
2e70a25d46 fix bug with f glob qualifier where an empty spec resulted in an infinite loop 2003-08-01 14:14:19 +00:00
Oliver Kiddle
945f54b001 18263: fix saving of glob state so that globs can be used from (e) glob qual 2003-02-20 08:17:38 +00:00
Oliver Kiddle
af0697b705 17503: fix various typos and spelling mistakes in source code comments 2002-08-05 12:35:59 +00:00
Bart Schaefer
cefd2de2e1 Split tokenize() into shtokenize() and zshtokenize()
to improve SH_GLOB handling, particularly in completion
2002-05-06 14:46:11 +00:00
Peter Stephenson
c5ebd0fad0 16942: Allow zero-length matches in parameter substitutions. 2002-04-08 17:54:21 +00:00
Oliver Kiddle
73a4362713 16620, 16697: add a and n parameter expansion flags 2002-02-22 17:28:04 +00:00
Peter Stephenson
803131605b 16487: Src/glob.c: bug in 16486 when a qualifier in a set
consisted only of flags which were handled globally.
2002-01-22 13:52:29 +00:00
Peter Stephenson
13b57311de 16486: Doc/Zsh/expn.yo, Src/glob.c, Src/pattern.c: support
(#q...) EXTENDED_GLOB syntax for qualifiers.  May be chained,
ignored by pattern matching code.
2002-01-22 12:40:25 +00:00
Peter Stephenson
cc0d931682 15931: EXIT traps from exit in subshell; 15965: glob -> zglob 2001-10-08 08:13:11 +00:00
Peter Stephenson
003ec8c7e8 15327: always use local LINENOs in parse_string(). 2001-07-09 16:05:13 +00:00
Peter Stephenson
4a8b8bd752 15277: Src/glob.c: real backreferencing bug with ${(S)...%%...} 2001-07-06 09:23:55 +00:00
Peter Stephenson
40e17d980f back out 15266 2001-07-06 09:03:46 +00:00
Peter Stephenson
55d4ee8c6d 15266: fix for ${(S)...%%...} 2001-07-05 23:53:05 +00:00
Peter Stephenson
b6a44fae76 Back off 14140 (tokenize comma) 2001-05-09 09:00:19 +00:00
Peter Stephenson
6a0c6b1b27 Make X{$~foo}Y where $foo contains commas behave as expected 2001-05-02 09:53:32 +00:00
Bart Schaefer
e2e9121893 Subscripting optimization and error checking. 2001-04-24 05:45:16 +00:00
Sven Wischnowsky
757168e2c8 remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them (13365) 2001-01-16 13:44:18 +00:00
Peter Stephenson
0c96a1b963 Joel Smith: 13230: avoid name clashes with Linux kernel 2000-12-05 10:34:23 +00:00
Bart Schaefer
5ca1864f94 Change some zerr to zwarn for consistency. 2000-10-02 18:40:35 +00:00
Bart Schaefer
fcaa17f396 Improve upon some of the PATH_MAX changes. 2000-09-18 06:50:54 +00:00
Sven Wischnowsky
55b07cb525 quoting 2000-08-03 13:35:43 +00:00
Wayne Davison
192dc1228a Fixed glob array indexing. 2000-06-02 10:09:13 +00:00
Wayne Davison
91d5f73434 Changed the array "len" to be "end" -- a 1-relative index of the last
item (or you can think of it as pointing one past the last item).
2000-06-02 01:54:16 +00:00
Peter Stephenson
7bf294f2b8 Wayne: pattern.c unitialised var
Zero-length arrays now possible with $array[1,0]
2000-05-31 08:56:23 +00:00
Peter Stephenson
184ea22946 11410: make tokenize() tokenize =, so $~foo allows =cmd expansion 2000-05-16 13:41:50 +00:00
Oliver Kiddle
ddd8614e51 AIX dependency fixes 2000-04-30 17:58:35 +00:00
Peter Stephenson
2295c59fcb 10756: fix (#s) and (#e) for parameter substitution forms 2000-04-14 11:49:31 +00:00
Clint Adams
18870148c5 10564: typo in _wanted
10565: maximum function depth configure option
10566: patgetglobflags has a second argument now
2000-04-07 02:27:44 +00:00
Peter Stephenson
3acc9f80ef Patches 10513, 10516 (Alexandre), 10519 (Oliver), 10524 2000-04-05 19:28:07 +00:00
Tanaka Akira
e74702b467 Initial revision 1999-04-15 18:05:38 +00:00