1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-04 20:40:57 +02:00
Commit graph

530 commits

Author SHA1 Message Date
Peter Stephenson
548c4562fe fix tests using zsh/datetime that I broke 2011-08-11 19:32:50 +00:00
Peter Stephenson
d48faef8cd 29633: more care with anonymous and other functions 2011-08-03 18:45:17 +00:00
Peter Stephenson
7d1480af54 29626: arguments to anonymous functions shouldn't be parsed as command words 2011-07-28 09:20:02 +00:00
Peter Stephenson
b12242cb3f 29561: missed file 2011-07-27 19:14:16 +00:00
Peter Stephenson
ad29258c8c 29530: ${...?...} shouldn't cause an error with NO_EXEC option 2011-07-01 15:23:01 +00:00
Peter Stephenson
6062529d3f 29492: add argument handling to anonymous functions 2011-06-19 20:12:00 +00:00
Peter Stephenson
22af58bf2b 29451: ${##stuff} removes stuff from the head of $# 2011-06-03 22:03:43 +00:00
Mikael Magnusson
16324d2ff3 29422: fix g:: test failing in some locales 2011-06-03 20:55:40 +00:00
Bart Schaefer
b4ce09f88d 29410: skip autoload persistence test when zsh/example is not available. 2011-05-31 16:01:38 +00:00
Bart Schaefer
7b735f1c56 29367: update tests redirection of stderr. 2011-05-24 15:49:57 +00:00
Mikael Magnusson
0198b8423d 29224: Support negative LEN in ${VAR:OFFSET:LEN} like bash. 2011-05-19 16:24:38 +00:00
Mikael Magnusson
6a29bc80d0 29261: Add g:: flag. 2011-05-19 16:16:28 +00:00
Peter Stephenson
23a057a4fa unposted (late commit): updates for 4.3.11-dev-3 2011-05-13 11:56:40 +00:00
Peter Stephenson
2e25dfb8fd Rocky Bernstein: 29135 (plus tweaks): compgen -W in bash completion 2011-05-04 08:53:53 +00:00
Bart Schaefer
e349201f9a 29025: Test/A01grammar.ztst: in select test, assert LINES=3 to print list 2011-04-22 06:00:27 +00:00
Peter Stephenson
4263d2b821 28889: ${##} should return the length of $# 2011-03-11 21:05:59 +00:00
Peter Stephenson
7bc97b920b 28866: with POSIX_BUILTINS "command" prefix resets specialness 2011-03-06 21:37:38 +00:00
Peter Stephenson
dbbcbf67cb 28791: exit on errors with special builtins with POSIXBUILTINS 2011-02-22 20:09:20 +00:00
Peter Stephenson
73ebca4fe9 28783: allow parentheses to be special in more places with SH_GLOB 2011-02-21 11:32:47 +00:00
Peter Stephenson
0e792b9447 28784: exit on exec redirection error with POISX_BUILTINS 2011-02-21 11:28:49 +00:00
Peter Stephenson
aa58d139ff Mikael: 28637: ${foo:0:} caused crash 2011-01-18 10:29:58 +00:00
Peter Stephenson
4f9ee790e0 28630: Ricky Zhou: fix crash with isident()
28634: add test
2011-01-16 20:35:29 +00:00
Peter Stephenson
dfc26195c9 28617: NO_EXEC option was doing too much work in
parameter subscripting, parameter assignment, and globbing
2011-01-10 18:24:17 +00:00
Peter Stephenson
a89f0559c2 28590: make read return status non-zero on error 2011-01-07 10:05:35 +00:00
Peter Stephenson
020e116c54 28588: fix textual display after =~ test 2011-01-06 20:28:50 +00:00
Bart Schaefer
87d6527628 28578: fix handling of numeric escapes that expand to "%" in printf
format strings, so they are not treated as format introducers.
2011-01-06 16:49:25 +00:00
Bart Schaefer
bc1a12f91e users/15662: array slice assignment with one index positive and one negative. 2010-12-21 16:54:30 +00:00
Peter Stephenson
d3ec328926 users/15663: some incomplete array assignment tests 2010-12-21 11:00:14 +00:00
Peter Stephenson
c8d07027c8 28537: fix word splitting on "((" when it was nested subshells rather than
arithmetic
2010-12-19 17:42:09 +00:00
Bart Schaefer
66152e8ada 28530: replace (z+opts+) flag with (Z:opts:), add reserved (_🎏). 2010-12-15 04:05:50 +00:00
Peter Stephenson
eab4f9a83c 28528: Rearrange zleparse to lexflags
Add (z+n+)
2010-12-14 09:59:04 +00:00
Peter Stephenson
5858e79f4d 28526: remove bogus newline with stripped comment zplitting 2010-12-13 11:20:46 +00:00
Peter Stephenson
0a5702457b 28510: add (z+c+) and (z+C+) parameter flags 2010-12-12 22:44:50 +00:00
Peter Stephenson
25b12c5d11 28474, 28478: extended {START..END..STEP} syntax 2010-12-05 21:07:48 +00:00
Peter Stephenson
cee3f34378 28476: new set of tests for brace expansion 2010-12-05 18:34:46 +00:00
Peter Stephenson
0f1fd5b91f 28475: test that starting background job resets status 2010-12-05 18:33:07 +00:00
Peter Stephenson
fc6c76519b 28434: make ${NAME:OFFSET} always use zero-offset 2010-11-25 10:34:32 +00:00
Peter Stephenson
cc9bc2dd0b 28424: new POSIX_STRINGS option 2010-11-22 11:42:47 +00:00
Peter Stephenson
8f20b2361c 28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:
KSH_ARRAY ${*:0:1} gives $0, etc.
2010-11-18 13:57:18 +00:00
Peter Stephenson
23bdfc7fd2 28418: add ${NAME:OFFSET:LENGTH} substitution 2010-11-18 10:07:55 +00:00
Peter Stephenson
3f3d80c394 28360: NO_UNSET option should check parameters with trailing options 2010-10-22 16:32:36 +00:00
Peter Stephenson
af5a85f363 28339: backslash-newline history without HIST_LEX_WORDS
28340: assignment to range of scalar variable with multibyte characters
2010-10-10 17:51:29 +00:00
pdpennock
d234059b1c 28338: keep =~ from inverting sense of subsequent tests (after &&/||) 2010-10-10 00:05:24 +00:00
Peter Stephenson
8aac69241f 28319: (z) splitting oddities 2010-10-06 08:27:09 +00:00
Peter Stephenson
f1495f5099 28259: Finally fix some ancient problems with here-documents 2010-09-14 14:46:26 +00:00
Peter Stephenson
ade705cf5b 28253: document -h argument to atribute commands 2010-09-12 18:56:40 +00:00
Peter Stephenson
8bc64084a4 28220 plus some comments: fix "HELLO=$HELLO shellfunc" 2010-08-31 19:32:56 +00:00
Peter Stephenson
e6f14352d6 28037: improved error messages for module autoloads
of math functions and builtins
2010-06-14 11:57:08 +00:00
Peter Stephenson
535cc4c875 Alexey: 27999: fix error message 2010-06-07 17:00:03 +00:00
Peter Stephenson
9ecfa0842b unposted: fix typo in previous commit 2010-05-12 10:17:58 +00:00
Peter Stephenson
cb8ddf171e c.f. 27950: strip bogus whitespace from tests 2010-05-10 12:31:49 +00:00
Peter Stephenson
a6ea7ab36d 27947: some cases where we should execute EXIT traps 2010-05-05 09:49:39 +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
691be6d0fc unposted: change new test in A02alias.ztst to use cat 2010-03-25 15:13:35 +00:00
Peter Stephenson
e71df91bd2 27827: fix infinite loop in recursive alias at end of parsed string 2010-03-25 14:03:40 +00:00
Peter Stephenson
db65bef413 unposted: fix new test in A01grammar.ztst 2010-03-18 16:30:50 +00:00
Peter Stephenson
53745d8df0 27793 and follow ups: add PATH_SCRIPT option to find script using $PATH 2010-03-16 09:43:51 +00:00
Peter Stephenson
ec3f3e9eec 27780: effect of backslashes in :s changed in _files 2010-03-15 10:15:51 +00:00
Peter Stephenson
21193d7f01 users/14905 + 14906: problems with :s in parameter expansion 2010-02-27 00:18:13 +00:00
Peter Stephenson
ed5d053514 27722: bad error reporting and checking in conditions 2010-02-19 12:45:35 +00:00
Peter Stephenson
bbc88550db 27723: eval shouldn't modify non-zero return statuses 2010-02-19 12:26:08 +00:00
Peter Stephenson
f4f0becb63 27694: add P glob qualifier for prepending 2010-02-09 17:47:02 +00:00
Peter Stephenson
f02778f83c 27611: cache parameter values in math eval so subscripts are eval'd once 2010-01-20 17:17:45 +00:00
Peter Stephenson
af68ff74cd 27608: fix memory for mbegin, mend & regexp test 2010-01-20 11:16:22 +00:00
Peter Stephenson
8890e6e19f 27600: extend =~ syntax to set positional variables for matches 2010-01-17 21:48:25 +00:00
Peter Stephenson
1acf23db3e 27243: reverse indexing of arrays with beginning index out of range returned
wrong value
2009-09-05 19:49:19 +00:00
Peter Stephenson
72f0b14a04 27188: improve read -q by using read -k code 2009-07-24 18:35:49 +00:00
Peter Stephenson
bdfebe3e32 27129: fix status at start of function, command subst, etc. 2009-07-11 16:42:53 +00:00
Peter Stephenson
4db28c55b6 27126: a few more contexts where executing empty lists gives status zero 2009-07-10 22:10:25 +00:00
Peter Stephenson
73be7ee553 27106: reset status on command that expands to empty
27122: add POSIX_JOBS option
2009-07-10 11:08:39 +00:00
Peter Stephenson
c6a3ccc8d7 27092: missing then-clause for if wasn't an error 2009-07-06 20:44:28 +00:00
Peter Stephenson
5c5a388ed7 27087: change return codes from failed "." 2009-07-02 13:46:36 +00:00
Peter Stephenson
041057687f 27083: non-zero status on failures to find or execute file in "." 2009-07-01 15:07:25 +00:00
Peter Stephenson
72529e4fa6 27304: add ${(q-)..} flag 2009-06-05 11:15:48 +00:00
Peter Stephenson
49db32f2b5 Paul Ackersviller: 26959: delay before removing test modules
users/14118: fix test and assignment in prompt_special_chars
2009-05-13 08:39:47 +00:00
Peter Stephenson
ff0b4ebdd5 26950: warn on failed attempt to change user or group ID
26593: print warning but dont fail test if simple Unicode conversion fails
2009-05-08 14:30:31 +00:00
Peter Stephenson
a6ff95d0c1 26954: read should pass through invalid multibyte characters 2009-05-07 16:04:21 +00:00
Peter Stephenson
d853f4cd12 26895: restrict multibyte sorting test to western European charcters 2009-04-30 08:37:12 +00:00
Peter Stephenson
f91d89ccf8 Paul Ackersviller: 26883: naming of UTF8 locales on HPUX 2009-04-26 19:43:24 +00:00
Peter Stephenson
7293813b4e unposted: some .distfiles 2009-04-24 09:11:58 +00:00
Peter Stephenson
74eaa20404 26858: use zsh instead of sh in exec -l test 2009-04-21 10:37:36 +00:00
Peter Stephenson
28a809886d 26763: fix problem on failed cd -s to relative path 2009-03-20 22:52:56 +00:00
Peter Stephenson
e391f09457 26705: multibyte characters with Meta in ${(%)foo} etc. 2009-03-10 11:12:02 +00:00
Peter Stephenson
8e25f4449f 26675: add POSIX_ALIASES option 2009-03-03 17:26:03 +00:00
Peter Stephenson
a85db68271 26622: improve comments within $(...) and add test 2009-02-27 10:23:58 +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
51a646917a 26545: new "emulate" test 2009-02-10 20:29:49 +00:00
Peter Stephenson
e7c9e03c58 26301: make zpty -r exit more cleanly on bad reads
add option -m to make zpty -r return status 1 if pattern failed to match
use this option in comptest
2009-01-13 12:09:26 +00:00
Geoff Wing
78d1f82e30 clean up test temporary files 2008-12-29 04:24:36 +00:00
Peter Stephenson
baa1145609 26090: another cond test for Cygwin needs removing 2008-11-26 10:50:07 +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
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
626286a5f7 26029: test for redirection with no preceding whitespace 2008-11-12 10:55:18 +00:00
Peter Stephenson
60b410fd7c "typeset -g <var>" should be silent even without TYPESET_SILENT 2008-11-05 13:01:56 +00:00
Peter Stephenson
2a4c8c27c6 26006: remove dependence on system error message 2008-11-04 09:51:21 +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
2f50e20d84 25931: Test for prompt code reentrancy
users/13400: clarify some ksh-like editing issues
2008-10-24 16:00:48 +00:00
Peter Stephenson
96a1f68875 25911: see if we can work around multibyte problems in file system 2008-10-18 16:03:17 +00:00
Peter Stephenson
52fba13e9b Rocky: 25907: Makefile needs .exe to run zsh on Cygwin 2008-10-17 08:31:22 +00:00