summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2016-10-2339715: Handle multibyte characters in complist listingPeter Stephenson1-5/+12
2016-10-2039688: Skip out of P_EXACTLY pattern loop if P_PURES.Peter Stephenson1-2/+2
If it's really a pure string, there's only one exact match. We could overwrite the next pointer; usually this didn't matter because we'd hit a termination, but if we reallocated we might be looking at garbage.
2016-10-2039683: Update scan pointers after possible alloc.Peter Stephenson1-1/+5
Problem could cause next scan index to point into an invalid block when handling meta characters.
2016-10-1939680: correctly handle case of popping last arenaBarton E. Schaefer1-1/+2
This mattered only when compiling with --enable-stack-allocation because otherwise the heap was never completely empty.
2016-10-1939678: metafication of printf %q argument and resultPeter Stephenson1-2/+3
2016-10-1839590: zle: Call zle-line-pre-redraw after inserting a completion resultm0viefreak1-0/+1
This is necessary to make sure redrawhook() is called while cycling results in menu completion.
2016-10-1639500: compdescribe: perform on-screen-width computation using the "nice" ↵Daniel Shahaf1-9/+10
length, since the matches are rendered by nice*() functions by compadd Remove two "###" question comments relative to the patch posted, since the answer to them is (clearly) negative.
2016-10-1339625: case needs to reset lastval if no pattern matchedMartijn Dekker1-2/+6
2016-10-1339611: with _arguments sets completion stopped if one of the rest arguments ↵Oliver Kiddle1-1/+2
starts with a dash
2016-10-1136108: command -[vV] assumed -pPeter Stephenson1-2/+4
2016-10-1039599: Don't reset status before "case" executionPeter Stephenson1-1/+0
2016-10-0639579: Fix string calculation for parameter quoting.Julien Cretin1-3/+3
Where there was no closing quote the size or position of the null could be wrongly calculated.
2016-10-0539571: Fix ERR_EXIT bug with && and function.Peter Stephenson1-6/+6
"foo && bar" inside a function could cause the code outside the function not to perform ERR_EXIT or ERR_RETURN when needed.
2016-10-0539568: "! <complex-command>" suppresses ERR_EXITPeter Stephenson1-2/+7
2016-10-0539566: Improve usefulness of command_not_found_handler.Peter Stephenson1-5/+8
Don't behave as if command not found if return status is non-zero as this may simply be the return status of the replacement command. Let the function report a command not found instead.
2016-10-0439561: missing unqueue_signals() when ZSH_HEAP_DEBUGBarton E. Schaefer1-2/+7
2016-10-0339550: reset signal queue in recursiveedit()Barton E. Schaefer1-0/+6
2016-10-0339548: DEBUG for queueing_enabledBarton E. Schaefer2-3/+32
2016-10-0339547: handle zero delta in calc_timeout()Barton E. Schaefer1-1/+1
2016-10-0339545: Add some missing unqueue_signals().Peter Stephenson10-4/+24
All of these are added simply to fit existing logic in other branches.
2016-10-0339521: Refactor start of execcmd().Peter Stephenson2-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.
2016-10-0239540: "! command" should suppress ERR_EXIT and ERR_RETURNPeter Stephenson1-2/+6
2016-09-3039509: in the event the current directory has been removed, use chasedots ↵Barton E. Schaefer1-4/+21
semantics for "cd ..".
2016-09-3039519: restore missing PM_EXPORT flags.Peter Stephenson1-0/+1
This was missing when exporting using USE_SET_UNSET_ENV coce variant.
2016-09-3039517: back off 39502 (WC_ASSIGN causes fork in pipe).Peter Stephenson1-1/+1
This isn't a robust fix as WC_ASSIGNs simply precede the main wordcode.
2016-09-3039498: use PRIVILEGED option to decide on problematic parameter importsPeter Stephenson2-4/+4
2016-09-30Call the pre-redraw hook if there is text in the buffer on initMikael Magnusson1-1/+13
2016-09-2939507: TMPSUFFIX for =(...)Barton E. Schaefer1-0/+9
2016-09-2939470: failure to open a supposedly unique temp file name should result in ↵Barton E. Schaefer2-5/+15
an error Also band-aid for signal-related race conditions in temp file name generation
2016-09-2939502: Fork for assignment in LHS of pipeline.Peter Stephenson1-1/+2
foo=bar | stuff left the value of foo set to bar as we didn't realise we needed to fork.
2016-09-29unposted: Update findcmd() in Zle.Peter Stephenson2-5/+7
Unfinished business from previous patch.
2016-09-2934943: Fixes for "command" with multiple options.Peter Stephenson3-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.
2016-09-28unposted: change '\0' to NULL to silence spurious compile warning.Bart Schaefer1-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';
2016-09-2839460: Don't import PS4 if running as root.Peter Stephenson2-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.
2016-09-27unposted: remove extra close-paren from d6a6b4ffBart Schaefer1-1/+1
2016-09-2739369 (tweaked cf 39371): when calling an internal widget, set bindk because ↵Oliver Kiddle1-0/+4
some widgets use it to determine how they should act
2016-09-2739437: use list_pipe_pid in assignment for clarityBarton E. Schaefer1-1/+1
2016-09-2639448: reset REPLY in select on user actionMartijn Dekker1-0/+2
2016-09-2539436: Pass on status of SIGINT better.Peter Stephenson2-1/+3
Set lastval to 128 + SIGINT on interrupt. Don't execute builtin if already interrupted at that point.
2016-09-2539435: Further fix for pgrp of funny pipelines.Peter Stephenson1-1/+2
Don't set gleader of SUBJOB at the point of creation if the SUPERJOB has no processes yet.
2016-09-2339412: Fix directory completion when $PWD:h contains parentheses, which are ↵Daniel Shahaf1-1/+4
interpreted as globbing metacharacters.
2016-09-2039383: compadd: Restrict previous patch to the case where $PREFIX includes ↵Daniel Shahaf1-2/+4
characters both from the -P prefix and from the (unprefixed) candidate completion word.
2016-09-2039372: compadd: Match -P prefix all-or-nothing rather than greedily.Daniel Shahaf1-4/+7
2016-09-1939381: handle save/restore of variable values when "typeset"-related ↵Barton E. Schaefer1-2/+2
reserved words are prefixed by an assignment
2016-09-1639362: another race with pipeline handling.Peter Stephenson1-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.
2016-09-1639359: Fix remaining race with orphaned subjob.Peter Stephenson3-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.
2016-09-1639331: Reparent subjob on fork with exited superjob.Peter Stephenson3-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.
2016-09-1639310/0010: internals: match_str: Simplify expression.Daniel Shahaf1-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).
2016-09-1639310/0009: internals: match_str: Downscope local variable 't'.Daniel Shahaf1-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'.
2016-09-1639310/0008: internals: match_str: Document several local variables.Daniel Shahaf1-2/+16