2024-05-10 Peter Stephenson
* 52924: Src/Modules/zftp.c: NULL zfsessions after free.
2024-05-08 Peter Stephenson
* 52915: Doc/Zsh/cond.yo: be explicit about behaviour of globbing
patterns within conditions.
2024-04-07 Mikael Magnusson
* 52878: Src/subst.c: Fix ${foo:^bar} where bar is an associative
array
2024-04-01 Bart Schaefer
* 52865: Doc/Zsh/expn.yo, Doc/Zsh/params.yo, Etc/FAQ.yo:
Documentation update for 52864
* 52864: Src/lex.c, Src/subst.c, Test/D10nofork.ztst,
Test/V10private.ztst: Change ${|var|...} to ${{var} ...},
limit local REPLY behavior to ${|...}, update tests.
* 52781 (and typo fix): Src/hashtable.c: HIST IGNORE_DUPS treats
whitespace as significant when HIST_REDUCE_BLANKS is also set.
2024-04-01 Oliver Kiddle
* github #115: OKURA Masafumi: Completion/Unix/Command/_ruby:
IRB now has `--regexp-completor` and `--type-completor` options
* 52859: Completion/Zsh/Command/_fc, Completion/Zsh/Command/_vared:
use _date_formats for fc and complete -m/-M for vared
2024-03-25 Oliver Kiddle
* 52798: Completion/Unix/Command/_ssh,
Completion/Unix/Type/_ssh_hosts: handle comments in ssh config
2024-03-23 Mikael Magnusson
* 52768: Completion/compdump, Completion/compinit: Handle
completer filenames with funny characters in them
2024-03-21 Peter Stephenson
* 52780: Src/Modules/hlgroup.c: remove unnecessary returns.
2024-03-20 Oliver Kiddle
* 52783: Src/Modules/hlgroup.c: allow for unset hash element
* unposted: configure.ac: remove reference to fp_PROG_CC_STDC
macro which was removed in 52750
2024-03-18 Oliver Kiddle
* 52770: Completion/Linux/Command/_selinux: handle newrole
* 52769: Completion/Unix/Command/_ansible: fix completion of
ansible keywords and --step option
* 52750: Config/defs.mk.in, Etc/zsh-development-guide,
Src/Makemod.in.in, Src/Modules/files.c, Src/Modules/watch.c,
Src/Modules/zftp.c, Src/Modules/zprof.c, Src/Zle/compcore.c,
Src/Zle/zle.h, Src/Zle/zle_keymap.c, Src/Zle/zle_thingy.c,
Src/exec.c, Src/glob.c, Src/hist.c, Src/makepro.awk, Src/mem.c,
Src/mkbltnmlst.sh, Src/modentry.c, Src/parse.c, Src/prototypes.h,
Src/signals.h, Src/utils.c, Src/zsh.h, Src/zsh_system.h, aclocal.m4,
configure.ac: remove ansi2knr support for old pre-ansi K&R compilers
2024-03-14 Bart Schaefer
* 52759: Doc/Zsh/expn.yo, Etc/FAQ.yo, Src/subst.c,
Test/D10nofork.ztst: change ${ ... } substitution to trim one
trailing newline; instead "${ ... }" (with quotes) preserves that
newline. All trailing newlines are still trimmed in emulations.
* unposted: Etc/BUGS: HIST_IGNORE_DUPS mishandles quoted whitespace.
* 52752: Src/params.c, Test/B02typeset.ztst: more typeset -p fixes
for local exports and improper "export -x" / "readonly -r" output.
2024-03-13 Bart Schaefer
* 52753: Doc/Zsh/grammar.yo: Clarify "nocorrect" when introducing
precommand modifiers.
* unposted: Doc/Zsh/contrib.yo: update doc for "colors" to match
workers/47489,50212 (italic and bright)
2024-03-12 Bart Schaefer
* unposted: Src/Modules/ksh93.c: "typeset -p" has problems with
special parameters having NULL values, use a dummy static instead.
* 52742: Src/builtin.c: fix bad interactions of "typeset -p" with
GLOBAL_EXPORT, plus some other inconsistencies.
2024-03-13 Oliver Kiddle
* 52724: Src/Modules/hlgroup.c: fix .zle.sgr for empty sequences
2024-03-09 Bart Schaefer
* 52725: Src/Modules/ksh93.c: updated named reference semantics
2024-03-09 Stephane Chazelas
* 52721: fix metafication and regexp/subject confusion in
pcre_match error message.
2024-03-08 Stephane Chazelas
* 52704: Doc/Zsh/params.yo, mention new ${ ... } and ${|...}
operators and fix process substitution terminology in
documentation of $zsh_eval_context.
2024-03-05 Bart Schaefer
* 52692: Doc/Zsh/params.yo, Src/builtin.c, Src/params.c,
Test/K01nameref.ztst: local declaration (typeset) of the
name of a named reference hides the reference rather than
following it. Also fix two related crash bugs.
2024-03-05 Stephane Chazelas
* 52685: Doc/Zsh/restricted.yo: fix typo in the name of bash's
BASH_ENV variable.
2024-03-04 Bart Schaefer
* unposted (cf. 52615): Src/builtin.c: use META_NOALLOC for 52591
* unposted (cf. 52617): Src/params.c: only scalars can instantiate
a declared named reference
* 52659: Src/builtin.c, Test/K01nameref.ztst: Fix crash when unset
was called on a named referece, add regression test
* 52650 plus minor fixes: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo,
Doc/Zsh/func.yo, Doc/Zsh/mod_ksh93.yo, Etc/FAQ.yo,
Src/Modules/ksh93.c, Src/builtin.c, Src/exec.c, Src/params.c,
Test/D04parameter.ztst, Test/K01nameref.ztst,
Test/V10private.ztst: add -u option for named references that
point to the "upper" scope, failed assignments have status 1
2024-03-05 Oliver Kiddle
* 52646: Completion/Zsh/Type/_ps1234, Doc/Zsh/compsys.yo,
Doc/Zsh/compwid.yo, Src/Modules/watch.c, Src/Zle/complist.c,
Src/Zle/zle_tricky.c, Src/prompt.c: extend support for highlight
groups to completion explanation strings and WATCHFMT
* 52641: midchildan: Doc/Zsh/contrib.yo, Functions/Zle/incarg,
Test/X05zleincarg.ztst: add a backward variant and make it repeatable
2024-03-02 Bart Schaefer
* 52652: Src/params.c, Test/D04parameter.ztst: fix obscure bug
unsetting the array part of a tied parameter pair, update test
* JunT.: 52635: Test/runtests.zsh: show file name when crashed
* 52612: Src/parse.c, Src/subst.c, Src/utils.c: change the %l
replacment of zwarning() et al. to do literal string output;
change previous uses to %s and use new %l for ${var?$error}
2024-03-01 Bart Schaefer
* 52645: Src/builtin.c: unset through a nameref keep up-scope
parameters declared, and not wipe out the entire parameter stack
2024-02-28 Bart Schaefer
* 52619 (plus tests): Src/params.c, Test/A06assign.ztst: there
is no empty element when appending array to unset scalar
2024-02-28 Oliver Kiddle
* 52622 (tweaked, c.f. 52626): Src/jobs.c: adjust number of columns
and drop right-parenthesis in "kill -L" output
* 52623: Src/signames2.awk: add some Solaris signal descriptions
* 52594: Completion/Zsh/Command/_kill, Doc/Zsh/builtins.yo,
Doc/Zsh/params.yo, Src/Modules/parameter.c, Src/builtin.c,
Src/exec.c, Src/hashtable.c, Src/init.c, Src/jobs.c, Src/params.c,
Src/signals.c, Src/signals.h, Src/signames2.awk: support for
POSIX real-time signals with kill and trap and add -L option to
kill for more verbose listing of signals
2024-02-24 Bart Schaefer
* 52597: Src/math.c: fix multibyte and metafied character counts
when providing context for operator and operand errors
* 52596: Src/exec.c: metafy interpreter name for error message
* Stephane: 52591: Src/builtin.c: printf builtin must pass
metafied strings to math evaluation
2024-02-23 Bart Schaefer
* 52583: Src/params.c, Test/V10private.ztst: do an extra check
for proper scope and parameter existence when assigning to a
non-local name that resolves to a readonly special.
2024-02-22 Oliver Kiddle
* 52552: Completion/Unix/Command/_java: newer Java supports
passing source files directly to java
2024-02-20 Bart Schaefer
* 52559: Doc/Zsh/builtins.yo, Doc/Zsh/mod_private.yo,
Src/Modules/param_private.c, Src/params.c, Test/B02typeset.ztst,
Test/K01nameref.ztst, Test/V10private.ztst: 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-19 Peter Stephenson
* 52549: Doc/Zsh/builtins.yo: document that return already works
in a script.
x2024-02-19 Jun-ichi Takimoto
* 52544: Completion/Unix/Type/_diff_options: support macOS Ventura
or newer
2024-02-18 Bart Schaefer
* 52558: Etc/FAQ.yo: make note of word splitting differences
with nofork substitutions; update ToC; minor formatting fixes
2024-02-18 Stephane Chazelas
* 45837: Src/exec.c, Src/init.c, Src/options.c: fix issue whereby
original process group is not restored properly upon exit when
exec {var} redirs are used or MONITOR is temporarily disabled.
2024-02-18 Stephane Chazelas
* 52515: Src/exec.c (+ tests in 52527) avoid sh errors when
running shebang-less scripts with paths starting with - or +
2024-02-17 Bart Schaefer
* 52556: Test/K01nameref.ztst: regression test for unset referent
* 52556: Src/builtin.c: fix crash when applying a type change via
a named reference when the referent has been declared but unset
2024-02-16 Mikael Magnusson
* 52546: Functions/Zle/incarg: incarg: avoid unneeded subshell
2024-02-15 Oliver Kiddle
* 52520: midchildan: Doc/Zsh/contrib.yo, Functions/Zle/incarg,
Test/X05zleincarg.ztst: add new features and improvements to the
"incarg" ZLE widget
* github #112: Poncho: Completion/Unix/Command/_todo.sh:
Completion: todo.sh uses shorthelp and not showhelp
* 52535: Doc/Makefile.in, Doc/Zsh/prompt.yo, Doc/Zsh/zle.yo,
Doc/Zsh/mod_hlgroup.yo, NEWS: documentation for highlight groups
* 52533: Src/Modules/hlgroup.c, Src/Modules/hlgroup.mdd,
Src/prompt.c: add module to provide alternate readonly views of
the content of .zle.hlgroups
2024-02-09 Mikael Magnusson
* 52526: Src/Modules/terminfo.c: metafy terminfo capabilities
2024-02-04 Bart Schaefer
* unposted (cf. users/29635): Doc/Zsh/arith.yo: additional detail
of parameter expansion in math context.
* 52521: Etc/BUGS: mapfile handling of empty/unreadable files
2024-02-04 Mikael Magnusson
* 52516: Src/prompt.c: fix crash in %H when hlgroups is empty
* 52517: Src/prompt.c: ensure that %H is followed by {
2024-02-03 Bart Schaefer
* unposted: Util/printdefines: updates and fix omissions
* unposted: cf. Roman in users/29472: Functions/Misc/zslurp:
Efficient lossless read of stdin into $REPLY
* unposted: Src/Zle/zle_tricky.c, Src/parse.c, Src/pattern.c:
Record as comments some notes about namespace usage exceptions.
* 52513: Doc/Zsh/mod_private.yo, Src/Modules/param_private.c,
Src/params.c, Test/v10private.ztst: nofork substitutions can
use private parameters; fix crash bug on {privateFD}>&N; add
tests and documentation
2024-01-28 Bart Schaefer
* 52510: Doc/Zsh/expn.yo, Doc/Zsh/mod_private.yo: document how
${ ... } et al. affect use of "private"; add index entries
* 52509: configure.ac, Src/utils.c: manage internals of stdio
objects when performing redirections.
2024-01-28 Oliver Kiddle
* 52500: Src/Zle/zle.h, Src/Zle/zle_refresh.c, Src/prompt.c:
add layer token to zle attributes to provide control over
the precedence of highlighting
* 52499: Src/prompt.c: support highlight groups defined in a
.zle.hlgroups associative array and referenced using %H in
prompt strings or hl= in zle_highlight/region_highlight
* unposted: Src/Modules/zutil.c: remove unused variable to silence
compiler warning
* Jörg Sommer: 52442: Src/zsh.h: Mark hookdef.name as const
* Jörg Sommer: 52444: Src/module.c: Mark name argument of some
functions const
* Jörg Sommer: 52441: Src/Zle/zle_vi.c: Mark variables as const
* Jörg Sommer: 52440: Src/Zle/textobjects.c: Mark variables as const
2024-01-26 Oliver Kiddle
* 52405, 52502: Src/Modules/pcre.c, Test/V07pcre.ztst:
add empty elements to $match for optional captures that don't match
* github #110: opensauce04: Completion/Redhat/Command/_dnf:
Fix incorrect completion for `dnf --showduplicates`
* github #108: Aurélien Olivier: Completion/Unix/Command/_perlbrew:
add perlbrew completion
2024-01-25 Bart Schaefer
* 52385: Test/B03print.ztst: avoid "tr" in test output formatting
2024-01-24 Bart Schaefer
* 52496 + 52377: Doc/Zsh/options.yo, Doc/Zsh/params.yo: clarify
SPROMPT behavior when CORRECT_ALL is set
* 52492: Src/math.c: prevent indexing error when using recursive
arithmetic in array subscript (operator stops on operand error)
* 52482: Src/subst.c: strip trailing newlines in emulation modes
of ${ command; }, for bash/ksh compatibility
* 52476 + cf. 52479: Etc/FAQ.yo: more about nofork substitution
* 52477: Src/Modules/curses.c: fix "zcurses mouse delay ..."
* 52473: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: zstyle -q
* 52468: Src/builtin.c, Src/utils.c: save and restore state of
correct TTY when using read -s / -d
2024-01-14 Matthew Martin
* github #109: Wu Zhenyu: Completion/Linux/Command/_valgrind: Fix
a typo
2024-01-05 Bart Schaefer
* 52465: Doc/Zsh/contrib.yo, Functions/Misc/zmv: use NULL_GLOB
when expanding the input pattern to avoid NOMATCH exit
2023-12-06 Jun-ichi Takimoto
* 52413: Completion/Unix/Command/_iconv: support Citrus version
on macOS, DragonFly and NetBSD
2023-12-13 Oliver Kiddle
* Florian Weimer: 52383: configure.ac: Avoid incompatible pointer
types in terminfo global variable checks
* 52394: configure.ac: alter form of /dev/fd test to work where
/bin/sh is ksh such as on Solaris 11
* 52393: Test/ztst.zsh: fix tests on Solaris by omitting -a option
to diff as it is not supported there
* 52392: Src/makepro.awk: use octal escape to match = without
error messages from either GNU awk or Solaris awk
* 52382: Src/Modules/ksh93.c, Src/Zle/zle_utils.c: avoid \e in C code
2023-12-09 Bart Schaefer
* 52366 + fix typo: Completion/Unix/Command/_ant: rename
find_targets as _ant_targets, replace one sed with substitution
* 52365: Src/jobs.c, Src/signals.c: record state of exited
background jobs sooner so as to be visible in TRAPCHLD
2023-12-05 Oliver Kiddle
* 52326, 52372: configure.ac, Src/jobs.c, Doc/Zsh/builtins.yo,
Completion/Zsh/Command/_kill: add -q option to kill for sigqueue
* 52373: Completion/Base/Utility/_numbers,
Completion/Solaris/Command/_dumpadm, Completion/Unix/Command/_xz:
fix _numbers for suffixes containing % and update affected functions
2023-12-04 Jun-ichi Takimoto
* 52356: (cf. 52327 Dennis Eriksen): Doc/Zsh/builtins.yo: add
missing function index entries
2023-12-02 Bart Schaefer
* 52361: Completion/Unix/Command/_ant: fix quoting of target files
(derived from Germán Riaño: 52329)
* 52360: Test/A04redirect.ztst: Simplify bad-descriptor check in
%prep -- avoids accidentally using an open descriptor (derived
from Germán Riaño: 52328)
2023-11-29 Bart Schaefer
* Sebastian Gniazdowski: 52145: Functions/Prompts/prompt_sprint2_setup:
Contributed prompt theme with current time and abbreviated VCS_info.
2023-11-23 Bart Schaefer
* 52325: Doc/Zsh/expn.yo, Doc/Zsh/mod_ksh93.yo, Doc/Zsh/params.yo:
Clarify side-effects of $argv and named references to specials,
update ksh93 feature compatibility.
unposted: Src/subst.c, Test/D10nofork.ztst: whitespace tweak to
avoid unexpected parse error when comments are used in ${ ... }
2023-11-22 Oliver Kiddle
* unposted: Completion/Unix/Command/_ri: fix missing closing brace
* 52315: Completion/...: completion options update
2023-11-18 Bart Schaefer
* 52313: Src/exec.c: subshells implementing multio reads/writes
are not interactive and should check for write errors.
2023-11-17 Oliver Kiddle
* 52307: Completion/Linux/Command/_selinux,
Completion/Linux/Command/_chcon, Completion/Linux/Command/_setpriv,
Completion/Linux/Type/_selinux_contexts, Completion/Unix/Command/_cp,
Completion/Linux/Type/_selinux_types, Completion/Unix/Command/_find,
Completion/Unix/Command/_install, Completion/Unix/Command/_mount,
Completion/Unix/Command/_zfs: new completion for many SELinux tools
* 52303: Completion/Unix/Command/_ifconfig,
Completion/Unix/Command/_chown, Completion/Unix/Command/_cp,
Completion/Unix/Command/_cut, Completion/Unix/Command/_date,
Completion/Unix/Command/_du, Completion/Unix/Command/_env,
Completion/Unix/Command/_id, Completion/Unix/Command/_ln,
Completion/Unix/Command/_ls, Completion/Unix/Command/_make,
Completion/Unix/Command/_mount, Completion/Unix/Command/_mv,
Completion/Unix/Command/_rm, Completion/Unix/Command/_sed,
Completion/Unix/Command/_split, Completion/Unix/Command/_touch,
Completion/Unix/Command/_uniq, Completion/Unix/Command/_xargs:
updates to completions for macOS 13
2023-11-15 Bart Schaefer
* 52309: Src/exec.c: suppress job control inside <<(substition)
to fix cases that hang with all signals blocked. Similarly,
allow interrupt of multios reading from a terminal.
* 52308: Etc/FAQ.yo: mention new features, fix some old answers
* 52275: Src/compat.c: rationality in zgetdir() and zgetcwd() to
avoid silently wandering out of the current directory when path
parents are inaccessible.
* 52202: Src/lex.c, Src/subst.c, Test/D04parameter.ztst: improve
handling of quoting in ${var/pattern/replacement}. Still not
perfect, e.g., deeply nested expansions in the pattern may fail.
2023-11-14 Oliver Kiddle
* github #106: Matt Koscica: Completion/Unix/Command/_tmux,
Util/check-tmux-state: update tmux completion (20230919)
* unposted (cf. 52167): Completion/Unix/Command/_mutt:
mutt's -a takes a list of files terminated by --
* 52301: Completion/Unix/Command/_gem, Completion/Unix/Command/_ri,
Completion/Unix/Command/_ruby: update options in completions for
ruby 3.2, gem 3.4.10 and ri 6.5
* 52300: Completion/Unix/Command/_ansible: ansible 2.15.2 updates
2023-11-09 Oliver Kiddle
* 52280: Completion/Unix/Command/_git: update git completion for new
options in git through to version 2.42.0
2023-11-08 Oliver Kiddle
* github #105: Shotaro Aoyama: Completion/Zsh/Command/_zle:
add "-I" for "zle" completion
* Eric Cook: 52168: Completion/Unix/Command/_xfconf-query:
add completion for xfce's xfconf-query(1)
* 52271: Src/Modules/pcre.c: use correct form for unused parameter
2023-11-02 Oliver Kiddle
* 52268: Completion/Linux/Command/_networkmanager: update to 1.42.2
* 52266: Completion/Linux/Command/_strace: update to 2.6.5
* 52265: Completion/Linux/Command/_findmnt,
Completion/Linux/Command/_lsblk, Completion/Unix/Command/_column:
update completions for some util-linux tools to version 2.39.2
* 52253: Src/Modules/pcre.c: support pcre callouts with shell
evaluation of the callout string
* 52260: Completion/Unix/Command/_sudo: handle variable assignments
before the command in sudo completion
2023-11-01 Oliver Kiddle
* 52252: Src/Modules/pcre.c: Coverity defect 1547827
* Shohei YOSHIDA: 52179: Completion/Unix/Command/_gradle:
Fix gradlew completion when it isn't in PATH
2023-10-29 Matthew Martin
* github #102: Ulysse Buonomo: Completion/Unix/Command/_todo.sh:
Ensure todo.sh completion uses builtin commands
2023-10-25 Bart Schaefer
* Daniel Shahaf: 50569 (tweaked): README, Src/Zle/zle_keymap.c:
main keymap defaults to emacs
* Sebastian Gniazdowski: 52240: Functions/MIME/zsh-mime-handler:
use work-var $s not $suffix when setting flags
* 52244: Src/Modules/zutil.c, Src/Zle/compcore.c,
Src/Zle/compresult.c, Src/builtin.c, Src/glob.c, Src/hist.c,
Src/input.c, Src/params.c, Src/utils.c: Coverity defects 1547831,
1547826 (remove unused function), 1521551, 1500752, 1500747,
1401549, 1372423, 1270645, 1255799, 1255792, 1255789, 1255787,
1255782, 1255750
2023-10-24 Matthew Martin
* github #103: Christian Heusel: Completion/Unix/Command/_zfs: fix
completion for zpool upgrade
* github #104: ErrrorMaxx: Src/exec.c: fix small typo
2023-10-16 Mikael Magnusson
* 52056: Completion/Unix/Command/_sccs: _sccs: don't handle
subcommands in main namespace
* 51490: Src/Zle/computil.c: Use time_t for lastt which stores
result of time(0)
* 52222: Doc/Zsh/contrib.yo: Document bracketed-paste-url-magic
2023-10-15 Bart Schaefer
* 52218: Etc/BUGS, NEWS, README: notes since 5.9 release
2023-10-10 Oliver Kiddle
* 52189: Completion/Unix/Type/_umountable, Src/Zle/complete.c:
ignore compadd -M if -U also specified as they don't make
sense together, this fixes df completion
* 52217: Completion/BSD/Command/_freebsd-update,
Completion/BSD/Command/_ipfw, Completion/BSD/Command/_pfctl,
Completion/BSD/Command/_sockstat, Completion/Unix/Command/_cmp,
Completion/Unix/Command/_date, Completion/Unix/Command/_elfdump,
Completion/Unix/Command/_gcore, Completion/Unix/Command/_mktemp,
Completion/Unix/Command/_iostat, Completion/Unix/Command/_ldd,
Completion/Unix/Command/_ls, Completion/Unix/Command/_ifconfig,
Completion/Unix/Command/_netstat, Completion/Unix/Command/_script,
Completion/Unix/Command/_service, Completion/Unix/Command/_split,
Completion/Unix/Command/_ssh, Completion/Unix/Command/_sysctl,
Completion/Unix/Type/_diff_options:
update completions for FreeBSD 14
* 52216: Src/Modules/watch.c: metafy usernames to allow for
them to be UTF-8 encoded
* 52214: Src/subst.c: allow extra byte for nul in allocation
* unposted (cf. 52166): Functions/Misc/run-help-svk:
remove obsolete helper for svk
* Jörg Sommer: 51812: Functions/Misc/run-help-docker,
Functions/Misc/run-help-perf, Functions/Misc/run-help-podman,
Functions/Misc/run-help-ssh, Functions/Misc/run-help-svnadmin:
run-help for docker, perf, podman, ssh, svnadmin
2023-10-05 Bart Schaefer
* 52204: Src/parse.c: fix unmeta() thinko from 52193
2023-10-03 Bart Schaefer
* 52198: Src/input.c: put back incorrectly removed zfree()
2023-10-01 Bart Schaefer
* 52195: Src/params.c: cached_username is already metafied when
initializing LOGNAME
* 52193: Src/init.c, Src/params.c, Src/utils.c: metafy USERNAME
(mostly for Cygwin compatibilty with UTF8 encodings)
* 52193: Src/parse.c: unmetafy file paths in zcompile
2023-09-27 Jun-ichi Takimoto
* 52188: Test/D04parameter.ztst: skip tests that fail if
multibyte is not available
* 52169: Src/subst.c, Src/utils.c: a few more improvemets of (#)
2023-09-23 Bart Schaefer
* 52180: Doc/Zsh/expn.yo: clarify array behavior of ${|var|...}
and the REPLY parameter
2023-09-22 Bart Schaefer
* 52176: Src/subst.c: metafy return from ${ ... } substitution
(adapted from Jun T.: 52172)
2023-09-20 Oliver Kiddle
* Jörg Sommer: 51747: Functions/Misc/run-help-ip:
ip accepts the reduction of link to l
* Jörg Sommer: 51776: Functions/Misc/run-help-openssl:
Reduce code and use new manpages
* Wim de With: 51857: Completion/Linux/Command/_fusermount:
Include fusermount3 in fusermount completions
* Atte Peltomäki: 51980: Completion/Zsh/Type/_globquals,
Doc/Zsh/expn.yo: Add glob qualifier grouping operator to completion
* Jörg Sommer: 52102: Completion/Debian/Command/_apt:
Add subcommand autopurge to apt completion
* Wesley Schwengle: 52141: Completion/Unix/Command/_git:
add trailer token completion for git commit --trailer
* 52163: Completion/Unix/Command/_zfs: completion update for
OpenZFS 2.2
2023-09-16 Bart Schaefer
* 52156: Test/E01options.ztst: Test case for user/29160.
* users/29160: Src/subst.c: Fix repetition of substituion modifier.
* Christoffer Lundell: 52082: Functions/Zle/edit-command-line:
Enable linewise edit-command when in visual-line mode.
* 52155: Test/D10nofork.ztst: Tests for non-forking substitution.
* 52154: Doc/Zsh/expn.yo, Src/lex.c, Src/subst.c: implement
and document non-forking command substitutions ${|...} and
${ ... }. Based on Sebastian Gniazdowski: 51702.
* 52153: Src/input.c, Src/Modules/mapfile.c: $mapfile[fname]
should not trim newlines (only applies when not HAVE_MMAP)
2023-09-15 Mikael Magnusson
* 52142: Completion/Zsh/Context/_parameter,
Completion/Zsh/Type/_parameters: Move _history_modifiers call
to _parameter
2023-09-13 Jun-ichi Takimoto
* 52122 + 52129: Src/subst.c, Test/D04parameter.ztst: fix (#)
parameter expansion flag for bad math expressions and out-of-
range characters
2023-09-10 Bart Schaefer
* 52125: Src/exec.c: getoutput() must not free() gettempname()
2023-09-09 Bart Schaefer
* unposted: Completion/Base/Utility/_shadow: quoting for safety
2023-09-07 Jun-ichi Takimoto
* 52114: Completion/Unix/Command/_nice: improve _nice (support
-n option, complete only external commands)
2023-09-05 Bart Schaefer
* 52115: Src/Modules/param_private.c, Test/V10private.ztst: permit
repeated "private" declarations as long as types aren't changed
2023-09-04 Jun-ichi Takimoto
* 52112: Completion/BSD/Command/_jexec,
Completion/Linux/Command/_chrt, Completion/Linux/Command/_cpupower,
Completion/Linux/Command/_ionice,Completion/Linux/Command/_setpriv,
Completion/Linux/Command/_sysstat, Completion/Unix/Command/_chroot,
Completion/Unix/Command/_mosh, Completion/Unix/Command/_route,
Completion/Unix/Command/_screen, Completion/Unix/Command/_script,
Completion/Unix/Command/_ssh, Completion/Unix/Command/_stdbuf,
Completion/Unix/Command/_timeout: use '_normal -p $service' to
complete only external commands
2023-09-03 Bart Schaefer
* users/29220: Src/Modules/param_private.c, Test/V10private.ztst:
fix bug with assignment to private following explicit unset
2023-08-28 Jun-ichi Takimoto
* Shohei YOSHIDA: 52098(+comment), 52099, 52100, 52105(+52106):
Completion/Darwin/Command/_open, Completion/Darwin/Command/_otool,
Completion/Darwin/Command/_sw-vers,
Completion/Darwin/Command/_system_profiler:
update for latest macOS (with a few fixes)
* sergio: 51858 (+52073): Completion/Unix/Command/_libvirt:
virsh's edit subcommand accepts all domains
2023-08-27 Bart Schaefer
* Marlon Richert: 51861 (tweaked for 52028):
Completion/Base/Completer/_approximate: allow _approximate
to provide corrections even when compadd is overridden
* 52028: Completion/Base/Utility/_shadow, Doc/Zsh/compsys.yo,
Doc/Zsh/contrib.yo, Functions/Misc/mkshadow: improve _shadow
and _unshadow, add helper function and update documentation
* Robert Woods: 52053: Src/utils.c: whitelist capability
CAP_WAKE_ALARM in 'privasserted' function
* Shohei YOSHIDA: 52034: Completion/Unix/Command/_sqlite:
update for version 3.42.0
2023-08-22 Peter Stephenson
* Nojus Gudinavičius: users/29175: Src/Zle/zle_hist.c: don't
need to forget edits if none were made, avoiding loop over
entire history.
2023-08-21 Jun-ichi Takimoto
* Shohei YOSHIDA: 52059 (+52070): Completion/Unix/Command/_scons:
fix for options -j/--jobs and -q/--question
2023-08-16 Peter Stephenson
* 29130, 29131 (Ray): Doc/Zsh/builtins.yo: document what typeset
-t is for, not what it isn't for.
2023-08-14 Jun-ichi Takimoto
* 52037: Completion/Unix/Command/_date,
Completion/Unix/Command/_env, Completion/Unix/Command/_watch:
complete only external commands for env and watch, with a few
more minor fixes
2023-08-06 Bart Schaefer
* Shohei YOSHIDA: 52018: Completion/Unix/Command/_wc: latest
coreutils options
* Shohei YOSHIDA: 52017: Completion/Unix/Command/_tr: latest
coreutils options
* Shohei YOSHIDA: 52016: Completion/Unix/Command/_tail: latest
coreutils options
* Shohei YOSHIDA: 52015: Completion/Unix/Command/_env: latest
coreutils options
* Shohei YOSHIDA: 52014: Completion/Unix/Command/_date: latest
coreutils options
* Shohei YOSHIDA: 52013: Completion/Unix/Command/_head: latest
coreutils options
2023-08-01 Peter Stephenson
* 52008: Src/pattern.c, Test/D02glob.ztst: Fix bug with branches
in patterns followed by an exculsion, and add tests.
2023-07-31 dana
* github #100: HexorCatZ: Completion/Unix/Command/_qemu:
add -enable-kvm and -bios suggestion
2023-07-26 Bart Schaefer
* unposted (cf. 51968): Doc/Zsh/builtins.yo: improve description
of typeset -gn and -r
* 51945: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Doc/Zsh/params.yo,
Src/builtin.c, Src/params.c, Test/K01nameref.ztst: improve named
references documentation, fixes for typeset -r and -g behavior,
fix unset reference behavior including scoping crash, more tests
* Shohei YOSHIDA: 51979: Completion/Linux/Command/_free: Update
free completion for procps-ng version 4.0.3
* Shohei YOSHIDA: 51964: Completion/Linux/Command/_pidof: support
pidof variants other than procps
* 51969: Src/builtin.c: read -d and -s should not reset terminal
state when stdin is redirected
* 51949 (tweak per 51950): Src/Zle/zle_main.c: correct Thingy
refcount in raw_getbyte()
* Shohei YOSHIDA: 51927: Completion/Unix/Command/_watch: Update
procps watch completion for version 4.0.3
* unposted (cf. 51899): Doc/Zsh/compsys.yo: document _shadow
2023-07-20 Peter Stephenson
* 51977: Src/jobs.c, Test/E01options.ztst: Combination of
PIPEFAIL and ERRRETURN / ERREXIT options failed with complex
commands at end of pipeline.
2023-07-19 dana
* github #99: mirsella: Completion/Darwin/Command/_trash,
Completion/Unix/Command/_trash: add completion for trash-d
2023-07-10 Jun-ichi Takimoto
* 51897 (+ minor tweaks): Completion/Darwin/Command/_softwareupdate:
update _softwareupdate (based on 51895 by Shohei YOSHIDA)
2023-07-09 Bart Schaefer
* 51890: Src/builtin.c: fix "whence -wa" for multiple arguments
2023-06-26 Jun-ichi Takimoto
* 51889: Src/Modules/zftp.c, Src/mkbltnmlst.sh: enable loading a
module (e.g. zftp) that depends on other modules even if zsh is
built with the full RELRO
* 51884: Doc/Zsh/params.yo, Src/params.c, Src/utils.c,
Test/D04parameter.ztst: if MULTIBYTE option is on and IFS contains
invalid bytes in curret locale then reset it to default
2023-06-22 Bart Schaefer
* 51887: Src/math.c, Src/params.c, Test/K02parameter.ztst:
namespaces recognized in math, incorrect usages rejected.
* Marlon Richert: 51860: Completion/Base/Completer/_prefix,
Test/Y01completion.ztst, Test/comptest: simplify suffix handling
in _prefix to remove longstanding and less accurate hack; tests.
* Stephane: 51813: Functions/Misc/is-at-least: differentiate empty
$2 from omitted $2 to avoid wrong comparisons against ZSH_VERSION.
2023-06-20 Jun-ichi Takimoto
* 51877: Src/Modules/pcre.mdd, configure.ac: do not build pcre
module if pcre2-config is not available.
2023-06-19 Jun-ichi Takimoto
* 51862: Doc/Makefile.in, configure.ac: support texinfo-7.0
2023-06-08 Jun-ichi Takimoto
* 51826: Src/hist.c: correctly handle metafied null character
when reading history file
* Stephane: 51817: Completion/BSD/Command/_rcctl: protect ':'
in _rcctl (was in 51817 but missed in commit 0577daf)
2023-06-06 Peter Stephenson
* Stephane: 51818: Protect another ':'.
* Stephane: 51817: Protect some use of ':' from history modifier
interpreation.
* 51816: Doc/Zsh/expn.yo, Src/hist.c, Src/subst.c,
Test/D04parameter.ztst: add :S history modifier with pattern
match.
2023-06-06 Jun-ichi Takimoto
* Marlon Richert: 51779: Test/Y01completion.ztst: update
completion test for 51761
2023-05-25 Peter Stephenson
* 51739: Src/hist.c: detect invalid history word beginning.
2023-05-21 Oliver Kiddle
* 51769: Src/jobs.c, Src/utils.c: fix compilation when
HAVE_GETRUSAGE is not defined
* Marlon Richert: 51761: Completion/Zsh/Type/_parameters:
Use zstyle verbose for _parameters descriptions
* Marlon Richert: 51682: Completion/Base/Core/_main_complete,
Test/Y01completion.ztst: Fix subscript completion bugs
inside ~[...]
* Marlon Richert: 51759: Completion/Zsh/Type/_command_names:
Show alias values in command completions
* Marlon Richert: 51760: Doc/Zsh/compwid.yo: r and R were listed
in the wrong order.
* Marlon Richert: 51758: Test/Y01completion.ztst, Doc/Zsh/expn.yo,
Completion/Zsh/Context/_dynamic_directory_name: Make dynamic dir
completion easier to implement
2023-05-13 Peter Stephenson
* 51722: Src/Modules/parameter.c: Add safety to extracting
elements of $historywords.
2023-05-13 Oliver Kiddle
* 51738: Doc/Zsh/mod_pcre.yo, Src/Modules/pcre.c,
Test/V07pcre.ztst: support pcre's DFA matching algorithm
* 51728: Doc/Zsh/mod_pcre.yo, Src/Modules/pcre.c,
Test/V07pcre.ztst: assign pcre named capture groups to a hash
* 51723: Src/Modules/pcre.c, Test/V07pcre.ztst, configure.ac:
migrate pcre module to pcre2
* Felipe Contreras: 50612: Misc/vcs_info-examples: fix typo
* github #98: Vidhan Bhatt: Completion/Darwin/Command/_shortcuts:
feat: add `shortcuts` completions
2023-05-11 Bart Schaefer
* users/29070: Src/Zle/zle_tricky.c: clean up tokens in cmdstr
before attempting completion (compctl only)
* Jim : 51609: Doc/Zsh/mod_zselect.yo:
fix reference to select(2)
* Shohei YOSHIDA: 51340: Completion/Unix/Command/_rake: update
for version 13
* Shohei YOSHIDA: 51331: Completion/Unix/Command/_pydoc: update
for version 3.11
2023-05-10 Bart Schaefer
* 51593: Functions/Misc/run-help: improve search for original
command name after skipping prefix assignments
2023-05-08 Jun-ichi Takimoto
* 51692: Test/C02cond.ztst: do not skip tests for [[ -r file ]]
and [[ -N file ]] on Cygwin
2023-04-22 Bart Schaefer
* 51670: Src/text.c: prevent possible underflow in gettext()
2023-04-18 Jun-ichi Takimoto
* 51663: Completion/Unix/Command/_ssh: fix a typo in 51582
2023-04-17 Peter Stephenson
* 51652 (plus typo correction): Src/exec.c, Test/C03traps.ztst:
fix running of TRAPEXIT explicitly.
2023-04-11 Jun-ichi Takimoto
* 51639: Doc/Zsh/params.yo, Src/init.c, configure.ac: add new
parameter ZSH_EXEPATH that is set to the full pathname of the
executable file of the current zsh
2023-04-09 Jun-ichi Takimoto
* 51631: Doc/Zsh/params.yo, Src/init.c: initialize $_ by copying
it from environment
* 51632: Src/exec.c: unmetafy $_ when exporting it to child
2023-04-03 Jun-ichi Takimoto
* 51597: Src/Zle/zle_utils.c: fix 'vared -c var' when var is unset
2023-03-30 Jun-ichi Takimoto
* 51604: Src/jobs.c, configure.ac: %M in TIMEFMT should report
in kilobytes
2023-03-29 Peter Stephenson
* 51608: Src/exec.c, Test/A01grammar.ztst: shouldn't be
executing commands after "continue &&" or "! continue ||".
2023-03-28 Mikael Magnusson
* 51602: Src/jobs.c, Src/signames2.awk: Handle SIGIOT as an
alias to SIGABRT if they are the same signal number
2023-03-27 Oliver Kiddle
* Shohei YOSHIDA: 51589: Completion/Unix/Command/_nm:
Update nm options
* 51603: Completion/Unix/Command/_git: complete dates and times
in the form that git accepts
2023-03-22 Peter Stephenson
* 51586: Src/builtin.c: When printf "%s" encounters a byte
that's not part of a valid multibyte character it should handle
it a single byte at a time.
2023-03-16 Oliver Kiddle
* 51583: Completion/Unix/Command/_git: update completion of
git attributes
* 51582: Completion/Unix/Command/_ssh: openssh 9.3 completion update
* 51581: Completion/BSD/Command/_fw_update,
Completion/BSD/Command/_rcctl, Completion/Unix/Command/_grep,
Completion/Unix/Command/_netstat, Completion/Unix/Command/_ps:
update completions to cover changes in OpenBSD 7.2
2023-03-14 Bart Schaefer
* 51573: Src/builtin.c: additional "typset -p -m" fix for namespaces
2023-03-13 Bart Schaefer
* 51572: Functions/Misc/run-help: fix error when running standalone
* Sven Joachim: 51563: Completion/Debian/Command/_sbuild: unmatched "
2023-03-11 Bart Schaefer
* 51558: Doc/Zsh/grammar.yo: Clarify "for" loops + named refs.
* 51557: Doc/Zsh/mod_ksh93.yo, Src/Modules/ksh93.c: Clarify
availability of ksh-mode parameters, improve vi-mode detection.
2023-03-11 Oliver Kiddle
* 51539: Completion/Unix/Command/_git: don't complete diff
options to git blame
2023-03-07 Bart Schaefer
* 51534: Util/printdefines: update for recent changes
2023-03-06 Bart Schaefer
* 51512: Doc/Zsh/mod_ksh93.yo: More about unsupported features
* 51511: Doc/Zsh/expn.yo, Doc/Zsh/params.yo: Document namespaces
* 51510: Src/builtin.c, Src/params.c, Src/utils.c, Src/zsh.h,
Test/K02parameter.ztst: parameters with a leading namespace are
skipped in output of "set" and "typeset", add tests for ksh-like
parameter handling and fix a bug thus revealed
* 51509 (+ fix typo): Src/params.c, Src/subst.c, Src/zsh.h: Add
${(!)name} for the referred-to parameter of a named reference,
and extend ${!name} in ksh emulation for same
* 51524: Src/Modules/ksh93.mdd: dependency on zsh/zle for linkage
2023-03-05 Bart Schaefer
* 51486: Etc/zsh-development-guide: clarify module section
* 51485: Doc/Makefile.in, Doc/Zsh/mod_ksh93.yo, Src/utils.c,
Src/Modules/ksh93.c, Src/Modules/ksh93.mdd: module for several
ksh93 features, mostly enabled only in ksh emulation.
* 51484: Src/builtins.yo Src/params.c: Extend named reference
handling for special parameters, improve doc.
* 51483: Src/Zle/compcore.c, Src/Zle/zle_tricky.c, Src/lex.c,
Src/params.c, Src/subst.c, Src/utils.c, Src/zsh.h, Src/ztype.h:
Enable assignment and expansion of parameters with ksh-like
namespace prefixes.
* unposted: Src/Modules/param_private.c: coverity memory leak
2023-02-28 Mikael Magnusson
* 51491: Src/Zle/zle_utils.c: Check should use zlemetacs instead
of zlecs
2023-02-26 Bart Schaefer
* 51464: Util/printdefines: utility to interpret zsh.h constants
* unposted: Doc/Zsh/restricted.yo: fix typo
* 51460: Src/module.c: avoid crash on bad parameter autofeature
2023-02-24 Oliver Kiddle
* Shohei YOSHIDA: 51473: Completion/Unix/Command/_cal:
Update cal/ncal completion
* Sebastian Stark: 51470 (tweaked, c.f. 51476):
Completion/Zsh/Command/_cd: Separate cdpath elements in
path-directories completion
* 51474: Completion/Unix/Command/_ansible: make -e and --vault-id
options repeatable and update for new options to ansible 2.13.2
2023-02-21 Peter Stephenson
* 51466: Src/params.c: fix access to autoloaded parameter.
2023-02-20 Bart Schaefer
* 51431: Src/builtin.c: "typeset -p" shouldn't change parameter flags
2023-02-19 Oliver Kiddle
* 51456: Completion/Unix/Command/_git: complete only modified
files with git add -u
* 51455, 51461: Completion/Unix/Type/_ldap_attributes
Completion/BSD/Command/_ldap, Completion/Unix/Command/_openldap,
Completion/Unix/Type/_ldap_filters: new completion for the OpenLDAP
client tools including a helper function for LDAP search filters
2023-02-17 Oliver Kiddle
* 51447: Src/Zle/zle_keymap.c: silence compiler maybe-uninitialized
warning by combining a couple of variables
* Øystein Walle: 51391: Completion/Unix/Command/_git:
complete remote branch names respecting --delete for git push
2023-02-14 Bart Schaefer
* 51437: Src/params.c, Test/K01nameref.ztst: Fix incorrectly-passed
test case, masked by unrelated bug. Improve warnnestedvar message.
2023-02-14 Peter Stephenson
* 51425: Src/exec.c, Test/E01OPTIONS: $(<...) shouldn't try to
open a file with NO_EXEC.
2023-02-13 Bart Schaefer
* 51430: Src/Modules/parameter.c, Src/builtin.c, Src/params.c,
Test/K01nameref.ztst: 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-12 Bart Schaefer
* 51417: Src/params.c, Test/K01nameref.ztst: Check subscripts
in named reference values more rigorously.
* 51403: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Doc/Zsh/func.yo,
Doc/Zsh/grammar.yo, Doc/Zsh/params.yo, Test/K01nameref.ztst:
Tests and documentation for 51402, clean up some other tests.
* 51402: Src/builtin.c, Src/loop.c, Src/params.c, Src/zsh.h:
Add ksh/bash features (unset -n, for ref), readonly refs,
better error checking and messages, code injection safety,
allow references to $! $? $$ $- $0 $_
* 51375: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Doc/Zsh/params.yo,
Doc/Zsh/mod_parameter.yo: Clarify, fix typos, add indexing.
* 51374: Src/Modules/parameter.c, Src/params.c, Test/README,
Test/K01nameref.ztst: Expose named references in $parameters,
fix substitution error.
* 51362: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Doc/Zsh/params.yo,
Doc/Zsh/mod_parameter.yo: Begin documentation for named references.
* 51361: Test/K01nameref.ztst, Test/V10private.ztst: Tests
for 51360.
* 51360: Src/Modules/param_private.c, Src/Modules/parameter.c,
Src/builtin.c, Src/params.c, Src/subst.c, Src/zsh.h: Initial
implementation of named references.
* 51404: Src/jobs.c: Nullify filelist after deleting (fix segfault)
2023-02-09 Oliver Kiddle
* 51320, 51383: Src/Zle/zle_main.c, Src/Zle/complist.c,
Src/Zle/zle_tricky.c, Test/D01prompt.ztst,
Test/X04zlehighlight.ztst: fixes to prevent later reappearance
of old attributes
2023-02-06 Peter Stephenson
* 51350: Src/subst.c, Test/D04parameter.ztst: the combination
${(S)...//#%...} needs to match as far as possible.
2023-02-02 Daniel Shahaf
* 51354: Doc/Zsh/params.yo: Fix markup in man page version
2023-02-02 Peter Stephenson
* 51306: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:
error message in ${unset?...} should be expanded.
* 51307: Src/input.c, Src/parse.c, Test/A02alias.ztst: error
on attempt to expand alias in function definition name didn't
find the original alias and printed an extra error.
2023-01-31 Bart Schaefer
* 51342: Etc/zsh-development-guide: update PARAMDEF description
* 51337: Doc/Zsh/expn.yo, Doc/Zsh/mod_parameter.yo: parameter
attributes cross-reference typeset equivalents (or lack thereof)
2023-01-27 Daniel Shahaf
* unposted (cribbed from users/28784 by Roman):
Test/D04parameter.ztst: Add XFail tests for substituting a
single-quoting backslash.
2023-01-27 Shohei YOSHIDA
* 51330: Completion/Unix/Command/_python: Update python3
completion for version 3.11
2023-01-24 Shohei YOSHIDA
* 51326: Completion/Unix/Command/_gcc: Improve -fsanitize
option completion
2023-01-22 Shohei YOSHIDA
* 51322 (+ minor tweak): Completion/Unix/Command/_make: Update gnu
make completion for version 4.4
2023-01-21 Bart Schaefer
* 51313: Completion/Unix/Command/_git: fix "git rerere forget"
* 51310: Src/Zle/zle_main.c: zle -F handlers preserve LASTWIDGET
2023-01-16 Peter Stephenson
* 51278: Src/params.c, Test/D06subscript.ztst: result of (i)
subscript flag with zero-length string was inconsistent with
other cases.
2023-01-11 Oliver Kiddle
* 51297: Test/X04zlehighlight.ztst: update expected test results
to match more optimised escape sequences with recent changes
* Jörg Sommer: 51256: Completion/Unix/Command/_git:
Add --refetch to completions of git-fetch
* unposted: NEWS, Src/zsh.h, Completion/Zsh/Type/_ps1234: mention
attributes changes, fix renumbering mistake and allow completion
to offer prompt escapes for PROMPT_EOL_MARK
* 51295: Src/Zle/zle_utils.c: where the end of a region coincides
with the end of PREDISPLAY, don't extend it to include new text
2023-01-10 Oliver Kiddle
* 51292: Src/Zle/zle_utils.c: fix dynamic updates of
region_highlight to account for PREDISPLAY
* 51291: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c, Src/prompt.c:
support for highlighting ellipses in the line editor
* 51290: Src/Zle/zle_refresh.c: fix display of control
characters with SINGLE_LINE_ZLE set
* 51289: Src/Zle/zle_refresh.c, Src/prompt.c: don't disable
non-colour attributes in prompts for SINGLE_LINE_ZLE and remove
superfluous extra escapes to disable attributes
* 51281: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c, Src/zsh.h:
keep track of attributes left on at the end of left and right
prompts and reapply them explicitly as appropriate
* 51280: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c, Src/init.c,
Src/prompt.c, Src/zsh.h: add support for italic and faint
fonts in the line editor
* 51258, 51272: Src/Modules/watch.c, Src/Zle/complist.c,
Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_refresh.c,
Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/builtin.c,
Src/init.c, Src/input.c, Src/loop.c, Src/prompt.c,
Src/subst.c, Src/utils.c, Src/zsh.h, Test/D01prompt.ztst,
Test/X04zlehighlight.ztst: refactor handling of terminal
attributes, removing OFF flags in zattr
* Nathan Houghton: 51276: Completion/Unix/Type/_diff_options:
Fix diff completion for non GNU / FreeBSD platforms
2023-01-08 Daniel Shahaf
* unposted: Src/Zle/zle_refresh.c: In a comment, replace a C
variables glob pattern with its matches, for greppability.
2023-01-06 Daniel Shahaf
* unposted (cf. users/28616):
Completion/Unix/Command/_subversion: _svnadmin: Add comment
noting a case that's not completed correctly.
2022-12-31 Oliver Kiddle
* Max Coplan: 51263: Doc/Zsh/files.yo: fix typo, an -> a
* Shohei YOSHIDA: 51255: Completion/Unix/Command/_ruby:
Update erb completion for version 4.0.2
* Shohei YOSHIDA: 51254: Completion/Unix/Command/_ruby:
Add irb completion for version 1.6.2
* Shohei YOSHIDA: 51253: Completion/Unix/Command/_ruby:
Update ruby completion for version 3.2.0
* Shohei YOSHIDA: 51233: Completion/Unix/Command/_gcc:
Update sanitizer list to GCC 12
2022-12-30 Peter Stephenson
* Daniel: 51249: Completion/Unix/Command/_tar: copy
--force-local option as needed for file names.
2022-12-16 Oliver Kiddle
* 51214: Doc/Zsh/builtins.yo, Src/builtin.c, Test/B04read.ztst,
Test/D07multibyte.ztst: with read -d and a delimiter that can't be
decoded into a character terminate input at the raw byte value
* Jun T.: 51207: Src/builtin.c, Test/B04read.ztst:
fix for read -d when the delimiter is a byte >= 0x80
* 51212: Etc/zsh-development-guide, Src/Modules/curses.c,
Src/Modules/stat.c, Src/Modules/zftp.c, Src/Modules/zpty.c,
Src/Modules/zutil.c, Src/Zle/compcore.c, Src/Zle/complete.c,
Src/Zle/complist.c, Src/Zle/zle.h, Src/Zle/zle_keymap.c,
Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c,
Src/builtin.c, Src/exec.c, Src/glob.c, Src/hist.c, Src/init.c,
Src/input.c, Src/lex.c, Src/math.c, Src/module.c, Src/params.c,
Src/parse.c, Src/pattern.c, Src/prompt.c, Src/sort.c, Src/subst.c,
Src/utils.c, Src/zsh.h, Src/ztype.h, configure.ac: remove STOUC()
macro which served as a workaround for ancient compilers where
casts to unsigned char were broken
* 51215: Src/Zle/zle_keymap.c, Test/X03zlebindkey.ztst,
Test/X02zlevi.ztst: consume whole CSI sequences from the input
even where they aren't explicitly bound
2022-12-15 Daniel Shahaf
* unposted: Src/zsh.h: Follow-up to the last commit: Fix a typo
in a comment.
* unposted: Src/zsh.h: lextok: Add an explanatory comment with
a cross-reference.
2022-12-13 Bart Schaefer
* 51210: Src/exec.c: Clear errflag before calling EXIT trap,
otherwise the trap is skipped for special-case errors in builtins
* Philippe Altherr: 51198: Doc/Zsh/options.yo: Clarify and expand
ERR_EXIT and ERR_RETURN documentation to include updated behavior
* Philippe Altherr: 51193: NEWS, README: Discuss ERR_EXIT changes
2022-12-12 Peter Stephenson
* 51134: Src/exec.c, Test/A01grammar.ztst: ! return doesn't
affect return status, only the (now irrelevant) local status
within the returning function.
* 51134: Doc/Zsh/options.yo: document interactions between
ERR_EXIT and ERR_RETURN and interactive shells.
2022-12-09 Bart Schaefer
* 51161: Src/exec.c: correct errno after closing xtrace FD
* Shohei YOSHIDA: 51111: Completion/Unix/Command/_global:
update completion for global to version 6.6.8
* 51047: Completion/Unix/Type/_canonical_paths: fix quoting
of completion matches when _canonical_paths -N option is used
2022-12-09 Daniel Shahaf
* 51144, 51146:
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
stg: Extract patch descriptions
2022-12-08 Daniel Shahaf
* 51142: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Check the get-unapplied style as documented
2022-12-08 Peter Grayson
* 51138: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
Updated StGit patch detection in vcs_info
2022-12-06 Bart Schaefer
* Shohei YOSHIDA: 51108: Completion/Unix/Command/_nkf: single
letter forms of Shift-JIS / EUC-JP options were reversed
* Atte Peltomäki: 51088: Functions/Misc/colors: typo in comment
2022-12-03 Bart Schaefer
* Philippe Altherr: 51094: Src/exec.c, Src/loop.c: consistent
use of bit-manipulation for noerrexit flag value changes
* Philippe Altherr: 51098: Src/exec.c, Src/loop.c, Src/zsh.h:
remove unreachable NOERREXIT_UNTIL_EXEC code and effects
* Philippe Altherr: 51076: Src/exec.c, Test/C03traps.ztst: fix
ERR_EXIT when used with "eval" or "source"; documentary comments
* Philippe Altherr: 51071: Src/exec.c, Test/C03traps.ztst: fix
ERR_RETURN when a function using && / || is called within another
statement using && / ||
* Philippe Altherr: 51001: Src/exec.c, Src/loop.c,
Test/C03traps.ztst: adjust handling of ERR_EXIT to more closely
align with POSIX and with other shells; add corresponding tests
2022-12-02 Jun-ichi Takimoto
* 51080: Src/glob.c: allow multibyte characters in glob qualifier
(u:uname:)
* 51079: Src/params.c, Test/D06subscript.ztst: metafy sep in the
array subscript flag (s:sep:) so that sep can contain \0 etc.
2022-11-23 Daniel Shahaf
* unposted (cf. 51016): Test/C01arith.ztst: Add a test case
for underscore-followed-by-digits in math context.
2022-11-17 Oliver Kiddle
* unposted (c.f. Norikatsu Shigemura: github #96):
Completion/Unix/Command/_cut: add missing local declaration
* github #87: Matt Koscica: Completion/Unix/Command/_tmux:
update options tmux 3.4
* github #95: Wu Zhenyu: Completion/Unix/Command/_mutt:
Add completions for neomutt
* unposted (c.f. Denis Bitouzé: users/28405):
Completion/Unix/Command/_tex: handle also lualatex
* 50934: Doc/Zsh/zle.yo, Src/Zle/zle.h, Src/Zle/zle_utils.c,
Src/Zle/zle_vi.c: use OSC 52 escape sequence when copying to
"* or "+ vi buffers
2022-11-09 Bart Schaefer
* 50928: Test/C03traps.ztst: scoping of ERR_RETURN in test
(most of this patch was not retained)
* 50922: Src/exec.c, Src/jobs.c: fix additional cases of signals
for current shell jobs on the right of a pipeline. Backs out
part of 50874.
2022-11-08 Peter Stephenson
* users/28338: Src/lex.c, Test/D08cmdsubst.ztst: edge case of an
edge case in command expansion of alias.
2022-11-06 Bart Schaefer
* 50874: Src/jobs.c: fix handling of tty signals for jobs in
the current shell when waiting for the right side of a pipeline.
2022-11-02 Jun-ichi Takimoto
* 50851: Doc/Zsh/options.yo, Src/exec.c, Src/options.c: restore
state (such as typtab) when returning from a function with
localoptions (but do not take care of EMACS/VI options).
2022-10-31 Bart Schaefer
* 50855: Doc/Zsh/builtins.yo, Doc/Zsh/params.yo: Clarify how
commands are hashed, and searched-for by "whence".
2022-10-31 Peter Grayson
* 50844: Completion/Unix/Command/_stgit: Remove _stgit completion
script
2022-10-25 Axel Beckert
* 50840: Doc/Zsh/grammar.yo: Correct NO_MATCH to NOMATCH.
2022-10-23 Bart Schaefer
* users/28243: Doc/Zsh/builtins.yo: update "typeset +" doc
2022-10-22 Bart Schaefer
* 50714: Completion/Unix/Command/_git (_git-diff): also complete
in the 2nd argument position anything that could be in the 1st.
2022-10-17 Peter Stephenson
* 50786: Functions/Misc/add-zle-hook-widget: make match
etc. local when used in styles.
2022-10-17 Jun-ichi Takimoto
* Wesley Schwengle: 50736: Src/Zle/compmatch.c: silence
use-after-free waring (gcc-12.2)
2022-09-29 Jun-ichi Takimoto
* 50671: Util/ztst-syntax.vim: enable spell check in *.ztst
2022-09-28 Eric Cook
* Bart Schaefer: 50399: Completion/Base/Widget/_complete_debug
Properly local scope PS4 change
* 50695: Completion/Unix/Command/_mysql_utils add --protocol
option
2022-09-27 Jun-ichi Takimoto
* 50668: Src/utils.c, Test/D09brace.ztst: treat 8bit characters
in charcter range correctly when multibyte is unset
2022-09-26 Jun-ichi Takimoto
* 50662: Test/ztst.zsh: unset LC_* for all the tests
* 50658 + test: Src/Modules/pcre.c, Test/V07pcre.ztst: Enable to
switch between C/UTF-8 locales in PCRE
2022-09-25 Peter Stephenson
* 50648: Functions/Misc/zcalc: Julian Prein: Use ZCALC_HISTFILE
where defined for zcalc history.
2022-09-21 Jun-ichi Takimoto
* Nicholas Vinson: 50641: aczsh.m4, configure.ac: use 'int main()'
in test C-codes in configure
2022-09-15 Jun-ichi Takimoto
* 50629: Test/D07multibyte.ztst, Test/E01options.ztst,
Test/V07pcre.ztst, Test/X02zlevi.ztst, Test/X03zlebindkey.ztst,
Test/Y01completion.ztst, Test/ztst.zsh: do not use egrep in tests
2022-08-28 Daniel Shahaf
* unposted: Completion/Unix/Command/_imagemagick: Add *.svg
and *.webp files.
2022-08-05 Jun-ichi Takimoto
* Felipe Contreras: 50435+50436 (+50444):
Completion/Unix/Command/_make: do not actually build anything.
Also include some performance improvements.
2022-07-24 Jun-ichi Takimoto
* 50421: Completion/Zsh/Context/_redirect: add missing context
as the 1st argument to _dispatch
* 50418: Src/zsh_system.h, configure.ac: use setenv(3)/getenv(3)
on newer macOS
2022-07-16 Bart Schaefer
* users/27852: Completion/Unix/Command/_python: Make a local copy
of $_compskip to avoid propagating outward any changes by _normal
2022-06-21 Bart Schaefer
* 50379 (tweaked per 50380): Src/jobs.c: fix off-by-one
side-effect of workers/49906 that broke $(jobs -l)
* 50368: Src/Modules/db_gdbm.c: adjust bitflags so local copies of
variables cannot mess with database file contents
2022-06-16 Peter Stephenson
* 50372: Etc/FAQ.yo: remove redundant references from days of
Usenet posting.
2022-06-14 Jun-ichi Takimoto
* 50365: Etc/FAQ.yo: fix indent in FAQ (text version)
2022-06-11 Bart Schaefer
* 50355: Doc/Zsh/mod_system.yo, Src/Modules/system.c: make return
status values of sysopen consistent with other sys* functions,
make ERRNO values consistent for all, and update documentation
2022-06-11 Jun-ichi Takimoto
* 50356: Etc/FAQ.yo: work around a yodl bug (mishandling of \'e)
2022-06-09 Bart Schaefer
* 50363: Src/Modules/param_private.c: avoid use of heap memory
that depends on parameter scoping
2022-06-09 Matthew Martin
* 50359: Src/builtin.c: fix bad sticky-emulation in "functions -c"
2022-06-09 Bart Schaefer
* 50351: Src/builtin.c: "functions -c" can set signal traps
2022-06-09 Jun-ichi Takimoto
* 50342: Src/jobs.c, Test/A05execution.ztst: fix test added by
50306
2022-06-08 Bart Schaefer
* 50341: Src/parse.c: disallow here-doc markers containing newline
* 50335: Functions/Misc/zargs: simplify "wait" usage, fix signal
handling for functions used as the command.
2022-06-07 Peter Stephenson
* 50339: Doc/Zsh/options.yo, Src/text.c, Test/C04funcdef.ztst:
Make multiple function output safer with NO_MULTI_FUNC_DEF and
document exceptions to errors raised by MULTI_FUNC_DEF.
2022-06-04 Bart Schaefer
* 50323: Completion/Base/Utility/_shadow (new file),
Completion/Base/Widget/_complete_help, Functions/Zle/keeper:
create helper for shadowing builtins or existing functions and
use it when redefining compadd et al.
2022-06-03 Jun-ichi Takimoto
* 50306: Src/jobs.c, Src/signals.c, Test/A05execution.ztst: fix
wait builtin for child that has been stopped and continued.
2022-06-02 Bart Schaefer
* 50325: Src/Zle/compmatch.c, Src/Zle/computil.c: revert 38150 and
fix in calling function cfp_matcher_range() instead
2022-05-30 Bart Schaefer
* Marlon Richert: 50307 (cf. PWS 50205):
Completion/Zsh/Type/_suffix_alias_files: suffix aliases should not
collide with directory names when completing
2022-05-26 Peter Stephenson
* 50287: configure.ac: Turn on use of getcwd by default. Leave
the ability to turn it off per OS configuration.
* 50286: Functions/Misc/zed: avoid error if nounset is in effect.
2022-05-25 Norbert Lange
* github #94: Completion/Linux/Command/_modutils: Support .zst
kernel modules with modutils.
* github #93: Completion/Linux/Command/_btrfs,
Completion/Linux/Command/_fusermount,
Completion/Unix/Type/_umountable: Replace /etc/mtab with
/proc/self/mounts for Linux.
2022-05-22 Bart Schaefer
* 50278: Completion/Unix/Command/_man: use `man -w` in preference
to `manpath` for portability; fix caching and precedence of -M
2022-05-20 Arvid Norlander
* github #91: Completion/Unix/Command/_find: _find
(gnu/freebsd/darwin): Add some flags and syntaxes
2022-05-14 Bart Schaefer
* 50229: NEWS: Typo
* Jan Brieg: 50212 (and discussion): Functions/Misc/colors: Add
"bright" color variants
2022-05-15 Axel Beckert
* 50220: Doc/Zsh/{builtins,options}.yo: Fix typos found by
Debian's Lintian tool.
2022-05-14 dana
* unposted: Config/version.mk: Post-release version bump
* unposted: Config/version.mk: Update for 5.9
2022-05-11 Jun-ichi Takimoto
* 50192: Src/openssh_bsd_setres_id.c: use set{u,g}id() instead of
setre{u,g}id() for dropping privilege on NetBSD
2022-05-08 dana
* 50176 (with xpufx, tweaked): Completion/Linux/Command/_htop:
Improve htop completion
2022-05-07 Bart Schaefer
* 50184: Completion/Base/Utility/_values: fix inclusion of -S
separator in -r options passed to compadd through _describe
* Marlon Richert: 49954: Completion/Unix/Command/_gradle: improve
handling of task names, subprojects, completion tags, and caching
* unposted: Doc/Zsh/builtins.yo: cross-reference "typeset -f" for
"functions -[Tt]"
2022-05-02 Bart Schaefer
* unposted (cf. Jun-ichi 50164): Test/E01options.ztst: add sleep
after nullexec test to allow background process to flush writes
(observed only on MacOS Monterey 12).
* 50162: Test/D07multibyte.ztst: Tweak 50150 test to check proper
metafication of array elements and to ignore collation variances
2022-05-01 Bart Schaefer
* 50160: Test/D03procsubst.ztst, Test/E01options.ztst: Regression
tests for 50126, 50136, and 50149
* 50159: Test/V14system.ztst: Tests for sysread
* 50157 (Daniel Shahaf): Test/D07multibyte.ztst: Test for 50150
2022-05-01 dana
* unposted: Config/version.mk: Update for 5.8.1.3-test (5.9)
* unposted: Etc/creating-a-release.txt: Mention #zsh topic
2022-04-30 Bart Schaefer
* unposted: Etc/BUGS: remove debian #924736, fixed since 5.8 by
workers/44142; correct misguided edit from earlier commit
* unposted: Doc/Zsh/expn.yo, NEWS: Details about ${(*)...}
* 50150: Src/Modules/stat.c: Filenames need unmetafy for printing
* 50149: Etc/BUGS, Src/builtin.c, Src/jobs.c: Remove all =(...)
files at shell exit
2022-04-29 Bart Schaefer
* 50136: Etc/BUGS, Src/exec.c: Fix =(nosuchcommand) race/deadlock
first reported in workers/42609
* 50134: Src/jobs.c: Tweak process group handling (workers/43409)
to avoid creating "unkillable" pipelines that ignore signals
* unposted: Etc/BUGS: Details about STTY; consistency nit
2022-04-28 Bart Schaefer
* 50138: Doc/Zsh/params.yo: Note ERRNO must be set before use.
* 50133 (Bart, PWS, Jun-ichi): Src/input.c, configure.ac: when
lseek(2) is available, use it to check for and rewind read-ahead
for more efficient line-buffered input.
* 50126: Etc/BUGS, Src/exec.c: Fix multios in current-shell "exec"
* 50101: Src/Modules/system.c: sysread -o with param matches doc
2022-04-26 dana
* unposted: Completion/Unix/Command/_getopt: Fix util-linux
variant detection
* unposted: NEWS: Adjust dedication wording
2022-04-26 Jun-ichi Takimoto
* 50089: Test/X03zlebindkey.ztst: unset LC_* for multibyte tests
2022-04-12 Peter Stephenson
* 50049: Src/exec.c, Src/prompt.c: care with signed character
indices on the few remaining systems such as Cygwin that aren't
otherwise protected.
2022-04-20 Jun-ichi Takimoto
* 50081: Src/pattern.c, Src/params.c: reset global mbstate_t
variables when LC_CTYPE changes
* 50080: Src/hist.c: add missing STOUC() in casemodify()
2022-04-19 Bart Schaefer
* unposted (cf. users/27656 (Tomasz Pala), users/27660):
Completion/Unix/Type/_path_files: fix $SUFFIX when GLOB_COMPLETE
2022-04-14 Bart Schaefer
* 50069: Test/C03traps.ztst: fix test description
* 50068: Etc/BUGS, Src/builtin.c, Test/C03traps.ztst: 'exit' in
trap causes calling function to return (fixes workers/44007)
2022-04-14 Jun-ichi Takimoto
* 50052: Test/V14system.ztst: do nothing when skipping the test
* 50046: Test/ztst.zsh: export LANG to child zsh
2022-04-12 Jun-ichi Takimoto
* 50013: Test/P01privileged.ztst, Test/ztst.zsh: skip %test if
a chunk in %prep returns nonzero
* 49996 (Peter) + 50012: Test/README, Test/ztst.zsh: add
ZTST_continue to continue tests after a failure
* 50017: Completion/Unix/Type/_time_zone: allow lowercase to
match with uppercase
2022-04-11 Bart Schaefer
* 50043: Test/D02glob.ztst, Test/E03posix.ztst: for root user,
skip glob tests that rely on limited privilege and fix EUID test
2022-04-11 Mikael Magnusson
* 50042: Src/Zle/compcore.c: Another fix for 49915
2022-04-10 Daniel Shahaf
* unposted: NEWS: Improve flow between the paragraph and
its links.
2022-04-09 dana
* unposted: Config/version.mk, Etc/FAQ.yo: Update for
5.8.1.2-test (5.9)
* 49958: NEWS: Dedicate zsh 5.9 to Sven Guckes
* 49958, (tweaked per 50019): NEWS, README: Add missing
changes, update for zsh 5.9
2022-04-06 Matthew Martin
* 49960: Doc/Zsh/compsys.yo: Sort lists in zshcompsys.
2022-04-05 Bart Schaefer
* 49994: Src/glob.c: Single-byte equivalence of users/22601 and
workers/40891 for matching against zero-length strings
2022-04-05 Peter Stephenson
* 49989: Src/Zle/compresult.c, Src/utils.c, Src/zsh.h: Align
"nice" printing for single byte compilation with multibyte.
2022-04-04 Bart Schaefer
* 49992: Src/utils.c: further unify single- and multi-byte
implementations of nicechar() to fix ${(V)...} output format
* 49991: Src/glob.c, Src/utils.c: single-byte brace expansion
handles $'\0' and control character output aligns with multibyte
* 49990: Src/hist.c: in single-byte, like multibyte, casemodify()
avoids metafying characters that it otherwise did not touch
2022-04-03 Bart Schaefer
* 49955 (with thanks to Madhu ): Src/glob.c:
fix bad free in incremental-pattern-search matching (observed
only when compiled without MULTIBYTE support)
2022-04-03 Mikael Magnusson
* 49959: Completion/Zsh/Context/_brace_parameter:
_brace_parameter: add (-)
* 49957: Src/Zle/compcore.c: Brown paper bag for 49915
* 49961: Completion/Unix/Command/_adb: _adb: handle exec-out
like shell
* 49962: Completion/Unix/Command/_adb: _adb: Add dumpsys and
cmd completion
* 49963: Completion/Unix/Command/_adb: _adb: Fix device serial
completion for hostname:port syntax
* 49964: Completion/Unix/Command/_adb: _adb: Complete services
for start/stop
* 49965: Completion/Unix/Command/_adb: _adb: use $CURRENT instead
of $#words
* 49966: Completion/Unix/Command/_adb: _adb: Parse device spec
correctly
* 49967: Completion/Unix/Command/_adb: _adb: Handle dumpsys
SurfaceFlinger arguments
* 49968: Completion/Unix/Command/_adb: _adb: also replace model
names, since device names aren't sent on wifi listing
2022-04-02 dana
* unposted (see 48073): Completion/Zsh/Command/_fc: Complete
new -s option
* unposted (see security/107): Etc/creating-a-release.txt:
Normalise white space, clarify some steps
2022-04-01 Jun-ichi Takimoto
* 49943: Completion/Unix/Type/_time_zone: offer only filenames
starting with an uppercase letter
2022-03-31 Matthew Martin
* unposted: Completion/BSD/Command/_rcctl: Fix typo.
* github #88: elig0n: Doc/Zsh/func.yo: Fix typo.
* 49933: Doc/Zsh/mod_system.yo, Src/Modules/system.c: Add
nonblock to sysopen.
* 49932: Completion/Zsh/Context/_brace_parameter: Update
_brace_parameter # description.
* 49931: Completion/BSD/Command/_bsd_pkg: Update _bsd_pkg.
* 49907: Etc/completion-style-guide: Mention _numbers in
completion guide.
2022-03-31 Peter Stephenson
* 27639: Doc/Zsh/expn.yo: clarify that ${(#)...} deals with
character codes.
2022-03-30 Peter Stephenson
* 49906 (Bart), 49911: Doc/Zsh/builtins.yo,
Doc/Zsh/mod_parameter.yo, Src/exec.c, Src/jobs.c,
Test/W03jobparameters.ztst: Fix querying jobs in subshell.
Don't query invalid job at end, if background job started in
subshell query jobs in subshell instead of main shell.
2022-03-30 Mikael Magnusson