Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | 43669: ensure explicit exit status is used over implicit | Peter Stephenson | 2018-10-10 | 1 | -0/+3 |
| | |||||
* | 43660: extend 43653 when final exit is implicit. | Peter Stephenson | 2018-10-09 | 1 | -0/+4 |
| | | | | | | | Combine logic for case after committed to exit (shell_exiting) with case where exit occurred in a function we nee to unwind (exit_pending). Add sarky note for future generations to be confused at. | ||||
* | unposted: addition to previous trap test suggested by Mikael | Peter Stephenson | 2018-10-09 | 1 | -0/+3 |
| | |||||
* | 43653: explicit exit from EXIT trap overrides exit status | Peter Stephenson | 2018-10-09 | 1 | -0/+3 |
| | |||||
* | 43616: Various parameter setting and display fixes. | Peter Stephenson | 2018-10-08 | 1 | -7/+284 |
| | | | | | | Mostly to do with typeset -p and tied variables and their interaction. Some general tied variable fixes. | ||||
* | unposted: Add a test for 43546. | Daniel Shahaf | 2018-09-25 | 1 | -0/+5 |
| | |||||
* | 43493: Have V07pcre fail if PCRE was enabled by configure (config.modules) ↵ | Daniel Shahaf | 2018-09-24 | 1 | -3/+2 |
| | | | | but failed to load for any reason. | ||||
* | 43466: Make path(5) test more generic. | Peter Stephenson | 2018-09-14 | 1 | -6/+11 |
| | | | | Only test non-zero status as OS error codes and messages vary. | ||||
* | 43426: disable job control tests involving suspension. | Peter Stephenson | 2018-09-10 | 1 | -34/+36 |
| | | | | These are provoking races on OpenSUSE. | ||||
* | 43375 with fix from 43390: fix #! tests. | Peter Stephenson | 2018-09-05 | 1 | -7/+11 |
| | | | | Don't assume path to sh and echo, instead work it out. | ||||
* | CVE-2018-0502, CVE-2018-13259: Fix two security issues in shebang line parsing. | Anthony Sottile | 2018-09-03 | 1 | -0/+22 |
| | | | | | | See NEWS for more information. Patch by Anthony Sottile and Buck Evan. | ||||
* | 43275: Add log2 to match func | dana | 2018-08-13 | 1 | -0/+6 |
| | |||||
* | 43264: fix ${+assoc[nonexistent]} with KSH_ARRAYS | Peter Stephenson | 2018-08-09 | 1 | -0/+8 |
| | |||||
* | 43261: Fix unary minus with base. | Peter Stephenson | 2018-08-08 | 1 | -0/+4 |
| | | | | | Apply unary minus to a complete lexical constant rather than the first component that comes along. | ||||
* | users/23531: Error exit/return fixes. | Peter Stephenson | 2018-07-09 | 1 | -0/+17 |
| | | | | | | | | | | Fix regression with trap on left hand side of pipe. Fix forced return from shell structure within nested function. Fix tests exiting too early. Add new test case. | ||||
* | 43075: Support nanosecond-precision time formatting | dana | 2018-06-20 | 1 | -0/+8 |
| | | | | | | | | * Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059 | ||||
* | unposted: V01zmodload.ztst needs update for parameter module fix | Peter Stephenson | 2018-06-18 | 1 | -0/+3 |
| | |||||
* | 42297: (e) subscript flag needs extra work with scalars | dana | 2018-05-14 | 1 | -0/+16 |
| | |||||
* | 42488: test cases for 42369 and address some issues in the code | Oliver Kiddle | 2018-05-13 | 3 | -2/+47 |
| | |||||
* | 42101 (tweaked): assigning shell status to array was broken | dana | 2018-05-11 | 1 | -0/+35 |
| | |||||
* | 47201: fix 42355 for multiple backslashes | Ricardo Giorni | 2018-04-29 | 1 | -0/+24 |
| | |||||
* | c.f. 42726: Back off fg and bg tests. | Peter Stephenson | 2018-04-26 | 1 | -42/+0 |
| | | | | | | | | | This is too hard to make robust. Problems include - Reading input in different places causes lines to appear and disappear - There is no easy way to sequence the asynchronous operations following bg. - Response to job control of user commands on some OSes (MacOS, for example) is unpredicatble. | ||||
* | 42722: Replace ed with dc in fg/bg tests. | Peter Stephenson | 2018-04-25 | 2 | -33/+26 |
| | | | | | | This should be even simpler. Also more fix ups for failed pattern diffs. | ||||
* | 42714: Add fg and bg tests. | Peter Stephenson | 2018-04-25 | 2 | -6/+83 |
| | | | | | | | Use ed to get minimal user interaction without needing advanced terminal handling. Improve test output of failures of pattern differences. | ||||
* | 42708: fix for process substitution. | Peter Stephenson | 2018-04-24 | 1 | -0/+7 |
| | | | | | | | | | Don't close associated file descriptors in the closem() tidy up function as they should remain visible to external processes. Override if about to exit. Unit test for the failing case: note this relies on the existence of /proc/self/fd or equivalent. | ||||
* | 42624 (plus test): avoid freeing memory that's still needed | Oliver Kiddle | 2018-04-12 | 1 | -0/+10 |
| | | | | | This was occurring in a multiple function definition where a function name is duplicated. | ||||
* | 42575: fix to not complete options in the argument to another option | Oliver Kiddle | 2018-04-05 | 1 | -0/+15 |
| | |||||
* | 42581(?): Fix ZLE inline history expansion. | Peter Stephenson | 2018-04-04 | 1 | -0/+17 |
| | | | | | | | Seen with magic-space. If there's a parse error in command subtitution we need to complete reading history to ensure the command line buffer is finished. | ||||
* | 42538: Temporarily set umask for here document. | Martijn Dekker | 2018-03-27 | 1 | -0/+9 |
| | | | | Done while signals are queued. | ||||
* | 42355: Fix use of backslashes on here doc input. | Peter Stephenson | 2018-02-12 | 1 | -4/+42 |
| | | | | | Handling of white space in particular was confusing and inconsistent with other shells. | ||||
* | 42164: fix digits in format escapes in completion listings | dana | 2018-01-04 | 1 | -0/+15 |
| | |||||
* | 42156: new CHECK_RUNNING_JOBS option demanded by bash groupies | Peter Stephenson | 2017-12-22 | 1 | -0/+186 |
| | | | | | | | Also new job options. Also suppress debug error if rows or columns are reported as zero as this is normal without a physical terminal. | ||||
* | dana: 42145: Fix additional completion cases with option arguments. | dana | 2017-12-20 | 1 | -0/+21 |
| | |||||
* | 42146: type -w += global aliases | Daniel Shahaf | 2017-12-20 | 1 | -0/+11 |
| | | | | Follow-up to 36403, which did the same for suffix aliases. | ||||
* | 42116: multibyte support for ZLE vi-mode word motion | Jun-ichi Takimoto | 2017-12-18 | 1 | -5/+24 |
| | |||||
* | 42123 (tweaked): take account of Dash in function names. | Peter Stephenson | 2017-12-15 | 1 | -0/+9 |
| | | | | | | Needed when comparing word code function name with autoload request. Add test. | ||||
* | add millisecond and microsecond options to TIMEFMT variable | dana | 2017-12-14 | 1 | -0/+4 |
| | |||||
* | 42110: Fix redirections between variable assignments at start of line | Peter Stephenson | 2017-12-12 | 1 | -0/+7 |
| | |||||
* | 42065: new getopts tests | dana | 2017-12-01 | 1 | -0/+81 |
| | |||||
* | 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather ↵ | Daniel Shahaf | 2017-11-24 | 1 | -0/+20 |
| | | | | than a syntax error. | ||||
* | 41983: fix exclusion of long options with (-) on a normal argument | Oliver Kiddle | 2017-11-04 | 1 | -1/+7 |
| | |||||
* | 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES ↵ | Barton E. Schaefer | 2017-10-17 | 1 | -0/+21 |
| | | | | | | is set Tests for 41902 and 41873 | ||||
* | 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution. | Peter Stephenson | 2017-10-13 | 1 | -0/+10 |
| | | | | | Parameter substitution can add nodes that need to be rescanned by it, but not by file expansion, so the two don't play well together. | ||||
* | 41828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in ↵ | Barton E. Schaefer | 2017-10-08 | 1 | -0/+12 |
| | | | | prefork() | ||||
* | 41824: fix to not complete rest args from an _arguments set alongside the ↵ | Oliver Kiddle | 2017-10-07 | 1 | -0/+8 |
| | | | | argument to and option in a separate set | ||||
* | 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth. | Peter Stephenson | 2017-10-02 | 1 | -0/+8 |
| | | | | Initialised from existing configuration value. |