about summary refs log tree commit diff
path: root/Test/D04parameter.ztst
Commit message (Collapse)AuthorAgeFilesLines
* 45900: Fix issues with escaped newline in $-substitution.Peter Stephenson2020-05-231-3/+21
|
* 45862: Add test cases for 45843#1 and 45843#2, adapted from Aaron Esau and pws.Daniel Shahaf2020-05-201-0/+10
|
* unposted: Add tests for previous commitMikael Magnusson2020-05-121-1/+7
|
* 45269: Fix misspellings in completions and elsewhere.Jens Schleusener2020-01-091-1/+1
|
* 45181: Fix workers/45164: ${(S)%%} will now consider the empty string as a ↵Daniel Shahaf2020-01-021-1/+1
| | | | potential match.
* unposted: Add some tests for ${(S)}, including a regression test for ↵Daniel Shahaf2020-01-011-0/+25
| | | | workers/45164.
* users/24582 + users/24583: Add regression tests for the previous commit.Daniel Shahaf2019-12-311-0/+68
|
* 45001: Fix zero-length matches with ${...%...}Peter Stephenson2019-12-121-0/+23
| | | | As the shortest match is preferred, zero-length matches beat any other.
* 44664: Fix problem with temporary assignment.Peter Stephenson2019-08-141-0/+12
| | | | | "foo=bar builtin" inside a function lost any variable from enclosing scope.
* 44435: Handling digita arguments for :h and :t.Peter Stephenson2019-06-201-0/+77
| | | | | | | Pick number of leading or trailing path components to substitute. Active in history, brace parameters, glob qualifiers. Add tests for all three environments.
* unposted: test for 43938Peter Stephenson2018-12-301-0/+8
|
* 43837 plus test from Daniel: Empty string in nested subst.Peter Stephenson2018-11-211-0/+7
| | | | Skip Nularg or there is a bogus character at the start.
* 43264: fix ${+assoc[nonexistent]} with KSH_ARRAYSPeter Stephenson2018-08-091-0/+8
|
* 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES ↵Barton E. Schaefer2017-10-171-0/+21
| | | | | | is set Tests for 41902 and 41873
* 41773: Array index assignment tests for KSH_ARRAYSPeter Stephenson2017-09-281-1/+66
|
* 41764 (test tweaked): allow [key]+=value when modifying arraysPeter Stephenson2017-09-271-0/+34
|
* Updates for ksh array element syntax.Peter Stephenson2017-09-241-0/+27
| | | | | | | | Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on.
* First go at var=([key]=value) syntax.Peter Stephenson2017-09-131-0/+68
| | | | | | | Works for both normal and typeset case, also var+=... Still to do: allow to be mixed with straight array assignment, improve typeset -p, implement [key]+=value.
* 41661: Need to remove tokens before using bufferwords() for (z)Peter Stephenson2017-09-101-0/+7
|
* 22760: fix partial string length reports with NO_MULTIBYTEPeter Stephenson2017-07-021-0/+20
|
* 40909: Stress test for parameter substitutionSebastian Gniazdowski2017-03-301-0/+12
|
* 40891: fix more zero-length matches.Peter Stephenson2017-03-231-0/+10
| | | | This time at the end of the trial string.
* 22601: Fix for parameter substitution pattern matches.Peter Stephenson2017-03-231-0/+10
| | | | | It was not possible to math against a zero-length string in some cases.
* 40803, 40804, 40805, 40806: Parameter test additions.Peter Stephenson2017-03-091-1/+13
| | | | | | Potentially dodgy string for ${(z)...} splitting from Sebastian. Check that $- and ${-} produce plausible results.
* 40565 (tweaked): test cases for assigning array to scalar with various ↵Barton E. Schaefer2017-02-201-0/+80
| | | | combinations of SHWORDSPLIT and IFS
* 40088: atttempt to make interactive param test more robustPeter Stephenson2016-12-041-3/+4
|
* unposted: regression test for 40071Barton E. Schaefer2016-12-031-0/+6
|
* 39947: Additional test for array subscripts.Peter Stephenson2016-11-151-0/+8
| | | | | This checks out-of-range multiple subscripts with and without the (@) flag.
* 39815: Read input to end on parse error in $(...) inside a string.Peter Stephenson2016-11-031-0/+8
| | | | | This allows ${(z)} to output the whole string, although we can't do word splitting from the error onwards.
* zsh-users/21903: Fix ${...?...} in interactive shell.Peter Stephenson2016-09-141-0/+14
| | | | | On failure should abort back to top level, but we reset the error flag around commands. Add a hard error flag that's only reset at top level.
* unposted: Add tests for ${(q)} being aware of the EQUALS option.Daniel Shahaf2016-09-091-0/+4
|
* 39141: Use zsh instead of sh in SHLVL test.Peter Stephenson2016-08-311-12/+14
| | | | | This removes ambiguous behaviour of sh which may or may not increment SHLVL.
* 39125: More care needed decrementing SHLVL on exec.Stephane Chazelas2016-08-311-0/+18
| | | | Not needed in subshell.
* 39115: repair forced joining when (@) and (j) are used togetherBarton E. Schaefer2016-08-291-0/+9
|
* 39035: ${(A)name=word} should expand as an array even when there is only one ↵Barton E. Schaefer2016-08-121-0/+5
| | | | element.
* 39028: more join/split cases fixed and tested.Barton E. Schaefer2016-08-121-2/+8
|
* 39019 (cf. PWS 39013): add test cases for more join/split combinationsBarton E. Schaefer2016-08-111-0/+55
| | | | Accidentally omitted from previous commit.
* 37752: More tests for the previous patch.Daniel Shahaf2016-01-291-0/+18
|
* 37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax.Daniel Shahaf2016-01-291-0/+16
|
* 37705: don't turn - to Dash after start of brace parameterPeter Stephenson2016-01-201-0/+6
|
* 37348: Tests and fix for ${(q+)...}.Peter Stephenson2015-12-081-0/+14
| | | | Needs dupstring() for empty string case.
* 37344: restore old printable quoting, add ${(q+)...}.Peter Stephenson2015-12-071-1/+1
| | | | | | The \C- form is only used inside quotedzputs(). ${(q+)...} outputs a quotedzputs() representation.
* 37335: fix tests after 34314Peter Stephenson2015-12-071-2/+2
|
* 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
|