Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-12-12 | 45001: Fix zero-length matches with ${...%...} | Peter Stephenson | 1 | -0/+23 | |
As the shortest match is preferred, zero-length matches beat any other. | |||||
2019-08-14 | 44664: Fix problem with temporary assignment. | Peter Stephenson | 1 | -0/+12 | |
"foo=bar builtin" inside a function lost any variable from enclosing scope. | |||||
2019-06-20 | 44435: Handling digita arguments for :h and :t. | Peter Stephenson | 1 | -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. | |||||
2018-12-30 | unposted: test for 43938 | Peter Stephenson | 1 | -0/+8 | |
2018-11-21 | 43837 plus test from Daniel: Empty string in nested subst. | Peter Stephenson | 1 | -0/+7 | |
Skip Nularg or there is a bogus character at the start. | |||||
2018-08-09 | 43264: fix ${+assoc[nonexistent]} with KSH_ARRAYS | Peter Stephenson | 1 | -0/+8 | |
2017-10-17 | 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES ↵ | Barton E. Schaefer | 1 | -0/+21 | |
is set Tests for 41902 and 41873 | |||||
2017-09-28 | 41773: Array index assignment tests for KSH_ARRAYS | Peter Stephenson | 1 | -1/+66 | |
2017-09-27 | 41764 (test tweaked): allow [key]+=value when modifying arrays | Peter Stephenson | 1 | -0/+34 | |
2017-09-24 | Updates for ksh array element syntax. | Peter Stephenson | 1 | -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. | |||||
2017-09-13 | First go at var=([key]=value) syntax. | Peter Stephenson | 1 | -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. | |||||
2017-09-10 | 41661: Need to remove tokens before using bufferwords() for (z) | Peter Stephenson | 1 | -0/+7 | |
2017-07-02 | 22760: fix partial string length reports with NO_MULTIBYTE | Peter Stephenson | 1 | -0/+20 | |
2017-03-30 | 40909: Stress test for parameter substitution | Sebastian Gniazdowski | 1 | -0/+12 | |
2017-03-23 | 40891: fix more zero-length matches. | Peter Stephenson | 1 | -0/+10 | |
This time at the end of the trial string. | |||||
2017-03-23 | 22601: Fix for parameter substitution pattern matches. | Peter Stephenson | 1 | -0/+10 | |
It was not possible to math against a zero-length string in some cases. | |||||
2017-03-09 | 40803, 40804, 40805, 40806: Parameter test additions. | Peter Stephenson | 1 | -1/+13 | |
Potentially dodgy string for ${(z)...} splitting from Sebastian. Check that $- and ${-} produce plausible results. | |||||
2017-02-20 | 40565 (tweaked): test cases for assigning array to scalar with various ↵ | Barton E. Schaefer | 1 | -0/+80 | |
combinations of SHWORDSPLIT and IFS | |||||
2016-12-04 | 40088: atttempt to make interactive param test more robust | Peter Stephenson | 1 | -3/+4 | |
2016-12-03 | unposted: regression test for 40071 | Barton E. Schaefer | 1 | -0/+6 | |
2016-11-15 | 39947: Additional test for array subscripts. | Peter Stephenson | 1 | -0/+8 | |
This checks out-of-range multiple subscripts with and without the (@) flag. | |||||
2016-11-03 | 39815: Read input to end on parse error in $(...) inside a string. | Peter Stephenson | 1 | -0/+8 | |
This allows ${(z)} to output the whole string, although we can't do word splitting from the error onwards. | |||||
2016-09-14 | zsh-users/21903: Fix ${...?...} in interactive shell. | Peter Stephenson | 1 | -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. | |||||
2016-09-09 | unposted: Add tests for ${(q)} being aware of the EQUALS option. | Daniel Shahaf | 1 | -0/+4 | |
2016-08-31 | 39141: Use zsh instead of sh in SHLVL test. | Peter Stephenson | 1 | -12/+14 | |
This removes ambiguous behaviour of sh which may or may not increment SHLVL. | |||||
2016-08-31 | 39125: More care needed decrementing SHLVL on exec. | Stephane Chazelas | 1 | -0/+18 | |
Not needed in subshell. | |||||
2016-08-29 | 39115: repair forced joining when (@) and (j) are used together | Barton E. Schaefer | 1 | -0/+9 | |
2016-08-12 | 39035: ${(A)name=word} should expand as an array even when there is only one ↵ | Barton E. Schaefer | 1 | -0/+5 | |
element. | |||||
2016-08-12 | 39028: more join/split cases fixed and tested. | Barton E. Schaefer | 1 | -2/+8 | |
2016-08-11 | 39019 (cf. PWS 39013): add test cases for more join/split combinations | Barton E. Schaefer | 1 | -0/+55 | |
Accidentally omitted from previous commit. | |||||
2016-01-29 | 37752: More tests for the previous patch. | Daniel Shahaf | 1 | -0/+18 | |
2016-01-29 | 37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax. | Daniel Shahaf | 1 | -0/+16 | |
2016-01-20 | 37705: don't turn - to Dash after start of brace parameter | Peter Stephenson | 1 | -0/+6 | |
2015-12-08 | 37348: Tests and fix for ${(q+)...}. | Peter Stephenson | 1 | -0/+14 | |
Needs dupstring() for empty string case. | |||||
2015-12-07 | 37344: restore old printable quoting, add ${(q+)...}. | Peter Stephenson | 1 | -1/+1 | |
The \C- form is only used inside quotedzputs(). ${(q+)...} outputs a quotedzputs() representation. | |||||
2015-12-07 | 37335: fix tests after 34314 | Peter Stephenson | 1 | -2/+2 | |
2015-11-20 | 20974: Bug with scalar assignment to special array in typeset | Peter Stephenson | 1 | -0/+19 | |
2015-11-12 | 37096: Another $${(P)...} tweak. | Peter Stephenson | 1 | -1/+1 | |
Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...} | |||||
2015-11-11 | 37094: Further tweaks to parameter name references. | Peter Stephenson | 1 | -0/+49 | |
Safety in array test. Make nested references work. Add parameter tests. | |||||
2015-11-07 | 37074: extend previous fix to over whitespace at end | Peter Stephenson | 1 | -32/+32 | |
2015-11-06 | 37073: another SH_WORD_SPLIT problem. | Peter Stephenson | 1 | -0/+54 | |
In cases like x${:- y} the space was simply removed instead of being used for splitting. | |||||
2015-10-27 | 36982: Fix bug with (#cN) patterns and remove redundant description. | Peter Stephenson | 1 | -0/+9 | |
We need to restore the current count of matches when returning to match at the point where we previously matched. | |||||
2015-09-28 | unposted: Test for 36669 | Daniel Shahaf | 1 | -0/+6 | |
2015-09-17 | 36552 plus test: fix Nularg string in quotestring(QT_DOLLARS) | Barton E. Schaefer | 1 | -0/+4 | |
2015-08-09 | Fix retying variables in opposite order. | Peter Stephenson | 1 | -0/+5 | |
Now gives an error. Add test. | |||||
2015-07-06 | 35694: fix handling of history modifiers applied across all elements of an ↵ | Barton E. Schaefer | 1 | -0/+9 | |
array parameter value | |||||
2015-05-31 | 35343: Avoid $#name length handling for POSIX_IDENTIFIERS | Peter Stephenson | 1 | -3/+6 | |
2015-05-29 | 35326: $#- was misparsed as ${#-} | Peter Stephenson | 1 | -0/+5 | |
2015-05-11 | 35078: Add backslash quoting to parameter (b) flag from 35067. | Peter Stephenson | 1 | -1/+1 | |
2015-05-10 | 35067: Add (b) parameter flag for pattern char backslashing. | Peter Stephenson | 1 | -0/+4 | |
Doc tweak from Daniel in 35071. Includes test. |