summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
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
2023-05-1351738: support pcre's alternative DFA matching algorithmOliver Kiddle1-17/+36
2023-05-1351728: assign pcre named capture groups to a hashOliver Kiddle1-10/+33
2023-05-1351723: migrate pcre module to pcre2Oliver Kiddle1-136/+87
2023-05-11users/29070: clean up tokens in cmdstr before compctl completionBart Schaefer1-0/+2
2023-04-2251670: prevent possible underflow in gettext()Bart Schaefer1-1/+1
2023-04-1751652: fix running of TRAPEXIT explicitly.Peter Stephenson1-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.
2023-04-1151639: new parameter ZSH_EXEPATH (full path of zsh executable)Jun-ichi Takimoto1-1/+116
The full pathname is obatined by a reliable method on macOS and systems that support procfs. But on other systems (FreeBSD, OpenBSD, ...) it is guessed from argv[0], PWD and PATH.
2023-04-0951631: initialize $_ by copying it from environmentJun-ichi Takimoto1-3/+6
2023-04-0951632: nmetafy $_ when exporting it to childJun-ichi Takimoto1-1/+1
2023-04-0351597: fix 'vared -c var' when var is unsetJun-ichi Takimoto1-1/+2
2023-03-3051604: %M in TIMEFMT should report in kilobytesJun-ichi Takimoto1-7/+7
2023-03-2951608: Don't execute commands after "continue &&"Peter Stephenson1-2/+2
Also ! continue ||
2023-03-2851602: Handle SIGIOT as an alias to SIGABRT if they are the same signal numberMikael Magnusson2-4/+10
2023-03-2258586: print "%s" with invalid multibyte characterPeter Stephenson1-13/+14
Treat each byte that is invalid or part of an incopmlete set as a single byte.
2023-03-1451573: additional "typset -p -m" fix for namespacesBart Schaefer1-3/+5
The "-m pattern" option is supposed to enable printing namespaces, but that didn't work when combined with -p. The -p option could also cause an unset parameter to become set if a named reference pointed at it.
2023-03-1151557: Clarify availability of ksh-mode parameters, improve vi-mode detection.Bart Schaefer1-2/+3