summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2022-10-3150844: Remove _stgit completion scriptPeter Grayson2-52/+5
The StGit project ships its own zsh completion script which is more complete and up-to-date than those shipped with zsh. https://github.com/stacked-git/stgit/blob/master/completion/stgit.zsh Also, the _stgit completions that ship with zsh, which dynamically parse StGit's help output, will be broken by the upcoming StGit 2.0 release due to changes in the help output. Signed-off-by: Peter Grayson <pete@jpgrayson.net>
2022-10-2550840: Doc/Zsh/grammar.yo: Correct NO_MATCH to NOMATCHAxel Beckert2-1/+5
2022-10-23Unposted: Fix typo in commentBart Schaefer1-1/+1
2022-10-23users/28243: update "typeset +" documentationBart Schaefer2-4/+10
2022-10-2250714: also complete in the 2nd argument of "git diff" anything that couldBart Schaefer2-15/+17
be in the 1st argument. This probably shouldn't complete ranges but all other code is in common, so leaving it to someone more familiar with _git to clean up.
2022-10-1750786: Make match etc. local when used in styles.Peter Stephenson2-2/+7
Avoids side effects of add-zle-hook-widget.
2022-10-1750736: silence use-after-free warning (gcc-12.2)Wesley Schwengle2-4/+9
2022-09-2950671: enable spell check in *.ztst by vimJun-ichi Takimoto2-2/+6
2022-09-2850695: Completion/Unix/Command/_mysql_utils add --protocol optionEric Cook2-0/+4
2022-09-2850399: Completion/Base/Widget/_complete_debugBart Schaefer2-1/+5
Properly local scope PS4 change
2022-09-2750668: treat 8bit chars correctly when multibyte is unsetJun-ichi Takimoto3-1/+13
The problem was found in character range, but may have existed in other occasions
2022-09-2650662: unset LC_* for all the testsJun-ichi Takimoto2-13/+5
2022-09-2650658 + test: Enable to switch between C/UTF-8 locales in PCREJun-ichi Takimoto3-8/+18
2022-09-2550648: Use $ZCALC_HISTORY where appropriateJulian Prein3-3/+13
2022-09-2150641: use 'int main()' in test C-codes in configureNicholas Vinson3-86/+77
2022-09-1550629: do not use egrep in testsJun-ichi Takimoto8-59/+29
2022-08-28unposted: _imagemagick: Add *.svg and *.webp files.Daniel Shahaf2-1/+6
As a comment just above the hunk indicates, many more formats could be added.
2022-08-05Felipe Contreras: 50435+50436 (+50444): do not build anythingJun-ichi Takimoto2-3/+37
Use 'make -nqp' to ensure nothing is actually built by completion. Also include some performance improvements, but it can be still rather slow in a large project's source tree.
2022-07-2450421: add context as the 1st arg to _dispatchJun-ichi Takimoto2-1/+5