Oliver Kiddle
e73499b372
54181, 54331: remove support for restricted shell
...
This is in response to a security report. There are too many potential ways
to break out of a restricted shell and more secure, modern alternatives exist.
2026-04-14 03:14:46 +02:00
dana
bfb982d682
54318: mathfunc: add isnan() and isinf(). also document NaN + Inf
2026-04-13 11:07:56 -05:00
dana
08e48ea8b6
54313: convfloat: use consistent capitalisation for NaN, Inf, and -Inf
...
makes `typeset -p` use the same capitalisation as arithmetic expansion
2026-04-13 11:07:56 -05:00
Jun-ichi Takimoto
9429940b7b
54285: 'let' builtin should return 2 if error occurred
2026-04-07 23:18:53 +09:00
dana
63f7b6efb6
54159: strftime: respect empty TZ
...
+ README update due to potential compatibility breakage
2026-04-05 12:02:47 -05:00
dana
34c93228c2
54144: termquery: don't warn about creating .term.* params
2026-04-05 12:02:26 -05:00
dana
fa571f7099
53299: zparseopts: improve accuracy of bad-option message
2026-04-05 12:02:26 -05:00
Johannes Altmanninger
b0ad7ab750
54155: specify $HOST in OSC7 working directory report
2026-04-05 11:45:57 +02:00
Johannes Altmanninger
6c67981033
54154: extract function for URL-encoding and writing to TTY
2026-04-05 11:43:24 +02:00
Philippe Altherr
bcae4b58e6
54048: consistently re-bind namerefs when returning from greater locallevel
2026-03-31 18:32:35 -07:00
Philippe Altherr
8edd5029de
54262: track and revert hidden references in chains across locallevel scopes
2026-03-31 18:32:26 -07:00
Philippe Altherr
d8d74ef682
54261: unset -n removes named-reference type as well as removes referent
2026-03-31 18:32:12 -07:00
Jun-ichi Takimoto
aaff5eda66
54252: allow single dot as a valid (yet incomplete) parameter name
2026-03-30 13:50:18 +09:00
Jun-ichi Takimoto
cfdcbff36b
54170: be sure to skip dummy matches when completing
2026-03-24 23:33:31 +09:00
Philippe Altherr
09e1b5631d
53776: Add PM_NAMEREF to PM_TYPE, reject array initializers for namerefs
2026-02-16 16:22:18 -08:00
Philippe Altherr
7f1dec0bae
54122: avoid warnings for valid nameref options
2026-02-16 16:05:39 -08:00
Philippe Altherr
f6bf286da7
54063: Simplifications for resolve_nameref() and setscope()
2026-02-16 15:42:04 -08:00
Jun-ichi Takimoto
3e72a52e27
53959+54149: fix a bug when redirecting to a pattern with no match
...
when redirecting to/from a pattern (MULTIOS) and if there is no match,
issue an error even if NULL_GLOB is in effect.
2025-12-21 12:54:51 +09:00
Aidan Van Duyne
e97e326c16
54143: Bind '_' to vi-first-non-blank in vicmd keymap
2025-12-16 01:17:28 +01:00
Oliver Kiddle
af47b22167
54147: avoid buffer overflow with terminal sequences
2025-12-16 01:13:40 +01:00
Oliver Kiddle
fb1edae58f
54119: fix OSC52 clipboard get with empty clipboard
2025-11-30 20:44:37 +01:00
Oliver Kiddle
5539bc3fd5
unposted (c.f. Bart: 54112): remove unintended Unicode characters
2025-11-27 00:33:16 +01:00
Philippe Altherr
8a3ee5a802
54093 (tweaked per 54101): Cleanup isarr fields and variables
2025-11-24 23:18:26 +01:00
Oliver Kiddle
735afc8e8a
54104: fix bug with packing strings into wordcode
2025-11-24 22:21:54 +01:00
Oliver Kiddle
f51fed9dda
54103: support > and < comparisons via the test builtin
2025-11-24 22:19:07 +01:00
Oliver Kiddle
5e3aadfffd
unposted: silence compiler warning on new code
2025-11-17 05:14:12 +01:00
Oliver Kiddle
5411128bf3
54074, 54082: add an opaque key for use in zle_highlight/region_highlight to allow mixing of colours
2025-11-17 04:32:14 +01:00
Oliver Kiddle
614c4c15f3
54083: fix for cursor shape in viopp mode
...
Given keybindings which have other vi bindings as a prefix, we don't
apply KEYTIMEOUT because we've got to wait for a movement command
anyway. This delays running the vi widget so the cursor change was not
happening.
2025-11-17 04:32:10 +01:00
Oliver Kiddle
ec29b4c137
54075: allow highlighting to be reset in prompts using %H without following braces
2025-11-17 04:32:05 +01:00
dana
f90dbf3674
53671: hist: untokenise input to :A and :P
2025-11-16 12:57:27 -06:00
dana
a324ce344b
53578 (tweaked): silence gcc warnings
...
addresses -Wmaybe-uninitialized and (spurious) -Wformat-overflow warnings
omitted the change for zle_refresh.c since it was caught in w/54036
2025-11-16 12:56:59 -06:00
Heon Jeong
37a1e4af7d
54008: infinite loop running completion with specific multibyte character and locale combination
2025-11-12 12:11:50 +01:00
Oliver Kiddle
d8666da9de
54043, 54055: allow highlighing attributes to be turned back off
2025-11-12 07:55:05 +01:00
Oliver Kiddle
4c32677ea8
54037: fix to highlight layers where special is assigned a low layer
2025-11-12 07:48:24 +01:00
Oliver Kiddle
0d8b69b9a0
54036: fixes related to prompt attribute leftovers
2025-11-12 07:44:45 +01:00
Bart Schaefer
8eec2c793c
54064: avoid crash on named references to argv/ARGC, improve valid_nameref()
...
Leaves some edgecase issues unresolved (see tests).
2025-11-10 15:13:36 -08:00
Oliver Kiddle
45b6de088a
53402, 54042: make timeout for terminal queries configurable via a .term.querywait variable
...
Also clarify documentation and include fewer of the new extensions by default
2025-11-10 21:02:35 +01:00
Oliver Kiddle
ba008572e8
53438: support for changing terminal cursor shape and colour
2025-11-10 21:02:34 +01:00
Oliver Kiddle
6a691a3487
53404: terminal integration with semantic markers
2025-11-10 21:02:31 +01:00
Oliver Kiddle
3085b88a64
53379, 53380: autoload nearcolor based on truecolor detection
2025-11-10 21:02:29 +01:00
Oliver Kiddle
5b66e3614f
53377: support OSC52 paste sequence with the "* and "+ vi registers
2025-11-10 21:02:27 +01:00
Oliver Kiddle
37acbc87ad
53372, 53375: query terminal properties on ZLE startup
2025-11-10 21:02:20 +01:00
Philippe Altherr
0d76a82c77
54057: enable assignment through named reference to change type of the referent
2025-11-09 15:28:13 -08:00
Oliver Kiddle
8e27709d2a
54019: AIX support fixes
2025-11-03 20:17:00 +01:00
Oliver Kiddle
a3547fd4c1
54013: add a range check on signal numbers passed to trap
2025-10-31 10:55:03 +01:00
Oliver Kiddle
ebd51de38c
54012: fix use of out of scope array variable
2025-10-31 10:38:50 +01:00
Oliver Kiddle
6ac61e9a8f
54007: remove some uses of mod_export that were likely unintended
2025-10-31 09:33:27 +01:00
Bart Schaefer
005ef2c830
53676+54009: Revise 52650+51945 for assignment to global through nameref
...
Allows assignment to a global via nameref to succeed without creating a
dereference loop. Update tests for changed behavior.
2025-10-26 19:42:56 -07:00
Philippe Altherr
b66a2e2524
53798: report reference loops created when a reference goes out of scope
2025-10-26 17:31:02 -07:00
Philippe Altherr
938b3c9475
53790: corrections to reference loop detection
2025-10-26 17:21:15 -07:00