Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2016-08-29 | 39115: repair forced joining when (@) and (j) are used together | Barton E. Schaefer | 1 | -2/+3 | |
2016-08-22 | 39046 + 39061: New :P history modifier. | Daniel Shahaf | 1 | -0/+13 | |
2016-08-12 | 39035: ${(A)name=word} should expand as an array even when there is only one ↵ | Barton E. Schaefer | 1 | -0/+1 | |
element. | |||||
2016-08-12 | 39028: more join/split cases fixed and tested. | Barton E. Schaefer | 1 | -3/+4 | |
2016-08-10 | 39019 (cf. PWS 39013): fix SHWORDSPLIT regression introduced by workers/29313 | Barton E. Schaefer | 1 | -6/+15 | |
Also add test cases for more join/split combinations | |||||
2016-08-01 | 38973: Optimize indexing array parameters. | Daniel Shahaf | 1 | -4/+11 | |
% () { for 1 in $prefix/zsh/bin/zsh Src/zsh; do $1 -f -c 'a=( {1..1000000} ); repeat 3 time ( repeat 300 : $a[1] )'; done } ( repeat 300; do; : $a[1]; done; ) 1.68s user 0.01s system 98% cpu 1.718 total ( repeat 300; do; : $a[1]; done; ) 1.69s user 0.01s system 99% cpu 1.710 total ( repeat 300; do; : $a[1]; done; ) 1.69s user 0.01s system 99% cpu 1.714 total ( repeat 300; do; : $a[1]; done; ) 0.00s user 0.01s system 72% cpu 0.022 total ( repeat 300; do; : $a[1]; done; ) 0.00s user 0.01s system 72% cpu 0.022 total ( repeat 300; do; : $a[1]; done; ) 0.01s user 0.01s system 69% cpu 0.023 total | |||||
2016-06-04 | 38599: skip the "no such named directory" warning when NO_EXEC is in effect | Barton E. Schaefer | 1 | -1/+1 | |
2016-06-03 | unposted: internal: Document modify(). | Daniel Shahaf | 1 | -0/+13 | |
2016-03-07 | users/21352: ensure $'' doesn't get elided. | Peter Stephenson | 1 | -1/+5 | |
Assign nulstring to it if empty. Test for all forms of quotation marks. | |||||
2015-12-07 | 37344: restore old printable quoting, add ${(q+)...}. | Peter Stephenson | 1 | -4/+10 | |
The \C- form is only used inside quotedzputs(). ${(q+)...} outputs a quotedzputs() representation. | |||||
2015-11-23 | 37206: fix ${(t)param} for "typeset -H param" | Barton E. Schaefer | 1 | -1/+1 | |
2015-11-12 | 37096: Another $${(P)...} tweak. | Peter Stephenson | 1 | -2/+17 | |
Make a top level (P) work with nested ones, i.e. ${(P)${(P)...}...} | |||||
2015-11-11 | 37094: Further tweaks to parameter name references. | Peter Stephenson | 1 | -3/+3 | |
Safety in array test. Make nested references work. Add parameter tests. | |||||
2015-11-11 | 37092: make nested ${(P)name} properly refer to parameter on return | Peter Stephenson | 1 | -44/+70 | |
2015-11-07 | 37074: extend previous fix to over whitespace at end | Peter Stephenson | 1 | -14/+36 | |
2015-11-06 | 37073: another SH_WORD_SPLIT problem. | Peter Stephenson | 1 | -6/+34 | |
In cases like x${:- y} the space was simply removed instead of being used for splitting. | |||||
2015-07-06 | 35694: fix handling of history modifiers applied across all elements of an ↵ | Barton E. Schaefer | 1 | -2/+8 | |
array parameter value | |||||
2015-05-31 | 35343: Avoid $#name length handling for POSIX_IDENTIFIERS | Peter Stephenson | 1 | -1/+2 | |
2015-05-29 | 35326: $#- was misparsed as ${#-} | Peter Stephenson | 1 | -1/+1 | |
2015-05-15 | 35153: nested math substitution | Peter Stephenson | 1 | -2/+11 | |
2015-05-15 | 35151: improved check for parameter q and b flags | Peter Stephenson | 1 | -1/+2 | |
2015-05-10 | 35067: Add (b) parameter flag for pattern char backslashing. | Peter Stephenson | 1 | -2/+11 | |
Doc tweak from Daniel in 35071. Includes test. | |||||
2015-02-22 | 34606: fix up nested arithmetic substitution | Peter Stephenson | 1 | -2/+18 | |
Arithmetic within a parameter substitution is a special case that needs fixing with the introduction of the new Inparmath token. Add test. | |||||
2015-02-19 | 34573: Safer failure to handle command substitution | Peter Stephenson | 1 | -3/+7 | |
2015-02-19 | 34570: Another nasty command / math substituion thing. | Peter Stephenson | 1 | -11/+17 | |
Mark arithmetic substitutions with tokens to make sure the substitution go knows what to do. Before it was guessing by counting the parentheses at the end. | |||||
2015-01-18 | 34322: bug with interface to parsestr() etc. | Peter Stephenson | 1 | -3/+5 | |
Was showing up in places like ${(e)...} where command substitution could reallocate the token string, but actually there was never any guarantee that the lexer wouldn't do that, so this was always a bit iffy. | |||||
2015-01-06 | 34105: subst: remove dead code | Mikael Magnusson | 1 | -1/+1 | |
Found by Coverity (Issue 1255810). | |||||
2015-01-06 | 34103: fix ancient double-quote handling thinko in subst_parse_str() | Barton E. Schaefer | 1 | -2/+4 | |
This doesn't seem to have mattered, but must in some obscure cases | |||||
2014-12-15 | 33976: fix overlapping strcpy() | Barton E. Schaefer | 1 | -1/+1 | |
2014-12-11 | 33876: etc.: Separate errors and keyboards interrupts | Peter Stephenson | 1 | -9/+18 | |
Combination of 12 commits from interrupt_abort branch. Basic strategy is to introduce bits to errflag and to set and reset them separately. Remove interrupt status on return to main keymap. Turn off ERRFLAG_INT for always block. Restore bit thereafter: we probably need a new variable in order to allow user interrupts to be reset in the always block. Add TRY_BLOCK_INTERRUPT This works the same as TRY_BLOCK_ERROR, but for a SIGINT, too. Ensure propagation of SIGINT from exited job. If received by foreground job, shell uses ERRFLAG_INT, not ERRFLAG_ERROR, to set the new state. Reset errflag before precmd() Add always block in _main_completion to fix ZLS_COLORS Ensures we get the right state of $ZLS_COLORS at the end of _main_complete even if there's an interrupt. However, the "right state" is a bit messy as it depends on styles. | |||||
2014-10-12 | 33423: expand ${(p)...} to allow ${(ps.$param.)...} | Peter Stephenson | 1 | -5/+16 | |
2014-09-06 | 33118: record original param unset state when treating empty the same as unset, | Barton E. Schaefer | 1 | -6/+9 | |
to avoid incorrect NO_UNSET errors | |||||
2014-08-04 | unposted: remove unused variables | Peter Stephenson | 1 | -1/+1 | |
2014-08-04 | 32949 (wip 32928, 32937): Add :^ syntax for zipping two arrays | Mikael Magnusson | 1 | -0/+61 | |
2014-08-01 | 32932: add hmkarray() and use to fix leak | Peter Stephenson | 1 | -1/+1 | |
2014-04-18 | 32552 (updated by 32560): fix segfault when using process substitution in ↵ | Andrew Waldron | 1 | -1/+1 | |
anonymous function argument list Also disallow process substitution in function name position. | |||||
2014-01-23 | 32299: add use of underscores on arithmetic output for spacing | Peter Stephenson | 1 | -4/+4 | |
2013-11-17 | 32001: fix crash on ${:*} and ${:|} | Peter Stephenson | 1 | -0/+8 | |
2013-01-22 | 30993: fix parameter modifier crash with :wq on empty string | Peter Stephenson | 1 | -1/+9 | |
2012-10-05 | 30715: use enum lextok for variables containing lexical tokens | Peter Stephenson | 1 | -7/+7 | |
2012-08-21 | 30633: "functions -T" only traces marked function, not called functions | Peter Stephenson | 1 | -0/+2 | |
2012-04-22 | unposted: add test for valid identifier to 30431 | Peter Stephenson | 1 | -1/+8 | |
2012-04-22 | 30439: ${...:*...} with nonexistent or non-array after * | Peter Stephenson | 1 | -0/+13 | |
should return no results | |||||
2012-04-22 | 30431 with typo in _typeset fix: | Peter Stephenson | 1 | -0/+43 | |
add ${...:|...} and ${...:*...} operators, as documented | |||||
2012-04-16 | 30413: (q-) parameter flag should quote null string | Peter Stephenson | 1 | -0/+4 | |
(q-q) etc. should be treated as errors | |||||
2012-02-29 | 30299: "$*" was split with SHWORDSPLIT if IFS was empty or unset | Peter Stephenson | 1 | -1/+1 | |
2012-02-20 | 30242: use PREFORK_SINGLE for ${...=...} in POSIX emulation | Bart Schaefer | 1 | -1/+6 | |
2012-02-12 | 30181, plus rename of PF_* flags to PREFORK_*: | Peter Stephenson | 1 | -36/+75 | |
Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option. | |||||
2011-12-21 | 30041: fix bash-style offsets for positional parameters when scalars | Peter Stephenson | 1 | -15/+17 | |
2011-11-28 | Ismail Dönmez: 29920: NO_EXEC problem with arithmetic substitution | Peter Stephenson | 1 | -1/+4 | |