summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-12-3151253: Update ruby completion for version 3.2.0Shohei YOSHIDA2-10/+20
2022-12-3151233: Update sanitizer list to GCC 12Shohei YOSHIDA2-5/+12
Add following sanitizers - bounds-strict - hwaddress - kernel-address - kernel-hwaddress - leak - pointer-compare - pointer-subtract - shadow-call-stack - shift-base - shift-exponent - thread - undefined And sort the list in alphabetical order
2022-12-3051249: use of --force-local with tar completionDaniel Shahaf2-1/+6
2022-12-1751214: handle read -d and a delimiter that can't be decoded into a characterOliver Kiddle5-3/+29
Terminate input at the raw byte value of the delimiter. Also document and test the use of an empty string as a way to specify NUL as the delimiter.
2022-12-1751207: fix for read -d when the delimiter is a byte >= 0x80Jun-ichi Takimoto3-3/+13
2022-12-1651212: remove STOUC() macroOliver Kiddle34-204/+192
This served as a workaround for ancient compilers where casts to unsigned char were broken.
2022-12-1651215: consume whole CSI sequences from the inputOliver Kiddle4-2/+60
This affects CSI sequences that aren't explicitly bound but arrive within the usual KEYTIMEOUT time limits. A single undefined-key widget is run instead of unintended bindings for Escape and other characters in the sequence.
2022-12-16unpasted: add missing ChangeLog entryPeter Stephenson1-0/+4
2022-12-15unposted: Follow-up to the last commit: Fix a typo in a comment.Daniel Shahaf2-1/+4
2022-12-15unposted: zsh.h: lextok: Add an explanatory comment with a cross-reference.Daniel Shahaf2-0/+8
2022-12-1351210: Clear errflag before calling EXIT trapBart Schaefer2-0/+7
If this is not done, special cases such as failures in special builtins or errors in math expressions skip the trap execution.
2022-12-1351198: Clarify and expand ERR_EXIT and ERR_RETURN documentationPhilippe Altherr2-38/+49
2022-12-1351193: Discuss ERR_EXIT changesPhilippe Altherr3-2/+62
2022-12-1251134: ! return doesn't change the return statusPeter Stephenson2-1/+13
2022-12-1251134: document interactive behaviour with ERR_EXIT and ERR_RETURNPeter Stephenson2-1/+12
2022-12-0951161: correct errno after closing xtrace FDBart Schaefer2-0/+5
2022-12-0951111: update completion for global to version 6.6.8Shohei YOSHIDA2-2/+10
2022-12-0951047: fix quoting of completion matches when _canonical_paths -N option is usedBart Schaefer2-2/+8
2022-12-0951144, 51146: vcs_info git: stg: Extract patch descriptionsDaniel Shahaf2-2/+8
Joint work with Peter Grayson.
2022-12-0851142: vcs_info git: Check the get-unapplied style as documentedDaniel Shahaf2-2/+11
The style was treated as "always true" rather than as "settable, false by default" in the rebase-merge and cherry-pick cases. This affects the gen-unapplied-string hook, and may also affect gen-applied-string and set-patch-format hooks if they accessed VCS_INFO_get_data_git's internal parameters directly. If this affects you, just set the style in your zshrc: . zstyle ':vcs_info:git*:*:*' get-unapplied true
2022-12-0851138: Updated StGit patch detection in vcs_infoPeter Grayson2-9/+32
The vcs_info patch detection code attempted to interrogate StGit patch stack state by inspecting .git/patches/applied and .git/patches/unapplied. As of StGit 0.15 (2009), patch stack metadata is captured in the repo's object database. And as of StGit 1.0 (2021), no stack or patch state is maintained in any files in the .git/ directory. Zsh's approach for interrogating StGit patch state is thus obsoleted. This patch updates vcs_info to determine whether StGit is initialized on a branch by looking at the appropriate git refs and uses StGit's prescribed interface for interrogating applied and unapplied patch state via the `stg series` command. This approach will work with all versions of StGit >=0.15. Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2022-12-0651108: single letter forms of Shift-JIS / EUC-JP options were reversedShohei YOSHIDA2-4/+7
2022-12-0651088: fix standards reference in commentAtte Peltomäki2-1/+5
2022-12-0351094: consistent use of bit-manipulation for noerrexit value changesPhilippe Altherr3-4/+7
2022-12-0351098: remove unreachable NOERREXIT_UNTIL_EXEC code and effectsPhilippe Altherr4-26/+7
2022-12-0351076: fix ERR_EXIT when used with "eval" or "source"; documentary commentsPhilippe Altherr3-3/+87
2022-12-0351071: fix ERR_RETURN for functions in conditional statementsPhilippe Altherr3-7/+25
2022-12-0351001: ChangeLog entry for preceding four patch commits.Bart Schaefer1-0/+6
2022-12-0351001: fix for ERR_EXIT following shell function; update testsPhilippe Altherr2-9/+83
2022-12-0351001: fix for ERR_EXIT with pipeline negation ("!"); update testsPhilippe Altherr2-5/+23
2022-12-0351001: fix for ERR_EXIT with "always" blocks; update testsPhilippe Altherr2-7/+30
2022-12-0351001: Reverts 8839e969b, most of 1ba8714a, and d873ed60.Philippe Altherr5-32/+19
Also correct ChangeLog
2022-12-0251080: allow multibyte chars in glob qualifier (u:uname:)Jun-ichi Takimoto2-1/+4
2022-12-0251079: metafy sep in array subscript flag (s:sep:)Jun-ichi Takimoto3-3/+17
this enable sep to contain \0 etc.
2022-11-23unposted (cf. 51016): Add a test case for underscore-followed-by-digits in ↵Daniel Shahaf2-0/+13
math context.
2022-11-17unposted (c.f. Norikatsu Shigemura: github #96): add missing local declarationOliver Kiddle2-1/+5
2022-11-17github #87 (tweaked): update options tmux 3.4Matt Koscica3-13/+57
Import completion updates from tmux.git, the revision used was c67abcf8182b, and the updates were generated by Util/check-tmux-state. check-tmux-state: changes to output parsing + variable declaration parsing of `tmux show-options` is slightly more idiomatic (thanks to @phy1729 for the syntax), and it now also ignores user-specified options (which are prefixed with an @ symbol). the lines defining and declaring supported_server_options were also swapped to the correct order - `typeset` was being called after supported_server_options was populated, contrary to all the other supported_*/available_* arrays used in the same area of the file.
2022-11-17github #95: Add completions for neomuttWu Zhenyu2-1/+4
2022-11-17unposted (c.f. Denis Bitouzé: users/28405): handle also lualatexOliver Kiddle2-1/+4
2022-11-1750934: use OSC 52 escape sequence when copying to "* or "+ vi buffersOliver Kiddle5-7/+54
2022-11-12unposted (see 50930): note bug with suspending conditional expressionsBart Schaefer1-0/+5
2022-11-0950929: fix handling of ERR_RETURN bent by 50928.Bart Schaefer2-1/+3
2022-11-0950928: fix tests for 50897, mention behavior change in NEWSBart Schaefer4-11/+20
2022-11-0950922: fix additional cases of signals for current shell jobs on the right ↵Bart Schaefer3-8/+12
of a pipeline. Backs out part of 188c5cd5 (workers/50874). With this change, after a new subshell is forked upon suspend of the right side of a pipeline, the previous foreground subjob is resumed first and the new subshell remains stopped until that job finishes.
2022-11-0850897: nonzero status of complex commands should trigger ERR_EXITBart Schaefer3-7/+12
2022-11-08users/28338: command substitution with alias edge case.Peter Stephenson3-0/+21
See added regression test.
2022-11-0650874: fix handling of tty signals for jobs in the current shell when ↵Bart Schaefer2-11/+18
waiting for the right side of a pipeline. Reverts 15bf8ace (workers/50134). Thanks to Jun T. for debugging assistance. Issues came down to two things: 1. update_job() may be called on a process group leader even when a signal was NOT sent to any process in that process group. This caused jobs to be resumed or backgrounded incorrectly or in the wrong order. 2. When there is a current-shell complex command (in braces) on the right side of a pipeline, external processes within it have their own process groups, but a tty signal sent to such a process should be treated as if received by the whole complex command. This fixes: * Suspend/resume of a foreground pipeline within a shell function * Interrupt or suspend/resume of processes in a pipeline ending in { ... } * Interrupt of such a pipeline after exit of the last process in { ... } These affected interactive shells only (MONITOR set plus tty signals).
2022-11-0250851: restore typtab when necessaryJun-ichi Takimoto4-7/+33
inittyptab() must be called when returning from a function with "setopt localoptions MULTIBYTE|BANGHIST|SHSTDIN", and also in function dosetopt() when setting these options (via $options, for example). We intentionally did not take account of the options EMACS/VI because these options are obsolete and their use is not recommended.
2022-10-31unposted: incorrect email addressBart Schaefer1-1/+1
2022-10-3150855: Clarify how commands are hashed, and searched-for by "whence".Bart Schaefer3-7/+20