Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 52509: manage internals of stdio objects when performing redirections. | Bart Schaefer | 2024-01-28 | 1 | -0/+22 |
| | |||||
* | 52468: save and restore state of correct TTY when using read -s / -d | Bart Schaefer | 2024-01-24 | 1 | -0/+14 |
| | |||||
* | 52244: Fix a batch of minor defects reported by Coverity. | Bart Schaefer | 2023-10-26 | 1 | -2/+2 |
| | | | | | | Coverity defects 1547831, 1547826 (remove unused function), 1521551, 1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787, 1255782, 1255750 | ||||
* | 52193: handle UTF8-encoded USERNAME and therefore home directory in zcompile | Bart Schaefer | 2023-10-01 | 1 | -1/+1 |
| | | | | Includes one unposted thinko fix ztrdup -> dupstring | ||||
* | 52169: a few more improvements of (#) flag | Jun-ichi Takimoto | 2023-09-27 | 1 | -116/+114 |
| | | | | | | 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__). | ||||
* | 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. | ||||
* | 51884: reset IFS if it contains invalid characters | Jun-ichi Takimoto | 2023-06-26 | 1 | -16/+26 |
| | | | | This happens only if MULTIBYTE option is on. | ||||
* | 51769: fix compilation when HAVE_GETRUSAGE is not defined | Oliver Kiddle | 2023-05-21 | 1 | -0/+2 |
| | | | | Also silence compiler warning when HAVE_SETUPTERM is not defined. | ||||
* | 51510: Skip namespaces in "set"/"typeset" output, add tests, fix bug | Bart Schaefer | 2023-03-06 | 1 | -4/+4 |
| | |||||
* | 51485: module for several ksh93 features, mostly enabled only in ksh emulation. | Bart Schaefer | 2023-03-05 | 1 | -1/+1 |
| | |||||
* | 51483: Enable assignment and expansion of parameters with ksh-like namespace ↵ | Bart Schaefer | 2023-03-05 | 1 | -2/+16 |
| | | | | prefixes. | ||||
* | 51258, 51272: refactor handling of terminal attributes, removing OFF flags ↵ | Oliver Kiddle | 2023-01-10 | 1 | -3/+4 |
| | | | | in zattr | ||||
* | 51212: remove STOUC() macro | Oliver Kiddle | 2022-12-16 | 1 | -34/+34 |
| | | | | | This served as a workaround for ancient compilers where casts to unsigned char were broken. | ||||
* | 50668: treat 8bit chars correctly when multibyte is unset | Jun-ichi Takimoto | 2022-09-27 | 1 | -1/+1 |
| | | | | | The problem was found in character range, but may have existed in other occasions | ||||
* | 49989: Single byte versions of nice quoting. | Peter Stephenson | 2022-04-05 | 1 | -34/+137 |
| | | | | | Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation. | ||||
* | 49992: further unify single- and multi-byte implementations of nicechar() | Bart Schaefer | 2022-04-04 | 1 | -62/+0 |
| | |||||
* | 49991: single-byte brace expansion handles $'\0' and control character ↵ | Bart Schaefer | 2022-04-04 | 1 | -3/+8 |
| | | | | output aligns with multibyte | ||||
* | 49606: remove old NIS-specific code for retrieving user data | Oliver Kiddle | 2021-11-28 | 1 | -1/+1 |
| | |||||
* | 49534, 49539: separate watch/log functionality out into a module | Oliver Kiddle | 2021-11-02 | 1 | -16/+0 |
| | |||||
* | 49533: add null check for preprompt functions list that could occur ↵ | Oliver Kiddle | 2021-10-30 | 1 | -0/+3 |
| | | | | following an error when loading a module | ||||
* | 49422: improve support of --disable-dynamic-nss | Jun-ichi Takimoto | 2021-09-22 | 1 | -5/+5 |
| | | | | see also 49392 (Vincent) and 49412 (Axel) | ||||
* | 49282: set $0 correctly when calling functions from hooks | Bart Schaefer | 2021-09-06 | 1 | -2/+12 |
| | |||||
* | 48389: getkeystring() should not return ptr to local var | Jun-ichi Takimoto | 2021-04-06 | 1 | -8/+25 |
| | | | | | Now it returns NULL if called with GETKEY_SINGLE_CHAR and next character is not found. Caller must check the return value. | ||||
* | 48202 + 48366: Fix handling of NUL bytes in zexpandtabs multibyte version | Mikael Magnusson | 2021-04-01 | 1 | -1/+4 |
| | |||||
* | 47745: Fix [:IDENT:] vs posixidentifiers | Stephane Chazelas | 2021-03-23 | 1 | -1/+1 |
| | | | | | wcsitype(c, IIDENT) should return false for non-ASCII characters when the POSIX_IDENTIFIERS option is on, not the other way round. | ||||
* | 45915: fix handling of hyphens in spckword() | Bart Schaefer | 2020-05-30 | 1 | -5/+11 |
| | |||||
* | 45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely. | Daniel Shahaf | 2020-05-03 | 1 | -1/+14 |
| | | | | Also, write/extend docstrings for sepjoin() and zjoin(). | ||||
* | 45708: zsh/system: Enable sub-second timeout in zsystem flock | Cedric Ware | 2020-04-20 | 1 | -0/+36 |
| | |||||
* | 45583/0008: Extend tests to prove that what remains of xsymlinks() handles ↵ | Daniel Shahaf | 2020-03-25 | 1 | -2/+0 |
| | | | | symlink loops gracefully. | ||||
* | 45583/0007: Remove code that is now unreachable. | Daniel Shahaf | 2020-03-25 | 1 | -17/+4 |
| | |||||
* | 45583/0006: Don't use xsymlinks() in 'whence -s'. | Daniel Shahaf | 2020-03-25 | 1 | -4/+14 |
| | |||||
* | 45583/0004: Fix segfault on resolving symlink loops | Daniel Shahaf | 2020-03-25 | 1 | -3/+3 |
| | |||||
* | 45563: %z can be used for zlong in warnings and errors | Peter Stephenson | 2020-03-22 | 1 | -0/+9 |
| | |||||
* | 45536: fix handling of 8bit character under C-locale | Jun-ichi Takimoto | 2020-03-17 | 1 | -2/+2 |
| | | | | correctly escape unprintable 8bit character by using \M- | ||||
* | 45487: Missing mod_export declarations for AIX | Peter Stephenson | 2020-02-24 | 1 | -1/+1 |
| | |||||
* | unposted: zerrmsg(): Fix macro guard missed in previous commit | dana | 2019-12-26 | 1 | -2/+0 |
| | |||||
* | internal: Allow %L in zerrmsg() in non-debug builds, too. | Daniel Shahaf | 2019-12-26 | 1 | -2/+0 |
| | | | | This will let error messages include long integers. | ||||
* | 45064: Fix the mktemp() warning, in debug builds only. | Daniel Shahaf | 2019-12-18 | 1 | -0/+25 |
| | | | | | | | | | | | | On Linux, linking to mktemp() generates the following warning: . utils.o: In function `gettempname': ./Src/utils.c:2229: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' The warning cannot be disabled. Work around that by using mkstemp() instead, and massage its output so it behaves like mktemp(). See the new comment for further details. | ||||
* | 44714: Take account of CDABLE_VARS while checking spelling | Jun-ichi Takimoto | 2019-08-29 | 1 | -0/+2 |
| | |||||
* | 44307: allow for atoi() returning a negative number | Oliver Kiddle | 2019-05-20 | 1 | -1/+1 |
| | |||||
* | unposted (per 43938): Avoid segfault when unmetafying empty string | dana | 2018-12-30 | 1 | -1/+1 |
| | |||||
* | 43953: Fix rounding/truncation error in %. time-format specifier | dana | 2018-12-29 | 1 | -6/+15 |
| | | | | | | | Also fixes an issue where %. couldn't be used more than once in a format string without strange results Tweaked very slightly per workers/43954 | ||||
* | 43790: failed mailstat could leak memory | Kamil Dudka | 2018-11-09 | 1 | -3/+13 |
| | |||||
* | unposted: internals: Document sepjoin(). | Daniel Shahaf | 2018-10-14 | 1 | -0/+8 |
| | |||||
* | 43464: Another attachtty() fix. | Peter Stephenson | 2018-09-16 | 1 | -0/+4 |
| | | | | | | | | | If list_pipe_job triggered more than once we need to know the most recent process group leader, so record that both if the attach happened in the main shell on in entersubsh(). Also don't pass back proocess group for ESUB_ASYNC subshells. | ||||
* | 43227: fix memory leaks in term{cap,info}.c | Jun-ichi Takimoto | 2018-08-01 | 1 | -0/+37 |
| | |||||
* | 43075: Support nanosecond-precision time formatting | dana | 2018-06-20 | 1 | -8/+14 |
| | | | | | | | | * Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059 | ||||
* | 42650: fix 42156 for zero-sized terminals | Barton E. Schaefer | 2018-04-15 | 1 | -5/+7 |
| | | | | Also fix harmless no-op typo from hand-applying 42636 for previous commit. | ||||
* | 42636: fix GLOB_DOTS for !(RM_STAR_SILENT) | Barton E. Schaefer | 2018-04-15 | 1 | -4/+5 |
| | | | | Also fix paste-o in older log entry | ||||
* | 42607, CVE-2018-1100: check bounds on buffer in mail checking | Oliver Kiddle | 2018-04-07 | 1 | -3/+5 |
| |