Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 40138: Move regex multibyte test. | Peter Stephenson | 2016-12-09 | 1 | -12/+16 |
| | | | | | | Put it last as it has an additional dependency. Output a failure message indicating this. | ||||
* | 40129: revert 39611, add code comments and test cases for _arguments | Oliver Kiddle | 2016-12-09 | 1 | -14/+237 |
| | |||||
* | 40110: attempt to fix test failures on Solaris | Barton E. Schaefer | 2016-12-06 | 2 | -2/+2 |
| | | | | | | B02typeset: ignore strerror text in test output, it differs by OS C02cond: discard stderr when looking for a path to the "mount" command | ||||
* | 40102: Use subdirectory for test I/O files | Peter Stephenson | 2016-12-05 | 2 | -9/+13 |
| | |||||
* | 40100: ERR_EXIT and ERR_RETURN test for anonymous functions. | Peter Stephenson | 2016-12-05 | 1 | -0/+11 |
| | | | | | | Should trigger on non-zero status at end of function even if behaviour is suppressed by code inside the function at the point the status is set. | ||||
* | Additional case for ERR_RETURN and ERR_EXIT. | Peter Stephenson | 2016-12-05 | 1 | -0/+17 |
| | | | | | Don't trigger just because status is non-zero at end of current shell group. | ||||
* | Extra case for ERR_RETURN and ERR_EXIT. | Peter Stephenson | 2016-12-05 | 1 | -0/+70 |
| | | | | | | Don't trigger just because status is non-zero at end of complex shell construct as this may be a case we've already suppressed. | ||||
* | 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 |
| | |||||
* | 40068: Abort execution when setuid/setgid fail. | Daniel Shahaf | 2016-12-03 | 1 | -0/+10 |
| | | | | | | | | | | | The incumbent code would print an error message and continue execution with the previous uid/gid values, not even setting lastval: % UID=42 id -u; echo $? zsh: failed to change user ID: operation not permitted 1000 0 % | ||||
* | 40010: builtins: Say 'bad option: +x', not 'bad option: -x', when +x was passed. | Daniel Shahaf | 2016-11-28 | 1 | -0/+5 |
| | |||||
* | 39757 plus test: Fix completion under parenthetical directory names, broken ↵ | Daniel Shahaf | 2016-11-27 | 1 | -0/+3 |
| | | | | in 39412 | ||||
* | unposted: add test case for partial completion matching of options with ↵ | Oliver Kiddle | 2016-11-23 | 1 | -0/+6 |
| | | | | arguments | ||||
* | unposted: fix printf -v to an array without format string reuse | Oliver Kiddle | 2016-11-23 | 1 | -0/+6 |
| | |||||
* | 39993: Tests for 39981. | Oliver Kiddle | 2016-11-21 | 1 | -0/+11 |
| | |||||
* | 39986, 39989: improve handling of vi-repeat-change | Oliver Kiddle | 2016-11-20 | 1 | -3/+7 |
| | | | | | | Save previous vi change and throw away a new change that fails. Add zle -f vichange to allow shell widget to be a single change. Fix repeat of command where numeric arguments were multiplied. | ||||
* | 39995 (from 39977): Optimise string parameter assignment. | Peter Stephenson | 2016-11-20 | 1 | -0/+140 |
| | | | | | If setter is the standard one and string length is unchnaged we can copy into place. | ||||
* | 39915: whence: Honor PATH_DIRS option for arguments that start with './' or ↵ | Daniel Shahaf | 2016-11-17 | 1 | -0/+4 |
| | | | | | | '../'. While here, add some docstrings. | ||||
* | 39959: when repeating vi changes advance through the numbered killring registers | Oliver Kiddle | 2016-11-17 | 1 | -0/+15 |
| | | | | | Also fix numeric arguments with vi-repeat-change: and argument passed to the repeat replaces that previously saved with the change. | ||||
* | 39945: allow further tab presses to move on to menu completion even when ↵ | Oliver Kiddle | 2016-11-16 | 1 | -0/+61 |
| | | | | compstate[insert] is emptied | ||||
* | 39949: Special case for "-" in directory names. | Peter Stephenson | 2016-11-15 | 1 | -0/+8 |
| | | | | | It can be sh-tokenized to Dash to allow for appearing in ranges after substitution, so needs to be turned back to "-" in that case. | ||||
* | 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. | ||||
* | 39901: No EXIT trap on LHS of pipeline. | Peter Stephenson | 2016-11-10 | 1 | -0/+17 |
| | | | | | There is a special case if the LHS is a shell construct. Add unit tests for both cases. | ||||
* | 39870: ensure exit trap can always run | Peter Stephenson | 2016-11-08 | 1 | -0/+15 |
| | |||||
* | unposted: tests for 39839, 39844 | Barton E. Schaefer | 2016-11-05 | 1 | -0/+13 |
| | |||||
* | 39389: when printf -v is used with an array use separate elements each time ↵ | Oliver Kiddle | 2016-11-05 | 1 | -0/+6 |
| | | | | the format is reused | ||||
* | 39824: test case for 39811 (commit ae4c035c) | Barton E. Schaefer | 2016-11-03 | 1 | -0/+8 |
| | |||||
* | 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. | ||||
* | 39787: Add a regression test for 39412. | Daniel Shahaf | 2016-11-01 | 1 | -0/+10 |
| | |||||
* | 39777: $() is a valid empty command substitution | Peter Stephenson | 2016-10-30 | 1 | -0/+14 |
| | |||||
* | "typeset -p" uses "export" commands or the "-g" option for parameters that ↵ | Barton E. Schaefer | 2016-10-24 | 3 | -5/+5 |
| | | | | are not local to the current scope | ||||
* | 39678: metafication of printf %q argument and result | Peter Stephenson | 2016-10-19 | 1 | -0/+4 |
| | |||||
* | 39625: case needs to reset lastval if no pattern matched | Martijn Dekker | 2016-10-13 | 1 | -0/+17 |
| | |||||
* | 39622: add test cases for recent _arguments fixes, exclusion lists and -A/-S | Oliver Kiddle | 2016-10-13 | 1 | -0/+93 |
| | |||||
* | 39599: Don't reset status before "case" execution | Peter Stephenson | 2016-10-10 | 1 | -0/+8 |
| | |||||
* | 39578: Test more ERR_RETURN cases with "&&" and functions | Peter Stephenson | 2016-10-06 | 1 | -0/+30 |
| | |||||
* | 39571: Fix ERR_EXIT bug with && and function. | Peter Stephenson | 2016-10-05 | 1 | -9/+22 |
| | | | | | "foo && bar" inside a function could cause the code outside the function not to perform ERR_EXIT or ERR_RETURN when needed. | ||||
* | 39568: "! <complex-command>" suppresses ERR_EXIT | Peter Stephenson | 2016-10-05 | 1 | -0/+27 |
| | |||||
* | 39566: Improve usefulness of command_not_found_handler. | Peter Stephenson | 2016-10-05 | 1 | -3/+2 |
| | | | | | | | Don't behave as if command not found if return status is non-zero as this may simply be the return status of the replacement command. Let the function report a command not found instead. | ||||
* | 39521: Refactor start of execcmd(). | Peter Stephenson | 2016-10-03 | 1 | -9/+6 |
| | | | | | | By splitting into _analyse and _exec execpline2() has easier access to the state at the start of execution. Use this to ensure we fork if this is a builtin with no arguments. | ||||
* | 39540: "! command" should suppress ERR_EXIT and ERR_RETURN | Peter Stephenson | 2016-10-02 | 1 | -0/+37 |
| | |||||
* | 39517: back off 39502 (WC_ASSIGN causes fork in pipe). | Peter Stephenson | 2016-09-30 | 1 | -6/+9 |
| | | | | This isn't a robust fix as WC_ASSIGNs simply precede the main wordcode. | ||||
* | 39502: Fork for assignment in LHS of pipeline. | Peter Stephenson | 2016-09-29 | 1 | -0/+7 |
| | | | | | | | foo=bar | stuff left the value of foo set to bar as we didn't realise we needed to fork. | ||||
* | 34943: Fixes for "command" with multiple options. | Peter Stephenson | 2016-09-29 | 1 | -0/+10 |
| | | | | | | These need to combine properly, and alos "command -p" with either -v or -V needs to search for builtins and then using the default system path. | ||||
* | 39332: support ksh's [[ -v varname ]] condition for checking if variables ↵ | Oliver Kiddle | 2016-09-16 | 1 | -0/+19 |
| | | | | are set | ||||
* | 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. | ||||
* | 39292: Distinguish "=" and "==" tests in output. | Peter Stephenson | 2016-09-13 | 3 | -4/+13 |
| | | | | | This is both in xtrace output and shell code rebuilt from internal structures. | ||||
* | unposted: Add tests for ${(q)} being aware of the EQUALS option. | Daniel Shahaf | 2016-09-09 | 1 | -0/+4 |
| | |||||
* | 39222: test math functions in modules. | Peter Stephenson | 2016-09-08 | 1 | -0/+74 |
| | | | | Use zsh/system. | ||||
* | 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. |