Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dana: 42145: Fix additional completion cases with option arguments. | dana | 2017-12-20 | 1 | -1/+3 |
| | |||||
* | 42146: type -w += global aliases | Daniel Shahaf | 2017-12-20 | 1 | -0/+2 |
| | | | | Follow-up to 36403, which did the same for suffix aliases. | ||||
* | users/13148 (and workers/42060): Abort the command line when replying | Daniel Shahaf | 2017-12-20 | 1 | -6/+11 |
| | | | | | | "[n] No" to the RM_STAR_SILENT prompt. Patch by Stephane, rebased by Mikael. | ||||
* | 42412: fix a bug in 42116 | Jun-ichi Takimoto | 2017-12-18 | 1 | -4/+4 |
| | | | | | Also fix a few widgets which were calling wrong function when negative numeric argument was given. | ||||
* | 42116: multibyte support for ZLE vi-mode word motion | Jun-ichi Takimoto | 2017-12-18 | 3 | -77/+45 |
| | |||||
* | 42123 (tweaked): take account of Dash in function names. | Peter Stephenson | 2017-12-15 | 1 | -2/+20 |
| | | | | | | 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/+34 |
| | |||||
* | 42110: Fix redirections between variable assignments at start of line | Peter Stephenson | 2017-12-12 | 1 | -0/+4 |
| | |||||
* | 42063: getopts errors now report "+" in front of option where appropriate | dana | 2017-12-01 | 1 | -2/+3 |
| | |||||
* | 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather ↵ | Daniel Shahaf | 2017-11-24 | 1 | -7/+13 |
| | | | | than a syntax error. | ||||
* | stat() for glob qualifiers lost information in corner case | Dima Kogan | 2017-11-20 | 1 | -1/+1 |
| | |||||
* | 41983: fix exclusion of long options with (-) on a normal argument | Oliver Kiddle | 2017-11-04 | 1 | -1/+1 |
| | |||||
* | 41866: No error unsetting nonexistent function for POSIXBUILTINS | Martijn Dekker | 2017-11-02 | 2 | -1/+6 |
| | |||||
* | 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES ↵ | Barton E. Schaefer | 2017-10-17 | 1 | -4/+10 |
| | | | | | | is set Tests for 41902 and 41873 | ||||
* | 41873: temporarily disable effects of ${(Z:n:)...} for parsing $(...) within ↵ | Barton E. Schaefer | 2017-10-13 | 1 | -1/+5 |
| | | | | | | the parameter value Also fix minor typo in commit b3fa5c52 ChangeLog. | ||||
* | 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution. | Peter Stephenson | 2017-10-13 | 1 | -16/+23 |
| | | | | | 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. | ||||
* | 41835: handle multibyte characters with compset -p and -s | Oliver Kiddle | 2017-10-11 | 1 | -11/+37 |
| | |||||
* | 41828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in ↵ | Barton E. Schaefer | 2017-10-08 | 1 | -2/+17 |
| | | | | prefork() | ||||
* | 41824: fix to not complete rest args from an _arguments set alongside the ↵ | Oliver Kiddle | 2017-10-07 | 1 | -16/+16 |
| | | | | argument to and option in a separate set | ||||
* | 41802 (minor tweaks): use heap during shell function call. | Peter Stephenson | 2017-10-04 | 2 | -70/+87 |
| | | | | | | Replaces stack for more efficient memory management. Also fix debug message when FUNCNEST is increased. | ||||
* | 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth. | Peter Stephenson | 2017-10-02 | 2 | -11/+20 |
| | | | | Initialised from existing configuration value. | ||||
* | Add typeset -p1, like typeset -p with newlines | Peter Stephenson | 2017-10-01 | 4 | -28/+67 |
| | |||||
* | 41789: Don't save fd if -1. | Peter Stephenson | 2017-09-29 | 1 | -8/+11 |
| | | | | | | We try to move an fd which isn't opend but it will feel. This needs handling specially in the new code for marking saved fd's. | ||||
* | 41772: fix bug in handling of long options with _arguments' -A option | Oliver Kiddle | 2017-09-28 | 1 | -1/+1 |
| | |||||
* | 41767: preserve nonzero exit status on interrupt | Barton E. Schaefer | 2017-09-27 | 1 | -1/+2 |
| | |||||
* | 41764 (test tweaked): allow [key]+=value when modifying arrays | Peter Stephenson | 2017-09-27 | 3 | -12/+48 |
| | |||||
* | 41761: Ensure status from interrupt is propagated by builtin | Peter Stephenson | 2017-09-26 | 1 | -2/+9 |
| | |||||
* | 41747: Don't create hash entry if just checking existence. | Peter Stephenson | 2017-09-25 | 4 | -9/+18 |
| | | | | Pass a flag in indicating this case. | ||||
* | Updates for ksh array element syntax. | Peter Stephenson | 2017-09-24 | 5 | -147/+224 |
| | | | | | | | | Move detection of key/value pairs down into prefork(). Detect normal array assignment and [key]=val array assignemnt separately. Mark key / value pairs with Marker and pass up flag. Deal with marked triads specially later on. | ||||
* | unposted (cf. 41672): checkrmall: Record the 41672 bug in a TODO. | Daniel Shahaf | 2017-09-21 | 1 | -0/+3 |
| | |||||
* | unposted (cf. 41707): internal: Document the count==0 case of checkrmall(). | Daniel Shahaf | 2017-09-21 | 1 | -1/+3 |
| | |||||
* | 41736: NO_INTERACTIVE_COMMENTS in $(...) | Barton E. Schaefer | 2017-09-20 | 1 | -1/+6 |
| | |||||
* | 41723: one more case of 41627 in "while" loops. | Barton E. Schaefer | 2017-09-18 | 1 | -1/+1 |
| | |||||
* | More [key]=value tweaks | Peter Stephenson | 2017-09-14 | 1 | -3/+5 |
| | | | | | | Some rephrasings. Update typeset -p for associative arrays to use new syntax. | ||||
* | First go at var=([key]=value) syntax. | Peter Stephenson | 2017-09-13 | 4 | -33/+206 |
| | | | | | | | Works for both normal and typeset case, also var+=... Still to do: allow to be mixed with straight array assignment, improve typeset -p, implement [key]+=value. | ||||
* | 41688: builtin wait for all jobs should ignore STAT_NOPRINT | Peter Stephenson | 2017-09-13 | 1 | -1/+2 |
| | |||||
* | unposted: internal: Document zreaddir(). | Daniel Shahaf | 2017-09-11 | 1 | -0/+10 |
| | |||||
* | 41666: zpty compatibility for OpenBSD | Thierry Ghelew | 2017-09-11 | 1 | -1/+6 |
| | |||||
* | 41668: New --emulate option on invocation. | Peter Stephenson | 2017-09-11 | 3 | -35/+107 |
| | | | | | | | | This sets the shell emulation mode similarly to ARGV0=... which doesn't work from other shells. Note that this gives more comprehensive emulation than running emulate within the shell. | ||||
* | 41662: exec -a arguments weren't sanitised | Peter Stephenson | 2017-09-10 | 1 | -0/+3 |
| | |||||
* | 41661: Need to remove tokens before using bufferwords() for (z) | Peter Stephenson | 2017-09-10 | 1 | -2/+6 |
| | |||||
* | 41641: Some math operations shouldn't be lvalues. | Peter Stephenson | 2017-09-05 | 1 | -8/+2 |
| | | | | | This includes pre- and post- increment and decrement. Simply mark all values after operations as rvalues. | ||||
* | 41633: Fix problem backgrounding function definitions. | Peter Stephenson | 2017-09-04 | 1 | -1/+6 |
| | | | | | Owing to being marked as simple sublists the instruction to background was ignored. This applied to anonymous functions. | ||||
* | Fix problem with ERR_RETURN. | Peter Stephenson | 2017-08-31 | 1 | -4/+3 |
| | | | | | | | It wasn't suppressed properly in the code following an if in some circumstances, in particular in initialsation scripts and also in a nested function where the caller had suppressed it. | ||||
* | 41608 (plus tests): restore ERR_EXIT before function. | Peter Stephenson | 2017-08-29 | 1 | -1/+1 |
| | | | | | | | There was an exception to the usual ERR_EXIT pattern that causes problems when executing a function in an else branch. It seems the exception is no longer needed as the regression tests pass without it. | ||||
* | 41590 modified as 41595: make ERR_RETURN more logical. | Peter Stephenson | 2017-08-24 | 5 | -19/+48 |
| | | | | | | | | It now operates separately at each function depth. To keep ERR_EXIT global, make the noerrexit variable usd bit flags. Extend tests. | ||||
* | posted but has not shown up: fix fd problem in subshell. | Peter Stephenson | 2017-08-15 | 2 | -3/+27 |
| | | | | | Record fd's that have been saved in fdtable and if the shell forks close them as they will never be restored. | ||||
* | 41542: Fix pcre logic for extracting matched parentheses. | Peter Stephenson | 2017-08-14 | 1 | -25/+43 |
| | | | | | | | | | | When we went off the end of the array but measured the length implicitly, we got lucky before. After 41308 we were looking up lengths in stale memory. Rename some variables, clean up the logic, be easier to understand. Add tests. | ||||
* | 41527 (tweaked for heap memory): fix [[ -<cond> ]] from modules | Phil Pennock | 2017-08-11 | 1 | -2/+13 |
| | |||||
* | 41504: make empty strings work in case patterns with no leading parenthesis | Peter Stephenson | 2017-08-09 | 2 | -13/+41 |
| |