Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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__). | |||||
* | 52176: metafy return from ${ ... } substitution | Bart Schaefer | 2023-09-22 | 1 | -3/+4 | |
| | ||||||
* | users/29160, workers/52156: Fix repetition of substitution modifier. | Bart Schaefer | 2023-09-16 | 1 | -2/+4 | |
| | ||||||
* | 52154, 52155: Implement, document, and test non-forking command substitution. | Bart Schaefer | 2023-09-16 | 2 | -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 ${ ... } | |||||
* | 52153: mapfile without HAVE_MMAP should not trim newlines | Bart Schaefer | 2023-09-16 | 2 | -13/+41 | |
| | ||||||
* | 52122 + 52129: fix (#) parameter expansion flag | Jun-ichi Takimoto | 2023-09-13 | 1 | -3/+10 | |
| | | | | Without the X flag, null string "" is substituted for bad math expression. | |||||
* | 52125: getoutput() must not free() after gettempname(..., 1) for heap | Bart Schaefer | 2023-09-10 | 1 | -1/+0 | |
| | ||||||
* | 52115: permit repeated "private" declarations as long as types aren't changed | Bart Schaefer | 2023-09-05 | 1 | -3/+46 | |
| | ||||||
* | users/29220: fix bug with assignment to private following explicit unset | Bart Schaefer | 2023-09-03 | 1 | -11/+18 | |
| | ||||||
* | 52053: whitelist capability CAP_WAKE_ALARM | Robert Woods | 2023-08-27 | 1 | -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. | |||||
* | users/29175: Don't need to forget zle edits if none | Nojus Gudinavičius | 2023-08-22 | 1 | -0/+12 | |
| | ||||||
* | 52008: Pattern bug with branches + exclusion | Peter Stephenson | 2023-08-01 | 1 | -2/+20 | |
| | | | | Add tests. | |||||
* | 51945: assorted documentation improvements, bug fixes, and new test | Bart Schaefer | 2023-07-26 | 2 | -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. | |||||
* | 51969: read -d and -s should not reset terminal state when stdin is redirected | Bart Schaefer | 2023-07-26 | 1 | -3/+3 | |
| | ||||||
* | 51950 (tweak per 51949): correct Thingy refcount in raw_getbyte() | Bart Schaefer | 2023-07-26 | 1 | -1/+2 | |
| | ||||||
* | 51977: PIPEFAIL interaction with ERREXIT / ERRRETURN | Peter Stephenson | 2023-07-20 | 1 | -5/+11 | |
| | | | | | | Ensure the list-level error handling code is executed if we detect pipe failure for a foreground job. Add tests. | |||||
* | 51890: fix "whence -wa" for multiple arguments | Bart Schaefer | 2023-07-09 | 1 | -0/+1 | |
| | ||||||
* | 51889: fix module loading problem with full RELRO | Jun-ichi Takimoto | 2023-06-26 | 2 | -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. | |||||
* | 51884: reset IFS if it contains invalid characters | Jun-ichi Takimoto | 2023-06-26 | 2 | -16/+29 | |
| | | | | This happens only if MULTIBYTE option is on. | |||||
* | 51887: namespaces recognized in math, incorrect usages rejected. | Bart Schaefer | 2023-06-22 | 2 | -4/+33 | |
| | ||||||
* | 51877: do not build pcre module if pcre2-config is not found | Jun-ichi Takimoto | 2023-06-20 | 1 | -1/+1 | |
| | ||||||
* | 51826: correctly read metafied null character from history file | Jun-ichi Takimoto | 2023-06-08 | 1 | -2/+8 | |
| | ||||||
* | 51816: add :S history modifier with pattern match | Peter Stephenson | 2023-06-06 | 2 | -8/+21 | |
| | ||||||
* | 51739: detect invalid history word beginning | Peter Stephenson | 2023-05-25 | 1 | -1/+6 | |
| | ||||||
* | 51769: fix compilation when HAVE_GETRUSAGE is not defined | Oliver Kiddle | 2023-05-21 | 2 | -1/+3 | |
| | | | | Also silence compiler warning when HAVE_SETUPTERM is not defined. | |||||
* | 51722: Safety for extracting elements of $historywords | Peter Stephenson | 2023-05-13 | 1 | -2/+9 | |
| | ||||||
* | 51738: support pcre's alternative DFA matching algorithm | Oliver Kiddle | 2023-05-13 | 1 | -17/+36 | |
| |