Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | unposted (see 50930): note bug with suspending conditional expressions | Bart Schaefer | 2022-11-12 | 1 | -0/+5 | |
| | ||||||
* | 50929: fix handling of ERR_RETURN bent by 50928. | Bart Schaefer | 2022-11-09 | 2 | -1/+3 | |
| | ||||||
* | 50928: fix tests for 50897, mention behavior change in NEWS | Bart Schaefer | 2022-11-09 | 4 | -11/+20 | |
| | ||||||
* | 50922: fix additional cases of signals for current shell jobs on the right ↵ | Bart Schaefer | 2022-11-09 | 3 | -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. | |||||
* | 50897: nonzero status of complex commands should trigger ERR_EXIT | Bart Schaefer | 2022-11-08 | 3 | -7/+12 | |
| | ||||||
* | users/28338: command substitution with alias edge case. | Peter Stephenson | 2022-11-08 | 3 | -0/+21 | |
| | | | | See added regression test. | |||||
* | 50874: fix handling of tty signals for jobs in the current shell when ↵ | Bart Schaefer | 2022-11-06 | 2 | -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). | |||||
* | 50851: restore typtab when necessary | Jun-ichi Takimoto | 2022-11-02 | 4 | -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. | |||||
* | unposted: incorrect email address | Bart Schaefer | 2022-10-31 | 1 | -1/+1 | |
| | ||||||
* | 50855: Clarify how commands are hashed, and searched-for by "whence". | Bart Schaefer | 2022-10-31 | 3 | -7/+20 | |
| | ||||||
* | 50844: Remove _stgit completion script | Peter Grayson | 2022-10-31 | 2 | -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> | |||||
* | 50840: Doc/Zsh/grammar.yo: Correct NO_MATCH to NOMATCH | Axel Beckert | 2022-10-25 | 2 | -1/+5 | |
| | ||||||
* | Unposted: Fix typo in comment | Bart Schaefer | 2022-10-23 | 1 | -1/+1 | |
| | ||||||
* | users/28243: update "typeset +" documentation | Bart Schaefer | 2022-10-23 | 2 | -4/+10 | |
| | ||||||
* | 50714: also complete in the 2nd argument of "git diff" anything that could | Bart Schaefer | 2022-10-22 | 2 | -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. | |||||
* | 50786: Make match etc. local when used in styles. | Peter Stephenson | 2022-10-17 | 2 | -2/+7 | |
| | | | | Avoids side effects of add-zle-hook-widget. | |||||
* | 50736: silence use-after-free warning (gcc-12.2) | Wesley Schwengle | 2022-10-17 | 2 | -4/+9 | |
| | ||||||
* | 50671: enable spell check in *.ztst by vim | Jun-ichi Takimoto | 2022-09-29 | 2 | -2/+6 | |
| | ||||||
* | 50695: Completion/Unix/Command/_mysql_utils add --protocol option | Eric Cook | 2022-09-28 | 2 | -0/+4 | |
| | ||||||
* | 50399: Completion/Base/Widget/_complete_debug | Bart Schaefer | 2022-09-28 | 2 | -1/+5 | |
| | | | | Properly local scope PS4 change | |||||
* | 50668: treat 8bit chars correctly when multibyte is unset | Jun-ichi Takimoto | 2022-09-27 | 3 | -1/+13 | |
| | | | | | The problem was found in character range, but may have existed in other occasions | |||||
* | 50662: unset LC_* for all the tests | Jun-ichi Takimoto | 2022-09-26 | 2 | -13/+5 | |
| | ||||||
* | 50658 + test: Enable to switch between C/UTF-8 locales in PCRE | Jun-ichi Takimoto | 2022-09-26 | 3 | -8/+18 | |
| | ||||||
* | 50648: Use $ZCALC_HISTORY where appropriate | Julian Prein | 2022-09-25 | 3 | -3/+13 | |
| | ||||||
* | 50641: use 'int main()' in test C-codes in configure | Nicholas Vinson | 2022-09-21 | 3 | -86/+77 | |
| | ||||||
* | 50629: do not use egrep in tests | Jun-ichi Takimoto | 2022-09-15 | 8 | -59/+29 | |
| | ||||||
* | unposted: _imagemagick: Add *.svg and *.webp files. | Daniel Shahaf | 2022-08-28 | 2 | -1/+6 | |
| | | | | As a comment just above the hunk indicates, many more formats could be added. | |||||
* | Felipe Contreras: 50435+50436 (+50444): do not build anything | Jun-ichi Takimoto | 2022-08-05 | 2 | -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. | |||||
* | 50421: add context as the 1st arg to _dispatch | Jun-ichi Takimoto | 2022-07-24 | 2 | -1/+5 | |
| | ||||||
* | 50418: use setenv(3)/getenv(3) on newer macOS | Jun-ichi Takimoto | 2022-07-24 | 3 | -1/+15 | |
| | ||||||
* | users/27852: local _compskip to avoid propagating any changes by _normal | Bart Schaefer | 2022-07-16 | 2 | -1/+6 | |
| | ||||||
* | 50379/50380: fix off-by-one side-effect of workers/49906 that broke $(jobs -l) | Bart Schaefer | 2022-06-21 | 2 | -1/+4 | |
| | ||||||
* | 50368: adjust ztie'd bitflags so local variables cannot mess with database | Bart Schaefer | 2022-06-21 | 2 | -3/+8 | |
| | ||||||
* | 50372: remove Usenet references from FAQ | Peter Stephenson | 2022-06-16 | 2 | -36/+9 | |
| | ||||||
* | 50365: fix indent in FAQ (text version) | Jun-ichi Takimoto | 2022-06-14 | 2 | -62/+11 | |
| | | | | | Lack of indent of the 1st line of a paragraph is fixed, but now two or more consecutive blank lines will be copied to text output as is. | |||||
* | 50355: documentation and return status consistency in zsh/system module | Bart Schaefer | 2022-06-11 | 3 | -5/+36 | |
| | ||||||
* | 50356: work around a yodl bug (mishandling of \'e) | Jun-ichi Takimoto | 2022-06-11 | 2 | -1/+6 | |
| | | | | the bug has been fixed at least in yodl-4.04.02 | |||||
* | 50363: avoid use of heap memory that depends on parameter scoping | Bart Schaefer | 2022-06-09 | 2 | -1/+16 | |
| | ||||||
* | 50359: fix bad sticky-emulation in "functions -c" | Matthew Martin | 2022-06-09 | 2 | -1/+5 | |
| | ||||||
* | 50351: "functions -c" can set signal traps | Bart Schaefer | 2022-06-09 | 2 | -1/+20 | |
| | ||||||
* | 50342: fix test added by 50306 | Jun-ichi Takimoto | 2022-06-09 | 3 | -1/+8 | |
| | ||||||
* | 50341: disallow here-document markers containing newline | Bart Schaefer | 2022-06-08 | 2 | -0/+5 | |
| | ||||||
* | 50335: simplify "wait" usage, fix signal handling | Bart Schaefer | 2022-06-08 | 2 | -10/+35 | |
| | | | | | | | | | - remove the preliminary "wait" for all the process - remove "nomonitor" (because it was only needed for that "wait") - explicitly adds traps to exit for tty-generated signals plus TERM - capture the signal trap context and restore it in background jobs - wrap in an "always" block to clean up local helper functions - update comments to note another buglet and drop support for zsh 4.x. | |||||
* | Tweaks to MULTI_FUNC_DEF | Peter Stephenson | 2022-06-07 | 4 | -2/+41 | |
| | | | | | | Output multiple function definitions using "function" form. Note exceptions to errors with NO_MULTI_FUNC_DEF | |||||
* | 50323: create helper for shadowing builtins or existing functions and use it ↵ | Bart Schaefer | 2022-06-04 | 4 | -2/+82 | |
| | | | | when redefining compadd et al. | |||||
* | 50325: revert 38150 and fix in calling function cfp_matcher_range() instead | Bart Schaefer | 2022-06-03 | 3 | -2/+7 | |
| | ||||||
* | 50306: fix wait for child that was stopped/continued | Jun-ichi Takimoto | 2022-06-03 | 4 | -8/+34 | |
| | | | | do not call addbgstatus() when child is stopped/continued | |||||
* | Marlon Richert: 50307 (cf. PWS 50205): suffix aliases should not collide ↵ | Bart Schaefer | 2022-05-30 | 2 | -0/+7 | |
| | | | | with directory names when completing | |||||
* | 50287: Use getcwd by default. | Peter Stephenson | 2022-05-26 | 2 | -2/+9 | |
| | ||||||
* | 50286: avoid zed error if nounset is in effect | Peter Stephenson | 2022-05-26 | 2 | -6/+12 | |
| |