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: 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
* 39031: Src/Zle/zle_word.c: Ensure variables are initialised in
transpose-words.
* 39029: Doc/Zsh/zle.yo: document previous change.
* Han Pingtian: 38983: Src/Zle/zle_word.c: make transpose-words
handle numeric arguments sensibly.
2016-08-12 Barton E. Schaefer
* 39028: Src/subst.c, Test/D04parameter.ztst: more join/split
cases fixed and tested.
2016-08-10 Barton E. Schaefer
* 39019 (cf. PWS 39013): Src/subst.c, Test/D04parameter.ztst:
fix SHWORDSPLIT regression introduced by workers/29313; add
test cases for more join/split combinations.
2016-08-10 Mikael Magnusson
* 39014: Src/zsh_system.h, configure.ac: Use special OpenBSD
interface to get correct rand() behavior
2016-08-06 Barton E. Schaefer
* unposted: Src/Zle/zle_thingy.c: fix typo in comment
* unposted: Etc/zsh-development-guide: fix formatting in module
discussion; add mention of widgets and keymaps for modules.
2016-08-05 Daniel Shahaf
* workers/38995 (in part): Src/Zle/computil.c: compfiles:
Add reverse-engineered documentation breadcrumbs.
* 38996: Completion/Unix/Command/_man: Support _correct_word.
* 38994: Completion/Unix/Command/_man: Fix two bugs when
completing manpage filenames in separate-sections mode.
* 38993: Completion/Unix/Command/_man: Drop (b): it's incorrect
when $sect contains '|'.
* 38991: Src/exec.c, Test/C04funcdef.ztst: Make 'whence -v
autoloaded-function' shows the defining filename.
* 38990: Completion/Debian/Type/_debbugs_bugnumber: Track bts's
data dir migration.
2016-08-04 Jun-ichi Takimoto
* unposted: Doc/Zsh/zle.yo: fix format
2016-08-03 Oliver Kiddle
* 38989: Completion/BSD/Command/_freebsd-update,
Completion/BSD/Command/_sockstat, Completion/Unix/Command/_cp,
Completion/Unix/Command/_getent: minor completion updates for BSD
* 38986: Completion/Unix/Command/_gsettings: new completion
2016-08-01 Daniel Shahaf
* 38981: Completion/Unix/Command/_man: Followup to 37634:
unbreak OpenBSD 'man 3p' and Linux $MANSECT.
2016-08-01 Peter Stephenson
* Andy Spencer: 38982: Completion/Linux/Command/_cpupower: move
to correct folder.
* Andy Spencer: 38976: Completion/Linux/_cpupower: new
completion.
2016-08-01 Daniel Shahaf
* 38971: Src/Modules/terminfo.c, Src/Modules/zutil.c,
Src/builtin.c, Src/params.c, Src/prompt.c, Src/utils.c: Start
using the new arrlen_ge() / arrlen_le() helpers.
* 38973: Src/params.c, Src/subst.c, Src/utils.c: Optimize
indexing array parameters.
* 38964: Completion/Unix/Command/_git: _git-config: Complete
option names present in the config file.
* 38963: Completion/Unix/Command/_git: _git-config: Run
gettable-options earlier and in all codepaths.
* 38961: Completion/Unix/Command/_git: _git-config: No functional
change: rename $git_options_static to $git_options in preparation
for the after-next commit.
2016-07-31 Daniel Shahaf
* unposted: Completion/Unix/Command/_git: Clean up superfluous
and missing backslashes.
* 38967: Completion/Unix/Type/_hosts: Don't complete wildcard
entries from ~/.ssh/known_hosts.
* 38966: Completion/Unix/Command/_subversion: _svnadmin: Complete
positional arguments for 'hotcopy', 'setlog', 'setrevprop',
'delrevprop'.
* 38965: Completion/Unix/Command/_subversion: _svnadmin: Complete
'freeze' as a precommand.
* 38962: Completion/Unix/Command/_git: _git-config: Document
more line noise.
* 38959: Doc/Zsh/compsys.yo: Document 38956 (_widgets).
2016-07-29 Daniel Shahaf
* unposted: Completion/Unix/Command/_subversion: _svnadmin:
Tweak state description.
2016-07-28 Daniel Shahaf
* 38927: Src/Zle/zle_main.c: zle-line-pre-redraw: Set $WIDGET
like other special widgets do.
* unposted: Functions/Misc/add-zle-hook-widget,
Functions/Misc/add-zsh-hook: Avoid $0 for POSIX_ARGZERO
compatibility.
2016-07-28 Oliver Kiddle
* 38957: Functions/Zle/select-word-match,
Completion/Zsh/Command/_zstyle, Doc/Zsh/contrib.yo:
make use of updates to match-words-by-style and better support
completion of word-style styles for zstyle
* 38956: Completion/Zsh/Command/_bindkey,
Completion/Zsh/Command/_vared, Completion/Zsh/Command/_zle,
Completion/Zsh/Function/_add-zle-hook-widget,
Completion/Zsh/Type/_widgets: factor out zle widget completion
into its own function
* unposted: Functions/Zle/vi-pipe: fix for visual mode
2016-07-28 Peter Stephenson
* 38953: Doc/Zsh/contrib.yo,
Functions/Zle/delete-whole-word-match,
Functions/Zle/match-words-by-style: Fix some problems with
match-words-by-style and add keyword retrieval of matched data.
* users/21793: README, Src/glob.c: remove ancient undocumented
pre-"f" glob qualifer feature that unqualified integers were
treated as octal file mode.
2016-07-27 Daniel Shahaf
* unposted: Functions/Misc/add-zle-hook-widget: Prefix function's
name to its error messages.
* unposted (after 38939): Completion/Unix/Command/_git:
_git-rebase: Unbreak.
* 38914 (tweaked): Completion/Unix/Command/_pkg-config: Add
options, complete *.pc files for positional arguments.
2016-07-26 Peter Stephenson
* 38945: Doc/Zsh/expn.yo: additional notes on :a behaviour.
2016-07-24 Oliver Kiddle
* 38943: Completion/Unix/Command/_texinfo: update options
and improve completion of Info files, nodes and menu items
* 38939: Completion/Unix/Command/_git: add missing options,
in particular those for GPG signing a push
* 38936: Functions/Zle/vi-pipe: fix for option compatibility
* 38929: Doc/Zsh/contrib.yo, Functions/Zle/select-word-match:
new vim style text object using match-words-by-style mechanism
* 38935: Matthew Martin: Completion/Unix/Command/_tcpdump:
update for Free and Open BSD
2016-07-23 Daniel Shahaf
* unposted: Completion/Unix/Command/_git: _git-grep: Stop
leaking the parameter $i.
* unposted: Completion/Debian/Type/_deb_packages: Minor
optimization.
* 38913: Completion/Unix/Command/_pkg-config: Complete variables
for --variable.
* 38911: Doc/Zsh/compsys.yo: _arguments: Clarify documentation of
'-s -w' switch
2016-07-23 Barton E. Schaefer
* 38923 (plus expanded comment): Src/jobs.c: zwaitjob() continues
waiting for children that may have ignored the interrupt signal,
even if the current shell has been interrupted.
2016-07-22 Daniel Shahaf
* users/21779: Doc/Zsh/expn.yo: Clarify documentation of the
':a' word modifier.
* 38890: Completion/Zsh/Function/_add-zle-hook-widget,
Completion/Zsh/Function/_add-zsh-hook: _add-zle-hook-widget:
New completion.
2016-07-21 Oliver Kiddle
* 38904: Completion/Base/Core/_normal,
Completion/Unix/Command/_iostat, Completion/Unix/Command/_top:
fix return status in _normal and functions erroneously using
it for default completion
* 38894: Marko Myllynen: Completion/Unix/Command/_libvirt:
completion for virt-admin and libvirt client/server IDs/names
2016-07-21 Felipe Sateler
* 38901: Completion/Debian/Command/_schroot: Add -r/--run-session
2016-07-20 Peter Stephenson
* 38853: Src/glob.c: use strchr().
2016-07-20 Daniel Shahaf
* users/21777: Doc/Zsh/expn.yo: Clarify documentation of the
':A' word modifier.
2016-07-19 Jun-ichi Takimoto
* 38862: Src/Modules/datetime.c: strptime(3) requires _XOPEN_SOURCE
on Cygwin (newlib-2.4 or later)
2016-07-18 Peter Stephenson
* 38879: Src/glob.c, Test/D07multibyte.ztst: Ensure file names
are sorted unmetafied. Test using Polish UTF-8 collation
sequence.
2016-07-18 Mikael Magnusson
* 38785 (plus tweak): Completion/Zsh/Command/_print: add -v
2016-07-17 Barton E. Schaefer
* unposted: Functions/Misc/add-zle-hook-widget: Move from Zle/.
* 38866: Doc/Zsh/contrib.yo: update add-zle-hook-widget for 38850.
* 38866 (+ tweak 38872): Functions/Zle/add-zle-hook-widget: fix
edge case handling, wrap in anonymous function for kshautoload
management.
2016-07-17 Daniel Shahaf
* users/21752: Doc/Zsh/mod_zleparameter.yo: Extend
zsh/zleparameter's $widgets' parameter's documentation.
* unposted (cf. users/21737):: Completion/Unix/Command/_git:
_git-subtree: Record technical debt in comment.
* users/21750 (after users/21551): Completion/Unix/Command/_git:
_git-subtree: Tweak -m,-P completions
2016-07-17 Oliver Kiddle
* 38868: Completion/BSD/Command/_freebsd-update,
Completion/BSD/Command/_bsdconfig, Completion/BSD/Command/_fetch,
Completion/BSD/Command/_fstat, Completion/BSD/Command/_gstat,
Completion/BSD/Command/_jexec, Completion/BSD/Command/_kld,
Completion/BSD/Command/_procstat, Completion/BSD/Command/_sysrc,
Completion/BSD/Command/_systat, Completion/Unix/Command/_cat,
Completion/Unix/Command/_sysctl, Completion/Unix/Command/_vmstat,
Completion/Unix/Command/_zfs, Completion/Unix/Type/_zfs_dataset:
update completions for new options on FreeBSD
* 38867: Completion/Linux/Command/_ltrace,
Completion/Linux/Command/_strace, Completion/Unix/Command/_truss,
Completion/Unix/Type/_sys_calls: update strace completion
factoring out system calls and new truss and ltrace completions
* Marko Myllynen: 38837 (tweaked c.f. 38826):
Completion/Unix/Command/_libvirt: new virsh completion
* 38845: Src/Zle/zle_main.c, Doc/Zsh/zle.yo: reset region_active
before entering zle - it was on exit but before zle-line-finish
Also reword documentation on region to better cover vi mode
2016-07-13 Barton E. Schaefer
* 38850: Functions/Zle/add-zle-hook-widget: Simplify indexing
scheme to store hooks strictly in the order they are added;
better handling of edge cases and autoloading/sourcing file.
2016-07-13 Eric Cook
* 38833: Completion/Unix/Command/_iostat
separate iostat completion from Completion/Linux/Command/_sysstat
2016-07-08 Oliver Kiddle
* 38812: Completion/BSD/Command/_chflags,
Completion/Unix/Command/_dmesg, Completion/Unix/Command/_env,
Completion/Unix/Command/_ln, Completion/Unix/Command/_xmlsoft,
Completion/Unix/Command/_ls, Completion/Unix/Command/_service,
Completion/Unix/Command/_touch, Completion/Unix/Command/_script,
Completion/X/Command/_x_utils, Completion/Zsh/Command/_vared:
a few new completions and update some command options
* 38810: Src/Zle/textobjects.c: fix cursor positioning
and repeated invocations when widgets used from emacs mode
* 38809: Src/zsh.h, Src/prompt.c, Src/Zle/zle_refresh.c:
fix tracking of colour attributes and restore them when
turning bold off
* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo,
Doc/Zsh/options.yo, Doc/Zsh/zle.yo: fix duplicated words
2016-07-08 Peter Stephenson
* 38796: Functions/Zle/match-words-by-style: fix subword
matching on last character of subword.
2016-07-05 Oliver Kiddle
* arno: 38780: Completion/X/Command/_setxkbmap: include
variants containing non alphanumeric symbols in completion
* Jordan Klassen: users/21551 (tweaked per users/21560):
Completion/Unix/Command/_git: new git subtree completion
2016-07-05 Daniel Shahaf
* 38728: Test/D02glob.ztst: Tests: Add tests for the ':a' and
':A' modifiers.
2016-07-04 Peter Stephenson
* 38783: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: tweaks for
variable and stack interation in RPN mode.
2016-06-29 Oliver Kiddle
* 38770: Src/Zle/zle_keymap.c, Src/Zle/zle_vi.c, Doc/Zsh/zle.yo,
Doc/Zsh/contrib.yo, Functions/Zle/vi-pipe: vi upper/lowercase
widgets and shell widget example that reads a vi movement
* 38752: Src/builtin.c: add comments to explain use of stdout
instead of stderr for the which builtin
2016-06-27 Daniel Shahaf
* 38760: Completion/Unix/Command/_git: _git-config: Stop trying
to execute the empty string command name upon completing values
for an unknown option.
2016-06-25 Daniel Shahaf
* unposted: Completion/Unix/Command/_git: _git-config: Document
some line noise.
* unposted: Completion/Unix/Command/_git: _git-config: Fix
syntax error in 'tag.sort' completion.
* 38652: Test/ztst.zsh: test harness: Emit unified diffs instead
of context diffs
2016-06-22 Oliver Kiddle
* 38749: Functions/Zle/surround, Functions/Zle/select-bracketed:
fixes for case at start of a line and for ksharrays
2016-06-22 Peter Stephenson
* unposted: Src/lex.c: remove unused and no longer defined flag
from experiments for previous fix.
* 38746: Src/lex.c, Test/A02alias.ztst: Delay marking
a suffix alias as free until the last minute.
2016-06-22 Oliver Kiddle
* 38714: Src/Zle/complete.c, Doc/Zsh/compsys.yo,
Doc/Zsh/compwid.yo: add x: syntax to match specs to make it
possible to disable match specs hardcoded in completion functions
* 38735: Completion/Unix/Command/_find,
Completion/Zsh/Type/_globquals: support verbose style to allow
clearer but less compact descriptions for time specifiers
* 38733: Completion/X/Command/_rdesktop: completion for xfreerdp
2016-06-21 Peter Stephenson
* 38737: Functions/Misc/zcalc, Doc/Zsh/contrib.yo: document some
zcalc variable usage and make other variables start with "_".
* 38736: Completion/Zsh/Type/_module_math_func,
Completion/Zsh/Type/_user_math_func, Doc/Zsh/contrib.yo,
Functions/Misc/zcalc: various RPN mode enhancments for zcalc.
* 38734: Src/loop.c, Test/A01grammar.ztst: fix final case
clauses terminating with ;&.
* 38692: Doc/Zsh/restricted.yo, Src/params.c: IFS can't be
changed in restricted mode.
2016-06-19 Barton E. Schaefer
* 38715: Doc/Zsh/contrib.yo, Functions/Zle/add-zle-hook-widget:
assorted ksharrays fixes; assign an index to any hook that is
added without one, to preserve append ordering
2016-06-18 Barton E. Schaefer
* unposted: Functions/Misc/zed: localoptions noksharrays
* unposted: Doc/Zsh/options.yo: when ksharrays is set, braces are
required for all parameter expansions with colon-modifiers
2016-06-18 Oliver Kiddle
* 38713: Completion/Unix/Type/_dates: don't add calendar matches
when not immediately entering menu selection
* 38707: Completion/Zsh/Type/_globquals,
Completion/Unix/Type/_files, Completion/Unix/Type/_path_files:
strip suffix for glob qualifier completion
* 38703: Completion/Unix/Command/_su: support su options on macOS
2016-06-16 Peter Stephenson
* 38693: Doc/Zsh/contrib.yo, Functions/Misc/zcalc,
Functions/Zle/zcalc-auto-insert: Add RPN mode to zcalc.
* unposted: Doc/Zsh/params.yo: fix parentheses for getrusage().
2016-06-16 Jun-ichi Takimoto
* 38684: Doc/Zsh/contrib.yo: fix format
2016-06-14 Eric Cook
* 38676: Marko Myllynen: Completion/Linux/Command/_pidof:
Completion for pidof(1)
* 38680: Marko Myllynen: Completion/Unix/Command/_localedef:
Completion for localedef(1)
2016-06-14 Doug Kearns
* unposted: Completion/Unix/Command/_cvs: remove unused parameter
2016-06-13 Peter Stephenson
* users/21632: Doc/Zsh/params.yo, Src/jobs.c: REPORTMEMORY
parameter gives minimum size to trigger usage report.
2016-06-13 Daniel Shahaf
* 38653 + 38657: Doc/Zsh/builtins.yo, Src/exec.c,
Test/E02xtrace.ztst: 'functions -T' tracing: recurse into
anonymous functions.
* 38651: Completion/Unix/Command/_git: Escape parameter arguments
to _call_program.
* 38665: Completion/Unix/Command/_git: config option completion:
Quote properly.
2016-06-12 Barton E. Schaefer
* 38670: Doc/Zsh/contrib.yo, Functions/Zle/add-zle-hook-widget:
New function for managing ZLE special widgets, modeled after
Functions/Misc/add-zsh-hook.
2016-06-09 Oliver Kiddle
* 38579: Functions/Zle/bracketed-paste-magic: simplify saving
and restoring of state
* 38641: Completion/Base/Utility/_values: allow for values which
resemble compadd options
* 38639: Completion/Unix/Command/_su: fix username completion
after -, update options and get user shell with getent
2016-06-07 Daniel Shahaf
* 38624: Completion/Unix/Command/_git: Optimize the last commit's
__git_recent_branches__names as suggested by Matthew.
* 38592 (plus tweak): Completion/Unix/Command/_git: New recent
branches completion, unused. (Joint with Nils Luxton)
2016-06-07 Barton E. Schaefer
* 38632: Completion/Linux/Command/_pkgtool: remove trailing space
on #compdef line for compinit parsing
* 38630: Src/builtin.c: fix infinite loop of "hash ="
2016-06-06 Daniel Shahaf
* 38610: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Extract a patch subject, 2.0.
* 38609: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt:
Factor out a helper function. No functional change.
2016-06-05 Barton E. Schaefer
* 38622: Src/jobs.c: consistent handling of "--" in "kill" builtin
2016-06-04 Eric Cook
* 38547: Completion/compdump: only autoload functions
when they exist in fpath.
2016-06-04 Daniel Shahaf
* 38593: Doc/Zsh/compsys.yo: _describe: Make documentation
more greppable.
2016-06-04 Barton E. Schaefer
* unposted (cf. 38612): Src/params.c: remove overeager DPUTS()
* 38599: Src/subst.c: skip the "no such named directory" warning
when NO_EXEC is in effect
2016-06-03 Barton E. Schaefer
* users/21609: Completion/Unix/Type/_path_files: do not treat
tilde-expansions as quoted when inside command substitutions
2016-06-03 Marko Myllynen
* 38587: Completion/Linux/Command/_iconvconfig: Fix iconvconfig
completion --output handling
2016-06-03 Daniel Shahaf
* unposted: Src/subst.c: internal: Document modify().
2016-06-03 Peter Stephenson
* 38586: Src/Modules/parameter.c, Test/D07multibyte.ztst:
Don't unmetafy values for $functions when passing back
within parameter framework.
2016-06-03 Daniel Shahaf
* 38577: Completion/Unix/Type/_signals: Don't complete SIGEXIT
from _kill.
* 38576: Completion/Unix/Command/_git: Also detect
_git-${thirdparty} functions in $fpath that are symlinks.
2016-06-02 Eric Cook
* 38567: Marko Myllynen: Completion/Unix/Command/_locale:
completion for locale(1)
* 38440: Marko Myllynen: Completion/Linux/Command/_iconvconfig:
completion for linux's iconvconfig(8)
2016-06-02 Oliver Kiddle
* 38540: Src/Zle/zle_utils.c: fix undo problem by not moving
the current change when only undoing a history line change
2016-06-02 Peter Stephenson
* users/21603: Src/utils.c: Don't do second attempt at read/poll
from terminal if interrupted.
2016-05-22 Peter Stephenson
* 38515: Matthew Martin: Completion/Zsh/Context/_subscript:
missing -- after print and optimised array add.
* 38514: Matthew Martin: Completion/Linux/Command/_vserver:
remove unnecessary ls.
* 38513: Matthew Martin: Src/Builtins/sched.c: cast time to long
long where possible.
2015-05-12 Clint Adams
* 38482: Completion/Debian/Command/_apt: complete available packages
for apt list.
2016-05-10 Barton E. Schaefer
* 38468: Src/lex.c: wb,we values in gotword() needed assignment in
additional case to avoid core dump (bug introduced by 38248)
* 38463: Src/Zle/zle_keymap.c: use immortal widgets in .safe keymap
2016-05-10 Daniel Shahaf
* unposted: Functions/Math/.distfiles, Functions/Math/zmathfunc:
Commit forgotten part of users/21256.
* 38453: Completion/Debian/Command/_apt: Complete
${package}/${release} for 'source' and 'build-dep', too.
* 38452: Completion/Debian/Command/_apt: Complete releases by
codename ('jessie', 'sid', etc).
* 38451: Completion/Debian/Command/_apt: Complete 'apt-get
download'.
2016-03-10 Jun-ichi Takimoto
* Marko Myllynen: 38458: Doc/Zsh/compsys.yo: mention the option
-i of _multi_parts
2016-05-09 Barton E. Schaefer
* Jun T.: 38445 (+tweak): Test/C02cond.ztst: subsequent tests rely
on a file touched by the -N test, so it must always be touched even
when the filesystem is noatime
* 38432: Src/zsh_system.h: avoid nonstandard setenv() on __APPLE__
2016-05-09 Barton E. Schaefer
* unposted: Functions/Zle/bracketed-paste-magic: update documentary
comments to remove references to self-insert-unmeta.
2016-05-09 Frank Terbeck
* 38422: Completion/Unix/Type/_baudrate,
Completion/Unix/Type/_baudrates: _baudrate -> _baudrates
* 38426: Completion/Unix/Type/_baudrates: _baudrates: Use 2 space
indentation
* 38424: Completion/BSD/Command/_cu, Completion/Unix/Command/_gdb,
Completion/Unix/Command/_joe, Completion/Unix/Command/_picocom,
Completion/Unix/Command/_screen: Use _baudrates helper instead of
_baudrate
* 38421: Completion/Unix/Type/_baudrates: _baudrates: Fit better
into the general completion framework
* 38425: Completion/BSD/Command/_cu: _cu: Remove old -d option of
_baudrates
* 38420: Completion/Unix/Type/_baudrates: _baudrates: Make style
lookups fit better with the rest of compsys
2016-05-06 Daniel Shahaf
* 38401: Completion/Debian/Type/_deb_packages: New completion
for source packages.
2016-05-06 Axel Beckert
* unposted: Doc/Zsh/builtins.yo: Fix typo.
2016-05-04 Daniel Shahaf
* 38402: Completion/Zsh/Command/_precommand: Complete
'eatmydata'.
* 38399: Completion/Debian/Command/_bts,
Completion/Debian/Command/_bug,
Completion/Debian/Type/_debbugs_bugnumber: _bts: Complete
debbugs bug numbers from `bts cache`.
2016-05-03 Russell Currey
* 38393: Completion/Unix/Command/_git: Fix typo in completion of
'--minimal'
2016-05-02 Barton E. Schaefer
* 38375 (tweaked per 38384): Test/C02cond.ztst: try harder to
detect noatime filesystems.
2016-05-02 Frank Terbeck
* 38388: Completion/BSD/Command/_cu, Completion/Unix/Command/_gdb,
Completion/Unix/Command/_joe, Completion/Unix/Command/_picocom,
Completion/Unix/Command/_screen, Completion/Unix/Type/_baudrate:
Refactor baud rate completion
2016-05-01 Daniel Shahaf
* unposted: Completion/Debian/Command/_bug: _querybts: Fix
positional arguments' description.
* unposted: Completion/Zsh/Command/_compadd: Fix typo.
2016-05-01 Peter Stephenson
* unposted: Doc/Zsh/redirect.yo: typo.
2016-05-01 Frank Terbeck
* 38381: Completion/Unix/Command/_picocom: Add completion for
picocom utility
2016-05-01 Daniel Shahaf
* 38369: Completion/Unix/Command/_git: Complete fetchy refspecs
correctly.
* 38368: Completion/Unix/Command/_git: Bifurcate __git_ref_specs.
* 38367: Completion/Unix/Command/_git: Fix an apparent typo
in __git_heads().
* 38366: Completion/Unix/Command/_git: Offer alternatives
properly.
* 38365: Completion/Unix/Command/_git: _git-bundle: Complete
required file argument to 'git bundle' correctly.
2016-04-29 Barton E. Schaefer
* unposted: Src/builtin.c: silence spurious compiler warning
* 38358: Test/C02cond.ztst: "fgrep --" for noatime check in case
a mount point is named "-" as in Fedora mock environment
2016-04-29 Peter Stephenson
* Sebastian: 38356: Src/Modules/curses.c, Doc/Zsh/mod_curses.yo:
allow integers as colours in curses.
* Sebastian: 38354: Src/Modules/curses.c: alter internal return
code so as not to mask curses error code.
2016-04-26 Barton E. Schaefer
* 38350 (cf. Glenn Smith: 38348): Src/exec.c: Remove-all warning
should warn about the root directory as well
2016-04-23 Daniel Shahaf
* 38316: Completion/Unix/Command/_git: _git-rebase: Complete
any committish for the second argument
2016-04-23 m0viefreak
* 38291: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: Change names of
ISEARCH_* parameters to ISEARCHMATCH_*
2016-04-23 Barton E. Schaefer
* Mikael Berthe: 38307: Src/Modules/pcre.c: PCRE segfault when
parenthesized group matches nothing (cf. 37515)
* unposted: Test/V07pcre.ztst: regression test for 38307
2016-04-22 Barton E. Schaefer
* 38306: Src/builtin.c: in printf formats, treat a missing
precision as zero rather than as unlimited
2016-04-15 Barton E. Schaefer
* 38289: Completion/compinit: "builtin enable" in $_comp_setup
to avoid accidentally invoking external command of the same name
2016-04-14 Oliver Kiddle
* Han Pingtian: 38219: Completion/Zsh/Context/_subscript:
remove redundant left square bracket
* 38287: Src/Zle/zle_vi.c: fix position for the end of a visual
selection range for the cursor on an empty last line in the buffer
* 38286: Src/Zle/zle_misc.c: cursor correction following
yank-pop is only applicable to vi command mode
* Christian Neukirchen: 37847: Completion/Unix/Command/_du:
update du arguments up to GNU du 8.25
2016-04-10 Barton E. Schaefer
* m0viefreak: 38264: Doc/Zsh/zle.yo: improve doc for 38145
2016-04-09 Barton E. Schaefer
* unposted: Completion/Base/Widget/_complete_help: capture the
fallback to compctl in case there is one defined
2016-04-09 Daniel Shahaf
* 38255: Completion/Unix/Command/_git: Fix argument pastedness.
2016-04-07 Barton E. Schaefer
* 38248: Src/lex.c, Src/Zle/zle_tricky.c: fix word position
calculation when completing on or just before a redirection
operator; the completion result is still in need of some repair
2016-04-03 Barton E. Schaefer
* 38229: Src/Zle/zle_tricky.c: fix cursor placement calculation
when completing in empty double quotes
2016-03-26 Barton E. Schaefer
* Dmitry Marakasov: 38162: accept G for gigabytes in limit command
2016-03-21 Daniel Shahaf
* 38182: Completion/Unix/Command/_git: Invoke reflog completion
from the 'complete commit objects' codepath.
* 38181: Completion/Unix/Command/_git: _git reflog: Complete
'@{N}' instead of 'HEAD@{N}'.
* 38180: Completion/Unix/Command/_git: Improve reflog completion.
2016-03-21 Peter Stephenson
* m0viefreak: 38145: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: Make
isearch and completion suffix variables visible as parameters.
2016-03-20 Barton E. Schaefer
* 38191: Src/Zle/zle_main.c: in reexpandprompt(), do not free global
pointers until after promptexpand() in case they are referenced from
signal handlers, and do additional re-entrancy checks in case of
window size changes during promptexpand().
2016-03-20 Barton E. Schaefer
* 38188: Src/pattern.c: signal re-entrancy, maybe
2016-03-19 Mikael Magnusson
* 38186: Completion/Unix/Command/_adb: fix remote file completion,
various fixes, restore 35531 again with fix from 38185
* 38187: Completion/Unix/Command/_adb: Just check current dir
instead of recursively
2016-03-18 Daniel Shahaf
* unposted: Doc/Zsh/contrib.yo: Document run-help-* helper
functions.
2016-03-18 Mikael Magnusson
* 38179: Completion/Unix/Command/_adb: Fix completion by mostly
reverting 35531, add missing subcommands from latest adb
2016-03-16 Frank Terbeck
* 38161: Completion/Unix/Command/_tmux: _tmux: Use a colon to
terminate options to _arguments itself
2016-03-15 Daniel Shahaf
* 38155: Doc/Zsh/compsys.yo: docs: compsys: Clarify documentation
of the 'filter' style.
2016-03-15 m0viefreak
* 38151: Completion/Unix/Command/_git: fix tag name of remote
branches
* 38148: Completion/Unix/Command/_git: reflog: complete
references next to commands
2016-03-11 Daniel Shahaf
* 38135: Src/Zle/complete.c: internal: bin_compadd: Add a
few comments.
* 38129: Completion/Unix/Command/_git: Fix __git_ignore_line's
treatment of shell and pattern metacaracters.
2016-03-10 Daniel Shahaf
* 38128: Completion/Unix/Command/_git: Fix completion of diffs
against the index when treeish isn't shell-safe
* 38123 (after 38074): Completion/Unix/Command/_git: _git reset
$treeish: complete only staged files
2016-03-09 Daniel Shahaf
* 38120: Completion/Unix/Command/_git: Document the internal
helper function __git_ignore_line.
2016-03-08 Peter Stephenson
* 38114: Src/exec.c: In substitutions involving subshells, disable
signals that require interactive handling.
2016-03-09 Jun-ichi Takimoto
* unposted: .gitignore: update for 38108
2016-03-08 Jun-ichi Takimoto
* 38074: Completion/Unix/Command/_git: _git reset HEAD:
complete only staged files
* 38108: Config/defs.mk.in, Doc/Makefile.in, Doc/ztexi.yo,
configure.ac: enable to create both zsh_{a4,us}.pdf
2016-03-07 Oliver Kiddle
* 38043: Src/Zle/compcore.c, Src/Zle/complist.c,
Src/Zle/zle_tricky.c: allow any completion widget to cycle matches
for menu completion to fix reverse menu completion
2016-03-07 Peter Stephenson
* 38111: Src/parse.c: remove redundant return values from
par_list() and par_list1().
* users/21352: Src/subst.c, Test/A03quoting.ztst: use nulstring
to ensure $'' isn't elided.
* 38094: Src/signals.c, Test/C03traps.ztst: POSIX exit traps
aren't local so local level should be 0 so they don't
get trashed if defined in a function.
2016-03-06 Barton E. Schaefer
* 38106: Src/parse.c: if...then if...else should be a parse error.
* Greg Klanderman: 38086: Doc/Zsh/params.yo, Src/init.c,
Src/params.c: shuffle init code to localize a global, add
$ZSH_ARGZERO, refine $ZSH_SCRIPT
2016-03-04 Peter Stephenson
* 38084: Baruch Siach: configure.ac: use the pcre-config we
found earlier for determining libs.
2016-03-03 Barton E. Schaefer
* 38048: Src/zle_refresh.c: fix "zle redisplay" when called while
a listing is below the prompt (e.g., from interrupt handler)
* Martijn Dekker: 38039: Src/options.c: POSIXy behavior for "set +o"
2016-02-26 Peter Stephenson
* Stephane: 38020: fix problems with fractions of a second in
$SECONDS.
2016-02-25 Peter Stephenson
* 38024: Src/signals.c, Test/C03traps.ztst: improve 37999 to
allow nested zsh-mode EXIT traps not to remove a POSIX EXIT
trap.
2016-02-19 Daniel Shahaf
* unposted: Etc/completion-style-guide: Clarify the term "variant".
2016-02-17 Peter Stephenson
* 37999: README, Src/signals.c, Test/C03traps.ztst: Make
POSIX-style EXIT traps behave according to POSIX_TRAPS at
the point where the trap is set.
2016-02-16 Daniel Shahaf
* users/21256 + workers/37965: Doc/Zsh/contrib.yo,
Doc/Zsh/mod_mathfunc.yo, Src/zsh.mdd: New math functions
min(), max(), sum(), provided by a new autoloadable function
'zmathfunc'.
2016-02-16 Barton E. Schaefer
* 38001: Src/Zle/zle_refresh.c: clear-screen re-expands prompts
* 37988: Src/params.c: $0 becomes read-only under POSIXARGZERO
2016-02-15 Eric Cook
* 37975: Completion/Unix/Command/_php: allow completion after
the first non-option argument.
2016-02-14 Barton E. Schaefer
* 37898: Completion/compinstall: fix typo in completer menu
* 37898: Completion/Unix/Command/_gcc: complete linker options
* 37972: Completion/Base/Utility/_arguments,
Completion/Base/Widget/_correct_filename,
Completion/Base/Widget/_most_recent_file,
Completion/Unix/Command/_devtodo, Completion/Unix/Command/_make,
Completion/Unix/Command/_ssh, Completion/Unix/Command/_tar,
Completion/Unix/Command/_zip,
Completion/Unix/Type/_canonical_paths: Redirect stderr to
/dev/null in cases where ${~param} might generate errors
* 37971 (cf. users/21284: Eric Freese):
Functions/Zle/bracketed-paste-magic: fix potential issues when
interacting with user-defined widgets
* 37961: Src/Zle/complist.c: in interactive menuselection, use of
"compadd -x" (e.g. the "warnings" zstyle) may have replaced the
completion list, so skip highlighting of the current selection
until a subsequent keystroke has regenerated the original listing;
fixes crash on bad memory access
2016-02-11 Eric Cook
* 37913: Completion/BSD/Command/_gstat,
Completion/BSD/Command/_sysrc, Completion/Linux/Command/_gpasswd,
Completion/Linux/Command/_htop, Completion/Linux/Command/_kpartx,
Completion/Unix/Command/_top, Completion/Unix/Command/_tput,
Completion/Unix/Command/_zpool: new completers and improvement
for _zpool.
2016-02-11 Peter Stephenson
* 37946: Src/utils.c: make rm * warnings more informative about
files being deleted.
2016-02-10 Barton E. Schaefer
* 37927: Src/Zle/complist.c: recreate local keymaps as necessary
in case the user has deleted them
2016-02-09 Peter Stephenson
* 37893: Doc/Zsh/builtins.yo: document behaviour of typeset -U
for parameters with multiple interfaces.
2016-02-09 Daniel Shahaf
* 37924: Completion/Unix/Command/_git: Completion: _git:
Complete files for 'check-ignore'
* 37923: Completion/Debian/Command/_bts: Completion: _bts:
Fix quoting of $DEBEMAIL.
* 37922: Util/zyodl.vim: zyodl.vim: Add alternative installation
instructions.
* 37896: Doc/Zsh/builtins.yo: zshbuiltins: Document argv
behaviour of 'source' without arguments
* unposted: ChangeLog: Move the 37678 entry to the correct
location (and author).
2016-02-08 Barton E. Schaefer
* 37914: Src/builtin.c, Test/E01options.ztst: reparse associative
array subscripts in "unset" so keys with "[" or "]" may be
backslash-escaped. Fix erroneous test case this revealed.
2016-02-07 Peter Stephenson
* 37895: Src/params.c, Doc/Zsh/parmas.yo: add ZSH_SCRIPT as
always available form of POSIX $0.
2016-02-07 Dominik Ritter
* unposted: Doc/Zsh/mod_complist.yo: complist module docs:
Fix parameter name in an example.
2016-02-07 Daniel Shahaf
* unposted: README: Follow-up to 37833: extend description of
37804 in README.
2016-02-04 Jun-ichi Takimoto
* 37874: Src/Builtins/sched.c: remove unused function argument.
2016-02-03 Jun-ichi Takimoto
* 37868: Src/Modules/curses.c, Src/Modules/param_private.c,
Src/Modules/tcp.c, Src/Modules/termcap.c, Src/Modules/zftp.c,
Src/Zle/complist.c, Src/Zle/zle_misc.c, Src/Zle/zle_utils.c,
Src/cond.c, Src/exec.c, Src/glob.c, Src/jobs.c, Src/params.c,
Src/prompt.c, Src/utils.c: add 'static' to file local variables.
2016-01-31 Barton E. Schaefer
* 37859: Src/text.c: NULL-terminate cond_binary_ops static array.
2016-01-30 Barton E. Schaefer
* 37845: Doc/Zsh/builtins.yo: Forward-reference typeset instances
where no parameter is created, and remove the obsolete statement
about array assignments separated from typeset command on -p.
* 37844: Doc/Zsh/builtins.yo: reorder typeset introduction to keep
related concepts together.
2016-01-30 Daniel Shahaf
* 37831: Doc/Zsh/builtins.yo: typeset: Document exit status
difference from parameter assignment statements
2016-01-30 Jun-ichi Takimoto
* 37838: Src/Builtins/rlimits.c, Src/Builtins/sched.c,
Src/Modules/curses.c, Src/Modules/datetime.c, Src/Modules/db_gdbm.c,
Src/Modules/files.c, Src/Modules/langinfo.c, Src/Modules/mapfile.c,
Src/Modules/mathfunc.c, Src/Modules/newuser.c, Src/Modules/parameter.c,
Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/socket.c,
Src/Modules/stat.c, Src/Modules/system.c, Src/Modules/tcp.c,
Src/Modules/termcap.c, Src/Modules/terminfo.c, Src/Modules/zpty.c,
Src/Modules/zselect.c, Src/Modules/zutil.c, Src/Zle/compctl.c,
Src/Zle/computil.c, Src/Zle/zle_utils.c, Src/Zle/zle_word.c,
Src/hashtable.c, Src/hist.c: use UNUSED() consistently
2016-01-29 Daniel Shahaf
* 37833: README: Document 37804 in README.
* 37797: StartupFiles/zshrc: StartupFiles/zshrc += run-help
* 37752: Test/D04parameter.ztst: More tests for the previous
patch.
* 37700: Src/lex.c, Src/parse.c, Src/zsh.h,
Test/D04parameter.ztst: Teach ${(z)} the 'repeat WORD SUBLIST'
syntax.
* unposted: Completion/Unix/Command/_init_d: _init_d: Report
failure to caller.
2016-01-28 Eric Cook
* 37814: Kamil Dudka: Functions/Misc/run-help-ip: use /bin/zsh
as the shebang.
2016-01-27 Barton E. Schaefer
* 37804 (plus error return per 37816): Src/loop.c: first word
following "repeat" should be evaluated as math, to match docs
* 37819: Src/hist.c: zshaddhistory hook is intended to work for
any history file write, even upon keyboard interrupt
* 37810: Src/Modules/zutil.c: repair handling of backslashes and
of names starting with "+"/":"/"=" in zparseopts option specs
2016-01-26 Eric Cook
* 37788: Completion/Zsh/Context/_subscript: fix completion of
associative array keys
2016-01-26 Barton E. Schaefer
* 37802: Doc/Zsh/mod_zutil.yo: Clarify zparseopts description.
* 37802: Src/Modules/zutil.c: zparseopts "X::" specifier should
also look for the optional argument in the word after "-X".
* 37785: Src/params.c: skip autoload parameters for "typeset -p"
2016-01-25 Barton E. Schaefer
* Jun T.: 37759: Src/Modules/param_private.c: save more function
pointers from realparamtab when hacking in their replacements,
because restoring from the original external symbols fails for
some dynamic link schemes (e.g. 64bit Cygwin).
2016-01-25 Peter Stephenson
* 37780: Kamil Dudka: Src/utils.c: Careful in case both argzero
and scriptname are null in zerr().
* 37765: Src/builtin.c, Test/C04funcdef.ztst: Use FS_FUNC on
funcstack to find autoload -X target rather than scriptname.
* 37776: Src/utils.c: set errflag before calling zwarning() to
avoid recursive error messages.
2016-01-23 Matthew Martin
* 37725: Completion/Unix/Command/_init_d: Completion: _init_d:
add OpenBSD bits
2016-01-23 Daniel Shahaf
* 37703: Completion/Unix/Command/_git: Completion: git: Also
complete sendmail commands for send-email's configuration. (after
37666)
2016-01-21 Peter Stephenson
* 37722: Src/builtin.c, Test/C02cond.zts: test builtin should
return status 2 on syntax error.
2016-01-20 Peter Stephenson
* 37705: Src/lex.c, Test/D04parameter.ztst: don't turn - to
Dash after start of brace parameter.
* unspoted: Config/version.mk: incremented version to 5.2-dev-1
because of parsing change.
2016-01-20 Daniel Shahaf
* 37666: Completion/Unix/Command/_git: Completion: git:
'send-email --smtp-server=' takes absolute path to sendmail.
* 37665: Completion/Unix/Command/_git,
Completion/Unix/Type/_absolute_command_paths, Doc/Zsh/compsys.yo:
Completion: New helper _absolute_command_paths.
* 37664: Completion/Unix/Type/_path_commands, Doc/Zsh/compsys.yo:
docs: Document the completion function _command_names.
2016-01-19 Peter Stephenson
* 37693: Src/glob.c: turn Dash into '-' in glob qualifiers.
* 37689: README, Src/glob.c, Src/lex.c, Src/pattern.c,
Src/zsh.h, Test/D02glob.ztst: also ! and ^ need to be tokenised
in character set.
* 37678: Src/glob.c, Src/lex.c, Src/pattern.c, Src/utils.c,
Src/zsh.h, Test/D02glob.ztst: Now possible to quote "-" in
a pattern range.
2016-01-18 Barton E. Schaefer
* 37682: Src/lex.c: when SH_GLOB is set (e.g. in "sh" emulation)
do not parse bare parentheses in arguments as a pattern grouping.
2016-01-18 Daniel Shahaf
* 37634: Completion/Unix/Command/_man: _man: Support subsection
names such as '3p'.
* 37634: Completion/Unix/Command/_man: _man: Disentangle a local
variable that had two distinct semantics. No functional change
* 37663: Completion/Unix/Command/_bibtex: New bibtex completion
(very minimal).
* unposted: Doc/Zsh/zle.yo: docs: zshzle(1): Trivial
clarification to $CONTEXT.
2016-01-15 Peter Stephenson
* 37646: Src/builtin.c, Test/B02typeset.ztst: typeset should
return non-zero status on attempt to set readonly variable.
* 37643: Src/Zle/complist.c: Reset interrupt after getkeycmd()
in menu selection.
* 37512: Src/params.c: overeager WARN_CREATE_GLOBAL with
strftime.
2016-01-15 Daniel Shahaf
* unposted: Src/utils.c: Extend docstring of callhookfunc().
* unposted: Functions/VCS_Info/Backends/VCS_INFO_detect_p4:
Fix typo in comment.
* 37612: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Set $git_patches_unapplied correctly for
'rebase-apply' case.
2016-01-14 Daniel Shahaf
* 37590: Src/Zle/zle_hist.c, Src/Zle/zle_main.c: Invoke
zle-line-pre-redraw during isearch.
2016-01-13 Barton E. Schaefer
* 37570: Functions/Zle/transpose-words-match: give truth to the
doc assertion this is a drop-in replacement for transpose-words
* 37567: Functions/Zle/match-words-by-style: use (Z:n:) to split
the buffer into words so line breaks are treated as whitespace
2016-01-13 Daniel Shahaf
* 37591: Src/hashtable.c, Test/A02alias.ztst: 37591: 'alias -L':
skip with a warning aliases with '=' in their LHS
* 37550: Completion/BSD/Command/_cu: _cu: Support Linux
line-device names; fail gracefully on OSes matching no known
line-device name pattern.
2016-01-10 Daniel Shahaf
* 37551: Src/builtin.c: Include the builtin's name in a "bad
option" error message.
2016-01-10 Eric Cook
* 37534: Matthew Martin: Completion/BSD/Command/_cu,
Completion/BSD/Command/_fw_update, Completion/BSD/Command/_rcctl
2016-01-08 Barton E. Schaefer
* Jun T.: 37515: Src/Modules/pcre.c, Test/V07pcre.ztst: multibyte
handling as per 35448.
* unposted (cf. Jun T.: 37516): Src/builtin.c: refine READ_MSTREAM
to avoid unsequenced evaluation
2016-01-06 Barton E. Schaefer
* 37513 (cf. Jun T.: 37508): Src/builtin.c: fix typos; improve
error cleanup in tempfile case of ASSIGN_MSTREAM(); simplify
READ_MSTREAM() and correct for signed/unsigned compiler warning
2016-01-04 Barton E. Schaefer
* 37504: Src/builtin.c: refactor code using/simulating memstream
to capture output for "print -v"
* 37503: Src/builtin.c: detect incompatible "print" options, fix
metafication and possible memory leak, miscellaneous cosmetics
* Jun T. (+ revise test): 37501: Src/builtin.c, Test/B03print.ztst:
correct byte counts when simulating memstream via temp file
2016-01-03 Peter Stephenson
* 37489, tweaked: Doc/Zsh/options.yo, Src/params.c,
Test/C01arith.ztst: with POSIX_IDENTIFIERS create math var as
scalar
2016-01-02 Barton E. Schaefer
* 37497: Src/builtin.c: handle NUL bytes in "printf -v".
* 37493: Doc/Zsh/builtins.yo, Src/builtin.c, Src/hashtable.h,
Test/B02typeset.ztst: readonly + POSIX_BUILTINS == typeset -gr
2016-01-01 Barton E. Schaefer
* 37483: Src/glob.c: save and possibly restore cshnullglob failure
state around each evaluation of an (e:...:) glob qualifier.
* 37473: Src/exec.c: check for cshnullglob in command position.
2015-12-31 Barton E. Schaefer
* 37469: Src/parse.c: do NOT allow semicolons in place of line breaks
in conditionals
* unposted: Src/builtin.c: enable WARN_CREATE_GLOBAL for print -v
* 37468: Src/parse.c: allow line breaks in more places in [[ ... ]]
* 37467: Doc/Zsh/builtins.yo, Src/builtin.c, Test/B03print.ztst:
add "print -v var" / "printf -v var"
2015-12-31 Oliver Kiddle
* 37453 (with Bart, started by Baptiste Daroussin, 37315)
Test/C02cond.ztst: try to improve detection of noatime filesystem
* users/21114: Completion/Unix/Command/_dig: new completion
2015-12-30 Barton E. Schaefer
* 37460: Test/X03zlebindkey.ztst: make sure the default keymap is
emacs before using that keymap to test bindings
2015-12-31 Daniel Shahaf
* unposted: NEWS: Document how to disable paste highlighting.
* 37456: Src/Zle/zle_refresh.c: Have zle_highlight=(none)
disable paste highlighting
2015-12-30 Frank Terbeck
* 37451: Functions/VCS_Info/vcs_info: vcs_info: Declare "msgs" in
early context
2015-12-27 Axel Beckert
* 37438: Completion/Debian/Command/_aptitude: Also parse --help/-h
output of aptitude 0.7.5 and later.
2015-12-26 Axel Beckert
* 37436: Felipe Sateler: Completion/Debian/Command/_apt:
Add missing apt purge and autoremove subcommands.
2015-12-25 Barton E. Schaefer
* 37435 (+ fix typo): Src/exec.c: allow execution of empty files
as "sh" scripts
* 37434: Src/exec.c: POSIXBUILTINS "command" should prevent shell
exit on errors from special builtins
2015-12-23 Philip Sequeira
* 37345: Functions/VCS_Info/VCS_INFO_maxexports,
Functions/VCS_Info/VCS_INFO_set: VCS_INFO functions break with
setopt no_unset
2015-12-19 Barton E. Schaefer
* users/21082 (expanded): Functions/Misc/is-at-least: do a more
complete job of sorting version strings that are not in the form
of zsh version numbers; additional explanatory comment
* unposted (cf. 37387): Src/options.c: emulate turns off
WARN_CREATE_GLOBAL
* users/21068: Functions/Newuser/zsh-newuser-install: use emacs
keymap in vared by default (less surprising than vi modes)
2015-12-19 Mikael Magnusson
* 36650: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: Add
zle-line-pre-redraw hook for highlighting
2015-12-19 Daniel Shahaf
* unposted (after users/20873): Functions/Zle/edit-command-line:
Theoretical fix: don't parse print/echo escape sequences in
$zle_bracketed_paste.
* 37257 (in part): Test/A06assign.ztst: Add array assignment tests.
2015-12-16 Peter Stephenson
* 37411: Test/X03zlebindkey.ztst: more bindkey tests.
2015-12-15 Peter Stephenson
* 37405: Src/Zle/zle_keymap.c, Test/X03zlebindkey.ztst: fix
binding of self-insert to full or partial multibyte sequences
longer than a one byte prefix and add test.
2015-12-14 Peter Stephenson
* 37401: Completion/Unix/Type/_list_files: fix pattern error
causing too much use of zstat.
* 37400: Functions/Chpwd/zsh_directory_name_generic: fix typo
that caused unwanted error message.
2015-12-13 Peter Stephenson
* 37397: Adrien Vergé: Completion/Redhat/Command/_dnf: update
with optimisations.
2015-12-11 Peter Stephenson
* Functions/Zle/url-quote-magic: match, mbegin, mend should be
locally.
2015-12-11 Oliver Kiddle
* 37383: Matthew Martin: Completion/Unix/Command/_elfdump,
Completion/Unix/Command/_nm, Completion/Unix/Command/_objdump,
Completion/Unix/Command/_readelf, Completion/Unix/Type/_object_files:
add completion type for object files
* 37260: Simon Hafner: Completion/X/Command/_mplayer:
add opus to mplayer audio completions
* users/20873: Functions/Zle/edit-command-line: disable bracketed
paste while running external editor from zle
2015-12-10 Peter Stephenson
* 37378: Src/Modules/zpty.c, Test/X03zlebindkey.ztst,
Test/comptest: New bindkey tests; also fix Meta bug with pattern
match on zpty -r.
2015-12-09 Peter Stephenson
* 37364: Src/builtin.c, Src/text.c, Test/C02cond.ztst: "test"
and "[" need to prefer binary operators to parentheses in
three-argument expressions.
2015-12-08 Peter Stephenson
* 37348: Src/utils.c, Test/D04parameter.ztst,
Test/D07multibyte.ztst: tests for ${(q+)...} and extra
dupstring() needed for empty string case.
* 37347: Functions/VCS_Info/VCS_INFO_nvcsformats: msgs
shouldn't be local here, but in caller (where it already is).
* users/21071: Src/Zle/zle_keymap.c: Multibyte key sequences
couldn't be bound if the initial byte was the start of any
self-insert sequence.
2015-12-07 Peter Stephenson
* 37344: Doc/Zsh/expn.yo, Src/subst.c, Src/utils.c, Src/zsh.h,
Test/D04parameter.ztst, Test/V09datetime.ztst: restore old
printable quoting of characters when not used from quotedzputs()
and add ${(q+)...} to output the new form.
* 37331: Src/utils.c: use a single character to represent an
MB_INCOMPLETE string even if multiple octets.
2015-12-07 Peter Stephenson
* 37337: Src/Zle/zle.h, Src/Zle/zle_main.c,
Src/Zle/zle_thingy.c: Delay freeing widget until not in use.
* 37335: Test/D04parameter.ztst, Test/V09datetime.ztst: fix
tests after 37314.
* 37310: Doc/Zsh/builtins.yo: effect of disabling typeset
reserved word.
2015-12-06 Peter Stephenson
* 37326: Src/utils.c: comment how counting for multibyte string
lengths and widths is supposed to work.
* 37314: Src/utils.c, Src/zsh.h: upgrade quotedzputs() to use
nicechar() where necessary. Regularise nicechar() etc. to produce
$'...' compatible output.
2015-12-05 Daniel Shahaf
* 37150: Completion/Unix/Command/_git: _git: Autocomplete .. for
commit ranges
* 36957: Completion/Unix/Command/_git: _git: Apply matchspecs to
filename completion such as 'git log f/b' → 'foo/bar.txt's
2015-12-04 Peter Stephenson
* 37305: Src/params.c, Test/A06assign.ztst,
Test/B02typeset.ztst, Test/V10private.ztst: typeset -p
can now output arrays on one line.
* unposted: Src/exec.c, Src/init.c: fix up init_io() calls
in previous change.
* 37294: Doc/Zsh/params.yo, Src/init.c: Add $ZSH_EXECUTION_STRING
to give argument to shell -c option.
2015-12-03 Daniel Shahaf
* 37253: Src/params.c: Constify two local variables.
* unposted: Completion/Unix/Command/_getent,
Completion/Unix/Command/_mtools,
Completion/Unix/Type/_mime_types,
Completion/X/Command/_kfmclient, Completion/Zsh/Command/_zed:
Remove unneeded executability bits.
* 37296: Src/utils.c: Avoid needless calloc().
* 37295: Functions/Zle/backward-kill-word-match,
Functions/Zle/kill-word-match: Join kills
2015-12-03 Peter Stephenson
* unposted: Config/version.mk: update to 5.2-dev-0.
* unposted: Config/version.mk: release zsh 5.2 (N.B. this entry
added ex post facto as a marker).
2015-11-30 Daniel Shahaf
* 37256: Completion/Debian/Command/_debchange: _debchange
(_dch): Update completion.
* 37252: Functions/VCS_Info/Backends/VCS_INFO_get_data_git:
vcs_info git: Compute %b correctly with "rebase --onto" of
detached heads. (Follow-up to 36725.)
* 37254: Src/params.c: No functional change: change code layout
in preparation for 37253.
* 37250: Src/params.c: No functional change: rename local
variables.
2015-11-29 Peter Stephenson
* unposted; Config/version.mk: 5.1.1-test-3.
2015-11-28 Daniel Shahaf
* unposted (after 37243): Test/B02typeset.ztst: Explain the
breadcrumb by adding a comment.
2015-11-27 Barton E. Schaefer
* unposted: Test/V10private.ztst: %cleanup block is not called when
%prep sets ZTST_unimplemented, so avoid leaving a mess
* 37243: Test/B02typeset.ztst, Test/V10private.ztst: too many
problems with inserting a line into B02, instead add a placeholder
and substitute for it.
2015-11-27 Peter Stephenson
* unposted: Functions/Misc/zcalc: ZCALCPROMPT created globally.
2015-11-27 Daniel Shahaf
* 37214: Functions/Prompts/prompt_walters_setup: 'prompt
walters': Don't export PS1
* 37163: Completion/Unix/Command/_curl,
Completion/Unix/Type/_urls: Remove curl completion
* 37215: Completion/Base/Utility/_regex_words: _regex_words:
Don't add mismatched parentheses
2015-11-26 Barton E. Schaefer
* 37229: Src/Modules/param_private.c, Test/V10private.ztst: non-
local assignment to a parameter name whose outermost declaration
is private, is an error rather than a silent no-op. Fix %prep
from 37225 for Solaris.
* unposted (cf. 37226): Test/B02typeset.ztst: export == typeset -xg
* 37225: Test/V10private.ztst: fix test from 37208
* 37224: Test/B02typeset.ztst: delete obsolete comment
2015-11-26 Peter Stephenson
* Matthew Martin: 37100: Completion/Unix/Command/_sysctl:
updates.
2015-11-25 Peter Stephenson
* unposted: Config/version.mk: 5.1.1-test-2
2015-11-23 Barton E. Schaefer
* 37208: Src/params.c: check for restricted parameter before
changing from unset to set; return NULL from setnparam() on
failure to retrieve value (avoids null-pointer dereference);
add some expository comments
* 37208: Test/V10parameter.ztst: re-run the "typeset" tests with
the private module loaded
* 37208: Src/Modules/param_private.c: assignment in a nested scope
should not change private parameters in the outer scope from unset
to set; bug remains that the attempt does not generate a warning
* 37206: Src/subst.c: fix ${(t)param} for "typeset -H param"
* 37205: Test/B01cd.ztst: update documentary comment
2015-11-23 Peter Stephenson
* 37203: Src/params.c: WARN_CREATE_GLOBAL test in wrong place
for associative array.
2015-11-22 Barton E. Schaefer
* Matthew Martin: 37201: Completion/Unix/Type/_groups: change
quoting to handle group names with spaces
2015-11-22 Barton E. Schaefer
* 37192: Functions/Prompts/prompt_adam1_setup,
Functions/Prompts/prompt_adam2_setup,
Functions/Prompts/prompt_bart_setup,
Functions/Prompts/prompt_clint_setup,
Functions/Prompts/prompt_oliver_setup,
Functions/Prompts/prompt_special_chars,
Functions/Prompts/promptinit: silence WARN_CREATE_GLOBAL
2015-11-22 Peter Stephenson
* 37191: Src/utils.c: some locales prduce valid empty output for
strtfime escapes %p and %P.
* 37188: Test/B09hash.ztst: new test.
* 37187: Src/builtin.c: infinite loop in "hash -m".
* 37186: Functions/VCS_Info/VCS_INFO_nvcsformats,
Src/Zle/zle_main.c: a couple of WARN_CREATE_GLOBAL fixes.
2015-11-21 Barton E. Schaefer
* 37181: Test/C02cond.ztst, Test/D07multibyte.ztst,
Test/V01zmodload.ztst, Test/V02zregexparse.ztst,
Test/V03mathfunc.ztst, Test/V04features.ztst, Test/V05styles.ztst,
Test/V09datetime.ztst, Test/V10private.ztst, Test/X02zlevi.ztst,
Test/Y01completion.ztst, Test/Y02compmatch.ztst,
Test/Y03arguments.ztst, Test/comptest, Test/ztst.zsh: consistent
use of zmodload and corresponding ZTST_unimplemented or ZTST_skip
2015-11-21 Peter Stephenson
* unposted: Config/version.mk, Etc/FAQ.yo, README: make
5.1.1-test-1 in preparation for 5.2.
2015-11-20 Barton E. Schaefer
* unposted: Doc/Zsh/mod_paramter.yo: document order of entries
for $history and $historywords
2015-11-20 Mikael Magnusson
* 37161: Src/init.c: Disable the heuristic setting RPROMPT_INDENT
to 0
2015-11-20 Peter Stephenson
* 37170: Functions/Zle/smart-insert-last-word: suppress
WARN_CREATE_GLOBAL for intentional creation of global variables.
* 37168: Src/params.c: no WARN_CREATE_GLOBAL on special parameters.
* users/20974: Src/builtin.c, Test/D04parameter.ztst: fix bug
when scalar value assigned to special array in typeset.
2015-11-20 Daniel Shahaf
* 37164: Completion/Unix/Command/_tmux: _tmux: Complete external
commands
* 37149: Completion/Unix/Command/_git: _git: Complete
'bisect/bad' ref
2015-11-19 Peter Stephenson
* 37159: NEWS, README: update for next version.
* unposted: Doc/Zsh/params.yo: describe separators between
values in array assignment.
2015-11-18 Barton E. Schaefer
* 37145: Src/lex.c: suppress alias expansion in skipcomm() to
defer parsing aliases in $(...) et al. into the subshell
2015-11-18 Peter Stephenson
* 37140: Doc/Zsh/expn.yo: note that <<(...) is < <(...).
2015-11-17 Daniel Shahaf
* 37129: Completion/Unix/Command/_git: _git: Complete 'commit -p'
2015-11-17 Peter Stephenson
* 37128: Src/lex.c, Test/D06subscript.ztst: work around alias
expansion trashing subcript being parsed.
* 37127 (minor tweak): Doc/Zsh/params.yo: document indexing of
$signals.
2015-11-16 Mikael Magnusson
* Eric Cook: 36986: Functions/Misc/zed: Add -- to the `functions'
builtin calls
* Eric Cook: 37050: Completion/BSD/Command/_sockstat: minor improvements
2015-11-15 Barton E. Schaefer