Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 45296: D02glob: Clean up after test from users/24633 | dana | 2020-01-13 | 1 | -0/+5 |
| | |||||
* | 45290: New helper script for listing XFail tests. | Daniel Shahaf | 2020-01-13 | 1 | -0/+5 |
| | |||||
* | users/24633: Add an xfail test for users/24619. | Daniel Shahaf | 2020-01-12 | 1 | -0/+13 |
| | |||||
* | 45269: Fix misspellings in completions and elsewhere. | Jens Schleusener | 2020-01-09 | 2 | -2/+2 |
| | |||||
* | unposted: internal: Remove Vim modeline that interferes with ztst.vim. | Daniel Shahaf | 2020-01-07 | 1 | -2/+0 |
| | | | | | | | | As an alternative, one can use: autocmd BufRead,BufNewFile **/*.ztst setfiletype zsh (But see Util/ztst-syntax.vim and Util/ztst-ftplugin.vim for an alternative.) | ||||
* | 45181: Fix workers/45164: ${(S)%%} will now consider the empty string as a ↵ | Daniel Shahaf | 2020-01-02 | 1 | -1/+1 |
| | | | | potential match. | ||||
* | unposted: Add some tests for ${(S)}, including a regression test for ↵ | Daniel Shahaf | 2020-01-01 | 1 | -0/+25 |
| | | | | workers/45164. | ||||
* | 45169/0002 (tweaked for trailing newlines): Add an expected-to-fail test for ↵ | Daniel Shahaf | 2020-01-01 | 1 | -0/+17 |
| | | | | workers/44007. | ||||
* | 45169/0001: In the test suite, allow test cases to be marked as expected to ↵ | Daniel Shahaf | 2020-01-01 | 2 | -3/+31 |
| | | | | | | fail. See next commit for a use-case. | ||||
* | users/24582 + users/24583: Add regression tests for the previous commit. | Daniel Shahaf | 2019-12-31 | 2 | -0/+77 |
| | |||||
* | unposted: internal: Vim ztst support: Add an ftplugin in addition to the ↵ | Daniel Shahaf | 2019-12-27 | 1 | -1/+1 |
| | | | | syntax highlighter. | ||||
* | unposted: Fix broken build: 45109 (!) broke Test/Y01completion.ztst. | Daniel Shahaf | 2019-12-22 | 2 | -86/+1 |
| | |||||
* | 45111: zshmisc(1): Clarify the documentation of 'return' and 'exit' in ↵ | Daniel Shahaf | 2019-12-22 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | conjunction with try/always Having reviewed 20076, 20084, 21734, and 21735, my understanding is that the original intention was: - A 'return' in a function does run always-list - An 'exit' outside a function does not run always-list - A 'return' outside a function is treated as an 'exit' All of which are the case today. The remaining case, of 'exit' used inside a function, was not specified by the referenced -workers@ posts; does, as implemented, run the always-list; and furthermore, based in 21734 it's fair to assume that the original documentation was assuming that 'exit' would be used outside of any function, just like it assumed 'return' would be used inside a function. Therefore, have the documentation specify only the behaviour of 'exit' outside any function, and leave the behaviour of 'exit' inside a function unspecified. Anyone who relied on the documentation of 'exit' as documented until this commit would have run into the documentation/implementation discrepancy described in 45075. | ||||
* | 45107: ztst.vim: Highlight some more special variables | Daniel Shahaf | 2019-12-22 | 1 | -1/+3 |
| | |||||
* | 45108: ztst.vim: Conceal the '>' or '?' on pattern expected output / ↵ | Daniel Shahaf | 2019-12-22 | 1 | -8/+19 |
| | | | | | | expected errput lines. This aligns the expectations given by '*>' and '>' lines. | ||||
* | 45109: Add Vim highlighting file for Test/*.ztst files. | Daniel Shahaf | 2019-12-22 | 2 | -0/+74 |
| | |||||
* | unposted: Group related tests. No functional change. | Daniel Shahaf | 2019-12-21 | 1 | -8/+8 |
| | |||||
* | 45001: Fix zero-length matches with ${...%...} | Peter Stephenson | 2019-12-12 | 1 | -0/+23 |
| | | | | As the shortest match is preferred, zero-length matches beat any other. | ||||
* | 45004: Fix typos in comments | Martijn Dekker | 2019-12-11 | 8 | -9/+9 |
| | |||||
* | unposted: zstyle: Add a unit test and some comments. | Daniel Shahaf | 2019-12-01 | 1 | -0/+10 |
| | |||||
* | unposted: Add smoke test for :P history modifier. | Daniel Shahaf | 2019-11-19 | 1 | -0/+7 |
| | |||||
* | 44664: Fix problem with temporary assignment. | Peter Stephenson | 2019-08-14 | 1 | -0/+12 |
| | | | | | "foo=bar builtin" inside a function lost any variable from enclosing scope. | ||||
* | Copy functions using functions -c old new. | Peter Stephenson | 2019-08-03 | 1 | -1/+68 |
| | | | | Documentation and test. | ||||
* | 44523: Add ZTST_handler capability. | Peter Stephenson | 2019-07-16 | 1 | -1/+6 |
| | | | | | Defaults to runtests.zsh but can be something else for alternative test management. | ||||
* | 44469: correct error on missing option argument | Martijn Dekker | 2019-07-01 | 1 | -0/+17 |
| | |||||
* | 44446: Fix here document with file descriptor declarator. | Peter Stephenson | 2019-06-24 | 1 | -1/+9 |
| | | | | Add unit test. | ||||
* | 44435: Handling digita arguments for :h and :t. | Peter Stephenson | 2019-06-20 | 3 | -0/+128 |
| | | | | | | | Pick number of leading or trailing path components to substitute. Active in history, brace parameters, glob qualifiers. Add tests for all three environments. | ||||
* | 44345: fix wordcode traversal where ! without a following command could ↵ | Oliver Kiddle | 2019-05-23 | 1 | -0/+33 |
| | | | | result in a crash | ||||
* | 44296: "typeset Q= {X}" crashed the shell. | Peter Stephenson | 2019-05-14 | 1 | -0/+7 |
| | |||||
* | unposted: Fix bad encoding in previous Y01 test patch | dana | 2019-05-08 | 1 | -4/+4 |
| | |||||
* | unposted: Add compset tests related to workers/44275 | Oliver Kiddle | 2019-05-08 | 1 | -0/+38 |
| | | | | (Provided off-list by Oliver) | ||||
* | 44274: allow finer control of completion match soring with compadd's -o option | Oliver Kiddle | 2019-05-07 | 1 | -0/+40 |
| | |||||
* | 44267: sort: Restore option to ignore backslashes | dana | 2019-05-03 | 1 | -0/+22 |
| | | | | Fix regression introduced by workers/41242 | ||||
* | 44271: Fix breaks propagated from until or return. | Peter Stephenson | 2019-05-03 | 1 | -0/+10 |
| | | | | | | If the until or return test caused continuation but there was a pending return, breaks didn't get cancelled causing enclosing scope to skip commands. | ||||
* | 44100: zparseopts: Add -F option, completion, tests; improve documentation | dana | 2019-03-12 | 1 | -0/+172 |
| | | | | | | | * Enable zparseopts to perform basic usage validation (aborting on an unrecognised option-like parameter) * Officially document the resolution of ambiguous option specs | ||||
* | unposted: ztst.zsh: fix a typo | Jun-ichi Takimoto | 2019-03-01 | 1 | -1/+1 |
| | |||||
* | 44030: prompt: Return error for unrecognised colour name | dana | 2019-02-03 | 1 | -0/+8 |
| | |||||
* | 44012: X04zlehighlight: Fix spurious test failures on OpenBSD | dana | 2019-01-23 | 1 | -1/+8 |
| | |||||
* | 44011: Only use fg_start_code for non-truecolor | Mikael Magnusson | 2019-01-23 | 1 | -4/+4 |
| | | | | The sequence for truecolor uses a different prefix from palette colors | ||||
* | 43962: Fix X04 test module_path | dana | 2018-12-31 | 1 | -0/+1 |
| | |||||
* | users/23809: ZLE_HIGHLIGHT extensions. | Peter Stephenson | 2018-12-30 | 1 | -0/+153 |
| | | | | | Allow non-termcap use of colours > 7. Add tests. | ||||
* | 43945 (tweaked to remove test failure, noted in test): | Martijn Dekker | 2018-12-30 | 1 | -0/+53 |
| | | | | | Fix exit statuses from wait for POSIX_BUILTINS mode. Also add tests. | ||||
* | 43944: apply NO_UNSET consistently to arithmeitc | Martijn Dekker | 2018-12-30 | 1 | -0/+16 |
| | |||||
* | unposted: test for 43938 | Peter Stephenson | 2018-12-30 | 1 | -0/+8 |
| | |||||
* | 43953: Fix rounding/truncation error in %. time-format specifier | dana | 2018-12-29 | 1 | -0/+16 |
| | | | | | | | Also fixes an issue where %. couldn't be used more than once in a format string without strange results Tweaked very slightly per workers/43954 | ||||
* | 43935: Reject too-large nanosecond values given to strftime | dana | 2018-12-24 | 1 | -1/+4 |
| | | | | | | | ... and, in so doing, fix an error in the tests on 32-bit machines. The value for the new too-large test is changed slightly from the patch posted to the ML to make it test for the right thing on 32-bit machines as well. | ||||
* | 43837 plus test from Daniel: Empty string in nested subst. | Peter Stephenson | 2018-11-21 | 1 | -0/+7 |
| | | | | Skip Nularg or there is a bogus character at the start. | ||||
* | 43800: Add nanosecond support to strftime built-in | dana | 2018-11-13 | 1 | -0/+29 |
| | |||||
* | 43726: Add tests for semicolon in the middle of a sublist not terminating it. | Daniel Shahaf | 2018-10-24 | 1 | -0/+10 |
| | |||||
* | unposted: another couple of tests for previous commit. | Peter Stephenson | 2018-10-10 | 1 | -0/+6 |
| | | | | | This tests different code paths as the -c command option exits in a different fashion from code executed from a script. |