about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* unposted: referent of named reference cannot start with digitsBart Schaefer2024-02-181-0/+2
| | | | This duplicates ksh behavior and doesn't change useful functionality.
* 45837: fix process group restoration upon exitStephane Chazelas2024-02-183-9/+13
|
* 52515: (+ tests in 52527) avoid sh errors when running shebang-less scripts ↵Stephane Chazelas2024-02-181-2/+15
| | | | with paths starting with - or +
* 52556: fix crash when changing type of unset referent via named referenceBart Schaefer2024-02-171-2/+4
|
* 52533: add module to provide alternate readonly views of the content of ↵Oliver Kiddle2024-02-153-0/+246
| | | | .zle.hlgroups
* 52526: metafy terminfo capabilitiesMikael Magnusson2024-02-091-2/+2
|
* 52517: ensure that %H is followed by {Mikael Magnusson2024-02-041-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 emptyMikael Magnusson2024-02-041-1/+1
| | | | typeset -A .zle.hlgroups; print -P %H
* Typos in previous commit commentsBart Schaefer2024-02-032-2/+2
|
* unposted: Record as comments some notes about namespace usage exceptions.Bart Schaefer2024-02-033-1/+7
|
* 52513: fixes and doc for using nofork substitutions with private parametersBart Schaefer2024-02-032-25/+45
| | | | Also fixes a crash bug with {fd}>&N redirections and private parameters
* 52509: manage internals of stdio objects when performing redirections.Bart Schaefer2024-01-281-0/+22
|
* 52500: add layer token to zle attributesOliver Kiddle2024-01-283-46/+84
| | | | | This provide control over the precedence of highlighting where different regions overlap.
* 52499: support highlight groupsOliver Kiddle2024-01-281-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 warningOliver Kiddle2024-01-281-2/+1
|
* 52442: mark hookdef.name as constJörg Sommer2024-01-281-1/+1
| | | | | At least *zle_main* uses const strings to initialize its structure *zlehooks*.
* 52444: module: Mark name argument of some functions constJörg Sommer2024-01-281-7/+8
|
* 52441: zle_vi: Mark variables with const init as constJörg Sommer2024-01-281-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 constJörg Sommer2024-01-281-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 Kiddle2024-01-261-1/+4
| | | | match
* 52492: prevent indexing error on recursive arithmetic in array subscriptBart Schaefer2024-01-241-1/+6
| | | | Operator returns error when operand returns error
* 52482: strip trailing newlines in emulation modes of ${ command; }Bart Schaefer2024-01-241-0/+6
|
* 52477: fix "zcurses mouse delay ..." and one other typoBart Schaefer2024-01-241-2/+2
|
* 52473: zstyle -q for testing existence of a zstyle settingBart Schaefer2024-01-241-0/+32
|
* 52468: save and restore state of correct TTY when using read -s / -dBart Schaefer2024-01-242-15/+29
|
* 52392: use octal escape to match = without error messages from awkOliver Kiddle2023-12-131-1/+1
|
* 52382: avoid the non-standard \e in C code, preferring \033Oliver Kiddle2023-12-132-2/+2
|
* unposted: Fix longstanding typo in commentBart Schaefer2023-12-091-1/+1
|
* 52365: record state of exited background jobs so as to be visible in TRAPCHLDBart Schaefer2023-12-092-13/+22
|
* 52326, 52372: add -q option to kill for sigqueueOliver Kiddle2023-12-051-2/+34
|
* 52325: Clarify doc for edge cases of named references and nofork substitutionBart Schaefer2023-11-231-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 Schaefer2023-11-181-2/+6
|
* 52309: fix cases that hang with all signals blocked.Bart Schaefer2023-11-151-2/+2
| | | | | * no job control inside <<(substition) * allow interrupt of multios reading from a terminal
* 52275: rationality in zgetdir() and zgetcwd()Bart Schaefer2023-11-151-48/+52
|
* 52202: improve handling of quoting in ${var/pattern/replacement}Bart Schaefer2023-11-152-21/+39
|
* 52271: use correct form for unused parameterOliver Kiddle2023-11-081-1/+1
|
* 52253: support pcre callouts with shell evaluation of the callout stringOliver Kiddle2023-11-021-2/+32
|
* 52252: Coverity defect 1547827Oliver Kiddle2023-11-011-1/+2
|
* 50569 (Daniel Shahaf): main keymap defaults to emacsBart Schaefer2023-10-261-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 Schaefer2023-10-269-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 typoErrrorMaxx2023-10-241-1/+1
|
* 51490: Use time_t for lastt which stores result of time(0)Mikael Magnusson2023-10-161-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 togetherOliver Kiddle2023-10-111-1/+3
| | | | This fixes df completion.
* 52216: metafy usernames to allow for them to be UTF-8 encodedOliver Kiddle2023-10-111-8/+18
|
* 52214: allow extra byte for nul terminator in allocationOliver Kiddle2023-10-111-1/+1
|
* 52204: fix thinko, unmeta() buffer should not be freedBart Schaefer2023-10-051-2/+0
|
* 52198: put back incorrectly removed zfree()Bart Schaefer2023-10-031-0/+1
|
* 52195: cached_username is already metafied when initializing LOGNAMEBart Schaefer2023-10-011-4/+3
|
* 52193: handle UTF8-encoded USERNAME and therefore home directory in zcompileBart Schaefer2023-10-014-7/+13
| | | | Includes one unposted thinko fix ztrdup -> dupstring
* 52169: a few more improvements of (#) flagJun-ichi Takimoto2023-09-272-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__).