2005-12-10 Peter Stephenson * 22069: Src/Zle/complist.c: completion listings didn't get unmetafied. 2005-12-10 Clint Adams * 22068: Completion/Debian/Command/_debdiff: completion for debdiff. 2005-12-09 Wayne Davison * unposted: Src/Modules/newuser.c: fixed return-without-value compiler warning. 2005-12-09 Oliver Kiddle * Completion/Unix/Command/_surfraw, Completion/Unix/Command/_arp, Completion/Unix/Command/_joe, Completion/Unix/Command/_quilt, Completion/Debian/Command/_mergechanges: reindent and use lowercase letters for descriptions * unposted: Completion/Unix/Command/_mh: better completion for sortm * unposted: configure.ac: require autoconf 2.53b 2005-12-09 Clint Adams * 22065: Functions/TCP/tcp_read: cope with TCP output that starts with "--". 2005-12-09 Peter Stephenson * 22058: NEWS, Doc/Zsh/roadmap.yo: tweak docs for release. * 22057: Doc/Zsh/mod_newuser.yo, Src/options.c, Src/Modules/newuser.c: make it explicit that zsh/newuser isn't used during emulation. 2005-12-07 Peter Stephenson * 22056: Functions/MIME/zsh-mime-handler: restore original default settings for current-shell and never-background styles. 2005-12-07 Clint Adams * 22054: Completion/Linux/Command/_fusermount: completion for fusermount. * 22055: Completion/Linux/Command/_sshfs: completion for the FUSE sshfs. 2005-12-06 Peter Stephenson * 22053: Etc/FAQ.yo, Functions/Newuser/zsh-newuser-install: minor FAQ addition plus improved documentation for options and parameters in zsh-newuser-install. 2005-12-05 Clint Adams * Micah Anderson: 22052: Completion/Unix/Command/_surfraw: improvements to surfraw completion. 2005-12-05 Oliver Kiddle * 22050: configure.ac, Completion/Unix/Command/_mount, Completion/Unix/Command/_sysctl, Completion/Unix/Type/_locales: fixes for Debian GNU/kfreebsd * 21712: Completion/Unix/Command/_date: include fallback for where $OSTYPE is not matched 2005-12-04 Bart Schaefer * unposted (cf. users/9744): Functions/Zle/keeper: call _expand_word from _expand_word_and_keep so that completion context is not changed; add most-specific zstyle necessary to identify the all-expansions group within _expand_word_and_keep. 2005-12-03 Peter Stephenson * 22049: Src/init.c: "exit" within sourced file within shell function caused return from sourced file but execution of function continued. 2005-11-30 Wayne Davison * unposted: Src/Zle/zle_misc.c: fixed parsedigit() to have it use its arg instead of "lastchar". * unposted: configure.ac: changed the hard-wired "grep -E" into $EGREP (which is defined by AC_PROG_EGREP). 2005-11-29 Clint Adams * 22046: Completion/Unix/Command/_rar: descriptions for unrar commands, some additional switches. * 22042: configure.ac: handle the Hurd's errno.h. 2005-11-29 Geoff Wing * unposted: Src/utils.c: fix prototype generation for non multibyte compilation 2005-11-25 Peter Stephenson * 22031: Nikolai Weibull: Completion/Unix/Command/_git: new completion function. * 22028: Src/exec.c: WARN_GLOBAL_CREATE warned when temporarily altering a global in the environment of a builtin or shell function. * 22027: Functions/Newuser/zsh-newuser-install: fix multiple compinstall lines; suggest selecting emacs keymap slightly more forcefully; ensure recommended selections are saved if not edited; trap bad keymap names; don't show initial explanatory screen if rerun explicitly by user; fix message about copying old .zshrc. 2005-11-25 Oliver Kiddle * 22022: Completion/Debian/Command/_dchroot: completion for dchroot 2005-11-24 Peter Stephenson * 22021: Functions/Zle/insert-unicode-char: back-to-back insertions didn't work. * 22018: INSTALL, Functions/Newuser/zsh-newuser-install: tweak following suggestions from Bart. * 22014: Doc/Zsh/Contrib.yo, Doc/Zsh/zle.yo, Functions/Zle/.distfiles, Functions/Zle/insert-unicode-char, Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_misc.c: internal widget argument-base sets numeric base for next prefix argument, widget insert-unicode-char uses this to insert Unicode character by \U........ 2005-11-23 Peter Stephenson * 22013: INSTALL, NEWS, Completion/compinstall, Functions/Newuser/zsh-newuser-install: initial go at a working zsh-newuser-install function. 2005-11-22 Clint Adams * 22012: Completion/Debian/Command/_mergechanges: completion for mergechanges. 2005-11-22 Peter Stephenson * Mårten Svantesson : 22011: Completion/Unix/Command/_cvs: the -R options is more generally available. 2005-11-21 Peter Stephenson * 22009: Src/Zle/zle_refresh.c: fix for double-width characters: stop when we reach the NULL at the end of the new line. 2005-11-18 Wayne Davison * users/9690: Completion/Unix/Command/_ssh: improved Hannu's completion code to handle multiple hostnames per "Host" directive and to skip wildcard-containing names. * unposted: Src/Zle/zle_tricky.c: got rid of two unneeded casts. 2005-11-18 Peter Stephenson * users/9688: Completion/Unix/Command/_ssh: improved _ssh_hosts from Hannu Koivisto ; also rationalise reference to hosts to "remote host name". 2005-11-17 Clint Adams * 22005: Completion/Unix/Command/_flasher: completion for flasher utility for Nokia 770 Internet Tablet. 2005-11-15 Wayne Davison * unposted: Src/Zle/zle_misc.c: Got rid of some compiler warnings about comparisons between signed and unsigned variables. * 22001: Src/hashtable.c, Src/input.c, Src/loop.c, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complist.c, Src/Zle/compresult.c, Src/Zle/zle_hist.c, Src/Zle/zle_misc.c, Src/Zle/zle_params.c, Src/Zle/zle_thingy.c, Src/init.c, Src/zsh.h, Src/utils.c, Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: Changed several functions and vars from using unsigned char pointers to normal char pointers, removing a bunch of forced casts in the code. 2005-11-13 Oliver Kiddle * unposted: Completion/X/Command/qiv: fix completion of -F option 2005-11-11 Clint Adams * 21999: Completion/Unix/Command/_gnutls: completion for certtool and srptool. * 22000: Completion/Unix/Command/_totd: completion for totdconfig. 2005-11-10 Clint Adams * 21998: Completion/Unix/Command/_gnutls: completion for gnutls-cli and gnutls-cli-debug. 2005-11-10 Bart Schaefer * 21994: Completion/Unix/Command/_sed: use correct semantics for arguments of the -e -f -i and -l options. May need further tweaks for non-GNU seds. 2005-11-07 Clint Adams * 21989: Completion/Debian/Command/_dpkg-cross: completion for dpkg-cross. * 21990: Completion/Debian/Command/_toolchain-source: completion for tpkg-debarch, tpkg-install, tpkg-install-libc, tpkg-make, and tpkg-update. 2005-11-07 Peter Stephenson * unposted: NEWS: note roadmap. * 21986: Src/Zle/compresult.c, Src/Zle/iwidgets.list, Src/Zle/zle.h, Src/Zle/zle_misc.c: make completion suffix system work with wide characters; also make magic-space behave like a normal space when it follows a suffix. * users/9638: Src/builtin.c, Doc/Zsh/builtins.yo, Doc/Zsh/roadmap.yo: allow FCEDIT to default to EDITOR before defaulting to the builtin default; mention edit-command-line in menu in roadmap. Also (unposted) indicate roadmap in detailed texinfo node listing even though it doesn't have subentries. 2005-11-06 Peter Stephenson * Scott Murray : users/9648: Completion/Redhat/Command/_yum, Completion/Redhat/Command/.distfiles: new yum completion. 2005-11-05 Clint Adams * 21987: Completion/Unix/Command/_cplay: completion for cplay. * 21988: Completion/Debian/Command/_dput: fix "simulare" typo. 2005-11-04 Peter Stephenson * users/9618 modified as suggested in users/9621: Doc/Zsh/expn.yo, Src/hist.c: extend history substitution to allow trailing :G for global. 2005-11-02 Andrey Borzenkov * 21978: Src/Modules/stat.c: unmetafy file name before calling system (l)stat 2005-11-02 Peter Stephenson * 21974: Src/params.c: memory leak with tied parameters. * users/9610: Src/Zle/zle_misc.c: Handle digit argument in copy-prev-word and copy-prev-shell-word. * 21973: Src/Zle/zle_misc.c: idigit() test in digitargument() had reversed sense. 2005-11-01 Peter Stephenson * 21971: Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c: rewrite pfxlen() for multibyte characters. 2005-11-01 Peter Stephenson * users/9604: Functions/Misc/run-help: enhanced to strip quotes from argument if necessary. * 21967 (documentation tweaked): Doc/Zsh/expn.yo, Src/subst.c: ${(#)foo} uses matheval to produce characters. 2005-10-31 Wayne Davison * 21949 (modified): Src/zsh.h, Src/Zle/zle.h, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: Changed (in non-multibyte mode) ZLE_CHAR_T to be "char" (not int) and ZLE_STRING_T to be "char *" (not "unsigned char *"), including some related type changes (e.g. zle_text) and code improvements. * 21962: Src/utils.c, Src/ztype.h, Src/Modules/zftp.c, Src/Modules/zselect.c, Src/Zle/zle.h, Src/Zle/zle_move.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c: a bunch of fixes for iTYPE()/isTYPE() problems, e.g. avoiding using isTYPE() on a char value (which is undefined) and avoiding using normal isTYPE() functions on wide-character values. * unposted: Src/Zle/deltochar.c, Src/Zle/zle_move.c, Src/Zle/zle_utils.c: Fixed some compiler warnings about signed/unsigned comparisons. * unposted: Src/Modules/files.c, Src/Modules/mathfunc.c, Src/Modules/zutil.c, Src/Zle/computil.c: use idigit() instead of range-checking '0' - '9'. 2005-10-31 Clint Adams * 21960: R. Ramkumar: Functions/Misc/zcalc: put zcalc history file in ZDOTDIR if set. 2005-10-30 Peter Stephenson * unposted: Doc/Zsh/roadmap.yo: capitalize section headings to be consistent and add note on default history size. * 21957: Src/Zle/zle_refresh.c: more wide character stuff. * 21954 (plus comment): configure.ac: use /dev/fd/3 to check for availability of feature (works around FreeBSD 5 configuration). 2005-10-28 Wayne Davison * 21948: Src/zsh.h, Src/Zle/zle_refresh.c: fixed a couple compiler warnings about comparing signed & unsigned values. The latter change should also remove a potential problem of using WEOF without multibyte support being enabled. 2005-10-28 Clint Adams * 21946, 21947: Completion/Unix/Command/_gcc: update options for ia32, amd64, and sparc. 2005-10-28 Peter Stephenson * unposted: Src/Zle/zle_keymap.c: missed this out. * 21943, 21945: configure.ac, Src/prompt.c, Src/string.c, Src/system.h, Src/utils.c, Src/zsh.h, Src/Zle/complist.c, Src/Zle/compmatch.c, Src/Zle/compresult.c, Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c: Replace ZLE_UNICODE_SUPPORT by MULTIBYTE_SUPPORT throughout. Use multibyte versions of "nicechar" functions wherever possible. * 21942: Src/Zle/zle_refresh.c: another bug found when deleting an extra-wide character. 2005-10-26 Peter Stephenson * 21939: Src/Zle/zle_thingy.c: new UNMETACHECK() was too ruthless. 2005-10-26 Peter Stephenson * 21936: Src/Zle/zle_refresh.c: fix one bug when deleting an extra-wide character. 2005-10-25 Peter Stephenson * 21935: Documentation for 21933. * 21933: R. Ramkumar : Functions/MIME/zsh-mime-handler, Functions/MIME/zsh-mime-setup: add three styles to the MIME system. 2005-10-24 Peter Stephenson * 21931: 21913 means _hosts shouldn't complete for ping. * 21930: Src/Zle/zle_refresh.c: handle extra-wide characters at end of line by adding spaces. 2005-10-24 Clint Adams * 21912: Src/Modules/cap.c: silence unused parameter compile warnings. * 21913: Completion/Unix/Command/_ping: completion for ping. 2005-10-23 Bart Schaefer * unposted: Src/prompt.c: fix --disable-multibyte compile error introduced by 21906. 2005-10-23 Peter Stephenson * 21910: abnormal return from insertlastword() didn't unmetafy the line; add extra UNMETACHECK() to pick up problems early from zle within widget. 2005-10-21 Peter Stephenson * 21906: Src/prompt.c, Src/zle_refresh.c: use modified multibyte truncation code for single byte truncation, fixing a bug with long truncation indicators; remove a couple of outmoded TODOs. * Spotted by Mikael Magnusson, 21905: Doc/Zsh/roadmap.yo: typos. 2005-10-21 Clint Adams * 21902: Completion/Unix/Command/_xmlsoft: update for xmllint 2.6.22. 2005-10-21 Peter Stephenson * 21899: Doc/.distfiles, Doc/Makefile.in, Doc/zsh.yo, Doc/zshroadmap.yo, Doc/Zsh/.distfiles, Doc/Zsh/intro.yo, Doc/Zsh/invoke.yo, Doc/Zsh/manual.yo, Doc/Zsh/roadmap.yo: Add "roadmap" section to manual for new users to get acquainted. * 21898: Functions/Zle/insert-composed-char, Doc/Zsh/contrib.yo: insert-composed-char can take a command line argument. 2005-10-19 Wayne Davison * unposted: Src/Zle/zle_refresh.c: fixed a compiler warning. 2005-10-19 Peter Stephenson * 21891: Functions/Zle/define-composed-chars, Doc/Zsh/contrib.yo: double width characters can be composed with ^A etc. * 21890: Src/builtin.c, Src/prompt.c, Src/zle_utils.c: allocation inconsistencies in print builtin, segmentation error with left prompt truncation from 21882, warning about variable signedness in zle_utils.c. * 21887: Src/Zle/zle_refresh.c: attempt to display wide characters wider than one screen cell properly. 2005-10-19 Peter Stephenson * 21885: Src/Zle/zle_refresh.c: Convert some large macros into functions. 2005-10-19 Peter Stephenson * 21882: Src/prompt.c, Src/utils.c, Test/D01prompt.ztst: extend prompt truncation to handle multibyte characters. 2005-10-17 Bart Schaefer * 21880: Completion/compinit: explicitly set IFS to the usual default string, plus carriage return, in case the surrounding environment has messed with it or a file with CRLF line breaks needs to be parsed. 2005-10-17 Peter Stephenson * unposted: Functions/Zle/define-composed-chars, Doc/Zsh/contrib.yo: a few more miscellaneous composable symbols. 2005-10-14 Wayne Davison * unposted: Etc/FAQ.yo: Tweaked the precmd that works like PROMPT_SP so that it outputs "%#" like PROMPT_SP now does. 2005-10-13 Peter Stephenson * 21872: Src/jobs.c: job table wasn't cleared properly in subshells, possibly causing shell to hang; more efficient search for free job entry; don't record current job for use in saved job table. * 21871: Src/exec.c, Src/glob.c, Src/params.c, Src/subst.c, Src/utils.c, Src/zsh.h, Src/ztype.h, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle_tricky.c: replace INULL() with more sensible inull() macro. * 21869: Src/prompt.c, Src/complist.c: fix multibyte characters in %-substitutions and output of invalid multibyte characters in completion listings. * 21870: Src/zsh.h: definition of INULL() in 21862/21863 was too liberal, causing problems with output of certain characters e.g. Cyrillic UTF-8. 2005-10-11 Peter Stephenson * 21862/21863: Src/glob.c, Src/lex.c, Src/pattern.c, Src/subst.c, Src/zsh.h, Test/D04parameter.ztst, Test/ztst.zsh: Ensure that backslashes in parameters substituted by GLOB_SUBST are not swallowed up if there is no pattern match. 2005-10-07 Peter Stephenson * Stephen Rüger: 21846: Completion/Unix/Command/_chmod: too greedy looking for r, w, x, s, t in initial arguments to chmod. 2005-10-04 Bart Schaefer * 21822 (annotated): Src/Zle/complist.c: prevent a long-standing infinite loop when redrawing the listing during menu-selection with a very narrow window. * 21821: Src/Zle/complist.c: fix infinite loop when multibyte support is disabled, introduced by 21784. 2005-10-03 Peter Stephenson * 21809: Src/utils.c: need to export nicedup() for --disable-multibyte in zle. * 21790: INSTALL, NEWS, README: add some documentation about the 4.3 release. 2005-10-02 Peter Stephenson * 21802: Src/Zle/complist.c, Src/Zle/compmatch.c, Src/Zle/zle_main.c: attempt to prevent matches ending in the middle of multibyte characters, also some minor tidy-ups. * unposted, c.f. 21799: Doc/Zsh/func.yo: documentation for returns from TRAPNAL functions was wayward. 2005-10-01 Wayne Davison * unposted: Src/utils.c: changed PROMPT_SP to use the prompt- escape "%#" (as Bart suggested) instead of a hard-wired "#". 2005-09-29 Peter Stephenson * 21784: Src/utils.c, Src/Zle/complist.c, Src/Zle/compresult.c, Src/Zle/zle.h, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: Use correct character lengths and widths for formatted character output. 2005-09-28 Clint Adams * 21781: Completion/Unix/Command/_iconv: cope with `iconv --list` output from glibc 2.3.5. * 21780: Completion/Debian/Command/_dlocate: completion for dlocate. 2005-09-28 Peter Stephenson * 21779: Doc/Zsh/contrib.yo, Functions/Exceptions/throw, plus unposted Functions/Exceptions/catch: improvements from Bart in users/9452 plus clarifications to documentation. 2005-09-28 Clint Adams * 21778: Completion/Debian/Command/_piuparts: completion for piuparts. 2005-09-27 Bart Schaefer * 21770: Src/Zle/zle_keymap.c: tweak 21760 so binding XYA in a local keymap does not prevent bindings X or XY in the global keymap from being chosen (upon key timeout). 2005-09-27 Peter Stephenson * 21769: Src/utils.c, Src/Zle/complist.c: fix some consequences of 21730 in completion lists. 2005-09-27 Clint Adams * Vincent Lefevre: 21767: Completion/Unix/Command/_subversion: add ~ to the default svn status pattern. 2005-09-26 Peter Stephenson * 21764: Src/Zle/zle_hist.c: unmetafication mangled history lines in zle. * unposted: Doc/Zsh/redirect.yo: alter text referring to process substitutions slightly. 2005-09-26 Clint Adams * 21763: Completion/Unix/Command/_baz: remove stray underscore. 2005-09-24 Bart Schaefer * 21760: Src/Zle/zle_keymap.c: fix test for sequence prefixes in the local keymap in getkeymapcmd(). * unposted: Functions/Misc/zargs: add range-checking of numeric options. 2005-09-23 Peter Stephenson * 21758: Doc/Zsh/expn.yo, Src/exec.c: optimise =(<<<...) to replace an argument by a filename containing it within the shell. 2005-09-22 Peter Stephenson * unposted, c.f. 21752: Doc/Zsh/contrib.yo, Functions/Zle/.distfiles, Functions/Zle/defined-composed-chars, Functions/Zle/insert-composed-char: add some alphabets to insert-composed-chars. 2005-09-22 Clint Adams * Stephen Rueger: 21744: Src/prompt.c: unconditionally assume that \t or \n are not part of multi-byte characters. 2005-09-20 Clint Adams * 21740: Completion/Unix/Command/_quilt: completion for quilt. 2005-09-20 Wayne Davison * 21739: Src/utils.c: made PROMPT_SP work properly even when PROMPT_PERCENT is not set (as it is not when running as "sh"). 2005-09-20 Peter Stephenson * unposted: Src/utils.c: screwed up iident() test in wcsiident(). * 21737: Src/utils.c: unmetafy wordchars before looking for multibyte characters. * 21736: Src/init.c, Src/params.c, Src/pattern.c, Src/utils.c, Src/Zle/zle.h, Src/Zle/zle_main.c: Fix WORDCHARS to use multibyte characters; rationalise test for identifiers only to use ASCII characters; remove existing hack for 8-bit characters. 2005-09-19 Peter Stephenson * unposted, c.f. 21735: Doc/Zsh/grammar.yo: document that return at the top level of a script behaves like exit in a try-block. 2005-09-17 Peter Stephenson * 21731: Src/prompt.c, Src/Zle/zle_refresh.c: count multibyte characters and their widths properly in prompts. * 21730: Src/builtin.c, Src/utils.c: nicechar(), used in prompts and other forms of formatted output, didn't return a metafied string with confusing results. Also outputting pwd didn't unmetafy it in one place. 2005-09-14 Doug Kearns * unposted: Completion/Unix/Command/_rake: update for version 0.6.0 2005-09-13 Clint Adams * 21718: Completion/Unix/Command/_bzr: complete files after bzr's first argument until the bzr shell-complete stuff is improved. 2005-09-09 Peter Stephenson * 21722: Src/utils.c, Src/Zle/zle.h, Src/Zle/zle_misc.c, Src/Zle/zle_word.c: fix broken transpose-words and improve word character detection by assuming non-ASCII characters are word characters if and only if alphanumeric. 2005-09-09 Peter Stephenson * 21720: Src/Zle/zle_main.c: getrestchar() from 21709 didn't return properly. * d'après 21719: Src/builtin.c, Src/init.c, Src/params.c: Add some mod_exports. * 21717: Src/Zle/zle_misc.c: where-is and execute-named-command didn't work with multibyte support because the remainder of the character wasn't read properly. * 21709 plus tweaks: Doc/Zsh/zle.yo, Src/builtin.c, Src/init.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_vi.c: Use $KEYTIMOUT for bytes after the first in a multibyte character. Reset input state on invalid character or EOF. 2005-09-07 Clint Adams * 21704, 21705: Completion/Unix/Command/_date: completion for Solaris, FreeBSD, and OpenBSD. 2005-09-06 Clint Adams * 21703: Completion/Unix/Command/_bzr: completion for bzr 0.0.7. 2005-09-06 Peter Stephenson * 21701: Src/params.c, Test/D06subscript.ztst: negative offsets that indexed before the start of a scalar weren't handled properly. 2005-09-05 Peter Stephenson * 21698: Jean-Baptiste Quenot: Completion/Unix/Command/_ant: recursive completion could change directory. 2005-09-02 Clint Adams * 21696: Completion/Unix/Command/_date: completion for GNU date. 2005-09-02 Peter Stephenson * 21695: Doc/Zsh/expn.yo: rewrite entry for u globbing flag. * 21693: Jean-Baptiste Quenot: Completion/Unix/Command/_ant: recursively find targets. 2005-08-31 Clint Adams * 21686: Completion/Debian/Command/_make-kpkg: modernize make-kpkg completion. * 21692: Completion/Unix/Command/_baz: remove set-tree-version, fix tree-version, add tree-id. 2005-08-31 Peter Stephenson * users/9359: Francisco Borges: Completion/X/Command/_gv: completion of ps and PDF files was broken for gv. 2005-08-25 Clint Adams * 21683: Completion/X/Command/_urxvt: more fixes to urxvt completion. 2005-08-23 Clint Adams * 21682: Completion/Unix/Command/_subversion: handle usage output of commands with [0-9]. alternatives, and actually parse that output again. 2005-08-22 Wayne Davison * unposted: Doc/Makefile.in: An even better fix than the one from 21677: we now avoid more cases of lost characters due to yodl not escaping start-of-line apostrophes. 2005-08-22 Peter Stephenson * 21678: Src/params.c, Test/D04parameter.ztst: unsetting tied parameters was fraught with crashes. * 21676: Doc/zmacros.yo, Doc/Zsh/contrib.yo, Functions/Zle/.distfiles, Functions/Zle/insert-composed-char, Functions/Zle/insert-unicode-char: insert-unicode-char is now insert-composed-char and uses RFC 1345 for composing characters. 2005-08-22 Geoff Wing * unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: update some mirror site information 2005-08-19 Wayne Davison * 21677: Doc/Makefile.in: Filter apostrophes in the \fB...\fP headers of the nroff output since it appears that yodl is not properly escaping them. 2005-08-18 Andrey Borzenkov * 21663: Src/Zle/complete.c: check for string overflow in do_comp_vars() * 21664: Src/Zle/compcore.c, Src/Zle/compresult.c: unmetafy argument in ztat() before calling (l)stat 2005-08-18 Peter Stephenson * unposted: Doc/Zsh/contrib.yo, Functions/Zle/insert-unicode-char: cent is now p % to avoid duplication. * 21662: Doc/Zsh/contrib.yo, Functions/Zle/insert-unicode-char: compose and insert a Unicode character using two-key codes. * 21661: Src/glob.c: variable in 21655 shouldn't be static. 2005-08-18 Peter Stephenson * 21655: Src/glob.c, Test/D04parameter.ztst: replacing multiple matches where the replacement string itself came from a match could get confused. 2005-08-17 Wayne Davison * 21654: Src/string.c, Src/utils.c: Marked some ifdef/endif lines as exportable to fix a compile bug when ZLE_UNICODE_SUPPORT is not defined. * unposted: configure.ac, aczsh.m4: Use AC_HELP_STRING macro in all AC_ARG_ENABLE and AC_ARG_WITH macros. 2005-08-16 Wayne Davison * 21629: configure.ac, Src/system.h: moved the optional definition of ZLE_UNICODE_SUPPORT into configure, and added support for the new --enable-multibyte and --disable-multibyte configure options. * 1/2 of 21644: Src/Zle/complete.c: fixed bug in do_comp_vars() when the first char in compprefix is metafied. 2005-08-16 Andrey Borzenkov * 21642: Src/Zle/compcore.c: cleanup for 21627, remove redundant checks 2005-08-16 Clint Adams * 21631: Src/Zle/compcore.c: make sure an unmetafied string is passed to ztat to determine file type. 2005-08-15 Andrey Borzenkov * 21622: Src/Zle/zle_refresh.c: metafy line back before calling completion code in zrefresh() * 21627: Src/Zle/compcore.c: unmetafy line back before calling ZLE from within completion code in do_completion() 2005-08-15 Clint Adams * 21619: Src/string.c, Src/utils.c, Src/Zle/zle.h: define wide versions of zarrdup, zputs, niceztrlen. * 21565: Completion/Unix/Command/_man: better handle uncompressed manpages with .[0-9] in their names. 2005-08-15 Wayne Davison * 21609: Src/glob.c: fixed the readlink() call in statfullpath(). 2005-08-15 Felix Rosencrantz * 21611: Completion/X/Command/_mozilla: Added Firefox support. 2005-08-15 Peter Stephenson * c.f. 21616: Src/zle_misc.c: "unmetafy_line" typo. * 21610: Src/system.h, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c, Src/Zle/zle_misc.c: Turn on ZLE_UNICODE_SUPPORT by default where allowed; fix suffix removal; fix metafication when removing suffix by function; fix insert-last-word. 2005-08-14 Bart Schaefer * 21369: Completion/Unix/Command/_cvs: assign to array with builtin stat rather than parsing stdout. * unposted: Functions/Prompts/prompt_bart_setup: more adjustments for the PROMPT_SP option. * 21366: Src/jobs.c: LONG_LIST_JOBS applies to more places where job listing are printed. 2005-08-12 Wayne Davison * 21606: Src/Zle/zle.h: When compiled with gcc, the ZS_str* macros get replaced by inline functions that give us complete compile-time type-checking. For other compilers, the ZS_str* macros now cast the string pointers to char*, which will avoid any warnings about pointer signedness. 2005-08-12 Peter Stephenson * 21603: Src/Zle/zle_utils.c: conversions from wide character to multibyte didn't convert the cursor position properly if it was at the end of the line. * 21412: Travis Spencer: Completion/Unix/Command/_pkg-config: new completion. 2005-08-11 Wayne Davison * unposted: Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c: changed some uses of ZWC() on string literals to use ZWS(). * unposted: Test/B02typeset.ztst: improved the final test to ensure that all the locally-unset environment variables get restored after a function call. This also fixed an interaction with the cleanup code that caused the ztst.* temporary files to not be removed. 2005-08-11 Oliver Kiddle * 21598: Completion/Unix/Command/_subversion: fix typo that broke svn ci completion and avoid problem if LC_ALL overrides LC_MESSAGES * 21571: Completion/Debian/Command/_aptitude: avoid localised translations that break parsing 2005-08-10 Peter Stephenson * 21596: Src/Zle/compresult.c, Src/Zle/zle_tricky.c: more fall out from 21590: run-help, which-command and accept-and-menu-complete were broken. 2005-08-10 Peter Stephenson * 21593: Src/Zle/complist.c, Src/Zle/zle_refresh.c: character arrays wrongly declared with ZLE_UNICODE_SUPPORT. * 21592: Src/Zle/complist.c: attempt to browse a new directory in menu selection caused crash. * c.f. 21590: Src/hist.c, Src/lex.c, Src/utils.c, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complist.c, Src/Zle/compresult.c, Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_params.c, Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: upgrade metafy_line()/unmetafy_line() to take account of wide characters. Add extra conversion where necessary. Also attempt fix for singlerefresh() prompt with ZLE_UNICODE_SUPPORT (untested). 2005-08-10 Wayne Davison * 21579: Thorsten Dahlheimer: Src/builtin.c: Made printf %s handle embedded nuls in its arg. 2005-08-09 Peter Stephenson * 21583: Thorsten Dahlheimer: Src/module.c: extend circularity test of zmodload -A. * 21582: Thorsten Dahlheimer: Src/module.c: failure status of zmodload -R was wrong. * 21578: Thorsten Dahlheimer: Src/mkmakemod.sh: script used not to exit after cleaning up. * 21577 (adapted): Dan Bullok: Src/Zle/zle_main.c, Src/init.c, Src/utils.c: improved 21567 which re-expands the prompt and refreshes but doesn't trash the line editor. 2005-08-08 Wayne Davison * 21580: Thorsten Dahlheimer: Test/C03traps.ztst: disable any pre-existing traps that could interfere with the tests. * 21581: Thorsten Dahlheimer: Src/builtin.c: fixed error output for unknown signal names when using "trap -". * 21581 (modified): Doc/Zsh/builtins.yo: improved "trap" docs. * 21584: Src/builtin.c, Test/B03print.ztst: fixed a bug in printf %b (introduced in the 21552 changes) where a missing arg could not be printed with a zero width. 2005-08-08 Peter Stephenson * 21576: Test/E01options.ztst: test for 21575. * unposted: Src/exec.c: removed unnecessary augment variable from 21575 * 21575 plus unposted changes to Functions/TCP/*: Completion/compinit, Doc/Zsh/options.yo, Functions/TCP/tcp_expect, Functions/TCP/tcp_open, Functions/TCP/tcp_read, Src/exec.c, Src/options.c, Src/params.c, Src/zsh.h: Add WARN_CREATE_GLOBAL option to warn when an assignment in a function creates a global parameter. * 21567: Dan Bullok: Src/utils.c: trash zle when updating window size since otherwise multiline prompts get screwed up. 2005-08-08 Oliver Kiddle * 21570: Completion/Unix/Command/_subversion: complete for the help sub-command * unposted: Completion/Linux/Command/_brctl: new brctl completion * 21566: Tobias Gruetzmacher: Completion/Unix/Command/_darcs: fix to list all repositories 2005-08-07 Clint Adams unposted: Completion/Unix/Command/_mencal: fix syntax error introduced by recent cleanup. 2005-08-02 Peter Stephenson * 21557: Thorsten Dahlheimer: Src/glob.c: BRACE_CCL was broken for character 255. 2005-08-01 Wayne Davison * unposted: Src/builtin.c: silenced a compiler warning. * unposted: Test/B03print.ztst: some slight improvements to the existing no-newline test cases, plus a few more tests. 2005-08-01 Oliver Kiddle * unposted: Completion/Debian/Command/_apt-move, Completion/Debian/Command/_module-assistant, Completion/Debian/Command/_uscan, Completion/Debian/Command/_wajig, Completion/Unix/Command/_cal, Completion/Unix/Command/_ccal, Completion/Unix/Command/_dhclient, Completion/Unix/Command/_fortune, Completion/Unix/Command/_mencal, Completion/Unix/Command/_perforce, Completion/Unix/Command/_pump, Completion/Unix/Command/_surfraw: various cleanups: fix indentation and capitalisation of descriptions * 21393: Completion/Unix/Command/_kvno: add missing local declarations 2005-08-01 Peter Stephenson * 21552: Thorsten Dahlheimer: Src/builtin.c: various fixes to the print builtin. * unposted: Completion/Unix/Command/_perforce: add the as yet undocumented "attribute" command. * 21551: Matthias Kopfermann: FEATURES: file<20-> globbing example is confusing. * 21546: Doc/Zsh/params.yo: document the oddities of subscripts when searching arrays. * 21544: Thorsten Dahlheimer: configure.ac, Src/system.h: ioctl() prototyping was substandard and missing on Cygwin. 2005-07-31 Peter Stephenson * 21553: Doc/Makefile.in, Doc/.distfiles: Create zsh.pdf using texi2dvi to ensure cross-references and indexes are OK; don't distribute PostScript files any more, though they can still be made. 2005-07-29 Wayne Davison * 21548: Completion/Unix/Command/_rsync: Made file completion work after --include-from= and --exclude-from=. 2005-07-28 Peter Stephenson * unposted: Functions/Exceptions/.distfiles: added to archive. * 21541: Src/Zle/zle_hist.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_params.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: remove some warnings from ZLE_UNICODE_SUPPORT. * unposted: Completion/Unix/Command/_perforce: updated for features of Perforce 2005.1 release. 2005-07-28 Doug Kearns * 21540: Completion/Unix/Command/_aap: update aap completion for version 1.076; add target descriptions; search up directory tree for main.aap recipe file if --up is specified 2005-07-26 Wayne Davison * unposted: Src/utils.c, Src/Zle/zle_main.c, Doc/Zsh/options.yo: Moved the PROMPT_SP output into preprompt() so that it takes effect prior to things like precmd, the mail-check output, etc. Also added an inverse hash (#) that helps to distinguish when a partial line was preserved. * 21532: Etc/FAQ.yo: updated the precmd in the prompt- overwriting section to output an inverse hash when we preserve a partial line, to simplify the output (it's all one "print" now), and include a \r at the end (so that the echoing of user-input will be less likely to cause an unintended wrap). 2005-07-26 Clint Adams * 21529: configure.ac, Src/zsh.mdd: move scriptdir to a scripts subdir, and don't include Scripts in fpath. 2005-07-26 Doug Kearns * unposted: Completion/Unix/Command/_rake: declare expl local 2005-07-26 Peter Stephenson * 21527: Functions/Newuser/.distfiles, Functions/Newuser/zsh-install-newuser, Functions/Newuser/zsh-newuser-install, Scripts/newuser: don't use function if it failed to load; rename to zsh-newuser-install in case there are more zsh-newuser-* functions in future. 2005-07-25 Clint Adams * 21526: Completion/Unix/Command/_dhclient: handle dhclient V3 as well as V2. * 21523, 21524: Julius Plenz: Completion/Unix/Command/_dhclient, Completion/Unix/Command/_pump: completions for pump and dhclient. 2005-07-25 Wayne Davison * 21518 (modified): Src/builtin.c, Src/utils.c, Test/B03print.ztst: more collaboration with Thorsten Dahlheimer to change the handling of \c in echo and printf to make it comply with POSIX. 2005-07-25 Doug Kearns * unposted: Completion/Unix/Command/_php: add missing compset -S call when completing directives 2005-07-24 Wayne Davison * unposted: Src/utils.c: improved the function comment for getkeystring(). * 21509: Thorsten Dahlheimer: Src/utils.c, Src/params.c: fixed some issues with \c parsing. * 21501: Thorsten Dahlheimer: Src/Makefile.in: fixed a cygwin install target to make sure the bindir exists. 2005-07-24 Clint Adams * 21519: Completion/Unix/Command/_baz: only complete files after baz commit, not archive/version. * 21517: Completion/Unix/Command/_baz: complete files after build-config if there's a configs subdir, even if one is not in a project tree. * 21510: Config/installfns.sh: use && rather than -a binary test operator. 2005-07-23 Clint Adams * 21505, 21506: Completion/Unix/Command/_rubber: use an array for common arguments rather than an additional function, and use globbing instead of ls and sed. * 21504: Completion/Unix/Command/_xscreensaver, Completion/X/Command/_xscreensaver: move xscreensaver-command completion to the X dir. 2005-07-21 Peter Stephenson * unposted: Completion/Debian/Command/.distfiles, Completion/Unix/Command/.distfiles, Completion/Unix/Type/.distfiles, Completion/X/Command/.distfiles, Doc/Zsh/.distfiles, Functions/MIME/.distfiles, Functions/Newuser/.distfiles, Functions/TCP/.distfiles, Functions/Zle/.distfiles, Scripts/.distfiles, Src/Modules/.distfiles: Bring .distfiles up to date. 2005-07-20 Peter Stephenson * 21500: Makefile.in, Config/installfns.sh, Config/uninstallfns.sh, Functions/Newuser/zsh-install-newuser, Scripts/newuser, Src/Modules/newuser.mdd: Add framework for function to be edited to provide new user startup files. 2005-07-20 Clint Adams * 21499: Doc/Makefile.in: use newer texi2html syntax. 2005-07-20 Peter Stephenson * 21498: configure.ac, Configs/defs.mk.in, Doc/Makefile.in, Doc/Zsh/mod_newuser.yo, Src/init.c, Src/module.c, Src/zsh.mdd, Src/Modules/newuser.c, Src/Modules/newuser.mdd: Add zsh/newuser module, currently with no associated shell code. 2005-07-20 Doug Kearns * unposted: Completion/Unix/Command/_rake: add -s option to _arguments 2005-07-19 Wayne Davison * unposted: Etc/FAQ.yo: revert erroneous 3.0 -> 4.3.0 change. * 21492: Etc/FAQ.yo: a more extensive update to the prompt- overwriting section in light of PROMPT_SP. 2005-07-18 Peter Stephenson * unposted: Etc/FAQ.yo: version in 21490 should be 4.3.0. * 21490: Etc/FAQ.yo: update FAQ to reflect 21464. 2005-07-16 Doug Kearns * unposted: Completion/Unix/Command/_python: escape colons in -W option argument message 2005-07-15 Wayne Davison * 21464: Doc/Zsh/options.yo, Src/zsh.h, Src/options.c, Src/init.c, Src/Zle/zle_main.c: added a new option, PROMPT_SP, designed to save a partial line before the prompt can cover it up (due to PROMPT_CR). 2005-07-15 Doug Kearns * unposted: Completion/Unix/Command/_python: add missing -C option to _arguments; complete script arguments with _normal 2005-07-14 Peter Stephenson * 21466: Src/Modules/files.c: lstat() should be stat() in mkdir -p test (from Fr. Br. George). 2005-07-12 Doug Kearns * 21449: Completion/Unix/Command/_ruby: limit options available to RUBYOPT env variable to -[IdvwrK]; include directories specified with -I in the search path used to generate library matches * 21446 (modified): Completion/Unix/Command/_rake: generate targets for rakefiles in parent directories and those specified with -f; include directories specified with -I in the search path used to generate library matches 2005-07-12 Clint Adams * 21447: Completion/Unix/Command/_rubber: completion for rubber, contributed by Emmanuel Hainry and Emmanuel Beffara. 2005-07-11 Doug Kearns * 21443: Completion/Unix/Command/_rake: new completion for rake * unposted: Completion/Unix/Command/_ruby: fix typo in first normal arg action 2005-07-11 Bart Schaefer * 21428: Travis Spencer: Src/Zle/computil.c: fix null pointer deref on wrong number of arguments to compvalues. 2005-07-10 Bart Schaefer * 21423: Travis Spencer: Completion/Unix/Command/_unexpand: completion for both GNU and Sun/BSD unexpand variants. * unposted: Functions/Misc/allopt: use "set -o" to avoid twaddling the setting of kshoptionprint. 2005-07-10 Clint Adams * 21416: Completion/Unix/Command/_gpg: cope with an equals sign after --keyring. * 21417: Completion/Unix/Command/_xscreensaver: completion for xscreensaver-command. * 21418: Completion/Debian/Command/_madison: completion for madison. 2005-07-08 Peter Stephenson * users/9059: Nikolai Weibull: Completion/Unix/Command/_vim: improved _vim_files. 2005-07-07 Peter Stephenson * users/9049: Completion/Unix/Command/_vim: add variant names of vim, but not yet vi, ex, view. * users/9045: Nikolai Weibull : Completion/Unix/Command/_vim: new completion function. 2005-07-06 Peter Stephenson * 21402: Src/Zle/compmatch.c: Fix crash completing the set of files AIWebKitMessageViewController.m, AIWebKitMessageViewPlugin.m, AIWebkitMessageViewStyle.m with case-insensitive matching. 2005-07-03 Doug Kearns * unposted: Completion/Unix/Command/_w3m: add missing compset -S calls when completing option names and proxy usernames * 21400: Completion/Unix/Command/_ruby: add completion for RUBYOPT, RUBYLIB and RUBYPATH env variables 2005-06-30 Doug Kearns * unposted: Completion/Unix/Command/_links: declare parameter vals local 2005-06-28 Doug Kearns * 21392: Completion/Unix/Command/_w3m: update w3m completion for version 0.5.x; add completion for URLs from the bookmarks file, options, charsets, and proxy authentication 2005-06-28 Peter Stephenson * 21391: Src/jobs.c: Restrict passing of signals from foreground processes to the shell to SIGINT and SIGQUIT (i.e. those generated from the keyboard). This removes some unexpected behaviour with SIGPIPE being passed to the shell. 2005-06-27 Doug Kearns * unposted: Completion/Unix/Type/_urls: complete WWW_HOME, ftp_proxy and https_proxy with URLs 2005-06-27 Peter Stephenson * 21387: Doc/Zsh/contrib.yo: document the precision features in zcalc. 2005-06-26 Clint Adams * 21384: Completion/X/Command/_urxvt: small fixes to urxvt completion. * 21383: nuno alexandre: Completion/X/Command/_urxvt: completion for rxvt-unicode. 2005-06-24 Clint Adams * 21382: Completion/Unix/Command/_kvno: completion for MIT krb5's kvno. 2005-06-24 Oliver Kiddle * 21380: Completion/Linux/Command/_iwconfig, Completion/Linux/Command/_tune2fs, Completion/Unix/Command/_wget, Completion/Linux/Command/_mii-tool: update for wget 1.10, add missing descriptions and other minor improvements 2005-06-24 Doug Kearns * unposted: Completion/Debian/Command/_apt-move: prevent function from returning early and preventing prefix-needed style from working when set to false * 21379: Completion/Unix/Command/_wget: improve --restrict-file-names completion by allowing 'nocontrol' as an argument 2005-06-21 Doug Kearns * 21334: Completion/Linux/Command/_pkgtool: fix typo in -target_dir completion 2005-06-21 Oliver Kiddle * 21317: Src/glob.c, Test/D02glob.ztst: fix bug where recursive glob within e qualifier would hang the shell 2005-06-20 Bart Schaefer * unposted: Functions/Misc/zargs: support -I and -L as synonyms for -i and -l, except that the former require their arguments. Document several differences from POSIX xargs behavior. V 1.4. 2005-06-18 Doug Kearns * 21343: Completion/Unix/Command/_php: update php completion for version 5.0; continue supporting version 4.x via _pick_variant 2005-06-17 Doug Kearns * unposted: Completion/Unix/Command/_darcs: tidy up command descriptions 2005-06-17 Oliver Kiddle * 21352: Harald van Dijk: Src/builtin.c: handle null after % in printf format specifier * unposted: Test/B03print.ztst: add test for 21352 2005-06-16 Clint Adams * 21351: Completion/X/Command/_vnc: complete for xvnc4viewer and xtightvncviewer. 2005-06-14 Clint Adams * 21243: Kazuhiro NISHIYAMA: Completion/Unix/Command/_subversion: complete first option of svn subcmds. 2005-06-13 Bart Schaefer * 21328: Src/init.c: in loop(), avoid preprompt() when not looping at the top level (prevents double precmd call during "fc -e -"). 2005-06-11 Doug Kearns * 21316 (modified): Completion/Unix/Command/_less, Completion/Unix/Type/_ctags_tags: new completion for ctags tags; update less -t completion to use it * 21320: Completion/Unix/Command/_screen: complete -D and -R with the appropriate session types; fix incorrect completion of -c and -dmS options * 21321: Completion/Unix/Command/_antiword: update antiword completion for version 0.36 2005-06-09 Doug Kearns * unposted: Completion/Unix/Command/_less: fix typo in state name 2005-06-08 Doug Kearns * unposted: Completion/Unix/Command/_ant: add missing options specific to the launch script 2005-06-08 Oliver Kiddle * 21315: Completion/AIX/Command/_floppy, Completion/AIX/Command/_lsdev, Completion/AIX/Command/_lslv, Completion/AIX/Command/_lsvg, Completion/AIX/Type/_logical_volumes, Completion/AIX/Type/_object_classes, Completion/AIX/Type/_physical_volumes, Completion/AIX/Type/_volume_groups, Completion/Darwin/Type/_mac_applications, Completion/Debian/Command/_bug, Completion/Unix/Command/_gs, Completion/Unix/Command/_imagemagick, Completion/Unix/Command/_java, Completion/Unix/Command/_last, Completion/Unix/Command/_links, Completion/Unix/Command/_lsof, Completion/Unix/Command/_mount, Completion/Unix/Command/_perldoc, Completion/Unix/Command/_user_admin, Completion/Unix/Command/_yp, Completion/Unix/Command/_zdump, Completion/Unix/Type/_dir_list, Completion/Unix/Type/_domains, Completion/Unix/Type/_file_systems, Completion/Unix/Type/_groups, Completion/Unix/Type/_hosts, Completion/Unix/Type/_java_class, Completion/Unix/Type/_locales, Completion/Unix/Type/_perl_basepods, Completion/Unix/Type/_perl_modules, Completion/Unix/Type/_pids, Completion/Unix/Type/_ports, Completion/Unix/Type/_printers, Completion/Unix/Type/_services, Completion/Unix/Type/_tex, Completion/Unix/Type/_texi, Completion/Unix/Type/_time_zone, Completion/Unix/Type/_users, Completion/X/Type/_x_cursor, Completion/X/Type/_x_extension, Completion/X/Type/_x_font, Completion/X/Type/_x_keysym, Completion/Zsh/Command/_print, Completion/Zsh/Command/_read, Completion/Zsh/Command/_unhash, Completion/Zsh/Type/_arrays, Completion/Zsh/Type/_file_descriptors, Completion/Zsh/Type/_functions, Completion/Zsh/Type/_jobs_bg, Completion/Zsh/Type/_jobs_fg, Completion/Zsh/Type/_limits, Completion/Zsh/Type/_options, Completion/Zsh/Type/_options_set, Completion/Zsh/Type/_options_unset: make completion functions give precedence to descriptions passed as parameters and cleanup descriptions in calling functions * 21314: Doc/Zsh/compsys.yo: declare expl local in example use of _wanted * unposted: Completion/Linux/Command/_yast: new yast completion * 21313: Completion/Unix/Type/_email_addresses: make code for extracting mutt aliases do a better job of finding rc files 2005-06-08 Doug Kearns * 21306: Completion/Zsh/Command/_disable: add -s option for removing suffix aliases * 21310: Completion/Unix/Type/_global_tags: pass an array to compadd; redirect stderr to /dev/null when generating matches with _call_program * 21302: Completion/Linux/Command/_pkgtool, Completion/Unix/Command/_ant, Completion/Unix/Command/_bogofilter, Completion/Unix/Command/_cdrecord, Completion/Unix/Command/_chkconfig, Completion/Unix/Command/_chmod, Completion/Unix/Command/_gs, Completion/Unix/Command/_look, Completion/Unix/Command/_mount, Completion/Unix/Command/_python, Completion/Unix/Command/_rar, Completion/Unix/Type/_file_systems, Completion/Unix/Type/_global_tags, Completion/Unix/Type/_locales, Completion/Unix/Type/_user_at_host, Completion/X/Command/_mozilla, Completion/X/Command/_mplayer, Completion/X/Command/_netscape, Completion/X/Type/_x_visual, Completion/Zsh/Context/_equal: make sure expl is declared local in completion functions 2005-06-07 Doug Kearns * unposted: Completion/Zsh/Command/_dirs: fix typo in opt description 2005-06-06 Doug Kearns * unposted: Completion/Unix/Command/_raggle: fix typo in tag name 2005-06-02 Doug Kearns * 21293: Completion/Unix/Command/_ant: update ant completion for version 1.6.4; always use the -find and -buildfile options when completing targets 2005-06-01 Peter Stephenson * unposted: Src/builtin.c: need const for result of getsigname(). * 21296: Doc/Zsh/builtins.yo [this hunk missing from post], Doc/Zsh/func.yo, Src/builtin.c, Src/jobs.c, Src/zsh.h: Allow ERR signal as alias for ZERR on systems that don't have SIGERR. Make "trap" report the name used when the trap was set rather than the canonical name. 2005-06-01 Doug Kearns * 21294: Completion/Cygwin/Command/_cygstart, Completion/Debian/Command/_apt-move, Completion/Debian/Command/_module-assistant, Completion/Unix/Command/_ccal, Completion/Unix/Command/_perl, Completion/Unix/Command/_surfraw, Completion/Unix/Command/_vux, Completion/X/Command/_kfmclient: fix incorrectly capitalized completion descriptions 2005-05-31 Geoff Wing * 21290: configure.ac: don't need backslash quoting within single-quote areas. Change constant RE boundary characters to slash. 2005-05-30 Oliver Kiddle * 21266: Completion/Unix/Command/_mh: improve completion of sequences 2005-05-26 Doug Kearns * 21275 (modified): Completion/Unix/Command/_raggle: update raggle completion for version 0.4.0 2005-05-23 Bart Schaefer * unposted: Functions/Prompts/prompt_bart_setup: print whitespace to stderr for promptcr adjustments, because the prompt itself is printed to stderr. 2005-05-23 Peter Stephenson * 21270: Src/system.h: don't use poll() on Apple. * users/8863: Doc/Zsh/contrib.yo, Functions/Zle/which-command: enhanced which-command that traces the final command better. * users/8856: Src/Zle/zle_tricky.c: which-command shouldn't expand aliases before passing first argument. 2005-05-22 Bart Schaefer * unposted: Completion/Base/Widget/_complete_debug: add a colon command so name and version of zsh appear in debug output. 2005-05-21 Doug Kearns * unposted: Completion/Unix/Command/_webbrowser: add firefox to list of basic URL completed web browsers 2005-05-17 Peter Stephenson * 21264: Doc/Zsh/arith.yo: document the return status of (( ... )). 2005-05-17 Geoff Wing * unposted: Etc/FAQ.yo: update mirror sites 2005-05-13 Oliver Kiddle * Jesse W: 21244 (modified): Completion/Darwin/Command/_qtplay: new completion for qtplay (Quick Time wrapper for Mac OS X) * unposted: Completion/X/Command/_qiv: new completion for qiv 2005-05-13 Motoi Washida * users/8826: Completion/Darwin/Type/_retrieve_mac_apps: search applications using spotlight. 2005-05-12 Felix Rosencrantz * 21257: Completion/Unix/Command/_perforce: fix minor typo in completion for the p4 password command. 2005-05-11 Oliver Kiddle * Joerg Sonnenberger: 21252: configure.ac, Src/Modules/zpty.c, Completion/BSD/Command/_chflags, Completion/Unix/Command/_apm, Completion/Unix/Command/_cvs, Completion/Unix/Command/_ifconfig, Completion/Unix/Command/_mount, Completion/Unix/Command/_mt, Completion/Unix/Command/_sysctl, Completion/Unix/Type/_file_systems, Completion/Unix/Type/_net_interfaces: Dragonfly BSD support 2005-05-10 Oliver Kiddle * 21248: Doc/Zsh/mod_socket.yo: avoid use of subsection within list because it causes makeinfo to produce broken docbook XML * Haakon Riiser: 21188: Completion/X/Command/_acroread: handle acroread 7.x 2005-05-09 Bart Schaefer * unposted (see 21240): Functions/Prompts/prompt_bart_setup, Functions/Prompts/prompt_bigfade_setup, Functions/Prompts/prompt_elite2_setup, Functions/Prompts/prompt_elite_setup, Functions/Prompts/prompt_fade_setup, Functions/Prompts/prompt_fire_setup, Functions/Prompts/promptinit: assorted cleanup triggered by the discovery that elite2 has never really worked correctly. 2005-05-09 Clint Adams * 21239: Completion/Unix/Command/_ccal: completion for ccal. 2005-05-09 Peter Stephenson * 21211: Doc/Zsh/expn.yo, Src/pattern.c, Test/D02glob.ztst: Add [[:IDENT:]], [[:IFS:]], [[:IFSSPACE:]], [[:WORD:]] tests. 2005-05-08 Bart Schaefer * 21235, 21236: Completion/Unix/Command/_ssh: fix remote filename quoting and wrong exit status, both in _remote_files. 2005-05-07 Clint Adams * Jesse Weinstein: 21233: Completion/Debian/Command/_dpkg: completion for dpkg-query. 2005-05-06 Bart Schaefer * 21229: Doc/Makefile.in: fix fake build run when yodl isn't found 2005-05-05 Clint Adams * Jesse Weinstein: 21230 (reformatted as 21231): Completion/Debian/Command/_dpkg: complete -W/--show for dpkg-deb. 2005-04-30 Bart Schaefer * 21215: Test/C03traps.ztst: clean up TRAPEXIT file left behind by autoloaded trap test. 2005-04-27 Peter Stephenson * 21197: Src/exec.c, Src/signals.c: LOCAL_TRAPS didn't restore a trap when modified inside another trap. 2005-04-27 Wayne Davison * unposted: Completion/Unix/Command/_rsync: Made some options repeatable (--include, --exclude, --filter, -f) and added the one new option that will be in 2.6.5. 2005-04-26 Peter Stephenson * 21195 (c.f. 21194 from Bart): Src/pattern.c, Test/D04parameter.ztst: 21170 broke handling of zero-length quoted test strings. 2005-04-25 Peter Stephenson * 21184: Test/B04read.ztst: test for foregoing fix. * users/8752: Src/builtin.c: stripping IFS characters after reading a line in the read builtin wasn't sensitive to metafied characters. 2005-04-24 Bart Schaefer * unposted: Src/parse.c: get rid of unused third argument of zwcstat(). * unposted: Functions/Prompts/prompt_bart_setup: employ a variant of Oliver's suggestion from 21117 to handle promptcr better. * unposted: Doc/Zsh/builtins.yo, Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Doc/Zsh/expn.yo, Doc/Zsh/invoke.yo, Doc/Zsh/mod_zutil.yo, Doc/Zsh/tcpsys.yo: fix a lot of places where info compilation was reducing two hyphens to only one. * unposted: Doc/Makefile.in: yodl with a little less echo. * unposted (cf. 20494): Completion/Base/Widget/_generic, Doc/Zsh/compsys.yo: pass the positional parameters of _generic through to _main_complete. * 21174: Src/glob.c: additional Meta-increment/decrement of pointers when walking metafied strings (goes with 21170). * Tobias Gruetzmacher 21168 (slightly tweaked): Completion/Debian/Command/_apt, Completion/Debian/Type/_deb_packages, Completion/Unix/Command/_mount, Completion/Unix/Command/_subversion: localize some completion variables that were unnecessarily made global, and hide from typeset display the values of a few others. 2005-04-24 Peter Stephenson * 21170: Src/glob.c, Src/pattern.c: optimise length calculations which were causing inefficiency in ${...//.../...} on large string. 2005-04-22 Geoff Wing * 20162: Src/Zle/compresult.c: in printlist() don't output new line if we haven't printed anything 2005-04-21 Clint Adams * users/8733: Completion/Unix/Command/_surfraw: rudimentary completion for surfraw. 2005-04-19 Clint Adams * 21156: Completion/Debian/Command/_dpkg: tweaks to dpkg-reconfigure completion. 2005-04-18 Felix Rosencrantz * 21154: Completion/Unix/Command/_perforce: add pid completion for monitor (clear|terminate) commands. 2005-04-17 Clint Adams * 21153: Completion/Debian/Command/_module-assistant: incorporate most of the features of Stephen Rueger's _module-assistant, posted as 21152. * 21151: Completion/Debian/Command/_module-assistant: completion for module-assistant. * 21150: Completion/Unix/Command/_baz, Completion/Unix/Command/_tla: handle parsing of subcommand help output a bit more sanely. 2005-04-16 Bart Schaefer * unposted (see 21148): Test/A04redirect.ztst: update test for change in error message. 2005-04-16 Clint Adams * 21147: Completion/Unix/Command/_baz, Completion/Unix/Command/_tla, Completion/Unix/Type/_arch_archives, Completion/Unix/Type/_arch_namespace: factor out some common code from _tla and _baz, and fix some breakage from 21075. 2005-04-15 Peter Stephenson * 21143: Src/exec.c, Src/Modules/socket.c: be more careful when closing or opening sockets onto file descriptors. 2005-04-14 Peter Stephenson * 21141: Doc/Zsh/redirect.yo, Src/exec.c, Test/A04redirect.ztst: make NO_CLOBBER apply to {myfd}>... redirections, improve some error cases, fix bug that {myfd}>>(...) hung on a builtin. 2005-04-13 Bart Schaefer * 21064: Test/D03procsubst.ztst: test case for 21049. 2005-04-13 Peter Stephenson * 21136: Test/C03traps.ztst: don't leave TRAPEXIT file lying around in Test directory. 2005-04-12 Clint Adams * 21135: Completion/Unix/Command/_screen: complete attached sessions after screen -x. 2005-04-12 Peter Stephenson * 21134: Test/A04redirect.ztst: error for bad file descriptor can vary between systems. * 21133: Doc/Zsh/redirect.yo, Src/exec.c, Src/parse.c, Src/text.c, Src/zsh.h, Test/A04redirect.ztst: New {myfd}> syntax for allocating file descriptors. 2005-04-11 Clint Adams * 21132: Completion/Unix/Type/_pdf, Completion/X/Command/_xpdf: complete xpdf options, and also complete .pdf.bz2 files when completing compressed PDF files. 2005-04-11 Peter Stephenson * 21131: Src/init.c, Test/A01grammar.ztst: exit with status 127 when a script is not found, making the error message more sensible. 2005-04-10 Clint Adams * unposted: config.guess, config.sub: update to 2005-03-24 and 2005-02-10, respectively. 2005-04-08 Clint Adams * 21125: Src/Zle/zle_main.c: do an initial conversion when zle is loaded. * 21124: Src/Zle/zle_main.c, Src/init.c, Src/params.c: have zle cache a wide-char version of WORDCHARS each time it's changed (when ZLE_UNICODE_SUPPORT is defined). 2005-04-08 Oliver Kiddle * 21107: configure.ac: handle case where there is a native iconv but GNU libiconv's iconv.h is picked up first 2005-04-06 Clint Adams * 21096: Completion/X/Command/_gv: update for gv 3.6, which uses double-hyphen options. 2005-04-06 Peter Stephenson * Carlos Phillips : private email: Completion/Unix/Command/_darcs: much improved completion for darcs. 2005-04-05 Wayne Davison * unposted: Completion/Unix/Command/_rsync: Made --address work for both client- and daemon-mode. 2005-04-05 Peter Stephenson * 21095 slightly tweaked to include bits of users/8658: Etc/FAQ.yo: update completion FAQ and the most out-of-date parts of the description of bugs and features. 2005-04-04 Peter Stephenson * Toby Peterson: 21083: On Mac OS X 10.4, the AS and RSS rlimits are the same. Also utmpx doesn't have ut_name. In fact, it doesn't seem to have it on any system. * Dan Nelson: 21082: Src/exec.c, Test/A01grammar.ztst: fix zsh -c exit status on parse error. 2005-04-03 Andrey Borzenkov * 21086: Completion/Unix/Command/_rsync: fix module completion, redirect rsync errors to /dev/null, use -S "" as suggested by Oliver. * 21085: Completion/Mandrake/Command/_urpmi: update for 10.2, add parsehdlist, use urpmq --list options to get media and package list 2005-04-01 Oliver Kiddle * 21081: Completion/Unix/Command/_fuser: complete network services for the psmisc version of fuser * unposted: Completion/Unix/Command/_subversion: minor correction 2005-04-01 Peter Stephenson * c.f. 21071: Doc/Zsh/{builtins.yo,compsys.yo,compwid.yo,func.yo, grammar.yo,mod_clone.yo,mod_computil.yo,mod_system.yo,mod_zftp.yo, mod_zpty.yo,mod_zselect.yo,mod_zutil.yo,params.yo,prompt.yo, tcpsys.yo}: use "status" for exit and return status instead of "value" or "code". * 21078: Src/init.c, Test/A01grammar.ztst: parse errors didn't cause non-zero exit status. 2005-03-31 Oliver Kiddle * 21076: Completion/Unix/Command/_subversion: use _files with (e) glob qualifier to handle completing files by their status 2005-03-27 Clint Adams * 21075: Completion/Unix/Command/_baz: update baz completion to not use -A option since it's being dropped in baz 1.3. * Zack Cerza: 21074: Completion/Debian/Command/_aptitude: update for newer aptitude. 2005-03-31 Peter Stephenson * 21049: Src/exec.c, Src/init.c, Src/utils.c, Src/zsh.h: Don't close file descriptors opened for process substitution when executing external programmes in a shell function. Rewrite the corresponding code to make it more transparent. 2005-03-28 Wayne Davison * unposted: Completion/Unix/Command/_rsync: Added --protocol. 2005-03-27 Clint Adams * 21068: Completion/Unix/Command/_subversion: complete modified files for 'svn revert'. 2005-03-27 Andrey Borzenkov * 21066: Completion/Unix/Command/_rsync: rsync:// URL support, fix modules completion, strip remote banners 2005-03-24 Andrey Borzenkov * 21053: Completion/X/Command/_kfmclient: use kde search path to find profiles in openProfile 2005-03-22 Andrey Borzenkov * 21051 (modified as suggested by Oliver in 21052): Completion/Unix/Command/_fuser: for SVR4 complete signals only after -k; fix file name as first argument. 2005-03-21 Peter Stephenson * 21046: Completion/Base/Completer/_approximate: use extra tests and "always" block to make unfunction of compadd more reliable. 2005-03-21 Peter Stephenson * 21045: Src/Zle/compcore.c, Src/Zle/complete.c: more places where completion didn't handled Meta characters. 2005-03-21 Oliver Kiddle * Stephen Rüger: 21019: Completion/Unix/Command/_mpc: new completion for mpc 2005-03-21 Peter Stephenson * 21042: Src/Zle/zle_main.c, Doc/Zsh/zle.yo: test for and document limitation that execute-named-command and execute-last-named-command can't be redefined or called by name. 2005-03-18 Wayne Davison * 20984 (modified): Src/zsh.h, Src/options.c, Src/hist.c, Doc/Zsh/options.yo: Added a new option, HIST_SAVE_BY_COPY, and made it enabled by default. This changes the rewriting of the history file to be done via copy and rename rather than truncate and write-in-place. 2005-03-18 Peter Stephenson * 21014: Src/Zle/zle_hist.c: remember_edits() was broken, which meant that searching the current line didn't work. * zsh-users/8609: Doc/Zsh/expn.yo: document order of (u), (o) and (O) parameter expansion flags. 2005-03-16 Peter Stephenson * 20983: Test/D02glob.ztst, Src/glob.c: fixed string segments in globbed paths could be copied wrongly, resulting in failed globs. 2005-03-15 Peter Stephenson * 20978: Src/zle_main.c: don't propagate EOFs from recursive edit. 2005-03-11 Wayne Davison * unposted: Completion/Unix/Command/_rsync: A few more tweaks to the various --*-dest options. 2005-02-28 Philippe Troin * 20886: configure.ac: Use TTOU with trap rather than SIGTTOU. 2005-03-13 Bart Schaefer * unposted: Functions/Prompts/prompt_bart_setup: Update to some 4.2.2+ features, and add special handling for nopromptcr. 2005-03-11 Bart Schaefer * 20892: Src/utils.c: sanity improvements for setopt correctall, plus spell-check directory names for autocd with setopt correct. (Note this works only one level deep, not for paths with slashes.) 2005-03-11 Peter Stephenson * 20966: Src/Zle/zle_misc.c: need to copy strings to avoid crash in completion for execute-named-command. 2005-03-09 Clint Adams * 20961: Completion/Unix/Command/_baz: fix completion of status and diff subcommands. 2005-03-10 Andrey Borzenkov * 20957: Completion/Unix/Command/_fuser: Add support for Solaris and SVR4 2005-03-10 Peter Stephenson * 20959 (variant of 20958): Src/params.c, Src/Module/parameter.c, Test/V01zmodload.ztst: fix crash unloading zsh/parameter and test. 2005-03-09 Peter Stephenson * 20955: README, Src/builtin.c: "unset foo" should return status 0 if foo was not set. 2005-03-09 Motoi Washida * 20953: Completion/Unix/Command/_du: "du --version" tries to display size of files in current directory on FreeBSD and Darwin. 2005-03-09 Clint Adams * 20951: Completion/Unix/Command/_baz: fix version detection and baz merge completion. 2005-03-07 Clint Adams * 20946: Completion/Linux/Command/_iwconfig: completion for iwconfig command. 2005-03-07 Peter Stephenson * 20945: Src/Zle/zle_misc.c: rename static variables to avoid clash with "cmdstr" exported by zle_tricky.c. 2005-03-07 Clint Adams * 20944: Completion/Debian/Command/_uscan: completion for uscan command. * 20943: Completion/Linux/Command/_tune2fs: completion for tune2fs command. * 20942: Completion/Unix/Command/_showmount: completion for showmount command. * 20941: Completion/Unix/Command/_mii-tool: completion for mii-tool command. * 20940: Completion/Unix/Command/_knock: completion for knock command. * 20939: Completion/Unix/Command/_groff: completion for groff command. * 20938: Completion/Unix/Command/_fuser: completion for fuser command. * 20937: Completion/Unix/Command/_fortune: completion for fortune command. * 20936: Completion/Linux/Command/_acpi: completion for acpi command. 2005-03-05 Andrey Borzenkov * Tobias Gruetzmacher: 20932: Completion/X/Command/_kfmclient: Add copy command 2005-03-04 Peter Stephenson * unposted: Src/Zle/zle_refresh.c: correct deliberate mistake. * 20928: Src/Zle/zle_refresh.c: null terminate lines so that they can be compared reliably. 2005-03-04 Motoi Washida * unposted: Completion/Darwin/Command/_softwareupdate: new completion * unposted: Completion/Darwin/Command/_hdiutil: arguments are required after -imagekey, -srcimagekey options 2005-03-03 Oliver Kiddle * 20921, 20924: Src/utils.c, Completion/Unix/Command/_iconv: using UCS-4BE instead of ISO-10646 to identify character encoding is more portable; make error message more specific; find more encodings in iconv completion on Solaris * Henryk Konsek: 20918 (modified): Completion/Unix/Command/_unace: new completion for unace 2005-03-03 Peter Stephenson * from Wayne, adapted: 20900: another way of preventing text without a newline from being overwritten by the prompt. (Originally suggested by Karl Chen in 20896.) 2005-03-02 Clint Adams * 20906: Completion/Unix/Command/_make: patch from Mike "Stew" O'Connor to limit recursion depth in make completion variable expansion. 2005-03-02 Wayne Davison * 20917: Completion/Unix/Command/_make: Don't try to expand a single-character Makefile variable if it is a digit. Avoids an infinite recursion from a Makefile referencing $1. 2005-03-02 Clint Adams * 20909, 20911: Src/Modules/termcap.c: reverse row and col arguments to tgoto(), and set affcnt to 1 unconditionally when we echotc a capability with arguments (which we then assume to be the 'cm' capability, with arguments in the form . 2005-03-01 Peter Stephenson * 20897: Completion/Unix/Command/_a2ps: complete system printers as well as those configured into a2ps. 2005-02-28 Peter Stephenson * 20888: Doc/Zsh/builtins.yo, Src/jobs.c: allow the prefix SIG in signal names used with the trap and kill builtins, for compatibility. 2005-02-26 Andrey Borzenkov * 20872: Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c: Fix ZC_ vs. ZS_ confusion. 2005-02-25 Peter Stephenson * 20869: Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c, Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c: more small Unicode tweaks 2005-02-25 Oliver Kiddle * 20867: Completion/Unix/Command/_ant: handle imported files that are specified using a relative path 2005-02-24 Peter Stephenson * 20866: Src/Zle/zle_misc.c: two mistakes in 20861. 2005-02-24 Oliver Kiddle * Konstantin Sobolev: 20832 (modified): Completion/Unix/Command/_ant: gather targets from imported files * 20862: configure.ac, Src/system.h, Src/utils.c: attempt to fix configure scripts to detect iconv properly 2005-02-24 Peter Stephenson * 20863: Src/utils.c, Src/zsh.h, Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_utils.c: fix history (i)searching for Unicode. * 20861: Src/Zle/complist.c, Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c, Src/Zle/zle_vi.c: Fix use of statusline with Unicode, apart from isearch. 2005-02-23 Andrey Borzenkov * 20857 (modified): Src/Zle/zle.h, Src/Zle/zle_refresh.c: use wide characters internally. This fixed cursor position with multibyte characters bug without any significant code change. Is still does not use character width information. 2005-02-23 Peter Stephenson * 20856: Src/Zle/complist.c: use VARARR for multibyte string. * 20854: Src/Zle/complist.c, Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_params.c, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c: more Unicode stuff. 2005-02-23 Clint Adams * 20847: Completion/compaudit: stop adding gratuitous elements to fpath when MARK_DIRS is set. 2005-02-23 Andrey Borzenkov * 20845: Src/Zle/zle_main.c, Src/Zle/zle_utils.c: fix multibyte input in getrestchar; fix cursor position in zlelineasstring when cs == ll. 2005-02-22 Peter Stephenson * 20843: Doc/Zsh/expn.yo, Src/utils.c: named directories always have trailing slashes pruned. Any related parameter remains unmodified. * Andrey Borzenkov: 20838 with minor tweaks: Src/system.h, Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: fixes to get ZLE_UNICODE_SUPPORT basically working. 2005-02-21 Peter Stephenson * 20837: Doc/Zsh/contrib.yo: typos. * 20834: Completion/X/Command/_kfmclient: use _webbrowser for file/URL arguments. * 20833: Src/Zle/zle.h: typo in 20822: int_t should have been wint_t. 2005-02-19 Wayne Davison * unposted: Completion/Unix/Command/_rsync: A little more cleanup and 2 more options for the upcoming rsync 2.6.4 release. 2005-02-19 Motoi Washida * users/8522: Completion/Darwin/Command/_defaults: fixed the number of spaces broken while sending the patch by email. 2005-02-18 Peter Stephenson * 20828: Src/zle_main.c, Src/zle_misc.c: typos in 20822. * 20823: Src/Modules/stat.c: debugging test failed on 64-bit machines. * 20822: system.h, Src/Zle/complist.c, Src/Zle/deltochar.c, Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c: improve input ready for multibyte/Unicode handling, massaging use of getkey() and lastchar. * Motoi Washida: users/8522: Completion/Darwin/Command/_defaults: Fix quotation in Darwin completion. 2005-02-16 Peter Stephenson * 20816: Src/Builtins/rlimits.awk: extra tricks to get limit names and numbers required with new glibc. 2005-02-15 Peter Stephenson * 20812: Doc/Zsh/contrib.yo, Functions/Exceptions/catch, Functions/Exceptions/throw, Src/zsh.mdd: add functions for exception handling using "always" block. 2005-02-14 Peter Stephenson * 20811: configure.ac: Copy the trick for finding the file with signal names to make finding the file with resource names more reliable. 2005-02-14 Wayne Davison * unposted: Completion/Unix/Command/_rsync: Divided the options so that daemon options and client options are not intermixed. Improved some descriptions and added new options for 2.6.4. 2005-02-10 Wayne Davison * unposted: Completion/Unix/Command/_yodl: Added missing closing double-quote. 2005-02-09 Bart Schaefer * Kris Shannon: 20801: Completion/Unix/Command/_init_d: fix missing $ in the param expansion that parses the init script. 2005-02-07 Peter Stephenson * 20798: Src/init.c: need to propagate some #ifdef's to get warnings to go away. * 20794: Config/version.mk, Src/init.c: change dev version to 4.3.0-dev-1 and (unrelated) don't compile in static function unless needed. 2005-02-06 Peter Stephenson * (cheated and guessed) 20793: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/Modules/parameter.c, Src/Module/zftp.c, Src/parse.c, Src/signals.c, Test/C03traps.ztst: Fix bug that autoloaded TRAPEXIT wasn't restored properly after running an intermediate function; only use sigfuncs (renamed to siglists) for eval-style traps; augment and fix trap tests. 2005-02-04 Peter Stephenson * 20787: configure.ac, Config/defs.mk.in, Doc/.distfiles, Doc/Makefile.in: generate zsh.pdf from zsh.texi using pdfetex; much better output than PS from DVI. * Motoi Washida: 20785: configure.ac: libiconv test needed for Mac OS X 3. 2005-02-02 Peter Stephenson * 20777: Test/A06assign.ztst, Test/C02cond.ztst: tests for users/8422 and 20774. 2005-02-01 Bart Schaefer * 20774: Src/exec.c: fix e.g. "FOO=BAR BAR=FOO echo" failure to unset FOO after finishing. 2005-02-01 Clint Adams * 20773: Completion/Unix/Command/_getconf: additional variables from confstr(). 2005-02-01 Peter Stephenson * Peter A. Castro: 20759 updated as 20760 and 20765: configure.ac, Src/system.h, Src/utils.c: Improve configuration of libiconv and pcre on Cygwin. 2005-01-28 Wayne Davison * unposted: Completion/Unix/Command/_rsync: Added new options for impending 2.6.4 release and improved the descriptions of several others. Also dropped "-- ..." options to _arguments. 2005-01-27 Peter Stephenson * users/8433: configure.ac: Latest Cygwin hangs on FIFO test, so tell it explicitly that FIFOs don't work. 2005-01-26 Clint Adams * 20753: Src/system.h, Src/Zle/zle_params.c: use ZS_memmove instead of memmove. 2005-01-26 Peter Stephenson * 20752: Src/system.h, Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c, Src/Zle/zle_params.c, Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c: Fix access to zle parameters. 2005-01-26 Clint Adams * 20747, 20751: Src/Zle/zle_refresh.c, Src/system.h: some wide char support in the zle refresh code. 2005-01-26 Peter Stephenson * 20750: Src/zle_utils.c: 20742 could cause hang when line resized to empty. 2005-01-25 Peter Stephenson * 20742: Src/system.h, Src/Zle/zle.h, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_params.c, Src/Zle/zle_utils.c: More Unicode stuff. A few more definitions, some conversion utilities between line and string, fix types and sizes for cutbuffer/killring and undo. 2005-01-24 Peter Stephenson * users/8422: Src/cond.c: [[ ... -nt ... ]] and [[ ... -ot ... ]] with non-existent files (or any failed state) were recorded as errors, causing initialisation scripts, functions, etc., etc. to exit. 2005-01-23 Clint Adams * 20737, 20739: Completion/Unix/Command/_subversion: run svn commands with LC_MESSAGES=C. 2005-01-22 Clint Adams * 20736: Src/Zle/zle_utils.c: change zlegetline() to return a metafied string. * unposted (cf. zsh-users/8412): Config/version.mk: fix year typo. * 20735: Src/Zle/zle_utils.c, Src/hist.c: modify zlegetline() and zlegetline caller so that the octet-based and wide-character versions should return the same string. 2005-01-21 Bart Schaefer * unposted (cf. zsh-users/8409): Functions/Zle/keeper: "keeper" suite from unixreview.com article. 2005-01-21 Oliver Kiddle * unposted: remove Completion/Unix/Command/_larch: larch has been superseded by tla and is no longer available * 20734: Completion/Linux/Command/_valgrind: rewrite to handle version 2.2.0 of valgrind * 20730 (modified): Completion/Base/Completer/_expand: fix suffix style to regard quoted special characters as not special 2005-01-19 Peter Stephenson * 20728 (with typo fixed): configure.ac, Doc/Zsh/builtins.yo, Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c: Handle RLIMIT_MSGQUEUE (-q), RLIMIT_SIGPENDING (-i), also use -x for RLIMIT_LOCKS in ulimit. 2005-01-17 Peter Stephenson * unposted: suggested by Bart: Etc/FAQ.yo: update a few entries. 2005-01-17 Oliver Kiddle * Motoi Washida: users/8380: Completion/Darwin/Command/_defaults: complete plist files 2005-01-16 Clint Adams * 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode stuff. 2005-01-14 Peter Stephenson * unposted: update version to 4.2.3-dev-1. * c.f. 20675: configure.ac, Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c, Src/input.c, Src/jobs.c, Src/lex.c, Src/loop.c, Src/params.c, Src/signals.c, Src/system.h, Src/utils.c, Src/zsh.h, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complist.c, Src/Zle/compresult.c, rc/Zle/deltochar.c, Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_params.c, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c: Make it easier to add support for Unicode etc. to Zle. line is called zleline and is not directly visible in the main shell. cs and ll are called zlecs and zlell but are still visible in the main shell (this will probably need changing). Pointers to zle functions are addressed by pointer not by confusing #define's. Add beginnings of support to configure.ac and system.h. Very many pitfalls remain. 2005-01-13 Peter Stephenson * 20708: Doc/Zsh/contrib.yo, Functions/Zle/replace-string: replace-string can offer previous values for editing. * unposted: README, Config/version.mk, Etc/FAQ.yo: release 4.2.3. * 20698: Test/ztst.zsh: improve 20692 by using tail function to overcome POSIX problems. 2005-01-12 Oliver Kiddle * 20701: Src/system.h: fix compilation on Mac OS X 2005-01-12 Peter Stephenson * users/8359: Src/Zle/complete.mdd: add in Completion/Darwin directories to default installation. * users/8354: Doc/Zsh/options.yo: with glob_complete, completing a word with a pattern does not use matching control. * unposted: Config/version.mk, README, Etc/FAQ.yo: release zsh version 4.2.2. * 20695: Src/module.c, Src/zsh.h, Src/Modules/parameter.c, Src/Zle/zleparameter.c: Cygwin barfs on an attempt to use a pointer to an imported variable in a compile-time initialiser. * unposted: Fix .distfiles and .cvsignore for distribution. * unposted: Completion/Unix/Command/_perforce: minor comment change. * 20692: Test/ztst.zsh: having POSIXLY_CORRECT set makes GNU tail report warning with -. 2005-01-11 Clint Adams * unposted: config.guess, config.sub: update to 2004-11-12 and 2004-11-30, respectively. * 20689: Etc/FAQ.yo: fix missing-word typo. * 20657: Src/Zle/zle_tricky.c: sort completions partially based on LC_COLLATE setting. * unposted: Completion/X/Command/_gnome-gv: move gnome-gv completion from C/U/C to C/X/C. 2005-01-11 Peter Stephenson * 20688: Etc/FAQ.yo: add notes on Unicode/UTF-8 adapted from Clint. * 20687: NEWS: news for 4.2.2. 2005-01-11 Bart Schaefer * 20666 (tweaked): Src/exec.c: In closemn(), discard the multio structure when it has only one descriptor so far, to avoid creating an unnecessary multio if a later redirect re-opens that descriptor. 2005-01-10 Clint Adams * 20665: Completion/Unix/Command/_gnome-gv, Completion/Unix/Type/_pspdf: improve completion for ggv/gnome-gv. 2005-01-10 Peter Stephenson * 20661: Doc/Zsh/expn.yo, Src/glob.c: allow (+func) as shorthand for (e:func:) in glob qualifier. 2005-01-10 Oliver Kiddle * 20662: Completion/X/Command/_nedit: update for nedit 5.5 2005-01-09 Clint Adams * 20655: Completion/Debian/Type/_deb_packages: _deb_packages fix from Karl Chen. * 20654: Completion/Debian/Command/_dpkg, Completion/Debian/Command/_wajig, Completion/Debian/Type/_deb_packages: completion for wajig, and dpkg/deb_packages improvements from Karl Chen. 2005-01-07 Clint Adams * 20650: Completion/Unix/Command/_mencal: completion for mencal. * 20649: Completion/Unix/Command/_cal: completion for cal and ncal. 2005-01-05 Peter Stephenson * unposted: Completion/Unix/Command/_perforce: limit many uses of pending changes to pending changes on the current client. * 20632: propagating signals incorrectly to current process group could kill shell. 2004-12-27 Clint Adams * 20639: Completion/Unix/Command/_bogofilter: improve 'bogoutil' completion for 0.93.3.1. 2004-12-25 Clint Adams * 20637: Completion/Debian/Command/_lintian: add completion for 'lintian', a Debian package checker. * 20636: Completion/Unix/Command/_bogofilter: add completion for 'bogofilter' and 'bogotune' commands. 2004-12-24 Clint Adams * 20635: Completion/Unix/Command/_bogofilter: update bogoutil completion for 0.93.3. * 20634: Completion/Unix/Command/_postfix: completion for postsuper. 2004-12-15 Clint Adams * 20626: Completion/Unix/Command/_baz: completion derived from _tla by Matt Zimmerman. * 20627: Completion/Unix/Command/_bogofilter: updated completion for newer bogoutil. 2004-12-10 Andrey Borzenkov * 20617: Completion/Linux/Command/_modutils: fix completion of compressed modules on kernel 2.6; add trivial insmod completion. 2004-12-09 Peter Stephenson * 20613, 20614: Functions/Zle/match-words-by-style: fix inconsistencies with embedded whitespace when matching by shell words. * 20612: Doc/Zsh/contrib.yo, Functions/Zle/match-words-by-style: options to match-words-by-style can override styles. 2004-12-07 Peter Stephenson * 20605: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c, Src/module.c, Src/params.c, Src/subst.c, Src/zsh.h, Src/Modules/datetime.c, Src/Modules/langinfo.c, Src/Modules/mapfile.c, Src/Modules/parameter.c, Src/Modules/system.c, Src/Modules/termcap.c, Src/Modules/terminfo.c, Src/Modules/zftp.c, Src/Zle/compctl.c, Src/Zle/complete.c, Src/Zle/computil.c, Src/Zle/zle_params.c, Src/Zle/zleparameter.c, Test/B02typeset.ztst: Use separate structures for get, set and unset methods of parameters. Separate width and base/precision for parameters, so that justification works for integers. * 20606: Test/V03mathfunc.ztst: simple verification of pseudorandom numbers. 2004-12-06 Doug Kearns * 20601: Completion/Unix/Command/_python: update python completion for version 2.4 2004-12-01 Wayne Davison * 20595 (modified): Src/compat.c: some style tweaks to zchdir(). 2004-12-01 Doug Kearns * 20587: Completion/Unix/Command/_screen: update screen completion for version 4.00 2004-11-30 Peter Stephenson * 20599: Test/C01arith.ztst: 20592 needs consequent test change. 2004-11-29 Peter Stephenson * 20591: Stephane Chazelas : Src/compat.c: use of fchdir in zchdir could leak a file descriptor. * 20592: Src/math.c: $((##)) caused mayhem by passing null string to getkeystring(). Report error instead. 2004-11-24 Clint Adams * 20583: Completion/Unix/Command/_ssh: complete "modern" options such as GSSAPIAuthentication. 2004-11-27 Doug Kearns * 20584: Completion/Unix/Command/_screen: offer multiuser screen sessions for attaching/detaching 2004-11-24 Clint Adams * 20578: Functions/Prompts/prompt_elite2_setup: handle ttys with slashes in them. 2004-11-23 Peter Stephenson * 20576: Src/signals.c: 20572 caused core dump when trying to run a signal where the function had already been removed. 2004-11-22 Peter Stephenson * 20572: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c, Src/jobs.c, Src/signals.c, Src/utils.c: Allow -CLD and -IO as alternatives to -CHLD and -POLL where they are the same signal. 2004-11-20 Doug Kearns * 20571: Completion/Unix/Command/_java: update javac completion for J2SE 5.0 2004-11-19 Peter Stephenson * 20568: Src/pattern.c: in debug test, checking for NULL character is no longer valid. * 20566: Src/signames2.awk: prefer SIGCHLD to SIGCLD. Also (unposted) prefer SIGPOLL to SIGIO. 2004-11-18 Clint Adams * unposted: Completion/Unix/Command/_bogofilter: fix -w/-p typo, which was noticed by Michał Politowski. * unposted: Completion/Unix/Type/_pdf: complete pdf files for kpdf. 2004-11-16 Peter Stephenson * users/8219: Doc/Zsh/params.yo, Doc/Zsh/zle.yo, Src/params.c: Add $HISTCMD which gives the current history line number as in bash. Works like ${(%):-%!} except that a human being could find out how to use it, too. Note it is distinct from zle's $HISTNO. * 20556: AIX 5.3 has a SOCKLEN_T definition, so use ZSOCKLEN_T internally. 2004-11-12 Peter Stephenson * Motoi Washida : 20274, 20552: Completion/Darwin/Command/_fink, Completion/Darwin/Command/_hdiutil, Completion/Darwin/Command/_open, Completion/Darwin/Type/_mac_applications, Completion/Darwin/Type/_mac_files_for_application, Completion/Darwin/Type/_retrieve_mac_apps: improved completion for Mac. 2004-11-10 Wayne Davison * 20551: Completion/Unix/Command/_make: handle $$ when expanding variables. 2004-11-09 Peter Stephenson * Jussi Pakkanen : users/8189: Completion/Unix/Command/_bittorrent: new completion. 2004-11-05 Bart Schaefer * 20546: Src/Zle/compcore.c: fix "compadd -k assoc1 assoc2". 2004-11-02 Clint Adams * 20539: Completion/Unix/Command/_make: avoid problems with minus signs in expandVars(). 2004-10-29 Peter Stephenson * 20528: Src/exec.c: Clint spotted that fix in 18492 to make > >(...) synchronous failed in the case of an fd opened for the shell's own use with an exec. 2004-10-26 Peter Stephenson * 20522: Src/glob.c, Test/D02glob.ztst: must-match optimisation was broken for pattern substitutions in parameters. 2004-10-22 Wayne Davison * 20510: Borzenkov Andrey: Src/jobs.c: Fixed the arg to a call to times(). 2004-10-22 Bart Schaefer * unposted (based on 20514): Completion/compinit: _comp_options needs to include NO_kshtypeset. 2004-10-22 Peter Stephenson * 20513: Src/pattern.c, Test/D02glob.ztst: tests of zero length patterns didn't work after 20500. * unposted: Src/jobs.c: trivial optimisation. 2004-10-20 Wayne Davison * 20505: Src/utils.c, Src/builtin.c, Src/exec.c, Src/hist.c, Src/Modules/zftp.c: Added gettempfile(), which works like a specialized mkstemp(). 2004-10-19 Wayne Davison * 20503: Alexey Tourbin: Doc/Zsh/compsys.yo: corrected the completion-cache's default value. 2004-10-18 Wayne Davison * 20499 (modified): Src/builtin.c, Src/exec.c, Src/hist.c, Src/string.c, Src/utils.c, Src/Modules/zftp.c: improved gettempname(), added bicat(), and used these improvements to make the history-file locking better. 2004-10-18 Peter Stephenson * 20500: Misc/globtests, Src/glob.c, Src/pattern.c, Src/zsh.h, Src/Zle/complist.c, Test/D02glob.ztst: Use unmetafied strings in patterns more; improve glob.c/pattern.c interface; fix minor issue; add bogus quotation from Proust (it's my file and I'll do what I like with it). 2004-10-17 Wayne Davison * 20496: Src/utils.c: made zclose() not call close() when the fd arg is < 0. * unposted: Src/Zle/zle_main.c: initialize the first byte of the allocated "line" buffer so that we avoid uninitialized- memory warnings in valgrind. 2004-10-16 Peter Stephenson * 20490: Src/pattern.c, Src/zsh.h: use lengths for test strings in patterns instead of null termination. 2004-10-14 Peter Stephenson * 20482: Src/Zle/complist.c: A TAB after entering interactive completion caused nonsense to be inserted into the command line. The behaviour of TAB is still probably not ideal. 2004-10-12 Wayne Davison * unposted: Completion/Unix/Command/_make: got rid of an unused local vaiable (cmdargs). * unposted: Completion/Unix/Command/_rsync: added 7 more options that were not described. 2004-10-08 Peter Stephenson * 20467: configure.ac, Doc/Zsh/params.yo, Src/exec.c, Src/jobs.c, Src/signals.c, Src/zsh.h: Finally reintroduce the TIMEFMT escapes from struct rusage removed ages ago. Uses more sophisticated autconf tests to make configuration seamless. 2004-10-07 Peter Stephenson * 20462: configure.ac, Src/exec.c, Src/init.c, Src/jobs.c, Src/signals.c, Src/zsh.h: Improve process timing by using getrusage() where available (everywhere?) and by starting the wallclock just before a process is forked. 2004-10-07 Wayne Davison * unposted: Completion/Unix/Command/_rsync: added options that are new in rsync 2.6.3. 2004-10-05 Peter Stephenson * unposted: Update README to indicate 20412. * 20435: Src/pattern.c: fix crash in negative matching. Could do with being streamlined but that might be a big change. * 20412 (tweaked): Doc/Zsh/builtins.yo, Src/builtin.c, Src/cond.c, Src/exec.c, Src/utils.c: Make test and [ builtins more POSIX compatible: return status 2 for errors, require integer constants for numeric tests. 2004-10-01 Wayne Davison * 20438: Src/builtin.c, Src/hist.c, Src/params.c, Src/zsh.h: If the shell is exiting because it received a signal, we now skip rewriting the history file after appending any new lines. Has no affect unless APPEND_HISTORY, INC_APPEND_HISTORY, or SHARE_HISTORY are set. This should avoid a history truncation glitch when too many shells are all trying to update the history file at the same time before being killed by a follow-up signal. 2004-10-01 Wayne Davison * unposted: Src/params.c: silenced two compiler warnings about unused parameters. 2004-10-01 Wayne Davison * unposted: Src/builtin.c, Src/Modules/parameter.c: use convbase instead of a "%d" format to convert a zlong. 2004-10-01 Wayne Davison * 20277 (modified): Completion/Unix/Command/_make: completer now follows include files and expands variables (and does it all in zsh code instead of using awk or perl). 2004-10-01 Peter Stephenson * 20427, 20339 (modified): Completion/Base/Core/_main_complete, Doc/Zsh/compsys.yo: Fix for problem with _oldlist and custom completion. Also snuck in show-completer style with documentation. 2004-09-30 Clint Adams * 20358: Completion/Unix/Command/_make: avoid potential gawk locale bug by not using awk. 2004-09-29 Bart Schaefer * 20418: Src/parse.c: fix crash-inducing bug with mis-parsing of incomplete pipeline expressions (e.g. "zsh -c 'echo |'). 2004-09-28 Clint Adams * 20414: Completion/Unix/Type/_diff_options: correct missing minus in --unified, spotted by Paul Wagland. 2004-09-27 Peter Stephenson * unposted: Completion/Unix/Command/_perforce: when adding files, ignore files already open for whatever reason, including those already being added. 2004-09-24 Wayne Davison * 20409: Completion/Unix/Command/_darcs: Completion for the darcs revision control system. Derived from the zsh-completion example that comes with darcs. 2004-09-21 Peter Stephenson * unposted: Completion/Unix/Command/_perforce: updated for Perforce release 2004.2. * 20398: Src/Zle/zle_main.c: allow clean exit from within a zle widget function. 2004-09-20 Bart Schaefer * 20397: Doc/zmacros.yo, Doc/Zsh/invoke.yo, Doc/Zsh/zle.yo: tweaks to account for texinfo's tendency to condense "--" into "-". 2004-09-20 Peter Stephenson * 20391: Src/params.c: SHLVL didn't get updated in the environment if it was already present. 2004-09-20 Bart Schaefer * 20388: Src/Zle/zle_main.c: arrange that "zle internal-widget" called from a "zle -N" widget does not trip the ignoreeof warning. This is the long-documented behavior, but may break old "zle -N" widgets designed as wrappers around delete-char-or-list. * 20387: Src/init.c, Src/Zle/zle_main.c: rather than counting EOF keystrokes as in 20363, pretend that we received an EOF each time the "use 'logout' to logout" warning is printed, and let the top- level loop keep the count. This way, disabling the warning (by rebinding that key to a "zle -N" widget) also disables counting. 2004-09-17 Peter Stephenson * 20378: Matthias B : Src/params.c, Src/utils.c, B02typeset.ztst: Fix bugs with metafied characters in tied arrays. 2004-09-16 Peter Stephenson * 20364: Functions/Completer/_oldlist: use $WIDGETSTYLE. 2004-09-13 Peter Stephenson * 20363: Src/init.c, Src/Zle/zle_main.c: exiting after 10 EOFs with ignore_eof set was broken in zle. 2004-09-10 Peter Stephenson * 20348: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: Rejig WIDGETSTYLE and add WIDGETFUNC. 2004-09-09 Peter Stephenson * 20332: Src/Zle/zle_params.c, Doc/Zsh/zle.yo: add WIDGETSTYLE zle parameter to reveal widget implementation: function name for zle -N widgets and internal completion widget for zle -C widgets. * 20331: Src/builtin.c, Src/hist.c, Src/params.c, Src/prompt.c, Src/zsh.h, Src/Zle/compctl.c: Where possible use internal zlong variables for integers that correspond to shell variables. 2004-09-08 Peter Stephenson * 20330: Src/Zle/zle_thingy.c, Doc/Zsh/zle.yo: rationalise status from zle -I and improve documentation of status from zle, zle -I, zle -R. 2004-09-08 Bart Schaefer * 20325: Src/exec.c, Test/E01options.ztst: fix crash when using the "command" builtin (as opposed to the "command" precommand modifier) when POSIX_BUILTINS is set; (unposted) add test for that and also for EVAL_LINENO. * 20320: Src/builtin.c: rewrite 20318 for simplicity and clarity. 2004-09-04 Bart Schaefer * 20318: Src/builtin.c: fix subtle xtrace output bug introduced by 20308. 2004-09-03 Peter Stephenson * 20308: Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, Src/options.c, Src/zsh.h: add option EVAL_LINENO which issues separate line numbers inside eval's, as at present. Without it, the line from the surrounding environment is reported. 2004-09-02 Peter Stephenson * 20303: Src/Zle/zle_thingy.c, Doc/Zsh/zle.yo: Make test for zle -I more consistent with other uses of zle. Make zle widgets runnable inside traps. * 20300: Src/Zle/zle_main.c: typing ^D to list completions, then two ^C's caused a spurious EOF. 2004-08-24 Wayne Davison * 20283: Completion/Unix/Command/_ant: Improved the parsing of the tag as suggested by Jean-Baptiste Quenot. 2004-08-23 Wayne Davison * 20282: Src/Zle/zle_hist.c: fixed a problem with a negative NUMERIC causing wrong movement in combo zle commands such as up-/down-line-or-history and up-/down-line-or-search. 2004-08-18 Wayne Davison * 20269, 20270: Completion/Unix/Command/_make: Don't output the make targets all clumped into a single string when useperl is enabled. Don't output a bogus target for a "VAR := VAL" line. 2004-08-16 Peter Stephenson * unposted: rename version to 4.2.1-dev-1 so as to avoid confusion with the released version. * unposted: update Etc/FAQ.yo as already sent to ftp.zsh.org * 20258: Doc/Zsh/options.yo, Src/prompt.c: save command status as well as error flag when performing substitutions in prompts. * 20251: Src/math.c, Src/utils.c: Warn when an integer converted from a string is too long and truncate it rather than let it overflow. 2004-08-13 Clint Adams * unposted: config.guess, config.sub: update to 2004-07-19 and 2004-06-24, respectively. 2004-08-13 Peter Stephenson * unposted: Version 4.2.1. 2004-08-11 Oliver Kiddle * 20254: Completion/Base/Core/_tags: restrict the scope of the default tag-order to fix a problem with cdrecord completion 2004-08-10 Bart Schaefer * 20244: Functions/Misc/zed: fix bug with editing of autoloaded functions (introduced by 20089). 2004-08-07 Oliver Kiddle * 20237: Completion/Unix/Command/_screen: rewrite completion of screen sessions * 20237: Completion/Unix/Command/_mysql_utils: complete for mysqlimport and update some of the options * 20236: Completion/Base/Completer/_expand: fix problem with keep-prefix style where a modifier changes or removes the prefix * 20235: Completion/Unix/Command/_rsync: synched remote file completion with that in _ssh. quoting needed quoting. 2004-08-07 Geoff Wing * 20196: Src/prompt.c: still allow user specified text modifiers with a short terminal. Only disallow if the terminal is really unknown or without sufficient capabilities or if SINGLE_LINE_ZLE option is specified 2004-08-06 Peter Stephenson * 20232 with typo corrected: Functions/Zftp/zfcd: remove cached directory listing when changing directory. * unposted: Config/version.mk: version 4.2.1-test-A. 2004-08-01 Clint Adams * 20230: Completion/Debian/Command/_apt: dumb down apt-get install completion and always complete from all available packages. * 20225: Doc/Zsh/mod_clone.yo: add Philippe Troin's explanations of clone usage. 2004-07-30 Peter Stephenson * unposted: minor tidy up for 20219: neaten read-from-minibuffer and make history-pattern-search use last pattern as default. * unposted: README: mention max function depth is on by default * 20222: INSTALL, configure.ac: turn on max function depth by default to avoid crash. 2004-07-29 Peter Stephenson * 20221: Src/exec.c, Src/signals.c, Test/A05execution.ztst: $LINENO in trap '...' DEBUG was wrongly reported as the line in the trap, not in the surrounding code. Probably broken in all 4.x builds to date. * 20219: Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo, Functions/Zle/.distfiles, Functions/Zle/history-pattern-search, Src/Zle/zle_hist.c, Src/Zle/zle_params.c: make zle parameter HISTNO writeable, add history-pattern-search sample to use it. * 20208: Src/prompt.c, Doc/Zsh/prompt.yo: ternary code character C etc. treat / as path with zero elements. 2004-07-28 Peter Stephenson * 20214: Src/parse.c: fix debugging test that didn't work with recursive functions. * 20204: Motoi Washida: Completion/Base/Utils/_retrieve_cache: typo in definition of _cache_dir. * 20200: Completion/Unix/Command/_kfmclient, Completion/Unix/Type/_mime_types: fix some points made by Oliver to tidy up. Also unposted: don't let _kfmclient drop through to `no more arguments' on failed completion. 2004-07-26 Peter Stephenson * 20199: Completion/Unix/Command/_elinks, Completion/Unix/Type/.distfiles, Completion/Unix/Type/_mime_types, Completion/X/Command/.distfiles, Completion/X/Command/_kfmclient, Doc/Zsh/contrib.yo, Functions/MIME/pick-web-browser, Functions/MIME/zsh-mime-setup: add completion for MIME types and kfmclient, use kfmclient to talk to konqueror and improve mime-types and mailcap styles. * 20198: Src/exec.c, Src/signals.c, Test/C03traps.ztst, Test/Makefile.in, Test/ztst.zsh: EXIT traps were freed before being run. This isn't recommended by most programming text books. 2004-07-25 Bart Schaefer * unposted: Doc/Zsh/contrib.yo: documentation for "zargs". 2004-07-23 Oliver Kiddle * 20180 (based on Jean-Baptiste Quenot's 20177): Completion/Unix/Command/_killall: fix to work on BSD systems * Motoi Washida : 20179 (tweaked): Completion/Darwin/Type/_mac_applications, Completion/Darwin/Command/_open, Completion/Darwin/Command/_defaults: new completions for Mac OS X 2004-07-19 Oliver Kiddle * Jean-Baptiste Quenot: 20167: Completion/Unix/Command/_ant: find targets enclosed in single instead of double quotes 2004-07-17 Peter Stephenson * 20173: Src/mem.c: crash when globbing lots of files; need to NULLify fheap optimisation when reallocating a heap. 2004-07-13 Peter Stephenson * 20153: Src/Zle/zle_main.c: make zle-line-init run after the initial zrefresh() by moving the latter out of zlecore(). Needs an extra call in recursiveedit(). 2004-07-12 Peter Stephenson * unposted: NEWS: read it through and tidied it up. Also additions from Oliver. * 20151: NEWS: notes on (F) and history -p. * unposted: improve 20150 by setting pointer to NULL when freed. 2004-07-11 Peter Stephenson * 20150: Src/Zle/compresult.c: repost of ancient attempt to fix memory leak in completion. * 20149: Doc/Zsh/zle.yo, Src/init.c, Src/input.c, Src/loop.c, Src/zsh.h, Src/Zle/zle_main.c: alter users/7650 so that prompt variable is always reread; fixes bug that if PS1 was altered the prompt string was invalid. 2004-07-10 Bart Schaefer * 20145: Doc/Zsh/contrib.yo, Functions/Zle/read-from-minibuffer: second and third arguments of read-from-minibuffer now specify the initial values of LBUFFER and RBUFFER. 2004-07-07 Peter Stephenson * 20142: Test/A06assign.ztst: add test for bug fixed in 20141. * 20141: Src/builtin.c, Src/exec.c, Src/params.c: Crash after restoring exported special parameters. The answer was `pm = tpm' at exec.c:2590. 2004-07-02 Peter Stephenson * 20127: Doc/Zsh/zle.yo, Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: slightly tweaked version of Wayne's patch in users/7652 which only reexpands the prompt when the commandline was trashed by output. * 20126, with modifications: .distfiles, ChangeLog-3.1, ChangeLog-4.1, ChangeLog.3.0, FEATURES, INSTALL, MACHINES, NEWS, README, Etc/.distfiles, Etc/ChangeLog-3.1, Etc/ChangeLog-4.1, Etc/FAQ.yo, Etc/FEATURES, Etc/MACHINES, Etc/NEWS, Test/.distfiles, Etc/ChangeLog-3.0: tidy up ready for 4.2.1 * 20125: Doc/Zsh/jobs.yo: say where the output for job notifications goes. 2004-07-01 Peter Stephenson * users/7650: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, Src/Zle/zle_main.c: new zle widget prompt-reset redisplays screen with prompt updated. 2004-06-30 Peter Stephenson * 20118: Doc/Zsh/builtins.yo, Src/Builtins/rlimits.c: Attempt to handle unknown limits by number. Also improve output and collect common code. 2004-06-28 Peter Stephenson * 20112, changed as per 20113: Src/exec.c, Src/parse.c, Src/subst.c, Doc/Zsh/redirect.yo, Test/A04redirect.yo: Fix here-strings to do standard single-word expansion (which was always intended but was partially broken), and also attempt to parse the end string for here-documents in a more standard fashion. 2004-06-26 Peter Stephenson * unposted: Functions/Zle/.distfiles: add zed-set-file-name. 2004-06-24 Bart Schaefer * unposted (see 20092): Completion/Zsh/Context/_condition: fix typos in descriptions. 2004-06-23 Peter Stephenson * 20089: Doc/Zsh/contrib.yo, Functions/Misc/zed, Functions/Zle/zed-set-file-name: various zed enhancements. 2004-06-22 Clint Adams * 20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings. 2004-06-22 Peter Stephenson * 20076, 20084: Doc/Zsh/grammar.yo, Doc/Zsh/params.yo, Src/exec.c, Src/loop.c, Src/params.c, Src/parse.c, Src/prompt.c, Src/text.c, Src/zsh.h, Test/A01grammar.ztst: { ... } always { ... } syntax for making sure tidy-up code is run. 2004-06-21 Bart Schaefer * unposted: Doc/Zsh/zle.yo: copy-prev-shell-word has no default bindings, so it shouldn't claim those of copy-prev-word. * 19785 (cont'd): Doc/zsh/builtins.yo, Doc/zsh/compsys.yo: Previously uncommitted documentation changes (Oliver). * users/7267: Functions/Zle/predict-on: Minor update to cooperate with zle-line-init. 2004-06-19 Clint Adams * 20081: Doc/Zsh/mod_pcre.yo: document -pcre-match condition. 2004-06-18 Oliver Kiddle * 20077: Completion/Zsh/Command/_disable, Completion/Zsh/Command/_enable: fix completion of reserved words 2004-06-18 Peter Stephenson * 20033: Completion/Base/Utility/_arguments: unconfirmed fix for configure output parsing with square brackets. 2004-06-17 Oliver Kiddle * 20069: Completion/Unix/Command/_iconv: complete character encodings case-insensitively for GNU iconv * 20059: Completion/Unix/Command/_chown: check for systems using . separator instead of for those using : 2004-06-16 Oliver Kiddle * users/7553: Completion/compdump, Completion/compinit: include zsh version in dump file to avoid problems with upgrades 2004-06-15 Clint Adams * 20055: Completion/Unix/Command/_tla: additions and fixes from Jason McCarty. 2004-06-09 Peter Stephenson * c.f. 20034: Test/V03mathfunc.ztst: tests for the zsh/mathfunc module. 2004-06-08 Peter Stephenson * 20029: Src/Modules/mathfunc.c: rand48(seed) stopped being random after the second call. 2004-06-08 Peter Stephenson * Philippe Troin: 20026: INSTALL: nit-pick. * Philippe Troin, 19996, plus 20025: configure.ac, INSTALL: add configure option --with-tcsetpgrp. * 20024: Doc/Zsh/func.yo: Improve documentation for TRAPNAL functions. 2004-06-03 Felix Rosencrantz * 20002: Src/Zle/compmatch.c: Fix a problem with an inconsistent struct change in cmp_anchors(). 2004-06-03 Peter Stephenson * 20017: Doc/.distfiles: add zsh.html to doc distribution. * users/7467: Completion/Base/Core/_dispatch: quoted commands weren't found in dispatcher lookup. 2004-06-02 Wayne Davison * unposted: builtin.c, exec.c, glob.c, hashtable.c, hist.c, init.c, jobs.c, loop.c, mem.c, module.c, options.c, params.c, parse.c, subst.c, system.h, utils.c, watch.c, Builtins/rlimits.c, Builtins/sched.c, Modules/cap.c, Modules/clone.c, Modules/datetime.c, Modules/example.c, Modules/files.c, Modules/langinfo.c, Modules/mapfile.c, Modules/mathfunc.c, Modules/parameter.c, Modules/socket.c, Modules/stat.c, Modules/system.c, Modules/tcp.c, Modules/termcap.c, Modules/terminfo.c, Modules/zftp.c, Modules/zprof.c, Modules/zpty.c, Modules/zselect.c, Modules/zutil.c, Zle/compcore.c, Zle/compctl.c, Zle/complete.c, Zle/complist.c, Zle/compresult.c, Zle/computil.c, Zle/deltochar.c, Zle/zle_hist.c, Zle/zle_keymap.c, Zle/zle_main.c, Zle/zle_misc.c, Zle/zle_move.c, Zle/zle_params.c, Zle/zle_refresh.c, Zle/zle_thingy.c, Zle/zle_tricky.c, Zle/zle_utils.c, Zle/zle_vi.c, Zle/zle_word.c, Zle/zleparameter.c: Silenced unused-parameter compiler warnings. 2004-05-28 Wayne Davison * 19980: Src/glob.c, Src/hashtable.c, Src/jobs.c, Src/loop.c, Src/params.c, Src/parse.c, Src/pattern.c, Src/Modules/datetime.c, Src/prompt.c, Src/subst.c, Src/utils.c, Src/Modules/zftp.c, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complete.c, Src/Zle/computil.c, Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c: Fixed some compiler warnings that gcc outputs with -W. 2004-05-28 Clint Adams * 19991: Completion/Unix/Command/_lynx: complete .htm files too. 2004-05-25 Peter Stephenson * 19976: Src/exec.c, Src/jobs.c: `job table full' messages spotted by many people were traced by Wayne to thisjob being -1, which wasn't handled in a test no one understands anyway. * Compiled by Thorsten Kampe in zsh-users/7474: Doc/Zsh/options.yo: reorder option descriptions into subheadings. 2004-05-21 Wayne Davison * 19967+: Src/builtin.c, Src/hist.c Src/params.c, Doc/Zsh/builtins.yo, Functions/Misc/zcalc: added a -a option to `fc -p' to enable automatic popping of the pushed history list on function exit. Updated zcalc. 2004-05-21 Peter Stephenson * 19971: Src/exec.c, Src/params.c: use putenv to put "_" into exec'd environment, avoiding horrific hack. 2004-05-20 Wayne Davison * 19962: Src/builtin.c, Src/hist.c, Doc/Zsh/builtins.yo, Functions/Misc/zcalc: added the ability to push/pop the history list via the new -p/-P options to fc. Used this in zcalc to make the switch to zcalc's private history-list very smooth. 2004-05-19 Peter Stephenson * unposted: Completion/Unix/Command/_perforce: tweak to allow changes and revisions with >, <, = qualifiers. 2004-05-13 Peter Stephenson * 19941: Src/math.c, Test/C01arith.ztst: (( x, )) triggered an internal bug instead of reporting an error. 2004-05-13 Peter Stephenson * 19936: Functions/Misc/zcalc: bad name for temporary history file invites clashes. 2004-05-12 Peter Stephenson * 19920 modified c.f. 19921: Src/mem.c: attempt to improve behaviour of hrealloc, particularly when using mmap(). 2004-05-11 Wayne Davison * 19893 (plus one extra tweak): Src/hist.c: Fix the potential for an infinite loop in lockhistfile(). 2004-05-05 Wayne Davison * 19878: Src/utils.c: a single-character change fixes the new strftime() return-check idiom. 2004-05-04 Peter Stephenson * 19877: Src/prompt.c, Src/utils.c, Src/Modules/datetime.c: Improve 19869: remove infinite loop and attempt to test for whether strftime() encountered an error. 2004-05-04 Clint Adams * 19869: Src/prompt.c, Src/utils.c: avoid segfault when prompt-expanding '%D{%p}' or '%D{%P}' under locales with null strings for am_pm. 2004-05-02 Peter Stephenson * 19858: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c, Src/signals.c, Src/signals.h: TRAPS_ASYNC option done properly, not blocking signals during sigsuspend to wait for children. 2004-05-01 Clint Adams * 19863: Completion/Zsh/Type/_command_names, Doc/Zsh/compsys.yo: allow search path for command names to be overridden by means of new command-path style. 2004-04-28 Clint Adams * 19845: Completion/Debian/Command/_apt-move: apt-move completion function from Steven Kowalik. 2004-04-27 Peter Stephenson * 19839 (plus suggestion from 19842): Completion/Unix/Type/_path_files: handle existing (#q)'s in qualifiers when adding sort options and adding back qualifiers from command line. * 19840: Src/Zle/zle_main.c: also, vared now only takes one normal argument. * 19837: Src/Zle/zle_main.c: fix 19733 which accidentally removed the -e option to vared. 2004-04-26 Doug Kearns * unposted: Completion/Unix/Command/_aap: short and long options are mutually exclusive 2004-04-23 Peter Stephenson * 19825: Completion/Unix/Command/_perforce: suggested by Michael Denio: add `changes' style to allow limitting list of changes offered for completion. * 19810: Src/exec.c: avoid setting flag on Eprog which may no longer be valid. Had no feedback, so don't know if it helps, but at worst harmless. * 19812: Src/builtin.c: avoid race with autoloaded trap functions. However, I think these still need substantial improvement. 2004-04-21 Peter Stephenson * 19809: Src/jobs.c, Src/signals.c, Src/signals.h: improve zsh-users/7365 by only queuing traps when TRAPS_ASYNC is set. This avoids any nasty races, including one reported by Vincent Stemen. 2004-04-21 Oliver Kiddle * 19806: Src/prompt.c: fix bug with %v expansion and negative index 2004-04-20 Peter Stephenson * 19801: Src/builtin.c: Autoloading of TRAP functions was never implemented. 2004-04-20 Oliver Kiddle * 19767, 19785: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/zsh.h, Completion/compinit, Completion/compdump, Completion/compinstall, Completion/bashcompinit, Completion/Base/Widget/_next_tags, Completion/Zsh/Type/_functions, Completion/Zsh/Command/_typeset, Doc/Zsh/builtins.yo: store flags for -z and -k options to autoload allowing the completion system to be used with ksh_autoload set * 19800: Test/B02typeset.ztst: reverse sense of `declare +m' test 2004-04-19 Clint Adams * 19798: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_bogofilter: rudimentary completion for bogoutil. 2004-04-19 Peter Stephenson * zsh-users/7365: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c, Src/signals.c, Src/zsh.h, plus unposted Etc/NEWS hunk: new option TRAPS_ASYNC, turn off to stop traps being run while waiting for a child process. 2004-04-18 Clint Adams * 19792: Completion/X/Command/_mplayer: complete .m2v and .m2p, thanks to Rene H. Larsen. 2004-04-17 Oliver Kiddle * 19790: Completion/Zsh/Command/_zcompile: complete functions after -a and allow multiple -z/-k options 2004-04-17 Doug Kearns * 19775: Completion/Unix/Command/_php: new completion for php * unposted: Completion/Unix/Command/_elinks: declare and initialise return value parameter 2004-04-15 Peter Stephenson * see 19778 etc.: Doc/Makefile.in: remove change from 19735. 2004-04-15 Clint Adams * 19606: Completion/Unix/Command/_tla: switch tla completion to the version by Jason McCarty, Erik Toubro Nielsen, and Rob Weir. 2004-04-14 Clint Adams * Jay Berkenbilt: 19769: Completion/Unix/Command/_rsync: fix quoting for remote file completion, add -L to ls command. 2004-04-14 Oliver Kiddle * Ingo Rohlfs: 19747: Completion/Unix/Command/_subversion: complete files/urls for svn cp and mv commands * unposted: Completion/Unix/Command/_cdrecord: add missing local * 19768: Completion/compinit: suggest running compaudit to see insecure files and directories and send errors to stderr 2004-04-06 Wayne Davison * 19743: Test/D02glob.ztst: Test the new F glob qualifier. * 19741: Src/glob.c: Minor optimization to qualnonemptydir() when a dir contains a subdir. 2004-04-06 Oliver Kiddle * 19712, 19740: Src/params.c, Doc/Zsh/params.c: allow assigning to associative array elements where the i or r subscript flag is used 2004-04-06 Peter Stephenson * Peter Castro : 19735 (minus texinfo hunk): Doc/Makefile.in, Src/builtin.c, Src/exec.c, Src/main.c, Src/system.h, configure.ac: improved use of paths, text/binary and dynamic library usage for Cygwin. * 19733 (with improved documentation): Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo, Functions/Misc/zed, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c: vared -M and -m allow you to provide main and alternate keymap; zed will use keymaps zed and zed-vicmd. 2004-04-05 Peter Stephenson * unposted, suggested by Wayne: Doc/Zsh/expn.yo: make 19728 clearer. * 19728: Doc/Zsh/expn.yo: explain that (^F) (from 19717) doesn't mean `non-empty directories', you need (/^F) for that. * unposted: ChangeLog, ChangeLog-4.1: move stuff up to 4.2.0 out of ChangeLog. * unposted: Config/version.mk: update version to 4.2.0-dev-1; not tagged or released, this is just to avoid clashes with the released version. 2004-04-01 Peter Stephenson * 19717: Doc/Zsh/expn.y, Src/glob.c: use F glob qualifier for `full' (non-empty) directories. 2004-03-31 Bart Schaefer * unposted: Functions/Misc/zrecompile: change "mv" to "mv -f" when backing up .zwc files, because zcompile creates the files read-only. See thread ending at users/7269. 2004-03-30 Oliver Kiddle * 19708: Completion/compaudit: change getent() function to handle two arguments * 19707: Src/params.c, Test/D05array.ztst: fix bug where a nagative index into an array returned a one element array instead of a scalar 2004-03-25 Clint Adams * 19691: Completion/Unix/Type/_diff_options: Allow more than one --exclude or -x to diff. 2004-03-25 Peter Stephenson * 19683: Src/utils.c: Work around occasional problem on Cygwin with dllwrap. * 19682: Doc/Zsh/builtins.yo, Etc/NEWS, Src/signals.c: Don't run ZERR, DEBUG or EXIT traps inside other traps; caused confusion and incompatibility. 2004-03-24 Peter Stephenson * 19674 plus unposted changes suggested in 19676: configure.ac, Doc/Zsh/mod_zftp.yo, Src/Modules/zftp.c, Etc/NEWS, Functions/Zftp/zfstat: Add support for non-standard ports to core zftp. Not yet handled by the function system (except zfstat reports port): needed in lastloc and bookmarks. 2004-03-23 Peter Stephenson * 19661: Danek Duvall: Completion/Unix/Type/_diff_options: support diff -u on Solaris from 2.10 up. 2004-03-22 Clint Adams * 19673: Peter Palfrader: Completion/Unix/Command/_cvs: tags can contain the + character. 2004-03-22 Peter Stephenson * 19669, 19670: Danek Duvall: Completion/compaudit: Use of getent to check groups was slow; typo caused duplicate fpath entries. * 19671: Src/Zle/zle_main.c: error in zle-line-init caused infinite loop. 2004-03-20 Bart Schaefer * 19666 (tweaked): Completion/Unix/Command/_ssh: fixes for remote file completion for scp, suggested by Jay Berkenbilt . * users/7172: Functions/Prompts/prompt_bart_setup: include "unset" among the localoptions, as this relies on it.