summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
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
2016-09-1639310/0007: internals: match_str: Rename and constify local variables 'oll', ↵Daniel Shahaf1-2/+3
'olw'.
2016-09-1639310/0006: internals: match_str: Downscope local variable 'bpc'.Daniel Shahaf1-3/+7
2016-09-1639310/0005: internals: match_str: Constify some local variables.Daniel Shahaf1-6/+6
2016-09-1639310/0004: internals: match_str: Document 'savl'.Daniel Shahaf1-1/+16
2016-09-1639310/0003: internals: match_str: Document 'savw'. Avoid magic number.Daniel Shahaf1-3/+6
All callees checked to ensure that they only check that parameter for nonzeroness.
2016-09-1639310/0002: internals: match_str: Simplify by removing 'zoff'.Daniel Shahaf1-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'.
2016-09-1639310/0001: internals: match_str: Document some local variables. See 39123.Daniel Shahaf1-2/+56
2016-09-1639332: support ksh's [[ -v varname ]] condition for checking if variables ↵Oliver Kiddle3-2/+34
are set
2016-09-15unposted: remove duplicated assignmentOliver Kiddle1-1/+0
2016-09-14zsh-users/21903: Fix ${...?...} in interactive shell.Peter Stephenson2-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.
2016-09-1339292: Distinguish "=" and "==" tests in output.Peter Stephenson4-23/+39
This is both in xtrace output and shell code rebuilt from internal structures.
2016-09-1339305: Fix error handling after parse for here document.Peter Stephenson1-1/+1
Keep the error status the same as before, but also retain the interrupt status if that was non-zero.
2016-09-1139268: "zsystem flock -t 0 ..." tries only once to flock and immediately ↵Barton E. Schaefer1-3/+3
returns success or failure
2016-09-1139252: internal: quotestring: Drop the 'e' parameter, which no caller uses.Daniel Shahaf9-59/+40
2016-09-0739185: Only set word begin for completion word if not alias.Peter Stephenson1-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.
2016-09-0739218: Fix module feature enables with math functions.Peter Stephenson1-0/+2
If they were present parameters were miscounted.
2016-09-0739217: fix error name generation with GCC.Peter Stephenson1-1/+6
Adapt the same trick as in zsh.mdd to ensure we don't get preprocessor lines in the output.
2016-09-0639173: _arguments: Escape colons and backslashes in $opt_args unambiguously.Daniel Shahaf1-3/+9
2016-09-0639181: Add PM_SINGLE and use for compstate.Peter Stephenson3-2/+8
This flags that compstate (or any other special) can only have a single instance and an attempt to create a new one is an error. Given the very fiddly semantics of compstate any other usage seems pointless. No investigation yet of other variables that could use this. Note it's still possible to hide such variables; only instances that keep the special nature are affected.
2016-09-0539167: Make $ENV handling more like POSIXTeubel György1-11/+14
2016-09-04unposted: internals: Document zshcompwid(1) parameter implementations.Daniel Shahaf2-3/+21
2016-08-3139125: More care needed decrementing SHLVL on exec.Stephane Chazelas1-4/+7
Not needed in subshell.
2016-08-2939115: repair forced joining when (@) and (j) are used togetherBarton E. Schaefer1-2/+3
2016-08-2639104: do not hash relative paths in findcmd()Barton E. Schaefer1-1/+1
2016-08-2339087: fix 'conditionally uninitialized' variablesJun-ichi Takimoto2-2/+4
2016-08-2339086: declare file local variables as 'static'Jun-ichi Takimoto1-2/+2
2016-08-2239046 + 39061: New :P history modifier.Daniel Shahaf3-7/+22
2016-08-2039064: use scalbn() instead of scalb() (mathfunc.c)Jun-ichi Takimoto1-0/+4
2016-08-1339026: pattern specified with _arguments' -A option shouldn't be checked ↵Oliver Kiddle1-2/+4
against words after the cursor
2016-08-1239035: ${(A)name=word} should expand as an array even when there is only one ↵Barton E. Schaefer1-0/+1
element.
2016-08-1239031: Ensure variables in transpose-words are initialisedPeter Stephenson1-1/+1
2016-08-1238983: Make transpose-words handle numeric arguments sensiblyHan Pingtian1-39/+51
2016-08-1239028: more join/split cases fixed and tested.Barton E. Schaefer1-3/+4
2016-08-1039019 (cf. PWS 39013): fix SHWORDSPLIT regression introduced by workers/29313Barton E. Schaefer1-6/+15
Also add test cases for more join/split combinations
2016-08-1039014: Use special OpenBSD interface to get correct rand() behaviorMikael Magnusson1-0/+4