dana
a2f390701a
53588: zsystem flock: handle optargs in the same word
...
with small tweak to test, just in case
2025-05-13 22:14:09 -05:00
dana
8c3c457321
53483: zparseopts -G: accept only '--' as parsing terminator
2025-04-19 18:48:31 -05:00
dana
494fcd1799
53482: zparseopts -G: always add options with optional args to array with =
2025-04-19 18:47:00 -05:00
Oliver Kiddle
20990fa7e4
53337: allow nameref -p
2025-01-30 12:51:37 +01:00
Oliver Kiddle
f7b5cc431b
53332, 53334: Avoid strlen calls after sprintf
2025-01-30 12:30:40 +01:00
Oliver Kiddle
4f3d69e2a0
53329: adapt .zle.sgr for CSI sequences that use : instead of ;
2025-01-27 23:50:27 +01:00
dana
d051857e03
53260: zparseopts: add options -v (argv) and -G (GNU-style parsing)
2024-12-26 10:09:31 -06:00
dana
6bb792dba8
53257: use monotonic clock where appropriate
...
update the following features to use the monotonic clock for calculating time
deltas and intervals:
* MAILCHECK parameter
* PERIOD parameter
* SECONDS parameter
* %(nS.t.f) prompt-expansion sequence
* time built-in's elapsed time and cpu % values
* zsh/zftp ZFTP_TMOUT parameter
* zsh/zprof timings
also use CLOCK_MONOTONIC_RAW instead of CLOCK_MONOTONIC on macOS
2024-12-26 10:09:25 -06:00
Clinton Bunch
6b9704e2c4
53060: silence build warnings
2024-08-31 17:22:02 +02:00
Clinton Bunch
58bda59130
53056: new zsh/random module defining an SRANDOM parameter and zrand_float() and zrand_int() math functions
2024-08-31 13:12:10 +02:00
Peter Stephenson
f6e005a9ef
Ooops, missed the actualy patch from the foregoing...
2024-05-13 11:26:06 +01:00
Peter Stephenson
017738cd60
52780: unneccessary returns in hlgroup
2024-03-21 09:25:07 +00:00
Oliver Kiddle
7139d3b286
52783: allow for unset hash element
2024-03-20 23:40:23 +01:00
Oliver Kiddle
57248b8883
52750: remove ansi2knr support for old pre-ansi K&R compilers
2024-03-18 20:02:34 +01:00
Bart Schaefer
8adfbfc1f0
unposted: "typeset -p" has problems with special parameters having NULL values
2024-03-12 18:02:38 -07:00
Oliver Kiddle
37f434498e
52724: fix .zle.sgr for empty sequences
2024-03-13 00:35:10 +01:00
Bart Schaefer
ea5a5d6ec4
52725: updated named reference semantics
2024-03-09 22:02:57 -08:00
Stephane Chazelas
47c7bc9b14
52721: fix metafication and regexp/subject confusion in pcre_match error message
2024-03-09 11:45:46 +00:00
Bart Schaefer
610b18875a
52650 plus minor fixes: add -u for named references pointing to "upper" scope
2024-03-04 21:07:01 -08:00
Oliver Kiddle
05c7b21e2b
52646: extend support for highlight groups to completion explanation strings and WATCHFMT
2024-03-05 00:11:02 +01:00
Oliver Kiddle
5331ff11c6
52594: support for POSIX real-time signals with kill and trap
...
Also add new -L option to kill for a more verbose listing of signals
2024-02-28 00:21:11 +01:00
Bart Schaefer
6b21e5c0e2
52559: revise "typeset -p" with respect to local readonly special parameters
...
Update doc and tests to describe handling of global readonly specials and
to account for side-effects on zsh/param/private.
2024-02-20 20:16:03 -08:00
Oliver Kiddle
14c230dc32
52533: add module to provide alternate readonly views of the content of .zle.hlgroups
2024-02-15 14:48:04 +01:00
Mikael Magnusson
04ae7dc64c
52526: metafy terminfo capabilities
2024-02-09 19:33:43 +01:00
Bart Schaefer
8801665e5b
52513: fixes and doc for using nofork substitutions with private parameters
...
Also fixes a crash bug with {fd}>&N redirections and private parameters
2024-02-03 12:07:14 -08:00
Oliver Kiddle
8e622c25b2
unposted: remove unused variable to silence compiler warning
2024-01-28 00:28:06 +01:00
Oliver Kiddle
698af7bc13
52405, 52502: add empty elements to $match for optional captures that don't match
2024-01-26 07:33:38 +01:00
Bart Schaefer
0459cc2eaf
52477: fix "zcurses mouse delay ..." and one other typo
2024-01-24 17:36:18 -08:00
Bart Schaefer
c72b4a74ef
52473: zstyle -q for testing existence of a zstyle setting
2024-01-24 17:32:45 -08:00
Oliver Kiddle
25f5618b17
52382: avoid the non-standard \e in C code, preferring \033
2023-12-13 11:28:00 +01:00
Oliver Kiddle
bad8af1808
52271: use correct form for unused parameter
2023-11-08 02:32:23 +01:00
Oliver Kiddle
de635b4ee5
52253: support pcre callouts with shell evaluation of the callout string
2023-11-02 14:54:59 +01:00
Oliver Kiddle
9f57ca4ac8
52252: Coverity defect 1547827
2023-11-01 00:34:29 +01:00
Bart Schaefer
98a6892cb1
52244: Fix a batch of minor defects reported by Coverity.
...
Coverity defects 1547831, 1547826 (remove unused function), 1521551,
1500752, 1500747, 1401549, 1372423, 1270645, 1255799, 1255792, 1255789,
1255787, 1255782, 1255750
2023-10-26 08:27:18 -07:00
Oliver Kiddle
4878c2b130
52216: metafy usernames to allow for them to be UTF-8 encoded
2023-10-11 00:50:18 +02:00
Bart Schaefer
355cfc1b95
52153: mapfile without HAVE_MMAP should not trim newlines
2023-09-16 13:08:59 -07:00
Bart Schaefer
e3c2af216b
52115: permit repeated "private" declarations as long as types aren't changed
2023-09-05 18:04:09 -07:00
Bart Schaefer
9ff1b2810e
users/29220: fix bug with assignment to private following explicit unset
2023-09-03 11:42:00 -07:00
Jun-ichi Takimoto
a84fdd7c8f
51889: fix module loading problem with full RELRO
...
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-26 17:13:04 +09:00
Jun-ichi Takimoto
10bdbd8b5b
51877: do not build pcre module if pcre2-config is not found
2023-06-20 18:14:27 +09:00
Peter Stephenson
a95198e268
51722: Safety for extracting elements of $historywords
2023-05-13 21:49:07 +01:00
Oliver Kiddle
b4d1c756f5
51738: support pcre's alternative DFA matching algorithm
2023-05-13 00:59:00 +02:00
Oliver Kiddle
f3f371deb3
51728: assign pcre named capture groups to a hash
2023-05-13 00:56:48 +02:00
Oliver Kiddle
b62e911341
51723: migrate pcre module to pcre2
2023-05-13 00:53:32 +02:00
Bart Schaefer
25dceb1dea
51557: Clarify availability of ksh-mode parameters, improve vi-mode detection.
2023-03-11 13:20:21 -08:00
Bart Schaefer
ac1bf482ba
51524: dependency on zsh/zle for linkage
2023-03-06 14:54:28 -08:00
Bart Schaefer
ea0bd72dd8
51485: module for several ksh93 features, mostly enabled only in ksh emulation.
2023-03-05 14:16:31 -08:00
Bart Schaefer
806d096b0e
unposted: fix memory leak flagged by coverity
2023-03-05 13:26:57 -08:00
Bart Schaefer
03887bb03f
51430: Misc. problems with typeset and $parameters
...
* Fix and test for regression of assignment when using typeset command
* Fix output of typeset +m and $parameters[ref]
* Prevent segfault in typeset
2023-02-13 18:20:11 -08:00
Bart Schaefer
3e55a135c1
51374: Expose named references in $parameters, fix substitution error.
2023-02-12 11:29:10 -08:00