Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 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 |
| | |||||
* | 39046 + 39061: New :P history modifier. | Daniel Shahaf | 2016-08-22 | 1 | -0/+8 |
| | |||||
* | 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. | ||||
* | 38991: Make 'whence -v autoloaded-function' shows the defining filename. | Daniel Shahaf | 2016-08-05 | 1 | -0/+10 |
| | | | | | | This may also fix a problem whereby the %x prompt escape evaluated to a function name rather than a filename, since %x is also backed by scriptfilename. | ||||
* | 38879: Unmetafy file names for glob sort. | Peter Stephenson | 2016-07-18 | 1 | -0/+17 |
| | | | | | Test using Polish UTF-8 collation sequence that'w known to cause the problems. | ||||
* | 38728: Tests: Add tests for the ':a' and ':A' modifiers. | Daniel Shahaf | 2016-07-05 | 1 | -1/+24 |
| | |||||
* | 38652: test harness: Emit unified diffs instead of context diffs | Daniel Shahaf | 2016-06-25 | 1 | -3/+3 |
| | |||||
* | 38746: Fix suffix alias expansion recursion. | Peter Stephenson | 2016-06-22 | 1 | -0/+6 |
| | | | | | | | | This was problematic if the expansion landed you back in command position. Delay marking the alias as out of use until the text that caused the expansion is finished. | ||||
* | 38734: fix final case clauses terminating with ;& | Peter Stephenson | 2016-06-21 | 1 | -0/+8 |
| | |||||
* | 38653 + 38657: 'functions -T' tracing: recurse into anonymous functions. | Daniel Shahaf | 2016-06-13 | 1 | -0/+17 |
| | |||||
* | 38586: Metafication problem with $functions | Peter Stephenson | 2016-06-03 | 1 | -0/+9 |
| | | | | | | | | If treated as a complete associative array or scanned (retrieving individual values was not affected), it incorrectly unmetafied the value so multibyte characters got confused. Add test. | ||||
* | 38445: subsequent tests rely on a file touched by the -N test, so it must ↵ | Jun T | 2016-05-09 | 1 | -3/+4 |
| | | | | | | always be touched (Bart) Minor tweak to SECONDS loop to make total of sleeps be 60 seconds | ||||
* | 38375 (tweaked per 38384): try harder to detect noatime filesystems. | Barton E. Schaefer | 2016-05-02 | 1 | -5/+17 |
| | |||||
* | 38358: "fgrep --" for noatime check in case a mount point is named "-" | Barton E. Schaefer | 2016-04-29 | 1 | -1/+1 |
| | |||||
* | Mikael Berthe: 38307: PCRE segfault when parenthesized group matches nothing | Barton E. Schaefer | 2016-04-23 | 1 | -0/+7 |
| | | | | unposted: regression test for 38307 | ||||
* | users/21352: ensure $'' doesn't get elided. | Peter Stephenson | 2016-03-07 | 1 | -0/+4 |
| | | | | | Assign nulstring to it if empty. Test for all forms of quotation marks. | ||||
* | 38094: Fix POSIX EXIT traps defined in function. | Peter Stephenson | 2016-03-07 | 1 | -2/+20 |
| | | | | | These aren't local, so set the local level to 0; else they can get overridden incorrectly. | ||||
* | 38024: Improve POSIX and native EXIT traps compatibility. | Peter Stephenson | 2016-02-25 | 1 | -0/+17 |
| | | | | | | | Allow a nested function trap to leave save and restore a POSIX trap. Still fails if the POSIX trap was defined in a function. | ||||
* | 37999: Sticky behaviour of EXIT traps. | Peter Stephenson | 2016-02-17 | 1 | -0/+20 |
| | | | | | | | | They now have POSIX or non-POSIX behaviour based on the setting of POSIX_TRAPS where the trap was defined, rather than where the trap would (or would not) be executed. Tweaks possible. | ||||
* | 37914: reparse associative array subscripts in "unset" so keys with "[" or ↵ | Barton E. Schaefer | 2016-02-08 | 1 | -1/+1 |
| | | | | | | "]" may be backslash-escaped Also fix erroneous test case this revealed. | ||||
* | 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 |
| | |||||
* | 37765: Use FS_FUNC on fucstack to find autoload -X target. | Peter Stephenson | 2016-01-25 | 1 | -0/+13 |
| | | | | | This is better than scriptname which can be updated due to e.g. intervening "eval". | ||||
* | 37722: test builtin should return status 2 on syntax error | Peter Stephenson | 2016-01-21 | 1 | -6/+6 |
| | |||||
* | 37705: don't turn - to Dash after start of brace parameter | Peter Stephenson | 2016-01-20 | 1 | -0/+6 |
| | |||||
* | 37689: ! and ^ need to be tokenised in character sets | Peter Stephenson | 2016-01-19 | 1 | -0/+33 |
| | |||||
* | 37678: Now possible to quote "-" in pattern range | Peter Stephenson | 2016-01-19 | 1 | -0/+40 |
| | |||||
* | 37646: bit missed out of previous readonly commit. | Peter Stephenson | 2016-01-19 | 1 | -0/+5 |
| | | | | I mean, the commit about readonly. Commits aren't readonly, this is git. | ||||
* | 37591: 'alias -L': skip with a warning aliases with '=' in their LHS | Daniel Shahaf | 2016-01-13 | 1 | -0/+8 |
| |