summaryrefslogtreecommitdiff
path: root/Test/D04parameter.ztst
AgeCommit message (Collapse)AuthorFilesLines
2016-08-1239028: more join/split cases fixed and tested.Barton E. Schaefer1-2/+8
2016-08-1139019 (cf. PWS 39013): add test cases for more join/split combinationsBarton E. Schaefer1-0/+55
Accidentally omitted from previous commit.
2016-01-2937752: More tests for the previous patch.Daniel Shahaf1-0/+18
2016-01-2937700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax.Daniel Shahaf1-0/+16
2016-01-2037705: don't turn - to Dash after start of brace parameterPeter Stephenson1-0/+6
2015-12-0837348: Tests and fix for ${(q+)...}.Peter Stephenson1-0/+14
Needs dupstring() for empty string case.
2015-12-0737344: restore old printable quoting, add ${(q+)...}.Peter Stephenson1-1/+1
The \C- form is only used inside quotedzputs(). ${(q+)...} outputs a quotedzputs() representation.
2015-12-0737335: fix tests after 34314Peter Stephenson1-2/+2
2015-11-2020974: Bug with scalar assignment to special array in typesetPeter Stephenson1-0/+19
2015-11-1237096: Another $${(P)...} tweak.Peter Stephenson1-1/+1
Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...}
2015-11-1137094: Further tweaks to parameter name references.Peter Stephenson1-0/+49
Safety in array test. Make nested references work. Add parameter tests.
2015-11-0737074: extend previous fix to over whitespace at endPeter Stephenson1-32/+32
2015-11-0637073: another SH_WORD_SPLIT problem.Peter Stephenson1-0/+54
In cases like x${:- y} the space was simply removed instead of being used for splitting.
2015-10-2736982: Fix bug with (#cN) patterns and remove redundant description.Peter Stephenson1-0/+9
We need to restore the current count of matches when returning to match at the point where we previously matched.
2015-09-28unposted: Test for 36669Daniel Shahaf1-0/+6
2015-09-1736552 plus test: fix Nularg string in quotestring(QT_DOLLARS)Barton E. Schaefer1-0/+4
2015-08-09Fix retying variables in opposite order.Peter Stephenson1-0/+5
Now gives an error. Add test.
2015-07-0635694: fix handling of history modifiers applied across all elements of an ↵Barton E. Schaefer1-0/+9
array parameter value
2015-05-3135343: Avoid $#name length handling for POSIX_IDENTIFIERSPeter Stephenson1-3/+6
2015-05-2935326: $#- was misparsed as ${#-}Peter Stephenson1-0/+5
2015-05-1135078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson1-1/+1
2015-05-1035067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson1-0/+4
Doc tweak from Daniel in 35071. Includes test.
2015-02-1334546: further $_ with anon function fix.Peter Stephenson1-0/+29
Also add tests.
2015-01-1834322: bug with interface to parsestr() etc.Peter Stephenson1-0/+7
Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy.
2014-12-14unposted: Add missing -f arg to zsh in D04parameter.ztstPeter Stephenson1-2/+2
2014-11-02Treat exec from subshell as if forkedPeter Stephenson1-1/+8
This removes weird behaviour when optimising the last command. In particular SHLVL is correct from a subshell executed as the last command.
2014-10-1333459: test for variable substitution in variable splittingPeter Stephenson1-0/+20
2014-08-0432949 (wip 32928, 32937): Add :^ syntax for zipping two arraysMikael Magnusson1-0/+76
2013-11-1732001: fix crash on ${:*} and ${:|}Peter Stephenson1-0/+9
2013-01-2230993: fix parameter modifier crash with :wq on empty stringPeter Stephenson1-0/+7
2012-05-01users/17046: don't count too many elements when splitting quoted parameterPeter Stephenson1-1/+15
substitution on null parameter
2012-04-2230439: ${...:*...} with nonexistent or non-array after *Peter Stephenson1-0/+5
should return no results
2012-04-2230431 with typo in _typeset fix:Peter Stephenson1-0/+23
add ${...:|...} and ${...:*...} operators, as documented
2012-04-1630413: (q-) parameter flag should quote null stringPeter Stephenson1-0/+7
(q-q) etc. should be treated as errors
2012-04-1030383, users/16991 (Vaclav), users/17000: Improve speed of arrayuniq() byBart Schaefer1-0/+10
implementing a hash seive algorithm; add test to exercise it.
2012-02-2930299: "$*" was split with SHWORDSPLIT if IFS was empty or unsetPeter Stephenson1-0/+10
2012-02-2230242: Tests for ${...=...} in POSIX emulationBart Schaefer1-1/+4
2012-02-1230181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson1-0/+14
Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
2011-08-17users/16253, users/16255: a nulstring should be split like an empty stringPeter Stephenson1-0/+5
2011-06-0329451: ${##stuff} removes stuff from the head of $#Peter Stephenson1-1/+9
2011-06-0329422: fix g:: test failing in some localesMikael Magnusson1-14/+7
2011-05-1929224: Support negative LEN in ${VAR:OFFSET:LEN} like bash.Mikael Magnusson1-0/+14
2011-05-1929261: Add g:: flag.Mikael Magnusson1-0/+20
2011-03-1128889: ${##} should return the length of $#Peter Stephenson1-0/+8
2011-01-18Mikael: 28637: ${foo:0:} caused crashPeter Stephenson1-0/+5
2011-01-1628630: Ricky Zhou: fix crash with isident()Peter Stephenson1-0/+4
28634: add test
2010-12-1928537: fix word splitting on "((" when it was nested subshells rather thanPeter Stephenson1-0/+14
arithmetic
2010-12-1528530: replace (z+opts+) flag with (Z:opts:), add reserved (_:flags:).Bart Schaefer1-4/+4
2010-12-1428528: Rearrange zleparse to lexflagsPeter Stephenson1-0/+11
Add (z+n+)
2010-12-1328526: remove bogus newline with stripped comment zplittingPeter Stephenson1-0/+6