summary refs log tree commit diff
path: root/Test/D04parameter.ztst
Commit message (Collapse)AuthorAgeFilesLines
* 20974: Bug with scalar assignment to special array in typesetPeter Stephenson2015-11-201-0/+19
|
* 37096: Another $${(P)...} tweak.Peter Stephenson2015-11-121-1/+1
| | | | Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...}
* 37094: Further tweaks to parameter name references.Peter Stephenson2015-11-111-0/+49
| | | | | | | | Safety in array test. Make nested references work. Add parameter tests.
* 37074: extend previous fix to over whitespace at endPeter Stephenson2015-11-071-32/+32
|
* 37073: another SH_WORD_SPLIT problem.Peter Stephenson2015-11-061-0/+54
| | | | | In cases like x${:- y} the space was simply removed instead of being used for splitting.
* 36982: Fix bug with (#cN) patterns and remove redundant description.Peter Stephenson2015-10-271-0/+9
| | | | | We need to restore the current count of matches when returning to match at the point where we previously matched.
* unposted: Test for 36669Daniel Shahaf2015-09-281-0/+6
|
* 36552 plus test: fix Nularg string in quotestring(QT_DOLLARS)Barton E. Schaefer2015-09-171-0/+4
|
* Fix retying variables in opposite order.Peter Stephenson2015-08-091-0/+5
| | | | | Now gives an error. Add test.
* 35694: fix handling of history modifiers applied across all elements of an ↵Barton E. Schaefer2015-07-061-0/+9
| | | | array parameter value
* 35343: Avoid $#name length handling for POSIX_IDENTIFIERSPeter Stephenson2015-05-311-3/+6
|
* 35326: $#- was misparsed as ${#-}Peter Stephenson2015-05-291-0/+5
|
* 35078: Add backslash quoting to parameter (b) flag from 35067.Peter Stephenson2015-05-111-1/+1
|
* 35067: Add (b) parameter flag for pattern char backslashing.Peter Stephenson2015-05-101-0/+4
| | | | | | Doc tweak from Daniel in 35071. Includes test.
* 34546: further $_ with anon function fix.Peter Stephenson2015-02-131-0/+29
| | | | Also add tests.
* 34322: bug with interface to parsestr() etc.Peter Stephenson2015-01-181-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.
* unposted: Add missing -f arg to zsh in D04parameter.ztstPeter Stephenson2014-12-141-2/+2
|
* Treat exec from subshell as if forkedPeter Stephenson2014-11-021-1/+8
| | | | | This removes weird behaviour when optimising the last command. In particular SHLVL is correct from a subshell executed as the last command.
* 33459: test for variable substitution in variable splittingPeter Stephenson2014-10-131-0/+20
|
* 32949 (wip 32928, 32937): Add :^ syntax for zipping two arraysMikael Magnusson2014-08-041-0/+76
|
* 32001: fix crash on ${:*} and ${:|}Peter Stephenson2013-11-171-0/+9
|
* 30993: fix parameter modifier crash with :wq on empty stringPeter Stephenson2013-01-221-0/+7
|
* users/17046: don't count too many elements when splitting quoted parameterPeter Stephenson2012-05-011-1/+15
| | | | substitution on null parameter
* 30439: ${...:*...} with nonexistent or non-array after *Peter Stephenson2012-04-221-0/+5
| | | | should return no results
* 30431 with typo in _typeset fix:Peter Stephenson2012-04-221-0/+23
| | | | add ${...:|...} and ${...:*...} operators, as documented
* 30413: (q-) parameter flag should quote null stringPeter Stephenson2012-04-161-0/+7
| | | | (q-q) etc. should be treated as errors
* 30383, users/16991 (Vaclav), users/17000: Improve speed of arrayuniq() byBart Schaefer2012-04-101-0/+10
| | | | implementing a hash seive algorithm; add test to exercise it.
* 30299: "$*" was split with SHWORDSPLIT if IFS was empty or unsetPeter Stephenson2012-02-291-0/+10
|
* 30242: Tests for ${...=...} in POSIX emulationBart Schaefer2012-02-221-1/+4
|
* 30181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson2012-02-121-0/+14
| | | | | | Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
* users/16253, users/16255: a nulstring should be split like an empty stringPeter Stephenson2011-08-171-0/+5
|
* 29451: ${##stuff} removes stuff from the head of $#Peter Stephenson2011-06-031-1/+9
|
* 29422: fix g:: test failing in some localesMikael Magnusson2011-06-031-14/+7
|
* 29224: Support negative LEN in ${VAR:OFFSET:LEN} like bash.Mikael Magnusson2011-05-191-0/+14
|
* 29261: Add g:: flag.Mikael Magnusson2011-05-191-0/+20
|
* 28889: ${##} should return the length of $#Peter Stephenson2011-03-111-0/+8
|
* Mikael: 28637: ${foo:0:} caused crashPeter Stephenson2011-01-181-0/+5
|
* 28630: Ricky Zhou: fix crash with isident()Peter Stephenson2011-01-161-0/+4
| | | | 28634: add test
* 28537: fix word splitting on "((" when it was nested subshells rather thanPeter Stephenson2010-12-191-0/+14
| | | | arithmetic
* 28530: replace (z+opts+) flag with (Z:opts:), add reserved (_:flags:).Bart Schaefer2010-12-151-4/+4
|
* 28528: Rearrange zleparse to lexflagsPeter Stephenson2010-12-141-0/+11
| | | | Add (z+n+)
* 28526: remove bogus newline with stripped comment zplittingPeter Stephenson2010-12-131-0/+6
|
* 28510: add (z+c+) and (z+C+) parameter flagsPeter Stephenson2010-12-121-0/+39
|
* 28434: make ${NAME:OFFSET} always use zero-offsetPeter Stephenson2010-11-251-7/+7
|
* 28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:Peter Stephenson2010-11-181-0/+29
| | | | KSH_ARRAY ${*:0:1} gives $0, etc.
* 28418: add ${NAME:OFFSET:LENGTH} substitutionPeter Stephenson2010-11-181-0/+46
|
* 28319: (z) splitting odditiesPeter Stephenson2010-10-061-0/+28
|
* unposted: fix typo in previous commitPeter Stephenson2010-05-121-0/+9
|
* 27889: Force more use of GLOB_SUBST in parameters if ~ is usedPeter Stephenson2010-04-201-0/+2
|
* 27865: fix problem with glob_subst in parameter subsitutionPeter Stephenson2010-04-091-0/+10
|