Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | Improve comment at top of GDBM test | Peter Stephenson | 2017-03-21 | 1 | -1/+3 |
| | |||||
* | 40816: Document interaction of 'print -P' and 'print -f'. | Daniel Shahaf | 2017-03-12 | 1 | -1/+9 |
| | |||||
* | 40820: add a few tests of strftime, related to 40681 | Jun-ichi Takimoto | 2017-03-12 | 1 | -2/+12 |
| | |||||
* | 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. | ||||
* | 40706: Fix ordering dependence in gdbm test | Sebastian Gniazdowski | 2017-03-07 | 1 | -28/+46 |
| | |||||
* | 40760: Always tokenize unquoted - to Dash. | Peter Stephenson | 2017-03-07 | 1 | -0/+6 |
| | | | | | | This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care. | ||||
* | 40781: optimize array assignment, similar to 39995 for string assignment | Sebastian Gniazdowski | 2017-03-04 | 1 | -0/+66 |
| | |||||
* | 40173: No error on failure to load zsh/db/gdbm in test. | Peter Stephenson | 2017-03-03 | 1 | -1/+1 |
| | | | | | This is a soft error causing the test to be skipped, with a report to that effect. | ||||
* | 40622 with typos fixed: functions -Ms. | Peter Stephenson | 2017-03-01 | 1 | -0/+18 |
| | | | | | | This adds the capability for mathematical functions based on shell functions to have a string argument. Module functions have had this for a long time. | ||||
* | 40562: gdbm tests omitted from previous commit | Sebastian Gniazdowski | 2017-03-01 | 1 | -0/+307 |
| | |||||
* | Revert 40626 which broke tests. | Daniel Shahaf | 2017-02-26 | 1 | -3/+0 |
| | |||||
* | 40626: Make $options re-settable. | Daniel Shahaf | 2017-02-25 | 1 | -0/+3 |
| | | | | | | Follow-up to 40508. Reported-by: James McGlashan | ||||
* | use "diff -a" in case special characters were written to the test output | Barton E. Schaefer | 2017-02-20 | 1 | -1/+1 |
| | |||||
* | 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 | ||||
* | 40508: Make $functions re-settable. | Daniel Shahaf | 2017-02-08 | 1 | -0/+6 |
| | |||||
* | 40460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵ | Daniel Shahaf | 2017-02-01 | 1 | -0/+4 |
| | | | | array | ||||
* | 40470: make the test work also with ASCII collation | Jun-ichi Takimoto | 2017-02-01 | 1 | -16/+14 |
| | | | | | a few OSs (macOS and some versions of BSDs) use ASCII collation even if UTF-8 locale is in use | ||||
* | 40465: update methods to output $PWD in tests. | Peter Stephenson | 2017-01-30 | 2 | -15/+26 |
| | | | | | Use method from B01cd.tst which resolves symbolic links and matches against parameter in output. | ||||
* | 40440: Add $functions_source hash to zsh/parameter. | Peter Stephenson | 2017-01-28 | 2 | -9/+22 |
| | | | | This allows you to find out where a function was loaded from. | ||||
* | 40423: WARN_NESTED_VARS, conversion the other way | Peter Stephenson | 2017-01-26 | 1 | -1/+13 |
| | |||||
* | 40422: More WARN_NESTED_VAR cases. | Peter Stephenson | 2017-01-26 | 1 | -0/+12 |
| | | | | | Converting type when using a calling scope was broken in the original patch. | ||||
* | 40413: WARN_NESTED_VAR subscripted variable fix. | Peter Stephenson | 2017-01-25 | 1 | -0/+15 |
| | | | | | No warning needed on paramter that's created temporarily to help assignment. | ||||
* | posted: Make D07 recognize more spellings of pl_PL.UTF-8 | Mikael Magnusson | 2017-01-24 | 1 | -2/+2 |
| | | | | | FreeBSD and probably others use this spelling in locale -a output, while glibc uses the utf8 spelling. | ||||
* | 40391: Add WARN_NESTED_VAR option and functions -W. | Peter Stephenson | 2017-01-23 | 1 | -1/+56 |
| | | | | | These are companions to WARN_CREATED_GLOBAL, warning when a variable from an enclosing scope is altered. | ||||
* | 43080: a few more tests for autoload with absolute path | Peter Stephenson | 2017-01-18 | 1 | -0/+25 |
| | |||||
* | 40342: Add directory name cache for autoload file paths. | Peter Stephenson | 2017-01-12 | 1 | -0/+39 |
| | | | | | This renders "autoload /blah/blah/*" as efficient as use of fpath. | ||||
* | 40335: More care with autoload function path. | Peter Stephenson | 2017-01-12 | 1 | -0/+10 |
| | | | | | | If doing "autoload -X", the path present might actually be location of file containing the function with the autoload -X. Add an explicit flag to say it's a directory for autoload. | ||||
* | 40321: _arguments option groups | Oliver Kiddle | 2017-01-11 | 1 | -0/+77 |
| | |||||
* | Add features associated with autoloading a function using an absolute | Peter Stephenson | 2017-01-11 | 1 | -0/+89 |
| | | | | | | | | | | | | | path. -d defaults to normal fpath -r remembers the path without actually loading. May be combined with -d. -R does the same but it's an error if not found -X can now take a directory path: this is used to output not yet loaded functions that have an associated path. | ||||
* | 40306 with doc tweaks: Change behaviour expanding alias in () function ↵ | Peter Stephenson | 2017-01-10 | 1 | -0/+22 |
| | | | | | | | definition. Now an error unless the () is part of the same error as the name. Add ALIAS_FUNC_DEF option to allow it again. | ||||
* | 40269: handle option exclusion within current word for clumped options | Oliver Kiddle | 2017-01-05 | 1 | -6/+19 |
| | | | | This replaces the change made in 13999 with an alternative approach. | ||||
* | 40227: handle _arguments sets and rest arguments starting with a dash | Oliver Kiddle | 2017-01-04 | 1 | -9/+7 |
| | | | | | This is a new approach to the problem first covered by 39611: checking to see if an option-like argument belongs to one of the other sets. | ||||
* | 40226: tidy up some of the _arguments set code | Oliver Kiddle | 2017-01-04 | 1 | -2/+57 |
| | | | | | | Remove old code for applying explicit exclusions between sets which fixes some odd behaviour. Some struct members were unused. Also added some comments and test cases. | ||||
* | 40162: _arguments support for a match spec in combination with sets | Oliver Kiddle | 2016-12-22 | 1 | -0/+5 |
| | |||||
* | 40203: Resolve 'printf --' question from grandparent commit (thanks Chet). | Daniel Shahaf | 2016-12-16 | 1 | -2/+0 |
| | |||||
* | 40198: output of B02typeset differs when (( UID == 0 )) so do not attempt to ↵ | Barton E. Schaefer | 2016-12-15 | 1 | -5/+9 |
| | | | | redo that test in that case | ||||
* | 40179: fix handling of "printf -" and "printf --" | Barton E. Schaefer | 2016-12-14 | 1 | -0/+14 |
| | | | | unposted: regression test for 40179 / 37467 | ||||
* | 40139: tests: Convert comments to diagnostics; test backslashes. (after 40129) | Daniel Shahaf | 2016-12-10 | 1 | -10/+9 |
| | |||||
* | unposted: minor D07 typos | Peter Stephenson | 2016-12-09 | 1 | -2/+2 |
| | |||||
* | 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 |
| |