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

291 commits

Author SHA1 Message Date
Peter Stephenson
7bb711a3d6 23278: fix NUMERICGLOBSORT, broken by multibyte fixes 2007-04-15 21:42:42 +00:00
Peter Stephenson
05ff4fb3ab 23273: fix bad patterns in reverse array subscripting 2007-04-13 11:54:16 +00:00
Peter Stephenson
2c92d005d7 23165: fix problems with bases: error if over 36 and don't interpret octal 2007-02-12 16:43:40 +00:00
Peter Stephenson
0a532a8f7f fix metafication of ${(#)x} 2007-02-10 22:12:58 +00:00
Peter Stephenson
2b948e6c37 23138: further tweak to backslashes in $'...' 2007-01-27 23:52:13 +00:00
Peter Stephenson
df54eeed2c 23136: handle Bnulls now added in $'...' 2007-01-27 19:01:11 +00:00
Peter Stephenson
3be13f0b14 23131: new tests for command substitution 2007-01-24 10:19:49 +00:00
Peter Stephenson
e375d5ee88 23119: lower case in sorting properly 2007-01-22 14:35:12 +00:00
Peter Stephenson
553e011320 23118: improve sorting to make it work with locales 2007-01-21 22:47:36 +00:00
Peter Stephenson
de272e0309 23115: ";|" at end of case clause causes later patterns to be tested 2007-01-19 21:36:00 +00:00
Peter Stephenson
b4a7ad8269 23101: various combinations of ZERR with function returns were feature-ridden 2007-01-12 23:10:15 +00:00
Peter Stephenson
de815e3d22 23098: printf multibyte character widths 2007-01-09 21:45:45 +00:00
Peter Stephenson
cfbcd2dbe0 23086: printf should handle octal escapes in the \0NNN form 2007-01-04 15:41:21 +00:00
Peter Stephenson
3778f5a3ba 23070: Fix [[ -N file ]] test failure on NFS 2006-12-19 12:09:46 +00:00
Peter Stephenson
ab8b8026dc 23022: don't allow WORDCHARS to be exported to tests 2006-11-28 22:09:00 +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
Andrey Borzenkov
daed9601f7 revert 22758 and add LC_NUMERIC and LC_MESSAGES
to test harness instead
2006-09-23 06:55:29 +00:00
Andrey Borzenkov
4e576c069c 22758: fix tests by setting locale to C 2006-09-22 19:34:05 +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
Peter Stephenson
b262d310b2 22686: unset array if assigning numeric parameter 2006-09-11 11:09:15 +00:00
Peter Stephenson
1e7c19eca3 22572: use of (#m) was broken with pure strings 2006-08-01 17:16:43 +00:00
Peter Stephenson
663b9376ad 22562: make ${...#...} etc. understand multibyte characters 2006-07-30 18:00:37 +00:00
Peter Stephenson
09bc7ee2b5 22557: turn on multibyte option by default 2006-07-25 18:10:37 +00:00
Peter Stephenson
50e9ab122b 22556: Multibyte separators and delimiters 2006-07-24 22:00:19 +00:00
Peter Stephenson
732e440159 unposted: update .distfiles 2006-07-18 09:25:50 +00:00
Peter Stephenson
3d3318d8f6 22550: put "exec" tests
in subshells and allow substitution on test output to occur
after the test.
2006-07-12 12:02:51 +00:00
Peter Stephenson
0a22eb0e0c 22546: fix {myfd}>... bug and tweak tests 2006-07-11 15:36: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
4cd7b957f3 22529: multibyte conversion in math expressions 2006-06-30 09:41:34 +00:00
Peter Stephenson
6157c14d06 22525: lengths and cases of multibyte strings in parameters and history 2006-06-28 13:12:55 +00:00
Peter Stephenson
f95a6a913c 22524: searchable parameter subscripts with multibyte chars,
a few other fixes
2006-06-27 16:28:45 +00:00
Peter Stephenson
fbd93a2a82 22519: initial multibyte parameter tests 2006-06-26 22:01:22 +00:00
Peter Stephenson
05bd0b2dd1 22518: Initial go at making parameter subscripts
use multibyte characters.
2006-06-26 18:17:31 +00:00
Peter Stephenson
b7474e065b 22416, tweaked: math functions via shell functions
unposted: add styles to pick-web-browser
2006-04-19 16:09:06 +00:00
Peter Stephenson
862c974d7c 22277: missed bit 2006-03-03 22:09:58 +00:00
Wayne Davison
fd679250cc Make sure that the (A) assignment of a single-item array retains
its arrayness.  Also ensure that the array/scalar type of each
assigned variable is correct.
2006-02-17 18:29:57 +00:00
Wayne Davison
64aae150a0 Test that ${(A)=name:=word} avoids splitting on quoted whitespace. 2006-02-16 19:53:00 +00:00
Wayne Davison
a3a1e8765a Added a test for ${name+$array$scalar}. 2006-02-15 18:38:58 +00:00
Wayne Davison
e22cb51922 - Some changes to handle ${1+"$@"} being fixed.
- Added quite a few new tests.
2006-02-15 10:13:43 +00:00
Peter Stephenson
4ca967e200 21882: extend prompt truncation to handle multibyte characters 2005-10-19 08:39:02 +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
ad2bd42c85 21758: optimise =(<<<...) to run within the shell. 2005-09-23 17:03:16 +00:00
Peter Stephenson
f2d873d811 21701: Negative subscripts of scalars before start were broken 2005-09-06 15:28:17 +00:00
Peter Stephenson
635b405c55 21678: Unsetting tied parameters caused various crashes 2005-08-22 11:43:36 +00:00
Peter Stephenson
b0ca393c47 21655: bug in ${..//../${..//../..}} 2005-08-17 23:45:31 +00:00
Wayne Davison
5aa648a5f2 Third time's a charm: a better fix than using either a subshell or
"setopt localoptions" is to use a function for the final test (since
it destroys all the variables in the environment).  This allows us to
directly test that the environment was properly restored after the
function call, and ensures that the caller (ZTST_execchunk, which
directly exec'ed the test code) still has all the vars that it expects
in the environment (such as ZTST_verbose, options, and ZTST_mainopts).
2005-08-11 16:25:10 +00:00