Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | unposted: referent of named reference cannot start with digits | Bart Schaefer | 2024-02-18 | 1 | -0/+2 |
| | | | | This duplicates ksh behavior and doesn't change useful functionality. | ||||
* | 45837: fix process group restoration upon exit | Stephane Chazelas | 2024-02-18 | 3 | -9/+13 |
| | |||||
* | 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 + | ||||
* | 52556: fix crash when changing type of unset referent via named reference | Bart Schaefer | 2024-02-17 | 1 | -2/+4 |
| | |||||
* | 52533: add module to provide alternate readonly views of the content of ↵ | Oliver Kiddle | 2024-02-15 | 3 | -0/+246 |
| | | | | .zle.hlgroups | ||||
* | 52526: metafy terminfo capabilities | Mikael Magnusson | 2024-02-09 | 1 | -2/+2 |
| | |||||
* | 52517: ensure that %H is followed by { | Mikael Magnusson | 2024-02-04 | 1 | -4/+6 |
| | | | | | The previous code would accept any character after %H assuming it was a {, which was probably also a buffer overrun sometimes. | ||||
* | 52516: fix crash in %H when hlgroups is empty | Mikael Magnusson | 2024-02-04 | 1 | -1/+1 |
| | | | | typeset -A .zle.hlgroups; print -P %H | ||||
* | Typos in previous commit comments | Bart Schaefer | 2024-02-03 | 2 | -2/+2 |
| | |||||
* | unposted: Record as comments some notes about namespace usage exceptions. | Bart Schaefer | 2024-02-03 | 3 | -1/+7 |
| | |||||
* | 52513: fixes and doc for using nofork substitutions with private parameters | Bart Schaefer | 2024-02-03 | 2 | -25/+45 |
| | | | | Also fixes a crash bug with {fd}>&N redirections and private parameters | ||||
* | 52509: manage internals of stdio objects when performing redirections. | Bart Schaefer | 2024-01-28 | 1 | -0/+22 |
| | |||||
* | 52500: add layer token to zle attributes | Oliver Kiddle | 2024-01-28 | 3 | -46/+84 |
| | | | | | This provide control over the precedence of highlighting where different regions overlap. | ||||
* | 52499: support highlight groups | Oliver Kiddle | 2024-01-28 | 1 | -2/+48 |
| | | | | | These are defined in a .zle.hlgroups associative array and referenced using %H in prompt strings or hl= in zle_highlight/region_highlight. | ||||
* | unposted: remove unused variable to silence compiler warning | Oliver Kiddle | 2024-01-28 | 1 | -2/+1 |
| | |||||
* | 52442: mark hookdef.name as const | Jörg Sommer | 2024-01-28 | 1 | -1/+1 |
| | | | | | At least *zle_main* uses const strings to initialize its structure *zlehooks*. | ||||
* | 52444: module: Mark name argument of some functions const | Jörg Sommer | 2024-01-28 | 1 | -7/+8 |
| | |||||
* | 52441: zle_vi: Mark variables with const init as const | Jörg Sommer | 2024-01-28 | 1 | -1/+1 |
| | | | | | | Because these variables are initialized with as constant string, they should be marked as *const* to make the compiler running with `-Wwrite-strings` more happy. | ||||
* | 52440: zle.textobjects: Mark variables as const | Jörg Sommer | 2024-01-28 | 1 | -3/+3 |
| | | | | | | Because these variables are initialized with as constant string, they should be marked as *const* to make the compiler running with `-Wwrite-strings` more happy. | ||||
* | 52405, 52502: add empty elements to $match for optional captures that don't ↵ | Oliver Kiddle | 2024-01-26 | 1 | -1/+4 |
| | | | | match | ||||
* | 52492: prevent indexing error on recursive arithmetic in array subscript | Bart Schaefer | 2024-01-24 | 1 | -1/+6 |
| | | | | Operator returns error when operand returns error | ||||
* | 52482: strip trailing newlines in emulation modes of ${ command; } | Bart Schaefer | 2024-01-24 | 1 | -0/+6 |
| | |||||
* | 52477: fix "zcurses mouse delay ..." and one other typo | Bart Schaefer | 2024-01-24 | 1 | -2/+2 |
| | |||||
* | 52473: zstyle -q for testing existence of a zstyle setting | Bart Schaefer | 2024-01-24 | 1 | -0/+32 |
| | |||||
* | 52468: save and restore state of correct TTY when using read -s / -d | Bart Schaefer | 2024-01-24 | 2 | -15/+29 |
| | |||||
* | 52392: use octal escape to match = without error messages from awk | Oliver Kiddle | 2023-12-13 | 1 | -1/+1 |
| | |||||
* | 52382: avoid the non-standard \e in C code, preferring \033 | Oliver Kiddle | 2023-12-13 | 2 | -2/+2 |
| | |||||
* | unposted: Fix longstanding typo in comment | Bart Schaefer | 2023-12-09 | 1 | -1/+1 |
| | |||||
* | 52365: record state of exited background jobs so as to be visible in TRAPCHLD | Bart Schaefer | 2023-12-09 | 2 | -13/+22 |
| | |||||
* | 52326, 52372: add -q option to kill for sigqueue | Oliver Kiddle | 2023-12-05 | 1 | -2/+34 |
| | |||||
* | 52325: Clarify doc for edge cases of named references and nofork substitution | Bart Schaefer | 2023-11-23 | 1 | -1/+1 |
| | | | | Unposted whitespace change avoids a parse error in ${ ... } with comments. | ||||
* | 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 | ||||
* | 52275: rationality in zgetdir() and zgetcwd() | Bart Schaefer | 2023-11-15 | 1 | -48/+52 |
| | |||||
* | 52202: improve handling of quoting in ${var/pattern/replacement} | Bart Schaefer | 2023-11-15 | 2 | -21/+39 |
| | |||||
* | 52271: use correct form for unused parameter | Oliver Kiddle | 2023-11-08 | 1 | -1/+1 |
| | |||||
* | 52253: support pcre callouts with shell evaluation of the callout string | Oliver Kiddle | 2023-11-02 | 1 | -2/+32 |
| | |||||
* | 52252: Coverity defect 1547827 | Oliver Kiddle | 2023-11-01 | 1 | -1/+2 |
| | |||||
* | 50569 (Daniel Shahaf): main keymap defaults to emacs | Bart Schaefer | 2023-10-26 | 1 | -9/+3 |
| | | | | | Tweaked to make the sample .zshrc code better match the former C code, and to remove the declaration of no-longer-used variable "ed". | ||||
* | 52244: Fix a batch of minor defects reported by Coverity. | Bart Schaefer | 2023-10-26 | 9 | -37/+29 |
| | | | | | | Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750 | ||||
* | github #104: fix small typo | ErrrorMaxx | 2023-10-24 | 1 | -1/+1 |
| | |||||
* | 51490: Use time_t for lastt which stores result of time(0) | Mikael Magnusson | 2023-10-16 | 1 | -2/+2 |
| | | | | | Coverity complained about this, and possibly some more people would in 15 years | ||||
* | 52189: ignore compadd -M if -U also specified as they don't make sense together | Oliver Kiddle | 2023-10-11 | 1 | -1/+3 |
| | | | | This fixes df completion. | ||||
* | 52216: metafy usernames to allow for them to be UTF-8 encoded | Oliver Kiddle | 2023-10-11 | 1 | -8/+18 |
| | |||||
* | 52214: allow extra byte for nul terminator in allocation | Oliver Kiddle | 2023-10-11 | 1 | -1/+1 |
| | |||||
* | 52204: fix thinko, unmeta() buffer should not be freed | Bart Schaefer | 2023-10-05 | 1 | -2/+0 |
| | |||||
* | 52198: put back incorrectly removed zfree() | Bart Schaefer | 2023-10-03 | 1 | -0/+1 |
| | |||||
* | 52195: cached_username is already metafied when initializing LOGNAME | Bart Schaefer | 2023-10-01 | 1 | -4/+3 |
| | |||||
* | 52193: handle UTF8-encoded USERNAME and therefore home directory in zcompile | Bart Schaefer | 2023-10-01 | 4 | -7/+13 |
| | | | | Includes one unposted thinko fix ztrdup -> dupstring | ||||
* | 52169: a few more improvements of (#) flag | Jun-ichi Takimoto | 2023-09-27 | 2 | -124/+121 |
| | | | | | | fix (#X) in C locale in FreeBSD, DragonFly, NetBSD. Negative values such as ${(#X):--1} are now error. UCS4 is limited to < 0x8000_0000 (in OSes without __STDC_ISO_10646__). |