1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-31 06:00:54 +01:00
Commit graph

4363 commits

Author SHA1 Message Date
Oliver Kiddle
71f35afa1c 53394: drop OSC and DCS sequences in key input
They are likely to be terminal query responses not keys. If they do match a
keybinding that's not affected. Also does likewise for certain CSI sequences.
2025-03-03 01:15:24 +01:00
Bart Schaefer
d315401a03 53368: ignore no-op changes to EMACS/VI options 2025-03-02 11:23:22 -08:00
Oliver Kiddle
e160cf85f0 53378: support new pipebuf resource limit on FreeBSD
Also add other newer limits to the documentation.
2025-02-27 16:02:02 +01:00
Bart Schaefer
8701313c61 53363: permit "typeset -n +m pattern"
Also fix spurious error printing the value of a read-only named reference
2025-02-15 14:29:51 -08:00
Bart Schaefer
3ce354c049 53360: domenuselect() fails if the previous completion did not generate a list
(fix for segfault)
2025-02-12 20:11:47 -08:00
Bart Schaefer
7a54b36fa8 53348: Revise handling of incompatible typeset options when used with -n 2025-02-12 20:03:07 -08:00
Oliver Kiddle
20990fa7e4 53337: allow nameref -p 2025-01-30 12:51:37 +01:00
Oliver Kiddle
86a0891952 53335: Remove unused dupstring_glen() function
Also make use of the dupstring_wlen() variant in more places to avoid a strlen()
2025-01-30 12:42:09 +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
Wu, Zhenyu
a61b105795 github #126: Fix some typos 2025-01-27 23:39:05 +01:00
Bart Schaefer
263659acb7 53294: fix multibyte handling in "select" prompts 2025-01-03 09:18:23 -08: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
Oliver Kiddle
3c0f932300 53243: fix use of vi-fetch-history with a range 2024-11-23 22:31:44 +01:00
Bart Schaefer
f282ff5792 53209 + tests: do not unmetafy via string pointers into global parameter table 2024-11-05 13:50:51 -08:00
Bart Schaefer
ac1fd06d7c 53146: flags cannot be copied from an undefined function (cf. ca6f4466) 2024-10-16 13:07:56 -07:00
Oliver Kiddle
62131ae049 53094: remove unused autoconf tests 2024-09-18 11:08:08 +02:00
Oliver Kiddle
06f423f8a9 53093: silence compiler warning when USE_LSEEK is not defined 2024-09-18 11:08:08 +02:00
Oliver Kiddle
ad4afde923 53092: silence deprecated header warning on older Linux systems 2024-09-18 11:08:03 +02:00
Bart Schaefer
8ad625d90c 53088: enable `time' on builtins, assignments, and current-shell actions 2024-09-14 12:40:56 -07:00
Oliver Kiddle
701fad5021 53085: support for BSDs in $ZSH_EXEPATH implementation 2024-09-14 19:38:23 +02:00
Oliver Kiddle
55ff6f8864 53083: handle Haiku specific resource limit for open vnode monitors 2024-09-14 19:30:30 +02:00
Oliver Kiddle
8dd271fdec 53081: remove old BeOS support code 2024-09-14 19:21:58 +02:00
Oliver Kiddle
79593399c4 53080: remove code for systems that only have the old pre-POSIX signal() 2024-09-14 19:14:40 +02: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
Bart Schaefer
5977d3cdd4 unposted: fix parsing of Bang token in value side of array element assignment 2024-08-15 18:06:19 -07:00
Jun. T
b2f24ff0d2 53026: fix failure to free old value when setting new value of reference 2024-08-06 14:37:39 -07:00
Bart Schaefer
72751bfe1f 53025: fix memory leaks and pointer errors upon named reference self-reference 2024-08-05 15:59:48 -07:00
Bart Schaefer
65da467441 53023: fix memory leak of unset private parameter 2024-08-05 15:49:15 -07:00
Philippe Altherr
4616ea398a 53005: off-by-one error when resetting signals on subshell entrance 2024-08-04 19:12:32 -07:00
Peter Stephenson
0bb140f991 52999: import OLDPWD from environment if set 2024-07-28 20:33:07 +01:00
Jun-ichi Takimoto
2a54de1675 52985: avoid adding original param to restorelist 2024-07-04 11:51:09 +09:00
Philippe Altherr
da733f5df6 52977: ERR_EXIT/ERR_RETURN are respected by the final command in && / || lists 2024-06-28 21:05:42 -07:00
Jun-ichi Takimoto
a3b56d4f03 52951: make sure to close memstream for 'print -v' 2024-06-13 11:18:13 +09:00
Peter Stephenson
f6e005a9ef Ooops, missed the actualy patch from the foregoing... 2024-05-13 11:26:06 +01:00
Mikael Magnusson
a66e929185 52878: Fix ${foo:^bar} where bar is an associative array 2024-04-07 16:05:39 +02:00
Bart Schaefer
76019f7174 52864: Change ${|var|...} to ${{var} ...}, limit local REPLY to ${|...} 2024-04-01 22:35:33 -07:00
Bart Schaefer
5ba43e58c2 52781: HIST IGNORE_DUPS + HIST_REDUCE_BLANKS treats whitespace as significant 2024-04-01 22:29:07 -07: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
25182cc2e6 52759: ${ ... } trims one trailing newline; "${ ... }" preserves that newline. 2024-03-17 14:28:28 -07:00
Bart Schaefer
326e8635fe 52752: typeset -p fixes for local exports and "export -x" / "readonly -r" output. 2024-03-14 13:11:31 -07:00
Bart Schaefer
8adfbfc1f0 unposted: "typeset -p" has problems with special parameters having NULL values 2024-03-12 18:02:38 -07:00
Bart Schaefer
7c875adb09 52742: fix bad interactions of "typeset -p" with GLOBAL_EXPORT 2024-03-12 18:00:19 -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