about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
...
* 39548: DEBUG for queueing_enabledBarton E. Schaefer2016-10-032-3/+32
|
* 39547: handle zero delta in calc_timeout()Barton E. Schaefer2016-10-031-1/+1
|
* 39545: Add some missing unqueue_signals().Peter Stephenson2016-10-0310-4/+24
| | | | All of these are added simply to fit existing logic in other branches.
* 39521: Refactor start of execcmd().Peter Stephenson2016-10-032-46/+97
| | | | | | By splitting into _analyse and _exec execpline2() has easier access to the state at the start of execution. Use this to ensure we fork if this is a builtin with no arguments.
* 39540: "! command" should suppress ERR_EXIT and ERR_RETURNPeter Stephenson2016-10-021-2/+6
|
* 39509: in the event the current directory has been removed, use chasedots ↵Barton E. Schaefer2016-09-301-4/+21
| | | | semantics for "cd ..".
* 39519: restore missing PM_EXPORT flags.Peter Stephenson2016-09-301-0/+1
| | | | This was missing when exporting using USE_SET_UNSET_ENV coce variant.
* 39517: back off 39502 (WC_ASSIGN causes fork in pipe).Peter Stephenson2016-09-301-1/+1
| | | | This isn't a robust fix as WC_ASSIGNs simply precede the main wordcode.
* 39498: use PRIVILEGED option to decide on problematic parameter importsPeter Stephenson2016-09-302-4/+4
|
* Call the pre-redraw hook if there is text in the buffer on initMikael Magnusson2016-09-301-1/+13
|
* 39507: TMPSUFFIX for =(...)Barton E. Schaefer2016-09-291-0/+9
|
* 39470: failure to open a supposedly unique temp file name should result in ↵Barton E. Schaefer2016-09-292-5/+15
| | | | | | an error Also band-aid for signal-related race conditions in temp file name generation
* 39502: Fork for assignment in LHS of pipeline.Peter Stephenson2016-09-291-1/+2
| | | | | | | foo=bar | stuff left the value of foo set to bar as we didn't realise we needed to fork.
* unposted: Update findcmd() in Zle.Peter Stephenson2016-09-292-5/+7
| | | | Unfinished business from previous patch.
* 34943: Fixes for "command" with multiple options.Peter Stephenson2016-09-293-39/+126
| | | | | | These need to combine properly, and alos "command -p" with either -v or -V needs to search for builtins and then using the default system path.
* unposted: change '\0' to NULL to silence spurious compile warning.Bart Schaefer2016-09-281-1/+1
| | | | | | params.c:830:13: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion] *envp = '\0';
* 39460: Don't import PS4 if running as root.Peter Stephenson2016-09-282-3/+31
| | | | | There was an exploit in bash using SHELLOPTS to turn on xtrace, however this can't happen in zsh, so this is simply a precaution.
* unposted: remove extra close-paren from d6a6b4ffBart Schaefer2016-09-271-1/+1
|
* 39369 (tweaked cf 39371): when calling an internal widget, set bindk because ↵Oliver Kiddle2016-09-271-0/+4
| | | | some widgets use it to determine how they should act
* 39437: use list_pipe_pid in assignment for clarityBarton E. Schaefer2016-09-271-1/+1
|
* 39448: reset REPLY in select on user actionMartijn Dekker2016-09-261-0/+2
|
* 39436: Pass on status of SIGINT better.Peter Stephenson2016-09-252-1/+3
| | | | | | Set lastval to 128 + SIGINT on interrupt. Don't execute builtin if already interrupted at that point.
* 39435: Further fix for pgrp of funny pipelines.Peter Stephenson2016-09-251-1/+2
| | | | | Don't set gleader of SUBJOB at the point of creation if the SUPERJOB has no processes yet.
* 39412: Fix directory completion when $PWD:h contains parentheses, which are ↵Daniel Shahaf2016-09-231-1/+4
| | | | interpreted as globbing metacharacters.
* 39383: compadd: Restrict previous patch to the case where $PREFIX includes ↵Daniel Shahaf2016-09-201-2/+4
| | | | characters both from the -P prefix and from the (unprefixed) candidate completion word.
* 39372: compadd: Match -P prefix all-or-nothing rather than greedily.Daniel Shahaf2016-09-201-4/+7
|
* 39381: handle save/restore of variable values when "typeset"-related ↵Barton E. Schaefer2016-09-191-2/+2
| | | | reserved words are prefixed by an assignment
* 39362: another race with pipeline handling.Peter Stephenson2016-09-161-25/+9
| | | | | | When forking the shell to control the right hand side, the forked subshell now always starts its own process group, to avoid getting a spurious additional SIGSTOP.
* 39359: Fix remaining race with orphaned subjob.Peter Stephenson2016-09-163-5/+58
| | | | | | When shell is forked to run right hand side of pipieline it should use its own PID as process group if the left hand side of the pipeline has already exited.
* 39331: Reparent subjob on fork with exited superjob.Peter Stephenson2016-09-163-4/+31
| | | | | | | | | | | Fixes case of v() { { vim - } always { true } } ls | v ^Z fg Tentative fix: still a race at exit where zsh forked by ^Z is stopped when restarted.
* 39310/0010: internals: match_str: Simplify expression.Daniel Shahaf2016-09-161-5/+5
| | | | | | | In the first hunk we actually know that ind==0 since sfx==0, but keep it identical to the last hunk. Also add a comment (unrelated).
* 39310/0009: internals: match_str: Downscope local variable 't'.Daniel Shahaf2016-09-161-2/+11
| | | | | | | Remove needless initialization (it is written to again before it is ever read). Note there was another 't' variable at the end of the function that shadowed the int 't'.
* 39310/0008: internals: match_str: Document several local variables.Daniel Shahaf2016-09-161-2/+16
|
* 39310/0007: internals: match_str: Rename and constify local variables 'oll', ↵Daniel Shahaf2016-09-161-2/+3
| | | | 'olw'.
* 39310/0006: internals: match_str: Downscope local variable 'bpc'.Daniel Shahaf2016-09-161-3/+7
|
* 39310/0005: internals: match_str: Constify some local variables.Daniel Shahaf2016-09-161-6/+6
|
* 39310/0004: internals: match_str: Document 'savl'.Daniel Shahaf2016-09-161-1/+16
|
* 39310/0003: internals: match_str: Document 'savw'. Avoid magic number.Daniel Shahaf2016-09-161-3/+6
| | | | All callees checked to ensure that they only check that parameter for nonzeroness.
* 39310/0002: internals: match_str: Simplify by removing 'zoff'.Daniel Shahaf2016-09-161-10/+10
| | | | | | 'zoff' was only used within 'if (sfx)' blocks, in which case it was initialized to 'alen', so simply s/zoff/alen/g. 'alen' is not const but it first changes on line 794, after the last use of 'zoff'.
* 39310/0001: internals: match_str: Document some local variables. See 39123.Daniel Shahaf2016-09-161-2/+56
|
* 39332: support ksh's [[ -v varname ]] condition for checking if variables ↵Oliver Kiddle2016-09-163-2/+34
| | | | are set
* unposted: remove duplicated assignmentOliver Kiddle2016-09-151-1/+0
|
* zsh-users/21903: Fix ${...?...} in interactive shell.Peter Stephenson2016-09-142-1/+15
| | | | | On failure should abort back to top level, but we reset the error flag around commands. Add a hard error flag that's only reset at top level.
* 39292: Distinguish "=" and "==" tests in output.Peter Stephenson2016-09-134-23/+39
| | | | | This is both in xtrace output and shell code rebuilt from internal structures.
* 39305: Fix error handling after parse for here document.Peter Stephenson2016-09-131-1/+1
| | | | | Keep the error status the same as before, but also retain the interrupt status if that was non-zero.
* 39268: "zsystem flock -t 0 ..." tries only once to flock and immediately ↵Barton E. Schaefer2016-09-111-3/+3
| | | | returns success or failure
* 39252: internal: quotestring: Drop the 'e' parameter, which no caller uses.Daniel Shahaf2016-09-119-59/+40
|
* 39185: Only set word begin for completion word if not alias.Peter Stephenson2016-09-071-1/+1
| | | | | This is consistent with other ZLE code in lex.c and fixes a crash in some completions involving aliases, e.g. if uncompleted quotes.
* 39218: Fix module feature enables with math functions.Peter Stephenson2016-09-071-0/+2
| | | | If they were present parameters were miscounted.
* 39217: fix error name generation with GCC.Peter Stephenson2016-09-071-1/+6
| | | | | Adapt the same trick as in zsh.mdd to ensure we don't get preprocessor lines in the output.