about summary refs log tree commit diff
path: root/Src/subst.c
Commit message (Collapse)AuthorAgeFilesLines
...
* 34103: fix ancient double-quote handling thinko in subst_parse_str()Barton E. Schaefer2015-01-061-2/+4
| | | | This doesn't seem to have mattered, but must in some obscure cases
* 33976: fix overlapping strcpy()Barton E. Schaefer2014-12-151-1/+1
|
* 33876: etc.: Separate errors and keyboards interruptsPeter Stephenson2014-12-111-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.
* 33423: expand ${(p)...} to allow ${(ps.$param.)...}Peter Stephenson2014-10-121-5/+16
|
* 33118: record original param unset state when treating empty the same as unset,Barton E. Schaefer2014-09-061-6/+9
| | | | to avoid incorrect NO_UNSET errors
* unposted: remove unused variablesPeter Stephenson2014-08-041-1/+1
|
* 32949 (wip 32928, 32937): Add :^ syntax for zipping two arraysMikael Magnusson2014-08-041-0/+61
|
* 32932: add hmkarray() and use to fix leakPeter Stephenson2014-08-011-1/+1
|
* 32552 (updated by 32560): fix segfault when using process substitution in ↵Andrew Waldron2014-04-181-1/+1
| | | | | | anonymous function argument list Also disallow process substitution in function name position.
* 32299: add use of underscores on arithmetic output for spacingPeter Stephenson2014-01-231-4/+4
|
* 32001: fix crash on ${:*} and ${:|}Peter Stephenson2013-11-171-0/+8
|
* 30993: fix parameter modifier crash with :wq on empty stringPeter Stephenson2013-01-221-1/+9
|
* 30715: use enum lextok for variables containing lexical tokensPeter Stephenson2012-10-051-7/+7
|
* 30633: "functions -T" only traces marked function, not called functionsPeter Stephenson2012-08-211-0/+2
|
* unposted: add test for valid identifier to 30431Peter Stephenson2012-04-221-1/+8
|
* 30439: ${...:*...} with nonexistent or non-array after *Peter Stephenson2012-04-221-0/+13
| | | | should return no results
* 30431 with typo in _typeset fix:Peter Stephenson2012-04-221-0/+43
| | | | add ${...:|...} and ${...:*...} operators, as documented
* 30413: (q-) parameter flag should quote null stringPeter Stephenson2012-04-161-0/+4
| | | | (q-q) etc. should be treated as errors
* 30299: "$*" was split with SHWORDSPLIT if IFS was empty or unsetPeter Stephenson2012-02-291-1/+1
|
* 30242: use PREFORK_SINGLE for ${...=...} in POSIX emulationBart Schaefer2012-02-201-1/+6
|
* 30181, plus rename of PF_* flags to PREFORK_*:Peter Stephenson2012-02-121-36/+75
| | | | | | Pass sh-wordsplitting instructions to paramsubst() using flags, avoiding side effects of explicitly setting and unsetting the SHWORDSPLIT option.
* 30041: fix bash-style offsets for positional parameters when scalarsPeter Stephenson2011-12-211-15/+17
|
* Ismail Dönmez: 29920: NO_EXEC problem with arithmetic substitutionPeter Stephenson2011-11-281-1/+4
|
* 29703: crash when failing to parse process substitutionsPeter Stephenson2011-08-171-0/+2
|
* 29530: ${...?...} shouldn't cause an error with NO_EXEC optionPeter Stephenson2011-07-011-13/+15
|
* 29462: fix warningPeter Stephenson2011-06-061-1/+1
|
* 29451: ${##stuff} removes stuff from the head of $#Peter Stephenson2011-06-031-1/+10
|
* 29351: casts needed to pass integers through stdargPeter Stephenson2011-05-231-2/+3
|
* 29224: Support negative LEN in ${VAR:OFFSET:LEN} like bash.Mikael Magnusson2011-05-191-9/+31
|
* 29261: Add g:: flag.Mikael Magnusson2011-05-191-0/+56
|
* 29307, 29308 + replies: Fix some doubled words in docs and comments.Mikael Magnusson2011-05-191-2/+2
|
* 29313: better sh emulation with SHWORDPLIT and empty $IFSBart Schaefer2011-05-181-13/+18
|
* 28936: ${#$} and ${#?} also didn't workPeter Stephenson2011-03-211-0/+2
|
* 28889: ${##} should return the length of $#Peter Stephenson2011-03-111-0/+1
|
* users/15864: turn zsh_directory_name into a hookPeter Stephenson2011-03-111-3/+1
|
* Mikael: 28637: ${foo:0:} caused crashPeter Stephenson2011-01-181-6/+8
|
* 28530: replace (z+opts+) flag with (Z:opts:), add reserved (_:flags:).Bart Schaefer2010-12-151-8/+34
|
* 28528: Rearrange zleparse to lexflagsPeter Stephenson2010-12-141-8/+11
| | | | Add (z+n+)
* 28510: add (z+c+) and (z+C+) parameter flagsPeter Stephenson2010-12-121-2/+27
|
* 28434: make ${NAME:OFFSET} always use zero-offsetPeter Stephenson2010-11-251-6/+5
|
* 28425: remove null arguments and untokenizePeter Stephenson2010-11-201-0/+2
|
* 28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:Peter Stephenson2010-11-181-2/+34
| | | | KSH_ARRAY ${*:0:1} gives $0, etc.
* 28418: add ${NAME:OFFSET:LENGTH} substitutionPeter Stephenson2010-11-181-0/+128
|
* 28360: NO_UNSET option should check parameters with trailing optionsPeter Stephenson2010-10-221-1/+7
|
* 28309: fix infinite loop padding with extra wide charactersPeter Stephenson2010-10-021-6/+54
|
* 28025: (D) parameter flagPeter Stephenson2010-06-111-11/+23
|
* 27965, 27966: Improve ${(q)...}: newline appears as $'\n;,Peter Stephenson2010-05-271-3/+3
|
* 27889: Force more use of GLOB_SUBST in parameters if ~ is usedPeter Stephenson2010-04-201-5/+10
|
* 27865: fix problem with glob_subst in parameter subsitutionPeter Stephenson2010-04-091-1/+1
|
* rationalise widths of non-printing characters to zero.Peter Stephenson2010-03-271-28/+56
|