| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | 53578 (tweaked): silence gcc warnings | dana | 2025-11-16 | 1 | -9/+13 |
| | | | | | | | addresses -Wmaybe-uninitialized and (spurious) -Wformat-overflow warnings omitted the change for zle_refresh.c since it was caught in w/54036 | ||||
| * | 54007: remove some uses of mod_export that were likely unintended | Oliver Kiddle | 2025-10-31 | 1 | -1/+1 |
| | | |||||
| * | 54001: add missing uses of mod_export | Oliver Kiddle | 2025-10-24 | 1 | -1/+2 |
| | | |||||
| * | github #126: Fix some typos | Wu, Zhenyu | 2025-01-27 | 1 | -2/+2 |
| | | |||||
| * | 53257: use monotonic clock where appropriate | dana | 2024-12-26 | 1 | -11/+10 |
| | | | | | | | | | | | | | | | | update the following features to use the monotonic clock for calculating time deltas and intervals: * MAILCHECK parameter * PERIOD parameter * SECONDS parameter * %(nS.t.f) prompt-expansion sequence * time built-in's elapsed time and cpu % values * zsh/zftp ZFTP_TMOUT parameter * zsh/zprof timings also use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC on macOS | ||||
| * | 53146: flags cannot be copied from an undefined function (cf. ca6f4466) | Bart Schaefer | 2024-10-16 | 1 | -1/+2 |
| | | |||||
| * | 53088: enable `time' on builtins, assignments, and current-shell actions | Bart Schaefer | 2024-09-14 | 1 | -2/+40 |
| | | |||||
| * | 53005: off-by-one error when resetting signals on subshell entrance | Philippe Altherr | 2024-08-04 | 1 | -2/+2 |
| | | |||||
| * | 52985: avoid adding original param to restorelist | Jun-ichi Takimoto | 2024-07-04 | 1 | -4/+3 |
| | | |||||
| * | 52977: ERR_EXIT/ERR_RETURN are respected by the final command in && / || lists | Philippe Altherr | 2024-06-28 | 1 | -0/+1 |
| | | |||||
| * | 52750: remove ansi2knr support for old pre-ansi K&R compilers | Oliver Kiddle | 2024-03-18 | 1 | -1/+1 |
| | | |||||
| * | 52650 plus minor fixes: add -u for named references pointing to "upper" scope | Bart Schaefer | 2024-03-04 | 1 | -1/+21 |
| | | |||||
| * | 52594: support for POSIX real-time signals with kill and trap | Oliver Kiddle | 2024-02-28 | 1 | -1/+1 |
| | | | | | Also add new -L option to kill for a more verbose listing of signals | ||||
| * | Fix META_NOALLOC to META_STATIC in 'bad interpreter' metafy | Bart Schaefer | 2024-02-24 | 1 | -2/+2 |
| | | |||||
| * | 52596: metafy interpreter name for error message | Bart Schaefer | 2024-02-24 | 1 | -3/+3 |
| | | |||||
| * | 45837: fix process group restoration upon exit | Stephane Chazelas | 2024-02-18 | 1 | -1/+1 |
| | | |||||
| * | 52515: (+ tests in 52527) avoid sh errors when running shebang-less scripts ↵ | Stephane Chazelas | 2024-02-18 | 1 | -2/+15 |
| | | | | | with paths starting with - or + | ||||
| * | 52313: Src/exec.c: multios are not interactive and check for write errors. | Bart Schaefer | 2023-11-18 | 1 | -2/+6 |
| | | |||||
| * | 52309: fix cases that hang with all signals blocked. | Bart Schaefer | 2023-11-15 | 1 | -2/+2 |
| | | | | | | * no job control inside <<(substition) * allow interrupt of multios reading from a terminal | ||||
| * | github #104: fix small typo | ErrrorMaxx | 2023-10-24 | 1 | -1/+1 |
| | | |||||
| * | 52125: getoutput() must not free() after gettempname(..., 1) for heap | Bart Schaefer | 2023-09-10 | 1 | -1/+0 |
| | | |||||
| * | 51652: fix running of TRAPEXIT explicitly. | Peter Stephenson | 2023-04-17 | 1 | -1/+33 |
| | | | | | | | This is a special case where TRAPEXIT is unset within a TRAPEXIT as it should never run in a nested context, so just save the function structure temporarily on the heap. | ||||
| * | 51632: nmetafy $_ when exporting it to child | Jun-ichi Takimoto | 2023-04-09 | 1 | -1/+1 |
| | | |||||
| * | 51608: Don't execute commands after "continue &&" | Peter Stephenson | 2023-03-29 | 1 | -2/+2 |
| | | | | | Also ! continue || | ||||
| * | 51424: $(<...) shouldn't try to open a file with NO_EXEC | Peter Stephenson | 2023-02-14 | 1 | -0/+3 |
| | | |||||
| * | 51212: remove STOUC() macro | Oliver Kiddle | 2022-12-16 | 1 | -1/+1 |
| | | | | | | This served as a workaround for ancient compilers where casts to unsigned char were broken. | ||||
| * | 51210: Clear errflag before calling EXIT trap | Bart Schaefer | 2022-12-13 | 1 | -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 status | Peter Stephenson | 2022-12-12 | 1 | -1/+1 |
| | | |||||
| * | 51161: correct errno after closing xtrace FD | Bart Schaefer | 2022-12-09 | 1 | -0/+3 |
| | | |||||
| * | 51094: consistent use of bit-manipulation for noerrexit value changes | Philippe Altherr | 2022-12-03 | 1 | -3/+3 |
| | | |||||
| * | 51098: remove unreachable NOERREXIT_UNTIL_EXEC code and effects | Philippe Altherr | 2022-12-03 | 1 | -12/+1 |
| | | |||||
| * | 51076: fix ERR_EXIT when used with "eval" or "source"; documentary comments | Philippe Altherr | 2022-12-03 | 1 | -3/+43 |
| | | |||||
| * | 51071: fix ERR_RETURN for functions in conditional statements | Philippe Altherr | 2022-12-03 | 1 | -7/+5 |
| | | |||||
| * | 51001: fix for ERR_EXIT following shell function; update tests | Philippe Altherr | 2022-12-03 | 1 | -9/+1 |
| | | |||||
| * | 51001: fix for ERR_EXIT with pipeline negation ("!"); update tests | Philippe Altherr | 2022-12-03 | 1 | -5/+8 |
| | | |||||
| * | 51001: Reverts 8839e969b, most of 1ba8714a, and d873ed60. | Philippe Altherr | 2022-12-03 | 1 | -3/+1 |
| | | | | | Also correct ChangeLog | ||||
| * | 50929: fix handling of ERR_RETURN bent by 50928. | Bart Schaefer | 2022-11-09 | 1 | -1/+1 |
| | | |||||
| * | 50928: fix tests for 50897, mention behavior change in NEWS | Bart Schaefer | 2022-11-09 | 1 | -0/+2 |
| | | |||||
| * | 50922: fix additional cases of signals for current shell jobs on the right ↵ | Bart Schaefer | 2022-11-09 | 1 | -2/+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_EXIT | Bart Schaefer | 2022-11-08 | 1 | -1/+1 |
| | | |||||
| * | 50851: restore typtab when necessary | Jun-ichi Takimoto | 2022-11-02 | 1 | -0/+12 |
| | | | | | | | | | | 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. | ||||
| * | 50136: Fix =(nosuchcommand) race/deadlock first reported in workers/42609 | Bart Schaefer | 2022-04-29 | 1 | -4/+0 |
| | | |||||
| * | 50162: Fix multios with current-shell "exec" (aka nullexec). | Bart Schaefer | 2022-04-28 | 1 | -0/+4 |
| | | |||||
| * | 50049: care with signed characters | Peter Stephenson | 2022-04-25 | 1 | -1/+1 |
| | | | | | | Some signed-to-unsigned casts needed for a couple of cases of pointers used as indices. | ||||
| * | 49906 (Bart), 49911: Fixes to querying jobs in subshell. | Peter Stephenson | 2022-03-30 | 1 | -0/+1 |
| | | | | | | | | | Don't attempt to query invalid job off end of table, resulting in crashes from $jobtstates. If background task started in subshell, look at tatsks within subshell instead of main shell. Document and add test. | ||||
| * | 49813: <<<: Document newline behavior and fix optimization | Mikael Magnusson | 2022-03-30 | 1 | -1/+3 |
| | | | | | | The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo) always did, make the behavior consistent, and document it. | ||||
| * | 49694 + doc: Allow using empty STTY= to freeze tty for a single command | Mikael Magnusson | 2022-01-30 | 1 | -2/+4 |
| | | | | | | Previously, doing this would just run stty with no arguments, which normally causes it to print some terminal settings to stdout. | ||||
| * | github #82: Fix typos | Dimitris Apostolou | 2021-11-12 | 1 | -1/+1 |
| | | |||||
| * | 49353: Fix comments in sourced file. | Peter Stephenson | 2021-09-09 | 1 | -1/+1 |
| | | | | | | | | | If the file was sourced from an interactive shell with INTERACTIVE_COMMENTS not set, comments were not parsed. Note there is a remaining edge case where the sourced file is in fact entered at the comment line. | ||||
| * | 49307 with doc update: POSIX_TRAPS fix. | Peter Stephenson | 2021-08-26 | 1 | -1/+2 |
| | | | | | | With POSIX_TRAPS set, an ignored signal stays ignored when entering a subshell. | ||||
