summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2022-03-3149933: Add nonblock to sysopenMatthew Martin1-1/+4
2022-03-3049926: remove unused variable from 49915Mikael Magnusson1-1/+1
2022-03-3049906 (Bart), 49911: Fixes to querying jobs in subshell.Peter Stephenson2-0/+21
Don't attempt to query invalid job off end of table, resulting in crashes from $jobtstates. If background task started in subshell, look at tatsks within subshell instead of main shell. Document and add test.
2022-03-3049820: Fix a crash when completing with combination of -Q and bracesMikael Magnusson1-3/+4
minimal reproducer .zshrc: zstyle ':completion:*' completer _oldlist _complete setopt nolistambiguous autoload compinit; compinit compdef _foo foo;_foo() { compadd -Q -- stash@{{0,1}} }
2022-03-3049813: <<<: Document newline behavior and fix optimizationMikael Magnusson1-1/+3
The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo) always did, make the behavior consistent, and document it.
2022-03-3049870: Fix NULL reference in match code moreMikael Magnusson1-2/+6
This reverts "49658: Fix NULL reference in match code." and adds a check inside the block, as well as a failsafe check at the end. The above commit (49658) causes a crash due to ll being calculated as 0 which leads to rr being an invalid pointer. Only adding a check for when ll is 0 just leads to bck-i-search pattern not working at all (the final hunk). Restoring the condition and adding an explicit NULL check for replstr seems to make matters work as intended.
2022-03-3049915: Efficient dedup for unsorted completionsMikael Magnusson2-20/+35
2022-03-3049893: Fix comments for UNIQCON/ALLMikael Magnusson2-4/+10
2022-03-2949853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bashJun-ichi Takimoto1-3/+18
2022-03-2849890: Avoid scanning unallocated memory in saved command line.Peter Stephenson1-1/+1
2022-03-0349792: Non-interative shell input is line buffered.Peter Stephenson1-7/+14
2022-03-0149783: Consistently use old job table in parameter modulePeter Stephenson2-48/+82
2022-02-22unposted: Fix some typos and markup.Daniel Shahaf3-3/+6
2022-02-12security/41: Don't perform PROMPT_SUBST evaluation on %F/%K argumentsOliver Kiddle1-0/+10
Mitigates CVE-2021-45444 (cherry picked from commit c187154f47697cdbf822c2f9d714d570ed4a0fd1)
2022-01-3049694 + doc: Allow using empty STTY= to freeze tty for a single commandMikael Magnusson1-2/+4
Previously, doing this would just run stty with no arguments, which normally causes it to print some terminal settings to stdout.
2021-12-2438150: fix off-by-one error in matcher spec parsingm0viefreak1-1/+1
2021-12-2149658: Fix NULL reference in match code.Peter Stephenson1-1/+1
A test when acquiring the replacement pattern match in the globbing code erroneously allowed the use of a NULL pointer. This appears to be an unnecessary test case added alongside other surgery back in 2008.
2021-12-1649653: fix array indexing issue introduced with 49518 due to using decimal ↵Oliver Kiddle1-3/+5
rather than hex 20 Also avoid comparing the current word against all options when the word doesn't start with - or +.
2021-12-1449518: fix exclusions for mixed - and + stacked optionsOliver Kiddle1-10/+29
2021-12-1349646: allow colors in WATCHFMT with %F/%KOliver Kiddle2-4/+40
2021-11-3049612: avoid startup error with clashing non-local module parameter nameOliver Kiddle1-1/+1
2021-11-3049611 based on 49590 (Martijn Dekker): disable Inf and NaN in math ↵Oliver Kiddle1-1/+1
expressions for sh emulation
2021-11-2849606: remove old NIS-specific code for retrieving user dataOliver Kiddle2-124/+1
2021-11-2849602: only set LOGCHECK from the watch moduleOliver Kiddle1-2/+1
2021-11-2849601: don't create ambiguous history file entries for lines ending with a ↵Oliver Kiddle1-8/+11
backslash
2021-11-2249586: fix :a and :A modifiers (with PWD="/") on Cygwin⁩Jun-ichi Takimoto1-1/+5
2021-11-1549563: fix build problem of watch module on CygwinJun-ichi Takimoto1-2/+6
2021-11-12github #82: Fix typosDimitris Apostolou3-7/+7
2021-11-1249561: add zformat -F option, similar to -f but ternary expressions check ↵Oliver Kiddle1-16/+32
for existence instead of doing math evaluation
2021-11-0749544: only tie watch/WATCH if both come from the moduleOliver Kiddle1-7/+11
2021-11-0249534, 49539: separate watch/log functionality out into a moduleOliver Kiddle7-42/+117
2021-11-0149535: fix completion for ${<TAB> and ${(a)<TAB>Jun-ichi Takimoto1-11/+3
2021-10-3049533: add null check for preprompt functions list that could occur ↵Oliver Kiddle1-0/+3
following an error when loading a module
2021-10-3049528: allow multiple -D options to compaddOliver Kiddle3-22/+60
2021-10-2649516: bail out early from matching control if command line content is too ↵Oliver Kiddle1-2/+3
short for the coanchor
2021-10-2349499 based on 49496 by Jun T.: fixes to option -A of _argumentsOliver Kiddle1-8/+19
2021-10-0549433: Don't assume EPROG references are bounded by function depth.Peter Stephenson1-4/+0
We use references for efficient function copy, so there is no useful limit any more.
2021-10-0449456: clean up detection of private params in nested scopes, update docBart Schaefer2-5/+12
2021-09-2849450: don't display explanation with compadd -x if any of -D, -A or -O are ↵Oliver Kiddle1-1/+1
also used
2021-09-2249422: improve support of --disable-dynamic-nssJun-ichi Takimoto5-14/+29
see also 49392 (Vincent) and 49412 (Axel)
2021-09-0949353: Fix comments in sourced file.Peter Stephenson1-1/+1
If the file was sourced from an interactive shell with INTERACTIVE_COMMENTS not set, comments were not parsed. Note there is a remaining edge case where the sourced file is in fact entered at the comment line.
2021-09-0849387: suffix highlight with "compadd -R"Bart Schaefer1-6/+3
2021-09-08unposted: add/remove UNUSED() for some function parametersJun-ichi Takimoto5-5/+5
2021-09-08unposted: add 'static' to shinsavestackJun-ichi Takimoto1-1/+1
2021-09-0849377: fix segfault by 'bindkey -d' with reordered keymapnamtabJun-ichi Takimoto1-1/+21
2021-09-0649292: Src/Zle/complist.c: turn off colors before clearing to end of lineMarlon Richert1-14/+19
2021-09-0649378: skip check for collision of aliases and functions when NO_EXECMarlon Richert1-1/+1
2021-09-0649282: set $0 correctly when calling functions from hooksBart Schaefer1-2/+12
2021-09-0649266: fix segfault on metacharacters in long job textsBart Schaefer1-0/+2
2021-09-06unposted (cf. 49202 and 49217): insertlastword ignores blank/missing history ↵Bart Schaefer1-2/+7
entries when repeating