about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 51291: support for highlighting ellipses in the line editorOliver Kiddle2023-01-102-25/+38
|
* 51290: fix display of control characters with SINGLE_LINE_ZLE setOliver Kiddle2023-01-101-3/+3
|
* 51289: don't disable non-colour attributes in prompts for SINGLE_LINE_ZLE ↵Oliver Kiddle2023-01-102-4/+1
| | | | and remove superfluous extra escapes to disable attributes
* 51281: keep track of attributes left on at the end of left and right prompts ↵Oliver Kiddle2023-01-103-27/+24
| | | | and reapply them explicitly as appropriate
* 51280: add support for italic and faint fonts in the line editorOliver Kiddle2023-01-104-48/+88
|
* 51258, 51272: refactor handling of terminal attributes, removing OFF flags ↵Oliver Kiddle2023-01-1015-471/+372
| | | | in zattr
* unposted: In a comment, replace a C variables glob pattern with its matches, ↵Daniel Shahaf2023-01-081-2/+2
| | | | for greppability.
* 51214: handle read -d and a delimiter that can't be decoded into a characterOliver Kiddle2022-12-171-2/+5
| | | | | | 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.
* 51207: fix for read -d when the delimiter is a byte >= 0x80Jun-ichi Takimoto2022-12-171-3/+4
|
* 51212: remove STOUC() macroOliver Kiddle2022-12-1631-191/+180
| | | | | This served as a workaround for ancient compilers where casts to unsigned char were broken.
* 51215: consume whole CSI sequences from the inputOliver Kiddle2022-12-161-2/+25
| | | | | | | 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.
* unposted: Follow-up to the last commit: Fix a typo in a comment.Daniel Shahaf2022-12-151-1/+1
|
* unposted: zsh.h: lextok: Add an explanatory comment with a cross-reference.Daniel Shahaf2022-12-151-0/+3
|
* 51210: Clear errflag before calling EXIT trapBart Schaefer2022-12-131-0/+4
| | | | | If this is not done, special cases such as failures in special builtins or errors in math expressions skip the trap execution.
* 51134: ! return doesn't change the return statusPeter Stephenson2022-12-121-1/+1
|
* 51161: correct errno after closing xtrace FDBart Schaefer2022-12-091-0/+3
|
* 51094: consistent use of bit-manipulation for noerrexit value changesPhilippe Altherr2022-12-032-4/+4
|
* 51098: remove unreachable NOERREXIT_UNTIL_EXEC code and effectsPhilippe Altherr2022-12-033-26/+4
|
* 51076: fix ERR_EXIT when used with "eval" or "source"; documentary commentsPhilippe Altherr2022-12-031-3/+43
|
* 51071: fix ERR_RETURN for functions in conditional statementsPhilippe Altherr2022-12-031-7/+5
|
* 51001: fix for ERR_EXIT following shell function; update testsPhilippe Altherr2022-12-031-9/+1
|
* 51001: fix for ERR_EXIT with pipeline negation ("!"); update testsPhilippe Altherr2022-12-031-5/+8
|
* 51001: fix for ERR_EXIT with "always" blocks; update testsPhilippe Altherr2022-12-031-0/+1
|
* 51001: Reverts 8839e969b, most of 1ba8714a, and d873ed60.Philippe Altherr2022-12-032-9/+7
| | | | Also correct ChangeLog
* 51080: allow multibyte chars in glob qualifier (u:uname:)Jun-ichi Takimoto2022-12-021-1/+1
|
* 51079: metafy sep in array subscript flag (s:sep:)Jun-ichi Takimoto2022-12-021-3/+7
| | | | this enable sep to contain \0 etc.
* 50934: use OSC 52 escape sequence when copying to "* or "+ vi buffersOliver Kiddle2022-11-173-4/+40
|
* 50929: fix handling of ERR_RETURN bent by 50928.Bart Schaefer2022-11-091-1/+1
|
* 50928: fix tests for 50897, mention behavior change in NEWSBart Schaefer2022-11-091-0/+2
|
* 50922: fix additional cases of signals for current shell jobs on the right ↵Bart Schaefer2022-11-092-8/+6
| | | | | | | | | 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_EXITBart Schaefer2022-11-082-7/+7
|
* users/28338: command substitution with alias edge case.Peter Stephenson2022-11-081-0/+8
| | | | See added regression test.
* 50874: fix handling of tty signals for jobs in the current shell when ↵Bart Schaefer2022-11-061-11/+13
| | | | | | | | | | | | | | | | | | | | | | | 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-022-1/+17
| | | | | | | | | 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: Fix typo in commentBart Schaefer2022-10-231-1/+1
|
* 50736: silence use-after-free warning (gcc-12.2)Wesley Schwengle2022-10-171-4/+4
|
* 50668: treat 8bit chars correctly when multibyte is unsetJun-ichi Takimoto2022-09-271-1/+1
| | | | | The problem was found in character range, but may have existed in other occasions
* 50658 + test: Enable to switch between C/UTF-8 locales in PCREJun-ichi Takimoto2022-09-261-8/+2
|
* 50418: use setenv(3)/getenv(3) on newer macOSJun-ichi Takimoto2022-07-241-1/+2
|
* 50379/50380: fix off-by-one side-effect of workers/49906 that broke $(jobs -l)Bart Schaefer2022-06-211-1/+1
|
* 50368: adjust ztie'd bitflags so local variables cannot mess with databaseBart Schaefer2022-06-211-3/+3
|
* 50355: documentation and return status consistency in zsh/system moduleBart Schaefer2022-06-111-2/+17
|
* 50363: avoid use of heap memory that depends on parameter scopingBart Schaefer2022-06-091-1/+11
|
* 50359: fix bad sticky-emulation in "functions -c"Matthew Martin2022-06-091-1/+1
|
* 50351: "functions -c" can set signal trapsBart Schaefer2022-06-091-1/+16
|
* 50342: fix test added by 50306Jun-ichi Takimoto2022-06-091-0/+2
|
* 50341: disallow here-document markers containing newlineBart Schaefer2022-06-081-0/+3
|
* Tweaks to MULTI_FUNC_DEFPeter Stephenson2022-06-071-2/+10
| | | | | | Output multiple function definitions using "function" form. Note exceptions to errors with NO_MULTI_FUNC_DEF
* 50325: revert 38150 and fix in calling function cfp_matcher_range() insteadBart Schaefer2022-06-032-2/+2
|
* 50306: fix wait for child that was stopped/continuedJun-ichi Takimoto2022-06-032-8/+22
| | | | do not call addbgstatus() when child is stopped/continued