2021-08-29 Oliver Kiddle * 49316: Completion/Unix/Command/_transmission, Completion/Unix/Command/_bittorrent, Completion/Unix/Command/_go, Completion/Unix/Command/_pandoc, Completion/X/Command/_pdftk: add (-.) glob qualifier to globs where only files are applicable * 49315: Completion/Unix/Command/_transmission, Completion/Debian/Command/_dak, Completion/Linux/Command/_tpb, Completion/Mandriva/Command/_urpmi, Completion/Unix/Command/_cpio, Completion/Unix/Command/_dropbox, Completion/X/Command/_urxvt, Completion/Unix/Command/_growisofs, Completion/Unix/Command/_perforce, Completion/Unix/Command/_mysql_utils: list units in brackets at the end of group descriptions 2021-08-28 Peter Stephenson * Peter A. Castro: users/26982 (subset as most of this already present): Src/openssh_bsd_setres_id.c: use standard header includes. 2021-08-27 Peter Stephenson * 49290: Src/init.c, Src/input.c: Replace stdio for buffered shell input to avoid memory management interacting with signal handlers. 2021-08-27 Oliver Kiddle * Marlon: 49272: Completion/Base/Utility/_call_program: Set $COLUMNS in _call_program to ensure cached command output is sufficiently wide * unposted (based on Marlon: 49273): Completion/Zsh/Command/_typeset: add -x to local completion * 49309: Completion/Linux/Command/_strace: update the strace completion through strace 5.13 * 49306: Completion/Linux/Command/_losetup: fix file completion for the second parameter to losetup * Štěpán Němec: 49234: Completion/Unix/Command/_python: add missing options in python completion 2021-08-26 Peter Stephenson * 49307 with documentation updated: Src/exec, Doc/Zsh/grammar.yo, Doc/Zsh/options.yo: With POSIX_TRAPS, ignored signals stay that way in subshell. 2021-08-24 Peter Stephenson * 49297 with quoting updated: Src/Modules/files.c: check which files is in error when ENOENT on link etc. 2021-08-24 dana * github #78: DCsunset: Completion/Unix/Command/_pandoc: Fix completions in _pandoc 2021-08-16 Oliver Kiddle * 49268: Completion/Unix/Command/_texinfo: use an empty string search to find matches for info --index-search= completion * 49160: Completion/Unix/Command/_xmlsoft: fix quoting for xmllint --pretty completion 2021-08-14 Daniel Shahaf * users/26734: Doc/Zsh/builtins.yo: docs: read: Notate the parameter name argument as optional. 2021-08-10 Peter Stephenson * 49269: Src/parse.c, Test/C02cond.ztst: "[ ! -o ]" should detect "-o" as a non-empty string and return status 1. Update test to reflect this. 2021-07-30 dana * github #77: Stavros Ntentos: Completion/X/Command/_sublimetext: Improve subl completions for Sublime Text v4 2021-07-30 Jun-ichi Takimoto * 49211: Completion/Zsh/Command/_typeset: correctly set return value 2021-07-23 Peter Stephenson * Erik Paulson: 49029: Src/signals.c: Remove additional copies of signals sent by zsh with MONITOR enabled. * 49182: Src/hist.c, Src/lex.c: Interactive word correction doesn't work inside command substitution, so don't try to do it. 2021-07-19 Eric Cook * 49147: Completion/Linux/Command/_modutils: fix the completion linux kernel modules 2021-07-19 Jun-ichi Takimoto * 49166: Src/subst.c, Test/D04parameter.ztst: fix coredump in ${name:offset:length} with ill-formatted length 2021-07-10 Oliver Kiddle * 49158: Completion/Debian/Command/_dscverify, Completion/Solaris/Command/_dhcpinfo, Completion/Solaris/Command/_inetadm, Completion/Solaris/Command/_prstat, Completion/Solaris/Command/_svcadm, Completion/Solaris/Command/_svcprop, Completion/Solaris/Command/_zlogin, Completion/Unix/Command/_pkginfo, Completion/Unix/Command/_pkgrm: remove superfluous function definitions * 49157: Completion/Linux/Command/_valgrind, Completion/Unix/Command/_baz, Completion/Unix/Command/_opustools, Completion/Unix/Command/_tla: fix uses of literal % characters in completion descriptions * 49156: Completion/Cygwin/Command/_cygserver, Completion/Debian/Command/_git-buildpackage, Completion/Linux/Command/_alsa-utils, Completion/Unix/Command/_adb, Completion/Linux/Command/_ipset, Completion/Unix/Command/_django, Completion/Solaris/Command/_dtrace, Completion/Unix/Command/_ant, Completion/Solaris/Command/_prstat, Completion/Unix/Command/_gcc, Completion/Unix/Command/_dtruss, Completion/Unix/Command/_gnupod, Completion/Unix/Command/_initctl, Completion/Unix/Command/_pandoc, Completion/Unix/Command/_mysqldiff, Completion/Unix/Command/_pbm, Completion/Unix/Command/_perforce, Completion/Unix/Command/_qemu, Completion/Unix/Command/_ruby, Completion/Unix/Command/_tidy, Completion/Unix/Command/_w3m, Completion/X/Command/_vnc, Completion/X/Command/_xdvi: make wider use of the convention of square brackets for defaults 2021-07-08 Oliver Kiddle * 49151: Completion/Debian/Command/_madison, Completion/Debian/Command/_dak, Completion/Debian/Command/_dpkg, Completion/Unix/Command/_aap, Completion/Unix/Command/_samba, Completion/Unix/Command/_setfacl, Completion/Zsh/Function/_zargs: remove commas erroneously included in _arguments exclusion lists * 49150: Completion/...: consistently use singular form for headings on completion match groups * 49149: Completion/Unix/Command/_ssh: add specific values in completion after ssh-keygen -b depending on the key type * Max Voit: 49153: Completion/Unix/Command/_module: cut off .lua extension from module files that occurs when using lmod for module 2021-07-06 Suraj N. Kurapati * 49128 (github #76): Misc/vcs_info-examples: optimize +vi-git-untracked() 2021-06-28 Peter Stephenson * 49102: Src/subst.c: Dynamic directory expansion failure is ignored if NO_EXEC is set. 2021-06-22 Peter Stephenson * 48906: Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Etc/FAQ.yo, Etc/changelog2html.pl: Update Sourceforge links to https://zsh.sourceforge.io/. 2021-06-14 dana * 48920: Completion/Unix/Command/_pgrep: Address issues related to -f completion * 48920: Completion/Unix/Command/_pgrep: Clarify -x description 2021-06-13 Bart Schaefer * 49069: NEWS, Src/builtin.c: literal interpretation of subscripts for unset of array/hash elements 2021-06-02 Oliver Kiddle * Akinori MUSHA: 48942: Functions/Zle/edit-command-line: Let EDITOR invoked by edit-command-line know it's a zsh script * 48954: Src/Zle/complist.c: avoid crash in reverse-menu-complete from menuselect without 'menu' in $compstate[insert] * 48952: Completion/Unix/Command/_perl: expand octal codes for record separators in perl completion * 48938 (minus _cdrdao changes): Completion/Unix/Command/_pandoc, Completion/Unix/Command/_bpython: remove vim fold and option markers * 48939: Completion/Unix/Command/_rsync: update for rsync 3.2.3 2021-05-21 Oliver Kiddle * 48897: Completion/Unix/Command/_sed, Completion/Unix/Command/_head, Completion/Unix/Command/_dhclient, Completion/Unix/Command/_pgrep, Completion/Unix/Command/_ping, Completion/Unix/Command/_tail, Completion/Unix/Command/_timeout, Completion/Unix/Command/_uname: completion updates for DragonFly 6.0 and OpenBSD 6.9 * Marlon Richert: 48891: Completion/Unix/Command/_pgrep: Fix pgrep/pkill -f completion * Marlon Richert: 48864: Completion/Zsh/Type/_parameters: Improve extra-verbose completion display strings for array parameter values 2021-05-18 Daniel Shahaf * 48601/0005: Functions/Misc/zmathfuncdef: Fix the workers/48147 return status / 'set -e' bug. * 48601/0004: Doc/Zsh/builtins.yo: docs: return: Give examples of using arithmetic evaluation. * 48601/0003: Doc/Zsh/builtins.yo: docs: functions -M: Add a subheading and index entries. * 48601/0002: Doc/Zsh/builtins.yo: docs: functions -M: Document the return status / result interdependency gotchas (cf. 48147). * 48601/0001: Doc/Zsh/builtins.yo: docs: functions -M: Move an example to be near the specification of the relevant flag * 48594 (plus an "F:" line corresponding to the question there): Test/E02xtrace.ztst: New tests for functions -t / functions -T 2021-05-16 Bart Schaefer * Marlon Richert: 48853: Doc/Zsh/contrib.yo, Functions/Prompts/promptinit: improved handling of theme resets when changing prompt themes, especially for theme preview * 48860: Etc/BUGS: remove mention of bugs that were fixed * 48857: Src/builtin.c, Src/exec.c, Src/loop.c, Src/makepro.awk, Src/params.c, Src/signals.c: declare as "volatile" all globals that may be modified by signal handlers; recognize in makepro.awk 2021-05-16 Oliver Kiddle * Jörg Sommer: users/26649: Completion/Unix/Command/_rake: add zstyle for rake targets without description * 48783: Completion/Unix/Command/_ansible: update ansible completion to 2.10.8 * 48623: Completion/Unix/Command/_ssh: update options in openssh completion to version 8.6 2021-05-16 Mikael Magnusson * unposted: Completion/Unix/Command/_timeout: Fix wrong syntax 2021-05-15 Bart Schaefer * Han Pingtian: 33465 (very belatedly): use prctl() for "jobs -Z" where available * Vincent Lefevre: 48723: Src/math.c: locale-safe recognition of "Inf" and "NaN" constants * Peter Stephenson: users/26742: Src/builtin.c: break out of surrounding shell loops when "exit" is called from an exit hook * users/26736: Src/Zle/zle_main.c: avoid infinite loop in getbyte when read -q is called from exit hook * 48810: Test/C04funcdef.ztst: name clash in test for autoloading * 48790: Src/Zle/compcore.c: COMPLETE_IN_WORD inside brace-param * 48710: Completion/Zsh/Command/_zed, Doc/Zsh/contrib.yo, Functions/Misc/zed: add "zed -h" aka "histed", update doc and completion; improve compatibility with SH_WORD_SPLIT * 48709: Completion/Base/Widget/_complete_help: suppress error messages from comptry * 48707: Doc/Zsh/contrib.yo, Functions/Zle/zed-set-file-name: fix keymap handling when zed invokes read-from-minibuffer 2021-05-06 Peter Stephenson * 48787: Src/loop.c, Test/A01grammar.ztst: status was incorrect on hard error flagged by condition in "if" without "else". 2021-05-03 dana * unposted (see 48613): Etc/FAQ.yo: Move section 3.31 to 2.8 * unposted (see 48613): Doc/Zsh/metafaq.yo, Doc/Zsh/roadmap.yo: Update http:// FAQ links to https:// * 48551 (tweaked per 48565, 48629): Doc/Zsh/compat.yo: Add disclaimer about POSIX compliance and emulation of other shells * 48614 (tweaked per 48630): Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, README, Src/builtin.c, Test/B10getopts.ztst: Calculate OPTIND according to POSIX_BUILTINS 2021-05-03 Daniel Shahaf * 48767: Doc/Zsh/params.yo: docs: $SECONDS: Clarify what types may be set 2021-04-28 Jun-ichi Takimoto * 48702: Completion/Unix/Command/_pandoc: do not use cache, support two or more extensions of format, and other fixes 2021-04-21 Daniel Shahaf * 48606 + 48607 + unposted test: Functions/Math/zmathfunc, Test/Z02zmathfunc.ztst: zmathfunc: Force arguments to be numbers and catch errors. * unposted (cf. 48156): Test/Z02zmathfunc.ztst: New test. * users/26635 (tweaked): Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: vcs_info hg: Compute the branch name correctly when get-revision is set and check-for-changes is not 2021-04-20 Bart Schaefer * 48638: NEWS: mention TYPESET_TO_UNSET 2021-04-20 Daniel Shahaf * 48435 (tweaked): Doc/Zsh/contrib.yo, Misc/vcs_info-examples: vcs_info docs: applied-string/unapplied-string: Correct an omission in the documentation and add an example. * 48528/0002: Misc/vcs_info-examples: vcs_info git docs: ahead/behind commits: Reduce the number of forks * 48528/0001: Misc/vcs_info-examples: vcs_info git docs: ahead/behind commits: Don't run rev-list when that would fail 2021-04-19 Bart Schaefer * 48617: Completion/Base/Widget/_complete_debug: fix misuse of IGNORE_BRACES when initializing debug_indent * 47489: Functions/Misc/colors: rename standout as italic 2021-04-19 Oliver Kiddle * Marlon Richert: 48621: Completion/Zsh/Function/_add-zsh-hook, Completion/Zsh/Function/_add-zle-hook-widget: Add -L to add-(zsh|zle)-hook[-widget] completion * André Kugland: github/zsh-completions #792: Completion/Unix/Command/_opustools: new opus-tools completion * 48619: Completion/Unix/Command/_ansible: complete inventory plugins in assignments to ANSIBLE_INVENTORY_ENABLED * 48618: Completion/Unix/Command/_date, Completion/Unix/Command/_grep, Completion/Unix/Command/_netstat, Completion/Unix/Command/_ping, Completion/Unix/Command/_readelf, Completion/Unix/Command/_uname: update completions for FreeBSD 13 2021-04-18 Bart Schaefer * 47704: Src/builtin.c, Src/params.c, Test/B02typeset.ztst: POSIX export and readonly ignore the "-p" option when parameter names are also present. * 48560: Completion/compinit, Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, Doc/Zsh/params.yo, Src/builtin.c, Src/options.c, Src/params.c, Src/subst.c, Src/zsh.h, Test/D06subscript.ztst, Test/E01options.ztst, Test/E03posix.ztst, Test/V10private.ztst, Test/runtests.zsh, Test/ztst.zsh: add TYPESET_TO_UNSET option, which removes initialization of newly declared parameters such that ${newparam-notset} yields "notset" and "typeset -p newparam" does not show an assignment to the parameter. This is similar to the default behavior of bash and ksh, with minor differences in typeset output. Also add tests for some POSIX incompatibilities plus minor changes for test harness robustness. 2021-04-18 Jun-ichi Takimoto * unposted: Etc/BUGS: remove a bug fixed by 47301 2021-04-17 Daniel Shahaf * 48361 (+ 48368 review comments): Completion/Zsh/Function/__arguments: New completion function for _arguments. 2021-04-16 Oliver Kiddle * Marlon Richert: 48513: Completion/Zsh/Type/_parameters, Test/Y01completion.ztst: Let extra-verbose completion show parameter values * unposted: Etc/BUGS: update on bug list * 48556: Completion/BSD/Command/_ipfw: new completion 2021-04-16 Daniel Shahaf * unposted (cf. 48153): Test/Z02zmathfunc.ztst: Add tests for max() and min(). 2021-04-15 Daniel Shahaf * 48574/0008: Doc/Zsh/contrib.yo: vcs_info git: Use best practices in an example * 48574/0007: Doc/Zsh/contrib.yo: vcs_info docs: vcs_info_lastmsg: Correct an ambiguous/wrong description. * 48574/0006: Doc/Zsh/contrib.yo: vcs_info docs: Change user-context name in an example, to avoid confusion with the special-casing of the value `command' in vcs_info_lastmsg. * 48574/0005: Doc/Zsh/contrib.yo: vcs_info docs: Recommend use of prompt expandos rather than terminal escape sequences. * 48574/0004: Doc/Zsh/func.yo: docs: Document that hook functions may rely on $? (see workers/48570). * 48574/0003: Doc/Zsh/contrib.yo: docs: Fix rendering in the man page output * 48574/0002 (tweaked): Doc/Zsh/contrib.yo: docs: Fix rendering of an example in the man page output * 48574/0001: Doc/Zsh/func.yo: docs: Minor markup tweak 2021-04-13 dana * Daniel Shahaf: 48522: README: Clarify _alternative change 2021-04-13 Tim Lee * 48525: Misc/vcs_info-examples: vcs_info git docs: ahead/behind commits: Run fewer external programs 2021-04-12 Jun-ichi Takimoto * 48439: Src/mem.c: remove macros that became unnecessary by 47785 2021-04-11 Oliver Kiddle * 48504: Src/hist.c, Src/input.c, Src/watch.c: use SEEK_ macros in fseek() calls * Michael Stapelberg: 45396: Src/hist.c: readhistfile: avoid thousands of lseek(2) syscalls via ftell() * Marc Chantreux: 48466: Completion/Unix/Command/_surfraw: correct indentation and remove tabs and trailing spaces * Marc Chantreux: 48445: Completion/Unix/Command/_surfraw: pluralize tags in _surfraw * Marc Chantreux: users/26645: Completion/X/Command/_gv: update options in gv completion 2021-04-10 Bart Schaefer * 47913: Doc/Zsh/options.yo, Src/options.c, Src/pattern.c, Src/zsh.h: implement CASE_PATHS option to make NO_CASE_GLOB more sensible 2021-04-10 dana * brian m. carlson: 47794: README, Src/exec.c, Test/B07emulate.ztst: exec: run final pipeline command in a subshell in sh mode * unposted (see 48415): README: Document incompatibility caused by workers/43928 * 48338: Completion/Unix/Command/_git: Support case-insensitive path matching 2021-04-09 Peter Stephenson * 48432 (plus test change): Src/Modules/zutil.c, Test/V05styles.ztst: Fix quoting of zstyle -L output for -e styles, and enable test. 2021-04-09 Oliver Kiddle * 48378: Completion/Zsh/Command/_compadd: complete compadd options for other completion functions * 48437: Completion/Unix/Command/_gdb: fix pid completion when cursor is in the middle of the line * Felipe Contreras: 47786: aclocal.m4, aczsh.m4: prepare for autoconf 2.70 * Felipe Contreras: 47785: Src/Modules/files.c, Src/zsh_system.h, Src/mem.c, configure.ac: remove deprecated autoconf functions 2021-04-08 Jun-ichi Takimoto * 48416: Completion/Unix/Command/_gcore: support macOS, with update for GNU gcore 2021-04-08 Daniel Shahaf * 48410: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: FAQ, METAFAQ: Mention zsh-security@. * 48379: Src/subst.c, Test/D04parameter.ztst: Make the parameter expansion subscript flags parse error message, "error in flags", identify the location of the parse error. * 48321 (tweaked per thread): Completion/Unix/Type/_perl_modules: Don't assume ${words[1]} to be either "perl" or "perldoc" 2021-04-07 Daniel Shahaf * 48425: Test/V05styles.ztst: Add an XFail test for a 'zstyle -L' escaping bug (workers/48424). 2021-04-06 Jun-ichi Takimoto * 48391: Src/Zle/compresult.c: correctly calculate display string width in completion list to fix display problem in menu-complete * 48389: Src/math.c, Src/utils.c: getkeystring(GETKEY_SINGLE_CHAR) should not return a pointer to a local variable 2021-04-06 Oliver Kiddle * Marc Chantreux: users/26579: Completion/Unix/Command/_surfraw: changes from review including parameter expansion to replace awk * 48414: Completion/Unix/Type/_bpf_filters: quote closing bracket to adapt for change in 43928 * Marlon Richert: 48413: Test/comptest, Test/Y01completion.ztst: Fix _expand completion test * unposted: Etc/BUGS: add several references to old list posts 2021-04-05 Daniel Shahaf * unposted: Etc/FAQ.yo: FAQ: Move the 'The mailing lists have moved' notice to a more appropriate place. 2021-04-04 Jun-ichi Takimoto * Felipe Contreras: 47784: Src/pattern.c: silence compiler warning -Wmaybe-uninitialized * Jacob Gelbman: 48218 (+ 48354): Completion/Unix/Command/_gcc: various improvements for _gcc 2021-04-02 Oliver Kiddle * 47510: Src/prompt.c, Src/zsh.h: drop code that avoided termcap for named colours * 48356: Doc/Zsh/compwid.yo: clarify (the intended) behaviour for the two anchor forms of matching control 2021-04-01 Daniel Shahaf * unposted: Etc/BUGS: Add 39319, a named-file process substitution cleanup bug. 2021-04-01 Mikael Magnusson * 48202 (+ 48366 test fix from Jun): Src/utils.c, Test/B03print.ztst: Fix handling of NUL bytes in zexpandtabs multibyte version 2021-03-31 Oliver Kiddle * github #74: Caleb Maclennan: Completion/Unix/Command/_vcsh: Drop vcsh completions, maintained upstream * Marlon Richert: 48214: Completion/Base/Completer/_expand, Test/Y01completion.ztst: add file types to _expand completions, so they can be colored through complist * Christian K: 48192: Completion/Unix/Command/_openstack: Fix openstack completion for new style clients * Marc Chantreux: users/26557: Completion/Unix/Command/_surfraw: add bookmarks support and remove the header from the final list 2021-03-29 Aleksandr Mezin * 47561 (the git and cvs parts) (compare 44919 + 44920): Functions/VCS_Info/Backends/VCS_INFO_detect_cvs, Functions/VCS_Info/Backends/VCS_INFO_detect_git, Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs, Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info internals: cvs, git: Set ${vcs_comm[basedir]} like all other backends do. 2021-03-29 dana * 47737: Completion/Zsh/Command/_zstyle: Fix option completion when positional arguments are already present (regression from workers/39659 (commit ae3b675ce6e4ac62451ea08169c2b4dc45cf533b)) 2021-03-29 Daniel Shahaf * unposted: ChangeLog: Fix X-Seq numbers for the 39657, 39658, 39659 patch series. * unposted: Doc/Zsh/compsys.yo: docs: _arguments: Fix a typo in the example. 2021-03-28 Oliver Kiddle * Jacob Gelbman: 48166: Completion/Unix/Command/_ctags: add completion for language options * Arseny Maslennikov: 48210, 48211: Completion/Linux/Command/_setpriv: new completion for setpriv(1) * Arseny Maslennikov: 48212: Completion/Linux/Type/_capabilities: Introduce new completion for Linux task capabilities * Štěpán Němec: 48231: Completion/Unix/Command/_git: add missing --pretty formats and improve descriptions * 48230, 48233 (Jun T): Completion/Solaris/Command/_dtrace: completion of dtrace probes and runtime options 2021-03-28 dana * 48216: Test/Y01completion.ztst: Fix broken test from workers/48180 2021-03-26 Daniel Shahaf * 48131/0004: Etc/FAQ.yo: FAQ: 3.31: Rearrange * 48131/0003: Etc/FAQ.yo: FAQ: 3.31: Move two paragraphs unchanged, reordering them * 48131/0002: Etc/FAQ.yo: FAQ: 3.31: Tweak summary paragraph * 48131/0001: Etc/FAQ.yo: FAQ: 3.31: Add a one-sentence summary 2021-03-23 dana * unposted: Doc/Zsh/expn.yo, Test/D07multibyte.ztst: Improve documentation and add regression test for workers/47745 * 47745: Stephane Chazelas: Src/utils.c: Fix [:IDENT:] vs posixidentifiers 2021-03-17 dana * 48180: Marlon Richert: Completion/Base/Core/_main_complete, Test/Y01completion.ztst: Start menu selection with select=long-list in menu style 2021-03-07 Daniel Shahaf * 48147/0002: Functions/Math/zmathfunc, Test/Z02zmathfunc.ztst: zmathfunc: Fix bug where the exit code would be non-zero if the expression evaluted to zero. * 48147/0001: Test/Z02zmathfunc.ztst: tests: Add a unit test for zmathfunc and a regression test for workers/48146 affecting it. 2021-02-24 Peter Stephenson * 48105: Jacob Gelbman: Completion/Unix/Command/_ctags: update and fix formatting and import. 2021-02-23 Peter Stephenson * 48096: Jacob Gelbman: Completion/Unix/Command/_ctags: new completion. 2021-02-22 Bart Schaefer * 48094: Arseny Maslennikov: Functions/Prompts/prompt_restore_setup, Functions/Prompts/promptinit: apply cleanup commands of the current theme on any theme change, including "prompt -[hp] $theme" 2021-02-19 dana * 47867: Arseny Maslennikov: Functions/Prompts/promptinit: Fix RPROMPT typo 2021-02-18 Peter Stephenson * users/26509: Src/builtin.c: fc -L should ignore remote entries rather than treat them as an error. 2021-02-17 Peter Stephenson * 48073: Martijn Dekker: Doc/Zsh/builtins.yo, Src/builtin.c: fc -s is POSIX version of fc -e -. 2021-02-16 Peter Stephenson * 47876: Justtine Tunney: Src/exec.c: Add more cases where shell scripts can be recognised from the first line as described by POSIX. 2021-02-16 Lawrence Velázquez * 47830: Doc/Zsh/contrib.yo, README: Fix some documentation typos 2021-02-13 Oliver Kiddle * unposted (Daniel): Completion/Unix/Command/_locale: add exclusion list missed in recent OpenBSD update * github #68: taiyu.len: Completion/Unix/Command/_man, Completion/Zsh/Command/_zstyle, Doc/Zsh/compsys.yo: support section suffix completion for man pages * 47905: Joshua Krusell: Src/Modules/zutil.c, Test/V12zparseopts.ztst: Add leading '-' to zparseopts option parsing errors 2021-02-11 Bart Schaefer * unposted: NEWS, README: mention the effects of 47997. * 47997: Src/Zle/compcore.c: disable xtrace around completions 2021-02-07 Oliver Kiddle * 47944: Completion/BSD/Command/_bsd_pkg, Completion/BSD/Command/_pkgin, Completion/BSD/Command/_systat, Completion/Unix/Command/_dmesg: update completions for NetBSD 9 * 47943: Completion/Unix/Command/_date, Completion/Unix/Command/_xargs: update completions for DragonflyBSD * 47932: Completion/Linux/Command/_free, Completion/Unix/Command/_w, Completion/Unix/Command/_pgrep, Completion/Unix/Command/_vmstat: update completions for procps 3.3.16 * 47931: Completion/BSD/Command/_signify, Completion/BSD/Command/_systat, Completion/Unix/Command/_locale, Completion/Unix/Command/_netstat, Completion/Unix/Command/_top: update completions for OpenBSD base up to 6.8 * 47930: Completion/BSD/Command/_freebsd-update, Completion/Unix/Command/_uniq, Completion/Unix/Type/_diff_options: update completions for FreeBSD base up to 12.2 * 47929: Completion/Zsh/Command/_zstyle: complete newer possible values for the sort style * based on github #62: oxiedi@yandex.ru: Completion/Unix/Type/_date_formats: return proper exit status * github #66: DCsunset: Completion/Unix/Command/_todo.sh: Add more commands to _todo.sh * github #63: oxiedi@yandex.ru: Completion/Base/Utility/_values: fix regression caused by 44274, with sort style -o may be passed * github #72 (tweaked): Semnodime: Completion/Unix/Command/_lldb: fix unix command lldb tab-completion, args are space separated * gitlab !16: aaaz : Completion/Unix/Command/_transmission: allow spaces between short options and their parameters in transmission completion 2021-02-06 Oliver Kiddle * 47919: Completion/BSD/Type/_login_classes, Completion/Unix/Command/_env, Completion/Unix/Command/_pgrep, Completion/Unix/Command/_su, Completion/Unix/Command/_user_admin: use common function for completing BSD login classes and update for options to env * 47918: Completion/Linux/Command/_nsenter, Completion/Linux/Command/_unshare: new util-linux completions 2021-02-05 Bart Schaefer * unposted: Doc/Zsh/expn.yo: Add cindex entries for subsections 2021-02-04 Bart Schaefer * 47895: Src/builtin.c, Test/D02glob.ztst: Remove trailing spaces from "print -ac" output lines. * 47865: Test/D02glob.ztst: More tests for restricted directories * 47889: Etc/FAQ.yo: Update csh alias equivalences (section 2.3) 2021-02-03 Joshua Krusell * 47899: Src/Modules/zutil.c, Test/V12zparseopts.ztst: Improved error message from zparseopts. 2021-01-20 Jun-ichi Takimoto * 47883: Completion/Unix/Command/_awk: support gawk ver.5 2021-01-27 Peter Stephenson * 47873: Completion/Base/Core/_main_complete, Completion/Zsh/Context/_subscript, Functions/Chpwd/zsh_directory_name_cdr: Improve completion within dynamic directory names ~[]. * GammaFunction@vivaldi.net via Roman: 47744: Src/Zle/zle_main.c: Fix vi-repeat-change when hooks are in use. 2021-01-26 Daniel Shahaf * unposted: Etc/FAQ.yo: Fix a typo in the front matter. 2021-01-24 Paul Seyfert * github #71 (tweaked): Completion/X/Command/_xrandr: Complete providers 2021-01-23 Bart Schaefer * users/26406: Functions/Misc/zargs: preserve caller setopts 2021-01-20 Jun-ichi Takimoto * 47849: Test/E01options.ztst, Test/V08zpty.ztst, Test/W02jobs.ztst, Test/X02zlevi.ztst, Test/X03zlebindkey.ztst, Test/X04zlehighlight.ztst, Test/Y01completion.ztst, Test/Y02compmatch.ztst, Test/Y03arguments.ztst: do not skip tests that require zpty on Cygwin * Peiyuan Song: 47840: Src/Modules/zpty.c, configure.ac: make zpty module work on Cygwin 2020-12-12 dana * unposted: NEWS: Catch up on new features 2020-12-11 Jun-ichi Takimoto * 47731 (+unposted): Functions/Misc/run-help-btrfs, Doc/Zsh/contrib.yo: add run-help assistant for btrfs command. (based on the patch by Samir Benmendil in 43947⁩) * Samir Benmendil: 43946: Functions/Misc/run-help-sudo: call run-help (instead of man) for the command given to sudo 2020-12-05 Bart Schaefer * unposted: Doc/Zsh/compsys.yo: index compprefuncs and comppostfuncs 2020-12-04 Daniel Shahaf * 47716: Etc/BUGS: Add Aleksandr's vcs_info patch. 2020-12-02 Bart Schaefer * 47704: Src/Modules/param_private.c: fix scope for "private -p" 2020-12-01 Bart Schaefer * unposted: Etc/BUGS: Add users/26150 (multios + exec) 2020-11-16 ivan tkachenko * 47547: Doc/Zsh/arith.yo: docs: Specify the exact kind of quoting which is assumed when parsing arithmetic expressions 2020-11-16 Jun-ichi Takimoto * 47560: configure.ac, aczsh.m4: add necessary includes or prototypes for the tests in configure (fix errors in macOS 11) 2020-10-29 Oliver Kiddle * users/26107: Completion/Unix/Command/_git: complete changed files after git diff HEAD 2020-10-25 Mikael Magnusson * Jun-ichi Takimoto: 47301: Src/builtin.c: Fix print -v metafication * 47302: Test/B03print.ztst, Test/D07multibyte.ztst: Test for print -v fix * 47494, 47495: Completion/Zsh/Command/_strftime, Doc/Zsh/mod_datetime.yo, Src/Modules/datetime.c, Test/V09datetime.ztst: Add -n option to strftime 2020-10-18 Roman Perepelitsa * 47476: Src/Modules/files.c: Fix a race condition in zf_mkdir -p (based on the patch by Matthew Martin in workers/47436) 2020-10-18 Axel Beckert * 47468: Doc/Zsh/contrib.yo: Fix typo 2020-10-03 Daniel Shahaf * users/26088: Doc/Zsh/zle.yo: docs: zle -R: Clarify that it needs not be called in the normal course of things, but only when an immediate, interim redisplay is desired. 2020-09-23 Meng Bo * github #65: Completion/Unix/Command/_nmap: Rename option flags (s/_/-/g) 2020-09-22 Jacob Menke * 47395: Completion/Base/Utility/_store_cache: Don't leak the variable ${_cache_dir}. 2020-09-13 Bart Schaefer * Mikael Magnusson: 47382: Completion/Zsh/Context/_brace_parameter: Completion for 47364 * 47364: Doc/Zsh/expn.yo, Src/subst.c, Src/zsh.h, Test/D02glob.ztst: Enable extendedglob in pattern with ${(*)name/pattern/replacement} 2020-09-09 Stephane Chazelas * 47352 (+ extra test cases): Src/prompt.c, Test/D01prompt.ztst: fix %K prompt expansion (regression introduced in 5.0.3). 2020-09-05 Doug Kearns * unposted: Completion/Unix/Command/_lp, Completion/Unix/Command/_transmission, Completion/X/Command/_code, Completion/X/Command/_kdeconnect, Completion/Zsh/Command/_zstyle: Remove periods from completion descriptions as per the completion-style-guide recommendations. 2020-09-04 Peter Stephenson * 47350; Completion/Unix/Command/_dropbox: new completion. 2020-08-28 Daniel Shahaf * github #64: Src/Modules/curses_keys.awk: Fix a build-time error when building against ncurses that hadn't been built with --enable-wgetch-events. (Reported by Martin Liska.) 2020-08-21 Oliver Kiddle * 47328: Doc/Zsh/metafaq.yo, Etc/CONTRIBUTORS: remove references to old zsh.org mail addresses * 47322: Completion/Unix/Command/_ssh: allow prefix with ssh cipher completion and add matching control for options 2020-08-18 Daniel Shahaf * 47323: Completion/Redhat/Command/_rpm: _rpmbuild: Complete file arguments after -r/-b/-t. 2020-08-16 Mikael Magnusson * 47304: Completion/Zsh/Type/_globflags: support specifying more than one flag where appropriate * 47305: Functions/Zle/edit-command-line: when possible, set $BUFFER directly * 47306: Completion/Zsh/Command/_zstyle, Doc/Zsh/contrib.yo, Functions/Zle/edit-command-line: add editor style * 47307: Functions/Zle/edit-command-line: restrict editing to region if it is active 2020-08-16 Daniel Shahaf * 47314 (+ extra test case): Test/Z01is-at-least.ztst: is-at-least false positive (5.8.0.2 / 5.8) * 47313: Doc/Zsh/expn.yo: docs: Document explicitly that the :P modifier returns a symlink-less path. 2020-08-13 Oliver Kiddle * Jörg Sommer: 47320: Completion/Linux/Command/_choom: Add completion for Linux tool used to adjust process OOM score * 47321: Completion/Linux/Command/_btrfs: update for btrfs 5.4 * 47319: Completion/Unix/Command/_imagemagick: complete more options to ImageMagick's convert command 2020-08-10 Oliver Kiddle * 47294: Completion/Debian/Command/_aptitude: updates to options * 47293: Completion/Unix/Command/_lp: lowercase descriptions 2020-08-10 Daniel Shahaf * 47308: Etc/zsh-development-guide: Document the new X-Seq autoreply bot. 2020-08-09 Daniel Shahaf * 47303: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, Functions/VCS_Info/VCS_INFO_set-patch-format: vcs_info hg: Fix changing the expansion of %g (hook_com[guards]) in the set-patch-format hook (regression from workers/40480). 2020-08-08 Daniel Shahaf * unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: Update documentation for the move to new hosting. * 47296 (+ unposted additional tests and comments): Src/loop.c, Test/A05execution.ztst: 'repeat' loops: Let the repeat count use $?. * 47300: Src/parse.c, Src/zsh.h: Document the EC_NODUP, EC_DUP, EC_DUPTOK triplet. 2020-08-08 Mikael Magnusson * unposted: Completion/BSD/Command/_kdump, Completion/BSD/Type/_ktrace_points: fix syntax errors in completers added in 45940 2020-08-05 Mikael Magnusson * unposted: Completion/compinit: add help text for -w * 46280: Completion/compinit: add -w to explain why compdump runs 2020-07-29 Roman Perepelitsa * unposted: Src/zsh.h: comments explaining how hashtable must be created 2020-07-28 Roman Perepelitsa * 46275: Src/hashtable.c, Src/zsh.h: eliminate undefined behavior caused by redefinition of hashtable 2020-07-27 Roman Perepelitsa * 46268: Src/exec.c: suppress a useless compiler warning around nice() 2020-07-14 Daniel Shahaf * 46244 (cont.): Etc/creating-a-release.txt: Flesh out the TODO from the previous commit. * 46244: Etc/creating-a-release.txt: Start to introduce a release managers keyring. 2020-07-14 oxiedi * github #61: Completion/Zsh/Type/_parameters: Don't leak the variable $i 2020-07-13 Daniel Shahaf * 46240: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo, Doc/Zsh/jobs.yo, Doc/Zsh/params.yo, Doc/ztexi.yo: Make the expansion of manref()() in ztexi.yo match its expansion in zman.yo. 2020-07-12 Daniel Shahaf * 46183: Test/D03procsubst.ztst: New XFail test: external command with =(...) on LHS of pipeline cleans up its tempfiles. * unposted (cf. GitHub #11): Misc/vcs_info-examples: vcs_info hg: docs: Change an example to not use a hex dump incantation that may replace some bytes' values with asterisks. * users/24985: Doc/Zsh/expn.yo: Clarify documentation of the ${(n)} and ${(-)} parameter expansion flags, and add a forward compatibility hatch to the latter. * 46204: Test/E01options.ztst: Fix new test case for the theoretical case of having more than 100 files in the root directory. * unposted: .editorconfig: For Makefiles, make the indent size equal to tab width. 2020-07-11 dana * Cedric Ware: 46152: Src/Modules/system.c, Test/V14system.ztst: Re-allow '0' timeout in zsystem flock 2020-07-09 Jun-ichi Takimoto * 46215 (w/ minor tweak): Test/E01options.ztst: make the test added by 46175/0002 work on wider systems, and skip the test on Cygwin. 2020-07-08 Oliver Kiddle * 46216: Completion/Unix/Command/_ansible: update for ansible 2.9 * 46217: Completion/Unix/Command/_tmux: update options for tmux 3.1 * github #60: Mathias Fredriksson: Completion/Unix/Type/_zfs_dataset: Fix completion for a zfs dataset containing spaces * gitlab !15: Doron Behar: Completion/Linux/Command/_modutils: Fix FHS assumption * 46201 (tweaked per Daniel): Etc/completion-style-guide: add guidelines for caching and use of imperative mood in descriptions * 46195: Completion/X/Type/_x_color: use showrgb command to get colours if it is available * github #50: SATOH Fumiyasu: Completion/Unix/Type/_ssh_hosts: Complete hosts in "Match" directive * github #53: James Pike: Completion/Unix/Type/_remote_files: allow specifying directory name. 2020-07-07 Bart Schaefer * 46189: Test/comptest: Ignore exit status of final zpty_flush 2020-07-07 Nuri Jung * github #58: Doc/Zsh/mod_regex.yo: docs: Note that the zsh/regex syntax is platform-dependent. 2020-07-06 Pete Moore * 46194: Doc/Zsh/metafaq.yo: docs: metafaq: Remove spurious closing bracket 2020-07-05 Daniel Shahaf * 46175/0003: Src/exec.c, Test/E01options.ztst: Fix the RM_STAR_SILENT bug from the parent commit. * 46175/0002: Test/E01options.ztst: Add a regression test for 46169: the RM_STAR_SILENT logic processes the current directory rather than the root directory. * 46175/0001: Test/E01options.ztst: Add a unit test for the RM_STAR_SILENT option. * 46174/0002: Test/comptest: test harness: Restore indentation after the previous commit. No functional change. * 46174/0001: Test/comptest: test harness: Plug a symlink attack 2020-07-03 Matthew Martin * 46168: Src/builtin.c, Test/B01cd.ztst: Update $PWD and call chpwd hook after normalizing path. 2020-07-03 Daniel Shahaf * unposted (cf. users/24972, users/24978): Doc/Zsh/expn.yo: Use an ASCII hyphen/minus rather than a dash. 2020-07-03 Peter Stephenson * users/24971: Doc/Zsh/expn.yo, Src/sort.c, Src/subst.c, Src/zsh.h, Test/D04parameter.ztst: Add parameter flag (-) to allow signed numeric sorting. 2020-06-28 zsugabubus * 46097: Completion/Unix/Command/_rm: Fix "assignment to invalid subscript range" error in _rm. 2020-06-28 Daniel Shahaf * 46132: Doc/Zsh/expn.yo: docs: Use an itemized list in the documentation of the *(o) glob qualifier. * 46131: Completion/Unix/Command/_git: _git-config: Partly fix a bug whereby a 'foo.ba' wouldn't be completed to 'foo.bar.baz'. * 46128: Completion/Unix/Command/_git: Complete more options and diff/merge tools. * 46129: Completion/Unix/Command/_git: _git-config: Fix a bug where a second trailing dot would be incorrectly offered. * 46130: Completion/Unix/Command/_git: _git-config: Complete some more options. 2020-06-27 Miroslav Koškár * 46140: Completion/Unix/Command/_git: Fix insufficiently quoted pattern * 46139: Completion/Unix/Command/_git: Remove hanging whitespaces 2020-06-27 Daniel Shahaf * unposted (after 46068): Src/Zle/zle_utils.c: Fix a compiler warning. * 46072 + 46136: Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo, Functions/Misc/add-zle-hook-widget, Src/Zle/zle_thingy.c, Test/X04zlehighlight.ztst: Add the 'zle $widget -f nolast' syntax, to improve add-zle-hook-widget support for multiple hook functions. * users/24959/0002: Doc/Zsh/grammar.yo: Update aliases documentation for the addition of the ALIAS_FUNC_DEF option. * users/24959/0001: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: Extend documentation of global aliases. 2020-06-26 Daniel Shahaf * unposted: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/mod_mapfile.yo, Etc/FAQ.yo: docs: Fix some markup and typos. 2020-06-26 Peter Stephenson * 46110: Src/subst.c, Test/D03procsubst.ztst: If =subst occurs before =(subst) we should allow for the possibility of the latter. 2020-06-26 Oliver Kiddle * unposted c.f. 46034: Completion/Unix/Command/_gpg: workaround incompatibility with sh_file_expansion option * 46106: Completion/BSD/Command/_usbconfig: new completion * 46105: Completion/X/Command/_xinput: new xinput completion * 46075: drelo: Completion/Unix/Type/_find_net_interfaces: prefer ip on linux for finding network interfaces * 45895: oxiedi: Completion/Base/Utility/_sequence, Test/Y01completion.ztst: ignore dedup patterns in _sequence 2020-06-25 Daniel Shahaf * 46068 (tweaked) (was: github #57): Doc/Zsh/zle.yo, README, Src/Zle/zle.h, Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c, Src/prompt.c, Test/X04zlehighlight.ztst: region_highlight: Add memo= support. * 46102: Test/ztst.zsh: test harness: Make the XPass message distinct from the Fail message. 2020-06-22 Peter Stephenson * 46079: Src/math.c, Test/C01arith.ztst: Ignore double quotes in math expression: treat as white space. 2020-06-22 Manuel Jacob * 46091: Doc/Zsh/contrib.yo, Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Add code to Mercurial VCS backend to show topic if there is any. 2020-06-19 Daniel Shahaf * 46044 (tweaked per Matthew): Completion/Unix/Command/_units: Correct the path to the units data file on Debian with units 2.00 and newer and on FreeBSD. 2020-06-18 Daniel Shahaf * 46067: Test/A05execution.ztst: Add a unit test for workers/46060. 2020-06-18 Peter Stephenson * 46060: Src/jobs.c: Ensure process has been signalled before taking special action for SIGINT or SIGQUIT. 2020-06-17 Eric Cook * 45982: Frederick Zhang: Completion/Unix/Command/_zfs: Add space read-only property 2020-06-17 Daniel Shahaf * unposted: Util/ztst-syntax.vim: internal: ztst.vim: Recognize empty "F:" line as well, as the test harness does. 2020-06-17 Miroslav Koškár * 46049: Doc/Zsh/options.yo: docs: Correct the sense of the single-letter abstract of the GLOBAL_RCS option (-d) 2020-06-11 Oliver Kiddle * gitlab !12: Jan Máslo: Completion/Linux/Command/_mat, Completion/Linux/Command/_mat2: new completions * 46036: Completion/Zsh/Type/_ps1234: fix colouring in prompt completion * users/24892: Completion/Unix/Type/_files, Completion/Zsh/Command/_zstyle: fix local declaration with recursive-files style and complete it for zstyle 2020-06-10 Daniel Shahaf * unposted: Doc/Zsh/mod_zutil.yo: zstyle docs: Fix typo. 2020-06-09 Peter Stephenson * 46026: Doc/Zsh/options.yo, Src/exec.c, Src/options.c, Src/zsh.h, Test/A04redirect.ztst: Add CLOBBER_EMPTY option. 2020-06-08 Peter Stephenson * uwers/24909: Src/exec.c: Don't clean up files used for substitution until after function has run. 2020-06-08 Doron Behar * gitlab !14 (fixup): Completion/Linux/Command/_modutils: modutils comp: Fix getting the value of kver from opt_args 2020-06-07 Daniel Shahaf * 45932: Etc/FAQ.yo: FAQ (3.1): Update ksh compatibility answer for reserved word typeset. * 45933: Etc/FAQ.yo: FAQ: Add "Why does my bash script report an error when I run it under zsh?". * 45791 (tweaked): Etc/FAQ.yo, Util/zyodl.vim: FAQ: Explain how to binary search one's dotfiles * unposted: Etc/FAQ.yo: FAQ: Update section number in links to the "The future of zsh" section. 2020-06-06 Daniel Shahaf * unposted: Etc/BUGS: Add users/24904 to Etc/BUGS (a process substitution / forking issue). 2020-06-05 Mikael Magnusson * 45985: Src/builtin.c: typeset: Fix leaving corrupted entries in paramtab 2020-06-03 Yasuhiro KIMURA * 45950: configure.ac: Fix 'make install' in out-of-tree tarball builds. 2020-06-01 Matthew Martin * 45940: Completion/BSD/Command/_kdump, Completion/BSD/Command/_ktrace, Completion/BSD/Type/_ktrace_points: Add _kdump and _ktrace completers and supporting _ktrace_points type. * 45939: Completion/Linux/Command/_ionice, Completion/Unix/Command/_lsof, Completion/Unix/Command/_pgrep, Completion/Unix/Command/_renice, Completion/Unix/Type/_pgids: Add _pgids type. 2020-06-01 Doron Behar * gitlab !14: Completion/Linux/Command/_modutils: modutils completion: Fix getting the value of kver from opt_args 2020-05-30 Bart Schaefer * 45915: Src/utils.c: fix handling of hyphens in spckword() 2020-05-28 Yasuhiro KIMURA * 45934: Completion/Unix/Command/_subversion: Make 'svnliteadmin' completed same as 'svnadmin' 2020-05-28 Daniel Shahaf * unposted: Util/zyodl.vim: Highlight the word "note", like ft=help does. * unposted: Util/zyodl.vim: Highlight yodl continuation line marker * 45923 (with memory leak fixed, cf. 45924): Src/Modules/zprof.c, Src/exec.c: zprof: Don't tally all anonymous functions as though they were a single function named "(anon)". 2020-05-23 Peter Stephenson * 45900: Src/lex.c, Test/D04parameter.ztst: Fix issues with escaped newline in $-substitution. 2020-05-21 Daniel Shahaf * 45884 (Oliver's, edited by me): Etc/BUGS: Add a few entries. 2020-05-20 Daniel Shahaf * 45862: Test/D04parameter.ztst: Add test cases for 45843#1 and 45843#2, adapted from Aaron Esau and pws. 2020-05-17 Eitan Adler * Eitan Adler: unposted: config.guess, config.sub: update to 2020-04-26. 2020-05-17 Matthew Martin * 45831: Completion/Unix/Command/_vi: Add _vi completer. 2020-05-16 Daniel Shahaf * users/24843: Doc/Zsh/compsys.yo: zshcompsys(1): Point to the 'format' style from the 'tag-order' style. 2020-05-12 Mikael Magnusson * 45796: Src/subst.c, Test/D04parameter.ztst: Support ${name:offset:length} with an empty offset 2020-05-09: Eitan Adler * noraj: gitlab !13: Completion/Unix/Type/_tar_archive: libarchive and GNU tar can uncompress zstandard (zstd) based files 2020-05-07: Eitan Adler * unposted: Completion/Unix/Type/_tar_archive: libarchive based tar can uncompress zip files 2020-05-07 Daniel Shahaf * unposted: Completion/Debian/Command/_dscverify, Completion/Unix/Command/_pandoc: Use alternation patterns rather than brace expansion 2020-05-05 Daniel Shahaf * 45764: Test/D07multibyte.ztst: Add a regression test for 45772. Test by Roman 2020-05-05 Peter Stephenson * 45772: Src/params.c: Upon restoring locale variables, restore the corresponding system settings. 2020-05-23 Jun-ichi Takimoto * unposted: Src/Builtins/rlimits.c: add a comment about how to add a new resource. * 45614: Completion/Redhat/Command/_dnf: add support for several subcommands and options. 2020-05-03 Daniel Shahaf * 45731: Completion/Debian/Command/_debsnap: New completion function. * 45730: Completion/Base/Utility/_arguments, Doc/Zsh/compsys.yo, Src/Zle/computil.c, Src/utils.c, Test/Y03arguments.ztst: _arguments: Add the -0 flag, which makes $opt_args be populated sanely. * 45729: Src/Modules/curses.c, Src/Zle/compcore.c, Src/Zle/computil.c, Src/builtin.c, Src/linklist.c: internal: Add a second parameter to zlinklist2array(), analogously to hlinklist2array(). 2020-05-02 Daniel Shahaf * unposted: Util/zyodl.vim: Use 'conceal' for some macros that expand to a single character. * 45737 (+ docs, and update the test from 45722): Doc/Zsh/mod_zutil.yo, README, Src/Modules/zutil.c, Test/V05styles.ztst: zstyle: When determining the weight (specificity) of a pattern, consider the number of components before anything else, as documented. * unposted: Test/V05styles.ztst: Revert unintentional move from 45722. * 45739: Doc/Zsh/compsys.yo, Doc/Zsh/zftpsys.yo: docs: Clarifications about zstyle patterns. * 45722: Doc/Zsh/mod_zutil.yo, V05styles.ztst: docs: Change zstyle example to a non-hierarchical one * 45752/0002: Completion/Unix/Command/_gcc: Complete --output like -o. * 45752/0001: Completion/Unix/Command/_gcc: Add .cpp and .hpp to the ignored extensions list. 2020-04-27 Benjamin Esham * github #56: Doc/Zsh/mod_zutil.yo: typo: Add a single quote that had been missing 2020-04-21 Daniel Shahaf * unposted: README: Give the 'zsystem flock' limit in pretty-printed form as well. 2020-04-21 dana * github #54: davey hathorn: Completion/Unix/Command/_dig: Fix dig completion error 2020-04-20 dana * unposted: NEWS, README: Document zsh/system changes from workers/45708 * unposted: Doc/Zsh/mod_system.yo: Adjust documentation from workers/45708 * Cedric Ware: 45708: Doc/Zsh/mod_system.yo, Src/Modules/system.c, Src/compat.c, Src/utils.c, Test/V14system.ztst: Enable sub-second timeout in zsystem flock * 45702: Doc/Zsh/compsys.yo: Improve documentation of {insert,separate}-sections 2020-04-15 Peter Stephenson * 45684: Doc/Zsh/expn.yo: - glob qualifier behaviour in error cases. 2020-04-12 dg1727 * 45661: Doc/Zsh/params.yo: docs: Clarify the effect of KSH_ARRAYS on the (I) subscript. 2020-04-09 Peter Stephenson * 45660: Src/builtin,c, Src/init.c: Delay initial setting of keympa options until module system is active. 2020-04-05 dana * 45655: Completion/Darwin/Type/_retrieve_mac_apps: Update search paths and Spotlight index check for recent macOS 2020-04-05 Daniel Shahaf * 45656: Etc/BUGS: Document the -o emacs segfault bug. 2020-04-02 Mikael Magnusson * 45142: Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/lex.c, Src/options.c, Src/parse.c, Src/zsh.h, Test/E01options.ztst: Add SHORT_REPEAT option 2020-04-02 Daniel Shahaf * unposted: Test/D02glob.ztst: Make test platform-independent. 2020-04-01 dana * 45542: Test/P01privileged.ztst: Use test-directory owner for auto-determined EUID/EGID * unposted: Test/D02glob.ztst: Fix platform-dependent test failure introduced by workers/45583 2020-03-29 Daniel Shahaf * 45649: Completion/Unix/Command/_unison: completion: Simplify Unison completion. No functional change. 2020-03-29 Henri Menke * 45646: Completion/Unix/Command/_unison: completion: Unison: Honour the $UNISON variable 2020-03-28 Gastón Haro * github #46: Completion/Unix/Command/_git: _git-restore: Complete arguments to the --source option after a '=' sign 2020-03-28 Gastón Haro * github #46: Completion/Unix/Command/_git: Better restrict git-restore(1) file completions 2020-03-28 Daniel Shahaf * 45644: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Fix current patch's name in several cases. * unposted: Test/V07pcre.ztst: Fix syntax error introduced in 45591. * 45640: Test/B13whence.ztst: Fix new test when ${PWD}'s value contains symlinks. 2020-03-26 Daniel Shahaf * 45627: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Under git-am(1) conflicts, pass to the gen-applied-string hook information on already-applied patches. * 45625: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn: vcs_info svn: Detect the "working copy format is too new" error. * 45626: Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, Functions/VCS_Info/Backends/VCS_INFO_get_data_svk, Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, Functions/VCS_Info/VCS_INFO_set-branch-format, Functions/VCS_Info/vcs_info: vcs_info: Deduplicate calling the set-branch-format hook. * 45624: Functions/VCS_Info/Backends/VCS_INFO_get_data_fossil, Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, Functions/VCS_Info/VCS_INFO_bydir_detect: vcs_info: Set $rrn in all backends. * 45623: Completion/Unix/Command/_quilt: Add subcommand descriptions * 45622: Completion/Unix/Command/_quilt: Categorize subcommands * 45584, 45620: Test/B12limit.ztst: zsh/rlimits: Skip the tests for this module when it wasn't compiled in. * 45591 (Cf. 45587, 45620): Test/V01zmodload.ztst, Test/V07pcre.ztst: In the test suite, centralize testing that compiled modules can be loaded successfully. 2020-03-26 Peter Stephenson * 45616: Src/loop.c, Test/A01grammar.ztst: Remove tokens from count to repeat keyword. 2020-03-25 Daniel Shahaf * 45583/0008: Etc/BUGS, Src/utils.c, Test/B13whence.ztst: Extend tests to prove that what remains of xsymlinks() handles symlink loops gracefully. * 45583/0007: Src/utils.c: Remove code that is now unreachable. * 45583/0006: Src/utils.c: Don't use xsymlinks() in 'whence -s'. * 45583/0005: Test/B13whence.ztst: Add a test for bin_whence's symlinks resolution. * 45583/0004: Etc/BUGS, Src/utils.c, Test/D02glob.ztst: Fix segfault on resolving symlink loops * 45583/0003: Src/hist.c, Src/subst.c: chrealpath: Let caller decide how the return value should be allocated. * 45583/0002: Src/hist.c, Src/subst.c: chrealpath: Make symlink resolution optional. * 45583/0001: Test/D02glob.ztst: Add tests for the segfault on resolving a symlink loop bug (workers/45282). * 45590/0002 (in part): Test/B12limit.ztst: zsh/rlimits: Test that ulimit letters are unique. 2020-03-25 Jun-ichi Takimoto * 45601: Test/E02xtrace.ztst: fix one more return status 2020-03-22 Rin Okuyama * github #51: aczsh.m4, configure.ac: Fix configure for cross build. 2020-03-22 Peter Stephenson * 45601: Test/E02xtrace.ztst: Fix status in new functions -T test. * 45563: Src/utils.c: %z supplies zlong for errors and warnings. 2020-03-22 Daniel Shahaf * 45583/0009: README, Src/parse.c, Test/E02xtrace.ztst: Add end-of-options guard support to 'function -T'. * 45583/0008: Doc/Zsh/grammar.yo, README, Src/exec.c, Src/parse.c, Test/E02xtrace.ztst: Add the 'function -T' syntax. * 45583/0007: Config/version.mk, Src/exec.c, Src/parse.c, Src/text.c: WC_FUNCDEF: Add a placeholder element. * 45583/0006: Src/parse.c: internal: Add some comments for orientation. No functional change. * 45583/0005: Src/parse.c: internal: Document the WC_FUNCDEF data layout for anonymous functions with arguments (follow-up to 29492) * 45583/0004: Src/parse.c, Src/zsh.h: internal: Add some comments around wordcodes. No functional change. * 45583/0003: Src/parse.c, Src/zsh.h: internal: Add some comments around Eccstr. No functional change. * 45583/0002: Src/parse.c: internal: Reduce some variables' visibility. No functional change. * 45583/0001: Src/exec.c: internal: Remove a redundant assignment. 2020-03-20 Daniel Shahaf * unposted: Src/Builtins/rlimits.c: Deconfuse $EDITOR's balanced braces mode. No functional change. * unposted: Doc/Zsh/expn.yo: ${(Z)}: Convert documentation to a description block. * unposted: Util/ztst-syntax.vim: internal: ztst.vim: Make sure syntax elements are only hidden if they're followed by something visible 2020-03-18 Daniel Shahaf * unposted: .editorconfig: Specify tabs for Makefiles. 2020-03-17 Daniel Shahaf * 45572: Completion/Linux/Command/_sshfs: Complete some more options 2020-03-17 Jun-ichi Takimoto * 45536: Src/utils.c: fix handling of 8bit character in is_wcs_nicechar() and wcs_nicechar_sel() under C-locale. 2020-03-15 Daniel Shahaf * 45541: Functions/VCS_Info/test-repo-git-rebase-apply: internal: vcs_info git: Add a test case repository for rebase-apply situations * 45539: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: In non-interactive rebases, obtain applied patches' names. * 45540: Doc/Zsh/contrib.yo, Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: In non-interactive rebases, compute patch names for unapplied patches. * 45543: Functions/VCS_Info/VCS_INFO_quilt, README: vcs_info quilt: Allow quiltcommand to be a function. * 45547: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: In interactive rebases, process gen-unapplied-string arguments like gen-applied-string arguments are processed. * 45546: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: In interactive rebases, properly support the full form of the "exec" verb. * 45545: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: In interactive rebases, ignore comment lines. 2020-03-13 dana * unposted: Completion/Unix/Command/_git: Fix copy/paste error in earlier commit that broke `git stash drop` * 45535: Completion/Unix/Command/_lz4: Order compression levels numerically * 45534: Completion/Darwin/Command/_hdiutil: Update image-file extensions, image/disk formats, &c. * 45531: Completion/Unix/Command/_sh: Complete options more accurately * 45537 (tweaked per 45550, needs 45536): Test/E02xtrace.ztst: Fix inconsistent function-name encoding in preserves-xtrace test 2020-03-12 Daniel Shahaf * unposted: .editorconfig: Specify spaces rather than tabs for zsh scripts. 2020-03-11 dana * 45470: Test/C02cond.ztst: Simplify '-N cond' test * 45424 (tweaked): Completion/Solaris/Command/_pfexec, Completion/Unix/Command/_doas, Completion/Unix/Command/_su, Completion/Unix/Command/_sudo, Completion/Zsh/Type/_command_names: Add **/sbin to PATH when completing commands like sudo 2020-03-10 Romain Porte * 45524: Completion/Debian/Command/_dscverify: Add completion for dscverify(1) from Debian's devscripts. 2020-03-09 Daniel Shahaf * 45518 + unposted tweak (change single quotes to double quotes): Test/V01zmodload.ztst: Fix V01zmotload.ztst test failures when zsh/parameter is dynamically linked (which is the default). 2020-03-07 Daniel Shahaf * unposted: README: Move a new incompatibility notice. * unposted: Test/V01zmodload.ztst: Fix trailing whitespace in test expectations. 2020-01-29 Daniel Shahaf * 45342: Test/V01zmodload.ztst: Add tests for interaction between autoloadable parameters and module loading. 2020-01-17 Daniel Shahaf * 45313: Completion/Unix/Command/_git: Support completion from outside of a worktree when --git-dir/--work-tree are specified on the command line 2020-01-16 Daniel Shahaf * 45304: Src/loop.c, Test/A01grammar.ztst: Do execute the always block even when the try/always block itself is the last command. 2020-01-15 dana * 45292: Test/D02glob.ztst: Add regression test for macOS stat(2) misbehaviour, now worked around by previous fix (see workers/42891) * Daniel: 45291: Src/glob.c, Test/D02glob.ztst: A glob with a trailing slash will now match unreadable/unexecutable directories. 2020-01-15 Daniel Shahaf * 45288: Completion/Unix/Command/_git: Complete bisect/new as well as bisect/bad. 2020-01-06 Daniel Shahaf * 45246: configure.ac: Make --disable-multibyte warn, since the test suite fails in that configuration. 2020-01-06 Daniel Shahaf * 45213: README, configure.ac: Make --enable-gdbm default to false, rather than default to true with an unavoidable warning. 2019-12-26 Daniel Shahaf * unposted (follow-up to 45131): Test/E02xtrace.ztst: Extra testing by Mikael * 45137: Src/Modules/zutil.c, Test/V13zformat.ztst: zformat: Allow the specifying minimum width and a dot with an empty maximum width. * 45138: Src/Modules/zutil.c, Test/V13zformat.ztst: Add zformat unit tests. * 45131: Src/exec.c, Test/E02xtrace.ztst: Make a function that redefines itself preserve its tracedness. 2020-03-06 Daniel Shahaf * unposted: Completion/BSD/Type/_obsd_architectures: Remove 'sgi', as that OpenBSD port has been discontinued. 2020-03-06 Jun-ichi Takimoto * 45509: Test/B01cd.ztst: Fix typos. * 45490 (+45495 and a test): .gitignore, Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c, Src/Builtins/rlimits.mdd, Test/B12limit.ztst, configure.ac: Refactor rlimits.c. 2020-03-05 Bryan Irvine * github #49: Completion/BSD/Type/_obsd_architectures: Fix typo: longson should be loongson 2020-02-27 Peter Stephenson * users/24710: Src/exec.c, Src/jobs.c, Src/signals.c: when using kill or killpg to test for continued existince of a process group, check errono is ESRCH on failure as EPERM indicates processes exist but under a different UID. 2020-02-27 Jun-ichi Takimoto * 45492: Test/D02glob.ztst: skip test added by users/24633 on Cygwin. 2020-02-25 Peter Stephenson * 45488: Marc Cornella: Completion/bashcompinit: Need "$@" quoting for empty words in COMP_WORDS for bash completion. 2020-02-24 Peter Stephenson * 45487: Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_move.c, Src/builtin.c, Src/compat.c, Src/utils.c: Add missing mod_export for AIX compilation. 2020-02-19 Daniel Shahaf * 45447: Completion/Zsh/Command/_zstyle, Completion/Zsh/Function/_vcs_info, Completion/Zsh/Type/_vcs_info_hooks: Complete vcs_info_hookadd and vcs_info_hookdel. Expose _vcs_info_hooks as a top-level helper function. 2020-02-18 Chris Down * 45463: Test/B11kill.ztst: test: kill: Document why we use SIGURG * 45453: Src/jobs.c, Test/B11kill.ztst: builtins: kill: Do not signal current process group when pid is empty * 45452: Test/B11kill.ztst: builtins: kill: Add `kill ''` regression test with explicit sigspec * 45451: Test/B11kill.ztst: builtins: kill: Add basic test suite 2020-02-17 brian m. carlson * github #48/0002: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: properly detect bare repositories * github #48/0001: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: avoid warnings in bare repositories 2020-02-14 dana * unposted: Config/version.mk: Post-release version bump * unposted: Config/version.mk: Update for 5.8 * Sam Foxman, Daniel Shahaf, dana: CVE-2019-20044: NEWS, README, Src/openssh_bsd_setres_id.c, Src/options.c, Src/zsh.mdd, Src/zsh_system.h, Test/E01options.ztst, Test/P01privileged.ztst, Test/README, configure.ac: Fix insecure dropping of privileges when unsetting PRIVILEGED option * unposted: Test/V01zmodload.ztst: Fix failing test from workers/45385 * 45423 (tweaked): Completion/Unix/Command/_su: Improve arg handling, shell look-ups 2020-02-07 dana * unposted: Completion/Unix/Command/_zip: Recognise '--' 2020-02-06 Daniel Shahaf * 45385: Test/V01zmodload.ztst: Add a test for 'zmodload -Fa' preemptively disabling ("blacklisting"?) features. 2020-02-06 dana * unposted: Config/version.mk: Update for 5.7.1-test-3 * Roman Perepelitsa: 45382: Src/Modules/system.c: Fix infinite loop in sysread * Martin von Wittich: 45388 (tweaked): Completion/Unix/Type/_diff_options: Restore -w completion lost in workers/43351 2020-02-03 Daniel Shahaf * 45368: Test/B01cd.ztst, Test/D02glob.ztst: Add tests for workers/45367's issue about double slashes in 'cd -P' and $PWD. 2020-02-02 Peter Stephenson * 45373: Src/loop.c, Test/C03traps.ztst: ERR_EXIT failed on command substitution in else branch. 2020-02-02 Daniel Shahaf * 45372: Etc/BUGS: Record a symlink loop bug involving :P 2020-02-02 WGH * 45365: Completion/Unix/Command/_git: Fix __git_recent_branches for the case when a commit has an empty message 2020-01-29 Daniel Shahaf * 45343: Src/exec.c, Src/math.c: Queue signals around arithmetic evaluations * 45344: INSTALL: Document where third-party completion functions should be installed. 2020-01-28 Daniel Shahaf * 45345: Util/ztst-syntax.vim: internal: ztst.vim: Fix highlighting of zsh comments in test payload 2020-01-26 Daniel Shahaf * unposted: Src/init.c: internal: Add some comments and fix indentation. No functional change. 2020-01-23 Daniel Shahaf * 45340: Src/params.c: internal: Document the difference between paramtab and realparamtab. 2020-01-19 Eitan Adler * 45332: Completion/Unix/Command/_git: add completion for git-version 2020-01-19 Mikael Magnusson * unposted: _brace_parameter: add missing \ 2020-01-16 Daniel Shahaf * 45305: Test/A01grammar.ztst: Add an XFail test: The exec-last-command optimization is applied to try/always. * 45307: Doc/Zsh/mod_zutil.yo: zstyle docs: Unoverload a placeholder variable name. * 45306: Doc/Zsh/mod_zutil.yo: zstyle docs: Introduce the first synopsis in the same way as all others: with an item()(). * unposted: Doc/Zsh/options.yo, Doc/Zsh/params.yo: docs: Fix a cross-reference. 2020-01-15 Daniel Shahaf * 45287: Doc/Zsh/expn.yo: zshexpn: Describe parameter elision and add some introductory prose * 45302: Src/builtin.c: bin_umask(): Queue signals around umask(). 2020-01-14 Daniel Shahaf * users/24656: Doc/Zsh/mod_zutil.yo: docs: Add an example of setting and querying zstyles 2020-01-14 Peter Stephenson * users/24659: Doc/Zsh/compsys.yo: Cross-reference use of matcher and matcher-list with tag-order. 2020-01-13 dana * 45296: Test/D02glob.ztst: Clean up after test from users/24633 2020-01-13 Daniel Shahaf * 45290: Test/list-XFails: New helper script for listing XFail tests. 2020-01-12 Daniel Shahaf * users/24633: Test/D02glob.ztst: Add an xfail test for users/24619. 2020-01-11 Oliver Kiddle * unposted: Completion/Unix/Command/_cat: additional typo fix * Eitan: 45280: Completion/Unix/Command/_git: add -local variants to completed date formats 2020-01-11 Peter Stephenson * users/24628 (fixed up): Doc/Zsh/contrib.yo: Add example of how to bind word matching widget with a fixed style. 2020-01-10 Daniel Shahaf * 45266: Completion/Linux/Command/_losetup: Fix losetup completion, broken in da085b7a20729401c725f91ae930200d0deda64f (41720). * unposted: Doc/Zsh/mod_zpty.yo: Fix punctuation. 2020-01-10 Jun-ichi Takimoto * 45264: configure.ac: use /dev/fd on Cygwin for process substitution 2020-01-09 Daniel Shahaf * unposted: Completion/Debian/Command/_sbuild, Completion/Unix/Command/_growisofs: Two additional typo fixes. 2020-01-09 Jens Schleusener * 45269: Completion/BSD/Command/_mixerctl, Completion/Darwin/Command/_fs_usage, Completion/Darwin/Type/_mac_files_for_application, Completion/Debian/Command/_sbuild, Completion/Linux/Command/_brctl, Completion/Linux/Command/_findmnt, Completion/Linux/Command/_ltrace, Completion/Mandriva/Command/_urpmi, Completion/Redhat/Command/_yum, Completion/Unix/Command/_attr, Completion/Unix/Command/_git, Completion/Unix/Command/_graphicsmagick, Completion/Unix/Command/_iconv, Completion/Unix/Command/_imagemagick, Completion/Unix/Command/_links, Completion/Unix/Command/_luarocks, Completion/Unix/Command/_objdump, Completion/Unix/Command/_od, Completion/Unix/Command/_pandoc, Completion/Unix/Command/_ping, Completion/Unix/Command/_pkg-config, Completion/Unix/Command/_postgresql, Completion/Unix/Command/_rubber, Completion/Unix/Command/_transmission, Completion/Unix/Type/_baudrates, Completion/Unix/Type/_path_files, Etc/FAQ.yo, Functions/Zftp/zfautocheck, Misc/c2z, Src/Modules/curses.c, Src/Modules/db_gdbm.c, Src/Modules/parameter.c, Src/Zle/comp.h, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complete.c, Src/Zle/compresult.c, Src/Zle/computil.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_refresh.c, Src/pattern.c, Src/zsh.h, Src/ztype.h, Test/B01cd.ztst, Test/D04parameter.ztst: Fix misspellings in completions and elsewhere. 2020-01-08 Mikael Magnusson * 45272, 45273: Fix more typos. 2020-01-08 dana * 45261: Completion/Unix/Command/_gcc: Detect clang-as-gcc 2020-01-07 Daniel Shahaf * unposted: Test/X04zlehighlight.ztst: internal: Remove Vim modeline that interferes with ztst.vim. * unposted: Util/ztst-syntax.vim: internal: ztst.vim: Use :syn-sync to work around (#x) and "`\\\\\\\\`" confusing the highlighting. * unposted: Util/zyodl.vim: internal: zyodl.vim: Support glob qualifiers in example()'s * unposted: Util/zyodl.vim: internal: zyodl.vim: Support yodl comments. 2020-01-07 Damien Thébault * github #44: Completion/Unix/Command/_picocom: Allow completion for picocom to list symlinks to character devices 2020-01-06 dana * Eitan Adler: 45245: Completion/Unix/Command/_gcc: add some clang specific warnings 2020-01-06 Daniel Shahaf * 45231: Completion/Unix/Command/_rsync: When completing remote modules, ignore more of the motd. 2020-01-05 dana * unposted: Completion/Unix/Command/_tac: Eliminate superfluous variable * 45226 (with Daniel, 45223): Completion/Unix/Command/_man: Improve completion of file paths * 45184: Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo: Clarify documentation of %-sequences understood by compadd -[Xx] 2020-01-05 Andrey Butirsky * 45239: Functions/Newuser/zsh-newuser-install: Remove 'appendhistory' from zsh-newuser-install 2020-01-03 Oliver Kiddle * 45218: Completion/Unix/Command/_swaks: add more options * 45196: Completion/Unix/Command/_make: fix completion after make -C, allowing for -C being used multiple times 2020-01-02 Daniel Shahaf * unposted (after 45183): Doc/Zsh/contrib.yo: Fix yodl error: "contrib.yo:4457: No macro: back(...)". * 45181: Src/glob.c, Test/D04parameter.ztst: Fix workers/45164: ${(S)%%} will now consider the empty string as a potential match. 2020-01-01 dana * Stephane: 45183: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo: Improve documentation examples 2020-01-01 Daniel Shahaf * unposted: Test/D04parameter.ztst: Add some tests for ${(S)}, including a regression test for workers/45164. * 45169/0002 (tweaked for trailing newlines): Etc/BUGS, Test/C03traps.ztst: Add an expected-to-fail test for workers/44007. * 45169/0001: Test/B01cd.ztst, Test/ztst.zsh, Util/ztst-syntax.vim: In the test suite, allow test cases to be marked as expected to fail. 2019-12-31 Daniel Shahaf * users/24582 + users/24583: Test/D04parameter.ztst, Test/Y01completion.ztst: Add regression tests for the previous commit. 2019-12-30 Peter Stephenson * users/24581: Src/Zle/zle_tricky.c, Src/hist.c: Array assignments after the first weren't parsed correctly by ${(z)...} or by completion. 2019-12-31 Daniel Shahaf * 45160: Doc/Zsh/expn.yo: zshexpn: Expand documentation of (S) 2019-12-28 Sebastian Gniazdowski * 45150 + 45152: Doc/Zsh/expn.yo: zshexpn: Use a more minimal example in the documentation of (#b). 2019-12-27 Daniel Shahaf * unposted: Test/B01cd.ztst, Util/ztst-ftplugin.vim, Util/ztst-syntax.vim: internal: Vim ztst support: Add an ftplugin in addition to the syntax highlighter. 2019-12-26 dana * 45130: Completion/Base/Utility/_multi_parts: Always pass -f to compadd if given by caller * unposted: Src/utils.c: Fix macro guard missed in previous commit 2019-12-26 Daniel Shahaf * unposted: Src/utils.c: internal: Allow %L in zerrmsg() in non-debug builds, too. 2019-12-23 Daniel Shahaf * unposted: Completion/Unix/Command/_stdbuf: Fix mismatch between the long options on the one hand, and the short options and descriptions on the other hand. 2019-12-22 Daniel Shahaf * unposted: Test/B01cd.ztst, Util/ztst.vim: Fix broken build: 45109 (!) broke Test/Y01completion.ztst. * 45110: Doc/Zsh/grammar.yo: zshmisc(1): Fix markup of "try-list" and "always-list". * 45111: Doc/Zsh/grammar.yo, Etc/BUGS, NEWS, Test/A01grammar.ztst: zshmisc(1): Clarify the documentation of 'return' and 'exit' in conjunction with try/always * 45112: Doc/Zsh/mod_zutil.yo: zshmodules: Explicitly document the return values of the 'zstyle' getters -s, -b, and -a. * 45113: Doc/Zsh/contrib.yo: vcs_info docs: Clarify documentation of the %p/%u/%a patch-format expandos. * 45114: Functions/VCS_Info/VCS_INFO_patch2subject: vcs_info quilt: Improve support for svn-style patch headers. * 45115: Misc/vcs_info-examples: vcs_info examples: Make the quilt-patch-dir example friendlier. * 45116: Misc/vcs_info-examples: vcs_info examples: Add an example of showing Git environment variables. * 45107: Test/ztst.vim: Highlight some more special variables * 45108: Test/ztst.vim: Conceal the '>' or '?' on pattern expected output / expected errput lines. * 45109: Test/B01cd.ztst, Test/ztst.vim, Util/zyodl.vim: Add Vim highlighting file for Test/*.ztst files. 2019-12-21 dana * unposted: Config/version.mk: Update for 5.7.1-test-2 * 45101: Etc/creating-a-release.txt: Adjust white space * 45101 (tweaked per 45104): Etc/creating-a-release.txt: Document new dev/test versioning scheme, clarify other release steps. New versioning scheme not to be used until after 5.8 2019-12-21 Daniel Shahaf * unposted: Test/A01grammar.ztst: Group related tests. No functional change. * unposted: Etc/BUGS: Add two bugs discussed on -workers@ this week 2019-12-20 dana * 45055: Doc/Zsh/compsys.yo: Clarify _files documentation 2019-12-18 Peter Stephenson * 45083: Src/exec.c: execarith() needs signal protection as it sets variables. 2019-12-18 Daniel Shahaf * 45076: Src/loop.c: internal: Simplify handling of try_tryflag. No functional change. * 45066: Src/builtin.c, Src/exec.c, Src/params.c: internal: Document forklevel, locallevel, and exit_pending. * 45065: Src/Makefile.in: Make 'make -s' print nothing when it does nothing. * 45064: Src/utils.c: Fix the mktemp() warning, in debug builds only. * 45073: Doc/Zsh/contrib.yo: regex-replace docs: Simplify grammar (avoid a double negative, state defaults first). 2019-12-17 Daniel Shahaf * 45058: Src/Modules/zpty.c, Src/Zle/zle_main.c, Src/builtin.c, Src/exec.c, Src/init.c, Src/signals.c, Src/subst.c, Src/zsh.h: internal: Add symbolic names to possible values of zexit()'s "from_where" parameter. No functional change. * unposted: Src/builtin.c: Update comment to reflect variable rename in 41012 (zsh-5.3.1-182-gd7110d8f0). 2019-12-16 Oliver Kiddle * 44698, 45000: Baptiste BEAUPLAT: Completion for sbuild * github #36: Aurélien Olivier: Add completion file for GNU Stow * 45035: Doc/Zsh/zle.yo: be explicit about the need for a # in colours specified as hex triplets 2019-12-15 Peter Stephenson * 45025: Src/exec.c: fix re-entrancy problem with memory management in readoutput(). This could cause a signal received during $(...) to corrupt memory. 2019-12-14 dana * unposted: Config/version.mk, Etc/FAQ.yo, README: Update for 5.7.1-test-1 2019-12-12 Peter Stephenson * Martijn: 45009: Src/builtin.c, Doc/Zsh/builtins.yo, Doc/Zsh/options.yo: POSIX_CD needs to suppress special use of options so that POSIX-allowed argument forms work as expected. * 45001: Src/glob.c, Test/D04parameter.ztst: ${...%...} didn't test for zero-length matches, which should be preferred where possible. 2019-12-11 Martijn Dekker * 45004: Src/builtin.c, Src/compat.c, Src/exec.c, Src/glob.c, Src/hashtable.c, Src/hist.c, Src/init.c, Src/jobs.c, Src/lex.c, Src/main.c, Src/mem.c, Src/module.c, Src/params.c, Src/parse.c, Src/pattern.c, Src/prompt.c, Src/subst.c, Src/text.c, Src/watch.c, Src/zsh.h, Test/A02alias.ztst, Test/C01arith.ztst, Test/C02cond.ztst, Test/D03procsubst.ztst, Test/D06subscript.ztst, Test/D08cmdsubst.ztst, Test/E01options.ztst, Test/V10private.ztst: Fix typos in comments * 45003: Etc/FAQ.yo, Etc/zsh-development-guide, Functions/Prompts/prompt_oliver_setup, Functions/Zle/insert-composed-char, NEWS, README: Fix more documentation typos 2019-12-10 Peter Stephenson * 44997: Src/Zle/compctl.c: prefix needed extra munging for hyphen with GLOB_COMPLETE in compctl. 2019-12-04 Oliver Kiddle * 44976: Src/Zle/zle_main.c: describe-key-briefly in visual mode * Sebastian: 44970: Completion/Zsh/Context/_brace_parameter: Update the description of S flag 2019-12-04 Martijn Dekker * 44981: Doc/Zsh/cond.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/mod_mapfile.yo, Doc/Zsh/mod_parameter.yo, Doc/Zsh/params.yo, Doc/intro.ms: Fix some typos in the documentation. 2019-12-03 Daniel Shahaf * 44960: Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs: vcs_info cvs: Fix infinite loop when /CVS exists. * 44961: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn: vcs_info svn: Fix infinite loop when /.svn exists. * 44962: Functions/VCS_Info/VCS_INFO_bydir_detect, Functions/VCS_Info/vcs_info: vcs_info: Document internal function and variable * 44964: Doc/Zsh/redirect.yo: zshmisc(1): Document APPEND_CREATE under the append redirection operators, >> and >>!. 2019-12-02 dana * 44969: Etc/completion-style-guide: Mention defaults and superfluous descriptions * unposted (cf. 44967): Completion/Linux/Command/_alsa-utils: Fix minor syntax error in arg spec 2019-12-02 Daniel Shahaf * unposted: Misc/vcs_info-examples: vcs_info: Add an example of using $functions to find hooks by name. 2019-12-01 Oliver Kiddle * unposted: Completion/Unix/Command/_killall: another place to complete selinux contexts that was missed in 44781 * 44968: Completion/Unix/Command/_objdump, Completion/Unix/Command/_readelf: cleanup and update objdump and readelf completions * Sebastian: 44967: Completion/Linux/Command/_alsa-utils: Completion for aplay from alsa-utils 2019-12-01 Daniel Shahaf * unposted: Src/Modules/zutil.c, Test/V05styles.ztst: zstyle: Add a unit test and some comments. * unposted: Completion/Unix/Command/_sqlite: Fix syntax error 2019-11-30 Daniel Shahaf * 44958: Functions/VCS_Info/VCS_INFO_quilt, README: vcs_info quilt: Avoid forks * 44945: Functions/VCS_Info/Backends/VCS_INFO_detect_git: vcs_info git: Optimize detection by running fewer external commands. 2019-11-29 Daniel Shahaf * 44948: Completion/Unix/Command/_subversion: Make _svn_controlled offer everything rather than nothing. * 44947: Completion/Unix/Command/_subversion: Complete the 'auth', 'changelist', 'patch', 'resolve', and 'x-unshelve' subcommands. * 44946: Completion/Unix/Command/_subversion: Make _svn_conflicts not offer all files in the directory. 2019-11-26 Wayne Davison * 44912: Completion/Base/Completer/_expand: Don't set done_quote=1 if the glob result is empty. Fixes more cases of missing quotes. 2019-11-24 Oliver Kiddle * 44923: Completion/Unix/Command/_git: update options for 2.24 * 44896: Completion/Unix/Command/_make: use opt_args to find base directory and use it for $(CURDIR) 2019-11-19 Daniel Shahaf * users/24451: Src/compat.c: zgetcwd: Add a guard against returning an empty string. * unposted: Test/W01history.ztst: Add smoke test for :P history modifier. 2019-11-18 Peter Stephenson * users/24445: Src/hist.c: Add missing support for :P to history code (was already present in glob qualifiers and variables). 2019-11-11 skirit * unposted (salsa.debian.org MR!1): Completion/Unix/Command/_ip: Complete the -brief option 2019-11-08 Daniel Shahaf * unposted: Doc/Zsh/compsys.yo: _values: Use the formal parameter's name in the docstring. 2019-11-07 Daniel Shahaf * 44897: Completion/Unix/Command/_subversion: Complete --show-item=changelist 2019-11-06 Oliver Kiddle * 44895: Completion/Solaris/Command/_svccfg: complete options for state change notifications and other improvements * Eitan Adler: 44882: Completion/Unix/Command/_gcc: add completion of -save-stats flag * unposted: Completion/Base/Utility/_sequence: fix missing local declarations 2019-10-29 Oliver Kiddle * github #41: Sebastian: Extend _dbus with dbus-launch completion * unposted: Completion/Unix/Command/_zfs: tweak to check for openzfs rather than Solaris * github #40: Teddy Heinen: Completion/Unix/Command/_zfs: adjust zfs completion to use acltype on linux instead of aclmode 2019-10-28 Peter Stephenson * 44864: Src/jobs.c: Avoid infinite loop in interactive mode when trying to grab terminal. Fail after 100 goes (arbitrary choice). * Sebastian: 44865: configure.ac: Try harder to link in curses even if not needed for termcap variables. 2019-10-18 dana * 44846: Completion/Unix/Type/_dates: Fix regression caused by workers/44274 2019-10-18 Oliver Kiddle * c.f. 44831: Completion/Linux/Command/_tpconfig, Completion/Unix/Command/_elm, Completion/Unix/Command/_flasher, Completion/Unix/Command/_prcs, Completion/Unix/Command/_raggle, Completion/Unix/Command/_uzbl, Completion/Unix/Command/_vux, Completion/Unix/Command/_sablotron: remove completion functions for long dead projects * c.f. 44831: Completion/Unix/Command/_notmuch, Completion/Unix/Command/_hg, Completion/X/Command/_zathura: remove completion functions included in upstream projects * 44849: Completion/Unix/Command/_dhclient, Completion/Unix/Command/_date, Completion/Unix/Command/_grep, Completion/Unix/Command/_ssh, Completion/BSD/Command/_vmctl: completion updates for changes in OpenBSD 6.6 2019-10-16 Peter Stephenson * _RuRo_ (Андрей Стоцкий): 44841: Src/exec.c: Better error checking of nice, since return value can be negative. 2019-10-14 Daniel Shahaf * 44812: Completion/Unix/Command/_subversion: Fix syntax error in 44726/0001 * 44809: Completion/Zsh/Command/_typeset: Complete 'functions -c' 2019-10-12 dana * 44767: Completion/Base/Core/_description: Ignore -J * 44681 (tweaked): Completion/Unix/Command/_composer: Eliminate questionable eval, fix quoting issue 2019-10-10 Daniel Shahaf * unposted: Src/builtin.c: functions -c: Fix typo 2019-10-04 Roman Perepelitsa * 44784: Src/Zle/zle_main.c: Fix infinite loop when TTY disappears 2019-10-02 Daniel Shahaf * 44797: Completion/Unix/Command/_git: _git-config: Complete unknown options from 'git help -c'. 2019-10-01 Oliver Kiddle * 44800: Completion/Unix/Command/_tmux: complete tmux formats * 44799: Completion/Unix/Command/_pv: new pv completion * 44798: Completion/Unix/Command/_netstat, Completion/Linux/Command/_strace, Completion/X/Command/_xterm Completion/Linux/Command/_kpartx, Completion/Linux/Command/_ss, Completion/Linux/Command/_btrfs, Completion/X/Command/_xrandr, Completion/Unix/Command/_gnutls, Completion/Unix/Command/_make, Completion/Unix/Command/_xargs, Completion/Unix/Type/_ld_debug: completion option update 2019-09-30 Oliver Kiddle * 44783, 44791: Completion/Solaris/Command/_dladm, Completion/Unix/Command/_dsh, Completion/Unix/Command/_ssh, Completion/Unix/Command/_ansible: mark some repeatable options with * in the _arguments specs * 44788: Completion/Redhat/Command/_rpm: handle newer rpm commands like rpmkeys, rpmsign and update options 2019-09-26 Oliver Kiddle * 44782: Completion/BSD/Command/_pkgin, Completion/Unix/Command/_avahi: new completions * Gautam Iyer: gitlab !9: Completion/Unix/Command/_seafile: Rudimentary seafile client completion * Doron Behar: gitlab !11: Completion/Unix/Command/_luarocks: Fix/improve logic of cache validation * 44781: Completion/Linux/Type/_selinux_contexts, Completion/Linux/Type/_selinux_roles, Completion/Linux/Type/_selinux_types, Completion/Linux/Type/_selinux_users, Completion/Linux/Command/_chcon, Completion/Unix/Command/_cp, Completion/Unix/Command/_find, Completion/Unix/Command/_install, Completion/Unix/Command/_mkdir, Completion/Unix/Command/_mkfifo, Completion/Unix/Command/_mknod, Completion/Unix/Command/_sudo: add completion of SELinux contexts * 44780: Completion/Unix/Command/_getent: add completion to getent for the utmpx key on FreeBSD. * 44779: Completion/Unix/Command/_git: completion for new git switch and git restore commands 2019-09-24 Bart Schaefer * unposted (see 44772): Functions/Zle/bracketed-paste-magic: quote the string argument to zle -U 2019-09-20 Jun-ichi Takimoto * 44768: Completion/Unix/Command/_tar: improve completion of long options 2019-09-18 Tobias Schulte * github #38: Completion/Unix/Command/_git: fix completion text for git update-index --chmod 2019-09-06 Daniel Hahler * 44722: Completion/Unix/Command/_make: use --always-make instead of .PHONY for GNU make. 2019-09-04 Daniel Shahaf * 44726/0002: Completion/Unix/Command/_subversion: Update --show-item= completion to 1.12.0. * 44726/0001: Completion/Unix/Command/_subversion: Use 'svn help -v' to show global options, experimental options, and experimental subcommands (upstream issue SVN-4828, to be released in Subversion 1.13.0) 2019-09-04 Ned Batchelder * github #37: Doc/Zsh/builtins.yo: Make it easier to understand what "fc -e" does. 2019-08-29 Jun-ichi Takimoto * 44714 (tweaked): Src/utils.c: Take account of CDABLE_VARS while checking spelling 2019-08-28 Jun-ichi Takimoto * 44710: Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c, configure.ac: support RLIMIT_UMTXP on FreeBSD * 44709: Src/zsh_system.h: incluce sys/capability.h only if HAVE_CAP_GET_PROC is defined 2019-08-27 Peter Stephenson * Sebastian: 44712: configure.ac: prefer any form of ncurses to other terminal library as we rely on its features to provide modules. 2019-08-19 Oliver Kiddle * 44614: Completion/Debian/Command/_apt: apt list option completion * Lajos Koszti: 44633: Completion/Unix/Command/_ansible: complete ansible-vault actions like create, edit, etc. * 44587: Completion/Linux/Command/_btrfs, Completion/Linux/Command/_networkmanager, Completion/Linux/Command/_ss, Completion/Linux/Command/_sshfs, Completion/Linux/Command/_strace, Completion/Unix/Command/_ansible, Completion/Unix/Command/_awk, Completion/Unix/Command/_gcore, Completion/Unix/Command/_gnutls, Completion/Unix/Command/_ifconfig, Completion/Unix/Command/_less, Completion/Unix/Command/_ln, Completion/Unix/Command/_lsof, Completion/Unix/Command/_mpc, Completion/Unix/Command/_rclone, Completion/Unix/Command/_sqlite, Completion/Unix/Command/_tmux: completion option updates 2019-08-17 dana * 44675: Completion/Unix/Command/_find: Fix return status * unposted: NEWS: Mention `functions -c` 2019-08-14 Peter Stephenson * 44664: Src/params.c, Test/D04parameter.ztst: Ensure temporary assignment around builtin in function doesn't trash global variable. 2019-08-03 Peter Stephenson * 44635: Src/exec.c: don't apply STAT_NOPRINT to backgrounded jobs. 2019-08-03 Peter Stephenson * 44637: Shlomi Fish: Src/makepro.awk: "=" doesn't need quoting in awk regexp and can cause warnings. 2019-07-30 Peter Stephenson * Eric Cook: 24102: Completion/Unix/Command/_user_admin: subuids / subgids completion. 2019-07-26 Peter Stephenson * Kamil: 44582: Src/Zle/zle_utils.c: update to foregoing to use DPUTS() properly. 2019-07-24 Peter Stephenson * Kamil: 44566: Src/Zle/zle_utils.c: make failed searches of history in Zle robust. 2019-07-19 Oliver Kiddle * 44356: Completion/Unix/Command/_ansible: complete ansible callback plugins for the relevant environment variable's value * 44551: Completion/Unix/Command/_git: update for new git changes 2019-07-16 Peter Stephenson * 44523: Test/Makefile.in: allow ZTST_handler to be something other than runtests.zsh to accommodate alternative test modes. 2019-07-15 Peter Stephenson * 44509: Src/params.c: Prevent crash with modified PATH / path combination in function. 2019-07-10 Peter Stephenson * 44505: Functions/Chpwd/zsh_directory_name_generic: Longest prefix matching was broken if there were suffixes indicating further handling. 2019-07-09 Peter Stephenson * unposted: Etc/FAQ.yo: typo. also updates to outdated notes on multibyte support. 2019-07-08 Bart Schaefer * 43755: Functions/Zle/smart-insert-last-word: (Belated commit) Fix state management for repeat uses to avoid clobbering command line when NOT a repeat * 44502: Src/builtin.c: Quote function name for "autoload -X" * 44495: Doc/Zsh/params.yo: Mention coproc under $! 2019-07-08 Peter Stephenson * users/24030: Etc/FAQ.yo: Note that *.{bla,hbl,ahb} is an expansion, not a pattern match, and what to do instead. 2019-07-02 Peter Stephenson * 44480: Doc/Zsh/mod_socket.yo, Doc/Zsh/mod_system.yo, Doc/Zsh/redirect.yo, Src/Modules/system.c, Src/exec.c: Don't automatically close FDT_EXTERNAL file descriptors. All sysopen-created fd's become FDT_EXTERNAL. =(...) calls closem() consistent with other substitutions. 2019-07-01 Peter Stephenson * Martijn: 44469: Src/builtin.c, Test/B10getopts.ztst: correct error on missing option argument. 2019-06-24 Peter Stephenson * 44446: Src/parse.c, Test/A04redirect.ztst: fix here document with file descriptor declarator. 2019-06-23 Peter Stephenson * Martijn: 44443: Src/builtin.c: POSIX allows exporting readonly variables. 2019-06-20 Peter Stephenson * 44435: Doc/Zsh/expn.yo, NEWS, README, Src/Zle/compctl.c, Src/glob.c, Src/hist.c, Src/subst.c, Test/D02glob.ztst, Test/D04parameter.ztst, Test/W01history.ztst: Handle trailing digit arguments of :t and :h modifiers. 2019-06-19 Peter Stephenson * Roman Perepelitsa: 44430: Src/prompt.c: various problems with countprompt() including wide characters, split tabs and trailing Meta characters. 2019-06-10 Peter Stephenson * Eitan Adler: 44409: config.guess, config.sub: update to 2019-05-28. 2019-06-06 Peter Stephenson * Stephane (44387, edited): Doc/Zsh/restricted.yo: Describe some problems with restricted mode. 2019-06-03 Jun-ichi Takimoto * 44389: Completion/BSD/Type/_bsd_disks, Completion/BSD/Type/_fbsd_device_types, Completion/Unix/Command/_iostat, Completion/Unix/Command/_vmstat: update _iostat and _vmstat for BSD 2019-05-28 Peter Stephenson * 44361: Src/pattern.c: Ensure variables used recursively are initialised in pattern matching. 2019-05-28 Peter Stephenson * Jim Murphy: 44364: Doc/Zsh/intro.yo: refer to main zsh page in zshall doc. 2019-05-23 Oliver Kiddle * unposted: Completion/Linux/Command/_iptables: remove spurious reference to nonexistent completion function * 44349: Completion/Linux/Command/_cryptsetup, Completion/X/Command/_x_utils, Completion/Linux/Command/_lsblk, Completion/Linux/Command/_ss, Completion/Linux/Command/_valgrind, Completion/Linux/Command/_strace, Completion/Unix/Command/_bash, Completion/Unix/Command/_dhclient, Completion/Unix/Command/_dig, Completion/Unix/Command/_entr, Completion/Unix/Command/_env, Completion/Unix/Command/_gem, Completion/Unix/Command/_gnutls, Completion/Unix/Command/_links, Completion/Unix/Command/_nm, Completion/Unix/Command/_objdump, Completion/Unix/Command/_ruby, Completion/Unix/Command/_sed, Completion/Unix/Command/_sqlite, Completion/Unix/Command/_ssh, Completion/Unix/Command/_tiff, Completion/Unix/Command/_tree, Completion/Unix/Command/_wget, Completion/Linux/Command/_ethtool: completion option updates * 44345: Src/text.c, Test/A01grammar.ztst: fix wordcode traversal where ! without a following command could result in a crash 2019-05-20 Oliver Kiddle * 44307: Src/exec.c, Src/init.c, Src/params.c, Src/utils.c: allow for atoi() returning a negative number * 44308: Completion/Linux/Command/_modutils: update Linux modutils completion 2019-05-14 Oliver Kiddle * 44284: Src/builtin.c: combination of -T and -p to typeset crashed the shell. * 44290: Src/jobs.c: job number exceeding int range and wrapping to a negative number crashed the shell. * 44291: Src/builtin.c: printf with argument specifier out of range for an int crashed the shell. 2019-05-14 Peter Stephenson * 44296: Src/parse.c, Test/B02typeset.ztst: "typeset Q= {X}" crashed the shell. 2019-05-13 Peter Stephenson * 44259: Src/signals.c: Ensure we can set signal to default even if it was ignored on entry to the shell. 2019-05-08 Oliver Kiddle * 44279: Completion/BSD/Command/_cu, Completion/BSD/Command/_gstat, Completion/BSD/Command/_procstat, Completion/BSD/Command/_signify, Completion/BSD/Command/_sockstat, Completion/BSD/Command/_vmctl, Completion/Unix/Command/_arp, Completion/Unix/Command/_arping, Completion/Unix/Command/_cp, Completion/Unix/Command/_date, Completion/Unix/Command/_gcore, Completion/Unix/Command/_install, Completion/Unix/Command/_ls, Completion/Unix/Command/_netstat, Completion/Unix/Command/_ping, Completion/Unix/Command/_script, Completion/Unix/Command/_tcpdump, Completion/Unix/Command/_top, Completion/Unix/Command/_vmstat, Completion/Unix/Command/_zpool: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5 2019-05-08 dana * unposted: Test/Y01completion.ztst: Fix bad encoding * Oliver Kiddle: unposted: Test/Y01completion.ztst: Add compset tests related to workers/44275 * 44275: Doc/Zsh/compwid.yo, Src/Zle/complete.c: Fix compset -p/-s multibyte inconsistency and documentation 2019-05-07 Oliver Kiddle * 44274: Completion/Base/Core/_description, Completion/Base/Utility/_describe, Completion/Base/Utility/_guard, Completion/Base/Utility/_multi_parts, Completion/Base/Utility/_sep_parts, Completion/Base/Utility/_sequence, Completion/Zsh/Command/_compadd, Completion/Darwin/Type/_mac_files_for_application, Completion/Redhat/Command/_yum, Completion/Unix/Command/_git, Completion/Unix/Type/_canonical_paths, Completion/Unix/Type/_baudrates, Completion/Unix/Type/_files, Completion/Unix/Type/_list_files, Completion/Unix/Type/_path_files, Completion/Zsh/Type/_file_descriptors, Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, NEWS, Src/Zle/comp.h, Src/Zle/compcore.c, Src/Zle/complete.c: allow finer control of completion match sorting with arguments to compadd's -o option * Gautam Iyer: gitlab !6: Completion/Unix/Command/_rclone: Rudimentary rclone completion 2019-05-06 Oliver Kiddle * Gautam Iyer: gitlab !7: Completion/Unix/Command/_lp, Completion/X/Command/_gv: Minor fixes to lp and gv completion * Doron Behar: gitlab !8: Completion/Unix/Command/_luarocks: Support completion of installed lua rocks' versions * Doron Behar: gitlab !4: Completion/Unix/Command/_pandoc: Add pandoc completion * Doron Behar: gitlab !3: Completion/Unix/Command/_transmission: Transmission remote completion * Aurélien Olivier: github #33: Completion/Unix/Command/_myrepos: Add completion file for myrepos (mr) * Laurent Arnoud: github #35: Completion/Unix/Command/_gem: fix _arguments spec for gem push completion (tweaked) 2019-05-03 dana * 44267: Src/sort.c, Test/Y01completion.ztst: Restore option to ignore backslashes when sorting 2019-05-03 Peter Stephenson * 44271: Src/loop.c, Test/A01grammar.ztst: until with positive and while with negative status propagated breaks too far after a return, causing code in enclosing scope not to run. 2019-04-26 dana * 44234: Completion/Unix/Command/_ssh: Update for OpenSSH 8.0 * 44249: Completion/Unix/Command/_mv, Completion/Unix/Command/_rmdir, Completion/Unix/Type/_directories: Handle zsh/files built-ins in _mv and _rmdir * 44250: Completion/Unix/Command/_chmod, Completion/Unix/Command/_chown, Completion/Unix/Command/_ln, Completion/Unix/Command/_mkdir, Completion/Unix/Command/_mv, Completion/Unix/Command/_rm, Completion/Unix/Command/_rmdir: Fix use of -A and -S options to _arguments * 44251: Completion/Unix/Command/_chmod, Completion/Unix/Command/_chown, Completion/Unix/Command/_mkdir, Completion/Unix/Command/_mv, Completion/Unix/Command/_rmdir: Fix various wording issues 2019-04-25 Peter Stephenson * 44248: Src/init.c: Mark SIGQUIT as ignored if ignored at shell start, so we don't enable it after a fork. 2019-04-25 Peter Stephenson * 44254: Src/compat.c: make quite sure we've reached "/" in zgetdir(), else report an error. 2019-04-22 Matthew Martin * unposted: Completion/Base/Utility/_pick_variant: Use ${(P) ::= rather than eval. * 44242: Completion/Unix/Command/_chown, Completion/Unix/Command/_ln, Completion/Unix/Command/_mv, Completion/Unix/Command/_rm, Completion/Unix/Command/_rmdir: Use _pick_variant -b to detect builtins. 2019-04-18 Mikael Magnusson * dana: 43288: Src/prompt.c: fix line-broken prompts 2019-04-12 dana * unposted: NEWS: Document recent feature additions * 44198: Doc/Zsh/options.yo, Src/builtin.c, Src/options.c, Src/zsh.h: Add cd_silent option to suppress all cd output 2019-04-10 Peter Stephenson * Eric Freese: 44214: Src/exec.c: <(...) substitutions shouldn't grab the terminal. * Roman Perepelitsa: 44215: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c: Maintain LASTWIDGET across reset-prompt, avoiding side effects of asynchronous notifications. * 44202: Src/Zle/compctl.c: Rewrite to use memmove() for possibly overlapping copy. 2019-04-10 Jun-ichi Takimoto * 44210: Completion/Linux/Command/_findmnt, Completion/Linux/Command/_lsblk: Add _findmnt and update _lsblk. 2019-04-04 Matthew Martin * 44202 (tweaked): Completion/Base/Core/_normal, Doc/Zsh/compsys.yo: Add -P to reset precommands. * 44201: Completion/Base/Core/_main_complete, Completion/Base/Utility/_pick_variant, Completion/Linux/Command/_setsid, Completion/Zsh/Command/_command, Completion/Zsh/Type/_command_names: Check for external forcing precommand. * 44200 (tweaked): Completion/Base/Core/_normal, Completion/Linux/Command/_setsid, Completion/Zsh/Command/_builtin, Completion/Zsh/Command/_command, Completion/Zsh/Command/_exec, Completion/Zsh/Command/_precommand, Doc/Zsh/compsys.yo: Append to precommands in _normal. * 44199: Completion/Base/Core/_normal: Use zparseopts. 2019-04-01 dana * 44158 (tweaked): Completion/Unix/Command/_postgresql: Add completion for PostgreSQL 2019-03-27 Peter Stephenson * 44168 (tweaked to remove modification to errflag): Src/Zle/zle_main.c: Ignore bad return if errno EINTR as this is recoverable. g 2019-03-25 dana * 44160 (tweaked): Completion/Debian/Command/_apt, Completion/Debian/Command/_apt-file, Completion/Debian/Command/_debdiff, Completion/Debian/Command/_dpkg, Completion/Debian/Command/_lintian, Completion/Debian/Command/_piuparts, Completion/Debian/Type/_deb_files: Add _deb_files helper with support for *.ddeb, use it where applicable 2019-03-25 Jun-ichi Takimoto * 44176: Src/Modules/zftp.c: warn only if off_t is longer than long * Wesley Schwengle: 44162 (tweaked): Src/Modules/zftp.c: Avoid format-overflow warning by using ztrftime() * Wesley Schwengle: 44164: Src/params.c: Avoid stringop-truncation warning by replacing strncpy() by memcpy() 2019-03-24 dana * unposted: Completion/Unix/Command/_chmod: Adjust _guard pattern 2019-03-22 dana * unposted: Completion/Unix/Command/_chmod: Use _guard for mode operand * Clinton Bunch: 44156 (tweaked): Doc/Zsh/mod_system.yo: Add note about potential flock side-effects 2019-03-22 Jun-ichi Takimoto * 44147: Completion/Linux/Command/_free, Completion/Linux/Command/_pmap, Completion/Linux/Command/_slabtop, Completion/Linux/Command/_tload, Completion/Unix/Command/_top, Completion/Unix/Type/_pids: add/update completions for procps-ng. 2019-03-21 Matthew Martin * 44153: Doc/Zsh/mod_files.yo, Src/Modules/files.c: rm: Accept -R as equivalent to -r. * 44149: Completion/Unix/Command/_mkdir, Completion/Unix/Command/_stat: Use _pick_variant -b. * 44144: Completion/Zsh/Command/_builtin: Append "builtin" to precommands. * 44155: Completion/Base/Utility/_pick_variant: Update builtin check. 2019-03-21 dana * 44111: Completion/Unix/Command/_git: Use `git rev-list` for log messages 2019-03-19 Peter Stephenson * unposted: Make the doc change in the foregoing clearer. * Charles Blake: 44132: Src/exec.c, Doc/Zsh/builtins.yo: don't hash commands beginning with a '/'. * 44142: Src/hist.c: fix bug stripping spaces on line with only comment. 2019-03-18 Matthew Martin * 44135: Completion/Unix/Command/_chmod, Doc/Zsh/mod_files.yo, Src/Modules/files.c: Add chmod builtin. 2019-03-15 Jun-ichi Takimoto * 44118: configure.ac: use /usr/include/tirpc/ if headers for RPC is not found in the standard location. 2019-03-14 Peter Stephenson * Kamil: 44122: Src/parse.c: turn an int into a long to avoid overflow. 2019-03-12 dana * 44100: Completion/Zsh/Command/_zparseopts, Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c, Test/V12zparseopts.ztst: Add `zparseopts -F`, completion, tests, documentation 2019-03-08 Jun-ichi Takimoto * 44101: Completion/Unix/Command/_vim: better support for nvim 2019-03-06 dana * unposted: Completion/Zsh/Command/_zftp: Use 'post' pattern matching to avoid clobbering other functions * 44099: Completion/Darwin/Command/_trash: Add completion for macOS trash utility 2019-03-01 Jun-ichi Takimoto * unposted: Test/ztst.zsh: fix a typo 2019-02-27 dana * 44087: Completion/Unix/Command/_getconf: Complete options, complete config variables on more systems * 44090 (re: 44085): Completion/Unix/Type/_remote_files: Don't set QUOTING_STYLE -- syntax incompatible with some shells 2019-02-26 dana * 44085: Completion/Unix/Type/_remote_files: Prevent ls/alias settings from mangling file listings * 44080: Completion/BSD/Command/_bsd_pkg, Completion/BSD/Command/_fetch, Completion/Darwin/Command/_hdiutil, Completion/Darwin/Command/_otool, Completion/Darwin/Command/_sc_usage, Completion/Debian/Command/_aptitude, Completion/Debian/Command/_dpkg, Completion/Debian/Command/_vim-addons, Completion/Linux/Command/_btrfs, Completion/Linux/Command/_cpupower, Completion/Linux/Command/_iptables, Completion/Mandriva/Command/_urpmi, Completion/Unix/Command/_chsh, Completion/Unix/Command/_cksum, Completion/Unix/Command/_git, Completion/Unix/Command/_gnutls, Completion/Unix/Command/_initctl, Completion/Unix/Command/_java, Completion/Unix/Command/_ldconfig, Completion/Unix/Command/_lp, Completion/Unix/Command/_lz4, Completion/Unix/Command/_nkf, Completion/Unix/Command/_objdump, Completion/Unix/Command/_perforce, Completion/Unix/Command/_python, Completion/Unix/Command/_smartmontools, Completion/Unix/Command/_surfraw, Completion/Unix/Command/_sysctl, Completion/Unix/Command/_unison, Completion/Unix/Command/_xmlsoft, Completion/X/Command/_setxkbmap, Completion/X/Command/_vnc: Fix several option-description typos 2019-02-24 dana * unposted: Completion/Unix/Command/_less: Fix typo 2019-02-22 dana * 44077: Completion/Unix/Command/_getent, Completion/Unix/Command/_iconv, Completion/Unix/Command/_ldd, Completion/Unix/Command/_locale, Completion/Unix/Command/_localedef: Fix outdated _pick_variant patterns, partially fix `getent -s` * 44076 (tweaked): Completion/Unix/Command/_column: Support Debian column, add missing util-linux options, adjust wording 2019-02-18 Peter Stephenson * Yutian Li: 44067: Src/hist.c: If history read was interrupted, don't assume next time it was correctly read. 2019-02-14 Peter Stephenson * see 44062: back off change to ZLE per-line initialisation, causing problems after failed reads and apparently not needed for the intended fix of interrupt handling (40305 / 34656ec2). 2019-02-09 Doron Behar * gitlab !5: Completion/Unix/Command/_abcde: New abcde completion. 2019-02-09 Hiroki Noda * github #31: Completion/Unix/Command/_nm, Completion/Unix/Command/_objdump: Add new demangle style, rust and dlang 2019-02-03 dana * unposted: Config/version.mk: Post-release version bump * unposted: Config/version.mk, Etc/FAQ.yo, README: Update for 5.7.1 * 44034: Completion/Unix/Type/_date_formats: Complete %9./%N, adjust some wording * 44033: Completion/Unix/Command/_dos2unix: Add completion for dos2unix/unix2dos * 44030: Src/prompt.c, Test/D01prompt.ztst: Return error for unrecognised colour name 2019-01-28 Fredric Silberberg * github #32: Completion/Unix/Command/_git: Fix a typo in the git tag completion. 2018-01-27 dana * unposted: Etc/creating-a-release.txt: Document additional release steps * 44020: Functions/VCS_Info/Backends/VCS_INFO_detect_p4: Fix infinite recursion 2018-01-24 dana * unposted: Config/version.mk: Post-release version bump * unposted: Config/version.mk, README: Update for 5.7 2018-01-23 dana * 44012: Test/X04zlehighlight.ztst: Fix spurious test failures on OpenBSD 2019-01-23 Mikael Magnusson * 44011: Doc/Zsh/zle.yo, Src/prompt.c, Test/X04zlehighlight.ztst: Only use fg_start_code for non-truecolor 2018-01-21 dana * 44001: Completion/Zsh/Context/_brace_parameter: Complete (q+) 2018-01-18 dana * 43990: Completion/Linux/Command/_opkg: Support gain-privileges 2019-01-08 Peter Stephenson * users/23829: Completion/Unix/Type/_path_files, Doc/Zsh/compsys.yo: Add and document file-split-chars style. 2018-01-05 dana * unposted: Config/version.mk, NEWS: Update for 5.6.2-test-3 2018-01-04 dana * 43974: Completion/Unix/Command/_git: Always offer -F/-m for `git tag` * 43970, 43971: Etc/creating-a-release.txt, NEWS: Document some changes in 5.{4,5,6} not previously mentioned, clarify that process in release instructions 2019-01-03 Peter Stephenson * 43969: Src/Zle/compctl.c: untokenize Dash for compctl with GLOB_SUBST set. 2018-01-01 dana * 43960: Completion/Linux/Command/_setsid, Completion/Zsh/Command/_exec, Completion/Zsh/Command/_precommand: Add full completion for exec and setsid * 43959: Completion/Unix/Command/_ipsec, Completion/Unix/Command/_swanctl, Completion/Unix/Type/_urls: Add completion for strongSwan, &al.; complete unix:// URIs 2018-12-31 dana * 43962: Test/X04zlehighlight.ztst: Fix module_path 2018-12-30 Peter Stephenson * Sebastian: users/23809: Src/prompt.c, Test/X04zlehighlight.ztst: Add ZLE_HIGHLITHT extensions to termcap for colours > 7, add tests. * 43944: Martijn: Doc/Zsh/options.yo, README, Src/math.c, Test/C01arith.ztst: apply NO_UNSET consistently to arithmetic. * unposted: Test/D04parameter.ztst: test for 43938. 2018-12-30 dana * 43914 (tweaked): Completion/Unix/Command/_composer: Add completion for Composer * 43930: Completion/Base/Utility/_multi_parts: Improve performance * unposted (per 43938): Src/utils.c: Avoid segfault when unmetafying empty string 2018-12-29 dana * 43953 (tweaked per 43954): Src/utils.c, Test/V09datetime.ztst: Fix rounding/truncation error in %. time-format specifier 2018-12-24 dana * 43935 (tweaked): Src/Modules/datetime.c, Test/V09datetime.ztst: Fix test error on 32-bit machines, reject too-large nanosecond values given to strftime 2018-12-23 dana * 43928: Completion/Base/Utility/_alternative: Evaluate (...) action syntax as with _arguments 2018-12-21 Bart Schaefer * 43921: ${\var} should be an error 2018-12-19 Peter Stephenson * unposted: Config/version.mk, Etc/FAQ.yo, README: update for 5.6.2-test-2. 2018-12-19 Peter Stephenson * unposted c.f. 43913: Functions/Zle/edit-command-line: emulate -L zsh to avoid bad effects with globsubst. 2018-12-17 dana * 43897: Completion/Darwin/Command/_xcode-select, Completion/Unix/Command/_asciidoctor, Completion/Unix/Command/_asciinema, Completion/Unix/Command/_host, Completion/Unix/Command/_mkfifo, Completion/Unix/Command/_mknod, Completion/Unix/Command/_shred, Completion/Unix/Command/_tail, Completion/Unix/Command/_tty, Completion/Unix/Command/_visudo, Completion/Unix/Type/_hosts: Add/update various completion functions * 43895: Completion/Unix/Command/_watch: Complete for procps/-ng watch 2018-12-17 Joey Pabalinas * 43904 (plus tweak): Doc/Zsh/grammar.yo: zshmisc(1): document term being optional if `in word' is omitted 2018-12-14 dana * unposted: Completion/Unix/Command/_dig: Fix _arguments syntax error 2018-12-13 Daniel Shahaf * 43879: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Fix fatal error in VCS_INFO_git_getbranch in corner case 2018-12-09 dana * 43871: Completion/Unix/Type/_files: Support `-F '(pat ...)'` as with _path_files 2018-12-04 Peter Stephenson * 43860, 43861: Completion/Unix/Type/_files: complete globbing flags at start of word. 2018-11-29 Peter Stephenson * 43854: Src/lex.c: set tok to LEXERR on generic parser error so this gets picked up by main loop. 2018-11-21 Peter Stephenson * 43837 (test from Daniel): Src/subst.c, Test/D04parameter.ztst: Nested substitution didn't remove Nularg from empty string, giving bogus character. 2018-11-19 Jun-ichi Takimoto * 43829: Src/Modules/nearcolor.c: use double instead of float 2018-11-16 dana * Daniel O'Connor: 43830: Completion/BSD/Command/_cu: Complete /dev/cu.* (used by macOS) 2018-11-15 Jun-ichi Takimoto * unposted: Completion/Unix/Command/_zcat: support macOS * Ivan Tkachenko: 43823: Src/Modules/stat.c: remove unnecessary metafy() in stattimeprint() 2018-11-14 Peter Stephenson * 43620: Doc/Zsh/expn.yo: more care documenting command substituion including $(<...). 2018-11-13 dana * 43809: Completion/Unix/Command/_npm: Suppress npm update checks during completion * unposted (cf. 43800): Completion/Zsh/Command/_strftime: Update strftime completion for nanoseconds change * 43800: Doc/Zsh/mod_datetime.yo, Src/Modules/datetime.c, Test/V09datetime.ztst: Add nanosecond support to strftime built-in 2018-11-12 Oliver Kiddle * 43819: Completion/Unix/Command/_adb: expand adb completion to also cover options to adb backup * 43818: Completion/Zsh/Type/_module_math_func: complete math functions for other modules besides zsh/mathfunc * 43816: Completion/Linux/Command/_valgrind, Completion/BSD/Command/_vmctl, Completion/Linux/Command/_ethtool, Completion/Linux/Command/_losetup, Completion/Linux/Command/_lsblk, Completion/Unix/Command/_ansible, Completion/Unix/Command/_column, Completion/Unix/Command/_dhclient, Completion/Unix/Command/_links, Completion/Unix/Command/_dmidecode, Completion/Unix/Command/_jq, Completion/Unix/Command/_luarocks, Completion/Unix/Command/_mpc, Completion/Unix/Command/_samba, Completion/Unix/Command/_script, Completion/Unix/Command/_ssh, Completion/Unix/Command/_tmux: various completion option updates * 43817: Completion/Linux/Command/_btrfs: update options in completion through to btrfs 4.17.1 * 43813: Completion/BSD/Command/_powerd: add units, default values and allow option arguments in the same word as the option * 43812: Completion/Unix/Command/_gcc: allow repeats of the -Wsuggest-attribute option 2018-11-09 Peter Stephenson * 43790: Kamil: Src/utils.c: failed mailstat could leak memory. * 43789: Kamil: Src/module.c: possible use after free handling math functions from module. * 43792: Kamil: Src/exec.c: file descriptor could leak on fork error. * 43793: Kamil: Src/Zle/computil.c: could overrun buffer by 1 byte. * 43791: Kamil: Src/Modules/clone.c: file descriptor was closed twice. 2018-11-08 Oliver Kiddle * 43779 (tweaked): Joey Pabalinas: Functions/Zle/select-bracketed: add parentheses to fix expression with cprecedences option set * 43805: Src/Modules/nearcolor.c, Src/prompt.c: make nearcolor module use the default colour rather than black as a fallback * 43804: Src/prompt.c: also need to be able to turn colour attributes back into hex triples for region_highlight variable * unposted: Src/Modules/nearcolor.c: add usual copyright header * 43784: Completion/Zsh/Command/_compadd: clarify descriptions on options related to match sorting * unposted (c.f. Bart: 43739): Completion/Zsh/Context/_brace_parameter: use a correct description for the @ parameter expansion flag 2018-11-07 Peter Stephenson * 43788: Doc/Zsh/mod_zpty.yo: make it clear -n option to zpty -w is irrelevant if no string argument. 2018-11-07 Jun-ichi Takimoto * 43761: Completion/BSD/Type/_file_flags, Completion/Unix/Command/_mktemp, Completion/Unix/Command/_script, Completion/Unix/Command/_strip, Completion/Unix/Type/_file_systems: add or update support for darwin 2018-11-05 Oliver Kiddle * 43760: Doc/Makefile.in, Doc/Zsh/mod_nearcolor.yo, Doc/Zsh/zle.yo, NEWS: add documentation for true colour changes and nearcolor module * 43759: Src/Modules/nearcolor.c, Src/Zle/complist.c, Src/Zle/zle.h, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/prompt.c, Src/zsh.h, Src/zsh_system.h: add support for true colour terminals * 43747: Src/Modules/nearcolor.c, Src/Modules/nearcolor.mdd, Src/init.c, Src/prompt.c, Src/zsh.h: new module to map colours from hex triplets to the nearest matching colour 2018-11-03 Peter Stephenson * 43752: Completion/Base/Completer/_expand: Fix quoting if globbing failed / was not tried for expression on command line. 2018-11-02 Oliver Kiddle * 43748: Completion/Unix/Command/_ack: fix for ack 3beta * github #29: Wieland Hoffmann: Completion/Unix/Command/_git: Add completion support for Gits --color-moved option and color settings 2018-10-31 Jun-ichi Takimoto * 43746: Completion/Unix/Command/_ping: update for BSD and Darwin * 43744: Completion/Unix/Command/_sysctl: add support for procps-ng (Linux) and NetBSD, with several other updates 2018-10-24 Daniel Shahaf * 43726: Test/A01grammar.ztst: Add tests for semicolon in the middle of a sublist not terminating it. 2018-10-24 Jun-ichi Takimoto * 43723: Completion/Unix/Command/_mkdir: fix for builtin mkdir, and add support for darwin * 43722: Completion/Unix/Command/_ed, Completion/Unix/Command/_env, Completion/Unix/Command/_sort: use the same completions as freebsd for darwin. * 43721: Completion/Unix/Command/_diff3: detect GNU variant correctly 2018-10-24 dana * 43718: Completion/BSD/Command/_fstat, Completion/Unix/Command/_awk, Completion/Unix/Command/_cat, Completion/Unix/Command/_chown, Completion/Unix/Command/_df, Completion/Unix/Command/_grep, Completion/Unix/Command/_ls, Completion/Unix/Command/_od, Completion/Unix/Command/_pax, Completion/Unix/Command/_rar, Completion/Unix/Command/_rm, Completion/Unix/Command/_xxd: Use singular group descriptions 2018-10-23 Peter Stephenson * Marcin Mielniczuk: 43714: Completion/Unix/Command/_lp: lp fit-to-page option. * Sebastian: 43695: Src/lex.c: minor but simple optimisation to reuse existing string lengths. 2018-10-22 dana * 43713: Completion/Unix/Command/_init_d: Improve completion of service commands 2018-10-17 Peter Stephenson * 43694: Doc/Zsh/redirect.yo: More detail on how multio file opening differs from cat. 2018-10-17 Oliver Kiddle * 43697: Completion/X/Command/_zathura: match uppercase filename extensions * 43698: Completion/Unix/Command/_git: update options for 2.19 2018-10-16 Daniel Shahaf * 43692: Doc/Makefile.in: Generate man pages in the build dir, rather than the source dir. 2018-10-15 dana * 43672: Doc/Zsh/redirect.yo: Document result of redirecting from a non-existent file 2018-10-14 Daniel Shahaf * unposted: Src/utils.c: internals: Document sepjoin(). * 43685: Functions/Misc/add-zle-hook-widget: Support running under NO_UNSET ('set -u'). 2018-10-12 Peter Stephenson * 43674: Src/zsh.h, Config/version.mk: Split more parameter and function flags to avoid using sign bit; bump version because of wordcode incompatibility. 2018-10-10 dana * 43602: Doc/Zsh/compsys.yo: Clarify behaviour of `compdef -p` 2018-10-10 Peter Stephenson * unposted: Test/C03traps.ztst: Another couple of tests for other code paths. * 43669: Src/builtin.c, Src/init.c, Test/C03traps.ztst: ensure explicit exit status is used rather than implicit. 2018-10-09 Peter Stephenson * 43660: Src/builtin.c, Src/exec.c, Src/init.c, Test/C03traps.ztst: extend 43653 for implicit exit and combine logic with pending exit status from exits within functions. * 43656: Src/builtin.c: special tied parameters don't have tieddata. * unposted: Test/C03traps.ztst: addition to previous test suggested by Mikael. * 43653: Src/builtin.c, Test/C03traps.ztst: explicit exit from EXIT trap overrides previous status. 2018-10-08 a-wing <1@233.email> * 43623: Completion/Linux/Command/_iptables: Fix Completion iptables -t raw security 2018-10-08 Daniel Shahaf * 43620 (tweaked): Doc/Zsh/contrib.yo, Functions/VCS_Info/Backends/VCS_INFO_get_data_git, Functions/VCS_Info/VCS_INFO_set-patch-format, README: vcs_info git: Reverse the order patches are passed to gen-unapplied-string in. * 43617: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: During a non-interactive rebase of a detached head, computer the %b expando correctly. * 43619: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: In non-interactive rebases, always set $hook_com[git_patches_applied] to a string of the form 'foo bar', never just 'foo'. * 43618: Functions/VCS_Info/Backends/VCS_INFO_detect_p4, Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, Functions/VCS_Info/Backends/VCS_INFO_get_data_git, Functions/VCS_Info/VCS_INFO_quilt: vcs_info: Don't redefine helper functions on every execution of the autoloadable outer function. 2018-10-08 Peter Stephenson * unposted: tweak to Doc/Zsh/builtins.yo to put close parenthesis on new line for help files script. * Stephane: 43616: Doc/Zsh/builtins.yo, Src/Modules/db_gdbm.c, Src/Modules/parameter.c, Src/builtin.c, Src/hashtable.h, Src/params.c, Src/subst.c, Src/zsh.h, Test/B02typeset.ztst: Fixes and improvements to tied variables and interaction with typeset -p. 2018-10-07 Daniel Shahaf * 43587: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: In 'git rebase -i', when computing subjects of applied-patches, handle an edge case where the subject is not available. * 43588: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Make sure applied-patches is of the form "$hash $subject" --- that is, has a space and a non-empty second argument --- even with future 'git rebase -i' verbs. * 43586: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Reformat to minimise next diff. No functional change. * 43585: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn: vcs_info svn: Recognize working copies in need of an upgrade. 2018-10-03 Peter Stephenson * unposted: Etc/FAQ.yo: minor typos. * 43589: Src/jobs.c: Show subjob status instead of superjob any time it still has processes. 2018-10-02 Daniel Shahaf * unposted: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Indicate which use-case each branch handles. * unposted: Doc/Zsh/contrib.yo: Fix typo 2018-09-30 Daniel Shahaf * 43531: Src/Zle/compcore.c: Completion: Fix some false positives in the logic for "are these two candidates completions equivalent". 2018-09-28 Daniel Shahaf * 43570: Src/jobs.c: Start documenting jobs.c, in particular superjobs. 2018-09-27 Daniel Shahaf * 43563: Doc/Zsh/zle.yo: zshzle: Clarify sentence in introduction. 2018-09-26 Peter Stephenson * 43564: Better output concerning stopped subjob. * 43542 (tweaked): Etc/FAQ.yo: further update about which output. 2018-09-25 Daniel Shahaf * 43528: Doc/Zsh/builtins.yo: zshbuiltins(1): Document 'which''s "not found is not an error" behaviour. 2018-09-25 Oliver Freyermuth * 43554 (tweaked): Completion/X/Command/_zathura: Fix zathura completion ignoring multiple plugin directories. 2018-09-25 Oliver Freyermuth * 43544: Completion/X/Command/_zathura: Fix zathura filename completion derived from *.so plugin name. 2018-09-25 Daniel Shahaf * 43489: Src/exec.c: Add error checking on a new write() call. 2018-09-25 Peter Stephenson * 43543: Src/jobs.c: Improvements to 43535: attempt to keep STAT_STOPPED correct for superjob, also wait for subjob before superjob. 2018-09-25 Daniel Shahaf * unposted: Test/B02typeset.ztst: Add a test for 43536. 2018-09-25 Peter Stephenson * Stephane: 43536: "typeset -p" should show presence of -U option. 2018-09-24 dana * Takeshi Banse: users/23642: Completion/Unix/Type/_files: Revert change from workers/42984 2018-09-24 Peter Stephenson * 43535: Src/jobs.c, Src/signals.c: fixes for bg / fg handling of superjobs. Be more consistent about marking jobs running; always send SIGCONT when putting superjob / subjob combination into foreground; wait for both superjob and subjob when waiting for superjob. 2018-09-24 Daniel Shahaf * 43493: Test/V07pcre.ztst: Have V07pcre fail if PCRE was enabled by configure (config.modules) but failed to load for any reason. 2018-09-24 Peter Stephenson * 43527, tweaked: Etc/FAQ.yo: describe "which" output behaviour. 2018-09-23 Oliver Kiddle * gitlab !2: Noam Barnea: Completion/Unix/Command/_toilet: detect .flf files as well as .tlf ones 2018-09-21 Peter Stephenson * 43511: Src/input.c: alias entry on input stack wasn't initialised if not expanding alias or using history. 2018-09-19 Maximilian Bosch * 43502: Completion/X/Command/_setxkbmap: Search XDG_DATA_DIRS in _setxkbmap completion 2018-09-18 Oliver Kiddle * 43464: Completion/Linux/Command/_valgrind: complete options for the drd tool and update them for helgrind 2018-09-17 Daniel Shahaf * unposted: ChangeLog: Fix typo, s/43464/43474/. 2018-09-16 dana * unposted: Doc/Zsh/builtins.yo: Fix trivial formatting error 2018-09-16 Peter Stephenson * 43474: Src/exec.c, Src/jobs.c, Src/signals.c, Src/utils.c: Remember the last process group to attach to the terminal, not just the set of running processes which did. Don't record process groups for ESUB_ASYNC subshells. 2018-09-14 Daniel Shahaf * unposted: Completion/Unix/Command/_subversion: _svn: Allow hyphens in command name aliases. * unposted: Config/version.mk: Post-release version bump. * 43457: Config/version.mk, Etc/FAQ.yo, NEWS, README: Release 5.6.2 2018-09-14 Peter Stephenson * 43466: Test/A05execution.ztst: path(5) test is too specific as OS codes and messages may vary. 2018-09-12 Daniel Shahaf * unposted: Completion/Unix/Command/_subversion: _svn: Complete --accept=recommended, new in 1.10.0. * 43447: Etc/creating-a-release.txt, Makefile.in: Generate tar.xz artifacts only. * 43443: Completion/Unix/Command/_git: When completing worktrees, show the ref and hash of each worktree. * 43442: Completion/Unix/Command/_git: Break out a helper function. 2018-09-12 Peter Stephenson * 43450: Src/signals.c: fix window size if reattaching shell to terminal on exit of process. * 43446: Src/exec.c, Src/jobs.c, Src/zsh.h: enhance 43409 to pass back list_pipe_job as well, fixing additional races. 2018-09-10 Jörg Thalheim * GitHub #28: Src/builtin.c: Add missing math.h include for builtins 2018-09-10 Peter Stephenson * 43426: Test/W02jobs.ztst: disable tests involving suspending jobs as these are provoking races in particular on OpenSUSE. 2018-09-08 Daniel Shahaf * unposted: Etc/creating-a-release.txt: Add another step. * unposted: Config/version.mk: Post-release version bump. * unposted: Config/version.mk, Etc/FAQ.yo, NEWS, README: Patch release: 5.6.1 2018-09-07 Peter Stephenson * 43409: Src/exec.c, Src/jobs.c: ensure main shell and newly started subshell are agreed on which process group the latter belongs to. 2018-09-07 Daniel Shahaf * 43404 (after 43392): Doc/Makefile.in: Fix 'make install' in out-of-tree builds 2018-09-06 Daniel Shahaf * 43392: Doc/Makefile.in, Etc/creating-a-release.txt: dist: Generate doc/help/* and doc/help.txt in builddir rather than srcdir. * 43366: Completion/Zsh/Command/_compdef: Change and add sources for completed completion function names. 2018-09-05 dana * 43372: Completion/Linux/Command/_e2label: Add completion for e2label 2018-09-05 Peter Stephenson * 43375 with fix from 43390: Test/A05execution.ztst: don't assume path for sh and echo, work it out. 2018-09-05 Daniel Shahaf * unposted (cf 43373): Etc/creating-a-release.txt: Add two caveats: no local modifications, and need to build in-tree. 2018-09-03 Daniel Shahaf * 43370: Etc/creating-a-release.txt: New maintainer-facing documentation. * unposted: Config/version.mk: Post-release version bump. * unposted: Config/version.mk: Release 5.6. 2018-09-03 Anthony Sottile * CVE-2018-0502, CVE-2018-13259: Fix two security issues in shebang line parsing. [With Buck Evan] 2018-09-03 Daniel Shahaf * 43367: Makefile.in: Add maintainer targets 'tarxz-src' and 'targz-src'. 2018-09-03 Oliver Kiddle * unposted: NEWS: mention Inf/NaN floating point changes * unposted: Makefile.in: further to 43358 use same patchlevel form for the release file 2018-09-03 Daniel Shahaf * 43333: Etc/Makefile.in: Generate FAQ.html in the builddir, rather than in the srcdir, and add it to the default target of the Etc/ subdirectory. 2018-09-03 Peter Stephenson * 43365: Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_vi.c: Don't handle ZLE timed functions if just reading a single key. 2018-08-31 Oliver Kiddle * 43358: Src/zsh.mdd: enforce consistent patchlevel form * 43357: configure.ac: isinf/isnan can be macros rather than functions so need a custom configure test * unposted: Completion/Unix/Command/_git: git describe's --long and --abbrev options are not mutually exclusive * 43359: Completion/Unix/Command/_git: further review of git remote set-url completion * 42810: pseyfert: Completion/Unix/Command/_git: git remote set-url completion 2018-08-30 Jun-ichi Takimoto * 43349: Completion/X/Command/_eog: new completion for eog * 43350: Completion/Unix/Command/_zsh: support --emulate 2018-08-29 Oliver Kiddle * 43351: Completion/Unix/Type/_diff_options: handle the new diff implementation in the pre-release version of FreeBSD 12 * 43346: Completion/Linux/Command/_cryptsetup, Completion/Linux/Command/_networkmanager, Completion/Linux/Command/_strace, Completion/Unix/Command/_attr, Completion/Linux/Command/_sysstat, Completion/Unix/Command/_cmp, Completion/Unix/Command/_dhclient, Completion/Unix/Command/_dig, Completion/Unix/Command/_entr, Completion/Unix/Command/_gnutls, Completion/Unix/Command/_env, Completion/Unix/Command/_iostat, Completion/Unix/Command/_ln, Completion/Unix/Command/_md5sum, Completion/Unix/Command/_ps, Completion/Unix/Command/_route, Completion/Unix/Command/_service, Completion/Unix/Command/_sort, Completion/Unix/Command/_split, Completion/Unix/Command/_top: various completion option updates * 43348: Anton Shestakov: Completion/Unix/Command/_hg: check for both -r and --rev * 43347: Anton Shestakov: Completion/Unix/Command/_hg: use revsets for suggestions for hg merge 2018-08-28 Oliver Kiddle * 43345: Completion/Unix/Command/_mount, Completion/Unix/Type/_umountable: don't modify global variable * unposted: Completion/Linux/Command/_dkms: correct completion argument order * unposted: Completion/Unix/Command/_strings: completion for argument to -s was missing * unposted: Completion/Unix/Command/_tar: complete also for bsdtar * unposted: Completion/Solaris/Command/_svccfg: fix typo in function call 2018-08-25 Daniel Shahaf * unposted: Etc/FAQ.yo: Fix FAQ build, broken by 43184. * unposted: Config/version.mk, NEWS, README: Test release: 5.5.1-test-1. * 43331: Completion/Unix/Command/_diff3: Enhance positional argument descriptions (thanks, Oliver). 2018-08-24 Daniel Shahaf * 43313 (log message tweaked): Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: For the branch name, try to find a symbolic name before falling back to a raw commit hash. * 43314: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Flatten a nested if. 2018-08-24 Oliver Kiddle * 43330: Completion/BSD/Command/_cu: complete more options * 43329: Completion/Unix/Command/_diff3: new diff3 completion * 43328: Completion/X/Command/_zeal: new completion 2018-08-23 dana * unposted: Completion/Unix/Command/_man: Fix --ascii typo 2018-08-23 Oliver Kiddle * 43325: Anton Shestakov: Completion/Unix/Command/_hg: suggest merge tools for -t/--tool * 43326: Anton Shestakov: Completion/Unix/Command/_hg: add completion of -S/--subrepos to many commands * github #27: Klas Mellbourn: Completion/X/Command/_code: add --folder-uri to completion for Visual Studio Code * 43301 (based on work by Julien Nicoulaud): Completion/Debian/Command/_debuild, Completion/Unix/Command/_ack, Completion/Unix/Command/_scons, Completion/Unix/Command/_vpnc, Completion/X/Command/_geany: functions from zsh-completions project 2018-08-21 Daniel Shahaf * unposted: Doc/Zsh/compsys.yo: docs: Fix duplicated words in _combination. 2018-08-16 Peter Stephenson * 43294: Doc/Zsh/zle.yo, Src/Zle/zle_main.c, Src/Zle/zle_params.c: Add ZLE_RECURSIVE parameter. 2018-08-15 dana * 43302: Completion/Unix/Command/_du: Change -B to -B+ 2018-08-13 Daniel Shahaf * unposted: Completion/Unix/Command/_make: Allow pasted arguments for GNU make's -j option. 2018-08-13 Peter Stephenson * dana: 43275: Doc/Zsh/mod_mathfunc.yo, Src/Modules/mathfunc.c, Test/V03mathfunc.ztst, configure.ac: Add log2 to mathfunc. 2018-08-12 Marc Cornellà * unposted (PR #26): Completion/Unix/Command/_git: __git_files: fix double quotation of star 2018-08-09 Peter Stephenson * 43264: Src/params.c, Test/D04parameter.ztst: ${+assoc[nonexistent]} returned 1 with KSH_ARRAYS. 2018-08-08 Peter Stephenson * 43261: Src/math.c, Test/C01arith.ztst: Apply unary minus to entire lexical constant, so base doesn't get treated as negative. 2018-08-07 Peter Stephenson * Anton Shestakov: 43254: Completion/Unix/Command/_hg: Remove hg -w and add hg -S. * Anton Shestakov: 43252: Completion/Unix/Command/_hg: fix up various hg options for completion. * Anton Shestakov: 43250: Completion/Unix/Command/_hg: Add hg forget, phase, summary completions. * Anton Shestakov: 43251: Completion/Unix/Command/_hg: fix return value of some hg completion functions. * Anton Shestakov: 43253: Completion/Unix/Command/_hg: hg --style is deprecated, use --template. 2018-08-01 Jun-ichi Takimoto * 43227: Src/Modules/termcap.c, Src/Modules/terminfo.c, Src/utils.c: fix memory leaks not fixed in 43219 2018-07-31 dana * 43207 (tweaked): Completion/Unix/Type/_bind_addresses, Completion/Unix/Command/_php: Add options to control _bind_addresses behaviour, improve PHP completion 2018-07-31 Jun-ichi Takimoto * 43219 (except term{cap,info}.c): Src/Modules/db_gdbm.c, Src/Modules/pcre.c, Src/Zle/compcore.c, Src/init.c, Src/math.c, Src/subst.c: fix several memory leaks 2018-07-30 Peter Stephenson * 43225: Src/Zle/zle_main.c: recalculate timeout after calling handler within ZLE raw read. 2018-07-29 Matthew Martin * 43185: Completion/Zsh/Type/_command_names: Use [ suffix for associative arrays. Add + to remove-chars from Oliver. * 43184: Etc/FAQ.yo: Remove reference to ftp_sites.yo. 2018-07-25 dana * 43203: Completion/Unix/Command/_lua: Add completion for lua * Simon Ruderich: 43200: Completion/Linux/Command/_iptables: Add completion for ip6tables* 2018-07-20 dana * 43196: Completion/Unix/Command/_nginx: Add completion for nginx 2018-07-20 Jun-ichi Takimoto * 43192: Completion/Unix/Command/_pgrep: simplify the completions of comma-separated list of IDs. 2018-07-19 dana * 43186 (tweaked): Completion/Unix/Command/_crontab: Add completion for cronie/dcron/Vixie crontab 2018-07-19 Jun-ichi Takimoto * 43189: Completion/Unix/Command/_install: similar fix as 43187 for option -f (_flags was renamed to _file_flags) * 43183: Completion/Unix/Type/_ttys, Completion/Unix/Command/_gdb, Completion/Unix/Command/_pgrep: fix '_ttys -o' on Linux, and use it in _gdb and _pgrep. 2018-07-19 Yasuhiro KIMURA * 43187: Completion/Unix/Command/_install: Fix completion error about 'm' option of 'install' command 2018-07-17 Peter Stephenson * Doron Behar: 43166: Completion/Unix/Type/_pspdf, Completion/X/Command/_zathura: new zathura completion. 2018-07-18 Jun-ichi Takimoto * 43177: Completion/Unix/Command/_grep: support bzgrep, and add a few options for macOS. * 43182: Completion/Unix/Command/_lldb: complete process name after option -n/--attach-name 2018-07-17 Peter Stephenson * unposted: Doc/Makefile.in: remove ftp_sites.yo. * Matthew Martin: 43179: Doc/Zsh/contrib.yo, Doc/Zsh/ftp_sites.yo, Doc/Zsh/metafaq.yo: update distro docs to remove dead links. * 43176: Doc/Zsh/intro.yo: note right at start of manual that default mode is not POSIX. 2018-07-16 Peter Stephenson * Tim Smith: 43172: Doc/Zsh/mod_zutil.yo: document escaping of colon in zformat -a. 2018-07-11 Jun-ichi Takimoto * 43164: Completion/Unix/Command/_gcc: fix 'args=' to 'args+=', and update a few options. 2018-07-10 Jun-ichi Takimoto * 43155: Completion/Unix/Command/_gcc: escape : in action for -std 2018-07-10 Peter Stephenson * 43156, 43157: Src/exec.c: need to allow for possible update of pointer by two in gethere(). 2018-07-09 Peter Stephenson * users/23531: Src/exec.c, Test/C03traps.ztst: Fix error exit/return from within shell construct inside nested function, and in left hand side of pipe (regression due to broken tests); stop tests from exiting too early and add new test for first fix. 2018-07-07 Matthew Martin * 43106: Completion/BSD/Command/_ldap: Add ldap completer. * 43046: Completion/Unix/Type/_pdf, Completion/X/Command/_mupdf: Add mupdf completer. * 42995: David Klann: Completion/Linux/Command/_networkmanager: Only complete active connections for nmcli connection down. 2018-07-03 dana * 43105 (tweaked): Completion/Unix/Command/_pgrep: Add full procps support, other improvements 2018-07-03 Peter Stephenson * dana: 43134: Completion/Unix/Type/_signals: don't complete SIG in front of numeric signals. 2018-07-02 Jun-ichi Takimoto * 43108, 43121: Completion/Unix/Command/_killall: complete various options 2018-07-01 Doron Behar * 43059: Completion/Unix/Command/_gpg: Use explicit UIDs for state = public keys. 2018-07-01 Jun-ichi Takimoto * 43107: Completion/Unix/Type/_ttys, Completion/Unix/Command/_ps, Completion/BSD/Command/_watch-snoop: add an option to _ttys to complete only open ttys, and use it in _ps and _watch-snoop. 2018-06-29 Peter Stephenson * users/23519: README, Completion/Unix/Type/_remote_files: Use tag remote-files instead of files for remote files. 2018-06-27 Daniel Hahler * 42746: Completion/Unix/Command/_vim: _vim: handle special values for -u/-U. 2018-06-27 Eric Cook * 43096: Eitan: Completion/Unix/Command/_vim, remove duplicate flag 2018-06-25 Daniel Shahaf * 43091: Src/glob.c: In the (u) glob qualifier, expand and correct "unknown user" error messages. 2018-06-25 Peter Stephenson * 43084: Doc/Zsh/zle.yo, Functions/Chpwd/zsh_directory_name_cdr, Src/Zle/zle_main.c: vared -g suppresses variable creation and override warnings; also suppress in function. 2018-06-25 Jun-ichi Takimoto * 43079, 43086: Completion/Unix/Type/_process_names, Completion/Unix/Command/_dtruss, Completion/Darwin/Command/_fs_usage, Completion/Darwin/Command/_sc_usage: new utility to complete names of running processes, and three new completion functions which use it. * 43080: Completion/Unix/Type/_sys_calls: analyze recent syscall.h properly 2018-06-24 dana * unposted: Completion/Linux/Command/_opkg: Fix mistyped variable name 2018-06-23 dana * 43081: Completion/Darwin/Command/_networksetup: Add networksetup completion * 43088: Completion/Debian/Command/_wajig: Fix sub-command completion 2018-06-18 Oliver Kiddle * 43074: Eitan: Completion/Unix/Command/_gcc: Completion for additional linker options for clang and sanitizers for gcc * 43078: Completion/Unix/Command/_sed: add completion for the sed expression * 43073: Completion/Linux/Command/_cryptsetup, Completion/Linux/Command/_sysstat, Completion/Linux/Command/_ss, Completion/Linux/Command/_kpartx, Completion/Linux/Command/_tune2fs, Completion/Unix/Command/_ansible, Completion/Unix/Command/_git, Completion/Unix/Command/_lynx, Completion/Unix/Command/_mpc, Completion/Unix/Command/_readelf, Completion/Unix/Command/_sqlite, Completion/Unix/Command/_subversion, Completion/Unix/Command/_tmux, Completion/Unix/Command/_user_admin, Completion/Unix/Command/_wget, Completion/Unix/Command/_xxd, Completion/X/Command/_qiv, Completion/Zsh/Command/_which, Completion/Zsh/Command/_zed: various completion option updates 2018-06-20 Peter Stephenson * 43077: Src/builtin.c: failure of math evaluation didn't propagate to status of shift builtin. 2018-06-20 dana * 43075 (based on 24059): Doc/Zsh/mod_stat.yo, Doc/Zsh/prompt.yo, Src/Modules/datetime.c, Src/Modules/stat.c, Src/compat.c, Src/prompt.c, Src/utils.c, Src/zsh_system.h, Test/D01prompt.ztst, configure.ac: Support nanosecond precision in zsh/stat file times and time formats generally (%9./%N) * 43061: Completion/Darwin/Command/_open, Completion/Unix/Command/_webbrowser: Improve open completion, adjust _webbrowser wording * 43060: Completion/Unix/Command/_stat, Completion/Zsh/Command/_stat: Expand stat completion 2018-06-18 dana * 43047: Completion/Unix/Command/_hostname: Add hostname completion * 43047: Completion/Unix/Type/_bind_addresses: Always return local IPs 2018-06-18 Peter Stephenson * unposted: Test/V01zmodload.ztst: updated for 43039. * Eitan: 43029: Src/Modules/zftp.c, Src/signals.c, Src/signals.h, configure.ac: remove test for signal handler return type as no longer needed. 2018-06-18 Oliver Kiddle * 43006: Tim Smith: Completion/Unix/Command/_git: complete modified files after `git stash --` * users/23484: Completion/Unix/Command/_git: be consistent on matcher specs for branches to fix issue with partial matching * 43048: Eitan: Completion/Unix/Command/_gcc: add sanitizers, standards aliases and fix -flto 2018-06-17 dana * 43043: Completion/Unix/Command/_comm, Completion/Unix/Command/_sed: Improve comm/sed completion * 43039: Src/Modules/parameter.mdd: Mark functions_source (et al.) for auto-loading 2018-06-16 dana * 43030: Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs, Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, Functions/VCS_Info/Backends/VCS_INFO_get_data_tla, Functions/VCS_Info/VCS_INFO_bydir_detect, Functions/VCS_Info/VCS_INFO_realpath, Functions/VCS_Info/vcs_info: Replace VCS_INFO_realpath() by :P * 43031: Etc/completion-style-guide: Add note about quoting/escaping (cf. 42992) * 43031: Etc/completion-style-guide: Add note about optional/variant syntax (cf. 43025) 2018-06-15 dana * 43024: Completion/Unix/Command/_man: Improve section-name matching 2018-06-15 Matthew Martin * 42981: Completion/Unix/Command/_ed: Add ed completer 2018-06-15 Peter Stephenson * users/23472: Doc/Zsh/mod_system.yo, Src/Modules/system.c, Src/exec.c, Src/zsh.h: Add $sysparams[procsubstpid]. * 43008: Src/options.c: combine suggestion from Sebastian to silence warnings for double setgid/setuid with suggestion from Eitan to put setgid first. 2018-06-13 dana * 42992: Completion/Unix/Command/_bash: Fix minor escaping bug * 42992: Completion/Darwin/Command/_nvram, Completion/Darwin/Command/_osascript, Completion/Darwin/Command/_say, Completion/Darwin/Command/_scselect: Use _call_program to fetch argument possibilities 2018-06-12 dana * unposted: Completion/Darwin/Type/_mac_applications: Change 'Mac OS X' to 'macOS' 2018-06-11 dana * 42983: Completion/Unix/Command/_man: Address misc. feedback * 42984: Completion/Unix/Type/_files, Completion/Unix/Type/_object_files: Fix argument pass-through to compadd 2018-06-10 Oliver Kiddle * 42978: dana: Completion/Darwin/Command/_pbcopy: fix small bug * 42977: dana: Completion/Unix/Command/_man: Complete options to major man variants, otherwise improve especially section matching 2018-06-09 Oliver Kiddle * 42968: Eitan Adler: Completion/Unix/Command/_shutdown: add "-c" for _shutdown completion on FreeBSD 12-current * 42965: dana: Completion/Unix/Command/_bash, Completion/Unix/Command/_sh: add full completion for bash * 42964: Eitan Adler: Completion/BSD/Type/_fbsd_architectures: Update list of fbsd architectures * 42918: dana: Completion/Unix/Command/_jq: fix file completion * 42918: dana: Completion/Unix/Command/_ldd: adapt detection of GNU variant to work on Ubuntu 2018-06-07 Oliver Kiddle * 42947: Doron Behar: Completion/Unix/Command/_luarocks: new luarocks completion * 42948: dana: Completion/Linux/Command/_opkg: new opkg completion * 42931: dana: Completion/Unix/Command/_base64, Completion/Unix/Command/_chroot, Completion/Unix/Command/_cksum, Completion/Unix/Command/_lz4, Completion/Unix/Command/_md5sum, Completion/Unix/Command/_tee, Completion/Unix/Command/_shasum, Completion/Unix/Command/_readlink: completion for several utilities especially for checksums across a variety of systems * users/23434: Functions/Misc/zed: initialise UNDO_LIMIT_NO so that an initial undo doesn't clear the whole edit buffer * 42935: Eitan Adler: Completion/Unix/Command/_arp: FreeBSD does not support -v for arp * 42937: Eitan Adler: Completion/BSD/Command/_powerd: add -M/-m * 43943: Completion/Unix/Command/_samba: update with long options 2018-06-06 Peter Stephenson * Eitan: 42938: Src/Modules/mathfunc.c: name argument to math_func is not unused. * Eitan: 42939: Src/Zle/zle_params.c: pm argument to set_registers is not unused. 2018-06-05 Peter Stephenson * Sebastian: 42929 (twaked): Functions/Misc/zed: additional default bindings for emacs and vi modes. 2018-06-03 Oliver Kiddle * 42826: Eitan Adler: Misc/bash2zshprompt: remove link to now-spam website * 42919: dana: Completion/Unix/Command/_uptime, Completion/Unix/Command/_shuf: new shuf and uptime completions * 42922: dana: Completion/Unix/Command/_tac: new tac completion * 42881: Completion/Unix/Command/_ghostscript: update options in ghostscript completion and query more matches directly from it * 42920: Completion/Linux/Command/_dkms: new dkms completion 2018-06-01 Peter Stephenson * 42888: MACHINES: remove outdated issues and update general description. 2018-05-31 Jun-ichi Takimoto * 42870: Src/Zle/compcore.c: another improvement of 'compset -q' 2018-05-29 Peter Stephenson * c.f. 42865: config.guess, config.sub: update from GNU distribution. * Eitan Adler: 42862: configure.ac: AC_PROG_TRADITIONAL is no longer needed. * Eitan Adler: 42863: configure.ac: autoconf update to latest conventions. 2018-05-25 Jun-ichi Takimoto * 42809: Src/Zle/compcore.c: slightly improve 'compset -q' 2018-05-19 Oliver Kiddle * 42806: Completion/Unix/Command/_shutdown: fix where options were lost due to args= assignment where args+= was needed * 42803: Completion/Unix/Command/_netstat: handle Linux and the the BSDs in netstat completion 2018-05-17 Oliver Kiddle * Stephane: 42790: Doc/Zsh/expn.yo, NEWS, Src/pattern.c, configure.ac: make [[:blank:]] match non-ASCII blanks * 42784: Completion/Zsh/Command/_typeset: complete -s and -x options to the functions builtin 2018-05-17 Peter Stephenson * 42793: Src/jobs.c, Src/zsh.h: Always define FDT_PROC_SUBST to avoid proliferating #ifdef's. * 42785: Src/builtins.c: redefining a user math function should silently work as with redefining other shell objects. 2018-05-14 Peter Stephenson * 42297: dana: Src/params.c, Test/D06subscript.ztst: (e) subscript needs extra work with scalars. * 42234: Stephane: Src/signals.c: don't kill a process that's already exited when killing a job. 2018-05-13 Oliver Kiddle * 42488: Src/Modules/mathfunc.c, Src/builtin.c, Src/math.c, Test/B03print.ztst, Test/C01arith.ztst, Test/V03mathfunc.ztst: test cases for 42369 and address some issues in the code * Nelson H. F. Beebe: 19597 (rebased 42369): Src/math.c, Src/params.c. Src/Modules/mathfunc.c, configure.ac: return Inf, NaN etc from floating point operations instead of errors to allow non-stop IEEE 754 arithmetic * 42760: Src/Zle/zle_thingy.c: move stack variable outside while loop scope as it is accessed in the while condition 2018-05-11 Peter Stephenson * 42180: dana: Src/Zle/compcore.c: safety when removing separators in completion. * 42101 (tweaked): dana: Src/exec.c, Test/A06assign.ztst: assigning shell status to array was broken. 2018-05-08 Peter Stephenson * 42752: Completion/Unx/Command/_git: better completion handling for git aliases expanding to external command. * 42751: Src/Zle/zle_main.c: Protect shell status around time function execution in line editor. 2018-05-02 Oliver Kiddle * Eitan Adler: 42740: Completion/BSD/Command/_systat: Teach _systat about the 'zarc' screen * Eitan Adler: 42732: Completion/Unix/Command/_ifconfig: Add several more entries to ifconfig * 42743: Completion/Unix/Command/_vorbis: update vorbis-tools completion and include vorbiscomment with the rest 2018-05-01 Peter Stephenson * from branch fork_early, c.f. 42702: Src/exec.c: Various changes to make forking for a command work better. Move the fork even earlier; add case of non-final pipeline elements; _exit when forked; remove previous early fork in caller; replace fix for leaked file descriptor in pipeline handling. 2018-04-29 Oliver Kiddle * Matthew Martin: 42730: Completion/Unix/Command/_rmdir, Completion/Unix/Type/_directories: Complete the options for rmdir * Matthew Martin: 42729: Completion/Unix/Command/_df: update df completion for [DFNO]BSD * 42676: Completion/Unix/Command/_dd: deal with system specific arguments * 42728: Completion/Unix/Command/_tiff: update options and add handling for tiff2pdf 2018-04-29 Barton E. Schaefer * Ricardo Giorni: 42701: fix 42355 for multiple backslashes 2018-04-26 Peter Stephenson * c.f. 42726: Test/W02jobs.ztst: Back off fg and bg tests as they are currently too hard to make robust. 2018-04-25 Daniel Shahaf * unposted: Src/exec.c: Correct process substitution buffer size in the PATH_DEV_FD codepath. 2018-04-25 Peter Stephenson * 42722: Test/ztst.zsh, Test/W02jobs.ztst: replace ed with dc and hope for better times. * 42714: Test/W02jobs.ztst, Test/ztst.zsh: add basic fg and bg tests using ed. Improve output on pattern difference failure in tests. 2018-04-24 Peter Stephenson * 42708: Src/exec.c, Src/Modules/clone.c, Src/Modules/zpty.c, Test/D03procsubst.ztst: don't close file descriptors for process substitution on closem() tidy up unless we are exiting as they need to be visible to external processes. 2018-04-23 Peter Stephenson * 42705: Src/signals.c: another fix for 42630 --- also check that killpg(pgrp, 0) is -1. * 23362: Src/parse.c: Allow short loops with "while". 2018-04-20 Peter Stephenson * 42684 (with extra comments): Src/exec.c: Fork earlier when executing command if run in background. 2018-04-19 Peter Stephenson * 42686: Src/signals.c: Fix 42630 only to change process groups on exited process. 2018-04-17 Peter Stephenson * 42630: Src/exec.c, Src/signals.c: Improve process group handling in pipelines. Main shell will reclaim terminal if leader exits. Allow SIGCHLD to interrupt reading data from command substitution. * unposted: Config/version.mk: update to 5.5.1-dev-0. 2018-04-16 Peter Stephenson * unposted: NEWS, README, Config/version.mk, Etc/FAQ.yo: update to release 5.5.1. 2018-04-16 Oliver Kiddle * 42659: Completion/Unix/Command/_git, Completion/Unix/Command/_sed, Completion/Linux/Command/_ethtool, Completion/Linux/Command/_htop, Completion/Linux/Command/_pidof, Completion/Unix/Command/_sqlite, Completion/Unix/Command/_ssh: various completion option updates * 42658: Completion/Unix/Command/_diffstat: allow compact form of option arguments to diffstat * Matthew Martin: 42643, 42644: Completion/BSD/Command/_cksum: new cksum completion * Matthew Martin: 42642 (tweaked for Solaris): Completion/Unix/Command/_chown: OpenBSD chown does not support -f and dragonfly has -x 2018-04-15 Barton E. Schaefer * 42650: Src/utils.c: fix 42156 for zero-sized terminals * 42636: Src/utils.c: fix GLOB_DOTS for !(RM_STAR_SILENT) 2018-04-13 Daniel Hahler * 42631: Completion/Unix/Command/_pgrep: _pgrep: pkill: fix completion of signals. 2018-04-12 Oliver Kiddle * 42624 (plus test): Src/exec.c, Test/C04funcdef.ztst: avoid freeing memory that's still needed in multiple function definition that has a duplicated function name 2018-04-11 Peter Stephenson * 42623: configure.ac: some extra quotes needed (and some cosmetic) for 42618. 2018-04-10 Peter Stephenson * Benedikt Morbach: 42618: configure.ac: support signal names from multiple include files as needed for glibc 2.25. * unposted: Config/version.mk: update dev version to 5.5-dev-0. 2018-04-09 Eric Cook * 42613: pda: Completion/Linux/Command/_ss fix quoting typo 2018-04-08 Peter Stephenson * unposted: release zsh-5.5. 2018-04-08 Oliver Kiddle * c.f. 42499: tera torn: Completion/Unix/Command/_twisted: update twisted completion stub for new twist command 2018-04-07 Oliver Kiddle * 42605: Src/Modules/mapfile.c, Src/Zle/complete.c, Src/Zle/zle_params.c: properly free the vi registers hash * 42601: Src/builtin.c: tidy up code for set -A/+A to not increment a NULL pointer and to be more efficient * 42607, CVE-2018-1100: Src/utils.c: check bounds on buffer in mail checking * 42600: Src/Zle/computil.c: error paths for _values leaked the exclusion list array * 42597: Src/params.c: plug memory leak found by coverity * 42595: Src/utils.c: remove dead code flagged by coverity * Matthew Martin: 42604: Completion/BSD/Command/_signify, Completion/BSD/Command/_vmctl: new completions for OpenBSD's signify and vmctl * github #24: Klas Mellbourn: Completion/X/Command/_code: Add completion script for Visual Studio Code 2018-04-06 Mikael Magnusson * 42602: Completion/Unix/Command/_gcc: Update _gcc as of GCC 7.3.0 for generic options and x86 2018-04-05 Oliver Kiddle * 42591: Completion/Debian/Command/_apt: complete *.changes and *.dsc files alongside *.deb * 42584: Completion/Unix/Command/_ssh: complete options for ssh-keyscan and update options for ssh-copy-id * 42583: Completion/Unix/Command/_column: new column completion * 42582: Completion/BSD/Command/_cu, Completion/Unix/Command/_uniq, Completion/Unix/Command/_dhclient, Completion/Unix/Command/_script: updates to options in completions for OpenBSD 6.3 * 42575: Src/Zle/computil.c, Test/Y03arguments.ztst: fix to not complete options in the argument to another option 2018-04-05 Jun-ichi Takimoto * 42590: Completion/Unix/Command/_fmt: fix detection of OSTYPE * 42585 (cf. 42574: Eitan Adler): Completion/Unix/Command/_tar, Completion/Unix/Type/_tar_archive: complete all compressed archives when libarchive-based tar is being used without compression flag * 42577: Completion/Unix/Command/_strings: fix macOS support * 42578: Completion/Unix/Command/_shutdown: add support for macOS 2018-04-04 Peter Stephenson * unposted: 5.4.2-test-2. * 42581(?): Src/hist.c, Src/lex.c, Test/X03zlebindkey.ztst: history expansion within ZLE needs history to be read to conclusion on error. 2018-03-31 Oliver Kiddle * 42572: Completion/Linux/Command/_ethtool, Completion/Linux/Command/_ss, Completion/Unix/Command/_arping, Completion/Unix/Command/_mosh, Completion/Unix/Command/_notmuch, Completion/Unix/Command/_mpc, Completion/Unix/Command/_objdump, Completion/Unix/Command/_prove, Completion/Unix/Command/_rsync, Completion/Unix/Command/_readelf, Completion/Unix/Command/_ruby, Completion/Unix/Command/_strip, Completion/Unix/Command/_vim, Completion/X/Command/_evince: various completion option updates * 42571: Completion/BSD/Command/_jail, Completion/BSD/Command/_jexec: new completion for FreeBSD jail 2018-03-30 Oliver Kiddle * 42568: Completion/Unix/Command/_shutdown: new completion * 42569: Completion/Unix/Command/_lsof: improve completion after -i and -s options * 42567: Completion/Unix/Command/_xmlstarlet: new completion for xmlstarlet * 42570: Completion/Unix/Command/_drill, Completion/Unix/Command/_dig, Completion/Unix/Type/_dns_types: new completion for drill and factor out DNS type completion * 42560: Src/utils.c: silence sign-compare compiler warnings * 42566: Completion/Unix/Command/_strings: new strings completion 2018-03-29 Mikael Magnusson * 42564: Completion/Unix/Command/_adb: Various improvements 2018-03-28 Oliver Kiddle * 42548: Completion/Unix/Command/_pwgen: new pwgen completion * 42549: Completion/Redhat/Command/_yum: also handle the yumdb command in yum completion * 42550: Completion/Unix/Command/_gem: completion for ruby's gem * 42539: Src/utils.c: prevent overflow of PATH_MAX-sized buffer in spelling correction 2018-03-27 Peter Stephenson * Martijn: 42538: Src/utils.c, Test/A04redirect.ztst: temporarily set umask (with signals queued) while reading here document. 2018-03-25 Barton E. Schaefer * 42480: Src/utils.c: optimize $#var for single-byte character sets 2018-03-25 Peter Stephenson * 42505: README. Etc/FAQ.yo: prepare for 5.5 release. 2018-03-24 Oliver Kiddle * 42520: Completion/Unix/Command/_netcat: don't use an empty but existing option cache in netcat completion * 42521 based on 42049 (SATOH Fumiyasu): Completion/Unix/Command/_make: make always includes relative to the current directory rather than relative to the Makefile * 42519, CVE-2018-1083: Src/Zle/compctl.c: check bounds on PATH_MAX-sized buffer used for file completion candidates * 42518, CVE-2018-1071: Src/exec.c, Src/utils.c: check bounds when copying path in hashcmd() 2018-03-24 Jun-ichi Takimoto * 42501: Src/Zle/complete.c, Src/Zle/computil.c, Src/Zle/zle_thingy.c: avoid out of bound pointer (as 42487). * unposted: Src/Modules/db_gdbm.c: add 'static' to a file-local variable. 2018-03-23 Oliver Kiddle * 42491 based on 42000 (Andrei Shevchuk): Completion/Unix/Command/_mosh, Completion/Unix/Command/_git, Completion/Unix/Command/_ssh, Completion/Unix/Type/_ssh_hosts: factor ssh host completion for use for mosh and git * 42497 (tweaked c.f. 42498): Completion/Debian/Command/_apt: make completion after apt install work on local .deb files 2018-03-22 Jun-ichi Takimoto * 42191: Completion/Darwin/Command/_otool: new completion 2018-03-21 Peter Stephenson * 42487: Src/Zle/compctl.c: remove gcc 7.3.0 warnings and potentially incorrect pointer usage. 2018-03-18 Barton E. Schaefer * Stephane: 42469: Src/exec.c, Src/Modules/mapfile.c: fix 42465 2018-03-15 Peter Stephenson * Stephane: 42465: Src/exec.c, Src/Modules/mapfile.c: pass error status from readoutput, causing more consistent reporting from $(...) constructs. 2018-03-12 Peter Stephenson * 42453: Src/jobs.c: fix race looking up status of just exited background job. 2018-03-07 Oliver Kiddle * github #22: Ferenc-: Completion/Unix/Command/_gcc: Add newer C++ standard options to gcc completion * github #23: Matthijs Tijink: Completion/X/Command/_kdeconnect: new kdeconnect-cli completion 2018-03-05 Peter Stephenson * Martijn: 42365: Src/parse.c: use .zwc file if timestamp identical to source file. 2018-03-04 Peter Stephenson * Taylor West: 42411: Src/mem.c: assume any current C compiler will handle NULL argument to free. 2018-02-26 Peter Stephenson * 23180: Src/Zle/zle_tricky.c: Square brackets in dynamic directory expansion shouldn't force expansion in expand-or-complete. * Joey Pabalinas: 42401: Src/mem.c: replace malloc with use of realloc to work around crash with gcc using -foptimize-strlen. * users/23169: Completion/Base/Completer/_expand: treat ~[...] the same way is other forms of tilde expansion: only expand if accept-exact is set. * 42399: Doc/Zsh/builtins.yo: better description of interaction between echo and dashes. 2018-02-22 Daniel Hahler * 42364: Completion/Unix/Command/_git: _git: fix __git_ignore_line to ignore the current word. 2018-02-17 Peter Stephenson * 42362: Src/jobs.c: protet REPORTTIME logic from bad status. 2018-02-13 Peter Stephenson * Eitan Adler: Doc/Zsh/params.yo: REPORTMEMORY is in kilobytes, not megabytes. 2018-02-12 Peter Stephenson * Martijn: 42355: Src/exec.c, Test/A04redirect.ztst: Interpreation of backslash on here doc input was inconsistent and confusing. 2018-02-12 Daniel Hahler * 42324: Completion/Unix/Command/_git: _git: handle mutually exclusive options. 2018-02-11 Daniel Hahler * 42327: Completion/Unix/Command/_make: _make: complete _files. 2018-02-08 Daniel Shahaf * unposted: Completion/Unix/Command/_subversion: Support subcommands with hyphens in their names, such as 'shelf-list (shelves)' from upstream 1.10 development versions. 2018-02-07 Oliver Kiddle * Christian Hesse: 42333: Completion/Unix/Command/_git: Starting with version 2.16.0 git no longer accepts an empty string as a pathspec element. Thus we have to replace empty strings with a dot. * Matthew Martin: 42330: Completion/Unix/Command/_ln: -L and -P are POSIX, but not supported by Darwin or NetBSD * wgh@torlan.ru: 42336: Completion/Unix/Command/_adb: force single column output when getting filenames with adb ls command * 42343: Completion/Unix/Command/_subversion: complete --config-option more than once 2018-01-31 Peter Stephenson * 42332: Src/builtin.c, Src/utils.c: special case printf for unsigned integers by looking for constansts, avoiding conversion to signed. 2018-01-24 Daniel Hahler * 42323: Completion/Unix/Command/_git: _git: move "local" statement out of loop. 2018-01-24 Peter Stephenson * 42322 (tweaked): Src/hist.c, Src/zsh.h: don't discard a history line with just an interactive comment simply because there were no words, since the comment now doesn't produce words. 2018-01-23 Barton E. Schaefer * Joey Pabalinas: 42313: Src/subst.c: avoid null-pointer deref when using ${(PA)...} on an empty array result 2018-01-23 Oliver Kiddle * 42317: Completion/Linux/Command/_cryptsetup, Completion/Linux/Command/_ethtool, Completion/Unix/Command/_wget, Completion/Linux/Command/_tune2fs, Completion/Unix/Command/_cowsay, Completion/Unix/Command/_git, Completion/Unix/Command/_gsettings, Completion/Unix/Command/_gzip, Completion/Unix/Command/_ssh, Completion/Unix/Command/_sudo, Completion/Unix/Command/_tidy, Completion/Unix/Command/_tmux, Completion/Unix/Command/_truss: option updates for commands that have had recent updates * 42299: Completion/Zsh/Command/_typeset: correct optional argument * Matthew Martin: 42309: Completion/Unix/Command/_dhclient, Completion/Unix/Command/_id, Completion/Unix/Command/_install: A few small updates for OpenBSD 2018-01-22 Peter Stephenson * Daniel Tamelin: 42305: INSTALL: CVS should be git. 2018-01-20 Mikael Magnusson * 42243: Src/Modules/pcre.c: Free stuff properly in zsh/pcre module 2018-01-19 Barton E. Schaefer * dana: 41924: Doc/Zsh/params.yo: (wi) subscript flag interaction * Sebastian Gniazdowski: 41839: Functions/Misc/allopt: force IFS to default for "read" 2018-01-18 Peter Stephenson * 42294: Completion/compinit: disable REPORTTIME in completion. 2018-01-16 Peter Stephenson * Warepire: Src/prompt.c: off by one fix in multiline prompts. 2018-01-14 Barton E. Schaefer * 42136: Src/prompt.c: empty string check in %~ / %C expansions * 42043: Src/exec.c: ZSH_DEBUG_CMD should not WARN_CREATE_GLOBAL 2018-01-13 Barton E. Schaefer * 42264: Doc/Zsh/expn.yo: Follow-up to previous: Clarify that ${histchars[1]} may be backslash-escaped even when it isn't '!'. 2018-01-13 Daniel Shahaf * 42261: Doc/Zsh/expn.yo, Doc/Zsh/grammar.yo: docs: Expand documentation of $histchars[1]. Joint with Matthew Martin. 2018-01-10 Oliver Kiddle * Matthew Martin: 42242: Completion/Unix/Command/_ldconfig: add [DFNO]BSD to the mix 2018-01-08 Peter Stephenson * 42245: Src/hist.c, Src/lex.c, Src/zsh.h: Abort last word on interactive comment to avoid it becoming a useless word. 2018-01-05 Oliver Kiddle * dana: 42231: Completion/Darwin/Command/_caffeinate, Completion/Darwin/Command/_mdfind, Completion/Darwin/Command/_mdls, Completion/Darwin/Command/_mdutil, Completion/Darwin/Command/_nvram, Completion/Darwin/Command/_osascript, Completion/Darwin/Command/_pbcopy, Completion/Darwin/Command/_plutil, Completion/Darwin/Command/_say, Completion/Darwin/Command/_scselect, Completion/Darwin/Command/_scutil, Completion/Darwin/Command/_sw_vers, Completion/Linux/Command/_chattr, Completion/Linux/Command/_ldconfig, Completion/Linux/Command/_lsattr, Completion/Unix/Command/_attr: new completion functions for simple utilities belonging to the 'Darwin' and 'Linux' groups. * 42230: Completion/Unix/Command/_screen: update to 4.06.01 * 42229: Completion/Unix/Command/_awk, Completion/Unix/Command/_df, Completion/Unix/Command/_ls, Completion/Unix/Command/_od, Completion/Unix/Command/_tail, Completion/Unix/Command/_timeout: update completion of GNU programs for coreutils 8.29 / gawk 4.2.0 * dana: 42223 (tweaked): Completion/X/Command/_sublimetext, Completion/Unix/Command/_getopt, Completion/Unix/Command/_install Completion/Unix/Command/_mktemp, Completion/Unix/Command/_fold: new completions * 42221: Completion/Unix/Command/_enscript: update enscript completion for GNU enscript 1.6.6 2018-01-05 Jun-ichi Takimoto * dana: 42222: Completion/Unix/Type/_object_files: recognize .dylib extension (macOS). 2018-01-04 Peter Stephenson * dana: 42164: Src/Zle/complist.c, Test/Y01completion.ztst: numeric values didn't work in format escapes in completion lists. * Stephane: 42159: Src/params.c: avoid crash copying empty hash table. * Sebastian: 42188: Src/Modules/system.c: It is necessary to close the lock descriptor in some failure cases. 2018-01-04 Oliver Kiddle * dana: 42214: Completion/BSD/Type/_file_flags, Completion/Unix/Type/_file_modes, Completion/Unix/Command/_find, Completion/Unix/Command/_mkdir, Completion/BSD/Command/_chflags, Completion/Unix/Command/_chmod: use less general names on new functions for completing file flags and modes * github #21: Maciek Makowski: Completion/Linux/Command/_networkmanager: update nmcli completions to be compatible with recent version 1.8.4 2018-01-03 Oliver Kiddle * dana: 42210: Completion/BSD/Command/_chflags, Completion/BSD/Type/_flags, Completion/Unix/Command/_chmod, Completion/Unix/Command/_find, Completion/Unix/Command/_mkdir, Completion/Unix/Type/_modes: factor out completion of file modes and flags and handle _comp_priv_prefix for chflags * dana: 42209: Completion/Unix/Command/_unexpand: take account of numeric options such as -4 instead of -t4 * dana: 42209: Completion/Unix/Command/_tr: fix option descriptions for non-GNU variants * 42208: Completion/Unix/Command/_yp: fix use of cache variables * dana: 42207: Completion/Unix/Command/_chown, Completion/Unix/Command/_cat, Completion/Unix/Command/_cut, Completion/Unix/Command/_dd, Completion/Unix/Command/_df, Completion/Unix/Command/_env, Completion/Unix/Command/_fmt, Completion/Unix/Command/_head, Completion/Unix/Command/_paste, Completion/Unix/Command/_printenv, Completion/Unix/Command/_stty, Completion/Unix/Command/_stdbuf, Completion/Unix/Command/_tail, Completion/Unix/Command/_tr, Completion/Unix/Command/_uname, Completion/Unix/Type/_directories: add g prefixes for GNU variants * Matthew Martin: 42117: Completion/BSD/Command/_chflags: use anonymous function rather than define one in user namespace 2018-01-02 Eric Cook * 42171: Completion/BSD/Command/_portsnap, Completion/Linux/Command/_ipset, Completion/Linux/Command/_valgrind, Completion/Redhat/Command/_rpm, Completion/Solaris/Command/_prstat, Completion/Unix/Command/_arp, Completion/Unix/Command/_cvs, Completion/Unix/Command/_devtodo, Completion/Unix/Command/_ffmpeg, Completion/Unix/Command/_git, Completion/Unix/Command/_gpg, Completion/Unix/Command/_ruby, Completion/Unix/Command/_tr, Completion/Unix/Command/_whois, Completion/Unix/Command/_yp, Completion/Unix/Command/_zfs, Completion/X/Command/_xset, Completion/Zsh/Command/_cd: prevent various parameters from becoming global. 2017-12-31 Jun-ichi Takimoto * 42183: Completion/Unix/Command/_objdump: support LLVM variant 2017-12-30 Daniel Shahaf * 42186: Completion/Debian/Command/_apt: Fix completion of target_release names, e.g., 'apt install zsh/'. * unposted: Functions/VCS_Info/VCS_INFO_formats, Functions/VCS_Info/VCS_INFO_set: vcs_info: Add docstrings to the internal functions VCS_INFO_formats and VCS_INFO_set. 2017-12-28 Jun-ichi Takimoto * 42175 + 42177 (+ 24178 by Daniel): Completion/Base/Utility/_arguments, Completion/Base/Utility/_call_program, Completion/Debian/Command/_aptitude, Completion/Unix/Command/_a2ps, Completion/Unix/Command/_subversion, Completion/Unix/Command/_tar, Doc/Zsh/compsys.yo: avoid localized output from external commands for easier analysys by the completion system. 2017-12-27 Jun-ichi Takimoto * 42176: Completion/Unix/Command/_tar: update long options 2017-12-22 Peter Stephenson * dana: 42156 with tweak as per 42158: Doc/Zsh/options.yo, Src/builtin.c, Src/options.c, Src/utils.c, Src/zsh.h, Test/W02jobs.ztst: add CHECK_RUNNING_JOBS opion and job tests; remove debug error when rows or columns are zero as this is normal without a physical terminal. * dana: 42156: Doc/Zsh/options.yo, Src/builtin.c, Src/options.c, Src/zsh.h, Test/W02jobs.ztst: new CHECK_RUNNING_JOBS option demanded by bash groupies. * danda: 42155: Completion/Unix/Command/_ssh: various improvements for OpenSSH. * 42152: Src/exec.c, Src/zsh.h: improved line numbering for functions (in particular anonymous functions) defined inside others, also flag for anonymous functions. 2017-12-20 Peter Stephenson * dana: 42145: Src/Zle/computil.c, Test/Y03arguments.ztst: fix for completion option arguments. 2017-12-20 Daniel Shahaf * 42146: Src/hashtable.c, Test/A02alias.ztst: type -w += global aliases * 42138: Completion/Unix/Command/_git: _git-revert: Complete recent commits first. * Stephane (rebased by Mikael): users/13148, workers/42060: Src/exec.c: Abort the command line when replying "[n] No" to the RM_STAR_SILENT prompt. 2017-12-20 Jun-ichi Takimoto * 42143: Completion/Unix/Type/_object_files: fix a pattern for matching object files 2017-12-18 Jun-ichi Takimoto * 42412: Src/Zle/zle_word.c: fix a bug in 42116. Also fix a few widgets which were calling wrong function when negative numeric argument was given. 2017-12-18 Jun-ichi Takimoto * 42116: Src/Zle/zle_word.c, Src/Zle/textobjects.c, Src/Zle/zle.h, Test/X02zlevi.ztst: multibyte support for Zle vi-mode word motion 2017-12-15 Peter Stephenson * 42123 (tweaked further): Src/exec.c: need to take account of Dash when comparing functions names for autoloading. 2017-12-14 Peter Stephenson * dana: 42119: Doc/zsh/params.yo, Src/jobs.c, Test/A01grammar.ztst: add millisecond and microsecond options to TIMEFMT variable. 2017-12-13 Peter Stephenson * Matthew Martin: 42114: Completion/BSD/Command/_bsd_pkg, Completion/BSD/Type/_fbsd_architectures, Completion/BSD/Type/_nbsd_architectures, Completion/BSD/Type/_obsd_architectures: Remove FreeBSD use of pkg_* tools and add BSD architecture utilities. 2017-12-12 Peter Stephenson * 42110: Src/parse.c, Test/A04redirect.ztst: fix redirection in between variable assignments at start of line. 2017-12-01 Peter Stephenson * dana: 42065: Test/B10getopts.ztst: new getopts tests. * dana: 42063: Src/builtin.c: getopts errors now report "+" if appropriate for option. 2017-11-24 Daniel Shahaf * 42031 + 42048: Doc/Zsh/cond.yo, Doc/Zsh/options.yo, README, Src/cond.c, Test/C02cond.ztst: Make [[ -o invalidoption ]] a normal(ish) false value, rather than a syntax error. 2017-11-20 Peter Stephenson * Dima Kogan: 42040: Src/glob.c: buffer for glob qualifiers loses stat information in corner case. * Evan Underscore / pws: 42037: Completion/bashcompinit: recent change caused wrong word to be used for COMP_POINT. 2017-11-13 Oliver Kiddle * 42019: Completion/Unix/Command/_git: update options to 2.15 and improve format completion for git tag and for-each-ref * gitlab #1: Completion/Unix/Command/_sqlite: update options for sqlite 3.21.0 * github #18: Malcolm Ramsay: Completion/Redhat/Command/_dnf: Explicitly use system python so the dnf module can be found * github #19: Chris Bracken: Doc/Zsh/options.yo: Fix minor typo in INC_APPEND_HISTORY documentation 2017-11-11 Peter Stephenson * Martijn: 42004: Doc/Zsh/builtins.yo: fix parentheses. 2017-11-04 Daniel Shahaf * unposted: Completion/Linux/Command/_sshfs: Make the -o option repeatable, accept "--". 2017-11-04 Oliver Kiddle * 41983: Src/Zle/computil.c, Test/Y03arguments.ztst: fix exclusion of long options with (-) on a normal argument 2017-11-03 Daniel Shahaf * 41969: Completion/Unix/Command/_sort: Clarify option description. 2017-11-02 Oliver Kiddle * 41971: Completion/Linux/Command/_modutils, Completion/Unix/Command/_make, Completion/Zsh/Command/_zmodload: correctly break out of certain tag loops when there are matches 2017-11-02 Peter Stephenson * Martijn: 41866: Src/builtin.c, Src/hashtable.c: no error for unsetting nonexistent function if POSIXBUILTINS. 2017-10-31 Oliver Kiddle * 41965: Completion/Zsh/Command/_typeset: complete functions -W * 41965: Completion/Zsh/Command/_zmodload: complete zmodload -s * 41963: Completion/Unix/Command/_gnutls: update for gnutls 3.6.1 2017-10-30 Daniel Shahaf * 41939: Doc/Zsh/grammar.yo: docs: Move aliases corner case to the dangerous bends section. (after 41482) 2017-10-29 Oliver Kiddle * Sebastian: 41960: Completion/Zsh/Command/_zstyle, Completion/Zsh/Type/_globquals: declare MATCH, MBEGIN, MEND local * 41961: Completion/Unix/Command/_ansible: new ansible completion * 41958: Completion/Linux/Command/_losetup, Completion/Linux/Command/_lsblk, Completion/Linux/Command/_wipefs, Completion/Unix/Command/_hexdump, Completion/Unix/Command/_last: update util-linux completions to 2.31; new hexdump completion 2017-10-28 Oliver Kiddle * 41957: Completion/Unix/Command/_git: update for git 2.14.3 * 41927: Completion/Zsh/Command/_typeset: complete "typeset -p"'s optional argument for multi-line output 2017-10-25 Alexey Sokolov * 41952: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Use HGPLAIN instead of HGRCPATH in VCS_INFO_get_data_hg 2017-10-20 Christian Brabandt * 41943: Completion/Unix/Command/_vim: Completion: add --clean for vim 2017-10-17 Barton E. Schaefer * unposted: Test/D04parameter.ztst: tests for 41902 * 41902: Src/lex.c: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES is set. * unposted (cf. Sebastian: 41891): Test/D04parameter.ztst: regression test for 41873 2017-10-17 Daniel Shahaf * unposted: Doc/Zsh/builtins.yo: Document "typeset -p"'s optional argument in the inline synopsis. 2017-10-16 Peter Stephenson * gi1242+ZSH: 41907: Completion/Debian/Command/_deborphan: further update. * gi1242+zsh: 41904: Completion/Debian/Command/_deborphan, Completion/X/Command/_xrandr: new and updated completions. 2017-10-15 Barton E. Schaefer * 41898: Functions/Zle/edit-command-line: handle multi-word values of $VISUAL et al., and line counting of buffer for emacs startup 2017-10-13 Barton E. Schaefer * 41873: Src/lex.c: temporarily disable effects of ${(Z:n:)...} for parsing $(...) expressions within the parameter value 2017-10-13 Daniel Shahaf * 41833 + 41838: Completion/Unix/Command/_jq: New completion. 2017-10-13 Peter Stephenson * 41877: Src/subst.c, Test/E01options.ztst: Separate out SH_FILE_EXPANSION loop from parameter substitution as the latter can add nodes: SH_FILE_EXPANSION should see following nodes only, but on the next loop parameter substitution needs to see added nodes for further expansion. 2017-10-11 Daniel Shahaf * 41825/0002: Completion/Zsh/Command/_stat: Complete -x options to zsh/stat's 'zstat'. * 41825/0001: Completion/Zsh/Command/_stat: Only complete 'stat' if it's provided by the zsh/stat builtin. 2017-10-10 Oliver Kiddle * 41855: Completion/Unix/Command/_dhclient, Completion/BSD/Command/_pfctl, Completion/Unix/Command/_id, Completion/Unix/Command/_rm: completion option updates for OpenBSD 6.2 and handle macOS in rm completion * 41854: Completion/Unix/Command/_ping: also complete options for ping on Solaris, macOS, NetBSD and OpenBSD and for ping6 * 41853: Completion/Unix/Command/_texinfo: update options for texinfo 6.5 and complete also for the pinfo info reader * 41849: Completion/Unix/Command/_unexpand: handle both unexpand and expand in a single function: they have some commonalities and it dodges around the clash with the _expand completer * 41831: Completion/Unix/Type/_tilde_files, Completion/Unix/Command/_less, Completion/Unix/Command/_vorbis, Completion/Zsh/Type/_globquals: fix compset usage in ogg123 completion and tweak where compset -p is a better choice than -P * 41835: Src/Zle/complete.c: handle multibyte characters with compset -p and -s 2017-10-10 Peter Stephenson * uposted, c.f. 41846: Completion/Unix/Command/_expand -> _expand_cmd: rename to avoid clash with completer. * 41842: Doc/Zsh/grammar.yo: split alias documentation, adding more on problems. 2017-10-08 Barton E. Schaefer * 41830: Test/E01options.ztst: test for 41828. * 41828: Src/subst.c: skip SHFILEEXPANSION for new nodes added by stringsubst() in prefork(). 2017-10-07 Oliver Kiddle * 41827: Completion/Zsh/Context/_brace_parameter: correct sense of description for ${...:?...} expansion * dana: 41826: Completion/Zsh/Context/_brace_parameter: fix inaccuracies in completion description wording * 41824: Src/Zle/computil.c, Test/Y03arguments.ztst: fix to not complete rest args from an _arguments set alongside the argument to and option in a separate set * 41823: Completion/Unix/Command/_expand, Completion/Unix/Command/_mv, Completion/Unix/Command/_numfmt, Completion/Unix/Command/_seq, Completion/Unix/Command/_split, Completion/Unix/Command/_stdbuf, Completion/Unix/Command/_cp, Completion/Unix/Command/_timeout, Completion/Unix/Command/_unexpand: new completions for some GNU coreutils utilities 2017-10-07 Daniel Shahaf * unposted: Doc/Zsh/mod_stat.yo: zsh/stat docs: Rephrase to avoid ambiguity due to the ambiguous relative precedence of the 'other than' and 'and' operators. 2017-10-04 Noah Pendleton * 41808: Completion/Unix/Command/_git: _git-cherry-pick: Typo fixes 2017-10-04 Peter Stephenson * 41802 (minor tweaks): Src/exec.c, Src/parse.c: use heap instead of stack for temporary storage over shell function call, also fix debug message when FUNCNEST increased. 2017-10-02 Peter Stephenson * 41787 (minor corrections): configure.ac, README, Doc/Zsh/params.yo, Src/exec.c, Src/parms.c, Test/C04funcdef.ztst: reduce default nested function depth to 500 and expose as $FUNCNEST. 2017-10-01 Peter Stephenson * 41797 (tweaked): Doc/Zsh/builtins.yo, Src/builtin.c, Src/params.c, Src/subst.c, Src/zsh.h, Test/B02typeset.ztst: typeset -p1 outputs arrays and associative arrays with newlines and indented elements. 2017-09-29 Peter Stephenson * 41789: Src/exec.c: Don't try to mark an FD as saved if it couldn't be moved. 2017-09-28 Oliver Kiddle * 41772: Src/Zle/computil.c, Test/Y03arguments.ztst: fix bug in handling of long options with _arguments' -A option * 41762: Completion/Zsh/Context/_value: fix for completion in assignment to associative array element 2017-09-27 Barton E. Schaefer * 41767: Src/exec.c: preserve nonzero exit status on interrupt 2017-09-27 Peter Stephenson * 41773: Test/D04parameter.ztst: Array index assignment tests for KSH_ARRAYS. * 41764 (test tweaked): Doc/Zsh/params.yo, Src/params.c, Src/subst.c, Src/zsh.h, Test/D04parameter.ztst: allow [key]+=value when modifying array or associative array. 2017-09-26 Peter Stephenson * 41761: Src/exec.c: Ensure status from interrupt is propagated from builtin. 2017-09-25 Peter Stephenson * 41747: Sr/hist.c, Src/params.c, Src/subst.c. Src/zsh.h: add flag so as not to create hash table when checking existence. 2017-09-24 Daniel Shahaf * 41755: Doc/Zsh/params.yo: Followup to last: minor clarification to docs. 2017-09-24 Peter Stephenson * 41754: Doc/Zsh/params.yo, NEWS, README, Src/Zle/zle_tricky.c, Src/exec.c, Src/params.c, Src/subst.c, Src/zsh.h, Test/B02typeset.ztst, Test/D04parameter.ztst: allow mix of [ind]=val and traditional assignment for normal (but not associative) arrays, add tests. 2017-09-22 Oliver Kiddle * 41742: Completion/Unix/Command/_mtr: update for mtr 0.92 * 41743: Completion/Linux/Command/_tune2fs: update options in completion through e2fsprogs 1.43.6 * 41732: Completion/Unix/Command/_tmux: bring completion in line with tmux 2.5 - removing completion of mode tables 2017-09-21 Daniel Shahaf * unposted (cf. 41672): Src/utils.c: checkrmall: Record the 41672 bug in a TODO. * unposted (cf. 41707): Src/utils.c: internal: Document the count==0 case of checkrmall(). 2017-09-20 Barton E. Schaefer * 41736: NEWS, Src/exec.c: NO_INTERACTIVE_COMMENTS in $(...) * 41731: Doc/Zsh/params.yo: reformat and expand doc for 41698. 2017-09-18 Oliver Kiddle * 41729: Completion/Unix/Command/_gnutls: update options for gnutls plus cleanup and rearrange the function * 41728: Completion/Unix/Command/_flac (was _metaflac): new completion for flac and update options in metaflac completion * 41727: Completion/Unix/Command/_tidy: run tidy -xml-config to get HTML options for completion 2017-09-18 Barton E. Schaefer * 41723: Src/loop.c: one more case of 41627 in "while" loops. 2017-09-18 Oliver Kiddle * 41726: Completion/Linux/Command/_cryptsetup: add + and = to option specs taking arguments and update options to 1.7.5 * 41720: Completion/Linux/Command/_chrt, Completion/Linux/Command/_ionice, Completion/Linux/Command/_losetup, Completion/Linux/Command/_wipefs: update completion of options for util-linux 2.30.1 * 41725: Completion/BSD/Command/_sysrc, Completion/Linux/Command/_mii-tool, Completion/Redhat/Command/_scl, Completion/Unix/Command/_env, Completion/Unix/Command/_dhclient, Completion/Unix/Command/_getfacl, Completion/Unix/Command/_gpg, Completion/Unix/Command/_ls, Completion/Unix/Command/_screen, Completion/Unix/Command/_setfacl, Completion/Unix/Command/_strip, Completion/Unix/Command/_truss, Completion/Unix/Command/_vim, Completion/Unix/Command/_wget: assorted minor updates to completion functions * 41724: Completion/Linux/Command/_ethtool: update completion for new options 2017-09-15 Oliver Kiddle * 41711: Completion/Unix/Command/_dconf: new dconf completion * 41710: Completion/Unix/Command/_smartmontools: new smartctl completion * 41709: Completion/Linux/Command/_sysstat, Completion/Unix/Command/_iostat: update options in completion 2017-09-15 Peter Stephenson * unposted: Doc/Zsh/params.yo: nodref -> noderef. 2017-09-14 Peter Stephenson * 41705: Doc/Zsh/expn.yo, Doc/ZSh/params.yo, Src/params.c, Test/B02typeset.ztst, Test/V10private.ztst: typeset -p output for associative arrays and some rephrasings. 2017-09-13 Peter Stephenson * unposted: typo in proceeding Doc noticed by Oliver. * 41698: Doc/Zsh/params.yo, Src/builtin.c, Src/exec.c, Src/params.c, Src/zsh.h, Test/B02typeset.ztst, Test/D04parameter.ztst: add ([key]=val) assignment syntax. Still to do: allow to mix with other syntax, improve typeset -p, implement [key]+=value. 2017-09-13 Peter Stephenson * 41688: Src/jobs.c: "wait" for all active jobs should ignore those marked STAT_NOPRINT. * 41679: Doc/Zsh/builtins.yo: slight clarifcation on exec of builtins. 2017-09-11 Daniel Shahaf * unposted: Src/utils.c: internal: Document zreaddir(). 2017-09-11 Peter Stephenson * unposted: Doc/Zsh/invoke.yo: YODL compatibility fix for --emulate. * Thierry Ghelew: 41666: Src/Modules/zpty.c: zpty compatibility for OpenBSD. * 41668: Doc/Zsh/invoke.yo, Src/builtin.c, Src/init.c, Src/zsh.h, Test/B07emulate.ztst: Add option --emulate at invocation to start in correct emulation, as the ARGV0 trick doesn't work from other shells. 2017-09-10 Peter Stephenson * 41622: Src/exec., Test/A01grammar.ztst: exec -a arguments weren't sanitised. * 41661: Src/subst.c, Test/D04parameter.ztst: need to remove tokens before passing to bufferwords() for (z). 2017-09-09 Jun-ichi Takimoto * 41628 (plus 41645 by Oliver): Completion/Unix/Command/_ps: update options; do not reset compstate 2017-09-05 Peter Stephenson * 41641: Src/math.c: more arithmetic operations need to be marked as rvalues, in particular increment and decrement. 2017-09-04 Peter Stephenson * 41633: Src/parse.c: make sure function definitions including anonymous functions put into the background are run in the background. 2017-09-04 Daniel Shahaf * 41621: Completion/Unix/Command/_mkdir: Honour the 'command' and 'builtin' precommand modifiers. * 41620 (tweaked per 41622): Completion/Unix/Command/_mkdir: Don't offer a linux-specific option in the 'zsh' variant. 2017-09-04 Peter Stephenson * 41637: Marc Aldorasi: Completion/Unix/Command/_objdump: explicit completion instead of generating from _object_files. 2017-09-02 Peter Stephenson * 41623: Etc/FAQ.yo: update to align with Yodl 3. 2017-08-31 Peter Stephenson * unposted: Functions/Misc/zed: zstyle -m can set match, mbegin, mend, so declare locally. * 41627: Src/loop.c, Test/C03traps.ztst: fix problem with ERR_RETURN in initialisation scripts and also on nested function involving ERR_RETURN suppression in the caller. 2017-08-30 Daniel Shahaf * 41567: Completion/Unix/Command/_tmux: Complete detached sessions first for attach-session. * 41566: Completion/Unix/Command/_tmux: Complete only attached sessions for detach-session. * 41564: Completion/Unix/Command/_tmux: Complete environment variables and their values for set-environment and show-environment. * 41557: Completion/Unix/Command/_tmux: show-environment, set-environment: Make -g,-t mutually exclusive. * 41558: Completion/Unix/Command/_tmux: Complete option names for show-options and show-window-options. 2017-08-27 Peter Stephenson * 41608 (plus tests): Src/exec.c, Test/C03traps.ztst: ERR_EXIT behaviour restored when executing a function in body of else. 2017-08-29 Андрей Стоцкий (_RuRo_) * 41618: Completion/Unix/Command/_todo.sh: Added some arguments autocompletion to _todo.sh. 2017-08-29 Oliver Kiddle * 41617: Completion/Linux/Command/_tracepath: complete new options * 41616: Completion/Unix/Command/_entr: update options to 3.8 * unposted: Completion/Unix/Type/_bpf_filters: add missing #autoload directive 2017-08-28 Daniel Shahaf * unposted: Config/version.mk: Post-release version bump. 2017-08-27 Peter Stephenson * unposted: Config/version.mk: 5.4.2. 2017-08-25 Peter Stephenson * 41599: README, Etc/FAQ.yo: updates for 5.4.2. 2017-08-25 William da Silva * 41602 (tweaked): Completion/Unix/Command/_gpg: Improve wording in gpg completion. 2017-08-25 Oliver Kiddle * 41601: Completion/Unix/Command/_arp, Completion/Unix/Command/_route: handle system differences in arp completion and add function for route * 41600: Completion/Unix/Command/_mpc: fix quoting of songs for completion and avoid sending errors to stderr * 41598: Completion/Unix/Command/_w, Completion/Unix/Command/_who: new who and w completions 2017-08-24 Peter Stephenson * 41590 (modified as per 41595): README, Doc/Zsh/options.yo, Src/exec.c, Src/init.c, Src/loop.c, Src/signals.c, Src/zsh.h, Test/E01options.ztst: make ERR_RETURN work within each function context, leaving ERR_EXIT global. 2017-08-22 Daniel Shahaf * 41565: Functions/VCS_Info/VCS_INFO_patch2subject: vcs_info patch2subject: Support `svn log -r N --diff` output. 2017-08-18 Oliver Kiddle * 41568: Completion/Unix/Command/_vmstat: handle vmstat options on NetBSD and Solaris and add some exclusion lists * 41563: Completion/Base/Utility/_regex_words: fix completion description alignment with _regex_words * 41562: Completion/BSD/Command/_rcctl: correct completed word * 41561: Completion/Unix/Command/_dhclient: handle Free/OpenBSD and bring options up-to-date for the ISC implementation * 41560: Completion/Unix/Command/_chsh: cleanup chsh completion for different platforms 2017-08-16 Oliver Kiddle * Tomasz Pala: users/22834: Completion/Linux/Command/_modutils: fix irritating bug in file glob for Linux kernel modules * Tomasz Pala: users/22834: Completion/Unix/Command/_ip: allow completion after -c and a few other new options * 41556: Completion/Solaris/Command/_snoop Completion/Unix/Command/_ngrep, Completion/Unix/Command/_tcpdump, Completion/Unix/Type/_bpf_filters: complete BPF (libpcap) filters * 41552: Completion/Unix/Command/_git: complete only branches after git worktree add --detach because the --detach is superfluous for other commits 2017-08-15 Peter Stephenson * posted twice but has not shown up: Src/exec.c, Src/zsh.h: record file desriptors that remain open to save ones in the range 0 to 9 in fdtable and close them on forking. 2017-08-14 Peter Stephenson * Phil: 4152: Src/Modules/pcre.c, Test/V07pcre.ztst: fix big with uninititialised memory in logic for extracting matched parentheses. 2017-08-11 Peter Stephenson * Phil: 41527 (tweak to use heap memory): Src/module.c, Test/V07pcre.ztst: fix [[ ... ]]] conditions passed to modules. 2017-08-09 Peter Stephenson * unposted: README: 5.4,1 typo fixed. * 41504: Src/lex.c, Src/parse.c, Test/A01grammar.ztst: make empty strings work in case patterns with no opening parenthesis. 2017-08-08 Peter Stephenson * unposted: Config/version.mk: update to 5.4.1-dev-0. * unposted: Config/verson.mk, README, Etc/FAQ.yo: update to version 5.4.1. * unposted: back off 41499 as it has side effects which, while perfectly logical, are not what POSIX expects. 2017-08-08 Peter Stephenson * 41510: Doc/Zsh/params.yo: update doc for $ZSH_PATCHLEVEL. 2017-08-08 Daniel Shahaf * 41481: Completion/Unix/Command/_df, Completion/Unix/Command/_mount, Completion/Unix/Type/_umountable: _df: Complete mounted device and mount points. * 41486: Completion/Unix/Command/_tmux: Correct completions of new-window, split-window, respawn-window, respawn-pane. * unposted: Config/version.mk: Post-release version number bump to 5.4-dev-0. 2017-08-07 Peter Stephenson * unposted: version 5.4. * 41499 (with one further tweak): Src/utils.c, Doc/Zsh/options.yo, Test/E01options.ztst: With POSIX_STRINGS ignore terminating separator when splitting. 2017-08-07 Peter Stephenson * Anthony: 41500: Doc/Zsh/mod_zutil.yo: document '-' to end zparseopts options. 2017-08-05 Oliver Kiddle * 41493: Completion/Unix/Command/_git: fix to not print hash into terminal and update options for git 2.14 * 41492: Completion/BSD/Command/_gstat, Completion/Unix/Command/_flex, Completion/Unix/Command/_sqlite, Completion/Unix/Command/_sudo: update options in completions 2017-08-03 Peter Stephenson * 41485: Test/A03quoting.ztst: test for previous fix. * Martijn: 41484: Src/utils.c: ${(q+)...} didn't properly quote backslashes. 2017-08-02 Daniel Shahaf * 41479: Completion/Unix/Command/_xz: Complete compressed, rather than uncompressed, files after -d. * 41475: Completion/Unix/Command/_git: Complete files after 'reset' when there are no commits, when the 'verbose' style is set. 2017-08-01 Peter Stephenson * 41470: Doc/Zsh/builtins.yo: note that 41464 stops exec finding other precommand modifiers with POSIX_BUILTINS (for now, at least). 2017-08-01 Daniel Shahaf * 41474: Completion/Debian/Command/_pbuilder, Completion/Debian/Type/_deb_codenames: Fix pbuilder's --distribution,--architecture completion. 2017-07-31 Peter Stephenson * unposted: Config/version.mk: test release 5.3.1-test-2. 2017-07-31 Daniel Shahaf * unposted: Completion/Unix/Command/_git: Fix style lookup for 'max-verbose'. 2017-07-29 Barton E. Schaefer * 41472: Doc/Zsh/contrib.yo, Functions/Prompts/prompt_bart_setup, Functions/Prompts/prompt_default_setup, Functions/Prompts/prompt_off_setup, Functions/Prompts/prompt_restore_setup, Functions/Prompts/promptinit: introduce cleanup hooks default and restore special themes, and update documentation 2017-07-29 Peter Stephenson * unposted: Etc/FAQ.yo, NEWS, README: update in preparation for 5.4 release. 2017-07-28 Daniel Shahaf * 41467: Completion/Unix/Command/_tmux, Completion/Unix/Type/_cmdambivalent, Doc/Zsh/compsys.yo: Correct completion of 'tmux new '. * 41471 (tweaked): Completion/Unix/Command/_subversion: _svn: Complete propvals in 'propset'. * 41458: Completion/Unix/Command/_subversion: Don't cache an empty commands list when svn is not available at the first invocation of _svn. 2017-07-26 Peter Stephenson * 41464, 41466 (modified): Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, Src/exec.c, Test/E01options.ztst: POSIX_BUILTINS stops "exec" finding builtins or shell functions. Document existing behaviour. * Jim: 41461: Doc/Zsh/seealso.yo: complete list of zsh manual pages in introduction. 2017-07-20 Peter Stephenson * 41433: Doc/Zsh/expn.yo: Further clarification about expansion processing. 2017-07-17 Peter Stephenson * 41429: Doc/Zsh/expn.yo: Better documentation of how stages of expansion fit together. 2017-07-15 Oliver Kiddle * 41432: Completion/Unix/Command/_xz: use option grouping * 41431: Completion/Linux/Command/_lsblk, Completion/Linux/Command/_ss, Completion/Linux/Command/_strace, Completion/Unix/Command/_diffstat, Completion/Unix/Command/_dig, Completion/Unix/Command/_dmidecode, Completion/Unix/Command/_irssi, Completion/Unix/Command/_gsettings, Completion/Unix/Command/_ssh, Completion/X/Command/_xclip: update options in assorted completions 2017-07-14 Oliver Kiddle * Fabian Klötzl: 41414: Completion/Linux/Command/_iptables, Completion/Unix/Command/_gcc, Completion/Unix/Command/_git, Etc/completion-style-guide: fix for commas used in exclusion lists, missing escape for _gcc and --no-index option for git diff * 41419: Completion/Unix/Command/_git: update for git 2.13.2 2017-07-13 Peter Stephenson * 41420: Src/glob.c, Test/D09brace.ztst: "{.." wasn't checked properly. 2017-07-11 Peter Stephenson * Marcin Mielniczuk: 41409: Completion/Unix/Command/_django: complete "django startproject". 2017-07-09 Peter Stephenson * unposted: Config/version.mk: update dev version due to wordcode changes. * Sebastian: 41402: Src/parse.c: Delay checking tokens in ecstrcode() as may not be needed. * Sebastian: 41402: Src/parse.c, Src/zsh.h: Add hasher to ecstrcode() to reduce string comparisons. 2017-07-04 Peter Stephenson * 41391: Doc/Zsh/jobs.yo, Src/jobs.c, Src/zsh.h: delay disown for superjob. * Maxime de Roucy: 41385: Src/Zle/complist.c: Avoid invalid access with isearch in completion list. 2017-07-03 Peter Stephenson * Sebastian: 41375: Src/Modules/db_gdbm.c: GDBM interface bug fixes. 2017-07-02 Peter Stephenson * 41386: Src/jobs.c: when backgrounding a STAT_CURSH job, remove the flag, preventing it getting foreground signals. * 22760: Src/utils.c, Test/D04parameter.ztst: NO_MULTIBYTE partial string lengths were reported as full string lengths. 2017-06-27 Peter Stephenson * 41368: Src/Zle/compctl.c: missing unqueue_signals(). 2017-06-26 Peter Stephenson * 41345: Functions/Prompts/prompt_walters_setup: use consistent versions of the prompt variables in prompt themes. 2017-06-22 Peter Stephenson * Axel: 41342: conigure.ac: check for yodl version 4. * 41339: Completion/Unix/Command/_git: unquote treeish argument for git checkout completion. * Phil: 41308, tweaked: Src/Modules/pcre.c, Test/V07pcre.ztst: Behaviour of PCRE with NULL bytes. 2017-06-19 Barton E. Schaefer * Mikael Magnusson: 41319: Src/cond.c: dupstring a possibly readonly string before modifying * 41322 + comment: Src/input.c: reduce number of changes in signal queuing/blocking state during shingetline() to improve read speed * 41317: Src/exec.c: use heap allocation in getoutputfile() to plug memory leak (cf. Sebastian: 41316) 2017-06-17 Barton E. Schaefer * 41242: Src/Zle/compcore.c, Src/Zle/zle_tricky.c: zstrbcmp(...) removed in favor of zstrcmp(..., SORTIT_IGNORING_BACKSLASHES) 2017-06-16 Barton E. Schaefer * Wieland Hoffmann: 41265: Functions/Zle/insert-files: quote the inserted file names as necessary 2017-06-13 Eric Cook * unposted: Functions/Zle/url-quote-magic: fix typo in the examples * Stephane: 41275: Src/Zle/zle_main.c: Leave stdin open when executing widgets. 2017-06-13 Peter Stephenson * 41284: Src/builtin.c, Test/B01cd.ztst: fix null dereference on cd with no argument if HOME is not set. 2017-06-12 Peter Stephenson * 41244: Doc/Zsh/builtins.yo, Src/Modules/zftp.c, Src/Zle/zle_thingy.c, Src/builtin.c, Src/module.c: Add zmodload -s (silent) option by exposing low-level argument to builtin. 2017-06-09 Daniel Shahaf * unposted: Etc/BUGS: Add to Etc/BUGS 41184,41203,41254 about STTY and about modules. 2017-06-07 Peter Stephenson * 41239: Src/hist.c, Src/zsh.h: Save and restore default history event on context stack. This prevents expansions in ZLE from propagating to the command line expansion. * Sebastian: 41232: Functions/Misc/zed: use terminfo to find page up/down keys where available. 2017-06-05 Barton E. Schaefer * 41225: Src/params.c: sethparam() should not attempt to change special parameters into hashes 2017-06-01 Peter Stephenson * 41191: Src/Zle/textobjects.c, Src/Zle/zle.h, Src/Zle/zle_keymap.c: Check for .thingy when we check for a particular thingy. 2017-05-30 Jun-ichi Takimoto * 41177: Completion/Unix/Command/_nm: add support for macOS and OpenBSD 2017-05-26 Peter Stephenson * 41164: Src/hashtable.c, Src/hist.c, Src/zsh.h: Don't free a history entry if it's the current line. This replaces 41113. 2017-05-28 Barton E. Schaefer * Sebastian: 41153: Src/Modules/db_gdbm.c: finish module setup only after all error conditions have been checked * Sebastian: 41151: Src/Modules/db_gdbm.c: propagate flags when creating new parameter * unposted: Doc/Zsh/mod_complist.yo: clarify ZLS_COLORS pattern matching contexts * 41159 (tweaked): Completion/Unix/Command/_ssh: handle "Include" and "HostName" lines in ~/.ssh/config 2017-05-24 Peter Stephenson * Sebastian: 41146: Src/Modules/db_gdbm.c: be more careful about freeing strings with embedded nulls. * Sebastian: 40898: Src/Modules/db_gdbm.c: fix GDBM error handling. 2017-05-23 Peter Stephenson * Stephane: 41142: Src/Modules/system.c: ensure close-on-exec is applied to moved file descriptor. 2017-05-22 Peter Stephenson * Marko Myllenen: 41087: Completion/Unix/Command/_kvno: Update completion to MIT krb 1.14. * Marko Myllenen: 41086: Completion/Unix/Command/_libvirt: update completion. * Marko Myllenen: 41085: Completion/Unix/Command/_openstack: update completion. * Jörg Sommer: 41128: Doc/Zsh/compsys.yo: typo. 2017-05-19 Peter Stephenson * users/22707: Doc/Zsh/compsys.yo: Document use of accept-exact-dirs for allowing completion after "magic" directories. 2017-05-18 Peter Stephenson * 41113 (tweaked): Src/hashtable,c, Src/hist.c, Src/zsh.h: Save and restore state of linking of current history line into history ring, to avoid an attempt to free the current history line. 2017-05-12 Jun-ichi Takimoto * 41090: Src/Zle/zle_refresh.c, Src/compat.c, Src/pattern.c, Src/utils.c, Src/wcwidth9.h, Src/zsh.h, Src/ztype.h, configure.ac: Replace iswprint() if unicode9 support is enabled. Enable unicode9 if wcwidth() and/or iswprint() is broken. 2017-05-11 Peter Stephenson * 41096: Src/string.c: Fix dupstring_wlen() for unmetafied string. It's not safe to assume null termination. 2017-05-09 Peter Stephenson * unposted: Test/D02glob.ztst: Adding comment to test changed line number in output. 2017-05-09 Peter Stephenson * 41081: Src/utils.c, Test/D02glob.ztst: Symlink expansion didn't test all buffer length calculations. * 41078: Src/prompt.c, Test/D01prompt.ztst: Empty psvar could cause bad reference in prompt expansion. 2017-05-08 Peter Stephenson * 41059: Completion/compinit: use 2>&- to avoid error in restricted shell. * 41073: Src/parse.c, Test/A04redirect.ztst: off-by-one error checking for {varid} syntax. * users/22688: Src/parse.c, Test/A04redirect.ztst: Allow mixing of redirections and arguments after anonymous functions. * 41060: Src/parse.c, Test/A04redirect.ztst: combination of HERE document and |& was broken by miscounting wordcode owing to missing flag. 2017-05-04 Daniel Shahaf * 41038: NEWS: Document recent, backwards-compatible precommand modifiers changes. 2017-05-03 Peter Stephenson * 41043: Src/exec.c: Close pipes in shell if disowning backgrounded job with &!. 2017-05-02 Peter Stephenson * unposted: Functions/Zle/insert-unicode-char: use typeset -g to avoid warnnestedvar warning. 2017-04-28 Peter Stephenson * 41020: Src/exec.c, Test/A01grammar.ztst: "command -p" was broken by 41008, also add more tests for precommand modifiers. 2017-04-27 Peter Stephenson * 41012: Src/builtin.c, Src/exec.c, Src/signals.c, Test/C03traps.ztst: Fix early exit from nested functions in EXIT trap. Drive-by fix of testing for need to exit if exiting when already in EXIT trap for main shell --- we should just leave immediately. 2017-04-27 Peter Stephenson * 41016: Test/A01grammar.ztst: test that quoted precommand modifiers now work. 2017-04-26 Oliver Kiddle * unposted: Completion/Unix/Command/_dbus: fix syntax on line end * 40965 (tweaked c.f. 40968): Completion/BSD/Command/_portmaster, Completion/Debian/Command/_a2utils, Completion/Debian/Command/_apt, Completion/Debian/Command/_lighttpd, Completion/Debian/Command/_lintian, Completion/Debian/Command/_wajig, Completion/Debian/Type/_deb_architectures, Completion/Debian/Type/_debbugs_bugnumber, Completion/Linux/Command/_ethtool, Completion/Solaris/Command/_svcadm, Completion/Solaris/Command/_svccfg, Completion/Solaris/Type/_svcs_fmri, Completion/Unix/Command/_cdrdao, Completion/Unix/Command/_darcs, Completion/Unix/Command/_iftop, Completion/Unix/Command/_lha, Completion/Unix/Command/_lsof, Completion/Unix/Command/_pkg-config, Completion/Unix/Command/_rrdtool, Completion/Unix/Command/_stgit, Completion/Unix/Command/_tcpdump, Completion/Unix/Command/_texinfo, Completion/Unix/Command/_units, Completion/Unix/Command/_yafc, Completion/Unix/Type/_absolute_command_paths, Completion/X/Command/_setxkbmap, Completion/X/Type/_xft_fonts, Completion/Zsh/Command/_fc, Completion/Zsh/Context/_value, Completion/Zsh/Function/_add-zle-hook-widget, Completion/Zsh/Function/_add-zsh-hook: fix for missing local declarations of expl 2017-04-26 Peter Stephenson * 41008: Src/exec.c, Src/linklist.c, Test/A01grammar.ztst, Test/E01options.ztst: Handle expansions when analysing precommand modifiers. 2017-04-26 Jun-ichi Takimoto * 41006: Completion/Unix/Command/_ls: add new options for BSDs, fix a few problems on Linux, etc. 2017-04-23 Daniel Hahler * 40943: Completion/Unix/Command/_git: __git_recent_commits: prefer recent commit objects. 2017-04-23 Peter Stephenson * 40995: Src/lex.c, Test/D08cmdsubst.ztst: we need to expand aliases when identifiying the end of a command substitution as sometimes we can hit a parse error before. 2017-04-23 Jun-ichi Takimoto * 40994: Src/utils.c: unmeta_one() need not count Meta 2017-04-21 Peter Stephenson * 40990: Src/params.c: When starting in sh emulation, don't link PATH-style parameters to array equivalents. Don't check linkage when exporting colon-separated parameter. 2017-04-18 Daniel Shahaf * 40973: Completion/Unix/Type/_remote_files: Fix completion of remote files that start with a hyphen/minus. 2017-04-15 Barton E. Schaefer * 40977: Src/init.c: "emulate" disallows "--help" and "--version" 2017-04-10 Peter Stephenson * Orlov Sergey: 40935: Src/utils.c: User names need metafying as they can contain multibyte characters on some systems. 2017-04-07 Bart Schaefer * 40940: Src/cond.c: untokenize names of condition features before attempting to look up the definition from a module. Necessary because of 40760 (tokenization of '-' as Dash). 2017-04-05 Daniel Shahaf * users/22653: Doc/Zsh/options.yo: Clarify REMATCH_PCRE semantics. 2017-04-04 Peter Stephenson * 40933: Src/exec.c: we need job text in sourced files in case of suspending. 2017-04-03 Peter Stephenson * 40932: Src/params.c, Test/D06subscript.ztst: parameter subscripts need to count parentheses to avoid terminating early. 2017-04-02 Barton E. Schaefer * 40929 (replaces 40598): Src/subst.c: paramsubst() should always return scalar when PREFORK_SINGLE was passed in from prefork() 2017-04-01 Barton E. Schaefer * Sebastian: 40782: Completion/Unix/Type/_hosts: avoid dependency on zsh/regex module 2017-03-30 Peter Stephenson * Dag-Erling Smørgrav: 40915: Completion/BSD/Command/_kld: fix breakage. * Sebastian: 40909: Test/D04parameter.ztst: stress test for parameter substitution. 2017-03-27 Peter Stephenson * 40906: Doc/Zsh/expn.yo: array subst needs [*] or [@] with KSH_ARRAYS. Note this for (k) flag. 2017-03-24 Peter Stephenson * Alexandre Rames: 40878: Completion/Unix/Command/_stgit: additional squash command completion. * Aaron Schrab: 40892: Functions/Misc/run-help-ip: subcommand matching for ip help. 2017-03-23 Peter Stephenson * 40891: Src/glob.c, Test/D04parameter.ztst: another similar fix for zero-length matches at the end of a string. 2017-03-23 Peter Stephenson * users/22601: Src/glob.c, Test/D04parameter.ztst: problem matching pattern against zero-length string in parameter substitutions. 2017-03-21 Peter Stephenson * 40875 (Martin Krafft): change description of REC_EXACT option. * 40821: Test/V11db_gdbm.ztst: Note this contains UTF-8 characters and fix name. 2017-03-20 Daniel Shahaf * unposted (after 40859): Doc/Zsh/contrib.yo: Fix yodl warning. 2017-03-19 Daniel Shahaf * 40859: Doc/Zsh/contrib.yo: vcs_info docs: Use proper internal links through texinfo nodes. 2017-03-18 Daniel Shahaf * unposted: Doc/Zsh/contrib.yo: vcs_info quilt: Fix documentation markup typo. 2017-03-16 Daniel Shahaf * 40855: Completion/Unix/Command/_dmidecode: Fix _arguments syntax error. 2017-03-14 Oliver Kiddle * 40843: Completion/Unix/Command/_ruby: update options for ruby 2.4.0p0 * 40842: Completion/Unix/Command/_basename, Completion/Unix/Command/_cat, Completion/Unix/Command/_date, Completion/Unix/Command/_df, Completion/Unix/Command/_fmt, Completion/Unix/Command/_locate, Completion/Unix/Command/_ls, Completion/Unix/Command/_nm, Completion/Unix/Command/_paste, Completion/Unix/Command/_readelf, Completion/Unix/Command/_sed, Completion/Unix/Command/_strip: update completions for coreutils and similar utilities, also improving BSD and Solaris support 2017-03-14 Daniel Shahaf * 40818: Completion/Unix/Command/_git: _git-checkout: When completing local heads, prefer recently-checked-out ones. (after 38592) * 40817: Completion/Unix/Command/_git: __git_recent_branches: Retrieve less data, but faster. * 40822: Doc/Zsh/contrib.yo: vcs_info quilt: Document the '.quilt-foo' zstyle context element. (Compare users/20807.) 2017-03-12 Oliver Kiddle * Wieland Hoffmann: 40837: Completion/Unix/Command/_pgrep: add -w on Linux 2017-03-12 Daniel Shahaf * 40816: Doc/Zsh/builtins.yo, Test/D01prompt.ztst: Document interaction of 'print -P' and 'print -f'. 2017-03-12 Jun-ichi Takimoto * 40820: Test/V09datetime.ztst: add a few tests of strftime, related to 40681 2017-03-11 Barton E. Schaefer * 40832: Src/subst.c: fix $x:P when PWD=/ 2017-03-11 John Leuenhagen * unposted (github pull request #15): Completion/Unix/Command/_ip: fix a small typo in `ip` corrections file 2017-03-10 Oliver Kiddle * 40824: Completion/Unix/Command/_grep: completion handling of option deviations between different systems * 40823: Completion/Linux/Command/_sshfs: update for sshfs 2.8 2017-03-10 Peter Stephenson * 40819: Src/glob.c: Fix IS_DASH() test in BRACE_CCL handling. 2017-03-10 Jun-ichi Takimoto * unposted: Src/Modules/tcp.c: silence compiler warnings on Cygwin * unposted: Src/hashtable.c: declare file local variables as static 2017-03-09 Barton E. Schaefer * Fabian Klotzl: 40808: Completion/Linux/Command/_mdadm, Completion/Unix/Command/_git, Completion/Unix/Command/_grep, Completion/Unix/Command/_hg, Completion/Unix/Command/_java, Completion/Unix/Command/_ls, Completion/Unix/Command/_mysql_utils, Completion/Unix/Command/_rake, Completion/Unix/Command/_user_admin, Completion/Unix/Command/_wget, Completion/Unix/Command/_zpool: fix typos where (x,y) should have been (x y) in _arguments syntax * 40801: Completion/Unix/Command/_mount: turns out that work of art removed by 33963 was necessary after all: re-fix completion of mount points with spaces in the name 2017-03-09 Peter Stephenson * 40805: (combined with the previous change): Test/D04parameter.ztst: Check that $- and ${-} produce a plausible result. * Sebastian: 40803 as modified in 40804 and 40806: Test/D04parameter.ztst: check for the (z) split flag on some partly binary data that might be problematic. * 40796: Src/exec.c: We don't want magic '=' expansion if we are already parsing a separate variable name and value. 2017-03-08 Barton E. Schaefer * 40799: Src/params.c: fix $- expansion partly broken by 40760 * 40763: Src/Zle/compmatch.c, Src/Zle/computil.c, Src/utils.c: count wide characters and Cmatcher pointers more sanely in cfp_matcher_pats(), and count characters in pattern_match() the same way to stay in sync; might not fix wide-char matching in completion matcher-lists but should avoid wild pointer crash 2017-03-08 Daniel Shahaf * 40745 + 40753: Src/init.c, Src/params.c: Fix 'unset ZLE_RPROMPT_INDENT' not restoring the default behaviour. * 40744: Doc/Zsh/grammar.yo: Document the SHORT_LOOPS 'function' syntax. 2017-03-07 Peter Stephenson * Sebastian: 40706: Test/V11db_gdbm.ztst: Fix ordering dependence in gdbm test. * 40760: Src/cond.c, Src/exec.c, Src/glob.c, Src/lex.c, Src/math.c, Src/parse.c, Src/pattern.c, Src/subst.c, Src/utils.c, Src/zsh.h, Test/D02glob.ztst: Always tokenise '-' to Dash to eliminate niggles with range matches in complicated contexts. Match both - or Dash in contexts that don't care. 2017-03-07 Mikael Magnusson * 40780: Completion/Unix/Command/_mount: Don't use =~ for simple prefix match 2017-03-05 Barton E. Schaefer * Sebastian: 40726: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c, configure.ac: add "zcurses resize" for sane terminal size change 2017-03-04 Barton E. Schaefer * Sebastian: 40781: Src/params.c, Test/A06assign.ztst: optimize array assignment, similar to 39995 for string assignment * 40654: Src/exec.c: exit cleanly from special POSIXBUILTINS in subshells 2017-03-04 Oliver Kiddle * unposted (github): Christoffer Aasted: Completion/Unix/Command/_ant: allow -Dproperty=/path_complete * unposted (from Ferenc- via github): Completion/Unix/Command/_gcc: Add newer C++ standard options to gcc completion * unposted: Completion/Unix/Command/_tmux: complete 'tiled' layout * unposted: Completion/Unix/Command/_xz: fix argument to --format * 40715: Completion/Unix/Command/_git: update for git 2.12.0 * 40597: Completion/BSD/Command/_sysrc, Completion/Base/Utility/_values: be flexible about order of options to _values 2017-03-03 Peter Stephenson * Sebastian: 40170: Src/Modules/curses.c: Fix up error number resetting in curses module. This appears to resolve an issue mentioned in comments but attributed elsewhere, so remove confusion here. * 40173: Test/V11db_gdbm.ztst: don't report an error if gdbm module doesn't load as this simply causes the test to be skipped. * 40702: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: add KEYS_QUEUED_COUNT variable to ZLE parameters. 2017-03-02 Jun-ichi Takimoto * 40681: Src/Modules/datetime.c: strftime builtin should return 1 if zstrftime() returns -1. 2017-03-01 Peter Stephenson * 40622 (typos fixed): Doc/Zsh/builtins.yo, Src/builtin.c, Src/math.c, Test/C04funcdef.ztst: add functions -Ms for mathematical functions with string arguments. * Sebastian: 40562: Test/V11db_gdbm.ztst: this was missed out of the previous commit. 2017-02-28 Daniel Shahaf * 40641: Doc/Zsh/expn.yo, Doc/Zsh/roadmap.yo: docs: patterns: Add '|' to the overview. Clarify that it short-circuits. 2017-02-26 Barton E. Schaefer * 40650: Src/Modules/parameter.c: redo 40508 and 40626 with comments explaining what is actually going on 2017-02-25 Daniel Shahaf * 40644: Src/Modules/parameter.c, Test/V06parameter.ztst: Revert 40626 which broke tests. 2017-02-25 Barton E. Schaefer * 40640 (plus doc typo fixed): Doc/Zsh/expn.yo, Src/subst.c: the (A) parameter flag forces array result even if assignment syntax is not used 2017-02-25 Daniel Shahaf * unposted: Completion/Zsh/Context/_brace_parameter: Port 40617 to the completion. * 40626: Src/Modules/parameter.c, Test/V06parameter.ztst: Make $options re-settable. [reverted in 40644] 2017-02-23 Barton E. Schaefer * unposted (cf. 40617): Doc/Zsh/expn.yo: clarify description of the ${(A)name=value} and ${(AA)name=value} parameter flag uses. * 40624 (cf. Danek Duvall, 40563): Src/signals.c: conditionally handle WIFCONTINUED to properly set SP_RUNNING process status 2017-02-23 Jun-ichi Takimoto * 40604: configure.ac, Src/watch.c: revert to the old method if getutent() is not available 2017-02-21 Barton E. Schaefer * Julien Nicoulaud: 40586: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: discard stderr 2017-02-20 Barton E. Schaefer * unposted: Test/ztst.zsh: use "diff -a" in case special characters were written to the test output * 40598: Src/subst.c: paramsubst() should always return scalar when PREFORK_SINGLE was passed in from prefork() * Martijn Dekker: 40565 (tweaked): test cases for assigning array to scalar with various combinations of SHWORDSPLIT and IFS 2017-02-19 Barton E. Schaefer * 40593: Src/subst.c: SHWORDSPLIT + unset IFS should cause default splitting of $@ and other array references with (@) or [@] * 40576 (tweaked): Src/exec.c: entersubsh(): small improvement to loop that resets trap handlers; unblock any signals that were blocked for trap handling 2017-02-19 Oliver Kiddle * 40569: Completion/Unix/Command/_gphoto2: update to gphoto2 2.5.11 2017-02-17 Peter Stephenson * Øystein Walle: 40568: REMATCH_PCRE option is not enabled by default. * Sebastian: 40558, 40562: Doc/Zsh/mod_db_gdbm.yo, Src/Modules/db_gdbm.c, Src/Modules/db_gdbm.mdd: General improvements to zsh/db/gdbm module. 2017-02-13 Barton E. Schaefer * 40539: Fabian Klotzl: Completion/Unix/Command/_gcc: typo in MIPS branch of argument selection * 40524: Src/Modules/example.c: do not free a null array 2017-02-13 Peter Stephenson * 40537: Doc/Zsh/builtins.yo: document the foregoing. * Sebastian: 40536: Src/builtin.c, Src/zsh.h: prepend directory of function autoload with absolute path to fpath if loading a function by relative path. 2017-02-10 Oliver Kiddle * 40512: Completion/Unix/Command/_entr: new entr completion * unposted: Completion/Linux/Command/_lsusb: using a colon in the tag name was not such a good idea 2017-02-09 Daniel Shahaf * 40510: Misc/vcs_info-examples, README: vcs_info: Update the $psvar episode with '%'-unescaping. (Follow-up to 40492.) * 40492: Doc/Zsh/contrib.yo, Etc/BUGS, Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, Functions/VCS_Info/VCS_INFO_set-patch-format, README: vcs_info: Escape '%' signs in payloads. 2017-02-08 Daniel Shahaf * unposted: Completion/Unix/Command/_subversion: _svn: Fix '--show-revs' completion. * 40508: Src/Modules/parameter.c, Test/V06parameter.ztst: Make $functions re-settable. 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. * 39659: Completion/Zsh/Command/_zstyle: Complete the -g, -s,-b,-a, -t,-T, -m options. * 39658: 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 * 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 * 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. * 37303: Test/E01options.ztst: test WARN_CREATE_GLOBAL negative cases. * 37302: Src/exec.c, Src/params.c: suppress WARN_CREATE_GLOBAL warnings after a fork * 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 * 37119: Doc/Zsh/expn.yo: further "Rules" clarifications 2015-11-14 Barton E. Schaefer * 37115: Completion/Unix/Commmand/_git, Doc/Zsh/expn.yo: update for changes in ${(P)...} evaluation. 2015-11-13 Daniel Shahaf * unposted: Src/Zle/zle_tricky.c: Make $EDITOR's jump-to-matching-brace happy. * 37031: Completion/Unix/Command/_git: _git-merge: Exclude ancestors of HEAD from recent commit completion * 37025: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Add a cherry-pick patch-format 2015-11-13 Jun-ichi Takimoto * 37090: Doc/zman.yo, Doc/ztexi.yo: handle blank lines correctly in yodl macro example() * unposted: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo, Doc/Zsh/func.yo, Doc/Zsh/grammar.yo, Doc/Zsh/mod_pcre.yo, Doc/Zsh/params.yo, Doc/Zsh/zle.yo: cosmetic format fix 2015-11-12 Peter Stephenson * 37096: Src/subst.c, Test/D04parameter.ztst: make top-level ${(P)...} with nested ${(P)...} do the right thing. * 37094: Src/subst.c, Test/D04parameter.ztst: Further tweaks to parameter name references: array safety; nested parameters; tests. 2015-11-11 Peter Stephenson * 37092: Doc/Zsh/expn.yo, Src/Zle/compctl.c, Src/Zle/zle_tricky.c, Src/cond.c, Src/exec.c, Src/glob.c, Src/subst.c, Src/zsh.h: make a ${(P)name} subexpression properly refer to a parameter name. * 37091: Src/Zle/zle_utils.c: clear lastline and lastlinesz when freeing. 2015-11-10 Peter Stephenson * 37084: Test/V10private.ztst: add check for zsh/param/private implementation to test. 2015-11-09 Jun-ichi Takimoto * 37085: Doc/Zsh/options.yo: DEBUG_BEFORE_CMD is set by default. Also fix entries in the option index. 2015-11-09 Barton E. Schaefer * unposted (cf. Jun T.: 37083): Doc/Zsh/mod_private.yo: proofreading 2015-11-08 Barton E. Schaefer * 37081: Doc/Makefile.in, Doc/Zsh/mod_private.yo, Src/Modules/param_private.c, Src/Modules/param_private.mdd, Test/V10private.ztst: new module zsh/param/private for private-scoped parameters in functions * 37080: Src/builtin.c, Src/params.c: use paramtab abstraction more consistently, add explanatory comments * 37079: Etc/zsh-development-guide: better description of "optstr" field in struct builtin as used in BUILTIN() macro 2015-11-07 Peter Stephenson * 37074: Src/subst.c, Test/D04parameter.ztst: extend previous fix to cover whitespace at end of substitution. 2015-11-06 Peter Stephenson * 37073: Src/subst.c, Test/D04parameter.ztst: fix case of SH_WORD_SPLIT with string before parameter substitution and nested string that starts with a space e.g. x${:- y}. 2015-11-04 Peter Stephenson * 37062: Completion/Unix/Command/_git: allow verbose descriptions of commits and branches using git log. Mechanism for turning this on subject to change. 2015-11-02 Daniel Hahler * 35303: Completion/Unix/Command/_systemd: remove it in favour of the one from upstream. 2015-11-01 Peter Stephenson * 37038: Doc/Zsh/builtins.yo, Src/builtin.c, Src/options.c: add -l option to emulate. 2015-10-31 Oliver Kiddle * 37029: Completion/Unix/Command/_date, Completion/Unix/Command/_sed, Completion/Unix/Command/_tail, Completion/Unix/Command/_tr: update options and new tr completion * 37028: Completion/Redhat/Command/_scl: new completion * 36993: Eric Cook: Functions/Misc/zed: fix argument parsing 2015-10-31 Barton E. Schaefer * unposted (cf. 36998,36999): Src/mem.c: undo 36956 / restore 34451 with expanded comment about the flip-flopping 2015-10-31 Daniel Shahaf * 37032: Completion/Unix/Command/_git: Temporarily revert 36959. 2015-10-30 Daniel Shahaf * unposted (after 37018): Src/params.c, Test/E01options.ztst: Fix typo in error message. 2015-10-30 Peter Stephenson * 37027: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context: add editing word context to allow detecting being between words. * 37022: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/glob.c, Src/options.c, Src/zsh.h: add GLOB_STAR_SHORT option to allow shorthand ** for **/* and *** for ***/*. 2015-10-29 Peter Stephenson * 37018: Src/math.c, Src/params.c, Test/E01options.ztst: make WARNCREATEGLOBAL consistent in all cases, outputting file name. * unposted: .gitignore: ignore .orig files. * 37014: Functions/MIME/zsh-mime-setup, Functions/Misc/add-zsh-hook, Src/Modules/socket.c, Src/Modules/tcp.c, Src/Modules/zpty.c, Src/builtin.c, Src/params.c,Src/zsh.h: improved internal parameter setting. Enhance WARNCREATEGLOBAL to work in many more cases. Don't create REPLY as an integer if it didn't previously exist as one, even if the value to be set is integral, as this is likely to mess up later uses of REPLY. 2015-10-29 Jun-ichi Takimoto * 36983 (with fix from 36990): Completion/Unix/Command/_head, Completion/Unix/Command/_tail: new completions for head and tail 2015-10-27 Barton E. Schaefer * 36994: Functions/Zle/bracketed-paste-magic: declare local REPLY for use with "zle .read-command"; use .self-insert instead of .self-insert-unmeta 2015-10-27 Peter Stephenson * 36982: Doc/Zsh/expn.yo, Src/pattern.c, Test/D02glob.ztst, Test/D04parameter.ztst: fix actual bug with (#cN) and back off previous change. * 36977: Doc/Zsh/expn.yo: note about complications of pattern repetitions (#cN). * 36974: Src/Modules/zftp.c, Src/Zle/complist.c, Src/Zle/computil.c, Src/Zle/zle_thingy.c, Src/parse.c: fix empty argument lists. 2015-10-26 Barton E. Schaefer * 36906: Kamil Dudka : Src/mem.c: queue_signals() in ZSH_MEM realloc() * 36968: Src/Modules/db_gdbm.c: use addmodulefd() to tell the shell about the descriptor of the dbm file * 36956: Src/mem.c: revert 34451, mmap() is too slow on MacOS 2015-10-26 Peter Stephenson * users/20825: Src/Zle/zle_utils.c: get_undo_current_change() needs same protection as mkundoent() for execution within completion. 2015-10-25 Daniel Shahaf * 36962: Completion/Unix/Command/_git: _git: Fix completion of RHS of refspecs. * 36964: Completion/Unix/Command/_git: _git: Complete remotes branch names with slashes correctly. * 36960: Completion/Unix/Command/_git: _git: Enable slash matcher for more branch and tag completions, include 'git branch ' and 'git tag '. * 36959: Completion/Unix/Command/_git: _git: Offer @~$n as completion of recent commits. * 36958: Completion/Unix/Command/_git: _git: Fix recent commit completion descriptions. * unposted: Completion/Unix/Command/_git: _git: Fix 'commit object name' completion messages. 2015-10-25 Jun-ichi Takimoto * 36911: Src/Zle/computil.c: '-optarg' should not match optspec '-opt=' 2015-10-24 Barton E. Schaefer * 36943 (with updated comment): Src/mem.c: restore scan for reclaimable blocks in freeheap() [had been removed by 36834] 2015-10-24 Daniel Shahaf * unposted: Completion/Unix/Command/_beep: _beep completion: Actually hook it for the 'beep' command. * 36913 + 36945: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt: Pass patch subject lines to gen-applied-string * 36912: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt: Tolerate being in child of .pc's parent 2015-10-24 Peter Stephenson * unposted: Src/utils.c: small typo. * 36944: Src/utils.c, Src/Modules/tcp.c, Src/Modules/socket.c: extend the previous to zsocket, although this needs to allow the fd to be closed explicitly. * 36941: Src/utils.c, Src/zsh.h, Src/Modules/tcp.c: ensure shell knows about file descriptiors used by ztcp and allow such file descriptors to be marked as internal if needed (not yet used). 2015-10-22 Daniel Shahaf * unposted: Doc/Zsh/contrib.yo: vcs_info docs: Typo fix. 2015-10-21 Barton E. Schaefer * unposted: Src/math.c: strdup should be ztrdup * 36909: Src/hist.c: in getargs(), sanity-check the offsets for start and end of the requested words, in case of overflow * 36871: Functions/Zle/bracketed-paste-magic: move initial call to "zle .bracketed-paste-magic" to occur earlier in the function 2015-10-20 Daniel Shahaf * 36900: Completion/Unix/Command/_git: _git: stash names completion: Display log messages 2015-10-19 Oliver Kiddle * 36642: Eric Cook: Completion/Unix/Command/_zfs: complete jail/unjail subcommands on freebsd * 36646: Eric Cook: Completion/Unix/Type/_zfs_dataset, Completion/Unix/Command/_zpool, Completion/Unix/Command/_zfs: solaris/openzfs differences; only use -t share solaris * 36889: Eric Cook: Completion/BSD/Command/_sockstat: completion of system specific sockstat options * 36869: Matthew Martin: Completion/Unix/Command/_ssh: use permissions to limit files completed for ssh identity files 2015-10-18 Frank Terbeck * 36888: Functions/VCS_Info/vcs_info: vcs_info: Prevent warn_create_global warning with '-preinit-' state 2015-10-15 Peter Stephenson * 36864: Completion/Unix/Command/_nm, Completion/Unix/Command/_objdump: new objdump completion plus tweak to _nm. 2015-10-14 Barton E. Schaefer * 36853: Src/exec.c: replace pushheap/popheap by NEWHEAPS/OLDHEAPS in doshfunc() to optimize memory management 2015-10-14 Peter Stephenson * 36856: Doc/Zsh/contrib.yo, Functions/Chpwd/cdr: add -p and -P options to cdr for pruning the directory list. 2015-10-11 Barton E. Schaefer * 36841: Completion/Base/Widget/_complete_help: factor out and update the patterns that filter "uninteresting" functions out of the $funcstack list when generating the call trace to show where a tag is active. * 36836: Src/mem.c: zhalloc() avoids re-scanning all heaps when the last known heap with free space does not have enough space * 36834: Src/mem.c: freeheap() preserves last allocated heap 2015-10-11 Frank Terbeck * 36830: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info: Silence an error message with new git versions * 36832: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info: Remove dependency on "seq" 2015-10-06 Peter Stephenson * 36780: Src/params.c: ensure HOME parameter is unset if corresponding internal variable is null. 2015-10-04 Barton E. Schaefer * 36773: Src/utils.c: limit CORRECT / CORRECT_ALL to directory names in cases where it is obvious that a directory is expected 2015-10-03 Barton E. Schaefer * unposted (cf. 36696): Test/C03traps.ztst: test case for 36766 * unposted: Src/exec.c, Src/loop.c: back out 36707, fixed by 36766 * 36766: Src/exec.c: fix incorrect reset of noerrexit during "if" conditions 2015-10-03 Peter Stephenson * 36760: Src/pattern.c: ensure we don't do anything untoward with an already metafied pattern trial match. 2015-10-03 Mikael Magnusson * 36754: Functions/TCP/tcp_open, Functions/TCP/tcp_read, Functions/TCP/tcp_send, Functions/TCP/tcp_shoot: Tweak some usage output in the tcp_* functions 2015-10-02 Jun-ichi Takimoto * 36732: Completion/Unix/Command/_zsh: support -s and -b, and complete script arguments 2015-10-01 Peter Stephenson * 36737: Src/pattern.c: Ensure we are not dereferencing zero-length unterminated string. * 36735: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: ~/.zcalcrc. * Andrew Janke: 36729: MACHINES, NEWS, README: fix some typos. * 36722: Completion/Unix/Command/_git: allow range to complete after ^, taking acoount of backslash quoting. 2015-10-01 Mikael Magnusson * 36709: Doc/Zsh/zle.yo, Functions/Zle/bracketed-paste-url-magic, Src/Zle/zle_main.c, Src/Zle/zle_params.c, Src/Zle/zle_thingy.c: zle -f from inside widget to set flags and make yank start/end zle params writable. * 36692: Functions/Zle/bracketed-paste-url-magic: simpler alternative for handling pasted urls 2015-09-30 Barton E. Schaefer * users/20672: Src/text.c: missing "do" in gettext2() for "select" * 36707: Src/exec.c, Src/loop.c: distinguish ERR_RETURN value of retflag so that execif() can ignore it in the test sublist * cf. 36690: Doc/Zsh/builtins.yo: remove sentence fragment 2015-09-30 Daniel Shahaf * 36725: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Compute %b correctly when "git am"-ing onto detached heads. * 36725: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Compute %b correctly when rebasing detached heads. * 36725: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Compute %b correctly when merging to detached heads. 2015-09-30 Jun-ichi Takimoto * 36697: Completion/Base/Utility/_arguments: handle options of _arguments correctly 2015-09-30 Peter Stephenson * Matthew Martin: 36693: Doc/Zsh/arith.yo: arithmetic rounds towards zero. * 36711: Src/glob.c, Src/pattern.c: Memory for early unmetafied pattern trial string is on the heap. 2015-09-28 Peter Stephenson * 36682: Src/glob.c, Src/pattern.c, Src/zsh.h, Src/Zle/complist,c, Src/Zle/zle_hist.c: expand pattern interface to allow unmetafying trial string once for reuse. 2015-09-28 Daniel Shahaf * unposted: Test/D04parameter.ztst: Test for 36669 2015-09-28 Daniel Hahler * 36601: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info: handle missing .git/rebase-apply/{next,msg-clean} 2015-09-28 Barton E. Schaefer * 36669: Src/lex.c: fix ${(z)...} of an incomplete math expression by restoring "((" at the front of the token 2015-09-28 Daniel Shahaf * unposted: Etc/zsh-development-guide: Update link to my ChangeLog generator script, on account of patching it to handle commas properly (thanks Mikael). 2015-09-28 Mikael Magnusson * unposted: Completion/Zsh/Context/_brace_parameter, Completion/Zsh/Type/_delimiters, Completion/Zsh/Type/_globquals, Functions/Calendar/age: Fix broken case condition and "qualifer" typo 2015-09-27 Daniel Shahaf * 36651: Doc/Zsh/options.yo, Src/exec.c, Src/math.c, Test/E01options.ztst: WARN_CREATE_GLOBAL += math expressions * Matthew Martin: 36653: Completion/Unix/Command/_user_admin: OpenBSD's usermod has no -a flag 2015-09-27 Barton E. Schaefer * 36663: Src/mkmakemod.sh, Src/zsh.mdd: replace obsolete "autobins" commentary with "autofeatures" * 36661: Src/Modules/curses.mdd: replace obsolete "autobins" setting with "autofeatures" 2015-09-28 Jun-ichi Takimoto * 36631: Completion/Unix/Command/_sh, Completion/Unix/Command/_zsh: separate _zsh from _sh 2015-09-26 Barton E. Schaefer * 36641: Src/Modules/complist.c: fix multibyte handling in incremental search during menu selection 2015-09-26 Daniel Shahaf * unposted (see 36633): Completion/Unix/Command/_hg: _hg: Enable --option=value syntax and disable '-xy Xarg Yarg' syntax 2015-09-25 Daniel Shahaf * unposted: Src/Zle/zle_tricky.c Src/Zle/zle_utils.c: zle: Document the C helper function processcmd(). 2015-09-25 Christoph Mathys * 36626: Completion/Unix/Command/_hg: _hg: completion for 'hg bookmarks' 2015-09-25 Peter Stephenson * 36630: Doc/Zsh/contrib.yo, Doc/Zsh/manual.yo, Functions/Chpwd/zsh_directory_name_generic: new helper function. 2015-09-24 Barton E. Schaefer * 36623: Doc/Zsh/contrib.yo: document bracketed-paste-magic and url-quote-magic; add cross-reference to vim text object widgets 2015-09-24 Mikael Magnusson * 36603: Src/glob.c: fix dirfd leak during Y shortcut qualifier 2015-09-24 Daniel Shahaf * unposted: Completion/Unix/Command/_hg: Declare $expl as an array 2015-09-24 Christoph Mathys * 36613: Completion/Unix/Command/_hg: extend completion for hg push to support branch and bookmark 2015-09-23 Barton E. Schaefer * 36604: Functions/Misc/zrecompile: fix getopts+shift calculation 2015-09-23 Daniel Shahaf * unposted: Src/Zle/compmatch.c: Followup to 36586: Change C99 comment syntax to the C89 syntax. 2015-09-23 Mikael Magnusson * Eric Cook: 36571: Completion/Linux/Command/_losetup, Completion/Zsh/Command/_zsocket: Completion for zsocket and updated losetup's completion 2015-09-22 Barton E. Schaefer * 36587: Functions/Zle/edit-command-line: use +LINE:COLUMN to place the cursor when invoking emacs variants, for emacsclient 2015-09-22 Peter Stephenson * 36586: Han Pingtian: Src/Zle/compmatch.c: tweak to completion matching with right anchor. * 36545: Han Pingtian: Doc/Zsh/compwid.yo: tweak doc for match anchors e and E. * 36538: Han Pingtian: Doc/Zsh/compwid.yo: tweak doc for match anchors to get correct difference between b and B. 2015-09-22 Jun-ichi Takimoto * 36578: Doc/Zsh/compsys.yo: option in a mutually exclusive set has key "set-opt" in $opt_args 2015-09-21 Peter Stephenson * 36580: Src/Zle/compmatch.c: don't copy empty buffer and check size is consistent. 2015-09-21 Frank Terbeck * 36575: Completion/Unix/Command/_tmux: _tmux: 'lock-server' option is gone in tmux.git * 36576: Completion/Unix/Command/_tmux: _tmux: Fix tmux homepage URI 2015-09-21 Jun-ichi Takimoto * 36574: Completion/Unix/Command/_lldb: new completion for the lldb debugger * 36556: Completion/Unix/Command/_sh: remove unnecessary helpspec to '_argument --' 2015-09-21 Peter Stephenson * 36577: configure.ac, Src/zsh.h: supplement 36559 to use LONG_MAX for 64-bit long. * unposted: Src/zsh.h: typo in 36559. 2015-09-19 Barton E. Schaefer * unposted: Doc/Zsh/builtins.yo: zcompile prepares scripts for sourcing, not for execution * 36566: Src/parse.c: check for regular file before lseek() * 36562: Src/utils.c: sanitize $PWD on import, per POSIX 2015-09-19 Peter Stephenson * 36559: Src/pattern.c: test earlier for overflow in pattern range. * unposted: Test/D07multibyte.ztst: fix typo. 2015-09-18 Barton E. Schaefer * unposted (cf. users/20586): Doc/Zsh/builtins.yo: clean up cross-references to the "Autoloading Functions" section. 2015-09-17 Barton E. Schaefer * unposted: Test/D04parameter.ztst: test for 36552 * 36552: Src/utils.c: fix Nularg string in quotestring(QT_DOLLARS) 2015-09-14 Daniel Shahaf * unposted: Doc/Zsh/zle.yo README: docs: Typo fixes 2015-09-13 Axel Beckert * 36523: Thue Janus Kristensen: Completion/Unix/Command/_gphoto2: Replace --delete-files with --delete-file. 2015-09-12 Barton E. Schaefer * 36525: Src/Zle/zle_misc.c: revert only the selfinsert() bit of 36496 because selfinsert() may be called with incomplete wide character processing from places other than getkeymapcmd() * unposted: Functions/Zle/bracketed-paste-magic: revert 36483 as multibyte is now handled by "zle .read-command"; adapt to new default behavior of zle_highlight for paste * 36522: Src/Zle/zle_thingy.c: unmetafy the argument of "zle -U" * 36509: Src/Modules/curses.c: allocate hash table nodes with zshcalloc() to avoid garbage flag values 2015-09-12 Jun-ichi Takimoto * 36491: Src/glob.c, Test/D07multibyte.ztst: Multibyte support for the parameter expansion flags B, E and N. 2015-09-11 Daniel Shahaf * 36443: Doc/Zsh/zle.yo Src/Zle/zle_refresh.c: Highlight pasted/yanked text as standout by default (i.e., when $zle_highlight doesn't specify otherwise). * 36443: Revert 35834. 2015-09-11 Peter Stephenson * 36496 (plus tweak for key buffer length): Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_vi.c: Read full multibyte string early for self-insert. * unposted: Config/version.mk: Update internal build to 5.1.1-dev-0 * unposted: Config/version.mk: 5.1.1 * Sebastian Gniazdowski: 36489: Src/Modules/curses.c: fix bug with hash table for colours. * 36483: Functions/Zle/bracketed-paste-magic: use [[:INCOMPLETE:]] to get rest of multibyte character. 2015-09-11 Peter Stephenson * unposted: NEWS, README: update for minor new features that have just appeared. 2015-09-10 Daniel Shahaf * 36445: Doc/Zsh/zle.yo Src/Zle/zle_params.c: Expose yankb, yanke, ZLE_YANK to widgets. 2015-09-10 Peter Stephenson * 36478: Src/pattern.c, Src/zsh.h, Src/Zle/comp.h, Doc/Zsh/expn.yo, Test/D07multibyte.ztst: add [[:INCOMPLETE:]] and [[:INVALID:]] pattern tests. 2015-09-10 Barton E. Schaefer * 36470: Src/Zle/zle_main.c: Auxiliary to 36468, return an empty buffer from zleread() if a widget exits 2015-09-10 Peter Stephenson * 36468: Src/hist.c: Infinite loop if we tried to exit from a Zle widget but the lexer thought the current lexical expression needed finishing. * 36460: Test/E01options.ztst: Discard benign error on failure to write to pipe with no one reading. 2015-09-08 Oliver Kiddle 36422: Src/compat.c: add missing unmeta() 2015-09-07 Daniel Shahaf * 36437: Doc/Zsh/zle.yo Src/Zle/zle.h: Document interaction of $region_highlight and $zle_highlight. * unposted: Doc/Zsh/zle.yo: ZLE_STATE: fix obvious documentation typo. 2015-09-07 James Clarke * 36441: Completion/Unix/Command/_git: _git: Fixed typo in --author-date-order description 2015-09-06 Peter Stephenson * unposted: Config/versiom.mk, Etc/FAQ.yo, NEWS, README: make 5.1-test-1 with updates for 5.1.1. 2015-09-05 Daniel Shahaf * unposted: Doc/Zsh/params.yo Doc/Zsh/zle.yo: Minor documentation tweaks. * 36410: Doc/Zsh/contrib.yo Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Present merge heads as patches 2015-09-04 Peter Stephenson * 36421: Src/pattern.c: can't-get-the-staff fix for idiocy in 36415. 2015-09-04 Jun-ichi Takimoto * 36417: Doc/Zsh/manual.yo: fix/update top level texinfo menu 2015-09-04 Peter Stephenson * 36415: Src/pattern.c, Test/D07multibyte.ztst: remap bytes from invalid multibyte characters to 0xDC00 + index which is invalid in Unicode. Strictly this only works if whcar_t is ISO-10646-compliant, however it ought to be at least as good as the current fudge in any case. 2015-09-03 Peter Stephenson * 36416: Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c: If keyboard interrupt during getzlequery(), don't propagate further, just redraw the line. Also handle logical error that we attempted to redraw the line partially if an error or interrupt was propagated. 2015-09-03 Daniel Shahaf * 36403: Src/hashtable.c Test/A02alias.ztst: type -w += suffix alias 2015-09-02 Barton E. Schaefer * unposted: Test/A05execution.ztst: test for 36393 * 36393: Src/signals.c: process queued signals during dotrap() 2015-09-02 Peter Stephenson * 36378: Src/exec.c: skip directories when looking for autoload files. 2015-09-02 Peter Stephenson * 36399: Src/text.c, Test/A04redirect.ztst: shell code with multiple here documents wasn't shown properly. 2015-09-01 Mikael Magnusson * 36380: Src/utils.c: Avoid gcc case syntax * 36347: Src/params.c, Test/A06assign.ztst: Fix appending empty array to associations 2015-09-01 Barton E. Schaefer * 36376: Src/utils.c: handle signals during read1char() so it is possible to interrupt correct/correctall prompts 2015-09-01 Peter Stephenson * 36365: Src/Zle/zle_tricky.c: magic-space removed the rest of the line if the lexer found something complicated. * unposted: Config/version.mk: update version to 5.1-dev-0 to avoid clash with 5.1 release. 2015-09-01 Daniel Shahaf * 36353: Completion/Unix/Command/_git: _git: Unbreak after previous. 2015-08-30 Mateusz Karbowy * 36328 + 36340: Completion/Unix/Command/_git: _git-cherry-pick: Complete other branches only 2015-08-30 Axel Beckert * 36338: Functions/Zle/*-magic: s/5.0.9/5.1/ in source comments 2015-08-30 Peter Stephenson * unposted: Config/version.mk: Release version 5.1 2015-08-29 Daniel Shahaf * 36321: Completion/Debian/Command/_debcheckout: _debcheckout: New completion. 2015-08-28 Daniel Shahaf * 36306: Completion/Unix/Command/_subversion: _subversion: Complete --show-item values 2015-08-28 Peter Stephenson * users/20475: Doc/Zsh/contrib.yo: mention that cdr mechanism keeps unique list with most recent use first. * users/20466: Test/V09datetime.ztst: make test for skipping strftime extention tests one that is known to fail on Solaris. Reason is not yet known, but there's no current evidence for a shell bug so replace the failure by skipping test for the release. 2015-08-28 Mikael Magnusson * 36302: Src/Modules/attr.c: Fix compilation with libcap 2.24 * 36314: Functions/Prompts/prompt_bart_setup: Avoid using short_loops syntax in distributed files 2015-08-27 Daniel Shahaf * unposted: Completion/Unix/Command/_subversion: _subversion: Avoid SHORT_LOOPS * 36304: Completion/Unix/Command/_git: _git-cat-file: Fix regression in 36237 2015-08-27 Barton E. Schaefer * unposted (cf. Axel Beckert 36292): Test/A05execution.ztst: discard even more extraneous stderr in "hang" test 2015-08-26 Barton E. Schaefer * 36288: Src/Zle/zle_tricky.c: refine 36825, slightly different test for redirect context * 36285: Src/Zle/zle_tricky.c: update 36025, context cannot be command and redirect at the same time, redirect wins * 36282: Test/A05execution.ztst: discard stderr of "hang" test 2015-08-25 Peter Stephenson * unposted: Config/version.mk: 5.0.8-test-3. 2015-08-24 Daniel Shahaf * 36277: Completion/Unix/Command/_git: _git: Updated for git-clone 2.4.5. 2015-08-24 Peter Stephenson * unposted: Etc/FAQ.yo: replace 5.0.9 with 5.1. 2015-08-23 Jun-ichi Takimoto * users/20455: Src/Modules/zpty.c: do not use posix_openpt() on OpenBSD 2015-08-22 Barton E. Schaefer * 36274: Src/Zle/zle_vi.c: clear virangeflag when getvirange() has an error (the next keystroke is not a motion/selection). * 36273: Src/Zle/zle_move.c: teach endofline() and endoflinehist() about invicmdmode() cursor placement. 2015-08-21 Peter Stephenson * unposted: Config/version.mk, Src/parse.c, Src/Zle/zle_misc.c: update to 5.0.8-test-2 and fix some exports. 2015-08-21 Barton E. Schaefer * 36266: Functions/Zle/bracketed-paste-magic: preserve emulation and setopt context for init and finish functions, handle vi modes * 36256: Src/builtin.c: local options should remain in effect for "emulate -L" even if additional option settings are applied 2015-08-21 Peter Stephenson * 36268: Test/C04funcdef.ztst: test for 36265. * 36265 plus FAQ: fix alias expansion after "function" Names after the first were treated as command words so had non-global aliases expanded. Add an FAQ note that use of the function keyword works around other alias problems. Also fixes problem that "function { ... }" didn't work with IGNORE_BRACES set. * 36264: Src/glob.c: pathbuf is apparently metafied; document this and unmetafy for system calls. * unposted: README, Etc/FAQ.yo: update latest release from 5.0.8 to 5.1 in descriptive text. * 36262: Src/builin.c, Src/compat.c, Src/utils.c, Test/D07multibyte.ztst: replace 36232: the unmeta() was needed at a place higher up. Add test. * 36250, tweaked: README, NEWS: highlight bracketed paste mode; next version will be 5.1 rather than 5.0.9. 2015-08-20 Jun-ichi Takimoto * 36243: Completion/Unix/Type/_pids: fix a few problems of "_pids -m pattern" 2015-08-19 Daniel Shahaf * 36247: Completion/Unix/Command/_git: __git_objects: Complete HEAD:./foo correctly in worktree subdir * 36237: Completion/Unix/Command/_git: __git_objects: Complete HEAD:foo correctly in worktree subdir * 36236: Completion/Unix/Command/_git: _git-log: Complete multiple revspecs * 36236: Completion/Unix/Command/_git: _git-log: complete 'git rm'd files 2015-08-19 Oliver Kiddle * 36148: Completion/Unix/Command/_git: _git-log: Complete flags after positional argument 2015-08-19 Peter Stephenson * 36241: Test/V09datetime.ztst: Test for 36227. 2015-08-19 Daniel Shahaf * 36208: Completion/Unix/Command/_subversion: _subversion: Complete a few more option switches 2015-08-18 Peter Stephenson * 36232: Src/compat.c: Unmeta an additional chdir(). * 36227: Src/Builtins/sched.c, Src/Modules/datetime.c, Src/Modules/stat.c, Src/builtin.c, Src/prompt.c, Src/utils.c, Src/watch.c: real fix for metafication problem in ztrftime: unmetafy fmt on input and metafy return value with correct length. * unposted: revert 36222, not the correct fix. * 36222: Src/Modules/datetime.c: unmetafy output from strftime. * 36218: Src/files.c: use unmetafied file name for mkdir() system call. * 36216: Doc/Zsh/zle.yo: Simpler saving of UNDO_LIMIT_NO. 2015-08-17 Barton E. Schaefer * 36212: Functions/Zle/narrow-to-region: save and restore HISTNO along with other editor state, for sanity of "zle undo" 2015-08-18 brian m. carlson * 36209: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info: avoid grep error message when file is missing 2015-08-17 Daniel Shahaf * unposted: Completion/Linux/Command/_sshfs: _sshfs: Fix completion of options with values * 36158: Completion/Linux/Command/_sshfs: _sshfs: Fix completion of and after -o * 36109: Src/Zle/zle_misc.c: bracketed-paste: change quoting style * 36186: Etc/FAQ.yo: FAQ (3.24): Update for bracketed paste 2015-08-17 Mikael Magnusson * 36172: Completion/Unix/Command/_imagemagick: Use $formats a bit more correctly 2015-08-17 Barton E. Schaefer * unposted (cf. 36200): Completion/Base/Completer/_expand: back out backslash handling change from 34961. 2015-08-17 Peter Stephenson * unposted: Doc/Zsh/contrib.yo: use of $f in zmv. 2015-08-17 Oliver Kiddle * 36165: Completion/Unix/Type/_files: simplify file-patterns default to a single pattern 2015-08-17 Barton E. Schaefer * unposted: Functions/Zle/url-quote-magic: mention bracketed-paste-magic in comment 2015-08-17 Mikael Magnusson * 36177: Completion/Zsh/Command/_setopt: complete printexitvalue both ways * 36183: Completion/Unix/Command/_ssh: update to 7.0 2015-08-16 Barton E. Schaefer * 36195, 36196: Functions/Zle/bracketed-paste-magic: wrapper of bracketed-paste for compatibilty with url-quote-magic and other self-insert wrapper widgets 2015-08-15 Barton E. Schaefer * 36180: Src/jobs.c: avoid infinite job stop/continue loop on "wait PID" for a background job 2015-08-15 Mikael Magnusson * Eric Cook: 36091: Completion/Unix/Command/_ncftp: search XDG_DATA_HOME for bookmarks saved by lftp 2015-08-14 Oliver Kiddle * 36146: Completion/Zsh/Type/_command_names, Completion/Zsh/Command/_zmodload: avoid mix of -/ and -g with _files as that just overrides user preferences 2015-08-13 Daniel Shahaf * unposted: Completion/Unix/Command/_subversion: _subversion: Complete property names for propdel 2015-08-13 Oliver Kiddle * 36131: Functions/Zle/narrow-to-region, Src/Zle/zle_utils.c: make use of undo limits; call mkundoent() when $UNDO_CHANGE_NO is referenced for a clear change number marking the current state * Eric Cook: 36113: Completion/Unix/Type/_find_net_interfaces: ip(8) may add suffixes which is not good for completion matches * Wieland Hoffmann: 36123: Completion/Unix/Command/_git: protect against word splitting in __git_is_committish_range 2015-08-12 Peter Stephenson * Kamil Dudka: 36106: Src/Zle/zle_keymap.c: fix const parameter. 2015-08-12 Oliver Kiddle * 36127: Completion/Zsh/Context/_brace_parameter, Completion/Unix/Command/_git, Completion/Unix/Command/_ifconfig, Completion/Unix/Command/_kvno, Completion/Unix/Command/_mh, Completion/Unix/Command/_rm, Completion/Unix/Command/_ssh, Completion/Unix/Command/_stty, Completion/Unix/Command/_vim, Completion/Unix/Type/_pdf, Completion/Unix/Command/_clay: assorted minor completion function changes * 36125: Src/Zle/zle_hist.c: don't set history context in get-line * 35834 (tweaked): Src/Zle/zle_misc.c: strip a final newline from pasted text: inserting is hard to tell apart from accepting it [reverted in 36443] 2015-08-12 Mikael Magnusson * 36077: Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, Functions/VCS_Info/Backends/VCS_INFO_get_data_svk, Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, Functions/VCS_Info/VCS_INFO_formats, Functions/VCS_Info/VCS_INFO_hook, Functions/VCS_Info/VCS_INFO_quilt, Functions/VCS_Info/VCS_INFO_set, Functions/VCS_Info/vcs_info, Functions/VCS_Info/vcs_info_lastmsg, Functions/VCS_Info/vcs_info_printsys: vcs_info: stop exporting everything * 36078: Doc/Zsh/contrib.yo: vcs_info: Adjust documentation for no longer exporting * 36116: Completion/Unix/Command/_git: various fixes * 36117: Completion/Unix/Command/_wget: complete headers for --header and add --no-use-server-timestamps * 36120: Completion/Unix/Command/_sort: Fix syntax error * 36119: Completion/Zsh/Command/_strftime: Add completion for zsh/datetime's strftime builtin 2015-08-11 Barton E. Schaefer * 36108: NEWS: list of major changes so far since 5.0.8 * 36104: Src/exec.c, Src/jobs.c: change order of child_block() and dont_queue_signals() to resolve yet another race condition * 36092: Doc/Zsh/mod_zpty.yo, Src/Modules/zpty.c: return the pty master file descriptor in $REPLY for use with "zle -F" etc. * 36090: Src/init.c: keep signals queued for preprompt() 2015-08-11 Oliver Kiddle * 36096: Src/Zle/zle_move.c: special . mark in vi mode * 36044: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle_keymap.c, Src/Zle/zle_move.c: deactivate-region widget for escape in visual mode * 35952: Jun-ichi Takimoto: Src/Zle/zle_bindings.c: bind escape in vi mode so it is a full key sequence and later keys aren't dropped 2015-08-11 Jun-ichi Takimoto * 36067: Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo: fix typo and format 2015-08-10 Barton E. Schaefer * 36084: Src/glob.c, Src/text.c: use zrealloc() consistently * 36079: Src/signals.c: do not allow update_job() and its helpers to run the signal queue while we are processing a job exit. 2015-08-10 Peter Stephenson * 36083: Src/builtin.c, Test/B02typeset.ztst: set array value when consistently retying scalar and array. 2015-08-10 Peter Stephenson * 36074: Src/signals.c: Don't rely on implicit value for saving status of background process. 2015-08-10 Frank Terbeck * 36046: Completion/Unix/Command/_tmux: _tmux: Update command line options * 36048: Completion/Unix/Command/_tmux: _tmux: Update options for supported commands * 36062: Completion/Unix/Command/_tmux: _tmux: Add support for new sub-commands * 36063: Completion/Unix/Command/_tmux: _tmux: Remove dead code * 36050: Completion/Unix/Command/_tmux: _tmux: Don't unset, set empty in local scope * 36058: Completion/Unix/Command/_tmux: _tmux: No need to unset local variables * 36057: Completion/Unix/Command/_tmux: _tmux: Replay all arguments when dispatching to new _tmux() * 36054: Completion/Unix/Command/_tmux: _tmux: "local -x" serves no purpose * 36049: Completion/Unix/Command/_tmux: _tmux: options => session_options * 36056: Util/check-tmux-state: Add helper script to check state of _tmux completion * 36052: Completion/Unix/Command/_tmux: _tmux: Remove old sub-commands and their aliases * 36064: Completion/Unix/Command/_tmux: _tmux: Add new command aliases * 36047: Completion/Unix/Command/_tmux: _tmux: Fix options with changed scope * 36051: Completion/Unix/Command/_tmux: _tmux: Remove support for old options * 36059: Completion/Unix/Command/_tmux: _tmux: Add new session options * 36055: Completion/Unix/Command/_tmux: _tmux: Add support for new server options * 36061: Completion/Unix/Command/_tmux: _tmux: Add support for new window options * 36060: Completion/Unix/Command/_tmux: _tmux: Update TODO * 36070: Completion/Unix/Command/_tmux: _tmux: Update bell-action and prefix options * 36069: Completion/Unix/Command/_tmux: _tmux: Fix \ooo display in completion list * 36075: Util/check-tmux-state: Disable "local" keyword in script to make data retrieval work 2015-08-10 Peter Stephenson * 36045: Test/A05execution.ztst: make effect of failures in wait test cleare. * not quite posted: Src/Modules/socket.c, Src/Modules/tcp.c: check for error return before testing for EINTR. * Joshua Krusell: 36039: Src/Modules/socket.c, Src/Modules/tcp.c: Restart socket commands on EINTR. * 35885: Doc/Zsh/mod_system.zo: document how to close fd's opened with sysopen. 2015-08-09 Barton E. Schaefer * 36033: Src/glob.c, Src/pattern.c: a few more queue_signals() to protect global state changes 2015-08-09 Mikael Magnusson * unposted: Test/C03traps.ztst: add tests for outputting traps specified with SIG prefix or numbers fixed by 36008. 2015-08-09 Peter Stephenson * 26027: Src/builtin.c: fix retying variables in opposite order (should be an error). * 36025:Src/Zle/zle_tricky.c: Catch another case of context in get_comp_string(): after "foo=bar; setopt " we didn't recognise "setopt" as the command. Attempt to do this without actually understanding what the command context code is attempting to do after a command separator. 2015-08-09 Barton E. Schaefer * 36026: Src/Modules/zftp.c: zero freed pointers in cleanup_() in case the module is re-loaded after unloading. * 36022: Src/loop.c: fix bug that some loop constructs could not be interrupted if all they did was variable assignments or math expressions * 36022: Src/exec.c, Src/init.c, Src/input.c, Src/parse.c, Src/signals.c: revise signal queueing to better control the circumtances in which trap handlers are executed 2015-08-08 Daniel Shahaf * 36008: Src/builtin.c: trap: Fix listing of traps created under non-alias non-canonical signal spelling 2015-08-08 Mikael Magnusson * 35954: Doc/Zsh/mod_system.yo: sysopen -u is not optional 2015-08-09 Jun-ichi Takimoto * 35929: Src/jobs.c: protect FDT_PROC_SUBST by #ifdef 2015-08-08 Jun-ichi Takimoto * 35928: Src/utils.c, Doc/Zsh/prompt.yo: date/time format such as '%-m' should work even if strftime(3) doesn't support it. Also clarify document. 2015-08-05 Mikael Magnusson * 35989: Completion/Unix/Command/_ssh: update to 6.9 * unposted: Completion/Unix/Command/_ssh: use -q for the option suffix * Christian Hesse: 35991: Completion/Unix/Command/_ssh: add ssh option FingerprintHash 2015-08-05 Oliver Kiddle * Eric Cook: 35973: Completion/BSD/Command/_systat, Completion/Unix/Command/_vmstat: new completions * Eric Cook: 35972: Completion/Unix/Command/_ssh: allow for Directive=Value format in .ssh/config * Christian Hesse: 35986: Completion/Unix/Command/_ssh: add ssh option UpdateHostKeys * unposted (c.f. 35902): Functions/Zle/incremental-complete-word: use - after zle -U in case $key starts with - 2015-08-04 Daniel Shahaf * unposted: Src/builtin.c: Typo fix. 2015-08-02 Daniel Hahler * 35970: Completion/Unix/Command/_git, Completion/Zsh/Context/_brace_parameter: completion: fix typos in _git and _brace_parameter. 2015-08-01 Jun-ichi Takimoto * 35957: Completion/Unix/Command/_make: fix _make-expandVars(), and use variables set in the command line and environment. 2015-07-31 Oliver Kiddle * 35963: Src/Modules/system.c: simplify condition found by coverity scan to include tautology * Matthew Martin: 35960 (tweaked): Completion/Unix/Command/_find: complete correct options for OpenBSD's find 2015-07-29 Barton E. Schaefer * 35953: Src/lex.c, Test/A01grammar.ztst: fix handling of command substitution in math context, particularly in "for ((...))" 2015-07-28 Barton E. Schaefer * 35947: Etc/zsh-development-guide: update discussion of module wrappers, some examples 2015-07-27 Barton E. Schaefer * 35937: Functions/Misc/zargs: wait for process IDs instead of job numbers in parallel mode, in case zargs is in a pipeline 2015-07-26 Daniel Shahaf * 35274 (plus tweaks): Completion/BSD/Command/_watch-snoop Completion/Unix/Command/_watch: completion: Add FreeBSD's watch(1) 2015-07-26 Oliver Kiddle * 35901: Completion/X/Type/_x_font: complete full names as removing later components was broken for aliases and unwanted in any case 2015-07-26 Jun-ichi Takimoto * Antony Lee: 35899: Completion/Unix/Type/_python_modules: faster method of generating list of python modules 2015-07-25 Barton E. Schaefer * unposted: Functions/Prompts/prompt_bart_setup: add RPS2 handling, update help text, clean up indentation whitespace 2015-07-25 Peter Stephenson * 35910: Src/input.c: Don't add to raw lex buffer if lex stopped. Fixes crash on completion of incomplete math expresion e.g. '$((3*4)'. * 35909: Src/utils.c: fix $((...) completion in _expand by normalising quoting of the math expression containing tokens. * 35908: Src/ZLe/zle_tricky.c: fix $((...)) completion by expand-or-complete widget. 2015-07-24 Barton E. Schaefer * 35896: Doc/Zsh/params.yo, Doc/Zsh/zle.yo: index zle_highlight * 35882: Src/Zle/iwidgets.list: read-command has ZLE_NOTCOMMAND 2015-07-24 Daniel Shahaf * 35810: Etc/FAQ.yo: FAQ += edit-command-line * 35809: Util/zyodl.vim: zyodl.vim: Fix nested parentheses * 35807: Functions/Zle/edit-command-line: edit-command-line: Fix for non-7bit-data (after 35769) 2015-07-24 Oliver Kiddle * 35865: Doc/Zsh/prompt.yo: document %^ prompt expansion * 35864: Doc/Zsh/mod_system.yo, Src/Modules/system.c, Src/Modules/system.mdd: add sysopen, sysseek and systell to system module * 35879: Eric Cook: Completion/Linux/Command/_btrfs: fix for subcommands that don't have a second subcommand 2015-07-24 Peter Stephenson * 35883: Src/hist.c: Don't attempt to back up over history if expanding alias. 2015-07-23 Peter Stephenson * 35873: Test/D03procsubst.ztst: add original test from 35847: * 35872: Src/utils.c: protect against NULL pointers in unmeta(). * 35849: Src/exec.c, Src/jobs.c, Test/D03procsubst.ztst: close file descriptors from process substitution in parent after fork. * 35854: Stc/hist.c: ensure character unget doesn't cause infinite recursion. * 35793: Src/zsh.h: avoid undefined behaviour shifting signed number. 2015-07-23 Oliver Kiddle * 35753: Completion/Zsh/Type/_ps1234: allow for numbers after the ( in ternary expressions and fix backslash quoting * 35867: Completion/Unix/Command/_patchutils: new completion * 35866: Completion/Unix/Command/_gzip: complete also for pigz * 35866: Completion/Unix/Command/_zcat: allow for NetBSD gzip * 35824: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: allow highlighting of just pasted text, put text from bracketed paste in cut buffers * 35815: Functions/Misc/nslookup: fix for newer nslookup * 35814: Src/Zle/zle_main.c: POSTEDIT needs to be unmetafied 2015-07-22 Barton E. Schaefer * 35839: Joshua Krusell : Src/Modules/socket.c, Src/Modules/tcp.c: fix select polling in ztcp and zsocket * unposted: Completion/Zsh/Type/_directory_stack: move some more recent code so an old comment is connected to the correct bit of older code * users/20324: Completion/Zsh/Type/_directory_stack: add (D) flag for tilde-fied completion listing * 35826: Src/Modules/newuser.c, Src/Modules/zftp.c, Src/Zle/complist.c, Src/Zle/zle_misc.c, Src/init.c, Src/params.c, Src/utils.c, Src/watch.c: add getsparam_u() to return unmetafied string, use it for a number of references to non-special params * 35823: Functions/Zle/narrow-to-region: fix handling of MARK and CURSOR, clean up documentary comment 2015-07-22 Barton E. Schaefer * unposted: Test/B02typeset.ztst: fix another test for 35581 * 35582: Test/A06assign.ztst, Test/B02typeset.ztst: test for 35581 * 35581: Src/params.c: output array assignments with spaces inside the parens 2015-07-16 Barton E. Schaefer * 35805: Test/E01options.ztst: tests for 35799 2015-07-15 Barton E. Schaefer * 35799: Src/params.c: with NO_EXEC, parse parameter subscript expressions to correctly balance enclosing braces, but do not perform the subscripting 2015-07-15 Mikael Magnusson * unposted: Completion/Zsh/Type/_ps1234: unposted: _ps1234: Fix ternary test char completion 2015-07-14 Oliver Kiddle * 35789: (tweaked c.f. Bart: 35791) Completion/Unix/Type/_files: duplicate glob qualifier handling from _path_files so it is called once and not for each file pattern 2015-07-13 Daniel Shahaf * 35790: Util/zyodl.vim: zyodl.vim: Be compatible with Vim 6. * 35775: Doc/Zsh/.vimrc Etc/zsh-development-guide Util/zyodl.vim: New zsh-specific yodl vim syntax highlighting. 2015-07-13 Daniel Shahaf * 35769: Functions/Zle/edit-command-line: edit-command-line: Go to the right byte offset 2015-07-13 Oliver Kiddle * 35737: (tweaked c.f. Peter: 35759): Src/Zle/zle_utils.c, Functions/Zle/read-from-minibuffer: use new undo limit for minibuffer and beep when limit is reached * 35756: Completion/Zsh/Type/_ps1234: use the actual colours in the completion list for terminal colours * 35774: Completion/Unix/Type/_dates: fix double formatting of date explanation message 2015-07-13 Daniel Hahler * 35779: Completion/Unix/Command/_git: _git-config: remove extraneous "local expl". 2015-07-12 Daniel Shahaf * unposted: Test/B01cd.ztst: Typo 2015-07-10 Peter Stephenson * unposted: Test/B01cd.ztst: notes on ZTST_unimplemented: and ZTST_skip. 2015-07-10 Mikael Magnusson * 35761: Test/V09datetime.ztst: Make sure to skip alternate format extension test properly 2015-07-10 Peter Stephenson * unposted: another ZTST_skip. * 35760: Test/A01grammar.ztst, Test/C02cond.ztst, Test/V09datetime.ztst, Test/ztst.zsh: ZTST_skip can be used to skip test case. 2015-07-09 Peter Stephenson * 35708: Doc/Zsh/zle.yo, Src/Zle/zle_params.c, Src/Zle/zle_utils.c; UNDO_LIMIT_NO. 2015-07-09 Peter Stephenson * 35751: Src/exec.c, Test/C03traps.ztst: fix ERR_RETURN / ERR_EXIT in else branch of if. 2015-07-09 Mikael Magnusson * 35745: Src/utils.c, Test/V09datetime.ztst: ztrftime: Pass everything unhandled to the system strftime() * unposted: (c.f. Jun T: 35754): Test/V09datetime.ztst: Make V09 set a known timezone 2015-07-09 Oliver Kiddle * 35748: Completion/Zsh/Type/_ps1234, Completion/Zsh/Command/_print: fixes to prompt spec completion where it contains date formats * 35749: (c.f. Jun T: 35732): Completion/Unix/Type/_date_formats: fix exclusion list for flags/modifiers 2015-07-08 Oliver Kiddle * 35729: Completion/Zsh/Command/_compadd: new compadd completion * Matthew Martin: 35727: Completion/Unix/Type/_diff_options: support OpenBSD for diff options 2015-07-07 Oliver Kiddle * 35700: Completion/Unix/Type/_date_formats: complete OS specific date format specifiers and put % in a prefix * 35718: Completion/Unix/Command/_find, Completion/Unix/Type/_dates, Completion/Zsh/Type/_globquals: new calendar style date completion 2015-07-07 Peter Stephenson * unposted: Src/Zle/complete.c: remove compiler warning. 2015-07-06 Barton E. Schaefer * unposted: Doc/Zsh/expn.yo: alphabetize ${(b)...} flag * 35709: Doc/Zsh/expn.yo: explain :s/// modifier contexts * 35694: Src/subst.c, Test/D04parameter.ztst: fix handling of history modifiers (specifically :s/l/r/) when applied across all elements of an array parameter value 2015-07-06 Oliver Kiddle * 35704: Doc/Zsh/compwid.yo, Src/Zle/compcore.c, Src/Zle/complete.c: compadd -E 0 should imply -J and -2 2015-07-06 Mikael Magnusson * 35696: Completion/Unix/Type/_ps1234: complete colors for %F{ and %K{ * 35697: Completion/Unix/Type/_date_formats, Completion/Unix/Type/_ps1234: Complete strftime formats for %D{} 2015-07-06 Daniel Shahaf * 35441: Etc/zsh-development-guide: Make devs' ChangeLog generator scripts discoverable 2015-07-05 Peter Stephenson * 35692: Src/Zle/computil.c: cfp_matcher_range used wrong raw character if it couldn't be converted to wchar_t. * 35688: Src/text.c: Slightly more nearly definitive version of turning wordcode case statements back to text. 2015-07-04 Peter Stephenson * 35682: Src/text.c, plus Test/A01grammar.ztst: turning case statements parsed as multiple alternatives back into text. 2015-07-03 Oliver Kiddle * 35681: Src/Modules/datetime.c: fix day of month initialisation * 35674: Src/Zle/zle_main.c: make an undo event for initial buffer contents 2015-07-03 Mikael Magnusson * 35673: Completion/Zsh/Function/_zargs: Improve _zargs 2015-07-02 Peter Stephenson * Han Pingtian: 35665: Src/Zle/complete.c: better error handling for command line match processing. * Eric Cook: 35663: Completion/Unix/Command/_zpool: fix for changed interface. * 35668: Src/input.c, Src/lex.c, Src/zsh.h, Test/D03procsubst.ztst: replacement for 35667: use input flag to stop unwanted backtracking, additional test. 2015-07-01 Peter Stephenson * 35667: Src/lex.c, Src/zsh.h, Test/D03procsubst.ztst, Test/D08cmdsubst.ztst: fix command expansion which starts but does not finish within alias. 2015-06-29 Peter Stephenson * unposted: Doc/Zsh/options.yo: fix formatting typo. * 35655: Doc/Zsh/options.yo, Src/exec.c, Src/options.c, Src/zsh.h: APPEND_CREATE option gives POSIX compatible behaviour for NO_CLOBBER. 2015-06-28 Barton E. Schaefer * 35660: Functions/Prompts/prompt_adam1_setup: avoid perl, fix help 2015-06-29 Oliver Kiddle * 35637: Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_tricky.c: remove the now unused module hook for reverse-menu-complete * 35627: Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complete.c, Src/Zle/complist.c, Src/Zle/compresult.c, Src/Zle/zle_tricky.c: make reverse-menu-complete start with last match in menu selection * 35623: Src/Zle/complist.c: fix menu-selection where initial selection would not be displayed without scrolling 2015-06-28 Peter Stephenson * 35643: Src/parse.c: redirections after typeset assignments were broken. 2015-06-27 Barton E. Schaefer * 35642: Src/context.c: signal queueing in zcontext_save_partial() * 35634: Src/exec.c: handle failure of gettempname() in namedpipe() 2015-06-27 Peter Stephenson * 35635: Src/builtin.c: a bit more consistency about making elements of things local. * users/20281: Completion/Base/Core/_main_complete: don't require MULTIFUNCDEF as _main_complete is parsed before we can ensure it's set. * 35623: Src/builtin.c, Src/zsh.h, Test/B02typeset.ztst: 35610 was incomplete: all is_array asignments should be treated as having a value. 2015-06-26 Barton E. Schaefer * 35626: Doc/Zsh/options.yo: update POSIX_CD to note that it is on in ksh and sh emulations 2015-06-26 Peter Stephenson * 35615: Src/lex.c, Src/Zle/zle_tricky.c: fix completion after typeset. * 35613: Src/builtin.c, Test/B02typeset: handle array slices in typeset. 2015-06-25 Peter Stephenson * 35610: Src/builtin.c: typeset is silent if arguments is x=() even if array x already exists. * 35604: Src/exec.c, Test/B02typeset: create empty arrays in typeset with array=(). 2015-06-24 Jun-ichi Takimoto * 35550: Src/Zle/complist.c: fix backspace in interactive mode of menu-select 2015-06-24 Peter Stephenson * 35514: Han Pingtian: Src/pattern.c: [[:foo:]] tests in completion weren't specific enough about foo. * 35590: Src/text.c, Test/B02typeset.ztst: tweak and test text output for typeset. * various culminating in 35586, c.f. commits on typeset-array branch: Config/version.mk, Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, NEWS, README, Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/lex.c, Src/options.c, Src/parse.c, Src/text.c, Src/zsh.h, Test/B02typeset.ztst, Test/D01prompt.ztst, Test/E01options.ztst: Implement assignment handling for typeset etc. when matched as reserved words. Document and test. 2015-06-23 Peter Stephenson * 35573: Completion/compinit: turn off POSIX_BUILTINS in completion, needed to get usable OPTIND behaviour. * unposted: Src/Zle/zle_misc.c: add missing "void" argument list. 2015-06-23 Oliver Kiddle * 35568: Completion/Zsh/Type/_file_descriptors: use symlinks in /proc/$$/path on Solaris and procstat on FreeBSD * 35529: Completion/Unix/Command/_java: fix filename completion after java -jar 2015-06-22 Peter Stephenson * 35566: Src/Modules/regex.c: didn't handle faile parenthesis matches. 2015-06-22 Mikael Magnusson * 35554: Doc/Zsh/contrib.yo: Document narrow-to-region -l and -r. * 35558: Functions/Zle/narrow-to-region: narrow-to-region: Use unique parameter names for new feature. 2015-06-21 Peter Stephenson * 35545: Functions/Zle/narrow-to-region: Add ability to return buffer components from narrowed region. 2015-06-19 Oliver Kiddle * 35531: Completion/Unix/Command/_adb: fallback on file completion * 35527: Completion/Unix/Type/_email_addresses, Completion/Zsh/Command/_fc, Completion/Zsh/Command/_zpty: use list-separator style in cases where separator was hardcoded * 35528: Completion/Unix/Type/_pids: allow for IPREFIX 2015-06-18 Oliver Kiddle * 35474, 35492: Doc/Zsh/params.yo, Doc/Zsh/zle.yo, Src/Zle/complist.c, Src/Zle/iwidgets.list, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c: support the bracketed paste mode of newer terminal emulators * 35487, 35496: Doc/Zsh/zle.yo, Src/Zle/complist.c, Src/Zle/zle_hist.c: don't reinstate previous incremental search string when search direction changes * 35510: Completion/Unix/Command/_git: use consistent formatting for git subcommands * 35504: Completion/Unix/Command/_git: complete % placeholders for git log --format * 35521: Completion/Zsh/Type/_file_descriptors: sort matches numerically and use pfiles on Solaris * Eric Cook: 35490: Completion/Zsh/Type/_file_descriptors: silence errors and avoid blank match due to missing local 2015-06-17 Mikael Magnusson * 35477: Completion/Unix/Command/_gdb: _gdb: Allow 'core' to occur anywhere in a coredump filename * 35476: Src/params.c: Allow setting $0 when POSIX_ARGZERO is not set 2015-06-16 Barton E. Schaefer * 35493: Src/exec.c: erase $_ when the command line is an assignment * 35482: Src/init.c: be consistent about how argzero is allocated 2015-06-14 Barton E. Schaefer * 35469: Functions/Zle/smart-insert-last-word: test UNDO_CHANGE_NO to determine whether to start over or use the next history event * 35467: Completion/Unix/Command/_du: complete files for non-GNU du 2015-06-12 Peter Stephenson * 35448: Src/Modules/curses.c, Src/Modules/regex.c, Src/Zle/complist.c, Src/Zle/zle_utils.c, Src/builtin.c, Src/glob.c, Src/hist.c, Src/prompt.c, Src/utils.c, Src/zsh.h, Test/D07multibyte.ztst: Add non-metafied character length handling and use this for regex module. Add test. Rename mb_metacharinit() to mb_charinit() since it doesn't involve metafied characters. 2015-06-11 Peter Stephenson * 35442: Doc/Zsh/options.yo: multibyte option now on everywhere by default. 2015-06-09 Oliver Kiddle * 35418: Doc/Zsh/compsys.yo: fix usage synopsis for _describe to be clear that a single description is used 2015-06-08 Peter Stephenson * 35416: Src/options.c: Turn on MULTIBYTE in all emulations, including sh. 2015-06-08 Daniel Hahler * 35216: Completion/Unix/Command/_git: _git-checkout: do not call __git_commits twice. 2015-06-07 Oliver Kiddle * 35412: Src/builtin.c, Test/B03print.ztst: fix for - flag when formating strings with printf that was broken in 34841 2015-06-06 Barton E. Schaefer * 35350: Completion/Zsh/Command/_fc, Doc/Zsh/builtins.yo, Src/builtin.c: extend "fc -I" to cover listing of "internal" history events only * 35163: Completion/Base/Core/_main_complete, Completion/Base/Core/_setup: move "show-ambiguity" style to _setup so that more precise context can be applied 2015-06-05 Peter Stephenson * 35386: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo, Functions/Misc/zed, Src/builtin.c, Src/hashtable.c, Src/pattern.c, Src/text.c, Src/utils.c, Src/zsh.h: expand tabs for function output in functions, whence, where, which and also zed -f using -x num option. 2015-06-03 Oliver Kiddle * 35360 (replacing 35357): configure.ac, Src/Modules/zpty.c: fix for configuring zpty on FreeBSD without pty.ko loaded 2015-06-03 Peter Stephenson * 35374: Test/D07multibyte.ztst: add tab expansion test with double width characters. 2015-06-02 Peter Stephenson * 35369: Test/A06assign.ztst, Test/E01options.ztst: better GLOB_ASSIGN testing. 2015-06-02 Mikael Magnusson * 35365: Src/exec.c: GLOB_ASSIGN should only affect scalar assignments, this regressed in 33816. 2015-06-02 Peter Stephenson * users/20243: Completion/compinit: turn off GLOB_ASSIGN in completion system. 2015-06-02 Daniel Shahaf * 35270: Completion/Base/Utility/_describe: _describe: Document a known issue described in 35229 (which is the same thread as 35127 and 34768) * 35271: Completion/Unix/Command/_beep: New completion: beep. * unposted: Doc/Zsh/options.yo: Typo fix 2015-06-02 Peter Stephenson * 35359 (plus changed error strings in tests): Src/math.c, Test/C01arith.ztst: fix math parsing problem that trailing ")" wasn't detected; also improve error messages to indicate they refer to math expressions. * Baptiste Daroussin: 35357: Src/Modules/zpty.c: HAVE_POSIX_OPENPT is needed for FreeBSD zpty. * 35353: Doc/Zsh/builtins.yo, Src/builtin.c, Src/utils.c, Test/B03print.ztst: print -x and print -X expand tabs. 2015-06-02 Oliver Kiddle * 35356: Completion/Unix/Type/_ttys, Completion/Unix/Command/_ps, Completion/Unix/Command/_last, Completion/Unix/Command/_pgrep, Completion/Unix/Command/_gdb: factor out completion of tty devices * Adrien Vergé: 35352 (tweaked): Completion/Redhat/Command/_dnf: completion for new Redhat package manager 2015-06-01 Peter Stephenson * unposted: Config/version.mk: update to 5.0.8-dev-0 so dev installs don't trash release. 2015-05-31 Peter Stephenson * unposted: Config/version.mk: release 5.0.8, finally. * 35343: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/subst.c, Test/D04parameter.ztst: $#foo for any valid identifier is only the length of foo if POSIX_IDENTIFIERS is not set. 2015-05-30 Barton E. Schaefer * users/20238: Doc/Zsh/builtins.yo, Src/builtin.c: add "fc -L" to operate only on the local shell history when history sharing is in effect. Also avoid invoking the editor on empty results. 2015-05-30 Peter Stephenson * Han Pingtian: 35324: Functions/Zftp/zfget_match: better zfget completion with paths. * Han Pingtian: 35311: Doc/Zsh/zftpsys.yo: typo in zfuput behaviour. 2015-05-30 Barton E. Schaefer * Oliver Kiddle: 35310 (plus undo 35268 (git 899613f)): Completion/Base/Utility/_store_cache: fix quoting of cached arrays 2015-05-29 Peter Stephenson * 35326: Src/subst.c, Test/D04parameter.ztst: $#- was misparsed as ${#-}. * users/20237: Src/Modules/parameter.c: $functions[foo] shouldn't be unmetafied when passed as parameter body. 2015-05-28 Daniel Hahler * 35098: Completion/Unix/Command/_git: provide --amend also with "message" group. 2015-05-28 Oliver Kiddle * 35315: Completion/Unix/Command/_git, Completion/X/Command/_matlab; replace inappropriate uses of _path_commands 2015-05-28 Peter Stephenson * 35318: Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c: POSIX_BUILTINS compatibility for OPTIND processing in getopts. 2015-05-27 Peter Stephenson * 35306: Src/parse.c, Test/C02cond.ztst: "test -z \(" failed owing to overeager parsing. * unposted: Config/version.mk: 5.0.7-dev-4. 2015-05-27 Daniel Hahler * 35285: Functions/Chpwd/_cdr: fix zstyle lookup for recent-dirs-insert. * 35286: Completion/Unix/Command/_baz, Completion/Unix/Command/_tla: fix zstyle lookups with _baz and _tla. * 35293: Completion/Unix/Command/_php: fix zstyle lookup with _php: use trailing colon. 2015-05-27 Peter Stephenson * Han Pingtian: 35299: Functions/Zftp/zfdir: improve effect of zfdir -r. 2015-05-26 Jun-ichi Takimoto * 35289: Doc/Zsh/builtions.yo: fix typos in the description of emulate builtin (based on 34981 by Han Pingtian) 2015-05-26 Peter Stephenson * see 35268: Completion/Base/Utility/_store_cache: revert 34476 (ae7dcab) as it seems to be having effects beyond the intended optimisation of completion caching. To be investigated further after the release. * Han Pingtian: 35295: Functions/Zftp/zfcd_match: be more inventive zftp directory listing. * Eric Cook: 35292: Completion/Redhat/Command/_yum: complete installation of local files. 2015-05-23 Daniel Shahaf * 35127#1: Src/Zle/compcore.c Src/Zle/computil.c: Fix _describe/compdescribe problem with unsorted groups 2015-05-22 Peter Stephenson * 35266: Src/exec.c: test from users/20203 needed changing because of jumps in locallevel. 2015-05-23 Jun-ichi Takimoto * 35255: configure.sc, Doc/Makefile.in: if available, use texi2any instead of texi2html 2015-05-22 Daniel Hahler * 35261: Completion/Unix/Command/_git: make $ret local in __git_recent_commits. 2015-05-21 Peter Stephenson * 35250: Doc/Zsh/grammar.yo: fix case documentation (SH_GLOB). * 35248: Src/lex.c, Src/parse.c, Test/A01grammar.ztst: treat fully parenthesised zsh patterns as complete case patterns again. 2015-05-20 Peter Stephenson * Ismail: 35232: Completion/Unix/Type/_urls: matching parentheses. 2015-05-20 Barton E. Schaefer * 35231: Src/params.c: make mkevnstr() safe for NULL value 2015-05-19 Daniel Shahaf * 35224: Completion/Unix/Command/_git: completion: git: Add fast-export --signed-tags=warn-strip 2015-05-19 Daniel Hahler * 35164: Completion/Unix/Command/_git: fix $pipestatus with __git_commit_objects/__git_recent_commits. * 35204: Completion/Unix/Command/_git: fix quoting in previous commit commit (35164). * 35209: Completion/Unix/Command/_git: remove -2 _describe in __git_recent_commits. This fixes duplicate entries, because __git_recent_commits gets called twice for _git-checkout (for __git_revisions and __git_tree_ishs). * 35211: Completion/Unix/Command/_git: __git_commit_objects: do not use _guard, but only a pattern for skipping. * 35217: Completion/Unix/Command/_git: _git-send-email: provide completions from `__git_commit_objects_prefer_recent`. 2015-05-19 Daniel Shahaf * users/20222: Completion/Unix/Command/_git: users/20222: completion: git: Add matchspec for heads 2015-05-18 Peter Stephenson * 35193: Doc/Zsh/builtins.yo, Src/builtin.c, Src/hashtable.h, Test/A02alias.ztst: add "unalias -a". * 35187: Completion/Unix/Command/_vim: fix unbalanced parentheses. * 35184: Src/parse.c, Test/A01grammar.ztst: fix pattern parsing after "|" in 35168. * 35168: Completion/Unix/Command/_ant, Completion/Unix/Command/_cp, Completion/Unix/Command/_locate, Completion/Unix/Command/_make, Completion/Unix/Command/_tar, Completion/Unix/Type/_path_commands, Completion/X/Command/_xrandr, Config/version.mk, Src/lex.c, Src/loop.c, Src/parse.c, Src/text.c, Test/A01grammar.ztst: Fix parsing of case patterns so "|" is extracted by looking for words; quote completion functions where needed in consequence; add test; updated version number to 5.0.7-dev-3 because of wordcode incompatibility. 2015-05-18 Daniel Hahler * 35126: Completion/Unix/Command/_git: __git_recent_commits: add "return $ret" to make it useful when being called in a pipeline. * 35100: Completion/Unix/Command/_git: __git_recent_commits: massage ' ->*' from heads. Handle " -> master, origin/master" in decorated git-log output, and add it as separate entries. * 35101: Completion/Unix/Command/_git: add __git_commit_objects_prefer_recent. This is used with __git_commits then, and is meant to only call __git_recent_commits, if there are matches. * 35104: Completion/Unix/Command/_git: __git_commit_objects: query 1000 commits. Also, `--all` and `--reflog` is used to get all commits. * 35103: Completion/Unix/Command/_git: add %cr to commit objects (all and recent). * 35106: completion: git: unique name for __git_recent_commits. * Daniel Shahaf: 35105: Completion/Unix/Command/_git: add distance_from_head to __git_recent_commits. 2015-05-16 Daniel Shahaf * 35161: Completion/Unix/Command/_git: completion: git: Fix typo in 35061 2015-05-15 Peter Stephenson * 35155: Src/lex.c: cmdpop() could sometimes get called too often on error. 2015-05-15 Oliver Kiddle * users/20219: Completion/Unix/Command/_git: fix for git options 2015-05-15 Peter Stephenson * 35154: NEWS: news on arithmetic evaluation changes. * 35153: Src/subst.c, Test/C01arith.ztst: nested math substitution. * 35151: Src/subst.c: improved check for both b and q flags. * 35131: Src/pattern.c: "[]" in a pattern is treated as an empty character set (matching nothing) if there are no more active "]" is in the pattern. 2015-05-14 Oliver Kiddle * 35139: Completion/Zsh/Context/_brace_parameter: add (b) flag * Øystein Walle: 34841 (tweaked): Src/builtin.c: allow grouping of thousands in printf format string * unposted: Completion/BSD/Type/.distfiles: include new dir * Daniel Hahler: 35062: Completion/Unix/Command/_git: __git_setup_revision_options includes __git_setup_diff_options * Daniel Hahler: 35061: Completion/Unix/Command/_git: add __git_setup_diff_stage_options and use it with _git-diff-files and _git-diff explicitly * Daniel Hahler: 35016: Completion/Unix/Command/_git: introduce new pretty formats %g[sdD] for reflog information 2015-05-14 Peter Stephenson * 35110: Src/builtin.c, Doc/Zsh/params.yo: don't implicitly initialize restricted integers to zero. 2015-05-13 Oliver Kiddle * 35092: Src/Zle/zle_params.c: fix for numeric arguments from vi operator pending mode * 35093: NEWS, Functions/Zle/select-bracketed, Functions/Zle/select-quoted, Functions/Zle/surround: new zle widgets for Vim-style text objects 2015-05-13 Peter Stephenson * 35114: Src/Modules/zutil.c: zformat -a multibyte char widths. * Christian Hesse: 35107: Completion/Unix/Command/_ip: new ip options. 2015-05-13 Peter Stephenson * users/20203: Src/builtin., Src/exec.c, Test/A01grammar.ztst: nested function in always traps after exit didn't work. 2015-05-12 Jun-ichi Takimoto * 35086: Doc/Zsh/expn.yo: reapply 35067 (with 35071) which has been mistakenly reverted by 35075 2015-05-12 Daniel Hahler * 35060 + 35072: Completion/Unix/Command/_git: completion: git: split __git_heads into local and remote 2015-05-12 Jun-ichi Takimoto * 35075: Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo, Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/mod_clone.yo, Doc/Zsh/mod_complist.yo, Doc/Zsh/mod_curses.yo, Doc/Zsh/mod_parameter.yo, Doc/Zsh/mod_pcre.yo, Doc/Zsh/mod_sched.yo, Doc/Zsh/mod_stat.yo, Doc/Zsh/mod_system.yo, Doc/Zsh/mod_zftp.yo, Doc/Zsh/mod_zpty.yo, Doc/Zsh/mod_zselect.yo, Doc/Zsh/mod_zutil.yo, Doc/Zsh/options.yo, Doc/Zsh/params.yo, Doc/Zsh/tcpsys.yo, Doc/Zsh/zftpsys.yo, Doc/Zsh/zle.yo: improve manual format * unposted: ChangeLog: fixed entry for 35034 (2015-05-06) 2015-05-11 Oliver Kiddle * 35049 (tweaked to make jname default): Completion/BSD/Type/_jails, Completion/Unix/Command/_ps, Completion/Unix/Command/_pgrep: allow jail completion to include jid 0 for the host and to complete jails by any parameter 2015-05-11 Peter Stephenson * 35078: Src/zsh.h, Test/D04parameter.ztst: also quote backslash with (b) flag. 2015-05-10 Peter Stephenson * 35067 (doc tweak from Daniel, 35071): Doc/Zsh/expn.yo, Src/subst.c, Src/utils.c, Src/zsh.h, Src/ztype.h, Test/D04parameter.ztst: add ${(b)foo} for backslash quoting of patterns. 2015-05-10 Mikael Magnusson * 35065: Src/zsh.h: Don't treat NUL as a combining character 2015-05-09 Daniel Shahaf * 35066: Completion/Unix/Command/_python Completion/Unix/Command/_subversion: Minor completion fix for pasted arguments 2015-05-09 Jun-ichi Takimoto * 35064: Src/pattern.c, Src/utils.c, Src/ztype.h: rename ISPRINT to ZISPRINT to avoid name conflict 2015-05-08 Peter Stephenson * 35059: Doc/Zsh/builtins.yo, Src/params.c, Test/B02typeset.ztst: fix, document and test "readonly -p" output for arrays and specials. * 35056: Test/A02alias.ztst: turn off PROMPT_SP for interactive test. 2015-05-08 Jun-ichi Takimoto * 35057: Etc/FAQ.yo: make URL clickable (should have been included in 34850) 2015-05-07 Peter Stephenson * 35054: Src/params.c, Test/B02typeset.ztst: "readonly -p" displays unset readonly variables with POSIXBUILTINS. * Eric Cook: 35052: Completion/BSD/Command/_bsdconfig, Completion/BSD/Command/_bsdinstall, Completion/BSD/Command/_jexec, Completion/BSD/Command/_jls: new completions. 2015-05-06 Barton E. Schaefer * 35046: Src/lex.c: properly unwind cmdstack when erroring out of lexing a parameter expansion in braces 2015-05-06 Peter Stephenson * c.f. 35041 (Axel Beckert): Doc/Zsh/zle.yo: typo. 2015-05-06 Jun-ichi Takimoto * 35034: Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo, Doc/Zsh/cond.yo, Doc/Zsh/expn.yo, Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Doc/Zsh/params.yo, Doc/Zsh/redirect.yo, Doc/Zsh/zle.yo: improve format in the manual (up to Chapter18) 2015-05-05 Peter Stephenson * unposted: Config/version.mk, Etc/FAQ.yo: update for 5.0.7-dev-2, including updated FAQ source for newer YODL. * 35032: Src/jobs.c: update job status with process status if process detected as continued. 2015-05-05 Peter Stephenson * unposted: fix descriptions in previous commit (cosmetic). * 35033: Completion/Zsh/Function/_zcalc: trivial completion. 2015-05-04 Oliver Kiddle * 35029: Src/Zle/zle_word.c, Test/X02zlevi.ztst: improvements to newline handling for vi-mode word movement 2015-05-04 Mikael Magnusson * 35021: Src/builtin.c: Fix two bugs in typeset_setbase 2015-05-03 Peter Stephenson * 35018 (corrected): NEWS: news. 2015-05-03 Oliver Kiddle 35011: Completion/BSD/Type/_jails, Completion/Solaris/Command/_beadm, Completion/Solaris/Type/_be_name, Completion/Solaris/Type/_zones, Completion/Unix/Command/_chmod, Completion/Unix/Command/_chown, Completion/Unix/Command/_cmp, Completion/Unix/Command/_comm, Completion/Unix/Command/_cp, Completion/Unix/Command/_cut, Completion/Unix/Command/_date, Completion/Unix/Command/_du, Completion/Unix/Command/_elfdump, Completion/Unix/Command/_find, Completion/Unix/Command/_fuser, Completion/Unix/Command/_gcore, Completion/Unix/Command/_grep, Completion/Unix/Command/_iconv, Completion/Unix/Command/_id, Completion/Unix/Command/_join, Completion/Unix/Command/_last, Completion/Unix/Command/_ldd, Completion/Unix/Command/_ls, Completion/Unix/Command/_md5sum, Completion/Unix/Command/_mkdir, Completion/Unix/Command/_nl, Completion/Unix/Command/_nm, Completion/Unix/Command/_od, Completion/Unix/Command/_patch, Completion/Unix/Command/_ping, Completion/Unix/Command/_ps, Completion/Unix/Command/_readelf, Completion/Unix/Command/_rm, Completion/Unix/Command/_sed, Completion/Unix/Command/_sort, Completion/Unix/Command/_uname, Completion/Unix/Command/_uniq, Completion/Unix/Command/_wc, Completion/Unix/Command/_xargs, Completion/Unix/Type/_diff_options, Completion/Unix/Type/_file_systems: update completions for some common Unix commands, in particular improving FreeBSD support 2015-05-01 Peter Stephenson * 35009: README, Etc/FAQ.yo: updates for 5.0.8. 2015-05-01 Jun-ichi Takimoto * 35008: Doc/Zsh/builtins.yo: clarify description of 'exec' and 'return' 2015-05-01 Peter Stephenson * 35007: Doc/Zsh/zle.yo: note about scope of ZLE parameters. 2015-04-29 Peter Stephenson * 34992: Doc/Zsh/builtins.yo, Src/builtin.c, Src/params.c, Test/B02typeset.ztst: With POSXIBUILTINS, parameters can be marked readonly if unset and in any case can't subsequently be marked not readonly. 2015-04-28 Peter Stephenson * 34989: Src/exec.c: AUTOCD needs to pass -- to cd to avoid directory being treated as option. 2015-04-28 Peter Stephenson * Jared Ahern: 34980: Completion/Unix/Command/_make: expanding make variables was somewhat broken. * Jared Ahern: 34980: Completion/Unix/Command/_make: match additional forms of assignment in makefiles. * 34979: Src/exec.c: preserve job text in shell job fix code. * 34977: Src/zsh.mdd: more reliable test for whether preprocessor is GNU. 2015-04-25 Barton E. Schaefer * 34966: Src/hashtable.c: "whence -v" for a function reports whether the function is autoloaded or its source file when known * 34965: Src/glob.c: consistent use of zalloc/zrealloc/zfree * 34961: Completion/Unix/Command/_mkdir: avoid _message because it aborts completer list too early * 34961: Completion/Base/Completer/_history: unquote history words when command line has a quote * 34961: Completion/compaudit: properly handle the case of finding no files when searching $fpath and $_compdir * 34961: Doc/Zsh/compsys.yo: minor wording clarification * 34961: Src/Modules/datetime.c: $TZ is implicitly local in builtin strftime (originally workers/34602 from workers/34596) * 34961: Src/hist.c: clean up decl's of quote() and quotebreak() * 34961: Doc/Zsh/mod_system.yo: sysparams[pid] and sysparams[ppid] added to variables index * 34961: Src/compat.c, Src/init.c: replace a couple of free() with zfree() for consistency. * 34961: Completion/Base/Completer/_expand: add backslash to alias expansion matching (related to workers/32186) * 34961: Test/D02glob.ztst: test for breadth-first glob with (Y1) qualifier (originally workers/32726) 2015-04-24 Peter Stephenson * 34955: Src/exec.c: list_pipe_job needs saving and restoring with some other similar variables in execlist() in order to stop source() messing up job control. 2015-04-24 Mikael Magnusson * Oliver: 34940: Completion/Zsh/Command/_fc: fix typo breaking completion for history 2015-04-17 Peter Stephenson * 34921: Src/parse.c: handle error in recursive par_event(). 2015-04-17 Peter Stephenson * 34920: Etc/zsh-development-guide: info on git pull. 2015-04-17 Daniel Hahler * 34899: Completion/Unix/Command/_vim: completion: _vim: add nvim to #compdef 2015-04-17 Peter Stephenson * 34919: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: similar cases with send-break and push-input. * 34905: Src/Zle/zle_keymap.c, Src/lex.c, Src/parse.c: suppress parse errors resulting from keyboard interruption. 2015-04-16 Mikael Magnusson * 34902: Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo: explain the numeric argument and be consistent about what we call it. 2015-04-15 Peter Stephenson * 34901: Test/A04redirect.ztst: Test for the foregoing. * 34900: Src/exec.c: assignment before an "exec" with a redirection, with and without POSIXBUILTINS. 2015-04-15 Peter Stephenson * unposted: Src/math.c: rewrite last commit to look more like other uses of Nularg. * 34892 (slightly tweaked): Src/math.c, Test/C01arith.ztst: fix math evaluation with empty expression resulting from substitution. * 34887: Src/exec, Test/E01options.ztst: assignments before "command special-builtin/func" in POSIX_BUILTINS mode behave as normal command. Tidy up case handling in code and add test. 2015-04-13 Daniel Shahaf * users/20159: Completion/Zsh/Command/_zstyle: completion: zstyle: Add 'show-ambiguity' * 34886: Completion/Unix/Command/_git: completion: git: Complete rebase --exec argument * 34885: Completion/Unix/Command/_git: completion: git: Sort "commit object" completions most recent first * 34885: Completion/Unix/Command/_git: completion: git: Fix another instance of the 34671 bug fixed in 34814 2015-04-13 Peter Stephenson * Han Pingtian: 34880: Doc/Zsh/options.yo: POSIX_TRAPS doc. * Han Pingtian: 34875: Doc/Zsh/options.yo: CSH_JUNKIE_HISTORY doc. * Han Pingtian: users/20078: Doc/Zsh/options.yo: HIST_BEEP doc. 2015-04-10 Clint Adams * 34874: Completion/Unix/Command/_cabal: completion for cabal command from cabal-install. 2015-04-10 Daniel Hahler * 34748: Completion/Unix/Command/_git: completion: git: update list of builtintools 2015-04-07 Jun-ichi Takimoto * 34850: Doc/zman.yo, Doc/ztexi.yo, Doc/META-FAQ.yo, Doc/Zsh/contrib.yo, Doc/Zsh/ftp_sites.yo, Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Doc/Zsh/roadmap.yo: make URLs in html/pdf docs clickable 2015-04-06 Barton E. Schaefer * 34851: Src/builtin.c: fix thinko from 34093 that short-circuited some "whence -m" searches 2015-04-03 Barton E. Schaefer * 34837: Src/glob.c: avoid loss of original file path when applying colon-modifiers in glob qualifiers, that path is still needed for later stat() when sorting. 2015-04-03 Jun-ichi Takimoto * 34840: Doc/Zsh/prompt.yo: minor format fixes 2015-04-02 Jun-ichi Takimoto * 34836: Doc/Zsh/prompt.yo: fix description of '%-0<<' 2015-04-01 Daniel Shahaf * 34814: Completion/Unix/Command/_git: completion: git: Fix bug introduced by 34671 [based on patch by Daniel Hahler] 2015-03-31 Peter Stephenson * users/20058: Completion/Unix/Command/_ip, Completion/Unix/Type/_find_net_interfaces, Completion/Unix/Type/_net_interfaces: improve matching of devices already on command line in ip completion. 2015-03-31 Peter Stephenson * Han Pingtian: 34822: Doc/Zsh/options.yo: correction to GLOB_SUBST doc. 2015-03-29 Peter Stephenson * 34817: Src/hist.c, Src/lex.c: catch some errors earlier when handling history to avoid knock-on errors and doing too much processing. 2015-03-29 Theo Buehler * 34792: Src/Modules/langinfo.c: langinfo: Fix pointer type 2015-03-29 Daniel Hahler * 34762: Completion/Unix/Command/_git: completion: git: add short option for '--dir-diff' (_git-difftool) 2015-03-28 Barton E. Schaefer * 34804: Src/lex.c: refine 34734 POSIX_ALIAS change to preserve old behavior of [[ ]] conditionals * 34781: Src/lex.c, Test/A02alias.ztst: add implicit space after alias expansion of tokens that form words without spacing; fixes crash when using completion immediately following such an alias 2015-03-27 Barton E. Schaefer * 34788: Src/lex.c: refine errflag handling in cmd_or_math() 2015-03-27 Peter Stephenson * Han Pingtian: 34785: Doc/Zsh/options.yo: fix typo in SHINSTDIN. * 34787: Test/W01history.ztst: new tests. 2015-03-26 Peter Stephenson * 34784: Src/input.c, Src/zsh.h: fix old bug with history selection. 2015-03-25 Barton E. Schaefer * 34779: Test/A02alias.ztst: tests for 34776 * unposted: Test/W01history.ztst: change an F: to a comment 2015-03-25 Peter Stephenson * Han Pingtian: 34769: incorrect description of process time calculation. 2015-03-25 Peter Stephenson * 34776: Src/hist.c, Src/zsh.h: suppressing alias expansions from history now uses same mechanism as everyone else. 2015-03-25 Barton E. Schaefer * 34774: Test/W01history.ztst, Test/comptest: fix %prep and use read from a no-op pipe to force wait for the timeout 2015-03-23 Barton E. Schaefer * 34772: Test/W01history.ztst, Test/comptest: add new test suite file for history; fix "read" usage in comptest for case where there is no TTY 2015-03-22 Peter Stephenson * 34759: Src/hist.c, Src/lex.c: safer implementation. * 34758: Src/hist.c, Src/lex.c: more problems with history interaction with command substitution: rewind over input history text when necessary. 2015-03-21 Barton E. Schaefer * users/20034: Completion/Base/Core/_main_complete: adjust PREFIX and SUFFIX for unambiguous_cursor on second completion attempt with GLOB_COMPLETE 2015-03-20 Peter Stephenson * 34753 / 34754: Test/C02cond.ztst: work around lack of separate file times with NFS. * 34752: Src/input.c: history expansion in command substitution *still* didn't work although the command put back into the history was correct. 2015-03-19 Peter Stephenson * 34742: Src/hist.c: history expansion in command substitution didn't work. Discriminate the case of an alias expansion more carefully. 2015-03-19 Daniel Shahaf * 34739: Completion/Unix/Command/_git: git completion: Fix regression in ce80a92 (workers/34638) 2015-03-18 Barton E. Schaefer * 34734: Doc/Zsh/grammar.yo, Src/lex.c, Test/A02alias.ztst: restrict token aliasing (34641) to global aliases; tighten up POSIX_ALIASES to better match spec; update Aliasing doc to cover this and clarify older behavior 2015-03-18 Peter Stephenson * 34732: configure.ac: turn off fixed site function directory if site function directory explicitly disabled. 2015-03-17 Peter Stephenson * unposted: NEWS: rewrite the foregoing. 2015-03-16 Peter Stephenson * 34725: NEWS: note thhat common site function directory may be overridden by configuration. * 34721: Doc/Zsh/calsys.yo, Functions/Calendar/after, Functions/Calendar/before: new glob qualifier functions. 2015-03-16 Daniel Shahaf * 34671 plus tweaks: Completion/Base/Utility/_describe Completion/Unix/Command/_git Doc/Zsh/compsys.yo: Add -1 -2 -J -V -x to _describe, use them to sort 'git --fixup' hash completions * 34671: Completion/Unix/Command/_git: git completion: only offer recent commits' tags/heads for --fixup 2015-03-15 Barton E. Schaefer * 34712: Doc/Zsh/grammar.yo: clarify words that may be aliased 2015-03-15 Mikael Magnusson * unposted: Completion/Zsh/Command/_zattr: Fix completion of attributes for files with pattern characters. 2015-03-10 Peter Stephenson * users/19985: Doc/Zsh/params.yo: improve doc of substring subscripting further. 2015-03-09 Daniel Shahaf * 34673: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Fix error message when rebase hasn't started * 34693: Completion/Unix/Command/_sudo: sudo completion: Don't false positive 'sudo -e' detection * 34693: Completion/Linux/Command/_strace: _strace: Fix variable leakage of $sys_calls 2015-03-07 Daniel Shahaf * Daniel Hahler: 34638 with tweaks: Completion/Unix/Command/_git: git completion: complete commit hashes and --fixup 2015-03-05 Jun-ichi Takimoto * 34643: Doc/Zsh/builtins.yo, Doc/Zsh/zle.yo: clarify which escape sequences are recognized by print and bindkey builtins. 2015-03-06 Peter Stephenson * 34653: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: move aborted vared lines to ZLE_VARED_ABORTED. * 34657: Doc/Zsh/params.yo: document the effect of substring subscripting better. 2015-03-05 Peter Stephenson * 34654: Completion/Redhat/Command/_rpm: complete absolute file names after -q --whatprovides. * 34651: Src/lex.c: avoid core dump if no lexical token. * Daniel Shahaf: 34647: Completion/Zsh/Function/_add-zsh-hook: new completion. 2015-03-05 Jun-ichi Takimoto * 34636: Src/compat.c, Src/pattern.c, Src/utils.c, Src/ztype.c, configure.ac: replace broken isprint() on Mac OS X. 2015-03-04 Peter Stephenson * 34641: Src/lex.c, Test/A02alias.ztst: make it possible to alias tokens. * Daniel Shahaf: 34640: Doc/Zsh/compsys.yo: clarify documentation for _guard function. 2015-03-03 Peter Stephenson * Matthew Martin: 34637: Completion/BSD/Command/_mixerctl: new completion. 2015-02-28 Barton E. Schaefer * users/19934: Doc/Zsh/params.yo: document %D{...} for WATCHFMT 2015-02-27 Barton E. Schaefer * 34634: Src/glob.c: avoid infinite recursion on (/)# extendedglob 2015-02-27 Daniel Shahaf * 34588: Completion/Unix/Command/_user_admin: Complete 'usermod -a' 2015-02-23 Peter Stephenson * 34623: Src/hist.c: free history more often in previous case. 2015-02-23 Mikael Magnusson * 34615 + 34619: Src/hist.c: Remeta one frame earlier 2015-02-22 Peter Stephenson * 34606: Src/subst.c, Test/C01arith.ztst: fix up arithmetic nested in parameter substitution. * 34604: Src/hist.c: Work around problem with changes in Meta affecting history file when read in. 2015-02-21 Barton E. Schaefer * 34597: Doc/Zsh/mod_datetime.yo: Revise strftime description to correctly explain timezone handling and note signed int rollover 2015-02-20 Barton E. Schaefer * 34590: Src/exec.c, Src/text.c: queue_signals() around more scopes that manipulate global state 2015-02-20 Peter Stephenson * 34587: Src/utils.c, Test/D07multibyte.ztst: ensure multibyte characters don't overflow into tokens and add test. 2015-02-19 Barton E. Schaefer * 34568: Src/Module.c: use META_HEAPDUP when passing dlerror() string to metafy() 2015-02-19 Peter Stephenson * unposted: Config/version.mk: Mikael says it's 2015, apparently. * 34573: Src/subst.c: safer handling of failure to perform command substitution. * 34570: Config/version.mk, Src/lex.c, Src/subst.c, Src/zsh.h, Test/C01arith.ztst: mark arithmetic substitutions with tokens so the substitution code knows what to do. 2015-02-17 Peter Stephenson * 34563: Src/input.c: Fix up memory allocation in 34560. 2015-02-16 Peter Stephenson * 34560: Src/input. Src/lex.c, Src/zsh.h, Test/C01arith.ztst: case of $(( that turned into a $(...) and a (...) with multiple lines read before it found out. * 34558: Doc/Zsh/func.yo: preexec doc erroneously claimed $1 was empty if line removed from history. 2015-02-15 Barton E. Schaefer * 34551: Src/builtin.c: Avoid adding an extra "/" to the target path in cd_try_chdir() when the current directory is "/" 2015-02-14 Barton E. Schaefer * 34543: Src/input.c, Src/lex.c: Fix crash on garbage bytes inside $(...) 2015-02-14 Mikael Magnusson * unposted: Doc/Zsh/prompt.yo: Fix typo from 28487. 2015-02-13 Peter Stephenson * 34546: Src/exec.c, Test/D04parameter.ztst: fix another oddity with $_ and anonymous functions and add tests. 2015-02-13 Peter Stephenson * 34530: Src/exec.c, Test/E01options.ztst: revised fix for PRINT_EXIT_VALUE from anonymous functions. 2015-02-12 Peter Stephenson * 34519: Src/exec.c: handle $_ with arguments to anonymous function. 2015-02-12 Barton E. Schaefer * 34514: Src/exec.c, Src/parse.c, Test/E01options.ztst: Back out 34485, an alternate solution needs to be worked out. (Tweaked to keep the unrelated hunk of the E01 test.) * 34476: Completion/Base/Utility/_store_cache: change the assignment format to avoid potentially expensive lexical analysis of the array values 2015-02-11 Peter Stephenson * users/19850: Doc/Zsh/params.yo, Src/watch.c: watch variable supports patterns for user, tty and host names. 2015-02-10 Mikael Magnusson * 34488: Src/builtin.c: Fix use-after-free for print -zf and print -sf * 34490: Src/builtin.c: Fix leak on print -zf/-sf error 2015-02-09 Peter Stephenson * 34485: Src/exec.c, Src/parse.c, Test/E01options.ztst: rationalise some more anonymous function behaviour: don't try to handle as "simple" case as there are too many hidden problems; pull out some post-execution functions to common cases in execcmd(). 2015-02-09 Mikael Magnusson * 34466: Src/utils.c: Fix double unmeta in rm verification 2015-02-08 Daniel Hahler * 34469: Completion/Unix/Command/_git: git completion: add "stash" from refs/stash to __git_heads * 34470: Completion/Unix/Command/_adb: completion: adb: add "sideload" command * 34467: Completion/Unix/Command/_git: completion: git: minor doc fixes * 34468: Completion/Unix/Command/_git: completion: git: stash: handle 'save' being the default 2015-02-07 Daniel Shahaf * 34464: Completion/Unix/Command/_mtr: Update mtr completion to mtr 0.82 2015-02-03 Jun-ichi Takimoto * 34456: _arguments: lopts should be initialized as an array 2015-02-06 Peter Stephenson * users/19825: Doc/Zsh/manual.yo: clear statement that zsh is not by default POSIX compatible. 2015-02-03 Barton E. Schaefer * unposted: Doc/Zsh/builtins.yo: fix formatting of "--". 2015-02-03 Jun-ichi Takimoto * 34451: Src/mem.c: use mmap() also on Mac OS X 2015-02-03 Peter Stephenson * users/19800: Doc/Zsh/params.yo: more help on $HISTORY_IGNORE. * 34455: Src/Modules/db_gdbm.c: some further parameter bug fixes including memory leak and unsetting old parameter too late. 2015-02-02 Barton E. Schaefer * 34447: Src/Modules/db_gdbm.c: fix assignment of key-value array to ztie'd parameter. 2015-02-02 Daniel Shahaf * 34444: Completion/Unix/Command/_git: git completion: minor improvements to 'commit' and 'rebase' 2015-02-01 Barton E. Schaefer * 34446: Doc/Zsh/mod_db_gdbm.yo, Src/Modules/db_gdbm.c: add "ztie -r" and "zuntie -u", update documentation for this and for 34430,34439. 2015-02-01 Daniel Shahaf * 34411: Completion/Unix/Command/_hg: _hg completion: Complete bookmark names for -r 2015-01-30 Peter Stephenson * 34439: Src/Modules/db_gdbm.c: unset parameter that's about to be tied when necessary. 2015-01-30 Peter Stephenson * 34435: Completion/Unix/Command/_sh, Completion/Unix/Type/_cmdstring, Completion/Zsh/Command/_emulate: updated emulate completion; _cmdstring factors out use of quoted command string. 2015-01-29 Peter Stephenson * 34430: Src/Modules/db_gdbm.c, Src/params.c: various bug fixes and safety additions for gdbm tied hashes. 2015-01-28 Barton E. Schaefer * unposted: Doc/Zsh/builtins.yo: fix other typeset doc errors * 34421: Doc/Zsh/builtins.yo: clean up typeset documentation 2015-01-28 Jun-ichi Takimoto * 34415: Completion/Unix/Type/_python_modules, Completion/Unix/Command/_python, Completion/Unix/Command/_pydoc: cache list of all python modules 2015-01-28 Jun-ichi Takimoto * 34423: _ruby: fix a typo 2015-01-27 Frank Terbeck * 34419: Doc/Zsh/contrib.yo: vcs_info documentation: Fix wording 2015-01-27 Peter Stephenson * Daniel Shahaf: 34412: Completion/Unix/Command/_chown: complete all groups if running as sudo. 2015-01-27 Mikael Magnusson * 34382: Src/module.c: Handle NULL return from dlerror() more gracefully * 34387: Src/module.c: Avoid loading the main zsh binary as a module 2015-01-26 Barton E. Schaefer * 34403: Src/utils.c: refine 34399 to avoid settyinfo() when the input descriptor is not a TTY 2015-01-26 Peter Stephenson * 34402: Src/Modules/db_gdbm.c: make unsetting a tied gdbm variable work and hence allow tied variables in nested scope. Untying still doesn't uncover scope properly. 2015-01-25 Barton E. Schaefer * 34399: Src/utils.c: fix polltty thinko from 34365 * 34389: Src/hist.c: fix parsing of ">!" when read from histfile with HIST_LEX_WORDS in effect 2015-01-25 Peter Stephenson * 34365: configure.ac, Src/hist.c, Src/utils.c; random doubling backoff on history lock failure. Add zsleep() to provide microsecond sleeps, via nanosleep() available else select() in tty_poll(). * 34369: Daniel Shahaf: document error / warning codes. * 34383: Src/utils.c: new ztrdup() shoud be dupstring(). 2015-01-25 Oliver Kiddle * 34373, 34374: Completion/Unix/Command/_chown, Completion/Unix/Command/_ln, Completion/Unix/Type/_directories, Completion/Zsh/Command/_command, Completion/Zsh/Command/_fc, Completion/Zsh/Command/_typeset, Completion/Zsh/Command/_unhash, Completion/Zsh/Command/_which, Completion/Zsh/Command/_zle, Completion/Zsh/Command/_zstyle, Completion/Zsh/Context/_subscript, Completion/Zsh/Type/_globflags, Doc/Zsh/builtins.yo, Completion/Zsh/Context/_brace_parameter, Completion/Zsh/Type/_history_modifiers: update completion of builtin commands, modifiers, parameter and globbing flags 2015-01-25 Daniel Shahaf * 34381: Doc/Zsh/contrib.yo: vcs_info: Documentation update 2015-01-25 Frank Terbeck * unposted: ChangeLog: Forgot X-Seq: numbers with Daniel's last few patches 2015-01-25 Daniel Shahaf * 34366: Doc/Zsh/contrib.yo, Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: vcs_info hg: Support inactive bookmarks * 34367: Completion/Zsh/Command/_zstyle: _zstyle vcs_info: Unbreak branchformat completion * 34368: Completion/Zsh/Command/_zstyle: _zstyle vcs_info completion: Add missing styles 2015-01-24 Barton E. Schaefer * 34350, 34353: Doc/Makefile.in, Doc/Zsh/mod_db_gdbm.yo, Src/Modules/db_gdbm.c: document zsh/db/gdbm module, clean up a few things in the code. Still core dumps if the tied parameter is forced to be a local and is not untied before end of scope. 2015-01-23 Jun-ichi Takimoto * 34335: _yum: fix bugs in _yum_all_pkgs 2015-01-22 Peter Stephenson * 34331: Src/builtin.c, Src/utils.c: don't trip over NULL pointer in cd in rare cases where file system goes AWOL. 2015-01-22 Barton E. Schaefer * 34344: Test/V07pcre.ztst: fix 34338, builtins need loading too * 34338: Test/V07pcre.ztst: check feature availability 2015-01-22 Marc Finet * 34333: Functions/VCS_Info/VCS_INFO_quilt: fix unapplied detection in subdir 2015-01-22 Jun-ichi Takimoto * 34327: _perl_modules: fix cache identifier used in _cache_invalid 2015-01-20 Peter Stephenson * 34329: Doc/Zsh/builtins.yo, Src/builtin.c: add -S option to which and where. * users/19756: Test/A04redirect.ztst: add test for case of closing file descriptor with no error message. * users/19751: Src/exec.c, Test/A04redirect.ztst: remove error on closing file descriptors via number but keep it for those controlled by variable. 2015-01-18 Peter Stephenson * 34322: Src/Zle/compctl.c, Src/Zle/compresult.c, Src/exec.c, Src/init.c, Src/lex.c, Src/params.c, Src/prompt.c, Src/subst.c, Src/utils.c, Test/D04parameter.ztst: update interface to parsestr()/parsestrnoerr() to ensure correct token string is passed back. * 34320: Src/hist.c, Src/lex.c: alias expansion in history of command substitution. 2015-01-17 Axel Beckert * 34314: Wieland Hoffmann: Completion/Unix/Command/_git: Change one --validate to --no-validate 2015-01-16 Peter Stephenson * unposted: Src/hist.c: fix another dubious comment. * unposted: Src/hist.c: improve confusing comment in previous commit. * 34313: Src/hist.c, Src/lex.c: need to turn off history word markers when parsing command substitution. 2015-01-16 Peter Stephenson * 34304: Src/lex.c: improve use of new command substitution parsing in completion. 2015-01-15 Peter Stephenson * 34290 (correcting typo): README: note FORCE_FLOAT behaviour change. * 34280: Doc/Zsh/options.yo, Src/math.c, Test/C01arith.ztst: make FORCE_FLOAT option also cover variables when read for use in arithmetic expressions. * 34287 (see 34286 from Markus Trippelsdorf): Src/zsh.mdd: use -E argument for generating signal names if gcc is preprocessor. 2015-01-14 Peter Stephenson * 34283: Test/X02zlevi.ztst: also needs zpty. * 34275: Test/V08zpty.ztst, Test/Y01completion.ztst, Test/Y02compmatch.ztst, Test/Y03arguments.ztst: assume zpty doesn't work under Cygwin. 2015-01-13 Barton E. Schaefer * 34273: Doc/Zsh/compsys.yo: use a sufficient number of colons in example style patterns to assure fixed strings can't match the wrong field positions 2015-01-13 Peter Stephenson * unposted: README: fix deliberate error in previous update. 2015-01-13 Peter Stephenson * 34260: Eric Cook: Completion/Unix/Command/_ip: relax restriction on interface names. * 34259: Eric Cook: Completion/Unix/Command/_ip: fix variable declarations. 2015-01-12 Peter Stephenson * unposted: .gitignore: add Src/zsh.exe for Cygwin. * 34255: README, Src/math.c, Test/C01arith.ztst: propagate type from variable assignment. Also note 34230 in README. * 34253: Doc/Zsh/contrib.yo: warning on integer arithmetic for zcalc, c.f. 34194. 2015-01-11 Barton E. Schaefer * 34247: Test/C01arith.ztst: regression test for 34230. * 34230: Src/math.c: call fmod() for modulo with floats 2015-01-11 Peter Stephenson * 34234: Src/lex.c, Src/zsh.h: use structures for normal and raw lexical buffer state. * 34233: Completion/Linux/Command/_qdbus: add _qdbus "$@" trick. 2015-01-10 Peter Stephenson * unposted: Test/C04funcdef.ztst: test for the foregoing * 34220: Src/input.c: new $(...) parsing didn't back up over alias expansions. * unposted: Src/context.c: update copyright. * 34195: Thomas Mitterfellner: Completion/Linux/Command/_qdbus: new completion. 2015-01-10 Barton E. Schaefer * unposted (cf. 34218): Completion/Base/Widget/_complete_debug, Completion/compinstall, Functions/Calendar/calendar, Functions/Zftp/zfget_match: remove -m from zmodload calls * 34212, 34313: Src/builtin.c: do not change unset-ness of special parameters when exporting them 2015-01-09 Barton E. Schaefer * 34202: Completion/Base/Widget/_complete_debug, Completion/compinstall, Functions/Calendar/calendar, Functions/Zftp/zfget_match: safe tempfile creation part 3 * users/19721: Doc/Zsh/compsys.yo: clarify context vs. style 2015-01-09 Peter Stephenson * 34194: Doc/Zsh/arith.yo: add paragraph about integer promotion. * 34189: Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/textobjects.c, Src/Zle/zle_tricky.c, Src/builtin.c, Src/context.c, Src/exec.c, Src/hist.c, Src/init.c, Src/lex.c, Src/parse.c, Src/signals.c, Src/zsh.h, Src/zsh.mdd: vain attempt to make context save and restore neater and control the status variables thereby managed. 2015-01-09 Peter Stephenson * 34182: Doc/Zsh/mod_files.yo: to add zf_* builtins you can use zmodload -m -F. 2015-01-09 Mikael Magnusson * 30568: Doc/Zsh/contrib.yo, Functions/Misc/tetriscurses: Add tetriscurses contrib function, port of tetris to zcurses 2015-01-08 Peter Stephenson * 34160: Src/init.c, Src/input.c, Src/lex.c, Src/parse.c, Src/zsh.h, Test/D08cmdsubst.ztst: fix the problem that command and similar substitutions weren't properly parsed so could end prematurely. Use improved resolution in context save and restore to allow parsing the substitution while tracking the string. 2015-01-07 Barton E. Schaefer * 34154 (tweaked per 34155): Src/builtin.c: reorder bin_print() to avoid leaking the output descriptor when incorrect/incompatible options were passed 2015-01-07 Jun-ichi Takimoto * 34144: Src/Zle/zle_tricky.c, Src/Zle/complist.c: allocate origline by ztrdup(), not by dupstring() 2015-01-06 Barton E. Schaefer * 34122: Src/module.c: allow NULL third argument as intended 2015-01-06 Mikael Magnusson * 34138: Src/utils.c: wcs_nicechar: only deref widthp if it was given * 34120: Src/Zle/compctl.c, Src/jobs.c: Check contents instead of array * 34108: Src/utils.c: Don't leak ifs stuff * 34107: Src/hist.c: getsubsargs: free ptr1 before returning * 34134: Src/exec.c: anon funcs: don't leak shf and related data * 34112: Src/builtin.c: typeset: fix leak of oldval * 34106: Src/hist.c: use zhtricat instead of tricat * 34113: Src/builtin.c: whence: use dupstring to not leak memory * 34119: Src/Zle/complist.c: Fix leak of string in clnicezputs * 34105: Src/subst.c: remove dead code * 34121: Src/Zle/compresult.c: Remove unneeded NULL check * 34104: Src/Zle/compctl.c: Remove pointless check * 34115: Src/Zle/compcore.c: Fix size argument to zfree * 34117: Src/Zle/zle_utils.c: size_t is unsigned, use int instead * 34116: Src/Zle/computil.c: Check for NULL before passing to strlen * 34118: Src/hist.c: Don't crash when writing out history if HOST is unset * 34114: Src/builtin.c: emulate: Handle aborting from mixed -L/-c correctly 2015-01-06 Barton E. Schaefer * 34103: Src/subst.c: fix ancient (workers/15872) thinko that doesn't seem to have mattered, but must in some obscure cases 2015-01-05 Daniel Shahaf * 34042: Completion/Unix/Command/_git: Respect tags for subcommand completion. 2015-01-05 Peter Stephenson * Timofey Titovets: 34053: Completion/Linux/Command/_modutils: additional compression option for kernel modules. 2015-01-04 Barton E. Schaefer * 34093: Src/builtins.c: "whence" should always return nonzero when it finds that nothing matches its arguments 2015-01-04 Peter Stephenson * 34092: Src/utils.c: miscount of buffer length in symlink resolution after ".." caused error with whence -S. * 34091: Src/utils.c: typo with "whence -s" expansions. * users/19682: Doc/Zsh/builtins.yo: document recommended use of whence. 2015-01-02 Peter Stephenson * users/19671: Src/builtin.c: whence -a should still work if there's a full path already. * users/19667: Doc/Zsh/builtins.yo, Src/builtin.c, Src/utils.c: whence -S shows intermediate steps in symlink expansion. * 34077: Test/A07control.ztst: add some further tests for return status from "for" loops. 2014-12-29 Mikael Magnusson * 33963: Completion/Unix/Command/_mount: remove work of art in _mount 2014-12-28 Barton E. Schaefer * Daniel Shahaf: 34070: Src/Zle/zle_refresh.c: fix starting position for memset() from 34005. * 34068: Completion/Base/Widget/_complete_debug, Completion/Unix/Command/_cvs, Completion/compinstall, Functions/Calendar/calendar, Functions/Zftp/zfcd_match, Functions/Zftp/zfcget, Functions/Zftp/zfcput, Functions/Zftp/zfget_match, Functions/Zftp/zfrglob, Functions/Zftp/zftransfer, Functions/Zftp/zfuget, Functions/Zftp/zfuput: create tempfiles without forking, and safe temp directory creation 2014-12-27 Barton E. Schaefer * 34067: Completion/Base/Widget/_complete_debug, Completion/compinstall, Functions/Calendar/calendar, Functions/Zftp/zfcd_match, Functions/Zftp/zfcget, Functions/Zftp/zfcput, Functions/Zftp/zffcache, Functions/Zftp/zfget_match, Functions/Zftp/zfrglob, Functions/Zftp/zftransfer, Functions/Zftp/zftype, Functions/Zftp/zfuget, Functions/Zftp/zfuput, Functions/Zle/edit-command-line: safe tempfile creation * unposted: Test/A05execution.ztst: regressions for 34065 * 34065: Src/exec.c, Src/loop.c: following an "if" condition, do not test lastval for ERR_EXIT until a new command is run * Takeshi Banse: 34064: Src/exec.c, Test/A06assign.ztst: assignment before command replaces array with export even when KSH_ARRAYS 2014-12-21 Oliver Kiddle * Daniel Shahaf: 33977: Completion/Zsh/Command/_bindkey: don't complete widgets as first argument to bindkey 2014-12-19 Peter Stephenson * 34015: Src/params.c: back off yesterday's mess and disallow environment variables with characters with the top bit set. * 34005: Src/Zle/zle_refresh.c: Zero uninitialised memory when realloc'ing region_highlights. 2014-12-18 Peter Stephenson * 34008: Src/params.c: also metafy anything arriving from the environment. * 34006: Src/params.c: unmetafy anything put into the environment. * Lokesh Mandvekar: 33999: Completion/Linux/Command/_docker: remove completion as the version supplied with docker is authoritative. 2014-12-17 Barton E. Schaefer * 34002: Src/Zle/zle_keymap.c: zshcalloc() in init_keymaps() * 33992: Src/jobs.c: do not attempt attachtty() for process group zero (which is possible in a linux pid namespace) 2014-12-18 Jun-ichi Takimoto * 33978: Src/Zle/complist.c: update command line when accept- and-hold is called in interactive mode of menu select 2014-12-17 Peter Stephenson * users/19551: Doc/builtins.yo, Doc/Zsh/roadmap.yo: better documentation that history file reading and writing is only done in interactive shells. 2014-12-16 Barton E. Schaefer * Jun Kuriyama: 33984: Src/builtin.c: bin_dirs() should use zputs() to print metafied directory names * Chirantan Ekbote: 33982: Src/jobs.c: minimal support for pid namespaces by recognizing that GETPGRP() may return 0 2014-12-15 Barton E. Schaefer * 33976: Src/subst.c: fix overlapping strcpy() 2014-12-14 Mikael Magnusson * users/19530: Completion/Unix/Type/_file_systems: Handle commented lines in /etc/filesystems 2014-12-13 Peter Stephenson * unposted: Test/D04parameter.ztst: need -f for starting zsh to avoid problems from user config files. 2014-12-13 Oliver Kiddle * 33958: Completion/Unix/Command/_sudo: update for newer options * 33956: Doc/Zsh/zle.yo, Src/Zle/zle_bindings.c, Src/Zle/zle_keymap.c: document key binding changes and remove ^X binding * 33846: Src/Zle/iwidgets.list, Src/Zle/zle_bindings.c, Src/Zle/zle_keymap.c: additional default vi-mode key bindings 2014-12-12 Oliver Kiddle * 33950: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_keymap.c: ignore KEYTIMEOUT for vi operators 2014-12-11 Peter Stephenson * 33876: etc.: Completion/Base/Core/_main_complete, Doc/Zsh/params.yo, Src/Modules/zpty.c, Src/Modules/zutil.c, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/compresult.c, Src/Zle/textobjects.c, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/builtin.c, Src/exec.c, Src/glob.c, Src/hist.c, Src/init.c, Src/input.c, Src/jobs.c, Src/lex.c, Src/loop.c, Src/params.c, Src/parse.c, Src/prompt.c, Src/signals.c, Src/subst.c, Src/utils.c, Src/zsh.h: Separate shell errors and user interrupt flags into different bits of errflag: ERRFLAG_ERROR and ERRFLAG_INT. Various rationalisations to make keyboard interrupts work smoothly. Work done on interrupt_abort branch. 2014-12-10 Mikael Magnusson * 33948: Completion/Unix/Command/_getent, Completion/Unix/Command/_iconv, Completion/Unix/Command/_ldd: Parse "Gentoo" as being GNU libc 2014-12-10 Jun-ichi Takimoto * 33940: Src/lex.c: handle backslash-meta correctly in lexer 2014-12-09 Jun-ichi Takimoto * 33932: Src/utils.c: revise boundary check in unmeta() 2014-12-08 Oliver Kiddle * 33924: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_move.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst: allow vi line/characterwise mode to be forced 2014-12-08 Peter Stephenson * 33927: Completion/Unix/Command/_nm: .elf files and directories. * 33843: Completion/Unix/Type/_files: minor optimisation for recursive-files. 2014-12-07 Barton E. Schaefer * 33912: Completion/Unix/Command/_od: fix filename default case * 33901: Completion/Base/Core/_main_complete: fix warning message reference to funcstack (updates 33859) * 33894: Src/utils.c: boundary conditions in unmeta(), unmetafy() 2014-12-07 Peter Stephenson * Daniel Shahaf: 33883: Doc/Zsh/expn.yo, Completion/Zsh/Type/_globquals: documentation for (*) glob qualifier. 2014-12-07 Jun-ichi Takimoto * 33829: Test/X02zlevi.ztst, Test/comptest: unbind ESC~ asa a more reliable workaround 2014-12-06 Mikael Magnusson * 33882: Completion/Unix/Command/_gcc: Complete CXXFLAGS as CFLAGS too 2014-12-05 Oliver Kiddle * 33861: Completion/Unix/Command/_lsof: update lsof completion for new options * 33860: Src/Zle/textobjects.c, Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst: minor fixes to vi mode changes * 33845: Src/Zle/zle_hist.c: save correct cursor position with push-line from vi command mode 2014-12-05 Peter Stephenson * 33866: Completion/compinit: need multifuncdef for TRAPINT TRAPQUIT definition. * 33859 with typo fix: Completion/Base/Core/_main_complete: to propagate signal from trap we need to use function style. 2014-12-05 Barton E. Schaefer * 33854: Src/glob.c: errors end recursion through scanner(), which makes **/ more easily interruptible 2014-12-04 Barton E. Schaefer * 33841: Doc/Zsh/params.yo: explain array append a bit better 2014-12-03 Mikael Magnusson * Eric Cook: 33689: Completion/Unix/Command/_cp: make cp --reflink's argument optional 2014-12-01 Peter Stephenson * Jun T: 33830 plus CVS removal: Doc/Zsh/metafaq.yo: typo in sourceforge URL; don't mention CVS. 2014-11-30 Oliver Kiddle * 33823: Src/Zle/zle_misc.c, Test/X02zlevi.ztst: overwrite mode shouldn't replace newlines * 33820: configure.ac, Src/hist.c: detect support for realpath() with a NULL argument and fixes to the use of it * 33800: Src/Zle/zle_main.c: remove old workaround for ancient systems to consume typeahead before setting up the terminal * 33818: Src/Builtins/sched.c, Src/Zle/complist.c, Src/exec.c, Src/sort.c, Src/utils.c: fix types passed to sizeof detected by coverity as being wrong 2014-11-28 Barton E. Schaefer * 33819: Test/A06assign.ztst: regression tests for 33816 * 33816 (2nd part): Src/exec.c: GLOB_ASSIGN changes integer and floating type variables to string scalars rather than treat single match file names as arithmetic expressions 2014-11-28 Wayne Davison * unposted: avoid compiler warning about a set-but-not-used var. 2014-11-28 Wayne Davison * 33139: Doc/Zsh/expn.yo: add example for finding broken symlinks. 2014-11-28 Peter Stephenson * 33815: Src/Zle/zle_word.c: fix word transposition bug where wrong words could be transposed. 2014-11-27 Barton E. Schaefer * 33805: Doc/Zsh/params.yo: rewrite intro, tweak formatting * 33804: Completion/compinit: hide values of large arrays in typeset output by declaring with the -H attribute 2014-11-26 Peter Stephenson * unposted: Test/C01arith.ztst: test binary input using 0b. 2014-11-26 Peter Stephenson * 33793: Src/math.c, Src/utils.c, Doc/Zsh/arith.yo: Arithmetic constants beginning 0b specify binary. 2014-11-25 Oliver Kiddle * Jun T: 33769: Test/comptest: workaround for KEYTIMEOUT to work from test cases on Darwin and FreeBSD * 33770: Src/Zle/zle_main.c: avoid calling identical FIONREAD ioctl twice in succession * users/19365 (credit Death Jester and Jan Larres): Completion/Base/Completer/_external_pwds; completer for current directory of other shell processes 2014-11-25 Barton E. Schaefer * 33791: Src/loop.c: fatal errors in the try-block part of an "always" construct cause the entire construct to have nonzero status, even when TRY_BLOCK_ERROR is used to suppress the error. 2014-11-24 Peter Stephenson * Daniel Hahler: 33746: Doc/Zsh/builtins.yo: read -q refers to -t. 2014-11-24 Mikael Magnusson * 33785: Src/Modules/tcp.c: Fix leaks of desthost in ztcp. 2014-11-23 Barton E. Schaefer * 33775: Src/exec.c: error opening file in $(<...) is not fatal 2014-11-23 Oliver Kiddle * 33743: Src/Modules/zpty.c, configure.ac: use posix_openpt if it is available 2014-11-23 Peter Stephenson * 33729: Completion/Unix/Command/_git: "git remote add" should complete local repositories. * 33740: Stephane: Doc/Zsh/expn.yo: "hideval" parameter type. * 33740: Stephane: Etc/FAQ.yo: Another way of avoiding MULTIO effects on pipes. 2014-11-22 Barton E. Schaefer * 33763 (cf. Baptiste Daroussin 33747): Doc/Zsh/mod_system.yo: fix nested item list in generated zshmodules.1 man page. 2014-11-21 Barton E. Schaefer * 33750: Src/text.c: handle function autoloads for DEBUG_BEFORE_CMD * unposted: Doc/Zsh/zle.yo: add menu reference to Text Objects 2014-11-21 Oliver Kiddle * saga.xu: 33712: Completion/Debian/_apt: add --auto-remove * 33738: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: account for a selection in vi-replace-chars * 33730: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/textobjects.c, Src/Zle/zle.mdd, Src/Zle/zle_keymap.c, Test/X02zlevi.ztst: vim style text objects for selecting words 2014-11-21 Peter Stephenson * Sebastien Alaiwan: 33728: Completion/Unix/Command/_bzr: complete bzr shelve. 2014-11-20 Peter Stephenson * unposted but see 33723: Etc/FAQ.yo: typo in sed command that's been there about twenty years. 2014-11-19 Peter Stephenson * users/19404: Etc/FAQ.yo: login shells are not after all necessarily interactive. * 33679: Doc/Zsh/grammar.yo: Note that alternation in case patterns works just like filename generation, despite appearances to the contrary. 2014-11-17 Oliver Kiddle * 33704: Doc/Zsh/zle.yo, Src/Zle/zle_bindings.c, Src/Zle/zle_keymap.c, Src/Zle/zle_refresh.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst, Test/comptest: key bindings, documentation, tests and minor fixes for vim style visual selection changes * 33636: Src/Zle/iwidgets.list, Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_refresh.c, Src/Zle/zle_vi.c: add support for a linewise visual selection mode * 33635: Src/Zle/iwidgets.list, Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_refresh.c, Src/Zle/zle_vi.c: adapt region to function as vim style visual selection mode * 33700: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle_misc.c, Src/Zle/zle_utils.c: new widget for put in vim style visual selection mode * 33699: Test/X02zlevi.ztst, Test/comptest: support short delays in zle tests where we need KEYTIMEOUT to elapse 2014-11-16 Oliver Kiddle * 33633: Src/Zle/zle_vi.c: support vim style text objects * 33632: Src/Zle/zle_main.c, Src/Zle/zle_vi.c: use viopp and visual local keymaps if they exist 2014-11-15 Oliver Kiddle * 33697: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle_word.c: new vim style vi-backward-word-end widgets * 33696: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle_hist.c: simple up/down line widgets that don't go through history lines * 33695: Src/Zle/zle_vi.c, Test/X02zlevi.ztst, Test/comptest: fix various vi-indent problems and vi-swap-case on a blank line 2014-11-13 Peter Stephenson * Artur Penttinen: 19371 plus tweak: run-help helper for ip. * Marc Finet: 33687 (first and last patches): ensure length of working directory is correct and return as soon as there's an error chasing symlinks. 2014-11-13 Barton E. Schaefer * 33686: Test/B06fc.ztst: set PS1 before pattern-matching for it * 33656: Src/builtin.c: different algorithm for "whence -am" to produce results more consistent with "whence -m" 2014-11-13 Oliver Kiddle * 33669: Src/Zle/zle_utils.c, Test/X02zlevi.ztst: allow an empty line to be yanked with yy by allocating 1 byte instead of 0 2014-11-11 Peter Stephenson * 33658: Doc/Zsh/options.yo: AUTO_CD depends on SHIN_STDIN. 2014-11-09 Oliver Kiddle * 33599: Jun T.: Test/comptest: workaround zpty issue that causes vi test cases to fail on MacOS and FreeBSD * 33640: clutton: Completion/BSD/Command/_kld: look in /boot/modules instead of /modules for third-party modules * 33643: Doc/Zsh/options.yo: elaborate documentation of the PRIVILEGED option * 33639: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: fix bug with vi operators on a blank line and with backward bracket matching * 33659: Completion/Unix/Command/_gpg: use --dump-options to get most of the gpg options to complete 2014-11-08 Peter Stephenson * 33655: Src/zsh.h: remove overlap of node flags. * 33653: Src/builtin.c: handle -a option to whence in combination with -m. 2014-11-08 Barton E. Schaefer * 33648: Completion/Unix/Command/_gpg: complete for gpg2 as well 2014-11-06 Oliver Kiddle * 33624: Src/Zle/zle_utils.c: keep region active when widget fails 2014-11-07 Mikael Magnusson * 33607: Src/Modules/attr.c: Fix some minor problems in zattr module 2014-11-06 Barton E. Schaefer * 33614 (based on RedHat BZ-978613): Src/exec.c: signal safety when updating global state in execshfunc() 2014-11-05 Oliver Kiddle * 33604: Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst: fix change merging for vi mode where a change has just been undone 2014-11-04 Oliver Kiddle * 33596: Src/Zle/zle_keymap.c: make local keymap keybinding hide global keymap binding that is a prefix of the local binding 2014-11-02 Oliver Kiddle * 33593: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: support numeric argument to vi-join * 33575: Src/Zle/zle_params.c, Src/Zle/zle_utils.c: reset vi change start position if text is inserted before it or on history movement 2014-11-02 Peter Stephenson * 33591: Src/exec.c, Test/D04parameter.ztst: don't treat an exec within an subshell as an exec of the parent shell even if about to exit. Fixes incorrect SHLVL in subshell. 2014-10-31 Oliver Kiddle * unposted: Src/jobs.c: quash compiler warning * unposted: Test/X02zlevi.ztst: correct cursor position in test 2014-10-31 Peter Stephenson * unposted: .gitignore: add /.project for GitEye. * 33582: Src/Modules/zftp.c: don't include tcp.mdh in zftp.c as it only contains private module definitions. * via private email: Jérémie Roquet: Src/options.c: more care with errors using setuid(). 2014-10-30 Oliver Kiddle * 33570, 33576: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_misc.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst: make kill- ring/yank-pop work in vi mode after vi-put-before and vi-put-after 2014-10-29 Barton E. Schaefer * 33566: Jun T.: Src/Modules/zselect.c: quash compiler warning * 33563: Completion/Base/Core/_main_complete, Src/Zle/complist.c: fix thinko in status message for INT/QUIT signals; check errflag in output loops so that unexpectedly long completion listings can be interrupted 2014-10-29 Oliver Kiddle * 33528: Src/Zle/iwidgets.list, Src/Zle/zle_vi.c, Test/X02zlevi.ztst: take notice of last column position when using vi-yank and an upward cursor movement 2014-10-27 Mikael Magnusson * 33561, 33562: Src/jobs.c: The time builtin forgot to unmetafy TIMEFMT. 2014-10-26 Peter Stephenson * 33564: Test/A05execution.ztst: more care with monitor option. * 33542: Test/A05execution.ztst: test previous patch. * 33531 (plus fix to test job pointer and removing lastpid_status): Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, Src/exec.c, Src/init.c, Src/jobs.c, Src/linklist.c, Src/signals.c: retain up to CHILD_MAX statuses of exited background processes; remove old lastpid_status mechanism; slightly improve safety of permanently allocated linked lists. 2014-10-24 Barton E. Schaefer * 33526: Completion/Unix/Type/_path_files: fix path prefix handling when NO_CASE_GLOB is in effect 2014-10-24 Peter Stephenson * 33480 slightly tweaked: Src/Zle/zle_tricky.c: fix completion after $' but before closing quote (if any). 2014-10-24 Mikael Magnusson * 33485: Completion/Unix/Command/_su: fix a missing ;; case terminator 2014-10-23 Oliver Kiddle * 33520: Src/Zle/zle_vi.c, Test/X02zlevi.ztst: correct cursor positioning following a vi mode yank operation * unposted: .editorconfig: specify 8 char indent for ChangeLog * 33519: Src/Zle/zle_move.c, Test/X02zlevi.ztst: last character in the buffer can be cut, changed or yanked using vi-forward-char * 33518: Doc/Zsh/zle.yo, Src/Zle/zle.h, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Test/X02zlevi.ztst: add support for "_ vi buffer and arguments to vi-set-buffer from a zle widget * 33514: Src/Zle/zle_utils.c: even with a named vi buffer, we should update the default buffer * 33513: Src/Zle/iwidgets.list: vi mode deletions should replace cut buffer not append to it * 33512: Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c: add support for "0 vi buffer and yank to it 2014-10-22 Barton E. Schaefer * 33515: Src/Zle/compmatch.c: suppress parser error messages in comp_match() * 33493: Src/Builtins/rlimits.c, Src/exec.c: use correct command name in error messages about "ulimit" failure; restore internal copy of limits if setrlimit() fails, so the error won't repeat 2014-10-21 Oliver Kiddle * 33486: Completion/X/Command/_rdesktop: new completion function * 33485: Completion/BSD/Command/_portsnap, Completion/Darwin/Command/_defaults, Completion/Darwin/Command/_fink, Completion/Debian/Command/_dchroot, Completion/Debian/Command/_dchroot-dsa, Completion/Debian/Command/_make-kpkg, Completion/Debian/Command/_update-alternatives, Completion/Debian/Command/_vim-addons, Completion/Unix/Command/_du, Completion/Unix/Command/_ecasound, Completion/Unix/Command/_ffmpeg, Completion/Unix/Command/_ln, Completion/Unix/Command/_mail, Completion/Unix/Command/_mosh, Completion/Unix/Command/_mysqldiff, Completion/Unix/Command/_od, Completion/Unix/Command/_pgrep, Completion/Unix/Command/_pydoc, Completion/Unix/Command/_ri, Completion/Unix/Command/_su, Completion/Zsh/Command/_tcpsys, Completion/Zsh/Command/_zattr: fixes for zstyle context handling * 33481: Completion/Mandriva/Command/_rebootin, Completion/Unix/Type/_directories, Completion/Unix/Type/_pdf, Completion/Unix/Type/_pids, Completion/openSUSE/Command/_yast, Completion/openSUSE/Command/_SUSEconfig: resolve completion clashes and tidy-up SUSE/Mandriva related functions 2014-10-17 Peter Stephenson * see 33475: Completion/Unix/Command/_gcc: allow .cpp files as input. 2014-10-14 Oliver Kiddle * 33455: Syohei YOSHIDA: Completion/Unix/Command/_global: update GNU global option completion * 33467: Completion/Debian/Command/_apt-move, Completion/Debian/Command/_bts, Completion/Linux/Command/_sysstat, Completion/Mandriva/Command/_urpmi, Completion/Redhat/Command/_rpm, Completion/Solaris/Command/_ptree, Completion/Unix/Command/_arp, Completion/Unix/Command/_at, Completion/Unix/Command/_bittorrent, Completion/Unix/Command/_bogofilter, Completion/Unix/Command/_bpython, Completion/Unix/Command/_bzr, Completion/Unix/Command/_cdrdao, Completion/Unix/Command/_chmod, Completion/Unix/Command/_cpio, Completion/Unix/Command/_df, Completion/Unix/Command/_django, Completion/Unix/Command/_git, Completion/Unix/Command/_less, Completion/Unix/Command/_lha, Completion/Unix/Command/_metaflac, Completion/Unix/Command/_module, Completion/Unix/Command/_monotone, Completion/Unix/Command/_mpc, Completion/Unix/Command/_netcat, Completion/Unix/Command/_notmuch, Completion/Unix/Command/_pkg-config, Completion/Unix/Command/_prove, Completion/Unix/Command/_rar, Completion/Unix/Command/_rsync, Completion/Unix/Command/_rubber, Completion/Unix/Command/_sablotron, Completion/Unix/Command/_screen, Completion/Unix/Command/_stgit, Completion/Unix/Command/_strip, Completion/Unix/Command/_systemd, Completion/Unix/Command/_telnet, Completion/Unix/Command/_tidy, Completion/Unix/Command/_tmux, Completion/Unix/Command/_vcsh, Completion/Unix/Command/_zpool, Completion/Unix/Type/_users, Completion/X/Command/_urxvt, Completion/X/Command/_x_utils: correct return status on functions and numerous other minor fixes 2014-10-13 Peter Stephenson * 33459: Test/D04parameter.ztst: test for variable substitution in variable splitting. 2014-10-13 Oliver Kiddle * 33438: Completion/Base/Utility/_sequence: use the new way of splitting strings with a dynamic separator from 33423 and quote separators where needed 2014-10-12 Barton E. Schaefer * 33445: Src/init.c: fix handling of SHIN_STDIN (-s) when combined with INTERACTIVE (-i) on the shell invocation command line 2014-10-12 Peter Stephenson * 33423: Doc/Zsh/expn.yo, Src/subst.c: parameter expansion (p) flag allows delimited strings to contain simple $param expansions. 2014-10-11 Barton E. Schaefer * unposted: Test/B06fc.ztst: tests for 33429. 2014-10-10 Barton E. Schaefer * 33429: Src/builtin.c, Src/hist.c: disallow non-integer values for the temporary HISTSIZE and SAVEHIST of "fc -p", and fix crash on zero values for same 2014-10-11 Oliver Kiddle * 33424: Completion/Debian/Type/_deb_architectures, Completion/Debian/Command/_apt-file, Completion/Debian/Command/_dak, Completion/Debian/Command/_madison, Completion/Debian/Command/_dpkg-buildpackage, Completion/Debian/Command/_pbuilder, Completion/Debian/Command/_reprepro, Completion/Debian/Command/_svn-buildpackage: use common function for completing Debian architectures 2014-10-10 Oliver Kiddle * 33420: Completion/Zsh/Command/_zmodload: complete -R/-m options and fix feature completion * fREW Schmidt: 33375: Completion/Unix/Command/_runit: sv completion * Daniel Shahaf: 33396: Completion/Unix/Command/_xxd: new completion * Yuri D'Elia: 33397: Completion/X/Command/_xautolock: new completion 2014-10-09 Frank Terbeck * 33405: Functions/VCS_Info/vcs_info: Make sure maxexports is set when VCS_INFO_set is called 2014-10-09 Barton E. Schaefer * 33403: Completion/Base/Utility/_call_program: be conservative about redirecting stderr, the caller may have already done so 2014-10-09 Marc Finet * 33391: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: fix applied patch detection on git am 2014-10-08 Peter Stephenson * unposted: Config/version.mk: update to 5.0.7-dev-0 to avoid installation clashes with 5.0.7. 2014-10-07 Peter Stephenson * unposted: Config/version.mk: 5.0.7 2014-10-06 Mikael Magnusson * 33365: Src/exec.c: avoid buffer overflow for very long fds in >& fd syntax. 2014-10-06 Peter Stephenson * unposted (discussed offline): README: update description of integer import problem. 2014-10-04 Barton E. Schaefer * 33354: Src/jobs.c, Test/A05execution.ztst: when backgrounding a pipeline, close all pipe descriptors in the parent; add test for both this and 33345+33346 2014-10-03 Bart Schaefer * 33346: Src/parse.c: another bit of the 33345 repair 2014-10-03 Peter Stephenson * 33345: Src/parse.c, Test/C04funcdef.ztst: fix longstanding anonoymous function corruption of "complex" state that allowed complex wordcode to be passed to execsimple(), causing crash. * unposted: src/parse.c: comments were the wrong way round. * 33343: Src/parse.c, Test/C04funcdef.ztst: variant anonymous function syntax with arguments. 2014-10-02 Peter Stephenson * unposted: 5.0.6-dev-1. 2014-10-02 Oliver Kiddle * 33323: Completion/Zsh/Command/_typeset, Doc/Zsh/builtins.yo, Src/builtin.c: fix bug in removing math functions and complete -M option to functions * 33315: Completion/Unix/Command/_sysctl: fix pattern to match freebsd10 and later 2014-10-02 Peter Stephenson * unposted: remove "major". * 33330: README, Etc/FAQ.yo: information for forthcoming 5.0.7 release. * 33332: Test/C01arith.ztst: test numeric import fix in 33276. 2014-10-02 Barton E. Schaefer * 33320 (cf. PWS 33311): Completion/Base/Completer/_expand_alias, Src/Zle/compcore.c, Src/utils.c, Src/ztype.h: revert 33069; add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line. 2014-10-02 Peter Stephenson * 33325: Src/exec.c, Test/A05execution.ztst: fix ksh autoloads with redirections on function definitions. 2014-10-01 Barton E. Schaefer * 33319: Doc/Zsh/grammar.yo: fix parens in example from 33312 2014-10-02 Axel Beckert * 33284: Mathieu Malaterre: Completion/Unix/Command/_{graphics, image}magick: Add missing JPEG 2000 file extensions. 2014-10-01 Peter Stephenson * 33312: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: document redirections applied to function definitions. 2014-09-30 Barton E. Schaefer * 33298: Src/lex.c: make lexrestore() more signal-safe 2014-09-30 Peter Stephenson * 33294: Src/Modules/parameter.c, Test/A04redirect.ztst: functions[func] value for functions with redirections and extra tests. * 33293: Src/Zle/compctl.c, Src/Zle/zle_refresh.c: fix warnings from swish new compilers with a contemporary outlook. 2014-09-29 Peter Stephenson * 33286: Src/exec.c, Test/A04redirect.ztst: handle redirections for multiple named functions. * 33285: NEWS, Src/exec.c, Src/hashtable.c, Src/parse.c, Src/signals.c, Src/zsh.h, Test/A04redirect.ztst: redirections in function definitions are applied at execution not definition. 2014-09-29 Frank Terbeck * 33277: Functions/VCS_Info/VCS_INFO_reposub: Fix VCS_INFO_reposub's command expansion 2014-09-29 Peter Stephenson * users/19183: Src/hist.c: handle unlikely error case with fdopen() better. * 33276: Src/params.c, Src/zsh.h: safer import of numerical variables from environment. 2014-09-28 Barton E. Schaefer * 33268: Src/exec.c, Src/init.c, Src/signals.c: interactive shells treat SIGPIPE like SIGHUP if and only if SHTTY is disconnected 2014-09-27 Barton E. Schaefer * 33256: Src/prompt.c: fix prompttrunc() counting of %{ %} spans 2014-09-26 Peter Stephenson * 33242: Src/parse.c: don't treat tokens immediately following end of shell constructs for, while, repeat, if as being in command position. * Wieland Hoffmann: 33252: Completion/Unix/Command/_notmuch: complete more subcommands. 2014-09-25 Peter Stephenson * users/19143: Src/glob.c: **/*(odonT) didn't work because the trailing slash wasn't properly ignored. 2014-09-25 Peter Stephenson * unposted: NEWS: tweak last change. 2014-09-24 Oliver Kiddle * 33238: Completion/Unix/Command/_quilt: correct return values 2014-09-24 Peter Stephenson * Eric Cook: 33224: Completion/Linux/Command/_btrfs: complete directory as second argument. 2014-09-23 Barton E. Schaefer * 33223: Completion/Base/Utility/_call_program: discard stderr except when _complete_debug is in progress. 2014-09-23 Øystein Walle * 33179: Completion/Unix/Command/_git: _git: updates for Git 2.0.0 * 33176: Completion/Unix/Command/_git: _git: Add missing --list to git-tag * 33178: Completion/Unix/Command/_git: _git: updates for Git 2.1.0 * 33177: Completion/Unix/Command/_git: _git: fix typo in git-apply * 33180: Completion/Unix/Command/_git: _git: add missing --3way option 2014-09-23 Peter Stephenson * unposted: NEWS: more minor tweaks. * unposted: NEWS: mention numeric output with underscore separators. * unposted: NEWS: mention new /usr/local/share/zsh/site-functions default. 2014-09-23 Peter Stephenson * 33221 (including 33173 from Anthony Heading): Completion/Unix/Command/_perforce: complete directories when handling unmaintained files and rationalise code that does this. * unposted: Completion/Unix/Command/_dvi: add dvipdf to list of commands. * Richard Hartmann: 33218: Completion/X/Command/_mplayer: complete m4a files. 2014-09-22 Oliver Kiddle * 33198: Completion/Unix/Command/_augeas: new augtool completion * users/19113: Completion/Linux/_cryptsetup: reorganised function 2014-09-22 Daniel Hahler * 33217: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info: use `--ignore-submodules=dirty` with diff/diff-index 2014-09-22 Peter Stephenson * 33208: Tanu Kaskinen: improve printing of paths at end of configuration. 2014-09-20 Peter Stephenson * 33214 (modified yet further): configure.ac: test prefixes better. * 33213: configure.ac, Config/defs.mk.in: try again. * 33212: Src/zsh.mdd: Src/init.c, Src/zsh.mdd, configure.ac: add /usr/local/share/zsh/site-functions to head of fpath if not present from result of running configure. There's no configuration for this as it serves as a fallback. * Tanu Kaskinen: 33209: Doc/Makefile.in: don't fail catastrophically when builing zsh.texi if yodl isn't available. 2014-09-19 Barton E. Schaefer * 33206: Doc/Zsh/mod_computil.yo: fix compdescribe doc * 33205: Completion/Base/Utility/_describe: if passed both an array of completions and an array of display strings, keep them in sync when filtering for matches. 2014-09-18 Peter Stephenson * users/19097: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c: remove functypetrace and instead add cross-reference to zsh_eval_context. 2014-09-16 Marc Finet * 33188: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: set rrn before using it * 33184: Doc/Zsh/contrib.yo, Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: consider patches for rebase 2014-09-16 Mikael Magnusson * 33136: Doc/Zsh/expn.yo, Src/glob.c: P glob qualifier appends words when negated. * 33137: Completion/Unix/Type/_path_files: complete # to introduce a glob flag 2014-09-14 Marc Finet * 33149: Misc/vcs_info-examples: vcs_info examples: fix typo * 33151: Completion/Unix/Command/_git: completion git: support aliases when \n exist * 33147: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: detect revert or cherry-pick with multiple commits * 33148: Functions/VCS_Info/VCS_INFO_quilt: vcs_info quilt: refactor standalone detection * 33145: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: fix applied-string name * 33150: Completion/Unix/Command/_git: completion git: fix send-email --confirm values 2014-09-12 Barton E. Schaefer * 33143: Src/init.c: POSIX_ARGZERO more closely matches bash et al. 2014-09-12 Peter Stephenson * users/19075: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c: $functypestack gives "function", "source" or "eval" for parallel element of $funcstack. 2014-09-09 Peter Stephenson * Eric Cook: 33132: Completion/Unix/Type/_net_interfaces: use ip on Linux to get interface names. 2014-09-08 Peter Stephenson * users/19059 based on users/19058 (Paulo César Pereira de Andrade): Src/pattern.c, Test/D02glob.ztst: remove inefficiency with multiple "*"s in pattern matching and add test. 2014-09-07 Barton E. Schaefer * 33122: Src/Modules/pcre.c, Test/V07pcre.ztst: typo from 32891 caused incorrect matches for pcre_match -n 2014-09-06 Barton E. Schaefer * 33118: Src/subst.c: record original param unset state when ${name:#word} et al. need to treat empty the same as unset, to avoid incorrect NO_UNSET error * 33116: Src/hist.c: followup to 32580 to prevent double-locking with shared or incremental history * unposted: Doc/Zsh/expn.yo: clarify ${(~j.|.)array} example 2014-08-21 Mikael Magnusson * 33061: Completion/Zsh/Command/_setopt, Completion/Zsh/Command/_unsetopt: More useful setopt / unsetopt completion. 2014-09-04 Peter Stephenson * 33110: Doc/Zsh/expn.yo: document use of $IFS[1] for variable padding. 2014-09-04 Peter Stephenson * Alexandre Rames: 33108: Completion/Unix/Command/_stgit: --patch completion. * 33091: Doc/Zsh/builtins.yo: improve documentation for ttyctl. 2014-09-03 Barton E. Schaefer * 33100: Src/exec.c: check $fd more rigorously in "exec {fd}<&-" * 33088: Completion/Base/Widget/_complete_debug: indentation in $PS4 2014-09-01 Peter Stephenson * Mark Oteiza: 33081: Completion/Unix/Type/_mime_types: suppress error message if unnecessary file not found. 2014-08-31 Barton E. Schaefer * unposted: Test/A05execution.ztst: further tweaking of the descriptor leak regression test that sometimes hangs * 33077: Src/exec.c: SHTTY = -1 when closing it in closem() 2014-08-30 Barton E. Schaefer * 33070: Doc/Zsh/prompt.yo, Src/prompt.c: add %(e..) based on %e * 33069: Completion/Base/Completer/_expand_alias: remove internal quoting before looking up aliases when expanding aliases in an unquoted word 2014-08-29 Peter Stephenson * 33057: Doc/Zsh/prompt.yo, Src/prompt.c: %e in prompts shows evaluation / execution depth. 2014-08-28 Peter Stephenson * 33062: Etc/zsh-development-guide: update note on use of .distfiles based on 33047. * unposted: Config/version.mk: update to 5.0.6-dev-0 for new commits post release. * unposted: Config/version.mk: 5.0.6. 2014-08-24 Peter Stephenson * unposted: Config/version.mk: 5.0.5-dev-3. 2014-08-24 Barton E. Schaefer * unposted (see 33050): Completion/Unix/Command/_git: un-transpose help text for git merge -{-no,}-verify 2014-08-23 Peter Stephenson * 33047: .distfiles, Completion/.distfiles, Completion/AIX/.distfiles, Completion/AIX/Command/.distfiles, Completion/AIX/Type/.distfiles, Completion/BSD/.distfiles, Completion/BSD/Command/.distfiles, Completion/Base/.distfiles, Completion/Base/Completer/.distfiles, Completion/Base/Core/.distfiles, Completion/Base/Utility/.distfiles, Completion/Base/Widget/.distfiles, Completion/Cygwin/Command/.distfiles, Completion/Darwin/Command/.distfiles, Completion/Darwin/Type/.distfiles, Completion/Debian/.distfiles, Completion/Debian/Command/.distfiles, Completion/Debian/Type/.distfiles, Completion/Linux/Command/.distfiles, Completion/Linux/Type/.distfiles, Completion/Mandriva/.distfiles, Completion/Mandriva/Command/.distfiles, Completion/Redhat/.distfiles, Completion/Redhat/Command/.distfiles, Completion/Solaris/Command/.distfiles, Completion/Solaris/Type/.distfiles, Completion/Unix/.distfiles, Completion/Unix/Command/.distfiles, Completion/Unix/Type/.distfiles, Completion/X/.distfiles, Completion/X/Command/.distfiles, Completion/X/Type/.distfiles, Completion/X/Utility/.distfiles, Completion/Zsh/.distfiles, Completion/Zsh/Command/.distfiles, Completion/Zsh/Context/.distfiles, Completion/Zsh/Function/.distfiles, Completion/Zsh/Type/.distfiles, Completion/openSUSE/Command/.distfiles, Config/.distfiles, Doc/.distfiles,Doc/Zsh/.distfiles, Doc/help/.distfiles, Etc/.distfiles, Functions/.distfiles, Functions/Calendar/.distfiles, Functions/Chpwd/.distfiles, Functions/Compctl/.distfiles, Functions/Example/.distfiles, Functions/Exceptions/.distfiles, Functions/MIME/.distfiles, Functions/Misc/.distfiles, Functions/Newuser/.distfiles, Functions/Prompts/.distfiles, Functions/TCP/.distfiles, Functions/VCS_Info/.distfiles, Functions/VCS_Info/Backends/.distfiles, Functions/Zftp/.distfiles, Functions/Zle/.distfiles, Misc/.distfiles, Scripts/.distfiles, Src/.distfiles, Src/Builtins/.distfiles, Src/Modules/.distfiles, Src/Zle/.distfiles, StartupFiles/.distfiles, Test/.distfiles, Util/.distfiles, Util/mkdisttree.sh: Files controlled by git are part of the source distribution unless explicitly included in DISTFILES_NOT. The .distfiles file is still needed for the directory to be processed. * unposted: Etc/.gitignore: ignore generated FAQ*.html files. 2014-08-23 Barton E. Schaefer * 33046: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_chsh, Completion/Unix/Type/_users: new completion for "chsh" 2014-08-22 Barton E. Schaefer * 33042: NEWS, Src/jobs.c: $? and $pipestatus report 128+signal number for stopped jobs as well as terminated jobs 2014-08-21 Mikael Magnusson * 33038: Src/glob.c: Fix {a..b} expansion hanging when either endpoint is a literal NUL character 2014-08-20 Barton E. Schaefer * Lokesh Mandvekar: 33032: Completion/Linux/Command/_docker, Completion/Linux/Command/.distfiles: new completion for docker 2014-08-15 Barton E. Schaefer * unposted (see 33006): Test/A05execution.ztst: timeout the final "read" in hung shell regression * 33012: Src/utils.c: add an error return value (-1) to xsymlinks() to differentiate when xbuf is set to the empty string; silences bogus warning about failed expansion 2014-08-14 Oliver Kiddle * 32998: Completion/Unix/Command/_dsh, Completion/Unix/Command/_nm, Completion/Unix/Command/_mosh, Completion/Unix/Command/_rsync, Completion/Unix/Command/_wget: completion function updates * 32997: Completion/Base/Utility/_sequence, Doc/Zsh/compsys.yo, Completion/Unix/Command/_mount, Completion/Unix/Command/_nmap, Completion/Unix/Command/_pgrep, Completion/Unix/Command/_zip: add completion utility function for lists 2014-08-14 Peter Stephenson * 33002: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_expect: add option -P to tcp_expect for tagging matches with a string rather than a parameter index. 2014-08-13 Oliver Kiddle * 32925: Completion/Zsh/Command/_kill: complete process groups, partly as a way to suppress insertion of ambiguous PID prefix * 32893: Completion/Unix/Type/_pids: move use of _call_program inside the _tags loop to allow processes to be separated 2014-08-12 Peter Stephenson * Config/version.mk: update to 5.0.5-dev-2. 2014-08-12 Mikael Magnusson * 32985: NEWS: Add NEWS entry for array zipping operators. 2014-08-12 Peter Stephenson * Axel Beckert: 32975, 32984: Doc/Zsh/Makefile.in: texi2html.conf location was inconsistent when building out of tree. 2014-08-10 Peter Stephenson * unposted: Completion/Base/Completer/.distfiles, Completion/Linux/Command/.distfiles, Completion/Unix/Command/.distfiles, Config/version.mk, Etc/.distfiles, Etc/FAQ.yo, Functions/Zle/.distfiles, NEWS, README: updates for 5.0.5-dev-1 and 5.0.6 release. 2014-08-10 Axel Beckert * unposted: Doc/Zsh/expn.yo: Fix typo. 2014-08-08 Barton E. Schaefer * unposted: NEWS, Doc/Zsh/prompt.yo: mention 32971 in NEWS, clarify RPROMPT behavior in docs. 2014-08-07 Barton E. Schaefer * 32971 (plus doc tweak): Doc/Zsh/prompt.yo, Src/prompt.c: negative argument with %(l..) conditional and with %<< or %>> truncation calculates space available before right margin (positive argument still counts space used since left margin). 2014-08-06 Peter Stephenson * unposted, see 32968: Completion/openSUSE/Command/.distfiles Completion/openSUSE/Command/_SuSEconfig -> Completion/openSUSE/Command/_SUSEconfig: rename file. 2014-08-04 Barton E. Schaefer * Miles Ohlrich: 32958: Src/Zle/compctl.c: bitwise logic fix 2014-08-04 Peter Stephenson * 32954: Doc/Zsh/expn.yo: missed this. * 32954 (plus new test): Src/cond.c, Test/D02glob.ztst: (#q) on patterns with [[ ... = ... ] and [[ ... != ... ]] shouldn't force a glob, it should simply be ignored. * unposted: Src/subst.c: remove unused variables. 2014-08-04 Mikael Magnusson * 32949 (wip 32928, 32937): Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: Add :^ and :^^ for zipping arrays. 2014-08-03 Peter Stephenson * 32944: Doc/Zsh/builtins.yo: read -qs is handled properly. * users/19006: Doc/Zsh/expn.yo: document position of RC_EXPAND_PARAM handling during parameter substitution. 2014-08-01 Peter Stephenson * 32932: Src/subst.c, Src/utils.c: add hmkarray() and use to fix leak. 2014-07-31 Barton E. Schaefer * 32931: Src/glob.c: with NO_NOMATCH, using a subscript glob qualifier on a not-matching pattern should still return the original pattern 2014-07-30 Peter Stephenson * unposted: Src/Builtins/sched.c, Src/Modules/datetime.c, Src/Modules/stat.c: missed updates to ztrftime(). * 32919: Doc/Zsh/tcpsys.yo Functions/TCP/tcp_output: %P at start of prompt in TCP function system causes standard %-style substitution. * 32918: Doc/Zsh/prompt.yo, Src/builtin.c,Src/prompt.c, Src/utils.c, Src/watch.c: add ability to display times with fractions of a second in prompts. 2014-07-28 Barton E. Schaefer * 32593: Completion/Unix/Command/_qemu: update --vga option 2014-07-26 Axel Beckert * Omari Norman: 32817: Add completion for moosic. * Sebastian Ramacher: 32816: Add completion for bpython and variants. * 32911: Expand bpython completion to bpython2 and bpython3. 2014-07-26 Barton E. Schaefer * 32910: Src/mkmakemod.sh: quiet update of timestamp files 2014-07-24 Barton E. Schaefer * 32853: configure.ac, Src/mem.c, Src/zsh_system.h: redefine the VARARR() macro to use heap rather than stack allocation; enable old behavior via "configure --with-stack-allocation" * unposted (see 32892): Src/builtins.c: 'fc -I' is an error * 32903: Src/Modules/parameter.c: new empty (unset) elements in the special parameter hash tables are special themselves, so that adding elements via assignment syntax handles them correctly. 2014-07-24 Peter Stephenson * unposted: Functions/Zle/replace-argument, Doc/Zsh/contrib.yo: allow negative numeric prefix to count backwards from last argument. 2014-07-23 Peter Stephenson * Jai Keerthan: users/18981: Completion/Unix/Command/_tmux: improved function completion. 2014-07-23 Barton E. Schaefer * 32898 (credit Jun T.): Doc/Zsh/mod_pcre.yo: fix bug in 32891. 2014-07-23 Ansgar Burchardt * 32895: Completion/Unix/Command/_nm: Match more shared library names. 2014-07-20 Barton E. Schaefer * unposted: Doc/Zsh/builtins.yo: force retention of whitespace in "fc" item prototype * 32891: Doc/Zsh/mod_pcre.yo Src/Modules/pcre.c: the CASE_MATCH option should apply to =~ when using pcre; fix pcre_match bug with handling of empty string argument. 2014-07-17 Barton E. Schaefer * 32882 (cf. Augie Fackler 32879): Src/hist.c: restore correct reload of backslash-continuation lines from history, broken by workers/30443 just before the zsh 5.0.0 release; fix bad history write of events ending with an even number of backslashes. 2014-07-17 Oliver Kiddle * 32849: Completion/Linux/Command/_ss: new completion function * 32848: Completion/Unix/Command/_perl, Completion/Unix/Command/_python, Completion/Unix/Command/_ruby: fix words array before using _normal for script arguments 2014-07-17 Peter Stephenson * 32866 (plus extra undo fix in read-from-minibuffer): Doc/Zsh/contrib.yo, Functions/Zle/read-from-minibuffer, Functions/Zle/replace-argument: new replace-argument function; fixes in read-from-minibuffer not to pass through numeric argument to recursive edit and to hide minibuffer edit from undo history. 2014-07-15 Peter Stephenson * Koen Wilde: 32863: Completion/Unix/Command/_mpc: mpc "insert" command. 2014-07-08 Peter Stephenson * Dominic Hopf: 32837: Config/defs.mk.in: improve handling of installation location for help directories. * 32832: Doc/Zsh/grammar.yo Doc/Zsh/params.yo: attempt to improve documentation for how assignment works. 2014-07-03 Axel Beckert * Felipe Sateler: 32819: Completion/Debian/Command/_axi-cache: Update for axi-cache completion. * Vincent Lefevre: 32818: Completion/Unix/Command/_gzip: --rsyncable option is missing * Daniel Bolton: 32815: Completion/Debian/Command/_aptitude: missing resolver options * Sebastian Ramacher: 32814: Completion/Debian/Command/_dpkg: Add --add-architecture, --remove-architecture, and --print-foreign-architectures options. 2014-07-03 Mikael Magnusson * 32821: Completion/Unix/Command/_gcc: Update _gcc as of GCC 4.8.3 for generic options and x86. 2014-07-03 Peter Stephenson * Jun T: 32833: Completion/Unix/Command/_python, Completion/Unix/Command/_ruby: complete file arguments as for perl. 2014-06-30 Peter Stephenson * Jun T: 32823: Completion/Unix/Command/_perl: complete file instead of script after -e. 2014-06-26 Peter Stephenson * Jun T: 32812: Doc/zsh.yo, Doc/ztexi.yo: put table of contents at front of manual. 2014-06-26 Peter Stephenson * 32799: Doc/Zsh/builtins.yo, Src/Builtins/rlimits.c: resource NTHR is not properly handled on netBSD. 2014-06-24 Peter Stephenson * 32789: Src/lex.c Src/mem.c Src/zsh_system.h configure.ac: --enable-zsh-valgrind allows valgrind to analyse heap allocations. 2014-06-16 Peter Stephenson * Jun T: 32781: Doc/Zsh/options.yo: source builtin and path search doc. 2014-06-14 Jun T * 32779: Doc/Zsh/options.yo: fix a typo in options.yo 2014-06-13 Peter Stephenson * 32768, with further modifications: Doc/Zsh/options.yo, Src/exec.c, Src/options.c, Src/zsh.h, Test/E01options.ztst, Test/ztst.zsh: LOCAL_LOOPS option to restrict effect of continue and break in function scope. * 32666: Doc/Zsh/compat.yo: shell emulation based on executable name incompletely documented. 2014-06-11 Barton E. Schaefer * Jun T: 32767: Src/glob.c: another spot to tweak bracechardots() 2014-06-10 Barton E. Schaefer * 32766: Src/glob.c: bracechardots() agrees with xpandbraces() about what constitutes a {C1..C2} pattern, thus preventing crash * Jun T: 32765: Src/glob.c: fix build when not MULTIBYTE_SUPPORT 2014-06-09 Peter Stephenson * Jun T: 32755: Doc/Zsh/grammar.yo: move line that was in the wrong place. 2014-06-07 Barton E. Schaefer * Nikolas Garofil: 32737: Src/utils.c: properly ifdef declarations * Nikolas Garofil: 32736 (tweak per 32741): Src/zsh_system.h: memmove() should return its dest argument * Nikolas Garofil: 32735: Src/signals.c: define ret before use * Nikolas Garofil: 32734: Src/mem.c: remove unused pointers * Nikolas Garofil: 32733: Src/prototypes.h: use size_t in bcopy() * Nikolas Garofil: 32732 (tweak per 32739): Src/compat.c: fix const declaration inconsistency 2014-06-06 Peter Stephenson * Jun T: 32719: Doc/Zsh/contrib.yo: minor issues. * Jun T: 32715: Doc/Zsh/calsys.yo, Doc/Zsh/grammar.yo, Doc/Zsh/zle.yo: formatting fixes. * 32682 with tweaks: Doc/Zsh/options.yo, Src/hist.c, Src/options.c, Src/zsh.h: INC_APPEND_HISTORY_TIME is new behaviour, with INC_APPEND_HISTORY reverting to its previous behaviour. * Andrew Magee: 32698: Completion/Unix/Command/_hg: show committable files. 2014-06-05 Barton E. Schaefer * 32723: Src/glob.c: add braces around some if/else branches * 32716 (via Jun T. 31714): Src/utils.c: properly test iconv return values for error conditions 2014-06-04 Barton E. Schaefer * 32711: Test/A07control.ztst: run "continue" test in a new shell, lest it inadvertently continue the loop that reads the test chunks from this file * Daniel Shahaf: 32708: Doc/Zsh/expn.yo, Src/glob.c, Test/D02glob.ztst: glob qualifier (Y) implies (oN), plus incidental patch to avoid adding a meaningless bitvalue to sort-order flags 2014-06-03 Barton E. Schaefer * Daniel Shahaf: 32694: Completion/Zsh/Type/_globquals, Doc/Zsh/expn.yo, Src/glob.c, Test/D02glob.ztst: the number of matches to find is the suffix argument of (Y) qualifier 2014-06-03 Peter Stephenson * Jun T: 32681: Doc/Zsh/zle.yo: formatting issue. 2014-06-03 Peter Stephenson * unposted: Src/cond.c: restore cond_match() in case used in modules. 2014-06-02 Barton E. Schaefer * 32656 (via Jun T. via waltarix on github): when __APPLE__ is defined at compile, normalize Unicode filenames in zreaddir() 2014-06-02 Peter Stephenson * Daniel Shahaf: users/18870: Src/glob.c, Test/D02glob.ztst: glob scanner needed some coaxing with counting matches with (Y) glob qualifier. 2014-06-02 Daniel Shahaf * 32662: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Fix stagedstr for empty repos 2014-06-01 Barton E. Schaefer * 32653: Completion/Unix/Command/_php: complete files with the ".phar" extension as well as ".php", and respect the suffixes zstyle to change this * 32634 (plus doc): Doc/Zsh/options.yo, Doc/Zsh/params.yo, Src/init.c, Src/options.c, Src/params.c, Src/zsh.h: add the POSIX_ARGZERO option to allow toggling between the original value of $0 and the value set by FUNCTION_ARGZERO * Daniel Shahaf: users/18857: Doc/Zsh/expn.yo, Src/glob.c, Test/D02glob.ztst: add (Y) glob qualifier 2014-06-01 Peter Stephenson * 32640: Doc/Zsh/cond.yo, Doc/Zsh/expn.yo, NEWS, Src/cond.c, Src/glob.c, Test/D02glob.ztst: (#q) with EXTENDED_GLOB forces globbing in [[ ... ]]. 2014-05-29 Peter Stephenson * 32624: Src/builtin.c, Src/jobs.c: use correct scaling factor (clock ticks) for times. * Keerthan Jai: users/18860: Completion/Unix/Command/_man: man -M overrides manpath. * unposted: Src/params.c: use DIGBUFSIZE for pipestatus numeric buffer. 2014-05-29 Daniel Shahaf * 32619: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn: vcs_info svn: Use the revision of cwd * 32621: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn: vcs_info svn: 'Fix set-branch-format' when in subdirs * 32620: Doc/Zsh/contrib.yo: Typo fix after commit eb4c70d 2014-05-18 Peter Stephenson * Jun T: 32616: Src/Builtins/rlimits.c: unnecessary printf argument in limits on some systems. 2014-05-16 Peter Stephenson * Roman Neuhauser: users/18827 (plus tweaks to original comments): Doc/Zsh/contrib.yo: more efficient way of extracting hg bookmarks. 2014-05-13 Barton E. Schaefer * 32609: Src/parse.c, Test/CO2cond.ztst: [[ $var ]] behaves as [[ -n $var ]] for bash/ksh compatibility; restore ksh [ -t ] compatibility when POSIX_BUILTINS is not set; allow operators defined by modules to be called with no arguments, although this affects only runtime interpretation, not parsing. 2014-05-09 Peter Stephenson * Eric Cook: 32602: Doc/Zsh/grammar.yo: status of try + always block is from the former, not the latter. 2014-05-08 Peter Stephenson * m0viefreak: 32600: Src/Zle/computil.c: fix problem with _arguments thinking -- is a single letter option called '-', which it isn't. 2014-05-06 Daniel Shahaf * 32597: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info git: Describe detached heads symbolically. 2014-04-29 Peter Stephenson * Tomoki Sekiyama: 32592: add CORRECT_IGNORE_FILE variable. 2014-04-23 Peter Stephenson * Sebastien Alaiwan: 32562: Completion/Unix/Command/_bzr: updates for bzr completion. * Jasper Lievisse Adriaanse: 32558: configure.ac: _XOPEN_SOURCE_EXTENDED now works OK on OpenBSD. 2014-04-25 Barton E. Schaefer * 32580: Src/hist.c: avoid indefinite wait in lockhistfile() by checking for lock file time stamp far in the future relative to the local clock. Change behavior of HIST_FCNTL_LOCK to use only fcntl() locking, rather than applying both kinds of lock. 2014-04-20 Barton E. Schaefer * 32569: Src/loop.c: lastval ($?) should not be reset between word list substitution and loop body execution in for/select. * 32568: Src/exec.c, Src/loop.c: consistency in handling of errflag condition during substitutions in for/select word lists, function definition name position, and anonymous function argument lists. 2014-04-17 Barton E. Schaefer * Andrew Waldron: 32552 (updated by 32560): Src/exec.c, Src/parse.c, Src/subst.c, Test/C04funcdef.ztst: fix segfault when using process substitution in anonymous function argument list; disallow process substitution in function name position. 2014-04-15 Barton E. Schaefer * Jun T: 32546: Completion/Unix/Type/_path_files: better handling of ignored files when using -W to specify prefixes. 2014-04-13 Barton E. Schaefer * 32540: Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: following successful history expansion, discard saved line position data rather than restoring from it (updates 32531). 2014-04-07 Peter Stephenson * 32527: Doc/Zsh/contrib.yo, Functions/Misc/zcalc, Functions/Zle/zcalc-auto-insert: zcalc-auto-insert widget for key binding in zcalc. 2014-04-06 Barton E. Schaefer * unposted: Doc/Zsh/options.yo: fix typo in option cross-reference * 32531: Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/hist.c: fix memory leaks detected by valgrind, two in ZLE region highlight and one in :A history modifier. 2014-04-06 Peter Stephenson * Sebastian Ramacher: 32533: Completion/Debian/Command/_apt: add completion for "apt-mark". * Alessandro Ghedini: 32532: Completion/Debian/Command/_apt: support 'apt' command. * 32530: llua: Completion/Unix/Command/_zfs: repeatable -o argument. * 32521: Doc/Zsh/params.yo: document that LOGNAME comes from getlogin(). 2014-04-05 Daniel Shahaf * 32528: Completion/Zsh/Command/_zstyle, Doc/Zsh/contrib.yo, Functions/VCS_Info/Backends/VCS_INFO_get_data_git, Misc/vcs_info-examples: vcs_info: Add check-for-staged-changes * 32528: Doc/Zsh/contrib.yo: vcs_info: Document 'post-backend' hook and bzr 'check-for-changes' support. 2014-03-28 Peter Stephenson * Danek Duvall: 32505: Completion/Unix/Command/_pgrep: improved Solaris compatibility for pgrep completion. 2014-03-23 Barton E. Schaefer * m0viefreak: users/18660: Src/Zle/compresult.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c: fix auto-removable suffix highlighting * m0viefreak: users/18657: Completion/Unix/Command/_git: fix compadd for auto-removable suffix in _git_stash * m0viefreak: users/18655: Completion/Unix/Command/_git: fix compadd for auto-removable suffix in _git_commit_ranges 2014-03-21 Peter Stephenson * Takeshi Banse: 32502: Completion/Unix/Command/_git: fix typo in argument list. 2014-03-20 Peter Stephenson * users/18644: Doc/Zsh/zle.yo: bindkey -s doc should refer to documentation for argument interpretation. * Completion/Unix/Command/_perforce: finally, after more than ten years, complete depots after // in file paths as it always should have done. 2014-03-18 Barton E. Schaefer * 32500: Src/pattern.c: handle interrupts during pattern matching * Jun T: 32497: Test/X02zlevi.ztst, Test/comptest: avoid using comptesteval in the middle of a series of tests; the change in control required for sourcing the command file can confuse the simulated interactive input 2014-03-17 Peter Stephenson * Jun T: 32494: Doc/zman.yo: Yodl hack to fix indentation in nroff -man output. * Jun T: 32493: Doc/Zsh/contrib.yo, Doc/Zsh/mod_pcre.yo, Doc/Zsh/mod_regex.yo, Doc/Zsh/mod_sched.yo: some formatting fixes. 2014-03-16 Peter Stephenson * Mariusz Fik: 32847: Completion/openSUSE/Command/_zypper: new options. 2014-03-14 Peter Stephenson * unposted: Doc/Zsh/options.yo: document effect of 32479. * Jun T: 32482: Doc/zman.yo: fix character translation table usage with some versions of Yodl. 2014-03-14 Peter Stephenson * 32479: Src/builtin.c, Src/signals.c: with POSIXTRAPS never propagate an implicit return from within a trap. 2014-03-13 Peter Stephenson * Kosuke Asami: 32473: Completion/Unix/Command/_pgrep: tidy up * Kosuke Asami: 32471: Completion/Unix/Command/_pgrep: handle BSD process options. * Kosuke Asami: 32472: Completion/Unix/Command/_pgrep: new options. 2014-03-13 Peter Stephenson * Jun T: 32480: Src/Zle/zle_vi.c: fix crash in vi mode when too few previous changes. 2014-03-09 Barton E. Schaefer * 32468: Src/Modules/zutil.c: save/restore match/mbegin/mend when doing pattern lookups against zstyle contexts 2014-03-03 Barton E. Schaefer * users/18550: Doc/Zsh/compsys.yo: matcher-list clarifications 2014-03-03 Simon Ruderich * 32289: Doc: Add zsh version to footer in HTML documentation. 2014-03-03 Oliver Kiddle * 32441: Completion/Base/Completer/_extensions, Doc/Zsh/compsys.yo: add completer for file extensions * 32450: Src/Zle/zle_hist.c: make get-line set the history number that was saved with the line * 32448: Src/Zle/zle_params.c: fix seg fault after recursive-edit * 32439 (with Yuri D'Elia): Completion/Base/Core/_main_complete: add new show-ambiguity style * 32436: Src/Zle/complist.c: allow = to be used in ZLS_COLORS patterns if it is quoted or inside parentheses 2014-03-01 Peter Stephenson * 32453: Functions/Misc/zcalc: fix default base handling. * Manuel Presnitz: 32412 modified c.f. 32415: Completion/Zsh/Type/_globquals, Doc/Zsh/expn.yo, Src/glob.c, Src/zsh.h: gigabyte and terabyte units for glob qualifiers. 2014-02-28 Peter Stephenson * users/18531 plus doc etc.: Doc/Zsh/contrib.yo, Functions/Zle/.distfiles, Functions/Zle/expand-absolute-path: new expand-absolute-path ZLE widget. 2014-02-26 Peter Stephenson * Jun T: 32435: Completion/Base/Core/_description, Completion/Unix/Command/_rm: improved quoting for ignore-line style. 2014-02-24 Oliver Kiddle * unposted: Doc/Zsh/compsys.yo: fix typo * unposted: Completion/X/Command/_x_utils: duplicate local statement was printing variable value * users/18498: Completion/Base/Completer/_expand_alias: observe add-space style in _expand_alias so suffix can be disabled * users/18485: Completion/Unix/Command/_git: add .. as an auto-removable suffix in git revision ranges 2014-02-24 Peter Stephenson * Hong Xu: 32492: Completion/Unix/Command/_npm: fix outdated completion. * Sebastien Alaiwan: 32462: Completion/Unix/Command/_bzr: improve completion with directory path. 2014-02-23 Barton E. Schaefer * 32427: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: avoid busy loop on closed descriptors for "zle -F" handlers. Assure that the handlers are called on error conditions and document the extra argument that is passed in the error case. 2014-02-19 Peter Stephenson * 32414: Src/glob.c: improved error message for missing glob qualifier delimiters. 2014-02-18 Peter Stephenson * Eric Cook: 32408: Completion/Linux/Command/_btrfs: additional completions * Eric Cook: 32409: Completion/Linux/Command/_btrfs: updated completion for subcommands. * Eric Cook: 32411: Completion/Linux/Command/_btrfs: minor typo. * Eric Cook: 32410: Completion/Linux/Command/_btrfs: remove hard tabs. * m0viefreak: Util/helpfiles: 32402: prefer col -bx to colcrt. * m0viefreak: Util/helpfiles: 32405: Util/helpfiles: remove old example now shell code is integrated in distribution. * m0viefreak: 32404: Util/helpfiles: use env to find perl. * m0viefreak: 32403: Doc/Zsh/contrib.yo: update zshcontrib manual for helpfiles improvements. 2014-02-18 m0viefreak * 32396: Completion/Unix/Command/_git: _git: fix __git_committish_range_{first,last} and __git_is_committish_range * 32395: Completion/Unix/Command/_git: _git: diff: refactor and fix wrong completions * 32397: Completion/Unix/Command/_git: _git: fix __git_submodules to only use the actual name of the submodule * 32398: Completion/Unix/Command/_git: _git: completion updates up to latest git v1.9.0 2014-02-17 Barton E. Schaefer * unposted (users/18468): Doc/Zsh/builtins.yo, Doc/Zsh/params.yo: document interactions of "fc -R" etc. with "fc -l" and $HISTCMD 2014-02-15 Barton E. Schaefer * 32389 (with Jun Takimoto): Test/X02zlevi.ztst, Test/comptest: additional PTY and keybinding adjustments * 32388: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: zparseopts -K preserves individual associative array elements 2014-02-14 Oliver Kiddle * 32361: Src/Zle/zle_tricky.c: don't reset lastline before completion 2014-02-13 Barton E. Schaefer * 32377: Test/comptest: change keybindings and PTY control for vi-mode tests to make them more reliable 2014-02-08 Barton E. Schaefer * 32365: Src/Zle/zle_refresh.c, Src/init.c: another stab at the heuristic for initializing rprompt_indent 2014-02-07 Peter Stephenson * Martin Vaeth: 32356: Util/helpfiles: fix a typo. 2014-02-05 Oliver Kiddle * 32355: Doc/Zsh/zle.yo Test/X02zlevi.ztst Test/comptest: document and test vi mode undo changes * 32342: Src/Zle/zle_main.c, Src/Zle/zle_vi.c: fix overstrike for vi mode and use varying vi commands at line start * 32334 (modified so KEEPSUFFIX is unchanged for vi-cmd-mode; based on Jun T: 32324, 32330), 32347, Jun T: 32344, 32349: Src/Zle/iwidgets.list, Src/Zle/zle_main.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c add split-undo zle widget for configurable breaks in undo sequence 2014-02-02 Barton E. Schaefer * unposted: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Doc/Zsh/roadmap.yo: tweak index markers and related whitespace to make appearance consistent with other pages * 32341: Src/init.c: guess at best ZLE_RPROMPT_INDENT based on termcap/terminfo description * unposted: Src/Zle/zle_tricky.c: whitespace in comment * 32340: Src/init.c, Src/Zle/compctl.c: add specifics to error messages explaining failure of "read -c" / "read -l". * 32338: Doc/Makefile.in: create Doc/help.txt as an empty file when Util/helpfiles fails, so that the rest of the build does not yield a spurious error * 32337: Src/params.c: initialize several special parameters to unset for better compatibility in emulation modes; for the same reason, remove the readonly flag from $_ 2014-01-31 Oliver Kiddle * 32314: Src/Zle/zle_main.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c: merge undo events corresponding to vi change in the vi-cmd-mode widget so undo from insert mode is useful again 2014-01-30 Barton E. Schaefer * 32322: Completion/Base/Core/_main_complete: display a message when completion is interrupted from the keyboard 2014-01-30 Peter Stephenson * Jun T: 32300: Completion/Unix/Command/_od: + Completion/Unix/Command/.distfiles: new completion. 2014-01-29 Peter Stephenson * Christian Hesse: 32316: Completion/Unix/Command/_ssh: complete new ssh key type. 2014-01-28 Peter Stephenson * 32303: Src/Zle/compcore.c, Completion/Zsh/Type/_parameters, Completion/Zsh/Context/_brace_parameter: allow completion of modifiers for parameters in a fairly simplistic way. 2014-01-28 Peter Stephenson * 32308 (slightly modified to use "a" as the vi command at start of line): Src/Zle/zle_main.c, Src/Zle/zle_vi.c: improve initialising of vi mode change when entering viins at start of editing. 2014-01-27 Barton E. Schaefer * users/18368: Completion/Unix/Command/_git: in __git_files, retry ls-files if nothing matched the prefix pattern, to give _multi_parts a shot at the whole file list. Restores partial path completion inadvertently removed by 31159. 2014-01-27 Peter Stephenson * unposted: Src/zsh.mdd: update 31983 to suppress stdout from cmp, too. 2014-01-23 Bart Schaefer * unposted: Doc/Zsh/arith.yo: use LPAR()+RPAR() instead of parens in sqrt example 2014-01-23 Peter Stephenson * 32299: Doc/Zsh/arith.yo, Functions/Misc/zcalc, Src/math.c, Src/params.c, Src/subst.c, Test/C01arith.ztst: add ability to use "_" at the end of a [#] arithmetic expression to get underscores to space numeric output. 2014-01-22 Barton E. Schaefer * unposted: Src/mem.c: reformulate 32285 to lift the fheap->sp test out of the loop, improve commentary 2014-01-19 Barton E. Schaefer * 32294 (plus typo fix): Src/utils.c: prevent buffer overflow when scanning very long directory paths for symbolic links * users/18335: Completion/Zsh/Command/_typeset: avoid passing to "functions" those typeset options that it does not accept 2014-01-18 Barton E. Schaefer * 32285: Src/mem.c (freeheap): when the last-arena-with-free-space pointer (fheap) points to an arena that is going to be discarded because it has become empty, loop back through the entire linked list of arenas to find another partly-filled arena; fixes crash wherein pushheap followed by freeheap could orphan the whole list of arenas in some circumstances * 32283: Src/Zle/complist.c: avoid using a negative number for available vertical space when the terminal has only a small number of lines; fixes crash in menu selection 2014-01-17 Peter Stephenson * Daniel Hahler: 32271: Doc/Zsh/compsys.yo: fix matcher list example. 2014-01-17 Peter Stephenson * sergio: 32267: Completion/Linux/Command/_modutils: modinfo may not be in user's path, so use explicit path as already done for lsmod. 2014-01-17 Frank Terbeck * 32264: Functions/VCS_Info/Backends/VCS_INFO_detect_hg: vcs_info, hg: Support detecting repos using ShareExtension 2014-01-16 Barton E. Schaefer * Thomas Mitterfellner: 32265: Completion/openSUSE/Command/_zypper: better handling of large lists of packages 2014-01-16 Peter Stephenson * Holger Macht: 32257: Completion/openSUSE/Command/_zypper: updates. 2014-01-14 Peter Stephenson * 32255: Completion/Unix/Command/_python: complete for Python with command names python2.4 ... python3.4. 2014-01-11 Peter Stephenson * 32246: Doc/Zsh/builtins.yo, Src/builtin.c, Test/.distfiles, Test/B08shift.ztst: add "shift -p" to pop arguments from the end of arrays. 2014-01-10 Peter Stephenson * Koen Wilde: 32245: Completion/Unix/Command/_mpc: complete more arguments. 2014-01-09 Peter Stephenson * users/18298 (tidied up): Doc/Zsh/expn.yo, Src/glob.c, Test/D09brace.ztst: add {..} expansion. 2014-01-07 Peter Stephenson * Mark Oteiza: 32238: suppress error output completing after ip. 2014-01-06 Peter Stephenson * unposted: Config/version.mk: update to 5.0.5-dev-0 to avoid installation clash with 5.0.5 release. 2014-01-05 Peter Stephenson * unposted: Config/version.mk, Doc/Zsh/compsys.yo: update release to 5.0.5 and correct typo in compsys.yo making texinfo format unusable. * unposted but c.f. 32231: Doc/Zsh/compsys.yo: the parameter 'line' doesn't include the original command. * Jun T: 32231: Completion/Unix/Command/_chmod: was confused by options before the mode argument. * Axel Beckert: 32229: LICENCE: was not correctly referring to Gnu General Public License. 2014-01-03 Peter Stephenson * unposted: README: update another reference to 5.0.5. * users/18271 plus some additional rewriting: Etc/FAQ.yo: add FAQ entry to explain pattern exclusions. * unposted: README, Etc/FAQ.yo: update source documentation for 5.0.5. 2014-01-02 Peter Stephenson * Danek Duvall: 32216: Completion/Solaris/Command/_svcadm, Completion/Solaris/Command/_zoneadm, Completion/Unix/Command/_zfs, Completion/Unix/Command/_zpool, Completion/Unix/Type/_zfs_dataset: updates for Solaris 11, Update 1. * 32196: Carl Drougge: Src/Zle/zle_misc.c: copy-prev-shell-word needs an extra flag to work properly. 2013-12-31 Barton E. Schaefer * Eric Cook: 32210: Completion/Linux/Command/_sysstat: completion for mpstat, iostat, etc. 2013-12-30 Barton E. Schaefer * 32208: Src/params.c: always reset pathchecked when the path array is modified in arrvarsetfn(), to avoid bad dereference * 32205: Completion/Zsh/Command/_cd: skip cdpath search when the prefix begins with "../" (bug introduced by 31714) * unposted (cf. Carlo: 32202): MACHINES: OS X 10.9.1. gcc problem 2013-12-28 Barton E. Schaefer * 32190 (cf. Alexey Bezhan: 32189): Completion/Zsh/Command/_cd: quote _path_files -W path in case of spaces or special characters when completing relative to ../ * 32186: Completion/Base/Completer/_expand: fix bad backreference; handle glob patterns that include backslashed quote characters 2013-12-26 Barton E. Schaefer * unposted (cf. Jun Takimoto: 32184): Test/comptest, Test/Y01completion.ztst: back 32183 out of comptest and instead reset path in the individual tests in Y01completion.ztst 2013-12-25 Barton E. Schaefer * 32183: Test/comptest, Test/Y01completion.ztst: regression tests for 32182 and 31611 * 32182: Src/Zle/zle_tricky.c: re-enable command completion after a separator (tweak to 31611) * 32178: Src/jobs.c: fix another acquire_pgrp() infinite loop 2013-12-21 Barton E. Schaefer * PWS + Bart: 32176: plug additional descriptor leaks causing deadlock via different code paths; expand regression test 2013-12-21 Peter Stephenson * Config/version.mk: update version to 5.0.4-dev-0 so as not to clash with release. 2013-12-20 Barton E. Schaefer * 32172; Test/A05execution.ztst: regression test for 32171 * 32171: Src/exec.c: fix leaked pipe descriptor that could deadlock a pipeline from a complex shell construct or function into an external command 2013-12-20 Peter Stephenson * unposted: Config/version.mk, Etc/FAQ.yo, README: release 5.0.4. 2013-12-18 Barton E. Schaefer * 32157: Doc/Zsh/params.yo, Src/Zle/zle_refresh.c, Src/init.c, Src/params.c: make ZLE_RPROMPT_INDENT a special variable tied to an internal C global, to avoid having the shell variable value fetched on every keystroke and to make it available when testing how to reposition the cursor after the right-prompt is output. Fixes erasure in completion listing when ZLE_RPROMPT_INDENT=0. * 32150: Completion/compaudit: Reference loop variable rather than absolute path in executable ownership test 2013-12-17 Phil Pennock * 32143: INSTALL: Fix --enable-custom-patchlevel name in INSTALL 2013-12-16 Barton E. Schaefer * Jun Takimoto: 32137: Test/comptest: set pseudo-terminal speed to prevent padding characters which confuse output parsing. 2013-12-16 Peter Stephenson * 32136: Src/pattern.c, Src/zsh.h, Test/D02glob.ztst: fix problem with +*, @*, !* when kshglob is set introduced by pattern disable feature. * unposted: NEWS: add ZLE_PROMPT_INDENT. * 32119: Src/Zle/zle_tricky.c: left square bracket completed in command position is not part of a subscript expression * Patrick Oscity + pws: 32114: Doc/Zsh/params.yo, Src/Zle/zle_refresh.c: ZLE_RPROMPT_INDENT allows you to make the right prompt flush if your terminal supports it. 2013-12-16 Barton E. Schaefer * Jun Takimoto + Bart: 32131: Src/Modules/zpty.c: avoid infinite loop reading pseudo-terminal on platforms that do not buffer pty contents after child process exits 2013-12-15 Barton E. Schaefer * users/18219: Completion/Zsh/Type/_command_names: compadd -Q for builtins, aliases, and reserved words to preserve special chars 2013-12-14 Peter Stephenson * unposted: increment version to 5.0.3-dev-0 to avoid confusion with released 5.0.3. * unposted: version 5.0.3, finally. 2013-12-13 Barton E. Schaefer * Martin Vaeth: 32105: Util/helpfiles: support all combinations of man or nroff with colcrt or col. * Aaron Peschel: 32103: Completion/Unix/Type/_hosts: parse host:port format in ssh known_hosts files. 2013-12-10 Barton E. Schaefer * 32099: Src/init.c: fix pointer declaration to avoid compile time error when arithmetic on void * is not allowed. 2013-12-09 Peter Stephenson * users/18210: Doc/Zsh/builtins.yo: document print -D better. * 32093: INSTALL: describe the dependency issues fixed by the doc bundle. 2013-12-09 Peter Stephenson * Jun T.: 32056: Completion/Unix/Command/_iconv: Handle different versions of iconv. 2013-12-06 Peter Stephenson * Daniel Shahaf: 32091: Src/exec.c, Test/E01options.ztst: WARN_CREATE_GLOBAL false positive for assignment before commands. 2013-12-05 Peter Stephenson * Daniel Shahaf: 32089: Functions/VCS_Info/Backends/VCS_INFO_detect_svn: tweak for detecting Subversion repository. 2013-12-02 Barton E. Schaefer * 32080 (plus unposted second instance of same): Test/A05execution.ztst: suppress any error output from nonessential "setopt MONITOR" 2013-12-01 Peter Stephenson * unposted: Config/version.mk: 5.0.2-test-3. 2013-11-30 Barton E. Schaefer * Hong Xu: 32069: Completion/Unix/Command/_git: completion for "git submodule update --remote" 2013-11-29 Barton E. Schaefer * 32066 (via 31985 Clemens Hammacher and 32064 Hong Xu): Functions/VCS_Info/Backends/VCS_INFO_get_data_git, Functions/VCS_Info/VCS_INFO_reposub: fix %r and %S in vcs_info formats when a repository subdirectory is accessed via a symlink. 2013-11-27 Barton E. Schaefer * 32061: Src/utils.c: Fix "use of uninitialized memory" in metafy 2013-11-27 Peter Stephenson * unposted, see 32054 and thread: Completion/Unix/Command/_cdrdao, Completion/Unix/Command/_git, Completion/Unix/Command/_growisofs, Etc/ChangeLog-3.0, Etc/ChangeLog-3.1, LICENCE, Src/Modules/clone.c, Src/Modules/example.c, Src/module.c: Rationalise character encodings: shell functions are strictly ASCII for maximum portability; other files needed for building and documentation are ASCII or UTF-8; test files may use ISO-8859-X (we don't require the Euro symbol) where needed to get single character input with the top bit set. 2013-11-25 Peter Stephenson * unposted, see 32050, 32051: remove non-ASCII characters in installed functions as this causes sed on MacOS problems. 2013-11-25 Peter Stephenson * unposted: Completion/Unix/Command/.distfiles, Config/version.mk: update for 5.0.2-test-2. 2013-11-25 Barton E. Schaefer * 32045 (as corrected by Martin Vaeth 32047): Config/defs.mk.in, Doc/Makefile.in, configure.ac: use dependencies to determine whether to rebuild helpfiles. 2013-11-23 Peter Stephenson * 32031 plus missed _run_help: Completion/Zsh/Command/_run-help, Config/defs.mk.in, Config/installfns.sh, Doc/Makefile.in, Functions/Misc/run-help, Makefile.in: turn @runhelpdir@ in installed functions into the actual installation path. 2013-11-20 Peter Stephenson * 32030: revert 31995 as it caused (N) to fail on an empty failed glob. Add test for this case. 2013-11-19 Barton E. Schaefer * 32023: Src/utils.c: better interrupt handling at RM_STAR_WAIT 2013-11-18 Peter Stephenson * unposted but see 32012: Doc/help/.cvsignore, Doc/help/.distfiles: were created in the wrong place, so move. 2013-11-18 Barton E. Schaefer * Martin Vaeth: 32008: Completion/Zsh/Command/.distfiles Completion/Zsh/Command/_run-help Doc/Makefile.in: follow-up to 31988 - complete "." and ":" for run-help, distribute _run-help, clean up better during make * Han Pingtian: 31995: Src/glob.c: glob qualifiers cannot follow an empty pattern, so a leading paren means grouping 2013-11-17 Peter Stephenson * 32001: Src/subst.c: fix crash on empty arrays with array intersection and disjunction. 2013-11-15 Barton E. Schaefer * Martin Vaeth: 31988: Doc/Makefile.in, Util/helpfiles: remove LC_CTYPE heuristics, assure clean environment, force LANG=C 2013-11-14 Peter Stephenson * Jun T.: 31984: Completion/Unix/Command/_df: new completion. * 31983: Src/zsh.mdd: suppress warning from cmp that doesn't indicate a problem when generating patchlevel header. * 31982: Src/math.c, Test/C01arith.ztst: detection of floating point constants had run rampant in users/17445. Fix the original problem another way. 2013-11-13 Peter Stephenson * 31977: Src/module.c: no error if autoloading a feature that is already loaded in a consistent fashion. * Jun T.: 31971: locale fix for helpfiles. * Martin Vaeth: 31959: .gitignore, Doc/help/.cvsignore, Doc/help/.distfiles: missed files. 2013-11-12 Bart Schaefer * 31966: Util/helpfiles: skip introductory paragraphs processing "man zshbuiltins" by assuming that all real command names start with a lower case letter. Check "ztcp" file as a guess that all builtins were processed. 2013-11-12 Peter Stephenson * Martin Vaeth: 31959: .gitignore, Completion/Zsh/Command/_run-help, Doc/.cvsignore, Doc/.distfiles, Doc/Makefile.in, Makefile.in, StartupFiles/zshrc, Util/helpfiles, configure.ac: make help files during installation. * 31961: Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_thingy.c: rationalise fd watch to use structures. 2013-11-08 Peter Stephenson * unposted: fix ChangeLog to say 5.0.3 instead of 4.0.3. * unposted: NEWS: refer to zle -Fw. * 31940: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: add -e option to zcalc to use input from arguments to command. 2013-11-07 Peter Stephenson * 31937: Doc/Zsh/zle.yo, Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c, Src/math.c, Test/C01arith.ztst: zle -Fw uses widget semantics for file descriptor handler. 2013-11-06 Peter Stephenson * unposted: Completion/Debian/Command/.distfiles, Completion/Unix/Type/.distfiles, Config/version.mk, Etc/FAQ.yo, README, Src/pattern.c, Src/signals.c, Test/.distfiles: updates for 5.0.2-test-1 in preparation for 5.0.3. Updated files in .distfiles and add mod_export declarations. 2013-11-03 Peter Stephenson * Stefan Neudorf: 31936: Doc/Zsh/builtins.yo, Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c: rationalise thread limits * Stefan Neudorf: 31935: Doc/Zsh/builtins.yo, Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c: further limit updates for 31930, 39134. 2013-10-31 Peter Stephenson * Stefan Neudorf: 31930 / 31934: Doc/Zsh/builtins.yo, Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c, configure.ac, Src/Builtins/rlimits.c: New BSD limits; avoid clash with ulimit -k. 2013-10-29 Barton E. Schaefer * 31929: Src/jobs.c: fix DPUTS3() test condition from 31906. 2013-10-28 Bart Schaefer * unposted: NEWS: mention HISTORY_IGNORE 2013-10-28 Peter Stephenson * 31922: Src/Zle/zle_utils.c (zlecharasstring): missing flip of bit five when Meta marker inserted. 2013-10-27 Barton E. Schaefer * 31912: Src/exec.c: in closemn(), distinguish closing for >&- from closing for a real redirect. Fixes knock-on multios bug introduced by workers/20666 way back in 2005. * unposted (cf. users/18063): Functions/Zle/keeper: clean up some syntax nits, add working link to old Unix Review article * 31919: Src/exec.c, Src/init.c: fix deadlock when a shell builtin with a multio redirection is used on the left side of a pipeline, by making sure stdin/out/err file descriptors are closed for the multio copy process, which means not re-using those descriptors after they are closed and marked FDT_UNUSED in fdtable[]. For completeness, initialize their fdtable[] state to FDT_EXTERNAL. 2013-10-27 Peter Stephenson * Jun T: 31909: Completion/Unix/Command/_cat: new completion. 2013-10-26 Barton E. Schaefer * 31906: Src/jobs.c, Test/A05execution.ztst: printjob() should not reference oldjobtab for job numbers unless it is being called from bin_fg(). Add a DPUTS check in case this goes horribly wrong. printjob() also must not attempt to update pipestats when called from bin_fg(). Finally, acquire_pgrp() cannot acquire the tty group leader if the shell is not interactive, so avoid looping infinitely in the attempt. Update the $pipestatus stress test so that it also exercises the oldjobtab repair. 2013-10-26 Peter Stephenson * Jun T: 31902: rationalise gamma function in mathfunc for consistency with various libraries and user expectations. 2013-10-25 Peter Stephenson * 31890 (with Mikael's fixes in 31891): NEWS: add descriptions of new features since 5.0.2. 2013-10-24 Peter Stephenson * 31889: Test/D02glob.ztst: tests for disable -p. * 31877: Src/pattern.c: fix behaviour of disable -p for entities with parentheses. 2013-10-24 Barton E. Schaefer * 31885: Src/jobs.c: fix PIPEFAIL behavior when the last command in a pipeline is executed within the current shell; add comments 2013-10-24 Peter Stephenson * 31888: Test/A05execution.ztst: add test of pipestatus that was reliably failing before 31879. * 31882: Src/Zle/compcore.c: better insulation of completion widget excecution against job environment. * 31884: Test/A05execution.ztst: eliminate variable output from test due to vagaries of uniq implementation. 2013-10-23 Barton E. Schaefer * 31879: Src/jobs.c: improve $pipestatus behavior when the last command in the pipeline is executed within the current shell * unposted (cf. Frank Terbeck: 30047): Test/A05redirect.ztst: stress test for $pipestatus handling 2013-10-23 Peter Stephenson * 31873: Doc/Zsh/builtins.yo: Document conventions for use of command options with builtin commands. 2013-10-21 Barton E. Schaefer * 31869: Src/input.c: reduce WINCH-twaddling in shingetline() 2013-10-21 Øystein Walle * 31861: Completion/Unix/Command/_git: _git: Add git-clean -i/--interactive support * 31863: Completion/Unix/Command/_git: _git: Add new arguments introduced in Git v1.8.4 * 31862: Completion/Unix/Command/_git: _git: Add status.short and status.branch * 31866: Completion/Unix/Command/_git: _git: Reword --heads to match new meaning * 31864: Completion/Unix/Command/_git: _git: Add two sub-comamnds introduced in v1.8.4 * 31865: Completion/Unix/Command/_git: _git: Make --batch(-check) accept an argument 2013-10-21 m0viefreak * 31856: Completion/Unix/Command/_git: _git: fix a few "undocumented" options * 31855: Completion/Unix/Command/_git: _git: revert: add '-e,--edit' 2013-10-21 Øystein Walle * 31858: Completion/Unix/Command/_git: _git: fix wrong default value 2013-10-21 m0viefreak * 31857: Completion/Unix/Command/_git: _git: Remove unsupported -q option from diff options 2013-10-21 Øystein Walle * 31853: Completion/Unix/Command/_git: _git: Add missing column.* config variables * 31854: Completion/Unix/Command/_git: _git: Make git-show accept diff arguments * 31859: Completion/Unix/Command/_git: _git: re-order the last two git-blame arguments 2013-10-19 Peter Stephenson * 31851: Src/exec.c: execstring() should display string to be executed with VERBOSE option. 2013-10-19 Barton E. Schaefer * 31849: Doc/Zsh/params.yo: note effect of KSH_ZERO_SUBSCRIPT on the arrays of positional parameters e.g. ${argv[0]} vs. $0 2013-10-18 Peter Stephenson * 31846: Src/exec.c: fix NOEXEC option in execsimple(). 2013-10-18 Barton E. Schaefer * 31840: Completion/Unix/Command/_make: "read" used wrong $IFS 2013-10-17 Barton E. Schaefer * 31836 (cf. 31823): Doc/Zsh/params.yo, Src/hist.c: add HISTORY_IGNORE pattern to exclude matching lines in the internal history from the HISTFILE at write time. * 31832: Src/exec.c: make execrestore() more signal-safe. 2013-10-17 Peter Stephenson * 31830: Doc/Zsh/func.yo, README, Src/hist.c, Src/zsh.h: If a zshaddhistory hook returns status 2, save the line on the internal history but don't write it out. 2013-10-16 Peter Stephenson * Users/18033: Doc/Zsh/builtins.yo, Doc/Zsh/jobs.yo, Doc/Zsh/options.yo: try to document interaction between exit and asynchronous jobs that don't look asynchronous. 2013-10-16 Peter Stephenson * 31827: Doc/Zsh/func.yo: options needed for example. Only works with INCAPPENDHISTORY or SHAREHISTORY. 2013-10-15 Peter Stephenson * unposted: Doc/Zsh/func.yo: trivial typo in zshaddhistory doc. 2013-10-12 Barton E. Schaefer * 31818: Completion/Unix/Command/_sh, Doc/Zsh/compsys.yo: to avoid side effects, reposition the _arguments call in _sh for the zsh special case. Document the side effects so avoided, and clean up the _arguments documentation a bit along the way. 2013-10-11 Mikael Magnusson * 31805: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c, Src/Modules/parameter.mdd, Src/pattern.c, Test/V01zmodload.ztst: Add $patchars and $dis_patchars to zsh/parameter module * 31805: Completion/Zsh/Command/_disable, Completion/Zsh/Command/_enable, Doc/Zsh/builtins.yo: Update _enable and _disable for -p, fix related typo in docs * 31806: Completion/Zsh/Command/_disable, Completion/Zsh/Command/_enable, Workaround special characters in alias and function names breaking _arguments syntax 2013-10-11 Peter Stephenson * 31815: Src/hist.c: more fallout from 31789: we need to save using pushed history file before we pop. 2013-10-10 Peter Stephenson * 31810: Test/E02xtrace.ztst: tests for simple cases of XTRACE output for conditions. * 31809: Src/exec.c: make whitespace clear in trace output for patterns. 2013-10-08 Peter Stephenson * Eric Cook: 31801: Completion/Linux/Command/_btrfs: some additional variables need to be local. 2013-10-08 Barton E. Schaefer * 31797: Src/hist.c: partly fix long-standing history expansion bug in which in some circumstances a default history expansion would occur even when there is neither an event nor a word designator, which is contradictory to the documentation. There are still some cases in which expansion is attempted when it should not be, but in most of those cases the expansion simply fails. 2013-10-07 Peter Stephenson * 31794: Src/hist.c: further refinement that SHAREHISTORY should work as it always did because it's careful about file locking. * 31793: Src/hist.c (hbegin): Modify 31789 so that the save history here only happens for interactive editing. 2013-10-06 Wayne Davison * users/18024: Completion/Unix/Command/_rsync: add new options for rsync 3.1.0. 2013-10-06 Peter Stephenson * users/18023: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c, Src/zsh.h, Test/E01options.ztst: add PIPEFAIL option and test. 2013-10-05 Peter Stephenson * Hang Pingtian: 31789: Src/hist.c: add history for INCAPPENDHISTORY later so history time works. 2013-10-03 Barton E. Schaefer * 31784: Src/Zle/computil.c: when deciding whether there is enough horizontal space to show completion descriptions for each match in a listing, treat the separator as part of the description rather than as part of the match, and account for lines that have already wrapped due to very long matches. * 31781: Src/Zle/computil.c: "compdescribe -i" must clear the completion list column padding width along with the rest of the description state. Cf. 31782. 2013-09-26 Barton E. Schaefer * 31772: Src/params.c: queue_signals() to prevent re-entry into endparamscope(). * 31770: Src/hist.c: memmove() instead of memcpy() for overlapping regions. 2013-09-25 Peter Stephenson * 31765: Src/Zle/zle_main.c: on entry to editor, if starting in vi insert mode mark this as the start of an insertion (duh). 2013-09-23 Peter Stephenson * 31764 (with correction of sense of a test): Src/glob.c, Src/pattern.c: use of array before initialisation wreaked havoc in detecting glob qualifiers. 2013-09-22 m0viefreak * 31754: Completion/Unix/Command/_git: _git: git rm: make git rm --cached work as intended 2013-09-22 Øystein Walle * 31752: Completion/Unix/Command/_git: _git: change completion text for consistency 2013-09-22 m0viefreak * 31753: Completion/Unix/Command/_git: _git: correct some "undocumented" options 2013-09-22 Øystein Walle * 31749: Completion/Unix/Command/_git: _git: fix some typos in description texts * 31751: Completion/Unix/Command/_git: _git: remove TODOs of actually documented options 2013-09-22 m0viefreak * 31746: Completion/Unix/Command/_git: _git: reword _git-config TODO * 31748: Completion/Unix/Command/_git: _git: support completing remote branches without / prefix 2013-09-22 Øystein Walle * 31747: Completion/Unix/Command/_git: _git: completion updates to match latest git v1.8.3 part 2 * 31750: Completion/Unix/Command/_git: _git: add new configuration options to match latest git v1.8.3 2013-09-22 m0viefreak * 31741: Completion/Unix/Command/_git: _git: fix a wrong variable in __git_config_values * 31743: Completion/Unix/Command/_git: _git: fix usage of ->int: for some entries in _git-config * 31744: Completion/Unix/Command/_git: _git: make git submodule completion work * 31745: Completion/Unix/Command/_git: _git: correctly use __git_guard_number in some cases * 31755: Completion/Unix/Command/_git: _git: completion updates to match latest git v1.8.3 2013-09-21 Barton E. Schaefer * unposted: Src/glob.c: improve an error message. 2013-09-19 Barton E. Schaefer * 31737: Src/Zle/computil.c (get_cadef): same fix as get_cvdef. 2013-09-19 Peter Stephenson * Axel Beckert: 31735: Src/Zle/computil.c (get_cvdef): off-by-one in obscure loop handling could cause crash in complex completion. 2013-09-14 Luka Perkov * 31723: Completion/Unix/Command/_systemd: _systemd: add more system commands * 31726: Completion/Unix/Command/_git: _git: add few more arguments for cherry-pick and revert 2013-09-10 Barton E. Schaefer * 31714: Completion/Zsh/Command/_cd: handle ".." properly when $PWD or the path prefix traverses a symbolic link. 2013-09-08 Peter Stephenson * 31711: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler: add execute-never style for MIME handler for files on alien file systems. 2013-09-07 Luka Perkov * 31708: Completion/Unix/Command/_git: _git: add --fixup and --squash options to commit 2013-09-06 Peter Stephenson * Luka Perkov: 31702: Completion/Unix/Command/_git: check for presence of "-i" when checking for "--interactive". * 31706: Src/builtin.c, Test/C02cond.ztst: standardise handling of "test ! ". 2013-09-04 Peter Stephenson * 31696: Src/parse.c, Test/C02cond.ztst: in "test", no one can hear if you shriek. Treat exclamation marks as strings in "! -a ..." and "! -o ...". 2013-09-02 Peter Stephenson * 31685: Doc/Zsh/mod_mapfile.yo: documentation of how to get lines from a file is not correct. 2013-08-29 Peter Stephenson * users/17955: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler: "disown" style makes MIME handlers put into background run without job control. * based on 31641, 31642: Completion/Unix/Command/_make: support a couple of different variants of make. 2013-08-26 Peter Stephenson * 31672: Src/Modules/zpty.c, Test/V08zpty.ztst: add test that was failing and fix race when setting up pty. 2013-08-25 Peter Stephenson * 31665: Src/Modules/zpty.c, Test/V08zpty.ztst, Test/.distfiles: zpty should attach terminal on slave. 2013-08-17 Barton E. Schaefer * 31637: Src/builtin.c: change of directory should not be retried relative to the current directory when it has already failed along some path that does not refer to the current directory. 2013-08-11 Peter Stephenson * 31650: Src/utils.c: use zlong for mailcheck parameters to ensure sufficient range. 2013-08-10 Peter Stephenson * 31648: joe M: Src/utils.c: fix timing errors in mailcheck. 2013-08-08 Peter Stephenson * Src/Zle/zle_tricky.c (inststrlen): 31644: the wrong length was used when inserting multibyte characters from a string from outside ZLE into the editing buffer. * users/17908: Src/hist.c Src/Zle/zle_main.c Src/zsh.h: if modifying history with ZLE active, keep the history line recorded in ZLE in sync. 2013-08-07 Phil Pennock * 31634: Functions/Misc/run-help: run-help compat with alias to noglob/nocorrect 2013-08-05 Peter Stephenson * 31631: configure.ac, Src/builtin.c: use cygwin_conv_path in preference to cygwin_conv_to_posix_path if available. 2013-08-04 Peter Stephenson * Yuusuke Yoshimoto: 31632: Completion/Unix/Type/_java_class: suppress stderr from jar when completing classes. 2013-08-02 Peter Stephenson * 31611: Src/Zle/zle_tricky.c: attempt to fix crash in "for in 1; do <[TAB] x". 2013-08-01 Peter Stephenson * Thomas Klausner: 31625: Completion/X/Command/_mplayer: mplayer supports .ts (transport stream) files. 2013-07-29 Peter Stephenson * 17891: Src/builtin.c: fix error message for invalid file descriptor in "print -u". 2013-07-28 Peter Stephenson * Manuel Presnitz: 31592 (with minor changes of phrasing): Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Doc/Zsh/prompt.yo: improve documentation for named directory handling. 2013-07-25 Peter Stephenson * Jun T.: 31756: Completion/Unix/Command/_make: further make completion improvements: tke care of mutually exclusive options; add _description using $state_descr; add completions for --debug=flag; fix typo (pointed out by Daniel Shahaf). * 31574: Src/parse.c: alternative fix to 31545 if FD_CLOEXEC is not available, removing dump records more consistently. 2013-07-24 Richard Hartmann * 31571: Completion/Unix/Command/_vcsh: Update * 31572: Completion/Debian/Command/_linda, Completion/Debian/Command/.distfiles: Remove _linda 2013-07-24 Peter Stephenson * Src/hist.c: 31570: with HIST_REDUCE_BLANKS don't truncate the line after the last word if there's more non-white-space text (probably a comment but we don't assume that). 2013-07-22 Peter Stephenson * unposted: Src/lex.c: correct previous commit: should call hwend(), not ihwend(). * 31559: Src/lex.c: Fix problem with history lines for comments that occur in the middle of an alias. * Eric Cook: 31558: Completion/Command/Unix/_qemu: name of binary has changed. 2013-07-21 Peter Stephenson * 31549: Src/exec,c, Src/zsh.h: replace ad-hoc subsh_close file descriptor for pipes with new addfilelist() job-based mechanism. 2013-07-20 Peter Stephenson * 31545: Src/exec.c, Src/parse.c: if FD_CLOEXEC is available, so mark dump file descriptors, avoiding possible multiple use of file descriptors. 2013-07-19 Peter Stephenson * c.f. 31531: Completion/Unix/Command/_imagemagick, Completion/Unix/Command/_graphicsmagick: complete .xcf files. 2013-07-19 Peter Stephenson * 31536 (plus memory leak fixed, plus test code): Src/jobs.c, Test/D03procsubst.ztst: fix hang in 31528 by closing process substitution file descriptors when waiting for job to finish. 2013-07-17 Peter Stephenson * 31528: Src/exec.c, Src/jobs.c, Src/zsh.h: use job table to record file descriptors associated with process substitution. * Jun T: 31525: Completion/Unix/Command/_make: fix some option handling. 2013-07-12 Peter Stephenson * Nick Cross: 31512: Completion/Unix/Command/_make: extra GNU options plus fix to makefile completion. 2013-07-11 Peter Stephenson * users/17856: Completion/Command/Unix/_make: rewrite to use _arguments so as to make adding option handling easier. 2013-07-03 Peter Stephenson * 31503: Doc/Zsh/contrib.yo, Functions/Misc/zmv: split words in program passed to zmv with -p and add -P for programs that don't understand the "--" convention. 2013-06-28 Clint Adams * 31500: Completion/Debian/Command/_dput: dput-ng completion support from Sebastian Ramacher. * 31499: Completion/Debian/Command/_dcut: dcut completion from Sebastian Ramacher. * 31498: Completion/Debian/Command/_dak: complete files for subcommands that are not explicitly specified. 2013-06-27 Mikael Magnusson * 31483: Call zrefresh() before unqueue()ing signals, was moved in 31174. 2013-06-18 Frank Terbeck * 31485: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: vcs_info, git: Avoid error messages for `guilt' users 2013-06-13 Peter Stephenson * 31465: Completion/compinit, Src/glob.c, Src/pattern.c: fix basic completion and globbing use of pattern disables. * 31444: Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, Doc/zmacros.yo, Src/builtin.c, Src/exec.c, Src/options.c, Src/pattern.c, Src/zsh.h: Basic (not fully functional) code for enable/disable -p. 2013-06-13 Barton E. Schaefer * 31474: Makefile.in, Src/zsh.mdd: create patchlevel.h correctly when running make in a separate build tree 2013-06-10 Peter Stephenson * Hong Xu: 31462: .editorconfig: move comment to individual line. * Bruce Stephens (via Axel Beckert of Debian): 31459: Doc/ztexi.yo: alignment of zsh info menu entry is wrong. 2013-06-09 Barton E. Schaefer * 31466: .cvsignore, .gitignore: Cause git and cvs to ignore one another. * 31205: Completion/Base/Widget/_complete_help: Do not display "(eval)" as a tag context. 2013-06-01 Peter Stephenson * 31441: Src/glob.c, Src/pattern.c, Src/zsh.h: use an array based on ZPC_* enum to decide which forms of pattern are enabled. 2013-05-30 Peter Stephenson * 31436: Doc/Zsh/expn.yo: KSH_GLOB syntax does not support recursive directories. 2013-05-29 Peter Stephenson * 31433: Completion/Unix/Command/_gzip: zcat -f doesn't need files with suffix .gz. * 31422: Doc/Zsh/calsys.yo, Functions/Calendar/age: better heuristic for timestamps in use of :file feature. 2013-05-22 Peter Stephenson * 31405: Doc/Zsh/options.yo: weasel words about PRINT_EXIT_STATUS option. 2013-05-21 Peter Stephenson * 31419: Src/Modules/stat.c: Add time zone and year to default time format with -s option to zstat. * 31418: Doc/Zsh/calsys.yo, Functions/Calendar/age: in "age" docs correct typo and note the feature that you can supply a file as a timestamp on the command line. * Stephane: 31417: Functions/Calendar/age: needs -- to protect againts files starting with -. 2013-05-20 Barton Schaefer * 31416: Src/builtin.c: upon "read" of a short line, assign all variables passed as arguments. 2013-05-14 Peter Stephenson * unposted: Completion/Unix/Command/_perforce: Improve Perforce jobs completion to limit potentially huge output using jobview by default; fix quoting of arguments passed on to eval within _call_program. 2013-05-10 Peter Stephenson * Richard Hartmann : 31389: Completion/X/Command/_mplayer: add .ogv. * Mihai Moldovan : 31387: Src/zsh_system.h: unused functions when compiling with clang. 2013-05-05 Frank Terbeck * unposted: Src/exec.c: Revert "31372: Do not block SIGWINCH for child processes" as suggested by Bart. * 31376: Src/exec.c: Make sure every execve() is prefixed by winch_unblock() 2013-05-05 Bart Schaefer * 31372: Src/exec.c: Do not block SIGWINCH for child processes 2013-05-05 Kenyon Ralph * 31371: Completion/Linux/Command/_brctl: _brctl: update brctl subcommands 2013-05-04 Peter Stephenson * 31369: Completion/Base/Utility/_comp_locale: action if locale command is not usable. 2013-04-29 Bart Schaefer * 31361: Src/init.c: handle negative optno ("no" prefix used) when storing options with parseopts_insert() for sticky contexts * 31353: Src/math.c: fix handling of floating point in ternary * 31350: Src/init.c, Src/input.c, Src/signals.h, Src/utils.c, Src/Zle/zle_main.c: block SIGWINCH nearly all the time, except when about to calculate prompts or do synchronous read, so syscalls are not interrupted by window size changes. 2013-04-29 Jun T * 31357: Completion/Unix/Command/_cp: add support for Mac OS X 2013-04-29 Peter Stephenson * 31356: Completion/Unix/Command/_subversion: typo noted by Bart. * 31355: Completion/Base/Utility/.distfiles, Completion/Base/Utility/_comp_locale, Completion/Unix/Command/_subversion: _comp_locale tries to sanitise locales but keep CTYPE; use this for subversion completion. 2013-04-25 Ramkumar Ramachandra * 31288: Completion/Unix/Command/_git: _git: fix shortlog completer 2013-04-21 Ramkumar Ramachandra * 31286: Completion/Unix/Command/_git: _git: add a couple of browsers * 31289: Completion/Unix/Command/_git: _git: branch.*.pushremote, remote.pushdefault 2013-04-20 Torstein Hegge * 31159: Completion/Unix/Command/_git: git: Pass prefix filter to ls-files even if it matches no files 2013-04-20 Jun T * 31281: Completion/Unix/Command/_du: _du: add support for Mac OS X 2013-04-20 Bart Schaefer * 31272: Src/Zle/compctl.c: avoid double free. 2013-04-16 Peter Stephenson * Daniel Friesel: 31265: Completion/Unix/Command/_devtodo: improved option handling. 2013-04-13 Peter Stephenson * unposted: .gitignore: ignore PDF and PS versions of intro file. 2013-04-12 Peter Stephenson * 31263 (changed * to - for consistency with elsewhere): Doc/Zsh/mod_curses.yo: suppress texinfo warning by adding item arguments. * 31261: Doc/Zsh/compsys.yo, Doc/ztexi.yo: updates needed with latest texinfo. 2013-04-10 Peter Stephenson * users/17754: Src/builtin.c: failing to retie an array and colon-separated scalar shouldn't be a fatal error. 2013-04-09 Peter Stephenson * 31246: Makefile.in, Src/zsh.mdd: make a separate patch level header for releases. 2013-04-08 Peter Stephenson * unposted: Completion/Unix/Command/.distfiles, Completion/Unix/Command/.distfiles: remove mention of files no longer there. 2013-04-07 Bart Schaefer * 31234: Completion/Base/Widget/_complete_help: use an "always" block instead of "trap" to clean up various function overrides 2013-04-05 Frank Terbeck * 31174: Src/Zle/zle_main.c: 31174: zle: Make sure state changes are refreshed after init hook * 31172: Src/Zle/zle_main.c: 31172: Let vared define custom init and finish hooks * 31175: Doc/Zsh/zle.yo: 31175: Add documentation for the new -i and -f options of vared * 31221: Completion/Unix/Command/_git: Handle zero defined aliases better * 31222: Functions/Zle/down-line-or-beginning-search, Functions/Zle/up-line-or-beginning-search: Don't trigger warn_create_global 2013-04-04 Peter Stephenson * 31203: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_etags: new etags completion. 2013-02-18 Aaron Schrab * 07478c6b: Src/zsh.mdd: Generate patch level using `git describe` 2013-04-02 Peter Stephenson * Jun T.: 31183: Src/Zle/zle_move.c: record old line rather than history line in vi-goto-mark. 2013-03-29 Mikael Magnusson * 31182: Completion/Unix/Command/_awk: Allow sticked arguments. 2013-03-20 Peter Stephenson * Han Pingtian: 31167 (with tweak): Completion/Unix/Command/_ssh: limit use of colons for detecting a remote path. 2013-03-19 Bart Schaefer * 31158: Src/pattern.c: following a wildcard with a repetition produces a bad pattern error instead of an unbounded search 2013-03-17 Peter Stephenson * 31156: Completion/Zsh/Context/_math, Completion/Zsh/Context/_zcalc_line, Completion/Zsh/Type/.distfile, Completion/Zsh/Type/_math_params, Completion/Zsh/Type/_module_math_func, Completion/Zsh/Type/_user_math_func: improved math context completion: functions. * 31155: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: minor extra zcalc features and documentation. 2013-03-15 Peter Stephenson * 31154: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: make zcalc understand continuation lines using backslash. 2013-03-14 Peter Stephenson * 31151: Pavol Juhas: complete (C etc) tags better when file system is not case sensitive. 2013-03-13 Mikael Magnusson * unposted: Doc/Zsh/contrib.yo: Also adjust a mention of psvar in the vcs info documentation. * 31140: Src/math.c: when the math recursion limit is hit, make sure to not leave *ep pointing nowhere, which caused a crash sometimes. Also print the token that we refused to evaluate because of the limit. 2013-03-13 Peter Stephenson * unposted, c.f. thread from 31144: Doc/Zsh/params.yo: all psvar entries can be shown in prompts nowadays. 2013-03-10 Peter Stephenson * 31141: Src/exec.c, Test/A04redirect.ztst: NO_CLOBBER for {fd} syntax should only apply if $fd is exactly an fd and nothing else. 2013-03-10 Mikael Magnusson * 30496: Src/prompt.c: Parse argument to %F and %K as prompt sequences. This allows constructs like %F{%3v} to use $psvar[3] for the color. * 30490: Completion/Unix/Command/_java: Complete files for the -keystore argument. * 30639: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Add support for showing the current action is cherry-pick (happens when cherry-picking a range). * 31136: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: just set parameters instead of passing over a pipe. 2013-03-05 Peter Stephenson * users/17666: Doc/Zsh/contrib.yo, Functions/Misc/zcalc: -f option to zcalc sets FORCE_FLOAT. * users/17665: Doc/Zsh/options.yo, Src/math.c, Src/options.c, Src/zsh.h, Test/C01arith.ztst: add FORCE_FLOAT option. 2013-02-27 Oliver Kiddle * 31076: Completion/Linux/Command/_yast, Completion/Unix/Type/_pids, Completion/Unix/Type/_pdf: fix cases of more than one completion function for a command * 31077: Completion/Unix/Command/_sort: update for new options in GNU sort * c.f. 31071: Completion/Unix/Type/_postscript, Completion/Unix/Command/_psutils: remove duplicate _osc and rename _ps to avoid name clash 2013-02-22 Peter Stephenson * 31061: Completion/Zsh/Command/_typeset: "functions" completion takes account of options already on the command line. * 31060: Src/builtin.c: "+" before a flag for "functions" or "autoload" should suppress display of function body. 2013-02-21 Oliver Kiddle * 31058: Completion/Zsh/Command/_fc, Completion/Unix/Command/_cut, Completion/Unix/Command/_sed, Completion/Unix/Command/_wget, Completion/Unix/Command/_xmlsoft: add options from newer versions of some commands to completion functions 2013-02-19 Peter Stephenson * 31055: Completion/compaudit: missing '$' in search of /proc file system. 2013-02-12 Oliver Kiddle * 31041: Test/comptest, Test/X02zlevi.ztst: add support for testing line editor widgets from the test suite * unposted: Etc/zsh-development-guide: remove duplication in git guidelines 2013-02-09 Oliver Kiddle * Morita Sho: 31038: Completion/Unix/Type/_terminals: add location of terminfo entries on Debian * 31037: Src/Zle/zle_move.c: return to previous position with vi-goto-mark using `` or '' 2013-02-07 Peter Stephenson * Wieland Hoffmann: 31030: Completion/X/Command/_mplayer: improve label for selected files. * Wieland Hoffmann: 31029: README: correct directory. * Han Pingtian: 31027: Completion/Unix/Type/_files: remove the -g's from the glob options. 2013-02-03 Peter Stephenson * Eric P. Mangold: c.f. 31016 http://twistedmatrix.com/trac/browser/trunk/twisted/python/twisted-completion.zsh?format=txt: completion for twisted using internally generated completion. 2013-02-01 Peter Stephenson * 31015: Completion: compaudit: where we can find who owns the zsh executable, allow the same owner to own completion files. 2013-02-01 Mikael Magnusson * unposted: Fix _prove completer commit. 2013-01-29 Peter Stephenson * Jesper Nygårds: 31012: Completion/Unix/Command/_gradle: updates. * Dmitry Roshchin: 31008: Completion/openSUSE/Command/_zypper, Completion/openSUSE/Command/_osc: updates. 2013-01-26 Bart Schaefer * 31000: Doc/Zsh/contrib.yo: fix typo in example. 2013-01-24 Peter Stephenson * users/17608: Doc/Zsh/contrib.yo, Functions/Zle/modify-current-argument: use function to modify current command line argument. 2013-01-22 Peter Stephenson * 30993: Src/subst.c, Test/D04parameter.ztst: parameter modifiers :wq operating on an empty string crashed the shell. The shell isn't supposed to crash. 2013-01-20 Oliver Kiddle * 30987: Completion/X/Command/_xrandr: only call xrandr when necessary and use _call_program 2013-01-14 Peter Stephenson * 30960: Alexey Bezhan: Completion/Unix/Command/_django: compatibility issue. 2013-01-10 Peter Stephenson * 30958: Jeremy Mates: Completion/Unix/Command/_prove, Completion/Unix/Command/.distfiles: new completion. 2013-01-07 Bart Schaefer * unposted (see 30952): Src/builtin.c: tweak to 30949 to fix the buffer pointer. 2013-01-06 Bart Schaefer * 30949: Src/builtin.c: restore "read -q" behavior lost by 27188. 2013-01-05 Peter Stephenson * 30946: Robert Kovacsics: Completion/X/Command/_xrandr: use command to generate completions. 2013-01-04 Peter Stephenson * 30941: Completion/bashcompinit: scalars giving status of bash completion should be exported for external programmes. 2013-01-03 Bart Schaefer * users/17524: Doc/Zsh/expn.yo: misc. parameter flag clarifications. 2013-01-03 Peter Stephenson * unposted: Config/version.mk: update version to 5.0.2-dev-0 to avoid clash with release. 2012-12-21 Peter Stephenson * unposted: README, Config/version.mk, Etc/FAQ.yo: release 5.0.2. 2012-12-21 Peter Stephenson * 30930: Src/parse.c, Test/D03procsubst.ztst: anonymous functions shouldn't be marked as simple; this prevented process based features from working in their arguments. 2012-12-20 Peter Stephenson * unposted: Config/version.mk: zsh 5.0.1. 2012-12-18 Oliver Kiddle * 30877: Etc/zsh-development-guide: document git workflow 2012-12-18 Peter Stephenson * 30914: mkinstalldirs: default mode for installation directories is 755. 2012-12-17 Phil Pennock * 30901, 30906: Etc/zsh-development-guide: document git usage, update patch descriptions, mention editorconfig. 2012-12-16 Peter Stephenson * unposted: README, Config/version.mk, Etc/FAQ.yo, Completion/Base/Utility/.distfiles, Completion/Unix/Command/.distfiles, Completion/Unix/Type/.distfiles, for 5.0.0-test-1. * unposted: Src/utils.c: missing mod_export. 2012-12-13 Peter Stephenson * 30876: Src/exec.c, Test/A06assign.ztst, Test/C03traps.ztst: obscure failures to process non-zero return values could result from optimising a list to a simple command. 2012-12-08 Bart Schaefer * users/17445: Src/math.c, Test/C01arith.ztst: fix handling of leading zeroes in floating point. 2012-11-20 Oliver Kiddle * 30811: Completion/Linux/Command/_btrfs, Completion/Unix/Command/_mount: new completion for btrfs and complete btrfs and ext4 mount options and new linux mount flags 2012-11-16 Vin Shelton * users/16865: Doc/Zsh/grammar.yo: Added missing menu item for Errors. 2012-11-18 Bart Schaefer * users/17042: Src/jobs.c: don't stomp the environment in "jobs -Z" unless we've first copied it to new memory. 2012-11-16 Oliver Kiddle * 30802: Completion/Unix/Command/_find: add new command switches * 30801: Completion/X/Command/_urxvt, Completion/X/Type/_xft_fonts: fix font completion for newer fontconfig & update urxvt completion 2012-11-15 Peter Stephenson * 30789: Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/hist.c, Src/init.c, Src/options.c, Src/zsh.h, Test/A04redirect.zsh: add CONTINUE_ON_ERROR option for compatibility but turn it off: scripts exit on an error instead of returning to the top-level like interactive shells. * 30800: Michal Halenka: Completion/Unix/Command/_arping: fix option. 2012-11-12 Oliver Kiddle * 30795: Completion/Unix/Command/_xz, Completion/Unix/Command/_bzip2: new xz completion, new bzip2 options * 30794: Completion/Unix/Command/_irssi, Completion/Unix/Command/_mutt: update for new options 2012-11-11 Oliver Kiddle * 30793: Completion/Unix/Command/_getent, Completion/Unix/Command/_iconv, Completion/Unix/Command/_ldd: account for eglibc in _pick_variant patterns 2012-11-08 Bart Schaefer * 30786: Src/builtin.c: do not enter interactive history editing or command execution if "fc" is called from a ZLE widget. 2012-11-08 Peter Stephenson * 30783: Src/lex.c: we don't want leading "="'s to be active when tokenising strings that aren't going to be treated as command line arguments. * 30780: Doc/Zsh/builds.yo: document that set -o failures are hard but setopt failures are soft. 2012-11-07 Oliver Kiddle * Benjamin R. Haskell: 30737: Completion/Unix/Command/_git: make custom completion functions for git aliases easier * users/17382: Completion/Unix/Type/_remote_files, Completion/Unix/Command/_vim, Completion/Unix/Command/_git, Completion/Unix/Type/_urls: complete URLs for vim and make _remote_files more consistent with _files 2012-10-25 Peter Stephenson * 30735: Src/parse.c: array assignments aren't simple because they can contain process substitutions. 2012-10-19 Peter Stephenson * Roman Kaminski: 30738: Completion/Unix/Command/_bzr: send command. * Greg Bouzakis: 30741: Completion/Unix/Command/_systemd: add suspend command. * unposted: Doc/Zsh/expn.yo: further splitting clarifications. 2012-10-18 Peter Stephenson * 30740: Doc/Zsh/expn.yo: add example of process substitution with anonymous function. * c.f. users/17330: Doc/Zsh/expn.yo: fix reference to splitting rule in parameter expansion rules. 2012-10-11 Peter Stephenson * 30726: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/init.c, Src/options.c, Src/parse.c, Src/signals.c, Src/zsh.h, Src/Modules/parameter.c, Test/B07emulate.ztst: extend 30722 to handle the case where shell options passed to the emulate command need propagating to sticky emulation. 2012-10-11 Peter Stephenson * 30724: Src/exec.c, Src/jobs.c: shell code optimised to use execsimple() doesn't have a valid thisjob. 2012-10-09 Peter Stephenson * users/17318: Src/Zle/zle_utils.c: don't increment the undo change number for every variable read, only the first in a row. * users/17314: Src/Zle/zle_utils.c: ensure an undo change number uniquely specifies a point in editing history by incrementing the value returned by the variable. * unposted: Src/builtin.c: fix trivial typo with "functions +T". 2012-10-07 Peter Stephenson * 30722: Src/builtin.c, Src/exec.c, Src/init.c, Src/options.c, Src/Modules/parameter.c, Test/B07emulate.ztst: fix some cases where options or emulations were not propagated properly from the emulate command. * 30718: README, Doc/Zsh/builtins.yo, Src/builtin.c, Test/C04funcdef.ztst: emulate command evaluations should apply sticky emulation to autoloads, too. 2012-10-07 Oliver Kiddle * unposted: Completion/Unix/Command/_webbrowser, Completion/Unix/Type/_pspdf: add evince, zathura, dwb * 30714: Completion/X/Command/_xclip: complete files,-t,-f for xclip 2012-10-05 Peter Stephenson * 30716: Src/options.c: IGNORECLOSEBRACES should be an emulation option since it changes what syntax is valid. * 30715: Src/init.c, Src/lex.c, Src/parse.c, Src/subst.c, Src/zsh.h, Src/Zle/zle_tricky.c: use a named enum for lexical tokens. 2012-10-03 Peter Stephenson * users/17305: Doc/Zsh/expn.yo: fix documentation for ordering of word splitting and improve (z) and (Z) documentation. * users/17310: Doc/Zsh/params.yo, Src/lex.c, Test/A04redirect.ztst, Test/D06subscript.ztst: back off users/17304 owing to problem with [ command, document problem, and test the case that needs to work. 2012-10-02 Peter Stephenson * users/17304: Src/lex.c, Test/D06subscript.ztst: angle brackets aren't associated with special parsing inside square brackets. 2012-09-30 Peter Stephenson * Aaron Schrab: 30712: .editorconfig: multi-editor specification of editing formats. * Aaron Schrab: 30711: Completion/Unix/Type/_bind_addresses: improved IPv6 completion. * Aaron Schrab: 30710: Completion/Unix/Command/_perldoc: updates. 2012-09-29 Frank Terbeck * Seth House: 30702: Doc/Zsh/contrib.yo, Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Removed --debug flag from the hg vcs_info backend * Seth House: 30701: Misc/vcs_info-examples: Added an hg hook example to restore the 40-char hash * Baptiste Daroussin: 30703: Functions/VCS_Info/Backends/VCS_INFO_detect_fossil: Fix fossil detection on unix 2012-09-28 Oliver Kiddle * 30697: Completion/Unix/Command/_dbus: new completion definition 2012-09-21 Peter Stephenson * 30692: Completion/Unix/Type/_path_files, Doc/Zsh/builtins.yo, Src/builtin.c: allow autoload +X -m to work; change _path_files so it works on that. 2012-09-21 Peter Stephenson * 30687 (typo fixed): Doc/Zsh/params.yo, Src/jobs.c: don't REPORTTIME if zleactive (but time keyword is allowed). 2012-09-15 Peter Stephenson * Александр Балезин: 30667: Completion/Unix/Command/_ip: add addrlabl subcommand. 2012-09-11 Peter Stephenson * unposted: NEWS: refer to some newly added features. * 30647, 30649: Doc/Zsh/arith.yo, Src/math.c, Src/utils.c, Test/C01arith.ztst: allow underscores in numeric constants within math evaluation. 2012-09-09 Peter Stephenson * Jun T.: 30664: configure.ac: fix some Yodl version issues. 2012-09-08 Peter Stephenson * users/17236: Src/builtin.c: r and other fc output didn't unmetafy when listing to a file other than stdout. 2012-09-06 Peter Stephenson * 30656: Src/math.c: treat dividing by -1 the same as multiplying by it to get around SIGFPE. 2012-09-05 Peter Stephenson * Jun T.: 30658: Completion/Unix/Command/_uniq: more options. * Silas Silva: users/17223: Completion/Unix/Command/_lp: page-ranges option. 2012-09-03 Peter Stephenson * users/17213: Completion/Base/Completer/_user_expand, Doc/Zsh/compsys.yo: allow REPLY to pass a description for an expansion. 2012-08-27 Peter Stephenson * Oliver (olipro): 30643: Completion/Linux/Command/_ipset: completion update. 2012-08-25 Peter Stephenson * John Stahara: 30641: Src/Zle/zle_keymap.c: bindkey -N error report is misleading when copying keymap. 2012-08-23 Peter Stephenson * Jun T: 30640 (plus additional comment): Src/zsh.h, Src/compat.c: MacOS doesn't define __STDC_ISO_10646__ but we need the replacement wcwidth() anyway. 2012-08-23 Peter Stephenson * Aaron Schrab: 30636: Completion/Unix/Command/_telnet: telnet-ssl options. * Aaron Schrab: 30637: Completion/Unix/Command/_telnet: -b option * Aaron Schrab: 30638: Completion/Unix/Command/_telnet: IPv4 and IPv6 options. 2012-08-21 Peter Stephenson * users/17211: Completion/Unix/Type/_files, Doc/Zsh/compsys.yo: new recursive-files style. * 30633: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/options.c, Src/subst.c, Src/zsh.h: "functions -T" traces only marked function and not called functions unless also marked. 2012-08-20 Peter Stephenson * Stepan Koltsov: 30634: Functions/Misc/zmv: use (q-) quoting for output for clarity. 2012-08-17 Peter Stephenson * Stepan Koltsov: 30632 (https://raw.github.com/stepancheg/zsh/bfa81caaac44dacfa05adb77f61526ea90346219/Completion/Unix/Command/_clay): Completion/Unix/Command/_clay, Completion/Unix/Command/.distfiles: new completion. * Stepan Koltsov: 30632 (https://github.com/stepancheg/zsh/commit/b0f1427e4983be6dfdc07ccaf86f153d5f9959b9.patch): Completion/Unix/Command/_gcc: aliases and clang-specific flags. * 30629 plus unposted formatting improvements: Doc/Zsh/builtins.yo, Src/Builtins/rlimits.c: more complete handling for socket buffer size limit (NetBSD) plus formatting and consistency changes (kb -> kbytes everywhere in ulimit output, K-bytes to kilobytes everywhere in documentation). * 30627: configure.ac, Doc/Zsh/builtins.yo, Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c: support RLIMIT_NTHR as on NetBSD. 2012-08-16 Peter Stephenson * 30619: Doc/Zsh/builtins.yo, Src/builtin.c, Test/B02typeset.ztst: repeat "typeset -T" with same two first arguments is not an error. * 30617: Src/prototypes.h, Src/zsh_system.h: rationalise replacement of tgoto() prototype which could appear twice inconsistently. 2012-08-14 Peter Stephenson * unposted: Etc/relnote_5.0.0.txt, Etc/.distfiles: add. * unposted: Etc/Changelog-4.3, Etc/ChangeLog-5.0, Etc/.distfiles: rename 2012-08-13 Peter Stephenson * unposted: ChangeLog, Etc/ChangeLog-5.0: move changes up to 5.0 into subdirectory. * Michal Halenka: 30608: Completion/Unix/Command/_ip: del rather delete tunnel. 2012-08-13 Peter Stephenson * Jesse Weinstein: 30607: Doc/Makefile.in: fix ancient dependency problem with moved Yodl files. * Aaron Schrab: 30604: Src/Zle/zle_move.c: make repeating vi skip character useful by ignoring character just matched. * Aaron Schrab: 30603: Src/Zle/zle_move.c: repeating vi skip characters commands caused bad positioning. 2012-08-07 Peter Stephenson * cat_in_136: 17200: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_lha, Completion/Unix/Command/_nkf: new completions. nkf is a Kanji code converter. * YAMAMOTO Takashi: 30599: Src/compat.c, Src/zsh.h: don't use the replacement wcwidth if not ISO-10646 as the assumptions it makes probably won't work. 2012-07-27 Peter Stephenson * 30590: Doc/Makefile.in, Doc/.distfiles: work around problem turning intro.ms into PDF. * unposted: relabel as 5.0.0-dev-0. 2012-07-23 Geoff Wing * unposted: Doc/Zsh/ftp_sites.yo: Remove unavailable sites 2012-07-21 Peter Stephenson * unposted: update for 5.0.0 release.