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
* 48920: Completion/Unix/Command/_pgrep: Address issues related to
-f completion
* 48920: Completion/Unix/Command/_pgrep: Clarify -x description
2021-06-13 Bart Schaefer
* 49069: NEWS, Src/builtin.c: literal interpretation of subscripts
for unset of array/hash elements
2021-06-02 Oliver Kiddle
* Akinori MUSHA: 48942: Functions/Zle/edit-command-line:
Let EDITOR invoked by edit-command-line know it's a zsh script
* 48954: Src/Zle/complist.c: avoid crash in reverse-menu-complete
from menuselect without 'menu' in $compstate[insert]
* 48952: Completion/Unix/Command/_perl: expand octal codes for
record separators in perl completion
* 48938 (minus _cdrdao changes): Completion/Unix/Command/_pandoc,
Completion/Unix/Command/_bpython: remove vim fold and option markers
* 48939: Completion/Unix/Command/_rsync: update for rsync 3.2.3
2021-05-21 Oliver Kiddle
* 48897: Completion/Unix/Command/_sed, Completion/Unix/Command/_head,
Completion/Unix/Command/_dhclient, Completion/Unix/Command/_pgrep,
Completion/Unix/Command/_ping, Completion/Unix/Command/_tail,
Completion/Unix/Command/_timeout, Completion/Unix/Command/_uname:
completion updates for DragonFly 6.0 and OpenBSD 6.9
* Marlon Richert: 48891: Completion/Unix/Command/_pgrep:
Fix pgrep/pkill -f completion
* Marlon Richert: 48864: Completion/Zsh/Type/_parameters: Improve
extra-verbose completion display strings for array parameter values
2021-05-18 Daniel Shahaf
* 48601/0005: Functions/Misc/zmathfuncdef: Fix the workers/48147
return status / 'set -e' bug.
* 48601/0004: Doc/Zsh/builtins.yo: docs: return: Give examples
of using arithmetic evaluation.
* 48601/0003: Doc/Zsh/builtins.yo: docs: functions -M: Add a
subheading and index entries.
* 48601/0002: Doc/Zsh/builtins.yo: docs: functions -M: Document
the return status / result interdependency gotchas (cf. 48147).
* 48601/0001: Doc/Zsh/builtins.yo: docs: functions -M: Move an
example to be near the specification of the relevant flag
* 48594 (plus an "F:" line corresponding to the question there):
Test/E02xtrace.ztst: New tests for functions -t / functions -T
2021-05-16 Bart Schaefer
* Marlon Richert: 48853: Doc/Zsh/contrib.yo,
Functions/Prompts/promptinit: improved handling of theme resets
when changing prompt themes, especially for theme preview
* 48860: Etc/BUGS: remove mention of bugs that were fixed
* 48857: Src/builtin.c, Src/exec.c, Src/loop.c, Src/makepro.awk,
Src/params.c, Src/signals.c: declare as "volatile" all globals
that may be modified by signal handlers; recognize in makepro.awk
2021-05-16 Oliver Kiddle
* Jörg Sommer: users/26649: Completion/Unix/Command/_rake:
add zstyle for rake targets without description
* 48783: Completion/Unix/Command/_ansible: update ansible
completion to 2.10.8
* 48623: Completion/Unix/Command/_ssh: update options in openssh
completion to version 8.6
2021-05-16 Mikael Magnusson
* unposted: Completion/Unix/Command/_timeout: Fix wrong syntax
2021-05-15 Bart Schaefer
* Han Pingtian: 33465 (very belatedly): use prctl() for "jobs -Z"
where available
* Vincent Lefevre: 48723: Src/math.c: locale-safe recognition of
"Inf" and "NaN" constants
* Peter Stephenson: users/26742: Src/builtin.c: break out of
surrounding shell loops when "exit" is called from an exit hook
* users/26736: Src/Zle/zle_main.c: avoid infinite loop in getbyte
when read -q is called from exit hook
* 48810: Test/C04funcdef.ztst: name clash in test for autoloading
* 48790: Src/Zle/compcore.c: COMPLETE_IN_WORD inside brace-param
* 48710: Completion/Zsh/Command/_zed, Doc/Zsh/contrib.yo,
Functions/Misc/zed: add "zed -h" aka "histed", update doc and
completion; improve compatibility with SH_WORD_SPLIT
* 48709: Completion/Base/Widget/_complete_help: suppress error
messages from comptry
* 48707: Doc/Zsh/contrib.yo, Functions/Zle/zed-set-file-name:
fix keymap handling when zed invokes read-from-minibuffer
2021-05-06 Peter Stephenson
* 48787: Src/loop.c, Test/A01grammar.ztst: status was incorrect
on hard error flagged by condition in "if" without "else".
2021-05-03 dana
* unposted (see 48613): Etc/FAQ.yo: Move section 3.31 to 2.8
* unposted (see 48613): Doc/Zsh/metafaq.yo, Doc/Zsh/roadmap.yo:
Update http:// FAQ links to https://
* 48551 (tweaked per 48565, 48629): Doc/Zsh/compat.yo: Add
disclaimer about POSIX compliance and emulation of other shells
* 48614 (tweaked per 48630): Doc/Zsh/builtins.yo,
Doc/Zsh/options.yo, README, Src/builtin.c, Test/B10getopts.ztst:
Calculate OPTIND according to POSIX_BUILTINS
2021-05-03 Daniel Shahaf
* 48767: Doc/Zsh/params.yo: docs: $SECONDS: Clarify what types
may be set
2021-04-28 Jun-ichi Takimoto
* 48702: Completion/Unix/Command/_pandoc: do not use cache,
support two or more extensions of format, and other fixes
2021-04-21 Daniel Shahaf
* 48606 + 48607 + unposted test: Functions/Math/zmathfunc,
Test/Z02zmathfunc.ztst: zmathfunc: Force arguments to be numbers
and catch errors.
* unposted (cf. 48156): Test/Z02zmathfunc.ztst: New test.
* users/26635 (tweaked):
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: vcs_info hg:
Compute the branch name correctly when get-revision is set and
check-for-changes is not
2021-04-20 Bart Schaefer
* 48638: NEWS: mention TYPESET_TO_UNSET
2021-04-20 Daniel Shahaf
* 48435 (tweaked): Doc/Zsh/contrib.yo, Misc/vcs_info-examples:
vcs_info docs: applied-string/unapplied-string: Correct an
omission in the documentation and add an example.
* 48528/0002: Misc/vcs_info-examples: vcs_info git docs:
ahead/behind commits: Reduce the number of forks
* 48528/0001: Misc/vcs_info-examples: vcs_info git docs:
ahead/behind commits: Don't run rev-list when that would fail
2021-04-19 Bart Schaefer
* 48617: Completion/Base/Widget/_complete_debug: fix misuse of
IGNORE_BRACES when initializing debug_indent
* 47489: Functions/Misc/colors: rename standout as italic
2021-04-19 Oliver Kiddle
* Marlon Richert: 48621: Completion/Zsh/Function/_add-zsh-hook,
Completion/Zsh/Function/_add-zle-hook-widget: Add -L to
add-(zsh|zle)-hook[-widget] completion
* André Kugland: github/zsh-completions #792:
Completion/Unix/Command/_opustools: new opus-tools completion
* 48619: Completion/Unix/Command/_ansible: complete inventory
plugins in assignments to ANSIBLE_INVENTORY_ENABLED
* 48618: Completion/Unix/Command/_date,
Completion/Unix/Command/_grep, Completion/Unix/Command/_netstat,
Completion/Unix/Command/_ping, Completion/Unix/Command/_readelf,
Completion/Unix/Command/_uname: update completions for FreeBSD 13
2021-04-18 Bart Schaefer
* 47704: Src/builtin.c, Src/params.c, Test/B02typeset.ztst:
POSIX export and readonly ignore the "-p" option when parameter
names are also present.
* 48560: Completion/compinit, Doc/Zsh/builtins.yo,
Doc/Zsh/options.yo, Doc/Zsh/params.yo, Src/builtin.c,
Src/options.c, Src/params.c, Src/subst.c, Src/zsh.h,
Test/D06subscript.ztst, Test/E01options.ztst, Test/E03posix.ztst,
Test/V10private.ztst, Test/runtests.zsh, Test/ztst.zsh: add
TYPESET_TO_UNSET option, which removes initialization of newly
declared parameters such that ${newparam-notset} yields "notset"
and "typeset -p newparam" does not show an assignment to the
parameter. This is similar to the default behavior of bash and
ksh, with minor differences in typeset output. Also add tests for
some POSIX incompatibilities plus minor changes for test harness
robustness.
2021-04-18 Jun-ichi Takimoto
* unposted: Etc/BUGS: remove a bug fixed by 47301
2021-04-17 Daniel Shahaf
* 48361 (+ 48368 review comments):
Completion/Zsh/Function/__arguments: New completion function
for _arguments.
2021-04-16 Oliver Kiddle
* Marlon Richert: 48513: Completion/Zsh/Type/_parameters,
Test/Y01completion.ztst: Let extra-verbose completion
show parameter values
* unposted: Etc/BUGS: update on bug list
* 48556: Completion/BSD/Command/_ipfw: new completion
2021-04-16 Daniel Shahaf
* unposted (cf. 48153): Test/Z02zmathfunc.ztst: Add tests for
max() and min().
2021-04-15 Daniel Shahaf
* 48574/0008: Doc/Zsh/contrib.yo: vcs_info git: Use best
practices in an example
* 48574/0007: Doc/Zsh/contrib.yo: vcs_info docs:
vcs_info_lastmsg: Correct an ambiguous/wrong description.
* 48574/0006: Doc/Zsh/contrib.yo: vcs_info docs: Change
user-context name in an example, to avoid confusion with the
special-casing of the value `command' in vcs_info_lastmsg.
* 48574/0005: Doc/Zsh/contrib.yo: vcs_info docs: Recommend use
of prompt expandos rather than terminal escape sequences.
* 48574/0004: Doc/Zsh/func.yo: docs: Document that hook functions
may rely on $? (see workers/48570).
* 48574/0003: Doc/Zsh/contrib.yo: docs: Fix rendering in the
man page output
* 48574/0002 (tweaked): Doc/Zsh/contrib.yo: docs: Fix rendering
of an example in the man page output
* 48574/0001: Doc/Zsh/func.yo: docs: Minor markup tweak
2021-04-13 dana
* Daniel Shahaf: 48522: README: Clarify _alternative change
2021-04-13 Tim Lee
* 48525: Misc/vcs_info-examples: vcs_info git docs: ahead/behind
commits: Run fewer external programs
2021-04-12 Jun-ichi Takimoto
* 48439: Src/mem.c: remove macros that became unnecessary by 47785
2021-04-11 Oliver Kiddle
* 48504: Src/hist.c, Src/input.c, Src/watch.c:
use SEEK_ macros in fseek() calls
* Michael Stapelberg: 45396: Src/hist.c: readhistfile:
avoid thousands of lseek(2) syscalls via ftell()
* Marc Chantreux: 48466: Completion/Unix/Command/_surfraw:
correct indentation and remove tabs and trailing spaces
* Marc Chantreux: 48445: Completion/Unix/Command/_surfraw:
pluralize tags in _surfraw
* Marc Chantreux: users/26645: Completion/X/Command/_gv:
update options in gv completion
2021-04-10 Bart Schaefer
* 47913: Doc/Zsh/options.yo, Src/options.c, Src/pattern.c, Src/zsh.h:
implement CASE_PATHS option to make NO_CASE_GLOB more sensible
2021-04-10 dana
* brian m. carlson: 47794: README, Src/exec.c,
Test/B07emulate.ztst: exec: run final pipeline command in a
subshell in sh mode
* unposted (see 48415): README: Document incompatibility
caused by workers/43928
* 48338: Completion/Unix/Command/_git: Support case-insensitive
path matching
2021-04-09 Peter Stephenson
* 48432 (plus test change): Src/Modules/zutil.c,
Test/V05styles.ztst: Fix quoting of zstyle -L output for
-e styles, and enable test.
2021-04-09 Oliver Kiddle
* 48378: Completion/Zsh/Command/_compadd: complete compadd
options for other completion functions
* 48437: Completion/Unix/Command/_gdb: fix pid completion when
cursor is in the middle of the line
* Felipe Contreras: 47786: aclocal.m4, aczsh.m4: prepare for
autoconf 2.70
* Felipe Contreras: 47785: Src/Modules/files.c, Src/zsh_system.h,
Src/mem.c, configure.ac: remove deprecated autoconf functions
2021-04-08 Jun-ichi Takimoto
* 48416: Completion/Unix/Command/_gcore: support macOS, with
update for GNU gcore
2021-04-08 Daniel Shahaf
* 48410: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: FAQ, METAFAQ: Mention
zsh-security@.
* 48379: Src/subst.c, Test/D04parameter.ztst: Make the parameter
expansion subscript flags parse error message, "error in flags",
identify the location of the parse error.
* 48321 (tweaked per thread): Completion/Unix/Type/_perl_modules:
Don't assume ${words[1]} to be either "perl" or "perldoc"
2021-04-07 Daniel Shahaf
* 48425: Test/V05styles.ztst: Add an XFail test for a 'zstyle
-L' escaping bug (workers/48424).
2021-04-06 Jun-ichi Takimoto
* 48391: Src/Zle/compresult.c: correctly calculate display string
width in completion list to fix display problem in menu-complete
* 48389: Src/math.c, Src/utils.c: getkeystring(GETKEY_SINGLE_CHAR)
should not return a pointer to a local variable
2021-04-06 Oliver Kiddle
* Marc Chantreux: users/26579: Completion/Unix/Command/_surfraw:
changes from review including parameter expansion to replace awk
* 48414: Completion/Unix/Type/_bpf_filters: quote closing bracket
to adapt for change in 43928
* Marlon Richert: 48413: Test/comptest, Test/Y01completion.ztst:
Fix _expand completion test
* unposted: Etc/BUGS: add several references to old list posts
2021-04-05 Daniel Shahaf
* unposted: Etc/FAQ.yo: FAQ: Move the 'The mailing lists have
moved' notice to a more appropriate place.
2021-04-04 Jun-ichi Takimoto
* Felipe Contreras: 47784: Src/pattern.c: silence compiler
warning -Wmaybe-uninitialized
* Jacob Gelbman: 48218 (+ 48354): Completion/Unix/Command/_gcc:
various improvements for _gcc
2021-04-02 Oliver Kiddle
* 47510: Src/prompt.c, Src/zsh.h: drop code that avoided
termcap for named colours
* 48356: Doc/Zsh/compwid.yo: clarify (the intended)
behaviour for the two anchor forms of matching control
2021-04-01 Daniel Shahaf
* unposted: Etc/BUGS: Add 39319, a named-file process
substitution cleanup bug.
2021-04-01 Mikael Magnusson
* 48202 (+ 48366 test fix from Jun): Src/utils.c,
Test/B03print.ztst: Fix handling of NUL bytes in zexpandtabs
multibyte version
2021-03-31 Oliver Kiddle
* github #74: Caleb Maclennan: Completion/Unix/Command/_vcsh:
Drop vcsh completions, maintained upstream
* Marlon Richert: 48214: Completion/Base/Completer/_expand,
Test/Y01completion.ztst: add file types to _expand completions,
so they can be colored through complist
* Christian K: 48192: Completion/Unix/Command/_openstack:
Fix openstack completion for new style clients
* Marc Chantreux: users/26557: Completion/Unix/Command/_surfraw:
add bookmarks support and remove the header from the final list
2021-03-29 Aleksandr Mezin
* 47561 (the git and cvs parts) (compare 44919 + 44920):
Functions/VCS_Info/Backends/VCS_INFO_detect_cvs,
Functions/VCS_Info/Backends/VCS_INFO_detect_git,
Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs,
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info
internals: cvs, git: Set ${vcs_comm[basedir]} like all other
backends do.
2021-03-29 dana
* 47737: Completion/Zsh/Command/_zstyle: Fix option completion
when positional arguments are already present (regression from
workers/39659 (commit ae3b675ce6e4ac62451ea08169c2b4dc45cf533b))
2021-03-29 Daniel Shahaf
* unposted: ChangeLog: Fix X-Seq numbers for the 39657, 39658,
39659 patch series.
* unposted: Doc/Zsh/compsys.yo: docs: _arguments: Fix a typo
in the example.
2021-03-28 Oliver Kiddle
* Jacob Gelbman: 48166: Completion/Unix/Command/_ctags:
add completion for language options
* Arseny Maslennikov: 48210, 48211:
Completion/Linux/Command/_setpriv: new completion for setpriv(1)
* Arseny Maslennikov: 48212: Completion/Linux/Type/_capabilities:
Introduce new completion for Linux task capabilities
* Štěpán Němec: 48231: Completion/Unix/Command/_git:
add missing --pretty formats and improve descriptions
* 48230, 48233 (Jun T): Completion/Solaris/Command/_dtrace:
completion of dtrace probes and runtime options
2021-03-28 dana
* 48216: Test/Y01completion.ztst: Fix broken test from
workers/48180
2021-03-26 Daniel Shahaf
* 48131/0004: Etc/FAQ.yo: FAQ: 3.31: Rearrange
* 48131/0003: Etc/FAQ.yo: FAQ: 3.31: Move two paragraphs
unchanged, reordering them
* 48131/0002: Etc/FAQ.yo: FAQ: 3.31: Tweak summary paragraph
* 48131/0001: Etc/FAQ.yo: FAQ: 3.31: Add a one-sentence summary
2021-03-23 dana
* unposted: Doc/Zsh/expn.yo, Test/D07multibyte.ztst: Improve
documentation and add regression test for workers/47745
* 47745: Stephane Chazelas: Src/utils.c: Fix [:IDENT:] vs
posixidentifiers
2021-03-17 dana
* 48180: Marlon Richert: Completion/Base/Core/_main_complete,
Test/Y01completion.ztst: Start menu selection with
select=long-list in menu style
2021-03-07 Daniel Shahaf
* 48147/0002: Functions/Math/zmathfunc, Test/Z02zmathfunc.ztst:
zmathfunc: Fix bug where the exit code would be non-zero if
the expression evaluted to zero.
* 48147/0001: Test/Z02zmathfunc.ztst: tests: Add a unit test for
zmathfunc and a regression test for workers/48146 affecting it.
2021-02-24 Peter Stephenson
* 48105: Jacob Gelbman: Completion/Unix/Command/_ctags: update and
fix formatting and import.
2021-02-23 Peter Stephenson
* 48096: Jacob Gelbman: Completion/Unix/Command/_ctags: new
completion.
2021-02-22 Bart Schaefer
* 48094: Arseny Maslennikov: Functions/Prompts/prompt_restore_setup,
Functions/Prompts/promptinit: apply cleanup commands of the current
theme on any theme change, including "prompt -[hp] $theme"
2021-02-19 dana
* 47867: Arseny Maslennikov: Functions/Prompts/promptinit: Fix
RPROMPT typo
2021-02-18 Peter Stephenson
* users/26509: Src/builtin.c: fc -L should ignore remote entries
rather than treat them as an error.
2021-02-17 Peter Stephenson
* 48073: Martijn Dekker: Doc/Zsh/builtins.yo, Src/builtin.c: fc
-s is POSIX version of fc -e -.
2021-02-16 Peter Stephenson
* 47876: Justtine Tunney: Src/exec.c: Add more cases where
shell scripts can be recognised from the first line as
described by POSIX.
2021-02-16 Lawrence Velázquez
* 47830: Doc/Zsh/contrib.yo, README: Fix some documentation typos
2021-02-13 Oliver Kiddle
* unposted (Daniel): Completion/Unix/Command/_locale:
add exclusion list missed in recent OpenBSD update
* github #68: taiyu.len: Completion/Unix/Command/_man,
Completion/Zsh/Command/_zstyle, Doc/Zsh/compsys.yo:
support section suffix completion for man pages
* 47905: Joshua Krusell: Src/Modules/zutil.c,
Test/V12zparseopts.ztst: Add leading '-' to zparseopts option
parsing errors
2021-02-11 Bart Schaefer
* unposted: NEWS, README: mention the effects of 47997.
* 47997: Src/Zle/compcore.c: disable xtrace around completions
2021-02-07 Oliver Kiddle
* 47944: Completion/BSD/Command/_bsd_pkg,
Completion/BSD/Command/_pkgin, Completion/BSD/Command/_systat,
Completion/Unix/Command/_dmesg: update completions for NetBSD 9
* 47943: Completion/Unix/Command/_date,
Completion/Unix/Command/_xargs: update completions for DragonflyBSD
* 47932: Completion/Linux/Command/_free, Completion/Unix/Command/_w,
Completion/Unix/Command/_pgrep, Completion/Unix/Command/_vmstat:
update completions for procps 3.3.16
* 47931: Completion/BSD/Command/_signify,
Completion/BSD/Command/_systat, Completion/Unix/Command/_locale,
Completion/Unix/Command/_netstat, Completion/Unix/Command/_top:
update completions for OpenBSD base up to 6.8
* 47930: Completion/BSD/Command/_freebsd-update,
Completion/Unix/Command/_uniq, Completion/Unix/Type/_diff_options:
update completions for FreeBSD base up to 12.2
* 47929: Completion/Zsh/Command/_zstyle: complete newer
possible values for the sort style
* based on github #62: oxiedi@yandex.ru:
Completion/Unix/Type/_date_formats: return proper exit status
* github #66: DCsunset: Completion/Unix/Command/_todo.sh:
Add more commands to _todo.sh
* github #63: oxiedi@yandex.ru: Completion/Base/Utility/_values:
fix regression caused by 44274, with sort style -o may be passed
* github #72 (tweaked): Semnodime: Completion/Unix/Command/_lldb:
fix unix command lldb tab-completion, args are space separated
* gitlab !16: aaaz :
Completion/Unix/Command/_transmission: allow spaces between short
options and their parameters in transmission completion
2021-02-06 Oliver Kiddle
* 47919: Completion/BSD/Type/_login_classes,
Completion/Unix/Command/_env, Completion/Unix/Command/_pgrep,
Completion/Unix/Command/_su, Completion/Unix/Command/_user_admin:
use common function for completing BSD login classes and update for
options to env
* 47918: Completion/Linux/Command/_nsenter,
Completion/Linux/Command/_unshare: new util-linux completions
2021-02-05 Bart Schaefer
* unposted: Doc/Zsh/expn.yo: Add cindex entries for subsections
2021-02-04 Bart Schaefer
* 47895: Src/builtin.c, Test/D02glob.ztst: Remove trailing spaces
from "print -ac" output lines.
* 47865: Test/D02glob.ztst: More tests for restricted directories
* 47889: Etc/FAQ.yo: Update csh alias equivalences (section 2.3)
2021-02-03 Joshua Krusell
* 47899: Src/Modules/zutil.c, Test/V12zparseopts.ztst: Improved
error message from zparseopts.
2021-01-20 Jun-ichi Takimoto
* 47883: Completion/Unix/Command/_awk: support gawk ver.5
2021-01-27 Peter Stephenson
* 47873: Completion/Base/Core/_main_complete,
Completion/Zsh/Context/_subscript,
Functions/Chpwd/zsh_directory_name_cdr: Improve completion
within dynamic directory names ~[].
* GammaFunction@vivaldi.net via Roman: 47744:
Src/Zle/zle_main.c: Fix vi-repeat-change when hooks are in use.
2021-01-26 Daniel Shahaf
* unposted: Etc/FAQ.yo: Fix a typo in the front matter.
2021-01-24 Paul Seyfert
* github #71 (tweaked): Completion/X/Command/_xrandr: Complete
providers
2021-01-23 Bart Schaefer
* users/26406: Functions/Misc/zargs: preserve caller setopts
2021-01-20 Jun-ichi Takimoto
* 47849: Test/E01options.ztst, Test/V08zpty.ztst,
Test/W02jobs.ztst, Test/X02zlevi.ztst, Test/X03zlebindkey.ztst,
Test/X04zlehighlight.ztst, Test/Y01completion.ztst,
Test/Y02compmatch.ztst, Test/Y03arguments.ztst: do not skip
tests that require zpty on Cygwin
* Peiyuan Song: 47840: Src/Modules/zpty.c, configure.ac: make
zpty module work on Cygwin
2020-12-12 dana
* unposted: NEWS: Catch up on new features
2020-12-11 Jun-ichi Takimoto
* 47731 (+unposted): Functions/Misc/run-help-btrfs,
Doc/Zsh/contrib.yo: add run-help assistant for btrfs command.
(based on the patch by Samir Benmendil in 43947)
* Samir Benmendil: 43946: Functions/Misc/run-help-sudo: call
run-help (instead of man) for the command given to sudo
2020-12-05 Bart Schaefer
* unposted: Doc/Zsh/compsys.yo: index compprefuncs and comppostfuncs
2020-12-04 Daniel Shahaf
* 47716: Etc/BUGS: Add Aleksandr's vcs_info patch.
2020-12-02 Bart Schaefer
* 47704: Src/Modules/param_private.c: fix scope for "private -p"
2020-12-01 Bart Schaefer
* unposted: Etc/BUGS: Add users/26150 (multios + exec)
2020-11-16 ivan tkachenko
* 47547: Doc/Zsh/arith.yo: docs: Specify the exact kind of
quoting which is assumed when parsing arithmetic expressions
2020-11-16 Jun-ichi Takimoto
* 47560: configure.ac, aczsh.m4: add necessary includes or
prototypes for the tests in configure (fix errors in macOS 11)
2020-10-29 Oliver Kiddle
* users/26107: Completion/Unix/Command/_git: complete changed
files after git diff HEAD
2020-10-25 Mikael Magnusson
* Jun-ichi Takimoto: 47301: Src/builtin.c: Fix print -v
metafication
* 47302: Test/B03print.ztst, Test/D07multibyte.ztst: Test for
print -v fix
* 47494, 47495: Completion/Zsh/Command/_strftime,
Doc/Zsh/mod_datetime.yo, Src/Modules/datetime.c,
Test/V09datetime.ztst: Add -n option to strftime
2020-10-18 Roman Perepelitsa
* 47476: Src/Modules/files.c: Fix a race condition in zf_mkdir -p
(based on the patch by Matthew Martin in workers/47436)
2020-10-18 Axel Beckert
* 47468: Doc/Zsh/contrib.yo: Fix typo
2020-10-03 Daniel Shahaf
* users/26088: Doc/Zsh/zle.yo: docs: zle -R: Clarify that it
needs not be called in the normal course of things, but only
when an immediate, interim redisplay is desired.
2020-09-23 Meng Bo
* github #65: Completion/Unix/Command/_nmap: Rename option flags
(s/_/-/g)
2020-09-22 Jacob Menke
* 47395: Completion/Base/Utility/_store_cache: Don't leak the
variable ${_cache_dir}.
2020-09-13 Bart Schaefer
* Mikael Magnusson: 47382: Completion/Zsh/Context/_brace_parameter:
Completion for 47364
* 47364: Doc/Zsh/expn.yo, Src/subst.c, Src/zsh.h, Test/D02glob.ztst:
Enable extendedglob in pattern with ${(*)name/pattern/replacement}
2020-09-09 Stephane Chazelas
* 47352 (+ extra test cases): Src/prompt.c, Test/D01prompt.ztst:
fix %K prompt expansion (regression introduced in 5.0.3).
2020-09-05 Doug Kearns
* unposted: Completion/Unix/Command/_lp,
Completion/Unix/Command/_transmission, Completion/X/Command/_code,
Completion/X/Command/_kdeconnect, Completion/Zsh/Command/_zstyle:
Remove periods from completion descriptions as per the
completion-style-guide recommendations.
2020-09-04 Peter Stephenson
* 47350; Completion/Unix/Command/_dropbox: new completion.
2020-08-28 Daniel Shahaf
* github #64: Src/Modules/curses_keys.awk: Fix a build-time
error when building against ncurses that hadn't been built
with --enable-wgetch-events. (Reported by Martin Liska.)
2020-08-21 Oliver Kiddle
* 47328: Doc/Zsh/metafaq.yo, Etc/CONTRIBUTORS: remove references
to old zsh.org mail addresses
* 47322: Completion/Unix/Command/_ssh: allow prefix with ssh
cipher completion and add matching control for options
2020-08-18 Daniel Shahaf
* 47323: Completion/Redhat/Command/_rpm: _rpmbuild: Complete
file arguments after -r/-b/-t.
2020-08-16 Mikael Magnusson
* 47304: Completion/Zsh/Type/_globflags: support specifying more
than one flag where appropriate
* 47305: Functions/Zle/edit-command-line: when possible, set
$BUFFER directly
* 47306: Completion/Zsh/Command/_zstyle, Doc/Zsh/contrib.yo,
Functions/Zle/edit-command-line: add editor style
* 47307: Functions/Zle/edit-command-line: restrict editing to
region if it is active
2020-08-16 Daniel Shahaf
* 47314 (+ extra test case): Test/Z01is-at-least.ztst: is-at-least
false positive (5.8.0.2 / 5.8)
* 47313: Doc/Zsh/expn.yo: docs: Document explicitly that the
:P modifier returns a symlink-less path.
2020-08-13 Oliver Kiddle
* Jörg Sommer: 47320: Completion/Linux/Command/_choom: Add
completion for Linux tool used to adjust process OOM score
* 47321: Completion/Linux/Command/_btrfs: update for btrfs 5.4
* 47319: Completion/Unix/Command/_imagemagick: complete more
options to ImageMagick's convert command
2020-08-10 Oliver Kiddle
* 47294: Completion/Debian/Command/_aptitude: updates to options
* 47293: Completion/Unix/Command/_lp: lowercase descriptions
2020-08-10 Daniel Shahaf
* 47308: Etc/zsh-development-guide: Document the new X-Seq
autoreply bot.
2020-08-09 Daniel Shahaf
* 47303: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info hg:
Fix changing the expansion of %g (hook_com[guards]) in the
set-patch-format hook (regression from workers/40480).
2020-08-08 Daniel Shahaf
* unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: Update documentation
for the move to new hosting.
* 47296 (+ unposted additional tests and comments): Src/loop.c,
Test/A05execution.ztst: 'repeat' loops: Let the repeat count
use $?.
* 47300: Src/parse.c, Src/zsh.h: Document the EC_NODUP, EC_DUP,
EC_DUPTOK triplet.
2020-08-08 Mikael Magnusson
* unposted: Completion/BSD/Command/_kdump,
Completion/BSD/Type/_ktrace_points: fix syntax errors in
completers added in 45940
2020-08-05 Mikael Magnusson
* unposted: Completion/compinit: add help text for -w
* 46280: Completion/compinit: add -w to explain why compdump runs
2020-07-29 Roman Perepelitsa
* unposted: Src/zsh.h: comments explaining how hashtable must
be created
2020-07-28 Roman Perepelitsa
* 46275: Src/hashtable.c, Src/zsh.h: eliminate undefined behavior
caused by redefinition of hashtable
2020-07-27 Roman Perepelitsa
* 46268: Src/exec.c: suppress a useless compiler warning
around nice()
2020-07-14 Daniel Shahaf
* 46244 (cont.): Etc/creating-a-release.txt: Flesh out the TODO
from the previous commit.
* 46244: Etc/creating-a-release.txt: Start to introduce a
release managers keyring.
2020-07-14 oxiedi
* github #61: Completion/Zsh/Type/_parameters: Don't leak the
variable $i
2020-07-13 Daniel Shahaf
* 46240: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo,
Doc/Zsh/jobs.yo, Doc/Zsh/params.yo, Doc/ztexi.yo: Make the
expansion of manref()() in ztexi.yo match its expansion in
zman.yo.
2020-07-12 Daniel Shahaf
* 46183: Test/D03procsubst.ztst: New XFail test: external
command with =(...) on LHS of pipeline cleans up its tempfiles.
* unposted (cf. GitHub #11): Misc/vcs_info-examples: vcs_info
hg: docs: Change an example to not use a hex dump incantation
that may replace some bytes' values with asterisks.
* users/24985: Doc/Zsh/expn.yo: Clarify documentation of the
${(n)} and ${(-)} parameter expansion flags, and add a forward
compatibility hatch to the latter.
* 46204: Test/E01options.ztst: Fix new test case for the
theoretical case of having more than 100 files in the root
directory.
* unposted: .editorconfig: For Makefiles, make the indent size
equal to tab width.
2020-07-11 dana
* Cedric Ware: 46152: Src/Modules/system.c, Test/V14system.ztst:
Re-allow '0' timeout in zsystem flock
2020-07-09 Jun-ichi Takimoto
* 46215 (w/ minor tweak): Test/E01options.ztst: make the test
added by 46175/0002 work on wider systems, and skip the test
on Cygwin.
2020-07-08 Oliver Kiddle
* 46216: Completion/Unix/Command/_ansible: update for ansible 2.9
* 46217: Completion/Unix/Command/_tmux: update options for tmux 3.1
* github #60: Mathias Fredriksson: Completion/Unix/Type/_zfs_dataset:
Fix completion for a zfs dataset containing spaces
* gitlab !15: Doron Behar: Completion/Linux/Command/_modutils:
Fix FHS assumption
* 46201 (tweaked per Daniel): Etc/completion-style-guide: add
guidelines for caching and use of imperative mood in descriptions
* 46195: Completion/X/Type/_x_color: use showrgb command to get
colours if it is available
* github #50: SATOH Fumiyasu: Completion/Unix/Type/_ssh_hosts:
Complete hosts in "Match" directive
* github #53: James Pike: Completion/Unix/Type/_remote_files:
allow specifying directory name.
2020-07-07 Bart Schaefer
* 46189: Test/comptest: Ignore exit status of final zpty_flush
2020-07-07 Nuri Jung
* github #58: Doc/Zsh/mod_regex.yo: docs: Note that the zsh/regex
syntax is platform-dependent.
2020-07-06 Pete Moore
* 46194: Doc/Zsh/metafaq.yo: docs: metafaq: Remove spurious
closing bracket
2020-07-05 Daniel Shahaf
* 46175/0003: Src/exec.c, Test/E01options.ztst: Fix the
RM_STAR_SILENT bug from the parent commit.
* 46175/0002: Test/E01options.ztst: Add a regression test for
46169: the RM_STAR_SILENT logic processes the current directory
rather than the root directory.
* 46175/0001: Test/E01options.ztst: Add a unit test for the
RM_STAR_SILENT option.
* 46174/0002: Test/comptest: test harness: Restore indentation
after the previous commit. No functional change.
* 46174/0001: Test/comptest: test harness: Plug a symlink attack
2020-07-03 Matthew Martin
* 46168: Src/builtin.c, Test/B01cd.ztst: Update $PWD and call
chpwd hook after normalizing path.
2020-07-03 Daniel Shahaf
* unposted (cf. users/24972, users/24978): Doc/Zsh/expn.yo:
Use an ASCII hyphen/minus rather than a dash.
2020-07-03 Peter Stephenson
* users/24971: Doc/Zsh/expn.yo, Src/sort.c, Src/subst.c,
Src/zsh.h, Test/D04parameter.ztst: Add parameter flag (-)
to allow signed numeric sorting.
2020-06-28 zsugabubus
* 46097: Completion/Unix/Command/_rm: Fix "assignment to invalid
subscript range" error in _rm.
2020-06-28 Daniel Shahaf
* 46132: Doc/Zsh/expn.yo: docs: Use an itemized list in the
documentation of the *(o) glob qualifier.
* 46131: Completion/Unix/Command/_git: _git-config: Partly
fix a bug whereby a 'foo.ba' wouldn't be completed to
'foo.bar.baz'.
* 46128: Completion/Unix/Command/_git: Complete more options
and diff/merge tools.
* 46129: Completion/Unix/Command/_git: _git-config: Fix a bug
where a second trailing dot would be incorrectly offered.
* 46130: Completion/Unix/Command/_git: _git-config: Complete
some more options.
2020-06-27 Miroslav Koškár
* 46140: Completion/Unix/Command/_git: Fix insufficiently
quoted pattern
* 46139: Completion/Unix/Command/_git: Remove hanging whitespaces
2020-06-27 Daniel Shahaf
* unposted (after 46068): Src/Zle/zle_utils.c: Fix a compiler
warning.
* 46072 + 46136: Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo,
Functions/Misc/add-zle-hook-widget, Src/Zle/zle_thingy.c,
Test/X04zlehighlight.ztst: Add the 'zle $widget -f nolast'
syntax, to improve add-zle-hook-widget support for multiple
hook functions.
* users/24959/0002: Doc/Zsh/grammar.yo: Update aliases
documentation for the addition of the ALIAS_FUNC_DEF option.
* users/24959/0001: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo:
Extend documentation of global aliases.
2020-06-26 Daniel Shahaf
* unposted: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo,
Doc/Zsh/mod_mapfile.yo, Etc/FAQ.yo: docs: Fix some markup
and typos.
2020-06-26 Peter Stephenson
* 46110: Src/subst.c, Test/D03procsubst.ztst: If =subst occurs
before =(subst) we should allow for the possibility of the latter.
2020-06-26 Oliver Kiddle
* unposted c.f. 46034: Completion/Unix/Command/_gpg: workaround
incompatibility with sh_file_expansion option
* 46106: Completion/BSD/Command/_usbconfig: new completion
* 46105: Completion/X/Command/_xinput: new xinput completion
* 46075: drelo: Completion/Unix/Type/_find_net_interfaces:
prefer ip on linux for finding network interfaces
* 45895: oxiedi: Completion/Base/Utility/_sequence,
Test/Y01completion.ztst: ignore dedup patterns in _sequence
2020-06-25 Daniel Shahaf
* 46068 (tweaked) (was: github #57): Doc/Zsh/zle.yo, README,
Src/Zle/zle.h, Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c,
Src/prompt.c, Test/X04zlehighlight.ztst: region_highlight:
Add memo= support.
* 46102: Test/ztst.zsh: test harness: Make the XPass message
distinct from the Fail message.
2020-06-22 Peter Stephenson
* 46079: Src/math.c, Test/C01arith.ztst: Ignore double quotes in
math expression: treat as white space.
2020-06-22 Manuel Jacob
* 46091: Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Add code to
Mercurial VCS backend to show topic if there is any.
2020-06-19 Daniel Shahaf
* 46044 (tweaked per Matthew): Completion/Unix/Command/_units:
Correct the path to the units data file on Debian with units
2.00 and newer and on FreeBSD.
2020-06-18 Daniel Shahaf
* 46067: Test/A05execution.ztst: Add a unit test for
workers/46060.
2020-06-18 Peter Stephenson
* 46060: Src/jobs.c: Ensure process has been signalled before
taking special action for SIGINT or SIGQUIT.
2020-06-17 Eric Cook
* 45982: Frederick Zhang: Completion/Unix/Command/_zfs:
Add space read-only property
2020-06-17 Daniel Shahaf
* unposted: Util/ztst-syntax.vim: internal: ztst.vim: Recognize
empty "F:" line as well, as the test harness does.
2020-06-17 Miroslav Koškár
* 46049: Doc/Zsh/options.yo: docs: Correct the sense of the
single-letter abstract of the GLOBAL_RCS option (-d)
2020-06-11 Oliver Kiddle
* gitlab !12: Jan Máslo: Completion/Linux/Command/_mat,
Completion/Linux/Command/_mat2: new completions
* 46036: Completion/Zsh/Type/_ps1234: fix colouring in prompt
completion
* users/24892: Completion/Unix/Type/_files,
Completion/Zsh/Command/_zstyle: fix local declaration with
recursive-files style and complete it for zstyle
2020-06-10 Daniel Shahaf
* unposted: Doc/Zsh/mod_zutil.yo: zstyle docs: Fix typo.
2020-06-09 Peter Stephenson
* 46026: Doc/Zsh/options.yo, Src/exec.c, Src/options.c,
Src/zsh.h, Test/A04redirect.ztst: Add CLOBBER_EMPTY option.
2020-06-08 Peter Stephenson
* uwers/24909: Src/exec.c: Don't clean up files used for
substitution until after function has run.
2020-06-08 Doron Behar
* gitlab !14 (fixup): Completion/Linux/Command/_modutils:
modutils comp: Fix getting the value of kver from opt_args
2020-06-07 Daniel Shahaf
* 45932: Etc/FAQ.yo: FAQ (3.1): Update ksh compatibility answer
for reserved word typeset.
* 45933: Etc/FAQ.yo: FAQ: Add "Why does my bash script report
an error when I run it under zsh?".
* 45791 (tweaked): Etc/FAQ.yo, Util/zyodl.vim: FAQ: Explain
how to binary search one's dotfiles
* unposted: Etc/FAQ.yo: FAQ: Update section number in links to
the "The future of zsh" section.
2020-06-06 Daniel Shahaf
* unposted: Etc/BUGS: Add users/24904 to Etc/BUGS (a process
substitution / forking issue).
2020-06-05 Mikael Magnusson
* 45985: Src/builtin.c: typeset: Fix leaving corrupted entries
in paramtab
2020-06-03 Yasuhiro KIMURA
* 45950: configure.ac: Fix 'make install' in out-of-tree
tarball builds.
2020-06-01 Matthew Martin
* 45940: Completion/BSD/Command/_kdump,
Completion/BSD/Command/_ktrace,
Completion/BSD/Type/_ktrace_points: Add _kdump and _ktrace
completers and supporting _ktrace_points type.
* 45939: Completion/Linux/Command/_ionice,
Completion/Unix/Command/_lsof, Completion/Unix/Command/_pgrep,
Completion/Unix/Command/_renice, Completion/Unix/Type/_pgids:
Add _pgids type.
2020-06-01 Doron Behar
* gitlab !14: Completion/Linux/Command/_modutils: modutils
completion: Fix getting the value of kver from opt_args
2020-05-30 Bart Schaefer
* 45915: Src/utils.c: fix handling of hyphens in spckword()
2020-05-28 Yasuhiro KIMURA
* 45934: Completion/Unix/Command/_subversion: Make 'svnliteadmin'
completed same as 'svnadmin'
2020-05-28 Daniel Shahaf
* unposted: Util/zyodl.vim: Highlight the word "note", like
ft=help does.
* unposted: Util/zyodl.vim: Highlight yodl continuation line
marker
* 45923 (with memory leak fixed, cf. 45924): Src/Modules/zprof.c,
Src/exec.c: zprof: Don't tally all anonymous functions as though
they were a single function named "(anon)".
2020-05-23 Peter Stephenson
* 45900: Src/lex.c, Test/D04parameter.ztst: Fix issues with
escaped newline in $-substitution.
2020-05-21 Daniel Shahaf
* 45884 (Oliver's, edited by me): Etc/BUGS: Add a few entries.
2020-05-20 Daniel Shahaf
* 45862: Test/D04parameter.ztst: Add test cases for 45843#1
and 45843#2, adapted from Aaron Esau and pws.
2020-05-17 Eitan Adler
* Eitan Adler: unposted: config.guess, config.sub: update to
2020-04-26.
2020-05-17 Matthew Martin
* 45831: Completion/Unix/Command/_vi: Add _vi completer.
2020-05-16 Daniel Shahaf
* users/24843: Doc/Zsh/compsys.yo: zshcompsys(1): Point to the
'format' style from the 'tag-order' style.
2020-05-12 Mikael Magnusson
* 45796: Src/subst.c, Test/D04parameter.ztst: Support
${name:offset:length} with an empty offset
2020-05-09: Eitan Adler
* noraj: gitlab !13: Completion/Unix/Type/_tar_archive: libarchive and
GNU tar can uncompress zstandard (zstd) based files
2020-05-07: Eitan Adler
* unposted: Completion/Unix/Type/_tar_archive: libarchive based
tar can uncompress zip files
2020-05-07 Daniel Shahaf
* unposted: Completion/Debian/Command/_dscverify,
Completion/Unix/Command/_pandoc: Use alternation patterns rather
than brace expansion
2020-05-05 Daniel Shahaf
* 45764: Test/D07multibyte.ztst: Add a regression test for 45772.
Test by Roman
2020-05-05 Peter Stephenson
* 45772: Src/params.c: Upon restoring locale variables, restore
the corresponding system settings.
2020-05-23 Jun-ichi Takimoto
* unposted: Src/Builtins/rlimits.c: add a comment about how to
add a new resource.
* 45614: Completion/Redhat/Command/_dnf: add support for several
subcommands and options.
2020-05-03 Daniel Shahaf
* 45731: Completion/Debian/Command/_debsnap: New completion
function.
* 45730: Completion/Base/Utility/_arguments, Doc/Zsh/compsys.yo,
Src/Zle/computil.c, Src/utils.c, Test/Y03arguments.ztst:
_arguments: Add the -0 flag, which makes $opt_args be populated
sanely.
* 45729: Src/Modules/curses.c, Src/Zle/compcore.c,
Src/Zle/computil.c, Src/builtin.c, Src/linklist.c: internal:
Add a second parameter to zlinklist2array(), analogously to
hlinklist2array().
2020-05-02 Daniel Shahaf
* unposted: Util/zyodl.vim: Use 'conceal' for some macros that
expand to a single character.
* 45737 (+ docs, and update the test from 45722):
Doc/Zsh/mod_zutil.yo, README, Src/Modules/zutil.c,
Test/V05styles.ztst: zstyle: When determining the weight
(specificity) of a pattern, consider the number of components
before anything else, as documented.
* unposted: Test/V05styles.ztst: Revert unintentional move
from 45722.
* 45739: Doc/Zsh/compsys.yo, Doc/Zsh/zftpsys.yo: docs:
Clarifications about zstyle patterns.
* 45722: Doc/Zsh/mod_zutil.yo, V05styles.ztst: docs: Change
zstyle example to a non-hierarchical one
* 45752/0002: Completion/Unix/Command/_gcc: Complete --output
like -o.
* 45752/0001: Completion/Unix/Command/_gcc: Add .cpp and .hpp
to the ignored extensions list.
2020-04-27 Benjamin Esham
* github #56: Doc/Zsh/mod_zutil.yo: typo: Add a single quote
that had been missing
2020-04-21 Daniel Shahaf
* unposted: README: Give the 'zsystem flock' limit in
pretty-printed form as well.
2020-04-21 dana
* github #54: davey hathorn: Completion/Unix/Command/_dig:
Fix dig completion error
2020-04-20 dana
* unposted: NEWS, README: Document zsh/system changes from
workers/45708
* unposted: Doc/Zsh/mod_system.yo: Adjust documentation from
workers/45708
* Cedric Ware: 45708: Doc/Zsh/mod_system.yo,
Src/Modules/system.c, Src/compat.c, Src/utils.c,
Test/V14system.ztst: Enable sub-second timeout in zsystem flock
* 45702: Doc/Zsh/compsys.yo: Improve documentation of
{insert,separate}-sections
2020-04-15 Peter Stephenson
* 45684: Doc/Zsh/expn.yo: - glob qualifier behaviour in error
cases.
2020-04-12 dg1727
* 45661: Doc/Zsh/params.yo: docs: Clarify the effect of
KSH_ARRAYS on the (I) subscript.
2020-04-09 Peter Stephenson
* 45660: Src/builtin,c, Src/init.c: Delay initial setting of
keympa options until module system is active.
2020-04-05 dana
* 45655: Completion/Darwin/Type/_retrieve_mac_apps: Update
search paths and Spotlight index check for recent macOS
2020-04-05 Daniel Shahaf
* 45656: Etc/BUGS: Document the -o emacs segfault bug.
2020-04-02 Mikael Magnusson
* 45142: Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/lex.c,
Src/options.c, Src/parse.c, Src/zsh.h, Test/E01options.ztst:
Add SHORT_REPEAT option
2020-04-02 Daniel Shahaf
* unposted: Test/D02glob.ztst: Make test platform-independent.
2020-04-01 dana
* 45542: Test/P01privileged.ztst: Use test-directory owner for
auto-determined EUID/EGID
* unposted: Test/D02glob.ztst: Fix platform-dependent test
failure introduced by workers/45583
2020-03-29 Daniel Shahaf
* 45649: Completion/Unix/Command/_unison: completion: Simplify
Unison completion. No functional change.
2020-03-29 Henri Menke
* 45646: Completion/Unix/Command/_unison: completion: Unison:
Honour the $UNISON variable
2020-03-28 Gastón Haro
* github #46: Completion/Unix/Command/_git: _git-restore:
Complete arguments to the --source option after a '=' sign
2020-03-28 Gastón Haro
* github #46: Completion/Unix/Command/_git: Better restrict
git-restore(1) file completions
2020-03-28 Daniel Shahaf
* 45644: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Fix current patch's name in several cases.
* unposted: Test/V07pcre.ztst: Fix syntax error introduced
in 45591.
* 45640: Test/B13whence.ztst: Fix new test when ${PWD}'s value
contains symlinks.
2020-03-26 Daniel Shahaf
* 45627: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Under git-am(1) conflicts, pass to the
gen-applied-string hook information on already-applied patches.
* 45625: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn:
vcs_info svn: Detect the "working copy format is too new" error.
* 45626: Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr,
Functions/VCS_Info/Backends/VCS_INFO_get_data_p4,
Functions/VCS_Info/Backends/VCS_INFO_get_data_svk,
Functions/VCS_Info/Backends/VCS_INFO_get_data_svn,
Functions/VCS_Info/VCS_INFO_set-branch-format,
Functions/VCS_Info/vcs_info: vcs_info: Deduplicate calling the
set-branch-format hook.
* 45624: Functions/VCS_Info/Backends/VCS_INFO_get_data_fossil,
Functions/VCS_Info/Backends/VCS_INFO_get_data_p4,
Functions/VCS_Info/VCS_INFO_bydir_detect: vcs_info: Set $rrn
in all backends.
* 45623: Completion/Unix/Command/_quilt: Add subcommand
descriptions
* 45622: Completion/Unix/Command/_quilt: Categorize subcommands
* 45584, 45620: Test/B12limit.ztst: zsh/rlimits: Skip the tests
for this module when it wasn't compiled in.
* 45591 (Cf. 45587, 45620): Test/V01zmodload.ztst,
Test/V07pcre.ztst: In the test suite, centralize testing that
compiled modules can be loaded successfully.
2020-03-26 Peter Stephenson
* 45616: Src/loop.c, Test/A01grammar.ztst: Remove tokens
from count to repeat keyword.
2020-03-25 Daniel Shahaf
* 45583/0008: Etc/BUGS, Src/utils.c, Test/B13whence.ztst:
Extend tests to prove that what remains of xsymlinks() handles
symlink loops gracefully.
* 45583/0007: Src/utils.c: Remove code that is now unreachable.
* 45583/0006: Src/utils.c: Don't use xsymlinks() in 'whence -s'.
* 45583/0005: Test/B13whence.ztst: Add a test for bin_whence's
symlinks resolution.
* 45583/0004: Etc/BUGS, Src/utils.c, Test/D02glob.ztst: Fix
segfault on resolving symlink loops
* 45583/0003: Src/hist.c, Src/subst.c: chrealpath: Let caller
decide how the return value should be allocated.
* 45583/0002: Src/hist.c, Src/subst.c: chrealpath: Make symlink
resolution optional.
* 45583/0001: Test/D02glob.ztst: Add tests for the segfault on
resolving a symlink loop bug (workers/45282).
* 45590/0002 (in part): Test/B12limit.ztst: zsh/rlimits: Test
that ulimit letters are unique.
2020-03-25 Jun-ichi Takimoto
* 45601: Test/E02xtrace.ztst: fix one more return status
2020-03-22 Rin Okuyama
* github #51: aczsh.m4, configure.ac: Fix configure for cross
build.
2020-03-22 Peter Stephenson
* 45601: Test/E02xtrace.ztst: Fix status in new functions -T
test.
* 45563: Src/utils.c: %z supplies zlong for errors and warnings.
2020-03-22 Daniel Shahaf
* 45583/0009: README, Src/parse.c, Test/E02xtrace.ztst: Add
end-of-options guard support to 'function -T'.
* 45583/0008: Doc/Zsh/grammar.yo, README, Src/exec.c,
Src/parse.c, Test/E02xtrace.ztst: Add the 'function -T' syntax.
* 45583/0007: Config/version.mk, Src/exec.c, Src/parse.c,
Src/text.c: WC_FUNCDEF: Add a placeholder element.
* 45583/0006: Src/parse.c: internal: Add some comments for
orientation. No functional change.
* 45583/0005: Src/parse.c: internal: Document the WC_FUNCDEF
data layout for anonymous functions with arguments (follow-up
to 29492)
* 45583/0004: Src/parse.c, Src/zsh.h: internal: Add some comments
around wordcodes. No functional change.
* 45583/0003: Src/parse.c, Src/zsh.h: internal: Add some comments
around Eccstr. No functional change.
* 45583/0002: Src/parse.c: internal: Reduce some variables'
visibility. No functional change.
* 45583/0001: Src/exec.c: internal: Remove a redundant
assignment.
2020-03-20 Daniel Shahaf
* unposted: Src/Builtins/rlimits.c: Deconfuse $EDITOR's balanced
braces mode. No functional change.
* unposted: Doc/Zsh/expn.yo: ${(Z)}: Convert documentation to
a description block.
* unposted: Util/ztst-syntax.vim: internal: ztst.vim: Make
sure syntax elements are only hidden if they're followed by
something visible
2020-03-18 Daniel Shahaf
* unposted: .editorconfig: Specify tabs for Makefiles.
2020-03-17 Daniel Shahaf
* 45572: Completion/Linux/Command/_sshfs: Complete some more
options
2020-03-17 Jun-ichi Takimoto
* 45536: Src/utils.c: fix handling of 8bit character in
is_wcs_nicechar() and wcs_nicechar_sel() under C-locale.
2020-03-15 Daniel Shahaf
* 45541: Functions/VCS_Info/test-repo-git-rebase-apply: internal:
vcs_info git: Add a test case repository for rebase-apply
situations
* 45539: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: In non-interactive rebases, obtain applied
patches' names.
* 45540: Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
In non-interactive rebases, compute patch names for unapplied
patches.
* 45543: Functions/VCS_Info/VCS_INFO_quilt, README: vcs_info
quilt: Allow quiltcommand to be a function.
* 45547: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: In interactive rebases, process
gen-unapplied-string arguments like gen-applied-string arguments
are processed.
* 45546: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: In interactive rebases, properly support the full
form of the "exec" verb.
* 45545: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: In interactive rebases, ignore comment lines.
2020-03-13 dana
* unposted: Completion/Unix/Command/_git: Fix copy/paste error
in earlier commit that broke `git stash drop`
* 45535: Completion/Unix/Command/_lz4: Order compression levels
numerically
* 45534: Completion/Darwin/Command/_hdiutil: Update image-file
extensions, image/disk formats, &c.
* 45531: Completion/Unix/Command/_sh: Complete options more
accurately
* 45537 (tweaked per 45550, needs 45536): Test/E02xtrace.ztst:
Fix inconsistent function-name encoding in preserves-xtrace test
2020-03-12 Daniel Shahaf
* unposted: .editorconfig: Specify spaces rather than tabs for
zsh scripts.
2020-03-11 dana
* 45470: Test/C02cond.ztst: Simplify '-N cond' test
* 45424 (tweaked): Completion/Solaris/Command/_pfexec,
Completion/Unix/Command/_doas, Completion/Unix/Command/_su,
Completion/Unix/Command/_sudo, Completion/Zsh/Type/_command_names:
Add **/sbin to PATH when completing commands like sudo
2020-03-10 Romain Porte
* 45524: Completion/Debian/Command/_dscverify: Add completion
for dscverify(1) from Debian's devscripts.
2020-03-09 Daniel Shahaf
* 45518 + unposted tweak (change single quotes to double quotes):
Test/V01zmodload.ztst: Fix V01zmotload.ztst test failures when
zsh/parameter is dynamically linked (which is the default).
2020-03-07 Daniel Shahaf
* unposted: README: Move a new incompatibility notice.
* unposted: Test/V01zmodload.ztst: Fix trailing whitespace in
test expectations.
2020-01-29 Daniel Shahaf
* 45342: Test/V01zmodload.ztst: Add tests for interaction
between autoloadable parameters and module loading.
2020-01-17 Daniel Shahaf
* 45313: Completion/Unix/Command/_git: Support completion from
outside of a worktree when --git-dir/--work-tree are specified
on the command line
2020-01-16 Daniel Shahaf
* 45304: Src/loop.c, Test/A01grammar.ztst: Do execute the always
block even when the try/always block itself is the last command.
2020-01-15 dana
* 45292: Test/D02glob.ztst: Add regression test for macOS stat(2)
misbehaviour, now worked around by previous fix (see workers/42891)
* Daniel: 45291: Src/glob.c, Test/D02glob.ztst: A glob with a
trailing slash will now match unreadable/unexecutable directories.
2020-01-15 Daniel Shahaf
* 45288: Completion/Unix/Command/_git: Complete bisect/new as
well as bisect/bad.
2020-01-06 Daniel Shahaf
* 45246: configure.ac: Make --disable-multibyte warn, since
the test suite fails in that configuration.
2020-01-06 Daniel Shahaf
* 45213: README, configure.ac: Make --enable-gdbm default to
false, rather than default to true with an unavoidable warning.
2019-12-26 Daniel Shahaf
* unposted (follow-up to 45131): Test/E02xtrace.ztst: Extra
testing by Mikael
* 45137: Src/Modules/zutil.c, Test/V13zformat.ztst: zformat:
Allow the specifying minimum width and a dot with an empty
maximum width.
* 45138: Src/Modules/zutil.c, Test/V13zformat.ztst: Add zformat
unit tests.
* 45131: Src/exec.c, Test/E02xtrace.ztst: Make a function that
redefines itself preserve its tracedness.
2020-03-06 Daniel Shahaf
* unposted: Completion/BSD/Type/_obsd_architectures: Remove
'sgi', as that OpenBSD port has been discontinued.
2020-03-06 Jun-ichi Takimoto
* 45509: Test/B01cd.ztst: Fix typos.
* 45490 (+45495 and a test): .gitignore,
Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c,
Src/Builtins/rlimits.mdd, Test/B12limit.ztst, configure.ac:
Refactor rlimits.c.
2020-03-05 Bryan Irvine
* github #49: Completion/BSD/Type/_obsd_architectures: Fix typo:
longson should be loongson
2020-02-27 Peter Stephenson
* users/24710: Src/exec.c, Src/jobs.c, Src/signals.c: when using
kill or killpg to test for continued existince of a process
group, check errono is ESRCH on failure as EPERM indicates
processes exist but under a different UID.
2020-02-27 Jun-ichi Takimoto
* 45492: Test/D02glob.ztst: skip test added by users/24633
on Cygwin.
2020-02-25 Peter Stephenson
* 45488: Marc Cornella: Completion/bashcompinit: Need "$@"
quoting for empty words in COMP_WORDS for bash completion.
2020-02-24 Peter Stephenson
* 45487: Src/Zle/zle_keymap.c, Src/Zle/zle_main.c,
Src/Zle/zle_move.c, Src/builtin.c, Src/compat.c, Src/utils.c:
Add missing mod_export for AIX compilation.
2020-02-19 Daniel Shahaf
* 45447: Completion/Zsh/Command/_zstyle,
Completion/Zsh/Function/_vcs_info,
Completion/Zsh/Type/_vcs_info_hooks: Complete vcs_info_hookadd
and vcs_info_hookdel. Expose _vcs_info_hooks as a top-level
helper function.
2020-02-18 Chris Down
* 45463: Test/B11kill.ztst: test: kill: Document why we use
SIGURG
* 45453: Src/jobs.c, Test/B11kill.ztst: builtins: kill: Do not
signal current process group when pid is empty
* 45452: Test/B11kill.ztst: builtins: kill: Add `kill ''`
regression test with explicit sigspec
* 45451: Test/B11kill.ztst: builtins: kill: Add basic test suite
2020-02-17 brian m. carlson
* github #48/0002:
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
properly detect bare repositories
* github #48/0001:
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
avoid warnings in bare repositories
2020-02-14 dana
* unposted: Config/version.mk: Post-release version bump
* unposted: Config/version.mk: Update for 5.8
* Sam Foxman, Daniel Shahaf, dana: CVE-2019-20044: NEWS,
README, Src/openssh_bsd_setres_id.c, Src/options.c, Src/zsh.mdd,
Src/zsh_system.h, Test/E01options.ztst, Test/P01privileged.ztst,
Test/README, configure.ac: Fix insecure dropping of privileges
when unsetting PRIVILEGED option
* unposted: Test/V01zmodload.ztst: Fix failing test from
workers/45385
* 45423 (tweaked): Completion/Unix/Command/_su: Improve arg
handling, shell look-ups
2020-02-07 dana
* unposted: Completion/Unix/Command/_zip: Recognise '--'
2020-02-06 Daniel Shahaf
* 45385: Test/V01zmodload.ztst: Add a test for 'zmodload -Fa'
preemptively disabling ("blacklisting"?) features.
2020-02-06 dana
* unposted: Config/version.mk: Update for 5.7.1-test-3
* Roman Perepelitsa: 45382: Src/Modules/system.c: Fix infinite
loop in sysread
* Martin von Wittich: 45388 (tweaked):
Completion/Unix/Type/_diff_options: Restore -w completion lost
in workers/43351
2020-02-03 Daniel Shahaf
* 45368: Test/B01cd.ztst, Test/D02glob.ztst: Add tests for
workers/45367's issue about double slashes in 'cd -P' and
$PWD.
2020-02-02 Peter Stephenson
* 45373: Src/loop.c, Test/C03traps.ztst: ERR_EXIT failed on
command substitution in else branch.
2020-02-02 Daniel Shahaf
* 45372: Etc/BUGS: Record a symlink loop bug involving :P
2020-02-02 WGH
* 45365: Completion/Unix/Command/_git: Fix __git_recent_branches
for the case when a commit has an empty message
2020-01-29 Daniel Shahaf
* 45343: Src/exec.c, Src/math.c: Queue signals around arithmetic
evaluations
* 45344: INSTALL: Document where third-party completion functions
should be installed.
2020-01-28 Daniel Shahaf
* 45345: Util/ztst-syntax.vim: internal: ztst.vim: Fix
highlighting of zsh comments in test payload
2020-01-26 Daniel Shahaf
* unposted: Src/init.c: internal: Add some comments and fix
indentation. No functional change.
2020-01-23 Daniel Shahaf
* 45340: Src/params.c: internal: Document the difference between
paramtab and realparamtab.
2020-01-19 Eitan Adler
* 45332: Completion/Unix/Command/_git: add completion for
git-version
2020-01-19 Mikael Magnusson
* unposted: _brace_parameter: add missing \
2020-01-16 Daniel Shahaf
* 45305: Test/A01grammar.ztst: Add an XFail test: The
exec-last-command optimization is applied to try/always.
* 45307: Doc/Zsh/mod_zutil.yo: zstyle docs: Unoverload a
placeholder variable name.
* 45306: Doc/Zsh/mod_zutil.yo: zstyle docs: Introduce the first
synopsis in the same way as all others: with an item()().
* unposted: Doc/Zsh/options.yo, Doc/Zsh/params.yo: docs: Fix
a cross-reference.
2020-01-15 Daniel Shahaf
* 45287: Doc/Zsh/expn.yo: zshexpn: Describe parameter elision
and add some introductory prose
* 45302: Src/builtin.c: bin_umask(): Queue signals around
umask().
2020-01-14 Daniel Shahaf
* users/24656: Doc/Zsh/mod_zutil.yo: docs: Add an example of
setting and querying zstyles
2020-01-14 Peter Stephenson
* users/24659: Doc/Zsh/compsys.yo: Cross-reference use of
matcher and matcher-list with tag-order.
2020-01-13 dana
* 45296: Test/D02glob.ztst: Clean up after test from users/24633
2020-01-13 Daniel Shahaf
* 45290: Test/list-XFails: New helper script for listing
XFail tests.
2020-01-12 Daniel Shahaf
* users/24633: Test/D02glob.ztst: Add an xfail test for
users/24619.
2020-01-11 Oliver Kiddle
* unposted: Completion/Unix/Command/_cat: additional typo fix
* Eitan: 45280: Completion/Unix/Command/_git: add -local
variants to completed date formats
2020-01-11 Peter Stephenson
* users/24628 (fixed up): Doc/Zsh/contrib.yo: Add example of how
to bind word matching widget with a fixed style.
2020-01-10 Daniel Shahaf
* 45266: Completion/Linux/Command/_losetup: Fix losetup
completion, broken in da085b7a20729401c725f91ae930200d0deda64f
(41720).
* unposted: Doc/Zsh/mod_zpty.yo: Fix punctuation.
2020-01-10 Jun-ichi Takimoto
* 45264: configure.ac: use /dev/fd on Cygwin for process
substitution
2020-01-09 Daniel Shahaf
* unposted: Completion/Debian/Command/_sbuild,
Completion/Unix/Command/_growisofs: Two additional typo fixes.
2020-01-09 Jens Schleusener
* 45269: Completion/BSD/Command/_mixerctl,
Completion/Darwin/Command/_fs_usage,
Completion/Darwin/Type/_mac_files_for_application,
Completion/Debian/Command/_sbuild,
Completion/Linux/Command/_brctl,
Completion/Linux/Command/_findmnt,
Completion/Linux/Command/_ltrace,
Completion/Mandriva/Command/_urpmi,
Completion/Redhat/Command/_yum,
Completion/Unix/Command/_attr, Completion/Unix/Command/_git,
Completion/Unix/Command/_graphicsmagick,
Completion/Unix/Command/_iconv,
Completion/Unix/Command/_imagemagick,
Completion/Unix/Command/_links,
Completion/Unix/Command/_luarocks,
Completion/Unix/Command/_objdump, Completion/Unix/Command/_od,
Completion/Unix/Command/_pandoc, Completion/Unix/Command/_ping,
Completion/Unix/Command/_pkg-config,
Completion/Unix/Command/_postgresql,
Completion/Unix/Command/_rubber,
Completion/Unix/Command/_transmission,
Completion/Unix/Type/_baudrates,
Completion/Unix/Type/_path_files, Etc/FAQ.yo,
Functions/Zftp/zfautocheck, Misc/c2z, Src/Modules/curses.c,
Src/Modules/db_gdbm.c, Src/Modules/parameter.c, Src/Zle/comp.h,
Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complete.c,
Src/Zle/compresult.c, Src/Zle/computil.c, Src/Zle/zle_keymap.c,
Src/Zle/zle_main.c, Src/Zle/zle_refresh.c, Src/pattern.c,
Src/zsh.h, Src/ztype.h, Test/B01cd.ztst, Test/D04parameter.ztst:
Fix misspellings in completions and elsewhere.
2020-01-08 Mikael Magnusson
* 45272, 45273: Fix more typos.
2020-01-08 dana