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
* 49893: Src/Zle/comp.h, Src/Zle/compcore.c: Fix comments for
UNIQCON/ALL
* 49915: Src/Zle/comp.h, Src/Zle/compcore.c: Efficient dedup
for unsorted completions
* 49870: Src/glob.c: Fix NULL reference in match code more
* 49813: Doc/Zsh/redirect.yo, Src/exec.c: <<<: Document newline
behavior and fix optimization
* 49820: Src/Zle/compresult.c: Fix a crash when completing with
combination of -Q and braces
2022-03-30 Jun-ichi Takimoto
* 49910: Test/D07multibyte.ztst, Test/E03posix.ztst: move
multibyte-related incompatibility with POSIX from E03 to D07
* 49908: Test/ztst.zsh: reset LC_CTYPE to C during tests.
2022-03-29 Bart Schaefer
* 49918: NEWS, README: Update for 49917 and 49911.
* 49917: Completion/compinit, Doc/Zsh/compsys.yo: change sense
of "Ignore insecure ..." answer to ignore the files rather than
ignore the problem. Use "autoload -r" for autoload paths.
2022-03-29 Jun-ichi Takimoto
* 49853 + 49882/49883: Src/subst.c, Test/D04parameter.ztst: make
"${array[*]:offset:length}" compatible with ksh/bash
2022-03-28 Bart Schaefer
* 49897: Functions/Misc/zargs: Eliminate reliance on $jobstates
parameter, fix -P exit status check.
2022-03-28 Peter Stephenson
* 49890: Src/Zle/zle_utils.c: best not to look at unallocated
memory in saved command line.
2022-03-24 Peter Stephenson
* 49875: Completion/Unix/Command/_texinfo: info -f completes
both info pages by search and (if there's a slash present) local
files. Not all versions of info seem to need the slash, however.
* 49845: Doc/Zsh/options.yo: clarify that options can be local
in function scope.
2022-03-18 Matthew Martin
* 49852: Completion/BSD/Command/_pfctl,
Completion/BSD/Type/_routing_domains,
Completion/BSD/Type/_routing_tables,
Completion/Unix/Command/_arp, Completion/Unix/Command/_netstat,
Completion/Unix/Command/_pgrep, Completion/Unix/Command/_ping,
Completion/Unix/Command/_route, Completion/Unix/Command/_top:
Add _routing_domains and _routing_tables types.
* 49851: Completion/BSD/Type/_login_classes: Complete
login.conf.d classes.
2022-03-13 Bart Schaefer
* 49844: Doc/Zsh/expn.yo, Doc/Zsh/zle.yo: Fix node reference
errors from 49446 and 49448.
2022-03-08 Mikael Magnusson
* 49773: Functions/Prompts/promptinit: promptinit: only exclude
current theme from preview if no arguments are given
2022-03-06 Jun-ichi Takimoto
* 49802 (+ 49804:Daniel): Test/W03jobparameters.ztst: pass
MODULE_PATH to the zsh started by zpty
2022-03-03 Peter Stephenson
* 49792: Src/input.c, Test/A01grammar.ztst: Use line buffering
for non-interactive input.
* 49787: Test/W02jobs.ztst, Test/W03jobparameters.ztst: test for
jobs fix in 49783.
2022-03-01 Peter Stephenson
* 49783: Src/jobs.c, Src/Modules/parameter.c: Consistently use
old job table in parameter module.
* users/27536: Doc/Zsh/builtins.yo: Clarify interaction of
history matching and numeric indices.
2022-02-23 Jun-ichi Takimoto
* 49766: Completion/Unix/Command/_less: add quotes to -" and -#
* 49765: Completion/Unix/Command/_less: add option --color
as synonym for -D
2022-02-22 Daniel Shahaf
* unposted: Doc/Zsh/contrib.yo, Src/Modules/parameter.c,
Src/string.c, Src/zsh.h: Fix some typos and markup.
2022-02-22 Peter Stephenson
* 49672: Doc/Zsh/expn.yo: document "tied" output in parameter
(t) output.
2022-02-22 Mikael Magnusson
* 49769: Doc/Zsh/mod_stat.yo: Mention how to show nanosecond
precision
2022-02-20 Daniel Shahaf
* 49728: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg:
vcs_info hg mq: Don't include applied patches in the unapplied
patches
* 49727 (+ comment): Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_git,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
quilt: Pass the patches dir path to the gen-applied-string,
gen-unapplied-string, and set-patch-format hooks
* unposted: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg:
vcs_info hg mg (with get-unapplied set): Stop leaking a variable
to global scope
2022-02-16 Jun-ichi Takimoto
* 49757 (sourceforge #1): samcarter: Completion/Unix/Command/_tex:
offer *.dtx as TeX input files
2022-02-15 Jun-ichi Takimoto
* 49756 + 49758 (Daniel): Etc/FAQ.yo, Util/zyodl.vim: replace
yodl macro LPAR() in FAQ.yo by SUBST(_LPAR_)
2022-02-13 Axel Beckert
* unposted: README: Fix underline length of "Incompatibilities
between 5.5.1 and 5.6.2" headline. (Cosmetic fix)
2022-02-12 dana
* unposted: Config/version.mk: Post-release version bump
* unposted: Config/version.mk, Etc/FAQ.yo, README: Update
for 5.8.1
* Marc Cornellà: security/82 (tweaked):
Functions/VCS_Info/VCS_INFO_formats: Fix typo in
hook_com[base-name_orig] assignment
* CVE-2021-45444: NEWS, README: Document preceding two changes
* Marc Cornellà: security/89:
Etc/CVE-2021-45444-VCS_Info-workaround.patch: Add patch which
can optionally be used to work around recursive PROMPT_SUBST
issue in VCS_Info
* Oliver Kiddle: security/41: Src/prompt.c: Prevent recursive
PROMPT_SUBST
2022-02-04 Jun-ichi Takimoto
* 49730: Completion/Unix/Command/_csplit,
Completion/Unix/Command/_pr, Completion/Unix/Command/_ptx,
Completion/Unix/Command/_truncate: New completers
2022-02-02 Matthew Martin
* 49731: Completion/BSD/Command/_sysclean,
Completion/BSD/Command/_sysmerge,
Completion/BSD/Command/_syspatch,
Completion/BSD/Command/_sysupgrade: Add completers
2022-01-30 Mikael Magnusson
* 49694 + doc: Doc/Zsh/builtins.yo, Doc/Zsh/params.yo, Src/exec.c:
Allow using empty STTY= to freeze tty for a single command
2022-01-29 Daniel Shahaf
* unposted: Functions/VCS_Info/test-repo-git-rebase-apply,
Functions/VCS_Info/test-repo-git-rebase-merge: vcs_info git:
Teach the rebase-apply test case generator to also generate
rebase-merge test cases
* unposted: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Add a missing guard against redefining a function.
* unposted: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Deconfuse $EDITOR
* unposted: Functions/VCS_Info/VCS_INFO_patch2subject,
Functions/VCS_Info/VCS_INFO_set-branch-format,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info: Add
Vim modelines
* 49723: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Use quilt-patch-dir and ${QUILT_PATCHES} even when get-unapplied
hasn't been set
* 49722: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Refactor for readability. No functional change.
* 49715: Completion/Unix/Command/_subversion: add: Complete
target arguments to this subcommand
* 49714: Completion/Unix/Command/_subversion: resolve: Complete
conflicted files created by merges, too
* 49713: Completion/Unix/Command/_subversion: commit, diff,
revert: Update completions for svn 1.7 and newer
* 49712: Completion/Unix/Command/_subversion: svn rm: Complete
all svn-controlled files, not only missing/deleted files
* 49711: Completion/Unix/Command/_subversion: _svn_status:
Don't offer unversioned files
2022-01-27 Daniel Shahaf
* unposted: Doc/Zsh/contrib.yo: vcs_info quilt docs: Fix
misspelled style name
* unposted: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Remove a no-op variable assignment
2022-01-25 Daniel Shahaf
* 49709: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg:
vcs_info hg: Keep $HGPLAIN set for hooks if it had been set
outside vcs_info
2022-01-23 Andreas Schneider
* gitlab !17: Completion/Unix/Command/_quilt: Add missing
options for quilt setup command
2022-01-01 Bart Schaefer
* Matt Alexander: 49667: Functions/Misc/colors: include "gray"
2021-12-29 Oliver Kiddle
* Aaron Schrab: 49664: Completion/Unix/Command/_git:
Use associative array for third-party completion
* 49668: Completion/Unix/Command/_zfs,
Completion/Unix/Type/_zfs_dataset: update zfs completion
2021-12-24 Bart Schaefer
* m0viefreak: 38150: Src/Zle/compmatch.c: fix off-by-one error
in matcher spec parsing
2021-12-21 Peter Stephenson
* 49658: Src/glob.c: Remove erroneous use of NULL pointer for
replacement pattern match.
2021-12-21 Oliver Kiddle
* 49655 based on 34928 (Daniel Hahler):
Completion/Unix/Command/_pip: new pip completion
2021-12-16 Oliver Kiddle
* 49653: Src/Zle/computil.c: fix array indexing issue introduced
with 49518 due to using decimal rather than hex 20
* 49648 based on github #80 (Vincent Bernat):
Completion/Unix/Command/_find, Completion/Zsh/Type/_globquals:
invert before/since for date glob qualifiers completion
2021-12-14 Oliver Kiddle
* 49518: Src/Zle/computil.c, Etc/BUGS, Test/Y03arguments.ztst:
fix exclusions for mixed - and + stacked options
2021-12-13 Oliver Kiddle
* 49646: Doc/Zsh/mod_watch.yo, Src/Modules/watch.c, Src/prompt.c:
allow colors in WATCHFMT with %F/%K
* 49645: Completion/Unix/Type/_path_commands: when completing for
the path_dirs option, add a / suffix and follow symlinks
* 49643: Completion/Zsh/Type/_command_names: facilitate use
of the fake style by always calling _description with the
executables tag
* 49634, reported by Claes Nästén: configure.ac: revert 28989,
defining _POSIX_C_SOURCE caused issues on Solaris 10 but
doesn't seem to be needed for musl anymore
2021-12-07 Oliver Kiddle
* 49633: Completion/Unix/Command/_git: update options for git 2.34
2021-12-02 Oliver Kiddle
* 49630: Completion/bashcompinit: allow zsh to quote matches but
include a special case for space suffixes
* 49631: Completion/Unix/Command/_logger: new logger completion
* 49629: Completion/Linux/Command/_perf: new Linux perf completion
2021-12-01 Daniel Shahaf
* 49628: Test/D01prompt.ztst: Add an xfail test for RPS1/RPROMPT
equivalence.
* 49624: Test/E03posix.ztst: Expect the test 'All identifiers
are variable references in POSIX arithmetic' to pass, as it
has been passing since 49611.
* unposted: Doc/Zsh/zle.yo, Doc/ztexi.yo: Add whitespace and
comments. No functional change.
* 49621: Doc/Zsh/manual.yo, Doc/Zsh/zle.yo: Fix the info Doc
build, broken in 49448.
2021-11-30 Oliver Kiddle
* 49612: Src/module.c: avoid startup error with clashing non-local
module parameter name
* 49611 based on 49590 (Martijn Dekker): Src/math.c: disable Inf
and NaN in math expressions for sh emulation
2021-11-28 Oliver Kiddle
* 49606: Src/hashnameddir.c, Src/utils.c, configure.ac: remove old
NIS-specific code for retrieving user data
* 49602: Src/params.c: only set LOGCHECK from the watch module
* 49601: Src/hist.c, Test/W01history.ztst: don't create
ambiguous history file entries for lines ending with a backslash
2021-11-26 Paul Seyfert
* github #83: Completion/Unix/Command/_git: _git-push,
_git-send-pack: Make --push-option repeatable.
2021-11-26 Daniel Shahaf
* 49448: Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo: docs: Fix pointers
to the `Widgets', `User-defined Widgets', and `Standard Widgets'
sections.
* 49447: Doc/Zsh/compsys.yo: docs: _wanted: Clarify the example
and point to another one.
* 49446: Doc/Zsh/expn.yo: docs: Add texinode()s, so the next
commit can link directly to a subsection.
* 49445: Doc/Zsh/calsys.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo,
Doc/Zsh/intro.yo, Doc/Zsh/jobs.yo, Doc/Zsh/mod_newuser.yo,
Doc/Zsh/options.yo, Doc/Zsh/params.yo, Doc/Zsh/roadmap.yo,
Doc/Zsh/zle.yo: docs: Clean up some subsection references.
* 49449: Completion/Unix/Command/_stat: _zstat: Don't offer -o
after -s, since -s is ignored when both -s and -o are specified.
* 47599 (tweaked): New test for '{foo,bar}' in command position
2021-11-24 Oliver Kiddle
* 49597: Completion/Base/Core/_description, Doc/Zsh/compsys.yo,
Completion/Base/Utility/_numbers, Completion/BSD/Command/_ipfw,
Completion/Linux/Command/_btrfs, Completion/Unix/Command/_dd,
Completion/Unix/Command/_git, Completion/Unix/Command/_head,
Completion/Unix/Command/_killall, Completion/Unix/Command/_pv,
Completion/Unix/Command/_rclone, Completion/Unix/Command/_rsync,
Completion/Unix/Command/_stdbuf, Completion/Unix/Command/_tail,
Completion/Unix/Command/_timeout, Completion/Unix/Command/_zfs,
Completion/X/Command/_xset: add a helper for completing numbers
with unit suffixes and separate out defaults, ranges and units
in completion descriptions
2021-11-22 Jun-ichi Takimoto
* 49586: Src/hist.c: fix :a and :A modifiers (with PWD="/") on
Cygwin
2021-11-19 Oliver Kiddle
* 49594: Completion/Unix/Command/_chmod: adapt to changes in 49499
to ensure file modes starting with dash aren't taken to be flags
* 49584: Completion/Unix/Command/_gem: allow for build options
in gem install completion
* Arseny Maslennikov: 49575: Doc/Zsh/compsys.yo:
clarify _alternative's action syntax
2021-11-15 Jun-ichi Takimoto
* 49563: Src/Modules/watch.c: fix build problem of watch module
on Cygwin
2021-11-12 Oliver Kiddle
* github #82: Dimitris Apostolou: Completion/BSD/Command/_kdump,
Completion/Redhat/Command/_dnf, Completion/BSD/Command/_ktrace,
Completion/Linux/Command/_modutils, Test/A01grammar.ztst,
Completion/Linux/Command/_sysstat, Functions/Chpwd/cdr,
Completion/Unix/Command/_ansible, Completion/Unix/Command/_gcc,
Completion/Mandriva/Command/_urpmi, Etc/NEWS-4.3,
Completion/Debian/Command/_aptitude, Etc/FAQ.yo,
Functions/Newuser/zsh-newuser-install, NEWS,
Functions/Misc/regexp-replace, Src/Zle/compmatch.c,
Src/exec.c, Src/math.c, Test/B12limit.ztst: fix typos
* Marlon: 49572: Completion/Base/Completer/_expand,
Test/Y01completion.ztst: Let _expand preserve array form w/out
zstyle glob
* unposted: Completion/Unix/Command/_ansible: fix case statement
fall-through for ansible-galaxy role completion
* 49566: Doc/Zsh/compsys.yo: document the _default function
* 49564: Completion/Unix/Type/_files, Doc/Zsh/compsys.yo: always
use descriptions included in the file-patterns style and allow
the recursive-files style to also work in those cases
* 49562: Doc/Zsh/compsys.yo: remove old documentation for
other-files tag that was removed in 36165
* 49561: Src/Modules/zutil.c, Doc/Zsh/mod_zutil.yo,
Completion/Base/Core/_description, Completion/Base/Core/_message,
Test/V13zformat.ztst: Add zformat -F option, similar to -f but
ternary expressions check for existence instead of doing math
evaluation. Make use of it with the format style.
2021-11-07 Oliver Kiddle
* 49544: Src/Modules/watch.c: only tie watch/WATCH if both come
from the module
2021-11-02 Oliver Kiddle
* 49534, 49539: Doc/Makefile.in, Doc/Zsh/builtins.yo,
Doc/Zsh/compat.yo, Doc/Zsh/mod_watch.yo, Doc/Zsh/params.yo,
Src/Modules/watch.mdd, Src/builtin.c, Src/init.c, Src/params.c,
Src/utils.c, Src/Modules/watch.c, Src/zsh.mdd: separate watch/log
functionality out into a module
* 49537: aczsh.m4, configure.ac: fix finding utmpx file on FreeBSD
2021-11-01 Jun-ichi Takimoto
* 49535: Src/Zle/compcore.c: fix completion of parameter names
for ${ and ${(a)
2021-10-31 Bart Schaefer
* users/27302: Completion/Unix/Type/_remote_files: respect setting
of AUTO_REMOVE_SLASH option
2021-10-30 Oliver Kiddle
* 49533: Src/utils.c: add null check for preprompt functions list
that could occur following an error when loading a module
* 49528: Src/Zle/comp.h, Src/Zle/compcore.c, Src/Zle/complete.c,
Completion/X/Command/_xinput, Completion/Zsh/Command/_compadd,
Doc/Zsh/compwid.yo: allow multiple -D options to compadd
* unposted (c.f. Bart: 49531): Test/Y02compmatch.ztst: fix test
2021-10-27 Matthew Martin
* 49529: Completion/BSD/Command/_rcctl: Add rogue and
descriptions to _rcctl ls.
2021-10-26 Oliver Kiddle
* Peter Palfrader: 49431 (tweaked, c.f. Bart: 49434):
Completion/Unix/Type/_ssh_hosts: Faster ~/.ssh/config processing
* Marlon: 49521: Doc/Zsh/compwid.yo, Test/Y02compmatch.ztst:
Define correct behavior of || completion matchers
* 49519: Completion/Base/Utility/_arguments,
Completion/Darwin/Command/_qtplay, Completion/Unix/Command/_less,
Completion/Unix/Command/_nm, Completion/Unix/Command/_php,
Completion/Unix/Command/_strings, Completion/Unix/Command/_zip,
Completion/X/Command/_gnome-gv: quote completed options as needed
and remove the now superfluous quotes from option specifications
* 49516: Src/Zle/compmatch.c: bail out early from matching
control if command line content is too short for the coanchor
2021-10-24 Jun-ichi Takimoto
* 49520: Etc/completion-style-guide: document $_args_cache_cmd
* 49493: Completion/Base/Utility/_arguments: fix handling of
optional argument of long option in help text
2021-10-23 Oliver Kiddle
* 49499 based on 49496 by Jun T.: Src/Zle/computil.c,
Test/Y03arguments.ztst: fixes to option -A of _arguments
* 49500: Completion/Linux/Command/_lsns: new completion
2021-10-16 dana
* github #79 (tweaked): Xavier Hsinyuan:
Completion/Unix/Command/_ssh: update options in apple's version
of ssh-add
2021-10-13 Matthew Martin
* 49441: Completion/Unix/Command/_timeout: Add OpenBSD.
2021-10-11 Jun-ichi Takimoto
* 49464: Completion/Linux/Command/_basenc: new completion
2021-10-05 Peter Stephenson
* 49433: Src/parse.c: Assuming EPROG references are bounded by
function depth is incorrect as we have efficient function copy.
2021-10-04 Bart Schaefer
* 49456: Doc/Zsh/mod_private.yo, Doc/Zsh/params.yo,
Src/Modules/param_private.c, Src/params.c, Test/V10private.ztst:
clean up detection of private params in nested scopes, update doc
2021-09-28 Oliver Kiddle
* ivan tkachenko: 49440: Doc/Zsh/expn.yo: Make double-flag
parameter expansion syntax more discoverable in docs
* ivan tkachenko: 49435: Doc/Zsh/expn.yo: Remove trailing whitespace
* Alex Xu: 49444: Completion/Unix/Type/_tar_archive:
libarchive tar can actually extract much more formats
* Marlon Richert: 49423: Completion/Unix/Command/_gradle:
Add support for multi-project builds
* 49454: Completion/compdump: open dump file once only instead
of reopening it for appends
* 49450: Src/Zle/compcore.c: don't display explanation with
compadd -x if any of -D, -A or -O are also used
2021-09-26 Daniel Shahaf
* unposted: Doc/Zsh/contrib.yo, Doc/Zsh/mod_curses.yo,
Doc/Zsh/mod_zselect.yo, Test/A05execution.ztst,
Test/C04funcdef.ztst: Fix typos
2021-09-22 Jun-ichi Takimoto
* 49422: Src/Modules/parameter.c, Src/hashnameddir.c, Src/options.c,
Src/params.c, Src/utils.c: improve support of --disable-dynamic-nss
2021-09-09 Peter Stephenson
* 49353: Src/exe.c, Test/A01grammar.ztst: In sourced file,
always parse comments normally, ignoring INTERACTIVE_COMMENTS.
2021-09-08 Bart Schaefer
* 49391: Doc/Zsh/zle.yo: document default bracketed-paste bindings
* 49389: Completion/Zsh/Command/_typeset: leading variables in
autoload file completion
* 49387: Src/Zle/zle_misc.c: suffix highlight with "compadd -R"
* 49386: Test/Z03run-help.ztst: handle separate source/build trees
2021-09-08 Jun-ichi Takimoto
* unposted: Src/Modules/db_gdbm.c, Src/Modules/files.c,
Src/Modules/nearcolor.c, Src/Zle/complete.c, Src/builtin.c:
add/remove UNUSED() for some funtion parameters
* unposted: Src/input.c: add 'static' to shinsavestack
* 49377: Src/Zle/zle_keymap.c, Test/X03zlebindkey.ztst: fix
segfault by 'bindkey -d' with reordered keymapnamtab
2021-09-06 Bart Schaefer
* Stephane Chazelas: 45180: Doc/Zsh/contrib.yo,
Functions/Example/zpgrep, Functions/Misc/regexp-replace: clarify
doc for POSIX EREs, fix an issue with PCRE when the replacement
was empty or generated more than one element
* zeurkous: 49154: Doc/Zsh/exec.yo: clarify status on exec failure
* Marlon Richert: 49378: Src/parse.c: skip check for collision
of aliases and functions when NO_EXEC
* Marlon Richert: 49292: Src/Zle/complist.c: turn off colors
before clearing to end of line
* 49282: set $0 correctly when calling functions from hooks
* 49266: fix segfault on metacharacters in long job texts
* Marlon Richert: 49218: Functions/Misc/run-help,
Functions/Misc/run-help-btrfs, Functions/Misc/run-help-git,
Functions/Misc/run-help-ip, Functions/Misc/run-help-p4,
Functions/Misc/run-help-svk, Functions/Misc/run-help-svn:
run-help filters cmd_args before calling run-help-
* unposted (cf. 49202 and 49217): Src/Zle/zle_hist.c: insertlastword
ignores blank/missing history entries when repeating
* 49196: Src/Modules/db_gdbm.c: gdbm keys not present in the
database appear unset in tied hashes
* Marlon Richert: 48969: fix for "zle -N" completion
* 48888: Doc/Zsh/mod_system.yo, Doc/Zsh/params.yo, Test/E03posix.ztst:
improve doc for $$ and $PPID, add fail test for PPID readonly-ness
* 48832: Completion/Unix/Command/_curl: try _gnu_generic first
2021-09-04 Oliver Kiddle
* Shohei YOSHIDA: 49343: Completion/Unix/Command/_md5sum:
Fix file name completion of GNU digest utilities
* 49345: Completion/Unix/Command/_git: fix git file completion
for paths starting with ../
2021-08-29 Oliver Kiddle
* 49327: Completion/Unix/Command/_git: complete for new git
maintenance, for-each-repo, sparse-checkout and bugreport commands
* 49319: Completion/...: completion options update
* 49317: Completion/Unix/Command/_transmission,
Completion/Unix/Command/_gcore, Completion/Unix/Command/_pandoc,
Completion/Unix/Command/_luarocks: cleanup inappropriate use
of {...} specs with _arguments or _alternative
* 49316: Completion/Unix/Command/_transmission,
Completion/Unix/Command/_bittorrent, Completion/Unix/Command/_go,
Completion/Unix/Command/_pandoc, Completion/X/Command/_pdftk:
add (-.) glob qualifier to globs where only files are applicable
* 49315: Completion/Unix/Command/_transmission,
Completion/Debian/Command/_dak, Completion/Linux/Command/_tpb,
Completion/Mandriva/Command/_urpmi, Completion/Unix/Command/_cpio,
Completion/Unix/Command/_dropbox, Completion/X/Command/_urxvt,
Completion/Unix/Command/_growisofs,
Completion/Unix/Command/_perforce,
Completion/Unix/Command/_mysql_utils:
list units in brackets at the end of group descriptions
2021-08-28 Peter Stephenson
* Peter A. Castro: users/26982 (subset as most of this already
present): Src/openssh_bsd_setres_id.c: use standard header
includes.
2021-08-27 Peter Stephenson
* 49290: Src/init.c, Src/input.c: Replace stdio for buffered
shell input to avoid memory management interacting with signal
handlers.
2021-08-27 Oliver Kiddle
* Marlon: 49272: Completion/Base/Utility/_call_program:
Set $COLUMNS in _call_program to ensure cached command
output is sufficiently wide
* unposted (based on Marlon: 49273):
Completion/Zsh/Command/_typeset: add -x to local completion
* 49309: Completion/Linux/Command/_strace: update the
strace completion through strace 5.13
* 49306: Completion/Linux/Command/_losetup: fix file
completion for the second parameter to losetup
* Štěpán Němec: 49234: Completion/Unix/Command/_python:
add missing options in python completion
2021-08-26 Peter Stephenson
* 49307 with documentation updated: Src/exec,
Doc/Zsh/grammar.yo, Doc/Zsh/options.yo: With POSIX_TRAPS,
ignored signals stay that way in subshell.
2021-08-24 Peter Stephenson
* 49297 with quoting updated: Src/Modules/files.c: check
which files is in error when ENOENT on link etc.
2021-08-24 dana
* github #78: DCsunset: Completion/Unix/Command/_pandoc: Fix
completions in _pandoc
2021-08-16 Oliver Kiddle
* 49268: Completion/Unix/Command/_texinfo: use an empty string search
to find matches for info --index-search= completion
* 49160: Completion/Unix/Command/_xmlsoft: fix quoting for
xmllint --pretty completion
2021-08-14 Daniel Shahaf
* users/26734: Doc/Zsh/builtins.yo: docs: read: Notate the
parameter name argument as optional.
2021-08-10 Peter Stephenson
* 49269: Src/parse.c, Test/C02cond.ztst: "[ ! -o ]" should
detect "-o" as a non-empty string and return status 1. Update
test to reflect this.
2021-07-30 dana
* github #77: Stavros Ntentos: Completion/X/Command/_sublimetext:
Improve subl completions for Sublime Text v4
2021-07-30 Jun-ichi Takimoto
* 49211: Completion/Zsh/Command/_typeset: correctly set return value
2021-07-23 Peter Stephenson
* Erik Paulson: 49029: Src/signals.c: Remove additional copies
of signals sent by zsh with MONITOR enabled.
* 49182: Src/hist.c, Src/lex.c: Interactive word correction
doesn't work inside command substitution, so don't try to do it.
2021-07-19 Eric Cook
* 49147: Completion/Linux/Command/_modutils: fix the completion
linux kernel modules
2021-07-19 Jun-ichi Takimoto
* 49166: Src/subst.c, Test/D04parameter.ztst: fix coredump in
${name:offset:length} with ill-formatted length
2021-07-10 Oliver Kiddle
* 49158: Completion/Debian/Command/_dscverify,
Completion/Solaris/Command/_dhcpinfo,
Completion/Solaris/Command/_inetadm,
Completion/Solaris/Command/_prstat,
Completion/Solaris/Command/_svcadm,
Completion/Solaris/Command/_svcprop,
Completion/Solaris/Command/_zlogin,
Completion/Unix/Command/_pkginfo, Completion/Unix/Command/_pkgrm:
remove superfluous function definitions
* 49157: Completion/Linux/Command/_valgrind,
Completion/Unix/Command/_baz, Completion/Unix/Command/_opustools,
Completion/Unix/Command/_tla: fix uses of literal % characters in
completion descriptions
* 49156: Completion/Cygwin/Command/_cygserver,
Completion/Debian/Command/_git-buildpackage,
Completion/Linux/Command/_alsa-utils, Completion/Unix/Command/_adb,
Completion/Linux/Command/_ipset, Completion/Unix/Command/_django,
Completion/Solaris/Command/_dtrace, Completion/Unix/Command/_ant,
Completion/Solaris/Command/_prstat, Completion/Unix/Command/_gcc,
Completion/Unix/Command/_dtruss, Completion/Unix/Command/_gnupod,
Completion/Unix/Command/_initctl, Completion/Unix/Command/_pandoc,
Completion/Unix/Command/_mysqldiff, Completion/Unix/Command/_pbm,
Completion/Unix/Command/_perforce, Completion/Unix/Command/_qemu,
Completion/Unix/Command/_ruby, Completion/Unix/Command/_tidy,
Completion/Unix/Command/_w3m, Completion/X/Command/_vnc,
Completion/X/Command/_xdvi: make wider use of the convention of
square brackets for defaults
2021-07-08 Oliver Kiddle
* 49151: Completion/Debian/Command/_madison,
Completion/Debian/Command/_dak, Completion/Debian/Command/_dpkg,
Completion/Unix/Command/_aap, Completion/Unix/Command/_samba,
Completion/Unix/Command/_setfacl, Completion/Zsh/Function/_zargs:
remove commas erroneously included in _arguments exclusion lists
* 49150: Completion/...: consistently use singular form for
headings on completion match groups
* 49149: Completion/Unix/Command/_ssh: add specific values
in completion after ssh-keygen -b depending on the key type
* Max Voit: 49153: Completion/Unix/Command/_module:
cut off .lua extension from module files that occurs
when using lmod for module
2021-07-06 Suraj N. Kurapati
* 49128 (github #76): Misc/vcs_info-examples: optimize
+vi-git-untracked()
2021-06-28 Peter Stephenson
* 49102: Src/subst.c: Dynamic directory expansion failure is
ignored if NO_EXEC is set.
2021-06-22 Peter Stephenson
* 48906: Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Etc/FAQ.yo,
Etc/changelog2html.pl: Update Sourceforge links to
https://zsh.sourceforge.io/.
2021-06-14 dana