Commit graph

12239 commits

Author SHA1 Message Date
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
Oliver Kiddle 40d5200c8b 52552: newer Java supports passing source files directly to java 2024-02-22 19:07:01 +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
Peter Stephenson a6ea122867 52549: document return works in a script 2024-02-19 11:10:04 +00:00
Jun-ichi Takimoto d2f63d0d92 * 52544: _diff_options: support macOS Ventura or newer 2024-02-19 08:50:27 +09:00
Bart Schaefer 4a86a54d2b 52558: word splitting differences of nofork; update ToC; formatting fixes 2024-02-18 14:25:20 -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
Bart Schaefer c2cf21c8f0 Merge branch 'master' of git://git.code.sf.net/p/zsh/code 2024-02-18 10:32:07 -08:00
Bart Schaefer 00b12da9c0 52556: regression test for unset referent (left out of last commit) 2024-02-18 10:31:21 -08: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
Mikael Magnusson 74722b8d4e 52546: incarg: avoid unneeded subshell 2024-02-16 13:17:26 +01:00
midchildan 374051cae5 52523: fixes to preceding incarg patch 2024-02-15 15:47:18 +01:00
midchildan fb9a7cc5dd 52520: add new features and improvements to the "incarg" ZLE widget
- Decrement integers without defining a new widget
- Preserve the number of leading zeros
- Increment binaries, octals, and hexadecimals
- Move the cursor to the end of the incremented integer
- Create a sequence of integers across terminal panes
- Add a Vim variant
- Also add tests
2024-02-15 15:40:37 +01:00
Poncho 2d2086557e github #112: Completion: todo.sh uses shorthelp and not showhelp 2024-02-15 14:55:17 +01:00
Oliver Kiddle 173c0b14ab 52535: documentation for highlight groups and layers 2024-02-15 14:50:59 +01: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 791aaf88cc cf. users/29635: additional detail of parameter expansion in math context. 2024-02-04 20:46:49 -08:00
Bart Schaefer 58ff6c68d5 52521: mapfile (mis)handling of empty/unreadable files 2024-02-04 16:13:31 -08: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 c8f0946ddc unposted: updates and fixed omissions for the printdefines utility 2024-02-03 22:00:35 -08:00
Bart Schaefer 2744208ab3 unposted: elaboration on Roman's "slurp" implementation from zsh-users 2024-02-03 20:10:52 -08: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 18400b68e4 52510: document how ${ ... } et al. affect use of "private"; add index entries 2024-01-28 18:22:36 -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
Oliver Kiddle 3c5dacd503 52499: support highlight groups
These are defined in a .zle.hlgroups associative array and referenced
using %H in prompt strings or hl= in zle_highlight/region_highlight.
2024-01-28 00:34:21 +01:00
Oliver Kiddle 8e622c25b2 unposted: remove unused variable to silence compiler warning 2024-01-28 00:28:06 +01:00
Jörg Sommer fe276d3873 52442: mark hookdef.name as const
At least *zle_main* uses const strings to initialize its
structure *zlehooks*.
2024-01-28 00:24:06 +01:00
Jörg Sommer 4929910267 52444: module: Mark name argument of some functions const 2024-01-28 00:23:56 +01:00
Jörg Sommer 98affe1115 52441: zle_vi: Mark variables with const init as const
Because these variables are initialized with as constant string, they should
be marked as *const* to make the compiler running with `-Wwrite-strings`
more happy.
2024-01-28 00:23:43 +01:00
Jörg Sommer ce033e2b9c 52440: zle.textobjects: Mark variables as const
Because these variables are initialized with as constant string, they should
be marked as *const* to make the compiler running with `-Wwrite-strings`
more happy.
2024-01-28 00:23:22 +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
OpenSauce 742049a4cb github #110: Fix incorrect completion for dnf --showduplicates 2024-01-26 07:26:47 +01:00
Aurélien Olivier 0119a57e9c github #108: add perlbrew completion 2024-01-26 07:23:14 +01:00
Bart Schaefer 1a3ebb68d6 52385: avoid "tr" in test output formatting 2024-01-25 21:58:25 -08:00
Bart Schaefer 2a538491eb 52496 + 52377: clarify SPROMPT behavior when CORRECT_ALL is set 2024-01-24 18:06:44 -08:00
Bart Schaefer 1f861ceba1 52492: prevent indexing error on recursive arithmetic in array subscript
Operator returns error when operand returns error
2024-01-24 18:00:16 -08:00
Bart Schaefer b3e763cc22 52482: strip trailing newlines in emulation modes of ${ command; } 2024-01-24 17:56:21 -08:00