summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2017-05-0341043: Close pipes in shell when disowning background job.Peter Stephenson1-0/+1
This was missing in the case of &,, causing a file descriptor leak.
2017-04-2841020: Fix "command -p"; "-p" was incorrectly left in command argumentsPeter Stephenson1-1/+8
Also add tests for known precommand modifier issues.
2017-04-2741012: Fix premature exit from nested function in EXIT trap.Peter Stephenson3-8/+31
Also add check so we don't delay an exit if we were already in an EXIT trap for the main shell, as we should in that case leave immediately.
2017-04-2641008: Handle expansions for precommand modifiersPeter Stephenson2-35/+135
2017-04-2340995: Don't disable alias expansion when finding command substitution limitsPeter Stephenson1-3/+0
This is needed in some unusual cases in order to identify the exit condition without encountering a parse error.
2017-04-2340994: unmeta_one() need not count MetaJun-ichi Takimoto1-8/+1
2017-04-2140990: Fix crash with bogus path in sh emaulation.Peter Stephenson1-14/+37
When startying in sh emulation don't link PATH-style parameters to array equivalents. To allow this to function, don't check for the linkage when exporting the colon-separated parameter.
2017-04-1540977: "emulate" disallows "--help" and "--version"Barton E. Schaefer1-2/+2
2017-04-1040935: User names need metafying.Orlov Sergey1-3/+3
On some systems they can contain 8-bit characters and on all systems this is logically correct anyway.
2017-04-0740940: untokenize names of condition features before attempting to look up ↵Bart Schaefer1-2/+2
the definition from a module. Necessary because of 40760 (tokenization of '-' as Dash).
2017-04-0440933: Ensure we get job text in sourced files.Peter Stephenson1-2/+2
This was turned off explicitly as it was assumed not to be needed, but it is when code in a sourced file is suspended. We'll need to see if this makes start up inefficient.
2017-04-0340932: Parameter subscripts need to count parentheses.Peter Stephenson1-3/+8
Otherwise they can terminate in the middle of an expression.
2017-04-0240929 (replaces 40598): paramsubst() should always return scalar when ↵Barton E. Schaefer1-13/+8
PREFORK_SINGLE was passed in from prefork() Previous commit (74fe4d09) consumed too much of the input linked list, leading to later expansions being skipped. This commit converts from array to string sooner, but may thereby alter rc_expand_param and array element uniqueness behavior.
2017-03-2340891: fix more zero-length matches.Peter Stephenson1-1/+3
This time at the end of the trial string.
2017-03-2322601: Fix for parameter substitution pattern matches.Peter Stephenson1-2/+6
It was not possible to math against a zero-length string in some cases.
2017-03-1140832: fix $x:P when PWD=/Barton E. Schaefer1-2/+10
2017-03-1040819: Fix IS_DASH test in BRACE_CCL handlingPeter Stephenson1-1/+2
2017-03-10unposted: declare file local variables as staticJun-ichi Takimoto1-2/+2
2017-03-10unposted: silence warnings on CygwinJun-ichi Takimoto1-1/+2
On Cygwin, h_name in struct hostent is 'const char*'
2017-03-0940796: MAGIC_EQUAL_SUBST not needed with parsed assignment.Peter Stephenson1-5/+20
If typeset family builtins are recognised as keywords then the value is handled as a separate expansion and we don't need the old magic behaviour, even if the option is set.
2017-03-0840799: fix $- expansion partly broken by 40760Barton E. Schaefer1-1/+3
2017-03-0840763: count wide characters and Cmatcher pointers more sanely in ↵Barton E. Schaefer3-58/+60
cfp_matcher_pats(), and count characters in pattern_match() the same way to stay in sync Might not fix wide-char matching in completion matcher-lists but should avoid wild pointer crash
2017-03-0840745 + 40753: Fix 'unset ZLE_RPROMPT_INDENT' not restoring the default ↵Daniel Shahaf2-2/+20
behaviour. To reproduce: RPS1=foo ZLE_RPROMPT_INDENT=42 unset ZLE_RPROMPT_INDENT
2017-03-0740760: Always tokenize unquoted - to Dash.Peter Stephenson10-67/+102
This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care.
2017-03-0540726: add "zcurses resize" for sane terminal size changeSebastian Gniazdowski1-0/+69
2017-03-0440781: optimize array assignment, similar to 39995 for string assignmentSebastian Gniazdowski1-15/+48
2017-03-0440654: exit cleanly from special POSIXBUILTINS in subshellsBarton E. Schaefer1-0/+1
This patch overloads the zsh_subshell counter which is meant for $ZSH_SUBSHELL, but no one has suggested a working alternate test.
2017-03-0340170: Fix up error resetting in curses module.Sebastian Gniazdowski1-23/+12
Update comment to remove confusion. The comment was based on incorrecto expectations, and the problems referred to seem to be fixed.
2017-03-0340702: new KEYS_QUEUED_COUNT ZLE variablePeter Stephenson1-0/+11
2017-03-0240681: strftime builtin should return 1 if ztrftime() returns -1Jun-ichi Takimoto1-2/+6
2017-03-0140622 with typos fixed: functions -Ms.Peter Stephenson2-13/+42
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.
2017-02-2640650: redo 40508 and 40626 with comments explaining what is actually going onBarton E. Schaefer1-9/+25
2017-02-26Revert 40626 which broke tests.Daniel Shahaf1-2/+2
2017-02-2540640: the (A) parameter flag forces array result even if assignment syntax ↵Barton E. Schaefer1-0/+11
is not used
2017-02-2540626: Make $options re-settable.Daniel Shahaf1-2/+2
Follow-up to 40508. Reported-by: James McGlashan
2017-02-2340624: conditionally handle WIFCONTINUED to properly set SP_RUNNING process ↵Barton E. Schaefer1-0/+5
status
2017-02-2340604: revert to the old method if getutent() is not availableJun-ichi Takimoto1-4/+22
2017-02-2040598: paramsubst() should always return scalar when PREFORK_SINGLE was passedBarton E. Schaefer1-1/+14
2017-02-2040593: SHWORDSPLIT + unset IFS should cause default splitting of $@Barton E. Schaefer1-1/+2
2017-02-2040576 (tweaked): entersubsh(): unblock any signals that were blocked for ↵Barton E. Schaefer1-3/+14
trap handling Also small improvement to loop that resets trap handlers
2017-02-1740558, 40562: General improvements to zsh/db/gdbm moduleSebastian Gniazdowski2-72/+437
2017-02-1340524: do not free a null arrayBarton E. Schaefer1-1/+2
2017-02-1340536: Prepend directory to $fpath.Peter Stephenson2-0/+37
Used if parent function is autoloaded by absolute path so as to find functions in the same suite without shell code modification.
2017-02-0840508: Make $functions re-settable.Daniel Shahaf1-2/+2
2017-02-0740507: Remove extraneous null creating GDBM recordsSebastian Gniazdowski1-6/+6
2017-02-0240486: Don't warn on creation of MATCH etc. in regex.Peter Stephenson2-9/+36
This because they are created implicitly rather than by explicit user request, so the warning may not be useful.
2017-02-0140483 (cf. Eric Freese: 40482): Remove zpty exit hook from forked processesBarton E. Schaefer1-0/+2
2017-02-0140460: WARN_NESTED_VAR: Don't warn when assigning to a slice of an existing ↵Daniel Shahaf1-6/+13
array
2017-01-3040469: change strategy from 40453 to use patcompile(PAT_HEAPDUP) instead of ↵Barton E. Schaefer1-12/+2
signal queueing.
2017-01-2940453: signal handler safety for callers of patcompile(PAT_STATIC), which is ↵Barton E. Schaefer12-42/+120
not re-entrant.