summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2023-12-1352392: use octal escape to match = without error messages from awkOliver Kiddle1-1/+1
2023-12-1352382: avoid the non-standard \e in C code, preferring \033Oliver Kiddle2-2/+2
2023-12-09unposted: Fix longstanding typo in commentBart Schaefer1-1/+1
2023-12-0952365: record state of exited background jobs so as to be visible in TRAPCHLDBart Schaefer2-13/+22
2023-12-0552326, 52372: add -q option to kill for sigqueueOliver Kiddle1-2/+34
2023-11-2352325: Clarify doc for edge cases of named references and nofork substitutionBart Schaefer1-1/+1
Unposted whitespace change avoids a parse error in ${ ... } with comments.
2023-11-1852313: Src/exec.c: multios are not interactive and check for write errors.Bart Schaefer1-2/+6
2023-11-1552309: fix cases that hang with all signals blocked.Bart Schaefer1-2/+2
* no job control inside <<(substition) * allow interrupt of multios reading from a terminal
2023-11-1552275: rationality in zgetdir() and zgetcwd()Bart Schaefer1-48/+52
2023-11-1552202: improve handling of quoting in ${var/pattern/replacement}Bart Schaefer2-21/+39
2023-11-0852271: use correct form for unused parameterOliver Kiddle1-1/+1
2023-11-0252253: support pcre callouts with shell evaluation of the callout stringOliver Kiddle1-2/+32
2023-11-0152252: Coverity defect 1547827Oliver Kiddle1-1/+2
2023-10-2650569 (Daniel Shahaf): main keymap defaults to emacsBart Schaefer1-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".
2023-10-2652244: Fix a batch of minor defects reported by Coverity.Bart Schaefer9-37/+29
Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750
2023-10-24github #104: fix small typoErrrorMaxx1-1/+1
2023-10-1651490: Use time_t for lastt which stores result of time(0)Mikael Magnusson1-2/+2
Coverity complained about this, and possibly some more people would in 15 years
2023-10-1152189: ignore compadd -M if -U also specified as they don't make sense togetherOliver Kiddle1-1/+3
This fixes df completion.
2023-10-1152216: metafy usernames to allow for them to be UTF-8 encodedOliver Kiddle1-8/+18
2023-10-1152214: allow extra byte for nul terminator in allocationOliver Kiddle1-1/+1
2023-10-0552204: fix thinko, unmeta() buffer should not be freedBart Schaefer1-2/+0
2023-10-0352198: put back incorrectly removed zfree()Bart Schaefer1-0/+1
2023-10-0152195: cached_username is already metafied when initializing LOGNAMEBart Schaefer1-4/+3
2023-10-0152193: handle UTF8-encoded USERNAME and therefore home directory in zcompileBart Schaefer4-7/+13
Includes one unposted thinko fix ztrdup -> dupstring
2023-09-2752169: a few more improvements of (#) flagJun-ichi Takimoto2-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__).
2023-09-2252176: metafy return from ${ ... } substitutionBart Schaefer1-3/+4
2023-09-16users/29160, workers/52156: Fix repetition of substitution modifier.Bart Schaefer1-2/+4
2023-09-1652154, 52155: Implement, document, and test non-forking command substitution.Bart Schaefer2-19/+210
Comprises workers/51957, 51985, 51987, 51988, 51993, 52131, 52139, plus fixes for return values, parse errors, and trailing newlines (which were incorrectly removed) in ${ ... }
2023-09-1652153: mapfile without HAVE_MMAP should not trim newlinesBart Schaefer2-13/+41
2023-09-1352122 + 52129: fix (#) parameter expansion flagJun-ichi Takimoto1-3/+10
Without the X flag, null string "" is substituted for bad math expression.
2023-09-1052125: getoutput() must not free() after gettempname(..., 1) for heapBart Schaefer1-1/+0
2023-09-0552115: permit repeated "private" declarations as long as types aren't changedBart Schaefer1-3/+46
2023-09-03users/29220: fix bug with assignment to private following explicit unsetBart Schaefer1-11/+18
2023-08-2752053: whitelist capability CAP_WAKE_ALARMRobert Woods1-3/+3
Since the systemd update v254 from July 28, 2023, the capability 'CAP_WAKE_ALARM' is passed by default to some user process (especially desktop managers). Since 'CAP_WAKE_ALARM' is very narrow in focus, it is preferable that zsh does not consider it as a 'privileged' capability.
2023-08-22users/29175: Don't need to forget zle edits if noneNojus Gudinavičius1-0/+12
2023-08-0152008: Pattern bug with branches + exclusionPeter Stephenson1-2/+20
Add tests.
2023-07-2651945: assorted documentation improvements, bug fixes, and new testBart Schaefer2-13/+42
1) Document the behavior of "typeset -n existing_var" (via Jun T. comment) 2) Prohibit "typeset -nm pattern" because, well, it's insane. Add test. 3) Improve doc for ${(!)ref} including ${{t!)ref} (Jun T.) 4) Fix doc for how-to unset of a named ref (Jun T.) 5) Allow "typeset +r -n ref" and "typeset +r +n ref" (Jun T.) 6) Fix "typeset -r -n ref=param" to create readonly references 7) Avoid accidental removal of PM_UNSET flag (Jun T.) and update test 8) Fix "typeset -gn ref=value" and add a test for it 9) Add tests for read-only reference behavior 10) Fix infinite recursion when resolving scope of an unset local named reference, add test.
2023-07-2651969: read -d and -s should not reset terminal state when stdin is redirectedBart Schaefer1-3/+3
2023-07-2651950 (tweak per 51949): correct Thingy refcount in raw_getbyte()Bart Schaefer1-1/+2
2023-07-2051977: PIPEFAIL interaction with ERREXIT / ERRRETURNPeter Stephenson1-5/+11
Ensure the list-level error handling code is executed if we detect pipe failure for a foreground job. Add tests.
2023-07-0951890: fix "whence -wa" for multiple argumentsBart Schaefer1-0/+1
2023-06-2651889: fix module loading problem with full RELROJun-ichi Takimoto2-1/+25
If full RELRO (relocation read-only, one of the security enhancement methods for ELF-based systems) is used when building zsh (as in binary packages of most Linuxes), loading a module (e.g. zsh/zftp) fails unless all the modules it depends on are already loaded. With this patch the necessary modules are automatically loaded.
2023-06-2651884: reset IFS if it contains invalid charactersJun-ichi Takimoto2-16/+29
This happens only if MULTIBYTE option is on.
2023-06-2251887: namespaces recognized in math, incorrect usages rejected.Bart Schaefer2-4/+33
2023-06-2051877: do not build pcre module if pcre2-config is not foundJun-ichi Takimoto1-1/+1
2023-06-0851826: correctly read metafied null character from history fileJun-ichi Takimoto1-2/+8
2023-06-0651816: add :S history modifier with pattern matchPeter Stephenson2-8/+21
2023-05-2551739: detect invalid history word beginningPeter Stephenson1-1/+6
2023-05-2151769: fix compilation when HAVE_GETRUSAGE is not definedOliver Kiddle2-1/+3
Also silence compiler warning when HAVE_SETUPTERM is not defined.
2023-05-1351722: Safety for extracting elements of $historywordsPeter Stephenson1-2/+9