2017-02-07 Peter Stephenson
* Sebastian: 40507: Src/Modules/db_gdbm.c: remove extraneous
null byte creating records.
2017-02-07 Daniel Shahaf
* 40494: Completion/Unix/Command/_git: Use slashes matchspec
for references (as already used for branch names).
2017-02-07 Daniel Shahaf
* 40493/0002: Completion/Unix/Command/_git: _git-checkout:
Reorder default completions.
2017-02-07 Daniel Shahaf
* 40493/0001: Completion/Unix/Command/_git: _git-checkout:
No functional change.
2017-02-06 Peter Stephenson
* Jan Matejek: 40434: Completion/Unix/Command/_patchutils:
update.
2017-02-04 Daniel Shahaf
* unposted: Doc/Zsh/contrib.yo,
Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git:
Fix typo in manual.
2017-02-03 Daniel Shahaf
* 40480: 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
set-patch-format: Eliminate the remaining code duplication.
* 40479: 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
set-patch-format: Prepare for more code sharing between the
callers.
* 40481: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg:
vcs_info hg: Pass arguments to the set-patch-format hook.
* 40478: Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info
set-patch-format: Guard against empty variable elision.
* 40476: Doc/Zsh/contrib.yo, Functions/VCS_Info/VCS_INFO_quilt:
vcs_info $backend_misc: Document at the right point, provide
in quilt 'standalone' mode.
2017-02-02 Peter Stephenson
* 40486: Src/Modules/regex.c, Src/params.c: don't warn on
creation of MATCH etc. from regex test as this is implicit.
2017-02-01 Barton E. Schaefer
* 40483 (cf. Eric Freese: 40482): Src/Modules/zpty.c: Remove zpty
exit hook from forked processes
2017-02-01 Daniel Shahaf
* 40460: Src/params.c, Test/E01options.ztst: WARN_NESTED_VAR:
Don't warn when assigning to a slice of an existing array
2017-02-01 Jun-ichi Takimoto
* 40470: Test/D07multibyte.ztst: make the test work also on
OSs which always use ASCII collation (e.g. macOS).
2017-01-31 Peter Stephenson
* 40466: Makefile.in: update depencencies so autoheader is run
after autoconf when configuration input files change.
2017-01-30 Barton E. Schaefer
* 40469: Src/Zle/complete.c: change strategy from 40453 to use
patcompile(PAT_HEAPDUP) instead of signal queueing.
2017-01-30 Peter Stephenson
* 40465: Test/C04funcdef.ztst, Test/V06parameter.ztst: use
method from cd tests to output current directory.
2017-01-29 Peter Stephenson
* Zhiming Wang: 40450, 40451: Completion/Unix/Command/_swift,
Completion/Unix/Command/_openstack: Add new swift language
completion and attempt to resolve against openstack swift command.
2017-01-28 Barton E. Schaefer
* 40453: Src/Modules/zpty.c, Src/Modules/zutil.c,
Src/Zle/compctl.c, Src/Zle/complete.c, Src/Zle/computil.c,
Src/Zle/zle_hist.c, Src/builtin.c, Src/cond.c, Src/glob.c,
Src/loop.c, Src/options.c, Src/parse.c: signal handler safety
for callers of patcompile(PAT_STATIC), which is not re-entrant.
* 40439: Src/zsh.h: PAT_HEAPDUP definition just for clarity
2017-01-28 Peter Stephenson
* 40440: ../Doc/Zsh/mod_parameter.yo, Modules/parameter.c,
hashtable.c, ../Test/C04funcdef.ztst, ../Test/V06parameter.ztst:
Add $functions_source to zsh/parameter to help find where
functions where loaded from.
2017-01-27 Peter Stephenson
* Zach Whaley: 40200: Completion/Unix/Command/_perforce: update
for latest Perforce versions.
* 40425: configure.ac, Src/watch.c: HAVE_* tests for getutxent
etc.
2017-01-26 Peter Stephenson
* 40423: Src/params.c, Test/E01options.ztst: similar for type
conversion the other way.
* 40422: Src/params.c, Test/E01options.ztst: more
WARN_NESTED_VAR cases that were broken in the original patch.
2017-01-25 Peter Stephenson
* 40413: Src/params.c, Test/E01options.ztst: no WARN_NESTED_VAR
warning on bogus parameter created for subscripted assignment.
2017-01-25 Daniel Shahaf
* 40403/0004: 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
set-patch-format helper: Part #4.
* 40403/0003: 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
set-patch-format helper: Part #3.
* 40403/0002: 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
set-patch-format helper: Part #2.
* 40403/0001: 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,
Functions/VCS_Info/vcs_info: vcs_info set-patch-format helper:
Part #1.
* 40401: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Fix the %c patch-format expando.
* 40396: Doc/Zsh/contrib.yo: vcs_info quilt: More documentation
of '%Q' and 'use-quilt'.
* 40392: Functions/VCS_Info/VCS_INFO_patch2subject: vcs_info
patch2subject: Support `git show` output.
2017-01-24 Mikael Magnusson
* posted: Test/D07multibyte.ztst: Make D07 recognize more
spellings of pl_PL.UTF-8
2017-01-24 Peter Stephenson
* 40404: Src/builtin.c: quoting of commands in whence should
only apply to whence -v.
2017-01-23 Peter Stephenson
* 40391: Completion/compinit, Doc/Zsh/builtins.yo,
Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, Src/options.c,
Src/params.c, Src/zsh.h, Test/E01options.ztst: Add
WARN_NESTED_VAR option and functions -W to turn it on similarly
to functions -T.
2017-01-23 Daniel Shahaf
* unposted: Etc/BUGS: Record users/20807 vcs_info quilt issue.
2017-01-18 Peter Stephenson
* 43080: Test/C04funcdef.ztst: a few more tests for autoload
with absolute path.
* 40375: Src/builtin.c, Src/subst.c: autoload with explicit path
mustn't trash already loaded function. Also drive-by removal of
duplicated duplication in =cmd expansion.
2017-01-17 Peter Stephenson
* unposted: Completion/Zsh/Command/_typeset: autoload ~... also
completes file.
2017-01-16 Peter Stephenson
* 40372: Completion/compinit: turn off POSIX_IDENTIFIERS option
for completion.
* 40369: Src/builtin.c: whence -v should probably quote commands
since it quotes functions.
* 40353 (plus improvement to whence -v): Src/exec.c,
Src/hashtable.c, Src/signals.c: use directory cache where
possible for all functions loaded from directory including
fpath.
2017-01-15 Peter Stephenson
* 40362: Src/Zle/computil.c: need duplicated values for setting
parameter in compvalues. Was causing obscure but surprisingly
rare crashes in value completion.
2017-01-13 Eric Cook
* earnestly: 40355: Completion/Unix/Command/_mpc: improve
playlist completion
2017-01-13 Oliver Kiddle
* 40345: Completion/Linux/Command/_lsusb: update lsusb completion
* 40344: Completion/Linux/Command/_lsblk: new lsblk completion
2017-01-12 Peter Stephenson
* unposted: Src/hashtable.c: one missing *name = NULL.
* 40342: Src/builtin.c, Src/exec.c, Src/hashtable.c,
Src/signals.c, Test/C04funcdef.ztst: add directory name cache
for directories recorded for autoload files.
2017-01-12 Peter Stephenson
* 40335: Src/builtin.c, Src/exec.c, Src/zsh.h,
Test/C04funcdef.ztst: be more careful autoload filename is
directory, not source location.
* Jens Elkner: 40333: Src/watch.c: Fix the utmpx interface for
watch as otherwise it failed on some OSes.
2017-01-11 Peter Stephenson
* 40332: Completion/Zsh/Command/_typeset: completion for new
autoload features.
2017-01-11 Oliver Kiddle
* 40321: Doc/Zsh/compsys.yo, Src/Zle/computil.c,
Test/Y03arguments.ztst: _arguments option groups
2017-01-11 Peter Stephenson
* unposted: Src/builtin.c, Src/exec.c: be more careful to free
memory when updating filename in struct shfunc.
* 40327 (with minor fixes): Doc/Zsh/builtins.yo,
README,Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/parse.c,
Src/zsh.h, Test/C04funcdef.ztst: add ability to autoload
function from file using full path, with additional related
autoload options -r, -R, -d and extension to -X.
2017-01-10 Peter Stephenson
* 40305: Src/Zle/complist.c, Src/Zle/zle_main.c,
Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c: fix some problems
redisplaying command line after interrupts.
* 40306 with documentation additions: Doc/Zsh/options.yo,
README, Src/input.c, Src/options.c, Src/parse.c, Src/zsh.h,
Test/A02alias.ztst: Add ALIAS_FUNC_DEF option and make
the default behaviour to disallow functions where the
name is expanded as an alias (unless part of a complete
function definition within the alias).
2017-01-10 Daniel Shahaf
* 40303: Completion/Debian/Command/_bts: Add more subcommands.
2017-01-10 Phil Pennock
* 40318 (in part): Doc/Zsh/builtins.yo: Document echo \c
behaviour.
2017-01-10 Daniel Shahaf
* 40302: Completion/Unix/Command/_swaks: New _swaks completion
(common options only).
2017-01-08 Daniel Shahaf
* unposted: LICENCE: Update year to $now (2017).
2017-01-06 Peter Stephenson
* m0viefreak: 40285: Src/Zle/zle_hist.c: more care needed
managing patterns in history isearch if there are hooks
around.
2017-01-05 Daniel Shahaf
* 40270 (after 39995): Src/params.c: Add cross-reference for
robustness.
* 40264: Completion/Unix/Command/_man: Complete all sections
after '-a'.
* users/22320: Etc/BUGS: Add 40240, label 40106.
2017-01-05 Oliver Kiddle
* 40269: Src/Zle/computil.c, Test/Y03arguments.ztst:
handle option exclusion within current word for clumped options
2017-01-04 Oliver Kiddle
* 40227: Src/Zle/computil.c, Test/Y03arguments.ztst: new approach
to 39611 (_arguments sets and rest arguments starting with a dash)
* 40226: Src/Zle/computil.c, Test/Y03arguments.ztst:
tidy up some of the _arguments set code
2017-01-03 Peter Stephenson
* 40265: Src/pattern.c: fix continuing problems with Meta characters
in pattern that resolves to a string by copying source string.
Triggered by string that (correctly) turned Dash into '-'.
* Paulo Andrade: 40260: Src/prompt.c: Set newly allocated
space in prompt buffer to zero as it may be tested.
2017-01-01 Barton E. Schaefer
* users/22319: Src/subst.c: ${ary1:^ary2} should not change
the isarr state of the expansion of ary1 unless ary1 is made
from a scalar, lest semantics of (@) in double quotes be lost.
2016-12-30 Barton E. Schaefer
* 40248: Src/hist.c: suppress errors from zshaddhistoryhook,
and do not call it if no history entry will be written
2016-12-28 Sebastian Gniazdowski
* 40231: Src/params.c: Optimise setarrvalue().
2016-12-28 Daniel Shahaf
* 40232: configure.ac: Remove SH_USE_BSD_ECHO autoconf test.
2016-12-27 Barton E. Schaefer
* unposted (see users/22287): Completion/compinit: _comp_options
needs to disable ERR_RETURN along with ERR_EXIT
2016-12-24 Barton E. Schaefer
* Oliver: 40118: Functions/Zle/bracketed-paste-magic: relocate
BUFFER/CURSOR reset to work around "fc -p" issue (alternate fix
replacing 40115).
* unposted: Functions/Zle/bracketed-paste-magic: revert 40115,
thus restoring 38579.
2016-12-22 Oliver Kiddle
* 40162: Src/Zle/computil.c, Test/Y03arguments.ztst: _arguments
support for a match spec in combination with sets
2016-12-22 Daniel Shahaf
* unposted: Config/version.mk: Post-release version bump to
5.3.1-dev-0.
2016-12-21 Peter Stephenson
* unposted: Config/version.mk, Etc/FAQ.yo, NEWS, README:
release 5.3.1:
2016-12-18 Baptiste Daroussin
* 40210: Completion/Unix/Command/_sysctl: Add support modern
FreeBSD and drop support for FreeBSD < 5
2016-12-18 Baptiste Daroussin
* 40209: Completion/BSD/Command/_chflags: Fix typo in chflags
completion
2016-12-16 Daniel Shahaf
* 40149: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Avoid a fork.
* 40203: Test/B03print.ztst: Resolve 'printf --' question from
grandparent commit (thanks Chet).
2016-12-15 Barton E. Schaefer
* 40198: Test/V10private.ztst: output of B02typeset differs when
(( UID == 0 )) so do not attempt to redo that test in that case
2016-12-14 Barton E. Schaefer
* 40179: Src/builtin.c: fix handling of "printf -" and "printf --"
* unposted: Test/B03print.ztst: regression for 40179 / 37467
2016-12-12 Peter Stephenson
* unposted: Config/version.mk: update to 5.3-dev-0 to avoid
clash with installed 5.3.
2016-12-10 Barton E. Schaefer
* 40134: Src/builtin.c, Src/Zle/compmatch.c: silence spurious
compiler warnings.
2016-12-10 Daniel Shahaf
* 40139: Test/Y03arguments.ztst: tests: Convert comments to
diagnostics; test backslashes. (after 40129)
* users/22182: Completion/Zsh/Context/_brace_parameter: Propagate
22161 docs patch to completion descriptions.
2016-12-09 Oliver Kiddle
* 40137: Doc/Zsh/compsys.yo: document _external_pwds
2016-12-09 Peter Stephenson
* unposted: Config/version.mk: 5.2-test-3.
* users/22161: Doc/Zsh/expn.yo: the (E) parameter flag is one
after every other use of indexing.
2016-12-09 Daniel Shahaf
* 40117: Doc/Zsh/compsys.yo, Src/input.c: Revert a hunk of
40035 that changed semantics incorrectly.
2016-12-09 Peter Stephenson
* unposted: Test/D07multibyte.ztst: minor typos.
* 40138: Test/D07multibyte.ztst: Put the regex test last as it
has an additional dependency, and note this in a failure
message.
2016-12-09 Daniel Shahaf
* 40126: Functions/Misc/zed: zed (fned): When editing a new
function. escape its name.
2016-12-08 Oliver Kiddle
* 40130: NEWS: mention some changes since 5.2
* 40129: Src/Zle/computil.c, Test/Y03arguments.ztst:
revert 39611, add code comments and test cases for _arguments
* c.f. 40119: Src/zsh.h: correct typo in comment
* 40114: Completion/Zsh/Context/_brace_parameter: complete
:/ with other parameter operators
2016-12-06 Barton E. Schaefer
* Zhiming Wang: 40115: Functions/Zle/bracketed-paste-magic:
revert 38579 due to bug restoring BUFFER after history search
* 40110: Test/B02typeset.ztst: ignore strerror text in test
output, it differs by OS
* 40110: Test/C02cond.ztst: discard stderr when looking for
a path to the "mount" command, to avoid spurious test failure
2016-12-06 Mikael Magnusson
* 40107: Completion/Linux/Command/_fusermount,
Completion/Unix/Command/_mount: fix quoting
2016-12-06 Peter Stephenson
* unposted: Config/version.mk: 5.2-test-2.
2016-12-05 Peter Stephenson
* 40102: Test/ztst.zsh, Test/C02cond.ztst: create test IO
files in newly created temporary directory.
* 40100: Test/C03traps.ztst: Check ERR_EXIT and ERR_RETURN on
anonymous functions: should exit on function return even if
suppressed internally.
* 40097: Src/exec.c, Test/C03traps.ztst: Don't trigger ERR_EXIT
or ERR_RETURN on non-zero status after current shell group, either.
* 40096: Src/exec.c, Src/loop.c, Src/zsh.h, Test/C03traps.ztst:
Don't trigger ERR_EXIT or ERR_RETURN on non-zero status after
shell construct.
2016-12-04 Daniel Shahaf
* unposted: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Handle rebase-apply sequences with >=10000 patches.
* 40074: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: rfc822-unfold rebase-apply patch subjects when
msg-clean is unavailable.
2016-12-04 Peter Stephenson
* 40088: Test/D04parameter.ztst: attempt to make output from
interactive test more robust.
2016-12-03 Barton E. Schaefer
* unposted: Test/D04parameter.ztst: regression test for 40071
* 40071: Src/subst.c: change Dash back to "-" before evaluating
named directory expansions
2016-12-03 Daniel Shahaf
* 40068: Src/params.c, Test/B02typeset.ztst: Abort execution
when setuid/setgid fail.
* 40067: Src/Zle/comp.h, Src/Zle/complete.c, Src/params.c:
internal: Document 'cmatcher', parse_cmatcher(), 'comptoend',
unsetparam_pm(), and getindex().
2016-12-03 Daniel Hahler
* 40029: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
Get subject of current patch in rebase-apply mode
2016-12-02 Peter Stephenson
* unposted: Config/version.mk: 5.2-test-1.
* 40066: Etc/FAQ.yo, README: updates for 5.3 release.
2016-12-01 Oliver Kiddle
* 40055: Completion/Unix/Command/_git: update for git 2.11.0
* 40053: Completion/Base/Completer/_external_pwds: exclude
current directory of active zsh from completion matches
2016-12-01 Daniel Shahaf
* unposted: Functions/VCS_Info/VCS_INFO_patch2subject,
Functions/VCS_Info/VCS_INFO_quilt, Functions/VCS_Info/vcs_info:
vcs_info: Break out VCS_INFO_quilt-patch2subject into
VCS_INFO_patch2subject
2016-12-01 Mikael Magnusson
* 40024: Completion/Unix/Type/_path_files: Update _path_files
since quoting requirements changed in 39412, this case only
triggers when accept-exact-dirs is set.
2016-12-01 Jun-ichi Takimoto
* 40050: Src/compat.c: prepend /**/ to global functions and #ifdefs
2016-11-30 Peter Stephenson
* 40049: NEWS: notes on Unicode 9 (40037).
* 40043: Src/Zle/computil.c: fix indentation (recent gcc warns
about this).
2016-11-30 Daniel Shahaf
* 40036: Completion/Debian/Command/_bts: Complete removal
syntaxes correctly.
2016-11-29 Barton E. Schaefer
* 40034: Src/subst.c: clear badcshglob when ignoring errors
* unposted: README: example describing 40032
* 40032: Src/params.c: consistency in handling of subscript
slices outside the bounds of an array parameter
2016-11-29 Peter Stephenson
* 40037: Joshua Rubin: Unicode 9 character width support.
Needs enabling with --enable-unicode9.
* 40035: Eitan Adler: Cosmetic fixes mostly for duplication in
comments and documentation.
* 40026: Src/Zle/zle_tricky.c: More care with redirection
completion. Fixes for completion after > in "!> ." that
should add to sanity.
2016-11-29 Daniel Shahaf
* unposted: Completion/Zsh/Context/_subscript: Complete the
$foo[(f)] flag.
* unposted: Completion/Unix/Command/_git: _git-config: Fix
user.email completion to complete only bare email addresses.
2016-11-28 Daniel Shahaf
* 40011: Completion/Base/Core/_main_complete,
Completion/Solaris/Command/_pfexec,
Completion/Solaris/Command/_zlogin,
Completion/Unix/Command/_chown, Completion/Unix/Command/_doas,
Completion/Unix/Command/_sudo: Make $_comp_priv_prefix only
declared when required, and use that to have chgrp offer all
groups under doas, ssh, etc as well.
* 40010: Src/builtin.c, Test/A02alias.ztst: builtins: Say
'bad option: +x', not 'bad option: -x', when +x was passed.
* 40009: Src/hashtable.c: alias -L: Emit aliases that begin
with a plus sign correctly.
2016-11-24 Jun-ichi Takimoto
* 40013: Completion/Unix/Type/_date_formats,
Completion/Zsh/Command/_strftime: process zsh-specific time
format extensions correctly
2016-11-25 Oliver Kiddle
* unposted: Functions/Zle/surround: set new vichange flag
* 40020: Completion/Unix/Command/_cscope: new completion
2016-11-25 Laurent Arnoud
* 40018 + 40019: Completion/Debian/Command/_apt: Add missing
commands to Debian apt completion
2016-11-24 Oliver Kiddle
* unposted: Completion/Unix/Command/_date: fix typo (=+ to +=)
* 40004 (tweaked): Completion/Redhat/Command/_yum: fix cache
mechanism, complete groups and other minor improvements
* unposted: Src/Zle/zle_params.c: fix to compile on Solaris where
curses.h has a #define for reg to register
* 40003: Src/Zle/zle_params.c, Doc/Zsh/zle.yo: include "0-"9
vi buffers in the registers associative array
2016-11-24 Jun-ichi Takimoto
* 40005: Completion/Unix/Command/_date,
Completion/Unix/Type/_date_formats: call _date_formats from _date.
Update both files for darwin etc.
2016-11-24 Daniel Shahaf
* 39982: README, Src/utils.c: $SPROMPT: Don't accept a spelling
correction at space/tab.
2016-11-23 Bart Schaefer
* unposted: Src/Zle/zle_main.c: clear ERRFLAG_ERROR before
invoking immortal widget (cf. 39934)
2016-11-23 Oliver Kiddle
* unposted: Test/Y03arguments.ztst: partial match test case
* unposted: Src/builtin.c, Test/B03print.ztst: fix printf -v
to an array without format string reuse
2016-11-21 Oliver Kiddle
* 39993: Test/Y01completion.ztst: Tests for 39981.
2016-11-21 Daniel Shahaf
* 39981: Src/Zle/compresult.c: Make compstate[to_end] skip
suffix and hidden suffix, but not ignored suffix.
2016-11-20 Oliver Kiddle
* 39986, 39989: Src/Zle/zle.h, Src/Zle/zle_keymap.c,
Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_thingy.c,
Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst,
Doc/Zsh/zle.yo, Functions/Zle/vi-pipe: make vi-repeat-change
work better with shell based widgets and save old change
when recording a new change in case the new one fails
* 39974: Completion/Unix/Command/_ssh: complete shared
libraries for -e and -s options to ssh-add
2016-11-20 Peter Stephenson
* Guillaume Maudoux: 39900 (doc slightly tweaked): Src/params.c,
Doc/Zsh/params.yo: Add TERMINFO_DIRS special colon-separated
array, not tied.
* 39995 (from 39977): Src/params.c, Test/A06assign.ztst:
optimisation of string assignment if length is unchanged.
* Mikel Ward: 39978: Doc/Zsh/jobs.yo: more accurate
documentation of searching for job by string.
2016-11-20 Daniel Shahaf
* Sebastian: 39992: Src/params.c: setarrvalue: Allocate
a correctly-sized array.
* unposted (after 39952): Src/Zle/zle_params.c: Restore C89
compatibility.
* 39985: Doc/Zsh/params.yo: Document the [nyae] answers to the
spelling correction prompt, $SPROMPT.
2016-11-18 Daniel Shahaf
* 39916 + 39930 + tweak: Completion/Unix/Command/_git: Complete
options and values for -c.
2016-11-17 Peter Stephenson
* 39958: Src/Zle/compctl.c, Src/builtin.c, Src/compat.c,
Src/exec.c, Src/glob.c, Src/hist.c, Src/utils.c: Add spare byte
to PATH_MAX allocation to allow for possible null.
2016-11-17 Daniel Shahaf
* 39921: Completion/Unix/Command/_git: __git_recent_branches:
Remove erroneous parsing of partial ref names as tags.
* 39922: Completion/Unix/Command/_git: __git_recent_branches:
Fix an 'assertion' failure when two branches (refs) point to
the same commit.
* 39917: Completion/Zsh/Command/_precommand: Complete setsid(1)
as a precommand
* 39915: Src/exec.c, Test/E01options.ztst: whence: Honor
PATH_DIRS option for arguments that start with './' or '../'.
2016-11-17 Oliver Kiddle
* 39962: Src/Zle/zle_keymap.c: bind vi case conversion widgets
u/U in visual mode and g~ from normal mode
* 39959: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: when repeating
vi changes advance through the numbered killring registers.
Also fix numeric arguments with vi-repeat-change.
* 39952: Src/Zle/zle_params.c, Doc/Zsh/zle.yo: add registers
special parameter to provide access to the vi register
buffers from a zle widget function
2016-11-16 Oliver Kiddle
* 39945: Src/Zle/compcore.c, Completion/Base/Core/_message,
Test/Y03arguments.ztst: allow further tab presses to move on
to menu completion even when compstate[insert] is emptied
2016-11-15 Peter Stephenson
* 39949: Src/subst.c, Src/utils.c, Test/B09hash.ztst: "-" is
allowed in named directories, so needs a special case when
sh-tokenized for possible ranges.
* 39947: Test/D04parameter.ztst: Test out-of-rantge multiple
array subscripts with and without (@).
2016-11-14 Barton E. Schaefer
* 39943: Src/utils.c: no need to compute arrlen() in arrdup_max()
when max == 0.
2016-11-15 Jun-ichi Takimoto
* 39937: Src/params.c: fix a problem introduced by 39886.
$a[i,j] should become an empty array if i>j.
2016-11-14 Peter Stephenson
* 39906: Src/utils.c: More optimisation of multibyte handling
for US-ASCII along existing lines.
2016-11-13 Barton E. Schaefer
* unposted: Src/Zle/zle_utils.c: comment in zlecallhook() points
to redrawhook() just in case
* 39934: Src/Zle/zle_main.c: if a widget execution fails, try to
execute a corresponding immortal widget instead.
* 39933: Src/Zle/zle_main.c: more of zlecallhook() in redrawhook(),
add commentary on some of the differences
* 39929: Doc/Zsh/zle.yo: clarify execute{,-last}-named-cmd
2016-11-12 Barton E. Schaefer
* unposted: Etc/zsh-development-guide: add list of standard
module hooks with corresponding macro names
2016-11-12 Oliver Kiddle
* Paul Seyfert: 39920: Completion/Redhat/Command/_yum:
extend yum completion to cover more yum commands
2016-11-10 Barton E. Schaefer
* 39893: Src/params.c: use arrdup_max() to show explicitly the
difference in two code branches; no functional change
2016-11-11 Daniel Shahaf
* 39874/0002 plus size=0 handling: Src/mem.c: zshcalloc: Remove
code duplication. No functional change.
* 39874/0001: Src/params.c: setarrvalue: Remove needless
initialization.
2016-11-10 Peter Stephenson
* 39901: Src/exec.c, Test/C03traps.ztst: Exiting the left hand
side of a pipeline shouldn't trigger EXIT trap.
2016-11-09 Oliver Kiddle
* 39890: Completion/Debian/Command/_git-buildpackage,
Completion/Debian/Command/_lintian,
Completion/Debian/Command/_make-kpkg,
Completion/Linux/Command/_iwconfig,
Completion/Debian/Command/_dcut, Completion/Linux/Command/_mdadm,
Completion/Solaris/Command/_dladm, Completion/Unix/Command/_adb,
Completion/Unix/Command/_attr, Completion/Unix/Command/_awk,
Completion/Unix/Command/_bzr, Completion/Unix/Command/_cdrdao,
Completion/Unix/Command/_devtodo, Completion/Unix/Command/_feh,
Completion/Unix/Command/_global, Completion/Unix/Command/_groff,
Completion/Unix/Command/_growisofs,
Completion/Unix/Command/_initctl, Completion/Unix/Command/_iostat,
Completion/Unix/Command/_ip, Completion/Unix/Command/_java,
Completion/Unix/Command/_localedef, Completion/Unix/Command/_make,
Completion/Unix/Command/_mencal, Completion/Unix/Command/_module,
Completion/Unix/Command/_nkf, Completion/Unix/Command/_nmap,
Completion/Unix/Command/_pbm, Completion/Unix/Command/_rar,
Completion/Unix/Command/_sisu, Completion/Unix/Command/_sqsh,
Completion/Unix/Command/_surfraw, Completion/Unix/Command/_units,
Completion/Unix/Command/_wiggle: fix typos and spellings
* 39888: Completion/Unix/Command/_tmux: update for tmux 2.3
* 39884: Functions/Zle/history-beginning-search-menu:
fix for history lines containing a pipe character
2016-11-09 Barton E. Schaefer
* 39882: Doc/Zsh/expn.yo: mention ${name:/pattern/replacement}
in the itemized synopsis with the related forms; clarify doc.
2016-11-09 Peter Stephenson
* 39887: Src/params.c: no need to conditionalise assignment of
strlen in getstrvalue().
* 39886 based on 39877 (Sebastian): Src/params.c, Src/utils.c:
add arrdup_max() so as not to duplicate entire arrays unnecessarily.
* Sebastian: 39875: Src/params.c, Src/string.c: add
dupstring_glen() to avoid redundant strlen() calls.
2016-11-09 Daniel Shahaf
* 39853: Completion/Unix/Command/_subversion: Accept long
options in the '--foo=bar' syntax.
2016-11-08 Peter Stephenson
* Sebastian: 39871: cut down number of strlen()s in getstrvalue().
2016-11-08 Jun-ichi Takimoto
* 39857: Completion/Unix/Command/_top: add support for darwin,
with improvements on linux etc.
2016-11-08 Peter Stephenson
* 39870: Src/builtin.c, Test/C03traps.ztst: ensure exit trap can
always run.
* unposted: Src/utils.c: follow up to 39867: don't need test
against zero any more.
* Sebastian: 39869: can transfer ownership of core of array when
assigning.
* 39867: Src/utils.c: cast to unsigned char to compare against
0x7f.
2016-11-07 Peter Stephenson
* Felix Neumärker: Completion/Unix/Command/_module: follow
symbolic links and use _multi_parts for paths.
* zsh-users/22083: Doc/Zsh/expn.yo: attempt to explain a bit
better what a "word" is in parameter substitution.
2016-11-07 Daniel Shahaf
* 39840: Completion/Unix/Command/_cpio: Declare variable's
type correctly.
2016-11-07 Jun-ichi Takimoto
* 39728: Src/zsh_system.h, Src/Modules/datetime.c: define
_GNU_SOURCE on Cygwin
* 39855: Completion/BSD/Command/_jot: new completion
2016-11-07 Frank Terbeck
* 39849: Completion/Unix/Command/_tmux: _tmux: Remove
set-remain-on-exit
2016-11-06 Frank Terbeck
* 39847: Util/check-tmux-state: Update helper function name
pattern
* 39848: Completion/Unix/Command/_tmux: _tmux: Update options to
latest tmux
2016-11-05 Barton E. Schaefer
* unposted: Completion/compaudit: tweak replacement getent
to handle /etc/hosts format.
* Thomas Bereknyei, Mic92: 39831: Completion/compaudit: find
"getent" by the usual command search, not just /usr/bin/.
* unposted: Test/A05execution.ztst: tests for 39839, 39844
* 39844: Src/loop.c: fix "while" condition as per 39839
* 39839: Src/loop.c: fix "return" from "if" condition
* 39838: Src/builtin.c: another missing unqueue_signals()
2016-11-04 Oliver Kiddle
* 39829: Src/Zle/compcore.c: when compstate[insert] is emptied
by the completion function and AUTO_MENU is set, start menu
completion on the second tab press rather than the third
* 39834: Src/builtin.c, Completion/Zsh/Command/_print,
Completion/Zsh/Command/_fc, Completion/Zsh/Type/_ps1234:
when print used with -v and -l, include a final
newline; complete print -S option and make further use
of the new printf to an array feature
* 39389: Src/builtin.c, Test/B03print.ztst, Doc/Zsh/builtins.yo,
Completion/Zsh/Type/_globquals, Completion/Zsh/Command/_print:
when printf -v is used with an array use separate elements each
time the format is reused
2016-11-04 Daniel Shahaf
* users/22080: Doc/Zsh/zle.yo: bracketed-paste: Third time's
a charm.
2016-11-04 Peter Stephenson
* Sebastian: 39825: Src/utils.c: Optimise mb_metastrlenend() for
the common case of 7-bit character.
2016-11-04 Jun-ichi Takimoto
* 39818 (Oliver Kiddle): Completion/Unix/Command/_awk: add nawk
2016-11-03 Barton E. Schaefer
* 39824: Test/X02zlevi.ztst: test case for 39811
2016-11-03 Peter Stephenson
* unposted: Src/Zle/zle_keymap.c: comment explaining putting
back tail end of key buffer into input.
2016-11-03 Daniel Shahaf
* 39806: Src/Zle/zle_vi.c: internal: Document zle's vichgbuf.
* 39805: Src/Zle/comp.h, Src/Zle/compcore.c: internal: Document
some compadd internals.
* 39804: Src/Zle/comp.h, Src/Zle/complete.c: internal: Document
matchspec flags.
* 39803: Src/Zle/complete.c: internal: Document bin_compadd().
* 39802: Src/Zle/compcore.c, Src/Zle/complete.c: internal:
Document and simplify multiquote().
* users/22063: Doc/Zsh/zle.yo: bracketed-paste: Document ability
to specify a vi register. (after users/22036)
2016-11-03 Daniel Hahler
* 39822: Completion/Unix/Command/_git: remove "-A '-*'" with
_arguments for some commands.
2016-11-03 Barton E. Schaefer
* unposted: Completion/Unix/Type/_remote_files: fix typo that
was causing handling of "--" argument to fail
* 39820: Src/Zle/zle_vi.c: vi-repeat handles multi-key bindings
2016-11-03 Peter Stephenson
* 39815: Src/lex.c, Test/D04parameter.ztst: read input to end
on parse error in $(...) inside a string.
2016-11-02 Barton E. Schaefer
* 39813: Src/Zle/zle_keymap.c: fix keybuflen after ungetting
extra keys from the end of keybuf in getkeymapcmd().
* 39811: Src/Zle/zle_vi.c: vi-repeat-change must not be the
"motion" of vi-change, lest it infinitely repeat itself.
2016-11-01 Jun-ichi Takimoto
* 39731: Completion/Unix/Command/_awk: add support for gawk
ver.3 and 4
2016-11-01 Daniel Shahaf
* 39787: Test/Y01completion.ztst: Add a regression test for
39412.
2016-10-31 Barton E. Schaefer
* 39797: Completion/Unix/Type/_canonical_paths: obsolete the
helper functions fixed by the previous two changes, replacing
them with the new ${var:P} modifier.
* 39795: Completion/Unix/Type/_canonical_paths: preserve "cd -"
behavior around directory shuffling in _canonical_paths_pwd
* 39792: Completion/Unix/Type/_canonical_paths: improve handling
of relative paths in _canonical_paths_add_paths
2016-10-31 Daniel Shahaf
* 39786: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg,
Functions/VCS_Info/VCS_INFO_hexdump, Functions/VCS_Info/vcs_info:
vcs_info (hg): Use native hexdump implementation instead of
external command.
2016-10-30 Peter Stephenson
* 39777: Src/parse.c, Test/D08cmdsubst.ztst: $() is a valid
empty command substitution.
2016-10-29 Barton E. Schaefer
* 39758: Src/builtin.c, Src/params.c: revise 39704 to output
"typeset" for array and hash parameters, even when exported; for
POSIXBUILTINS, "export var" does not implicitly set $var, and its
export state is preserved when assigned (but not when explicitly
unset).
2016-10-28 Daniel Shahaf
* users/22036: Doc/Zsh/zle.yo: bracketed-paste: Document
cutbuffer behaviour; clarify.
2016-10-27 Barton E. Schaefer
* unposted: Functions/Zle/bracketed-paste-magic: handle empty
pastes and "zle bracketed-paste variablename" form.
2016-10-27 Daniel Shahaf
* unposted: Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo: Minor
documentation fixes (markup, grammar, etc).
* 39739: Completion/Unix/Command/_head,
Completion/Unix/Command/_tail: Complete negative integers for
-n/-c in the GNU variant. (after 39479)
2016-10-25 Barton E. Schaefer
* 39725: Src/Zle/complist.c: more metafication of patterns.
2016-10-25 Peter Stephenson
* 39723: Src/Zle/complist.c, Src/glob.c: metafy string to be
used in pattern for complist. Also skip metafied characters
when tokenizing (typically this has no effect, however).
2016-10-24 Barton E. Schaefer
* unposted: NEWS, README: update for 39704.
* 39704: Src/params.c, Test/B02typeset.ztst, Test/B03print.ztst,
Test/V10private.ztst: the output of "typeset -p" uses "export"
commands or the "-g" option for parameters that are not local to
the current scope.
2016-10-24 Daniel Shahaf
* 39706: Completion/Unix/Type/_tilde_files, Doc/Zsh/compsys.yo:
_tilde_files: Offer named directories. Document.
* 39708: Completion/Unix/Type/_email_addresses,
Doc/Zsh/compsys.yo: Document _email_addresses.
* 39707: Doc/Zsh/compsys.yo: Document _dir_list.
2016-10-23 Peter Stephenson
* 39715: Src/Zle/complist.c: handle multibyte characters when
highlighting completion listing.
2016-10-22 Barton E. Schaefer
* 39710 (cf. Alex George: 39709): Completion/Base/Completer/_expand,
Completion/Base/Completer/_user_expand: handle the %o format in the
"all-expansions" tag; allow a single unique match to appear in the
"expansions" tag (cf. users/21955).
2016-10-20 Peter Stephenson
* 39688: Src/pattern.c: Alternative fix: next pointer is
irrelevant anyway as there's only one P_EXACTLY in a P_PURES.
* 39683: Src/pattern.c: Update scan pointer in pattern after
possible reallocation for meta handling.
2016-10-19 Barton E. Schaefer
* 39680: Src/mem.c: correctly handle case of popping last arena
2016-10-19 Peter Stephenson
* 39678: Src/builtin.c, Test/D07multibyte.ztst: printf %q
argument needs metafying and result unmetafying.
2016-10-18 m0viefreak
* 39590: Src/Zle/compresult.c: zle: Call zle-line-pre-redraw
after inserting a completion result
2016-10-18 Daniel Shahaf
* 39654: Completion/Unix/Command/_make: (based on patch by
Baptiste Daroussin) Better support bmake, FreeBSD's default
make(1) implementation.
* 39657: Completion/Zsh/Command/_zstyle: Complete the -g,
-s,-b,-a, -t,-T, -m options.
* 39657: Completion/Zsh/Command/_zstyle: When completing a
style for an unrecognised context, complete all known styles.
* 39657: Completion/Zsh/Command/_zstyle,
Completion/Zsh/Type/_completers, Doc/Zsh/compsys.yo: Make a
helper function global.
2016-10-16 Daniel Shahaf
* 39500: Src/Zle/computil.c: compdescribe: perform
on-screen-width computation using the "nice" length, since the
matches are rendered by nice*() functions by compadd
2016-10-13 Oliver Kiddle
* 39624: Completion/Unix/Command/_yafc: remove space before
compdef that prevents function being used plus other tweaks
* 39623: Completion/X/Command/_evince: new completion
2016-10-13 Peter Stephenson
* 39625: Martijn Dekker: Src/loop.c, Test/A01grammar.ztst: case
needs to reset lastval if no pattern matched.
2016-10-13 Oliver Kiddle
* 39622: Test/Y03arguments.ztst: add test cases for recent
_arguments fixes, exclusion lists and -A/-S
* 39611: Src/Zle/computil.c: with _arguments sets completion
stopped if one of the rest arguments starts with a dash
* 39533: Matthew Martin: Completion/Unix/Command/_doas:
add the new -L option, sort options and add some exclusions
2016-10-11 Peter Stephenson
* 36108: Src/builtin.c: command -[vV] assumed -p.
2016-10-10 Peter Stephenson
* 39599: Src/loop.c, Test/A01grammar.ztst: Don't reset status
before "case" execution.
2016-10-07 Daniel Shahaf
* 39522: Doc/Zsh/contrib.yo: add-zsh-hook/add-zle-hook-widget:
Promise append semantics.
* 39489: Completion/Unix/Type/_path_files: Interpret -P as
literally, rather than as a pattern.
* 39479 + 39481 minus _path_files hunk (see
39489): Completion/Debian/Command/_debfoster,
Completion/Linux/Command/_modutils,
Completion/Redhat/Command/_rpm, Completion/Unix/Command/_ant,
Completion/Unix/Command/_cpio, Completion/Unix/Command/_cvs,
Completion/Unix/Command/_dbus, Completion/Unix/Command/_git,
Completion/Unix/Command/_graphicsmagick,
Completion/Unix/Command/_growisofs, Completion/Unix/Command/_gs,
Completion/Unix/Command/_gsettings,
Completion/Unix/Command/_head,
Completion/Unix/Command/_imagemagick,
Completion/Unix/Command/_java, Completion/Unix/Command/_lp,
Completion/Unix/Command/_lzop, Completion/Unix/Command/_mount,
Completion/Unix/Command/_perl, Completion/Unix/Command/_php,
Completion/Unix/Command/_rlogin, Completion/Unix/Command/_ssh,
Completion/Unix/Command/_tail, Completion/Unix/Command/_w3m,
Completion/X/Command/_rdesktop, Completion/X/Command/_x_utils,
Completion/Zsh/Command/_fc, Completion/Zsh/Type/_arrays,
Completion/Zsh/Type/_globflags, Completion/Zsh/Type/_ps1234,
Completion/Zsh/Type/_vars: Completion: audit 'compset -P'
calls to use shortest match where applicable, plus random
drive-by tweaks.
2016-10-06 Peter Stephenson
* Julien Cretin: 39579: Src/subst.c: position of \0
with optional quoting in parameter substitution was wrongly
calculated.
* 39578: Test/C03traps.ztst: Test some more ERR_RETURN cases
involving "&&" and functions.
2016-10-05 Peter Stephenson
* 39571: Src/exec.c, Test/C03traps.ztst: "&&" inside a shell
function could mess up ERR_EXIT outside.
* 39568: Src/exec.c, Test/C03traps.ztst: "! "
should suppress ERR_EXIT inside the complex command.
* 39566: README, Doc/Zsh/exec.yo, Src/exec.c,
Test/C04funcdef.ztst: change the behaviour of
command_not_found_handler to make it easier to handle a non-zero
return status naturally.
2016-10-04 Barton E. Schaefer
* 39561: Src/mem.c: missing unqueue_signals() when ZSH_HEAP_DEBUG
2016-10-03 Barton E. Schaefer
* 39550: Src/Zle/zle_main.c: reset signal queue in recursiveedit()
* 39548: Src/signals.c, Src/signals.h: DEBUG for queueing_enabled
* 39547: Src/Zle/zle_main.c: handle zero delta in calc_timeout()
2016-10-03 Peter Stephenson
* 39545: Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c,
Src/mem.c, Src/module.c, Src/params.c, Src/prompt.c,
Src/Zle/computil.c, Src/Zle/zle_main.c: Add some missing
unqueue_signals().
* 39521: Src/exec.c, Src/zsh.h, Test/A01grammar.ztst: Refactor
start of execcmd(). This allows execpline2() easier access to
the state at the start of execuation.
2016-10-02 Peter Stephenson
* 39540: Src/exec.c, Test/C03traps.ztst: "! command" should
suppress ERR_EXIT and ERR_RETURN.
2016-09-30 Daniel Shahaf
* 39495: Doc/Zsh/contrib.yo, Functions/Misc/add-zle-hook-widget:
add-zle-hook-widget: Add end-of-options guard to hook invocation.
* 39480: Completion/Debian/Command/_bug: _reportbug: Complete
absolute filenames, too.
2016-09-30 Barton E. Schaefer
* unposted: Doc/Zsh/builtins.yo: update or remove references to
typeset behavior obsoleted by 35586.
* 39509: Src/builtins.c: in the event the current directory has
been removed, use chasedots semantics for "cd ..".
2016-09-30 Peter Stephenson
* 39519: Src/params.c: setting PM_EXPORT was missing in
USE_SET_UNSET_ENV case.
* 39517: back off 39502, this isn't a robust fix.
* 39498: Src/parmas.c,Src/zsh.h: use PRIVILEGED option to
decide on problematic parameter imports.
2016-09-30 Mikael Magnusson
* 39452 + comment from 39432: Src/Zle/zle_main.c: Call the
pre-redraw hook if there is text in the buffer on init (from
popping or zle-line-init setting $BUFFER)
2016-09-30 Oliver Kiddle
* 39514: Completion/Unix/Command/_git: handle --git-dir
* 39513: Completion/Unix/Command/_doas: new doas completion
* 39464: Completion/Solaris/Command/_fmadm: fix where lack
of $state check caused unwanted filename completion
2016-09-29 Barton E. Schaefer
* 39507: Doc/Zsh/params.yo, Src/exec.c: TMPSUFFIX for =(...)
* 39470: Src/exec.c, Src/utils.c: failure to open a supposedly
unique temp file name should result in an error; band-aid for
signal-related race conditions in temp file name generation
2016-09-29 Peter Stephenson
* 39502: Src/exec.c, Test/A01grammar.ztst: need to fork for
assignment in LHS of pipeline.
* unposted: Src/Zle/compctl.c, Src/Zle/zle_tricky.c: update
findcmd() call here, too.
* 39493: Src/builtin.c, Src/exec.c, Src/subst.c,
Test/A01grammar.ztst: make "command" with multiple options work
better and ensure "command -p" with "-v" or "-V" checks for a
builtin and then using the system default command path.
2016-09-28 Peter Stephenson
* Martijn Dekker: 39463: configure.ac: another way of getting
the default system path.
* 39460: Src/params.c, Src/zsh.h: don't import PS4 if running as
root. Currently no known exploit with this in zsh as xtrace
needs an explicit option setting, so this is just precautionary.
2016-09-27 Oliver Kiddle
* Marko Myllynen: 39453: Completion/Unix/Command/_openstack:
new openstack completions
* 39369 (tweaked cf 39371): Src/Zle/zle_thingy.c: when calling
an internal widget, set bindk because some widgets use it to
determine how they should act
2016-09-27 Barton E. Schaefer
* 39437: Src/exec.c: use list_pipe_pid in assignment for clarity
2016-09-26 Peter Stephenson
* Martijn Dekker: 39448: Src/loop.c: reset REPLY in select when
needed on user action.
2016-09-25 Peter Stephenson
* 39436: Src/exec.c, Src/signals.c: Don't execute builtin if
interrupted; set lastval to 128 + SIGINT on interrupt.
* 39435: Src/exec.c: Don't set gleader of SUBJOB immediately if
SUPERJOB has no processes.
2016-09-24 Daniel Shahaf
* 39423: Completion/Zsh/Command/_zed: Support the '--'
end-of-options mark.
* 39423: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Produce nicer applied-string messages for 'exec'
actions.
2016-09-23 Daniel Shahaf
* 39412: Src/Zle/computil.c: Fix directory completion when
$PWD:h contains parentheses, which are interpreted as globbing
metacharacters.
2016-09-22 Daniel Shahaf
* 39410: Completion/Darwin/Type/_retrieve_mac_apps,
Completion/Unix/Command/_dsh, Completion/Unix/Type/_dates:
Fix unintentional history modifiers.
2016-09-22 Adam Gibbins
* unposted: Completion/Unix/Command/_gpg: Correct typo
2016-09-21 Barton E. Schaefer
* unposted: Completion/Darwin/Type/_retrieve_mac_apps: add
missing final colon in zstyle context lookup
* users/21955: Completion/Base/Completer/_user_expand: add
missing final colon in zstyle context lookup; allow a single
unique match to appear in "expansions" tag
2016-09-21 Oliver Kiddle
* 39370: Completion/Zsh/Command/_typeset,
Completion/Zsh/Command/_zle: complete -w and -K options to zle
following the widget name and numeric base to integer
* 39407: Completion/Linux/Command/_cpupower: cleanup minor
issues; updated through to version 4.8
2016-09-20 Daniel Shahaf
* 39385: Completion/Debian/Command/_bts: Complete more argument
types for 'cache' and 'show'.
* 39383: Src/Zle/compcore.c: compadd: Restrict previous patch
to the case where $PREFIX includes characters both from the -P
prefix and from the (unprefixed) candidate completion word.
* 39372: Src/Zle/compcore.c: compadd: Match -P prefix
all-or-nothing rather than greedily.
2016-09-19 Barton E. Schaefer
* 39381: Src/exec.c: handle save/restore of variable values when
"typeset"-related reserved words are prefixed by an assignment
2016-09-19 Mikael Magnusson
* 39351: Functions/Zle/bracketed-paste-url-magic: Handle magnet
links too, and allow for schemes without //
2016-09-18 Daniel Shahaf
* 39374: Completion/Debian/Command/_apt: Complete package
versions in the 'packagename=' syntax.
2016-09-17 Daniel Shahaf
* 39356 (tweaked, c.f. Bart 39358): Etc/BUGS: Remove fixed items,
add 'compset -q' item from workers/39306.
2016-09-16 Peter Stephenson
* 39362: Src/exec.c: forked zsh in pipeline handling always
starts a new process group, avoiding double STOP.
2016-09-16 Peter Stephenson
* 39359: Src/exec.c, Src/jobs.c, Src/signals.c: Further fix on
top of 39331 for remaining race. Ensure process group of forked
superjob is sane.
* 39331: Src/exec.c, Src/jobs.c, Src/zsh.h: Partially fix problem
occurring when a subjop in the RHS of a pipeline needs to be
picked up by a forked zsh after ^Z when the original superjob
(LHS of pipeline) has already exited. Still race-prone.
2016-09-16 Daniel Shahaf
* unposted: Completion/Unix/Command/_postfix: Correct quoting
in _call_program invocations.
* 39312 (tweaked): Completion/Unix/Command/_postfix: _postfix
(postconf): Complete only applicable parameters for -X and -#.
* 39310/0010: Src/Zle/compmatch.c: internals: match_str:
Simplify expression.
* 39310/0009: Src/Zle/compmatch.c: internals: match_str:
Downscope local variable 't'.
* 39310/0008: Src/Zle/compmatch.c: internals: match_str:
Document several local variables.
* 39310/0007: Src/Zle/compmatch.c: internals: match_str: Rename
and constify local variables 'oll', 'olw'.
* 39310/0006: Src/Zle/compmatch.c: internals: match_str:
Downscope local variable 'bpc'.
* 39310/0005: Src/Zle/compmatch.c: internals: match_str:
Constify some local variables.
* 39310/0004: Src/Zle/compmatch.c: internals: match_str: Document
'savl'.
* 39310/0003: Src/Zle/compmatch.c: internals: match_str: Document
'savw'. Avoid magic number.
* 39310/0002: Src/Zle/compmatch.c: internals: match_str:
Simplify by removing 'zoff'.
* 39310/0001: Src/Zle/compmatch.c: internals: match_str:
Document some local variables. See 39123.
* 39311: Completion/Unix/Command/_tmux: _tmux-capture-pane:
Tweak specifications of -S/-E and description strings.
2016-09-15 Oliver Kiddle
* 39333: Completion/Base/Utility/_call_program,
Doc/Zsh/compsys.yo, Completion/Solaris/Command/_pfexec,
Completion/Unix/Command/_sudo: include name of command used to
gain priviliges in context for command and gain-priviliges styles
* 39332: Doc/Zsh/cond.yo, Src/cond.c, Src/params.c, Src/parse.c,
Completion/Zsh/Context/_condition, Test/C02cond.ztst: support
ksh's [[ -v varname ]] condition for checking if variables are set
* unposted: Src/parse.c: remove duplicated assignment
2016-09-14 Peter Stephenson
* unposted: Doc/Zsh/expn.yo: small documentation tweaks.
* zsh-users/21903: Src/subst.c, Src/zsh.h,
Test/D04parameter.ztst: ${...?...} in interactive shell should
abort to top level, not just current command.
2016-09-14 Marko Myllynen
* unposted: Completion/Unix/Command/_libvirt: Add another
noglob. (Follow-up to 39199)
2016-09-14 Daniel Shahaf
* 39199: Completion/Unix/Command/_libvirt: Support libvirt URLs
that contain a literal question mark under noglob.
* unposted: Completion/Unix/Command/_git: Permit multiple
-c options.
2016-09-13 Oliver Kiddle
* 39307: Completion/Unix/Command/_vim,
Completion/Unix/Command/_xxd: update options up to vim 8
* 39299: Completion/Base/Completer/_external_pwds: better
Freebsd support in _external_pwds using procstat
2016-09-13 Peter Stephenson
* 39292: Config/version.mk, Src/cond.c, Src/parse.c, Src/text.c,
Src/zsh.h, Test/C02cond.ztst, Test/D01prompt.ztst,
Test/E02xtrace.ztst: Distinguish "=" and "==" tests in output to
avoid confusion. Update version number to 5.2-dev-2 (unposted:
update date, too).
* 39305: Src/exec.c: error handling on substitution for here
document was illogical.
2016-09-12 Oliver Kiddle
* 39295: Completion/Unix/Type/_remote_files: allow '--' to
appear in the command line passed as an argument
* 39287: Completion/Unix/Command/_graphicsmagick,
Completion/Unix/Command/_imagemagick, Completion/X/Command/_okular:
add .tif as a valid extension for TIFF files
2016-09-12 Barton E. Schaefer
* unposted: Doc/Zsh/mod_sched.yo: reference use of widgets to
effect editor changes from a sched command
* 39297: Doc/Zsh/compsys.yo: more of 39284, it's painful to add
texi nodes in yodl
2016-09-12 Peter Stephenson
* 39255: Doc/Zsh/cond.yo: = in conditions is not actually going
to be removed.
2016-09-11 Barton E. Schaefer
* 39268: Src/Modules/system.c: "zsystem flock -t 0 ..." tries only
once to flock and immediately returns success or failure
2016-09-11 Vin Shelton
* 39284: Doc/Zsh/compsys.yo: Added Completion System Variables as
a menu item
2016-09-11 Oliver Kiddle
* 39261 (tweaked cf. Daniel: 39275): Doc/Zsh/compsys.yo:
Completion/Base/Core/_main_complete,
Completion/Base/Utility/_call_program,
Completion/Debian/Command/_dchroot,
Completion/Debian/Command/_dchroot-dsa,
Completion/Debian/Command/_schroot,
Completion/Solaris/Command/_pfexec,
Completion/Solaris/Command/_zlogin, Completion/Unix/Command/_dsh,
Completion/Unix/Command/_fsh, Completion/Unix/Command/_libvirt,
Completion/Unix/Command/_mosh, Completion/Unix/Command/_rlogin,
Completion/Unix/Command/_ssh, Completion/Unix/Command/_sudo:
don't unconditionally gain privileges with sudo for completion
2016-09-11 Daniel Shahaf
* 39252: Src/Zle/compcore.c, Src/Zle/compctl.c,
Src/Zle/computil.c, Src/Zle/zle_misc.c, Src/Zle/zle_tricky.c,
Src/builtin.c, Src/subst.c, Src/text.c, Src/utils.c: internal:
quotestring: Drop the 'e' parameter, which no caller uses.
2016-09-09 Daniel Shahaf
* unposted: Test/D04parameter.ztst: Add tests for ${(q)} being
aware of the EQUALS option.
2016-09-08 Daniel Shahaf
* 39236 (plus typo fix): Doc/Zsh/compsys.yo, README: docs: Tweak
_arguments $opt_args documentation added in 39173.
2016-09-08 Peter Stephenson
* 39222: Test/V01zmodload.ztst: test use of module loaded math
functions with zsh/systeme.
2016-09-07 Danek Duvall
* 39194: Completion/Unix/Command/_man: _man (Solaris): Ignore
man-index. Support multiple sections in the -s flag's argument.
2016-09-07 Oliver Kiddle
* unposted: Completion/Unix/Command/_rm: fix to use ;|
style fall-throughs in the case statement
* 39209: Matthew Martin: Completion/BSD/Command/_chflags:
Update options
* 39208: Matthew Martin: Completion/BSD/Command/_chflags:
Update flags
* 39223: Matthew Martin: Completion/BSD/Command/_chflags:
Introduce addflags function to reduce redundancy
* 39193: Completion/Unix/Type/_remote_files: don't pass options
from after -- on to compadd
2016-09-07 Peter Stephenson
* 39185: Src/lex.c: wordbeg only set for ZLE if not alias.
Fixes crash on completion in some obscure alias expansions.
2016-09-07 Peter Stephenson
* Matthew Martin: 39221: Completion/Unix/Command/_rm: update for
BSD.
* 39218: Src/module.c: fix feature enables with math functions
present. This caused parameters to be miscounted.
* 39217: Src/Modules/system.mdd: adapt zsh.mdd to avoid problems
with GCC preprocessor in error names.
2016-09-06 Barton E. Schaefer
* m0viefreak: 38153 (cf. 39135): Completion/Base/Utility/_arguments:
change the way long options are examined for "=" signs to more
accurately identify options that take arguments
2016-09-06 Daniel Shahaf
* 39174: Completion/Unix/Command/_ssh: Fix completion of
ProxyCommand option.
* 39173: Doc/Zsh/compsys.yo, README, Src/Zle/computil.c:
_arguments: Escape colons and backslashes in $opt_args
unambiguously.
* 39171: Completion/Unix/Command/_libvirt: Apply
$opt_args-unescaping.
* unposted: Completion/Unix/Command/_libvirt: Escape $words
elements to avoid their interpretation as a pattern against
$_cache_virsh_cmds.
2016-09-06 Marko Myllynen
* unposted: Completion/Unix/Command/_libvirt: Fix leakage of
$word (after 39179).
2016-09-06 Peter Stephenson
* 39181: Src/builtin.c, Src/zsh.h, Src/Zle/complete.c: Add
PM_SINGLE for single instance and use for compstate.
2016-09-06 Marko Myllynen
* 39179 (plus tweak): Completion/Unix/Command/_libvirt: More
_libvirt (virsh) completion tweaks
2016-09-05 Peter Stephenson
* Teubel György: 39167: Src/init.c, Doc/Zsh/params.yo: Make $ENV
more like POSIX.
2016-09-04 Daniel Shahaf
* unposted: Src/Zle/comp.h, Src/Zle/complete.c: internals:
Document zshcompwid(1) parameter implementations.
2016-09-03 Oliver Kiddle
* Marko Myllynen: 39158: Completion/Unix/Command/_libvirt:
cleanup following review comments of function
* 39165: Completion/Unix/Command/_dmidecode,
Completion/Unix/Command/_ant, Completion/Linux/Command/_ss,
Completion/Unix/Command/_espeak, Completion/Unix/Command/_git,
Completion/Unix/Command/_prove, Completion/Unix/Command/_tin,
Completion/Unix/Command/_patch, Completion/Unix/Command/_look,
Completion/Unix/Command/_md5sum: update options
2016-09-02 Daniel Shahaf
* unposted: Completion/Unix/Command/_postfix: _postfix_queue_id:
Unbreak completion of short queue ids of held/active messages,
broken in 39108.
* 39154: Completion/Unix/Type/_files: -/ with list-dirs-first
resulted in a bad pattern, thus aborting completion partway.
2016-08-31 Oliver Kiddle
* Marko Myllynen: 39118: Completion/Unix/Command/_libvirt:
(almost) complete virsh completions
2016-08-31 Peter Stephenson
* 39141: Test/D04parameter.ztst: use zsh in SHLVL test to remove
ambiguous behaviour of sh.
* Stephane: 39125: Src/exec.c, Test/D04parameter.ztst: More care
decrementing SHLVL on exec; not needed in subshells.
2016-08-31 Daniel Shahaf
* 39122: Completion/Unix/Command/_git: __git_recent_branches:
Silence warning on an edge case.
2016-08-30 Barton E. Schaefer
* 39131: Functions/Misc/add-zle-hook-widget: return on error
needs to be at the outer scope.
2016-08-30 Daniel Shahaf
* 39108 (tweaked): Completion/Unix/Command/_postfix: Support
$enable_long_queue_ids.
* 39110: Completion/Unix/Command/_postfix: Complete 'postconf'.
* 39107: Completion/Unix/Command/_postfix: Complete
'postqueue'. Also minor tweaks to 'postsuper'.
* 39109: Completion/Unix/Command/_postfix: Use mailq to obtain
queue id's.
2016-08-29 Mikael Magnusson
* 39112: Completion/X/Command/_x_utils: Use state_descr
2016-08-28 Barton E. Schaefer
* 39115: Src/subst.c, Test/D04parameter.ztst: repair forced
joining when (@) and (j) are used together (broken by 39019)
2016-08-27 Daniel Shahaf
* 39105: Completion/Unix/Type/_absolute_command_paths:
_hashed_absolute_command_paths: Make the display string the
basename.
* 39103: Completion/Unix/Type/_absolute_command_paths:
_typed-in_absolute_command_paths: Better handle non-empty
arguments that don't start with a slash.
* 39070: Completion/Unix/Command/_mount,
Completion/Unix/Type/_canonical_paths: umount: Complete /f/b
→ /foo/bar (for absolute path arguments only, for now)
2016-08-26 Barton E. Schaefer
* 39104: Src/exec.c: do not hash relative paths in findcmd()
2016-08-25 Daniel Shahaf
* 39102: Completion/Unix/Command/_git: __git_recent_branches:
Optimise.
2016-08-24 Daniel Shahaf
* 39094: Completion/Unix/Command/_git: _git-config: When an
option is unknown, complete its value to the set value.
2016-08-23 Jun-ichi Takimoto
* 39087: Src/builtin.c, Src/utils.c: fix 'conditionally
uninitialized' variables
* 39086: Src/mem.c: declare file local variables as 'static'
2016-08-22 Oliver Kiddle
* unposted (c.f. Mikael: 39078): Completion/Unix/Command/_git:
fix for git blame terms
2016-08-22 Daniel Shahaf
* unposted: Completion/Unix/Command/_git: _git-config:
sendemail.smtpserver: Correct tags.
* 39046 + 39061: Completion/Base/Completer/_external_pwds,
Completion/Zsh/Type/_history_modifiers, Doc/Zsh/contrib.yo,
Doc/Zsh/expn.yo, Functions/MIME/zsh-mime-handler,
Functions/VCS_Info/VCS_INFO_quilt,
Functions/Zle/expand-absolute-path, NEWS, Src/params.c,
Src/subst.c, Src/utils.c, Test/D02glob.ztst: New :P history
modifier.
2016-08-20 Jun-ichi Takimoto
* 39064: configure.ac, Src/Modules/mathfuc.c: use scalbn() instead
of scalb()
2016-08-20 Daniel Shahaf
* 39074: Completion/Unix/Command/_ip: _ip-neighbour: Fix typo in
'lladdr'.
2016-08-19 Oliver Kiddle
* 39072: Completion/Unix/Command/_git: minor tweaks
* 39071: Completion/Solaris/Command/_beadm,
Completion/Solaris/Command/_svcs, Completion/Unix/Command/_sort
Completion/Solaris/Command/_coreadm,
Completion/Solaris/Command/_dladm,
Completion/Solaris/Command/_dumpadm,
Completion/Solaris/Command/_flowadm,
Completion/Solaris/Command/_fmadm: update for Solaris 11u3
* 39067: Completion/Unix/Type/_diff_options:
Completion/Linux/Command/_gpasswd, Completion/Linux/Command/_ss,
Completion/Redhat/Command/_scl, Completion/Unix/Command/_arping,
Completion/Unix/Command/_augeas, Completion/Unix/Command/_dbus,
Completion/Unix/Command/_grep, Completion/Unix/Command/_less,
Completion/Unix/Command/_make, Completion/Unix/Command/_mutt,
Completion/Unix/Command/_rsync, Completion/Unix/Command/_wget,
Completion/Unix/Command/_sed, Completion/Unix/Command/_sort,
Completion/Unix/Command/_ssh, Completion/Unix/Command/_tmux,
Completion/Unix/Command/_tree, Completion/Unix/Command/_uniq,
Completion/Unix/Command/_user_admin,
Completion/Unix/Command/_xargs, Completion/Unix/Command/_zip,
Completion/Unix/Command/_readelf: update options
2016-08-18 Daniel Shahaf
* unposted: Completion/Unix/Type/_canonical_paths: Port docstring
changes from 39044.
* 39044 (in part, see thread): Doc/Zsh/compsys.yo: Document
_canonical_paths in the manual, too.
2016-08-15 Peter Stephenson
* 39039: Doc/Zsh/zle.yo: fix documentation for transpose-words.
2016-08-13 Oliver Kiddle
* 39036: Completion/Unix/Command/_git: update up to git 2.9.2
* 39026: Src/Zle/computil.c: pattern specified with _arguments'
-A option shouldn't be checked against words after the cursor
2016-08-12 Barton E. Schaefer
* 39035: Src/subst.c, Test/D04parameter.ztst: ${(A)name=word}
should expand as an array even when there is only one element.
2016-08-12 Peter Stephenson