Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 41773: Array index assignment tests for KSH_ARRAYS | Peter Stephenson | 2017-09-28 | 1 | -1/+66 |
| | |||||
* | 41764 (test tweaked): allow [key]+=value when modifying arrays | Peter Stephenson | 2017-09-27 | 1 | -0/+34 |
| | |||||
* | Updates for ksh array element syntax. | Peter Stephenson | 2017-09-24 | 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. | ||||
* | First go at var=([key]=value) syntax. | Peter Stephenson | 2017-09-13 | 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. | ||||
* | 41661: Need to remove tokens before using bufferwords() for (z) | Peter Stephenson | 2017-09-10 | 1 | -0/+7 |
| | |||||
* | 22760: fix partial string length reports with NO_MULTIBYTE | Peter Stephenson | 2017-07-02 | 1 | -0/+20 |
| | |||||
* | 40909: Stress test for parameter substitution | Sebastian Gniazdowski | 2017-03-30 | 1 | -0/+12 |
| | |||||
* | 40891: fix more zero-length matches. | Peter Stephenson | 2017-03-23 | 1 | -0/+10 |
| | | | | This time at the end of the trial string. | ||||
* | 22601: Fix for parameter substitution pattern matches. | Peter Stephenson | 2017-03-23 | 1 | -0/+10 |
| | | | | | It was not possible to math against a zero-length string in some cases. | ||||
* | 40803, 40804, 40805, 40806: Parameter test additions. | Peter Stephenson | 2017-03-09 | 1 | -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. Schaefer | 2017-02-20 | 1 | -0/+80 |
| | | | | combinations of SHWORDSPLIT and IFS | ||||
* | 40088: atttempt to make interactive param test more robust | Peter Stephenson | 2016-12-04 | 1 | -3/+4 |
| | |||||
* | unposted: regression test for 40071 | Barton E. Schaefer | 2016-12-03 | 1 | -0/+6 |
| | |||||
* | 39947: Additional test for array subscripts. | Peter Stephenson | 2016-11-15 | 1 | -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 Stephenson | 2016-11-03 | 1 | -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 Stephenson | 2016-09-14 | 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. | ||||
* | unposted: Add tests for ${(q)} being aware of the EQUALS option. | Daniel Shahaf | 2016-09-09 | 1 | -0/+4 |
| | |||||
* | 39141: Use zsh instead of sh in SHLVL test. | Peter Stephenson | 2016-08-31 | 1 | -12/+14 |
| | | | | | This removes ambiguous behaviour of sh which may or may not increment SHLVL. | ||||
* | 39125: More care needed decrementing SHLVL on exec. | Stephane Chazelas | 2016-08-31 | 1 | -0/+18 |
| | | | | Not needed in subshell. | ||||
* | 39115: repair forced joining when (@) and (j) are used together | Barton E. Schaefer | 2016-08-29 | 1 | -0/+9 |
| | |||||
* | 39035: ${(A)name=word} should expand as an array even when there is only one ↵ | Barton E. Schaefer | 2016-08-12 | 1 | -0/+5 |
| | | | | element. | ||||
* | 39028: more join/split cases fixed and tested. | Barton E. Schaefer | 2016-08-12 | 1 | -2/+8 |
| | |||||
* | 39019 (cf. PWS 39013): add test cases for more join/split combinations | Barton E. Schaefer | 2016-08-11 | 1 | -0/+55 |
| | | | | Accidentally omitted from previous commit. | ||||
* | 37752: More tests for the previous patch. | Daniel Shahaf | 2016-01-29 | 1 | -0/+18 |
| | |||||
* | 37700: Teach ${(z)} the 'repeat WORD SUBLIST' syntax. | Daniel Shahaf | 2016-01-29 | 1 | -0/+16 |
| | |||||
* | 37705: don't turn - to Dash after start of brace parameter | Peter Stephenson | 2016-01-20 | 1 | -0/+6 |
| | |||||
* | 37348: Tests and fix for ${(q+)...}. | Peter Stephenson | 2015-12-08 | 1 | -0/+14 |
| | | | | Needs dupstring() for empty string case. | ||||
* | 37344: restore old printable quoting, add ${(q+)...}. | Peter Stephenson | 2015-12-07 | 1 | -1/+1 |
| | | | | | | The \C- form is only used inside quotedzputs(). ${(q+)...} outputs a quotedzputs() representation. | ||||
* | 37335: fix tests after 34314 | Peter Stephenson | 2015-12-07 | 1 | -2/+2 |
| | |||||
* | 20974: Bug with scalar assignment to special array in typeset | Peter Stephenson | 2015-11-20 | 1 | -0/+19 |
| | |||||
* | 37096: Another $${(P)...} tweak. | Peter Stephenson | 2015-11-12 | 1 | -1/+1 |
| | | | | Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...} | ||||
* | 37094: Further tweaks to parameter name references. | Peter Stephenson | 2015-11-11 | 1 | -0/+49 |
| | | | | | | | | Safety in array test. Make nested references work. Add parameter tests. | ||||
* | 37074: extend previous fix to over whitespace at end | Peter Stephenson | 2015-11-07 | 1 | -32/+32 |
| | |||||
* | 37073: another SH_WORD_SPLIT problem. | Peter Stephenson | 2015-11-06 | 1 | -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 Stephenson | 2015-10-27 | 1 | -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 36669 | Daniel Shahaf | 2015-09-28 | 1 | -0/+6 |
| | |||||
* | 36552 plus test: fix Nularg string in quotestring(QT_DOLLARS) | Barton E. Schaefer | 2015-09-17 | 1 | -0/+4 |
| | |||||
* | Fix retying variables in opposite order. | Peter Stephenson | 2015-08-09 | 1 | -0/+5 |
| | | | | | Now gives an error. Add test. | ||||
* | 35694: fix handling of history modifiers applied across all elements of an ↵ | Barton E. Schaefer | 2015-07-06 | 1 | -0/+9 |
| | | | | array parameter value | ||||
* | 35343: Avoid $#name length handling for POSIX_IDENTIFIERS | Peter Stephenson | 2015-05-31 | 1 | -3/+6 |
| | |||||
* | 35326: $#- was misparsed as ${#-} | Peter Stephenson | 2015-05-29 | 1 | -0/+5 |
| | |||||
* | 35078: Add backslash quoting to parameter (b) flag from 35067. | Peter Stephenson | 2015-05-11 | 1 | -1/+1 |
| | |||||
* | 35067: Add (b) parameter flag for pattern char backslashing. | Peter Stephenson | 2015-05-10 | 1 | -0/+4 |
| | | | | | | Doc tweak from Daniel in 35071. Includes test. | ||||
* | 34546: further $_ with anon function fix. | Peter Stephenson | 2015-02-13 | 1 | -0/+29 |
| | | | | Also add tests. | ||||
* | 34322: bug with interface to parsestr() etc. | Peter Stephenson | 2015-01-18 | 1 | -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.ztst | Peter Stephenson | 2014-12-14 | 1 | -2/+2 |
| | |||||
* | Treat exec from subshell as if forked | Peter Stephenson | 2014-11-02 | 1 | -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 splitting | Peter Stephenson | 2014-10-13 | 1 | -0/+20 |
| | |||||
* | 32949 (wip 32928, 32937): Add :^ syntax for zipping two arrays | Mikael Magnusson | 2014-08-04 | 1 | -0/+76 |
| | |||||
* | 32001: fix crash on ${:*} and ${:|} | Peter Stephenson | 2013-11-17 | 1 | -0/+9 |
| |