about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* users/28338: command substitution with alias edge case.Peter Stephenson2022-11-083-0/+21
| | | | See added regression test.
* 50874: fix handling of tty signals for jobs in the current shell when ↵Bart Schaefer2022-11-062-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 necessaryJun-ichi Takimoto2022-11-024-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 addressBart Schaefer2022-10-311-1/+1
|
* 50855: Clarify how commands are hashed, and searched-for by "whence".Bart Schaefer2022-10-313-7/+20
|
* 50844: Remove _stgit completion scriptPeter Grayson2022-10-312-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 NOMATCHAxel Beckert2022-10-252-1/+5
|
* Unposted: Fix typo in commentBart Schaefer2022-10-231-1/+1
|
* users/28243: update "typeset +" documentationBart Schaefer2022-10-232-4/+10
|
* 50714: also complete in the 2nd argument of "git diff" anything that couldBart Schaefer2022-10-222-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 Stephenson2022-10-172-2/+7
| | | | Avoids side effects of add-zle-hook-widget.
* 50736: silence use-after-free warning (gcc-12.2)Wesley Schwengle2022-10-172-4/+9
|
* 50671: enable spell check in *.ztst by vimJun-ichi Takimoto2022-09-292-2/+6
|
* 50695: Completion/Unix/Command/_mysql_utils add --protocol optionEric Cook2022-09-282-0/+4
|
* 50399: Completion/Base/Widget/_complete_debugBart Schaefer2022-09-282-1/+5
| | | | Properly local scope PS4 change
* 50668: treat 8bit chars correctly when multibyte is unsetJun-ichi Takimoto2022-09-273-1/+13
| | | | | The problem was found in character range, but may have existed in other occasions
* 50662: unset LC_* for all the testsJun-ichi Takimoto2022-09-262-13/+5
|
* 50658 + test: Enable to switch between C/UTF-8 locales in PCREJun-ichi Takimoto2022-09-263-8/+18
|
* 50648: Use $ZCALC_HISTORY where appropriateJulian Prein2022-09-253-3/+13
|
* 50641: use 'int main()' in test C-codes in configureNicholas Vinson2022-09-213-86/+77
|
* 50629: do not use egrep in testsJun-ichi Takimoto2022-09-158-59/+29
|
* unposted: _imagemagick: Add *.svg and *.webp files.Daniel Shahaf2022-08-282-1/+6
| | | | As a comment just above the hunk indicates, many more formats could be added.
* Felipe Contreras: 50435+50436 (+50444): do not build anythingJun-ichi Takimoto2022-08-052-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 _dispatchJun-ichi Takimoto2022-07-242-1/+5
|
* 50418: use setenv(3)/getenv(3) on newer macOSJun-ichi Takimoto2022-07-243-1/+15
|
* users/27852: local _compskip to avoid propagating any changes by _normalBart Schaefer2022-07-162-1/+6
|
* 50379/50380: fix off-by-one side-effect of workers/49906 that broke $(jobs -l)Bart Schaefer2022-06-212-1/+4
|
* 50368: adjust ztie'd bitflags so local variables cannot mess with databaseBart Schaefer2022-06-212-3/+8
|
* 50372: remove Usenet references from FAQPeter Stephenson2022-06-162-36/+9
|
* 50365: fix indent in FAQ (text version)Jun-ichi Takimoto2022-06-142-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 moduleBart Schaefer2022-06-113-5/+36
|
* 50356: work around a yodl bug (mishandling of \'e)Jun-ichi Takimoto2022-06-112-1/+6
| | | | the bug has been fixed at least in yodl-4.04.02
* 50363: avoid use of heap memory that depends on parameter scopingBart Schaefer2022-06-092-1/+16
|
* 50359: fix bad sticky-emulation in "functions -c"Matthew Martin2022-06-092-1/+5
|
* 50351: "functions -c" can set signal trapsBart Schaefer2022-06-092-1/+20
|
* 50342: fix test added by 50306Jun-ichi Takimoto2022-06-093-1/+8
|
* 50341: disallow here-document markers containing newlineBart Schaefer2022-06-082-0/+5
|
* 50335: simplify "wait" usage, fix signal handlingBart Schaefer2022-06-082-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_DEFPeter Stephenson2022-06-074-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 Schaefer2022-06-044-2/+82
| | | | when redefining compadd et al.
* 50325: revert 38150 and fix in calling function cfp_matcher_range() insteadBart Schaefer2022-06-033-2/+7
|
* 50306: fix wait for child that was stopped/continuedJun-ichi Takimoto2022-06-034-8/+34
| | | | do not call addbgstatus() when child is stopped/continued
* Marlon Richert: 50307 (cf. PWS 50205): suffix aliases should not collide ↵Bart Schaefer2022-05-302-0/+7
| | | | with directory names when completing
* 50287: Use getcwd by default.Peter Stephenson2022-05-262-2/+9
|
* 50286: avoid zed error if nounset is in effectPeter Stephenson2022-05-262-6/+12
|
* github #94: Support .zst kernel modules with modutilsNorbert Lange2022-05-252-1/+4
|
* github #93: Replace /etc/mtab with /proc/self/mounts for LinuxNorbert Lange2022-05-254-3/+15
| | | | | | /proc/self/mounts has been available since Linux 2.4.19, released in 2002. /etc/mtab is usually a symlink to this file but might not exist
* 50278: use `man -w` in preference to `manpath`; fix caching and precedence of -MBart Schaefer2022-05-222-17/+33
|
* github #91: _find (gnu/freebsd/darwin): Add some flags and syntaxesArvid Norlander2022-05-202-3/+14
| | | | | | | | | | | | | * -exec and -execdir can take ; or + as an ending marker. Previously only ; was supported. This is part of POSIX for -exec (support for + for -ok is optional and none of the implementations I looked at seem to support that). * Missing completion for -files0-from (GNU find 4.9.0 and later). This flag needs to go with the global flags at the beginning and load the paths from the given file instead of from the command line. * Missing completion for the -newerXY family of flags (GNU find 4.3.3, also available in FreeBSD and MacOS at least).
* 50229: TypoBart Schaefer2022-05-142-1/+3
|