1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-11-28 03:10:56 +01:00
Commit graph

4331 commits

Author SHA1 Message Date
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
Bart Schaefer
330821de01 52692: local typeset of the name of a named reference hides the reference 2024-03-05 21:13:33 -08:00
Bart Schaefer
c0a392b392 unposted (cf. 52615): use META_NOALLOC for 52591 2024-03-04 21:39:29 -08:00
Bart Schaefer
d27ea2ae02 unposted (cf. 52617): only scalars can instantiate a declared named reference 2024-03-04 21:36:45 -08:00
Bart Schaefer
0848b7534e 52659: Fix crash on unset-through-nameref, add regression test 2024-03-04 21:21:20 -08: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
Bart Schaefer
d1ff06f991 52652: fix obscure bug unsetting the array part of a tied parameter pair 2024-03-02 21:37:25 -08:00
Bart Schaefer
4fb96cc639 52612: %l replacment of zwarning() does literal string output 2024-03-02 09:22:43 -08:00
Bart Schaefer
13f73d84d3 52645: unset through a nameref keep up-scope parameters declared unset
Othewise unset of a reference to a global wipes out all parameters of
the same name.
2024-03-01 15:43:50 -08:00
Bart Schaefer
85172998f4 52619 (plus tests): no empty element when appending array to unset scalar 2024-02-28 20:40:26 -08:00
Oliver Kiddle
69c5887461 52622 (tweaked, c.f. 52626): adjust number of columns and drop right-parenthesis in "kill -L" output 2024-02-28 13:59:10 +01:00
Oliver Kiddle
3078e07729 52623: add some Solaris signal descriptions 2024-02-28 13:55:51 +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
b68002d927 Fix META_NOALLOC to META_STATIC in 'bad interpreter' metafy 2024-02-24 21:28:35 -08:00
Bart Schaefer
6c50d15562 52597: fix character counts in context of operator and operand errors 2024-02-24 21:16:15 -08:00
Bart Schaefer
69c0c646bb 52596: metafy interpreter name for error message 2024-02-24 20:45:29 -08:00
Stephane Chazelas
4c0ebc155e 52591: printf builtin must pass metafied strings to math evaluation 2024-02-24 20:41:33 -08:00
Bart Schaefer
4b9cd6b8bd 52583: extra check for proper scope and existence of readonly specials 2024-02-23 09:51:06 -08: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
Bart Schaefer
336249e7ea unposted: referent of named reference cannot start with digits
This duplicates ksh behavior and doesn't change useful functionality.
2024-02-18 12:19:25 -08:00
Stephane Chazelas
f1e7481b86 45837: fix process group restoration upon exit 2024-02-18 18:56:39 +00:00
Stephane Chazelas
b3cad1c24c 52515: (+ tests in 52527) avoid sh errors when running shebang-less scripts with paths starting with - or + 2024-02-18 18:22:37 +00:00
Bart Schaefer
8c59638522 52556: fix crash when changing type of unset referent via named reference 2024-02-17 20:27:56 -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
Mikael Magnusson
653be0823d 52517: ensure that %H is followed by {
The previous code would accept any character after %H assuming it
was a {, which was probably also a buffer overrun sometimes.
2024-02-04 16:48:44 +01:00
Mikael Magnusson
ec446a6f34 52516: fix crash in %H when hlgroups is empty
typeset -A .zle.hlgroups; print -P %H
2024-02-04 16:48:02 +01:00
Bart Schaefer
c039a74e09 Typos in previous commit comments 2024-02-03 19:55:41 -08:00
Bart Schaefer
ce8909b494 unposted: Record as comments some notes about namespace usage exceptions. 2024-02-03 19:52:39 -08: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
Bart Schaefer
d7cf4f25eb 52509: manage internals of stdio objects when performing redirections. 2024-01-28 17:14:23 -08:00
Oliver Kiddle
85545af42b 52500: add layer token to zle attributes
This provide control over the precedence of highlighting where
different regions overlap.
2024-01-28 00:47:36 +01:00