diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2012-12-17 19:50:31 +0100 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2012-12-17 19:51:41 +0100 |
commit | 049f4be0b89188e1bc3e19e75c0675dd2356d3ef (patch) | |
tree | 7b6cc1a6611683b28888f8f7172ce8ceba773c30 | |
parent | 015e05572733aafd2a005edd507d16e2310653a0 (diff) | |
parent | 7152094541a54c92ff937413f850e09412585b7b (diff) | |
download | zsh-049f4be0b89188e1bc3e19e75c0675dd2356d3ef.tar.gz zsh-049f4be0b89188e1bc3e19e75c0675dd2356d3ef.zip |
New upstream test release
101 files changed, 18924 insertions, 17007 deletions
diff --git a/.distfiles b/.distfiles index 8e0d2f359..57262947c 100644 --- a/.distfiles +++ b/.distfiles @@ -1,5 +1,5 @@ DISTFILES_SRC=' - .cvsignore .distfiles .gitignore .preconfig Makefile.in + .cvsignore .distfiles .editorconfig .gitignore .preconfig Makefile.in ChangeLog FEATURES INSTALL LICENCE MACHINES META-FAQ NEWS README aclocal.m4 aczsh.m4 configure.ac diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..58421c055 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true # Top-most editorconfig file + +[*] +end_of_line = lf +tab_width = 8 +indent_size = 2 + +[*.[ch]] +indent_size = 4 @@ -1,16460 +1,387 @@ -2012-07-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: update for 5.0.0 release. - -2012-07-17 Barton E. Schaefer <schaefer@zsh.org> - - * users/17051 (cf. 30571): Completion/compinit: explicit IFS for - "read" of bindkey, dumpfiles, etc. - -2012-07-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Bart: 30560: Src/builtin.c: unset array element by setting - to null. - -2012-07-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Danek: 30562: Completion/Solaris/Command/_dladm, - Completion/Solaris/Command/_flowadm, - Completion/Solaris/Command/_ipadm, - Completion/Solaris/Command/_zoneadm, - Completion/Unix/Command/_zfs, Completion/Unix/Command/_zpool, - Completion/Unix/Type/_zfs_dataset: Solaris completion updates. - -2012-06-30 Barton E. Schaefer <schaefer@zsh.org> - - * 30540: Src/builtin.c: process the rest of the typeset flags when - changing the numeric type of SECONDS e.g. from integer to float. - -2012-06-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: belatedly commit version number update. - -2012-06-26 Barton E. Schaefer <schaefer@zsh.org> - - * 30533: Src/utils.c: when processing a change in the value of - COLUMNS, do not assert the change into the tty driver winsize. - The code for this was dead the whole time IPDEF5 was broken and - this seems a bad time to make it live; besides which it is not - consistent about the handling of LINES (which is ignored when - changed by itself, but would be asserted when COLUMNS changes). - - * 30530: Src/params.c: fix long-broken IPDEF5 definition to use - the GSU struct, thus fixing problems with values of LINES or - COLUMNS less than 1. - -2012-06-21 Peter Stephenson <pws@csr.com> - - * Danek (plus .distfiles changes): 30520: - Completion/Solaris/Command/.distfiles: - Completion/Solaris/Command/_beadm, - Completion/Solaris/Command/_dladm, - Completion/Solaris/Command/_dtrace, - Completion/Solaris/Command/_flowadm, - Completion/Solaris/Command/_fmadm, - Completion/Solaris/Command/_ipadm, - Completion/Solaris/Command/_netstat, - Completion/Solaris/Command/_pkg5, - Completion/Solaris/Command/_prstat, - Completion/Solaris/Command/_ps, - Completion/Solaris/Command/_snoop, - Completion/Solaris/Command/_svcadm, - Completion/Solaris/Command/_svccfg, - Completion/Solaris/Command/_svcprop, - Completion/Solaris/Command/_zlogin, - Completion/Solaris/Command/_zoneadm, - Completion/Solaris/Type/.distfiles, - Completion/Solaris/Type/_be_name, - Completion/Solaris/Type/_svcs_fmri, - Completion/Solaris/Type/_zones, - Completion/Unix/Command/_zfs, - Completion/Unix/Command/_zpool, - Completion/Unix/Type/.distfiles, - Completion/Unix/Type/_zfs_dataset, - Completion/Unix/Type/_zfs_keysource_props: updated completions - for Solaris 11. - - * 30518: configure.ac, Src/zsh_system.h: attempt to supply - tgoto() prototype only when missing for Solaris 10 and earlier. - - * 30519 (correction noticed by Danek): MACHINES: try to - modernise. - -2012-06-18 Peter Stephenson <pws@csr.com> - - * Dima Kogan: 30515: Src/glob.c: glob size test failed on very - large files owing to integer type error. - -2012-06-15 Phil Pennock <pdpennock@users.sourceforge.net> - - * 30513: zsh/regex metafy fixes for widechar; similar to 29838. - -2012-06-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30509: FEATURES, README, Etc/FAQ.yo: updates for 5.0.0. - - * Danek: 30510: Doc/Zsh/params.yo: bad indentation. - -2012-06-10 Clint Adams <clint@zsh.org> - - * 30503: Completion/Unix/Command/_mosh: rudimentary - completion for mosh. - -2012-06-10 Mikael Magnusson <mikachu@gmail.com> - - * Jeremy Mates: 30505: Completion/Unix/Command/_wget: Allow - multiple --header=. - -2012-06-06 Barton E. Schaefer <schaefer@zsh.org> - - * users/17134: Functions/Misc/promptnl: avoid bad math error - -2012-06-06 Peter Stephenson <pws@csr.com> - - * Vincent: 30497: Completion/Unix/Command/_xmlsoft: option - completion issue. - -2012-06-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/17132: Doc/Zsh/contrib.yo, - Functions/Zle/forward-word-match, - Functions/Zle/select-word-style: skip-whitespace-first style for - compatibility with bash and other editors in forward-word. - -2012-05-31 Peter Stephenson <pws@csr.com> - - * Foudil Brétel: 30495: Completion/Unix/Command/_systemd (also - Completion/Unix/Command/.distfiles): replace - Completion/Unix/Command/_systemctl and add various enhancements. - -2012-05-23 Frank Terbeck <ft@bewatermyfriend.org> - - * Juliano Ravasi: 30488: - Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix - initialisation of `$stgit_unapplied'. - -2012-05-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Jun T.: 30483: Completion/Unix/Command/_mount: improved - completion on MacOS. - - * Danek: 30485: Src/jobs.c: trailing garbage after signal - number not recognised in kill builtin. - -2012-05-21 Peter Stephenson <pws@csr.com> - - * c.f 30482 (Peter Jaros): Completion/Unix/Command/_tmux: typo - in description. - -2012-05-17 Mikael Magnusson <mikachu@gmail.com> - - * 30473: Completion/Linux/Command/_strace: update for 4.7 and - mark all options as taking sticked arguments. - - * 30474: Completion/Unix/Command/_ssh: Add -O cancel. - -2012-05-14 Mikael Magnusson <mikachu@gmail.com> - - * 30468: Functions/Prompts/prompt_fade_setup: add missing $ - reported by Devon Meunier. - - * 30466: Completion/Unix/Type/.distfiles, - Completion/Unix/Type/_ps1234, Completion/Zsh/Command/_print: - Add new completer for prompt format specifiers and hook it up - to print -P and assigning to the various prompt parameters. - Add completion for printf and print -f formats. - -2012-05-08 Barton E. Schaefer <schaefer@zsh.org> - - * unposted, see users/17062: Doc/Zsh/contrib.yo: Briefly describe - option semantic differences from xargs to zargs. (Merged with - PWS edits.) - -2012-05-08 Peter Stephenson <pws@csr.com> - - * 30469: Src/builtin.c: allow reverse listing of history using - fc -r, but don't allow reverse execution of commands at all. - - * unposted: Doc/Zsh/contrib.yo: clarify that zargs is different - from xargs. - -2012-05-03 Peter Stephenson <pws@csr.com> - - * unposted, see 30465: Doc/Zsh/expn.yo, Doc/Zsh/params.yo: add - index entries and cross-references for matching parameters. - -2012-05-02 Mikael Magnusson <mikachu@gmail.com> - - * 30461, 30462 (tweaked): Functions/Prompts/promptinit, - Functions/VCS_Info/vcs_info_setsys, Functions/Zftp/zfcd_match, - Functions/Zle/url-quote-magic: add missing local for match, - mbegin and mend. - - * 30425 (fixed): Src/Zle/zle_params.c, Doc/Zsh/zle.yo: - Add localhistory/globalhistory to $ZLE_STATE as set by the - set-local-history zle widget. - -2012-05-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/17046: Src/utils.c, Test/D04parameter.ztst: don't - count too many elements when splitting quoted parameter - substitution on null separator. - -2012-05-01 Mikael Magnusson <mikachu@gmail.com> - - * 30456: Completion/Unix/Command/_getconf: Use new array syntax. - -2012-04-25 Peter Stephenson <pws@csr.com> - - * 30455: NEWS, Src/params.c: remove max array length test. - -2012-04-25 Mikael Magnusson <mikachu@gmail.com> - - * 30429: Completion/Unix/Command/_init_d: Avoid error when the - service doesn't exist. - - * 30430: Doc/intro.ms: Fix some errors and outdatedness. - - * 30444: NEWS: Add entry for new syntax added in 30431 below. - -2012-04-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/subst.c: add test for valid identifier to 30431. - - * Test/D04parameter.ztst: 30439: Src/subst.c, - Test/D04parameter.ztst: ${...:*...} with nonexistent or - non-array variable second should return no results. - - * 30431 (typo in _typeset fixed): - Completion/Zsh/Command/_typeset, Doc/Zsh/expn.yo, Src/params.c, - Src/subst.c, Test/D04parameter.ztst: add ${...:|...} and - ${...:*...} operators for removal or inclusion of results - by array element. - -2012-04-21 Barton E. Schaefer <schaefer@zsh.org> - - * 30433: Src/hist.c: double backslash is not line continuation. - -2012-04-20 Mikael Magnusson <mikachu@gmail.com> - - * 30412: Doc/Zsh/zle.yo: Document the set-local-history - widget in the list of widgets. - - * Vin Shelton: 30427: Doc/Zsh/zle.yo: Remove erroneous enditem - from previous commit. - -2012-04-16 Peter Stephenson <pws@csr.com> - - * Michael Prokop: 30414: Completion/Linux/Command/_mdadm: more - flexible configuration file usage. - - * 30413: Src/params.c, Src/utils.c, Test/D04parameter.ztst: - (q-) parameter flag should quote the empty string and should - report an error with extra trailing q's. - -2012-04-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: NEWS: incorporate the remainder of Bart's - suggestions from 30408. - - * 30410 (with the addition of one other case): Src/jobs.c: avoid - some divide-by-zero errors in TIMEFMT interpretation. - -2012-04-14 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30402: Doc/.distfiles, Doc/Makefile.in: turn intro.ms into - intro.pdf for doc distribution. Still needs some tidy ups. - -2012-04-14 Mikael Magnusson <mikachu@gmail.com> - - * 30406: NEWS: some typo fixes. - -2012-04-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Etc/.distfiles: missed this. - - * Christian Neukirchen: 30398, 30399: Doc/params.yo: TIMEFMT - documentation. - - * 30400 (plus a few extra tweaks): NEWS, Etc/NEWS-4.3: update - NEWS for forthcoming 5.0 release. - -2012-04-13 Peter Stephenson <pws@csr.com> - - * 30391: Src/params.c: New hash-based arrayuniq() doesn't - care about (or set the flag correctly for) disabled hash nodes, - so we need to ignore that flag. - -2012-04-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30388, 30389 (Stephane): Functions/Misc/zargs: handle - zero-length arguments. - -2012-04-09 Barton E. Schaefer <schaefer@zsh.org> - - * unposted: Test/D04parameter.ztst: hash seive needs more than 10 - array elements for arrayuniq() testing. This test will need to - be tweaked if that size changes. - - * unposted (see users/17000): Src/params.c: fix allocation bug in - 16991 by using heap memory for hash nodes; throw an error if out - of heap; pull hash table creation out into a helper function and - use arrlen() to count the array. - - * Václav Zeman: users/16991: Src/params.c: implement hash-table - seive variant of arrayuniq() to improve speed at cost of space, - falls back on the constant-space version for small arrays. - - * 30383: Src/params.c: improve the constant-space variant of - arrayuniq() by optimizing shifts. - -2012-04-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/16944: Functions/Zle/url-quote-magic: some more "local"s - needed. - -2012-03-30 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Zle/split-shell-arguments: add some - typeset -g's to avoid WARN_CREATE_GLOBAL warnings. - - * unposted: Src/init.c: add some braces to avoid warnings from - some versions of gcc. - -2012-03-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/zle.yo: add missing parenthesis. - - * users/16932: Doc/Zsh/zle.yo, Functions/Zle/replace-string: - Src/Zle/zle.h, Src/Zle/zle_params.c, Src/Zle/zle_utils.c: - implement $UNDO_CHANGE_NO and argument to undo widget. - -2012-03-25 Mikael Magnusson <mikachu@gmail.com> - - * Jesper Nygårds: 30378: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_gradle: new gradle completion. - -2012-03-24 Mikael Magnusson <mikachu@gmail.com> - - * 30371: Completion/Unix/Command/_ssh: You can specify -i - multiple times. - - * 30372: Completion/Unix/Command/_tmux: Redirect error output - produced when no tmux server is running to /dev/null. - - * 30368: Completion/Unix/Command/_tmux: Make completion work - when an unambiguous prefix for a known subcommand is given, as - in 'tmux att -<tab>'. - -2012-03-23 Simon Ruderich <simon@ruderich.org> - - * 30366: Misc/vcs_info-examples: Fix outdated quilt examples. - * 30367: Doc/Zsh/contrib.yo: vcs_info, mention settings used for - patch-format/nopatch-format. - -2012-03-13 Peter Stephenson <pws@csr.com> - - * Luka Perkov: 30354: Completion/Unix/Command/_quilt: update - - * 30351 changed as in 30352: Src/params.c, Src/utils.c: metafy - scalar and array parameter values as they are imported from - strings defined outside zsh. - -2012-03-07 Peter Stephenson <pws@csr.com> - - * users/16865: Doc/Zsh/cond.yo: note that -eq and friends are - less convenient for purely numeric work than conditional - expressions. - -2012-03-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Alexey: 30322: Completion/Unix/Command/_xmlsoft: accept more - file types. - -2012-03-06 Barton E. Schaefer <schaefer@zsh.org> - - * 30320: Doc/Zsh/builtins.yo, Src/builtin.c, Src/init.c, - Src/options.c: "emulate" accepts invocation-time setopt flags - after the shell name, in addition to "-c command". - - * 30320 (bonus): Doc/Zsh/params.yo: document interaction of - sun_keyboard_hack with the KEYBOARD_HACK paramter. - - * 30320 (misc.): Etc/FAQ.yo: rectify a minor omission. - -2012-03-05 Clint Adams <clint@zsh.org> - - * 30314: Completion/Unix/Command/_ssh: add completion for - ssh-copy-id. - - * 30316: Completion/Unix/Type/_pdf: complete .pdf for evince and - epdfview. - - * 30317: Completion/Unix/Command/_git: complete git merge --ff-only - -2012-03-05 Peter Stephenson <pws@csr.com> - - * 30307 plus change suggested by Wayne in 30309: configure.ac, - Src/exec.c, Src/glob.c, Src/prompt.c, Src/utils.c, - Src/Modules/parameter.c: use %lld format where available when - zlong is long long. - -2012-03-01 Peter Stephenson <pws@csr.com> - - * 30303: Doc/builtins.yo, Src/options.c: emulate executed inside - a function marked for execution tracing enables xtrace. - -2012-02-29 Barton E. Schaefer <schaefer@zsh.org> - - * 30272 (tweaked): Src/exec.c: most failures of fork() cause - non-interactive shells to exit nonzero; bad options to "exec" - cause exit under POSIX_BUILTINS behavior. - - * unposted (see users/16715): Doc/Zsh/options.yo: document the - effects of HASH_LIST_ALL on spelling correction. - - * 30184: Src/hashtable.c: the HASH_EXECUTABLES_ONLY test matches - the test used during path search in exec.c:iscom(). - - * unposted (see 30090): Functions/Misc/add-zsh-hook: add -h and - -L options for help text and a list of extant hooks respectively. - - * unposted (see users/16697): Functions/Misc/zkbd: select a more - reasonable output file name when the DISPLAY variable refers to a - local socket file (MacOS); fix problem with writing the output - file when the user overrides the default value of TERM. - -2012-02-29 Mikael Magnusson <mikachu@gmail.com> - - * 30276: Src/glob.c: Use zlong rather than int when calculating - brace expansions of the form {1..9}. - -2012-02-29 Peter Stephenson <pws@csr.com> - - * 30299: Src/subst.c, Test/D04parameter.ztst: "$*" was split - in SHWORDSPLIT if IFS was unset or empty. - -2012-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Alexey I. Froloff: 30270: Test/C02cond.ztst: we don't care - about errors from df when testing whether the file system has - noatime. - - * unposted: Config/version.mk: Update version to 4.3.17-dev-0 to - avoid clash with release, also fix incorrect year noticed by - Darryl Zurn. - -2012-02-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: 4.3.17. - -2012-02-22 Peter Stephenson <pws@csr.com> - - * 30238 with small fixes: Doc/Zsh/jobs.yo: document the fork - behaviour on suspending complex builtin execution. - -2012-02-20 Barton E. Schaefer <schaefer@zsh.org> - - * 30242: Src/subst.c, Test/D04parameter.ztst: use PREFORK_SINGLE - for the right-hand side of ${...=...} when SH_WORD_SPLIT is in - effect (POSIX emulation). - -2012-02-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Etc/Config.yo, Completion/X/Type/.distfiles, - Test/.distfiles: 4.3.16. - -2012-02-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30231 plus Mikael's change in 30232: NEWS, README, Etc/FAQ.yo: - updates for 4.3.16. - -2012-02-14 Oliver Kiddle <opk@zsh.org> - - * 30198: Completion/Unix/Command/_sudo, Doc/Zsh/compsys.yo: - fix environ style lookup to be done in conventional manner - - * Mikael: Completion/Debian/Command/_dpkg: fix dpkg-deb - completion broken by 30199 - -2012-02-14 Peter Stephenson <pws@csr.com> - - * users/16760: Functions/Zle/url-quote-magic: make reply - local for the benefit of styles. - -2012-02-13 Frank Terbeck <ft@bewatermyfriend.org> - - * 30214: Functions/Prompts/prompt_redhat_setup: Fix quoting in - `redhat' prompt. - -2012-02-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30203 (plus rename PF_ flags to PREFORK_): Src/exec.c, - Src/glob.c, Src/subst.c, Src/zsh.h, Test/D04parameter.ztst: - Pass sh-wordsplitting instructions to nested parameter - substitution by flags, avoiding side effects of explicitly - changing the option. - -2012-02-11 Mikael Magnusson <mikachu@gmail.com> - - * 30206: Completion/Unix/Command/_ldd: Fix ldd completion broken by - previous commit. - -2012-02-10 Oliver Kiddle <opk@zsh.org> - - * 30199: Completion/Debian/Command/_pbuilder, - Completion/Darwin/Command/_defaults, Completion/Darwin/Command/_fink, - Completion/Darwin/Command/_hdiutil, Completion/Debian/Command/_dak, - Completion/Debian/Command/_debdiff, Completion/Debian/Command/_dpkg, - Completion/Debian/Command/_linda, Completion/Debian/Command/_lintian, - Completion/Debian/Command/_piuparts, - Completion/Linux/Command/_modutils, - Completion/Mandriva/Command/_urpmi, - Completion/Unix/Command/_bittorrent, - Completion/Unix/Command/_bogofilter, Completion/Unix/Command/_cdrdao, - Completion/Unix/Command/_cplay, Completion/Unix/Command/_git, - Completion/Unix/Command/_hg, Completion/Unix/Command/_ldd, - Completion/Unix/Command/_metaflac, Completion/Unix/Command/_pax, - Completion/Unix/Command/_rubber, Completion/Unix/Command/_sisu, - Completion/Unix/Command/_texinfo, Completion/Unix/Command/_vim, - Completion/Unix/Command/_vorbiscomment, - Completion/Unix/Command/_xmms2: - add (-.) to many completion _files globs - - * 30197: Completion/Unix/Command/_subversion: complete changelists - - * 30177: Completion/X/Command/_xterm, - Completion/X/Type/_xft_fonts: completion for fontconfig fonts - -2012-02-09 Barton E. Schaefer <schaefer@zsh.org> - - * 30193: Src/Zle/compcore.c: remnulargs() after poking into string - in case length changes. - -2012-02-08 Peter Stephenson <pws@csr.com> - - * Timothy Redaelli: 30187: Src/hist.c: file name manipulations - in history can return NULL if HAVE_CANONICALIZE_FILE_NAME. - -2012-02-07 Peter Stephenson <pws@csr.com> - - * Holger Macht via Ismail: 30185: Src/Zle/complete.mdd: add - missing openSUSE file locations. - -2012-02-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30127: Src/builtin.c: forbid executing history lines via fc in - the wrong order. - -2012-02-03 Peter Stephenson <pws@csr.com> - - * Mariusz Glebocki: 30179: Completion/Unix/Type/_services: - suppress stderr for service list. - -2012-02-01 Frank Terbeck <ft@bewatermyfriend.org> - - * A.Costa: unposted: Doc/Zsh/grammar.yo, Etc/ChangeLog-3.1: Fix - typo to "definition". - -2012-01-31 Peter Stephenson <pws@csr.com> - - * seiler via Ismail: 30174: Completion/Unix/Command/_osc, - Completion/openSUSE/Command/_osc: update. - - * Felipe: 30158: Test/.distfiles, Test/compgentest, - Test/Y04compgen.ztst: compgen test is not useful with current - bashcopmpinit. - -2012-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Richard Hartmann: 30140: Completion/X/Command/_mplayer: - whitespace fix. - - * Felipe Contreras: 30131, 30132, 30133, 30134, 30135, - 30136, 30137: Completion/bashcompinit: various improvements to - bash-like behaviour. - -2012-01-23 Peter Stephenson <pws@csr.com> - - * Ben: 30118: Completion/Unix/Command/_sqlite, - Completion/Unix/Command/.distfiles: new sqlite completion. - -2012-01-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Ben: 30117 (moved directory): Completion/X/Command/_xclip, - Completion/X/Command/.distfiles: new completion. - -2012-01-19 Frank Terbeck <ft@bewatermyfriend.org> - - * 30114: Functions/VCS_Info/VCS_INFO_check_com: Remove a - superfluous stat(). - -2012-01-16 Frank Terbeck <ft@bewatermyfriend.org> - - * 30111: Src/exec.c: Fix segfaults with exec options. - -2012-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Richard Hartmann: 30110: Completion/Unix/Command/_vcsh, - Completion/Unix/Command/.distfiles: new completion. - -2012-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Stepan Koltsov: 30105: Completion/Unix/Command/_stgit: fix - delete completion. - -2012-01-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/16711: Completion/Unix/Type/_path_commands: try to take - account of PATH_DIRS option in command completion. - - * 30101: Doc/Zsh/options.yo, Src/hashtable.c, Src/options.c, - Src/zsh.h: add HASH_EXECUTABLES_ONLY option, off by default to - avoid problems with huge paths and remote directories. - -2012-01-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30098: Jun T.: Src/params.c: more minimal alternative to - 30079, don't set LANG if LC_ALL set. - -2012-01-06 Peter Stephenson <pws@csr.com> - - * Src/Modules/pcre.c (cond_pcre_match): unposted: fix (harmless) - warning with uninitialised variable. - -2012-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Christian Höltje: 30087: Functions/Prompts/promptinit: remove - any hooks for a prompt theme when removing it. - - * 30084: Doc/Zsh/zle.yo, Src/init.c, Src/Zle/zle_main.c, - Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c: `zle -T tc func' - defines function to be used insted of termcap output for - testing. - - * 30081: Completion/Base/Core/_main_complete: remove necessity - to have IGNORE_CLOSE_BRACES unset when loaded. - -2012-01-04 Frank Terbeck <ft@bewatermyfriend.org> - - * 30079: Src/params.c: Restore `LC_ALL' when setting `LANG'. - -2012-01-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30084: Src/init.c: zsfree(argzero) before we set it again - following ztrdup() in parseargs(). - -2012-01-02 Barton E. Schaefer <schaefer@zsh.org> - - * 30073 (plus comment): Src/Zle/zle_main.c: use queue_signals() - around critical first call to zrefresh() after zleactive = 1, to - prevent adjustwinsize() loop reported on FreeBSD. - -2011-12-30 Frank Terbeck <ft@bewatermyfriend.org> - - * 30048: Test/C02cond.ztst: Avoid [[ -N ... ]] on file-systems - mounted `noatime', if possible. - - * 30046: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn: Fix - support for subversion version 1.7. - -2011-12-27 Barton E. Schaefer <schaefer@zsh.org> - - * 30069: Doc/Zsh/options.yo: replace empty parens with - LPAR()RPAR(). - -2011-12-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30041: Src/subst.c: the offset hack to make - ${foo:offset:length} bash compatible with positional parameters - doesn't apply when we're indexing into characters of one - positional parameter. - - * T.C. Hollingsworth: 30036: Completion/Unix/Command/_systemctl: - new arguments. - -2011-12-20 Barton E. Schaefer <schaefer@zsh.org> - - * 30033: Src/Zle/zle_keymap.c: silence valgrind warnings about - uninitialized values. - -2011-12-19 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: update version to 4.3.15-dev-0 to - avoid dev version clashing with installation. - -2011-12-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: release 4.3.15. - -2011-12-16 Peter Stephenson <pws@csr.com> - - * Simon Olofsson: 30028: Completion/Unix/Command/_subversion: - fix matching of subversion help text. - -2011-12-14 Mikael Magnusson <mikachu@gmail.com> - - * 30021: Completion/Zsh/Type/_globquals: Add d flag (see 29991), - show what unit the digits are entered in as a hint that the - default is also days. - - * 29783: Completion/Debian/Command/_update-alternatives: Add - more options. - -2011-12-13 Mikael Magnusson <mikachu@gmail.com> - - * 29998: Completion/Unix/Command/_git: fix a typo (--rerbose). - - * 30019: Completion/Unix/Command/_tar: fix parsing of argument - to -C. - -2011-12-13 Barton E. Schaefer <schaefer@zsh.org> - - * 30020: Functions/Prompts/promptinit: prevent prompt_opts and - zle_highlight from leaking out of prompt_preview_theme. - - * 30012: Completion/Base/Core/_main_complete, - Completion/Base/Utility/_arguments, - Completion/Base/Utility/_values, Completion/Zsh/Command/_zle, - Doc/Zsh/compsys.yo: add $state_descr which parallels the $state - array in the same way that $context does, to make the "message" - part of each _arguments "optarg" specification available to - the caller's state handler. Used in _zle as the description - passed to _wanted. - -2011-12-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 30000 plus a couple of comments: Src/exec.c: Better POSIXJOBS - behaviour: don't restore default behaviour for SIGTTOU etc. if - we're still doing job handling, and only continue with job - handling if this is a (...) subshell. - -2011-12-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * discussed in 29984: Doc/Zsh/compsys.yo: use m+7 for files - "more than a week old" since w+1 is a bit counterintuitive. - - * 29991: Doc/Zsh/expn.yo, Src/glob.c: allow explicit 'd' for - days in time qualifiers. - -2011-12-10 Mikael Magnusson <mikachu@gmail.com> - - * 29962: Completion/Unix/Command/_ssh: Actually return ret. - - * 29961: Completion/Unix/Command/_ssh: Extend option completion. - -2011-12-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * GI: 29977: Completion/Linux/Command/_modutils: caching and - function definition fixes. - -2011-12-09 Simon Ruderich <simon@ruderich.org> - - * 29918: Completion: Add new _remote_files() helper and use it to - reduce code duplication. - - * 29917: Completion/Unix/Command/_ssh: Tabs to spaces. - -2011-12-09 Mikael Magnusson <mikachu@gmail.com> - - * unposted: Doc/Zsh/compsys.yo: Remove duplicated 'the'. - - * 29409: Completion/X/Command/_x_utils: Add completion for xprop and - xlsatoms. - -2011-12-09 Peter Stephenson <pws@csr.com> - - * unposted: Completion/compinit: add NO_ignoreclosebraces to - options needed in completion. - - * users/16614: config.guess, config.sub: update from automake - 1.11.1. - -2011-12-09 Mikael Magnusson <mikachu@gmail.com> - - * 29876: Completion/Unix/Command/_getent: Update getent completion - to work when additional output comes after the databases. - -2011-12-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29955 with bits pointed out by Mikael and Bart: - Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/lex.c, - Src/options.c, Src/zsh.h, Test/E01options.ztst: add - IGNORE_CLOSE_BRACES option. - -2011-12-08 Peter Stephenson <pws@csr.com> - - * 29928: Test/A04redirect.ztst: belated commit to - fix OpenBSD test failure. - -2011-12-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Etc/version.mk: update version to 4.3.14-dev-0 to - avoid installs clashing with release. - -2011-12-07 Oliver Kiddle <okiddle@yahoo.co.uk> - - * 29952: Src/glob.c: fix cut'n'paste error in nanosecond - timestamp support - -2011-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Config/version.mk: release 4.3.14. - -2011-12-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29940: Src/utils.c (metafy): null termination shouldn't - be applied to original buffer if not to be modified. - - * From Stef VAN VLIERBERGHE: 29934: Src/lex.c (add): use of - uninitialised memory when lexer needed to reallocate token. - -2011-12-02 Peter Stephenson <pws@csr.com> - - * unposted: Test/B01cd.ztst: fix documentation for '*' - test output syntax. - -2011-12-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29924: Test/A04redirect.ztst, Test/B01cd.ztst, Test/ztst.zsh: - add ability to match output of tests using patterns. - -2011-12-01 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_nm: also complete - directories. - - * 29923: Test/A04redirect.ztst: work around variant message from - strerror() for invalid file descriptor. - -2011-11-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Config/version.mk: 4.3.13 release. - -2011-11-28 Peter Stephenson <pws@csr.com> - - * Ismail Dönmez: 29920: Src/Subst.c: error with arithmetic - substitution with NO_EXEC. - -2011-11-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Config/version.mk: 4.3.12-test-3. - -2011-11-24 Simon Ruderich <simon@ruderich.org> - - * 29916: Completion/Unix/Command/_git: Prevent clash with - _remote_files() in _ssh. - -2011-11-24 Peter Stephenson <pws@csr.com> - - * 29915: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_nm: new nm completion. - -2011-11-23 Peter Stephenson <pws@csr.com> - - * Ignacy Gawędzki: 29912: Completion/Unix/Command/_ssh: add "--" - to end options to ls. - -2011-11-21 Peter Stephenson <pws@csr.com> - - * Foudil Brétel: 29911: add --no-legend support (v37+); multiple - bug fixes (aliases, array range); workaround compadd bug - (compadd handles its own options) - -2011-11-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * gi1242+zsh: users/16587: Completion/Unix/Command_lp: tidy up. - -2011-11-18 Peter Stephenson <pws@csr.com> - - * 29908: Doc/Zsh/contrib.yo, Functions/MIME/.distfiles, - Functions/MIME/zsh-mime-contexts, Functions/MIME/zsh-mime-handler: - make MIME functions handle contexts with stacked suffixes such - as .pdf.gz. - -2011-11-17 Peter Stephenson <pws@csr.com> - - * Jun T.: 29907: Src/Modules/pcre.c: remove declaration of - unused variable. - -2011-11-15 Barton E. Schaefer <schaefer@zsh.org> - - * users/16581: Src/utils.c: it seems wrong to shortcut correction - of words not in command position by comparing them to the command - tables, so don't; if a command correction is rejected, reset the - incremental path hashing so the new command can be "learned". - -2011-11-14 Peter Stephenson <pws@csr.com> - - * gi1242: users/16578: Completion/Unix/Command/_lp: lpadmin, - lpinfo and other changes. - -2011-11-09 Frank Terbeck <ft@bewatermyfriend.org> - - * Akinori MUSHA: 29900: - Functions/VCS_Info/Backends/VCS_INFO_detect_svn: Adjust detection - to support subversion 1.7. - -2011-11-08 Peter Stephenson <pws@csr.com> - - * Haakon Riiser: 29895, 29887: Completion/Unix/Command/_ffmpeg, - Completion/Linux/Command/_nmcli (plus - Completion/Linux/Command/.distfiles): update and new - NetworkManager client completion. - -2011-11-07 Simon Ruderich <simon@ruderich.org> - - * 29893: Completion/Unix/Command/_ssh: Update (mostly) for 5.9. - -2011-11-07 Peter Stephenson <pws@csr.com> - - * 29894: Doc/Zsh/contrib.yo, Functions/Zle/replace-string: - display previous replacement and reuse if source string is empty. - -2011-11-04 Peter Stephenson <pws@csr.com> - - * 29892: Functions/Zle/read-from-minibuffer, - Functions/Zle/replace-string: fix regular expression - replacements right of the cursor; make save and restore - in read-from-minibuffer more automated. - - * 29891: Doc/Zsh/zle.yo, Src/Zle/zle_thingy.c: allow "zle -lL" - with arguments to list in -L format. - -2011-10-31 Peter Stephenson <pws@csr.com> - - * Jun T: 29883: Src/Builtins/rlimits.c, Src/Modules/zftp.c: cast - to type in printf to work around cases where types aren't - properly distinguished. - -2011-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/16547: Completion/Unix/Command/_perforce: quote - arguments with colon in from _describe. - -2011-10-28 Peter Stephenson <pws@csr.com> - - * Src/module.c (do_load_module): 29879: (via takimoto-j): Metafy - dlerror message to avoid corruption. - -2011-10-26 Phil Pennock <pdpennock@users.sourceforge.net> - - * 29867: Bart Schaefer: Test/V07pcre.ztst: exit early with - unimplemented status if zsh/pcre not available; combined with - Peter's 29865 fix, should make PCRE testing robust. - -2011-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29844, 29845: Src/exec.c, Test/A04redirect.ztst: remove bogus - error on closing fd's 0 to 9; update test. - -2011-10-26 Peter Stephenson <pws@csr.com> - - * 29865: Src/Modules/pcre.mdd: don't compile if no pcre-config. - - * 29859: Src/Zle/Complete.c: compadd handles its own options. - -2011-10-24 Peter Stephenson <pws@csr.com> - - * Jérémie Roquet: c.f. users/16541: Doc/Zsh/cond.yo: - should be "filename generation", not "file generation". - - * Foudil Brétel: 29842: Completion/Unix/Command/_systemctl: - major rewrite. - -2011-10-24 Phil Pennock <pdpennock@users.sourceforge.net> - - * 29838: Src/Modules/pcre.c: metafy/unmetafy strings, to - correctly handle non-ASCII characters in UTF-8 for regexp - matches. - - * unposted: Test/V07pcre.ztst: some PCRE tests - -2011-10-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/16492: MACHINES: OpenIndiana issue. - -2011-10-22 Simon Ruderich <simon@ruderich.org> - - * 29823: Completion/Unix/Command/_perl: Update for 5.14.1. - -2011-10-19 Frank Terbeck <ft@bewatermyfriend.org> - - * Suraj N. Kurapati: 29828: Misc/vcs_info-examples: Mention - different ways to handle remote branch names in - `vi-git-remotebranch()'. - -2011-10-17 Peter Stephenson <pws@csr.com> - - * unposted: NEWS, README, Config/version.mk, Etc/.distfiles, - Etc/FAQ.yo, Etc/relnote_4.3.12.txt: tidy up and update for - 4.3.12-test-2. - - * unposted: Completion/Unix/Command/_perforce: small - documentation update. - -2011-10-14 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29820: Doc/Zsh/compsys.yo, - Completion/Base/Utility/_pick_variant: -b option to match - builtins. - -2011-10-12 Mikael Magnusson <mikachu@gmail.com> - - * 29815: Doc/Makefile.in: include mod_langinfo in documentation. - -2011-09-25 Barton E. Schaefer <schaefer@zsh.org> - - * 29799: Src/utils.c: swap order of RESET_PROMPT / REFRESH in - adjustwinsize() so that the cursor is moved to the start of a - multi-line prompt before the prompt is actually displayed. - - * 29769: Src/signals.c: handle thisjob == -1 (no foreground job) - when checking for whether a background job is allowed to suspend. - - * unposted: Doc/Zsh/modules.yo: cross-reference zmodload. - -2011-09-22 Peter Stephenson <pws@csr.com> - - * Daniel Friesel: 29796: Completion/X/Command/_mplayer: complete - .webm. - -2011-09-21 Peter Stephenson <pws@csr.com> - - * Luka Perkov: 29788: Completion/Unix/Command/_quilt: - improved quilt completion. - -2011-09-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/16375: Src/Zle/complist.c: initialise number of - references each time for multiple match tests when - highlighting. - -2011-09-16 Mikael Magnusson <mikachu@gmail.com> - - * 29764, 29765: Completion/Unix/Command/_pgrep: use _users and - _groups rather than reimplementing them, use _wanted instead - of plain compadd to get descriptions, return 0 on success, - fix conditions on -f and -x, complete pts/* for -t too. - -2011-09-15 Peter Stephenson <pws@csr.com> - - * 29776 (modified as noted): Src/lex.c, Test/D08cmdsubst.ztst: - double quotes are not special in double-quote-style parsing - if the end character is something else. - - * 29773: Marco Hinz: Completion/Unix/Type/_perl_modules: - complete some missed modules. - -2011-09-10 Clint Adams <clint@zsh.org> - - * 29762: Completion/Debian/Command/_bts: bts completion tag - update from Ansgar Burchardt. - -2011-09-10 Barton E. Schaefer <schaefer@zsh.org> - - * 29760: Completion/compaudit: declare _i_ulwdirs and make sure - it is correctly referenced. - -2011-09-07 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: updates for - 2010.2 release. - -2011-09-07 Simon Ruderich <simon@ruderich.org> - - * 29756: Doc/Zsh/params.yo: DIRSTACKSIZE is unlimited by default. - - * 29757: Doc/Zsh/compsys.yo: Remove superfluous brace. - -2011-09-07 Mikael Magnusson <mikachu@gmail.com> - - * 29755: Completion/Unix/Command/_ssh: add -O stop to to _ssh. - -2011-09-06 Mikael Magnusson <mikachu@gmail.com> - - * 29736: Doc/Zsh/mod_zutil.yo: mention when zstyle -t returns 1. - - * 29738: Completion/Unix/Command/_ssh: add PreferredAuthentications - completion. - - * 29739: Completion/Unix/Command/_rsync: redefine _rsync(), make - -e accept cuddled arguments. - - * 29740: Completion/Unix/Command/_wget: add --content-disposition. - - * 29741: Completion/Zsh/Command/_zattr: add ret=0, fix filename - globbing like in 27658 for _zip. - - * 29733: Jonathan Kolberg: Completion/Debian/Command/_apt: add - completion for apt-get changelog. - -2011-09-05 Barton E. Schaefer <schaefer@zsh.org> - - * users/16302: Completion/Unix/Type/_path_files: pattern matching - for plain files (e.g., *.pdf for xpdf completion) was broken by - 29444. Hopefully this does not re-break directory patterns. - -2011-08-30 Simon Ruderich <simon@ruderich.org> - - * 29745: Mikael Magnusson: Completion/X/Command/_mplayer: fix -ss - completion. - -2011-08-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29744: Src/builtin.c: don't mess up non '-A' case in - 29731. - -2011-08-29 Barton E. Schaefer <schaefer@zsh.org> - - * users/16291: Functions/Prompts/prompt_bart_setup: revert to - using history text in non-"fg" case to avoid alias expansion. - -2011-08-29 Mikael Magnusson <mikachu@gmail.com> - - * 29722: Completion/X/Command/_mplayer: escape colon. - - * 29706: Completion/X/Command/_mplayer: add missing ret=0. - -2011-08-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29731: Src/builtin.c, Test/B04read.ztst: fix output from `read - -AE' and test that and `read -Ae'. - - * users/16289: Doc/Zsh/expn.yo, Src/exec.c, Src/jobs.c: don't - delete temporary files when disowning and document this. - -2011-08-20 Barton E. Schaefer <schaefer@zsh.org> - - * unposted: Functions/Zle/.distfiles: add move-line-in-buffer - - * 29711: Completion/compaudit: avoid calling potentially-slow - "getent group" unless group-writable directories are found. - -2011-08-20 Nikolai Weibull <now@bitwi.se> - - * 29707: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_ln: New _ln completer. - -2011-08-18 Mikael Magnusson <mikachu@gmail.com> - - * unposted: Completion/Linux/Command/.distfiles, - Completion/Linux/Command/_schedtool, - Completion/Zsh/Command/.distfiles, - Completion/Zsh/Command/_schedtool: move _schedtool completion - to correct directory. - - * 29705: Completion/Unix/Command/_iconv: add correct number of - slashes when completing //TRANSLIT. - -2011-08-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29703: Src/exec.c, Src/subst.c, Test/D03procsubst.ztst: - - * users/16253, users/16255: Src/utils.c, Test/D04parameter.ztst: - A nulstring should be split like an empty string. - - * Anthony R Fletcher: users/16260: - Completion/Unix/Command/_systemctl: new completion. - -2011-08-17 Nikolai Weibull <now@bitwi.se> - - * 29698: Completion/Unix/Command/_git: Complete diff options for git - log. - -2011-08-17 Mikael Magnusson <mikachu@gmail.com> - - * 29681: Src/Zle/zle_refresh.c: consistently use [] to access - region_highlights. - - * 29682: Completion/Zsh/Command/.distfiles, - Completion/Zsh/Command/_schedtool: new _schedtool completer. - - * 29683: Completion/Unix/Command/_ssh: add -O forward to _ssh. - - * Daniel Friesel: 29690: Completion/Linux/Command/_cryptsetup, - Completion/Unix/Command/_twidge: new _twidge and _cryptsetup - completers. - -2011-08-16 Barton E. Schaefer <schaefer@zsh.org> - - * 29694: Src/hist.c: Don't overwrite the current history word if - we aren't actually expanding an alias or history event. - - * users/16251: Functions/Prompts/prompt_bart_setup: use a preexec - hook to replace "fg" et al. with the jobtext of the resumed job. - -2011-08-16 Wayne Davison <wayned@users.sourceforge.net> - - * 29650: Src/jobs.c: don't lose the the time info after a - suspend+restore. - -2011-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/Modules/datetime.c: use pm->node.nam to get - parameter names for errors. - -2011-08-14 Mikael Magnusson <mikachu@gmail.com> - - * 29673: Doc/Zsh/compsys.yo: clarify what 'other' in the - ignore-line style does. - - * 28852: Misc/zargs, Zle/match-words-by-style: use syntax that - doesn't depend on SHORT_LOOPS being set. - - * unposted: Src/hist.c: fix a typo in a comment. - - * unposted: Src/jobs.c: fix capitalized word in the middle of - a sentence. - - * 29388, 29680: Doc/Zsh/expn.yo: clarify note about e:string: - quoting. - - * 29504: Doc/Zsh/expn.yo: note when (#cN,M) can't be used in - place of # or ##. - -2011-08-14 Barton E. Schaefer <schaefer@zsh.org> - - * 29677: Src/exec.c, Src/signals.c, Src/zsh.h: flag jobs that are - builtins running in the current shell, and if they control a - pipeline, do not allow the external processes in that pipeline to - become suspended when the foreground shell cannot suspend. - -2011-08-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Src/Modules/datetime.mdd: unposted: also fix the autofeatures. - - * Src/params.c: unposted: Src/params.c, Test/V04features.ztst: - fix some tests I broke. - - * Src/subst.c: 29674: Src/Modules/datetime.c, - Doc/Zsh/mod_datetime.yo: add $epochtime array. - -2011-08-10 Peter Stephenson <pws@csr.com> - - * 29663: configure.ac, Src/module.c, Src/Modules/datetime.c, - Doc/Zsh/mod_datetime.yo: add $EPOCHREALTIME for time in - double precision floating point. - -2011-08-04 Peter Stephenson <pws@csr.com> - - * 29643: Src/signals.c, Src/utils.c, Src/zle_main.c: set - incompfunc to zero when executing hook or trap function. - -2011-08-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29661: Doc/Zsh/redirect.yo: Improve the documentation for - {var}>... redirections. - -2011-08-09 Barton E. Schaefer <schaefer@zsh.org> - - * 29654: Src/jobs.c: "wait" should resume stopped jobs identified - by process ID as well as by job number. - - * 29654: Src/exec.c: don't hide the job table entry for the left - side of a pipline that ends in a shell builtin. This change may - be backed out if the patch in 29660 can be improved. - -2011-08-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29644: Functions/Chpwd/zsh_directory_name_cdr, - Src/Zle/compcore.c, Src/Zle/zle_tricky.c: Work round a bug in - _describe, plus a new comment and some more braces. - - * 29633: Doc/Zsh/func.yo, Src/parse.c, Test/C04funcdef.ztst: be - more careful that anonymous function syntax doesn't mess up - working syntax with other functions. - -2011-08-03 Peter Stephenson <pws@csr.com> - - * 29635: Completion/Base/Widget/_complete_debug: Improve file - descriptor handling and standardise syntax. - -2011-07-29 Frank Terbeck <ft@bewatermyfriend.org> - - * Luka Perkov: 29624: Completion/Unix/Command/_quilt: Improve - `push' and `pop' completion. - -2011-07-28 Peter Stephenson <pws@csr.com> - - * 29626: Src/parse.c, Test/C04funcdef.ztst: arguments to - anonymous functions shouldn't be parsed as command words. - - * 29602 and subsequent changes: Doc/Zsh/expn.yo: clarify meaning - of filename extension in :r and :e modifiers (which were - slightly inconsistent). - -2011-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29561: Test/A04redirect.ztst: this bit didn't get committed, - somehow. - -2011-07-27 Mikael Magnusson <mikachu@gmail.com> - - * 29618: Completion/Linux/Command/_ethtool, - Completion/Zsh/Type/_file_descriptors: Fix some syntax to not depend - on SHORT_LOOPS being set. - -2011-07-25 Peter Stephenson <pws@csr.com> - - * 29561: Src/exec.c, Src/utils.c, Test/A04redirect.ztst: Allow - closing of file descriptors not recorded internally by the shell. - -2011-07-22 Mikael Magnusson <mikachu@gmail.com> - - * 29596: Completion/compinit: Fix syntax to work with KSH_ARRAYS - set. - -2011-07-22 Nikolai Weibull <now@bitwi.se> - - * unposted: Completion/Unix/Command/_git: Use _files, not _path_files. - - * 29582: Completion/Unix/Command/_git: Alter the way that commands and - aliases are listed when both are requested. - - * 29589: Completion/Unix/Command/_git, - Completion/Debian/Command/_git-buildpackage: Use #description instead - of #desc: for description of third-party commands. Also, refactor the - code to match the rest of the file. - -2011-07-21 Nikolai Weibull <now@bitwi.se> - - * 29272: Completion/Unix/Command/_git: Use return values correctly - accross all completion functions. - - * unposted: Completion/Unix/Command/_git: Move _gitk and _tig to - correct location. - - * unposted: Completion/Unix/Command/_git: Fix bug in git-add completion - that prevented -f option from being used correctly. - - * unposted: Completion/Unix/Command/_git: Update git-add completion to - not complete already given file arguments and also to not list file - completions if an option is being completed. - - * unposted: Completion/Unix/Command/_git: Adjust some TODO items. - -2011-07-19 Peter Stephenson <pws@csr.com> - - * 29555: Src/exec.c: fix problem that shell failed to use file - descriptor opened in parent if beyond max_zsh_fd. - -2011-07-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/16131: Src/hist.c: skip reading an empty history file. - -2011-07-18 Peter Stephenson <pws@csr.com> - - * Matthieu Baerts: 29547: Completion/Unix/Command/_bzr: cdiff - subcommand. - -2011-07-12 Peter Stephenson <pws@csr.com> - - * 29543: Src/hist.c: saved history lines with backslash-newline - in the middle of words confused histlexwords. - - * 29542: Src/hist.c, Src/Zle/zle_main.c: remove test when - initialising history that could cause crashes (and was probably - never useful); ensure ZLE returns NULL if there's an error. - -2011-07-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Eric Moors: 29531: Completion/Unix/Command/_adb: completion - for Android debugger. - -2011-07-03 Frank Terbeck <ft@bewatermyfriend.org> - - * unposted: Doc/Zsh/contrib.yo: Fix typo "paramter". Caught by - debian's lintian. - -2011-07-01 Peter Stephenson <pws@csr.com> - - * 29530: Src/subst.c, Test/E01options.ztst: ${..?..} shouldn't - cause an error with NO_EXEC option. - -2011-07-01 Frank Terbeck <ft@bewatermyfriend.org> - - * 29518: Completion/Unix/Command/_git: Fall back to file - completion for unknown sub-commands. - - * 29527: Completion/Unix/Command/_git: Make file-completion - fallback optional. - - * 29519: Completion/Unix/Command/_git: Pick up addon completions - from $fpath. - - * 29521: Completion/Unix/Command/_git: Add `user-commands' support - again. - - * 29523: Completion/Debian/Command/_git-buildpackage: Use "#desc:" - line for _git third-party add-on completion description. - - * Daniel Bolton: 29529: Completion/Debian/Command/_aptitude: Complete - format specifiers with the `-F' option. - -2011-06-30 Frank Terbeck <ft@bewatermyfriend.org> - - * 29526: Functions/VCS_Info/vcs_info: Set `max-exports' early - after certain `start-up' hooks. - -2011-06-28 Frank Terbeck <ft@bewatermyfriend.org> - - * Sebastian Ramacher: 29513: Completion/Debian/Command/_apt: Add - markauto and unmarkauto sub-commands. - -2011-06-27 Peter Stephenson <pws@csr.com> - - * Mikael Muszynski: 29510: Completion/X/Command/_mplayer: - complete .m4v files. - -2011-06-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Axel Beckert: 29506: Doc/Zsh/params.yo: use format - SINGLE_LINE_ZLE as elsewhere in manual. - -2011-06-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29503: Src/exec.c: Missing popheap() on failed autoload. - -2011-06-20 Peter Stephenson <pws@csr.com> - - * unposted: update version to 4.3.12-dev-1 as wordcode - now incompatible with anonymous functions. - -2011-06-20 Doug Kearns <dougkearns@gmail.com> - - * unposted: Completion/BSD/Command/_sockstat, - Completion/Debian/Command/_git-buildpackage, - Completion/Unix/Command/_at, Completion/Unix/Command/_lp, - Completion/Unix/Command/_unison, Completion/X/Command/_matlab, - Completion/X/Command/_okular, Completion/Zsh/Function/_zargs: clean up - completion descriptions as per Etc/completion-style-guide. - -2011-06-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Luka Perkov: 29493: Completion/Unix/Type/_pdf: handle apvlv. - - * 29492: Doc/Zsh/func.yo, Src/exec.c, Src/parse.c, Src/text.c, - Test/C04funcdef.ztst: add argument handling to anonymous functions. - - * unposted: Src/Zle/zle_refresh.c: remove additional loop - noticed by Mikael. - - * 29491: Src/glob.c, Src/lex.c, Src/math.c, Src/params.c, - Src/parse.c, Src/utils.c, Src/Modules/db_gdbm.c, - Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/zle_refresh.c, - Src/Zle/zle_tricky.c: remove some variables set but not used. - - * 29490: Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c, - Src/Builtins/rlimits.mdd: add RLIMIT_RTTIME. - -2011-06-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Michel Dos Reis: 29482: Completion/Linux/Command/_modutils: - handle .gz kernel modules. - -2011-06-16 Doug Kearns <dougkearns@gmail.com> - - * 29483: Completion/Unix/Command/_vim: add --servername completion. - -2011-06-15 Barton E. Schaefer <schaefer@zsh.org> - - * 29481: Src/jobs.c, Src/signals.c: always return a matching job - in findproc() [reverses 28967 and 29472], but scan the whole list - to prefer running jobs in the rare event that one running and one - exited job share a PID. - -2011-06-14 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/compwid.yo: document change to brace - parameter context in 29452/29459. - -2011-06-12 Barton E. Schaefer <schaefer@zsh.org> - - * 29472: Src/jobs.c: findproc() needs at least to also return - stopped jobs. See 28967. - -2011-06-08 Peter Stephenson <pws@csr.com> - - * Jeremy Sylvestre: 29468: Functions/Zle/define-composed-chars: - add some ligatures and symbols. - -2011-06-06 Peter Stephenson <pws@csr.com> - - * 29462: Src/subst.c: fix warning with some compilers (code was - already safe). - -2011-06-05 Clint Adams <clint@zsh.org> - - * unposted: Functions/Zle/move-line-in-buffer: clean - the funny characters out of move-line-in-buffer. - -2011-06-04 Barton E. Schaefer <schaefer@zsh.org> - - * 29444: Completion/Unix/Type/_path_files: when called with a - pattern to match directories, as from _files with list-dirs-first, - do not descend into subdirectories looking for fake files unless - some fake files have been defined. - -2011-06-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29459: Completion/Zsh/Context/_brace_parameter, - Src/Zle/compcore.c (check_param): In shell function, check for - ${( not at start of match; in C code, check for untokenized - parentheses when in double quotes. - -2011-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29452: Completion/Zsh/Context/_brace_parameter, - Src/Zle/compcore.c (typo corrected): allow completion - of parameter flags. - -2011-06-03 Mikael Magnusson <mikachu@gmail.com> - - * 29438: Completion/Zsh/Context/_subscript: adjust pattern so - we complete dynamic directory names in command position as well. - - * 29448: Completion/Unix/Command/_initctl: complete symlinks - to files too. - - * 29422: Test/D04parameter.ztst: Fix test for g:: to not depend - on the current locale. - -2011-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29451: Src/subst.c, Test/D04parameter.ztst: ${##stuff} - removes stuff from the head of $#. - - * 29413: Doc/Zsh/builtins.yo, Src/builtin.c, Src/hist.c: print - -S takes a single argument, applies lexical history word - splitting, and puts it on the history. - -2011-06-02 Frank Terbeck <ft@bewatermyfriend.org> - - * 29434: Doc/Zsh/contrib.yo: Use PLUS() to avoid a + being - silently dropped. - -2011-06-01 Frank Terbeck <ft@bewatermyfriend.org> - - * 29412: Completion/Unix/Command/_tmux: Disable sub-command - completions if tmux is not found in `$path'. - - * Valentin Haenel: 29431: Misc/vcs_info-examples: Hook example for - signaling untracked files in git repositories. - -2011-06-01 Barton E. Schaefer <schaefer@zsh.org> - - * users/16064: Functions/Zle/move-line-in-buffer: example widget - for moving in multiline buffers without navigating history - - * 29416 (plus typo fixes): Doc/Zsh/contrib.yo: Fix (mis-)uses of - var() in vcs_info documentation. - -2011-05-31 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Config/version.mk: update version to 4.3.12-dev-0 - to avoid confusion with release. - -2011-05-31 Frank Terbeck <ft@bewatermyfriend.org> - - * Jan Pobrislo: 29411: - Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr: vcs_info: Major - bzr backend update. - -2011-05-31 Barton E. Schaefer <schaefer@zsh.org> - - * 29410: Test/V01zmodload.ztst: skip autoload persistence test - when zsh/example module is not available. - -2011-05-31 Mikael Magnusson <mikachu@gmail.com> - - * Omari Norman: users/16057: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_tree: Add completion for tree. - -2011-05-31 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: release 4.3.12. - -2011-05-29 Nikolai Weibull <now@bitwi.se> - - * unposted: Completion/Unix/Command/_git: Update git-branch completion - to deal with -r and -d correctly. - -2011-05-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29403: Src/hist.c: histlexwords splitting of ";;" in case. - -2011-05-27 Mikael Magnusson <mikachu@gmail.com> - - * 28364: Doc/Zsh/zle.yo: Document that space left by wrapping - double-width characters is highlighted with the 'special' style. - - * 29384: Completion/Base/Completer/_expand, - Completion/Unix/Type/_have_glob_qual, - Completion/Unix/Type/_path_files, Completion/compinit: Add - _comp_caller_options and use it in completions that want to - check values of options that are overwritten by _comp_options. - - * 29334: Completion/Unix/Command/_sh: Complete options for zsh with - _arguments --. - - * 29392: Doc/Zsh/compsys.yo: Remove now-defunct use-perl style - documentation. - - * 29387: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_at: Add completion for at and friends. - - * 29385: Doc/Zsh/compsys.yo: Document when directories and - local-directories are used. - -2011-05-27 Barton E. Schaefer <schaefer@zsh.org> - - * 29382: Src/Modules/curses.c: apply 29374 to zccmd_input too. - -2011-05-27 Mikael Magnusson <mikachu@gmail.com> - - * 29331: NEWS: Note g:: parameter expansion flag. - - * 29365: Completion/Unix/Command/_make: redefine _make so that - helper functions are only defined once. - - * 29376: Completion/Unix/Command/_initctl: redefine _initctl so - that helper functions are only defined once. - - * unposted: Doc/Zsh/params.yo: Document that PROMPT_EOL_MARK can - be empty, forgot in 28480. - - * 29329: Src/math.c: Fix undefined behaviour in function argument - evaluation order. - -2011-05-26 Peter Stephenson <pws@csr.com> - - * unposted: Etc/CONTRIBUTORS: expand. - - * 29374: Src/Zle/zle_main.c: Exit ZLE immediately if exit - is pending when a keypress is expected. - -2011-05-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Bernhard Tittelbach: 29371: Completion/Unix/Command/_initctl: - completion for initctl and related system job management - utilities. - -2011-05-24 Barton E. Schaefer <schaefer@zsh.org> - - * 29368: Src/exec.c: do not restore xtrerr to stderr before - running simple commands; restore xtrerr to stderr just before - running a function body, but after printing the trace of - the function call itself. - - * 29367: Test/E02xtrace.ztst: update tests to fix mistaken - assumptions introduced by 25145 and add check of redirection - inside a function body. - -2011-05-24 Mikael Magnusson <mikachu@gmail.com> - - * 29364: Completion/Unix/Command/_make: Partial fix for - completion in dirs with spaces and other unusual characters. - - * 29335: Completion/Linux/Command/_valgrind: Update the hack - for --tool= completion. - - * 29338: Completion/Base/Core/_main_complete: Correct pattern - checking for true value in insert-tab style. - -2011-05-23 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: 4.3.11-dev-4. - - * 29351: Src/subst.c: need to cast non-integer - stdarg arguments to integer to fit % prototype. - - * unposted: Completion/Unix/Command/_go: typo - - * 29341, corrected: Completion/Unix/Command/_go, - Completion/Unix/Command/.distfiles: basic completion for - commands associated with the Go programming language. - -2011-05-22 Mikael Magnusson <mikachu@gmail.com> - - * unposted: Doc/Zsh/compsys.yo, ChangeLog: Quote -e with tt(). - Fix some formatting in ChangeLog. - - * 29328: Completion/Redhat/Command/_rpm, - Completion/Unix/Command/_git, Completion/Unix/Command/_gnutls, - Completion/Unix/Command/_gpg, Completion/Unix/Command/_growisofs, - Completion/Unix/Command/_php: Another missing backslash in _git, - remove some not needed backslashes in array definitions. - -2011-05-19 Mikael Magnusson <mikachu@gmail.com> - - * 29224: Doc/Zsh/expn.yo, NEWS, Src/subst.c, - Test/D04parameter.ztst: Support negative LEN in ${VAR:OFFSET:LEN} - like bash. - - * 29261: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: - Add g:: parameter expansion flag. Add note that s:: can take an - empty string. - - * 29307, 29308 + replies: Completion/BSD/Command/_bsd_pkg, - Completion/Base/Utility/_sep_parts, Completion/Unix/Command/_git, - Completion/Unix/Command/_osc, Completion/Unix/Command/_perforce, - Completion/compinit, Completion/openSUSE/Command/_osc, - Completion/openSUSE/Command/_zypper, Doc/Zsh/builtins.yo, - Doc/Zsh/calsys.yo, Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, - Doc/Zsh/compwid.yo, Doc/Zsh/contrib.yo, - Doc/Zsh/expn.yo, Doc/Zsh/zle.yo, Etc/CONTRIBUTORS, - Functions/Calendar/calendar_parse, Functions/Misc/sticky-note, - Functions/TCP/tcp_read, Functions/Zftp/zfcput, Src/Zle/compctl.c, - Src/Zle/zle_hist.c, Src/exec.c, Src/hist.c, Src/jobs.c, Src/lex.c, - Src/math.c, Src/params.c, Src/subst.c: Fix some doubled words in - docs and comments. - -2011-05-18 Wayne Davison <wayned@users.sourceforge.net> - - * Valentin Haenel: 29315: Completion/Unix/Command/_git: add a - missing backslash. - -2011-05-17 Barton E. Schaefer <schaefer@zsh.org> - - * unposted: Doc/Zsh/options.yo: tweak description of the -l (LOGIN) - option for clarity. - - * 29313: Src/subst.c: when SHWORDSPLIT is in effect, the state of - the (@) expansion flag depends on the value of $IFS so as to mimic - Bourne shell join/split behavior more closely (see users/15442). - - * 29312, users/16032: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: - add "zparseopts -M" which allows option descriptions to map - synonymous option names onto a single name. - -2011-05-17 Clint Adams <clint@zsh.org> - - * 29306: Completion/Debian/Command/_make-kpkg: typo fix - from Laurent Fousse. - -2011-05-17 Frank Terbeck <ft@bewatermyfriend.org> - - * Nikolai Weibull: 29166: Completion/Unix/Command/_git: Speed - improvements for file completion. - -2011-05-17 Nikolai Weibull <now@bitwi.se> - - * 29273: Completion/Unix/Command/_git: Parse compadd options in - __git_guard_number. - -2011-05-14 Barton E. Schaefer <schaefer@zsh.org> - - * 29278: Completion/Unix/Type/_path_files: fix use of the $skips - pattern from the squeeze-slashes style. - -2011-05-14 Mikael Magnusson <mikachu@gmail.com> - - * 29271: Doc/Zsh/compwid.yo: document _alternative -O name. - -2011-05-14 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29282: Src/mem.c: hide prototypes for ZSH_HEAP_DEBUG with - #ifdef's. - -2011-05-14 Bart Schaefer <schaefer@zsh.org> - - * 29276: Src/zsh.h: typedef Heapid unconditionally, to prevent - compile errors in automatically-generated header files. - -2011-05-14 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29268: Src/Zle/compcore.c: dupstring() the value that's - going to be used for prpre, whatever the heck that is. - - * 29267: configure.ac, Src/mem.c, Src/zsh.h, Src/Zle/comp.h, - Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complist.c, - Src/Zle/compresult.c: add --enable-zsh-heap-debug and use - for debugging completion matcher groups. - -2011-05-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Danek: 29254: Src/cond.c, Src/Builtins/rlimits.c, - Src/Modules/datetime.c, Src/Modules/zftp.c, Src/Zle/computil.c: - fix some compiler warnings. - -2011-05-13 Peter Stephenson <pws@csr.com> - - * Jérémie Roquet: 29258: Src/Zle/zle_utils.c: mark a couple - more functions for export. - - * unposted (late commit): Completion/Unix/Command/.distfiles, - Config/version.mk, Test/.distfiles: update for 4.3.11-dev-3. - -2011-05-12 Mikael Magnusson <mikachu@gmail.com> - - * 29245: Completion/X/Command/_xset: pass -O instead of -o - to _describe. - - * Nikolai Weibull: 29124: Completion/Unix/Command/_git: Fix - -l option. - - * 29205: Completion/Unix/Type/_pids: don't sort processes. - - * 29208: Src/Zle/zle_move.c: make vimatchbracket check the - character left of the cursor when at the end of the line. - -2011-05-11 Mikael Magnusson <mikachu@gmail.com> - - * 29206: Doc/Zsh/mod_complist.yo: fix formatting. - -2011-05-11 Peter Stephenson <pws@csr.com> - - * 29217: Src/zsh.mdd: zshterm.h and zshcurses.h are now - dependencies for the main shell. - -2011-05-10 Peter Stephenson <pws@csr.com> - - * unposted: Src/.distfiles, Src/system.h, Src/zsh.mdd, - Src/zsh_system.h: rename system.h to zsh_system.h to ensure - there are no clashes. - - * 29214: Src/Makemod.in.in, Src/mkmakemod.sh, Src/zsh.mdd: use - -I to find headers in order to allow #include'ing generated - headers from non-generated headers when the build tree is - separate from the source tree. - - * 29191 (Danek) and 29203 (with fixes): Doc/Zsh/params.yo, - Src/params.c: make TERMINFO variable special. - -2011-05-09 Peter Stephenson <pws@csr.com> - - * 29195: Src/.distfiles, Src/hashnameddir.c, Src/hashtable.c, - Src/system.h, Src/zsh.mdd: Separate out hash handling for named - directories in order to keep RCP header usage from curses to - avoid clash on Solaris 8. - - * 29193: Src/text.c: fix variable declaration that was after - code. - - * 29165: Src/builtin.c, Src/exec.c, Src/glob.c, Src/hashtable.c, - Src/init.c, Src/jobs.c, Src/loop.c, Src/params.c, Src/prompt.c, - Src/system.h, Src/utils.c, Src/Modules/files.c, - Src/Modules/termcap.c, Src/Modules/zpty.c, Src/Zle/comp.h, - Src/Zle/complist.c, Src/Zle/compmatch.c, Src/Zle/compresult.c, - Src/Zle/computil.c, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, - Src/Zle/zle_utils.c: Use term.h globally if needed, instead of - just using in Modules and fudging the headers elsewhere. Fix - various name clashes. - -2011-05-08 Barton E. Schaefer <schaefer@zsh.org> - - * users/15986 (belated commit): Src/Modules/curses.c: handle - EINTR in zccmd_input. - -2011-05-08 Wayne Davison <wayned@users.sourceforge.net> - - * Valentin Haenel: 29187: Completion/Unix/Command/_git: add a - missing backslash. - -2011-05-07 Barton E. Schaefer <schaefer@zsh.org> - - * 29175 (w/comment typo fixed): Src/mem.c: optimize freeheap. - -2011-05-07 Frank Terbeck <ft@bewatermyfriend.org> - - * 29170: Doc/Zsh/contrib.yo: vcs_info: Clarify check-for-changes - style behaviour with the mercurial backend. - - * unposted: Doc/Zsh/contrib.yo: Add missing word ("style") spotted - by Bart. - -2011-05-06 Peter Stephenson <pws@csr.com> - - * 29163: README, Etc/FAQ.yo: update latest version claimed - to 4.3.12. - -2011-05-04 Barton E. Schaefer <schaefer@zsh.org> - - * 29140: Completion/bashcompinit: introduce function-scope wrapper - around the call to the bash completion function; in this wrapper, - hide the "words" special variable so that it may be used as an - ordinary variable by the bash completions. - -2011-05-04 Peter Stephenson <pws@csr.com> - - * Rocky Bernstein: 29135 (plus tweaks): Completion/bashcompinit, - Test/.distfiles, Test/Y04compgen.ztst, Test/compgentest: fix and - test "compgen -W" in bash completion. - - * unposted: NEWS: a few notes for next release. - -2011-05-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Haakon Riiser: 29137: Completion/Unix/Command/_ffmpeg: better - handling of flags. - -2011-05-03 Peter Stephenson <pws@csr.com> - - * 29134: Src/prototypes.h: change termcap prototypes for AIX - locally until we find the header. - -2011-05-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 29129: Src/exec.c: reading off end of file descriptor array - noticed by Vincent. - -2011-05-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Haakon Riiser: unposted: Completion/Unix/Command/_ffmpeg: more - tweaks. - -2011-04-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Haakon Riiser: 29100: Completion/Unix/Command/_ffmpeg: Clean - up and add dependencies. - - * 29114: Doc/Makefile.in, Doc/Zsh/.distfiles, - Doc/Zsh/ftp_sites.yo, Doc/Zsh/metafaq.yo, Etc/FAQ.yo: Use same - FTP sites list in META-FAQ as FAQ. - - * İsmail Dönmez: 29020: Completion/openSUSE/Command/_SuSEconfig, - Completion/openSUSE/Command/_hwinfo, - Completion/openSUSE/Command/_osc, - Completion/openSUSE/Command/_yast2, - Completion/openSUSE/Command/_zypper (plus .distfiles): new - completions. - -2011-04-29 Barton E. Schaefer <schaefer@zsh.org> - - * 29107: Src/Zle/zle_tricky.c: replace overlapping strcpy with - memmove. - -2011-04-27 Mikael Magnusson <mikachu@gmail.com> - - * 29051: Completion/Unix/Command/_make: add _make- prefix to - internal helper functions. - -2011-04-26 Wayne Davison <wayned@users.sourceforge.net> - - * 29053 (modified): Src/prototypes.h: Use "const" qualifier - in termcap prototypes. - -2011-04-25 Frank Terbeck <ft@bewatermyfriend.org> - - * Felipe Contreras: 29028: Completion/Unix/Command/_git: Add - useful completion for `gitk'. - - * Simon Ruderich: 29041: Completion/Unix/Command/_git: Add - completion for `tig' like the one for `gitk' from 29028. - - * unposted: Functions/Zle/edit-command-line: Revert change from - 28896, which did more evil than good. - -2011-04-24 Barton E. Schaefer <schaefer@zsh.org> - - * Jun T.: 29031: Src/Zle/complist.c: increment global minfo - state when inserting characters on the line during interactive - menu selection. - -2011-04-21 Barton E. Schaefer <schaefer@zsh.org> - - * 29025: Test/A01grammar.ztst: in select test, assert LINES=3 - along with COLUMNS=80 so that the selectlist is sure to be - printed where the control script can capture/examine it. - -2011-04-21 Frank Terbeck <ft@bewatermyfriend.org> - - * Valentin Haenel: 29019, Completion/Unix/Command/_git: Fix git - stash completion (apply and pop subcommands). - - * 29027: Completion/Unix/Command/_screen: support "/dev/ttyUSB0 - [baud]"-style arguments. - - * unposted: INSTALL: Clarify at which point directories from - --enable-additional-fpath are added to $fpath. - -2011-04-19 Peter Stephenson <pws@csr.com> - - * unposted: Completion/X/Command/.distfiles, Config/version.mk: - development version 4.3.11-dev-2. - - * unposted: Completion/Unix/Command/_perforce: don't complete p4 - reopen to same change. - -2011-04-18 Frank Terbeck <ft@bewatermyfriend.org> - - * 29008, 29012: Config/defs.mk.in, Src/init.c, Src/zsh.mdd, - configure.ac, INSTALL: Add `--enable-additional-fpath' option to - add arbitrary directories to the default `$fpath'. - -2011-04-18 Peter Stephenson <pws@csr.com> - - * Simon Ruderich: 29004: M Doc/Zsh/compsys.yo, - Doc/Zsh/metafaq.yo, Etc/FAQ.yo: update archive list. - -2011-04-15 Wayne Davison <wayned@users.sourceforge.net> - - * Unposted: Src/Zle/computil.c: Fix compiler warning caused by - duplicate initialization of state.doff. - -2011-04-15 Frank Terbeck <ft@bewatermyfriend.org> - - * Simon Ruderich: 28927: Completion/Unix/Command/_git: Fix "git - tag -v" completion. - -2011-04-15 Mikael Magnusson <mikachu@gmail.com> - - * 28998: Completion/Unix/Command/_make: set return status - correctly. - -2011-04-14 Peter Stephenson <pws@csr.com> - - * 28997: configure.ac, Src/system.h: make --enable-libc-musl - explicit. - -2011-04-13 Peter Stephenson <pws@csr.com> - - * gi1242+zsh: 28991: Completion/Unix/Command/_subversion: fix - caching policy for subversion. - -2011-04-12 Peter Stephenson <pws@csr.com> - - * Valentin Ochs: 28990: configure.ac, Src/system.h: more - changes needed for signals. - - * Valentin Ochs: 28989: configure.ac: define _POSIX_C_SOURCE - when testing for sigset_t (needed for musl). - -2011-04-11 Peter Stephenson <pws@csr.com> - - * users/15953: Src/builtin.c: handle EINTR when using read -k or - -q together with -u or -p. - - * cat.in.136: users/15945: Completion/Redhat/Command/_yum: - various corrections and updates. - -2011-04-05 Wayne Davison <wayned@users.sourceforge.net> - - * 28977: Src/utils.c: fix copying of uninitialized memory - when trying to spell-correct a really long string. - -2011-04-01 Peter Stephenson <pws@csr.com> - - * Stef van Vlierberghe: Src/jobs.c: 28965 (as posted in 28967): - findproc() should not return processes not marked as SP_RUNNING - since findproc() is used find processes still known to the OS. - -2011-03-30 Frank Terbeck <ft@bewatermyfriend.org> - - * Mike Meyer: 28956, 28957: - Functions/VCS_Info/Backends/VCS_INFO_detect_fossil, - Functions/VCS_Info/Backends/VCS_INFO_get_data_fossil, - Doc/Zsh/contrib.yo: Add fossil support to vcs_info. - - * unposted: Functions/VCS_Info/Backends/.distfiles: Add - new backend files to `.distfiles'. - - * unposted: ChangeLog: Fix typo in date. - - * 28958: Functions/VCS_Info/VCS_INFO_hook: Support registering - hooks independent of the context. - - * 28960: Doc/Zsh/contrib.yo, Functions/VCS_Info/.distfiles, - Functions/VCS_Info/vcs_info, Functions/VCS_Info/vcs_info_hookadd, - Functions/VCS_Info/vcs_info_hookdel: Add functions to add/remove - static hooks. - - * 28961: Doc/Zsh/contrib.yo, Functions/VCS_Info/VCS_INFO_set: Add - `no-vcs' hook. - - * 28959: Doc/Zsh/contrib.yo, Functions/VCS_Info/VCS_INFO_set, - Functions/VCS_Info/vcs_info: Make the nvcsformats style be used if - vcs_info is disabled. - -2011-03-29 Mikael Magnusson <mikachu@gmail.com> - - * unposted: Completion/Unix/Command/_vim: Fix typo in - description for -N. - -2011-03-29 Peter Stephenson <pws@csr.com> - - * Mikael: 28948: Completion/compinit, Doc/Zsh/compsys.yo: - compdef -e overrides interpretation of argument as service. - -2011-03-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 28941: Src/Zle/zle_params.c: accessing cursor with - metafied line was problematic. - -2011-03-21 Peter Stephenson <pws@csr.com> - - * 28936: Src/subst.c: ${#$} and ${#?} also didn't work. - -2011-03-20 Frank Terbeck <ft@bewatermyfriend.org> - - * Johan Sundström: 28890: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_npm: New _npm completion. - -2011-03-19 Barton E. Schaefer <schaefer@zsh.org> - - * 28926: Src/Zle/zle_tricky.c: No newline after the last line in - listlist() when printing the list in a single column. - -2011-03-18 Frank Terbeck <ft@bewatermyfriend.org> - - * Nikolai Weibull: 28914: Completion/Unix/Command/_git: Typo - fix in `cvsexportcommit' description. - - * Nikolai Weibull: 28911: Completion/Unix/Command/_git: Only show - modified files for git-checkout without tree. - - * Nikolai Weibull: 28913: Completion/Unix/Command/_git: Fix typo - which broke `send-email' completion. - -2011-03-16 Frank Terbeck <ft@bewatermyfriend.org> - - * 28896: Functions/Zle/edit-command-line: unset `monitor' option - while the widget is running to avoid accidential data loss. - -2011-03-16 Peter Stephenson <pws@csr.com> - - * Mikael: users/15875: Completion/Unix/Command/_gpg: use return - status from _arguments. - -2011-03-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28889: Src/subst.c, Test/D04parameter.ztst: ${##} should - return the length of $#. - -2011-03-11 Barton E. Schaefer <schaefer@zsh.org> - - * Greg Klanderman: 28887: Completion/Zsh/Type/_command_names: - fix quoting in defs array. - -2011-03-11 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Zsh/Context/_dynamic_directory_name: - Mikael spotted that completion doesn't work if - $zsh_directory_name_functions is set but zsh_directory_name - isn't defined. - - * users/15864: Completion/Zsh/Context/_dynamic_directory_name, - Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Functions/Chpwd/.distfiles, - Functions/Chpwd/zsh_directory_name_cdr, - Functions/Misc/add-zsh-hook, Src/subst.c, Src/utils.c: - turn zsh_directory_name into a hook. - - * 28886: Src/Zle/zle_utils.c: Fix 28772 for the case where - regions have the "P" flag to include $PREDISPLAY in the - offsets. - -2011-03-08 Barton E. Schaefer <schaefer@zsh.org> - - * Greg Klanderman: 28846: Completion/Zsh/Type/_functions, - Completion/Zsh/Type/_command_names, - Completion/Zsh/Type/_parameters, Doc/Zsh/compsys.yo: adapt - prefix-needed zstyle to handle the completion function naming - convention of a leading underscore. - -2011-03-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28866: Src/exec.c, Test/A04redirect.ztst: With POSIX_BUILTINS, - "command" prefix tops a command having special behaviour. - -2011-03-05 Barton E. Schaefer <schaefer@zsh.org> - - * Adrian: 28857: Functions/Prompts/prompt_bigfade_setup: use %d - instead of $PWD - -2011-03-04 Frank Terbeck <ft@bewatermyfriend.org> - - * 28853: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Functions/Chpwd/cdr, - Src/builtin.c, Src/prompt.c: Fix typo: preceed -> precede - -2011-03-02 Barton E. Schaefer <schaefer@zsh.org> - - * 28805: Doc/Zsh/builtins.yo, Doc/Zsh/mod_sched.yo: move stray - text about the sched builtin away from the set builtin. - -2011-03-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Baptiste: 28819: Completion/BSD/Command/_sockstat, - Completion/Unix/Command/_mount, - Completion/Unix/Type/_file_systems: FreeBSD completion tweaks. - -2011-02-28 Barton E. Schaefer <schaefer@zsh.org> - - * 28823: Src/builtin.c: make it an error to tie the same scalar to - two different arrays (prevents crash bug); improve a couple of - other error messages. - -2011-02-28 Peter Stephenson <pws@csr.com> - - * Frank, 28812, modified as in 28813: Src/string.c: wcs_ztrdup() - needs to allocate array of wchar_t. Looks like this isn't - currently used anywhere. - -2011-02-27 Wayne Davison <wayned@users.sourceforge.net> - - * Nikolai Weibull: 28649,28804: Completion/Unix/Command/_git: - Latest version copied from https://github.com/now/zsh. - -2011-02-24 Peter Stephenson <pws@csr.com> - - * 28799: Src/lex.c: fix bug introduced with lexflags - that lexical analyser didn't stop quickly enough when - retrieving completion words. - -2011-02-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28795: Src/exec.c: tweak to 28791 for forked shells. - Also (unposted) typos in comments noticed by Mikael. - -2011-02-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28791: Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, - Test/A04redirect.ztst: exit on errors in special builtins - with POSIXBUILTINS. - -2011-02-21 Peter Stephenson <pws@csr.com> - - * 28783: Doc/Zsh/options.yo, Src/lex.c, Test/A01grammar.ztst: - allow ( to be treated specially in more places when SH_GLOB - is set but KSH_GLOB isn't. - - * 28784: Doc/Zsh/options.yo, Test/A04redirect.ztst, Src/exec.c: - exit on exec redirection error with POSIXBUILTINS. - -2011-02-19 Frank Terbeck <ft@bewatermyfriend.org> - - * 28776: Functions/VCS_Info/VCS_INFO_bydir_detect, - Functions/VCS_Info/Backends/VCS_INFO_detect_hg, - Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Let - vcs_info detect very old mercurial repositories. - - -2011-02-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28773, Doc/Zsh/zle.yo, Src/zle_hist.c: add - zle-history-line-set widget. - - * 28772: Doc/Zsh/zle.yo, Src/Zle/compcore.c, - Src/Zle/compresult.c, Src/Zle/zle.h, Src/Zle/zle_refresh.c, - Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: update regions - in $region_highlight dynamically. - -2011-02-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28761: Completion/Unix/Command/_sccs: file completion missing - for some commands. - - * 28762: Src/exec.c: logic for closing coproc file descriptors - was wrong. - -2011-02-15 Frank Terbeck <ft@bewatermyfriend.org> - - * 28758: Functions/Misc/colors: work with non-default option sets. - -2011-02-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28750 with some extra comments: - Completion/Unix/Type/_path_files: separate out completeinword - handling where the current component is not the last but is - the first from the already handled case where there is a further - component in front. - -2011-02-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28671: Src/Zle/zle_utils.c: better cursor positioning - after undo. - - * users/15738: Functions/Zle/modify-current-argument: better - positioning of the cursor after the operation. - -2011-02-11 Frank Terbeck <ft@bewatermyfriend.org> - - * Lennart Weller: 28739: - Functions/VCS_Info/Backends/VCS_INFO_detect_svn: Fix svn - detection in vcs_info. - -2011-02-10 Barton E. Schaefer <schaefer@zsh.org> - - * users/15759 (slightly augmented): Functions/Zle/send-invisible, - Functions/Zle/.distfiles: widget to read a concealed string from - the keyboard and stash it in $INVISIBLE. - - * users/15770: Src/init.c: disable HASH_DIRS when not interactive. - - * 28710: Completion/Debian/Type/_deb_packages: replace complex - parameter expansion with command substitution to speed diffing - of large lists of packages. - - * unposted: Doc/Zsh/contrib.yo: add send-invisible. Re-order - some other entries to restore approximate alphabetization. - -2011-01-24 Clint Adams <clint@zsh.org> - - * Carl Worth: 28648: Completion/Unix/Command/_notmuch: notmuch - completion by Ingmar Vanhassel. - -2011-01-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * gi1242+zsh@gmail.com: 28647: Completion/X/Command/_vnc: more - options. - - * gi1242+zsh@gmail.com: 28646: Completion/X/Command/_matlab: new - completion. - -2011-01-19 Peter Stephenson <pws@csr.com> - - * 28638: Doc/Zsh/parameter.yo, Src/zsh.h, - Src/Modules/parameter.c, plus NEWS added: add $usergroups hash - mapping from user's own groups by name to GID. - -2011-01-18 Peter Stephenson <pws@csr.com> - - * Mikael: 28637: Src/subst.c: ${foo:0:} caused crash. - -2011-01-17 Peter Stephenson <pws@csr.com> - - * Atom Smasher: users/15715: Completion/Zsh/Function/_zargs: new - -2011-01-16 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Config/defs.mk.in, configure.ac: use the -L option - with yodl 3.x. - -2011-01-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28631: gi1242+zsh@gmail.com (as in 28633): - Completion/Unix/Command/.distfiles, Completion/Unix/Command/_lp, - Completion/Unix/Command/_tex, Completion/Unix/Command/_xournal, - Completion/Unix/Type/.distfiles, Completion/Unix/Type/_tex, - Completion/X/Command/.distfiles, Completion/X/Command/_xournal: - various updates. - - * 28634: Test/D04parameter.ztst: test for 28630. - - * Ricky Zhou: 28630: Src/params.c: fix crash with isident. - - * gi1242+zsh@gmail.com: 28629: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_lp, Completion/Unix/Command/_tex, - Completion/Unix/Command/_xournal, - Completion/Unix/Type/.distfiles, Completion/Unix/Type/_tex, - Completion/X/Command/.distfiles, Completion/X/Command/_xournal: - completion updates. - -2011-01-16 Clint Adams <clint@zsh.org> - - * unposted: Completion/Unix/Command/_fuser: fix typo in pattern - -2011-01-13 Peter Stephenson <pws@csr.com> - - * c.f. 28628: Doc/Zsh/func.yo: some extra notes on traps. - -2011-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/params.c: fix return types in 28617. - - * 28611: Src/Zle/zle_move.c: remove unused special behaviour for - VI mark 26. - -2011-01-11 Peter Stephenson <pws@csr.com> - - * 28626: Doc/Zsh/func.yo: summarise differences between two - types of trap. - -2011-01-10 Peter Stephenson <pws@csr.com> - - * 28617: Src/glob.c, Src/params.c, Test/E01options.ztst: NO_EXEC - option was doing to much work with parameter subscripting, - parameter assignments, and globbing. - -2011-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28544: Src/Makefile.in, Makemod.in.in: another way of handling - bad dependencies for 'make prep' as in 28541. - - * gi1242+zsh@gmail.com: 28594 (with changes as in 28598): - Completion/Linux/Command/.distfiles, - Completion/Linux/Command/_modutils, - Completion/Linux/Command/_wpa_cli, - Completion/Unix/Command/.distfiles, Completion/Unix/Command/_lp, - Completion/Unix/Command/_pgrep, - Completion/Unix/Command/_subversion, - Completion/Unix/Command/_unison, - Completion/Unix/Command/_xournal, Completion/Unix/Type/_pdf, - Completion/X/Command/.distfiles, Completion/X/Command/_gv, - Completion/X/Command/_okular, Completion/X/Command/_pdftk, - Completion/X/Command/_vnc, Completion/X/Command/_xrandr: Various - new and improved completions. - -2011-01-07 Peter Stephenson <pws@csr.com> - - * 28590 (added a comment): Src/builtin.c, Test/B04read.ztst: - read builtin should return non-zero status on error. - - * Mikael: 28585: Completion/Unix/Command/_mkdir: don't set ret=0 - when _wanted fails to find any matches. - -2011-01-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/utils.c: fix argument type for write_loop(). - - * 28588: Src/text.c, Test/C02cond.ztst: fix textual display - after =~ test. - - * Ben: 28574: Completion/Unix/Command/_ri: use bs formatter. - -2011-01-06 Barton E. Schaefer <schaefer@zsh.org> - - * 28579: Completion/Unix/Command/_du: propagate failure status - from _arguments so that _complete will try other completions. - - * 28578 (plus test): Src/utils.c, Src/zsh.h, Test/B03print.ztst: - fix handling of numeric escapes that expand to "%" in printf - format strings, so they are not treated as format introducers. - -2011-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28568 c.f. 28549 (Ricky Zhou): Src/utils.c: buffer overflow - examining paths. - - * Alexey: 28557: Completion/Unix/Command/_ri: update for new - versions of Ruby. - -2010-12-25 Clint Adams <clint@zsh.org> - - * 28548: Completion/Unix/Command/_fuser: match psmisc in any case. - -2010-12-21 Barton E. Schaefer <schaefer@zsh.org> - - * users/15662: Src/params.c: fix array slice assignment with one - index positive and one negative. - - * unposted: Test/A06assign.ztst: tests for users/15662. - -2010-12-21 Peter Stephenson <pws@csr.com> - - * users/15663: Test/A06Assign.ztst: some (incomplete) array - assignment tests. - - * unposted: Config/version.mk: update version to 4.3.11-dev-1. - -2010-12-20 Peter Stephenson <pws@csr.com> - - * unposted: Src/Makefile.inc: restore unintentionally removed - .PHONY entires. - - * unposted: Config/version.mk, Src/Makefile.inc: release 4.3.11. - Tweak to Src/Makefile.inc was to workaround some make problem - with timestamps. - - * Paul Ackersviller: 28538: as modified in 28540 plus a couple - of casts to char * I missed: Src/init.c,Src/input.c, - Src/parse.c, Src/prototypes.h, Src/utils.c, Src/Zle/zle_main.c: - pointer arithmetic needs to be done with char *, not void *. - -2010-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28537: Src/lex.c, Test/D04parameter.ztst: word splitting on - '((' in command position that turned into nested subshell - commands was broken. - -2010-12-18 Barton E. Schaefer <schaefer@zsh.org> - - * 27862 (belatedly): Completion/X/Utility/_x_arguments: handle - X11 versions greater than X11R6 in the compdef line. - - * unposted: Src/Makefile.in: "prep" target depends on Makemod, - not on the files on which Makemod depends. - -2010-12-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 28535: NEWS: typo - -2010-12-17 Peter Stephenson <pws@csr.com> - - * Štěpán Němec: 28533: README, Doc/Zsh/compsys.yo, - Doc/Zsh/compwid.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, - Doc/Zsh/params.yo, Doc/Zsh/zle.yo, Functions/Chpwd/cdr: typos. - - * unposted: NEWS: note zle_highlight suffix control. - - * Mikael: users/15653: Src/Zle/zle_refresh.c: - zle_highlight=(none) should turn off suffix highlighting. - -2010-12-16 Peter Stephenson <pws@csr.com> - - * Mikael: 28531: Completion/Base/Utility/_combination, - Doc/Zsh/expn.yo, Doc/Zsh/mod_clone.yo, Doc/Zsh/options.yo, - Src/exec.c: typos. - - * unposted: NEWS: add notes on (Z) parameter flag. +2012-12-16 Peter Stephenson <p.w.stephenson@ntlworld.com> * unposted: README, Config/version.mk, Etc/FAQ.yo, - Completion/Debian/Command/.distfiles: update for 4.3.10-test-3. - -2010-12-14 Barton E. Schaefer <schaefer@zsh.org> - - * 28530: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: - replace (z+opts+) flag with (Z:opts:), add reserved (_:flags:). - -2010-12-14 Peter Stephenson <pws@csr.com> - - * unposted: Src/lex.c: another neatening of lexflags use for - ZLE. - - * 28529: Src/hist.c, Src/lex.c, Src/zsh.h, Src/Zle/compcore.c, - Src/Zle/compctl.c, Src/Zle/zle_tricky.c: save and restore - lexflags and separate out special word logic for ZLE by - adding new flag LEXFLAGS_ZLE. - - * 28528: Doc/Zsh/expn.yo, Src/hist.c, Src/lex.c, Src/subst.c, - Src/zsh.h, Src/Zle/compcore.c, Src/Zle/compctl.c, - Src/Zle/zle_tricky.c, Test/D04parameter.ztst: clear up use of - zleparse variable into lexflags; add (z+n+) for splitting with - newline treated as ordinary whitespace. - -2010-12-13 Peter Stephenson <pws@csr.com> - - * 28526: Src/lex.c, Test/D04parameter.ztst: zplitting - 'line # with comment' when stripping comments shouldn't generate - a newline at the end (unless there is one). - -2010-12-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28510: Doc/Zsh/expn.yo, Src/hist.c, Src/lex.c, Src/subst.c, - Src/Modules/parameter.c, Src/Zle/zle_hist.c, Src/Zle/zle_misc.c, - Test/D04parameter.ztst: add (z+c+) and (z+C+) parameter flags. - -2010-12-07 Peter Stephenson <pws@csr.com> - - * unposted: remove users/15622 which causes problems - with certain existing forms of testing commands. - -2010-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 28480: Doc/Zsh/params.yo, Src/utils.c: allow - PROMPT_EOL_MARK to be an empty string. - -2010-12-06 Peter Stephenson <pws@csr.com> - - * users/15622: Completion/Base/Utility/_pick_variant: use - $service rather than $words[1] to pick the service. Although - there may be cases where this doesn't work, this provides - transparent behaviour for simple uses along the lines of - "compdef <_func> <cmd>=<service>" - - * users/15621: Completion/compinit, - Completion/Base/Core/dispatch: fix setting service for compef - -p/-P. - - * Mikael: 28487: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, - Doc/Zsh/options.yo, Doc/Zsh/prompt.yo: fix docs to refer to - current directory rather than $PWD. - - * 28486: Src/Zle/compcore.c: $compstate[parameter] needed - untokenizing. - - * Mikael: 28484: Completion/Unix/Command/_du: updated for GNU - variant. - -2010-12-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: NEWS: mention {START..END..STEP} changes. - - * Mikael: 28474, 28478: Doc/Zsh/expn.yo, Src/glob.c, - Test/D09brace.ztst: extended {START..END..STEP} syntax. - - * 28476: Test/.distfiles, Test/D09brace.ztst: new set of tests - for brace expansion. - - * 28475: Test/A05execution.ztst: test that starting a background - job resets the status. - - * 28469: Src/exec.c: fix memory leak in anonymous function. - -2010-12-04 Wayne Davison <wayned@users.sourceforge.net> - - * Aaron Schrab: 28210: Completion/Unix/Command/_git: add completion - for help subcommand. - -2010-12-03 Peter Stephenson <pws@csr.com> - - * 28468: Completion/Unix/Command/_man: if argument contains a - "/", complete file instead of manual page reference; prefer - files with man suffixes. - -2010-11-30 Peter Stephenson <pws@csr.com> - - * unposted: NEWS: add news about ${NAME:OFFSET} and took the - opportunity for a general tidy up. - -2010-11-27 Barton E. Schaefer <schaefer@zsh.org> - - * 28461: Src/exec.c: flush stderr in PRINT_EXIT_VALUE handling. - - * users/15583: Functions/Misc/sticky-note: update with zstyles and - for ease of use in zle-line-init. - -2010-11-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28459: Src/utils.c: flush shell output in PROMPT_SP handling. - -2010-11-25 Wayne Davison <wayned@users.sourceforge.net> - - * 28445: Src/utils.c: overwrite PROMPT_SP string if it - should remain invisible, even with an upcoming newline. - -2010-11-25 Peter Stephenson <pws@csr.com> - - * Sebastian Stark: users/15581: - Completion/Zsh/Command/_zmodload: MacOS has .bundle DLL files. - - * users/15580: Completion/Zsh/Function/_zsh-mime-handler, - Functions/MIME/zsh-mime-handler: fixes for completion when - dropping through to normal completion. - - * 28434: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: - Make ${NAME:OFFSET} always use zero-offset. - -2010-11-22 Peter Stephenson <pws@csr.com> - - * 28424: Doc/Zsh/options.yo, Src/options.c, Src/utils.c, - Src/zsh.h, Test/A03quoting.ztst: New POSIX_STRINGS option - makes \0 in $'...' terminate the quoted string. - -2010-11-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28425: Src/subst.c: remove null arguments and untokenize - in check_colon_subscript(). - -2010-11-18 Peter Stephenson <pws@csr.com> - - * 28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: - KSH_ARRAY ${*:0:1} gives $0 etc. - - * 28418: Doc/Zsh/expn.yo, Src/lex.c, Src/params.c, Src/subst.c, - Test/D04parameter.ztst: add ${NAME:OFFSET} and - ${NAME:OFFSET:LENGTH} substitution syntax. - -2010-11-17 Peter Stephenson <pws@csr.com> - - * 28377: Doc/Zsh/grammar.yo: document more alias problems. - -2010-11-14 Clint Adams <clint@zsh.org> - - * 28411: Completion/Unix/Command/_git: complete submodule - and annex as subcommands; complete files when the subcommand - is unknown. - -2010-11-10 Clint Adams <clint@zsh.org> - - * 28401: Completion/Debian/Command/_git-buildpackage: - git-buildpackage completion from Felipe Sateler. - -2010-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 28389: Completion/Unix/Type/_java_class: empty section - in $CLASSPATH. - -2010-11-03 Barton E. Schaefer <schaefer@zsh.org> - - * 28384: Src/params.c: improve error message on assignment to a - field of a read-only hash. - -2010-10-27 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/grammar.yo: typo pointed out by - Štěpán plus slight rephrasing. - - * 28375: Doc/Zsh/grammar.yo: clarify how to quote aliases from - expansion. - -2010-10-25 Peter Stephenson <pws@csr.com> - - * 28363: Src/Zle/zle_refresh.c: inserting a character when a - wide character was at the end of the line didn't work. - -2010-10-22 Peter Stephenson <pws@csr.com> - - * 28360: Src/subst.c, Test/E01options.ztst: NO_UNSET option - should test parameters with following operators, too. - - * not quite posted: Completion/Unix/Command/_screen: better to - allow sessions to be completed after -S. - -2010-10-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Silas Silva (with minor improvement): users/15464: - Completion/Unix/Command/_man: support for -M argument. - -2010-10-18 Peter Stephenson <pws@csr.com> - - * Jérôme Pouiller: 28351: Functions/Misc/run-help-openssl, - Functions/Misc/run-help-sudo: new help functions. - -2010-10-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 28356: Src/Zle/zle_refresh.c: don't increment old - display line past NULL. - - * c.f. 28353: Doc/Zsh/metafaq.yo: removing remaining reference - to sunsite in FTP sites. - -2010-10-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28345: Doc/Zsh/expn.yo, Functions/Chpwd/cdr, Src/builtin.c, - Src/utils.c: make new ${(D)} flag return the contracted file as - a fully usable command line argument. - -2010-10-12 Barton E. Schaefer <schaefer@zsh.org> - - * unposted (users/15440): Doc/Zsh/expn.yo: fix cross-references - among parameter expansion rules. - -2010-10-12 Peter Stephenson <pws@csr.com> - - * Mikael: 28343: Completion/Unix/Command/_setfacl: didn't - complete file argument in all cases. - -2010-10-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28340: Src/params.c: assignment with negative index didn't - work with multibyte characters. - - * 28339: Src/hist.c: NO_HIST_LEX_WORDS didn't handle - backslash-newline line continuation properly, either. - - * 28332: Src/hist.c: HIST_LEX_WORDS didn't handle - backslash-newline line continuation properly. Come to think of - it, neither does the alternative. - -2010-10-10 Phil Pennock <pdpennock@users.sourceforge.net> - - * 28338: Src/cond.c, C02cond.ztst: keep =~ from inverting sense - of subsequent tests (after &&/||). - -2010-10-08 Peter Stephenson <pws@csr.com> - - * Ben: 28330: Completion/X/Command/_acroread: add - completion for -openInNewInstance. - - * Ben: 28329: Completion/X/Command/_acroread: version 9 is - similar to 7 and 8. - -2010-10-07 Peter Stephenson <pws@csr.com> - - * 28327: Src/hist.c: Fix bufferwords() splitting when RC_QUOTES - is turned on. - -2010-10-06 Peter Stephenson <pws@csr.com> - - * 28326: Src/hist.c, Test/D04parameter.ztst: Problems with - HIST_LEX_WORDS: memory allocation was screwed if we skipped - "words" from the lexer; use local heap to avoid silly amounts of - memory; fallback to non-lex on failure rather than just fixing - up at the end; workaround oddity with splitting with RC_QUOTES. - - * 28319: Src/hist.c, Test/D04parameter.ztst: ${(z)...} - splitting oddities and some tests for consistency. - - * 28285: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c: add - zle-isearch-update and zle-isearch-exit hooks. - -2010-10-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: NEWS: note HIST_LEX_WORDS option. - - * 28310 with 28308 (Bart): Doc/Zsh/options.yo, Src/hist.c, - Src/options.c, Src/zsh.h: HIST_LEX_WORDS option and check - for full history file read. - - * 28309: Src/subst.c: infinite loop when padding with extra wide - characters. - - * Mikael: 28301: Doc/Zsh/compsys.yo: restore missing line. - -2010-10-01 Oliver Kiddle <opk@zsh.org> - - * 28307: Completion/Zsh/Command/_zstyle: support new styles - especially vcs_info ones and allow quoted contexts again - -2010-09-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28295 plus tweak for failure case: Src/hist.c: use lexer to - split words from history file. - -2010-09-23 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/manual.yo: update address of HTML manual. - -2010-09-20 Peter Stephenson <pws@csr.com> - - * 28282: Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, - Src/zle_utils.c: new function zlecallhook() and fix argument to - zle-keymap-select. - -2010-09-19 Barton E. Schaefer <schaefer@zsh.org> - - * 28268: Src/builtin.c: I/O to a terminated (or never created) - coprocess emits a "no coprocess" diagnostic, instead of either - nothing or "bad file number". - -2010-09-16 Peter Stephenson <pws@csr.com> - - * Baptiste: 28264: Completion/Unix/Command/_ffmpeg: remove the - need for sed. - -2010-09-15 Wayne Davison <wayned@users.sourceforge.net> - - * 28261: Julius Plenz: Completion/Debian/_dpkg: separate the - options to _arguments. - -2010-09-14 Peter Stephenson <pws@csr.com> - - * 28259: Src/exec.c, Src/lex.c, Src/parse.c, Src/text.c, - Src/zsh.h, Test/A04redirect.ztst: Fix bug that empty - here-documents were given a newline, and output here-documents - from shell text as real here-documents rather than here-strings. - - * 28258: Src/signals.c: bug in 28250 could cause undefined - variable resulting in mayhem. - -2010-09-13 Peter Stephenson <pws@csr.com> - - * unposted: NEWS: add POSIX_TRAPS - - * Mikael: 28252: Completion/Zsh/Command/_zle: remove unnecessary - looped that caused errors. - -2010-09-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/builtins.yo: note exit trap runs before - zshexit hook. - - * 28250: Doc/Zsh/options.yo, Src/options.c, Src/signals.c, - Src/zsh.h, Test/C03traps.ztst: POSIX_TRAPS option. - - * Mikael: 28253: Doc/Zsh/mod_attr.yo: document -h argument to - attribute commands. - -2010-09-08 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Zle/replace-string-again: safety on - regexp failures. - - * 28244 with typo noted by Mikael and Bart: NEWS: updated 4.3.11 - news. - - * 28241: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: don't list .safe - keymap with "bindkey -lL", you don't get there from here. - - * 28237: Doc/Zsh/params.yo, Doc/Zsh/zle.yo, Src/Zle/zle_main.c: - set ZLE_LINE_ABORTED to line so far when ZLE aborts on an error. - -2010-09-06 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/zle.yo: small typo. - -2010-09-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28226, 28229: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: "bindkey - -lL" now lists aliased keymaps in a more useful way; can list - individual keymaps. - - * 28227: Doc/Zsh/zle.yo: a few remarks on the question of - keymaps. - -2010-09-02 Peter Stephenson <pws@csr.com> - - * users/15350: Doc/expn.yo: explain the strange rounding rules for - size glob qualifier. - -2010-09-01 Peter Stephenson <pws@csr.com> - - * 28188: Doc/Zsh/mod_complist.yo, Doc/Zsh/zle.yo: better - documentation for limitations in the overlay key maps. - -2010-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28220: Src/exec.c (plus comments), Src/params.c, - Test/A06assign.ztst: "HELLO=$HELLO shellfunc" failed because - we removed HELLO from the parameter table to save it. Copy it - instead. - - * Mikael: 28202: Src/Zle/complist.c: need line unmetafied for - reversemenucomplete(). - -2010-08-23 Peter Stephenson <pws@csr.com> - - * Mikael: 28190: Doc/Zsh/options.yo: reference to wrong - manual page. - - * unposted: Completion/Unix/Command/_perforce: update for 2010.1. - -2010-08-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28179: Src/jobs.c, Src/signals.c: use WIFCONTINUED() and - WCONTINUE by exporting child handler to a function. - - * users/15314: Doc/Zsh/expn.yo: redescribe process substitution. - - * users/15301 (bits applying to process substitution with - redirection): Src/exec.c: make redirection process substitution - attach to the appropriate process group. - - * users/15300: pass foreground signals on to process - substitutions in current shell - -2010-08-22 Barton E. Schaefer <schaefer@zsh.org> - - * 28186: Completion/Base/Utility/_multi_parts: replace a single - (...|...) pattern-match with a loop over the alternatives to - avoid issues with pattern-quoting each alternative. - -2010-08-21 Frank Terbeck <ft@bewatermyfriend.org> - - * Mikael Magnusson: 28181: Doc/Zsh/mod_zprof.yo: Remove a - stray `)' that caused a ".RE" string to be output - -2010-08-19 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_todo.sh: more commands. - -2010-08-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28172: Src/jobs.c: mark processes as not stopped if - sent SIGCONT. - -2010-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28167: Src/Zle/compresult.c: reset more variables when - invalidating completion list. - -2010-08-13 Peter Stephenson <pws@csr.com> - - * 28160 modified as per 28164: Src/Zle/zle_refresh.c: when the - display was reset we didn't properly mark the old display line - as invalid. This could mean the display didn't get redrawn - properly. - -2010-08-11 Peter Stephenson <pws@csr.com> - - * 28139: based on Frank Terbeck: 28122: Src/Zle/zle_params.c, - Doc/Zsh/zle.yo: add ZLE_STATE variable. - -2010-08-10 Clint Adams <clint@zsh.org> - - * unposted: Functions/Newuser/zsh-newuser-install: tweak - newline placement. - -2010-08-10 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_todo.sh: need care matching - initial whitespace; strip priorities to get text to replace. - -2010-08-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28137: Functions/MIME/zsh-mime-handler: $argv[0] should be - $argv[1]. - -2010-08-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Simon Ruderich: 28136: README: typo. - -2010-08-06 Peter Stephenson <pws@csr.com> - - * 28131: MACHINES: latest status on Cygwin. - - * users/15232: Completion/Unix/Type/_path_files: somehow - this didn't get completed. - -2010-08-05 Peter Stephenson <pws@csr.com> - - * users/15232: Completion/Unix/Type/_path_files: another - go at fixing up for bizarre quoting rules, c.f. users/15031. - -2010-08-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Holger Macht: 28130: Completion/Unix/Command/_osc: new - completion. - -2010-08-02 Frank Terbeck <ft@bewatermyfriend.org> - - * Seth House: 28115: Misc/vcs_info-examples: Another git example - hook. - - * Seth House: 28114: - Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix revision - lookup with packed repositories. - -2010-08-02 Peter Stephenson <pws@csr.com> - - * Daiki Ueno: 28112: Src/Zle/zle_refresh.c: missing parentheses - caused incorrect size for character width. - -2010-07-31 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/15219: Src/jobs.c: print exit status if PRINTEXITVALUE - and terminated by signal. - - * 28111: Src/jobs.c: always print exit status if PRINTEXITVALUE - is set. - - * users/15217: Src/Zle/zle_main.c: use top-level status - when redrawing prompt. - -2010-07-30 Frank Terbeck <ft@bewatermyfriend.org> - - * Mikael Magnusson: 28110: Doc/Zsh/compsys.yo: Fix yodl warning. - - * unposted: Fix a date in ChangeLog. - -2010-07-29 Peter Stephenson <pws@csr.com> - - * <hamer@hamer.org.ua>: 28104: Src/Zle/compcore.c: crash - in obscure completion case due to NULL pointer. - -2010-07-28 Peter Stephenson <pws@csr.com> - - * users/15204: Functions/Zftp/zfinit: check compctl is loaded - before trying to use it (for ksh emulation). - - * as described in users/15202: Functions/Misc/run-help, - Functions/Newuser/zsh-newuser-install, - Functions/Prompts/promptinit, Functions/TCP/tcp_open, - Functions/Zftp/zfinit, Functions/Zle/down-case-word-match, - Functions/Zle/forward-word-match, - Functions/Zle/history-pattern-search, - Functions/Zle/insert-composed-char, Functions/Zle/kill-word-match, - Functions/Zle/match-words-by-style, - Functions/Zle/select-word-style, - Functions/Zle/transpose-words-match, - Functions/Zle/up-case-word-match, Functions/Zle/zed-set-file-name: - Use "autoload -Uz" consistently throughout distributed functions. - -2010-07-26 Peter Stephenson <pws@csr.com> - - * 28102: Src/Zle/computil.c: use lstat() when checking - ignore-parents. - -2010-07-26 Frank Terbeck <ft@bewatermyfriend.org> - - * 28101: Completion/Unix/Command/_tmux: Fix window completion - for tmux version 1.3 and newer. - -2010-07-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Config/version.mk: update to 4.3.10-dev-2. - -2010-07-24 Wayne Davison <wayned@users.sourceforge.net> - - * 28000: Completion/Unix/Command/_git: make the branch arg for - "git log" optional. - -2010-07-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28096: Functions/Chpwd/chpwd_recent_dirs: don't add - $OLDPWD. - - * 28081: Doc/Zsh/contrib.yo, - Functions/Chpwd/chpwd_recent_filehandler: document style - stuff with cdr, future-proof file reading. - -2010-07-19 Peter Stephenson <pws@csr.com> - - * 28092: Completion/Unix/Command/_getconf: generate missing keys. - -2010-07-19 Frank Terbeck <ft@bewatermyfriend.org> - - * 28093, based on Michel Lespinasse: 28090: - Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix a problem - with `check-for-changes' and freshly initialised repositories. - - * Seth House: 28084, 28083: Misc/vcs_info-examples: cleanups - and new examples. - - * 28095: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix - two hard-coded invocations of the "git" command. - -2010-07-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28073: Src/exec.c, Src/init.c, Src/utils.c: allow #! - scripts to search path if interpreter not found. - -2010-07-15 Doug Kearns <dougkearns@gmail.com> - - * 28078: Completion/Unix/Command/_xmlsoft: update. - - * Michael Hwang: 28075: Completion/Unix/Command/_gpg: add gpg-zip - completion and other general improvements. - -2010-07-13 Peter Stephenson <pws@csr.com> - - * Jörg Sommer: 28063: Completion/Unix/Command/_rubber: suppress - warning messages when extracting output. - -2010-07-12 Peter Stephenson <pws@csr.com> - - * 28068: Doc/Zsh/contrib.yo: Texinfo declaration got wrapped - causing mayhem. - -2010-07-12 Frank Terbeck <ft@bewatermyfriend.org> - - * users/15165: Doc/Zsh/contrib.yo: Fix a warning about a - missing macro. - -2010-07-09 Peter Stephenson <pws@csr.com> - - * 28065: Doc/Zsh/contrib.yo, Functions/Chpwd/.distfiles, - Functions/Chpwd/cdr, Functions/Chpwd/_cdr, - Functions/Chpwd/chpwd_recent_add, - Functions/Chpwd/chpwd_recent_dirs, - Functions/Chpwd/chpwd_recent_filehandler, plus Src/zsh.mdd - (not posted): add cdr function, tools, and documentation. - -2010-06-30 Clint Adams <clint@zsh.org> - - * 27998, 28061, 28062: Functions/Newuser/zsh-newuser-install: - add recommended zshrc option. - - * 28060: Completion/Unix/Command/_xmlsoft: xmlsoft --nodtdattr - completion thanks to Vincent Lefevre. - -2010-06-23 Doug Kearns <dougkearns@gmail.com> - - * 28056: Completion/Unix/Command/_lynx: add option descriptions. - -2010-06-22 Doug Kearns <dougkearns@gmail.com> - - * 28055: Completion/Unix/Command/_vim: add some missing options. - -2010-06-22 Peter Stephenson <pws@csr.com> - - * 28047: Src/hist.c: make fc -R/-W more consistently verbose - and allow fc -R to work if file could be read but permissions - didn't allow it to be locked (as distinct from failing to lock - it because something else had locked it). - -2010-06-22 Doug Kearns <dougkearns@gmail.com> - - * 28052: Completion/Unix/Command/_cvs: remove duplicated completion of - the version subcommand. - - * unposted: INSTALL, README: fix typos. - - * 28051: Completion/Unix/Command/_elinks: update for version 0.12pre5. - -2010-06-17 Frank Terbeck <ft@bewatermyfriend.org> - - * Holger Weiss: 28016, 28017, 28018, 28019: - Completion/Unix/Command/_git: various fixes and enhancements. - - * Holger Weiss: 28020: Doc/Zsh/compsys.yo: Fix a typo. - - * unposted: Fix a date in ChangeLog. - -2010-06-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28042: Doc/Zsh/contrib.yo, Functions/Zle/.distfiles, - Functions/Zle/transpose-lines: new widget. - -2010-06-14 Peter Stephenson <pws@csr.com> - - * 28038: Index: Completion/Zsh/Command/_zstyle, Doc/Zsh/calsys.yo, - Functions/Calendar/calendar, Functions/Calendar/calendar_add, - Functions/Calendar/calendar_parse, - Functions/Calendar/calendar_scandate: improved handling of - recurring events in calendar system. - - * unposted: Doc/Zsh/params.yo: extra note on ZSH_EVAL_CONTEXT. - - * 28037: Src/exec.c, Src/math.c, Src/module.c, - Test/V01zmodload.ztst: improved error messages for autoloading - math functions and builtins (but not conditions). - - * 28010: configure.ac, Src/compat.c: use getcwd() as fallback - if zgetcwd() fails. - -2010-06-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 28027: Doc/Zsh/expn.yo: typo. - -2010-06-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 28026: Completion/Zsh/Context/_dynamic_directory_name, - Doc/Zsh/expn.yo: use "zsh_directory_name c" for completion - of dynamic directory names. - - * 28025: Doc/Zsh/expn.yo, Src/subst.c, Src/utils.c: (D) - parameter flag to abbreviate directories. - -2010-06-09 Peter Stephenson <pws@csr.com> - - * Haakon Riiser: 28009: Completion/Unix/Command/_ffmpeg: new. - -2010-06-08 Peter Stephenson <pws@csr.com> - - * 28006: Src/builtin.c, Src/compat.c, Src/init.c: Make zgetcwd() - fall back to pwd in preference to returning "."; only use "." if - we're trying to set pwd at that point. - -2010-06-08 Doug Kearns <dougkearns@gmail.com> - - * unposted: Completion/Mandriva/Command/_urpmi: fix typo in parameter - name. - -2010-06-07 Peter Stephenson <pws@csr.com> - - * Alexey: 27999: Test/V01zmodload.ztst: fix error message. - -2010-06-07 Doug Kearns <dougkearns@gmail.com> - - * Simon Ruderich: 28002: Completion/Unix/Command/_feh: fix bad commit. - -2010-06-06 Doug Kearns <dougkearns@gmail.com> - - * unposted: Completion/BSD/Command/_csup, - Completion/BSD/Command/_fetch, Completion/BSD/Command/_freebsd-update, - Completion/BSD/Command/_fstat, Completion/BSD/Command/_pfctl, - Completion/BSD/Command/_portaudit, Completion/BSD/Command/_portmaster, - Completion/BSD/Command/_portsnap, Completion/BSD/Command/_powerd, - Completion/BSD/Command/_procstat, Completion/Darwin/Command/_open, - Completion/Darwin/Command/_softwareupdate, - Completion/Debian/Command/_apt-file, - Completion/Linux/Command/_analyseplugin, - Completion/Linux/Command/_ethtool, Completion/Linux/Command/_ipset, - Completion/Linux/Command/_mdadm, Completion/Linux/Command/_rpmbuild, - Completion/Linux/Command/_strace, - Completion/Mandriva/Command/_rebootin, Completion/Redhat/Command/_yum, - Completion/Solaris/Command/_coreadm, - Completion/Solaris/Command/_dhcpinfo, - Completion/Solaris/Command/_dladm, Completion/Solaris/Command/_dumpadm, - Completion/Solaris/Command/_gcore, Completion/Solaris/Command/_inetadm, - Completion/Solaris/Command/_ptree, - Completion/Solaris/Command/_savecore, - Completion/Solaris/Command/_svcadm, Completion/Solaris/Command/_svccfg, - Completion/Solaris/Command/_svcprop, Completion/Solaris/Command/_svcs, - Completion/Solaris/Command/_zlogin, Completion/Unix/Command/_arp, - Completion/Unix/Command/_arping, Completion/Unix/Command/_bzr, - Completion/Unix/Command/_cdcd, Completion/Unix/Command/_ecasound, - Completion/Unix/Command/_feh, Completion/Unix/Command/_git, - Completion/Unix/Command/_gnupod, Completion/Unix/Command/_gnutls, - Completion/Unix/Command/_locate, Completion/Unix/Command/_module, - Completion/Unix/Command/_perforce, Completion/Unix/Command/_pkgadd, - Completion/Unix/Command/_pkginfo, Completion/Unix/Command/_pkgrm, - Completion/Unix/Command/_sisu, Completion/Unix/Command/_sqsh, - Completion/Unix/Command/_surfraw, Completion/Unix/Command/_tcpdump, - Completion/Unix/Command/_tmux, Completion/Unix/Command/_todo.sh, - Completion/Unix/Command/_wget, Completion/Unix/Command/_yafc, - Completion/Unix/Command/_zfs, Completion/Unix/Command/_zpool, - Completion/Unix/Type/_printers, Completion/X/Command/_mplayer, - Completion/X/Command/_setxkbmap, Completion/Zsh/Command/_cd: fix - incorrectly capitalized completion descriptions as per the - recommendations in Etc/completion-style-guide. - -2010-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27983: Src/prompt.c: colours could be output twice. - -2010-06-03 Peter Stephenson <pws@csr.com> - - * 27994: Src/params.c: better error message when failing to - autoload parameter. - -2010-06-03 Frank Terbeck <ft@bewatermyfriend.org> - - * Holger Weiss: 27977: Completion/Unix/Command/_git: shouldn't - return 0 if there are no matches. - -2010-06-02 Peter Stephenson <pws@csr.com> - - * 27990: Src/Modules/termcap.c (not in original patch), - Src/Modules/terminfo.c: ignore error return value from - setupterm(), it's not useful in telling us whether the module - booted OK. - -2010-06-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Daniel Friesel: 27982: Completion/Unix/Command/_feh: update. - -2010-05-31 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 27981: Completion/Zsh/Context/_subscript: complete - (e). - -2010-05-28 Peter Stephenson <pws@csr.com> - - * Mikael: 27980: Completion/Zsh/Type/_globquals: typo. - -2010-05-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27965 plus as per 27966: Src/builtin.c, Src/subst.c, - Src/utils.c, Src/zsh.h: Use $'\n' quoting instead of literal - newline for ${(q)...} to avoid lines getting split unexpectedly. - Quote empty strings as ''. - - * 27976: Doc/Zsh/expn.yo: add yet more to the my-brain-hurts - description of how parameter expansion is ordered. - -2010-05-27 Frank Terbeck <ft@bewatermyfriend.org> - - * Seth House: 27971: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: - vcs_info: Fix a bug that caused the mercurial backend to always return - `default' as the branch name. - -2010-05-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/15078: Completion/Zsh/Function/.distfiles, - Completion/Zsh/Function/_zsh-mime-handler, Doc/Zsh/contrib.yo, - Functions/MIME/zsh-mime-handler: completion for a - zsh-mime-handler should understand how the line will be handled. - -2010-05-22 Clint Adams <clint@zsh.org> - - * 27964: Doc/Zsh/contrib.yo: add back missing enditem(). - -2010-05-14 Frank Terbeck <ft@bewatermyfriend.org> - - * Simon Ruderich: 27954: Doc/Zsh/contrib.yo, Misc/vcs_info-examples: - vcs_info: more minor documentation fixes. - - * Simon Ruderich: 27953: Doc/Zsh/contrib.yo, Misc/vcs_info-examples, - Functions/VCS_Info/VCS_INFO_formats: vcs_info: changed default formats - and actionformats - -2010-05-12 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/params.yo, Src/Modules/zutil.c: fix typo - ("zregesparse-guard"). - - * 27951: Doc/Zsh/expn.yo, Doc/Zsh/params.yo, Src/builtin.c, - Src/exec.c, Src/glob.c, Src/init.c, Src/params.c, Src/signals.c, - Src/Builtins/sched.c, Src/Modules/zpty.c, Src/Modules/zutil.c: - Add $ZSH_EVAL_CONTEXT and $zsh_eval_context to provide context - stack. - -2010-05-10 Peter Stephenson <pws@csr.com> - - * c.f. 27950: Test/C03traps.ztst some bogus whitespace got added - in patching 27947. - -2010-05-10 Frank Terbeck <ft@bewatermyfriend.org> - - * Seth House, Simon Ruderich and myself: 27948: - Doc/Zsh/contrib.yo, Functions/VCS_Info/.distfiles, Misc/.distfiles, - Misc/vcs_info-examples, Functions/VCS_Info/Backends/VCS_INFO_detect_hg, - Functions/VCS_Info/Backends/VCS_INFO_get_data_git, - Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, - Functions/VCS_Info/VCS_INFO_formats, Functions/VCS_Info/VCS_INFO_hook, - Functions/VCS_Info/VCS_INFO_quilt, Functions/VCS_Info/vcs_info: various - vcs_info changes: mercurial backend improvements, new hooks, quilt - support, documentation improvements and bugfixes - -2010-05-05 Peter Stephenson <pws@csr.com> - - * users/15031: Completion/Unix/Type/_path_files: fix (still - incomplete) for bizarre quoting rules for files in completion - with path-completion off or accept-exact-dirs on. - - * 27947: Src/exec.c, Test/C03traps.ztst: fix some cases where we - should (probably) execute an EXIT trap but don't. - -2010-05-02 Frank Terbeck <ft@bewatermyfriend.org> - - * Simon Ruderich: 27813: Completion/Unix/Command/_git: Complete - some generic symbolic references as heads. - -2010-04-28 Clint Adams <clint@zsh.org> - - * Bernd Zeimetz: 27931: Completion/Debian/Command/_bts: - completion for bts affects. - -2010-04-28 Peter Stephenson <pws@csr.com> - - * Mikael: 27929: Src/lex.c, Doc/Zsh/options.yo (added pws): global - aliases with space shouldn't trigger HIST_IGNORE_SPACE. - -2010-04-27 Peter Stephenson <pws@csr.com> - - * 27926: Src/Zle/zle_hist.c: fix completion suffix when inserting - last word. - - * 27911: Completion/Base/Core/_main_complete: ensure colouring is - not used if not configured when showing old lists. - -2010-04-26 Frank Terbeck <ft@bewatermyfriend.org> - - * 27908: Functions/VCS_Info/vcs_info: Avoid locale related - problems - -2010-04-26 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: update to Perforce - 2009.2 features. - - * unposted: Completion/X/Command/_kfmclient: also kioclient; - probe desktop bindings. - -2010-04-25 Clint Adams <clint@zsh.org> - - * 27912: Completion/Linux/Command/_lsusb: presume that - usb.ids is uncompressed now. - - * 27914 (tweaked): Completion/Linux/Command/_lsusb: find - usb.ids in /usr/share/misc. - -2010-04-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/15028 (modified to do the unquoting a bit more - logically): Completion/Unix/Type/_path_files: for - path-completion false and accept-exact-dirs true we need to - unquote the word from the command line. - -2010-04-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27889: Src/subst.c, Test/D04parameter.ztst: Force more use of - GLOB_SUBST in parameters if ~ is used. - -2010-04-20 Peter Stephenson <pws@csr.com> - - * "Akinori MUSHA: 27892: Completion/Redhat/Command/.distfiles, - Completion/Redhat/Command/_service + Completion/Base/Utility/.distfiles, Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_init_d, - Completion/Unix/Command/_service (moved from Redhat), - Completion/Unix/Type/_services: updates for FreeBSD. - -2010-04-15 Peter Stephenson <pws@csr.com> - - * unposted: NEWS: update to include path-completion. - -2010-04-15 Frank Terbeck <ft@bewatermyfriend.org> - - * 27798: Alexey I. Froloff: Completion/Unix/Command/_git: support - for the `--interactive' option of "git commit". - -2010-04-14 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/compsys.yo: add kindex entry for - path-completion. - - * unposted: Doc/Zsh/compsys.yo: slightly rephrase previous doc. - - * users/15011: Completion/Unix/Type/_path_files, - Doc/Zsh/compsys.yo: add path-completion style to allow - completion of preceding directories in files to be be turned - off. - -2010-04-13 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Calendar/calendar, Functions/Calendar/calendar_add, - Functions/Calendar/calendar-edit, Functions/Calendar/calendar_show, - Functions/Calendar/calendar_sort: Fall back to link file locking if - system file locking fails; don't need dcop for kdialog. - -2010-04-12 Clint Adams <clint@zsh.org> - - * 27876: Completion/Debian/Command/_axi-cache: completion for - axi-cache (from apt-xapian-index). - -2010-04-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Simon Ruderich: 27856 (tweaked): Doc/Zsh/metafaq.yo: Git - availability. - -2010-04-09 Peter Stephenson <pws@csr.com> - - * 27865: Src/subst.c, Test/D04parameter.ztst: text in parameter - substitution that came from the command line rather than the - parameter was a candidate for GLOB_SUBST even if it was quoted - if the overall expression was not quoted. - - * Ben: 27589: Completion/Zsh/Context/_redirect: attempt - to use arguments better. - -2010-03-30 Clint Adams <clint@zsh.org> - - * 27847: Completion/Unix/Command/_uzbl: completion for uzbl. - -2010-03-29 Peter Stephenson <pws@csr.com> - - * 27843: Simon Ruderich: Doc/Zsh/options.yo: claimed format for - extended history was incorrect. - -2010-03-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27831: Doc/Zsh/expn.yo, Src/input.c, Src/subst.c, Src/utils.c: - add ${(mm)...} to count displayed characters and rationalise use - of wcwidth so that negative numbers are treated as zero. - -2010-03-25 Peter Stephenson <pws@csr.com> - - * unposted: Test/A02alias.ztst: change sort to cat to - make test foolerproof. - - * 27827: Src/input.c, Test/A02alias.ztst: infinite loop - if alias with recursive definition occurred at end - of parsed string (normal shell input was OK). - -2010-03-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27823: Src/hist.c: 27822 could access freed memory because - hptr wasn't consistently set to NULL when chline was. - - * 27812: Doc/Zsh/zle.yo, Src/Zle/zle.h, Src/Zle/zle_refresh.c, - Src/Zle/zle_utils.c: when wchar_t contains Unicode code points, - use private area to put bytes that don't form characters for - special display. - -2010-03-22 Peter Stephenson <pws@csr.com> - - * 27822: Src/hist.c, Src/lex.c, Src/zle_params.c, - Src/zle_tricky.c: Fix ZLE access to current history line if pushed - onto lexical stack. - -2010-03-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Etc/FAQ.yo: update section on coloured prompts and - some other minor bits. - -2010-03-19 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Calendar/calendar: update previous - change also to perform calendar_show in current shell since - it interacts better with zle for use with sched. - - * 27808: Completion/Unix/Type/_files: Use // parameter - substitution instead of :gs. This form is consistent with the - rest of the file and has handled quoting correctly for longer. - -2010-03-18 Peter Stephenson <pws@csr.com> - - * unposted: Test/A01grammar.ztst: missed -f option off zsh - invocation in 27793++. - - * 27804: Src/Zle/zle_hist.c: don't hang on encountering invalid - character in incremental search. - -2010-03-17 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Calendar/calendar: fix embarrassing bug in - calendar scheduling introduced by new file locking, 27756. - -2010-03-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/calsys.yo: age now uses zstat. - - * unposted: NEWS: PATH_SCRIPT - -2010-03-16 Peter Stephenson <pws@csr.com> - - * 27793 plus 27794, 27795: Doc/Zsh/invoke.yo, Doc/Zsh/options.yo, - Src/init.c, Src/options.c, Src/zsh.h, Test/A01grammar.ztst: - add PATH_SCRIPT option to find script using path. - -2010-03-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 27797: Completion/Base/Completer/_expand_alias: - delimit arguments to avoid problems with hyphens. - - * Alexey: 27789: Completion/Unix/Command/_sudo: use _arguments. - -2010-03-15 Peter Stephenson <pws@csr.com> - - * 27780: Completion/Unix/Type/_files, Test/D04parameter.ztst: - users/14905 changed the number of backslashes needed to - quote backslashes in :s modifier. - -2010-03-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/expn.yo: note that & needs quoting in :s in - glob qualifier. - - * 27785: Src/init.c, Src/utils.c, Src/zsh.h: default IFS in sh - and ksh mode doesn't have '\0'. - -2010-03-11 Frank Terbeck <ft@bewatermyfriend.org> - - * Simon Ruderich: 27779: Functions/VCS_Info/vcs_info_printsys, - Doc/Zsh/contrib.yo: Fix mistakes in vcs_info's documentation. - -2010-03-09 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/calsys.yo, Functions/Calendar/calendar, - Functions/Calendar/calendar_editfiles: Fix bug that - calendar wouldn't update repeating event times for events - that were already in the past; allow calendar_editfiles to - take argument to specify editor. - -2010-03-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Michael Hwang: 27773: Src/linklist.c: document how linked - lists are joined together. - -2010-03-04 Frank Terbeck <ft@bewatermyfriend.org> - - * 27770: Completion/Unix/Command/_git: support for user specific - sub commands. - -2010-03-04 Peter Stephenson <pws@csr.com> - - * Frank: 27768: Functions/VCS_Info/VCS_INFO_realpath: shut up cd - some more. - -2010-02-28 Clint Adams <clint@zsh.org> - - * 27762: Completion/Unix/Type/_hosts: omit ssh known_hosts - entries with port numbers from host completion. - -2010-02-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/14905 (modified, see users/14096): Doc/Zsh/expn.yo, - Src/subst.c, Test/D04parameter.ztst: fix various problems - with :s modifier in parameters. - -2010-02-26 Peter Stephenson <pws@csr.com> - - * users/14902: Src/Modules/datetime.c: another go. - - * users/14900: Src/Modules/datetime.c: ULONG_MAX may be valid - return value from strtoul(). - - * users/14897: Src/Modules/datetime.c: test needed on - conversion of time_t to struct tm. Found on 64-bit Linux. - - * 27756: Doc/Zsh/calsys.yo, Functions/Calendar/calendar, - Functions/Calendar/calendar_add, Functions/Calendar/calendar_edit, - Functions/Calendar/calendar_sort, Src/Modules/system.c: - use new file locking in calendar where available and add - errflag test to loop over fcntl(). - - * users/14891: Doc/Zsh/cond.yo: say explicitly that condition - arguments don't undergo file generation. - -2010-02-25 Peter Stephenson <pws@csr.com> - - * 27755: Doc/Zsh/mod_system.yo, Src/Modules/system.c: - add "zsystem supports" to test what zsystem supports. - -2010-02-24 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27754: NEWS (unposted), Doc/Zsh/mod_system.yo, Src/exec.c, - Src/utils.c, Src/zsh.h, Src/Modules/system.c: add - "zsystem flock" subcommand to zsh/system module. - -2010-02-22 Peter Stephenson <pws@csr.com> - - * unposted: Src/utils.c: Add a debug test for trapping bad uses of - fdtable when closing fd's in zclose(). - - * 27721: Src/compat.c [with unnecessary test removed], Src/exec.c, - Src/system.h, Src/utils.c: update zopenmax() not to examine huge - numbers of file descriptors; only call it at initialisation; - rationalise use of fdtable_size and expansion of fdtable. - -2010-02-22 Clint Adams <clint@zsh.org> - - * 27744: Completion/Debian/Command/_pbuilder: completion for - pbuilder. - -2010-02-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Frank: 27731: Functions/VCS_Info/vcs_info: turn off - WARN_CREATE_GLOBAL. - -2010-02-21 Clint Adams <clint@zsh.org> - - * Michael Prokop: 27725: Completion/Debian/Command/_apt: apt - --no-install-recommends. - -2010-02-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Jonathan Beckman: 27728: Completion/X/Command/_mplayer: quote - colon after -ss. - -2010-02-19 Peter Stephenson <pws@csr.com> - - * 27722: Src/cond.c, Test/C02cond.zts, Test/V01zmodload.ztst: Error - reporting for failed conditions was badly handled; one - piece of code didn't test for a '-' prefix. - - * 27723: Src/builtin.c, Test/D02glob.ztst: eval shouldn't - modify non-zero return statuses. - -2010-02-17 Peter Stephenson <pws@csr.com> - - * Frank: 27717: Functions/VCS_Info/vcs_info_lastmsg: - add option terminators for builtins. - -2010-12-17 Andrey Borzenkov <bor@zsh.org> - - * unposted: Doc/Zsh/compsys.yo: typo fix - -2010-12-16 Andrey Borzenkov <bor@zsh.org> - - * 27715: Completion/Unix/Command/_stgit: fixes for new - version (workaround removed commands); autogenerate list - of stg subcommands. - -2010-02-16 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/.distfiles: new files - - * Frank Terbeck, Seth House: 27712, 22713, 27714: Doc/Zsh/contrib.yo, - Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, - Functions/VCS_Info/Backends/VCS_INFO_get_data_git, - Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, - Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, - Functions/VCS_Info/Backends/VCS_INFO_get_data_svk, - Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, - Functions/VCS_Info/VCS_INFO_formats, - Functions/VCS_Info/VCS_INFO_hook, Functions/VCS_Info/vcs_info: - hooks and Mercurial improvements. - -2010-02-15 Peter Stephenson <pws@csr.com> - - * 27710: Etc/FAQ.yo: update sections on advanced character sets. - - * unposted: Etc/FAQ.yo: correct outrageously old dates in FAQ. - -2010-02-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27708: Src/text.c: remove distracting initial semicolons - in job output. - - * unposted: zero gf_pre_words from 27694. - - * Mikael: Completion/Zsh/Type/_globquals: extend argument - handling. - - * Frank: 27705: Completion/Unix/Command/_git: notes - -2010-02-12 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Zsh/Type/_globquals: add P to list. - -2010-02-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/expn.yo: typo in formatting. - -2010-02-09 Peter Stephenson <pws@csr.com> - - * 27694: NEWS, Completion/Zsh/Type/_globquals, Doc/Zsh/expn.yo, - Src/glob.c, Test/D02glob.ztst: add "P" glob qualifier for - prepending words. - - * Frank: 27696: Completion/Unix/Command/_tmux: another update - - * Geoff: 27693: Src/exec.c, Src/init.c, Src/params.c, Src/init.c, - Src/utils.c: rename underscore to avoid name clash. - -2010-02-08 Peter Stephenson <pws@csr.com> - - * unposted: Src/subst.c: comment about what colon in parameter - substitution might be doing. - - * unposted: Completion/compinit, - Functions/Calendar/calendar_scandate: add some "typeset -g"s - to avoid WARN_CREATE_GLOBAL warnings. - - * 27665: Frank: Completion/Unix/Command/_tmux: update. - - * 27658: Completion/Unix/Command/_zip: work around globbing - problems. - -2010-02-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Frank: 27679: - Functions/VCS_Info/Backends/VCS_INFO_get_data_git: - better logic. - - * Michael Hwang: 27675: Src/builtin.c: fix crash from error in - hash builtin. - -2010-02-04 Peter Stephenson <pws@csr.com> - - * 27661: Ben: Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, - Doc/Zsh/tcpsys.yo: typos in manual references. - -2010-02-03 Peter Stephenson <pws@csr.com> - - * 27648, 267650/1, unposted README change: README, - Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo, - Etc/zsh-development-guide, Src/builtin.c, Src/init.c, - Src/mkbltnmlst.sh, Src/Builtins/rlimits.mdd: "repeat" - is not available when starting in emulation mode, - "ulimit" is; document that "sched", "limit", "unlimit" - already aren't. - -2010-02-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 27647: Completion/Unix/Command/_cp: update - -2010-02-02 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/contrib.yo: minor doc upgrade for - regexp-replace. - - * based on Andrei, 27644: Config/installfns.zsh: check for - #! line without a fork. - -2010-02-01 Peter Stephenson <pws@csr.com> - - * unposted: Etc/FAQ.yo: update with notes on - zsh-nt.sourceforge.net and application terminal mode horror. - -2010-01-31 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 27642: Completion/Zsh/Type/_globquals: add some - missing entries. - -2010-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/14752: Functions/Misc/zed, Src/builtin.c: add #! - line to zed; allow script run with -i to exit on "return". - - * Julien Jehannet: users/14751: Functions/Misc/zed: variable - incorrect when autoloading function. - -2010-01-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27638, based on Frank Terbeck, 27633: Doc/Zsh/options.yo, - init.c, options.c, zsh.h: add SOURCE_TRACE option with output - similar to XTRACE for tracing sourced files. - -2010-01-23 Clint Adams <clint@zsh.org> - - * 27617: Completion/Unix/Command/_graphicsmagick: graphicsmagick - completion based on _imagemagick. - -2010-01-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/14732: Src/Zle/computil.c: we need to test X:/ rather - than X: for recent versions of Cygwin. - -2010-01-21 Peter Stephenson <pws@csr.com> - - * users/14723: Src/pattern.c: invalid character conversions - should never match valid character conversions. - -2010-01-20 Peter Stephenson <pws@csr.com> - - * 27611: Src/math.c, Test/C01arith.ztst: cache parameter values so - that subscripts aren't multiply evaluated when they shouldn't be. - - * 27608: Src/Modules/pcre.c, Src/Modules/regex.c, - Test/C02cond.ztst: test was broken and sizes of variables - for arrays were wrong. - -2010-01-19 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/contrib.yo, Functions/Misc/regexp-replace: - return status 1 if no replacement. - - * unposted: Doc/Zsh/cond.yo: avoid Yodl error. - - * Frank: 27606: Completion/Unix/Command/_tmux: tmux -d. - -2010-01-18 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/contrib.yo: minor clarification in 27604. - - * 27604: Doc/Zsh/contrib.yo, Functions/Misc/.distfiles, - Functions/Misc/regexp-replace, - Functions/Misc/replace-string-again: add facilities for - substitution using regular expressions. - -2010-01-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27600: Doc/Zsh/cond.yo, Src/Modules/pcre.c, Src/Modules/regex.c, - Test/C02cond.ztst: extend =~ syntax to set MBEGIN and MEND - with MATCH and mbegin and mend with match. - -2010-01-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Frank: 27599: Doc/Zsh/contrib.yo: fix formatting documentation - for VCS_Info. - -2010-01-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 27597: Completion/Zsh/Command/_zstyle: accepting - completion unnecessarily hard. - -2010-01-13 Peter Stephenson <pws@csr.com> - - * Joakim Rosqvist: 27591 as modified in 27594: - FEATURES, Doc/Zsh/options.yo, Doc/Zsh/params.yo, Src/input.c, - Src/options.c, Src/params.c: extend SUN_KEYBOARD_HACK option - to KEYBOARD_HACK variable. - -2010-01-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27553: Jesse Weinstein: Doc/Zsh/compsys.yo: improve phrasing. - -2010-01-10 Clint Adams <clint@zsh.org> - - * Frank Terbeck: 27586: Completion/Unix/Command/_tmux: - more tmux completion support. - -2010-01-08 Peter Stephenson <pws@csr.com> - - * 27577: sergio: Functions/Misc/zcalc: vared -p obeys - the PROMPTPERCENT option so it's not necessary to have an - explicit (%) in the variable expansion. - -2010-01-07 Clint Adams <clint@zsh.org> - - * 27579: Completion/Unix/Command/_ssh: allow ssh -S argument to - follow immediately the option letter. - - * 27578: Completion/Linux/Command/_ionice: allow ionice -c and -n - arguments to immediately follow the option letters. - -2010-01-05 Peter Stephenson <pws@csr.com> - - * 27566: Src/Builtins/rlimits.c: add ulimit -c hard and immediate - return on argument error - - * 27565: Src/Builtins/rlimits.c: ulimit didn't sanity check - numeric arguments. - -2010-01-04 Clint Adams <clint@zsh.org> - - * 27559: Completion/Unix/Command/_espeak: espeak language - codes and voice names. - - * Jesse Weinstein: 27558: Completion/Unix/Command/_espeak: - completion for espeak. - -2010-01-04 Peter Stephenson <pws@csr.com> - - * 27556: Src/lex.c: lexsave() should sanitize more variables else - inner loops can get confused by outer state. Symptom was - source within precmd. - -2009-12-28 Clint Adams <clint@zsh.org> - - * Chris Lamb: 27545: Completion/Unix/Command/_django: - runserver_plus and files completion for django. - -2009-12-18 Wayne Davison <wayned@users.sourceforge.net> - - * users/14659: Src/hist.c: Add symlink-based hist-file locking. - -2009-12-17 Peter Stephenson <pws@csr.com> - - * Greg: 27529: Completion/Unix/Command/_subversion: make URL - schemas (schemata?) configurable. - -2009-12-16 Wayne Davison <wayned@users.sourceforge.net> - - * 26735+unposted: Src/utils.c, Src/Modules/zftp.c, Src/Modules/zpty.c, - Src/Zle/zle_main.c, Src/exec.c, Src/init.c, Src/input.c, Src/jobs.c, - Src/parse.c: Check the return value of all pipe(), read(), and - write() calls. Gets rid of all "ignoring return value" compiler - warnings, and makes some read/write operations safer by ensuring - that an EINTR is handled. + Completion/Unix/Type/.distfiles, for 5.0.0-test-1. -2009-12-16 Peter Stephenson <pws@csr.com> + * unposted: Src/utils.c: missing mod_export. - * unposted: Functions/Misc/run-help-p4, Functions/Misc/.distfiles: - new helper. +2012-12-13 Peter Stephenson <pws@csr.com> - * 27492 based on Jörg Sommer: 27473: Functions/Misc/run-help: - fix alias problem. + * 30876: Src/exec.c, Test/A06assign.ztst, Test/C03traps.ztst: + obscure failures to process non-zero return values could result + from optimising a list to a simple command. -2009-12-14 Peter Stephenson <p.w.stephenson@ntlworld.com> +2012-12-08 Bart Schaefer <schaefer@zsh.org> - * 27518: Completion/Unix/Command/_configure: suggest some - more patterns for arguments. + * users/17445: Src/math.c, Test/C01arith.ztst: fix handling of + leading zeroes in floating point. -2009-12-14 Andrey Borzenkov <bor@zsh.org> +2012-11-20 Oliver Kiddle <opk@zsh.org> - * unposted: Completion/Unix/Command/_grep: - add --exclude-dir option + * 30811: Completion/Linux/Command/_btrfs, + Completion/Unix/Command/_mount: new completion for btrfs and + complete btrfs and ext4 mount options and new linux mount flags -2009-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com> +2012-11-16 Vin Shelton <acs@xemacs.org> - * Alexey I. Froloff: 27470: Completion/Unix/Command/_git: - update. + * users/16865: Doc/Zsh/grammar.yo: Added missing menu item for Errors. -2009-12-13 Wayne Davison <wayned@users.sourceforge.net> +2012-11-18 Bart Schaefer <schaefer@zsh.org> - * unposted: Completion/Unix/Command/_rsync: Fixed the - --human-readable options and arg-acceptance of -f. + * users/17042: Src/jobs.c: don't stomp the environment in "jobs -Z" + unless we've first copied it to new memory. -2009-12-12 Clint Adams <clint@zsh.org> +2012-11-16 Oliver Kiddle <opk@zsh.org> - * Michael Prokop: 27504: Completion/Debian/Command/_dput: - fix typo with dput --delayed. + * 30802: Completion/Unix/Command/_find: add new command switches -2009-12-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + * 30801: Completion/X/Command/_urxvt, Completion/X/Type/_xft_fonts: + fix font completion for newer fontconfig & update urxvt completion - * 27503: Src/utils.c: fix crash when changing a hook - function inside a hook function of the same type. +2012-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com> -2009-12-10 Clint Adams <clint@zsh.org> + * 30789: Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/hist.c, + Src/init.c, Src/options.c, Src/zsh.h, Test/A04redirect.zsh: add + CONTINUE_ON_ERROR option for compatibility but turn it off: + scripts exit on an error instead of returning to the top-level + like interactive shells. - * 27494: Completion/Debian/Command/_bug: reportbug --paranoid, - --no-paranoid, --body, and --body-file. - -2009-12-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27479: Src/Zle/zle_tricky.c: prevent completions - split across backlash-newline continuations from - causing mayhem. - -2009-12-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27466: Doc/Zsh/zle.yo: document 27453. - - * Mikael: 27453: Src/Zle/zle_refresh.c: highlighting - of removable completions suffixes. - - * Frank: 27450: b/Completion/Unix/Command/_tmux: another - update. - -2009-12-05 Clint Adams <clint@zsh.org> - - * Frank Terbeck: 27458: Completion/Unix/Command/_tmux: - set-option -w completion. - - * Ingmar Vanhassel: 27457: Completion/Zsh/Command/_precommand: - add hilite as a precommand. - - * Ingmar Vanhassel: 27456: Completion/Unix/Type/_tar_archive: - complete .tar.lzma, .tbz, .txz. - -2009-12-03 Clint Adams <clint@zsh.org> - - * 27448: Completion/Unix/Command/_tar, - Completion/Unix/Type/_tar_archive: mild understanding of - xz-compressed tarballs. - -2009-12-02 Peter Stephenson <pws@csr.com> - - * 27447: Doc/Zsh/options.yo: document 27442. - - * Frank: 27446: Completion/Unix/Command/_tmux: update. - - * 27442 plus tweak: Src/exec.c, Src/init.c, Src/jobs.c, - Src/signals.c: return status for last background job from - wait even if it's already exited, but only if POSIX_JOBS - is set. - -2009-12-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Alexey: 27445: Completion/Unix/Command/_ruby: argument can be - any file. - -2009-11-30 Peter Stephenson <pws@csr.com> - - * 27442: Src/exec.c, Src/init.c, Src/job.s,c Src/signals.c: - add lastpid_status to record status of last background job - even after it's exited. - - * 27441: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: add "sa" - highlight code for suffix aliases. - - * Richard Hartmann: 27440: Src/Modules/cap.c, Src/Modules/zftp.c: - typos in warnings. - -2009-11-24 Peter Stephenson <pws@csr.com> - - * Baptiste Daroussin: 27431: Completion/Unix/Command/_make: Fix - for FreeBSD. - - * 27430: Completion/Unix/Command/_make: extend variable value - completion to anything that looks like an assignment. - - * 27429: Completion/Unix/Command/_make: restore variable value - completion. Also make indentation more standard (not posted). - - * Michael Hwang <michael.a.hwang@gmail.com>: 27428: - Completion/Unix/Command/_make: complete rewrite with - variable completion. - -2009-11-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Alexey. I Froloff: users/14588: - Completion/Zsh/Command/.distfiles, - Completion/Zsh/Command/_ztodo, - Functions/Misc/.distfiles, Functions/Misc/ztodo: new ztodo - function. - -2009-11-20 Clint Adams <clint@zsh.org> - - * 27417: Completion/Unix/Command/_gpg: fix completion after - gpg --verify-files. - - * unposted: Functions/Prompts/prompt_clint_setup: change bracket - colors default to yellow when in an ssh session. - -2009-11-19 Peter Stephenson <pws@csr.com> - - * Greg: 27416: Completion/Unix/Command/_subversion: repository - path enhancement. - -2009-11-17 Barton E. Schaefer <schaefer@zsh.org> - - * 27415: Src/Zle/computil.c: comparguments "*::..." descriptions - could step on sequentially earlier descriptions when completing - for a word other than the last word on the command line. - -2009-11-17 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: improve - whole-path completion so that it doesn't take ages looking - for clients after typing two slashes. - -2009-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Greg Klanderman: 27409: Completion/Unix/Command/_subversion, - Completion/Unix/Type/_urls: improve subversion remote paths - and fix minor URL issues. - - * Frank Terbeck: 27407: Completion/Unix/Command/_tmux: - switch-client subcommand. - - * Benjamin R. Haskell: users/14565, 27399: - Completion/Unix/Command/_env: argument problem. - -2009-11-11 Barton E. Schaefer <schaefer@zsh.org> - - * Greg Klanderman: 27391: Completion/Unix/Command/_rm: - fix ignored (duplicate) file names - - * users/14548: Src/Modules/termcap.c: prevent libtermcap from - exiting on an unknown terminal type - - * Alexey Froloff: 27367: Completion/Unix/Command/_ri: update - for Ruby 1.9 and later - - * Frank Terbeck: 27364: Completion/Unix/Command/_tmux: fix - cut'n'paste error in descriptions - -2009-11-10 Barton E. Schaefer <schaefer@zsh.org> - - * 27368, 27369: FEATURES: replace one incorrect example with two - correct ones - -2009-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 27362: Src/Modules/attr.c: some more fixes. - -2009-11-07 Clint Adams <clint@zsh.org> - - * Frank Terbeck: 27359: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_tmux: completion for tmux 1.1. - -2009-11-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27358: Src/builtin.c: error if $0 was altered within - a sourced file. - - * 27357: Src/Modules/attr.c: fix compiler warnings - -2009-11-06 Peter Stephenson <pws@csr.com> - - * Frank Terbeck: 27353: Functions/VCS_Info/VCS_INFO_bydir_detect, - Functions/VCS_Info/vcs_info: More sanity checks for vcs_info - -2009-11-05 Peter Stephenson <pws@csr.com> - - * Jun T.: 27351: zdelattr missed first argument. - -2009-11-04 Peter Stephenson <pws@csr.com> - - * Mikael: 27347: Completion/Zsh/Command/_zattr, - Doc/Zsh/mod_attr.yo, Src/Modules/attr.c: enhance the - extended attribute support. - -2009-11-03 Peter Stephenson <pws@csr.com> - - * Mikael: 27337: Src/utils.c: fix bug with cd checking symlinks - that could do arbitrarily nasty things when looking for a "/". - -2009-10-29 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Calendar/calendar: brief display - failed on single-line entries. - -2009-10-24 Clint Adams <clint@zsh.org> - - * 27314, 27315: Completion/Unix/Command/_mpc: update for - mpc 0.17. - - * unposted: update config.guess and config.sub to - 2009-06-10 and 2009-06-11 versions respectively. - -2009-10-22 Peter Stephenson <pws@csr.com> - - * Functions/Zle/history-beginning-search-menu: unposted: - make more variables local. - - * unposted, c.f. 27313: INSTALL, NEWS, README, Doc/Zsh/contrib.yo, - Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Etc/CONTRIBUTORS, - Etc/FAQ.yo, Etc/changelog2html.pl, - Functions/Zle/history-beginning-search-menu, - Functions/Zle/insert-composed-char: mailing lists moved - to zsh.org and website to zsh.sourceforge.net. - -2009-10-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 27312: Completion/Unix/Command/_valgrind: option - changes. - - * Jesse Weinstein: 27311: Completion/Unix/Type/_diff_options: - remove redundant line. - - * Holger Weiss: 27310: Doc/Zsh/compsys.yo: typo. - - * Frank Terbeck: 27309: Doc/Zsh/contrib.yo: improve context - in VCS_Info docs. - -2009-10-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27308, based on 27305 from Edgar Merino: - Completion/Unix/Command/_init_d, Completion/Unix/Type/_services: - search for init scripts in other locations. - - * Lionel Flandrin: 27307: - Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, - Doc/Zsh/contrib.yo: enhanced VCS_INFO support for Mecurial. - -2009-09-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * http://www.opensource.apple.com/source/zsh/zsh-53/patches/utils.c.patch: - Src/utils.c: fix length of search when spell checking. - - * http://www.opensource.apple.com/source/zsh/zsh-53/patches/PR-6370391.patch: - Src/jobs.c: fix error message. - -2009-09-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Jun T.: 27296: configure.ac: bad preprocessing of Mac OS - Snow Leopard headers. - -2009-09-29 Peter Stephenson <pws@csr.com> - - * Jun T.: 27292: Src/Modules/socket.c: abuse of UNIX_PATH_MAX on - Snow Leopard: use the correct maximum. - -2009-09-22 Wayne Davison <wayned@users.sourceforge.net> - - * 27286: Src/Modules/socket.c Src/Modules/tcp.c Src/utils.c: - Made movefd() return the targetfd on success. Added a little - more error checking in the callers of movefd(). - -2009-09-22 Peter Stephenson <pws@csr.com> - - * 27284: Src/exec.c, Src/parse.c, Src/utils.c, - Src/Modules/socket.c, Src/Modules/tcp.c, Src/Modules/zpty.c: - improve use of movefd() and restore closing of original fd - on failure pending further work. - -2009-09-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27283: Src/exec.c, Src/utils.c: failure to dup fd accessed - uninitialised memory and closed the original fd regardless. - -2009-09-21 Peter Stephenson <pws@csr.com> - - * users/14411: Src/hashtable.c: only hash stat-able executable - regular files in the command table. - -2009-09-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Darel Henman: users/14412: Doc/Zsh/builtins.yo: fix confusions - in explanation of getopts option arguments. - - * Holger Weiss: 27281: Doc/Zsh/expn.yo: example of global - history substitution was wrong. - -2009-09-18 Peter Stephenson <pws@csr.com> - - * Mikael: 27279: Doc/Zsh/builtins.yo, Doc/Zsh/mod_zselect.yo: - minor tweaks. - -2009-09-16 Peter Stephenson <pws@csr.com> - - * Baptiste Daroussin: 27277: Completion/BSD/Command/_csup: Improve - csup completion. - -2009-09-15 Peter Stephenson <pws@csr.com> - - * users/14387 (tweaked): Doc/Zsh/grammar.yo: alternative syntax is - not about to disappear, but does make shell scripts less portable - and possibly readable. - -2009-09-14 Peter Stephenson <pws@csr.com> - - * Greg Klanderman: 27262: Completion/Unix/Type/_path_files: - prefixes were incorrect with accept-exact-dirs style. - -2009-09-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Baptiste Daroussin: 27271: Functions/Zftp/zfanon: remove awk - dependence. - - * Baptiste Daroussin: 27270: Functions/Zftp/zfcd_match: remove - awk dependence. - -2009-09-11 Peter Stephenson <pws@csr.com> - - * Baptiste Daroussin: 27268: Functions/MIME/pick-web-browser: - remove Perl dependency. - - * Baptiste Daroussin: 27267 plus 27269 plus doc: - Functions/Zftp/zfrtime, Doc/Zsh/zftpsys.yo: remove perl - dependency. - -2009-09-10 Peter Stephenson <pws@csr.com> - - * Greg Klanderman: 27259 / 27260: - Completion/Unix/Type/_path_files: make unset parameters in - file prefix not be treated as empty. - -2009-09-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Greg Klanderman: 27255: Doc/Zsh/builtins.yo, - Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo: - some consistency fixes. - -2009-09-07 Peter Stephenson <pws@csr.com> - - * 27236 (somewhat late): configure.ac: use $CPPFLAGS - after all occurrences of $CPP and see what happens. - -2009-09-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Holger Weiss <holger@CIS.FU-Berlin.DE>: 27248: - Src/Zle/zle_hist.c: anchoring of vi search was wrong because - of reversed prefix matching. - - * 27247: Functions/Misc/zmv: checking for "**/" was wrong. - -2009-09-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Daniel Friesel <derf@tabularazor.org>: 27244: - Completion/Unix/Command/_feh, Completion/Unix/Command/.distfils: - new completion. - - * 27243: Src/params.c, Test/D04parameter.ztst: reverse - indexing in array parameters with a beginning index out of range - returned the wrong value. - -2009-09-02 Peter Stephenson <pws@csr.com> - - * 27240: Src/builtin.c: 27079 caused later use of tokstr and tok - to be invalid. - -2009-08-28 Peter Stephenson <pws@csr.com> - - * 27233: Completion/Base/Utility/_values, - Completion/Unix/Command/_mount: improve _values handling of - optional arguments so that list separate removes the argument - separator; use this to make "mount -o loop" complete better. - -2009-08-21 Peter Stephenson <pws@csr.com> - - * 27228: Functions/Newuser/zsh-newuser-install: add a clear - function if the command doesn't exist. - -2009-08-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27219: Completion/Unix/Type/_files: "_files -F <array>" wasnʼt - correctly handled, which broke duplicate filtering in _rm. - - * 27218: Src/Zle/computil.c: don't unquote command line - to generate "line" in _arguments since the caller can't - tell what was there before. - -2009-08-17 Peter Stephenson <pws@csr.com> - - * 27217: Functions/Newuser/zsh-newuser-install: fix typo - in assignment. - -2009-08-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27216: Src/hist.c: set chwords to NULL when freed. - -2009-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/14307: Src/Zle/zle_tricky.c: end of current command in - completion wasn't properly found when using variant zsh loop - or test syntax. - -2009-08-07 Peter Stephenson <pws@csr.com> - - * Andrew Psaltis: 27212: Completion/Linux/Command/_pkgtool: - Slackware supports extra tar formats. - -2009-08-05 Peter Stephenson <pws@csr.com> - - * 27211: Src/Zle/computil.c: Extend exact completion within - compfiles -p/-P to treat drives and device files specially under - Cygwin. - -2009-08-05 Clint Adams <clint@zsh.org> - - * 27209: Completion/Unix/Type_path_files: fix breakage from - 27208. - - * Mikael Magnusson: 27204: Completion/Unix/Command/_patch: - remove stray curly brace. - - * 27208: Completion/Unix/Type_path_files: try to do the - right thing when applying file-sort to extant glob qualifiers. - -2009-08-01 Clint Adams <clint@zsh.org> - - * 27203: Completion/Debian/Command/_aptitude: treat - aptitude build-depends just as aptitude build-dep. - - * 27202: Src/system.h: unbreak _GNU_SOURCE on Debian - GNU/kFreeBSD. - -2009-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/14267: Completion/Base/Core/_description: files added - for the ignore-line style need to be quoted to be treated - literally. - -2009-07-24 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27188: Doc/Zsh/builtins.yo, Src/builtin.c, Test/B04read.ztst, - Test/D07multibyte.ztst: Make read -q use the same code as read - -k, hence enabling support for -t with terminals, -p and -u. - -2009-07-21 Peter Stephenson <pws@csr.com> - - * 27181: Doc/Zsh/options.yo, Src/builtin.c: extend POSIX_CD to - handle target directory printing behaviour. - -2009-07-20 Peter Stephenson <pws@csr.com> - - * 27178, 27180: Etc/FAQ.yo: as pointed out by Mikael, quoting - function names to stop alias expansion is always(ish) safe. - -2009-07-19 Barton E. Schaefer <schaefer@zsh.org> - - * 27169: Src/jobs.c, Src/signals.c: 23067 went too far in opening - up the signal mask when waiting for jobs; an interrupt from the - terminal should not terminate the shell until the foreground job - has a chance to exit or to choose not to do so. - -2009-07-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27167: Src/builtin.c, Src/options.c, Src/zsh.h, - Doc/Zsh/builtins.yo, Doc/Zsh/options.yo: POSIX_CD option, - currently only moves testing of "." to after testing of CDPATH. - -2009-07-18 Clint Adams <clint@zsh.org> - - * 27160: Completion/Debian/Command/_bug: tweaks to reportbug - completion, thanks to Vincent Lefevre. - - * 27128: Completion/Unix/Type/_tex: complete tex files for - latexmk. - -2009-07-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/14240: Src/parse.c: assignment before a function - definition should be an error, in common with other complex - functions and as documented. - -2009-07-14 Eric Blake <ebb9@byu.net> - - * Eric Blake: 27151: Src/builtin.c: Fix // handling in cd for - cygwin. - -2009-07-14 Peter Stephenson <pws@csr.com> - - * Andy Spencer: 27148: Completion/Linux/Command/_modutils: - ignore build as well as source directories when searching - recursively for modules. - -2009-07-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27135: Doc/Zsh/options.yo, Src/exec.c, Src/jobs.c: expand - POSIX_JOBS option to leave MONITOR on in subshell and not to - report the parent shell's jobs. - - * 27134: Src/exec.c, Src/init.c: improve 27131 by setting - FD_CLOEXEC for SHTTY or closing it by hand when executing. - -2009-07-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27131: Src/exec.c, Src/jobs.c: tentative attempt to - allow MONITOR option to be set in a subshell by not - closing SHTTY. - - * 27129: Src/exec.c, Src/init.c, Src/zsh.h, - Test/A01grammar.ztst, Test/C04funcdef.ztst, - Test/D08cmdsubst.ztst: fix 27126 so as not to break the - case where a status is tested at the start of a function, - command substitution, or "." file. - -2009-07-10 Clint Adams <clint@zsh.org> - - * 27127: Vincent Bernat: Completion/Debian/Command/_bts: handle - bts fixed and bts notfixed. - -2009-07-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27126: Src/exec.c, Src/init.c, Test/A01grammar.ztst, - Test/C04funcdef.ztst, Test/D08cmdsubst.ztst: a few more - contexts where empty lists should give status zero. - - * 27125: Src/prompt.c: handle nested use of colour code buffer - allocation. - -2009-07-10 Peter Stephenson <pws@csr.com> - - * 27122: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c, Src/zsh.h: - add POSIX_JOBS option to print only job text for bg and fg. - - * 27106: Src/exec.c, Src/signals.c, Src/zsh.h, - Test/A01grammar.ztst: on a command line that had text that - expanded to nothing reset the status (unless it should come - from a command substitution). - - * 27119: Src/jobs.c: correct 27112: output is to stdout, not - stderr, and there's no automated jobs notification if not - INTERACTIVE. - -2009-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27112: Src/jobs.c: allow output to stderr if MONITOR but - not INTERACTIVE. - -2009-07-09 Eric Blake <ebb9@byu.net> - - * 27109: Touch up non-interactive MONITOR handling. - Don't mess with tty when MONITOR but not interactive. - -2009-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27110: Src/init.c: Only turn on MONITOR if INTERACTIVE is on - or if set explicitly. - -2009-07-08 Peter Stephenson <pws@csr.com> - - * 27100: Allow MONITOR option in non-interactive shells. - Not properly test it, but you only get if you ask for it, - so worth committing to allow it to be further investigated. - -2009-07-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27092: Src/parse.c, Test/A01grammar.ztst: "if" didn't check - for missing clauses so a missing then-clause wasn't spotted - as an error. - -2009-07-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Brendan Cully: 27088: Completion/Unix/Command/_hg, - Completion/Unix/Command/.distfiles: new Mercurial completion. - -2009-07-02 Peter Stephenson <pws@csr.com> - - * 27087: Doc/Zsh/builtins.yo, Src/builtin.c, Src/zsh.h, - Test/A01grammar.ztst: change return codes from 27083 to - 126, 127. - - * Nicolas Pouillard: 27028: Completion/Unix/Command/_darcs: New - darcs completion; it's a lot shorter but apparently that's OK. - -2009-07-01 Peter Stephenson <pws@csr.com> - - * 27085: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: - in scrollist keymap allow accept-search to exit but do nothing - else. - - * 27083: Doc/Zsh/builtins.yo, Src/builtin.c, Src/init.c, - Src/zsh.h, Src/Modules/newuser.c, Test/A01grammar.ztst: "." - returns status 128 on execution failure, 129 on failure to find - file. - - * 27080: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: it - wasn't possible to exit menu selection cleanly. - -2009-07-01 Peter Stephenson <pws@csr.com> - - * 27079: Src/builtin.c: test builtin uses parser and so should - save and restore the lexical context to avoid pulling the - rug out when called in some nested fashion. - -2009-06-28 Andrey Borzenkov <bor@zsh.org> - - * unposted: Completion/Unix/Command/_man: - support lzma compression of man pages used in Mandriva - -2009-06-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27061: Nicolas Lalevée: Completion/Unix/Command/_ant: - importing files into ant. - -2009-06-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Greg Klanderman: 27057: Src/utils.c: %e and %f time formats - were swapped. - - * Frank Terbeck: users/14207: - Functions/VCS_Info/Backends/VCS_INFO_get_data_git: make - variable local. - -2009-06-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Frank Terbeck: 27049, 27050, 27051, 27052: - Functions/VCS_Info/VCS_INFO_bydir_detect, - Functions/VCS_Info/Backends/VCS_INFO_detect_hg, - Functions/VCS_Info/Backends/VCS_INFO_get_data_git, - Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: VCS_INFO - improvements. - -2009-06-18 Clint Adams <clint@zsh.org> - - * 27048: Functions/MIME/zsh-mime-setup: avoid multiline prints - which break CSH_JUNKIE_QUOTES. - -2009-06-05 Peter Stephenson <pws@csr.com> - - * 27305: Functions/Misc/run-help: use POSIXLY_CORRECT with man - to avoid GNU man grabbing options in the argument list. - - * 27304: Doc/Zsh/expn.yo, Src/subst.c, Src/utils.c, Src/zsh.h, - Test/D04parameter.ztst: add ${(q-)...} flag to do minimal - quoting of arguments with no unnecessary single quotes. - -2009-06-04 Peter Stephenson <pws@csr.com> - - * Baptiste Daroussin: 27033: Completion/BSD/Command/_portaudit, - Completion/Unix/Command/_mount: more FreeBSD changes. - - * Baptiste Daroussin: 27030: Completion/Unix/Type/_file_systems: - update for FreeBSD. - - * Baptiste Daroussin: 27029: Completion/BSD/Command/_pfctl: new - completion. - -2009-06-02 Clint Adams <clint@zsh.org> - - * Colin Watson: 27027: Completion/Unix/Command/_bzr: - completion for bzr switch. - -2009-06-02 Peter Stephenson <pws@csr.com> - - * Akinori MUSHA: private communication: - Completion/Unix/Command/_subversion: fix typo. - - * Config/version.mk: update version recorded in archive - to 4.3.10-dev-1 (not released). - -2009-06-01 Wayne Davison <wayned@users.sourceforge.net> - - * Util/mkdisttree.sh, Util/preconfig: Tweak find to prune a .git dir. - This allows a .git/cvs dir to exist with a cvs checkout in it. - -2009-06-01 Peter Stephenson <pws@csr.com> - - * Config/version.mk: release 4.3.10. - -2009-05-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Jesse W: 27024: configure.ac, Doc/Makefile.in: allow - overriding TEXI2HTML. - -2009-05-30 Clint Adams <clint@zsh.org> - - * 27025: Src/system.h: define _GNU_SOURCE on the Hurd. - -2009-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 27021: Src/pattern.c: length of variable saving globflags - was wrong causing restored value to be wrong in pattern matching - on big-endian 64-bit systems. - -2009-05-28 Peter Stephenson <pws@csr.com> - - * Jun T.: 27010: Completion/Unix/Command/_date: Darwin. - -2009-05-26 Peter Stephenson <pws@csr.com> - - * 26998: configure.ac, Config/defs.mk.in: use --htmldir passed - to configure: restore zsh default if unchanged from current - configure default of '${docdir}'. - -2009-05-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Ingmar Vanhassel: 26990: Doc/Makefile.in: tidy up all html - files created by updated naming scheme. - -2009-05-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Michael Hwang: 26986: Doc/Zsh/compsys.yo: formatting. - -2009-05-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26978: Julien Langer: Completion/Unix/Command/_stgit: complete - patch names. - -2009-05-22 Peter Stephenson <pws@csr.com> - - * 26982: Julien Langer: Doc/Zsh/contrib.yo, - Functions/VCS_Info/Backends/VCS_INFO_get_data_git: support stgit - - * 26970: Greg Klanderman: Completion/Unix/Command/_subversion: fix - caching. - -2009-05-22 Clint Adams <clint@zsh.org> - - * 26939: Completion/Unix/Command/_xmms2: clean up xmms2 jump - completion. - - * Patrick Schoenfeld: 26977: Completion/Unix/Command/_perl: - complete .t files for perl. - -2009-05-20 Peter Stephenson <pws@csr.com> - - * 26975: Src/builtin.c: compilation issues in bin_print(). - - * users/14143 plus extra fix in padding code: Doc/Zsh/params.yo, - Src/subst.c, Src/utils.c: use default IFS if IFS is unset. - -2009-05-19 Peter Stephenson <pws@csr.com> - - * 26973: Doc/Zsh/contrib.yo, Functions/Misc/zmathfuncdef: make - zmathfuncdef replace functions and list existing functions. - - * Config/version.mk: 4.3.9-dev-5 (4.3.9-dev-4 not recorded). - - * Greg Klanderman: 26972: Src/utils.c: fix problem ni 26964. - -2009-05-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Greg Klanderman: 26964 (modified): Src/utils.c, - Doc/zsh/options.yo, Doc/Zsh/params.yo: make prompt - end-of-line configurable with PROMPT_EOL_MARK. - - * Greg Klanderman: 26963: fix suffix handling for svn completion - -2009-05-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Paul Ackersviller: 26962: configure.ac, aczsh.m4, - Src/module.c, MACHINES, INSTALL: updated HP-UX dynamic linking. - -2009-05-13 Peter Stephenson <pws@csr.com> - - * users/14118: Functions/Prompts/prompt_special_chars: fix test - and assignment. - - * Paul Ackersviller: 26959: Test/Makefile.in: need a delay before - removing modules after testing on HP-UX. - -2009-05-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26958: Src/prompt.c: Reallocation of prompt line didn't - fix the pointer to the start of the current line. - -2009-05-12 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Prompts/prompt_bart_setup: fix a warning - with WARN_CREATE_GLOBAL. - - * Src/builtin.c: fix some memory usage issues. - -2009-05-11 Peter Stephenson <pws@csr.com> - - * 26956: Etc/zsh-development-guide, Src/Zle/zle_refresh: - clear up region highlight variables properly and note that the - variables should be zeroed even if the module is being unloaded - (problem on HP-UX). - -2009-05-09 Andrey Borzenkov <bor@zsh.org> - - * unposted: Completion/Unix/Command/_getfacl: - fix options definition; add file names completion for variant=unix - -2009-05-08 Peter Stephenson <pws@csr.com> - - * 26953: Test/D07multibyte.ztst: print warning but don't fail test - if system apparently can't do simple character set conversion. - - * 26950: Src/params.c: warn on failed attempt to change real or - effective group or user ID. - - * 26949: Completion/Unix/Command/_sudo: new options and sudoedit. - - * 26948: Src/Zle/zle_refresh.c: ensure recorded window sizes - are reset when video data is freed. - -2009-05-07 Peter Stephenson <pws@csr.com> - - * 26945: Src/builtin.c, Test/D07multibyte.ztst: read should - pass through invalid multibyte characters. - -2009-05-06 Clint Adams <clint@zsh.org> - - * 26937: Completion/Unix/Command/_git: have `git log` complete - files after branch/range. - -2009-05-05 Peter Stephenson <pws@csr.com> - - * martin f. krafft: 26922: Completion/Unix/Command/_xmms2: extend - xmms2 completion. - -2009-04-30 Barton E. Schaefer <schaefer@zsh.org> - - * users/14076 (tweaked per 26906): Completion/Unix/Command/_ssh: - Add -q or -r: options to some compadd argument lists to properly - handle suffix removal when completing ssh option names or remote - host references in file names. - -2009-04-30 Peter Stephenson <pws@csr.com> - - * c.f. 26895: Test/D07/multibyte.ztst: restrict the sorting test - to western European characters. - -2009-04-29 Peter Stephenson <pws@csr.com> - - * 26900: Benjamin R. Haskell: Completion/Unix/Command/_ssh: ssh -Y, - -x and -X are mutually exclusive. - - * 26899: Ingmar Vanhassel: Completion/Unix/Command/_ssh: -Y option - - * 26898: Ingmar Vanhassel: configure.ac: don't link - libbind unless really needed. - -2009-04-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Paul Ackersviller: 26883: Test/D07multibyte.ztst: naming of - UTF8 locales is different in HPUX. - -2009-04-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted, see 26880: Functions/Misc/run-help: back off 26862. - -2009-04-24 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: update to 4.3.9-dev-3. - - * uposted: update some .distfiles - - * 26876 (documentation slightly modified): NEWS, Doc/Zsh/compwid.yo, - Doc/Zsh/params.yo, Src/Zle/compresult.c, Src/Zle/zle.h, - Src/Zle/zle_misc.c: add ZLE_REMOVE_SUFFIX_CHARS and - ZLE_SPACE_SUFFIX_CHARS to make actions for suffix removals when - not controlled by completion system more configurable. - -2009-04-23 Clint Adams <clint@zsh.org> - - * 26877, 26879: Completion/Debian/Command/_apt: handle apt-get - purge. - -2009-04-22 Peter Stephenson <pws@csr.com> - - * see 26867: Functions/VCS_Info/Backends/VCS_INFO_get_data_svk: - remove odd "${". - -2009-04-21 Peter Stephenson <pws@csr.com> - - * Greg Klanderman: 26862: Functions/Misc/run-help: remove - unecessary "print". - - * Greg Klanderman (26861) + 26863: - Completion/Base/Widget/_read_comp: don't warn over unset - parameters but typeset -g _read_comp anyway. - - * 26858: Test/A01grammar.ztst: use zsh -fc instead of /bin/sh -c - for testing exec -l to avoid sensitivity to /etc/profile. - - * 26853 + typo fix: NEWS, README, Etc/CONTRIBUTORS, Etc/FAQ.yo, - Etc/relnote_4.3.10.txt: package documentation updates. - -2009-04-20 Peter Stephenson <pws@csr.com> - - * Src/Modules/terminfo.mdd: make test agree with the one - in terminfo.c. - -2009-04-20 Clint Adams <clint@zsh.org> - - * Kalle Olavi Niemitalo: 26850: Completion/Unix/Command/_git: - fix breakage in git write-tree and git send-pack. - -2009-04-18 Andrey Borzenkov <bor@zsh.org> - - * users/14033 as modified by users/14037 and added doc: - Completion/Base/Utility/_describe, Doc/Zsh/compsys.yo: allow - quoting of ":" with backslashes in possible matches in _describe - -2009-04-17 Peter Stephenson <pws@csr.com> - - * users/14041: Doc/Zsh/zle.yo, Src/Zle/zle_bindings.c: bind ":" - by default to execute-named-cmd in vicmd mode. - - * unposted: Config/version.mk: change version to 4.3.9.dev-2. - - * Jesse W: 26840: Doc/Zsh/manual.yo: texi2html instructions. - -2009-04-16 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_mdmadm -> _mdadm - - * 26389: Doc/.cvsignore, Doc/.distfiles, Doc/Makefile.in: add - --node-files option to texi2html. - - * Alexey I. Froloff: 26830: Completion/Unix/Command/_man: fix - stripping of manual page suffixes. - - * Evgenii Terechkov: 26831: Completion/Unix/Command/_screen: - filter out redundant output. - - * Alexey I. Froloff: 26829: Completion/Unix/Command/_rsync: - miscounting fields in output. - - * Tomasz Pala: users/14031: Completion/Linux/Command/_ipset: - updates. - - * Tomasz Pala: users/14032: Completion/Linux/Command/_mdmadm, - Completion/Linux/Command/_rpmbuild: new completions. - - * Tomasz Pala: users/14030: Completion/Linux/Command/_ethtool: - update. - -2009-04-07 Peter Stephenson <pws@csr.com> - - * Bart: 26822: Completion/Zsh/Context/_subscript: ">" should - be "-gt"---caused infinite loop looking for nonexistent subscript. - -2009-04-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Frank Terbeck <ft@bewatermyfriend.org>: Functions/VCS_Info/*: - 26816: vcs_info: add revision and "misc" argument to - VCS_INFO_formats(); 26817: updates for get-revision, %i and %m; - 26818: Add git's sha1 hash as revision information; 26819: Add - information about hg's local revision number and the commit's - hash; 26820: Make the hg backend work with new versions of - mercurial. - -2009-04-06 Peter Stephenson <pws@csr.com> - - * 26806 (doc tweaked): Add CORRECT_IGNORE variable for pattern to - be ignored by correction from internal hash tables. - -2009-04-04 Clint Adams <clint@zsh.org> - - * Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" - completion. - -2009-04-01 Peter Stephenson <pws@csr.com> - - * 26801: Completion/Base/Core/_main_complete, - Completion/Unix/Command/_calendar, - Completion/Zsh/Command/_command, - Completion/Zsh/Command/_precommand: add completion for calendar - function; add tracking for precommand modifiers that are - in effect. - -2009-03-26 Peter Stephenson <pws@csr.com> - - * 26797: Doc/Zsh/options.yo: further minor changes. - - * 26795: Doc/Zsh/options.yo: further warning in POSIX_ALIASES. - -2009-03-25 Peter Stephenson <pws@csr.com> - - * 26783: Doc/Zsh/compsys.yo, Completion/Base/Completer/.distfiles, - Completion/Base/Completer/_user_expand: new _user_expand completer. - - * Jon Strait: 26778, 26781: Doc/Zsh/mod_pcre.yo, - Src/Modules/pcre.c: a couple of extra options for PCRE matching. - - * Michael Hwang: 26776: Src/builtin.c: improved column alignment - with print -c -P. - -2009-03-24 Peter Stephenson <pws@csr.com> - - * 26774: Src/utils.c: cd to $HOME on failure in preference to /. - - * 26772: Src/glob.c, Src/utils.c, Src/zsh.h, Src/Modules/files.c: - more failed cd handling: fix possible runaway series of chdirs; - better error handling. - -2009-03-23 Peter Stephenson <pws@csr.com> - - * 26769: Src/utils.c: 26767 created an even worse problem. - - * 26748: Doc/Zsh/expn.yo, Src/hist.c, Src/subst.c: c modifier - to add command path. - - * 26767: Src/utils.c: 26763 created file descriptor leak. - -2009-03-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26763: Src/utils.c: fix problem restoring directory - when attempting to cd to relative path and failing. - - * users/13593: Src/utils.c: tidy up from 26625. - -2009-03-20 Peter Stephenson <pws@csr.com> - - * Bart: 26761: Src/hist.c: typo in 26754. - -2009-03-19 Peter Stephenson <pws@csr.com> - - * Mikael: 26759: Src/Modules/curses.mdd: missing here-document - terminator. - - * 26756: Completion/Zsh/Type/_history_modifiers: handling - following :s was wrong. - - * 26754: configure.ac, Doc/Zsh/expn.yo, Src/compat.c, Src/hist.c: - tweak zgetdir() (but don't use it) and test for realpath(). - -2009-03-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26752: Src/hist.c: fix ../ removal in :a and metafication - in :a and :A modifiers. - -2009-03-18 Peter Stephenson <pws@csr.com> - - * Frank Terbeck: 26751: Functions/VCS_Info/vcs_info_setsys: - suppress warning with WARN_CREATE_GLOBAL. - -2009-03-17 Peter Stephenson <pws@csr.com> - - * 26746: Completion/Zsh/Context/_normal, - Completion/Zsh/Type/_history_modifiers: complete new history - modifiers a and A and allow completion of history modifiers - at the start of double quotes. - -2009-03-16 Peter Stephenson <pws@csr.com> - - * 26744: Completion/Zsh/Context/_normal: handle completion - of history modifiers for normal command line arguments. - -2009-03-15 Barton E. Schaefer <schaefer@zsh.org> - - * users/13937, users/13939: configure.ac, Src/jobs.c: check for - and if available use setproctitle() for "jobs -Z". - -2009-03-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26736: Doc/Zsh/expn.yo: document 26731. - - * Michael Hwang: 26731 (with cosmetic changes): Src/hist.c, - Src/subst.c: add `a' and `A' modifiers. - -2009-03-14 Wayne Davison <wayned@users.sourceforge.net> - - * 26735: Src/Modules/files.c, Src/Modules/mapfile.c, - Src/Modules/zftp.c, Src/builtin.c, Src/exec.c, - Src/hist.c, Src/utils.c: improved return-value checking. - -2009-03-14 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/13910: Src/jobs.c: spawnjob() should output job - information to the tty like printjob() does. - - * 26699: Makefile.in: dependencies for config.modules. - -2009-03-14 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Adding .gitignore for the mirrored git repo. - -2009-03-13 Peter Stephenson <pws@csr.com> - - * users/13902: Doc/Zsh/zle.yo, Src/Zle/zle_hist.yo, - Src/Zle/zle_params.yo: improve return value from isearch functions - and add LASTABORTEDSEARCH variable. - - * 26723: Completion/Unix/Type/.distfiles, - Completion/Unix/Type/_have_glob_qual, - Completion/Unix/Type_path_files: centralise test for whether - file has glob qualifiers and how to match them. - - * users/13903: Src/Zle/zle_hist.c: repeated vi searching was - broken and "_" prompt was missing. - -2009-03-13 Barton E. Schaefer <schaefer@zsh.org> - - * 26713: Completion/Zsh/Type/_globflags: add #autoload - -2009-03-13 Geoff Wing <gcw@zsh.org> - - * unposted: LICENCE: update year to 2009 - -2009-03-10 Peter Stephenson <pws@csr.com> - - * 26708: Src/hist.c: print message if we give up trying to - create a lock file with hard links. - - * 26705: Src/subst.c, Test/D07multibyte.ztst: still problems - with multibyte characters with Meta in prompt expansion within - parameter expansion. - -2009-03-09 Peter Stephenson <pws@csr.com> - - * 26702: Src/init.c: lexsave()/lexrestore() needed around - use of history in loop() when not at top level; shows up - when calling things from zle, for example. - - * derf@sievert.tabularazor.org: 22701: - Completion/Unix/Command/_devtodo: new completion - -2009-03-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26697: configure.ac, Src/Modules/attr.c, Src/Modules/attr.mdd: - test for Linux- and Mac- style xattr functions and don't use - if neither appropriate. - -2009-03-06 Peter Stephenson <pws@csr.com> - - * unposted: fix definition of _perforce_whole_path in 26690. - -2009-03-04 Peter Stephenson <pws@csr.com> - - * 26690: Completion/Unix/Command/_perforce: the - whole-path style allows you to complete certain types of - file (e.g. opened) as a complete path rather than in directory - segments; the special value absolute only does that if you - type the leading slash. - - * unposted: Etc/FAQ.yo: add POSIX_ALIASES and POSIX_IDENTIFIERS - to the list of compatibility options with ksh. - -2009-03-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26686: Src/exec.c, Src/utils.c: storing long $_ on the - stack can be problematic, so use zalloc() rather than VARARR(). - - * 26683: Doc/Zsh/params.yo, Doc/Zsh/roadmap.yo: add some notes - on LC_CTYPE etc. - - * unposted: Src/Modules/cap.c: that's what happens when you - make patches for things that aren't supported on your system. - -2009-03-03 Peter Stephenson <pws@csr.com> - - * 26680: Src/Modules/cap.c: missed some stuff that needed metafied - arguments. - - * 26677: Src/Module/caps.c: need some unmetafy() calls as noticed - by Mikael. - - * 26676: Doc/Zsh/options.yo: redirect to main description - of reserved words instead. - - * 26675: Doc/Zsh/options.yo, Src/lex.c, Src/options.c, Src/zsh.h, - Test/A02alias.ztst: add POSIX_ALIASES option. - - * 26671: Completion/Zsh/Command/_zattr, Doc/Zsh/.distfiles, - Src/Modules/attr.c: various minor tidy-ups (tidies up?) for - 26670. - - * Mikael Magnusson: 26670: configure.ac, - Completion/Command/Zsh/.distfiles, Completion/Zsh/Command/_zattr, - Doc/Makefile.in, Doc/Zsh/.distfiles, Doc/Zsh/mod_attr.yo, - Src/Modules/.distfiles, Src/Modules/attr.c, Src/Modules/attr.mdd: - add module to handle Linux extended file attributes. - - * Jun T.: 26667: Doc/Zsh/prompt.yo: separate out parentheses. - -2009-03-02 Barton E. Schaefer <schaefer@zsh.org> - - * 26665: Src/utils.c: fix one incorrect test in 26614. - -2009-03-02 Peter Stephenson <pws@csr.com> - - * Lionel Flandrin: 26625: Src/utils.c: inopportune interrupt - could wreck terminal set up. - - * 26614 plus 26615: Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo, - Doc/Zsh/prompt.yo, Src/builtin.c, Src/utils.c: support - -t <fmt> in history and as a side effect support GNU - "-" extension for date and time elements with no padding - for those handled internally. - -2009-03-01 Clint Adams <clint@zsh.org> - - * Frank Blendinger: 26656: Completion/Unix/Command/_gnupod: - improved gnupod completion. - - * Chris Lamb: 26655: Completion/Unix/Command/_django: complete - custom Django management commands. - -2009-02-28 Clint Adams <clint@zsh.org> - - * Daniel Friesel: 26636: Completion/X/Command/_mplayer: complete - .flac files for mplayer. - -2009-02-27 Barton E. Schaefer <schaefer@zsh.org> - - * 26609: Completion/Unix/Type/_path_files: further / different fix - for doubled -s in path completion, which only might be correct in - all cases but is more correct for the original failed example. - - * unposted: Completion/Base/Utility/_pick_variant: be consistent - about explicitly returning 0 or 1, just because. - -2009-02-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26622: Src/lex.c, Test/A01grammar.ztst: improve 26617 and add - test. - -2009-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26617, c.f. Tomáš Smetana, 26610: Src/lex.c: comments - weren't handled in $(...). - -2009-02-26 Peter Stephenson <pws@csr.com> - - * Frank Terbeck: 26612: Doc/Zsh/contrib.yo: VCS info documentation - fix - -2009-02-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26606: Completion/Unix/Type/_path_files: fix doubled -s - in path completion in certain cases. - -2009-02-25 Peter Stephenson <pws@csr.com> - - * Src/hist.c: 26602: history substitution buffer could overflow - with no test. - -2009-02-25 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 26596: Completion/Unix/Command/_git: new git - options. - - * Jörg Sommer: 26593: Completion/Debian/Command/_lintian: complete - multiple files for lintian. - -2009-02-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26588: Src/Zle/zle_tricky.c: don't expand aliases in run-help - since the run-help function can do that. - -2009-02-20 Peter Stephenson <pws@csr.com> - - * c.f. 26586: Src/builtin.c, Src/lex.c, Src/parse.c: rename yylex - to zshlex and yytext to zshlextext to avoid possible clashes - in linked libraries. - - * 26584: configure.ac, Src/Modules/tcp.h: use bind/netdb.h where - appropriate. - -2009-02-19 Peter Stephenson <pws@csr.com> - - * 26583: Src/init.c, Src/zsh.h: use HOOK_SUFFIX more widely - for "*_functions" arrays. - -2009-02-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Jörg Sommer: 26582: Completion/Unix/Command/_date: --rfc-3339 + * 30800: Michal Halenka: Completion/Unix/Command/_arping: fix option. -2009-02-18 Peter Stephenson <pws@csr.com> - - * 26580: Mikael: Doc/Zsh/func.yo: typo. - - * 26579: Doc/Zsh/func.yo: fix hook function documentation. - - * unposted: Src/.cvsignore: ignore patchlevel.h. - - * Arkadiusz Miskiewicz <arekm@maven.pl>: 26573: - Functions/Completion/compdump: force compdump to overwrite - dump file if mv is a bit dubious. - -2009-02-14 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Danek Duvall: 26571: Src/Zle/complete.mdd, - Completion/Solaris/Command/_dladm, - Completion/Solaris/Command/_ptree, - Completion/Solaris/Command/_svccfg, - Completion/Solaris/Command/_svcs, Completion/Unix/Command/_zfs, - Completion/Unix/Command/_zpool: additions for Solaris - support. - - * Richard Hartmann: 26558: Doc/Zsh/options.yo: modification - of 2650. - -2009-02-12 Clint Adams <clint@zsh.org> - - * 26565: Completion/Unix/Command/_patch: fix breakage in 26482. - -2009-02-12 Peter Stephenson <pws@csr.com> - - * 26560: Doc/Zsh/builtins.yo: document autoload -z/-k (finally). - -2009-02-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26556: Doc/Zsh/builtins.yo: documentation for 26546. - - * 26546: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/init.c, - Src/mkbltnmlst.sh, Src/options.c, Src/params.c, Src/parse.c, - Src/signals.c, Src/subst.c, Src/zsh.h, Src/Modules/newuser.c, - Src/Modules/parameter.c, Test/B07emulate.ztst: sticky emulation - for functions defined within emualate ... -c ... environments. - -2009-02-11 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Calendar/age: accidentally committed a - currently undocumented change that allows an age spec beginning - with a colon to be followed by a file name whose modification time - will be used as the date/time. Probably needs improving but - not actually harmful since the syntax wasn't valid before. - - * Richard Hartmann: 26550: Doc/Zsh/options.yo: make - it clear that various options can't be changed within the shell. - - * Frank Terbeck: 26549: Doc/Zsh/contrib.yo, - Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, - Functions/VCS_Info/Backends/VCS_INFO_get_data_cdv, - Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs, - Functions/VCS_Info/Backends/VCS_INFO_get_data_darcs, - Functions/VCS_Info/Backends/VCS_INFO_get_data_git, - Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, - Functions/VCS_Info/Backends/VCS_INFO_get_data_mtn, - Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, - Functions/VCS_Info/Backends/VCS_INFO_get_data_svk, - Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, - Functions/VCS_Info/Backends/VCS_INFO_get_data_tla, - Functions/VCS_Info/VCS_INFO_formats: improvements to VCS_Info: - check for changes in git. - - * Richard Hartmann: 26547: Doc/Zsh/options.yo: further extension - to option indexing: NOoptions without underscore. - -2009-02-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26545: Test/B07emulate.ztst: new test. - -2009-02-10 Clint Adams <clint@zsh.org> - - * 26544: Completion/Unix/Command/_lp: complete pdf files - as well as ps. - -2009-02-09 Peter Stephenson <pws@csr.com> - - * Greg Klanderman: 26538: Completion/Base/Widget/_read_comp: - needs "nounset" option. - - * Richard Hartmann: 26536: Doc/Zsh/options.yo: add index entries - for options that appear with "NO" in front. - - * Richard Hartmann: 26535: Doc/Zsh/options.yo: remove typo. - -2009-02-08 Andrey Borzenkov <bor@zsh.org> - - * 26530: Doc/Zsh/builtins.yo: clarify that "emulate -c" - restores all options on return, not only those related - to emulation - -2009-02-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Allan Caffee <allan.caffee@gmail.com>: 26532: index option - names without underscore, too. - -2009-02-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/zle.yo: use of highlighting was out of - date. - -2009-02-06 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/builtins.yo: typo in previous patch - spotted by Mikael. - - * 26517: Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo, - Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/options.yo, - Doc/Zsh/params.yo: prompt expansion section in Unix manual - is actually named EXPANSION OF PROMPT SEQUENCES. - -2009-02-05 Peter Stephenson <pws@csr.com> - - * unposted: fix number in foregoing. - - * 26513: README: note that addition of ".." in completion - was broken. - -2009-02-01 Andrey Borzenkov <bor@zsh.org> - - * 26504: Doc/Zsh/options.yo: document that LOCAL_OPTIONS - does not restore PRIVILEGED and RESTRICTED - -2009-01-30 Clint Adams <clint@zsh.org> - - * 26494: Completion/Unix/Command/_pydoc: completion for pydoc. - -2009-01-29 Peter Stephenson <pws@csr.com> - - * 26485: Completion/Unix/Type/_path_files: accept-exact-dirs could - rearrange directories into the wrong order. - -2009-01-29 Clint Adams <clint@zsh.org> - - * 26482: Completion/Unix/Command/_patch: complete patch -U, - --unified-reject-files, --global-reject-file. - * unposted: move _getfacl and _setfacl from Completion/Cygwin/Command - to Completion/Unix/Command. - * 26483: Completion/Unix/Command/_getfacl, - Completion/Unix/Command/_setfacl: handle SGI's acl programs as well - as Cygwin's. - * Jörg Sommer: 26451: Completion/Linux/Command/_modutils: use - globbing to find available modules, now that modprobe -l is - deprecated. - * Jörg Sommer: 26452: Completion/Linux/Command/_modutils: drop - completion of modinfo -f. - * Jörg Sommer: 26453: Completion/Linux/Command/_modutils: complete - modinfo -k. - * Ingmar Vanhassel: 26467: Completion/Unix/Command/_git: add "git - remote rename" completion. - * Ingmar Vanhassel: 26468: Completion/Unix/Command/_git: "git - stage" is now a synonym for "git add". git diff: --staged is a - synonym for --cached. - * Ingmar Vanhassel: 26469: Completion/Unix/Command/_git: complete - "git clone --verbose". - * Ingmar Vanhassel: 26470: Completion/Unix/Command/_git: update - "git svn" completion. - * Ingmar Vanhassel: 26471: Completion/Unix/Command/_git: update - "git rebase" completion. - * Ingmar Vanhassel: 26472: Completion/Unix/Command/_git: complete - "git add --intent-to-add". - * Ingmar Vanhassel: 26473: Completion/Unix/Command/_git: complete - "git commit --cleanup=" and "git commit --allow-empty". - * Ingmar Vanhassel: 26474: Completion/Unix/Command/_git: add - "git describe --tags" completion and fix typos. - -2009-01-29 Peter Stephenson <pws@csr.com> - - * 26466: Src/Zle/compmatch.c: with suffix, bld_line() got - the arithmetic over patterns wrong. - -2009-01-28 Peter Stephenson <pws@csr.com> - - * Greg Klanderman: 26465: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: - add command keymap for command execution. - - * Greg Klanderman: 26464: Completion/Unix/Type/_pids: style - insert-ids=single was problematic with menu completion. - - * Greg Klanderman: 26463: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: add - zle-line-finish widget. - -2009-01-27 Peter Stephenson <pws@csr.com> - - * 26448: Doc/Zsh/expn.yo, Src/glob.c: glob sort operators - oe and o+ allow arbitrary code to pick name for sorting. - -2009-01-26 Peter Stephenson <pws@csr.com> - - * Greg Klanderman: 26439: Doc/Zsh/mod_system.yo: convert sections - to subsections. - -2009-01-25 Andrey Borzenkov <bor@zsh.org> - - * 26425: Doc/Zsh/builtins.yo Src/builtin.c: - "emulate csh -c command" will evaluate `command' after temporary - enable csh emulation. Note that `-c' is not actually an option, - but positional parameter. - -2009-01-24 Doug Kearns <dougkearns@gmail.com> - - * 26413: Completion/Unix/Command/_ant: update for version 1.7.1. - - * 26411: Completion/Cygwin/Command/.distfiles, - Completion/Cygwin/Command/_cygcheck, - Completion/Cygwin/Command/_cygpath, - Completion/Cygwin/Command/_cygrunsrv, - Completion/Cygwin/Command/_cygserver, - Completion/Cygwin/Command/_cygstart, - Completion/Cygwin/Command/_dumper, - Completion/Cygwin/Command/_getclip, - Completion/Cygwin/Command/_getfacl, - Completion/Cygwin/Command/_mkshortcut, - Completion/Cygwin/Command/_mkzsh, - Completion/Cygwin/Command/_putclip, - Completion/Cygwin/Command/_readshortcut, - Completion/Cygwin/Command/_setfacl: update Cygwin completion - functions and add new completion for setfacl and readshortcut. - -2009-01-22 Clint Adams <clint@zsh.org> - - * 26407: Completion/Debian/Command/_aptitude: patch to handle - aptitude build-dep, from Sven Joachim. - - * 26405: Completion/Unix/Command/_xmms2: completion for - xmms2, from Louis-David Mitterand. - -2009-01-22 Doug Kearns <dougkearns@gmail.com> - - * unposted: Etc/zsh-development-guide: fix some typos. - -2009-01-20 Peter Stephenson <pws@csr.com> - - * 26373: Src/Zle/complist.c: initialise variable in menu - completion in attempt to prevent crash when starting - a new completion. - -2009-01-20 Doug Kearns <dougkearns@gmail.com> - - * 26372: Completion/Unix/Command/_antiword: update for version - 0.37. - -2009-01-19 Peter Stephenson <pws@csr.com> - - * 26366: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, - Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c: add "isearch" - keymap and "accept-search" function. - - * Doug Kearns: 26365: Completion/Unix/Command/_python: new 3.0 - options. - -2009-01-19 Wayne Davison <wayned@users.sourceforge.net> - - * 26362: Src/Modules/regex.c: avoid calling regfree() when the - regex_t "re" was not initialized. - -2009-01-19 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Modules/regex.c: fixed a few compiler warnings - in zcond_regex_match(), including a (useless) warning about - matchessz potentially being used uninitialized and some - signed/unsigned warnings about re.re_nsub. Also split a - couple compound lines. - -2009-01-19 Doug Kearns <dougkearns@gmail.com> - - * 26361: Completion/Unix/Command/_rake: update for version 0.8.3. - - * 26360: Completion/Unix/Command/_git: add --work-tree option. - -2009-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26315: Src/params.c: define ZSH_PATCHLEVEL to "unknown" if - revision not found. - -2009-01-15 Peter Stephenson <pws@csr.com> - - * 26313: INSTALL, configure.ac, Src/params.c: add - --enable-custom-patchlevel for tweaked shells. - - * Functions/TCP/tcp_log: unposted: suppress WARN_CREATE_GLOBAL - message. - - * 26312: Phil Pennock: Doc/Zsh/cond.yo, Doc/Zsh/mod_pcre.yo, - Doc/Zsh/mod_regex.yo: Document no variables altered on failed - match. - -2009-01-13 Peter Stephenson <pws@csr.com> - - * 26304: Mikael Magnusson: configure.ac: logical correction - in link warning. - - * 26393: Src/Zle/zle_refresh.c: turn off text attributes when - deleting text, to avoid them being used for inserted blanks. - - * unposted: Completion/Base/Utility/_values, Doc/Zsh/compwid.yo, - Src/Zle/compcore.c, Src/Zle/complete.c, Src/Zle/compresult.c: - Back off 26270 and follow up; was causing memory corruption. - - * Doc/Zsh/mod_zpty.yo, Src/Modules/zpty.c, Test/comptest: - make "zpty -r" exit more cleanly on read failures and add and - use option to ensure a pattern has been matched. - - * 26300: Src/zsh.mdd: don't use "echo -n" for $ZSH_PATCHLEVEL. - -2009-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/compwid.yo: tweak doc for 26270. - - * unposted: Src/zsh.mdd: fix the inevitable confusion with - using dollar Revision dollar. - - * 26272: Doc/Zsh/params.yo, Src/params.c, Src/zsh.mdd: extract - Revision from ChangeLog for use in $ZSH_PATCHLEVEL. - - * unposted: add RCS Revision tag for use in patchlevel - recording. - -2009-01-09 Andrey Borzenkov <bor@zsh.org> - - * 26270: Completion/Base/Utility/_values, Doc/Zsh/compwid.yo, - Src/Zle/compcore.c, Src/Zle/complete.c, Src/Zle/compresult.c: - allow accept-and-menu-complete to work also with _values. - Add compstate[list_in_word] flag to control, whether suffix - is replaced by space; when set, next match is added in the same - word. - - * unposted: Completion/Mandriva/Command/.distfiles, - Completion/Mandriva/Command/_rebootin: add _rebootin completion - from Mandriva RPM (modified to allow spaces in GRUB menu titles) - -2009-01-09 Peter Stephenson <pws@csr.com> - - * Benjamin R. Haskell: 26265: Functions/Zle/define-composed-chars: - fix some accented characters. - -2009-01-08 Peter Stephenson <pws@csr.com> - - * 26260: Src/params.c: fix crash when failing to assign - scalar to special hash. - -2009-01-06 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/mod_stat.yo: fix yodl problem with 26229. - -2009-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26249: Src/utils.c: remove arbitrary string length limit in - unmeta(). - -2009-01-05 Peter Stephenson <pws@csr.com> - - * Richard Hartmann: 26170 (parts 1 and 2): - Completion/Unix/Type/_ps, Completion/Unix/Type/_pdf: - files compressed with .bz2. - -2009-01-05 Andrey Borzenkov <bor@zsh.org> - - * 26247: configure.ac, Src/Zle/zle_tricky.c: fix compilation - with -Werror=format-security GCC option. - -2009-01-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Richard Hartmann: 26229: Doc/Zsh/mod_stat.yo: note that zstat - follows links by default. - - * Frank Terbeck: 26215: Doc/Zsh/contrib.yo, - Functions/VCS_Info/vcs_info: disable-patterns style. - - * Greg Klanderman: 26159: Src/Zle/zle_utils.c: CUT_RAW should be - CUT_REPLACE for multiple kills to append. - -2008-12-30 Clint Adams <clint@zsh.org> - - * 26202: Functions/Misc/run-help: show zshmodules(1) for echotc, - echoti, sched, zprof, zpty, zsocket, zstyle, and ztcp builtins - as well. - -2008-12-29 Geoff Wing <gcw@zsh.org> - - * unposted: Test/C04funcdef.ztst, Test/C05debug.ztst, - Test/V06parameter.ztst: clean up temporary files - -2008-12-29 Clint Adams <clint@zsh.org> - - * 26185: Doc/Zsh/mod_newuser.yo: fix two places where path to - global zshenv was specified statically. - - * Richard Hartmann: 26175: Completion/Unix/Command/_vim: updates - for vim completion. - -2008-12-18 Peter Stephenson <pws@csr.com> - - * Richard Hartmann: 26155: Doc/Zsh/builtins.yo, - Doc/Zsh/mod_parameter.yo, Doc/Zsh/options.yo: quote use of `.' - as a command in text. - -2008-12-16 Clint Adams <clint@zsh.org> - - * 26141: Functions/Zle/edit-command-line: word-split - EDITOR/VISUAL so users can have multi-argument - commands in those variables. - -2008-12-11 Peter Stephenson <pws@csr.com> - - * Frank Terbeck: 26125: Doc/Zsh/contrib.yo, - Functions/VCS_Info/.distfiles, - Functions/VCS_Info/VCS_INFO_check_com, - Functions/VCS_Info/VCS_INFO_get_cmd, Functions/VCS_Info/vcs_info, - Functions/VCS_Info/Backends/VCS_INFO_detect_cdv, - Functions/VCS_Info/Backends/VCS_INFO_detect_cvs, - Functions/VCS_Info/Backends/VCS_INFO_detect_darcs, - Functions/VCS_Info/Backends/VCS_INFO_detect_git, - Functions/VCS_Info/Backends/VCS_INFO_detect_hg, - Functions/VCS_Info/Backends/VCS_INFO_detect_mtn, - Functions/VCS_Info/Backends/VCS_INFO_detect_p4, - Functions/VCS_Info/Backends/VCS_INFO_detect_svk, - Functions/VCS_Info/Backends/VCS_INFO_detect_svn, - Functions/VCS_Info/Backends/VCS_INFO_detect_tla, - Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, - Functions/VCS_Info/Backends/VCS_INFO_get_data_git, - Functions/VCS_Info/Backends/VCS_INFO_get_data_mtn, - Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, - Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, - Functions/VCS_Info/Backends/VCS_INFO_get_data_tla: add - "command" style for VCS command to use. - -2008-12-10 Peter Stephenson <pws@csr.com> - - * 26121: Doc/Zsh/calsys.yo, Functions/Calendar/calendar: add - -B <lines> option to calendar. - - * users/13566: Etc/FAQ.yo: note problem with unsetting elements - of regular arrays. - -2008-12-09 Peter Stephenson <pws@csr.com> - - * 26119: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: option to allow vared - to open to an alternative terminal. - -2008-12-09 Clint Adams <clint@zsh.org> - - * Richard Hartmann: 26114: Completion/Unix/Command/_git: add color - options. - -2008-12-08 Peter Stephenson <pws@csr.com> - - * Benjamin R. Haskell: users/13544: - Functions/Zle/define-composed-chars: accents for i were wrong. - - * 26116: Src/Zle/deltochar.c: wasn't updated properly for - combining characters. - -2008-12-02 Peter Stephenson <pws@csr.com> - - * Richard Hartmann: 26105: Completion/Unix/Type/_pdf: add okular. - - * Frank Terbeck: 26194: Functions/Prompts/promptinit: eliminated - WARN_CREATE_GLOBAL warnings. - -2008-12-01 Peter Stephenson <pws@csr.com> - - * (with some help from Peter A. Castro): 26103: configure.ac: - FIFOs seem to be more reliable than per-process FD files for - process substitution on current Cygwin. - -2008-11-27 Peter Stephenson <pws@csr.com> - - * 26095: Src/utils.c: failed to compile if TIOCGWINSZ wasn't - defined. - -2008-11-26 Peter Stephenson <pws@csr.com> - - * 26090: Test/C02cond.ztst: [[ -r ... ]] on Cygwin succeeds - more often than expected, so don't test. - -2008-11-25 Clint Adams <clint@zsh.org> - - * Brendan Cully: 26057: Completion/Unix/Command/_mercurial: - mercurial completion updates. - -2008-11-25 Peter Stephenson <pws@csr.com> - - * 26091: Src/hist.c: crash at end of history line if history - not in use. - -2008-11-24 Peter Stephenson <pws@csr.com> - - * Frank Terbeck: users/13482: Doc/Zsh/contrib.yo: fix some prompt - docs for vcs info. - -2008-11-23 Barton E. Schaefer <schaefer@zsh.org> - - * users/13477: Completion/Unix/Command/_rm: call _files instead - of _path_files to correctly handle cycling through choices. - -2008-11-20 Peter Stephenson <pws@csr.com> - - * 26075: Functions/Calendar/calendar_parse: update repeated events - until they're in the future. - - * users/13464: Functions/MIME/zsh-mime-handler, - Functions/MIME/zsh-mime-setup: allow suffixes specified as - lower case to match upper case variants. - -2008-11-18 Peter Stephenson <pws@csr.com> - - * 26065: Config/version.mk: update to 4.3.9-dev-1 because of - internal code changes. - - * 26060: François Revol: configure.ac, Src/Module/zpty.c, - Src/Zle/zle_refresh.c: fixes for BeOS. - - * 26062: Src/Zle/compmatch.c: missed change needed with 26047. - - * 26061: Src/lex.c, Src/parse.c, Src/subst.c, Src/zsh.h, - Test/D02glob.ztst: fix clashes between numeric glob and - process substitution such as "<->(N)". - -2008-11-17 Peter Stephenson <pws@csr.com> - - * 26056: Doc/Zsh/expn.yo, Src/exec.c: < <(...)more_stuff is - an error and similarly for > >(...)yet_more_stuff. - - * 26055: README, Doc/Zsh/expn.yo, Src/subst.c: ensure process - substitution is handled completely before parameter and - command substitution. - - * 26053: Completion/Base/Utility/_arguments: handle - "<cmd> --help" output that includes optional parts of options - in square brackets. - -2008-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26047: Src/pattern.c, Src/Zle/comp.h, Src/Zle/compmatch.c, - Src/Zle/complete.c, Src/Zle/compmatch.c, Src/Zle/computil.c, - Src/Zle/zle_utils.c: convert lower levels of completion - matching to user multibyte strings / wide characters. - - * Phil (unposted): README: another typo. - -2008-11-15 Clint Adams <clint@zsh.org> - - * 26046: Functions/TCP/tcp_send: return an error if session's fd is - unusable. - -2008-11-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26042 with some fixes from 26043 (Mikael): README, - Doc/Zsh/expn.yo, Src/exec.c, Src/lex.c, Src/subst.c, - Test/D03procsubst.zst: allow <(...) and >(...) to occur - in the middle of command arguments and =(...) to have - other strings following. - -2008-11-12 Oliver Kiddle <opk@zsh.org> - - * 26030: Src/Zle/zle_main.c: fix memory leak in vared - - * 26028: Src/builtin.c: close temporary file when aborting fc - -2008-11-12 Peter Stephenson <pws@csr.com> - - * 26029: Test/A04redirect.ztst: add test for redirection operators - with no preceding whitespace. - -2008-11-11 Oliver Kiddle <opk@zsh.org> - - * 26024: Src/Zle/zle_keymap.c: don't leave reference count - incremented when aborting bindkey with an error - -2008-11-11 Clint Adams <clint@zsh.org> - - * 26027: Src/Zle/compctl.c: free pprogc before it goes out of - scope in makecomplistflags. - -2008-11-11 Peter Stephenson <pws@csr.com> - - * 26025: Src/Zle/zle_main.c: prefer handling user input to - file installed with zle -F. - -2008-11-11 Clint Adams <clint@zsh.org> - - * 26023: Completion/Unix/Command/_topgit: skeletal completion for - tg (topgit). - -2008-11-08 Oliver Kiddle <opk@zsh.org> - - * 26022: Completion/Zsh/Type/_file_descriptors: fix on Solaris - where /proc/$$/fd exists but doesn't contain symlinks - - * 26017: Completion/Unix/Type/_path_files, - Completion/Zsh/Type/_globflags, Completion/Zsh/Type/_globquals: - add completion of globbing flags - -2008-11-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 26021: Completion/Unix/Type/_path_files: complete glob - qualifiers where they don't mess up the rest of the word, - don't complete a bare glob qualifier if there's nothing - before it. - -2008-11-08 Clint Adams <clint@zsh.org> - - * unposted: Src/glob.c: revert 26014. - -2008-11-07 Clint Adams <clint@zsh.org> - - * 26016: Completion/Unix/Command/_bzr: treat "bzr co" as an alias - of "bzr checkout"; patch from Ryo IGARASHI. - -2008-11-06 Clint Adams <clint@zsh.org> - - * 26014: Src/glob.c: don't allocate and leak a patprog if it's not - going to be used. - - * 26013: Src/Modules/tcp.c: don't ztrdup the other buffer returned - by inet_ntoa. cf. 25987. - -2008-11-05 Peter Stephenson <pws@csr.com> - - * 26008, Src/builtin.c, Test/B02typeset.ztst: "typeset -g - <var...>" should be silent even if TYPESET_SILENT is not set. - -2008-11-04 Peter Stephenson <pws@csr.com> - - * 26006: Test/C05debug.ztst: remove dependence on system - error message. - -2008-11-03 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: update version to 4.3.9-dev-0. - - * unposted: Etc/.distfiles: missing entry; 4.3.9 finally - released, perhaps. - -2008-11-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25989: Src/Zle/computil.c: Slight improvement for multibyte - characters in matching to prevent crash. - -2008-11-02 Clint Adams <clint@zsh.org> - - * 25988: Completion/Darwin/Command/_fink, - Completion/Darwin/Type/_retrieve_mac_apps, - Completion/Debian/Command/_apt, - Completion/Debian/Type/_deb_packages, - Completion/Redhat/Command/_rpm, Completion/Redhat/Command/_yum, - Completion/Unix/Command/_bogofilter, - Completion/Unix/Type/_path_commands, - Completion/Unix/Type/_perl_modules, Doc/Zsh/compsys.yo: declare - temporary cache array as local, thanks to problem noticed by - Kazuhiro NISHIYAMA. - -2008-11-01 Clint Adams <clint@zsh.org> - - * 25987: Src/Modules/tcp.c: don't ztrdup the buffer returned by - inet_ntoa. - - * 25985: Src/hashtable.c: don't try to disable signal traps if - getsignum returns -1. - -2008-10-31 Oliver Kiddle <opk@zsh.org> - - * 25983: Fix bug in hash builtin with empty hash entry name - -2008-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25975: Src/compmatch.c: bad tests for pattern match - when building up a line. - - * 25972: Src/Zle/complete.c, Src/Zle/compmatch.c: leaked - and uninitialised memory found by valgrind. - - * 25971: Src/builtin.c, Src/zsh.h: fix 25937 which broke some - builtins that handle options themselves. - -2008-10-30 Peter Stephenson <pws@csr.com> - - * 25969: Src/subst.c, Src/utils.c, Test/D07multibyte.ztst: - bugs in metafication with prompt expansion called from parameter - expansion and with zsh_directory_name when called from finddir(). - - * 25963: Src/utils.c: Interrupt at spell check prompt output - garbage. - - * 25961: configure.ac: some sh's don't handle opening parentheses - in case. - - * unposted: NEWS, README, Config/version.mk, Etc/FAQ.yo, - Etc/relnote_4.3.7.txt, Etc/relnote_4.3.8.txt, - Etc/relnote_4.3.9.txt: try again with 4.3.9 (N.B. not yet - released, CVS tag not finalised). - - * 25958: INSTALL: Doc/Makefile.in, Doc/Zsh/filelist.yo, - Doc/Zsh/files.yo, Doc/Zsh/options.yo: make it possible to - get correctly named global startup files by remaking docs. - - * Oliver (unposted): configure.ac: 25950 should use xyes, too. - - * unposted: Completion/Zsh/Command/_tcpsys: added this since - it's already in .distfiles. It's very limited in what it - does but it's better than nothing, I suppose. - - * 25950: configure.ac: need "x$dynamic" trick in two - more places. - - * users/13418: Src/Modules/termcap.c: protect against - HAVE_STRCODES lying. - -2008-10-30 Clint Adams <clint@zsh.org> - - * 25949: Src/Zle/zle_hist.c: remove dead code in getvisrchstr. - -2008-10-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25945: Completion/Unix/Type/_path_files: need some extra - matcher options to compadd for completing abbreviated - directory hierarchies when -U is not present (i.e. not - correcting). - -2008-10-29 Peter Stephenson <pws@csr.com> - - * Mikael: users/13412: Etc/relnote_4.3.7.txt: typo. - - * c.f. users/13411: Config/version.mk: update archived release - number to 4.3.8-dev-0. - - * unposted: Etc/relnote_4.3.8.txt: tiny typo. - - * unposted: Completion/Zsh/Command/.distfiles, Etc/.distfiles, - Functions/VCS_Info/.distfiles, - Functions/VCS_Info/Backends/.distfiles: belatedly sort out some - .distfiles - - * unposted: NEWS, README, Config/version.mk, Etc/FAQ.yo, - Etc/relnote_4.3.7.txt, Etc/relnote_4.3.8.txt: update version - to 4.3.8. - - * unposted: Functions/Zle/replace-string: use "typeset -g" - to avoid warnings with WARN_CREATE_GLOBAL. - -2008-10-29 Clint Adams <clint@zsh.org> - - * 25940: Src/Zle/computil.c: delay !multi memory allocation until - after possibility to error out and return without freeing. - -2008-10-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25938 (Mikael) + probably 25939, too: - Completion/Unix/Type/_path_files: IPREFIX missing $. - - * 25937: README, Src/builtin.c: builtins that don't have - options now ignore an initial "--" argument. - -2008-10-28 Peter Stephenson <pws@csr.com> - - * unposted: Config/Version.mk, Etc/relnote_4.3.7.txt: Release - 4.3.7 - -2008-10-26 Clint Adams <clint@zsh.org> - - * 25934: Completion/Debian/Command/_bts: handle bts subscribe, - unsubscribe, and fix owner. Patches from Ansgar Burchardt. - -2008-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: NEWS: region_highlight is an array and so - not capitalised. - - * unposted: README: update claimed version to 4.3.7. - - * Mikael: 25933: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, - Doc/Zsh/options.yo, NEWS: typos. - -2008-10-24 Peter Stephenson <pws@csr.com> - - * users/13400: Doc/Zsh/options.yo, Etc/FAQ.yo: clarify some - aspects of ksh-like editing. - - * 25931: Test/D01prompt.zsh: test fix in 25930. - - * 25930: Src/prompt.c, Src/utils.c: dynamic directory names - may need recursive prompt expansion; memory leak with reverse - expansion of dynamic directory names. - -2008-10-23 Peter Stephenson <pws@csr.com> - - * users/13375: Src/Zle/zle_refresh.c: rewrite ternary expression - which caused problems with the Sun Studio 11 compiler. - -2008-10-22 Barton E. Schaefer <schaefer@zsh.org> - - * 25927: Completion/Unix/Type/_path_files: include the ignored - prefix/suffix in the hidden prefix/suffix only for compadd -U. - -2008-10-23 Clint Adams <clint@zsh.org> - - * 25926: Src/params.c: free val only after it may be passed to - strlen (as in 25656). - -2008-10-20 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: 4.3.6-dev-2. - -2008-10-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25912: Doc/Zsh/compwid.yo, Src/Zle/computil.c: fix yet another - Meta bug in completion with matchers in compfiles; remove 25893 - because that wasn't it at all. - - * 25911: Test/D07multibyte.ztst: see if we can work around file - system idiosyncracies. - -2008-10-18 Clint Adams <clint@zsh.org> - - * 25910: Src/builtin.c: avoid dangling file handle in bin_print. - -2008-10-17 Peter Stephenson <pws@csr.com> - - * Rocky: 25907: Test/Makefile.in: makefile needs .exe - extension to run zsh on Cygwin. - -2008-10-16 Peter Stephenson <pws@csr.com> - - * 25905: Src/math.c, Test/C01arith.ztst: fix and test doubled-hash - radix output syntax. - -2008-10-14 Barton E. Schaefer <schaefer@zsh.org> - - * 25887: Completion/Unix/Type/_path_files: pass -U to compadd only - when _comp_correct is true; otherwise, completing subpatterns - inside braces tends to behave oddly. - - * Jörg Sommer: 25883: Completion/Base/Utility/_multi_parts: quote - strings in the temporary variable tmp1 before joining them with - "|" to create an alternatives pattern. - - * Phil Pennock: 25854: Completion/Unix/Command/_perl, - Completion/Unix/Type/_perl_modules: fix module completion for - "perl -d:" (Devel modules). - -2008-10-14 Clint Adams <clint@zsh.org> - - * 25898: Src/module.c: avoid dereference of p after it is freed - in getmathfunc. - - * 25897: Src/Zle/computil.c: remove small bit of dead code in - cfp_opt_pats. - - * 25896: Src/builtin.c: remove small bit of dead code in - execbuiltin. - - * Jörg Sommer: 25882: Completion/Unix/Command/_ssh: run ssh with - -oBatchMode=yes. - -2008-10-14 Peter Stephenson <pws@csr.com> - - * 25893: Doc/Zsh/compwid.yo: matcher "m:{a-z}={A-Z}" still - works better than "m:{[:lower:]}={[:upper:]}" in that the - latter can glitch on some multibyte characters with Meta in - (and doesn't yet work on non-ASCII characters anyway). - -2008-10-12 Clint Adams <clint@zsh.org> - - * 25860: Src/Zle/compmatch.c: avoid possible NULL dereferencing in - bld_parts. - -2008-10-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted, c.f. 25848: Test/comptest: attempt to sanitize - the environment. - -2008-10-12 Clint Adams <clint@zsh.org> - - * 25859: Src/Zle/zle_tricky.c: avoid possible NULL dereferencing if - RC_QUOTES is set. - - * Mikael Magnusson: 25856: Etc/completion-style-guide: typo fixes. - - * Mikael Magnusson: 25855: Etc/zsh-development-guide: typo fixes. - -2008-10-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25845: Src/pattern.c, Test/D07multibyte.ztst: combination of - backslashed characters and metafied characters confused pattern - test for pure string. - -2008-10-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25816: Marc Chantreux: Completion/Unix/Command/_ip: - add promiscuous link option. - -2008-10-11 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Modules/curses.c: fixed a signed/unsigned - compiler warning. - -2008-10-10 Peter Stephenson <pws@csr.com> - - * users/13323: Test/E02xtrace.ztst: new test wasn't robust - about ignoring /etc/zshenv. - - * users/13321: configure.ac: allow --disable-gdbm. - - * unposted: Doc/Zsh/expn.yo: protect () from macro expansion. - - * unposted: Etc/CONTRIBUTORS: update. - - * 25837: NEWS: add descriptions of new debugging features. - - * unposted: Functions/Zftp/zffcache, - Functions/Zftp/zftp_progress: silence some warnings when - WARN_CREATE_GLOBAL is set. - - * unposted: Config/version.mk: 4.3.6-dev-1. - - * unposted: Test/B06fc.ztst: use -f flag to zsh to prevent - initialization scripts running. - -2008-10-10 Barton E. Schaefer <schaefer@zsh.org> - - * 25814: Functions/Misc/run-help: quote arguments to "eval". - - * unposted (?): Functions/Prompts/promptinit: quote expansion of - prompt_opts in prompt() because zsh emulation is by necessity not - enforced there. - - * 25140: Src/exec.c: improve error handling/reporting for - here-document temp files. - - * 25029 (plus unposted doc): Completion/Unix/Command/_sudo, - Doc/Zsh/compsys.yo: "environ" style to allow a different search - path when completing as a different user. - -2008-10-09 Clint Adams <clint@zsh.org> - - * 25833: Completion/Unix/Command/_git: remove zparseopts line - obsoleted by 25824. - - * Jörg Sommer: 25824: Completion/Unix/Command/_git: make it - possible to use abbreviated paths for tree files. - -2008-10-09 Peter Stephenson <pws@csr.com> - - * 25831: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/params.c, - Src/zsh.h, Test/D04parameter.ztst: ensure failed subscript matches - of a type that are documented as strings rather than arrays - return an empty string rather than an empty array to avoid - strange RC_EXPAND_PARAM behaviour. - -2008-10-08 Peter Stephenson <pws@csr.com> - - * Nikolai Weibull: 25828: Completion/Unix/Command/_rm, - Completion/Unix/Command/.distfiles: new completion. - - * unposted: NEWS: note some new features. - -2008-10-07 Clint Adams <clint@zsh.org> - - * 25823: Functions/Misc/run-help: bring up zshcontrib man page if - run-help is run on run-help and run-help is a function. - - * Jörg Sommer: 25819: Completion/Linux/Command/_modutils: improve - module parameter completion. - - * Jörg Sommer: 25822: Completion/Linux/Command/_modutils: declare - val_args as local array. - - * Jörg Sommer: 25821: Completion/Linux/Command/_modutils: return 0 - if a modules parameter was completed. - - * Jörg Sommer: 25820: Completion/Linux/Command/_modutils: add the - option --field of modinfo. - -2008-10-06 Clint Adams <clint@zsh.org> - - * 25818: Completion/compinstall: compinstall data loss typo fix - from Morita Sho. - -2008-10-06 Peter Stephenson <pws@csr.com> - - * 25817: Src/builtin.c: "fc -l" is now more careful to - list all history just added, however it got there. Use - of fc for executing previous commands unchanged. - -2008-10-04 Clint Adams <clint@zsh.org> - - * 25808: Completion/Debian/Command/_bts: handle bts claim and - unclaim subcommands. - -2008-10-02 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Zsh/Context/_subscript: off-by-one - error in testing for dynamic directory name prefix. - -2008-10-01 Peter Stephenson <pws@csr.com> - - * 25791: Src/exec.c, Test/C05debug.ztst: force return from - eval-style DEBUG trap lost status. - -2008-09-30 Peter Stephenson <pws@csr.com> - - * Frank Terbeck: 25778: Functions/VCS_Info/VCS_INFO_realpath: use - builtin cd. - - * unposted: Completion/Zsh/Context/_subscript: recognise ~[...] - after = and :, too. - - * 25777: Src/Modules/db_gdbm.c: argument to gdbmsetfn. - -2008-09-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25775: Src/exec.c, Src/prompt.c, Src/signals.c, Src/zsh.h: - line numbering in functions inside eval-style traps on the - function stack was screwy. Simplest fix is to restore normal - line numbering within the functions so that only the immediate - eval-style trap environment is special. - - * 25774: Src/params.c: fix in 25772 was applied too widely. - -2008-09-29 Peter Stephenson <pws@csr.com> - - * 25733: Completion/Zsh/Context/.distfiles, - Completion/Zsh/Context/_dynamic_directory_name, - Completion/Zsh/Context/_subscript: stub function for dynamic - directory name completion. - - * 25772: Src/params.c: searching an associative array with - a bad pattern could cause a crash, seen in _expand following - "echo ~[]". - - * 25771: Src/utils.c, Src/zsh.h: shell function context - for substitution functions. - - * users/13295 (with tweak always to keep old line numbers at - exit from parse_string()): Src/builtin.c, Src/exec.c, Src/glob.c, - Src/parse.c, Src/Modules/parameter.c, Src/Modules/zpty.c, - Src/Modules/zutil.c: don't reset $LINENO when parsing strings - unless the surrounding environment provides support (funcstack - etc.) for it. - -2008-09-28 Clint Adams <clint@zsh.org> - - * 25764: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_django: completion for Django, from Chris - Lamb. - -2008-09-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael Magnusson: Src/utils.c: newline in getquery() is - treated as n but should also behave like a newline. duh. - -2008-09-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25760: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: - (~) tokenizes arguments to further parameter flags, but not - the rest of the parameter expansion. - - * Jörg Sommer: 25755, with tweak from 25756: - Completion/Linux/Command/_modutils (args): improved handling - of module arguments. - - * 25759: Doc/Zsh/expn.yo, Src/builtin.c, Src/subst.c: fix crash - after failed dynamic named directory expansion; clarify the - fact that static named directories can contain only - alphanumerics, `_', `-' or `.'. - -2008-09-26 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 25617: Completion/Unix/Command/_vim: - complete -t <tags>. - -2008-09-26 Peter Stephenson <pws@csr.com> - - * 25744: Doc/Zsh/expn.yo, Src/exec.c, Src/math.c, Src/signals.c, - Src/subst.c, Src/utils.c, Src/Modules/zftp.c, Src/Zle/compcore.c, - Src/Zle/compctl.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, - Test/D01prompt.ztst: Add dynamic named directories using - ~[<stuff>] which calls zsh_directory_name n <stuff> and - reverse call to look up names. Also further simplify doshfunc() - interface to use flags directly from the Shfunc structure. - -2008-09-25 Peter Stephenson <pws@csr.com> - - * 25684: Src/prompt.c: make %x and %I consistent with - eval line numbering. - -2008-09-24 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/13288: Src/parse.c: don't report parse errors if the - line was aborted by spell checking etc. - -2008-09-24 Peter Stephenson <pws@csr.com> - - * 25739: configure.ac: warn about GPL in binary if libgdm - is linked. - - * Rocky Bernstein: 25734: Test/B06fc.ztst: typo. - -2008-09-23 Clint Adams <clint@zsh.org> - - * 25737: Src/Zle/computil.c: remove dead code in ca_parse_line. - - * 25736: Src/Zle/complete.c: one more zsfree missing from - 25667. - -2008-09-23 Peter Stephenson <pws@csr.com> - - * 25733: Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, - Doc/Zsh/contrib.yo: add revision number (latest synced change) - to Perforce backend and list abbreviations with backends. - - * 25732: Functions/VCS_Info/Backends/VCS_INFO_detect_p4, - Doc/Zsh/contrib.yo: make vcs_info detect Perforce from server - if style use-server is set. - - * Rocky Bernstein: 25727: Src/hist.c, Test/B06fc.ztst: remove - restriction on interactive use of fc and test another problem. - -2008-09-23 Clint Adams <clint@zsh.org> - - * 25728: Completion/Linux/Command/_ionice: spelling fix. - - * Jörg Sommer: 25717: Completion/Linux/Command/_ionice: fixups for - 25702. - -2008-09-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25723: Src/Zle/zle_main.c: align combining character when - retrieved from input stack. - -2008-09-22 Clint Adams <clint@zsh.org> - - * 25721: Src/exec.c: revert another mistake of 25701. - - * Jörg Sommer: 25718: Completion/Unix/Command/_git: add completion - of option --reverse. - - * 25720: Doc/Zsh/contrib.yo: remove misleading vcs_info bit about - PROMPT_SUBST. - -2008-09-22 Peter Stephenson <pws@csr.com> - - * 25715: Frank Terbeck: Doc/Zsh/contrib.yo: vcs_info - now works straight away. - - * 25710: Functions/VCS_Info/vcs_info, - Functions/VCS_Info/vcs_info_lastmsg, - Functions/VCS_Info/vcs_info_printsys, - Functions/VCS_Info/vcs_info_setsys: use native zsh emulation; - make vcs_comm local in other functions; vcs_info_printsys - runs vcs_info_setsys if necessary. - -2008-09-22 Clint Adams <clint@zsh.org> - - * 25713: Functions/VCS_Info/vcs_info: ensure that vcs_info - functions immediately after autoloading. - -2008-09-22 Peter Stephenson <pws@csr.com> - - * Rocky Bernstein: 25696: Src/hist.c: fix crash on empty history. - -2008-09-21 Clint Adams <clint@zsh.org> - - * unposted: Completion/Linux/Command/.distfiles: update .distfiles. - - * Jörg Sommer: 25702: Completion/Linux/Command/_chrt, - Completion/Linux/Command/_ionice: completions for chrt and ionice - commands. - - * 25701 (tweaked): Src/exec.c: fix memory leak in loadautofn. - - * 25697: Functions/Prompts/prompt_clint_setup: drop git code and - switch to vcs_info. - -2008-09-19 Peter Stephenson <pws@csr.com> - - * 25693: Frank Terbeck: Doc/Zsh/contrib.yo: and another. - - * users/13262: Frank Terbeck: Doc/Zsh/contrib.yo: another - formatting fix. - - * users/13252 and others: Frank Terbeck (plus doc tweaks): - Functions/VCS_Info/**/*, Doc/Zsh/contrib.yo, Src/zsh.mdd: - add VCS_Info function system. - - * Unposted, but see users/13251: Doc/Zsh/mod_mapfile.yo: update - users/13239. - -2008-09-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25690: Src/Zle/zle_hist.c: fix insertlastword not to - screw up characters in the history that needed metafication. - -2008-09-18 Peter Stephenson <pws@csr.com> - - * 25684: Src/prompt.c: respect trap line number rules in - %x, %I prompt escapes. - - * users/13239: Doc/Zsh/mod_mapfile.yo: more useful comments. - - * 25682: Src/hist.c: terminate history line string before passing - down to zshaddhistory hook. - -2008-09-16 Peter Stephenson <pws@csr.com> - - * 25677: Doc/Zsh/prompt.yo, Src/exec.c, Src/init.c, Src/math.c, - Src/prompt.c, Src/signals.c, Src/utils.c, Src/Modules/zftp.c, - Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle_main.c, - Src/Zle/zle_misc.c, Test/E02xtrace.ztst: add %x and %I prompt - escapes for source file debuging; improve interface to - doshfunc(). - -2008-09-15 Peter Stephenson <pws@csr.com> - - * 25672: prompt.c: Resolve string containing only a Nularg - to empty string to avoid interpretation as glitch space. - - * 25671: Src/builtin.c, Test/B02typeset.ztst: non-existent - variable in typeset -p should cause status 1. - -2008-09-14 Clint Adams <clint@zsh.org> - - * 25667: Src/Zle/complete.c: free mstr before returning from - errors. - - * 25666: Src/Zle/computil.c: free memory allocated for an - xor if the argument number is invalid. - -2008-09-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25662: Src/builtin.c, Test/B02typeset.ztst: declare -p - should never create variables. - -2008-09-13 Clint Adams <clint@zsh.org> - - * 25656: Src/params.c: free val only after it may be passed to - strlen(). - - * 25655: Completion/Unix/Command/_rsync: remove completion for - --remove-sent-files option. - -2008-09-12 Clint Adams <clint@zsh.org> - - * 25654: Completion/Debian/Command/_lintian: fix return bug and add - --color. - -2008-09-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong. - -2008-09-11 Peter Stephenson <pws@csr.com> - - * 25651: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/init.c, - Src/text.c, Src/Modules/parameter.c: make indentation for code - output by getpermtext() more logical. - - * 25643: Doc/Zsh/builtins.yo, Src/exec.c: keep DEBUG and ZERR - traps in subshells. - - * 25641: add option (NO_)MULTI_FUNC_DEF to turn off "foo1 - foo2...()" function definitions. - -2008-09-10 Clint Adams <clint@zsh.org> - - * Frank Terbeck: 25640: Completion/Unix/Command/_git: another alias - handling fix. - - * 25639: Src/hist.c: free ptr2 if hsubl is NULL. - - * 25638: Src/Zle/compmatch.c: remove unnecessary ternary expression - in match_str. - - * 25637: Src/exec.c: dereference prog after the NULL check. - -2008-09-08 Clint Adams <clint@zsh.org> - - * 25636: Src/Zle/zle_tricky.c: free s before returning with an - error condition. - - * 25634: Src/Zle/zle_main.c: free t before returning if both t and - errflag are set. - -2008-09-07 Clint Adams <clint@zsh.org> - - * Frank Terbeck: 25624: Completion/Unix/Command/_git: clean up git - alias parsing. - -2008-09-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25627: Doc/Zsh/params.yo, Src/exec.c, Src/params.c, - Test/D04parameter.ztst: add $ZSH_SUBSHELL. - -2008-09-05 Peter Stephenson <pws@csr.com> - - * 25615: Doc/Zsh/builtins.yo, Doc/Zsh/func.yo, Src/exec.c, - Src/text.c, Test/C05debug.ztst: add $ZSH_DEBUG_CMD for - DEBUG traps. - -2008-09-04 Peter Stephenson <pws@csr.com> - - * 25608: Completion/compinit: unset CSH_JUNKIE_QUOTES during - completion. - -2008-09-04 Clint Adams <clint@zsh.org> - - * 25611, 25613: Src/Modules/curses.c: protect against two possible - NULL dereferences. - - * 25612: Src/Zle/compmatch.c: remove dead code. - - * 25610: Src/hist.c: remove dead code. - - * 25609: Src/Modules/zftp.c: initialize sz variable. - -2008-09-03 Peter Stephenson <pws@csr.com> - - * Jun T: 25603: Doc/Zsh/compsys.yo: format error. - - * Jörg Sommer <joerg@alea.gnuu.de>: 25598/25599: should - auto-remove automatically added "=" suffix on alias completion, - else you can end up assigning an empty alias. - - * 25595: Doc/Zsh/mod_parameter.yo, Src/builtin.c, Src/exec.c, - Src/init.c, Src/zsh.h, Src/Modules/parameter.c, - Test/V06parameter.ztst: fix line numbers with EVAL_LINENO; - try to fix up oddities with funcstack for source files; - simplify use of caller element of funcstack. - -2008-09-02 Barton E. Schaefer <schaefer@zsh.org> - - * 25600: Functions/Prompts/prompt_bart_setup: fix pattern - introduced in 25059 that broke PS1 parsing. - -2008-09-02 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 25594: Completion/Unix/Command/_git: - "git clean" cleanup. - -2008-09-01 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 25591: Completion/Unix/Command/_git: - "git remote rm" completion. - - * Mikael Magnusson: 25590: Completion/Unix/Command/_git: - update "git add" completion. - - * Frank Terbeck: 25588: Completion/Unix/Command/_git: add - --no-pager option to git completion. - -2008-09-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25587: Src/exec.c, Src/parse.c, Src/subst.c: foo==(stuff) - was mishandled owing to parse errors; mishandling it caused - a crash because of lack of care on failure of process - substitution; assignments that went through execcmd() failed - to set the status. - -2008-09-01 Clint Adams <clint@zsh.org> - - * 25585: Completion/Unix/Command/_git: fix git command completion - when there are arguments after the cursor position. - - * Frank Terbeck: 25583: Completion/Unix/Command/_git: more git - alias fixes. - -2008-09-01 Peter Stephenson <pws@csr.com> - - * 25582: Completion/Unix/Type/_path_files: use suggestion - by Bart to get automatically appearing file system entries - added by completion to respect patterns. - - * Jörg Sommer: 25572: Completion/Linux/Command/_modutils: - complete module parameters. - -2008-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25571: Src/lex.c, Src/parse.c, Test/.distfiles, - Test/C03traps.ztst, Test/C05debug.ztst: make line numbers when - parsing reflect the start of a parsed token rather than the end; - add a test and move debug trap tests to a separate file. - -2008-08-31 Clint Adams <clint@zsh.org> - - * Frank Terbeck: 25561: Completion/Unix/Command/_git: fix quoting - with aliases. - - * Mikael Magnusson: 25564: Completion/Unix/Command/_git: - suppress error output in __git_is_treeish. - -2008-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25570: Src/exec.c, Src/zsh.h, Test/C03traps.ztst: line numbers - of complex sublists were wrong, plus test; another place to make - lineno more consistent. - -2008-08-31 Andrey Borzenkov <bor@zsh.org> - - * users/13169: Src/exec.c: really restore emulation mode when - exiting shell function if 'emulate -L' has been used (actually - if LOCAL_OPTIONS has been set). Fixed problem noticed in RedHat - bug https://bugzilla.redhat.com/show_bug.cgi?id=430665#c19. - -2008-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25569: David Le Bourgeois & pws: _ant completion was broken - by sed pattern change. - - * 25568: Frank Terbeck & pws: Src/builtin.c, Test/.distfiles, - Test/A07control.ztst: break and continue arguments less than - 1 are invalid (and hard errors); add some tests for control - commands. - - * users/13162: Completion/Unix/Command/_module: strip - "~" suffix from modules. - -2008-08-30 Clint Adams <clint@zsh.org> - - * 25553: Completion/Zsh/Command/_precommand: - add aoss to compdef line. - - * Frank Terbeck: 25551: Completion/Unix/Command/_git: remove - a stray period from a description. - -2008-08-29 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 25539: Completion/Unix/Command/_git: more - 'git clone' fixes. - - * Frank Terbeck: 25538: Completion/Unix/Command/_git: add missing - backslash. - - * Frank Terbeck: 25537: Completion/Unix/Command/_git: add --abort - to options for 'git am'. - -2008-08-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25532, Src/exec.c, Test/C03traps.ztst: skipping next command - didn't work if it was an assignment or other form tagged as - "simple". - -2008-08-24 Clint Adams <clint@zsh.org> - - * 25521: Completion/Unix/Command/_git: get merge strategies from - git merge in case the administrator has added custom strategies. - -2008-08-22 Peter Stephenson <pws@csr.com> - - * 25508: Src/exec.c: set file name if function came from - dump file. - -2008-08-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Doc/Zsh/compsys.yo: doc for foregoing. - - * Alexey I. Froloff: 25459: Completion/Unix/Type/_files: add - list-dirs-first style. - -2008-08-21 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 25499: Completion/Unix/Command/_git: add - function to validate tree-ishs. - - * 25495: Completion/Unix/Command/_git: always complete cached files - after git checkout --. - - * 25493: Completion/Unix/Command/_git: allow -q to be used in all - git checkout contexts. - - * 25491: Completion/Unix/Command/_git: patch to improve - "git checkout" completion, from Mikael Magnusson. - -2008-08-19 Clint Adams <clint@zsh.org> - - * 25490: Src/zsh.h, Src/Modules/db_gdbm.c: make zties dynamic so - there can be more than one gdbm handle in use at a time. - - * 25489: Completion/Unix/Command/_git: remove cruft for "git - octopus/octupus". - - * 25488: Completion/Unix/Command/_git: patch to complete things - after "git bisect start", Mikael Magnusson. - - * 25487: Completion/Unix/Command/_git: whitespace changes from - Mikael Magnusson. - - * 25486: Completion/Unix/Command/_git: patch to allow --shared to - be completed without --local with git clone. - - * 25485: Completion/Unix/Command/_git: patch to allow --abbrev to - be completed before -v with git branch, from Mikael Magnusson. - -2008-08-18 Clint Adams <clint@zsh.org> - - * 25480: Completion/Unix/Command/_git: add more quotes to the - three _call_program invocations with git for-each-ref. - - * Mikael Magnusson: 25473: Completion/Unix/Command/_git: add - missing parenthesis. - - * unposted: Completion/Unix/Command/_git: additional git branch - options. - - * 25475: Completion/Unix/Command/_git: determine heads, tags, - and branches through git for-each-ref instead of git tag and - git branch. - -2008-08-17 Clint Adams <clint@zsh.org> - - * 25469: Completion/Unix/Command/_git: assorted changes - cherry-picked from Mikael Magnusson. - -2008-08-16 Clint Adams <clint@zsh.org> - - * 25465: Completion/Unix/Command/_git: patch from Mikael Magnusson - to add more git-add and git-checkout options. - - * unposted: Completion/Unix/Command/_git: another typo fix. - - * 25464: Completion/Unix/Command/_git: patch from Mikael Magnusson - to add --graph. - - * 25463: Completion/Unix/Command/_git: patch to add git - completion for --base/-1, --ours/-2 and --theirs/-3, from - Mikael Magnusson. - - * 25462: Completion/Unix/Command/_git: patch to add some -s -w - to _arguments and new options for revert, from Mikael Magnusson. - - * 25461: Completion/Unix/Command/_git: patch to add HEAD as - a completion for heads, from Mikael Magnusson. - - * 25460: Completion/Unix/Command/_git: patch to add the - --branches/tags/remotes for rev-list to _git from Mikael - Magnusson. - - * 25457: Completion/Unix/Command/_git: improvements for git diff - and git log from Mikael Magnusson. - - * Mikael Magnusson: 25456: Completion/Unix/Command/_git: fix typo - of "before". - - * Frank Terbeck: 25455: Completion/Unix/Command/_git: handle git - stashes. - -2008-08-14 Clint Adams <clint@zsh.org> - - * 25452: Completion/Unix/Command/_look: redirect stderr from look - to /dev/null. - -2008-08-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Test/V01zmodload.ztst: change consequent on having - a new parameter in zsh/parameter. - - * 25448: Doc/Zsh/mod_parameter.yo, Src/exec.c, Src/init.c, - Src/Modules/parameter.c, Src/zsh.h, Src/Modules/parameter.c - Src/Modules/parameter.mdd: add $funcfiletrace to show - absolute line number for caller. - -2008-08-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25443 (tweaked): Doc/Zsh/mod_parameter.yo, - Src/Modules/parameter.c, Test/V06parameter.ztst: allow - $functrace to show sourced files. - -2008-08-12 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Solaris/Command/.distfiles, - Completion/Solaris/Type/.distfiles: missed .distfiles entry. - - * 25435: Baptiste Daroussin <baptiste.daroussin@gmail.com>: - Completion/BSD/{_fetch,_freebsd-update,_portaudit,_portsnap, - _csup,_portlint,_powerd}: new and improved FreeBSD completions. - -2008-08-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Test/V06parameter.ztst: fix load directory for - module from script. - - * 25247 with further modifications: Doc/Zsh/mod_parameter.yo, - Src/exec.c, Src/hashtable.c, Src/init.c, Src/parse.c, - Src/signals.c, Src/utils.c, Src/zsh.h, Src/Modules/parameter.c, - Src/Modules/parameter.mdd, Test/.distfiles, - Test/V01zmodload.ztst, Test/V06parameter.ztst: add - $funcsourcetrace parameter to zsh/parameter. - -2008-08-11 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/builtins.yo, Doc/Zsh/func.yo: prevent various - entries looking like Yodl macros. - - * 25429: Rocky Bernstein: Test/E01options.ztst, - Test/E02xtrace.ztst: don't assume PS4 is set to the default. - -2008-08-08 Clint Adams <clint@zsh.org> - - * 25424: Chris Lamb: Completion/Debian/Command/_lintian: - completion for lintian-info. - -2008-08-07 Clint Adams <clint@zsh.org> - - * 25423: Chris Lamb: Completion/Debian/Command/.distfiles, - Completion/Debian/Command/_grep-excuses: completion for - grep-excuses. - - * 25422: Chris Lamb: Completion/Debian/Command/_apt-show-versions: - apt-show-versions completion fix. - -2008-08-07 Peter Stephenson <pws@csr.com> - - * 25418: Doc/Zsh/options.yo, Src/options.c: set PROMPT_SUBST - for all Bourne-style shells. - - * 25415: README, Doc/Zsh/builtins.yo, Doc/Zsh/func.yo, - Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, Src/init.c, - Src/options.c, Src/signals.c, Src/zsh.h, Test/A05execution.ztst, - Test/C03traps.ztst: Make DEBUG_BEFORE_CMD the default; - make ERR_EXIT ineffective in DEBUG traps but allow it to - be set to skip the next command (actually sublist); tidy - up code associated with trapreturn. - -2008-08-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25409: Doc/Zsh/builtins.yo, Src/builtin.c, Test/.distfiles, - Test/B05eval.ztst: eval shouldn't reset the status at the - start but should if the command was empty. - -2008-08-06 Peter Stephenson <pws@csr.com> - - * 25405: Src/exec.c: return value was not set from anonymous - functions. - - * 25400: Test/C03traps.ztst: Rocky's test for 25385 - -2008-08-05 Peter Stephenson <pws@csr.com> - - * 25392: Test/C03traps.ztst: test for 25367 - -2008-08-05 Barton E. Schaefer <schaefer@zsh.org> - - * 25389: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: once again - rearrange precedence of ZLS_COLORS alternatives to make complex - coloring of file names possible. - -2008-08-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Src/init.c: 25385: extend 25367 to fix another bug - with trapreturn trampling on status. - -2008-08-04 Peter Stephenson <pws@csr.com> - - * users/13095: configure.ac: we don't want that - _XOPEN_SOURCE_EXTENDED stuff on AIX, apparently. - - * 25384: Src/init.c: fix problem with autoload of zsh/zle - for warning message at boot. - - * users/13093: Src/module.c: HashNode changes didn't - get propagated to AIX-specific code. - -2008-08-02 Barton E. Schaefer <schaefer@zsh.org> - - * 25373: Src/Builtins/sched.c: fix missed ZLE entry point (see - 25347). - -2008-08-01 Peter Stephenson <pws@csr.com> - - * 25367: Src/exec.c, Src/init.c, Src/signals.c: bug with - trapreturn in a sourced file caused early return of parent; - add protection for nested traps; document trapreturn. - - * unposted: Functions/Misc/add-zsh-hook: testing for existence - of hook function when hook was already defined was broken. - - * unposted: Functions/TCP/tcp_open, Functions/TCP/tcp_sess: - improve some variable handling and standardise some indentation. - -2008-07-31 Peter Stephenson <pws@csr.com> - - * 25364: Doc/Zsh/params.yo, Src/params.c, Test/D06subscript.ztst: - (k) hash subscript didn't work due to sense of test. - - * 25345, 25347: Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c, - Src/input.c, Src/jobs.c, Src/loop.c, Src/options.c, Src/signals.c, - Src/utils.c, Src/zsh.h, Src/Zle/zle_main.c: Neaten interface - from main shell to zle to zleentry() in main shell using - single zle_entry_pointer. - -2008-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/func.yo: refer to DEBUG_BEFORE_CMD option. - -2008-07-30 Peter Stephenson <pws@csr.com> - - * Max Mikhanosha: users/13077: Completion/Unix/Type/_path_files: - fix toggling with `follow' option. - -2008-07-29 Peter Stephenson <pws@csr.com> - - * 25346: Completion/compdump: fix some variables. - - * Max Mikhanosha: users/13072: Completion/Unix/Type/_path_files: - add `follow' option to file-sort style. - -2008-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * following discussion: Src/builtin.c: change error message in - 25338. - -2008-07-25 Peter Stephenson <pws@csr.com> - - * 25338: Src/builtin.c: disallow fc editing of the current - history line which has bad effects on stack usage and temporary - files. - -2008-07-23 Clint Adams <clint@zsh.org> - - * 25330: Doc/Zsh/mod_curses.yo: fix description of - zcurses "position" (was documented as "location"). - - * 25329: Src/Modules/curses.mdd: build the curses module if - we've got any usable curses header, not just curses.h. - - * 25328: Completion/Unix/Command/_gpg: fix --recv-keys and - --send-keys to complete key IDs instead of uid email addresses. - -2008-07-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25326: Src/Zle/zle_refresh.c: don't recalculate prompt - if not redisplaying. - -2008-07-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/Modules/.distfiles: add missing files. - - * Danek Duvall: 25324: Completion/Solaris/Command/_coreadm, - Completion/Solaris/Command/_dhcpinfo, - Completion/Solaris/Command/_dumpadm, - Completion/Solaris/Command/_gcore, - Completion/Solaris/Command/_inetadm, - Completion/Solaris/Command/_pfexec, - Completion/Solaris/Command/_ptree, - Completion/Solaris/Command/_savecore, - Completion/Solaris/Command/_svcadm, - Completion/Solaris/Command/_svccfg, - Completion/Solaris/Command/_svcprop, - Completion/Solaris/Command/_svcs, - Completion/Solaris/Command/_zlogin, - Completion/Solaris/Type/_svcs_fmri, - Completion/Unix/Command/_pkg_instance, - Completion/Unix/Command/_pkgadd, - Completion/Unix/Command/_pkginfo, - Completion/Unix/Command/_pkgrm, Completion/Unix/Command/_zfs, - Completion/Unix/Command/_zpool, - Completion/Unix/Type/_zfs_dataset, - Completion/Unix/Type/_zfs_pool: new completions. - -2008-07-21 Clint Adams <clint@zsh.org> - - * 25322: Src/Modules/db_gdbm.c: fix printing of keys. - - * 25321: Src/Modules/db_gdbm.c: delete gdbm node when - corresponding hash entry is unset. - - * 25320: Src/Modules/db_gdbm.c: fix read and write of elements - by key. - - * 25319: Src/Modules/db_gdbm.c: fix zuntie, add -f option - to ztie. - -2008-07-20 Clint Adams <clint@zsh.org> - - * 25318: Src/Modules/db_gdbm.c, Src/Modules/db_gdbm.mdd, - configure.ac: allow parameter to be tied to a gdbm database. - -2008-07-18 Peter Stephenson <pws@csr.com> - - * 25304: Richard Hartmann: Functions/Newuser/zsh-newuser-install: - don't go beyond 80 columns. - -2008-07-17 Peter Stephenson <pws@csr.com> - - * 25279: Doc/Zsh/func.yo, Functions/Misc/add-zsh-hook, - Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c, Src/utils.c, - Src/Zle/zle_main.c: add zshaddhistory hook to allow manipulations - when history line is saved. - -2008-07-15 Peter Stephenson <pws@csr.com> - - * users/13036: Src/utils.c: "." is a valid character in - a user name. - -2008-07-14 Peter Stephenson <pws@csr.com> - - * 25278: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, - Doc/Zsh/compwid.yo, Doc/Zsh/manual.yo: rename sections in the - completion widget manual to avoid confusion with sections - elsewhere. - -2008-07-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Phil Pennock: 25275: Completion/Base/Utility/_store_cache, - StartupFiles/zshrc: restrict permissions on cache directories - and use zstat in example zshrc. - - * Phil Pennock: 25276: - Completion/Darwin/Type/_retrieve_mac_apps, - Completion/Unix/Command/_baz, Completion/Unix/Command/_darcs, - Completion/Unix/Command/_tar, Completion/Unix/Command/_tla, - Completion/Zsh/Command/_zftp, Functions/Misc/sticky-note, - Functions/Misc/tetris, Functions/Misc/xtermctl, - Functions/Misc/zed, 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, Functions/Zle/edit-command-line, - Functions/Zle/history-beginning-search-menu, - Functions/Zle/incarg, Functions/Zle/modify-current-argument, - Functions/Zle/narrow-to-region-invisible, - Functions/Zle/predict-on, Functions/Zle/quote-and-complete-word, - Functions/Zle/transpose-words-match, - Functions/Zle/url-quote-magic, StartupFiles/zshrc: - use autoload -z to load zsh functions. - -2008-07-07 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Zle/copy-earlier-word: avoid - warnings from WARN_CREATE_GLOBAL. - - * 25269: Frank Terbeck: Src/Zle/compcore.c - -2008-07-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25267: Src/Zle/compcore.c: Fix problem that menu completion - wasn't automatically started on a pattern match if matching - was done by the calling function. - -2008-07-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25266: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: always use - EXTENDED_GLOB for patterns in ZLS_COLORS. - -2008-07-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25262: Src/parse.c: suspicious attempt to test errors - when parsing command within braceless function. - -2008-07-01 Peter Stephenson <pws@csr.com> - - * 25259: Src/utils.c: make getquery() handle unhandled characters - better. - -2008-06-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25258: Completion/Unix/Type/_path_files: don't - use -M option with -U. - -2008-06-30 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Calendar/calendar_scandate: unlocalised - variable spotted with warncreateglobal. - - * 25255: Doc/Zsh/func.yo, Src/exec.c, Test/C04funcdef.ztst: - anonymous functions using "() { ... }" and "function { ... }". - -2008-06-24 Clint Adams <clint@zsh.org> - - * 25243: Completion/X/Command/_xrandr: patch from Chris Lamb to add - --same-as for xrandr. - -2008-06-24 Peter Stephenson <pws@csr.com> - - * 25244: Doc/Zsh/contrib.yo, Functions/Zle/match-words-by-style, - Functions/Zle/modify-current-argument, - Functions/Zle/split-shell-arguments: enhance users/12987 with - style for subword start and fix a few bits of documentation. - - * users/12985, users/12986, users/12988: Tomasz Pala: - Completion/Linux/Command/_ethtool, - Completion/Linux/Command/_ipset, Completion/Unix/Command/_arp: - new and updated completions. - - * users/12987: Doc/Zsh/contrib.yo, - Functions/Zle/match-words-by-style, - Functions/Zle/select-word-style: add subword matching to - word-style capabilities. - - * 25242: Mikael: Doc/Zsh/prompt.yo, Src/prompt.c: add V prompt - test for contents of psvar. - -2008-06-23 Peter Stephenson <pws@csr.com> - - * 25237: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_open: make - tcp_on_open return status significant. - - * 25236: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-setup: - zsh-mime-setup -l can take suffix arguments. - -2008-06-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25231: Completion/Unix/Type/_path_files: fix approximation - of absolute paths in root directory (/uzr -> /usr, etc.). - -2008-06-19 Peter Stephenson <pws@csr.com> - - * 25214, tweaked: add warning about exponentitation precedence. - -2008-06-16 Clint Adams <clint@zsh.org> - - * 25167: Src/system.h: patch from Petr Salinger to define - _GNU_SOURCE (for /dev/ptmx) when glibc is being used on - non-linux platforms. - -2008-06-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Bart: 25164: Doc/Zsh/expn.yo: typo. - - * 25159: Doc/Zsh/compwid.yo: expand documentation for - correspondence classes with [:...:]. - -2008-06-13 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Zsh/Context/_zcalc_line, - Functions/Misc/zcalc: handle completion idiosyncracies when - completing in the same word as ":!". - - * 25152: Completion/Zsh/Context/{.distfiles,_zcalc_line} - (moved from Type because this is where it should be), - Doc/Zsh/contrib.yo, Functions/Misc/zcalc: improved zcalc - escape commands with ":" including ":!" and ":raw"; more complete - zcalc completion with special context. - - * unposted: Completion/{Unix,Linux}/Command/{strace,.distfiles}: move - - * users/12911: Tomasz Pala <gotar@polanet.pl>: - Completion/Unix/Command/_strace, - Completion/Unix/Command/.distfiles: new completion - -2008-06-12 Peter Stephenson <pws@csr.com> - - * 25149: Doc/Zsh/arith.yo, Doc/Zsh/options.yo, Src/math.c, - Src/options.c, Src/zsh.h, Test/C01arith.ztst: add - C_PRECEDENCES option to make arithmetic operators have - C (or, where necessary, Perl) precedences. - -2008-06-11 Peter Stephenson <pws@csr.com> - - * 25145: Src/exec.c, Test/E02xtrace.ztst: make sure XTRACE output - follows stderr redirections. - - * 25143: Mikael: Doc/Zsh/mod_zprof.yo: missing descendants. - -2008-06-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael: 25146: Src/Zle/compmatch.c: - pattern_match_equivalence() needs to be exported. - -2008-06-10 Peter Stephenson <pws@csr.com> - - * 25144: Src/builtin.c, Src/math.c, Src/utils.c plus unposted - C01arith.ztst: report the supported bases on a base error. - - * 25143: Mikael: Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo, - Doc/Zsh/compsys.yo, Doc/Zsh/func.yo, Doc/Zsh/grammar.yo, - Doc/Zsh/mod_pref.yo, Doc/Zsh/options.yo, Doc/Zsh/zle.yo: - spelling corrections. - -2008-06-09 Peter Stephenson <pws@csr.com> - - * unposted: Src/Zle/compmatch.c: silence compiler (has no - other effect). - -2008-06-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25139: Completion/compinstall, Doc/Zsh/compwid.yo, - Src/pattern.c, Src/zsh.h, Src/Zle/comp.h, Src/Zle/complete.c, - Src/Zle/compmatch.c, Src/Zle/computil.c: enhance completion - matching to make it possible to use wide characters (not yet - done); also allows named character ranges, so that - {[:lower:]}={[:upper:]} works (for now, just for single-byte - character sets). - -2008-06-05 Doug Kearns <dougkearns@gmail.com> - - * unposted: Completion/Redhat/Command/_rpm: fix typo - -2008-06-04 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/.distfiles: missing files. - - * unposted: Completion/Unix/Type/_path_files: another typo. - - * 25130 slightly tweaked for typos: - Completion/Unix/Type/_path_files: changes to use -U flag - to compadd so that spelling corrections in non-final - path segments are accepted. - -2008-06-03 Peter Stephenson <pws@csr.com> - - * 25132: Completion/Zsh/Command/_zstyle: numerous still - highly incomplete updates. - - * 25131: Completion/Unix/Command/_chmod, - Completion/Unix/Command/_chown, Completion/Unix/Command/_cvs, - Completion/Unix/Type/_list_files, - Completion/Zsh/Type/_file_descriptors: need b:zstat to - get zstat with zmodload -F zsh/stat. - -2008-06-02 Peter Stephenson <pws@csr.com> - - * users/12858: Doc/Zsh/compsys.yo: this bit didn't - get committed. - -2008-06-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25127: README: note the changes in 25122, 25124 and 25126 as - an incompatibility. - -2008-06-01 Clint Adams <clint@zsh.org> - - * 25124, 25126: INSTALL, MACHINES, configure.ac, Src/zsh.h: work - with --(disable|enable)-largefile instead of --(disable|enable)-lfs, - since the latter is no longer functional. - -2008-05-31 Clint Adams <clint@zsh.org> - - * 25122: aczsh.m4, configure.ac: use AC_SYS_LARGEFILE for better - LFS detection. - -2008-05-29 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_fd_handler: - add tcp_on_awol. - - * Tomasz Pala <gotar@polanet.pl>: users/12884: - Completion/Unix/Command/{iftop,tcpdump}: new completions - -2008-05-27 Peter Stephenson <pws@csr.com> - - * users/12870: Doc/Zsh/expn.yo: modifiers in glob qualifiers - activate global globbing behaviour. - - * unposted: NEWS: note prompt colour, accept-exact-dirs. - -2008-05-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 25104; 25111 (Jun T): Completion/Unix/Command/_locate: better - handling of multiple versions of locate. - -2008-05-20 Clint Adams <clint@zsh.org> - - * 25077: Completion/Unix/Command/_gnupod: consolidation of GNUpod - script completion from Omari Norman in 25075. - -2008-05-20 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Prompts/.distfiles: add prompt_pws_setup. - -2008-05-19 Peter Stephenson <pws@csr.com> - - * unposted: Completion/compinit: typo in 25068. - -2008-05-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/12858: Doc/Zsh/compsys.yo, - Completion/Unix/Type/_path_files: add accept-exact-dirs style. - - * unposted: Completion/compinit: fix unwanted output from - typeset. - - * 25068: Completion/compinit: fix some warnings with - WARN_CREATE_GLOBAL. - - * 25063: Functions/Prompts/prompt_bart_setup: minor - tweaks. - - * Mikael: 25054: Doc/Zsh/prompt.yo: typo. - -2008-05-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/utils.c: unused variable in 25057. - - * 25059: Functions/Misc/add-zsh-hook and virtually every - function under Functions/Prompts, also new - Functions/Prompts/pws, also unposted addition to - Doc/Zsh/contrib.yo: thorough modernization of the prompt - theme system to use current shell facilities better. - - * 25057: Src/mem.c, Src/utils.c: better debug info for memory - errors. - - * 25055: Src/pattern.c: remove unnecessary debug test. - -2008-05-16 Peter Stephenson <pws@csr.com> - - * 25052: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, - Doc/Zsh/mod_complist.yo, Doc/Zsh/prompt.yo: update some - documentation for use of colour highlighting. - - * unposted: Etc/CONTRIBUTORS: update main shell list; still - need to update list for functions. - - * 25051: Src/prompt.c, Src/complist.c, Src/zle_tricky.c: - add %F, %K, %f, %k handling to formatting strings for completion. - -2008-05-15 Peter Stephenson <pws@csr.com> - - * 25040: Src/builtin.c, Src/utils.c, Src/Modules/zpty.c: - zpty should display context information more like eval. - -2008-05-14 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: also p4 sizes, - p4 license. - - * unposted: Completion/Unix/Command/_perforce: handle - p4 protects. - - * 25025: Doc/Zsh/builtins.yo, Src/builtin.c, Src/math.c, - Src/utils.c: more checks to ensure radix for arithmetic - constants is between 2 and 36 inclusive. - -2008-05-13 Peter Stephenson <pws@csr.com> - - * 25018: Omari Norman: Completion/Unix/Command/{_awk,_cut,_join}: - new completions. - - * unposted: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: comment - on aliases. - -2008-05-12 Peter Stephenson <pws@csr.com> - - * 25006, 25009: Src/Zle/complist.c: do "or" symlink orphan - highlighting; make stat-ed file types take precedence over - extensions and patterns. - - * 25002: Src/builtin.c, Src/init.c, Src/input.c, Src/loop.c, - Src/prompt.c, Src/subst.c, Src/utils.c, Src/zsh.h, - Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: only update - display attributes from prompts within zle. - -2008-05-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24996: Src/cond.c, Src/exec.c, Src/glob.c, Src/loop.c, - Src/zsh.h: improve xtrace output for patterns. - - * users/12848: Test/A01grammar.ztst, Src/loops.c: return, break - and continue are allowed in "always" block and will override - try block if set. - - * 24994: Src/Zle/zle_hist.c: Fix problem with - up/down-line-or-search comparison, perhaps. - - * 24990: Stephane Chazelas: Functions/Misc/zmv: fix - various little quirks in zmv. - -2008-05-09 Peter Stephenson <pws@csr.com> - - * 24986: Doc/Zsh/prompt.yo, Doc/Zsh/zle.yo, Src/init.c, - Src/prompt.c, Src/watch.c, Src/zsh.h, Src/Zle/zle_refresh.c: - prompt escapes for colouring. - - * users/12846: Etc/FAQ.yo: not so many Windows ports, these days. - -2008-05-08 Peter Stephenson <pws@csr.com> - - * unposted: Src/modules.c: bad arguments to error message. - - * 24980: Doc/Zsh/builtins.yo, Src/builtin.c, Src/module.c, - Src/zsh.h: add zmodload -mF to manipulate features by pattern. - - * 24972: Phil Pennock: Doc/Zsh/mod_files.yo, Src/Modules/files.c, - Src/Modules/files.mdd: Add zf_* commands for zsh/files modules - plus a few extra options. - -2008-05-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24962: Oliver: Functions/Prompts/prompt_oliver_setup: - update to use zle_highlight default highlighting. - -2008-05-07 Peter Stephenson <pws@csr.com> - - * 24959: Src/Zle/compresult.c: ^D's in compctl could cause a - crash. - -2008-05-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24957: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c: better sanity - checking of colour ranges, always use termcap for numeric - colours where available. - - * 24911 (tweaked): Doc/Zsh/zle.yo: missed this bit, somehow. - -2008-05-06 Peter Stephenson <pws@csr.com> - - * 24953: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c: - "default" zle_highlight context, also fix allocation bug with - 24899. - -2008-05-06 Clint Adams <clint@zsh.org> - - * 24947: Completion/X/Command/_mozilla: complete -safe-mode for - firefox. - -2008-05-06 Peter Stephenson <pws@csr.com> - - * 24951: Doc/Zsh/mod_complist, Src/Zle/comp.h, Src/Zle/compcore.c, - Src/Zle/complist.c: implement ZLS_COLORS ln=target. - - * 24937, 24938: Dag-Erling Smørgrav <des@des.no>: configure.ac: - improved version of 24927. - - * 24932: Src/zsh.h, Src/Zle/zle_refresh.c: try to regularize - code that fixes up after right prompt. - - * 24927: Phil Pennock: configure.ac: Free BSD only doesn't need - _XOPEN_SOURCE_EXTENDED on Free BSD 6. - -2008-05-04 Wayne Davison <wayned@users.sourceforge.net> - - * 24831 plus changes: Src/hist.c: simplified fcntl() locking. - - * unposted: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: fixed - signed/unsigned warnings, including an always true "if". - -2008-05-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Mikael Magnusson: 24911 (tweaked): Doc/Zsh/zle.yo, - Src/Zle/zle_params.c: REGION_ACTIVE zle parameter. - - * Phil Pennock: 24904 + 24916: configure.ac, Src/system.h: don't - define _XOPEN_SOURCE_EXTENDED on freebsd, either, not even - if the standard says we need it for wcwidth(). - - * 24915: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c, - Src/Zle/zle_move.c, Src/Zle/zle_vi.c: some more fix-ups for - combining characters. - -2008-05-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/12815: Src/jobs.c, Src/signals.c, Src/zsh.h: - fix bug that a previously defunct process could be taken as a - recently terminated process that needed marking as done, hence - causing the shell to wait for ever for the newly exited process. - -2008-05-01 Peter Stephenson <pws@csr.com> - - * 24900: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c: add - backward-kill-word to delete previous character immediately - in isearch and document the isearch commands better. - - * 24899: Doc/Zsh/zle.yo, Src/Zle/zle_main.c, - Src/Zle/zle_refresh.c: make colour escape sequences configurable - and allow ANSI colour names. - -2008-04-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24895: Matt Wozniski: Doc/Zsh/zle.yo: typo. - - * unposted: Src/glob.c: oops. - -2008-04-29 Peter Stephenson <pws@csr.com> - - * 24894: Doc/Zsh/zle.yo, Src/init.c, Src/zsh.h, - Src/Zle/zle_refresh.c: enable colouring of highlighted text - in editor. - - * 24893: Src/Zle/zle_refresh.c: duplicate statusline to avoid - crashes when it's passed from a constant string. - -2008-04-28 Peter Stephenson <pws@csr.com> - - * unposted: Src/Zle/zle_hist.c: when anchoring a pattern - isearch to the start of the line the search line wasn't - reset on new input so when the first match of the new pattern - was earlier than that of the old pattern we skipped it. - - * unposted: Src/Zle/zle_hist.c: more tweaks for failures with - isearch pattern matching. - - * 24890: Matt Wozniski: Src/Zle/zle_hist.c: skip_pos was - staying set causing random failures on backtracking in isearch. - - * 24887: Geoff: Src/glob.c: typo. - -2008-04-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24886: Src/Zle/zle_hist.c: using unupdated pos to set end_pos - in string isearch could cause endless loop. - -2008-04-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: NEWS: note that COMBINING_CHARS is not on by - default. - - * 24882: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c: - highlighting of incremental search match. - - * unposted because everyone's seen enough of my mistakes: - Src/pattern.c, Src/Zle/zle_hist.c: with pattern matching the - end position of the match wasn't calculated; we used the - length of the uncompiled pattern which often had nothing - to do with it. This made the position on forward pattern - searching wrong. - - * 24881: Src/Zle/zle_hist.c: we kept feeping on an invalid - pattern; once is quite enough. - - * 24880: Src/Zle/zle_hist.c: feeping on a failed match could - be mistimed. - - * 24879: Src/Zle/zle_hist.c: nastiness with pattern search - and duplicate line detection. - - * 24878: NEWS, Doc/Zsh/zle.yo, Src/glob.c, Src/pattern.c, - Src/zsh.h, Src/Zle/iwidgets.list, Src/Zle/zle_hist.c: - add history-incremental-pattern-search-backward and - history-incremental-pattern-search-forward, also optimize - history searches a bit more. - - * 24876: don't install manual pages if empty. - - * 24872: Jun T.: Fix capitalization with combining characters. - - * 24869: Marc Chantreux: configure.ac, Src/init.c: make default - readnullcmd configurable. - -2008-04-24 Peter Stephenson <pws@csr.com> - - * unposted: Jun T.: Src/Zle/zle_utils.c: backkill() in raw - mode didn't correctly calculate the number of characters to - kill. - -2008-04-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/Zle/zle_misc.c: overwrite mode without - MULTIBYTE_SUPPORT should be as before. - -2008-04-23 Peter Stephenson <pws@csr.com> - - * 24867: Src/system.h: looks like we need _XOPEN_SOURCE_EXTENDED - instead of just _XOPEN_SOURCE. - - * 24865: Src/zle_vi.c: bad character adjustment in - vireplacechars(). - - * 24864: Jun T.: configure.ac, Src/zsh.h: typos in 24861. - -2008-04-22 Peter Stephenson <pws@csr.com> - - * 24862: Src/system.h: #define _XOPEN_SOURCE if needed to - get wcwidth(). - - * 24861: configure.ac, Src/builtin.c, Src/compat.c, Src/prompt.c, - Src/utils.c, Src/zsh.h, Src/zle/complist.c, Src/Zle/zle_misc.c - (slightly rewritten), Src/zle/zle_refresh.c, Src/Zle/zle_tricky.c: - use alternative wcwidth() if configure suggests the library - version is returning non-zero when it shouldn't; also improve the - overwriting test for combining characters. - -2008-04-21 Peter Stephenson <pws@csr.com> - - * 24860: Src/Zle/zle_misc.c, Src/Zle/zle_utils.c: better - overwrite mode. - - * 24859: Src/Zle/zle_misc.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c: - overwriting combining characters and replacing them and appending - after them in vi mode. - - * 24856: Src/utils.c, Src/zsh.h, Src/Zle/zle_move.c, - Src/Zle/zle_refresh.c: use IS_COMBINING() and IS_BASECHAR() - tests for combining characters. Widen definitions of characters - to least restrictive we think are likely to work. - - * 24855: Src/Zle/zle_utils.c: tests for combining char aligments - should only be on metafied command line. - - * unposted: Src/Zle/zle_move.c: missing assignment in new - backwardmetafiedchar(). - -2008-04-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24853: Src/utils.c, Src/zsh.h, 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_refresh.c, - Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, - Src/Zle/zle_word.c: use metafied strings for inner loops - involving history, with consequent changes for similar code - such as execute-name-command, plus some utility functions. - - * 24852: Src/zle_main.c (Jun T.), Src/Zle/zle_vi.c: more - combining chars fallout. - - * users/12798: Etc/zsh-development-guide: passing NULL flags - to builtin definition. - - * users/12793: William Scott: Completion/BSD/Command/_chflags: - hidden/nohidden flags. - -2008-04-20 Andrey Borzenkov <bor@zsh.org> - - * 24851: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: support - colour codes for from current GNU ls - -2008-04-18 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Zle/zle_refresh.c: fixed compiler warnings - about signed/unsigned issues. - -2008-04-18 Peter Stephenson <pws@csr.com> - - * 24839: Src/Zle/zle_word.c: misuse of variable in 24825. - -2008-04-17 Peter Stephenson <pws@csr.com> - - * 24829: Jun T.: Src/Zle/zle_vi.c: vi-replace-chars got broken - in the crossfire. - - * 24825: Src/utils.c, Src/Zle/zle_word.c: fix internal - word-boundary widgets and make zero-width punctuation - characters always part of a word. - - * unposted: NEWS: list new features so far since 4.3.6. - - * Vincent Lefevre: 24818: Doc/Zsh/options.yo (modified), - Src/hist.c (with #ifdef HAVE_FTRUNCATE), Src/options.c, Src/zsh.h: - history file locking using fcntl(). - -2008-04-16 Clint Adams <clint@zsh.org> - - * 24823: Completion/Unix/Command/_git: some fixes and updates for - git 1.5.5. - -2008-04-16 Peter Stephenson <pws@csr.com> - - * 24821: Etc/FAQ.yo, Src/Zle/zle_main.c: updated notes plus - fix cursor position with combining characters after exit - from a user-defined widget. - -2008-04-15 Peter Stephenson <pws@csr.com> - - * 24819: Src/Zle/zle.h, Src/Zle/zle_misc.c, Src/Zle/zle_move.c, - Src/Zle/zle_utils.c: need to fix up combining character aligment - in case of sneaky combination generation; fix transposing - characters. - -2008-04-14 Peter Stephenson <pws@csr.com> - - * 24816: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c, - Src/Zle/zle_tricky.c: a few places where we need to alight - with combining characters. - - * 24814: Src/hist.c: suspicious handling of temporary history - buffer. - - * 24811: Doc/Zsh/roadmap.yo, Etc/FAQ.yo: update introductory - documentation on multibyte support. - - * 24810 (slightly edited to move added text later): - Src/Zle/zle_tricky.c: after unmetafying the command line ensure - we're not on a combining character. - -2008-04-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24808: Doc/Zsh/options.yo, Src/options.c, Src/utils.c, Src/zsh.h, - Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/compresult.c, - Src/Zle/deltochar.c, Src/Zle/zle.h, Src/Zle/zle_hist.c, - Src/Zle/zle_misc.c, Src/Zle/zle_move.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: add COMBINING_CHARS option and basic - zle support. - - * Miek Gieben: users/12781: Functions/Misc/zmv: too many - backslashes in Usage message. - -2008-04-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Frank Terbeck: 24807: Completion/compint: Completion system - needs no_ignore_braces option. - -2008-04-11 Peter Stephenson <pws@csr.com> - - * unposted: Src/zle_hist.c, Src/zle_utils.c: move zlecmp() and - zlefind() unaltered into zle_hist.c as statics in preparation - for surgery on the zle_text interface. (You should see the - waiting list for surgery, though.) - -2008-04-09 Peter Stephenson <pws@csr.com> - - * 24806: Doc/Zsh/params.yo, Completion/Zsh/Context/_subscript: fix - typos, completing of * and @. - - * 24804: Completion/Zsh/Context/_subscript: quoting of - associative array keys for subscripts was wrong. - -2008-04-07 Clint Adams <clint@zsh.org> - - * Markus Waldeck: 24799: Completion/Unix/Command/_vorbis: - complete .spx files for ogg123. - -2008-04-07 Peter Stephenson <pws@csr.com> - - * 24797: Doc/Zsh/zle.yo, Functions/Zle/read-from-minibuffer: - document POSTDISPLAY highlighting; restore read-from-minibuffer - save/restore mechanism using variables to avoid problems with - not restoring special ZLE variables when they go out of scope. - -2008-04-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * İsmail Dönmez <ismail@namtrac.org>: 24793: Doc/Zsh/zle.yo: - typo. - -2008-04-04 Peter Stephenson <pws@csr.com> - - * 24792: Src/Zle/zle_refresh.c: try to be safer about turning - off attributes when outputting at a new position. - - * c.f Mikael, 24790: Doc/Zsh/zle.yo: item()s need closing - parentheses on next line. - -2008-04-04 Clint Adams <clint@zsh.org> - - * 24789: Completion/Unix/Command/_stgit: completion for - stg subcommands. - -2008-04-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24788: Doc/Zsh/expn.yo, Src/subst.c: ${(m)#...} returns - string print width. - -2008-04-03 Peter Stephenson <pws@csr.com> - - * 24787: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: reset - region_highlight when finished editing command line. - - * 24786: 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: - handle read -t properly in zle by passing down timeout - to getbyte(). - - * 24782, plus a couple of fixes: Doc/Zsh/zle.yo, - Functions/Zle/read-from-minibuffer, - Functions/Zle/replace-string-again, Src/zsh.h, Src/Zle/zle.h, - Src/Zle/zle_main.c, Src/Zle/zle_move.c, Src/Zle/zle_params.c, - Src/Zle/zle_refresh.c: initial go at highlighting of command - lines in zle using $zle_highlight and $region_highlight. - - * unposted, see users/12758: actually, [(w)...] does work with - (r) and (R). - -2008-04-02 Peter Stephenson <pws@csr.com> - - * users/12754: Doc/Zsh/params.yo: [(w)...] doesn't work with (i), - (I), (r), (R). - - * unposted: update version to 4.3.6-dev-0 to avoid clash with - released version. - - * 24781: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context: - make word-context style more useful by using previous or next word - depending on widget name. - - * unposted: README: minor tweaks. - - * unposted: NEWS, Config/version.mk: Release 4.3.6. - -2008-04-01 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo: need tt(--) -> - tt(-)tt(-). Plus other minor typos. - - * unposted: (spotted by Ismail): Doc/Zsh/compsys.yo: typo. - -2008-03-31 Peter Stephenson <pws@csr.com> - - * unposted: README, Config/version.mk, Etc/.distfiles, Etc/FAQ.yo, - Etc/relnote{,s}_4.3.6.txt: 4.3.5-dev-4 and renumber for - 4.3.6. - - * unposted: Functions/Calendar/calendar_show: if in KDE, - use kdialog rather than xmessage. - -2008-03-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24708: Misc/globtests, Src/pattern.c, Test/D02glob.ztst: - (#c) extended globbing flag didn't backtrack properly on - failure of the remaining pattern after the repeated pattern. - -2008-03-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24777: Src/Zle/complist.c: bug clearing a list when - exiting from menu selection in some circumstances (see - 24756 for test case). - -2008-03-28 Peter Stephenson <pws@csr.com> - - * 24776: Completion/compinit: clarify the message printed - when compaudit finds problems. - - * 24775: Completion/Zsh/Command/_cd, Doc/Zsh/compsys.yo: improve - option handling. - - * users/12739: configure.ac: multiple arguments to --with-term-lib - weren't handled properly. - - * 24768: Completion/Unix/Type/_canonical_paths, - Doc/Zsh/builtins.yo, Etc/relnotes_4.3.6.txt, Src/builtin.c: - add -q option to cd, chdir, pushd, popd; use in _canonical_paths; - document in release note. - -2008-03-27 Peter Stephenson <pws@csr.com> - - * 24759: Completion/Unix/Type/_canonical_paths: unfunction - is noisy if function wasn't set. Also sanitize use of - helper functions. - - * 24757: Completion/Unix/Type/_canonical_paths: use - CHASE_LINKS and pwd to canonicalize the directory path. - - * unposted: fix alias test in 24736 properly by replacing - "foo" everywhere. - -2008-03-26 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: 4.3.5-dev-3. - - * 25753 (after various previous attempts): - Completion/Unix/Type/_canonical_paths: use zstat to find - canonical name for symbolic links. - - * c.f. 24741: Doc/Zsh/mod_stat.yo: loading zstat builtin was - misdocumented. - - * 24736: Test/A02alias.ztst, Test/D07multibyte.ztst: - tests failing with "foo" in the path and with inscrutable - numeric sorting with NUMERIC_GLOB_SORT unset. - - * unposted: Config/version.mk: 4.3.5-dev-2. - -2008-03-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24733: Src/jobs.c: wait shouldn't return immediately on - a signal unless it's trapped (bug in 22281). - - * 24732: Src/Builtins/sched.c: not enough space for ztrftime - string with multibyte characters. - - * 24731: Doc/Zsh/params.yo, Src/params.c, Src/pattern.c, - Test/D04parameter.ztst: use [(e)...] parameter flag to quote - pattern characters, also fix bug that optimization of matches - with no pattern characters didnʼt work for multibyte matching. - -2008-03-23 Clint Adams <clint@zsh.org> - - * 24730: Completion/Unix/Command/_git: use --no-color when - calling git commands that might output color codes. - -2008-03-22 Clint Adams <clint@zsh.org> - - * 24728: Completion/Debian/Command/_aptitude: complete for - aptitude why and why-not. - -2008-03-22 Barton E. Schaefer <schaefer@zsh.org> - - * unposted: Doc/Zsh/params.yo: further documentation tweak for the - (R) and (I) subscript flags. - -2008-03-18 Barton E. Schaefer <schaefer@zsh.org> - - * unposted: Doc/Zsh/params.yo: tweak documentation for the (i) and - (I) subscript flags. - - * 24717, 24718, 24719: Completion/compinstall, Src/params.c, - Test/D06subscript.ztst: a 0 subscript is neither valid nor - equivalent to 1 any longer, so the (i) subscript flag on an empty - array needs to yield 1 as it probably always should have. - -2008-03-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Completion/Unix/Command/.distfiles, - Completion/Zsh/Type/.distfiles, Etc/.distfiles, Src/.cvsignore: - fix distribution files. - - * unposted: Config/version.mk: zsh-4.3.5-dev-1. - -2008-03-14 Barton E. Schaefer <schaefer@zsh.org> - - * unposted (see 24709): Functions/Misc/zkbd: add -h to local - declaration in is-this-a-function test. Use $DISPLAY when we - have one instead of only $VENDOR-$OSTYPE as file name suffix. - Add some knowledge of the MULTIBYTE option and its effects. - -2008-03-14 Peter Stephenson <pws@csr.com> - - * 24712: Src/utils.c: handling of backticks when being requoted - for use inside double quotes had off-by-one error. - - * 24711: Src/parse.c, Src/text.c, Src/zsh.h, - Test/A04redirect.ztst: fix re-presentation of here-documents - munged internally to here-strings. - -2008-03-13 Peter Stephenson <pws@csr.com> - - * 24705: configure.ac, Config/defs.mk.in, Src/zsh.mdd, - Src/Modules/curses.c, Src/Modules/termcap.c, - Src/Modules/terminfo.c: rationalise curses and term headers - some more and add intermediate generated <build>/Src/zshcurses.h - and <build>/Src/zshterm.h to include the right ones. - -2008-03-12 Clint Adams <clint@zsh.org> - - * 24704: Completion/Unix/Command/_calendar: completion for BSD - calendar. - -2008-03-11 Barton E. Schaefer <schaefer@zsh.org> - - * 24703: Src/Zle/zle_main.c: clear trashedzle when first starting - the editor in zleread(), so that reexpandprompt() from the first - zrefresh() won't expand the prompt an extra time. - -2008-03-11 Peter Stephenson <pws@csr.com> - - * unposted: Src/hist.c: make test in 24699 for the extra - space safer. - -2008-03-09 Clint Adams <clint@zsh.org> - - * 24701, 24702: Completion/Unix/Command/_git: use $service instead of - $words[1] so completion will work if git is an alias to a wrapper. - -2008-03-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24699: Src/hist.c, Src/input.c, Src/lex.c, - Test/D04parameter.ztst: fix two bugs in the hacked up parsing - of strings for parameter substitution: ${(Q)...} lost an initial - ">" and ${(z)...} on a string with an opening parenthesis but - no closing parenthesis appended an extra space. - -2008-03-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/12699: Src/Zle/computil.c: don't complete normal - arguments where we're completing the required argument - to an option in the word following the option. - -2008-03-07 Peter Stephenson <pws@csr.com> - - * Richard Hartmann: 24631: Completion/Unix/Command/_gpg: update. - - * 24696: Doc/Zsh/options.yo, Src/options.c: turn off MULTIBYTE - by default in sh emulation. - -2008-03-06 Wayne Davison <wayned@users.sourceforge.net> - - * 24693: Src/utils.c: provide better errors when skipping - history-file saving due to ownership. Allow root to do the - save anyway if zsh can chown a file descriptor. Fixed the - propagation of the errno from a failed open() of the history - file (zsh used to complain about an invalid file descriptor). - - * unposted: Src/Zle/zle_utils.c: fixed 2 compiler warnings - about comparing signed and unsigned. - -2008-03-04 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: ignore range - limiters >, >=, =, <, <= after @ in labels and dates, too. - -2008-03-03 Peter Stephenson <pws@csr.com> - - * 24673: Test/D07multibyte.ztst: another attempt to sort - characters the same way on multiple UTF-8 implementations. - - * 24662: River Tarnell <river@wikimedia.org>: configure.ac, - Src/compat.c: strtoul() when not in system library. - -2008-03-02 Barton E. Schaefer <schaefer@zsh.org> - - * 24653, 24659: Completion/Unix/Type/_path_commands: use a - helper function to call "whatis" portably, and use compadd -O - to pre-filter matches before reading $_command_descriptions. - -2008-03-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24656: Src/builtin.c: fix cd overeagerness to find integers - after "-" and "+". - -2008-03-01 Clint Adams <clint@zsh.org> - - * 24650: Completion/Unix/Type/_path_commands: use zstyle -t instead - of -T since extra-verbose isn't meant to default to yes. - -2008-02-29 Clint Adams <clint@zsh.org> +2012-11-12 Oliver Kiddle <opk@zsh.org> - * 24632: Completion/Unix/Command/_rsync: fix remote ssh filename - quoting. + * 30795: Completion/Unix/Command/_xz, + Completion/Unix/Command/_bzip2: new xz completion, new bzip2 options -2008-02-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + * 30794: Completion/Unix/Command/_irssi, + Completion/Unix/Command/_mutt: update for new options - * 24627: Src/Zsh/complist.c: fix(?) crash when resizing window - during menu-select. +2012-11-11 Oliver Kiddle <opk@zsh.org> -2008-02-28 Clint Adams <clint@zsh.org> + * 30793: Completion/Unix/Command/_getent, + Completion/Unix/Command/_iconv, Completion/Unix/Command/_ldd: + account for eglibc in _pick_variant patterns - * 24626: Completion/Unix/Type/_path_commands, Doc/Zsh/compsys.yo: - only process command descriptions if extra-verbose style is set. +2012-11-08 Bart Schaefer <schaefer@zsh.org> - * 24622: Completion/Unix/Command/_git: add completion for - 'git bisect skip' and 'git bisect run'. + * 30786: Src/builtin.c: do not enter interactive history editing + or command execution if "fc" is called from a ZLE widget. -2008-02-27 Peter Stephenson <p.w.stephenson@ntlworld.com> +2012-11-08 Peter Stephenson <pws@csr.com> - * 24618: Test/D07multibyte.ztst: use "sort" to avoid making - assumptions about sorting of UTF-8 files. + * 30783: Src/lex.c: we don't want leading "="'s to be active when + tokenising strings that aren't going to be treated as command + line arguments. -2008-02-27 Clint Adams <clint@zsh.org> + * 30780: Doc/Zsh/builds.yo: document that set -o failures are + hard but setopt failures are soft. - * 24617: Doc/Makefile.in: add '.' to the yodl include path - for when files are passed as ../../Doc/*.yo. +2012-11-07 Oliver Kiddle <opk@zsh.org> -2008-02-27 Peter Stephenson <pws@csr.com> + * Benjamin R. Haskell: 30737: Completion/Unix/Command/_git: + make custom completion functions for git aliases easier - * 24611: Src/subst.c, Test/D04parameter.ztst: 23562 - broke the case of ${+array[...]} for an empty range match. + * users/17382: Completion/Unix/Type/_remote_files, + Completion/Unix/Command/_vim, Completion/Unix/Command/_git, + Completion/Unix/Type/_urls: complete URLs for vim and make + _remote_files more consistent with _files -2008-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com> +2012-10-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - * 24602: Test/C02cond.ztst: failing to run a test didn't - set prerequisites for later test. + * 30735: Src/parse.c: array assignments aren't simple because + they can contain process substitutions. - * 24600: astonishingly, there was a fourth bug in few - lines of 24596. +2012-10-19 Peter Stephenson <pws@csr.com> -2008-02-26 Geoff Wing <gcw@zsh.org> - - * unposted: Src/utils.c: fix typos in 24596 - -2008-02-26 Peter Stephenson <pws@csr.com> - - * 24596: Src/utils.c: if nl_langinfo(CODESET) returns "" - or "646" use "US-ASCII". - - * 24592: Src/utils.c: make errors about charset conversion - more explicit. - -2008-02-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24590: Src/exec.c, Src/lex.c: tame overzealous error - report when unquoting. - - * 24588: Completion/Zsh/Type/_globquals, - Completion/Zsh/Type/_history_modifiers: tweaks - - * 24585: Completion/Base/Utility/_alternative, - Completion/Unix/Type/_path_files, - Completion/Zsh/Type/_delimiters, - Completion/Zsh/Type/_globqual_delims, - Completion/Zsh/Type/_globquals, - Completion/Zsh/Type/_history_modifiers, Doc/Zsh/compsys.yo: - completion for glob qualifiers plus bug fix for message-only - completion in _alternative. - -2008-02-22 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: new option - p4 change -u. - -2008-02-22 Clint Adams <clint@zsh.org> - - * 24578: Completion/Debian/Command/_dpkg: stop completing - --print-gnu-build-architecture, which was dropped in 2005. - - * 24576: Functions/Calendar/calendar_add, - Functions/Misc/sticky-note: replace shebang lines. - -2008-02-21 Peter Stephenson <pws@csr.com> - - * users/12632: Src/exec.c: bug unexporting special parameter - after "SPECIAL=stuff funccall". - -2008-02-19 Peter Stephenson <pws@csr.com> - - * 24572: Doc/Zsh/calsys.yo, Functions/Calendar/calendar_add: - add style reformat-date. - -2008-02-19 Barton E. Schaefer <schaefer@zsh.org> - - * 24570: Completion/Unix/Type/_path_commands: don't attempt to - pre-filter $commands on $PREFIX, just let compadd deal with it. - Fixes a bad interaction with the _approximate completer. - -2008-02-17 Barton E. Schaefer <schaefer@zsh.org> - - * users/12600: Src/builtin.c: reorder handling of -s/-d/-t options - so that terminal input modes are set before attempting a - read-poll. Also display any prompt before read-polling. - - * unposted: Functions/Misc/xtermctl: update uses of "read" to - take advantage of users/12600. - -2008-02-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24566: Doc/Zsh/prompt.yo, Src/prompt.c: fallout: - fix truncation with glitch spaces; more careful - documentation; allow %N{...}; make unsupported - characters default to width 1. - -2008-02-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24556: Doc/Zsh/prompt.yo, Src/prompt.c: %G inside %{...%} - can be used to count width of "glitch" characters. - - * 24554: Src/Zle/complist.c: push an extra heap for - complistmatches() to stop accumulating it; always treat - mcolors as a global instead of just sometimes. - -2008-02-14 Peter Stephenson <pws@csr.com> - - * 24551: Src/Zle/compresult.c, Src/Zle/zle_main.c: free heap - memory after each full Zle command executed (plus cosmetics). - Still need to try and stop menu selection accumulating heap - memory. - -2008-02-11 Peter Stephenson <pws@csr.com> - - * users/12547: Completion/Darwin/Type/_mac_files_for_application, - Completion/Unix/Command/_locate: fix array indices [0] -> [1] in - completion. - - * Haakon Riiser: 24545: Completion/X/Command/_acroread: new - options for version 8. - -2008-02-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24542: Src/Zle/zle_tricky.c: RC_QUOTES wasn't handled - if the opening quote wasn't at the start of the word, causing - endless looping. - -2008-02-07 Clint Adams <clint@zsh.org> - - * unposted: Functions/Misc/run-help-git, - Functions/Calendar/calendar_add, Functions/Misc/sticky-note: remove - shebang line. - -2008-02-06 Clint Adams <clint@zsh.org> - - * 24536: Completion/Unix/Command/_cut: tweaks to 24529, spelling - fix. - - * Mikael Magnusson: 24529: Completion/Unix/Command/_cut: - remaining fixes from 24526. - -2008-02-05 Peter Stephenson <pws@csr.com> - - * 24533 (tweaked): Completion/compinstall: use _completer _ignored - as default to offer user if no completers are defined - -2008-02-03 Clint Adams <clint@zsh.org> - - * 24528: configure.ac, Etc/zsh-development-guide: - revert 24429. - - * 24527: Completion/Unix/Command/_cut: a subset of the - fixes from Mikael Magnusson in 24526. - -2008-02-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24524: Config/version.mk: increment version to 4.3.5-dev-0. - -2008-02-01 Clint Adams <clint@zsh.org> - - * 24513, 24514, 24515, 24516, 24517, 24518, 24519, 24520, 24521: - Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo, Doc/Zsh/contrib.yo, - Doc/Zsh/expn.yo, Doc/Zsh/grammar.yo, Doc/Zsh/mod_curses.yo, - Doc/Zsh/mod_newuser.yo, Doc/Zsh/mod_sched.yo, Doc/Zsh/options.yo, - Doc/Zsh/roadmap.yo, Doc/Zsh/tcpsys.yo: typo fixes from A. Costa. - -2008-02-01 Peter Stephenson <pws@csr.com> - - * users/12527: Etc/relnote_4.3.5.txt: Add release note for 4.3.5. - - * unposted: Release 4.3.5. - - * Back off 24506 pending 4.3.5 release. - -2008-02-01 Clint Adams <clint@zsh.org> - - * 24506: Makefile.in, configure.ac, Doc/Makefile.in, - Etc/Makefile.in, Src/Makefile.in, Src/Makemod.in.in, - Test/Makefile.in: make ZSH_VERSIONSUFFIX propagate to somewhere - useful. - -2008-01-31 Peter Stephenson <pws@csr.com> - - * Christopher Key <cjk32@cam.ac.uk>: users/12521: - Completion/Unix/Command/_subversion: svn and svnadmin help - parsing. - -2008-01-30 Peter Stephenson <pws@csr.com> - - * 24498: Src/mkmakemod.sh: check config.h instead of config.status - for dynamic configuration since the syntax is less variable. - Could be done by generating from Src/mkmakemod.sh.in instead. - - * 24496: Doc/Zsh/contrib.yo: more Yodl parenthesis protection. - -2008-01-29 Peter Stephenson <pws@csr.com> - - * 24485: INSTALL: note that term.h may need CPPFLAGS=-I... - if it's to be included from the curses library directory. - - * 24483: Doc/Zsh/prompt.yo, Doc/Zsh/zle.yo: some minor - sectioning problems. - - * users/12498: Doc/Zsh/contrib.yo: missing section spotted - by Vincent. - - * unposted: Config/version.mk, Functions/Misc/.distfiles: - 4.3.4-dev-8. - -2008-01-25 Peter Stephenson <pws@csr.com> - - * 24460: Doc/Zsh/mod_zpty.yo, Src/utils.c, Src/Modules/zpty.c: - make "zpty -rt" more consistent by polling before every byte, - not just the first. - -2008-01-25 Clint Adams <clint@zsh.org> - - * 24464: Completion/Unix/Command/_git: remove trailing whitespace. - -2008-01-22 Clint Adams <clint@zsh.org> - - * 24437, 24441, 24442: Completion/Unix/Command/_git: compensate - for some breakage introduced by 24396. - -2008-01-22 Peter Stephenson <pws@csr.com> - - * 24434: Src/Zle/zle_refresh.c: handle unprintable and zero-width - wide characters on the command line by displaying as hex. - -2008-01-22 Clint Adams <clint@zsh.org> - - * 24429: configure.ac, Etc/zsh-development-guide: - use ZSH_VERSIONSUFFIX instead of ZSH_EXTRAVERSION. - - * Frank Terbeck: 24413: Completion/Unix/Command/_git: handle - completion when git aliases are used. - - * Mikael Magnusson: 24396: Completion/Unix/Command/_git: - don't pass -r to git ls-files for performance reasons, - compensate for lack of recursion. - -2008-01-21 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/builtin.c: got rid of compiler warning about - a signed/unsigned comparison. - -2008-01-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Completion/Unix/Command/_mount: make MATCH etc. - local. - - * users/12461: Completion/Unix/Command/_mount: mount points - weren't completed properly for umount. - -2008-01-18 Barton E. Schaefer <schaefer@zsh.org> - - * users/12453: Functions/Misc/xtermctl: X11 window control for - xterm-compatible emulators - -2008-01-18 Clint Adams <clint@zsh.org> - - * 24408: configure.ac, Etc/zsh-development-guide: - use contents of ZSH_EXTRAVERSION environment variable for - version suffix. - -2008-01-18 Peter Stephenson <pws@csr.com> - - * 24406: Src/Zle/compmatch.c: use deep copy of Cline structure - to avoid it containing itself. - -2008-01-17 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: a few minor - news options. - -2008-01-14 Peter Stephenson <pws@csr.com> - - * 24388: Completion/Unix/Command/_mh: abort neatly if MH - commands not found. - -2008-01-13 Clint Adams <clint@zsh.org> - - * 24387: Completion/Debian/Command/_dpkg: update --force-* - options for dpkg completion. - -2008-01-13 Barton E. Schaefer <schaefer@zsh.org> - - * users/12426: Functions/Misc/sticky-note: post-its for zsh. - - * 24364: Functions/Misc/run-help: change the comment from 24349 - to a local assignment to HELPDIR with a default location. - -2008-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * "N.J. Mann" <njm@njm.f2s.com>: users/12420: - Completion/Unix/Command/_cvs: completion for cvs commit -f. - -2008-01-10 Peter Stephenson <pws@csr.com> - - * users/12412: Src/builtin.c, Src/parse.c, Test/C02cond.ztst: - check for extra arguments in test and [. - - * 24384: Src/params.c: eliminate invalid pointer and also - (unposted) add debug check for use. - -2008-01-08 Peter Stephenson <pws@csr.com> - - * unposted: 4.3.4-dev-7. - - * 24371: Src/Zle/zle_refresh.c: potential crash when refreshing - scrolling chunk of large history entry. - -2008-01-06 Clint Adams <clint@zsh.org> - - * Chris Lamb: 24365: Completion/Debian/Command/.distfiles, - Completion/Debian/Command/_vim-addons: completion for vim-addons. - -2008-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24362: Src/Zle/zle_refresh.c: redrawing line with multibyte - character first caused later characters not to be redrawn. - -2008-01-04 Clint Adams <clint@zsh.org> - - * 24360: Completion/Unix/Command/_du: fix misspelling of - --separate-dirs. - -2008-01-04 Peter Stephenson <pws@csr.com> - - * 25356: Src/text.c, Test/C02cond.ztst: "=~" wasn't handled by - the code that retrieves a printed representation. - Non-interactively this caused a crash. - -2008-01-04 Clint Adams <clint@zsh.org> - - * 24349: Functions/Misc/run-help: add comment about HELPDIR to - assist replacement in Debian build. - -2008-01-03 Clint Adams <clint@zsh.org> - - * 24345: Completion/Unix/Command/_metaflac: add --no-utf8-comment - and --list. - -2007-12-31 Barton E. Schaefer <schaefer@zsh.org> - - * unposted (based on J.Sommer: 24334): Doc/Zsh/contrib.yo: - Document expanded behavior of run-help. - - * J.Sommer: 24333: Functions/Misc/.distfiles, - Functions/Misc/run-help-git, Functions/Misc/run-help-svk, - Functions/Misc/run-help-svn: run-help helpers. - - * 24332: Functions/Misc/run-help: use only the path tail of $1 - when calling "man" et al. Look for a helper function named - run-help-$1 to provide specific help for the command, before - falling back on "man". - - * 24324: Src/hist.c: do not set ftim when re-entering the history - mechanism for string substitution. - -2007-12-31 Clint Adams <clint@zsh.org> - - * 24330: Completion/X/_xpdf: add some missing options from xpdf - 3.02. - -2007-12-27 Clint Adams <clint@zsh.org> - - * 24323: Completion/Debian/Command/_apt: for performance reasons, - procure release names via apt-cache policy instead of apt-cache - dump. - -2007-12-27 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/params.c: silenced a compiler warning by making - an int unsigned. - -2007-12-24 Clint Adams <clint@zsh.org> - - * 24316: Test/runtests.zsh, Test/ztst.zsh: count skipped tests - differently from successes and failures. - -2007-12-20 Peter Stephenson <pws@csr.com> - - * unposted: 4.3.4-dev-6. - - * 24305: NEWS, README, Etc/FAQ.yo: update files in preparation - for 4.3.5. - -2007-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24301: missed a case for the lower-casing fix in 23219. - - * 24298: Tonguc Yumruk: Functions/Misc/is-at-least: use - emulate -L for consistency. - -2007-12-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24289 plus change suggested by Ismail in 24290: - Test/Makefile.in, Test/runtests.zsh, Test/ztst.zsh, - Test/.distfiles: count successful and unsuccessful scripts - and report with status. - -2007-12-18 Peter Stephenson <pws@csr.com> - - * 24279: Src/jobs.c, Src/zle_main.c, Src/zle_thingy.c: allow - terminal changes in zle -I to be remembered in normal shell - settings. - -2007-12-17 Peter Stephenson <pws@csr.com> - - * unposted: Src/utils.c: suppress harmless warning. - - * 24275: Src/builtin.c, Src/Zle/zle_utils.c, - Test/D07multibyte.ztst: Solaris returns the full character - length from mbrlen() etc. even if the call started in the - middle; bad characters are silently converted to a question mark. - - * unposted: Config/version.mk: 4.3.4-dev-5. - - * unposted: Src/lex.c: minor typo - - * Wayne: 24273: Src/Modules/curses.c: various macros - aren't supposed to return a value. - -2007-12-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24271: Src/lex.c, Test/C01arith.ztst: handle parse failures - in math substitution better. - - * 24268: Completion/Unix/Type/_mailboxes: handle backslashed =. - - * 24264: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Src/params.c, - Src/subst.c, Src/zsh.h, Test/B02typeset.ztst: restrict the - effect of 24234 to expansion in the parameter substitution code - and attempt to document the effect. - -2007-12-15 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: Improved the help - text of the --whole-file option. - -2007-12-14 Peter Stephenson <pws@csr.com> - - * 24252: configure.ac, Src/system.h, Src/Modules/curses.c: - _XOPEN_SOURCE_EXTENDED was causing problems on OpenBSD. - - * 24251: Doc/ztexi.yo: fix sitem() macro. - -2007-12-13 Clint Adams <clint@zsh.org> - - * 24242: Functions/Calendar/calendar_add, Functions/Example/cat, - Functions/Example/zless, Functions/Misc/checkmail, - Functions/Misc/run-help, Functions/Misc/zcalc, Functions/Misc/zkbd: - unify top lines as #!/bin/zsh (followed by options). - - * Peter: 24235: Completion/Base/Utility/_arguments: handle - underscores. - -2007-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24241: Doc/Zsh/expn.yo: explain the effect of time glob - qualifiers better. - - * 24240: Src/Zle/zle_main.c: vared didnʼt check for trailing - garbage on parameter names until too late. - - * 24239: Completion/Zsh/Context/_subscript: if the [ of - a subscript was backslashed, a trailing space was added - backslashed along with the "\[". - - * 24236: Test/C02cond.ztst: another case where the wretched - cond -N test can fail. - - * 24234: Doc/Zsh/expn.yo, Src/params.c, Src/subst.c, - Test/B02typeset.ztst: apply parameter flags defined with - typeset etc. consistently so that substitution code layered - above always sees the effects. - -2007-12-12 Peter Stephenson <pws@csr.com> - - * users/12325: Doc/Zsh/builtins.yo, Src/builtin.c: - implement OSI rules for three- and four-argument test and [ ... ] - commands and warn users about the problems. - - * users/12305: Doc/Zsh/builtins.yo, Src/init.c, - Test/A01grammar.ztst: option output wasn't well described; - "-c" is documented not to set SHIN_STDIN, so don't. - -2007-12-11 Clint Adams <clint@zsh.org> - - * unposted: Completion/Debian/Command/.distfiles: update. - -2007-12-11 Peter Stephenson <pws@csr.com> - - * users/12307: Test/C02cond.ztst: the wretched -N test is - still problematic; expand the delay to 2 seconds. - - * 24210: Src/builtin.c: "set -o" should abort on failure. - - * unposted: Config/version.mk, Completion/Unix/Command/.distfiles: - Functions/Zle/.distfiles: 4.3.4-dev-4. - -2007-12-10 Peter Stephenson <pws@csr.com> - - * Vincent Lefevre: 24192: Completion/Unix/Command/_make: - make GNU make support -include. - -2007-12-09 Barton E. Schaefer <schaefer@zsh.org> - - * 24150 plus unposted: Src/exec.c, Test/D08cmdsubst.ztst: - Retain exit status of last non-assignment command substitution - across variable assignment processing so that, in the event of - no command word to execute, the exit status of the statement is - that of the last command substitution (per POSIX). - -2007-12-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24197: Src/utils.c, Src/Modules/datetime.c: interface to - ztrftime() for insufficient memory was broken. - -2007-12-08 Clint Adams <clint@zsh.org> - - * 24188: Completion/Unix/Command/_id: completion for GNU id. - - * 24187: Completion/Debian/Command/_members: completion for members. - -2007-12-07 Clint Adams <clint@zsh.org> - - * 24174: Completion/Unix/Command/_cut: Oliver's deuglification - of 24169. - -2007-12-07 Peter Stephenson <pws@csr.com> - - * Unposted: Src/exec.c: add explanatory comment for 24170/24179. - - * 24180: configure.ac, Src/utils.c: back off (most of) 24148. - - * 24179: Src/exec.c: alter 241770 to use queue_signals(). - - * Guillaume Chazarain: 24170: Src/exec.c: block interrupts - around fork since it may mess with locks. - -2007-12-07 Clint Adams <clint@zsh.org> - - * 24172 (tweaked): configure.ac: check ncurses.h, ncurses/ncurses.h, and - ncursesw/ncurses.h for curses keys. - - * 24171, 24173: Src/Modules/terminfo.c: define USE_TERMINFO_MODULE when - ncurses.h, ncurses/ncurses.h, or ncursesw/ncurses.h is present. - -2007-12-06 Clint Adams <clint@zsh.org> - - * 24169: Completion/Unix/Command/_cut: use print in command - substitution to avoid a literal non-ASCII character in the German - translation of args for cut completion. - -2007-12-05 Clint Adams <clint@zsh.org> - - * 24160: Src/Modules/terminfo.c, Src/Modules/terminfo.mdd: - build terminfo module if ncursesw is present but curses.h is not. - -2007-12-05 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_ip: typo in "addr replace" - completion. - -2007-12-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24148: configure.ac, Src/utils.c: attempt to use strerror_r() - to make error messages in signal handle safer. - -2007-12-03 Wayne Davison <wayned@users.sourceforge.net> - - * 24147: Util/difflog.pl: improved the temporary-file handling. - -2007-12-03 Peter Stephenson <pws@csr.com> - - * 24143: Etc/zsh-development-guide, Util/.distfiles: Remove - difflog.pl from the distribution owing to security worries - in usage (but leave it in the archive); also document the - distfiles business. - -2007-12-03 Clint Adams <clint@zsh.org> - - * 24140: Completion/Unix/Command/_git: spelling fix and - removal of redundant "config" subcommand as proposed by Wayne. - -2007-12-01 Clint Adams <clint@zsh.org> - - * 24135: Completion/Debian/Command/_make-kpkg: consistently - complete subcommands with minus signs instead of underscores. - -2007-11-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * arno: 24134: Completion/Unix/Command/_find: additional options. - -2007-11-29 Peter Stephenson <pws@csr.com> - - * 24130 (belatedly): Doc/Zsh/calsys.yo, - Functions/Calendar/.distfiles, Functions/Calendar/calendar, - Functions/Calendar/calendar_add, - Functions/Calendar/calendar_parse: abstract calendar_parse from - calendar and use in calendar_add to be slightly cleverer about - recurrences. - - * Kohsuke Kawaguchi: 24129: Completion/Unix/Command/_ant: - skip targets that can't be invoked from the command line. - -2007-11-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24128: Test/Y02compmatch.ztst: test for 24127. - - * 24127: Src/Zle/compcore.c, Src/Zle/compmatch.c: fix - bug with matcher 'r:|[-./_]=* r:|=* l:|=*' completing - where word on command line starts after a "-". - -2007-11-28 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: Added one more - option for the upcoming 3.0.0 version of rsync: --contimeout. - -2007-11-28 Peter Stephenson <pws@csr.com> - - * Mustafa Oezkan: 24126: Completion/Unix/Command/_mount: - additional options. - -2007-11-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Ryan F: users/12154: Completion/Unix/Type/_groups: MacOS X - group completion. - -2007-11-26 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk, Completion/Unix/Command/.distfiles: - changes for 4.3.4-dev-3. - - * 24120: Src/init.c: memory allocation for termcap strings - was screwy, in particular when terminal couldn't move left. - - * c.f. users/12248: Doc/Zsh/.distfiles: zshcalsys.1 was missing - from distribution. - -2007-11-24 Clint Adams <clint@zsh.org> - - * 24118: configure.ac: only link against libnsl if we have NIS and - need it for yp_all, or if we need it for getpwnam. - -2007-11-23 Clint Adams <clint@zsh.org> - - * Markus Waldeck: 24117: Completion/Unix/Command/_uname: - completion for uname. - -2007-11-23 Geoff Wing <gcw@zsh.org> - - * 24098: Src/Zle/zle_refresh.c: Fix my botch with 23924, rework - out new prompts and their lengths before use in resetvideo(). - -2007-11-22 Clint Adams <clint@zsh.org> - - * unposted: Functions/Prompts/prompt_clint_setup: fix typo in git - psvar assignment. - - * Sean Finney: 24115: Completion/Unix/Command/_git: offer tags as - well as heads where refspecs are valid. - - * 24114: Completion/Unix/Command/_git: make colon suffix removable - after the first part of refspecs. - -2007-11-22 Barton E. Schaefer <schaefer@zsh.org> - - * 24113: Src/params.c: createparamtable() was still messing with - the internals of the environment even when USE_SET_UNSET_ENV. - -2007-11-21 Clint Adams <clint@zsh.org> - - * arno.: 24111: Completion/Debian/Command/_dlocate: complete -lsbin - and -lsman options to dlocate. - -2007-11-21 Peter Stephenson <pws@csr.com> - - * 24110: Src/Modules/curses.c: change those includes yet again. - -2007-11-20 Peter Stephenson <pws@csr.com> - - * 24108 plus yet another tweak: configure.ac: the test - for whether we using ncurses as a library was both wrong - and in the wrong place. - - * 24107: configure.ac, Src/Modules/curses.c: yet more - library fun: search for ncurses headers in other places, - don't use ncursesw/ncurses.h if no multibyte support, - don't use any ncurses headers if the terminal library - isn't ncurses. - - * 24104: INSTALL, configure.ac: don't search for ncurses if - we can't find ncurses.h. - - * 24103: Doc/Makefile.in: ensure zsh.texi is updated if - the version changes. - - * ????? & 24104: configure.ac: attempt to prevent Tru64 Unix - from reporting missing symbols when linking dynamically (not - tested). - - * unposted: run Util/check_exports and add some mod_export tags. - - * unposted: fix .distfiles and version.mk for 4.3.4-dev-2. - -2007-11-19 Peter Stephenson <pws@csr.com> - - * users/12230: Src/Zle/zle_params.c: if killring was set - to empty array, kringsize was zero but kring was unset, - causing unhealthy effects in cut(). - - * unposted: from Eric Mangold: Completion/Unix/Command/_twisted: - update. - -2007-11-18 Clint Adams <clint@zsh.org> - - * Nikolai Weibull: 24075: Completion/Unix/Command/_cp: fix - completion of values for --preserve and --no-preserve. - -2007-11-12 Peter Stephenson <pws@csr.com> - - * 24093: Doc/Zsh/arith.yo: be more accurate about supported - floating point. - - * 24089: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: - compilation on non-curses system; also (unposted) avoid crash - decoding color when not supported. - - * Vin Shelton: 24088: Src/Modules/curses.c: 24083 error with - no multibyte. - -2007-11-11 Clint Adams <clint@zsh.org> - - * Nikolai Weibull: 24046: Completion/Unix/Command/_strip: improve - completion for Solaris and GNU strips. - -2007-11-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24083: Doc/Zsh/mod_curses, Src/Modules/curses.c: add - 'zcurses querychar'. - - * 24082: Functionz/Zle/delete-whole-word-match: failed if - cursor was on whitespace. - - * Mikael Magnusson, 24076; 24081: Doc/Zsh/zle.yo, - Functions/Zle/backward-kill-word-match, - Functions/Zle/delete-whole-word-match, - Functions/Zle/kill-word-match: need to cancel option - processing with -- after widget calls with arguments. - -2007-11-09 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: Added missing - single-letter options for --acls and --xattrs. - -2007-11-08 Peter Stephenson <pws@csr.com> - - * users/12198: Doc/Zsh/mod_complist.yo: make the definition of - the menu-select widget clearer. - - * unposted: Src/curses.c: typo in parameter setting in - 24073. - -2007-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24073 (plus tweak to allow "zcurses mouse" with no additional - arguments): Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: - add zcurses mouse handling. - -2007-11-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24070: Src/utils.c, Test/A03quoting.ztst, - Test/D07multibyte.ztst: Some fixes for \u handling in - getkeystring(). - -2007-11-06 Peter Stephenson <pws@csr.com> - - * 24069: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: add - $zcurses_keycodes. - - * 24068: Src/builtin.c: attempt to make `printf "%g\n" -0' - output "-0", although this depends on the vagaries of the - library's strtod() (works on Solaris, doesn't on Fedora 7). - -2007-11-04 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: Added new options - for the upcoming 3.0.0 release of rsync. - -2007-11-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * c.f. 24050: NEWS: note high resolution timestamps. - - * c.f. 24050: Src/Modules/.cvsignore: add curses_keys.h: - -2007-11-01 Oliver Kiddle <opk@zsh.org> - - * 24050: configure.ac, Src/cond.c, Src/glob.c, Src/system.h: - handle nanosecond timestamps on systems that support them - - * 24048: Src/hashtable.c: fix home directory expansion with - NIS on Solaris - - * Frank Benkstein: 24047: Completion/compinit: fix compdef - with more than three commands using the same service - -2007-10-31 Oliver Kiddle <opk@zsh.org> - - * 24045: Src/params.c: fix memory leak where old value of an - environment variable isn't freed - -2007-10-31 Barton E. Schaefer <schaefer@zsh.org> - - * 24043: Functions/Prompts/promptinit: emulate -L resets prompt - options that we don't want reset, so remove it - -2007-10-31 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/utils.c: Fixed the use of an uninitialized 'x' - in spckword() if shout is NULL. - -2007-10-31 Clint Adams <clint@zsh.org> - - * 24039: Completion/Unix/Command/_cut: cope with FreeBSD - cut in addition to GNU cut. - -2007-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24038: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: add - "zcurses bg". - -2007-10-30 Peter Stephenson <pws@csr.com> - - * users/12149: Doc/Zsh/expn.yo, Src/subst.c, - Test/D04parameter.ztst: "${(@s.:.)...}" retains empty - fields, although "${(s.:.)...}" remains backward compatible. - -2007-10-30 Peter Stephenson <pws@csr.com> - - * 24030, adapted: Src/Modules/curses.c: turning off a key timeout - on Solaris 8 seemed to need leaving and re-entering cbreak mode. - This can't be done per-window, so make this specific to Solaris - not using ncurses. - -2007-10-29 Clint Adams <clint@zsh.org> - - * Markus Waldeck: 24032 (tweaked): Completion/Unix/Command/_cut: - completion for cut. - -2007-10-29 Peter Stephenson <pws@csr.com> - - * 24029: Src/Modules/curses.c: crashed on attempt to use - color if it wasn't available. - - * unposted: configure.ac: remove some broken debugging. - -2007-10-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24028: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: - add "zcurses timeout". - - * 24027: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: - add "touch", subwindows, optimized "refresh". - - * 24026: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: - handle default/default colorpair and handle color - default separately if use_default_colors() is available. - - * unposted: Doc/Zsh/mod_curses.yo: Oops, misdescribed the - effect of getmaxyx(). - - * 24025: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c, - Src/Modules/curses_keys.awk: new zcurses subcommands - "clear" and "position"; "stdscr" window; numerous other tweaks. - -2007-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/curses.c: zcurses input oops. - - * 24024: configure.ac, Doc/Zsh/mod_curses.yo, - Src/Modules/curses.c, Src/Modules/curses_keys.awk: add "zcurses - input" for single character raw input without echoing. Test for - wget_wch for wide character input. Add handling for keypad() - mode by scanning header. - -2007-10-26 Clint Adams <clint@zsh.org> - - * 24022: Completion/Debian/Command/_dpkg-repack: completion for - dpkg-repack by Dr. Markus Waldeck, tweaked a bit. - -2007-10-25 Peter Stephenson <pws@csr.com> - - * c.f. users/12110: Doc/Zsh/params.yo: desperately try to - get the $SECONDS documentation correct. - - * c.f. users/12109: Doc/Zsh/params.yo: tweak to SECONDS - documentation for clarity. - - * users/12100: Completion/Unix/Type/_path_files, - Doc/Zsh/compsys.yo: with NO_CASE_GLOB, use a case-insensitive - matcher if none is in effect. - -2007-10-24 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24018: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: - add "zcurses scroll". - - * 24017: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: - fold color support into attr subcommand and improve error - handling; add various readonly parameters; replace strtok(); - tidy some zwarnnam(). - -2007-10-24 Peter Stephenson <pws@csr.com> - - * 24016: configure.ac, Src/Modules/curses.c: compilation with - curses and not ncurses. - -2007-10-23 Clint Adams <clint@zsh.org> - - * 24012: Src/Modules/curses.c: rename "endwin", "c", and "s" to - "endwin", "char", and "string" respectively. - -2007-10-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24011 (tweaked to include 24010 and to remove unneeded - #define's): Src/Modules/curses.c: fix attr/endwin argument - counts; verbose errors for wrong arguments; one cchar_t - should be a wchar_t; dispatch straight to subcommands; - attr passes back status from setting attributes. - -2007-10-23 Clint Adams <clint@zsh.org> - - * 24010: Src/Modules/curses.c: fix max arguments for 'zcurses - border' to 1. - -2007-10-23 Peter Stephenson <pws@csr.com> - - * users/12087: Src/glob.c: fix a case where we doing globbing - unnecessarily to find files case-insensitively in Cygwin. - -2007-10-22 Peter Stephenson <pws@csr.com> - - * 24007: Src/prompt.c, Src/utils.c: mildly suspicious things - found when looking at crash: prompt allocation length and use - of "shout". - - * 24006: Src/glob.c: (F) glob qualifier needs to unmetafy. - -2007-10-21 Clint Adams <clint@zsh.org> - - * 24005: Src/Modules/curses.c: enforce min/max arguments on zcurses - commands. - - * 24004: Doc/Zsh/mod_curses.yo: align documentation with UI changes - in 24002. - -2007-10-20 Clint Adams <clint@zsh.org> - - * 24002: Src/Modules/curses.c: change all the subcommands from - option letters to words. - -2007-10-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 24001: Src/Modules/curses.c: fix up zcurses -C. - -2007-10-20 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 23999: Completion/Unix/Command/_git: - improvements for git show, git rev-parse, et al. - -2007-10-19 Clint Adams <clint@zsh.org> - - * 23997: Src/Modules/curses.c: don't delete color pair hash - on module unload unless it's been previously initialized. - - * 23994: Completion/Unix/Command/_git: tweaks for 23993. - - * Mikael Magnusson: 23993: Completion/Unix/Command/_git: improved - completion for git show. - -2007-10-19 Geoff Wing <gcw@zsh.org> - - * 23924: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: Improve - synchronising of character attributes with other output routines - -2007-10-18 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 23991: Completion/Unix/Command/_git: fix - typo in __git_blobs(). - - * Mikael Magnusson: 23988: Completion/Unix/Command/_git: fix - git-svn commands completion. - - * 23989: Src/Modules/curses.c: add broken zcurses -C to set window - colors. - -2007-10-18 Peter Stephenson <pws@csr.com> - - * 23986: Doc/Zsh/contrib.yo: zmv example for turning spaces - into underscores. - - * 23978: configure.ac, Src/Modules/curses.c: use waddwstr() to - get zcurses -s to work with wide characters. - -2007-10-17 Clint Adams <clint@zsh.org> - - * 23982: Doc/Zsh/mod_curses.yo: documentation for zcurses -A. - - * 23981: Src/Modules/curses.c: add zcurses -A to set window - attributes. - -2007-10-17 Peter Stephenson <pws@csr.com> - - * 23970 (slightly modified): Doc/Zsh/mod_curses.yo, - Src/Modules/curses.c: fix up deletion of curses windows and add - zcurses -i/-e for initialisation and end to retain terminal - sanity; make "zcurses -r" do a global refresh. - - * Vin Shelton: 23968: Doc/Zsh/mod_curses.yo: overabundance of - enditem(). - -2007-10-15 Clint Adams <clint@zsh.org> - - * 23965: Completion/Unix/Command/_git: add missing bracket in - completion for git svnimport. - - * 23964: Src/Modules/curses.c: call endwin() in curses module cleanup. - - * 23962: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: store windows - in a linked list instead of a static array, and use strings as - window identifiers instead of integers. - - * 23958: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: change target - window to be the first argument of zcurses -a. - - * 23957: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: minor fixes. - -2007-10-14 Clint Adams <clint@zsh.org> - - * unposted: Doc/Zsh/.distfiles, Src/Modules/.distfiles: update for - zsh/curses module and documentation. - - * 23954: Doc/Makefile.in, Doc/Zsh/mod_curses.yo: documentation for - zsh/curses module. - -2007-10-14 Barton E. Schaefer <schaefer@zsh.org> - - * unposted: Functions/Prompts/prompt_bart_setup: make sure - localtraps is unset before assigning to functions[TRAPWINCH]. - - * users/12008: Functions/Prompts/promptinit: emulate zsh to - avoid setopts conflicts. Run precmd and preexec only if they - are defined as functions. - -2007-10-14 Clint Adams <clint@zsh.org> - - * 23952: Src/Modules/curses.c, Src/Modules/curses.mdd: work with - non-wide curses as well. - -2007-10-13 Clint Adams <clint@zsh.org> - - * 23947: Functions/Prompts/prompt_clint_setup: remove apm battery - status and add git branch detection. - - * unposted: Config/aczshoot.m4: quote name of aclocal function. - -2007-10-12 Clint Adams <clint@zsh.org> - - * 23945: Config/aczshoot.m4: autoconf include file for - budding out-of-tree module support. - -2007-10-12 Peter Stephenson <pws@csr.com> - - * 23943 (slightly modified): INSTALL, configure.ac: search - ncursesw and document this. - -2007-10-11 Clint Adams <clint@zsh.org> - - * 23927: Src/system.h: don't define struct timezone if - ZSH_OOT_MODULE is defined. - -2007-10-11 Peter Stephenson <pws@csr.com> - - * 23934: Completion/Base/Completer/_expand_alias: - if "foo" expands as regular alias to "foo blah", turn this - into "\foo blah" to avoid the alias kicking in again. - -2007-10-08 Clint Adams <clint@zsh.org> - - * 23923: Src/Modules/curses.c: fold all other curses windowing - builtins into zcurses. - - * 23919: Src/Modules/curses.c, Src/Modules/curses.mdd: - have new zcurses builtin replace 4 separate builtins. - -2007-10-08 Peter Stephenson <pws@csr.com> - - * arno: 23910: Completion/Unix/Command/_init_d: handle - spaces in cases in init scripts. - -2007-10-08 Clint Adams <clint@zsh.org> - - * 23911: configure.ac, Src/Modules/curses.c, - Src/Modules/curses.mdd: curses windowing module. - -2007-10-06 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 23907: Completion/Unix/Command/_git: add - --cached option to git-diff completion. - - * 23908: Completion/Unix/Command/_git: add missing backslash in - _git-svn. - - * Mikael Magnusson: 23906: Completion/Unix/Command/_git: add - missing backslash in _git-svn. - -2007-10-05 Peter Stephenson <p.w.stephenson@ntlworld.com - - * unposted, c.f. users/11935: Doc/Zsh/builtins.yo: quoting - of arguments to unalias. - -2007-10-04 Clint Adams <clint@zsh.org> - - * 23905: Completion/Unix/Command/_git: remove useless gitdir - assignment and scope array locally in new __git_changed_files - function. - - * Mikael Magnusson: 23903: Completion/Unix/Command/_git: - complete both modified and added files for git commit. - -2007-10-03 Peter Stephenson <pws@csr.com> - - * 23900: Src/Zle/compctl.c, Src/Zle/zle_tricky.c: Better handling - of NO_EQUALS option on old-style completion. - -2007-10-02 Peter Stephenson <pws@csr.com> - - * 23896: configure.ac, INSTALL, README: replace - --with-curses-terminfo by --with-term-lib, which takes an - argument; fail if termcap/curses library not found; improve - installation documentation. - - * 23883: Doc/Zsh/func.yo: try to improve precmd documentation. - - * Daniel Qarras: users/11915: Completion/Unix/Command/_module: - .version incorrectly quoted as regexp. - -2007-10-01 Clint Adams <clint@zsh.org> - - * Nikolai Weibull: 23889: Completion/Unix/Command/_git: fix -o - completion in git cvsimport. - - * Nikolai Weibull: 23888: Completion/Unix/Command/_git: complete - branch names and cached files after git log. - - * Nikolai Weibull: 23879: Completion/Unix/Command/_git: complete - only cached files after git log. - - * Jesse Weinstein: 23878: Completion/Unix/Command/_ranlib: - completion for ranlib. - -2007-09-30 Clint Adams <clint@zsh.org> - - * 23875: Completion/Unix/Command/_git: complete heads, tags, and - files after git log. - - * 23874: Completion/Unix/Command/_git: only declare - revision_arguments parameter once. - - * Nikolai Weibull: 23871: Completion/Unix/Command/_cdrdao: - fix __cdrdao-drivers typo. - - * 23872: Completion/Unix/Command/_git: complete git - config in subcommand position. - - * 23870: Completion/Unix/Command/_git: completion for git - mergetool. - - * 23868: Completion/Debian/Command/_svn-buildpackage: completion - for svn-buildpackage. - - * 23867: Completion/Debian/Command/_dpkg-buildpackage: completion - for dpkg-buildpackage. - - * 23863: Completion/Linux/Command/_lsusb: completion - for lsusb. - - * 23863: Completion/Unix/Command/_git: remove all - global variables. - - * 23862: Completion/Unix/Command/_git: declare - author_conversion_file_arg_spec local. - -2007-09-29 Clint Adams <clint@zsh.org> - - * 23860: Completion/Debian/Command/_dpatch-edit-patch: complete - patch names, omitting the .dpatch extension. - - * 23854: Completion/Debian/Command/_dpatch-edit-patch: complete - colon-separated path after -P, other minor tweaks. - - * Julien BLACHE: 23852: - Completion/Debian/Command/_dpatch-edit-patch: completion for - dpatch-edit-patch. - - * Pierre Habouzit: 23851: Completion/Unix/Command/_git: - use ad-hoc functions to list git branches and tags. - -2007-09-28 Clint Adams <clint@zsh.org> - - * 23850: Completion/Unix/Command/_md5sum: complete for GNU md5sum - instead. - - * Jesse Weinstein: 23848: Completion/Unix/Command/_md5sum: - completion for md5sum. - -2007-09-27 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 23838: Completion/Unix/Command/_git: - have git verify-tag complete tags instead of hash IDs. - - * 23846: Completion/Unix/Command/_git: merge in additional changes - from Nikolai Weibull's repo. - - * Jun Takimoto: 23814: Completion/Unix/Command/_ls, Command/_ls, - Completion/BSD/Command/_chflags, - Completion/Unix/Type/_file_systems, Completion/Unix/Command/_comm: - fixes for Darwin. - - * 23841: Completion/Unix/Command/_git: complete tag hashes for git - verify-tag. - -2007-09-26 Peter Stephenson <pws@csr.com> - - * users/11883: Src/init.c: "return" at top level caused - following precommand functions to return immediately. - -2007-09-26 Clint Adams <clint@zsh.org> - - * 23834: Completion/Unix/Type/_tex: complete tex files for xetex - and xelatex. - -2007-09-25 Clint Adams <clint@zsh.org> - - * Mikael Magnusson: 23832: Completion/Unix/Command/_git: - fix git merge -m completion. - - * 23831: Completion/Unix/Command/_git: fix handling of merge - strategy option. - - * 23829: Completion/Unix/Command/_git: merge in the remaining - git completion changes from Nikolai Weibull's repository. - - * 23828: Completion/Unix/Command/_git: merge in lots of - git completion changes from Nikolai Weibull's repository. - - * Mikael Magnusson: 23827: Completion/Unix/Command/_vorbis: - allow all arguments to options to either immediately follow - the option letter or be the next word. - -2007-09-23 Clint Adams <clint@zsh.org> - - * 23824: Completion/Unix/Command/_git: merge in git rerere - completion from Nikolai Weibull's repository. - - * 23823: Completion/Unix/Command/_git: merge in git rev-parse - completion from Nikolai Weibull's repository. - -2007-09-21 Clint Adams <clint@zsh.org> - - * 23822: Completion/Unix/Command/_git: merge in git rm - completion fixes from Nikolai Weibull's repository. - -2007-09-18 Peter Stephenson <pws@csr.com> - - * users/11852: Completion/Base/Completer/_expand_alias: - quotes were incorrectly removed from aliases. - -2007-09-13 Clint Adams <clint@zsh.org> - - * 23813: Src/Zle/zle_hist.c: set vipenultsrchstr to NULL - after freeing it to avoid vi-mode history search segfaults. - -2007-09-05 Peter Stephenson <pws@csr.com> - - * users/11818: Doc/Zsh/mod_parameter.yo, Src/jobs.c, Src/utils.c, - Src/Modules/parameter.c: Allow non-numeric lookup of job - status parameters. - - * unposted: Functions/Calendar/calendar: make sure there's a - space between a date of a recurring event and the rest of - the line. - -2007-09-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/11807: Src/exec.c, Src/jobs.c: display of jobs in - subshells and occasionally in the main shell was screwy. - -2007-08-31 Peter Stephenson <pws@csr.com> - - * 23812: Src/exec.c: ( command & ) caused core dump after 23460. - -2007-08-30 Clint Adams <clint@zsh.org> - - * Chris Lamb: 23810: Completion/Debian/Command/_lighttpd: - completion for lighty-{enable,disable}-mod . - -2007-08-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23809: Src/Zle/zle_tricky.c: attempt to expand finished - $'...' expressions before or after the cursor in the - word being completed. - -2007-08-30 Peter Stephenson <pws@csr.com> - - * 23808: Src/utils.c: debugging to try to isolate intermittent - problem in wcs_nicechar(). - - * 23807: Src/Zle/complist.c, Src/Zle/zle_misc.c: interactive mode - in completion was fairly seriously broken. - -2007-08-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Config/version.mk, - Completion/Unix/Command/.distfiles, - Completion/Unix/Type/.distfiles: updates for dev version - I haven't got around to making yet, but one day soon. - - * 23795: Src/lex.c: make ${(Q)...} handle $'...' correctly, - up to the problem of long flies in short ointments. - -2007-08-23 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Calendar/calendar_show: used subscript - 0 instead of 1, hence broken since 23562. - -2007-08-22 Peter Stephenson <pws@csr.com> - - * 23794: Src/Zle/compresult.c: completing on 'echo "foo$"<TAB>' - was broken. The code is as opaque as usual but preventing the - crash seems straightforward. - - * 23792: Doc/Zsh/expn.yo, Test/D07multibyte.ztst: test - and documentation for 23784. - - * 23791: Src/Zle/zle_refresh.c: use VARARR for arrays with - MB_CUR_MAX. - - * users/11791: Functions/Zle/incremental-complete-word: - missing "emulate -L zsh": was commented out, not sure why. - -2007-08-21 Clint Adams <clint@zsh.org> - - * 23788: Doc/Zsh/mod_files.yo, Src/Modules/files.c: add -h option - to chown symlinks rather than targets, and change default behavior - to do the opposite. - - * Matthieu Moy: 23785: Completion/Unix/Command/_git: add missing - backslash in _arguments list in git-send-email. - -2007-08-21 Peter Stephenson <pws@csr.com> - - * unposted: Functions/Calendar/calendar_scandate: ensure we - match the first time on the line so as to hook up with date. - Could usefully be done with the date too, but not as crucial. - - * users/11790: Functions/Zle/{up,down}-line-or-beginning-search: - emulate -L zsh to avoid nounset problem. - -2007-08-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23784: Src/utils.c: Use $'\...' quoting for unparseable and - unprintable characters when doing backslash quoting. - -2007-08-19 Clint Adams <clint@zsh.org> - - * R.Ramkumar: 23783: Completion/Zsh/Command/_command, - Completion/Zsh/Command/_hash, Completion/Zsh/Command/_which, - Completion/Zsh/Context/_equal, Completion/Zsh/Type/_command_names: - use _path_commands. - - * R.Ramkumar, tweaked: 23782: Completion/Unix/Type/_path_commands: - commands with descriptions. - - * 23781: Completion/Debian/Command/_dput: base host completion - on output of `dput -H`. - - * 23780: Completion/Debian/Command/_dput: add -e, -H, and - optional host argument. - -2007-08-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23778: Doc/Zsh/builtins.yo: document KSH_TYPESET behaviour - in the typeset manual entry. - -2007-08-18 Clint Adams <clint@zsh.org> - - * 23775: Completion/Unix/Command/_growisofs: - restore completion of devicename=filename pairs after -Z and -M. - -2007-08-16 Peter Stephenson <pws@csr.com> - - * 23764: Doc/Zsh/calsys.yo, Functions/Calendar/calendar, - Functions/Calendar/calendar_add: allow hidden continuation - lines in calendar entry and use UID to help with updates. - - * Roy Marples: 23762: configure.ac: need to suppress [...] quoting - for use of [...] in case. - - * 23761: Doc/Zsh/calsys.yo, Functions/Calendar/calendar: - calendar -b shows brief output. - -2007-08-14 Peter Stephenson <pws@csr.com> - - * 23759: Doc/Zsh/contrib.yo, Functions/MIME/pick-web-browser: - a few improvements to pick-web-browser. - - * 23757: Src/lex.c: suppression correction of command - words immediately followed by () or something that looks - like it's going to be one. - -2007-08-12 Andrey Borzenkov <bor@zsh.org> - - * 23751: Completion/Linux/Command/_modutils: support for - completing module files directly - -2007-08-09 Clint Adams <clint@zsh.org> - - * Nikolai Weibull: 23749: Completion/Unix/Command/_cdrdao: - completion for cdrdao. - - * Nikolai Weibull: 23748: Completion/Unix/Command/_growisofs: - better completion for growisofs and mkisofs. - -2007-08-07 Clint Adams <clint@zsh.org> - - * 23746: Completion/Unix/Command/_growisofs: partial completion - for growisofs. - - * 23745: Completion/Unix/Command/_genisoimage: partial completion - for genisoimage. - -2007-08-04 Clint Adams <clint@zsh.org> - - * Matthieu Moy: 23738: Completion/Unix/Command/_git: additional - git diff args. - - * 23739: Completion/Unix/Command/_git: merge in git diff - completion fixes from Nikolai Weibull's repository. - -2007-08-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23736: Src/hist.c: status for file save wasnʼt - initialised. - - * unposted: **/.distfiles: update files for distribution. - -2007-07-31 Peter Stephenson <pws@csr.com> - - * 23733: Src/module.c, Test/V01zmodload.ztst: zmodload -LaF - didn't include unloaded modules, making it a bit pointless. - - * 23732: Src/exec.c, Test/B02tyepset.ztst: unknown builtin - error message was broken; test warning output was broken; - exec of zsh in new env test was broken. - - * 23730: Src/exec.c, Src/params.c, Src/system.h, B02typeset.ztst: - improve preprocessor and regression tests for 23725. - -2007-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23726: Test/B02typeset.ztst: test for adding and removing - of environment variables. - - * 23725: configure.ac, Src/exec.c, Src/params.c, Src/system.h: - use setenv() and unsetenv() for memory management of the - environment where possible. - -2007-07-29 Clint Adams <clint@zsh.org> - - * 23720: Completion/Unix/Command/_dvi: handle arguments to dvips -P - as part of the same word. - - * 23718: Completion/Unix/Command/_dvi: don't use _arguments -s. - -2007-07-28 Clint Adams <clint@zsh.org> - - * 23714: Completion/Unix/Command/_dvi: handle dvips -G, -R, -u, -U, - -v, -V, -y, and -z. - -2007-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23713: Doc/Zsh/expn.yo, Misc/globtests, Src/pattern.c, - Test/D02glob.ztst: add (#cN,M) globbing flag to work like - {N,M} in regular expressions. - -2007-07-27 Clint Adams <clint@zsh.org> - - * 23712: Completion/Unix/Command/_dvi: handle dvips -j. - -2007-07-26 Peter Stephenson <pws@csr.com> - - * 23703: Src/init.c: getenv() should be zgetenv(). - - * 23702: Config/installfns.sh: use chmod to change permissions - since installing as a programme may try to strip the script. - -2007-07-25 Clint Adams <clint@zsh.org> - - * 23697: configure.ac: use -rdynamic where it seems to be - available, not based on the value of $host. - -2007-07-25 Peter Stephenson <pws@csr.com> - - * 23696: Src/params.c, Test/D04parameter.ztst: assignment - to negative subscripts in scalars before the start was broken. - Now adds at start. - -2007-07-24 Peter Stephenson <pws@csr.com> - - * 23694: Src/cond.c: change of infix condition features to C: - broke =~. - -2007-07-23 Peter Stephenson <pws@csr.com> - - * 23693: Src/Zle/compmatch.c: _match tried to match the quoted - form of file names and any completion that did it's own quoting. - -2007-07-22 Clint Adams <clint@zsh.org> - - * 23691: Completion/BSD/Command/_portsnap: declare local parameter - scope for _arguments state. - -2007-07-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Renato Botelho <rbgarga@gmail.com>: 23685: - Completion/BSD/Command/{_portlint,_csup,_portsnap}: - new FreeBSD completions. - -2007-07-19 Clint Adams <clint@zsh.org> - - * Magnus Therning + tweaks: 23686: Completion/Unix/Command/_tin: - respect TIN_HOMEDIR environment variable. - -2007-07-17 Peter Stephenson <pws@csr.com> - - * 23682: Src/module.c: missed cases where m->name should - be m->node.nam from 23665. - -2007-07-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23680: Test/C04funcdef.ztst: tests for 23671. - -2007-07-13 Peter Stephenson <pws@csr.com> - - * 23671: Doc/Zsh/exec.yo, Src/exec.c: Function - command_not_found_handler can be defined to handle command - not found. - -2007-07-12 Clint Adams <clint@zsh.org> - - * 23674: Completion/Unix/Command/_git: merge in git clone - completion fixes from Nikolai Weibull's repository. - -2007-07-06 Clint Adams <clint@zsh.org> - - * 23666: Completion/Debian/Type/_deb_packages: - redirect stderr from apt-cache --generate pkgnames to - /dev/null. - -2007-07-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23665: Doc/Zsh/builtins.yo, - Etc/zsh-development-guide,Src/builtin.c, Src/cond.c, Src/exec.c, - Src/hashtable.c, Src/init.c, Src/jobs.c, Src/mkbltnmlst.sh, - Src/module.c, Src/params.c, Src/string.c, Src/zsh.h, - Src/Builtins/rlimits.c, Src/Builtins/sched.c, Src/Modules/cap.c, - Src/Modules/clone.c, Src/Modules/datetime.c, - Src/Modules/example.c, Src/Modules/files.c, - Src/Modules/langinfo.c, Src/Modules/mapfile.c, - Src/Modules/mathfunc.c, Src/Modules/parameter.c, - Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/socket.c, - Src/Modules/stat.c, Src/Modules/system.c, Src/Modules/tcp.c, - Src/Modules/termcap.c, Src/Modules/terminfo.c, - Src/Modules/zftp.c, Src/Modules/zprof.c, Src/Modules/zpty.c, - Src/Modules/zselect.c, Src/Modules/zutil.c, Src/Zle/compctl.c, - Src/Zle/complete.c, Src/Zle/complist.c, Src/Zle/computil.c, - Src/Zle/deltochar.c, Src/Zle/zle_main.c, Src/Zle/zleparameter.c, - Test/V01zmodload.ztst: Finish autoloading of modules; - make autoloads persistent. Put modules in hash table. - Rationalise error handling and error messages. Improve - module listing. Abort at top level of list execution when - errflag is set instead of relying on called functions returning - early. - -2007-07-06 Clint Adams <clint@zsh.org> - - * 23664: Completion/Debian/Command/_bts: handle bts cache - and cleancache subcommands. - -2007-07-06 Peter Stephenson <pws@csr.com> - - * 23660: Doc/Zsh/expn.yo, Src/sort.c, Test/D04parameter.ztst: - numerical sorting didn't work in reverse, wasn't tested and wasn't - correctly documented. - - * unposted: Functions/Calendar/calendar_lockfiles: configuration - appears to reduce collisions between lock attempts in multiple - windows. - -2007-07-05 Peter Stephenson <pws@csr.com> - - * 23658: Completion/Base/Utility/_combination: bad use - of index variable exposed by 23553. - -2007-07-05 Clint Adams <clint@zsh.org> - - * 23655: Completion/Unix/Command/_git: merge in git instaweb - completion from Nikolai Weibull's repository. - - * 23654: Completion/Debian/Command/_reprepro: add completion for - reprepro. - -2007-07-03 Clint Adams <clint@zsh.org> - - * 23653: Completion/Debian/Command/_apt: add completion for apt-get - autoremove. - -2007-07-03 Peter Stephenson <pws@csr.com> - - * unposted: Completion/README, Doc/Zsh/mod_cap.yo, - Doc/Zsh/mod_complete.yo, Doc/Zsh/mod_example.yo, - Doc/Zsh/mod_files.yo, Doc/Zsh/mod_mapfile.yo, - Doc/Zsh/mod_zleparameter.yo, Doc/intro.ms, Doc/zshzftpsys.yo, - Etc/Makefile.in, Functions/Prompts/prompt_adam1_setup, - Functions/Prompts/prompt_redhat_setup, - Functions/Prompts/prompt_suse_setup, Functions/Zftp/zfrglob, - Functions/Zftp/zftp_chpwd, Misc/.distfiles, Misc/bash2zshprompt, - Misc/c2z, Misc/compctl-examples, Misc/globtests.ksh, - Misc/job-control-tests, Misc/lete2ctl, Src/Zle/.distfiles, - Util/preconfig, aclocal.m4: jiggery pokery to force files onto - main branch (1.X) from vendor branch (1.1.1.X). - -2007-07-03 Clint Adams <clint@zsh.org> - - * 23645: Functions/Zftp/zfautocheck: use == instead of =. - - * 23644: Completion/Unix/Command/_git: merge in git remote - completion from Nikolai Weibull's repository. - -2007-07-02 Clint Adams <clint@zsh.org> - - * 23640: Completion/Unix/Command/_git: merge in git quiltimport - completion from Nikolai Weibull's repository. - - * 23639: Completion/Unix/Command/_git: merge in git merge-tree - completion from Nikolai Weibull's repository. - - * 23629: Etc/FTP-README: change references to "beta" to "dev" or - "development". - -2007-07-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Tomasz Pala: users/11599: Completion/Unix/Command/_ip: - improvements for VLAN interfaces, deleting addresses, - abbreviations. - -2007-07-01 Clint Adams <clint@zsh.org> - - * 23628: Completion/Unix/Command/_git: merge in from Nikolai - Weibull's repository completion for git mktree. - - * 23627: Completion/Unix/Command/_git: merge in from Nikolai - Weibull's repository fixes for git hash-object, index-pack, - merge-index. - -2007-06-28 Oliver Kiddle <opk@zsh.org> - - * 23611: Completion/Unix/Command/_ldd, Completion/Unix/Type/_ld_debug: - new completions for ldd and LD_DEBUG on Solaris and Linux - -2007-06-28 Clint Adams <clint@zsh.org> - - * 23610: Completion/Unix/Command/_git: merge in from Nikolai - Weibull's repository git describe as well as fixes for - diff-index, diff-files, and diff-stages. - - * 23609: Completion/Unix/Command/_git: merge in git clean - completion from Nikolai Weibull's repository. - -2007-06-27 Peter Stephenson <pws@csr.com> - - * 23607: Src/linklist.c, Src/loop.c, Src/module.c, Src/parse.c, - Src/subst.c, Src/Modules/parameter.c, Src/Zle/compcore.c, - Src/Zle/computil.c: Rationalise some linked list functions. - -2007-06-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23606: Src/mkbltnmlst.sh, Src/module.c, Test/V01zmodload.ztst: - make all module feature autoloads pass through one function. - -2007-06-24 Clint Adams <clint@zsh.org> - - * 23595: Completion/Unix/Command/_git: merge in git archive - completion from Nikolai Weibull's repository. - - * 23594: Completion/Unix/Command/_git: merge in git grep - completion from Nikolai Weibull's repository. - - * 23593: Completion/Unix/Command/_git: merge in git annotate - completion from Nikolai Weibull's repository. - -2007-06-23 Clint Adams <clint@zsh.org> - - * 23587: Completion/X/Command/_xrandr: completion for - xrandr. - - * 23586: Completion/Unix/Command/_dmidecode: completion for - dmidecode. - -2007-06-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23585: Src/hist.c: handle errno when handling errors. - -2007-06-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23581: Src/hist.c: handle errors in writing history file - better. - -2007-06-22 Clint Adams <clint@zsh.org> - - * 23580: Completion/Unix/Command/_guilt: rudimentary completion - for guilt. - -2007-06-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23578: Doc/Zsh/builtins.yo, Src/mkbltnmlst.sh, Src/module.c, - Src/Builtins/rlimits.mdd, Src/Builtins/sched.mdd, - Src/Modules/cap.mdd, Src/Modules/clone.mdd, - Src/Modules/datetime.mdd, Src/Modules/example.mdd, - Src/Modules/files.mdd, Src/Modules/langinfo.mdd, - Src/Modules/mapfile.mdd, Src/Modules/mathfunc.mdd, - Src/Modules/parameter.mdd, Src/Modules/pcre.mdd, - Src/Modules/regex.mdd, Src/Modules/socket.mdd, - Src/Modules/stat.mdd, Src/Modules/system.mdd, Src/Modules/tcp.mdd, - Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd, - Src/Modules/zftp.mdd, Src/Modules/zprof.mdd, Src/Modules/zpty.mdd, - Src/Modules/zselect.mdd, Src/Modules/zutil.mdd, - Src/Zle/compctl.mdd, Src/Zle/complete.mdd, Src/Zle/computil.mdd, - Src/Zle/zle.mdd, Src/Zle/zleparameter.mdd: make standard - features autoloadable and use feature notation for predefined - autoloads. - -2007-06-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23575: Src/Modules/newuser.c: yet another problem on AIX: - need features_ and enables_ functions. - - * unposted, c.f. 23572: Src/modentry.c: bad prototype. - - * 23571: Src/module.c: AIX definitions weren't right. - -2007-06-19 Peter Stephenson <pws@csr.com> - - * 23567: Completion/Base/Utility/_complete_help_generic, - Completion/Base/Widget/_complete_debug, - Completion/Base/Widget/_complete_help, - Completion/Base/Widget/_generic, Doc/Zsh/compsys.yo: - make help and debugging available for generic widgets - via _complete_help_generic. - -2007-06-19 Clint Adams <clint@zsh.org> - - * 23569: Completion/Debian/Command/_bts: make 'bts show' - behave the same as 'bts bugs'. - - * 23568: Completion/Linux/Command/_iwconfig: complete iwconfig - modu. - -2007-06-18 Peter Stephenson <pws@csr.com> - - * unposted (should be in 23562): Test/C01arith.ztst: stupidity - strikes again. - - * 23562: README, Doc/Zsh/options.yo, Doc/Zsh/params.yo, - Src/exec.c, Src/glob.c, Src/options.c, Src/params.c, Src/subst.c, - Src/zsh.h, Src/Modules/mapfile.c, Src/Modules/parameter.c, - Src/Zle/complete.c, Test/C01arith.ztst, Test/D05array.ztst, - Test/D06subscript.ztst, Test/D07multibyte.ztst, - Test/E01options.ztst: add KSH_ZERO_SUBSCRIPT option to handle - the currently default behaviour that $array[0] or $string[0] - is mapped to $array[1] or $string[1] if KSH_ARRAYS is not - in effect. Now off by default; returns empty element or - causes error if used for setting. Valid ranges that happen - to include zero are not affected. - -2007-06-16 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Test/D07multibyte.ztst: stop test files from - cluttering up directory. - - * users/11575: Doc/Zsh/compsys.yo: document use of - additional completers and insert style with _all_matches - -2007-06-15 Peter Stephenson <pws@csr.com> - - * 23553: Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo, Src/exec.c, - Src/math.c: should have been committed but weren't. - -2007-06-14 Peter Stephenson <pws@csr.com> - - * users/11568: Functions/Prompts/.distfiles, - Functions/Prompts/prompt_{adam2,bigfade,elite2,elite,fade,fire}_setup, - Functions/Prompts/prompt_special_chars: allow UTF-8 versions - of certain visually striking but uninformative characters. - -2007-06-14 Clint Adams <clint@zsh.org> - - * 23561: Completion/Unix/Command/_git: merge in relevant changes - from Nikolai Weibull's repo to more appropriately complete after - 'git add'. - -2007-06-14 Peter Stephenson <pws@csr.com> - - * 23560: Doc/Zsh/mod_sched.yo, Src/Builtins/sched.c: improved - version of 23554 making $zsh_scheduled_events more useful - for programming. - -2007-06-12 Clint Adams <clint@zsh.org> - - * 23556: Completion/Unix/Command/_rrdtool: completion - for rrdtool. - - * 23557: Completion/Unix/Command/_git: complete - filenames after 'git reset <revision>'. - -2007-06-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23554: Doc/Zsh/mod_sched.yo, Doc/Zsh/params.yo, - Src/Builtins/sched.c, Src/Builtins/sched.mdd: - add $zsh_scheduled_events. - -2007-06-12 Clint Adams <clint@zsh.org> - - * unposted: Completion/Unix/Command/_pkg-config, - Completion/Unix/Command/_unexpand: remove RCS Id - comments. - -2007-06-12 Peter Stephenson <pws@csr.com> - - * 23553: Src/params.c: use of unsubscripted array inside - math evaluation now does something reasonable instead of - returning 0. - - * 23552: Src/Builtins/sched.c: remove unnecessary debugging - warning. - -2007-06-11 Peter Stephenson <pws@csr.com> - - * 23543: Completion/Unix/Command/_perforce: work around - problem adding "..." with hidden prefix. - -2007-06-08 Peter Stephenson <pws@csr.com> - - * 23537: Doc/Zsh/mod_zutil.yo, Src/Module/zutil.c, - Test/V05styles.ztst: use hash table for styles and add - tests. Apart from ordering of styles by name (patterns - are still ordered by weight) there should be no effect on - shell syntax and output. - -2007-06-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23535: Src/Module/parameter.mdd: autoload saliases and - dis_saliases. - -2007-06-06 Peter Stephenson <pws@csr.com> - - * Phil Pennock: 23529: Completion/compdump: quote completion dump - to prevent global alias expansion. - -2007-06-05 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_units: message and tag were - reversed; always attempt completion with removed prefix - (a bit problematic if prefix is e.g. "m"). - - * From Mikael Magnusson and Phil Pennock: 23521, 23522: - Completion/Unix/Command/_units: extra locations for - units data. - -2007-06-04 Peter Stephenson <pws@csr.com> - - * 23519: Completion/Unix/Command/_units: completion for "units". - - * 23518: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler: - add find-file-in-path and file-path styles to MIME system. - -2007-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23511: Src/exec.c, Src/lex.c: error if here document - too large. - -2007-06-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Functions/Calendar/age, Functions/Example/zls: - some more uses of zsh/stat that should only enable b:zstat. - -2007-05-30 Peter Stephenson <pws@csr.com> - - * 23495: Completion/Base/Completer/_ignored, - Completion/Base/Completer/_prefix: 23440 broken obscure - use of subscripting. - -2007-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/module.c: failure adding autoload builtin - didn't clean up properly. - -2007-05-29 Peter Stephenson <pws@csr.com> - - * 23488: README, Etc/zsh-development-guide, Src/builtin.c, - Src/init.c, Src/module.c, Src/module/zftp.c, Src/Zle/complete.c, - Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c: - tidy up module interface and documentation. - - * 23486: Test/A01grammar.ztst, Test/C03traps.ztst, - Test/D07multibyte.ztst, Test/E01options.ztst, Test/ztst.zsh: - Use {fd} syntax to open fd's for tests that won't clash - with standard fd's. - - * 23485: Completion/Zsh/Command/_zmodload, Src/cond.c, - Src/exec.c, Src/module.c, Src/params.c: completion for - zmodload -F; autoloading now requests a specific feature - from a module. - - * 23482: Src/Modules/tcp.c, Src/Zle/complete.c: more typos. - - * unposted: Doc/Zsh/mod_stat.yo: typo. - - * Phil Pennock: 23480: Src/parse.c: typo in =~ handling. - -2007-05-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Not posted but see 23479:Completion/Unix/Command/_chmod, - Completion/Unix/Command/_chown, Completion/Unix/Command/_cvs, - Completion/Unix/Type/_list_files, Completion/Zsh/Command/_stat, - Completion/Zsh/Command/_zstyle, - Completion/Zsh/Type/_file_descriptors,Doc/Zsh/builtins.yo, - Doc/Zsh/compsys.yo, Doc/Zsh/mod_stat.yo, - Etc/zsh-development-guide, Src/builtin.c, Src/cond.c, Src/exec.c - Src/init.c, Src/mkbltnmlst.sh, Src/mkmakemod.sh, Src/modentry.c, - Src/module.c, Src/params.c, Src/zsh.h, Src/Builtins/rlimits.c, - Src/Builtins/sched.c, Src/Modules/cap.c, Src/Modules/clone.c, - Src/Modules/datetime.c, Src/Modules/example.c, - Src/Modules/files.c, Src/Modules/langinfo.c, - Src/Modules/langinfo.mdd, Src/Modules/mapfile.c, - Src/Modules/mathfunc.c, Src/Modules/parameter.c, - Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/socket.c, - Src/Modules/stat.c, Src/Modules/system.c, Src/Modules/tcp.c, - Src/Modules/termcap.c, Src/Modules/terminfo.c, Src/Modules/zftp.c, - Src/Modules/zprof.c, Src/Modules/zpty.c, Src/Modules/zselect.c, - Src/Modules/zutil.c, Src/Zle/compctl.c, Src/Zle/complete.c, - Src/Zle/complist.c, Src/Zle/computil.c, Src/Zle/deltochar.c, - Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c, - Src/Zle/zleparameter.c, Test/B02typeset.ztst, - Test/V01zmodload.ztst, Test/V04features.ztst: add "zmodload -F" - and internal features support for modules. - - * 23478: Src/Zle/compresult.c: don't run reverse-menu-complete - if no completion yet. - -2007-05-27 Clint Adams <clint@zsh.org> - - * 23475: Completion/Unix/Command/_cdrecord: call $service - instead of 'cdrecord', in case we are using wodim. - -2007-05-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23471: configure.ac: error names not found properly - on Linux owing to restrictive test when searching files. - -2007-05-23 Peter Stephenson <pws@csr.com> - - * John Buddery: 23461 plus comment and test: fix race - setting up multios by blocking SIGCHLD. - - * 23460: Src/exec.c, Src/jobs.c, Test/E01options.ztst: - fix longstanding problem with multios attached to a - subshell process. - -2007-05-22 Peter Stephenson <pws@csr.com> - - * Phil Pennock: 23450: Src/Zle/zleparameter.yo: undefined - widget caused crash in in $widgets special parameter. - -2007-05-21 Peter Stephenson <pws@csr.com> - - * 23447: INSTALL, README, Doc/Zsh/contrib.yo, - Doc/Zsh/mod_newuser.yo, Doc/Zsh/roadmap.yo: improve documentation - for the zsh/newuser module and zsh-newuser-install function. - - * 23446: Src/Modules/parameter.c: a typo meant scanning - alias parameters returned a value the same as the key. - - * Unposted, see discussion around 23431: MACHINES: mention - multibyte oddity on MacOS. - - * 23440: README, Doc/Zsh/params.yo, Src/params.c, - Test/D06subscript.ztst: Reverse parameter subscripting - with (R) now returns the empty string on failure. Other - operators are not changed. - -2007-05-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23444: Src/builtin.c: print -c/-C didn't take into - account multibyte characters. - -2007-05-17 Clint Adams <clint@zsh.org> - - * Nikolai Weibull: 23443: Completion/Unix/Command/_vim: - mark --nofork and -f as redundant. - -2007-05-16 Clint Adams <clint@zsh.org> - - * Ag. D. Hatzimanikas: 23442: Completion/Unix/Command/_vim: - update for vim 7.1. - -2007-05-14 Clint Adams <clint@zsh.org> - - * Alexander Myodov: 23439: Completion/Unix/Command/_screen: - complete sessions for -dr, -dR, -Dr, -DR, -dx, and -Dx. - -2007-05-14 Peter Stephenson <pws@csr.com> - - * users/11484: Functions/Misc/zmv: allow renaming $f to $g - to work if the files are really the same. - - * 23438 (slightly improved to use _call_program): - Completion/Unix/Type/_printers: improve finding of network - printers. - - * Noted by Wayne: 23437; Src/params.c: typo in 23436. - -2007-05-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23435: Nikolai Weibull: Src/sort.c: bug testing for end - of sort string when ignoring backslashes. - - * Phil Pennock: unposted: Doc/Zsh/cond.yo: should document - POSIX regular expressions as extended, not basic. - - * 23436: Src/params.c: handle empty strings for locale - variables more consistently. - - * 23434: Completion/Unix/Command/_configure: use also - for config.status. - - * 23433: Src/Zle/zle_main.c: cast for ZMAXTIMEOUT was wrong - where sizeof(long) > sizeof(int). - -2007-05-10 Andrey Borzenkov <bor@zsh.org> - - * 23409 with extra comment: Src/init.c, Src/utils.c: after ZLE - displayed "use 'exit' to exit" message, PROMPT_SP will overwrite - prompt without ZLE knowing about it. Disable PROMPT_SP output if - message was printed. - -2007-05-10 Peter Stephenson <pws@csr.com> - - * Peter A. Castro: 23408: zftp account handling was broken. - -2007-05-08 Peter Stephenson <pws@csr.com> - - * Phil Pennock + tweaks: 23398 + more tweaks: README, - Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo, Src/exec.c, Src/zsh.h, - Test/A01grammar.ztst: add compatibility options for exec. - -2007-05-02 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/mod_pcre.yo, Src/pcre.c: missing - documentation file (tweaked) plus pointer fixes. - -2007-05-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * Phil Pennock + tweaks: 23375: configure.ac, Doc/Makefile.in, - Doc/Zsh/cond.yo, Doc/Zsh/mod_pcre.yo, Doc/Zsh/options.yo, - Src/cond.c, Src/options.c, Src/parse.c, Src/text.c, Src/zsh.h, - Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/regex.mdd: - Add zsh/regex option, =~ syntax and related options - BASH_REMATCH, NO_CASE_MATCH, RE_MATCH_PCRE. - -2007-05-01 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/contrib.yo: typo in widget name. - - * Guillaume Chazarain: 23364: Src/signals.c, Src/signals.h: fix - race in POSIX signal blocking - use local variables as other forms - already do. - - * 23363: README (not posted), Doc/Zsh/compsys.yo, - Src/Zle/computil.c: fake-files style now takes pattern. - -2007-04-30 Peter Stephenson <pws@csr.com> - - * 23339: Src/mem.c: make malloc(0) allocate a single byte - instead of returning invalid (and unfreeable) memory. - -2007-04-27 Peter Stephenson <pws@csr.com> - - * 23337: Src/Zle/compctl.c: argument to stat() wasn't - unmetafied so some filenames with non-ASCII characters - weren't recognised when the type of the file needed testing - in old-fashioned completion. - -2007-04-26 Peter Stephenson <pws@csr.com> - - * Phil Pennock: 23326: Src/utils.c: with no __STDC_ISO_10646__ - or HAVE_ICONV but with HAVE_NL_LANGINFO and CODESET the - code wouldn't compile. - -2007-04-23 Peter Stephenson <pws@csr.com> - - * unposted: Src/parse.c: make sure we get "invalid zwc file" - for a short file (not "wrong version"). - - * 23313: Src/parse.c: the shell didn't actually check the version - of ZWC files anyway. - - * 23312: Src/parse.c, Src/zsh.mdd: ensure parse.c is updated - when version.h changes in order to pick up changes to ZWC - files; memset() header of wordcode file to normalise unused words. - - * 23308: Src/text.c: stop tindent becoming negative, which - causes infinite use of memory; add debug test to see where - it would become negative. - - * Christoph Bauer: 23310ish: define _INCLUDE__STDC_A1_SOURCE - for HP/UX. - -2007-04-21 Clint Adams <clint@zsh.org> - - * 23303: Completion/Unix/Command/_date: use _guard. - -2007-04-19 Clint Adams <clint@zsh.org> - - * 23301: Paul Ackersviller: Functions/Misc/add-zsh-hook: - fix semicolon mistyped as a colon. - - * 23302: Completion/Unix/Command/_subversion: complete properties - after svn propget and propedit. - -2007-04-19 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: set release string to 4.3.4-dev-0. - - * users/11419: Doc/Zsh/zle.yo, - Functions/Zle/backward-kill-word-match, - Functions/Zle/delete-whole-word-match, - Functions/Zle/kill-word-match, Src/Zle/zle_misc.c, - Src/Zle/zle_utils.c: allow zle copy-region-as-kill with an - argument to add text to the kill ring from a widget function. - - * unposted: Functions/Misc/add-zsh-hook: should have been - added ages ago but wasn't. - - * README, Config/version.mk, Etc/FAQ.yo: release 4.3.4. - -2007-04-17 Wayne Davison <wayned@users.sourceforge.net> - - * users/11424: Functions/Zle/smart-insert-last-word: fixed - parse error caused by a comment in a math expression. - -2007-04-17 Peter Stephenson <pws@csr.com> - - * users/11421: Src/Zle/complist.c: use of %{...%} in - completion list formatting was broken. - - * Christoph Bauer: users/11416: Src/utils.c: bad use - of VARARR confused some compilers. - -2007-04-17 Geoff Wing <gcw@zsh.org> - - * unposted: LICENCE: update year to 2007 - -2007-04-16 Peter Stephenson <pws@csr.com> - - * unposted: ChangeLog, README, Completion/Base/Utility/.distfiles, - Config/version.mk, Functions/Calendar/.distfiles, - Functions/Misc/.distfiles, Src/.distfiles, Src/sort.c, - Src/utils.c: prepare for release of 4.3.3. - -2007-04-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23278: Src/sort.c, Test/D07multibyte.ztst: Fix - NUMERICGLOBSORT, broken by 23118. - - * users/11398: Src/zle_move.c: vi-goto-mark was broken - by multibyte characters. - -2007-04-14 Clint Adams <schizo@debian.org> - - * 23275: Completion/Unix/Command/_date: change order of - arguments to _arguments so that options will actually be - completed. - -2007-04-13 Peter Stephenson <pws@csr.com> - - * 23273: Src/params.c, Test/D04parameter.ztst: bad patterns - in ${var[(r)...]} returned the first element of an array instead - of the empty string. - - * 23271: Pete Hollobon: Completion/Unix/Command/_sqsh, - Completion/Unix/Command/.distfiles: new completion. - -2007-04-12 Peter Stephenson <pws@csr.com> - - * 23270: Src/system.h: #define _STRPTIME_DONTZERO to get Solaris - strptime() to work properly. - -2007-04-05 Clint Adams <clint@zsh.org> - - * 23264: Src/Modules/pcre.c: don't add the -pcre-match - operator unless the pcre functions are available. - -2007-04-02 Peter Stephenson <pws@csr.com> - - * 23258: Src/Zle/complist.c: debugging added in 23248 - was overaggressive. - - * 23257: Src/subst.c: buffer too short for multibyte - ${(#)...} evaluation. - -2007-03-31 Clint Adams <clint@zsh.org> - - * 23255: Completion/Unix/Command/_module: fix 23253 better. - - * 23253: Erik Johansson: Completion/Unix/Command/_module: - remove double quotes causing zcompile to choke. - -2007-03-30 Clint Adams <clint@zsh.org> - - * 23252: Completion/Debian/Command/_aptitude: complete for - "aptitude unhold". - -2007-03-30 Peter Stephenson <pws@csr.com> - - * unposted: Src/Zle/complist.c: better fix for 23248. - -2007-03-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23248: INSTALL, Src/utils.c, Src/zsh.h, Src/Zle/complist.c: - bug with completion lists on last line of group just shorter than - the line length; if compiled with debugging, ZSH_DEBUG_LOG is used - for dputs() output. - -2007-03-29 Clint Adams <clint@zsh.org> - - * unposted: Completion/Unix/Command/.distfiles: update - .distfiles. - -2007-03-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23246: Src/Zle/zle_tricky.c: fix completion of redirections that - occur before the command word. - -2007-03-28 Clint Adams <clint@zsh.org> - - * 23241: Daniel Qarras: Completion/Unix/Command/_module: - fix for _module. - -2007-03-27 Peter Stephenson <pws@csr.com> - - * unposted: Src/jobs.c: fix uninitialized variable in 23238. - - * 23238: Src/jobs.c: job didn't get deleted from table - if it wasn't printed, leading to obscure problems with current - jobs. - -2007-03-26 Peter Stephenson <pws@csr.com> - - * unposted (follow-on from 23228): Doc/Zsh/calsys.yo, - Functions/Calendar/calendar{,_edit,lockfiles,scandate,showdate}: - New calendar_edit (looks up file to edit and locks it); - calendar -a option; calendar_showdate -f fmt option; - make calendar_lockfiles use zsh/select to get higher resolution - timer to jitter delay; apply the summer time fix to - "<month>, <nth> <frob>day" as well; allow "2nd" as an - ordinal (also 1nd and 3nd, 4nd, ... since we aren't interested - in checking good English). - -2007-03-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * usres/11333: Completion/Unix/Command/_ssh: users-hosts - didn't limit the hosts properly when the user was matched - for ssh. - -2007-03-24 Clint Adams <clint@zsh.org> - - * 23236: Daniel Qarras: Completion/Unix/Command/_module: - enhancements for _module. - -2007-03-23 Peter Stephenson <pws@csr.com> - - * unposted, see followups to 23232: Doc/Zsh/builtins.yo: - superduper nitpicked version. - - * 23232: Src/module.c, Doc/Zsh/builtins.yo: improve - warning interface; record that zmodload doesn't flag an error - on failed loading. - -2007-03-22 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23228: Functions/Calendar/calendar_{scan,show}date: fix - summer time adjustments for relative times, plus some minor - tweaks. - -2007-03-22 Peter Stephenson <pws@csr.com> - - * 23226: Completion/Unix/Command/_nice: "nice -n<->" wasn't - handled. - -2007-03-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23224: Src/Zle/zle_refresh.c: fix output of prompt in - single line ZLE. - -2007-03-19 Peter Stephenson <pws@csr.com> - - * 23221: Martin Koeppe: don't used XTABS if not available. - -2007-03-15 Peter Stephenson <pws@csr.com> - - * 23219: Src/options.c: Ismail Dönmez reported that lower - casing of I to dotless i in tr_TR.UTF-8 broke option handling. - -2007-03-14 Clint Adams <clint@zsh.org> - - * 23215: Completion/Unix/Command/_module: completion for - "module". - -2007-03-13 Clint Adams <clint@zsh.org> - - * 23214: Completion/Unix/Command/_subversion: complete files - after svn commit --file. - -2007-02-10 Felix Rosencrantz <f.rosencrantz@gmail.com> - - * unposted: Completion/Unix/Command/_comm: added -s flag to - _arguments so completion could deal with combined flags. - -2007-03-08 Clint Adams <clint@zsh.org> - - * 23206: Completion/Unix/Command/_mercurial: completion for hg. - -2007-03-05 Clint Adams <clint@zsh.org> - - * 23205: Doc/Zsh/options.yo: fix misspelling of "effect". - -2007-03-01 Peter Stephenson <pws@csr.com> - - * 23203: Completion/X/Command/_acroread: use -version - to get version (spotted by Zvi) and fix the other methods - as fallback. - -2007-02-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/compsys.yo: document now useful -t - option to _regex_words. - - * 23198: Completion/Base/Utility/_values, - Completion/Base/Utility/_regex_words: make _values -s more - useful and use for regex completions with non-standard suffixes. - -2007-02-27 Clint Adams <clint@zsh.org> - - * 23196: Completion/Debian/Command/_apt: tweak apt-cache madison - and --installed. - -2007-02-27 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_ip: another typo - (rule_cmds). - -2007-02-26 Peter Stephenson <pws@csr.com> - - * 23190: Completion/Unix/Type/_net_interfaces: use ifconfig - on Linux and fall back to old method in order to pick up - additional interface types. - - * unposted: Completion/Unix/Command/_ip: tweak ip route - show abbreviations. - -2007-02-25 Barton E. Schaefer <schaefer@zsh.org> - - * 22894 (belated): Completion/Unix/Type/_email_addresses: fix - muttrc path expansion in search for aliases. - - * unposted (based on users/10881,10884): Doc/Zsh/contrib.yo, - Functions/Zle/smart-insert-last-word: add auto-previous zstyle, - make use of auto-suffix-retain, add an always block for cleanup, - and search unedited text via parameter module $history. - - * unposted: Functions/Misc/zkbd: account for the possibility that - meta- or alt- key combos could generate a multibyte character. - -2007-02-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23186: Completion/Base/Utility/_regex_words, - Completion/Unix/Command/_ip (tweaked), Doc/Zsh/compsys.yo: add to - regex completion handling and add new ip completion. - -2007-02-25 Barton E. Schaefer <schaefer@zsh.org> - - * 23176 (tweaked): Doc/Zsh/expn.yo, Src/subst.c: make the (X) - parameter expansion flag apply to the (#) flag as well, so that - "character not in range" is not normally a fatal error. Also - fix a minor typo in a comment. - -2007-02-25 Clint Adams <clint@zsh.org> - - * 23185: Tobias Gruetzmacher: Completion/Unix/Command/_qemu: qemu - completion improvements. - -2007-02-24 Clint Adams <clint@zsh.org> - - * 23184: Completion/Unix/Command/_qemu: completion for qemu. - -2007-02-22 Clint Adams <clint@zsh.org> - - * 23183: Completion/Debian/Command/_make-kpkg: - complete comma-separated list of directories/modules - for --added-modules. - -2007-02-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Src/utils.c: document some limitations of - getkeystring(). - -2007-02-16 Peter Stephenson <pws@csr.com> - - * 23182: Completion/Base/Utility/_arguments: handle - ./configure --help output "--with-foo[=BAR]" by - using "=-" specifier. - -2007-02-14 Clint Adams <clint@zsh.org> - - * 23178: David Riebenbauer: Completion/Debian/Command/_make-kpkg: - update for modern versions of make-kpkg. - -2007-02-14 Peter Stephenson <pws@csr.com> - - * 23177: Src/utils.c: print unprintable characters under - 256 in \M- format even in multibyte mode. - -2007-02-14 Barton E. Schaefer <schaefer@zsh.org> - - * 23169 (tweaked): Src/exec.c: upon failure to duplicate file - descriptors when setting up multios, report error and unwind as - gracefully as possible. - -2007-02-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23172: Src/Zle/zle_tricky.c: typo fixing line wrapping - in completion displays caused too many lines in multiline - explanation strings. - -2007-02-13 Peter Stephenson <pws@csr.com> - - * 23168: Src/Modules/tcp.c: error when failing to bind - to a port didn't use native byte order. - -2007-02-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - 23165: Src/math.c, Src/utils.c, Doc/Zsh/options.yo: don't - try to parse base indicators in octal and raise error for - bases above 36. - -2007-02-10 Felix Rosencrantz <f.rosencrantz@gmail.com> - * 23164: Src/builtin.c when PUSHD_SILENT is set, don't print anything - from popd/pushd. - -2007-02-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23162: Src/subst.c, D07multibyte.ztst: ${(#)x} didn't - metafy the result, giving nonsense if x was somewhere between - 128 and 160. - -2007-02-08 Peter Stephenson <pws@csr.com> - - * unposted: README: add note on 23159 to incompatibilities - section. - - * 23159 plus minor doc tweaks: Doc/Zsh/params.yo, Src/params.c, - Src/utils.c, Src/Zle/zle_main.c: leave BAUD parameter unset - by default. - -2007-02-07 Peter Stephenson <pws@csr.com> - - * 23153: Src/utils.c: put back old ztrcmp(), with a comment: - as we're not doing strcoll() using full wide character conversion - is overkill. - -2007-02-06 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23152: Src/builtin.c, Src/hashtable.c, Src/module.c, - Src/options.c, Src/params.c, Src/utils.c: fix ztrcmp() - to respect MULTIBYTE option and make sorting of printed - out hash tables more consistent. - -2007-02-06 Peter Stephenson <pws@csr.com> - - * unposted: Src/Zle/complist.c: 23144 could leave an uninitialised - variable. - -2007-02-05 Clint Adams <clint@zsh.org> - - * 23151: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_monotone: partial completion - for mtn (monotone) command. - -2007-02-03 Clint Adams <clint@zsh.org> - - * 23150: Completion/Debian/Command/.distfiles, - Completion/Debian/Command/_cdbs-edit-patch: completion for - cdbs-edit-patch. - -2007-02-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23144: Felix Eckhofer <felix@tribut.de>: Src/Zle/complist.c: - NULL pointer when ending interactive search in menu select. - - * 23143: Src/string.c, Src/subst.c: =-expansion failed - when there were metacharacters in the following string, - but still tried to expand it. It now succeeds. - -2007-02-01 Peter Stephenson <pws@csr.com> - - * unposted: Src/Sched.c: using 23142 turned up sched bug: - we could add checksched twice to the timed event list. - -2007-01-31 Peter Stephenson <pws@csr.com> - - * 23142: Doc/Zsh/calsys.yo, Functions/Calendar/calendar, - Functions/Calendar/calendar_add, calendar_scandate, - calendar_show, calendar_showdate: enhancements for recurring - events and relative times and dates in calendar system. - -2007-01-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23141: Src/jobs.c: don't refresh the display after - a printjob() that didn't print anything. - -2007-01-29 Clint Adams <clint@zsh.org> - - * 23140: Completion/Unix/Command/_arping: handle syntax for - iputils variant as well as whichever arping for which we - had already been completing. - -2007-01-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23136, 23138: Src/utils.c, Test/A03quoting.ztst: 23097 added - Bnulls for backslashes in $'...' strings but then didn't handle - them. - -2007-01-26 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Zle/zle_tricky.c: fixed the error checking of - mbrtowc(), whose return value can never be < 0. - - * unposted: Src/subst.c: silenced a compiler warning by making - an int unsigned. - - * unposted: Src/signals.c: mark an arg as UNUSED(). - -2007-01-24 Peter Stephenson <pws@csr.com> - - * unposted: Src/Builtins/sched.c: minor error in sched that no - one's spotted yet: we deleted a timed function twice if - there was anything left in the list after we ran an event. - - * 23131: Test/.distfiles, Test/D08cmdsubst.ztst: new tests for - command substitution. - -2007-01-23 Peter Stephenson <pws@csr.com> - - * 23126, modified: Src/lex.c: errors when deciding between - $(( and $( were not handled properly and in particular caused - problems in history expansion in zle. The code is a little - obscure; added a comment about this. - -2007-01-22 Peter Stephenson <pws@csr.com> - - * 23122: Src/sort.c: bug with some strings with embedded nulls and - some not in 23118. - -2007-01-22 Peter Stephenson <pws@csr.com> - - * 23119: Src/sort.c, Test/B03print.ztst, Test/D07multibyte.ztst: - do lowering of multibyte character case in sorting properly. - -2007-01-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23118: Doc/Zsh/expn.yo, Src/builtin.c, Src/glob.c, Src/jobs.c, - Src/sort.c, Src/subst.c, Src/utils.c, Src/zsh.h, Src/zsh.mdd, - Src/Zle/compcore.c, Src/Zle/computil.c, Src/Zle/zle_tricky.c, - Test/B03print.ztst, Test/D04parameter.ztst: improve sorting, - making it work properly with locales and handling embedded - nulls consistently. - -2007-01-21 Clint Adams <clint@zsh.org> - - * 23117: arno: Completion/Unix/Command/_yafc: - strip out erroneous commas. - - * 23116: arno: Completion/Unix/Command/_getmail: - strip out erroneous commas. - -2007-01-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23115: Doc/Zsh/grammar.yo, Src/lex.c, Src/loop.c, Src/parse.c, - Src/text.c, Src/zsh.h, Test/A01grammar.ztst: add ";|" - at end of case statement to cause testing of later patterns. - -2007-01-18 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/calsys.yo: typo with parentheses. - - * 23114: Src/subst.c: ${foo:s/bar/rod} was broken (when final - delimiter is not present). - -2007-01-16 Peter Stephenson <pws@csr.com> - - * users/11113: Completion/Unix/Command/_todo.sh: extend - project and context completion to ordinary text and complete - after whitespace in quotes. - -2007-01-15 Barton E. Schaefer <schaefer@zsh.org> - - * 23107, 23109: Config/defs.mk.in: suppress parallel makes. - -2007-01-14 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23104: Src/exec.c, Src/zsh.h: fix line numbering in - users/11111 and tidy up wordcode definitions slightly. - -2007-01-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23101: Src/signals.c, Test/C03traps.ztst: ZERR traps - had various odd features when combined with function returns. - -2007-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/11111: Doc/Zsh/options.yo, Src/exec.c, Src/options.c, - Src/zsh.h: add DEBUG_BEFORE_CMD option to run DEBUG traps - before the command instead of after. - - * 23098: Src/builtin.c, Test/D07multibyte.ztst: print widths - in printf take account of multibyte characters. - -2007-01-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23097: Src/lex.c, Src/utils.c, Src/zsh.h, Src/Zle/compcore.c: - splitting of $'...' strings in completion. - -2007-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23091: Doc/Zsh/compctl.yo, Doc/Zsh/contrib.yo: fixes - for some *roff problems noted by doclifter. - -2007-01-05 Peter Stephenson <pws@csr.com> - - * 23090: configure.ac: make ncurses preferred over curses - and try not to link to multiple display libraries if not - necessary. - -2007-01-04 Clint Adams <clint@zsh.org> - - * 23089: R.Ramkumar: Completion/Unix/Command/_mpc: - relax playlist glob pattern to work with newer versions. - -2007-01-04 Peter Stephenson <pws@csr.com> - - * 23088: Src/builtin.c, Src/zsh.h: Stephane says printf - formats and arguments should actually be escaped differently. - - * 20386: Src/zsh.h, Test/B03print.ztst: printf should handle - octal escapes in the '\0NNN' form. - -2007-01-02 Clint Adams <clint@zsh.org> - - * 22817: Frank Terbeck: Completion/Debian/Command/_aptitude: - update for modern options, add completion of releases. - - * 23080: arno: Completion/X/Command/_qiv: fix -c and -g - (both were mistakenly -b). - -2006-12-19 Peter Stephenson <pws@csr.com> - - * 23071: Src/utils.c: problem with signed characters with - no multibyte support. - - * 23070: Test/C02cond.ztst: Skip [[ -N file ]] test on NFS - file systems. - - * 23067: Doc/Zsh/builtins.yo, Src/jobs.c, Src/signals.c: - queue traps but handle signals when waiting for jobs or processes, - unless TRAPSASYNC is set or the wait builtin is in use, so as - to handle untrapped signals in a timely fashion; document that - negative or zero process IDs after kill may be handled specially - by the OS. - -2006-12-18 Peter Stephenson <pws@csr.com> - - * 23054, part: Src/jobs.c: error message for "kill -" with - no option or signal name was confusing. - -2006-12-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23060: Doc/Makefile.in: make everything makes info. - - * 23059: arno: Completion/Debian/Command/_apt-file, also - .distfiles: new completion. - - * 23058: arno: Completion/X/Command/_mozilla: handle -CreateProfile. - - * 23057: arno: Completion/X/Command/_setxkbmap, also .distfiles: - new completion. - -2006-12-15 Peter Stephenson <pws@csr.com> - - * users/11083: Doc/Zsh/contrib.yo, Functions/Zle/.distfiles, - Functions/modify-current-argument, - Functions/split-shell-arguments: functions for handling spliting - of shell arguments in ZLE. - -2006-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23052: Doc/Zsh/builtins.yo, Src/subst.c: multibyte - characters in typeset -L/R/Z padding. - -2006-12-13 Peter Stephenson <pws@csr.com> - - * 23051: Src/lex.c: using ${(Q)...} on an expression with - RCQUOTE handling failed when DEBUG was defined. - -2006-12-12 Peter Stephenson <pws@csr.com> - - * users/11079: Doc/Zsh/expn.yo: point out that 1(2##) may not - work. - -2006-12-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/zle.yo: documentation for CUTBUFFER and - killring ought to be more explicit about their connection. - - * 23044: Src/builtin.c: print -c/-C is yet another version - of print no one bothered to fix up to handle unmetafication - properly. - -2006-12-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * based on 23038: Completion/Unix/Command/_webbrowser, - Completion/X/Command/_mozilla: remove firefox from _webbrowser, - it's handled by Completion/X/Command/_mozilla; add some - firefox-specific options. - -2006-12-08 Clint Adams <clint@zsh.org> - - * 23039: Completion/X/Command/_mozilla: handle iceweasel as - firefox. - -2006-12-08 Peter Stephenson <pws@csr.com> - - * 23036: Src/utils.c, Src/Zle/compcore.c, Src/Zle/zle_tricky.c: - three more fixes for completion using $'...'. - -2006-12-04 Peter Stephenson <pws@csr.com> - - * 23028: configure.ac, Config/defs.mk.in, Doc/Makefile.in: - use texi2pdf where available. - - * unposted: Doc/Zsh/calsys.yo, Functions/Calendar/age, - Functions/Calendar/calendar_add, - Functions/Calendar/calendar_scandate: autoload missing in - calendar_add; add some date shortcuts for the use of age. - - * 23027: Vin Shelton: Doc/Zsh/calsys.yo: texinfo links were - reversed. - -2006-12-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22026: Src/exec.c, Src/subst.c, Src/utils.c, Src/zsh.h, - Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle.h, - Src/Zle/zle_tricky.c: Incomplete fixes for using $'...' - quoting in completion. - -2006-12-01 Peter Stephenson <pws@csr.com> - - * unposted fixes for previous commit: - Completion/Unix/Type/_list_files, Doc/Zsh/calsys.yo, - Functions/Calendar/age: age was broken; fix typos; use - "always" block to restore stat disability. - - * c.f. 23023: Completion/Unix/Type/_list_files, Doc/.distfiles, - Doc/Makefile.in, Doc/zsh.yo, Doc/zshcalsys.yo, Doc/Zsh/.distfiles, - Doc/Zsh/calsys.yo, Doc/Zsh/compsys.yo, Doc/Zsh/intro.yo, - Doc/Zsh/manual.yo, Doc/Zsh/modules.yo, Doc/Zsh/tcpsys.yo, - Functions/Calendar/.distfiles, Functions/Calendar/age, - Functions/Calendar/calendar, Functions/Calendar/calendar_add, - Functions/Calendar/calendar_lockfiles, - Functions/Calendar/calendar_read, - Functions/Calendar/calendar_scandate, - Functions/Calendar/calendar_show, - Functions/Calendar/calendar_sort, Src/Modules/datetime.mdd: new - calendar system with age glob qualifier function; files - _list_files to be able not to trample over external stat. - -2006-11-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23022: Test/ztst.zsh: don't allow WORDCHARS to be exported - to tests. - - * unposted: Completion/Unix/Command/_perforce: updated to 2006.2. - -2006-11-27 Clint Adams <clint@zsh.org> - - * 23018: Completion/Unix/Command/_darcs: parse out - section headings from darcs --help. - -2006-11-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 23008: Src/exec.c: failure to output error message could - alter exit status. - -2006-11-18 Clint Adams <clint@zsh.org> - - * 23005: Completion/Unix/Command/_toilet: completion - for toilet. - -2006-11-15 Peter Stephenson <pws@csr.com> - - * users/10989: Completion/Base/Core/_description, - Doc/Zsh/compsys.yo: add fake-always style that overrides - ignored-patterns. - -2006-11-14 Peter Stephenson <pws@csr.com> - - * users/10981: Jean-Rene David <jrdavid@magma.ca>: - Completion/Unix/Command/_ssh: needs glob_subst to expand - path for config file. - - * users/10979: Completion/Unix/Command/_ssh: use config file - from -F option if present. - -2006-11-13 Clint Adams <clint@zsh.org> - - * 22998: Completion/Linux/_acpi: add -s to _arguments. - -2006-11-11 Clint Adams <clint@zsh.org> - - * unposted: update config.guess and config.sub to - 2006-07-02 versions. - -2006-11-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22997: Src/builtin.c, Src/subst.c: ${...?...} didn't go through - proper exit sequence and didn't take account of being in a - subshell and didn't call exit trap anyway because errflag was set. - -2006-11-10 Peter Stephenson <pws@csr.com> - - * 22993: Completion/Unix/Command/_make: slightly more - effective version of 22988. - - * 22992: Doc/Zsh/func.yo, Doc/Zsh/builtins.yo, Src/builtin.c: - make $? available on trap or hook shell exit. - -2006-11-09 Peter Stephenson <pws@csr.com> - - * 22984: Doc/Zsh/func.yo, Src/builtin.c: add zshexit hook - to 22978. - - * 22988: arno: Completion/Unix/Command/_make: failed on - special variable names, so use local -h. Probably not a - complete fix since the function can run recursivesly for - include directives which should use the same namespace. - -2006-11-08 Peter Stephenson <pws@csr.com> - - * 22983: Src/builtin.c, Src/init.c: exit could loop for ever - in two different ways (but not at the same time). - - * 22978 (tweaked): Doc/Zsh/func.yo, Doc/Zsh/options.yo, - Src/builtin.c, Src/init.c, Src/utils.c, Src/Zle/zle_main.c, - Test/A05execution.ztst: use <hook>_functions array variables for - hook functions. - - * 22981: Zvi Har'El: Src/glob.c: 22980 got a get_strarg() wrong in - glob.c, somehow. - -2006-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22980: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst, - Test/D07multibyte.ztst: 22952 messed up optional arguments - to padding parameter flags. - -2006-11-07 Peter Stephenson <pws@csr.com> - - * 22973: arno: Completion/Unix/Command/_zip: .xpi files are - zip files. - -2006-11-06 Peter Stephenson <pws@csr.com> - - * 22972: Completion/Zsh/Command/_typeset: autoload completion - is limited to functions not yet registered. - - * 22971: Src/exec.c, Src/jobs.c: don't allow job control - on jobs in current shell and sanitize error message used. - -2006-11-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22968: Src/builtins.c: print -z and print -s didn't cope - with the fact that the arguments were unmetafied. - -2006-11-03 Peter Stephenson <pws@csr.com> - - * users/10928: send all "jobs" output to stdout, not shout. - - * 22953: Mikael Magnusson: - Completion/Base/Widget/_most_recent_file: didn't work if - file started with a hyphen. - -2006-11-02 Peter Stephenson <pws@csr.com> - - * 22952: Src/glob.c, Src/params.c, Src/subst.c, - Test/D04parameter.ztst: fix multibyte delimiters for - arguments to parameter flags and substitution modifiers - in parameters and glob qualifiers (but not yet substitution - modifiers in history). - - * 22950: Src/Zle/zle_tricky.c: starting menu completion - with reverse-menu-complete used the first match instead - of the last. - -2006-11-02 Clint Adams <clint@zsh.org> - - * 22947: R. Ramkumar: Completion/Unix/Command/_mkdir: - minor mkdir completion fixes. - -2006-11-01 Peter Stephenson <pws@csr.com> - - * 22934, with modifications (c.f. 22937): INSTALL, README, - Completion/compinit, Doc/Zsh/expn.yo, Doc/Zsh/options.yo, - Src/glob.c, Src/hist.c, Src/options.c, Src/subst.c, Src/zsh.h, - Test/E01options.ztst: add HIST_SUBST_PATTERN option, make - ${.../#%...} anchor at both ends. - -2006-11-01 Clint Adams <clint@zsh.org> - - * 22940: R. Ramkumar: Completion/Unix/Command/_mkdir: - completion for mkdir. - - * users/9483: Sir Raorn(?): Completion/Unix/Command/_ri: - completion for ri (ruby documentation viewer). - -2006-10-27 Peter Stephenson <pws@csr.com> - - * 22924: Src/Zle/complist.c, Src/Zle/compresult.c, - Src/Zle/zle_main.c, Src/Zle/zle_utils.c: fix a couple more - metafy_line()/unmetafy_line() problems. - - * 22921: Src/compresult.c: obscure crash reveals - hasbrpsfx() can be called with line unmetafied. - -2006-10-30 Peter Stephenson <pws@csr.com> - - * 22913: Doc/Zsh/params.yo, Src/jobs.c: set $! after a "bg", too. - -2006-10-27 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: completion - of jobs selected from a jobview (e.g. after p4 fix -d -c <change>) - was broken. - -2006-10-27 Clint Adams <clint@zsh.org> - - * 22914: Completion/Unix/Command/_cdrecord: add wodim to compdef - line. - -2006-10-25 Peter Stephenson <pws@csr.com> - - * 22911: Src/Zle/zle_tricky.c: need fix from 22877 here, too. - - * arno: Completion/Unix/Command/{_getmail,_yafc,.distfiles}: - two new completions. - - * unposted: Completion/Debian/Command/.distfiles, - Completion/Linux/Command/.distfiles, - Completion/Linux/Type/.distfiles, - Completion/Unix/Command/.distfiles, - Completion/Unix/Type/.distfiles, Doc/.cvsignore, - Functions/Zle/.distfiles: various files missing from - the distribution. - -2006-10-23 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: the final option - changes for the imminent 2.6.9 release. - -2006-10-20 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_todo.sh: use plain - mode for getting completino lists. - -2006-10-23 Clint Adams <clint@zsh.org> - - * 22896: Src/Zle/complete.mdd: rename Mandrake to - Mandriva. - -2006-10-20 Clint Adams <clint@zsh.org> - - * 22888: Completion/Unix/Command/_tardy: completion for - tardy. - -2006-10-19 Peter Stephenson <pws@csr.com> - - * unposted: Src/utils.c: EOF in ur-22885 should be WEOF. - - * unposted: Completion/Unix/Command/_todo.sh: more places - where we complete priorities and contexts. - - * quoted in 22885: Src/utils.c: 22544 introduced problems - with multibyte tokenized strings. - -2006-10-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted, c.f. 22833: rename Completion/Mandrake and - all its works to Completion/Mandriva. - -2006-10-16 Peter Stephenson <pws@csr.com> - - * 22877: Src/Zle/compctl.c: string quoting used QT_NONE - instead of QT_BACKSLASH. - -2006-10-16 Geoff Wing <gcw@zsh.org> - - * unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: archive.progeny.com - mirror site is being decommissioned. Remove from lists - -2006-10-15 Barton E. Schaefer <schaefer@zsh.org> - - * unposted: Functions/Misc/colors: add several comments about - other ANSI terminal attributes, cribbed from ECMA-48. - - * unposted: Functions/Zle/keymap+widget: another example. - - * users/10885: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, - Src/Zle/zle_utils.c: add widgets auto-suffix-remove and - auto-suffix-retain for user-defined suffix control. - -2006-10-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22874: Functions/Misc/run-help: unquoting wasn't consistent. - -2006-10-14 Clint Adams <clint@zsh.org> - - * 22875: Completion/Debian/Command/_a2utils: Emmanuel Bouthenot, - tweaked: completion for a2ensite, a2dissite, a2enmod, a2dismod. - -2006-10-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22873: Larry P. Shrof: Doc/Zsh/expn.yo: typo. - -2006-10-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22860: Completion/Unix/Command/_tar: allow - before first - argument of tar. - - * 22859: Completion/Base/Utility/_arguments: improved to - handle all descriptions for zsh configure and GNU tar. - -2006-10-10 Peter Stephenson <pws@csr.com> - - * 22858: Completion/Base/Utility/_arguments: options generated - from --help text can now be documented. - - * 22851: arno: Completion/Unix/Command/_init_d: "-" can occur - in script names. - - * 22854: Doc/Zsh/contrib.yo, Functions/Zle/replace-string, - Functions/Zle/replace-string-again: separate out back end - as separate widget to repeat replacement. - - * 22853: Src/utils.c: unquoted ^ at end of bindkey string - treated literally. - - * 22852: Doc/Zsh/compsys.yo: finally document effect of 22191 - (users style overrides use of userdirs). - -2006-10-07 Clint Adams <clint@zsh.org> - - * 22835: Completion/Unix/Command/_pon: tidy up pon bit - and add poff completion. - -2006-10-07 Andrey Borzenkov <bor@zsh.org> - - * 22831: Src/Zle/comp.h, Src/Zle/compresult.c, Src/Zle/computil.c: - make CM_SPACE definition global and use it consistently in - compresults and compdescribe to lay out matches - - * 22839: Completion/Unix/Command/_texinfo: as pointed by - Vincent Lefevre, info accepts file names as first argument - -2006-10-06 Peter Stephenson <pws@csr.com> - - * 22820: Src/Zle/compresult.c: no, users/10791 wasn't right - and now I'm bored so this will have to do. - - * users/10791: Src/Zle/compresult.c: accumulated completions - on single line could cause border disputes resulting in - skirmishes with cursor position. - -2006-10-05 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22819: Doc/Zsh/compwid.yo, Src/builtin.c, Src/subst.c, - Src/text.c, Src/utils.c, Src/zsh.h, Src/Zle/compcore.c, - Src/Zle/compctl.c, rc/Zle/complete.c, Src/Zle/computil.c, - Src/Zle/zle_tricky.c: rationalise internal quotation, - upgrade completion use of quotation to start handling $'...' - (still incomplete), fix bug on completion with active - RCQUOTES. - -2006-10-05 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: improved - message when not completing after "p4 clients". - - * 22818: Doc/Zsh/params.yo: delimiters in subscript flags - are like those in parameter substitution. - -2006-10-03 Clint Adams <clint@zsh.org> - - * 22816: Joerg Sommer: Completion/Unix/Command/_pon: - completion for pon. - - * 22815: Joerg Sommer: Completion/Debian/Command/_invoke-rc.d: - completion for invoke-rc.d. - -2006-10-03 Clint Adams <clint@zsh.org> - - * 22814: Completion/X/Command/_mplayer: add .mp4 and .flv - to media file extension list. - - * 22812: R. Ramkumar: Completion/Unix/Command/_bittorrent, - Completion/Unix/Command/_rsync, Completion/Unix/Command/_ssh, - Completion/Unix/Command/_wget: utilize _bind_addresses in - existing completion functions. - - * 22811: R. Ramkumar: Completion/Unix/Type/_bind_addresses: - helper function to give local IP addresses to which a program - might bind a socket. - - * 22810: Completion/Unix/Command/_gpg: fix malformed - --encrypt-to line. - - * 22808: Completion/Debian/Command/_dchroot, - Completion/Debian/Command/_dchroot-dsa: handle internationalized - output and choices within brackets. - -2006-10-02 Peter Stephenson <pws@csr.com> - - * unposted: INSTALL: correct opening remarks. - - * 22804: Mikael Magnusson: Functions/Zle/narrow-to-region: - allow zero-length ranges. - -2006-10-01 Clint Adams <clint@zsh.org> - - * 22803: Roger Leigh: Completion/Debian/Command/_dchroot, - Completion/Debian/Command/_dchroot-dsa, - Completion/Debian/Command/_schroot: updates for - dchroot and schroot completion, and new completion - for dchroot-dsa. - -2006-09-30 Clint Adams <clint@zsh.org> - - * 22800: Completion/Linux/Type/_fuse_arguments, - Completion/Linux/Type/_fuse_values, - Completion/Linux/Type/_wakeup_capable_devices: - put quotes around "$@". - - * 22799: R. Ramkumar: Completion/Linux/Command/_fusermount: - change _fusermount to use _fuse_values and _canonical_paths. - - * 22798: R. Ramkumar: Completion/Unix/Command/_bittorrent: - cleanup and fixes. - - * 22797: R. Ramkumar: Completion/Linux/Type/_fuse_arguments, - Completion/Linux/Type/_fuse_values: generic FUSE completion - support functions. - - * 22796: R. Ramkumar: Completion/Unix/Command/_subversion: - fix misspelling of IPREFIX. - - * 22795: R. Ramkumar: Completion/Unix/Type/_urls: - handle https urls. - - * 22794: R. Ramkumar: Completion/Linux/Command/_acpitool, - Completion/Linux/Type/_wakeup_capable_devices: completion for - acpitool. - -2006-09-30 Andrey Borzenkov <bor@zsh.org> - - * unposted: Src/Zle/compmatch.c: fix thinko in 22787 that changed - semantic of pattern matching in join_strs - -2006-09-29 Vin Shelton <acs@xemacs.org> - - * 22789: Src/init.c: Source zshenv even if non-interactive. - -2006-09-29 Andrey Borzenkov <bor@zsh.org> - - * 22787: Srz/Zsh/compmatch.c: change calling convention of - pattern_match to not depend on current implementation that works - for single byte characters only, thus making it more easy to - change it later. - -2006-09-28 Peter Stephenson <pws@csr.com> - - * 22783: Frank Terbeck: Src/init.c: don't load zsh/newuser - unless interactive. - -2006-09-27 Peter Stephenson <pws@csr.com> - - * 22780: Completion/Base/Utility/_arguments: - Completion/Unix/Command/_todo.sh, Doc/Zsh/compsys.yo, - Src/Zle/computil.c: _arguments -n sets NORMARG to index of first - non-option argument (via comparguments -n); use this in _todo.sh. - - * unposted: Completion/Unix/Command/_todo.sh: replace buggy - search message by completion of projects and contexts. - - * 22778: Completion/Unix/Command/_locate: completion for - various versions of the locate command. - -2006-09-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22765: Src/subst.c, Src/utils.c, Src/ztype.h, - Src/Zle/zle_main.c: rename some MB_ macros to WC_ since they - act on wchar_t's. - -2006-09-23 Andrey Borzenkov <bor@zsh.org> - - * unposted: Test/A06assign.ztst, Test/B03print.ztst, - Test/E01options.ztst, Test/ztst.zsh: as pointed by Bart in 22759, - locale is already taken care of in test harness; revert 22758 - and add LC_NUMERIC and LC_MESSAGES to list of locale variables to set. - - * 22761: Src/subst.c, Src/Zle/computil.c: make compdescribe - to consistently use character width when laying out matches. - This supercedes fix in 22729. - -2006-09-22 Andrey Borzenkov <bor@zsh.org> - - * 22758: Test/A06assign.ztst, Test/B03print.ztst, - Test/E01options.ztst: force locale to C to avoid test failures - due to localized output - -2006-09-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22752: + Roman Neuhauser: Doc/Zsh/compsys.yo, - Doc/Zsh/compwid.yo, Doc/Zsh/roadmap.yo: improved introduction - to completion. - -2006-09-21 Peter Stephenson <pws@csr.com> - - * 22739: arno: Functions/Prompt/promptinit: change test - for prompt -c to test for theme. - - * 22753: Src/prompt.c, Src/utils.c, Src/Zle/complist.c: - minor bugs with using characters spotted from warnings on - Cygwin. - -2006-09-20 Peter Stephenson <pws@csr.com> - - * users/10748: Doc/Zsh/compsys.yo: improve example, make one - feature clearer. - - * unposted: Completion/Unix/Command/_perforce: add some - handling for unsupported commands; add p4d completion. - - * 22743: Doc/Zsh/builtis.yo, Src/builtin.c: document the sh - "set - [args]" -> "set -xv [-- args]" hack and limit it to - non-native emulation. - - * 22742: Doc/Zsh/expn.yo, Src/subst.c, Src/zsh.h: padding once - again defaults to character lengths, but (m) flag turns on - character widths for multibyte characters. - -2006-09-17 Clint Adams <clint@zsh.org> - - * 22728, 22734: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c, - Src/Modules/parameter.mdd, Src/exec.c, Src/zsh.h: $functrace - parameter for function backtraces. - -2006-09-17 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22729: Src/Zle/computil.c: truncation of description didn't - handle multibyte characters. - - * 22727: Src/init.c, Src/Zle/zle_main.c: "use 'exit' to exit" - was suboptimal. - -2006-09-16 Andrey Borzenkov <bor@zsh.org> - - * 22721: Makefile.in: add pdf target - -2006-09-15 Clint Adams <clint@zsh.org> - - * 22719: configure.ac: check for RLIMIT_NICE and - RTLIMIT_RTPRIO so 22718 will work. - - * 22718: Src/Builtins/rlimits.c: use ulimit -e and -r - for RLIMIT_NICE and RLIMIT_RTPRIO respectively. - -2006-09-15 Peter Stephenson <pws@csr.com> - - * zsh-users/10720: arno + pws: Functions/Misc/checkmail: - bad recursive argument handling and need to be safer about - options. - - * 22715: Src/exec.c: AUTOCONTINUE option never worked. - - * 22713: Src/Zle/zle_tricky.c: word end in math completion context - was screwy. - - * 22710: README, Doc/Zsh/expn.yo, Src/prompt.c, Src/subst.c, - Src/utils.c: assume width 1 for control characters; don't - crash if width of repeated padding string is 0. - -2006-09-14 Peter Stephenson <pws@csr.com> - - * 22692: Doc/Zsh/expn.yo: additional notes on a couple of - parameter expansion features. - -2006-09-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22705: Doc/Zsh/expn.yo, Src/prompt.c, Src/subst.c, Src/utils.c, - Src/zsh.h, Test/D04parameter.ztst, Test/D07multibyte.ztst: - make ${(l...)...} and ${(r...)...} padding handle multibyte - characters including those wider than 1 unit. - -2006-09-13 Peter Stephenson <pws@csr.com> - - * 22704: Completion/Unix/Command/_todo.sh: new completion. - -2006-09-12 Peter Stephenson <pws@csr.com> - - * 22689: Src/subst.c, Test/D04parameter.ztst: untokenize - strings for substitution in cases like - ${${~:-*}//(#m)*/$MATCH=$MATCH}. The pattern code tried - to metafy the tokens, which caused chaos. - -2006-09-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Mikael Magnusson: Doc/Zsh/mod_sched.yo: typos. - -2006-09-11 Peter Stephenson <pws@csr.com> - - * 22686: Src/params.c: unset array if assigning numeric - parameter to it. - -2006-09-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22685: Src/builtin.c: printf "%d" \'X should handle multibyte - characters X. - - * 22684: Src/builtin.c, Src/math.c, Src/params.c, Src/subst.c, - Src/utils.c, Src/zsh.h, Src/Zle/zle_hist.c, Src/Zle/zle_hist.c, - Src/Zle/zle_misc.c: rewrite getkeystring() to have something - approaching an API; printf strings expand octal escapes even - without a leading zero. - - * 22676, adapted as in 22678: README, Doc/Zsh/mod_sched.yo, - Src/init.c, Src/subst.c, Src/utils.c, Src/zsh.h, - Src/Builtins/sched.c, Src/Zle/zle_main.c, Src/Zle/zle_thingy.c: - make sched events work when waiting for input in zle; allow sched - to handle the trashzle(); improve the interface to sched both - internally and externally. - - * 22681: configure.ac, Src/Modules/system.mdd: pass all - files defining errnos to awk so that it finds them all on - systems where the list of definitions is fragmented. - -2006-09-07 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22672: arno: Functions/Prompts/prompt_clint_setup, - Functions/Prompts/prompt_zefram_setup: broken when KSH_ARRAYS - is on. - -2006-08-30 Peter Stephenson <pws@csr.com> - - * 22660 [slightly tweaked]: Src/Zle/compctl.c: unmetafy - directory prefix for passing to opendir() and stat(). - -2006-08-22 Clint Adams <clint@zsh.org> - - * 22657: Completion/Unix/Command/_tla: update for tla 1.3.5. - -2006-08-22 Peter Stephenson <pws@csr.com> - - * 22656: Src/options.c (slightly tweaked): improve handling of - monitor option a bit. - -2006-08-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * zsh-users/10634: Completion/compinstall: attempt to fix up - relative paths of completion configuration file. - -2006-08-21 Clint Adams <clint@zsh.org> - - * 22655: Ralph Amissah: Completion/Unix/Command/_sisu: - completion for sisu. - -2006-08-21 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/compsys.yo: extra documentation arising out of - discoveries by Bart in zsh-users/10626 and 22653. - -2006-08-20 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22651: Src/Zle/complist.c, Src/Zle/zle_tricky.c: failed to - unmetafy bytes for output. - - * 22650: Src/Modules/zutil.c: when deleting styles, the pointer - to the last style can become invalid. - - * 22643: Src/Zle/zle_tricky.c: completion in math context was - broken by searching for multibyte word characters. - - * 22638: Src/Modules/zutil.c: deleting styles in contexts didn't - remove the style itself if it was the last context. - -2006-08-17 Peter Stephenson <pws@csr.com> - - * 22613: configure.ac, Doc/Zsh/mod_datetime.yo, - Src/Modules/datetime.c: add strftime -r to use strptime() - if available. - - * 22612: Src/Zle/complist.c: comment the static variables. - -2006-08-16 Peter Stephenson <pws@csr.com> - - * 22610: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: - allow zstyle -L with arguments. - -2006-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22611: Src/Zle/complist.c: bug when scrolling completion - list with line wider than screen. - -2006-08-15 Clint Adams <clint@zsh.org> - - * 22609: Completion/Unix/Command/_baz: complete for - switch subcommand. - -2006-08-14 Peter Stephenson <pws@csr.com> - - * 22608: Doc/Zsh/contrib.yo: improvements on 22606. - - * 22606: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context, - Functions/Zle/match-words-by-style, Functions/Zle/.distfiles: new - word-context style for word matching, remove out-of-date handling - for bug. - - * 22605: Src/Zle/complist.c: bug in 22597 noticed by Bart - when not printing. - -2006-08-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22601: Completion/Unix/Type/_list_files: need to unquote - characters quoted by the completion mechanism. - -2006-08-13 Clint Adams <clint@zsh.org> - - * unposted: Functions/Zle/.distfiles, - Completion/Unix/Command/.distfiles: update distributed files. - -2006-08-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22599: Src/utils.c, Src/zsh.h, Src/Zle/complist.c, - Src/Zle/compresult.c, Src/Zle/zle_tricky.c: use wide character - widths in completion. - -2006-08-10 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/compsys.yo: trivial typo. - - * 22597: Src/Zle/complist.c, Src/Zle/zle_tricky.c: back off - two hunks of 22594 which appeared to both unnecessary and - incorrect. - -2006-08-10 Barton E. Schaefer <schaefer@zsh.org> - - * 22595: Src/Zle/complist.c: paranoid bounds-checking on some - loop indices. - -2006-08-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Functions/Example/pushd: maintain pushdignoredups if - it was set on entry to the function. I have a weird sense of - deja vu about this... - - * 22594: Src/Zle/complist.c, Src/Zle/compresult.c, - Src/Zle/zle_tricky.c: Attempt to fix some off-by-one errors - counting lines when a completion list exactly fits the - display width. - -2006-08-09 Peter Stephenson <pws@csr.com> - - * 22593: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler: add - handle-nonexistent style. - -2006-08-08 Peter Stephenson <pws@csr.com> - - * 22592: Functions/TCP/tcp_send, Doc/Zsh/tcpsys.yo: add tcp_send - -c to behave in a catlike fashion. - -2006-08-07 Peter Stephenson <pws@csr.com> - - * unposted: Src/Zle/complist.c: another bad declaration. - - * 22589: Src/Zle/complist.c: bug in menu selection when displaying - long lines. - -2006-08-06 Clint Adams <clint@zsh.org> - - * 22588: Completion/Unix/Command/_rake: handle targets - with colons in their names. - -2006-08-04 Peter Stephenson <pws@csr.com> - - * 22587: INSTALL, MACHINES, NEWS< README: update notes on - multibyte support and add references to news. - - * 22586: Src/parse.c, Src/utils.c: minor warnings spotted - on Cygwin: unnecessary static declaration in parse.c, typo in - set_widearray, also comments on other warnings that are harder - to avoid. - - * 22585: makepro.awk, Src/utils.c: zsh.exports was missing - VA_ALIST declarations and some multibyte-related stuff. - - * 22584: Frank Terbeck: Completion/Unix/Type/_tar_archive: even - GNU tar should complete uncompressed .tar files. - - * 22582: configure.ac: Test for functions needed for multibyte - mode instead of basing MULTIBYTE_SUPPORT on marginally relevant - preprocessor definition. Installation docs still need changing. - - * 22583: Peter A. Castro: Src/Modules/mathfunc.c: Cygwin erand48() - apparently needs initialisation. - -2006-08-03 Peter Stephenson <pws@csr.com> - - * 22581: Src/prompt.c, Src/utils.c, Src/Zle/complist.c, - Src/Zle/zle.h, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: - rationalise multibyte conversions to and from wide characters - to use restartable form. - - * unposted: Completion/Unix/Command/_subversion: import - directory is optional, so complete URLs also on first argument. - -2006-08-02 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22579: Completion/Unix/Command/_perldoc, - Completion/Unix/Type/_perl_modules: find .pod files in perl - include path for documentation. - - * users/10570: Completion/Unix/Command/_subversion: handle "svn - import" better. - -2006-08-02 Peter Stephenson <pws@csr.com> - - * 22578: README, Doc/Zsh/params.yo, Src/params.c: ensure - HISTCHARS/histchars never contains non-ASCII characters. - - * unposted: Functions/Zle/history-beginning-search-menu, - Doc/Zsh/params.yo: yet more tweaks I'm too embarrassed to post: - ^ also needs quoting; clear display on first non-digit character; - stray / appeared in substitution. - -2006-08-01 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22575: Src/utils.c, Src/ztype.h, Src/Zle/compresult.c, - Src/Zle/zle.h, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: - multibyte fixes for blashquote() and getzlequery() and - remove some aliases. - - * 22574: Functions/Zle/history-beginning-search-menu, - Doc/Zsh/params.yo: ~ also needs quoting and we have to do - it even if space isn't active. - -2006-08-01 Peter Stephenson <pws@csr.com> - - * 22573: Functions/Zle/history-beginning-search-menu, - Doc/Zsh/params.yo: smooth the interface to the widget and - document how to quote metacharacters for reverse array - subscripting. - - * 22572: Src/pattern.c, Test/D04parameter.ztst: use of (#m) - was broken with pure strings. - - * users/10564: Completion/Unix/Command/_gpg: use appropriate - key ring arguments to search key rings. - -2006-07-30 Barton E. Schaefer <schaefer@zsh.org> - - * unposted (see users/10559): Functions/Zle/keymap+widget: a - technique for overriding ZLE widgets only within a selected - keymap. - -2006-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22565: Src/compcore.c: Fix bug with menu completion after failed - accept-and-menu-complete, perhaps. - - * 22562: Src/glob.c, Test/D07multibyte.ztst: make ${...#...} etc. - understand multibyte characters. - -2006-07-29 Barton E. Schaefer <schaefer@zsh.org> - - * 22561: Functions/Zle/incremental-complete-word: fix display bug - introduced roughly five years ago when _main_complete was changed - to remove the leading underscore from $_lastcomp[completer]. Add - some other commentary. - -2006-07-28 Peter Stephenson <pws@csr.com> - - * 22560: Functions/Zle/history-beginning-search-menu: - tweak (= hack) to clear menu after use. - - * 22559: Doc/Zsh/contrib.yo, - Functions/Zle/history-beginning-search-menu: new Zle function. - -2006-07-26 Peter Stephenson <pws@csr.com> - - * 22558: Src/math.c: declaration after statement. - -2006-07-25 Peter Stephenson <pws@csr.com> - - * 22557: Doc/Zsh/options.yo, Misc/globtests, Src/options.c, - Src/pattern.c, Test/D02glob.ztst, Test/D07multibyte.ztst: - Turn on multibyte option by default for MULTIBYTE_SUPPORT and fix - tests and patterns. - - * unposted: Src/pattern.c, Src/utils.c: minor typos in - 22556 found when MULTIBYTE_SUPPORT is not defined. - -2006-07-24 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22556: Doc/Zsh/builtins.yo, Functions/Zle/insert-composed-char, - Src/builtin.c, Src/pattern.c, Src/subst.c, Src/utils.c, Src/zsh.h, - Src/ztype.h, Src/Zle/zle.h, Src/Zle/zle_main.c, - Test/D04parameter.ztst, Test/D07multibyte.ztst: Multibyte - separators and delimiters. - -2006-07-18 Clint Adams <clint@zsh.org> - - * 22554: Jesse Weinstein: Completion/Unix/Command/_vorbiscomment: - completion for vorbiscomment. - -2006-07-18 Peter Stephenson <pws@csr.com> - - * unposted: **/.distfiles: update distributed files. - -2006-07-18 Clint Adams <clint@zsh.org> - - * 22553: Jesse Weinstein: Completion/Unix/Command/_metaflac: - completion for metaflac. - -2006-07-15 Clint Adams <clint@zsh.org> - - * 22552: Completion/Unix/Command/_tla: update for tla 1.3.4. - -2006-07-12 Peter Stephenson <pws@csr.com> - - * 22550: Test/A04redirect.ztst, Test/ztst.zsh: put "exec" tests - in subshells and allow substitution on test output to occur - after the test. - -2006-07-12 Clint Adams <clint@zsh.org> - - * 22549: Completion/Unix/Command/_subversion: - improve svn propset completion slightly. - -2006-07-11 Peter Stephenson <pws@csr.com> - - * 22546: Src/parse.c, Test/A04redirect.ztst, - Test/D07multibyte.ztst: fix bug with {myfd}>... redirection - syntax introduced in 22544 and tweak tests. - -2006-07-10 Peter Stephenson <pws@csr.com> - - * 22544: README, Doc/Zsh/options.yo, Src/builtin.c, Src/glob.c, - Src/lex.c, Src/math.c, Src/module.c, Src/options.c, Src/params.c, - Src/parse.c, Src/subst.c, Src/utils.c, Src/zsh.h, Src/ztype.h, - Src/Zle/compcore.c, Src/Zle/zle_tricky.c, Test/D07multibyte.ztst: - Improve use of ztype tests for multibyte characters. Add - POSIX_IDENTIFIERS option to control allowability of multibyte - alphanumeric characters in parameter and module names. - -2006-07-09 Clint Adams <clint@zsh.org> - - * 22543: Completion/Unix/Command/_cssh: completion for - clusterssh. - -2006-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22542: Src/parse.c, Src/prompt.c, Src/zsh.h: 22516 was - overentusiastic about popping the command stack; turn cmdpop() - and cmdpush() into functions for better maintainability. - -2006-07-03 Peter Stephenson <pws@csr.com> - - * 22537: Makefile.in: rm -rf autom4te.cache on distclean. - -2006-06-30 Peter Stephenson <pws@csr.com> - - * 22529: Doc/Zsh/arith.yo, Src/math.c, Src/utils.c, - Test/D07multibyte.ztst: multibyte conversion in math expressions. - -2006-06-28 Peter Stephenson <pws@csr.com> - - * 22526: Doc/Zsh/expn.yo, Src/subst.c: enhance${(#)...} to output - Unicode. - - * 22525: Completion/compinit, Src/hist.c, Src/jobs.c, - Src/pattern.c, Src/subst.c, Src/utils.c, Src/zsh.h, - Test/D07multibyte.ztst: lengths and cases of multibyte strings - in parameters and history. - -2006-06-27 Peter Stephenson <pws@csr.com> - - * 22524: Src/params.c, Test/D07multibyte.ztst: searchable - subscripts with multibyte characters. - - * 22522: Src/utils.c: infinite loop with invalid character - in mb_metastrlen(). - -2006-06-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22519: Test/D07multibyte.ztst: initial multibyte parameter tests. + * Roman Kaminski: 30738: Completion/Unix/Command/_bzr: send + command. -2006-06-26 Peter Stephenson <pws@csr.com> + * Greg Bouzakis: 30741: Completion/Unix/Command/_systemd: add + suspend command. - * 22518: Src/params.c, Src/utils,c, Src/zsh.h, - Test/B02typeset.ztst: Initial go at making parameter subscripts - use multibyte characters. + * unposted: Doc/Zsh/expn.yo: further splitting clarifications. - * 22516: Src/parse.c: error evaluating "func()" didn't pop - the command stack. +2012-10-18 Peter Stephenson <pws@csr.com> - * 22501: README: missed this bit. + * 30740: Doc/Zsh/expn.yo: add example of process substitution + with anonymous function. -2006-06-24 Clint Adams <clint@zsh.org> + * c.f. users/17330: Doc/Zsh/expn.yo: fix reference to splitting + rule in parameter expansion rules. - * unposted: Completion/Unix/Command/_tar: autoload - is-at-least in _tar if using GNU tar. +2012-10-11 Peter Stephenson <p.w.stephenson@ntlworld.com> - * 22513: Completion/Unix/Command/_tar: only do that for - GNU tar >= 1.14.91. + * 30726: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c, + Src/hashtable.c, Src/init.c, Src/options.c, Src/parse.c, + Src/signals.c, Src/zsh.h, Src/Modules/parameter.c, + Test/B07emulate.ztst: extend 30722 to handle the case + where shell options passed to the emulate command need + propagating to sticky emulation. - * 22511: Completion/Unix/Command/_tar, - Completion/Unix/Type/_tar_archive: complete compressed archive - filenames for GNU tar even when a compression option is not - specified. +2012-10-11 Peter Stephenson <pws@csr.com> -2006-06-19 Peter Stephenson <pws@csr.com> + * 30724: Src/exec.c, Src/jobs.c: shell code optimised to use + execsimple() doesn't have a valid thisjob. - * 22501: configure.ac: reduce default maximum function depth - to 1000. +2012-10-09 Peter Stephenson <pws@csr.com> -2006-06-17 Barton E. Schaefer <schaefer@zsh.org> + * users/17318: Src/Zle/zle_utils.c: don't increment the undo + change number for every variable read, only the first in a row. - * 22492: Functions/Zle/url-quote-magic: properly detect when a new - word (in the zsh syntax sense) has been started, and thus avoid - improperly quoting a metacharacter that is the first character of - a new word. + * users/17314: Src/Zle/zle_utils.c: ensure an undo change number + uniquely specifies a point in editing history by incrementing + the value returned by the variable. -2006-06-16 Peter Stephenson <pws@csr.com> + * unposted: Src/builtin.c: fix trivial typo with "functions +T". - * unposted: Src/exec.c: remove TODO in exec.c redundant - since 22474. +2012-10-07 Peter Stephenson <p.w.stephenson@ntlworld.com> -2006-06-11 Clint Adams <clint@zsh.org> + * 30722: Src/builtin.c, Src/exec.c, Src/init.c, Src/options.c, + Src/Modules/parameter.c, Test/B07emulate.ztst: fix some cases + where options or emulations were not propagated properly + from the emulate command. - * 22486: Completion/Debian/Command/_dak: completion for - dak (the debian-archive-kit). + * 30718: README, Doc/Zsh/builtins.yo, Src/builtin.c, + Test/C04funcdef.ztst: emulate command evaluations should apply + sticky emulation to autoloads, too. -2006-06-09 Clint Adams <clint@zsh.org> +2012-10-07 Oliver Kiddle <opk@zsh.org> - * users/10282: Oliver Kiddle: Completion/Unix/Command/_man: - complete associated sections with man page names. + * unposted: Completion/Unix/Command/_webbrowser, + Completion/Unix/Type/_pspdf: add evince, zathura, dwb -2006-06-08 Clint Adams <clint@zsh.org> + * 30714: Completion/X/Command/_xclip: complete files,-t,-f for xclip - * unposted: Completion/Debian/Command/_madison: complete the - same way for rmadison. +2012-10-05 Peter Stephenson <p.w.stephenson@ntlworld.com> -2006-06-05 Peter Stephenson <pws@csr.com> + * 30716: Src/options.c: IGNORECLOSEBRACES should be an emulation + option since it changes what syntax is valid. - * 22484: configure.ac, Src/makepro.awk, Src/system.h, Src/utils.c: - support varargs.h in addition to stdarg.h. + * 30715: Src/init.c, Src/lex.c, Src/parse.c, Src/subst.c, + Src/zsh.h, Src/Zle/zle_tricky.c: use a named enum for + lexical tokens. - * 22483: Src/params.c, Src/Modules/system.c, - Doc/Zsh/mod_system.yo: add $sysparams to zsh/system. +2012-10-03 Peter Stephenson <p.w.stephenson@ntlworld.com> -2006-06-02 Clint Adams <clint@zsh.org> + * users/17305: Doc/Zsh/expn.yo: fix documentation for ordering + of word splitting and improve (z) and (Z) documentation. - * 22481: Oliver Kiddle: Completion/Unix/Command/_subversion: - complete svn diff and resolved subcommands. + * users/17310: Doc/Zsh/params.yo, Src/lex.c, Test/A04redirect.ztst, + Test/D06subscript.ztst: back off users/17304 owing to problem + with [ command, document problem, and test the case that needs + to work. -2006-06-02 Peter Stephenson <pws@csr.com> +2012-10-02 Peter Stephenson <pws@csr.com> - * 22480: Functions/Misc/zmathfuncdef: autoload functions from - zsh/mathfunc as needed. + * users/17304: Src/lex.c, Test/D06subscript.ztst: angle brackets + aren't associated with special parsing inside square brackets. -2006-05-31 Clint Adams <clint@zsh.org> +2012-09-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - * 22479: Completion/Debian/Command/_lintian: _arguments -s. + * Aaron Schrab: 30712: .editorconfig: multi-editor specification + of editing formats. -2006-05-30 Wayne Davison <wayned@users.sourceforge.net> + * Aaron Schrab: 30711: Completion/Unix/Type/_bind_addresses: + improved IPv6 completion. - * 22476: Src/pattern.c: silenced some compiler warnings and - improved the multibyte code a little. + * Aaron Schrab: 30710: Completion/Unix/Command/_perldoc: updates. -2006-05-30 Peter Stephenson <p.w.stephenson@ntlworld.com> +2012-09-29 Frank Terbeck <ft@bewatermyfriend.org> - * 22474: most source files touched: use stdarg.h to implement - escape handling in error messages properly. + * Seth House: 30702: Doc/Zsh/contrib.yo, + Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Removed --debug + flag from the hg vcs_info backend -2006-05-30 Wayne Davison <wayned@users.sourceforge.net> + * Seth House: 30701: Misc/vcs_info-examples: Added an hg hook + example to restore the 40-char hash - * unposted: Completion/Unix/Command/_rsync: some option changes - for the upcoming 2.6.9 release. + * Baptiste Daroussin: 30703: + Functions/VCS_Info/Backends/VCS_INFO_detect_fossil: Fix fossil + detection on unix -2006-05-30 Peter Stephenson <pws@csr.com> +2012-09-28 Oliver Kiddle <opk@zsh.org> - * 22473: Src/exec.c: modify zsh-users/10343 to print interpreter - using nice characters. Still not very satisfactory. + * 30697: Completion/Unix/Command/_dbus: new completion definition -2006-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com> +2012-09-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - * 22470: configure.ac: incorporate extensions to errno.h - searching found by <johann@myrkraverk.com> trying to maximise - matches and minimise the risk of finding the wrong file. + * 30692: Completion/Unix/Type/_path_files, Doc/Zsh/builtins.yo, + Src/builtin.c: allow autoload +X -m to work; change _path_files + so it works on that. - * zsh-users/10343: Src/exec.c: make bad #! interpreters print a - more informative message. +2012-09-21 Peter Stephenson <pws@csr.com> -2006-05-28 Clint Adams <clint@zsh.org> + * 30687 (typo fixed): Doc/Zsh/params.yo, Src/jobs.c: don't + REPORTTIME if zleactive (but time keyword is allowed). - * 22469: R. Ramkumar: Completion/Unix/Command/_mount: use - _canonical_paths. +2012-09-15 Peter Stephenson <p.w.stephenson@ntlworld.com> - * 22468: R. Ramkumar: Completion/Unix/Command/_mount: fixes and - updates. + * Александр Балезин: 30667: Completion/Unix/Command/_ip: add + addrlabl subcommand. - * 22467: R. Ramkumar: Completion/Unix/Command/_canonical_paths: - utility function which completes all paths given to it, and also - tries to offer completions which point to the same file as one of - the paths given. +2012-09-11 Peter Stephenson <pws@csr.com> -2006-05-26 Clint Adams <clint@zsh.org> + * unposted: NEWS: refer to some newly added features. - * 22466: Src/mkmakemod.sh: cope with autoconf 2.60 config.status - syntax. + * 30647, 30649: Doc/Zsh/arith.yo, Src/math.c, Src/utils.c, + Test/C01arith.ztst: allow underscores in numeric constants + within math evaluation. - * 22465: Config/defs.mk.in: add datarootdir for substitution - in order to cope with change in autoconf CVS. +2012-09-09 Peter Stephenson <p.w.stephenson@ntlworld.com> -2006-05-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + * Jun T.: 30664: configure.ac: fix some Yodl version issues. - * 22464: Src/Zle/zle_main.c: an error in prompt substitution could - cause bad recursion karma. +2012-09-08 Peter Stephenson <p.w.stephenson@ntlworld.com> -2006-05-25 Wayne Davison <wayned@users.sourceforge.net> + * users/17236: Src/builtin.c: r and other fc output didn't + unmetafy when listing to a file other than stdout. - * 22454, Hideki ONO: Completion/Unix/Command/_ls: added support - for *BSD's version of ls. +2012-09-06 Peter Stephenson <p.w.stephenson@ntlworld.com> -2006-05-25 Clint Adams <clint@zsh.org> + * 30656: Src/math.c: treat dividing by -1 the same as + multiplying by it to get around SIGFPE. - * 22457, R. Ramkumar: Completion/Unix/Command/_mpc: - fix buggy quoting of zstyle contexts. +2012-09-05 Peter Stephenson <pws@csr.com> - * 22456, R. Ramkumar: Completion/Unix/Command/_mpc: - update for mpc 0.11.2. + * Jun T.: 30658: Completion/Unix/Command/_uniq: more options. - * 22455, R. Ramkumar: Completion/Linux/Command/_valgrind: - update for valgrind 3.1.1. + * Silas Silva: users/17223: Completion/Unix/Command/_lp: + page-ranges option. -2006-05-22 Peter Stephenson <pws@csr.com> +2012-09-03 Peter Stephenson <pws@csr.com> - * 22451: Doc/Zsh/expn.yo: cross-reference ${^spec} in brace + * users/17213: Completion/Base/Completer/_user_expand, + Doc/Zsh/compsys.yo: allow REPLY to pass a description for an expansion. -2006-05-20 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_bzr: added a bunch of missing - options and a couple more missing subcommands. Also made all the - long-name options that take args allow a '=' to be used to specify - the value. - -2006-05-20 Clint Adams <clint@zsh.org> - - * 22450: Completion/Unix/Command/_tcptraceroute: completion for - tcptraceroute. - - * 22449: Completion/Unix/Command/_tracepath: completion for - tracepath and tracepath6. - -2006-05-19 Peter Stephenson <pws@csr.com> - - * 22448: Src/Zle/zle_params.c: fix typo in get_rbuffer() that - could cause crash examining $RBUFFER in completion code. - -2006-05-18 Clint Adams <clint@zsh.org> - - * 22446: Completion/Debian/Command/_bts: acknowledge that - tags is an alias of tag. - -2006-05-12 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_bzr: added a bunch of - missing subcommands and unified mv/move/rename. - -2006-05-12 Peter Stephenson <pws@csr.com> - - * unposted: Doc/Zsh/params.yo: improve documentation for $$ - and $PPID. - - * unposted: Doc/Zsh/compsys.yo: document that _list_files - uses the builtin stat, c.f. 22440. - - * 22440: Completion/Unix/Type/_list_files: loaded zsh/stat - if not needed, which screwed up external stat programmes. - -2006-05-05 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_bzr: fixed the completion - of "bzr upgrade" and the subcommands that lookup the parent - URL. Also added subcommands "checkout" and "update". - -2006-05-01 Clint Adams <clint@zsh.org> - - * 22436: Completion/Unix/Command/_pax: completion for - OpenBSD pax. - -2006-04-30 Clint Adams <clint@zsh.org> - - * 22435: Completion/Unix/Command/_comm: completion for - GNU comm. - -2006-04-28 Clint Adams <clint@zsh.org> - - * 22434, intrigeri@boum.org: - Completion/Linux/Command/_vserver: completion for vserver. - -2006-04-26 Clint Adams <clint@zsh.org> - - * 22433, R. Ramkumar: Completion/Unix/Command/_mpc: - add completion for --no-status option. - -2006-04-25 Peter Stephenson <pws@csr.com> - - * 22432: Src/pattern.c: bug with backtracking over repeated - single parameters. - - * 22431: Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, - Src/Zle/zle_vi.c: expand 22427 to set WIDGET etc. more - consistently when executing functions. - - * 22429: Src/pattern.c: bug with pure string matching - introduced by 22408. - - * 22427: Doc/Zsh/zle.yo, Src/Zle/zle_thingy.c: zle <widget> -w - sets WIDGET etc. to reflect <widget>. - -2006-04-24 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * zsh-users/10172: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, - Src/Zle/zle_keymap.c: read-command reads a key sequence as - in normal zle operation but sets REPLY to the result instead - of executing it. - -2006-04-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Functions/Misc/zmathfuncdef: improve recognition - of parameter expansions. - -2006-04-23 Clint Adams <clint@zsh.org> - - * Francisco Borges: users/10162: updated _aptitude. - - * 22425: Completion/Unix/Command/_surfraw: update for - new surfraw debsec elvi from Micah Anderson. - -2006-04-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Doc/Zsh/contrib.yo: documentation for 22417. - - * unposted: Doc/Zsh/contrib.yo, Functions/MIME/pick-web-browser: - add some styles for commands. - - * 22416, tweaked: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo, - Functions/Misc/.distfiles, Functions/Misc/zcalc, - Functions/Misc/zmathfuncdef, Src/builtin.c, Src/exec.c, - Src/module,c, Src/math.c, Src/module.c, Src/zsh.h, - Test/C04funcdef.ztst: user-defined math functions via - shell functions. - -2006-04-14 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_raggle: update for version - 0.4.4 - -2006-04-13 Clint Adams <clint@zsh.org> - - * 22418: Completion/Unix/Command/_env, - Completion/Zsh/Command/_precommand: completion for - GNU env. - -2006-04-11 Peter Stephenson <pws@csr.com> - - * 22417: Functions/MIME/zsh-mime-handler: also - allow autocd to work and add *(/) to the default - execute-as-is. - -2006-04-11 Wayne Davison <wayned@users.sourceforge.net> - - * 22415: Doc/Makefile.in: changed how we call install-info so that - we work with Debian's (broken) version as well as GNU's version. - -2006-04-09 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22409: Src/pattern.c: fix compilation with --disable-multibyte. - - * 22408: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/options.c, - Src/pattern.c, Src/utils.c, Src/zsh.h, Src/Zle/zle.h: add - MULTIBYTE option, (#u) and (#U) globbing flags, and support - for multibyte characters in patterns. - - * 22407: Functions/MIME/zsh-mime-handler: and it needs NULL_GLOB, - too. - -2006-04-06 Peter Stephenson <pws@csr.com> - - * 22405: Functions/MIME/zsh-mime-handler: pattern matching - in 22394 needed tweaking. - -2006-04-05 Clint Adams <clint@zsh.org> - - * 22404: Completion/Unix/Command/_cowsay: - completion for cowsay. - -2006-04-05 Peter Stephenson <pws@csr.com> - - * 22394, R. Ramkumar, plus doc as 22043: - Functions/MIME/zsh-mime-handler, Doc/Zsh/contrib.yo: - execute-as-is style for MIME suffixes. - - * 22393, R. Ramkumar, plus doc, 22402: - Completion/Unix/Type/_hosts, Doc/Zsh/compsys.yo: use-ip and - known-hosts-files styles. - - * 22375: Doc/Zsh/expn.yo: somehow the doc got missed out. - -2006-04-04 Clint Adams <clint@zsh.org> - - * 22392: Completion/Linux/Command/_analyseplugin: - completion for ladspa's analyseplugin. - -2006-03-29 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/10107: Doc/Zsh/jobs.yo: SIGQUIT is ignored by the shell. - -2006-03-28 Wayne Davison <wayned@users.sourceforge.net> - - * 22390: Completion/Unix/Command/_bzr: an improved version - that completes options and context-sensitive filenames. - -2006-03-27 Wayne Davison <wayned@users.sourceforge.net> - - * SF bug #1262954: Src/jobs.c: fixed a compilation problem - when HAVE_GETRUSAGE is defined but HAVE_WAIT3 is not. - -2006-03-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * users/10087: Src/parse.c: "case foo in" didn't turn off - aliases for "in", unlike "for" and "select". - -2006-03-26 Clint Adams <clint@zsh.org> - - * 22386: Completion/X/Command/_acroread: fix acroread - version detection according to Bart's 22385. - -2006-03-25 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Zle/zle_thingy.c: fixed undefined function - reference (call to zwarnname() should have been zwarnnam()). - -2006-03-22 Peter Stephenson <pws@csr.com> - - * 22375 with tweak from Wayne, 22376: Doc/Zsh/expn.yo, - Src/subst.c: ${(0)...} splits on null bytes. - -2006-03-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * zsh-users/10047 : Doc/Zsh/zle.yo, Src/Zle/zle_thingy.c, - Functions/Zle/read_from_minibuffer: add and use -K option - to select keymap for use with widget. - -2006-03-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22638: MACHINES: compilation with cc on Irix 6.5. - -2006-03-20 Clint Adams <clint@zsh.org> - - * 22371, 22372: Src/Zle/zle.h, Src/Zle/zle_word.c: use - only alphanumerics and underscores as word characters - with vi bindings. - -2006-03-20 Peter Stephenson <pws@csr.com> - - * 22360, 22365: Makefile.in, README, Config/installfns.sh, - Doc/Makefile.in, Doc/META-FAQ.yo, Doc/zmacros.yo, Doc/zman.yo, - Doc/zsh.yo, Doc/ztexi.yo, Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo, - Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/files.yo, - Doc/Zsh/func.yo, Doc/Zsh/index.yo, Doc/Zsh/mod_mathfunc.yo, - Doc/Zsh/mod_zftp.yo, Doc/Zsh/mod_zselect.yo, Doc/Zsh/options.yo, - Doc/Zsh/tcpsys.yo, Doc/Zsh/zftpsys.yo, Doc/Zsh/zle.yo: support - version 2 of Yodl. - -2006-03-17 Clint Adams <clint@zsh.org> - - * 22364: Src/Builtins/rlimits.awk: add 'nice' and - 'rt_priority' rlimits (NICE and RTPRIO). - - * 22366: Src/Zle/zle_word.c: better handling for - multibyte-character-containing words in vi widgets. - -2006-03-16 Clint Adams <clint@zsh.org> - - * 22349: Completion/X/Command/_nautilus: completion for - nautilus. - -2006-03-13 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Modules/zftp.c: got rid of a compiler warning - and split two C statements that shouldn't have been on one line. - -2006-03-13 Peter Stephenson <pws@csr.com> - - * users/10013: Util/helpfiles: fix use of zshall for generating. - -2006-03-09 Wayne Davison <wayned@users.sourceforge.net> - - * users/10007: Francisco Borges: Doc/Zsh/options.yo: Added - missing <D> for HIST_SAVE_BY_COPY. - - * 22335: Src/Zle/zle_thingy.c: fix some compiler warnings and - ensure that zmod gets restored properly in bin_zle_call(). - -2006-03-08 Peter Stephenson <pws@csr.com> - - * 22337: Src/builtin.c: debugging code omitted from 22331. - -2006-03-07 Wayne Davison <wayned@users.sourceforge.net> - - * 22301: Completion/Base/Completer/_expand: enable alises for the - expansion of $(...) and `...`. - - * 22271 (updated): Src/subst.c, Src/linklist.c, Src/zsh.h: got rid - of the mult_isarr global from subst.c by using the LinkList's new - flag integer. +2012-08-27 Peter Stephenson <p.w.stephenson@ntlworld. com> - * unposted: Src/linklist.c, Src/zsh.h: changed the previous-node - pointer in a "struct linknode" from "last" to "prev". + * Oliver (olipro): 30643: Completion/Linux/Command/_ipset: + completion update. - * 22331: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/hist.c, - Src/init.c, Src/lex.c, Src/linklist.c, Src/module.c, Src/options.c, - Src/params.c, Src/parse.c, Src/prompt.c, Src/signals.c, Src/subst.c, - Src/utils.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/compctl.h, Src/Zle/complete.c, Src/Zle/compresult.c, - Src/Zle/computil.c, Src/Zle/zle_hist.c, Src/Zle/zle_main.c, - Src/Zle/zle_params.c, Src/Zle/zle_tricky.c, Src/Zle/zleparameter.c: - Changed some structures to avoid gcc's type-punned warnings. +2012-08-25 Peter Stephenson <p.w.stephenson@ntlworld.com> -2006-03-07 Peter Stephenson <pws@csr.com> + * John Stahara: 30641: Src/Zle/zle_keymap.c: bindkey -N + error report is misleading when copying keymap. - * 22328, modified: Completion/Unix/Type/_list_files, - Completion/Unix/Type/_path_files, Doc/Zsh/compsys.yo, - Doc/Zsh/compwid.yo, Src/Zle/comp.h, Src/Zle/compcore.c, - Src/Zle/complete.c: Option -o to compadd uses match - strings rather than display strings from -d for sorting; - _path_files uses _list_files to handle file-list style - which allows long format file lists. +2012-08-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - * unposted: Config/version.mk: belatedly update version - to 4.3.2-dev-1 to avoid clash with released version. + * Jun T: 30640 (plus additional comment): Src/zsh.h, + Src/compat.c: MacOS doesn't define __STDC_ISO_10646__ but we + need the replacement wcwidth() anyway. -2006-03-06 Barton E. Schaefer <schaefer@zsh.org> +2012-08-23 Peter Stephenson <pws@csr.com> - * 22321 plus tweak: Src/builtin.c, Src/mem.c, Src/params.c: - optimize 22318 by stealing some ideas from Andrey Borzenkov. + * Aaron Schrab: 30636: Completion/Unix/Command/_telnet: + telnet-ssl options. -2006-03-06 Peter Stephenson <pws@csr.com> + * Aaron Schrab: 30637: Completion/Unix/Command/_telnet: -b option - * users/1097: Completion/Zsh/Type/_command_names, - Doc/Zsh/compsys.yo: rehash style for external commands. + * Aaron Schrab: 30638: Completion/Unix/Command/_telnet: IPv4 + and IPv6 options. -2006-03-03 Peter Stephenson <p.w.stephenson@ntlworld.com> +2012-08-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - * 22318: Src/builtin.c: uniquifying special arrays was broken. + * users/17211: Completion/Unix/Type/_files, Doc/Zsh/compsys.yo: + new recursive-files style. - * 22277: Test/C03traps.ztst: missed this. + * 30633: Doc/Zsh/builtins.yo, Src/builtin.c, Src/exec.c, + Src/hashtable.c, Src/options.c, Src/subst.c, Src/zsh.h: + "functions -T" traces only marked function and not called + functions unless also marked. -2006-03-02 Peter Stephenson <p.w.stephenson@ntlworld.com> +2012-08-20 Peter Stephenson <pws@csr.com> - * 22317: Src/builtins.c, Src/exec.c: exiting the shell from - code forked from within a function doesn't maintain the - exit status. + * Stepan Koltsov: 30634: Functions/Misc/zmv: use (q-) quoting + for output for clarity. - * 22277, 22281 plus tweaks: Src/exec.c, Src/jobs.c, Src/signals.c, - Test/C03traps.ztst: standardize behaviour of using wait builtin - with trapped signals. +2012-08-17 Peter Stephenson <pws@csr.com> -2006-03-02 Peter Stephenson <pws@csr.com> - - * unposted, but see 22307: configure.ac: turn all - "test $foo = bar" into "test x$foo = xbar" for safety. - -2006-03-01 Peter Stephenson <pws@csr.com> - - * unposted: MACHINES, README, Config/version.mk: information - and version number for 4.3.2. - -2006-03-01 Wayne Davison <wayned@users.sourceforge.net> - - * 22313: Src/utils.c: added the missing "mod_export" to - the declaration of makecommaspecial(). - -2006-02-28 Clint Adams <clint@zsh.org> - - * 22309: Completion/Unix/Command/_surfraw: update for - new surfraw debsec elvi. - -2006-02-28 Peter Stephenson <pws@csr.com> - - * 22306: configure.ac: fix warning with unset variable - in test. - - * unposted: zsh-4.3.1, finally. - - * unposted: Completion/Unix/Command/.distfiles: a couple - of files missing. - - * unposted: Functions/MIME/zsh-mime-handler: typo. - - * unposted: README: doc formats were out of date. - - * 22305 (slightly tweaked): README, - Completion/Unix/Type/_mailboxes, Doc/Zsh/compsys.yo: no default - for pine-directory since that could cause recursive search mayhem. - -2006-02-26 Clint Adams <clint@zsh.org> - - * 22302, 22303: Completion/Debian/Command/_schroot: - completion for schroot. - -2006-02-24 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: added the - options --copy-dirlinks, --no-H, and --no-hard-links. - -2006-02-21 Clint Adams <clint@zsh.org> - - * 22298: Completion/Unix/Command/_diffstat: completion - for diffstat. - -2006-02-20 Clint Adams <clint@zsh.org> - - * unposted: update config.guess and config.sub to - 2005-08-03 and 2005-07-08, respectively. - - * unposted: Completion/Debian/Command/.distfiles: add - _linda. - - * 22294: Completion/Unix/Command/_getconf: add GNU libc - confstrings to getconf completion. - -2006-02-20 Peter Stephenson <pws@csr.com> - - * unposted: 4.3.0-dev-5. - -2006-02-20 Clint Adams <clint@zsh.org> - - * 22289: Completion/Debian/Command/_linda: completion for - linda. - -2006-02-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22285: - Completion/Unix/Command/_imagemagick: handling of file arguments - didn't work. - Doc/Zsh/intro.yo: zshtcpsys and zshcontrib manual pages weren't - listed. - Functions/MIME/pick-web-browser: add Firefox. - Functions/MIME/zsh-mime-setup: take account of handler and flags - styles when listing. - -2006-02-19 Clint Adams <clint@zsh.org> - - * 22284: configure.ac, Src/glob.c, Src/hashtable.c, Src/init.c, - Src/params.c, Src/system.h, Src/Modules/stat.c: add - --disable-dynamic-nss configure switch to disable use of - getpw*(), getgr*(), initgroups() functions. - -2006-02-19 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Zle/compcore.c: made the allocation of a larger - string in add_match_data() choose a more efficient size. - - * unposted: Completion/Unix/Command/_rsync: added the missing - -h option for daemon mode. - -2006-02-18 Wayne Davison <wayned@users.sourceforge.net> - - * users/9936: Src/Zle/compcore.c: fixed the newest check for - invalid characters (it now parses the string as metafied). - -2006-02-17 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Test/D04parameter.ztst: a few minor additions. - -2006-02-16 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Type/_hosts: weed out hashed-entry - lines from the known_hosts file (these lines start with a '|'). - - * 22275: Doc/Zsh/expn.yo: a few more improvements in the - discussion of field splitting, the = flag, and SH_WORD_SPLIT. - - * 22273: Src/subst.c, Test/D04parameter.ztst, README: made - ${(A)=name:=word} not split on quoted whitespace and fixed - a typo in the README. - -2006-02-16 Peter Stephenson <pws@csr.com> - - * 22272: INSTALL, README, Config/version.mk, Etc/CONTRIBUTORS, - Etc/FAQ.yo: 4.3.0-dev-4. - -2006-02-15 Wayne Davison <wayned@users.sourceforge.net> - - * 22270; Src/subst.c, Test/D04parameter.ztst: fixed a long-standing - problem with ${name+$array$scalar}. - -2006-02-15 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: use zsh to - match files within directories generated from p4 output, so - as to get matching control working; style "glob" provides - backward compatibility. - -2006-02-15 Wayne Davison <wayned@users.sourceforge.net> - - * 22268: Src/subst.c, Test/D04parameter.ztst, Doc/Zsh/expn.yo, - Doc/Zsh/roadmap.yo: some fixes to variable expansion allows - ${1+"$@"} to work when shwordsplit is set (e.g. when emulating - sh). Fixed a couple other minor bugs too. - -2006-02-13 Wayne Davison <wayned@users.sourceforge.net> - - * 22217: Src/Zle/compcore.c: allow the insertion of invalid - multibyte characters using the $'\123' idiom. - - * 22215: Src/utils.c, Src/Zle/zle_tricky.c: fixed the completion of - filenames containing commas inside an open bracelist, including the - ability for the user to manually backslash escape commas. - - * unposted: Src/Zle/computil.c: replaced an algorithm that was - looking backward for a backslash because that can accidentally - quote a character after a "\\" sequence. - -2006-02-12 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22235: Eric Mangold: Completion/Unix/Command/_twisted: new - completion. - - * 22237: Vincent Steman: Completion/Unix/Command/_man: location of - packaged manual pages on NetBSD. - -2006-02-11 Clint Adams <clint@zsh.org> - - * 22234: Completion/Unix/Command/_quilt: Adeodato Simó's - quilt completion improvements. - -2006-02-09 Wayne Davison <wayned@users.sourceforge.net> - - * 22206: Src/Zle/zle.h, Src/Zle/zle_misc.c: fixed broken - suffix-removal in an --enable-multibyte configured zsh. - -2006-02-09 Clint Adams <clint@zsh.org> - - * unposted: Completion/Debian/Command/.distfiles, - Completion/Linux/Command/.distfiles, - Completion/Unix/Command/.distfiles: update - some .distfiles. - - * 22205: Completion/Unix/Command/_make: patch from - R.Ramkumar to use the argument to -C in make - completion. - -2006-02-07 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: One last new option - for the imminent 2.6.7 release of rsync. - -2006-02-07 Peter Stephenson <pws@csr.com> - - * 22200: Src/jobs.c: process text wasn't unmetafied for output. - - * 22198: README, Src/init.c, Src/params.c, Doc/Zsh/params.yo: - modify 22195 so that HOME gets set as before in native emulation. - -2006-02-06 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Modules/newuser.c: fixed return-without-value - compiler warning. - -2006-02-06 Peter Stephenson <pws@csr.com> - - * 22196: INSTALL, README, Config/version.mk: development - version 4.3.0-dev-3 - - * 22195: README, Src/init.c, Src/params.c, Src/subst.c, - Src/utils.c, Src/Modules/newuser.c: don't set HOME in the shell, - only if passed by the environment; handle the fallout. - -2006-02-05 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: A few more fixes - and improvements. - -2006-02-05 Clint Adams <clint@zsh.org> - - * 22193: Completion/Debian/Command/_wanna-build: completion - for wanna-build. - -2006-02-04 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22192: Danek Duvall: Completion/Unix/Type/_users: also remove - comments from .ssh/known_hosts. - -2006-02-03 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22191: from Danek Duvall: Completion/Unix/Type/_hosts, - Completion/Unix/Type/_users: neaten _hosts and make _users - more consistent. - -2006-02-03 Peter Stephenson <pws@csr.com> - - * 22187: Completion/Unix/Type/_hosts: don't trounce any global - $hosts; don't use hacky array assignment; do examine - ~/.ssh/known_hosts for default set of hosts to complete. - -2006-01-29 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: Added new options - for the upcoming 2.6.7 release of rsync. - -2006-01-29 Clint Adams <clint@zsh.org> - - * 22179: Completion/Unix/Command/_cplay: complete audio files - and playlists based on a list of file extensions provided - by Joe Wreschnig. - -2006-01-28 Clint Adams <clint@zsh.org> - - * 22174: Completion/Unix/Command/_vorbis: fix misspelling - of -Q for oggdec. - -2006-01-28 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22169: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: hook function - zle-keymap-select called when $KEYMAP changes. - -2006-01-21 Clint Adams <clint@zsh.org> - - * 22168: Completion/Debian/Command/_bts: add options and - handling for new subcommands added in 22166 except for - cache and cleancache. - - * 22167: Completion/Unix/Command/_cp: completion for - GNU cp. - - * 22166: Completion/Debian/Command/_bts: add new - subcommands (clone, submitter, found, notfound, block, unblock, - user, usertag, package, owner, noowner, reportspam, cache, - cleancache). - -2006-01-18 Clint Adams <clint@zsh.org> - - * 22165: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, - Doc/Zsh/roadmap.yo: change "zshparams" to "zshparam". - -2006-01-17 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/prompt.c: Fixed 2 free()-related bugs in the - handling of %D. - -2006-01-16 Bart Schaefer <schaefer@zsh.org> - - * 22110 (slightly tweaked): Completion/Unix/Command/_su: complete - options, be more clever about determining the shell being used, - and treat the argument of the -c option as a command (cf. _sh). - -2006-01-13 Wayne Davison <wayned@users.sourceforge.net> - - * 22162: Src/prompt.c, Src/Modules/datetime.c, Src/Modules/stat.c: - some strings needed to be metafied: strftime values going into the - expansion of the prompt, and strftime/username/groupname values - that were assigned to a variable. - - * unposted: Src/prompt.c, Src/utils.c, Src/Zle/complist.c, - Src/Zle/zle_utils.c: got rid of some superfluous STOUC() uses, such - as the onces I recently added for the arg of nicechar() (which can - handle the int being a negative or positive value). - - * unposted: Src/Zle/zle_refresh.c: fixed an unused-variable - compiler warning when compiling the non-multibyte version of zsh. - -2006-01-12 Clint Adams <clint@zsh.org> - - * 22159: Completion/Linux/Command/_tpb: completion for tpb. - - * 22153: Completion/Linux/Command/_tpconfig: completion - for tpconfig. - -2006-01-11 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/zsh.h, Src/prompt.c, Src/utils.c, - Src/Zle/complist.c, Src/Zle/compmatch.c, Src/Zle/zle_main.c, - Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: - more multibyte cleanup, including the MB_INVALID and MB_INCOMPLETE - defines to make the mbrtowc() and mbsrtowcs() return values clearer. - -2006-01-10 Peter Stephenson <pws@csr.com> - - * 22151: Src/text.c: a here-string got too many quotes when - output by which etc. - -2006-01-09 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/utils.c, Src/Zle/compmatch.c, Src/Zle/zle_utils.c: - a little more cleanup of the mbrtowc() code, including a bugfix - for my new code in sub_match() that needed to check for -2. - -2006-01-08 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c, - Src/Zle/complist.c, Src/Zle/compmatch.c: changed the code that - calls mbrtowc() to deal with its size_t return value as a size_t. - Also, use STOUC() on char values passed to nicechar(), make sure - that the mbstate_t object never gets left in an undefined state, - and fixed a problem in sub_match() when dealing with a character - that was assembled from multiple bytes. - - * 22140 (modified): Src/utils.c: Changed mb_niceformat() so that it - does not truncate a name that has an invalid character sequence in - the current character set (affected chars display as \M-... chars). - - * unposted: configure.ac: got rid of probe for wcswidth() and added - probes for fchown() and fchmod() (the latter changes were accidentally - left out of my 22091 patch). - - * unposted: Src/utils.c, Src/system.h: Changed the single spot - that used wcswidth() over to use wcwidth() and got rid of the - work-around for OpenBSD (which lacks wcswidth()). - -2006-01-08 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22146: Functions/Zle/define-composed-chars: typo in AE and OE - ligatures. - -2006-01-06 Peter Stephenson <pws@csr.com> - - * 22124: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: feep() - if getrestchar() indicates bad character. - - * 22123: configure.ac, Src/system.h: probe for wcswidth() and - assume 1 if not found. - -2006-01-05 Peter Stephenson <pws@csr.com> - - * 22118: Doc/Zsh/builtins.yo: fix documentation for what - happens when . does or does not appear in $cdpath. - -2006-01-04 Peter Stephenson <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: when deleting - a fix, complete only jobs for the changelist given; when - deleting changes, unless -f is given complete only changes - on the current client. - -2006-01-02 Clint Adams <clint@zsh.org> - - * 22113: Completion/Unix/Command/_last: allow single option - characters to be combined. - -2005-12-26 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Doc/Zsh/options.yo: A couple more improvements to the - HIST_SAVE_BY_COPY section. - -2005-12-25 Clint Adams <clint@zsh.org> - - * 22104, 22105: Completion/Unix/Command/_ssh: add - support for new options such as ControlMaster and - ControlPath, and for -M, -S, -O switches. - -2005-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * unposted: Scott Murray <semurray@ntlworld.com>: - Completion/Redhat/Command/_yum: update. - -2005-12-19 Peter Stephenson <pws@csr.com> - - * 22082: Src/Modules/stat.c: print out UID or GID instead - of ??? if the user or group name is unavailable. - -2005-12-18 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Etc/FAQ.yo, Doc/Zsh/contrib.yo: Changed some UTF-8 - closing-single-quotes into ASCII apostrophes. - -2005-12-18 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22095: INSTALL, Etc/FAQ.yo: more multibyte notes. - -2005-12-17 Wayne Davison <wayned@users.sourceforge.net> - - * 22091: Src/hist.c: improved HIST_SAVE_BY_COPY to have it (1) - preserve the group and permissions on the history file, and (2) - refuse to re-copy the history file if zsh's euid differs from - the file's uid (to avoid changing the file's owner). - -2005-12-15 Peter Stephenson <pws@csr.com> - - * 22085 and back off 22075: Src/system.h, Src/utils.c: we - may need <langinfo.h> even with MULTIBYTE_SUPPORT to get iconv. - - * 22076: INSTALL, Etc/FAQ.yo: more information on multibyte - handling. - - * users/9788: Doc/Zsh/expn.yo, Src/glob.c: add (oN) qualifier - for no sorting. - -2005-12-14 Bart Schaefer <schaefer@zsh.org> - - * 21814: Src/loop.c, Src/signals.c: if an error occurs in an - inline trap, set $? to 1, to match the behavior of pre-4.2 - versions of zsh. If and only if the trap is executed within the - "try" part of an "always" construct, also propagate the error - condition so that the "try" section is aborted. (Belated commit.) - -2005-12-14 Wayne Davison <wayned@users.sourceforge.net> - - * 22078: Src/utils.c: made ucs4toutf8() a static function (when - it's even defined). - -2005-12-14 Peter Stephenson <pws@csr.com> - - * 22075: Src/utils.c: assume the effect of __STDC_ISO_10646__ for - character conversion when --enable-multibyte is in effect (since - we do everywhere else). - -2005-12-12 Peter Stephenson <pws@csr.com> - - * unposted: Config/version.mk: aargh, didn't commit this for - 4.3.0-dev-2. - -2005-12-12 Wayne Davison <wayned@users.sourceforge.net> - - * 22071: Src/Zle/zle_hist.c: fixed a bug in zle_setline() where - it would set zlecs to -1 for an empty line. (Reported by Jun T.) - -2005-12-10 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 22069: Src/Zle/complist.c: completion listings didn't get - unmetafied. - -2005-12-10 Clint Adams <clint@zsh.org> - - * 22068: Completion/Debian/Command/_debdiff: completion - for debdiff. - -2005-12-09 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/Modules/newuser.c: fixed return-without-value - compiler warning. - -2005-12-09 Oliver Kiddle <opk@zsh.org> - - * 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 <clint@zsh.org> - - * 22065: Functions/TCP/tcp_read: cope with TCP output that - starts with "--". - -2005-12-09 Peter Stephenson <pws@csr.com> - - * 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 <p.w.stephenson@ntlworld.com> - - * 22056: Functions/MIME/zsh-mime-handler: restore original default - settings for current-shell and never-background styles. - -2005-12-07 Clint Adams <clint@zsh.org> - - * 22054: Completion/Linux/Command/_fusermount: - completion for fusermount. - - * 22055: Completion/Linux/Command/_sshfs: completion for - the FUSE sshfs. - -2005-12-06 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * Micah Anderson: 22052: Completion/Unix/Command/_surfraw: - improvements to surfraw completion. - -2005-12-05 Oliver Kiddle <opk@zsh.org> - - * 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 <schaefer@zsh.org> - - * 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 <p.w.stephenson@ntlworld.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <clint@zsh.org> - - * 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 <gcw@zsh.org> - - * unposted: Src/utils.c: fix prototype generation for non - multibyte compilation - -2005-11-25 Peter Stephenson <pws@csr.com> - - * 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 <opk@zsh.org> - - * 22022: Completion/Debian/Command/_dchroot: completion for dchroot - -2005-11-24 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 22013: INSTALL, NEWS, Completion/compinstall, - Functions/Newuser/zsh-newuser-install: initial go at a - working zsh-newuser-install function. - -2005-11-22 Clint Adams <clint@zsh.org> - - * 22012: Completion/Debian/Command/_mergechanges: - completion for mergechanges. - -2005-11-22 Peter Stephenson <pws@csr.com> - - * Mårten Svantesson <msv@kth.se>: 22011: - Completion/Unix/Command/_cvs: the -R options is more generally - available. - -2005-11-21 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * users/9688: Completion/Unix/Command/_ssh: improved - _ssh_hosts from Hannu Koivisto <azure@iki.fi>; also - rationalise reference to hosts to "remote host name". - -2005-11-17 Clint Adams <clint@zsh.org> - - * 22005: Completion/Unix/Command/_flasher: completion - for flasher utility for Nokia 770 Internet Tablet. - -2005-11-15 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <opk@zsh.org> - - * unposted: Completion/X/Command/qiv: fix completion of -F option - -2005-11-11 Clint Adams <clint@zsh.org> - - * 21999: Completion/Unix/Command/_gnutls: - completion for certtool and srptool. - - * 22000: Completion/Unix/Command/_totd: - completion for totdconfig. - -2005-11-10 Clint Adams <clint@zsh.org> - - * 21998: Completion/Unix/Command/_gnutls: - completion for gnutls-cli and gnutls-cli-debug. - -2005-11-10 Bart Schaefer <schaefer@zsh.org> - - * 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 <clint@zsh.org> - - * 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 <pws@csr.com> - - * 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 <p.w.stephenson@ntlworld.com> - - * Scott Murray <semurray@ntlworld.com>: users/9648: - Completion/Redhat/Command/_yum, - Completion/Redhat/Command/.distfiles: new yum completion. - -2005-11-05 Clint Adams <clint@zsh.org> - - * 21987: Completion/Unix/Command/_cplay: completion for - cplay. - - * 21988: Completion/Debian/Command/_dput: fix "simulare" - typo. - -2005-11-04 Peter Stephenson <pws@csr.com> - - * 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 <bor@zsh.org> - - * 21978: Src/Modules/stat.c: unmetafy file name before calling - system (l)stat - -2005-11-02 Peter Stephenson <pws@csr.com> - - * 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 <p.w.stephenson@ntlworld.com> - - * 21971: Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c: rewrite - pfxlen() for multibyte characters. - -2005-11-01 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <clint@zsh.org> - - * 21960: R. Ramkumar: Functions/Misc/zcalc: - put zcalc history file in ZDOTDIR if set. - -2005-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <clint@zsh.org> - - * 21946, 21947: Completion/Unix/Command/_gcc: update - options for ia32, amd64, and sparc. - -2005-10-28 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 21939: Src/Zle/zle_thingy.c: new UNMETACHECK() was too ruthless. - -2005-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 21936: Src/Zle/zle_refresh.c: fix one bug when deleting - an extra-wide character. - -2005-10-25 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 21935: Documentation for 21933. - - * 21933: R. Ramkumar <ramk@cse.iitm.ernet.in>: - Functions/MIME/zsh-mime-handler, Functions/MIME/zsh-mime-setup: - add three styles to the MIME system. - -2005-10-24 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 21912: Src/Modules/cap.c: silence unused parameter - compile warnings. - - * 21913: Completion/Unix/Command/_ping: completion - for ping. - -2005-10-23 Bart Schaefer <schaefer@zsh.org> - - * unposted: Src/prompt.c: fix --disable-multibyte compile error - introduced by 21906. - -2005-10-23 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 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 <p.w.stephenson@ntlworld.com> - - * 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 <clint@zsh.org> - - * 21902: Completion/Unix/Command/_xmlsoft: update for - xmllint 2.6.22. - -2005-10-21 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * unposted: Src/Zle/zle_refresh.c: fixed a compiler warning. - -2005-10-19 Peter Stephenson <p.w.stephenson@ntlworld.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 21885: Src/Zle/zle_refresh.c: Convert some large macros - into functions. - -2005-10-19 Peter Stephenson <pws@csr.com> - - * 21882: Src/prompt.c, Src/utils.c, Test/D01prompt.ztst: extend - prompt truncation to handle multibyte characters. - -2005-10-17 Bart Schaefer <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * unposted: Functions/Zle/define-composed-chars, - Doc/Zsh/contrib.yo: a few more miscellaneous composable symbols. - -2005-10-14 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 21778: Completion/Debian/Command/_piuparts: completion for - piuparts. - -2005-09-27 Bart Schaefer <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * 21769: Src/utils.c, Src/Zle/complist.c: fix some consequences of - 21730 in completion lists. - -2005-09-27 Clint Adams <clint@zsh.org> - - * Vincent Lefevre: 21767: Completion/Unix/Command/_subversion: - add ~ to the default svn status pattern. - -2005-09-26 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 21763: Completion/Unix/Command/_baz: remove stray - underscore. - -2005-09-24 Bart Schaefer <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <clint@zsh.org> - - * Stephen Rueger: 21744: Src/prompt.c: unconditionally assume - that \t or \n are not part of multi-byte characters. - -2005-09-20 Clint Adams <clint@zsh.org> - - * 21740: Completion/Unix/Command/_quilt: completion for - quilt. - -2005-09-20 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_rake: update for version 0.6.0 - -2005-09-13 Clint Adams <clint@zsh.org> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 21704, 21705: Completion/Unix/Command/_date: completion for - Solaris, FreeBSD, and OpenBSD. - -2005-09-06 Clint Adams <clint@zsh.org> - - * 21703: Completion/Unix/Command/_bzr: completion for bzr 0.0.7. - -2005-09-06 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 21698: Jean-Baptiste Quenot: Completion/Unix/Command/_ant: - recursive completion could change directory. - -2005-09-02 Clint Adams <clint@zsh.org> - - * 21696: Completion/Unix/Command/_date: completion for - GNU date. - -2005-09-02 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 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 <pws@csr.com> - - * users/9359: Francisco Borges: Completion/X/Command/_gv: - completion of ps and PDF files was broken for gv. - -2005-08-25 Clint Adams <clint@zsh.org> - - * 21683: Completion/X/Command/_urxvt: more fixes - to urxvt completion. - -2005-08-23 Clint Adams <clint@zsh.org> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <gcw@zsh.org> - - * unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: update some - mirror site information - -2005-08-19 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <bor@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <wayned@users.sourceforge.net> - - * 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 <wayned@users.sourceforge.net> - - * 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 <bor@zsh.org> - - * 21642: Src/Zle/compcore.c: cleanup for 21627, remove redundant - checks - -2005-08-16 Clint Adams <clint@zsh.org> - - * 21631: Src/Zle/compcore.c: make sure an unmetafied string is - passed to ztat to determine file type. - -2005-08-15 Andrey Borzenkov <bor@zsh.org> - - * 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 <clint@zsh.org> - - * 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 <wayned@users.sourceforge.net> - - * 21609: Src/glob.c: fixed the readlink() call in statfullpath(). - -2005-08-15 Felix Rosencrantz <f.rosencrantz@gmail.com> - - * 21611: Completion/X/Command/_mozilla: Added Firefox support. - -2005-08-15 Peter Stephenson <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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: + * Stepan Koltsov: 30632 + (https://raw.github.com/stepancheg/zsh/bfa81caaac44dacfa05adb77f61526ea90346219/Completion/Unix/Command/_clay): + Completion/Unix/Command/_clay, + Completion/Unix/Command/.distfiles: new completion. -2005-08-11 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <opk@zsh.org> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 21579: Thorsten Dahlheimer: Src/builtin.c: Made printf %s - handle embedded nuls in its arg. - -2005-08-09 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <opk@zsh.org> - - * 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 <clint@zsh.org> - - unposted: Completion/Unix/Command/_mencal: fix syntax error - introduced by recent cleanup. - -2005-08-02 Peter Stephenson <pws@csr.com> - - * 21557: Thorsten Dahlheimer: Src/glob.c: BRACE_CCL was broken - for character 255. - -2005-08-01 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <opk@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <wayned@users.sourceforge.net> - - * 21548: Completion/Unix/Command/_rsync: Made file completion - work after --include-from= and --exclude-from=. - -2005-07-28 Peter Stephenson <pws@csr.com> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 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 <wayned@users.sourceforge.net> - - * 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 <clint@zsh.org> - - * 21529: configure.ac, Src/zsh.mdd: move scriptdir to a scripts - subdir, and don't include Scripts in fpath. - -2005-07-26 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_rake: declare expl local - -2005-07-26 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 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 <wayned@users.sourceforge.net> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_php: add missing compset -S call - when completing directives - -2005-07-24 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <clint@zsh.org> - - * 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 <clint@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 21499: Doc/Makefile.in: use newer texi2html syntax. - -2005-07-20 Peter Stephenson <pws@csr.com> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_rake: add -s option to _arguments - -2005-07-19 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_python: escape colons in -W option - argument message - -2005-07-15 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_python: add missing -C option to - _arguments; complete script arguments with _normal - -2005-07-14 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> - - * 21466: Src/Modules/files.c: lstat() should be stat() in mkdir -p - test (from Fr. Br. George). - -2005-07-12 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * 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 <clint@zsh.org> - - * 21447: Completion/Unix/Command/_rubber: completion for - rubber, contributed by Emmanuel Hainry and Emmanuel - Beffara. - -2005-07-11 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * 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 <schaefer@zsh.org> - - * 21428: Travis Spencer: Src/Zle/computil.c: fix null pointer deref - on wrong number of arguments to compvalues. - -2005-07-10 Bart Schaefer <schaefer@zsh.org> - - * 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 <clint@zsh.org> - - * 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 <pws@csr.com> - - * users/9059: Nikolai Weibull: Completion/Unix/Command/_vim: - improved _vim_files. - -2005-07-07 Peter Stephenson <pws@csr.com> - - * users/9049: Completion/Unix/Command/_vim: add variant names - of vim, but not yet vi, ex, view. - - * users/9045: Nikolai Weibull - <mailing-lists.zsh-users@rawuncut.elitemail.org>: - Completion/Unix/Command/_vim: new completion function. - -2005-07-06 Peter Stephenson <pws@csr.com> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_links: declare parameter vals - local - -2005-06-28 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * 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 <pws@csr.com> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Type/_urls: complete WWW_HOME, ftp_proxy - and https_proxy with URLs - -2005-06-27 Peter Stephenson <pws@csr.com> - - * 21387: Doc/Zsh/contrib.yo: document the precision features - in zcalc. - -2005-06-26 Clint Adams <clint@zsh.org> - - * 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 <clint@zsh.org> - - * 21382: Completion/Unix/Command/_kvno: completion for MIT - krb5's kvno. - -2005-06-24 Oliver Kiddle <opk@zsh.org> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 21334: Completion/Linux/Command/_pkgtool: fix typo in -target_dir - completion - -2005-06-21 Oliver Kiddle <opk@zsh.org> - - * 21317: Src/glob.c, Test/D02glob.ztst: fix bug where recursive - glob within e qualifier would hang the shell - -2005-06-20 Bart Schaefer <schaefer@zsh.org> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_darcs: tidy up command - descriptions - -2005-06-17 Oliver Kiddle <opk@zsh.org> - - * 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 <clint@zsh.org> - - * 21351: Completion/X/Command/_vnc: complete for xvnc4viewer and - xtightvncviewer. - -2005-06-14 Clint Adams <clint@zsh.org> - - * 21243: Kazuhiro NISHIYAMA: Completion/Unix/Command/_subversion: - complete first option of svn subcmds. - -2005-06-13 Bart Schaefer <schaefer@zsh.org> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_less: fix typo in state name - -2005-06-08 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_ant: add missing options specific - to the launch script - -2005-06-08 Oliver Kiddle <opk@zsh.org> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Zsh/Command/_dirs: fix typo in opt description - -2005-06-06 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_raggle: fix typo in tag name - -2005-06-02 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * 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 <pws@csr.com> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 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 <gcw@zsh.org> - - * 21290: configure.ac: don't need backslash quoting within single-quote - areas. Change constant RE boundary characters to slash. - -2005-05-30 Oliver Kiddle <opk@zsh.org> - - * 21266: Completion/Unix/Command/_mh: improve completion of sequences - -2005-05-26 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * 21275 (modified): Completion/Unix/Command/_raggle: update raggle - completion for version 0.4.0 - -2005-05-23 Bart Schaefer <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * unposted: Completion/Unix/Command/_webbrowser: add firefox to - list of basic URL completed web browsers - -2005-05-17 Peter Stephenson <pws@csr.com> - - * 21264: Doc/Zsh/arith.yo: document the return status of (( ... )). - -2005-05-17 Geoff Wing <gcw@zsh.org> - - * unposted: Etc/FAQ.yo: update mirror sites - -2005-05-13 Oliver Kiddle <opk@zsh.org> - - * 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 <a66@h8.dion.ne.jp> - - * users/8826: Completion/Darwin/Type/_retrieve_mac_apps: search - applications using spotlight. - -2005-05-12 Felix Rosencrantz <f.rosencrantz@gmail.com> - - * 21257: Completion/Unix/Command/_perforce: fix minor typo - in completion for the p4 password command. - -2005-05-11 Oliver Kiddle <opk@zsh.org> - - * 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 <opk@zsh.org> - - * 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 + * Stepan Koltsov: 30632 + (https://github.com/stepancheg/zsh/commit/b0f1427e4983be6dfdc07ccaf86f153d5f9959b9.patch): + Completion/Unix/Command/_gcc: aliases and clang-specific flags. -2005-05-09 Bart Schaefer <schaefer@zsh.org> + * 30629 plus unposted formatting improvements: + Doc/Zsh/builtins.yo, Src/Builtins/rlimits.c: more complete + handling for socket buffer size limit (NetBSD) plus formatting + and consistency changes (kb -> kbytes everywhere in ulimit + output, K-bytes to kilobytes everywhere in documentation). - * 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. + * 30627: configure.ac, Doc/Zsh/builtins.yo, + Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c: + support RLIMIT_NTHR as on NetBSD. -2005-05-09 Clint Adams <clint@zsh.org> +2012-08-16 Peter Stephenson <pws@csr.com> - * 21239: Completion/Unix/Command/_ccal: completion for - ccal. + * 30619: Doc/Zsh/builtins.yo, Src/builtin.c, + Test/B02typeset.ztst: repeat "typeset -T" with same two first + arguments is not an error. -2005-05-09 Peter Stephenson <pws@csr.com> + * 30617: Src/prototypes.h, Src/zsh_system.h: rationalise + replacement of tgoto() prototype which could appear twice + inconsistently. - * 21211: Doc/Zsh/expn.yo, Src/pattern.c, Test/D02glob.ztst: - Add [[:IDENT:]], [[:IFS:]], [[:IFSSPACE:]], [[:WORD:]] tests. +2012-08-14 Peter Stephenson <p.w.stephenson@ntlworld.com> -2005-05-08 Bart Schaefer <schaefer@zsh.org> + * unposted: Etc/relnote_5.0.0.txt, Etc/.distfiles: add. - * 21235, 21236: Completion/Unix/Command/_ssh: fix remote filename - quoting and wrong exit status, both in _remote_files. + * unposted: Etc/Changelog-4.3, Etc/ChangeLog-5.0, + Etc/.distfiles: rename -2005-05-07 Clint Adams <clint@zsh.org> +2012-08-13 Peter Stephenson <p.w.stephenson@ntlworld.com> - * Jesse Weinstein: 21233: Completion/Debian/Command/_dpkg: - completion for dpkg-query. + * unposted: ChangeLog, Etc/ChangeLog-5.0: move changes up + to 5.0 into subdirectory. -2005-05-06 Bart Schaefer <schaefer@zsh.org> + * Michal Halenka: 30608: Completion/Unix/Command/_ip: del rather + delete tunnel. - * 21229: Doc/Makefile.in: fix fake build run when yodl isn't found +2012-08-13 Peter Stephenson <pws@csr.com> -2005-05-05 Clint Adams <clint@zsh.org> + * Jesse Weinstein: 30607: Doc/Makefile.in: fix ancient + dependency problem with moved Yodl files. - * Jesse Weinstein: 21230 (reformatted as 21231): - Completion/Debian/Command/_dpkg: complete -W/--show - for dpkg-deb. + * Aaron Schrab: 30604: Src/Zle/zle_move.c: make repeating vi skip + character useful by ignoring character just matched. -2005-04-30 Bart Schaefer <schaefer@zsh.org> + * Aaron Schrab: 30603: Src/Zle/zle_move.c: repeating vi skip + characters commands caused bad positioning. - * 21215: Test/C03traps.ztst: clean up TRAPEXIT file left behind by - autoloaded trap test. +2012-08-07 Peter Stephenson <p.w.stephenson@ntlworld.com> -2005-04-27 Peter Stephenson <pws@csr.com> + * cat_in_136: 17200: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_lha, Completion/Unix/Command/_nkf: new + completions. nkf is a Kanji code converter. - * 21197: Src/exec.c, Src/signals.c: LOCAL_TRAPS didn't restore - a trap when modified inside another trap. + * YAMAMOTO Takashi: 30599: Src/compat.c, Src/zsh.h: don't + use the replacement wcwidth if not ISO-10646 as the assumptions + it makes probably won't work. -2005-04-27 Wayne Davison <wayned@users.sourceforge.net> +2012-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com> - * 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. + * 30590: Doc/Makefile.in, Doc/.distfiles: work around problem + turning intro.ms into PDF. -2005-04-26 Peter Stephenson <pws@csr.com> + * unposted: relabel as 5.0.0-dev-0. - * 21195 (c.f. 21194 from Bart): Src/pattern.c, - Test/D04parameter.ztst: 21170 broke handling of zero-length - quoted test strings. +2012-07-23 Geoff Wing <gcw@zsh.org> -2005-04-25 Peter Stephenson <pws@csr.com> + * unposted: Doc/Zsh/ftp_sites.yo: Remove unavailable sites - * 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 <schaefer@zsh.org> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 21170: Src/glob.c, Src/pattern.c: optimise length calculations - which were causing inefficiency in ${...//.../...} on large - string. - -2005-04-22 Geoff Wing <gcw@zsh.org> - - * 20162: Src/Zle/compresult.c: in printlist() don't output new line - if we haven't printed anything - -2005-04-21 Clint Adams <clint@zsh.org> - - * users/8733: Completion/Unix/Command/_surfraw: rudimentary - completion for surfraw. - -2005-04-19 Clint Adams <clint@zsh.org> - - * 21156: Completion/Debian/Command/_dpkg: tweaks to - dpkg-reconfigure completion. - -2005-04-18 Felix Rosencrantz <f_rosencrantz@gmail.com> - - * 21154: Completion/Unix/Command/_perforce: add pid completion for - monitor (clear|terminate) commands. - -2005-04-17 Clint Adams <clint@zsh.org> - - * 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 <schaefer@zsh.org> - - * unposted (see 21148): Test/A04redirect.ztst: update test for - change in error message. - -2005-04-16 Clint Adams <clint@zsh.org> - - * 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 <pws@csr.com> - - * 21143: Src/exec.c, Src/Modules/socket.c: be more careful when - closing or opening sockets onto file descriptors. - -2005-04-14 Peter Stephenson <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * 21064: Test/D03procsubst.ztst: test case for 21049. - -2005-04-13 Peter Stephenson <pws@csr.com> - - * 21136: Test/C03traps.ztst: don't leave TRAPEXIT file lying - around in Test directory. - -2005-04-12 Clint Adams <clint@zsh.org> - - * 21135: Completion/Unix/Command/_screen: complete attached - sessions after screen -x. - -2005-04-12 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * unposted: config.guess, config.sub: update to 2005-03-24 and - 2005-02-10, respectively. - -2005-04-08 Clint Adams <clint@zsh.org> - - * 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 <opk@zsh.org> - - * 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 <clint@zsh.org> - - * 21096: Completion/X/Command/_gv: update for gv 3.6, - which uses double-hyphen options. - -2005-04-06 Peter Stephenson <pws@csr.com> - - * Carlos Phillips <carlos.phillips@mail.mcgill.ca>: - private email: Completion/Unix/Command/_darcs: much improved - completion for darcs. - -2005-04-05 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: Made --address - work for both client- and daemon-mode. - -2005-04-05 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <bor@zsh.org> - - * 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 <opk@zsh.org> - - * 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 <pws@csr.com> - - * 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 <opk@zsh.org> - - * 21076: Completion/Unix/Command/_subversion: use _files with - (e) glob qualifier to handle completing files by their status - -2005-03-27 Clint Adams <clint@zsh.org> - - * 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 <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: Added --protocol. - -2005-03-27 Clint Adams <clint@zsh.org> - - * 21068: Completion/Unix/Command/_subversion: complete modified - files for 'svn revert'. - -2005-03-27 Andrey Borzenkov <bor@zsh.org> - - * 21066: Completion/Unix/Command/_rsync: rsync:// URL support, - fix modules completion, strip remote banners - -2005-03-24 Andrey Borzenkov <bor@zsh.org> - - * 21053: Completion/X/Command/_kfmclient: use kde search path - to find profiles in openProfile - -2005-03-22 Andrey Borzenkov <bor@zsh.org> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 21046: Completion/Base/Completer/_approximate: use extra tests - and "always" block to make unfunction of compadd more reliable. - -2005-03-21 Peter Stephenson <pws@csr.com> - - * 21045: Src/Zle/compcore.c, Src/Zle/complete.c: more places - where completion didn't handled Meta characters. - -2005-03-21 Oliver Kiddle <opk@zsh.org> - - * Stephen Rüger: 21019: Completion/Unix/Command/_mpc: - new completion for mpc - -2005-03-21 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 20978: Src/zle_main.c: don't propagate EOFs from recursive - edit. - -2005-03-11 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: A few more tweaks - to the various --*-dest options. - -2005-02-28 Philippe Troin <phil@fifi.org> - - * 20886: configure.ac: Use TTOU with trap rather than SIGTTOU. - -2005-03-13 Bart Schaefer <schaefer@zsh.org> - - * unposted: Functions/Prompts/prompt_bart_setup: Update to some - 4.2.2+ features, and add special handling for nopromptcr. - -2005-03-11 Bart Schaefer <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * 20966: Src/Zle/zle_misc.c: need to copy strings to avoid - crash in completion for execute-named-command. - -2005-03-09 Clint Adams <clint@zsh.org> - - * 20961: Completion/Unix/Command/_baz: fix completion of status and - diff subcommands. - -2005-03-10 Andrey Borzenkov <bor@zsh.org> - - * 20957: Completion/Unix/Command/_fuser: - Add support for Solaris and SVR4 - -2005-03-10 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 20955: README, Src/builtin.c: "unset foo" should return - status 0 if foo was not set. - -2005-03-09 Motoi Washida <a66@h8.dion.ne.jp> - - * 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 <clint@zsh.org> - - * 20951: Completion/Unix/Command/_baz: fix version detection - and baz merge completion. - -2005-03-07 Clint Adams <clint@zsh.org> - - * 20946: Completion/Linux/Command/_iwconfig: completion for - iwconfig command. - -2005-03-07 Peter Stephenson <pws@csr.com> - - * 20945: Src/Zle/zle_misc.c: rename static variables to - avoid clash with "cmdstr" exported by zle_tricky.c. - -2005-03-07 Clint Adams <clint@zsh.org> - - * 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 <bor@zsh.org> - - * Tobias Gruetzmacher: 20932: Completion/X/Command/_kfmclient: - Add copy command - -2005-03-04 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> - - * 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 <a66@h8.dion.ne.jp> - - * unposted: Completion/Darwin/Command/_softwareupdate: new completion - - * unposted: Completion/Darwin/Command/_hdiutil: arguments are - required after -imagekey, -srcimagekey options - -2005-03-03 Oliver Kiddle <opk@zsh.org> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 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 <wayned@users.sourceforge.net> - - * 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 <clint@zsh.org> - - * 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 <rows> <columns>. - -2005-03-01 Peter Stephenson <pws@csr.com> - - * 20897: Completion/Unix/Command/_a2ps: complete system printers - as well as those configured into a2ps. - -2005-02-28 Peter Stephenson <pws@csr.com> - - * 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 <bor@zsh.org> - - * 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 <pws@csr.com> - - * 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 <opk@zsh.org> - - * 20867: Completion/Unix/Command/_ant: handle imported files - that are specified using a relative path - -2005-02-24 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> - - * 20866: Src/Zle/zle_misc.c: two mistakes in 20861. - -2005-02-24 Oliver Kiddle <opk@zsh.org> - - * 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 <pws@csr.com> - - * 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 <bor@zsh.org> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 20847: Completion/compaudit: stop adding gratuitous - elements to fpath when MARK_DIRS is set. - -2005-02-23 Andrey Borzenkov <bor@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <a66@h8.dion.ne.jp> - - * users/8522: Completion/Darwin/Command/_defaults: fixed the - number of spaces broken while sending the patch by email. - -2005-02-18 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 20816: Src/Builtins/rlimits.awk: extra tricks to get limit - names and numbers required with new glibc. - -2005-02-15 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_yodl: Added missing - closing double-quote. - -2005-02-09 Bart Schaefer <schaefer@zsh.org> - - * Kris Shannon: 20801: Completion/Unix/Command/_init_d: fix - missing $ in the param expansion that parses the init script. - -2005-02-07 Peter Stephenson <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * (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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 20777: Test/A06assign.ztst, Test/C02cond.ztst: tests for - users/8422 and 20774. - -2005-02-01 Bart Schaefer <schaefer@zsh.org> - - * 20774: Src/exec.c: fix e.g. "FOO=BAR BAR=FOO echo" failure to - unset FOO after finishing. - -2005-02-01 Clint Adams <clint@zsh.org> - - * 20773: Completion/Unix/Command/_getconf: additional variables - from confstr(). - -2005-02-01 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * users/8433: configure.ac: Latest Cygwin hangs on FIFO test, - so tell it explicitly that FIFOs don't work. - -2005-01-26 Clint Adams <clint@zsh.org> - - * 20753: Src/system.h, Src/Zle/zle_params.c: use ZS_memmove - instead of memmove. - -2005-01-26 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 20747, 20751: Src/Zle/zle_refresh.c, Src/system.h: some - wide char support in the zle refresh code. - -2005-01-26 Peter Stephenson <pws@csr.com> - - * 20750: Src/zle_utils.c: 20742 could cause hang when line - resized to empty. - -2005-01-25 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 20737, 20739: Completion/Unix/Command/_subversion: run svn - commands with LC_MESSAGES=C. - -2005-01-22 Clint Adams <clint@zsh.org> - - * 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 <schaefer@zsh.org> - - * unposted (cf. zsh-users/8409): Functions/Zle/keeper: "keeper" - suite from unixreview.com article. - -2005-01-21 Oliver Kiddle <opk@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * unposted: suggested by Bart: Etc/FAQ.yo: update a few entries. - -2005-01-17 Oliver Kiddle <opk@zsh.org> - - * Motoi Washida: users/8380: Completion/Darwin/Command/_defaults: - complete plist files - -2005-01-16 Clint Adams <clint@zsh.org> - - * 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode - stuff. - -2005-01-14 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <opk@zsh.org> - - * 20701: Src/system.h: fix compilation on Mac OS X - -2005-01-12 Peter Stephenson <pws@csr.com> - - * 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 -<NUM>. - -2005-01-11 Clint Adams <clint@zsh.org> - - * 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 <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * 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 <clint@zsh.org> - - * 20665: Completion/Unix/Command/_gnome-gv, - Completion/Unix/Type/_pspdf: improve completion for - ggv/gnome-gv. - -2005-01-10 Peter Stephenson <pws@csr.com> - - * 20661: Doc/Zsh/expn.yo, Src/glob.c: allow (+func) as shorthand - for (e:func:) in glob qualifier. - -2005-01-10 Oliver Kiddle <opk@zsh.org> - - * 20662: Completion/X/Command/_nedit: update for nedit 5.5 - -2005-01-09 Clint Adams <clint@zsh.org> - - * 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 <clint@zsh.org> - - * 20650: Completion/Unix/Command/_mencal: - completion for mencal. - - * 20649: Completion/Unix/Command/_cal: - completion for cal and ncal. - -2005-01-05 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 20639: Completion/Unix/Command/_bogofilter: - improve 'bogoutil' completion for 0.93.3.1. - -2004-12-25 Clint Adams <clint@zsh.org> - - * 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 <clint@zsh.org> - - * 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 <clint@zsh.org> - - * 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 <bor@zsh.org> - - * 20617: Completion/Linux/Command/_modutils: fix - completion of compressed modules on kernel 2.6; add - trivial insmod completion. - -2004-12-09 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <djkea2@gus.gscit.monash.edu.au> - - * 20601: Completion/Unix/Command/_python: update python completion for - version 2.4 - -2004-12-01 Wayne Davison <wayned@users.sourceforge.net> - - * 20595 (modified): Src/compat.c: some style tweaks to zchdir(). - -2004-12-01 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * 20587: Completion/Unix/Command/_screen: update screen completion for - version 4.00 - -2004-11-30 Peter Stephenson <pws@csr.com> - - * 20599: Test/C01arith.ztst: 20592 needs consequent test change. - -2004-11-29 Peter Stephenson <pws@csr.com> - - * 20591: Stephane Chazelas <Stephane_Chazelas@yahoo.fr>: - 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 <clint@zsh.org> - - * 20583: Completion/Unix/Command/_ssh: complete "modern" options - such as GSSAPIAuthentication. - -2004-11-27 Doug Kearns <djkea2@gus.gscit.monash.edu.au> - - * 20584: Completion/Unix/Command/_screen: offer multiuser screen - sessions for attaching/detaching - -2004-11-24 Clint Adams <clint@zsh.org> - - * 20578: Functions/Prompts/prompt_elite2_setup: - handle ttys with slashes in them. - -2004-11-23 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <djkea2@mugca.its.monash.edu.au> - - * 20571: Completion/Unix/Command/_java: update javac completion for - J2SE 5.0 - -2004-11-19 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * Motoi Washida <a66@h8.dion.ne.jp>: 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 <wayned@users.sourceforge.net> - - * 20551: Completion/Unix/Command/_make: handle $$ when - expanding variables. - -2004-11-09 Peter Stephenson <pws@csr.com> - - * Jussi Pakkanen <jpakkane@yahoo.com>: users/8189: - Completion/Unix/Command/_bittorrent: new completion. - -2004-11-05 Bart Schaefer <schaefer@zsh.org> - - * 20546: Src/Zle/compcore.c: fix "compadd -k assoc1 assoc2". - -2004-11-02 Clint Adams <clint@zsh.org> - - * 20539: Completion/Unix/Command/_make: avoid problems with - minus signs in expandVars(). - -2004-10-29 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 20522: Src/glob.c, Test/D02glob.ztst: must-match optimisation - was broken for pattern substitutions in parameters. - -2004-10-22 Wayne Davison <wayned@users.sourceforge.net> - - * 20510: Borzenkov Andrey: Src/jobs.c: Fixed the arg to a call - to times(). - -2004-10-22 Bart Schaefer <schaefer@zsh.org> - - * unposted (based on 20514): Completion/compinit: _comp_options - needs to include NO_kshtypeset. - -2004-10-22 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <wayned@users.sourceforge.net> - - * 20503: Alexey Tourbin: Doc/Zsh/compsys.yo: corrected the - completion-cache's default value. - -2004-10-18 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <num-> issue; add bogus quotation from Proust (it's - my file and I'll do what I like with it). - -2004-10-17 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 20490: Src/pattern.c, Src/zsh.h: use lengths for test strings in - patterns instead of null termination. - -2004-10-14 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * unposted: Completion/Unix/Command/_rsync: added options that - are new in rsync 2.6.3. - -2004-10-05 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <wayned@users.sourceforge.net> - - * unposted: Src/params.c: silenced two compiler warnings about - unused parameters. - -2004-10-01 Wayne Davison <wayned@users.sourceforge.net> - - * unposted: Src/builtin.c, Src/Modules/parameter.c: use convbase - instead of a "%d" format to convert a zlong. - -2004-10-01 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 20358: Completion/Unix/Command/_make: avoid potential gawk - locale bug by not using awk. - -2004-09-29 Bart Schaefer <schaefer@zsh.org> - - * 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 <clint@zsh.org> - - * 20414: Completion/Unix/Type/_diff_options: correct missing - minus in --unified, spotted by Paul Wagland. - -2004-09-27 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * 20391: Src/params.c: SHLVL didn't get updated in the - environment if it was already present. - -2004-09-20 Bart Schaefer <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * 20378: Matthias B <msb@winterdrache.de>: Src/params.c, - Src/utils.c, B02typeset.ztst: Fix bugs with metafied characters - in tied arrays. - -2004-09-16 Peter Stephenson <pws@csr.com> - - * 20364: Functions/Completer/_oldlist: use $WIDGETSTYLE. - -2004-09-13 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 20348: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: Rejig WIDGETSTYLE - and add WIDGETFUNC. - -2004-09-09 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * 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 <schaefer@zsh.org> - - * 20318: Src/builtin.c: fix subtle xtrace output bug introduced - by 20308. - -2004-09-03 Peter Stephenson <pws@csr.com> - - * 20308: Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, - Src/options.c, Src/zsh.h: add option EVAL_LINENO <Z> 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 <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 20283: Completion/Unix/Command/_ant: Improved the parsing - of the <target...> tag as suggested by Jean-Baptiste Quenot. - -2004-08-23 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * unposted: config.guess, config.sub: update to 2004-07-19 and - 2004-06-24, respectively. - -2004-08-13 Peter Stephenson <pws@csr.com> - - * unposted: Version 4.2.1. - -2004-08-11 Oliver Kiddle <opk@zsh.org> - - * 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 <schaefer@zsh.org> - - * 20244: Functions/Misc/zed: fix bug with editing of autoloaded - functions (introduced by 20089). - -2004-08-07 Oliver Kiddle <opk@zsh.org> - - * 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 <gcw@zsh.org> - - * 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 <pws@csr.com> - - * 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 <clint@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * unposted: Doc/Zsh/contrib.yo: documentation for "zargs". - -2004-07-23 Oliver Kiddle <opk@zsh.org> - - * 20180 (based on Jean-Baptiste Quenot's 20177): - Completion/Unix/Command/_killall: fix to work on BSD systems - - * Motoi Washida <a66@h8.dion.ne.jp>: 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 <opk@zsh.org> - - * Jean-Baptiste Quenot: 20167: Completion/Unix/Command/_ant: - find targets enclosed in single instead of double quotes - -2004-07-17 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> - - * 20173: Src/mem.c: crash when globbing lots of files; need to - NULLify fheap optimisation when reallocating a heap. - -2004-07-13 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <schaefer@zsh.org> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * unposted: Functions/Zle/.distfiles: add zed-set-file-name. - -2004-06-24 Bart Schaefer <schaefer@zsh.org> - - * unposted (see 20092): Completion/Zsh/Context/_condition: fix - typos in descriptions. - -2004-06-23 Peter Stephenson <pws@csr.com> - - * 20089: Doc/Zsh/contrib.yo, Functions/Misc/zed, - Functions/Zle/zed-set-file-name: various zed enhancements. - -2004-06-22 Clint Adams <clint@zsh.org> - - * 20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings. - -2004-06-22 Peter Stephenson <pws@csr.com> - - * 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 <schaefer@zsh.org> - - * 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 <clint@zsh.org> - - * 20081: Doc/Zsh/mod_pcre.yo: document -pcre-match condition. - -2004-06-18 Oliver Kiddle <opk@zsh.org> - - * 20077: Completion/Zsh/Command/_disable, - Completion/Zsh/Command/_enable: fix completion of reserved words - -2004-06-18 Peter Stephenson <pws@csr.com> - - * 20033: Completion/Base/Utility/_arguments: unconfirmed fix - for configure output parsing with square brackets. - -2004-06-17 Oliver Kiddle <opk@zsh.org> - - * 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 <opk@zsh.org> - - * users/7553: Completion/compdump, Completion/compinit: - include zsh version in dump file to avoid problems with upgrades - -2004-06-15 Clint Adams <clint@zsh.org> - - * 20055: Completion/Unix/Command/_tla: additions and fixes - from Jason McCarty. - -2004-06-09 Peter Stephenson <pws@csr.com> - - * c.f. 20034: Test/V03mathfunc.ztst: tests for the zsh/mathfunc - module. - -2004-06-08 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> - - * 20029: Src/Modules/mathfunc.c: rand48(seed) stopped being - random after the second call. - -2004-06-08 Peter Stephenson <pws@csr.com> - - * 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 <f_rosencrantz@yahoo.com> - - * 20002: Src/Zle/compmatch.c: Fix a problem with an inconsistent - struct change in cmp_anchors(). - -2004-06-03 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <wayned@users.sourceforge.net> - - * 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 <clint@zsh.org> - - * 19991: Completion/Unix/Command/_lynx: complete .htm files - too. - -2004-05-25 Peter Stephenson <pws@csr.com> - - * 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 <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * 19971: Src/exec.c, Src/params.c: use putenv to put "_" - into exec'd environment, avoiding horrific hack. - -2004-05-20 Wayne Davison <wayned@users.sourceforge.net> - - * 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 <pws@csr.com> - - * unposted: Completion/Unix/Command/_perforce: tweak - to allow changes and revisions with >, <, = qualifiers. - -2004-05-13 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> - - * 19941: Src/math.c, Test/C01arith.ztst: (( x, )) triggered - an internal bug instead of reporting an error. - -2004-05-13 Peter Stephenson <pws@csr.com> - - * 19936: Functions/Misc/zcalc: bad name for temporary history - file invites clashes. - -2004-05-12 Peter Stephenson <pws@csr.com> - - * 19920 modified c.f. 19921: Src/mem.c: attempt to improve - behaviour of hrealloc, particularly when using mmap(). - -2004-05-11 Wayne Davison <wayned@users.sourceforge.net> - - * 19893 (plus one extra tweak): Src/hist.c: Fix the - potential for an infinite loop in lockhistfile(). - -2004-05-05 Wayne Davison <wayned@users.sourceforge.net> - - * 19878: Src/utils.c: a single-character change fixes the - new strftime() return-check idiom. - -2004-05-04 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 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 <clint@zsh.org> - - * 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 <clint@zsh.org> - - * 19845: Completion/Debian/Command/_apt-move: apt-move - completion function from Steven Kowalik. - -2004-04-27 Peter Stephenson <pws@csr.com> - - * 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 <djkea2@mugca.its.monash.edu.au> - - * unposted: Completion/Unix/Command/_aap: short and long options - are mutually exclusive - -2004-04-23 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <opk@zsh.org> - - * 19806: Src/prompt.c: fix bug with %v expansion and negative index - -2004-04-20 Peter Stephenson <pws@csr.com> - - * 19801: Src/builtin.c: Autoloading of TRAP functions was never - implemented. - -2004-04-20 Oliver Kiddle <opk@zsh.org> - - * 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 <clint@zsh.org> - - * 19798: Completion/Unix/Command/.distfiles, - Completion/Unix/Command/_bogofilter: rudimentary completion for - bogoutil. - -2004-04-19 Peter Stephenson <pws@csr.com> - - * 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 <clint@zsh.org> - - * 19792: Completion/X/Command/_mplayer: complete .m2v and .m2p, - thanks to Rene H. Larsen. - -2004-04-17 Oliver Kiddle <opk@zsh.org> - - * 19790: Completion/Zsh/Command/_zcompile: complete functions - after -a and allow multiple -z/-k options - -2004-04-17 Doug Kearns <djkea2@mugca.its.monash.edu.au> - - * 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 <pws@csr.com> - - * see 19778 etc.: Doc/Makefile.in: remove change from 19735. - -2004-04-15 Clint Adams <clint@zsh.org> - - * 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 <clint@zsh.org> - - * Jay Berkenbilt: 19769: Completion/Unix/Command/_rsync: - fix quoting for remote file completion, add -L to ls command. - -2004-04-14 Oliver Kiddle <opk@zsh.org> - - * 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 <wayned@users.sourceforge.net> - - * 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 <opk@zsh.org> - - * 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 <pws@csr.com> - - * Peter Castro <doctor@fruitbat.org>: 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 <pws@csr.com> - - * 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 <pws@pwstephenson.fsnet.co.uk> - - * 19717: Doc/Zsh/expn.y, Src/glob.c: use F glob qualifier - for `full' (non-empty) directories. - -2004-03-31 Bart Schaefer <schaefer@zsh.org> - - * 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 <opk@zsh.org> - - * 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 <clint@zsh.org> - - * 19691: Completion/Unix/Type/_diff_options: Allow more than - one --exclude or -x to diff. - -2004-03-25 Peter Stephenson <pws@csr.com> - - * 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 <pws@csr.com> - - * 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 <pws@csr.com> - - * 19661: Danek Duvall: Completion/Unix/Type/_diff_options: - support diff -u on Solaris from 2.10 up. - -2004-03-22 Clint Adams <clint@zsh.org> - - * 19673: Peter Palfrader: Completion/Unix/Command/_cvs: - tags can contain the + character. - -2004-03-22 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> - - * 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 <schaefer@zsh.org> - - * 19666 (tweaked): Completion/Unix/Command/_ssh: fixes for remote - file completion for scp, suggested by Jay Berkenbilt <ejb@ql.org>. +2012-07-21 Peter Stephenson <p.w.stephenson@ntlworld.com> - * users/7172: Functions/Prompts/prompt_bart_setup: include "unset" - among the localoptions, as this relies on it. + * unposted: update for 5.0.0 release. ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5681 $ +* $Revision: 1.5771 $ ***************************************************** diff --git a/Completion/Base/Completer/_user_expand b/Completion/Base/Completer/_user_expand index 049cc31ef..cf3d172f0 100644 --- a/Completion/Base/Completer/_user_expand +++ b/Completion/Base/Completer/_user_expand @@ -12,7 +12,7 @@ setopt localoptions nonomatch [[ _matcher_num -gt 1 ]] && return 1 -local exp word sort expr expl subd suf=" " asp tmp spec +local exp word sort expr expl subd suf=" " asp tmp spec REPLY local -a specs reply if [[ "$funcstack[2]" = _prefix ]]; then @@ -30,6 +30,7 @@ exp=("$word") zstyle -a ":completion:${curcontext}" user-expand specs || return 1 for spec in $specs; do + REPLY= case $spec in ('$'[[:IDENT:]]##) # Spec is an associative array with explicit keys. @@ -85,9 +86,9 @@ fi if [[ -z "$compstate[insert]" ]] ;then if [[ "$sort" = menu ]]; then - _description expansions expl expansions "o:$word" + _description expansions expl "expansions${REPLY:+: $REPLY}" "o:$word" else - _description -V expansions expl expansions "o:$word" + _description -V expansions expl "expansions${REPLY:+: $REPLY}" "o:$word" fi compadd "$expl[@]" -UQ -qS "$suf" -a exp @@ -98,9 +99,9 @@ else local i j normal space dir if [[ "$sort" = menu ]]; then - _description expansions expl expansions "o:$word" + _description expansions expl "expansions${REPLY:+: $REPLY}" "o:$word" else - _description -V expansions expl expansions "o:$word" + _description -V expansions expl "expansions${REPLY:+: $REPLY}" "o:$word" fi normal=() space=() @@ -120,7 +121,7 @@ else (( $#space )) && compadd "$expl[@]" -UQ -qS " " -a space (( $#normal )) && compadd "$expl[@]" -UQ -qS "" -a normal fi - if _requested all-expansions expl 'all expansions'; then + if _requested all-expansions expl "all expansions${REPLY:+: $REPLY}"; then local disp dstr if [[ "${#${exp}}" -ge COLUMNS ]]; then diff --git a/Completion/Base/Utility/.distfiles b/Completion/Base/Utility/.distfiles index d5e359ae7..97d86bdbf 100644 --- a/Completion/Base/Utility/.distfiles +++ b/Completion/Base/Utility/.distfiles @@ -5,5 +5,5 @@ _arg_compile _combination _regex_arguments _values _arguments _set_command _retrieve_cache _guard _cache_invalid _describe _sep_parts _pick_variant _call_function _multi_parts _store_cache _regex_words -_complete_help_generic _remote_files +_complete_help_generic ' diff --git a/Completion/Linux/Command/.distfiles b/Completion/Linux/Command/.distfiles index 0d817fc5d..f6ee5b6c7 100644 --- a/Completion/Linux/Command/.distfiles +++ b/Completion/Linux/Command/.distfiles @@ -4,6 +4,7 @@ _acpi _acpitool _analyseplugin _brctl +_btrfs _chrt _cryptsetup _ethtool diff --git a/Completion/Linux/Command/_btrfs b/Completion/Linux/Command/_btrfs new file mode 100644 index 000000000..eac827050 --- /dev/null +++ b/Completion/Linux/Command/_btrfs @@ -0,0 +1,144 @@ +#compdef btrfs + +local curcontext="$curcontext" curstate state line expl grp cmd ret=1 +local -a groups args + +groups=( subvolume filesystem device scrub balance inspect-internal help version ) +cmds_1=( create delete list snapshot get-default set-default find-new help ) +cmds_2=( df show sync defragment resize label balance help ) +cmds_3=( add delete scan help ) +cmds_4=( start cancel resume status help ) +cmds_5=( start pause cancel resume status ) +cmds_6=( inode-resolve logical-resolve help ) + +[[ $words[2] = h(|e(|l(|p))) ]] && args=( '--full[display detailed help]' ) + +_arguments -C "$args[@]" \ + '(- *)--help[print help information]' \ + '(- *)--version[print version information]' \ + '(--version)1: :->groups' \ + '2: :->cmds' \ + '*:: :->args' && ret=0 + +while (( $#state )); do + curstate=$state + shift state + case $curstate in + groups) + _wanted command-groups expl 'btrfs command group' compadd -a groups && ret=0 + ;; + cmds) + : $words + local grp=${groups[(i)$words[2]*]} + : $grp + (( grp && grp < 7 )) || return 1 + curcontext="${curcontext%:*:*}:$service-${groups[grp]}:" + _wanted commands expl command compadd -a cmds_$grp && ret=0 + ;; + args) + : $words + local grp=${groups[(i)$words[1]*]} + (( grp && grp < 7 )) || return 1 + local group=cmds_$grp + local cmd=${${(P)group}[(i)$words[2]*]} + (( cmd )) || return 1 + curcontext="${curcontext%:*:*}:$service-${groups[grp]}-${${(P)group}[cmd]}:" + args=( '(-)--help[print help information]' ) + case ${groups[grp]}:${${(P)group}[cmd]} in + filesystem:balance) + if (( CURRENT == 3 )); then + state+=cmds + else + shift words + (( CURRENT-- )) + state+=args + fi + continue + ;; + subvolume:create) args+=( '1:destination:->mounts' );; + subvolume:delete) args+=( '1:subvolume:_files -/' );; + subvolume:snapshot) args+=( '-r[readonly snapshot]' '1:snapshot:_files -/' );; + subvolume:list) args+=( '-p[include parent ID in output]' '1:path:->mounts' );; + subvolume:set-default) args+=( '1:id:_guard "[0-9]#" id' '2:path:->mounts' );; + filesystem:resize) args+=( '1:size:_guart "(|+|-)[0-9]#[GKM]"' '2:path:->mounts' );; + filesystem:defragment) + args+=( + '-v[verbose]' + '-c[compress files while defragmenting]' + '-f[flush after defragmenting]' + '-s[start position]:byte position' + '-l[defragment limited number of bytes]:length (bytes)' + '-t[defragment only files over a certain size]:minimum size (bytes)' + '*:file:_files' + ) + ;; + filesystem:label) args+=( '1:device:_files -g "*(d)"' '2:label' );; + filesystem:show) args+=( '(1 -)--all-devices[scan all devices in /dev]' '1: :_guard "^-*" uuid or label' );; + device:(add|delete)) args+=( '1:device:_files -g "*(d)"' '2:path:->mounts' );; + device:scan) args+=( '(1 -)--all-devices[scan all devices in /dev]' '1:device:_files -g "*(d)"' );; + scrub:(start|resume)) + args+=( + "-B[don't background and print statistics at end]" + '-d[print separate statistics for each device]' + '-q[omit error message and statistics]' + '-r[read only mode]' + '-u[scrub unused space too]' + '1:path or device:_files' + ) + ;; + scrub:cancel) args+=( '1:path or device' );; + scrub:status) args+=( '-d[separate statistics for each device]' '1:path or device:_files' );; + balance:start) + args+=( + '(-m -s)-d+[act on data chunks]:filter:->filters' + '(-d -s)-m+[act on metadata chunks]:filter:->filters' + '(-d -m)-s+[act on system chunks (only under -f)]:filters:->filters' + '-v[verbose mode]' + '-f[force reducing of metadata integrity]' + '1:path:_files -/' + ) + ;; + balance:status) args+=( '-v[verbose mode]' '2:path:_files -/' );; + balance:(pause|cancel|resume)) args+=( '2:path:_files -/' );; + inspect*:inode*) args+=( '-v[verbose mode]' '1:inode:_files' '2:path:_files -/' );; + inspect*:logical*) + args+=( + '-v[verbose mode]' + '-P[skip the path resolving and print the inodes instead]' + '1:logical address:_files' + '2:filesystem path:_files -/' + ) + ;; + subvolume:get-default) ;& + *:sync) ;& + *:df) args+=( '1:path:->mounts' );; + *) args+=( '*: :_default' );; # fallback for unknown subcommands + esac + shift words + (( CURRENT-- )) + _arguments -C "$args[@]" && ret=0 + ;; + mounts) + _wanted mount-points expl 'mount point' compadd \ + ${${${(M)${(f)"$(</etc/mtab)"}:#*btrfs*}#* }%% *} && ret=0 + ;; + filters) + state=() + _values -s , filter \ + 'profiles[balance only block groups in given replication profiles]:profile:->profiles' \ + 'usage[balance block groups with usage below percentage]:percentage' \ + 'devid[limit by device ID]:device ID' \ + 'drange[balance block groups overlapping byte range]:range' \ + 'vrange[balance block groups overlapping byte range in virtual address space]:range' \ + 'convert[convert block groups to given profile]:profile:->profiles' \ + 'soft[leave chunks that already have target profile]' && ret=0 + state=( $state ) + ;; + profiles) + compset -P '*\|' + _values -s ',' profile raid0 raid1 raid10 dup single && ret=0 + ;; + esac +done + +return ret diff --git a/Completion/Linux/Command/_ipset b/Completion/Linux/Command/_ipset index 7896eace7..0d6afc08e 100644 --- a/Completion/Linux/Command/_ipset +++ b/Completion/Linux/Command/_ipset @@ -5,159 +5,145 @@ local -a args from_to hash cmds listopts _set_types () { _values -S \ "Set type" \ - 'ipmap[up to 65536 IP addresses]' \ - 'macipmap[up to 65536 IP addresses with MAC]' \ - 'portmap[up to 65536 ports]' \ - 'iphash[hash of IP addresses]' \ - 'nethash[hash of network addresses]' \ - 'ipporthash[hash of IP address and port pairs]' \ - 'ipportiphash[hash of IP address,port and IP address triples]' \ - 'ipportnethash[hash of IP address,port and network address triples]' \ - 'iptree[tree of IP addresses, optionally with timeout]' \ - 'iptreemap[tree of IP addresses or networks]' \ - 'setlist[list of sets]' + 'bitmap\:ip[uses a memory range to store IPv4 host (default) or IPv4 subnet addresses up to 65536 elements]'\ + 'bitmap\:ip,mac[uses a memory range to store an IPv4 host/subnet and mac address pair up to 65536 elements]'\ + 'bitmap\:port[uses a memory range to store port numbers independent of L4 protocol at up to 65536 elements]'\ + 'hash\:ip[stores IPv4/IPv6 host/subnet addresses. 0.0.0.0 and :: cannot be stored]'\ + 'hash\:net[stores varying sizes of IPv4/IPv6 addresses. 0.0.0.0 and :: cannot be stored]'\ + 'hash\:ip,port[stores IPv4/IPv6 addresses and port numbers, including L4 proto - port 0 cannot be stored]'\ + 'hash\:net,port[stores varying sizes of IPv4/IPv6 addresses and port numbers, including L4 proto]'\ + 'hash\:ip,port,ip[stores IPv4/IPv6 addresses, a port with L4 proto and another IPv4/IPv6 address]'\ + 'hash\:ip,port,net[stores an IPv4/IPv6 address, port with L4 proto and an arbitrary size IPv4/IPv6 subnet]'\ + 'hash\:net,iface[stores an IPv4/IPv6 address and an interface name]'\ + 'list\:set[a simple list which stores names of other sets]' } -if [[ $words[2] = (-q|--quiet) ]]; then - offset=1 -fi +#if [[ $words[2] = (-q|--quiet) ]]; then +# offset=1 +#fi _ipsets () { local -a vals - vals=( ${${(M)${(f)"$(_call_program ipsets ipset -nL)"}%Name: *}#Name: } ) + vals=( ${${(M)${(f)"$(_call_program ipsets ipset -L)"}%Name: *}#Name: } ) _describe -t ipsets "IP sets" vals } _sets () { _ipsets local -a vals - case $words[offset+2]; in - -X|--destroy) - vals=('\:all\::remove all not referenced sets') - ;; - -F|--flush) - vals=('\:all\::flush all sets') - ;; - -L|--list|-nL|-sL|-nsL|-snL|-n|-s|-ns|-sn) - vals=('\:all\::list all sets') - ;; - -S|--save) - vals=('\:all\::save all sets') - esac - _describe -t special_values "special values" vals } from_to=('(--network)--from[from IP or network (with --netmask)]:IP' '(--network)--to[to IP or network (with --netmask)]:IP' '(--from --to)--network[network]:IP/mask' ) -hash=( '--hashsize[the initial hash size (default 1024)]:hash size' - '--probes[max number of tries to resolve clashing (default 8)]:probes' - '--resize[ratio of increasing hash size after unsuccessful <probes> number of double-hashing]:percent' + +_addressfamily () { + vals=( inet + inet6 + ) + _describe -t addressfamily "Address Family" vals +} + +hash=( '--hashsize[the initial hash size aligned to a power of 2(default 1024)]:hashsize' + '--maxelem[the maximum number of elements in the set (default 65536)]:maxelements' + '--family[the protocol family of addresses to be stored in the set (default inet)]:addressfamily:_addressfamily' + '--timeout[adds timeout support to the set with your specified value as default, (0 = forever)]:entrytimeout' + '--probes[max number of tries to resolve clashing, altering this is discouraged (default 8)]:probes' + '--resize[ratio of increasing hash size after unsuccessful <probes> of double-hashing, altering discouraged]:percent' ) case $words[offset+2]; in -N|--create) case $words[offset+4]; in - ipmap) - args=( $from_to + bitmap\:ip) + args=( $from_to '--netmask[store network addresses instead of IP addresses]:CIDR' ) ;; - macipmap) - args=( $from_to - '--matchunset[always match IP addresses which could be stored in the set but are not]' + bitmap\:ip,mac) + args=( $from_to + '--netmask[store network addresses instead of IP addresses]:CIDR' ) ;; - portmap) - args=( '--from[from port]:port:_ports' + bitmap\:port) + args=( '--from[from port]:port:_ports' '--to[to port]:port:_ports' ) ;; - iphash) - args=( $hash + hash\:ip) + args=( $hash + '--netmask[store network addresses instead of IP addresses]:CIDR' + ) + ;; + hash\:net) + args=( $hash ) + ;; + hash\:ip,port) + args=( $hash '--netmask[store network addresses instead of IP addresses]:CIDR' ) ;; - nethash) - args=( $hash ) + hash\:net,port) + args=( $hash ) ;; - ipporthash|ipportiphash|ipportnethash) - args=( $from_to $hash ) + hash\:ip,port,ip) + args=( $hash + '--netmask[store network addresses instead of IP addresses]:CIDR' + ) ;; - iptree) - args=( '--timeout[timeout value for the entries in seconds (default 0)]:timeout' ) + hash\:ip,port,net) + args=( $hash + '--netmask[store network addresses instead of IP addresses]:CIDR' + ) ;; - iptreemap) - args=( '--gc[garbage collection inverval (default 300 seconds)]:timeout' ) + hash\:net,iface) + args=( $hash ) ;; - setlist) - args=( '--size[size of the new setlist (default 8)]:size' ) + list\:set) + args=( '--size[size of the new setlist (default 8)]:size' ) ;; esac ;; - -T|--test) - args=( '(-b --binding)'{-b,--binding}'[test whether '$words[offset+4]' points to the specified binding]:::_ipsets' ) - ;; - -B|--bind) - args=( '(-b --binding)'{-b,--binding}'[value of the binding]:::_ipsets' ) - ;; esac _ips () { if [[ $CURRENT -eq ((offset+4)) ]]; then local ips=1 default local -a vals vals1 vals2 bindings - vals=( ${${${(f)"$(_call_program ipsets ipset -nL $words[offset+3])"}[4,-1]}//\:/\\:} ) + vals=( ${${${(f)"$(_call_program ipsets ipset -L $words[offset+3])"}[4,-1]}//\:/\\:} ) for i in $vals; do if [[ $i = Default\ binding\\:* ]]; then default=${i#Default binding\\: }; continue; fi - if [[ $i = (Header\\:*|Members\\:) ]]; then continue; fi + if [[ $i = (Header\\:*|Members\\:*|Size in memory\\:*|References\\:*) ]]; then continue; fi if [[ $i = 'Bindings\:' ]]; then ips=0; continue; fi if (( $ips )); then vals1+=$i; else bindings+=${i/ ->/:}; fi done - case $words[offset+2]; in - -T|--test) - vals2=('\:default\::test default binding of the set for --binding') - ;; - -B|--binding) - vals2=('\:default\::set default binding of the set') - ;; - -U|--unbind) - vals1=() - vals2=('\:all\::destroy the bindings of all elements of a set') - if [[ -n "$default" ]]; then - vals2+=("\:default\::remove default binding of the set to '$default'") - fi - _describe -t ipb "IPs from $words[offset+3] set with bindings" bindings - ;; - esac _describe -t ips "IPs from $words[offset+3] set" vals1 _describe -t special_values "special values" vals2 fi } -cmds=(-N -X -F -E -W -S -R -A -D -T -B -U -H --create --destroy --flush --rename --swap --save --restore --add --del --test --bind --unbind --help) -listopts=(-n --numeric -s --sorted -L --list -nL -sL -nsL -snL -ns -sn) +cmds=(-N -X -F -E -W -S -R -A -D -T -B -U -H --create --destroy --flush --rename --swap --save --restore --add --del --test --help) +listopts=(-n --name -s --sorted -t --terse -r --resolve -L --list) +addopts=(--timeout --timeout -! --exist -A --add) _arguments \ - "($cmds $listopts)"{-N,--create}'[create a set]:set name::::_set_types' \ + "($cmds $listopts $addopts)"{-N,--create}'[create a set]:set name::::_set_types' \ "($cmds $listopts)"{-X,--destroy}'[destroy specified set (or all if none specified)]:set name:_sets' \ "($cmds $listopts)"{-F,--flush}'[flush specified set (or all if none specified)]:set name:_sets' \ "($cmds $listopts)"{-E,--rename}'[rename set]:current set name:_ipsets:new set name:' \ "($cmds $listopts)"{-W,--swap}'[swap two sets]:::_ipsets:::_ipsets' \ - "($cmds -L --list -q --quiet -nL -sL -nsL -snL)"{-L,--list}'[list the entries and bindings for the specified set (or all if none specified)]:::_sets' \ - "($cmds -L --list -q --quiet -n --numeric -snL -nsL -sL -ns -sn)"-nL'[list the entries and bindings for the specified set (or all if none specified) \- numeric output]:::_sets' \ - "($cmds -L --list -q --quiet -s --sorted -snL -nsL -nL -ns -sn)"-sL'[list the entries and bindings for the specified set (or all if none specified) \- sorted output]:::_sets' \ - "($cmds $listopts -q --quiet)"{-nsL,-snL}'[list the entries and bindings for the specified set (or all if none specified) \- sorted numeric output]:::_sets' \ + "($cmds -L --list -q --quiet )"{-L,--list}'[list the entries and bindings for the specified set (or all if none specified)]:::_sets' \ "($cmds $listopts)"{-S,--save}'[save the given set (or all if none specified)]:::_sets' \ "($cmds $listopts)"{-R,--restore}'[restore a saved session generated by --save from stdin]' \ "($cmds $listopts)"{-A,--add}'[add an IP to a set]:::_ipsets:IP' \ "($cmds $listopts)"{-D,--del}'[delete an IP from a set]:::_ipsets:::_ips' \ - "($cmds $listopts)"{-T,--test}'[test wether an IP is in a set or the IP points to the specified binding]:::_ipsets:::_ips' \ - "($cmds $listopts)"{-B,--bind}'[bind the IP in setname to to-setname]:::_ipsets:::_ips' \ - "($cmds $listopts)"{-U,--unbind}'[delete the binding belonging to IP in set setname]:::_ipsets:::_ips' \ + "($cmds $listopts)"{-T,--test}'[test whether an IP is in a set]:::_ipsets:::_ips' \ "($cmds $listopts)"{-H,--help}'[print help and settype specific help if settype specified]:::_set_types' \ "(-q --quiet $listopts)"{-q,--quiet}'[suppress any output to stdout and stderr]' \ - "($cmds -s --sorted -q --quiet -sL -nsL -snL -ns -sn)"{-s,--sorted}'[sorted output]' \ - "($cmds -n --numeric -q --quiet -nL -nsL -snL -ns -sn)"{-n,--numeric}"[numeric output; don't resolve host names, network names and services]" \ - "($cmds -ns -sn -q --quiet -nL -sL -nsL -snL -n --numeric -s --sorted)"{-ns,-sn}'[sorted numeric output]' \ + "(-t --terse $listopts)"{-t,--terse}'[list set names and headers without entries]' \ + "(-r --resolve $listopts)"{-r,--resolve}'[enforce DNS name lookup of addresses, slow!]' \ + "(-! --exist $addopts)"{-!,--exist}'[ignore errors when creating an identical set, adding existing entry or deleting a non-existent one]'\ + "(--timeout --timeout $addopts)"{--timeout,--timeout}'[set the timeout for this entry. set must have been created with timeout support]:timeout'\ + "($cmds -s --sorted -q --quiet)"{-s,--sorted}'[sorted output]' \ + "($cmds -n --name -q --quiet)"{-n,--name}"[name output only; suppresses showing of set information]" \ "$args[@]" diff --git a/Completion/Unix/Command/.distfiles b/Completion/Unix/Command/.distfiles index 355cb9cf9..36d922f9a 100644 --- a/Completion/Unix/Command/.distfiles +++ b/Completion/Unix/Command/.distfiles @@ -27,6 +27,7 @@ _cdrecord _chkconfig _chmod _chown +_clay _comm _compress _configure @@ -39,6 +40,7 @@ _cut _cvs _darcs _date +_dbus _dd _devtodo _dhclient @@ -111,6 +113,7 @@ _kvno _last _ldd _less +_lha _links _ln _loadkeys @@ -143,6 +146,7 @@ _mysqldiff _ncftp _netcat _nice +_nkf _nm _nmap _notmuch @@ -256,6 +260,7 @@ _wiggle _xargs _xmlsoft _xmms2 +_xz _yafc _yodl _yp diff --git a/Completion/Unix/Command/_arping b/Completion/Unix/Command/_arping index fea110934..5edda2123 100644 --- a/Completion/Unix/Command/_arping +++ b/Completion/Unix/Command/_arping @@ -35,7 +35,7 @@ _arguments -s \ '-s[set source MAC address]:source MAC address' \ '-t[set target MAC address]:target MAC address' \ '-c[send this many requests]:count' \ - '-i[interface]:interface:_net_interfaces' \ + '-I[interface]:interface:_net_interfaces' \ '-A[only count addresses matching requested address]' \ '(-B):address:_hosts' diff --git a/Completion/Unix/Command/_bzip2 b/Completion/Unix/Command/_bzip2 index 75f051a57..c175e5c90 100644 --- a/Completion/Unix/Command/_bzip2 +++ b/Completion/Unix/Command/_bzip2 @@ -7,38 +7,29 @@ case "$service" in bzip2recover) [[ $CURRENT = 2 ]] && state=files;; bzip2) decompress=no;& bunzip2) _arguments -C -s -S \ - '(--help)-h[display help message]' \ - '(-h)--help[display help message]' \ - '(--decompress --compress -z --test -t)-d[decompress]' \ - '(-d --compress -z --test -t)--decompress[decompress]' \ - '(--compress --decompress -d --test -t)-z[compress]' \ - '(-z --decompress -d --test -t)--compress[compress]' \ - "(--keep)-k[keep (don't delete) input files]" \ - "(-k)--keep[keep (don't delete) input files]" \ - '(--force)-f[force overwrite]' \ - '(-f)--force[force overwrite]' \ - '(--test --decompress -d --compress -z )-t[test compressed file integrity]' \ - '(-t --decompress -d --compress -z )--test[test compressed file integrity]' \ - '(--stdout)-c[write on standard output]' \ - '(-c)--stdout[write on standard output]' \ - '(--quiet)-q[suppress all warnings]' \ - '(-q)--quiet[suppress all warnings]' \ - '*-v[verbose mode]' \ - '*--verbose[verbose mode]' \ - '(--license)-L[display software license]' \ - '(-L)--license[display software license]' \ - '(--version)-V[display version number]' \ - '(-V)--version[display version number]' \ - '(--small)-s[use less memory (at most 2500k)]' \ - '( -2 -3 -4 -5 -6 -7 -8 -9)-1' \ - '(-1 -3 -4 -5 -6 -7 -8 -9)-2' \ - '(-1 -2 -4 -5 -6 -7 -8 -9)-3' \ - '(-1 -2 -3 -5 -6 -7 -8 -9)-4' \ - '(-1 -2 -3 -4 -6 -7 -8 -9)-5' \ - '(-1 -2 -3 -4 -5 -7 -8 -9)-6' \ - '(-1 -2 -3 -4 -5 -6 -8 -9)-7' \ - '(-1 -2 -3 -4 -5 -6 -7 -9)-8' \ - '(-1 -2 -3 -4 -5 -6 -7 -8 )-9' \ + '(- *)'{-h,--help}'[display help message]' \ + '(-d --decompress --compress -z --test -t)'{-d,--decompress}'[decompress]' \ + '(-z --compress --decompress -d --test -t)'{-z,--compress}'[compress]' \ + '(-k --keep)'{-k,--keep}"[keep (don't delete) input files]" \ + '(-f --force)'{-f,--force}'[force overwrite]' \ + '(-t --test --decompress -d --compress -z)'{-t,--test}'[test compressed file integrity]' \ + '(-c --stdout)'{-c,--stdout}'[write on standard output]' \ + '(-q --quiet)'{-q,--quiet}'[suppress all warnings]' \ + \*{-v,--verbose}'[verbose mode]' \ + '(- *)'{-L,--license}'[display software license]' \ + '(- *)'{-V,--version}'[display version number]' \ + '(--small -s)'{-s,--small}'[reduce memory usage (at most 2500k)]' \ + '(-1 -2 -3 -4 -5 -6 -7 -8 -9 --fast )--best' \ + '(-1 -2 -3 -4 -5 -6 -7 -8 -9 --best)--fast' \ + '( -2 -3 -4 -5 -6 -7 -8 -9 --fast --best)-1' \ + '(-1 -3 -4 -5 -6 -7 -8 -9 --fast --best)-2' \ + '(-1 -2 -4 -5 -6 -7 -8 -9 --fast --best)-3' \ + '(-1 -2 -3 -5 -6 -7 -8 -9 --fast --best)-4' \ + '(-1 -2 -3 -4 -6 -7 -8 -9 --fast --best)-5' \ + '(-1 -2 -3 -4 -5 -7 -8 -9 --fast --best)-6' \ + '(-1 -2 -3 -4 -5 -6 -8 -9 --fast --best)-7' \ + '(-1 -2 -3 -4 -5 -6 -7 -9 --fast --best)-8' \ + '(-1 -2 -3 -4 -5 -6 -7 -8 --fast --best)-9' \ '*:files:->files' && ret=0 ;; esac diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr index 83f6fd19b..23feb6f83 100644 --- a/Completion/Unix/Command/_bzr +++ b/Completion/Unix/Command/_bzr @@ -396,6 +396,10 @@ case $cmd in args+=( '--dry-run[do not actually sign anything]' ) ;; +(send) + args+=( '*:DIR:_files -/' ) + ;; + (*) _message "unknown bzr command completion: $cmd" return 1 diff --git a/Completion/Unix/Command/_clay b/Completion/Unix/Command/_clay new file mode 100644 index 000000000..71f05bf64 --- /dev/null +++ b/Completion/Unix/Command/_clay @@ -0,0 +1,42 @@ +#compdef clay + +# Completion for the Clay Programming Language +# http://claylabs.com/clay/ + +_arguments -C \ + "-o:specify output file:_files" \ + "-target:set target platform for code generation" \ + "-shared[create a dynamically linkable library]" \ + "-emit-llvm[emit llvm code]" \ + "-S[emit assembler code]" \ + "-c[emit object code]" \ + "-D-:set flag value" \ + "-O-:set optimization level:(0 1 2 3)" \ + "-g[keep debug symbol information]" \ + "-exceptions[enable exception handling]" \ + "-no-exceptions[disable exception handling]" \ + "-inline[inline procedures marked 'forceinline']" \ + "-no-inline[ignore 'inline' and 'forceinline' keyword]" \ + "-import-externals[include externals from imported modules]" \ + "-no-import-externals[don't include externals from imported modules]" \ + "-pic[generate position independent code]" \ + "-abort[abort on error (to get stacktrace in gdb)]" \ + "-run[execute the program without writing to disk]" \ + "-timing[show timing information]" \ + "-full-match-errors[show universal patterns in match failure errors]" \ + "-log-match:log overload matching behavior for calls" \ + "-arch:build for Darwin architecture <arch>" \ + "-F-:add <dir> to framework search path:_files -/" \ + "-framework:link with framework <name>" \ + "-L:add <dir> to library search path:_files -/" \ + "-Wl,-:pass flags to linker" \ + "-l-:link with library <lib>" \ + "-I+:add <path> to clay module search path:_files -/" \ + "-deps[keep track of the dependencies of the currently]" \ + "-no-deps[don't generate dependencies file]" \ + "-o-deps:write the dependencies to this file" \ + "-e:compile and run <source> (implies -run)" \ + "-M-:import <module>.*; for -e" \ + "-v[display version info]" \ + ":program file:_files -g '*.clay'" + diff --git a/Completion/Unix/Command/_dbus b/Completion/Unix/Command/_dbus new file mode 100644 index 000000000..bdd7613f0 --- /dev/null +++ b/Completion/Unix/Command/_dbus @@ -0,0 +1,87 @@ +#compdef dbus-send dbus-monitor + +local curcontext="$curcontext" state line expl find end ret=1 +typeset -A opt_args +local -a suf introspect interfaces + +case $service in + dbus-send) + _arguments -A "--*" -C \ + '(--session)--system' '(--system)--session' \ + '--address=-:bus address:->addresses' \ + '--dest=-:connection:->connections' \ + '--print-reply=-::format:(literal)' \ + '--reply-timeout=-:timeout (ms)' \ + '--type=-:type:(method_call signal)' \ + ':object path:->objectpaths' \ + ':message name:->methods' \ + ':content:->contents' && ret=0 + ;; + dbus-monitor) + _arguments -A "--*" -C \ + '(--session)--system' '(--system)--session' \ + '--address=-:bus address:->addresses' \ + '(--profile)--monitor' '(--monitor)--profile' \ + '*:watch expression:->expressions' && ret=0 + ;; +esac + +case $state in + addresses) + compset -P '*;' + if compset -P '*='; then + _files && ret=0 + else + _message -e addresses address + fi + ;; + connections) + _wanted connections expl connection compadd ${=${(M)PREFIX:#*.*}:+-M 'r:|.=* r:|=*'} ${$(_call_program connections dbus-send ${opt_args[(I)--system]} --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListActivatableNames 2>/dev/null):#(array|\[|\])} ${$(_call_program connections dbus-send ${opt_args[(I)--system]} --print-reply=literal --dest=org.freedesktop.DBus /org/freedesktop/DBus org.freedesktop.DBus.ListNames 2>/dev/null):#(array|\[|\])} && ret=0 + ;; + objectpaths) + if [[ -prefix / ]]; then + compset -P ${PREFIX%%[^/]#} + _wanted objectpaths expl 'object path' compadd -qS/ ${${${(M)${(f)"$(_call_program objectpaths dbus-send --print-reply ${(M)words:#(--dest=|--system|--address=)*} ${${IPREFIX%/}:-/} org.freedesktop.DBus.Introspectable.Introspect 2>/dev/null)"}:#*node name=[^/]##\"*}#*\"}%\"*} && ret=0 + else + _wanted objectpaths expl 'object path' compadd -S '/' -r '-=' '' && ret=0 + fi + ;; + methods) + introspect=( ${(M)${(f)"$(_call_program methods dbus-send --print-reply ${(M)words:#(--dest=|--system|--address=|/)*} org.freedesktop.DBus.Introspectable.Introspect 2>/dev/null)"}:#*name=*} ) + interfaces=( ${${${(M)introspect:#*interface name=*}#*\"}%\"*} ) + _wanted interfaces expl interface compadd -qS. -M 'r:|.=* r:|=*' -a interfaces && ret=0 + if [[ $compstate[nmatches] != $#interfaces ]] && compset -P '*.'; then + find="*interface name=?${IPREFIX%.}??" + end=${interfaces[(i)${IPREFIX%.}]} + _wanted methods expl method compadd ${${${(M)${${introspect[${introspect[(i)$find]}+1,(in.end+1.)*interface name=*]}:#*interface name=*}:#*${${opt_args[--type]%_*}:-method} name=*}#*\"}%\"*} && ret=0 + fi + ;; + contents) + compset -S ':*' || suf=( -S : ) + while compset -P '(array|dict|variant):'; do + : + done + if compset -P '*:'; then + _message -e value 'value' + else + _alternative -O suf \ + 'containers:container:(array dict variant)' \ + 'types:type:(string double byte boolean objpath '${(j. .):-{,u}int{16,32,64}}\) && ret=0 + fi + ;; + expressions) + _values -w -s , 'expression' \ + 'type:message type:(signal method_call method_return error)' \ + 'sender:bus or name' \ + 'interface:interface' \ + 'member:member' \ + 'path:path' \ + 'path_namespace:path' \ + 'destination:unique name' \ + arg{0..9}:value \ + 'arg0namespace:namespace' \ + 'eavesdrop:eavesdropping:(true false)' && ret=0 + ;; +esac + +return ret diff --git a/Completion/Unix/Command/_find b/Completion/Unix/Command/_find index 3c21dcc94..33767c080 100644 --- a/Completion/Unix/Command/_find +++ b/Completion/Unix/Command/_find @@ -1,18 +1,23 @@ #compdef find _arguments \ + '(- *)-help' '(-)--help' \ + '(- *)-version' '(-)--version' \ + '(-L -P)-H[only follow symlinks when resolving command-line arguments]' \ + '(-H -P)-L[follow symlinks]' \ + '(-H -L)-P[never follow symlinks]' \ + '-D[print diagnostics]:deb option:(help tree search stat rates opt exec)' \ + '-O+[enable query optimisation]:level:(1 2 3)' \ '*-daystart' \ - '*-depth' \ + '*-d' '*-depth' \ '*-follow' \ - '*-help' \ - '*-ignore_readdir_race' \ - '*-maxdepth:maximum search depth:' \ - '*-mindepth:minimum search depth:' \ + '(-noignore_readdir_race)-ignore_readdir_race' \ + '*-maxdepth:maximum search depth' \ + '*-mindepth:minimum search depth' \ '*-mount' \ - '*-noignore_readdir_race' \ + '(-ignore_readdir_race)-noignore_readdir_race' \ '*-noleaf' \ - '*-regextype:regexp syntax:(emacs posix-awk posix-basic posix-egrep posix-extended)' \ - '*-version' \ + '-regextype:regexp syntax:(emacs posix-awk posix-basic posix-egrep posix-extended)' \ '*-warn' \ '*-nowarn' \ '*-xdev' \ @@ -27,6 +32,7 @@ _arguments \ '*-newer:file to compare (modification time):_files' \ '*-used:access after inode change (days):' \ '*-empty' \ + '*-executable' \ '*-false' \ '*-fstype:file system type:_file_systems' \ '*-gid:numeric group ID:' \ @@ -48,6 +54,8 @@ _arguments \ '*-nouser' \ '*-nogroup' \ '*-perm:file permission bits:' \ + '*-readable' \ + '*-writable' \ '*-size:file size:' \ '*-samefile:same inode as:_files' \ '*-true' \ @@ -68,4 +76,7 @@ _arguments \ '*-prune' \ '*-quit' \ '*-ls' \ + '*-and' '*-a' \ + '*-or' '*-o' \ + '*-not' \ '*:directory:_files -/' diff --git a/Completion/Unix/Command/_gcc b/Completion/Unix/Command/_gcc index 402797aa2..b14c13334 100644 --- a/Completion/Unix/Command/_gcc +++ b/Completion/Unix/Command/_gcc @@ -1,4 +1,4 @@ -#compdef gcc g++ -value-,LDFLAGS,-default- -value-,CFLAGS,-default- -value-,CPPFLAGS,-default- +#compdef gcc g++ cc c++ llvm-gcc llvm-g++ clang clang++ -value-,LDFLAGS,-default- -value-,CFLAGS,-default- -value-,CPPFLAGS,-default- local curcontext="$curcontext" state line ret=1 expl args args2 typeset -A opt_args @@ -210,10 +210,23 @@ h8/300) ;; esac +if [[ "$service" = clang* ]]; then + args=( + $args + -flto -emit-llvm + "-Qunused-arguments[don't emit warning for unused driver arguments]" + --analyze + -fshow-column -fshow-source-location -fcaret-diagnostics -fdiagnostics-fixit-info + -fdiagnostics-parseable-fixits -fdiagnostics-print-source-range-info + -fprint-source-range-info -fdiagnostics-show-option -fmessage-length + ) +fi + _arguments -C -M 'L:|-{fW}no-=-{fW} r:|[_-]=* r:|=*' \ "$args[@]" \ -c -S -E -v -a -w -C -H -P -s '(-pg)-p' '(-p)-pg' \ + '-###[print commands to run this compilation]' \ '-o:output file:_files -g "^*.(c|h|cc|C|cxx)(-.)"' \ '-x:input file language:(c objective-c c++ c-header cpp-output c++-cpp-output assembler assembler-with-cpp none)' \ '+e-:virtual function definitions in classes:((0\:only\ interface 1\:generate\ code))' \ @@ -226,6 +239,7 @@ _arguments -C -M 'L:|-{fW}no-=-{fW} r:|[_-]=* r:|=*' \ '*-U-:undefine macro:' \ '*-Wp,-:preprocessor option:' \ '*-Wl,-:linker option:' \ + '*-Xpreprocessor:preprocessor option:' \ '*-Xlinker:linker option:' \ '*-u:pretend symbol to be undefined:' \ '*-Wa,-:assembler option:' \ @@ -234,7 +248,8 @@ _arguments -C -M 'L:|-{fW}no-=-{fW} r:|[_-]=* r:|=*' \ '*-I-:header file search path:_files -/' \ '-B-:executable prefix:_files -/' \ '-b:target machine:' \ - '-V:gcc version:' \ + '-V:specify compiler version:' \ + '--version' \ '-print-file-name=:library:->library' \ '-print-prog-name=:program:' \ '*-include:include file:_files -g \*.h\(-.\)' \ diff --git a/Completion/Unix/Command/_getent b/Completion/Unix/Command/_getent index 9644fa35b..3ea148b71 100755 --- a/Completion/Unix/Command/_getent +++ b/Completion/Unix/Command/_getent @@ -5,12 +5,13 @@ local services databases keys local -a args typeset -A opt_args -if _pick_variant -r is_gnu gnu=GNU unix --version; then +if _pick_variant -r is_gnu gnu='(GNU|EGLIBC)' unix --version; then args+=( '(- 1 *)'{-\?,--help}'[display help information]' '(- 1 *)--usage[display a short usage message]' '(- 1 *)'{-V,--version}'[display version information]' {-s,--service=}'[specify service configuration to use]:service:->services' + '(-i --no-idn)'{-i,--no-idn}'[disable IDN encoding]' ) fi diff --git a/Completion/Unix/Command/_git b/Completion/Unix/Command/_git index 88c765fb0..2b6a36956 100644 --- a/Completion/Unix/Command/_git +++ b/Completion/Unix/Command/_git @@ -5451,7 +5451,7 @@ __git_remote_repositories () { service= _ssh if compset -P '*:'; then - _remote_files --no-files -- ssh + _remote_files -/ -- ssh else _ssh_hosts -S: fi @@ -6073,7 +6073,7 @@ _git() { aliases=(${(f)${${${(f)"$(_call_program aliases git config --get-regexp '\^alias\.')"}#alias.}/ /$'\n'}/(#e)/$'\n'}) (( $#aliases % 2 == 0 )) && git_aliases=($aliases) - if (( $+git_aliases[$words[2]] && !$+commands[git-$words[2]] )); then + if (( $+git_aliases[$words[2]] && !$+commands[git-$words[2]] && !$+functions[_git-$words[2]] )); then local -a tmpwords expalias expalias=(${(z)git_aliases[$words[2]]}) tmpwords=(${words[1]} ${expalias}) diff --git a/Completion/Unix/Command/_iconv b/Completion/Unix/Command/_iconv index 75fe521ee..190ed5f77 100644 --- a/Completion/Unix/Command/_iconv +++ b/Completion/Unix/Command/_iconv @@ -4,13 +4,13 @@ local expl curcontext="$curcontext" state line ret=1 local LOCPATH="${LOCPATH:-/usr/lib/nls/loc}" local -U codeset -if _pick_variant gnu=GNU unix --version; then +if _pick_variant gnu='(GNU|EGLIBC)' unix --version; then local exargs="--list -? --help --usage --version -V" _arguments -C -S -s \ "(-f --from-code $exargs)"{-f+,--from-code=}'[specify code set of input file]:code set:->codeset' \ "(-t --to-code $exargs)"{-t+,--to-code=}'[specify code set for output]:code set:->codeset' \ - '(- 1)--list[list all character code sets]' \ + '(- 1 -l --list)'{-l,--list}'[list all character code sets]' \ "($exargs)-c[omit invalid characters from output]" \ "(-o --output $exargs)"{-o+,--output=}'[specify output file]:output file:_files' \ "(-s --silent --verbose $exargs)"{-s,--silent}'[suppress warnings]' \ diff --git a/Completion/Unix/Command/_ip b/Completion/Unix/Command/_ip index 8cfe5bdab..0fc979cd3 100644 --- a/Completion/Unix/Command/_ip +++ b/Completion/Unix/Command/_ip @@ -38,6 +38,11 @@ subcmd_ipaddrs=( /$'(<->(.<->(.<->(.<->|)|)|)|[:[:xdigit]]#:[:[:xdigit:]]#)(|/<->)\0'/ ":ipaddress:IP address (v4 or v6) currently set:( $(ip addr show | sed -n 's/^ *inet6* \([0-9a-f\.:/]*\) .*$/\1/p') )" ) +subcmd_prefix_label=( + /$'(<->(.<->(.<->(.<->|)|)|)|[:[:xdigit]]#:[:[:xdigit:]]#)(|/<->)\0'/ + ":ipaddresslabel:IP addrlabel prefix currently set:( $(ip -6 addrlabel list | sed -n 's/^prefix \([0-9a-f\.:/]*\) .*$/\1/p') )" +) + local -a subcmd_scope _regex_words scope "IP address scope" \ @@ -240,6 +245,34 @@ _regex_words \ 'f*lush:flush protocol address:$addr_show_cmds' addr_cmds=("$reply[@]") +# +# addrlabel +# + +local -a addrlabel_add_cmds +_regex_words addrlabel-add-commands "addlabel add command" \ + 'p*refix: limit to given IP address/prefix' \ + 'd*ev: specify device:$subcmd_dev' \ + 'l*abel: number' +addrlabel_add_cmds=( "(" $subcmd_ipaddr "|" ")" "$reply[@]" "#") + +local -a addrlabel_del_cmds +_regex_words addrlabel-add-commands "addlabel del command" \ + 'p*refix: limit to given IP address/prefix:$subcmd_prefix_label' \ + 'd*ev: specify device:$subcmd_dev' \ + 'l*abel: number:$subcmd_number' +addrlabel_del_cmds=( "(" $subcmd_ipaddr "|" ")" "$reply[@]" "#") + + +local -a addrlabel_cmds +_regex_words \ + addrlabel-commands "addrlabel command" \ + 'h*elp: show help for command' \ + 'a*dd: add an address labels:$addrlabel_add_cmds' \ + 'd*el: delete an address labels:$addrlabel_del_cmds' \ + 'l*ist: list address labels' \ + 'f*lush: flush adderss labels' +addrlabel_cmds=("$reply[@]") # # neigh @@ -419,7 +452,7 @@ _regex_words \ 'h*elp:show help for command' \ 'a*dd:add a new IP tunnel:$tunnel_add_cmds' \ 'c*hange:change an existing IP tunnel:$tunnel_add_cmds' \ - 'd*elete:destroy an IP tunnel:$tunnel_add_cmds' \ + 'd*el:destroy an IP tunnel:$tunnel_add_cmds' \ 's*how:list IP tunnels' tunnel_cmds=("$reply[@]") @@ -506,6 +539,7 @@ args+=("$reply[@]" "#") _regex_words \ commands "ip command" \ 'l*ink:configure network device:$link_cmds' \ + 'addrlabel:manage addrlabel:$addrlabel_cmds' \ 'a*ddr:manage protocol address:$addr_cmds' \ 'r*oute:manage routing table:$route_cmds' \ 'ru*le:manage routing policy database:$rule_cmds' \ diff --git a/Completion/Unix/Command/_irssi b/Completion/Unix/Command/_irssi index ee1e1ef43..fd64b5efc 100644 --- a/Completion/Unix/Command/_irssi +++ b/Completion/Unix/Command/_irssi @@ -30,6 +30,7 @@ _arguments -s \ '--noconnect[disable autoconnect]' \ '(-n --nick)'{-n,--nick=}'[set nick name]:nick:_irssi_nick' \ '(-h --hostname)'{-h,--hostname=}'[specify hostname]:hostname:_hosts' \ + '(-d --dummy)'{-d,--dummy}'[use the dummy terminal mode]' \ '(-)'{-v,--version}'[display version information]' \ '(-)'{-\?,--help}'[display help information]' \ '(-)--usage[display usage]' diff --git a/Completion/Unix/Command/_ldd b/Completion/Unix/Command/_ldd index d59294717..0980bc043 100644 --- a/Completion/Unix/Command/_ldd +++ b/Completion/Unix/Command/_ldd @@ -1,12 +1,12 @@ #compdef ldd -if _pick_variant gnu=GNU solaris --version; then +if _pick_variant gnu='(GNU|EGLIBC)' solaris --version; then args=( '(- *)--version[display version information]' '(- *)--help[display help information]' '(-v --verbose)'{-v,--verbose}'[include symbol versioning information]' '(-d --data-relocs)'{-d,--data-relocs}'[perform data relocations and report missing objects]' - '(-f --function-relocs)'{-f,--function-relocs}'[perform data/function relocations and report missing objects]' + '(-r --function-relocs)'{-r,--function-relocs}'[perform data/function relocations and report missing objects]' '(-u --unused)'{-u,--unused}'[display any unused objects]' ) else diff --git a/Completion/Unix/Command/_lha b/Completion/Unix/Command/_lha new file mode 100644 index 000000000..5a238d807 --- /dev/null +++ b/Completion/Unix/Command/_lha @@ -0,0 +1,77 @@ +#compdef lha + +if (( CURRENT == 2 )); then + compset -P - + + local lhacmds + lhacmds=( + '( x l v u d m c p t)a[Add \(Or replace\) to archive]' + '(a l v u d m c p t)x[EXtract from archive]' + '(a x v u d m c p t)l[List]' + '(a x l u d m c p t)v[Verbose List]' + '(a x l v d m c p t)u[Update newer files to archive]' + '(a x l v u m c p t)d[Delete from archive]' + '(a x l v u d c p t)m[Move to archive]' + '(a x l v u d m p t)c[re-Construct new archive]' + '(a x l v u d m c t)p[Print to STDOUT from archive]' + '(a x l v u d m c p )t[Test file CRC in archive]' + ) + + if [ "${words[2]#-}" != "" ]; then + lhacmds=($lhacmds + 'v[verbose]' + 'q[quiet]' + 'n[not execute]' + 'f[force\(over write at extract\)]' + 't[FILES are TEXT file]' + 'e[TEXT code convert from/to EUC]' + 'g[Generic format \(for compatibility\)]' + ) + case ${words[2]#-} in + a*|u*) + lhacmds=($lhacmds + 'd[delete FILES after]' + 'z[files not compress]' + '( 1 2)0[header level 0]' + '(0 2)1[header level 1]' + '(0 1 )2[header level 2]' + ) + ;; + c*) + lhacmds=($lhacmds 'd[delete FILES after]') + ;; + x*) + lhacmds=($lhacmds 'i[ignore directory path]') + ;; + esac + fi + + _values -s '' 'lha command' \ + $lhacmds \ + && return 0 +elif (( CURRENT == 3 )); then + _arguments -C \ + '*:LHA file:_files -g \*.lzh' && return 0 +else + case ${words[2]#-} in + l*|x*|d*) + if [ -f "$words[3]" ]; then + _lzh_cache_list=`$words[1] lq $words[3] | awk '{print $8}'` + _lzh_cache_list=("${(@f)${_lzh_cache_list}}") + + _wanted files expl 'file from archive' _multi_parts / _lzh_cache_list + + return 0 + else + _message -r "Archive file is not found : ${words[3]}" + return 1 + fi + + ;; + *) + _arguments -C \ + '*:file:_files' && return 0 + esac +fi + +return 0 diff --git a/Completion/Unix/Command/_lp b/Completion/Unix/Command/_lp index e0654e711..8da84a180 100644 --- a/Completion/Unix/Command/_lp +++ b/Completion/Unix/Command/_lp @@ -28,7 +28,7 @@ _lp_job_options() # Generic options (from lp manual page) lopts_with_args=( media orientation-requested sides number-up scaling cpi lpi - page-{bottom,left,right,top} ) + page-{bottom,left,right,top} page-ranges ) lopts_no_args=(fitplot landscape) diff --git a/Completion/Unix/Command/_mount b/Completion/Unix/Command/_mount index b48aaa236..542154a58 100644 --- a/Completion/Unix/Command/_mount +++ b/Completion/Unix/Command/_mount @@ -17,7 +17,7 @@ if [[ "$OSTYPE" == cygwin ]]; then '(-)'{-i,--import-old-mounts}'[import old mounts]' \ '(-)'{-p,--show-cygdrive-prefix}'[show cygdrive prefix]' \ '(-)'{-c,--change-cygdrive-prefix}'[cygdrive prefix]:cygdrive prefix (POSIX path):_files -P/ -W "(/)" -/' \ - + return else local line @@ -45,7 +45,7 @@ _fs_ufs _fs_efs _fs_cd9660 _fs_iso9660 _fs_cachefs _fs_s5fs _fs_tmpfs _fs_pcfs \ _fs_hsfs _fs_advfs _fs_cdfs _fs_affs _fs_ext2 _fs_fat _fs_ext3 _fs_msdos \ _fs_msdosfs _fs_umsdos _fs_vfat _fs_hpfs _fs_ntfs _fs_reiserfs _fs_smbfs \ _fs_xfs _fs_std _fs_devfs _fs_fdesc _fs_kernfs _fs_linprocfs _fs_linsysfs \ -_fs_procfs +_fs_procfs _fs_btrfs _fs_ext4 typeset -A opt_args @@ -54,11 +54,11 @@ if (( ! $+_fs_any )); then local _fs_any # These are tables describing the possible values and their - # arguments for the `-o' option. There is one array per + # arguments for the `-o' option. There is one array per # file system type (only for those that accept more values # than those in the `_fs_any' array). The elements of the # array are used as arguments to `_values'. The first tables - # are used by several systems while system specific tables are + # are used by several systems while system specific tables are # (re)defined in a "$OSTYPE" case. _fs_any=( @@ -121,7 +121,7 @@ if (( ! $+_fs_any )); then 'nosuid[prevent running setuid/setgid from mount]' "$_fs_any[@]" ) - + _fs_nfs=( '(fg)bg[mount in background]' '(bg)fg[mount in foreground]' @@ -155,7 +155,7 @@ if (( ! $+_fs_any )); then 'grpid[inherit group id of parent directory]' "$_fs_any[@]" ) - + _fs_efs=( 'raw[raw device pathname to filesystem]:raw device pathname:->devordir' '(nofsck)fsck[fsck should check this filesystem by default]' @@ -164,7 +164,7 @@ if (( ! $+_fs_any )); then '(quota)noquota[turn off quotas]' 'lbsize[no of bytes transferred in each operation]:bytes' ) - + _fs_iso9660=( 'setx[set execute permissions on every file]' 'notranslate[don'\''t translate filenames]' @@ -176,7 +176,7 @@ if (( ! $+_fs_any )); then '(rrip)norrip[disable rock ridge extensions]' 'nmconv[specify filename translation]:filename translation:((c\:no\ translation l\:to\ lowercase m\:suppress\ version\ no))' ) - + _fs_nfs=( '(fg)bg[mount in background]' '(bg)fg[mount in foreground]' @@ -194,7 +194,7 @@ if (( ! $+_fs_any )); then 'symttl[time-to-live of cached symbolic links]:seconds' "$_nfs_access[@]" ) - + _fs_cachefs=( 'backfstype[type of the back file system]:back file system type:(efs nfs iso9660 dos hfs cachefs)' 'backpath[specify back file system location]:back file system location:_files -/' @@ -206,9 +206,9 @@ if (( ! $+_fs_any )); then 'local-access[check permissions locally]' 'purge[purge any cached information]' "$_nfs_access[@]" - ) - - ;; + ) + + ;; solaris*) _fs_s5fs=( 'remount[remount file system]' @@ -270,7 +270,7 @@ if (( ! $+_fs_any )); then 'vers[set NFS version number]:NFS version number:(2 3)' "$_nfs_access[@]" "$_fs_s5fs[@]" - ) + ) _fs_cachefs=( 'backfstype[type of the back file system]:back file system type:(nfs hsfs)' 'backpath[specify back file system location]:back file system location:_files -/' @@ -306,10 +306,15 @@ if (( ! $+_fs_any )); then _fs_any=( '(sync)async[do all I/O asynchronously]' '(noatime)atime[update access time]' - '(norelatime)relatime[update atime relative to mtime/ctime]' + '(norelatime)relatime[update atime relative to mtime/ctime]' + '(nostrictatime)strictatime[full atime updates]' + '(strictatime)nostrictatime[default atime update behaviour]' '(rw suid dev exec async)defaults[use default options]' '(nodev)dev[interpret devices]' + '(nodiratime)diratime[update directory access time]' + "(diratime)nodiratime[don't update directory access time]" '(noexec)exec[permit execution of binaries]' + "noiversion[don't increment i_version inode field]" '(nomand)mand[allow mandatory locks]' "(atime)noatime[don't update access time]" "(relatime)norelatime[update access time without regard to mtime/ctime]" @@ -327,6 +332,10 @@ if (( ! $+_fs_any )); then 'encryption[enable encryption]:cypher' 'keybits[set number of bits in encryption key]:key size:(64 128 160 192 256)' 'offset[specify data start for loopback mount]:offset (bytes)' + '(loud)silent' '(silent)loud' + '(fscontext defcontext)context:context' + '(context)'{fscontext,defcontext}':context' + 'rootcontext:context' ) _fs_adfs=( 'uid[set owner of root]:user ID' @@ -383,6 +392,7 @@ if (( ! $+_fs_any )); then 'umask[specify umask]:umask value (octal)' 'dmask[specify umask for directories only]:umask value (octal)' 'fmask[specify umask for files only]:umask value (octal)' + 'allow_utime[control permission check of mtime/atime]:value' 'check[specify checking level]:checking level:((relaxed\:accept\ upper\ and\ lower\ case,\ truncate\ long\ name normal\:like\ '"'\`'"'relaxed'"\\'"',\ but\ reject\ special\ characters strict\:like\ '"'\`'"'normal'"\\'"',\ but\ no\ long\ parts))' 'codepage[specify codepage for converting filenames to short form]:codepage' 'conf[specify CR/NL conversion]:CR/NL conversion mode:((binary\:no\ translation text\:conversion\ on\ all\ files auto\:perform\ translation\ on\ file\ without\ binary\ extension))' @@ -392,15 +402,26 @@ if (( ! $+_fs_any )); then 'debug[debug mode]' 'fat[specify fat type]:fat type (bit):(12 16 32)' 'iocharset[character set to use for converting from 8 bit to unicode]:character set' + 'tz[set timezone conversion]:zone:(UTC)' 'quiet[quiet mode]' ) _fs_ext3=( "$_fs_ext2[@]" 'journal[update fs journal]:update or inode number:(update)' + 'journal_dev[specify new journal location]:device number' 'noload[do not load journal]' 'data[specify mode for data]:journalling mode:(journal ordered writeback)' + 'barrier[enable/disable barriers]:state:((0\:disabled 1\:enabled))' 'commit[specify commit sync interval for data and metadata]:seconds' ) + _fs_ext4=( + "$_fs_ext3[@]" + journal_checksum journal_sync_commit + inode_readahead:blocks stripe:blocks delalloc nodelalloc + {max,min}'_batch_time:time (usecs)' journal_ioprio:priority + abort {,no}auto_da_alloc {,no}discard nouid32 resize + {,no}block_validity dioread_{,no}lock i_version + ) _fs_msdos=( "$_fs_fat[@]" ) _fs_umsdos=( "$_fs_fat[@]" ) _fs_vfat=( "$_fs_fat[@]" @@ -527,6 +548,27 @@ if (( ! $+_fs_any )); then 'sunit[specify stripe unit]:size' 'swidth[specify stripe width]:size' ) + _fs_btrfs=( + 'subvol[mount a subvolume]:path' + 'subvolid[mount subvolume by id]:id' + 'device[scan device for filesystems]:device' + 'nodatasum[disable checksums of new files]' + 'nobarrier[disable use of device barriers]' + 'max_inline[set maximum space for inline data]:size (bytes)' + 'alloc_start[set where on disk allocations start]:number' + 'thread_pool[number of worker threads to allocate]:number' + '(compress-force)compress[enable compression]:algorithm:(zlib lzo no)' + '(compress)compress-force[enable compression for all files]:algorithm:(zlib lzo no)' + 'ssd[optimise behaviour for SSDs]' + 'ssd_spread[be strict about finding a large unused region for new allocations]' + 'discard[enable discard/TRIM on freed blocks]' + 'notreelog[disable the tree logging used for fsync]' + metadata_ratio:number {,no}space_cache clear_cache + user_subvol_rm_allowed autodefrag inode_cache + enospc_debug recovery check_int check_int_data + check_int_print_mask:number skip_balance + 'fatal_errors:action:(bug panic)' + ) ;; freebsd*|dragonfly*) _fs_any=( @@ -628,28 +670,31 @@ if [[ "$service" = mount ]]; then deffs=efs ;; linux*) + local excl='-V --version -h --help' args=( -s - '(- :)-h[show help]' - '(- :)-V[show version]' - '(-V -h)-v[verbose mode]' - '(-V -h)-p[specify file descriptor from which to read passphrase]:file descriptor:_file_descriptors' - '(-V -h -o :)-a[mount all filesystems in fstab]' - '(-V -h)-F[fork off one child per device]' - '(-V -h)-f[fake mount]' - "(-V -h)-i[don't call /sbin/mount.<fs> helper]" - '(-V -h)-l[output ext2, ext3 and XFS labels]' - "(-V -h)-n[don't write /etc/mtab]" - '(-V -h)-s[tolerate sloppy mount options]' - '(-V -h -w)-r[mount read-only]' - '(-V -h -r)-w[mount read/write]' - '(-V -h)-L[mount partition with specified label]:label' - '(-V -h)-U[mount partition with specified uuid]:uuid' - '(-V -h)-t[specify file system type]:file system type:->fslist' - '(-V -h)-O[with -a, restrict filesystems by options]:file system option:->fsopt' - '(-V -h -a -O)-o[specify file system options]:file system option:->fsopt' - '(: -)--bind[remount part of filesystem elsewhere]:old directory:_directories:new directory:_directories' - '(: -)--rbind[remount part of filesystem including submounts elsewhere]:old directory:_directories:new directory:_directories' - '(: -)--move[move part of filesystem elsewhere]:old directory:_directories:new directory:_directories' + '(- :)'{-h,--help}'[show help]' + '(- :)'{-V,--version}'[show version]' + "($excl -v --verbose)"{-v,--verbose}'[verbose mode]' + "($excl -p --pass-fd)"{-p+,--pass-fd=}'[specify file descriptor from which to read passphrase]:file descriptor:_file_descriptors' + "($excl -o : -a --all)"{-a,--all}'[mount all filesystems in fstab]' + "($excl -F --fork)"{-F,--fork}'[fork off one child per device]' + "($excl -f --fake)"{-f,--fake}'[fake mount]' + "($excl -i --internal-only)"{-i,--internal-only}"[don't call /sbin/mount.<fs> helper]" + "($excl)-l[output ext2, ext3, ext4 and XFS labels]" + "($excl -n --no-mtab)"{-n,--no-mtab}"[don't write /etc/mtab]" + "($excl)--no-canonicalize[don't convert paths to canonical form]" + "($excl)-s[tolerate sloppy mount options]" + "($excl -w -r --read-only)"{-r,--read-only}'[mount read-only]' + "($excl -r -w --rw)"{-w,--rw}'[mount read/write]' + "($excl)-L+[mount partition with specified label]:label:->labels" + "($excl)-U+[mount partition with specified uuid]:uuid" + "($excl -t --types)"{-t+,--types=}'[specify file system type]:file system type:->fslist' + "($excl -O --test-opts)"{-O+,--test-opts=}'[with -a, restrict filesystems by options]:file system option:->fsopt' + "($excl -a -O -o --options)"{-o+,--options=}'[specify file system options]:file system option:->fsopt' + '(: -)'{-B,--bind}'[remount part of filesystem elsewhere]:old directory:_directories:new directory:_directories' + '(: -)'{-R,--rbind}'[remount part of filesystem including submounts elsewhere]:old directory:_directories:new directory:_directories' + '(: -)'{-M,--move}'[move part of filesystem elsewhere]:old directory:_directories:new directory:_directories' + '(: -)--make-'{r,}{shared,slave,private,unbindable}':mount point:->udevordir' ':dev or dir:->devordir' ':mount point:_files -/' ) @@ -693,7 +738,7 @@ if [[ "$service" = mount ]]; then freebsd*|dragonfly*|darwin*) args=( -s '(:)-a[mount all filesystems in fstab]' - '-d[cause everything to be done except for the actual system call]' + '-d[cause everything to be done except for the actual system call]' '-f[forced mount]' '-o[specify file system options]:file system option:->fsopt' '-p[print mounted file systems]' @@ -747,21 +792,22 @@ else '-t[unmount all filesystems of specified type]:file system type:_file_systems' '-v[verbose]' ) - ;; + ;; linux*) + local excl='-V --version -h --help' args=( - '(- *)-h[show help]' - '(- *)-V[show version]' - '(-V -h)-v[verbose mode]' - "(-V -h)-n[don't write /etc/mtab]" - '(-V -h)-r[remount read-only on failure]' - '(-V -h)-d[for loopback mount, free loop device]' - "(-V -h)-i[don't call /sbin/umount.<fs> helper]" - '(-V -h *)-a[unmount all file systems from /etc/mtab]' - '(-V -h)-t[specify file system type]:file system type:_file_systems' - '(-V -h *)-O[with -a, restrict filesystems by options]:file system option:->fsopt' - '(-V -h)-f[force unmount]' - '(-V -h)-l[lazy unmount]' + '(- *)'{-h,--help}'[show help]' + '(- *)'{-V,--version}'[show version]' + "($excl -v --verbose)"{-v,--verbose}'[verbose mode]' + "($excl -n --no-mtab)"{-n,--no-mtab}"[don't write /etc/mtab]" + "($excl)-r[remount read-only on failure]" + "($excl)-d[for loopback mount, free loop device]" + "($excl)-i[don't call /sbin/umount.<fs> helper]" + "($excl *)-a[unmount all file systems from /etc/mtab]" + "($excl)-t[specify file system type]:file system type:_file_systems" + "($excl *)-O[with -a, restrict filesystems by options]:file system option:->fsopt" + "($excl)-f[force unmount]" + "($excl)-l[lazy unmount]" '*:dev or dir:->udevordir' ) ;; @@ -828,7 +874,7 @@ devordir) case "$OSTYPE" in dragonfly*) - while read mline; do + while read mline; do case $mline[(w)1] in \#* ) ;; @@ -849,7 +895,7 @@ devordir) ;; freebsd*) local _glabel - while read mline; do + while read mline; do case $mline[(w)1] in \#* ) ;; @@ -862,7 +908,7 @@ devordir) ;; esac done < /etc/fstab - # + /sbin/ggatel list | while read mline; do dev_tmp+=(/dev/$mline) done @@ -945,6 +991,9 @@ udevordir) 'device-paths: device path:_canonical_paths -A dpath_tmp -N device-paths device\ path' \ 'directories:mount point:_canonical_paths -A mp_tmp -N directories mount\ point' && ret=0 ;; +labels) + _wanted labels expl 'disk label' compadd /dev/disk/by-label/*(:t) && ret=0 + ;; esac return ret diff --git a/Completion/Unix/Command/_mutt b/Completion/Unix/Command/_mutt index c9ff98af4..3d433a0b2 100644 --- a/Completion/Unix/Command/_mutt +++ b/Completion/Unix/Command/_mutt @@ -1,11 +1,14 @@ #compdef mutt -_arguments -s \ +_arguments -s -S \ '::recipient:_email_addresses -n mutt' \ - '*-a[attach file using MIME]:file attachment:_files' \ + '(- :)-A[expand given alias]:alias:_email_addresses -n mutt' \ + '*-a[attach file using MIME]::file attachment:_files' \ '*-b[specify a BCC recipient]:BCC recipient:_email_addresses -n mutt' \ '*-c[specify a CC recipient]:CC recipient:_email_addresses -n mutt' \ - '-e+[specify a post-init configuration command]:post-init configuration:' \ + '(- :)-D[print the value of all variables]' \ + '-d+[log debugging output to ~/.muttdebug0]:level:(1 2 3 4 5)' \ + '-e+[specify a post-init configuration command]:post-init configuration' \ '-f+[specify mailbox to load]:mailbox: _mailboxes' \ '-F+[specify an init file]:init file:_files' \ '-h[display help]' \ @@ -14,6 +17,7 @@ _arguments -s \ '-m+[specify default mailbox type]:mailbox type:(mbox MMDF MH Maildir)' \ '-n[bypass system configuration]' \ '-p[resume postponed message]' \ + '(- :)-Q+[query a configuration variable]:variable:(${${(f)"$(_call_program variables mutt -D 2>/dev/null)"}%%( is|=)*})' \ '-R[open in read-only mode]' \ '-s+[specify a subject]:subject:' \ '-v[display mutt version]' \ diff --git a/Completion/Unix/Command/_nkf b/Completion/Unix/Command/_nkf new file mode 100644 index 000000000..4d541274d --- /dev/null +++ b/Completion/Unix/Command/_nkf @@ -0,0 +1,44 @@ +#compdef nkf + +typeset -A opt_args + +local outputsshort="-j -s -e -w -w8 -w16 -w16b0 -w16b -w16l0 -w16l" +local outputs="$outputsshort --fj --unix --mac --windows --jis --euc --sjis --utf8 --utf16" +local inputs=${outputsshort:u} + +_arguments -s \ + '(-u)-b[Output is buffered]' \ + '(-b)-u[Output is unbuffered]' \ + '($outputs)'{-j,--jis}'[Output is JIS 7 bit]' \ + '($outputs)'{-e,--sjis}'[Output is Shift JIS]' \ + '($outputs)'{-s,--euc}'[Output is EUC-JP]' \ + '($outputs)'{-w,--utf8}'[Output is UTF-8 (No BOM)]' \ + '($outputs)-w8[Output is UTF-8 (BOM)]' \ + '($outputs)'{-w16,-w16b0,--utf16}'[Output is UTF-16 (BigEndian; No BOM)]' \ + '($outputs)-w16b[Output is UTF-16 (BigEndian; BOM)]' \ + '($outputs)-w16l0[Output is UTF-16 (Little Endian; No BOM)]' \ + '($outputs)-w16l[Output is UTF-16 (Little Endian; BOM)]' \ + '($outputs)--fj[Output is for fj]' \ + '($outputs)--unix[Output is for unix]' \ + '($outputs)--mac[Output is for Mac]' \ + '($outputs)--windows[Output is for Windows]' \ + '($inputs)-J[Input assumption is JIS 7 bit]' \ + '($inputs)-E[Input assumption is Shift JIS]' \ + '($inputs)-S[Input assumption is EUC-JP]' \ + '($inputs)-W[Input assumption is UTF-8 (No BOM)]' \ + '($inputs)-W8[Input assumption is UTF-8 (BOM)]' \ + '($inputs)-W16[Input assumption is UTF-16 (BigEndian; No BOM)]' \ + '($inputs)-W16b[Input assumption is UTF-16 (BigEndian; BOM)]' \ + '($inputs)-W16l0[Input assumption is UTF-16 (Little Endian; No BOM)]' \ + '($inputs)-W16l[Input assumption is UTF-16 (Little Endian; BOM)]' \ + '(-M)-m-[MIME decode]:mime decode:((B\:base64 Q\:quoted S\:strict N\:non-strict 0\:no-decode))' \ + '(-m)-M-[MIME encode]:mime encode:((\:header B\:base64 Q\:quoted))' \ + '-h-[hirakana<->katakana]:hirakata:((1\:hirakana-\>katakana 2\:katakana-\>hirakana 3\:both))' \ + '-L-[line mode]:line mode:((u\:LF w\:CRLF m\:CR))' \ + '-I[Convert non ISO-2022-JP charactor to GETA]' \ + '(--cap-input --url-input)'{--cap-input,--url-input}'[Convert hex after \: or \%]' \ + '--overwrite[Overwrite original listed files by filtered result]' \ + '(-v --help)'{-v,--help}'[display help message]' \ + '*:file:_files' && return 0 + +return 1 diff --git a/Completion/Unix/Command/_perforce b/Completion/Unix/Command/_perforce index 2c1365a79..d2943472c 100644 --- a/Completion/Unix/Command/_perforce +++ b/Completion/Unix/Command/_perforce @@ -474,8 +474,17 @@ _perforce_gen_cmd_list() { # Ignore blank lines and the heading line beginning `Perforce...' # Just gets run once, then cached, so don't bother optimising # this to a grossly unreadable parameter substitution. + _perforce_cmd_list=() _perforce_call_p4 help-commands help commands | while read -A hline; do - (( ${#hline} < 2 )) && continue + if (( ${#hline} < 2 )); then + if (( ${#_perforce_cmd_list} )); then + # Ignore comments after the main list of commands, separate by blank + # line. + break + else + continue + fi + fi [[ $hline[1] = (#i)perforce ]] && continue _perforce_cmd_list+=("${hline[1]}:${hline[2,-1]}") done @@ -2010,7 +2019,7 @@ _perforce_cmd_fix() { '-s[set job status]:status:_perforce_statuses' \ '1::-c required:(-c)' \ '2::change:_perforce_changes' \ - "3::job:_perforce_jobs$job" + "*::job:_perforce_jobs$job" } diff --git a/Completion/Unix/Command/_perldoc b/Completion/Unix/Command/_perldoc index 8c816b502..3e58d5a50 100644 --- a/Completion/Unix/Command/_perldoc +++ b/Completion/Unix/Command/_perldoc @@ -15,14 +15,15 @@ fi _arguments -C -s -S -A "-*" \ '(- *)-h[print help information]' \ '(- *)-V[display version information]' \ - '-v[verbose output]' \ + '-D[describe search for the item]' \ '-t[use plain text output instead of nroff]' \ '-u[show raw Pod source]' \ '*-m[display entire module]:module:_perl_modules' \ '-l[display only filename of the module found]' \ '-F[consider arguments as filenames]' \ - '(-q)-f+[view documentation for Perl built-in function]:perl builtin function:->perl-builtin-funcs' \ - '(-f)-q+[search question headings in Perl FAQ]:regular expression' \ + '(-q -v)-f+[view documentation for Perl built-in function]:perl builtin function:->perl-builtin-funcs' \ + '(-f -v)-q+[search question headings in Perl FAQ]:regular expression' \ + '(-f -q)-v+[view documentation for predefined variable]:special variable:->perl-variables' \ '(-d)-T[send output direct to stdout and not via pager]' \ '(-T)-d+[specify output file]:output file:_files' \ '-o+[specify output format]:output format:(man nroff pod rtf text tk xml latex)' \ @@ -54,6 +55,14 @@ case $state in 'files:module or .pod file:_files -g "*.(pod|pm)(-.)"' && ret=0 fi ;; + + perl-variables) + : ${(A)_perl_special_vars:=${(u)${${${(M)${(f)"$(_call_program variables \ + perldoc -u perlvar 2>/dev/null)"}:#\=item [\$\@\%]*}#* }:#\$<I*}}} + + _wanted variables expl 'perl special variable' compadd "$@" -a - \ + _perl_special_vars && ret=0 + ;; esac return ret diff --git a/Completion/Unix/Command/_systemd b/Completion/Unix/Command/_systemd index 585ed9c41..c9fc38a5e 100644 --- a/Completion/Unix/Command/_systemd +++ b/Completion/Unix/Command/_systemd @@ -121,6 +121,7 @@ _hosts_or_user_at_host() "rescue:Enter system rescue mode" "emergency:Enter system emergency mode" "halt:Shut down and halt the system" + "suspend:Suspend the system" "poweroff:Shut down and power-off the system" "reboot:Shut down and reboot the system" "kexec:Shut down and reboot the system with kexec" diff --git a/Completion/Unix/Command/_telnet b/Completion/Unix/Command/_telnet index bab9c8d36..c7ab34f98 100644 --- a/Completion/Unix/Command/_telnet +++ b/Completion/Unix/Command/_telnet @@ -12,6 +12,8 @@ if (( ! $+_telnet_args )); then local help="$(_call_program options 'telnet -\?' < /dev/null 2>&1)" local -A optionmap optionmap=( + '*\[-4\]*' '-4[Force IPv4 address resolution]' + '*\[-6\]*' '-6[Force IPv6 address resolution]' '*\[-8\]*' '-8[allow 8-Bit data]' '*\[-E\]*' '-E[disable an escape character]' '*\[-K\]*' '-K[no automatic login]' @@ -30,11 +32,13 @@ if (( ! $+_telnet_args )); then '*\[-n tracefile\]*' '-n+[specify tracefile]:tracefile:_files' '*\[-r\]*' '-r[rlogin like user interface]' '*\[-s src_addr\]*' '-s+[set source IP address]:src_addr:' + '*\[ -b addr \]*' '-b+[set source IP address]:src_addr:' '*\[-x\]*' '-x' '*\[-t transcom\]*' '-t+:transcom:' '*\[-noasynch\]*' '-noasynch' '*\[-noasyncnet\]*' '-noasyncnet' '*\[-noasynctty\]*' '-noasynctty' + '*\[-z ssl\]*' '*-z[SSL parameters]:SSL parameter:->ssl' ) _telnet_args=($optionmap[(K)"$help"]) (( $#_telnet_args )) || _telnet_args=( '-l+[specify user]:user:->users' ) @@ -46,6 +50,20 @@ _arguments -C -s \ ':port:->ports' && ret=0 case "$state" in +ssl) + _values -w 'SSL parameter' \ + 'debug[Send SSL debugging info to stderr]' \ + '(nossl)ssl[Negotiate SSL connection]' \ + '(ssl)nossl[Switch off SSL negotiation]' \ + 'certrequired[Require server certificate]' \ + 'secure[No fallback to unencrypted mode]' \ + 'verbose[Be verbose about certificates, etc.]' \ + 'verify[Set SSL verify flags]:int:' \ + 'cert[Specify certificate file]:certificate file:_path_files' \ + 'key[Specify key file]:key file:_path_files' \ + 'cipher[Set preferred cipher list]:ciphers:' + ;; + hosts) _wanted hosts expl host \ _combination -s '[@:]' '' users-hosts-ports \ diff --git a/Completion/Unix/Command/_uniq b/Completion/Unix/Command/_uniq index be58fd775..dcd7a6f49 100644 --- a/Completion/Unix/Command/_uniq +++ b/Completion/Unix/Command/_uniq @@ -13,12 +13,17 @@ args=( '(-u --unique)'{-u,--unique}'[only print unique lines]' '(-w --check-chars)'{-w,--check-chars=}'[specify maximum number of characters to compare]:characters' '(-W --check-fields)'{-W,--check-fields=}'[specify maximum number of fields to compare]:fields' + '(-z --zero-terminated)'{-z,--zero-terminated}'[delimit lines with null character, not newline]' '(- *)--help[display help information]' '(- *)--version[display version information]' ) if ! _pick_variant gnu=Free\ Soft unix --version; then - args=( ${(M)args:#(|\*)(|\(*\))-[cdufs]*} ) + local optchars="cdufs" + if [[ "$OSTYPE" == (darwin|freebsd)* ]]; then + optchars="${optchars}i" + fi + args=( ${(M)args:#(|\*)(|\(*\))-[$optchars]*} ) fi _arguments "$args[@]" \ diff --git a/Completion/Unix/Command/_vim b/Completion/Unix/Command/_vim index 2c9b0a1a4..42e5058ec 100644 --- a/Completion/Unix/Command/_vim +++ b/Completion/Unix/Command/_vim @@ -4,6 +4,7 @@ _vim_files () { case $PREFIX in (+*) _files -P './' $* && return 0 ;; + (scp|http(|s)|(|s)ftp):*) _urls ;; (*) _files $* ;; esac case $PREFIX in @@ -21,14 +22,10 @@ arguments=( '( -e -E -s -d -y)-v[vi mode]' '(-v -E -d -y)-e[ex mode]' '(-v -e -d -y)-E[improved ex mode]' - '(-v -e -E -s -y)-d[diff mode]' '(-v -e -E -s -d )-y[easy mode]' - '-R[readonly mode]' - '-Z[restricted mode]' '-m[modifications (writing files) not allowed]' '-M[modifications in text not allowed]' '-b[binary mode]' - '-g[start with GUI]' '-l[lisp mode]' '-C[start in compatible mode]' '-N[start in incompatible mode]' @@ -52,7 +49,6 @@ arguments=( '(-A -H )-F[start in Farsi mode]' '-T[set terminal type]:::_terminals' '-u[use given vimrc file instead of default .vimrc]::rc file:_files' - '-U[use given gvimrc file instead of default .gvimrc]::rc file:_files' '--noplugin[do not load plugin scripts]' '-o-[number of windows to open (default: one for each file)]::window count: ' '-O-[number of windows to vertically split open (default is one for each file)]::window count: ' @@ -76,7 +72,6 @@ arguments=( '--remote-tab-wait[as --remote-wait but open tab page for each file]:*:file:_vim_files' '--remote-tab-wait-silent[as --remote-wait-silent but open tab page for each file]:*:file:_vim_files' '--remote-expr[evaluate given expression in a vim server and print result]:expression: ' - '--echo-wid[echo window ID on STDOUT, GUI version only]' '--literal[do not expand wildcards in arguments (this is useless with ZSH)]' '(- *)--serverlist[list available vim servers and exit]' '--servername[name of vim server to send to or name of server to become]:server name:->server' @@ -88,6 +83,20 @@ arguments=( '(* -q)-t[edit file where tag is defined]:tag:_complete_tag' '(-t -q)*:file:_vim_files' ) +[[ $service != *g* ]] && arguments+='-g[start with GUI]' +[[ $service != r* ]] && arguments+='-Z[restricted mode]' +[[ $service != *diff ]] && arguments+='(-v -e -E -s -y)-d[diff mode]' +[[ $service != *view ]] && arguments+='-R[readonly mode]' +[[ $service = *g* ]] || (( ${words[(I)-g]} )) && arguments+=( + '-font:font:_xft_fonts' + '-geometry:geometry:_x_geometry' + '(-rv -reverse)'{-rv,-reverse}'[use reverse video]' + '-display:display:_x_display' + '--role[set unique role to identify main window]:role' + '--socketid[open vim inside another GTK widget]:xid' + '--echo-wid[echo window ID on stdout]' + '-U[use given gvimrc file instead of default .gvimrc]::rc file:_files' +) _arguments -C -S $arguments && return diff --git a/Completion/Unix/Command/_webbrowser b/Completion/Unix/Command/_webbrowser index d97d5457a..4192aff54 100644 --- a/Completion/Unix/Command/_webbrowser +++ b/Completion/Unix/Command/_webbrowser @@ -1,3 +1,3 @@ -#compdef amaya arena chimera dillo express galeon grail gzilla hotjava konqueror light mmm Mosaic netrik opera phoenix retawq skipstone www xmosaic zen +#compdef amaya arena chimera dillo dwb express galeon grail gzilla hotjava konqueror light mmm Mosaic netrik opera opera-next retawq skipstone www xmosaic zen _alternative 'files:file:_files' 'urls:URL:_urls' diff --git a/Completion/Unix/Command/_xz b/Completion/Unix/Command/_xz new file mode 100644 index 000000000..028285a35 --- /dev/null +++ b/Completion/Unix/Command/_xz @@ -0,0 +1,85 @@ +#compdef xz unxz xzcat=unxz lzma=xz unlzma=unxz lzcat=unxz -redirect-,<,unxz=unxz -redirect-,>,xz=unxz -redirect-,<,xz=xz -value-,XZ_OPT,-default- -value-,XZ_DEFAULTS,-default- + +local decompress files expl state line curcontext="$curcontext" ret=1 +typeset -A opt_args +local decomp="(-z --compress --decompress -d --test -t --list -l --single-stream --no-sparse)" + +files=( '(--files --files0)*:files:->files' ) +case "$service" in + *XZ_*) + compset -q + words=( fake "$words[@]" ) + (( CURRENT++ )) + files=() + ;& + xz) decompress=no;& + unxz) _arguments -C -s -S "$files[@]" \ + '(- *)'{-h,--help}'[display help message]' \ + '(- *)'{-H,--long-help}'[display the long help (lists also the advanced options)]' \ + '(-d --decompress --compress -z --test -t --list -l)'{-d,--decompress}'[decompress]' \ + "${decomp}"{-z,--compress}'[compress]' \ + '(-k --keep)'{-k,--keep}"[keep (don't delete) input files]" \ + '(-f --force)'{-f,--force}'[force overwrite]' \ + '(-t --test --decompress -d --compress -z --list -l)'{-t,--test}'[test compressed file integrity]' \ + '(-t --test --decompress -d --compress -z --list -l)'{-l,--list}'[list information about .xz files]' \ + '(-c --stdout)'{-c,--stdout}'[write on standard output]' \ + \*{-q,--quiet}'[suppress all warnings]' \ + \*{-v,--verbose}'[verbose mode]' \ + '(- *)'{-V,--version}'[display version number]' \ + '(-e --extreme)'{-e,--extreme}'[try to improve compression ratio by using more CPU time]' \ + '(-1 -2 -3 -4 -5 -6 -7 -8 -9 --fast )--best' \ + '(-1 -2 -3 -4 -5 -6 -7 -8 -9 --best)--fast' \ + '( -2 -3 -4 -5 -6 -7 -8 -9 --fast --best)-1' \ + '(-1 -3 -4 -5 -6 -7 -8 -9 --fast --best)-2' \ + '(-1 -2 -4 -5 -6 -7 -8 -9 --fast --best)-3' \ + '(-1 -2 -3 -5 -6 -7 -8 -9 --fast --best)-4' \ + '(-1 -2 -3 -4 -6 -7 -8 -9 --fast --best)-5' \ + '(-1 -2 -3 -4 -5 -7 -8 -9 --fast --best)-6' \ + '(-1 -2 -3 -4 -5 -6 -8 -9 --fast --best)-7' \ + '(-1 -2 -3 -4 -5 -6 -7 -9 --fast --best)-8' \ + '(-1 -2 -3 -4 -5 -6 -7 -8 --fast --best)-9' \ + "${decomp}--single-stream[decompress only the first stream]" \ + "${decomp}--no-sparse[do not create sparse files when decompressing]" \ + '(* --files --files0)--files=-[read list of files to process from file]::file:_files' \ + '(* --files --files0)--files0=-[read null terminated list of files to process from file]::file:_files' \ + '(-F --format)'{-F,--format}'=[specify file format]:format;(auto xz lzma raw)' \ + '(-C --check)'{-C,--check}'=[integrity check type]:check type:(none crc32 crc64 sha256)' \ + '--memlimit-compress=[set memory usage limit for compression]:memory usage' \ + '--memlimit-decompress=[set memory usage limit for decompression]:memory usage' \ + '(-M --memlimit --memory)'{-M+,--memlimit=,--memory=}'[set memory usage limit]:memory usage' \ + '--no-adjust[give error if settings exceed memory limit]' \ + '(-Q --no-warn)'{-Q,--no-warn}'[make warnings not affect exit status]' \ + '--robot[use machine-parsable messages]' \ + --{x86,powerpc,ia64,arm,armthumb,sparc}=-'[add a branch/call/jump filter]::option:->bcj-options' \ + --lzma{1,2}=-'[add lzma filter]::option:->lzma-options' \ + '--delta=-[add delta filter]::option:->delta-options' \ + '(- *)--info-memory[display amount of RAM and memory usage limits]' && ret=0 + ;; +esac + +case $state in + files) + (( $+opt_args[-z] || $+opt_args[--compress] )) && decompress=no + [[ -n $opt_args[(i)-([dtl]|-decompress|-test|-list)] ]] && unset decompress + if [[ -z "$decompress" ]]; then + _description files expl 'compressed file' + _files "$expl[@]" -g '*.(xz|txz|lzma|tlz)(-.)' && return + else + _description files expl 'file to compress' + _files "$expl[@]" -g '^*.(xz|txz|lzma|tlz)(-.)' && return + fi + ;; + lzma-options) + _values -s , options 'preset:preset' 'dict:size' 'lc:context bits' \ + 'lp:position bits' 'mf:matchfinder:(hc3 hc4 bt2 bt3 bt4)' \ + 'mode:mode:(fast normal)' 'nice:length' 'depth:depth' && ret=0 + ;; + bcj-options) + _values options 'start:offset' && return + ;; + delta-options) + _values options 'dist:distance' && return + ;; +esac + +return ret diff --git a/Completion/Unix/Type/.distfiles b/Completion/Unix/Type/.distfiles index 4b5102191..a817695f4 100644 --- a/Completion/Unix/Type/.distfiles +++ b/Completion/Unix/Type/.distfiles @@ -38,6 +38,7 @@ _printers _ps _ps1234 _pspdf +_remote_files _services _signals _tar_archive diff --git a/Completion/Unix/Type/_bind_addresses b/Completion/Unix/Type/_bind_addresses index 606de3ffb..3460b7959 100644 --- a/Completion/Unix/Type/_bind_addresses +++ b/Completion/Unix/Type/_bind_addresses @@ -11,5 +11,5 @@ case $OSTYPE in linux*) ;& *) _wanted bind-addresses expl 'bind address' compadd "$@" - \ - ${${${(M)${(f)"$(ifconfig -a)"}:#*addr:*}##*addr:}%% *} + ${${${(M)${(f)"$(ifconfig -a)"}:#*addr:*}##*addr:( |)}%%(/| )*} esac diff --git a/Completion/Unix/Type/_files b/Completion/Unix/Type/_files index f21d7bc3b..0a2715814 100644 --- a/Completion/Unix/Type/_files +++ b/Completion/Unix/Type/_files @@ -1,7 +1,7 @@ #compdef -redirect-,-default-,-default- local opts tmp glob pat pats expl tag i def descr end ign ret=1 match tried -local type sdef ignvars ignvar +local type sdef ignvars ignvar prepath oprefix rfiles rfile zparseopts -a opts \ '/=tmp' 'f=tmp' 'g+:-=tmp' q n 1 2 P: S: r: R: W: X+: M+: F: J+: V+: @@ -118,7 +118,21 @@ for def in "$pats[@]"; do while _next_label "$tag" expl "$descr"; do _comp_ignore=( $_comp_ignore $ign ) if [[ -n "$end" ]]; then - _path_files -g "$pat" "$opts[@]" "$expl[@]" && ret=0 + if _path_files -g "$pat" "$opts[@]" "$expl[@]"; then + ret=0 + elif [[ $PREFIX$SUFFIX != */* ]] && zstyle -a ":completion:${curcontext}:$tag" recursive-files rfiles; then + for rfile in $rfiles; do + if [[ $PWD/ = ${~rfile} ]]; then + for prepath in **/*(/); do + oprefix=$PREFIX + PREFIX=$prepath/$PREFIX + _path_files -g "$pat" "$opts[@]" "$expl[@]" && ret=0 + PREFIX=$oprefix + done + break + fi + done + fi else _path_files "$expl[@]" -g "$pat" "$opts[@]" && ret=0 fi diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files index a170983ba..aa58ea09b 100644 --- a/Completion/Unix/Type/_path_files +++ b/Completion/Unix/Type/_path_files @@ -198,7 +198,7 @@ zstyle -T ":completion:${curcontext}:paths" path-completion && path_completion=1 if [[ -n "$compstate[pattern_match]" ]]; then - if { [[ -z "$SUFFIX" ]] && _have_glob_qual "$PREFIX" complete } || + if { [[ -z "$SUFFIX" ]] && _have_glob_qual "$PREFIX" complete; } || _have_glob_qual "$SUFFIX" complete; then # Copy all glob qualifiers from the line to # the patterns used when generating matches diff --git a/Completion/Unix/Type/_pspdf b/Completion/Unix/Type/_pspdf index 1df3f860c..d0ca31a7c 100644 --- a/Completion/Unix/Type/_pspdf +++ b/Completion/Unix/Type/_pspdf @@ -1,4 +1,4 @@ -#compdef gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv pstoedit pstotgif +#compdef evince gsbj gsdj gsdj500 gslj gslp gsnd ps2ascii ghostview mgv pstoedit pstotgif zathura local expl ext diff --git a/Completion/Base/Utility/_remote_files b/Completion/Unix/Type/_remote_files index c35e3d3fa..db3316422 100644 --- a/Completion/Base/Utility/_remote_files +++ b/Completion/Unix/Type/_remote_files @@ -4,11 +4,13 @@ # key-based authentication with no passwords or a running ssh-agent to work. # # Usage: -# _remote_files [--no-files] [--no-dirs] -- <cmd> [<cmd options>] +# _remote_files [-/] [-g glob] [-h host] -- <cmd> [<cmd options>] # # Options: -# - --no-files: don't complete remote files -# - --no-dirs: don't complete remote directories +# - -/: only complete directories +# - -g: specify a pattern to match against files +# p, = and * glob qualifiers supported +# - -h: specify the remote host, default is ${IPREFIX%:} # # Commands: # - ssh: Additional options for non-interactive use are automatically added @@ -27,12 +29,14 @@ # There should be coloring based on all the different ls -F classifiers. local expl rempat remfiles remdispf remdispd args cmd cmd_args suf ret=1 +local glob host if zstyle -T ":completion:${curcontext}:files" remote-access; then # Parse options to _remote_files. Stops at the first "--". - zparseopts -D -E -a args -no-files -no-dirs + zparseopts -D -E -a args / g:=glob h:=host shift + (( $#host)) && shift host || host="${IPREFIX%:}" # Command to run on the remote system. cmd="$1" @@ -51,23 +55,28 @@ if zstyle -T ":completion:${curcontext}:files" remote-access; then else rempat="${(q)PREFIX%%[^./][^/]#}\*" fi - remfiles=(${(M)${(f)"$(_call_program files $cmd $cmd_args ${IPREFIX%:} ls -d1FL -- "$rempat" 2>/dev/null)"}%%[^/]#(|/)}) + remfiles=(${(M)${(f)"$(_call_program files $cmd $cmd_args $host ls -d1FL -- "$rempat" 2>/dev/null)"}%%[^/]#(|/)}) compset -P '*/' - compset -S '/*' || suf='remote file' + compset -S '/*' || (( ${args[(I)-/]} )) || suf='remote file' remdispf=(${remfiles:#*/}) remdispd=(${(M)remfiles:#*/}) + if (( $#glob )); then + match=( '(|[*=|])' ) + glob[2]="${glob[2]/(#b)\(((|^)[p=\*])\)(#e)/}" + glob[2]+="${${match[1]/p/\|}/\*/\*}" + remdispf=( ${(M)remdispf:#${~glob[2]}} ) + fi + _tags files while _tags; do while _next_label files expl ${suf:-remote directory}; do - [[ ${args[(I)--no-files]} -eq 0 ]] && \ - [[ -n $suf ]] && compadd "$@" "$expl[@]" -d remdispf \ - ${(q)remdispf%[*=@|]} && ret=0 - [[ ${args[(I)--no-dirs]} -eq 0 ]] && \ - compadd ${suf:+-S/} "$@" "$expl[@]" -d remdispd \ - ${(q)remdispd%/} && ret=0 + [[ -n $suf ]] && + compadd "$@" "$expl[@]" -d remdispf ${(q)remdispf%[*=|]} && ret=0 + compadd ${suf:+-S/} -r "/ \t\n\-" "$@" "$expl[@]" -d remdispd \ + ${(q)remdispd%/} && ret=0 done (( ret )) || return 0 done diff --git a/Completion/Unix/Type/_urls b/Completion/Unix/Type/_urls index b53f5a040..97b1a4402 100644 --- a/Completion/Unix/Type/_urls +++ b/Completion/Unix/Type/_urls @@ -75,7 +75,7 @@ fi scheme="$match[1]" case "$scheme" in - http(|s)|ftp|gopher) + http(|s)|(|s)ftp|scp|gopher) if ! compset -P //; then _wanted -C "$scheme" prefixes expl 'end of prefix' compadd -S '' "$@" // return @@ -143,7 +143,7 @@ host="$match[1]" # Complete part after hostname -_tags -C local files || return 1 +_tags remote-files files || return 1 if [[ "$localhttp_servername" = "$host" ]]; then if compset -P \~; then @@ -170,10 +170,12 @@ if [[ "$localhttp_servername" = "$host" ]]; then fi else while _tags; do - while _next_label files expl 'local file'; do + (( $#urls )) && while _next_label files expl 'local file'; do _path_files "$expl[@]" "$@" -W $urls/$scheme/$host "${glob[@]}" && ret=0 _path_files -S/ -r '/' "$expl[@]" -W $urls/$scheme/$host -/ && ret=0 done + [[ $scheme = (scp|sftp) ]] && _requested remote-files && + _remote_files -h $host -- ssh && ret=0 (( ret )) || return 0 done fi diff --git a/Completion/X/Command/_urxvt b/Completion/X/Command/_urxvt index af227552a..b7ea06be5 100644 --- a/Completion/X/Command/_urxvt +++ b/Completion/X/Command/_urxvt @@ -1,39 +1,72 @@ -#compdef urxvt +#compdef rxvt urxvt urxvtc + +local curcontext="$curcontext" state line expl +local -a suf long_args +typeset -A opt_args +typeset -U extensions + +[[ -prefix -- ]] || zstyle -T ":completion:${curcontext}:options" prefix-needed && + : ${(A)long_args:=${${${${${${${(M)${(f)"$(urxvt --help 2>&1)"}:# *:*}/ /--}// /}/fontname/fontname:->fonts}/:color/:color:_x_color}/boolean/boolean:(true false)}/:(searchpath|file)/:path:_files}} _x_arguments \ - -+{rv,ls,j,ptab,sb,sr,st,si,sk,sw,ip,ipf,ut,vb,tcw,insecure,uc,bc,pb,bl,ssc,ssr} \ - '-tn:terminal type:' \ + -+{rv,ls,j,ss,ptab,sb,sr,st,si,sk,sw,ip,tr,ut,vb,tcw,insecure,uc,bc,pb,is,override-redirect,hold,bl,sbg,ssc,ssr} \ + '-tn[specify value of TERM]:terminal type:_terminals' \ '-C[intercept console messages]' \ '-iconic[start iconic]' \ - '-sbt[scroll bar thickness]:pixels:' \ + '-cd[start shell in specific directory]:directory:_files -/' \ + '-sbt[scroll bar thickness]:pixels' \ '-tint[tint color]:color:_x_color' \ - '-fade[make colors darker when losing focus]:percentage:' \ - '-sh[shade background when tinting]:percentage:' \ - '-bg:background color:_x_color' \ - '-fg:foreground color:_x_color' \ - '-cr:cursor color:_x_color' \ - '-pr:pointer color:_x_color' \ - '-pr2:pointer background color:_x_color' \ - '-bd:border color:_x_color' \ + '-fade[make colors darker when losing focus]:percentage' \ + '-fadecolor[specify target color for off-focus fading]:color:_x_color' \ + '-sh[shade background when tinting]:percentage' \ + '-bg[background color]:color:_x_color' \ + '-fg[foreground color]:color:_x_color' \ + '-hc[highlight color]:color:_x_color' \ + '-cr[cursor color]:color:_x_color' \ + '-pr[pointer color]:color:_x_color' \ + '-pr2[pointer background color]:color:_x_color' \ + '-bd[border color]:color:_x_color' \ '-pixmap:pixmap:_files' \ - '-fn:normal font:_x_font' \ - '-fb:bold font:_x_font' \ - '-fi:italic font:_x_font' \ - '-fbi:bold italic font:_x_font' \ + '-icon[specify icon image]:image file:_files' \ + '-fn:normal font:->fonts' \ + '-fb:bold font:->fonts' \ + '-fi:italic font:->fonts' \ + '-fbi:bold italic font:->fonts' \ '-im:input method:(SCIM)' \ + '-pe[enable perl extension]:perl extension:->extensions' \ '-pt:input style:(OverTheSpot OffTheSpot Root)' \ '-imlocale:locale input method:_locales' \ '-imfont:fontset for styles OverTheSpot and OffTheSpot:_x_font' \ - '-name:client instance, icon, and title strings:' \ - '-title:title name for window:' \ - '-n:icon name for window:' \ - '-sl:save lines:' \ + '-name:client instance, icon, and title strings' \ + '(-T -title)'{-T,-title}':title name for window' \ + '-n:icon name for window' \ + '-sl:save lines' \ '-embed:window id to embed terminal in:_x_window' \ - '-pty-fd:file descriptor of pty to use:' \ - '-w:external border in pixels:' \ - '-b:internal border in pixels:' \ - '-lsp:number of extra pixels between rows:' \ + '-pty-fd:file descriptor of pty to use' \ + '-w:external border in pixels' \ + '-b:internal border in pixels' \ + '-lsp:number of extra pixels between rows' \ + '-letsp:letter spacing adjustment' \ '-mod:meta modifier:_x_modifier' \ '-e:program: _command_names -e:*::program arguments: _normal' \ '-help[print help]' \ - '--help[list long options]' + '--help[list long options]' $long_args && ret=0 + +case $state in + fonts) + if compset -P xft:; then + _xft_fonts && ret=0 + else + _x_font && ret=0 + fi + ;; + extensions) + compset -S ',*' || suf=( -qS , ) + compset -P '*,'; compset -P - + extensions=( {$commands[urxvt]:h:h,/usr,/usr/local}/lib{,64}/urxvt/perl(N) ) + _wanted extensions expl 'perl extension' compadd $suf[@] default \ + $extensions/*(:t) && ret=0 + ;; +esac + +return ret diff --git a/Completion/X/Command/_xclip b/Completion/X/Command/_xclip index 759251c28..ff131f3b1 100644 --- a/Completion/X/Command/_xclip +++ b/Completion/X/Command/_xclip @@ -1,14 +1,17 @@ #compdef xclip _arguments \ - '(-i -in -o -out)'{-i,-in}'[Read text into X selection]' \ - '(-i -in -o -out)'{-o,-out}'[Print selection to standard out]' \ - {-l,-loops}'[Number of selection requests to wait before exiting]:number:' \ - {-d,-display}'[X display to connect to]:X11 display:' \ - '(-)'{-h,-help}'[Usage information]' \ - '(-selection)-selection[Selection to access]:selection:(primary secondary clipboard buffer-cut)' \ - $'-noutf8[Use old Unicode, don\'t treat text as UTF-8]' \ - '(-)-version[version information]' \ - '(-quiet -verbose)-silent[Errors only, run in background]' \ - $'(-silent -verbose)-quiet[Run in foreground, show what\'s happening]' \ - '(-silent -quiet)-verbose[Running commentary]' + '(-i -in -o -out)'{-i,-in}'[read text into X selection (default)]' \ + '(* -i -in -o -out)'{-o,-out}'[print selection to standard output]' \ + '(-o -out -f -filter -quiet)'{-f,-filter}'[copy input additionally to standard output]' \ + {-l,-loops}'[number of selection requests to wait before exiting]:number' \ + {-t,-target}'[specify data format]:format:($(_call_program targets xclip -o -t TARGETS))' \ + {-d,-display}'[X display to connect to]:display:_x_display' \ + '(-)'{-h,-help}'[display usage information]' \ + '(-selection)-selection[selection to access]:selection:(primary secondary clipboard buffer-cut)' \ + "-noutf8[operate in legacy, non-Unicode, mode]" \ + '(-)-version[display version information]' \ + '(-quiet -verbose)-silent[errors only, run in background]' \ + "(-silent -verbose)-quiet[run in foreground, show what's happening]" \ + '(-silent -quiet)-verbose[running commentary]' \ + '(-o -out)*:input file:_files' diff --git a/Completion/X/Type/_xft_fonts b/Completion/X/Type/_xft_fonts index 0d5f56fe5..535b9b5ae 100644 --- a/Completion/X/Type/_xft_fonts +++ b/Completion/X/Type/_xft_fonts @@ -37,7 +37,7 @@ elif compset -P '*[^\\]-'; then _message -e size 'point size' && ret=0 else _wanted fonts expl font compadd "$suf[@]" \ - ${${(f)"$(_call_program fonts fc-list 2>/dev/null)"//,/$'\n'}%%:*} && ret=0 + ${(us:,:)$(_call_program fonts fc-list -f '%\{family\},' 2>/dev/null)} && ret=0 fi return ret diff --git a/Config/version.mk b/Config/version.mk index 4832aae11..fb2d5dd7f 100644 --- a/Config/version.mk +++ b/Config/version.mk @@ -27,5 +27,5 @@ # This must also serve as a shell script, so do not add spaces around the # `=' signs. -VERSION=5.0.0 -VERSION_DATE='July 21, 2012' +VERSION=5.0.0-test-1 +VERSION_DATE='December 16, 2012' diff --git a/Doc/.distfiles b/Doc/.distfiles index b639949d3..85dc15781 100644 --- a/Doc/.distfiles +++ b/Doc/.distfiles @@ -18,5 +18,5 @@ DISTFILES_DOC=' *.html zsh.dvi zsh.pdf - intro.pdf + intro.a4.pdf intro.us.pdf ' diff --git a/Doc/Makefile.in b/Doc/Makefile.in index df3e1410b..dacbd5170 100644 --- a/Doc/Makefile.in +++ b/Doc/Makefile.in @@ -94,7 +94,7 @@ dvi: zsh.dvi zsh.dvi: $(sdir)/zsh.texi $(TEXI2DVI) $(sdir)/zsh.texi -pdf: zsh.pdf intro.pdf +pdf: zsh.pdf intro.a4.pdf intro.us.pdf .PHONY: pdf zsh.pdf: $(sdir)/zsh.texi @@ -104,8 +104,14 @@ zsh.pdf: $(sdir)/zsh.texi PDFTEX=$(PDFETEX) $(TEXI2DVI) --pdf $(sdir)/zsh.texi; \ fi -intro.pdf: $(sdir)/intro.ms - pdfroff -ms $(sdir)/intro.ms >intro.pdf +# Use roff2ps / ps2pdf because pdfroff produces doubled output. +intro.a4.pdf: $(sdir)/intro.ms + roff2ps -ms -P-pa4 < $(sdir)/intro.ms > intro.a4.ps + ps2pdf intro.a4.ps + +intro.us.pdf: $(sdir)/intro.ms + roff2ps -ms -P-pletter < $(sdir)/intro.ms > intro.us.ps + ps2pdf intro.us.ps texi: $(sdir)/zsh.texi .PHONY: texi @@ -181,7 +187,7 @@ $(MAN): zmacros.yo zman.yo zsh.1 zshall.1: Zsh/intro.yo Zsh/metafaq.yo Zsh/invoke.yo Zsh/files.yo \ Zsh/filelist.yo Zsh/filelist.yo Zsh/seealso.yo \ - Zsh/ftp_sites.yo + Zsh/ftp_sites.yo Zsh/compat.yo Zsh/restricted.yo zshbuiltins.1: Zsh/builtins.yo @@ -199,7 +205,7 @@ zshexpn.1: Zsh/expn.yo zshmisc.1: Zsh/grammar.yo Zsh/redirect.yo Zsh/exec.yo Zsh/func.yo \ Zsh/jobs.yo Zsh/arith.yo Zsh/cond.yo Zsh/compat.yo \ - Zsh/prompt.yo Zsh/restricted.yo + Zsh/prompt.yo zshmodules.1: Zsh/modules.yo Zsh/modlist.yo Zsh/modmenu.yo $(MODDOCSRC) diff --git a/Doc/Zsh/arith.yo b/Doc/Zsh/arith.yo index dd18ee720..2674c7817 100644 --- a/Doc/Zsh/arith.yo +++ b/Doc/Zsh/arith.yo @@ -48,6 +48,12 @@ The var(base)tt(#) may also be omitted, in which case base 10 is used. For backwards compatibility the form `tt([)var(base)tt(])var(n)' is also accepted. +An integer expression or a base given in the form +`var(base)tt(#)var(n)' may contain underscores (`tt(_)') after the +leading digit for visual guidance; these are ignored in computation. +Examples are tt(1_000_000) or tt(0xffff_ffff) which are equivalent to +tt(1000000) and tt(0xffffffff) respectively. + It is also possible to specify a base to be used for output in the form `tt([#)var(base)tt(])', for example `tt([#16])'. This is used when outputting arithmetical substitutions or when assigning to scalar @@ -87,7 +93,9 @@ output is valid syntax for input. If the tt(#) is doubled, for example Floating point constants are recognized by the presence of a decimal point or an exponent. The decimal point may be the first character of the constant, but the exponent character tt(e) or tt(E) may not, as it will be -taken for a parameter name. +taken for a parameter name. All numeric parts (before and after the +decimal point and in the exponent) may contain underscores after the +leading digit for visual guidance; these are ignored in computation. cindex(arithmetic operators) cindex(operators, arithmetic) diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 98c470a54..f3a7f6a97 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -108,7 +108,7 @@ ifnzman(noderef(Aliasing)). findex(autoload) cindex(functions, autoloading) cindex(autoloading functions) -item(tt(autoload) [ {tt(PLUS())|tt(-)}tt(UXktz) ] [ tt(-w) ] [ var(name) ... ])( +item(tt(autoload) [ {tt(PLUS())|tt(-)}tt(UXkmtz) ] [ tt(-w) ] [ var(name) ... ])( Equivalent to tt(functions -u), with the exception of tt(-X)/tt(+X) and tt(-w). @@ -129,15 +129,27 @@ undefined and marked for autoloading. If ksh-style autoloading is enabled, the function created will contain the contents of the file plus a call to the function itself appended to it, thus giving normal ksh autoloading behaviour on the first call to the function. +If the tt(-m) flag is also given each var(name) is treated as a +pattern and all functions already marked for autoload that match the +pattern are loaded. With the tt(-w) flag, the var(name)s are taken as names of files compiled with the tt(zcompile) builtin, and all functions defined in them are marked for autoloading. -The flags tt(-z) and tt(-k) mark the function to be autoloaded in -native or ksh emulation, as if the option tt(KSH_AUTOLOAD) were -unset or were set, respectively. The flags override the setting of -the option at the time the function is loaded. +The flags tt(-z) and tt(-k) mark the function to be autoloaded using the +zsh or ksh style, as if the option tt(KSH_AUTOLOAD) were unset or were +set, respectively. The flags override the setting of the option at the +time the function is loaded. + +Note that the tt(autoload) command makes no attempt to ensure the +shell options set during the loading or execution of the file have +any particular value. For this, the tt(emulate) command can be used: + +example(emulate zsh -c 'autoload -Uz var(func)') + +arranges that when var(func) is loaded the shell is in native tt(zsh) +emulation, and this emulation is also applied when var(func) is run. ) findex(bg) cindex(jobs, backgrounding) @@ -390,6 +402,7 @@ ifnzman(noderef(Invocation))\ ifzman(the section INVOCATION in zmanref(zsh)), except that `tt(-o EMACS)' and `tt(-o VI)' may not be used. Flags such as `tt(+r)'/`tt(+o RESTRICTED)' may be prohibited in some circumstances. + If tt(-c) var(arg) appears in var(flags), var(arg) is evaluated while the requested emulation is temporarily in effect. In this case the emulation mode and all options are restored to their previous values before @@ -406,7 +419,10 @@ If the function is called when the sticky emulation is already in effect, either within an `tt(emulate) var(shell) tt(-c)' expression or within another function with the same sticky emulation, entry and exit from the function do not cause options to be altered (except due to -standard processing such as the tt(LOCAL_OPTIONS) option). +standard processing such as the tt(LOCAL_OPTIONS) option). This also +applies to functions marked for autoload within the sticky emulation; +the appropriate set of options will be applied at the point the +function is loaded as well as when it is run. For example: @@ -446,6 +462,10 @@ sitem(4.)(The presence or absence of the tt(-R) switch to tt(emulate) corresponds to different sticky emulation modes, so for example `tt(emulate sh -c)', `tt(emulate -R sh -c)' and `tt(emulate csh -c)' are treated as three distinct sticky emulations.) +sitem(5.)(Difference in shell options supplied in addition to the +basic emulation also mean the sticky emulations are different, so for +example `tt(emulate zsh -c)' and `tt(emulate zsh -o cbases -c)' are +treated as distinct sticky emulations.) endsitem() ) findex(enable) @@ -620,7 +640,7 @@ Equivalent to tt(typeset -E), except that options irrelevant to floating point numbers are not permitted. ) findex(functions) -xitem(tt(functions) [ {tt(PLUS())|tt(-)}tt(UXkmtuz) ] [ var(name) ... ]) +xitem(tt(functions) [ {tt(PLUS())|tt(-)}tt(UXkmtTuz) ] [ var(name) ... ]) xitem(tt(functions -M) var(mathfn) [ var(min) [ var(max) [ var(shellfn) ] ] ]) xitem(tt(functions -M) [ tt(-m) var(pattern) ... ]) item(tt(functions +M) [ tt(-m) ] var(mathfn))( @@ -1341,6 +1361,11 @@ or without the tt(no) prefix remains the same in this case. If the tt(-m) flag is given the arguments are taken as patterns (which should be quoted to protect them from filename expansion), and all options with names matching these patterns are set. + +Note that a bad option name does not cause execution of subsequent shell +code to be aborted; this is behaviour is different from that of `tt(set +-o)'. This is because tt(set) is regarded as a special builtin by the +POSIX standard, but tt(setopt) is not. ) findex(shift) cindex(parameters, positional) @@ -1552,7 +1577,10 @@ an array to var(SCALAR) is an error, and assigning a scalar to var(array) sets it to be a single-element array. Note that both `tt(typeset -xT ...)' and `tt(export -T ...)' work, but only the scalar will be marked for export. Setting the value using the scalar version causes a split on all -separators (which cannot be quoted). +separators (which cannot be quoted). It is possible to use the +same two tied variables with a different separator character in which +case the variables remain joined as before but the separator is changed. +This flag has a different meaning when used with tt(-f); see below. The tt(-g) (global) flag is treated specially: it means that any resulting parameter will not be restricted to local scope. Note that this @@ -1650,16 +1678,18 @@ shown. ) item(tt(-f))( The names refer to functions rather than parameters. No assignments -can be made, and the only other valid flags are tt(-t), tt(-k), tt(-u), -tt(-U) and tt(-z). The flag tt(-t) turns on execution tracing for this -function. The tt(-u) and tt(-U) flags cause the function to be -marked for autoloading; tt(-U) also causes alias expansion to be -suppressed when the function is loaded. The tt(fpath) parameter -will be searched to find the function definition when the function -is first referenced; see noderef(Functions). The tt(-k) and tt(-z) flags -make the function be loaded using ksh-style or zsh-style autoloading -respectively. If neither is given, the setting of the KSH_AUTOLOAD option -determines how the function is loaded. +can be made, and the only other valid flags are tt(-t), tt(-T), tt(-k), +tt(-u), tt(-U) and tt(-z). The flag tt(-t) turns on execution tracing +for this function; the flag tt(-T) does the same, but turns off tracing +on any function called from the present one, unless that function also +has the tt(-t) or tt(-T) flag. The tt(-u) and tt(-U) flags cause the +function to be marked for autoloading; tt(-U) also causes alias +expansion to be suppressed when the function is loaded. The tt(fpath) +parameter will be searched to find the function definition when the +function is first referenced; see noderef(Functions). The tt(-k) and +tt(-z) flags make the function be loaded using ksh-style or zsh-style +autoloading respectively. If neither is given, the setting of the +KSH_AUTOLOAD option determines how the function is loaded. ) item(tt(-h))( Hide: only useful for special parameters (those marked `<S>' in the table in @@ -1736,7 +1766,7 @@ enditem() findex(ulimit) cindex(resource limits) cindex(limits, resource) -item(tt(ulimit) [ [ tt(-SHacdfilmnpqstvx) | tt(-N) var(resource) [ var(limit) ] ... ])( +item(tt(ulimit) [ [ tt(-SHacdfilmnpqrstvx) | tt(-N) var(resource) [ var(limit) ] ... ])( Set or display resource limits of the shell and the processes started by the shell. The value of var(limit) can be a number in the unit specified below or one of the values `tt(unlimited)', which removes the limit on the @@ -1757,20 +1787,25 @@ When looping over multiple resources, the shell will abort immediately if it detects a badly formed argument. However, if it fails to set a limit for some other reason it will continue trying to set the remaining limits. +Not all the following resources are supported on all systems. Running +tt(ulimit -a) will show which are supported. + startsitem() sitem(tt(-a))(Lists all of the current resource limits.) +sitem(tt(-b))(Socket buffer size in bytes LPAR()N.B. not kilobytes+RPAR()) sitem(tt(-c))(512-byte blocks on the size of core dumps.) -sitem(tt(-d))(K-bytes on the size of the data segment.) +sitem(tt(-d))(Kilobytes on the size of the data segment.) sitem(tt(-f))(512-byte blocks on the size of files written.) sitem(tt(-i))(The number of pending signals.) -sitem(tt(-l))(K-bytes on the size of locked-in memory.) -sitem(tt(-m))(K-bytes on the size of physical memory.) +sitem(tt(-l))(Kilobytes on the size of locked-in memory.) +sitem(tt(-m))(Kilobytes on the size of physical memory.) sitem(tt(-n))(open file descriptors.) sitem(tt(-q))(Bytes in POSIX message queues.) -sitem(tt(-s))(K-bytes on the size of the stack.) +sitem(tt(-s))(Kilobytes on the size of the stack.) sitem(tt(-t))(CPU seconds to be used.) -sitem(tt(-u))(processes available to the user.) -sitem(tt(-v))(K-bytes on the size of virtual memory. On some systems this +sitem(tt(-r))(The number of simultaneous threads available to the user.) +sitem(tt(-u))(The number of processes available to the user.) +sitem(tt(-v))(Kilobytes on the size of virtual memory. On some systems this refers to the limit called `address space'.) sitem(tt(-x))(The number of locks on files.) endsitem() diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 135a60a41..2991c1f4a 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -2355,6 +2355,28 @@ found, or var(max) words have been tried. The default is to complete all words from the history at once. ) +kindex(recursive-files, completion style) +item(tt(recursive-files))( +If this style is set, its value is an array of patterns to be +tested against `tt($PWD/)': note the trailing slash, which allows +directories in the pattern to be delimited unambiguously by including +slashes on both sides. If an ordinary file completion fails +and the word on the command line does not yet have a directory part to its +name, the style is retrieved using the same tag as for the completion +just attempted, then the elements tested against tt($PWD/) in turn. +If one matches, then the shell reattempts completion by prepending the word +on the command line with each directory in the expansion of tt(**/*(/)) +in turn. Typically the elements of the style will be set to restrict +the number of directories beneath the current one to a manageable +number, for example `tt(*/.git/*)'. + +For example, + +example(zstyle ':completion:*' recursive-files '*/zsh/*') + +If the current directory is tt(/home/pws/zsh/Src), then +tt(zle_tr)em(TAB) can be completed to tt(Zle/zle_tricky.c). +) kindex(regular, completion style) item(tt(regular))( This style is used by the tt(_expand_alias) completer and bindable @@ -3158,7 +3180,9 @@ var(_func) is the name of a shell function whose name must begin with tt(_) but is not otherwise special to the completion system. The function is called with the trial word as an argument. If the word is to be expanded, the function should set the array tt(reply) to a list of -expansions. The return status of the function is irrelevant. +expansions. Optionally, it can set tt(REPLY) to a word that will +be used as a description for the set of expansions. +The return status of the function is irrelevant. ) endsitem() ) diff --git a/Doc/Zsh/contrib.yo b/Doc/Zsh/contrib.yo index 139a68150..8dbc095fd 100644 --- a/Doc/Zsh/contrib.yo +++ b/Doc/Zsh/contrib.yo @@ -768,7 +768,10 @@ item(tt(hgrevformat))( tt(hg) uses both a hash and a revision number to reference a specific changeset in a repository. With this style you can format the revision string (see tt(branchformat)) to include either or both. It's only -useful when tt(get-revision) is true. +useful when tt(get-revision) is true. Note, the full 40-character revision id +is not available (except when using the tt(use-simple) option) because +executing hg more than once per prompt is too slow; you may customize this +behavior using hooks. ) kindex(max-exports) item(tt(max-exports))( @@ -993,7 +996,7 @@ In tt(hgrevformat) these replacements are done: startsitem() sitem(tt(%r))(The current local revision number.) -sitem(tt(%h))(The current 40-character changeset ID hash identifier.) +sitem(tt(%h))(The current global revision identifier.) endsitem() In tt(patch-format) and tt(nopatch-format) these replacements are done: @@ -1003,6 +1006,7 @@ sitem(tt(%p))(The name of the top-most applied patch (tt(applied-string)).) sitem(tt(%u))(The number of unapplied patches (tt(unapplied-string)).) sitem(tt(%n))(The number of applied patches.) sitem(tt(%c))(The number of unapplied patches.) +sitem(tt(%a))(The number of all patches.) sitem(tt(%g))(The names of active tt(mq) guards (tt(hg) backend).) sitem(tt(%G))(The number of active tt(mq) guards (tt(hg) backend).) endsitem() diff --git a/Doc/Zsh/expn.yo b/Doc/Zsh/expn.yo index 8afd92532..da68b4ff7 100644 --- a/Doc/Zsh/expn.yo +++ b/Doc/Zsh/expn.yo @@ -483,6 +483,24 @@ example(LPAR()mycmd =(myoutput)RPAR() &!) as the forked subshell will wait for the command to finish then remove the temporary file. +A general workaround to ensure a process substitution endures for +an appropriate length of time is to pass it as a parameter to +an anonymous shell function (a piece of shell code that is run +immediately with function scope). For example, this code: + +example(LPAR()RPAR() { + print File $1: + cat $1 +} =+LPAR()print This be the verse+RPAR()) + +outputs something resembling the following + +example(File /tmp/zsh6nU0kS: +This be the verse) + +The temporary file created by the process substitution will be deleted +when the function exits. + texinode(Parameter Expansion)(Command Substitution)(Process Substitution)(Expansion) sect(Parameter Expansion) cindex(parameter expansion) @@ -1051,12 +1069,13 @@ item(tt(z))( Split the result of the expansion into words using shell parsing to find the words, i.e. taking into account any quoting in the value. Comments are not treated specially but as ordinary strings, similar -to interactive shells with the tt(INTERACTIVE_COMMENTS) option unset. +to interactive shells with the tt(INTERACTIVE_COMMENTS) option unset +(however, see the tt(Z) flag below for related options) -Note that this is done very late, as for the `tt((s))' flag. So to -access single words in the result, one has to use nested expansions as +Note that this is done very late, even later than the `tt((s))' flag. So to +access single words in the result use nested expansions as in `tt(${${(z)foo}[2]})'. Likewise, to remove the quotes in the -resulting words one would do: `tt(${(Q)${(z)foo}})'. +resulting words use `tt(${(Q)${(z)foo}})'. ) item(tt(0))( Split the result of the expansion on null bytes. This is a shorthand @@ -1165,7 +1184,8 @@ i.e. tt("${(@s.:.)line}"). ) item(tt(Z:)var(opts)tt(:))( As tt(z) but takes a combination of option letters between a following -pair of delimiter characters. tt(LPAR()Z+PLUS()c+PLUS()RPAR()) +pair of delimiter characters. With no options the effect is identical +to tt(z). tt(LPAR()Z+PLUS()c+PLUS()RPAR()) causes comments to be parsed as a string and retained; any field in the resulting array beginning with an unquoted comment character is a comment. tt(LPAR()Z+PLUS()C+PLUS()RPAR()) causes comments to be parsed @@ -1174,7 +1194,8 @@ starting with the third character of tt($HISTCHARS), default tt(#), up to the next newline is a comment. tt(LPAR()Z+PLUS()n+PLUS()RPAR()) causes unquoted newlines to be treated as ordinary whitespace, else they are treated as if they are shell code delimiters and converted to -semicolons. +semicolons. Options are combined within the same set of delimiters, +e.g. tt(LPAR()Z+PLUS()Cn+PLUS()RPAR()). ) item(tt(_:)var(flags)tt(:))( The underscore (tt(_)) flag is reserved for future use. As of this @@ -1248,7 +1269,7 @@ em(no responsibility) for any brain damage which may occur during the reading of the following rules. startitem() -item(tt(1.) em(Nested Substitution))( +item(tt(1.) em(Nested substitution))( If multiple nested tt(${...}) forms are present, substitution is performed from the inside outwards. At each level, the substitution takes account of whether the current value is a scalar or an array, whether the @@ -1272,12 +1293,14 @@ which is expanded by filename expansion to a full path; the outer substitution then applies the modifier tt(:h) and takes the directory part of the path.) ) -item(tt(2.) em(Internal Parameter Flags))( +item(tt(2.) em(Internal parameter flags))( Any parameter flags set by one of the tt(typeset) family of commands, in particular the tt(L), tt(R), tt(Z), tt(u) and tt(l) flags for padding and capitalization, are applied directly to the parameter value. +Note these flags are options to the command, e.g. `tt(typeset -Z)'; +they are not the same as the flags used within parameter substitutions. ) -item(tt(3.) em(Parameter Subscripting))( +item(tt(3.) em(Parameter subscripting))( If the value is a raw parameter reference with a subscript, such as tt(${)var(var)tt([3]}), the effect of subscripting is applied directly to the parameter. Subscripts are evaluated left to right; subsequent @@ -1287,11 +1310,11 @@ character of the first word, but tt(${var[2,4][2]}) is the entire third word (the second word of the range of words two through four of the original array). Any number of subscripts may appear. ) -item(tt(4.) em(Parameter Name Replacement))( +item(tt(4.) em(Parameter name replacement))( The effect of any tt((P)) flag, which treats the value so far as a parameter name and replaces it with the corresponding value, is applied. ) -item(tt(5.) em(Double-Quoted Joining))( +item(tt(5.) em(Double-quoted joining))( If the value after this process is an array, and the substitution appears in double quotes, and no tt((@)) flag is present at the current level, the words of the value are joined with the first character of the @@ -1299,7 +1322,7 @@ parameter tt($IFS), by default a space, between each word (single word arrays are not modified). If the tt((j)) flag is present, that is used for joining instead of tt($IFS). ) -item(tt(6.) em(Nested Subscripting))( +item(tt(6.) em(Nested subscripting))( Any remaining subscripts (i.e. of a nested substitution) are evaluated at this point, based on whether the value is an array or a scalar. As with tt(3.), multiple subscripts can appear. Note that tt(${foo[2,4][2]}) is @@ -1322,44 +1345,51 @@ item(tt(9.) em(Length))( Any initial tt(#) modifier, i.e. in the form tt(${#)var(var)tt(}), is used to evaluate the length of the expression so far. ) -item(tt(10.) em(Forced Joining))( +item(tt(10.) em(Forced joining))( If the `tt((j))' flag is present, or no `tt((j))' flag is present but -the string is to be split as given by rules tt(16.) or tt(17.), and joining +the string is to be split as given by rule tt(11.), and joining did not take place at step tt(5.), any words in the value are joined together using the given string or the first character of tt($IFS) if none. Note that the `tt((F))' flag implicitly supplies a string for joining in this manner. ) -item(tt(11.) em(Case modification))( +item(tt(11.) em(Simple word splitting))( +If one of the `tt((s))' or `tt((f))' flags are present, or the `tt(=)' +specifier was present (e.g. tt(${=)var(var)tt(})), the word is split on +occurrences of the specified string, or (for tt(=) with neither of the two +flags present) any of the characters in tt($IFS). + +If no `tt((s))', `tt((f))' or `tt(=)' was given, but the word is not +quoted and the option tt(SH_WORD_SPLIT) is set, the word is split on +occurrences of any of the characters in tt($IFS). Note this step, too, +takes place at all levels of a nested substitution. +) +item(tt(12.) em(Case modification))( Any case modification from one of the flags tt((L)), tt((U)) or tt((C)) is applied. ) -item(tt(12.) em(Escape sequence replacement))( +item(tt(13.) em(Escape sequence replacement))( First any replacements from the tt((g)) flag are performed, then any prompt-style formatting from the tt((%)) family of flags is applied. ) -item(tt(13.) em(Quote application))( +item(tt(14.) em(Quote application))( Any quoting or unquoting using tt((q)) and tt((Q)) and related flags is applied. ) -item(tt(14.) em(Directory naming))( +item(tt(15.) em(Directory naming))( Any directory name substitution using tt((D)) flag is applied. ) -item(tt(15.) em(Visibility enhancment))( +item(tt(16.) em(Visibility enhancement))( Any modifications to make characters visible using the tt((V)) flag are applied. ) -item(tt(16.) em(Forced Splitting))( -If one of the `tt((s))', `tt((f))' or `tt((z))' flags are present, or the `tt(=)' -specifier was present (e.g. tt(${=)var(var)tt(})), the word is split on -occurrences of the specified string, or (for tt(=) with neither of the two -flags present) any of the characters in tt($IFS). -) -item(tt(17.) em(Shell Word Splitting))( -If no `tt((s))', `tt((f))' or `tt(=)' was given, but the word is not -quoted and the option tt(SH_WORD_SPLIT) is set, the word is split on -occurrences of any of the characters in tt($IFS). Note this step, too, -takes place at all levels of a nested substitution. +item(tt(17.) em(Lexical word splitting))( +If the 'tt((z))' flag or one of the forms of the 'tt((Z))' flag is +present, the word is split as if it were a shell command line, so that +quotation marks and other metacharacters are used to decide what +constitutes a word. Note this form of splitting is entirely distinct +from that described by rule tt(11.): it does not use tt($IFS), and +does not cause forced joining. ) item(tt(18.) em(Uniqueness))( If the result is an array and the `tt((u))' flag was present, duplicate @@ -1369,7 +1399,7 @@ item(tt(19.) em(Ordering))( If the result is still an array and one of the `tt((o))' or `tt((O))' flags was present, the array is reordered. ) -item(tt(20.) em(Re-Evaluation))( +item(tt(20.) em(Re-evaluation))( Any `tt((e))' flag is applied to the value, forcing it to be re-examined for new parameter substitutions, but also for command and arithmetic substitutions. @@ -1378,7 +1408,7 @@ item(tt(21.) em(Padding))( Any padding of the value by the `tt(LPAR()l.)var(fill)tt(.RPAR())' or `tt(LPAR()r.)var(fill)tt(.RPAR())' flags is applied. ) -item(tt(22.) em(Semantic Joining))( +item(tt(22.) em(Semantic joining))( In contexts where expansion semantics requires a single word to result, all words are rejoined with the first character of tt(IFS) between. So in `tt(${LPAR()P)tt(RPAR()${LPAR()f)tt(RPAR()lines}})' diff --git a/Doc/Zsh/ftp_sites.yo b/Doc/Zsh/ftp_sites.yo index 3ed675ab1..62c1bff06 100644 --- a/Doc/Zsh/ftp_sites.yo +++ b/Doc/Zsh/ftp_sites.yo @@ -5,24 +5,11 @@ tt(http://www.zsh.org/pub/)) ) item(Australia)( nofill(tt(ftp://ftp.zsh.org/pub/) -tt(http://www.zsh.org/pub/)) -) -item(Denmark)( -nofill(tt(ftp://mirrors.dotsrc.org/zsh/)) -) -item(Finland)( -nofill(tt(ftp://ftp.funet.fi/pub/unix/shells/zsh/)) -) -item(France)( -nofill(tt(ftp://nephtys.lip6.fr/pub/unix/shells/zsh/)) -) -item(Germany)( -nofill(tt(ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/)) +tt(http://www.zsh.org/pub/) +tt(http://mirror.dejanseo.com.au/pub/zsh/)) ) item(Hungary)( -nofill(tt(ftp://ftp.kfki.hu/pub/packages/zsh/)) -) -item(Poland)( -nofill(tt(ftp://sunsite.icm.edu.pl/pub/unix/shells/zsh/)) +nofill(tt(ftp://ftp.cs.elte.hu/pub/zsh/) +tt(http://www.cs.elte.hu/pub/zsh/)) ) enditem() diff --git a/Doc/Zsh/grammar.yo b/Doc/Zsh/grammar.yo index 1eb358ea3..b452e4cc9 100644 --- a/Doc/Zsh/grammar.yo +++ b/Doc/Zsh/grammar.yo @@ -8,6 +8,7 @@ menu(Precommand Modifiers) menu(Complex Commands) menu(Alternate Forms For Complex Commands) menu(Reserved Words) +menu(Errors) menu(Comments) menu(Aliasing) menu(Quoting) @@ -438,7 +439,7 @@ where var(term) is at least one newline or tt(;). A short form of tt(select). ) enditem() -texinode(Reserved Words)(Comments)(Alternate Forms For Complex Commands)(Shell Grammar) +texinode(Reserved Words)(Errors)(Alternate Forms For Complex Commands)(Shell Grammar) sect(Reserved Words) cindex(reserved words) findex(disable, use of) @@ -451,7 +452,56 @@ select coproc nocorrect foreach end ! [[ { }) Additionally, `tt(})' is recognized in any position if neither the tt(IGNORE_BRACES) option nor the tt(IGNORE_CLOSE_BRACES) option is set. -texinode(Comments)(Aliasing)(Reserved Words)(Shell Grammar) +texinode(Errors)(Comments)(Reserved Words)(Shell Grammar) +sect(Errors) +cindex(errors, handling of) +Certain errors are treated as fatal by the shell: in an interactive +shell, they cause control to return to the command line, and in a +non-interactive shell they cause the shell to be aborted. In older +versions of zsh, a non-interactive shell running a script would not +abort completely, but would resume execution at the next command to be +read from the script, skipping the remainder of any functions or +shell constructs such as loops or conditions; this somewhat illogical +behaviour can be recovered by setting the option tt(CONTINUE_ON_ERROR). + +Fatal errors found in non-interactive shells include: +startlist() +list(Failure to parse shell options passed when invoking the shell) +list(Failure to change options with the tt(set) builtin) +list(Parse errors of all sorts, including failures to parse +mathematical expressions) +list(Failures to set or modify variable behaviour with tt(typeset), +tt(local), tt(declare), tt(export), tt(integer), tt(float)) +list(Execution of incorrectly positioned loop control structures +(tt(continue), tt(break))) +list(Attempts to use regular expression with no regular expression +module available) +list(Disallowed operations when the tt(RESTRICTED) options is set) +list(Failure to create a pipe needed for a pipeline) +list(Failure to create a multio) +list(Failure to autoload a module needed for a declared shell feature) +list(Errors creating command or process substitutions) +list(Syntax errors in glob qualifiers) +list(File generation errors where not caught by the option tt(BAD_PATTERN)) +list(All bad patterns used for matching within case statements) +list(File generation failures where not caused by tt(NO_MATCH) or +list(All file generation errors where the pattern was used to create a +multio) +list(Memory errors where detected by the shell) +list(Invalid subscripts to shell variables) +list(Attempts to assign read-only variables) +list(Logical errors with variables such as assignment to the wrong type) +list(Use of invalid variable names) +list(Errors in variable substitution syntax) +list(Failure to convert characters in tt($')...tt(') expressions) +similar options) +endlist() + +If the tt(POSIX_BUILTINS) option is set, more errors associated with +shell builtin commands are treated as fatal, as specified by the POSIX +standard. + +texinode(Comments)(Aliasing)(Errors)(Shell Grammar) sect(Comments) cindex(comments) pindex(INTERACTIVE_COMMENTS, use of) diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 3114ecc05..6c8d423cb 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1733,6 +1733,22 @@ Make the tt(echo) builtin compatible with the BSD manref(echo)(1) command. This disables backslashed escape sequences in echo strings unless the tt(-e) option is specified. ) +pindex(CONTINUE_ON_ERROR) +pindex(NO_CONTINUE_ON_ERROR) +pindex(CONTINUEONERROR) +pindex(NOCONTINUEONERROR) +cindex(error, option to continue script on) +item(tt(CONTINUE_ON_ERROR))( +If a fatal error is encountered (see +ifnzman(noderef(Errors))\ +ifzman(the section ERRORS in zmanref(zshmisc))), and the code is running +in a script, the shell will resume execution at the next statement +in the script at the top level, in other words outside all functions +or shell constructs such as loops and conditions. This mimics the +behaviour of interactive shells, where the shell returns to the +line editor to read a new command; it was the normal behaviour in versions +of zsh before 5.0.1. +) pindex(CSH_JUNKIE_HISTORY) pindex(NO_CSH_JUNKIE_HISTORY) pindex(CSHJUNKIEHISTORY) diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 5991921f8..b7b7750ff 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -182,7 +182,10 @@ to the matching closing one is considered to be a list of flags, as in The flags tt(s), tt(n) and tt(b) take an argument; the delimiter is shown below as `tt(:)', but any character, or the matching pairs `tt(LPAR())...tt(RPAR())', `tt({)...tt(})', `tt([)...tt(])', or -`tt(<)...tt(>)', may be used. +`tt(<)...tt(>)', may be used, but note that `tt(<)...tt(>)' can only be +used if the subscript is inside a double quoted expression or a +parameter substitution enclosed in braces as otherwise the expression is +interpreted as a redirection. The flags currently understood are: @@ -1225,7 +1228,10 @@ vindex(REPORTTIME) item(tt(REPORTTIME))( If nonnegative, commands whose combined user and system execution times (measured in seconds) are greater than this value have timing -statistics printed for them. +statistics printed for them. Output is suppressed for commands +executed within the line editor, including completion; commands +explicitly marked with the tt(time) keyword still cause the summary +to be printed in this case. ) vindex(REPLY) item(tt(REPLY))( diff --git a/Etc/.distfiles b/Etc/.distfiles index 0f64a1fc3..2f9d7cd12 100644 --- a/Etc/.distfiles +++ b/Etc/.distfiles @@ -6,6 +6,7 @@ CONTRIBUTORS ChangeLog-3.0 ChangeLog-3.1 ChangeLog-4.1 +ChangeLog-4.3 FAQ FAQ.yo FTP-README @@ -22,5 +23,6 @@ relnote_4.3.8.txt relnote_4.3.9.txt relnote_4.3.10.txt relnote_4.3.12.txt +relnote_5.0.0.txt zsh-development-guide ' diff --git a/Etc/ChangeLog-4.3 b/Etc/ChangeLog-4.3 new file mode 100644 index 000000000..1be618b48 --- /dev/null +++ b/Etc/ChangeLog-4.3 @@ -0,0 +1,16451 @@ +2012-07-17 Barton E. Schaefer <schaefer@zsh.org> + + * users/17051 (cf. 30571): Completion/compinit: explicit IFS for + "read" of bindkey, dumpfiles, etc. + +2012-07-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Bart: 30560: Src/builtin.c: unset array element by setting + to null. + +2012-07-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Danek: 30562: Completion/Solaris/Command/_dladm, + Completion/Solaris/Command/_flowadm, + Completion/Solaris/Command/_ipadm, + Completion/Solaris/Command/_zoneadm, + Completion/Unix/Command/_zfs, Completion/Unix/Command/_zpool, + Completion/Unix/Type/_zfs_dataset: Solaris completion updates. + +2012-06-30 Barton E. Schaefer <schaefer@zsh.org> + + * 30540: Src/builtin.c: process the rest of the typeset flags when + changing the numeric type of SECONDS e.g. from integer to float. + +2012-06-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: belatedly commit version number update. + +2012-06-26 Barton E. Schaefer <schaefer@zsh.org> + + * 30533: Src/utils.c: when processing a change in the value of + COLUMNS, do not assert the change into the tty driver winsize. + The code for this was dead the whole time IPDEF5 was broken and + this seems a bad time to make it live; besides which it is not + consistent about the handling of LINES (which is ignored when + changed by itself, but would be asserted when COLUMNS changes). + + * 30530: Src/params.c: fix long-broken IPDEF5 definition to use + the GSU struct, thus fixing problems with values of LINES or + COLUMNS less than 1. + +2012-06-21 Peter Stephenson <pws@csr.com> + + * Danek (plus .distfiles changes): 30520: + Completion/Solaris/Command/.distfiles: + Completion/Solaris/Command/_beadm, + Completion/Solaris/Command/_dladm, + Completion/Solaris/Command/_dtrace, + Completion/Solaris/Command/_flowadm, + Completion/Solaris/Command/_fmadm, + Completion/Solaris/Command/_ipadm, + Completion/Solaris/Command/_netstat, + Completion/Solaris/Command/_pkg5, + Completion/Solaris/Command/_prstat, + Completion/Solaris/Command/_ps, + Completion/Solaris/Command/_snoop, + Completion/Solaris/Command/_svcadm, + Completion/Solaris/Command/_svccfg, + Completion/Solaris/Command/_svcprop, + Completion/Solaris/Command/_zlogin, + Completion/Solaris/Command/_zoneadm, + Completion/Solaris/Type/.distfiles, + Completion/Solaris/Type/_be_name, + Completion/Solaris/Type/_svcs_fmri, + Completion/Solaris/Type/_zones, + Completion/Unix/Command/_zfs, + Completion/Unix/Command/_zpool, + Completion/Unix/Type/.distfiles, + Completion/Unix/Type/_zfs_dataset, + Completion/Unix/Type/_zfs_keysource_props: updated completions + for Solaris 11. + + * 30518: configure.ac, Src/zsh_system.h: attempt to supply + tgoto() prototype only when missing for Solaris 10 and earlier. + + * 30519 (correction noticed by Danek): MACHINES: try to + modernise. + +2012-06-18 Peter Stephenson <pws@csr.com> + + * Dima Kogan: 30515: Src/glob.c: glob size test failed on very + large files owing to integer type error. + +2012-06-15 Phil Pennock <pdpennock@users.sourceforge.net> + + * 30513: zsh/regex metafy fixes for widechar; similar to 29838. + +2012-06-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30509: FEATURES, README, Etc/FAQ.yo: updates for 5.0.0. + + * Danek: 30510: Doc/Zsh/params.yo: bad indentation. + +2012-06-10 Clint Adams <clint@zsh.org> + + * 30503: Completion/Unix/Command/_mosh: rudimentary + completion for mosh. + +2012-06-10 Mikael Magnusson <mikachu@gmail.com> + + * Jeremy Mates: 30505: Completion/Unix/Command/_wget: Allow + multiple --header=. + +2012-06-06 Barton E. Schaefer <schaefer@zsh.org> + + * users/17134: Functions/Misc/promptnl: avoid bad math error + +2012-06-06 Peter Stephenson <pws@csr.com> + + * Vincent: 30497: Completion/Unix/Command/_xmlsoft: option + completion issue. + +2012-06-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/17132: Doc/Zsh/contrib.yo, + Functions/Zle/forward-word-match, + Functions/Zle/select-word-style: skip-whitespace-first style for + compatibility with bash and other editors in forward-word. + +2012-05-31 Peter Stephenson <pws@csr.com> + + * Foudil Brétel: 30495: Completion/Unix/Command/_systemd (also + Completion/Unix/Command/.distfiles): replace + Completion/Unix/Command/_systemctl and add various enhancements. + +2012-05-23 Frank Terbeck <ft@bewatermyfriend.org> + + * Juliano Ravasi: 30488: + Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix + initialisation of `$stgit_unapplied'. + +2012-05-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Jun T.: 30483: Completion/Unix/Command/_mount: improved + completion on MacOS. + + * Danek: 30485: Src/jobs.c: trailing garbage after signal + number not recognised in kill builtin. + +2012-05-21 Peter Stephenson <pws@csr.com> + + * c.f 30482 (Peter Jaros): Completion/Unix/Command/_tmux: typo + in description. + +2012-05-17 Mikael Magnusson <mikachu@gmail.com> + + * 30473: Completion/Linux/Command/_strace: update for 4.7 and + mark all options as taking sticked arguments. + + * 30474: Completion/Unix/Command/_ssh: Add -O cancel. + +2012-05-14 Mikael Magnusson <mikachu@gmail.com> + + * 30468: Functions/Prompts/prompt_fade_setup: add missing $ + reported by Devon Meunier. + + * 30466: Completion/Unix/Type/.distfiles, + Completion/Unix/Type/_ps1234, Completion/Zsh/Command/_print: + Add new completer for prompt format specifiers and hook it up + to print -P and assigning to the various prompt parameters. + Add completion for printf and print -f formats. + +2012-05-08 Barton E. Schaefer <schaefer@zsh.org> + + * unposted, see users/17062: Doc/Zsh/contrib.yo: Briefly describe + option semantic differences from xargs to zargs. (Merged with + PWS edits.) + +2012-05-08 Peter Stephenson <pws@csr.com> + + * 30469: Src/builtin.c: allow reverse listing of history using + fc -r, but don't allow reverse execution of commands at all. + + * unposted: Doc/Zsh/contrib.yo: clarify that zargs is different + from xargs. + +2012-05-03 Peter Stephenson <pws@csr.com> + + * unposted, see 30465: Doc/Zsh/expn.yo, Doc/Zsh/params.yo: add + index entries and cross-references for matching parameters. + +2012-05-02 Mikael Magnusson <mikachu@gmail.com> + + * 30461, 30462 (tweaked): Functions/Prompts/promptinit, + Functions/VCS_Info/vcs_info_setsys, Functions/Zftp/zfcd_match, + Functions/Zle/url-quote-magic: add missing local for match, + mbegin and mend. + + * 30425 (fixed): Src/Zle/zle_params.c, Doc/Zsh/zle.yo: + Add localhistory/globalhistory to $ZLE_STATE as set by the + set-local-history zle widget. + +2012-05-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/17046: Src/utils.c, Test/D04parameter.ztst: don't + count too many elements when splitting quoted parameter + substitution on null separator. + +2012-05-01 Mikael Magnusson <mikachu@gmail.com> + + * 30456: Completion/Unix/Command/_getconf: Use new array syntax. + +2012-04-25 Peter Stephenson <pws@csr.com> + + * 30455: NEWS, Src/params.c: remove max array length test. + +2012-04-25 Mikael Magnusson <mikachu@gmail.com> + + * 30429: Completion/Unix/Command/_init_d: Avoid error when the + service doesn't exist. + + * 30430: Doc/intro.ms: Fix some errors and outdatedness. + + * 30444: NEWS: Add entry for new syntax added in 30431 below. + +2012-04-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/subst.c: add test for valid identifier to 30431. + + * Test/D04parameter.ztst: 30439: Src/subst.c, + Test/D04parameter.ztst: ${...:*...} with nonexistent or + non-array variable second should return no results. + + * 30431 (typo in _typeset fixed): + Completion/Zsh/Command/_typeset, Doc/Zsh/expn.yo, Src/params.c, + Src/subst.c, Test/D04parameter.ztst: add ${...:|...} and + ${...:*...} operators for removal or inclusion of results + by array element. + +2012-04-21 Barton E. Schaefer <schaefer@zsh.org> + + * 30433: Src/hist.c: double backslash is not line continuation. + +2012-04-20 Mikael Magnusson <mikachu@gmail.com> + + * 30412: Doc/Zsh/zle.yo: Document the set-local-history + widget in the list of widgets. + + * Vin Shelton: 30427: Doc/Zsh/zle.yo: Remove erroneous enditem + from previous commit. + +2012-04-16 Peter Stephenson <pws@csr.com> + + * Michael Prokop: 30414: Completion/Linux/Command/_mdadm: more + flexible configuration file usage. + + * 30413: Src/params.c, Src/utils.c, Test/D04parameter.ztst: + (q-) parameter flag should quote the empty string and should + report an error with extra trailing q's. + +2012-04-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: NEWS: incorporate the remainder of Bart's + suggestions from 30408. + + * 30410 (with the addition of one other case): Src/jobs.c: avoid + some divide-by-zero errors in TIMEFMT interpretation. + +2012-04-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30402: Doc/.distfiles, Doc/Makefile.in: turn intro.ms into + intro.pdf for doc distribution. Still needs some tidy ups. + +2012-04-14 Mikael Magnusson <mikachu@gmail.com> + + * 30406: NEWS: some typo fixes. + +2012-04-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Etc/.distfiles: missed this. + + * Christian Neukirchen: 30398, 30399: Doc/params.yo: TIMEFMT + documentation. + + * 30400 (plus a few extra tweaks): NEWS, Etc/NEWS-4.3: update + NEWS for forthcoming 5.0 release. + +2012-04-13 Peter Stephenson <pws@csr.com> + + * 30391: Src/params.c: New hash-based arrayuniq() doesn't + care about (or set the flag correctly for) disabled hash nodes, + so we need to ignore that flag. + +2012-04-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30388, 30389 (Stephane): Functions/Misc/zargs: handle + zero-length arguments. + +2012-04-09 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Test/D04parameter.ztst: hash seive needs more than 10 + array elements for arrayuniq() testing. This test will need to + be tweaked if that size changes. + + * unposted (see users/17000): Src/params.c: fix allocation bug in + 16991 by using heap memory for hash nodes; throw an error if out + of heap; pull hash table creation out into a helper function and + use arrlen() to count the array. + + * Václav Zeman: users/16991: Src/params.c: implement hash-table + seive variant of arrayuniq() to improve speed at cost of space, + falls back on the constant-space version for small arrays. + + * 30383: Src/params.c: improve the constant-space variant of + arrayuniq() by optimizing shifts. + +2012-04-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/16944: Functions/Zle/url-quote-magic: some more "local"s + needed. + +2012-03-30 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Zle/split-shell-arguments: add some + typeset -g's to avoid WARN_CREATE_GLOBAL warnings. + + * unposted: Src/init.c: add some braces to avoid warnings from + some versions of gcc. + +2012-03-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/zle.yo: add missing parenthesis. + + * users/16932: Doc/Zsh/zle.yo, Functions/Zle/replace-string: + Src/Zle/zle.h, Src/Zle/zle_params.c, Src/Zle/zle_utils.c: + implement $UNDO_CHANGE_NO and argument to undo widget. + +2012-03-25 Mikael Magnusson <mikachu@gmail.com> + + * Jesper Nygårds: 30378: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_gradle: new gradle completion. + +2012-03-24 Mikael Magnusson <mikachu@gmail.com> + + * 30371: Completion/Unix/Command/_ssh: You can specify -i + multiple times. + + * 30372: Completion/Unix/Command/_tmux: Redirect error output + produced when no tmux server is running to /dev/null. + + * 30368: Completion/Unix/Command/_tmux: Make completion work + when an unambiguous prefix for a known subcommand is given, as + in 'tmux att -<tab>'. + +2012-03-23 Simon Ruderich <simon@ruderich.org> + + * 30366: Misc/vcs_info-examples: Fix outdated quilt examples. + * 30367: Doc/Zsh/contrib.yo: vcs_info, mention settings used for + patch-format/nopatch-format. + +2012-03-13 Peter Stephenson <pws@csr.com> + + * Luka Perkov: 30354: Completion/Unix/Command/_quilt: update + + * 30351 changed as in 30352: Src/params.c, Src/utils.c: metafy + scalar and array parameter values as they are imported from + strings defined outside zsh. + +2012-03-07 Peter Stephenson <pws@csr.com> + + * users/16865: Doc/Zsh/cond.yo: note that -eq and friends are + less convenient for purely numeric work than conditional + expressions. + +2012-03-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Alexey: 30322: Completion/Unix/Command/_xmlsoft: accept more + file types. + +2012-03-06 Barton E. Schaefer <schaefer@zsh.org> + + * 30320: Doc/Zsh/builtins.yo, Src/builtin.c, Src/init.c, + Src/options.c: "emulate" accepts invocation-time setopt flags + after the shell name, in addition to "-c command". + + * 30320 (bonus): Doc/Zsh/params.yo: document interaction of + sun_keyboard_hack with the KEYBOARD_HACK paramter. + + * 30320 (misc.): Etc/FAQ.yo: rectify a minor omission. + +2012-03-05 Clint Adams <clint@zsh.org> + + * 30314: Completion/Unix/Command/_ssh: add completion for + ssh-copy-id. + + * 30316: Completion/Unix/Type/_pdf: complete .pdf for evince and + epdfview. + + * 30317: Completion/Unix/Command/_git: complete git merge --ff-only + +2012-03-05 Peter Stephenson <pws@csr.com> + + * 30307 plus change suggested by Wayne in 30309: configure.ac, + Src/exec.c, Src/glob.c, Src/prompt.c, Src/utils.c, + Src/Modules/parameter.c: use %lld format where available when + zlong is long long. + +2012-03-01 Peter Stephenson <pws@csr.com> + + * 30303: Doc/builtins.yo, Src/options.c: emulate executed inside + a function marked for execution tracing enables xtrace. + +2012-02-29 Barton E. Schaefer <schaefer@zsh.org> + + * 30272 (tweaked): Src/exec.c: most failures of fork() cause + non-interactive shells to exit nonzero; bad options to "exec" + cause exit under POSIX_BUILTINS behavior. + + * unposted (see users/16715): Doc/Zsh/options.yo: document the + effects of HASH_LIST_ALL on spelling correction. + + * 30184: Src/hashtable.c: the HASH_EXECUTABLES_ONLY test matches + the test used during path search in exec.c:iscom(). + + * unposted (see 30090): Functions/Misc/add-zsh-hook: add -h and + -L options for help text and a list of extant hooks respectively. + + * unposted (see users/16697): Functions/Misc/zkbd: select a more + reasonable output file name when the DISPLAY variable refers to a + local socket file (MacOS); fix problem with writing the output + file when the user overrides the default value of TERM. + +2012-02-29 Mikael Magnusson <mikachu@gmail.com> + + * 30276: Src/glob.c: Use zlong rather than int when calculating + brace expansions of the form {1..9}. + +2012-02-29 Peter Stephenson <pws@csr.com> + + * 30299: Src/subst.c, Test/D04parameter.ztst: "$*" was split + in SHWORDSPLIT if IFS was unset or empty. + +2012-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Alexey I. Froloff: 30270: Test/C02cond.ztst: we don't care + about errors from df when testing whether the file system has + noatime. + + * unposted: Config/version.mk: Update version to 4.3.17-dev-0 to + avoid clash with release, also fix incorrect year noticed by + Darryl Zurn. + +2012-02-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: 4.3.17. + +2012-02-22 Peter Stephenson <pws@csr.com> + + * 30238 with small fixes: Doc/Zsh/jobs.yo: document the fork + behaviour on suspending complex builtin execution. + +2012-02-20 Barton E. Schaefer <schaefer@zsh.org> + + * 30242: Src/subst.c, Test/D04parameter.ztst: use PREFORK_SINGLE + for the right-hand side of ${...=...} when SH_WORD_SPLIT is in + effect (POSIX emulation). + +2012-02-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Etc/Config.yo, Completion/X/Type/.distfiles, + Test/.distfiles: 4.3.16. + +2012-02-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30231 plus Mikael's change in 30232: NEWS, README, Etc/FAQ.yo: + updates for 4.3.16. + +2012-02-14 Oliver Kiddle <opk@zsh.org> + + * 30198: Completion/Unix/Command/_sudo, Doc/Zsh/compsys.yo: + fix environ style lookup to be done in conventional manner + + * Mikael: Completion/Debian/Command/_dpkg: fix dpkg-deb + completion broken by 30199 + +2012-02-14 Peter Stephenson <pws@csr.com> + + * users/16760: Functions/Zle/url-quote-magic: make reply + local for the benefit of styles. + +2012-02-13 Frank Terbeck <ft@bewatermyfriend.org> + + * 30214: Functions/Prompts/prompt_redhat_setup: Fix quoting in + `redhat' prompt. + +2012-02-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30203 (plus rename PF_ flags to PREFORK_): Src/exec.c, + Src/glob.c, Src/subst.c, Src/zsh.h, Test/D04parameter.ztst: + Pass sh-wordsplitting instructions to nested parameter + substitution by flags, avoiding side effects of explicitly + changing the option. + +2012-02-11 Mikael Magnusson <mikachu@gmail.com> + + * 30206: Completion/Unix/Command/_ldd: Fix ldd completion broken by + previous commit. + +2012-02-10 Oliver Kiddle <opk@zsh.org> + + * 30199: Completion/Debian/Command/_pbuilder, + Completion/Darwin/Command/_defaults, Completion/Darwin/Command/_fink, + Completion/Darwin/Command/_hdiutil, Completion/Debian/Command/_dak, + Completion/Debian/Command/_debdiff, Completion/Debian/Command/_dpkg, + Completion/Debian/Command/_linda, Completion/Debian/Command/_lintian, + Completion/Debian/Command/_piuparts, + Completion/Linux/Command/_modutils, + Completion/Mandriva/Command/_urpmi, + Completion/Unix/Command/_bittorrent, + Completion/Unix/Command/_bogofilter, Completion/Unix/Command/_cdrdao, + Completion/Unix/Command/_cplay, Completion/Unix/Command/_git, + Completion/Unix/Command/_hg, Completion/Unix/Command/_ldd, + Completion/Unix/Command/_metaflac, Completion/Unix/Command/_pax, + Completion/Unix/Command/_rubber, Completion/Unix/Command/_sisu, + Completion/Unix/Command/_texinfo, Completion/Unix/Command/_vim, + Completion/Unix/Command/_vorbiscomment, + Completion/Unix/Command/_xmms2: + add (-.) to many completion _files globs + + * 30197: Completion/Unix/Command/_subversion: complete changelists + + * 30177: Completion/X/Command/_xterm, + Completion/X/Type/_xft_fonts: completion for fontconfig fonts + +2012-02-09 Barton E. Schaefer <schaefer@zsh.org> + + * 30193: Src/Zle/compcore.c: remnulargs() after poking into string + in case length changes. + +2012-02-08 Peter Stephenson <pws@csr.com> + + * Timothy Redaelli: 30187: Src/hist.c: file name manipulations + in history can return NULL if HAVE_CANONICALIZE_FILE_NAME. + +2012-02-07 Peter Stephenson <pws@csr.com> + + * Holger Macht via Ismail: 30185: Src/Zle/complete.mdd: add + missing openSUSE file locations. + +2012-02-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30127: Src/builtin.c: forbid executing history lines via fc in + the wrong order. + +2012-02-03 Peter Stephenson <pws@csr.com> + + * Mariusz Glebocki: 30179: Completion/Unix/Type/_services: + suppress stderr for service list. + +2012-02-01 Frank Terbeck <ft@bewatermyfriend.org> + + * A.Costa: unposted: Doc/Zsh/grammar.yo, Etc/ChangeLog-3.1: Fix + typo to "definition". + +2012-01-31 Peter Stephenson <pws@csr.com> + + * seiler via Ismail: 30174: Completion/Unix/Command/_osc, + Completion/openSUSE/Command/_osc: update. + + * Felipe: 30158: Test/.distfiles, Test/compgentest, + Test/Y04compgen.ztst: compgen test is not useful with current + bashcopmpinit. + +2012-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Richard Hartmann: 30140: Completion/X/Command/_mplayer: + whitespace fix. + + * Felipe Contreras: 30131, 30132, 30133, 30134, 30135, + 30136, 30137: Completion/bashcompinit: various improvements to + bash-like behaviour. + +2012-01-23 Peter Stephenson <pws@csr.com> + + * Ben: 30118: Completion/Unix/Command/_sqlite, + Completion/Unix/Command/.distfiles: new sqlite completion. + +2012-01-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Ben: 30117 (moved directory): Completion/X/Command/_xclip, + Completion/X/Command/.distfiles: new completion. + +2012-01-19 Frank Terbeck <ft@bewatermyfriend.org> + + * 30114: Functions/VCS_Info/VCS_INFO_check_com: Remove a + superfluous stat(). + +2012-01-16 Frank Terbeck <ft@bewatermyfriend.org> + + * 30111: Src/exec.c: Fix segfaults with exec options. + +2012-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Richard Hartmann: 30110: Completion/Unix/Command/_vcsh, + Completion/Unix/Command/.distfiles: new completion. + +2012-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Stepan Koltsov: 30105: Completion/Unix/Command/_stgit: fix + delete completion. + +2012-01-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/16711: Completion/Unix/Type/_path_commands: try to take + account of PATH_DIRS option in command completion. + + * 30101: Doc/Zsh/options.yo, Src/hashtable.c, Src/options.c, + Src/zsh.h: add HASH_EXECUTABLES_ONLY option, off by default to + avoid problems with huge paths and remote directories. + +2012-01-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30098: Jun T.: Src/params.c: more minimal alternative to + 30079, don't set LANG if LC_ALL set. + +2012-01-06 Peter Stephenson <pws@csr.com> + + * Src/Modules/pcre.c (cond_pcre_match): unposted: fix (harmless) + warning with uninitialised variable. + +2012-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Christian Höltje: 30087: Functions/Prompts/promptinit: remove + any hooks for a prompt theme when removing it. + + * 30084: Doc/Zsh/zle.yo, Src/init.c, Src/Zle/zle_main.c, + Src/Zle/zle_refresh.c, Src/Zle/zle_thingy.c: `zle -T tc func' + defines function to be used insted of termcap output for + testing. + + * 30081: Completion/Base/Core/_main_complete: remove necessity + to have IGNORE_CLOSE_BRACES unset when loaded. + +2012-01-04 Frank Terbeck <ft@bewatermyfriend.org> + + * 30079: Src/params.c: Restore `LC_ALL' when setting `LANG'. + +2012-01-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30084: Src/init.c: zsfree(argzero) before we set it again + following ztrdup() in parseargs(). + +2012-01-02 Barton E. Schaefer <schaefer@zsh.org> + + * 30073 (plus comment): Src/Zle/zle_main.c: use queue_signals() + around critical first call to zrefresh() after zleactive = 1, to + prevent adjustwinsize() loop reported on FreeBSD. + +2011-12-30 Frank Terbeck <ft@bewatermyfriend.org> + + * 30048: Test/C02cond.ztst: Avoid [[ -N ... ]] on file-systems + mounted `noatime', if possible. + + * 30046: Functions/VCS_Info/Backends/VCS_INFO_get_data_svn: Fix + support for subversion version 1.7. + +2011-12-27 Barton E. Schaefer <schaefer@zsh.org> + + * 30069: Doc/Zsh/options.yo: replace empty parens with + LPAR()RPAR(). + +2011-12-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30041: Src/subst.c: the offset hack to make + ${foo:offset:length} bash compatible with positional parameters + doesn't apply when we're indexing into characters of one + positional parameter. + + * T.C. Hollingsworth: 30036: Completion/Unix/Command/_systemctl: + new arguments. + +2011-12-20 Barton E. Schaefer <schaefer@zsh.org> + + * 30033: Src/Zle/zle_keymap.c: silence valgrind warnings about + uninitialized values. + +2011-12-19 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: update version to 4.3.15-dev-0 to + avoid dev version clashing with installation. + +2011-12-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: release 4.3.15. + +2011-12-16 Peter Stephenson <pws@csr.com> + + * Simon Olofsson: 30028: Completion/Unix/Command/_subversion: + fix matching of subversion help text. + +2011-12-14 Mikael Magnusson <mikachu@gmail.com> + + * 30021: Completion/Zsh/Type/_globquals: Add d flag (see 29991), + show what unit the digits are entered in as a hint that the + default is also days. + + * 29783: Completion/Debian/Command/_update-alternatives: Add + more options. + +2011-12-13 Mikael Magnusson <mikachu@gmail.com> + + * 29998: Completion/Unix/Command/_git: fix a typo (--rerbose). + + * 30019: Completion/Unix/Command/_tar: fix parsing of argument + to -C. + +2011-12-13 Barton E. Schaefer <schaefer@zsh.org> + + * 30020: Functions/Prompts/promptinit: prevent prompt_opts and + zle_highlight from leaking out of prompt_preview_theme. + + * 30012: Completion/Base/Core/_main_complete, + Completion/Base/Utility/_arguments, + Completion/Base/Utility/_values, Completion/Zsh/Command/_zle, + Doc/Zsh/compsys.yo: add $state_descr which parallels the $state + array in the same way that $context does, to make the "message" + part of each _arguments "optarg" specification available to + the caller's state handler. Used in _zle as the description + passed to _wanted. + +2011-12-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 30000 plus a couple of comments: Src/exec.c: Better POSIXJOBS + behaviour: don't restore default behaviour for SIGTTOU etc. if + we're still doing job handling, and only continue with job + handling if this is a (...) subshell. + +2011-12-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * discussed in 29984: Doc/Zsh/compsys.yo: use m+7 for files + "more than a week old" since w+1 is a bit counterintuitive. + + * 29991: Doc/Zsh/expn.yo, Src/glob.c: allow explicit 'd' for + days in time qualifiers. + +2011-12-10 Mikael Magnusson <mikachu@gmail.com> + + * 29962: Completion/Unix/Command/_ssh: Actually return ret. + + * 29961: Completion/Unix/Command/_ssh: Extend option completion. + +2011-12-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * GI: 29977: Completion/Linux/Command/_modutils: caching and + function definition fixes. + +2011-12-09 Simon Ruderich <simon@ruderich.org> + + * 29918: Completion: Add new _remote_files() helper and use it to + reduce code duplication. + + * 29917: Completion/Unix/Command/_ssh: Tabs to spaces. + +2011-12-09 Mikael Magnusson <mikachu@gmail.com> + + * unposted: Doc/Zsh/compsys.yo: Remove duplicated 'the'. + + * 29409: Completion/X/Command/_x_utils: Add completion for xprop and + xlsatoms. + +2011-12-09 Peter Stephenson <pws@csr.com> + + * unposted: Completion/compinit: add NO_ignoreclosebraces to + options needed in completion. + + * users/16614: config.guess, config.sub: update from automake + 1.11.1. + +2011-12-09 Mikael Magnusson <mikachu@gmail.com> + + * 29876: Completion/Unix/Command/_getent: Update getent completion + to work when additional output comes after the databases. + +2011-12-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29955 with bits pointed out by Mikael and Bart: + Doc/Zsh/grammar.yo, Doc/Zsh/options.yo, Src/lex.c, + Src/options.c, Src/zsh.h, Test/E01options.ztst: add + IGNORE_CLOSE_BRACES option. + +2011-12-08 Peter Stephenson <pws@csr.com> + + * 29928: Test/A04redirect.ztst: belated commit to + fix OpenBSD test failure. + +2011-12-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Etc/version.mk: update version to 4.3.14-dev-0 to + avoid installs clashing with release. + +2011-12-07 Oliver Kiddle <okiddle@yahoo.co.uk> + + * 29952: Src/glob.c: fix cut'n'paste error in nanosecond + timestamp support + +2011-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Config/version.mk: release 4.3.14. + +2011-12-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29940: Src/utils.c (metafy): null termination shouldn't + be applied to original buffer if not to be modified. + + * From Stef VAN VLIERBERGHE: 29934: Src/lex.c (add): use of + uninitialised memory when lexer needed to reallocate token. + +2011-12-02 Peter Stephenson <pws@csr.com> + + * unposted: Test/B01cd.ztst: fix documentation for '*' + test output syntax. + +2011-12-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29924: Test/A04redirect.ztst, Test/B01cd.ztst, Test/ztst.zsh: + add ability to match output of tests using patterns. + +2011-12-01 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_nm: also complete + directories. + + * 29923: Test/A04redirect.ztst: work around variant message from + strerror() for invalid file descriptor. + +2011-11-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Config/version.mk: 4.3.13 release. + +2011-11-28 Peter Stephenson <pws@csr.com> + + * Ismail Dönmez: 29920: Src/Subst.c: error with arithmetic + substitution with NO_EXEC. + +2011-11-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Config/version.mk: 4.3.12-test-3. + +2011-11-24 Simon Ruderich <simon@ruderich.org> + + * 29916: Completion/Unix/Command/_git: Prevent clash with + _remote_files() in _ssh. + +2011-11-24 Peter Stephenson <pws@csr.com> + + * 29915: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_nm: new nm completion. + +2011-11-23 Peter Stephenson <pws@csr.com> + + * Ignacy Gawędzki: 29912: Completion/Unix/Command/_ssh: add "--" + to end options to ls. + +2011-11-21 Peter Stephenson <pws@csr.com> + + * Foudil Brétel: 29911: add --no-legend support (v37+); multiple + bug fixes (aliases, array range); workaround compadd bug + (compadd handles its own options) + +2011-11-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * gi1242+zsh: users/16587: Completion/Unix/Command_lp: tidy up. + +2011-11-18 Peter Stephenson <pws@csr.com> + + * 29908: Doc/Zsh/contrib.yo, Functions/MIME/.distfiles, + Functions/MIME/zsh-mime-contexts, Functions/MIME/zsh-mime-handler: + make MIME functions handle contexts with stacked suffixes such + as .pdf.gz. + +2011-11-17 Peter Stephenson <pws@csr.com> + + * Jun T.: 29907: Src/Modules/pcre.c: remove declaration of + unused variable. + +2011-11-15 Barton E. Schaefer <schaefer@zsh.org> + + * users/16581: Src/utils.c: it seems wrong to shortcut correction + of words not in command position by comparing them to the command + tables, so don't; if a command correction is rejected, reset the + incremental path hashing so the new command can be "learned". + +2011-11-14 Peter Stephenson <pws@csr.com> + + * gi1242: users/16578: Completion/Unix/Command/_lp: lpadmin, + lpinfo and other changes. + +2011-11-09 Frank Terbeck <ft@bewatermyfriend.org> + + * Akinori MUSHA: 29900: + Functions/VCS_Info/Backends/VCS_INFO_detect_svn: Adjust detection + to support subversion 1.7. + +2011-11-08 Peter Stephenson <pws@csr.com> + + * Haakon Riiser: 29895, 29887: Completion/Unix/Command/_ffmpeg, + Completion/Linux/Command/_nmcli (plus + Completion/Linux/Command/.distfiles): update and new + NetworkManager client completion. + +2011-11-07 Simon Ruderich <simon@ruderich.org> + + * 29893: Completion/Unix/Command/_ssh: Update (mostly) for 5.9. + +2011-11-07 Peter Stephenson <pws@csr.com> + + * 29894: Doc/Zsh/contrib.yo, Functions/Zle/replace-string: + display previous replacement and reuse if source string is empty. + +2011-11-04 Peter Stephenson <pws@csr.com> + + * 29892: Functions/Zle/read-from-minibuffer, + Functions/Zle/replace-string: fix regular expression + replacements right of the cursor; make save and restore + in read-from-minibuffer more automated. + + * 29891: Doc/Zsh/zle.yo, Src/Zle/zle_thingy.c: allow "zle -lL" + with arguments to list in -L format. + +2011-10-31 Peter Stephenson <pws@csr.com> + + * Jun T: 29883: Src/Builtins/rlimits.c, Src/Modules/zftp.c: cast + to type in printf to work around cases where types aren't + properly distinguished. + +2011-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/16547: Completion/Unix/Command/_perforce: quote + arguments with colon in from _describe. + +2011-10-28 Peter Stephenson <pws@csr.com> + + * Src/module.c (do_load_module): 29879: (via takimoto-j): Metafy + dlerror message to avoid corruption. + +2011-10-26 Phil Pennock <pdpennock@users.sourceforge.net> + + * 29867: Bart Schaefer: Test/V07pcre.ztst: exit early with + unimplemented status if zsh/pcre not available; combined with + Peter's 29865 fix, should make PCRE testing robust. + +2011-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29844, 29845: Src/exec.c, Test/A04redirect.ztst: remove bogus + error on closing fd's 0 to 9; update test. + +2011-10-26 Peter Stephenson <pws@csr.com> + + * 29865: Src/Modules/pcre.mdd: don't compile if no pcre-config. + + * 29859: Src/Zle/Complete.c: compadd handles its own options. + +2011-10-24 Peter Stephenson <pws@csr.com> + + * Jérémie Roquet: c.f. users/16541: Doc/Zsh/cond.yo: + should be "filename generation", not "file generation". + + * Foudil Brétel: 29842: Completion/Unix/Command/_systemctl: + major rewrite. + +2011-10-24 Phil Pennock <pdpennock@users.sourceforge.net> + + * 29838: Src/Modules/pcre.c: metafy/unmetafy strings, to + correctly handle non-ASCII characters in UTF-8 for regexp + matches. + + * unposted: Test/V07pcre.ztst: some PCRE tests + +2011-10-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/16492: MACHINES: OpenIndiana issue. + +2011-10-22 Simon Ruderich <simon@ruderich.org> + + * 29823: Completion/Unix/Command/_perl: Update for 5.14.1. + +2011-10-19 Frank Terbeck <ft@bewatermyfriend.org> + + * Suraj N. Kurapati: 29828: Misc/vcs_info-examples: Mention + different ways to handle remote branch names in + `vi-git-remotebranch()'. + +2011-10-17 Peter Stephenson <pws@csr.com> + + * unposted: NEWS, README, Config/version.mk, Etc/.distfiles, + Etc/FAQ.yo, Etc/relnote_4.3.12.txt: tidy up and update for + 4.3.12-test-2. + + * unposted: Completion/Unix/Command/_perforce: small + documentation update. + +2011-10-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29820: Doc/Zsh/compsys.yo, + Completion/Base/Utility/_pick_variant: -b option to match + builtins. + +2011-10-12 Mikael Magnusson <mikachu@gmail.com> + + * 29815: Doc/Makefile.in: include mod_langinfo in documentation. + +2011-09-25 Barton E. Schaefer <schaefer@zsh.org> + + * 29799: Src/utils.c: swap order of RESET_PROMPT / REFRESH in + adjustwinsize() so that the cursor is moved to the start of a + multi-line prompt before the prompt is actually displayed. + + * 29769: Src/signals.c: handle thisjob == -1 (no foreground job) + when checking for whether a background job is allowed to suspend. + + * unposted: Doc/Zsh/modules.yo: cross-reference zmodload. + +2011-09-22 Peter Stephenson <pws@csr.com> + + * Daniel Friesel: 29796: Completion/X/Command/_mplayer: complete + .webm. + +2011-09-21 Peter Stephenson <pws@csr.com> + + * Luka Perkov: 29788: Completion/Unix/Command/_quilt: + improved quilt completion. + +2011-09-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/16375: Src/Zle/complist.c: initialise number of + references each time for multiple match tests when + highlighting. + +2011-09-16 Mikael Magnusson <mikachu@gmail.com> + + * 29764, 29765: Completion/Unix/Command/_pgrep: use _users and + _groups rather than reimplementing them, use _wanted instead + of plain compadd to get descriptions, return 0 on success, + fix conditions on -f and -x, complete pts/* for -t too. + +2011-09-15 Peter Stephenson <pws@csr.com> + + * 29776 (modified as noted): Src/lex.c, Test/D08cmdsubst.ztst: + double quotes are not special in double-quote-style parsing + if the end character is something else. + + * 29773: Marco Hinz: Completion/Unix/Type/_perl_modules: + complete some missed modules. + +2011-09-10 Clint Adams <clint@zsh.org> + + * 29762: Completion/Debian/Command/_bts: bts completion tag + update from Ansgar Burchardt. + +2011-09-10 Barton E. Schaefer <schaefer@zsh.org> + + * 29760: Completion/compaudit: declare _i_ulwdirs and make sure + it is correctly referenced. + +2011-09-07 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: updates for + 2010.2 release. + +2011-09-07 Simon Ruderich <simon@ruderich.org> + + * 29756: Doc/Zsh/params.yo: DIRSTACKSIZE is unlimited by default. + + * 29757: Doc/Zsh/compsys.yo: Remove superfluous brace. + +2011-09-07 Mikael Magnusson <mikachu@gmail.com> + + * 29755: Completion/Unix/Command/_ssh: add -O stop to to _ssh. + +2011-09-06 Mikael Magnusson <mikachu@gmail.com> + + * 29736: Doc/Zsh/mod_zutil.yo: mention when zstyle -t returns 1. + + * 29738: Completion/Unix/Command/_ssh: add PreferredAuthentications + completion. + + * 29739: Completion/Unix/Command/_rsync: redefine _rsync(), make + -e accept cuddled arguments. + + * 29740: Completion/Unix/Command/_wget: add --content-disposition. + + * 29741: Completion/Zsh/Command/_zattr: add ret=0, fix filename + globbing like in 27658 for _zip. + + * 29733: Jonathan Kolberg: Completion/Debian/Command/_apt: add + completion for apt-get changelog. + +2011-09-05 Barton E. Schaefer <schaefer@zsh.org> + + * users/16302: Completion/Unix/Type/_path_files: pattern matching + for plain files (e.g., *.pdf for xpdf completion) was broken by + 29444. Hopefully this does not re-break directory patterns. + +2011-08-30 Simon Ruderich <simon@ruderich.org> + + * 29745: Mikael Magnusson: Completion/X/Command/_mplayer: fix -ss + completion. + +2011-08-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29744: Src/builtin.c: don't mess up non '-A' case in + 29731. + +2011-08-29 Barton E. Schaefer <schaefer@zsh.org> + + * users/16291: Functions/Prompts/prompt_bart_setup: revert to + using history text in non-"fg" case to avoid alias expansion. + +2011-08-29 Mikael Magnusson <mikachu@gmail.com> + + * 29722: Completion/X/Command/_mplayer: escape colon. + + * 29706: Completion/X/Command/_mplayer: add missing ret=0. + +2011-08-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29731: Src/builtin.c, Test/B04read.ztst: fix output from `read + -AE' and test that and `read -Ae'. + + * users/16289: Doc/Zsh/expn.yo, Src/exec.c, Src/jobs.c: don't + delete temporary files when disowning and document this. + +2011-08-20 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Functions/Zle/.distfiles: add move-line-in-buffer + + * 29711: Completion/compaudit: avoid calling potentially-slow + "getent group" unless group-writable directories are found. + +2011-08-20 Nikolai Weibull <now@bitwi.se> + + * 29707: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_ln: New _ln completer. + +2011-08-18 Mikael Magnusson <mikachu@gmail.com> + + * unposted: Completion/Linux/Command/.distfiles, + Completion/Linux/Command/_schedtool, + Completion/Zsh/Command/.distfiles, + Completion/Zsh/Command/_schedtool: move _schedtool completion + to correct directory. + + * 29705: Completion/Unix/Command/_iconv: add correct number of + slashes when completing //TRANSLIT. + +2011-08-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29703: Src/exec.c, Src/subst.c, Test/D03procsubst.ztst: + + * users/16253, users/16255: Src/utils.c, Test/D04parameter.ztst: + A nulstring should be split like an empty string. + + * Anthony R Fletcher: users/16260: + Completion/Unix/Command/_systemctl: new completion. + +2011-08-17 Nikolai Weibull <now@bitwi.se> + + * 29698: Completion/Unix/Command/_git: Complete diff options for git + log. + +2011-08-17 Mikael Magnusson <mikachu@gmail.com> + + * 29681: Src/Zle/zle_refresh.c: consistently use [] to access + region_highlights. + + * 29682: Completion/Zsh/Command/.distfiles, + Completion/Zsh/Command/_schedtool: new _schedtool completer. + + * 29683: Completion/Unix/Command/_ssh: add -O forward to _ssh. + + * Daniel Friesel: 29690: Completion/Linux/Command/_cryptsetup, + Completion/Unix/Command/_twidge: new _twidge and _cryptsetup + completers. + +2011-08-16 Barton E. Schaefer <schaefer@zsh.org> + + * 29694: Src/hist.c: Don't overwrite the current history word if + we aren't actually expanding an alias or history event. + + * users/16251: Functions/Prompts/prompt_bart_setup: use a preexec + hook to replace "fg" et al. with the jobtext of the resumed job. + +2011-08-16 Wayne Davison <wayned@users.sourceforge.net> + + * 29650: Src/jobs.c: don't lose the the time info after a + suspend+restore. + +2011-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/Modules/datetime.c: use pm->node.nam to get + parameter names for errors. + +2011-08-14 Mikael Magnusson <mikachu@gmail.com> + + * 29673: Doc/Zsh/compsys.yo: clarify what 'other' in the + ignore-line style does. + + * 28852: Misc/zargs, Zle/match-words-by-style: use syntax that + doesn't depend on SHORT_LOOPS being set. + + * unposted: Src/hist.c: fix a typo in a comment. + + * unposted: Src/jobs.c: fix capitalized word in the middle of + a sentence. + + * 29388, 29680: Doc/Zsh/expn.yo: clarify note about e:string: + quoting. + + * 29504: Doc/Zsh/expn.yo: note when (#cN,M) can't be used in + place of # or ##. + +2011-08-14 Barton E. Schaefer <schaefer@zsh.org> + + * 29677: Src/exec.c, Src/signals.c, Src/zsh.h: flag jobs that are + builtins running in the current shell, and if they control a + pipeline, do not allow the external processes in that pipeline to + become suspended when the foreground shell cannot suspend. + +2011-08-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Src/Modules/datetime.mdd: unposted: also fix the autofeatures. + + * Src/params.c: unposted: Src/params.c, Test/V04features.ztst: + fix some tests I broke. + + * Src/subst.c: 29674: Src/Modules/datetime.c, + Doc/Zsh/mod_datetime.yo: add $epochtime array. + +2011-08-10 Peter Stephenson <pws@csr.com> + + * 29663: configure.ac, Src/module.c, Src/Modules/datetime.c, + Doc/Zsh/mod_datetime.yo: add $EPOCHREALTIME for time in + double precision floating point. + +2011-08-04 Peter Stephenson <pws@csr.com> + + * 29643: Src/signals.c, Src/utils.c, Src/zle_main.c: set + incompfunc to zero when executing hook or trap function. + +2011-08-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29661: Doc/Zsh/redirect.yo: Improve the documentation for + {var}>... redirections. + +2011-08-09 Barton E. Schaefer <schaefer@zsh.org> + + * 29654: Src/jobs.c: "wait" should resume stopped jobs identified + by process ID as well as by job number. + + * 29654: Src/exec.c: don't hide the job table entry for the left + side of a pipline that ends in a shell builtin. This change may + be backed out if the patch in 29660 can be improved. + +2011-08-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29644: Functions/Chpwd/zsh_directory_name_cdr, + Src/Zle/compcore.c, Src/Zle/zle_tricky.c: Work round a bug in + _describe, plus a new comment and some more braces. + + * 29633: Doc/Zsh/func.yo, Src/parse.c, Test/C04funcdef.ztst: be + more careful that anonymous function syntax doesn't mess up + working syntax with other functions. + +2011-08-03 Peter Stephenson <pws@csr.com> + + * 29635: Completion/Base/Widget/_complete_debug: Improve file + descriptor handling and standardise syntax. + +2011-07-29 Frank Terbeck <ft@bewatermyfriend.org> + + * Luka Perkov: 29624: Completion/Unix/Command/_quilt: Improve + `push' and `pop' completion. + +2011-07-28 Peter Stephenson <pws@csr.com> + + * 29626: Src/parse.c, Test/C04funcdef.ztst: arguments to + anonymous functions shouldn't be parsed as command words. + + * 29602 and subsequent changes: Doc/Zsh/expn.yo: clarify meaning + of filename extension in :r and :e modifiers (which were + slightly inconsistent). + +2011-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29561: Test/A04redirect.ztst: this bit didn't get committed, + somehow. + +2011-07-27 Mikael Magnusson <mikachu@gmail.com> + + * 29618: Completion/Linux/Command/_ethtool, + Completion/Zsh/Type/_file_descriptors: Fix some syntax to not depend + on SHORT_LOOPS being set. + +2011-07-25 Peter Stephenson <pws@csr.com> + + * 29561: Src/exec.c, Src/utils.c, Test/A04redirect.ztst: Allow + closing of file descriptors not recorded internally by the shell. + +2011-07-22 Mikael Magnusson <mikachu@gmail.com> + + * 29596: Completion/compinit: Fix syntax to work with KSH_ARRAYS + set. + +2011-07-22 Nikolai Weibull <now@bitwi.se> + + * unposted: Completion/Unix/Command/_git: Use _files, not _path_files. + + * 29582: Completion/Unix/Command/_git: Alter the way that commands and + aliases are listed when both are requested. + + * 29589: Completion/Unix/Command/_git, + Completion/Debian/Command/_git-buildpackage: Use #description instead + of #desc: for description of third-party commands. Also, refactor the + code to match the rest of the file. + +2011-07-21 Nikolai Weibull <now@bitwi.se> + + * 29272: Completion/Unix/Command/_git: Use return values correctly + accross all completion functions. + + * unposted: Completion/Unix/Command/_git: Move _gitk and _tig to + correct location. + + * unposted: Completion/Unix/Command/_git: Fix bug in git-add completion + that prevented -f option from being used correctly. + + * unposted: Completion/Unix/Command/_git: Update git-add completion to + not complete already given file arguments and also to not list file + completions if an option is being completed. + + * unposted: Completion/Unix/Command/_git: Adjust some TODO items. + +2011-07-19 Peter Stephenson <pws@csr.com> + + * 29555: Src/exec.c: fix problem that shell failed to use file + descriptor opened in parent if beyond max_zsh_fd. + +2011-07-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/16131: Src/hist.c: skip reading an empty history file. + +2011-07-18 Peter Stephenson <pws@csr.com> + + * Matthieu Baerts: 29547: Completion/Unix/Command/_bzr: cdiff + subcommand. + +2011-07-12 Peter Stephenson <pws@csr.com> + + * 29543: Src/hist.c: saved history lines with backslash-newline + in the middle of words confused histlexwords. + + * 29542: Src/hist.c, Src/Zle/zle_main.c: remove test when + initialising history that could cause crashes (and was probably + never useful); ensure ZLE returns NULL if there's an error. + +2011-07-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Eric Moors: 29531: Completion/Unix/Command/_adb: completion + for Android debugger. + +2011-07-03 Frank Terbeck <ft@bewatermyfriend.org> + + * unposted: Doc/Zsh/contrib.yo: Fix typo "paramter". Caught by + debian's lintian. + +2011-07-01 Peter Stephenson <pws@csr.com> + + * 29530: Src/subst.c, Test/E01options.ztst: ${..?..} shouldn't + cause an error with NO_EXEC option. + +2011-07-01 Frank Terbeck <ft@bewatermyfriend.org> + + * 29518: Completion/Unix/Command/_git: Fall back to file + completion for unknown sub-commands. + + * 29527: Completion/Unix/Command/_git: Make file-completion + fallback optional. + + * 29519: Completion/Unix/Command/_git: Pick up addon completions + from $fpath. + + * 29521: Completion/Unix/Command/_git: Add `user-commands' support + again. + + * 29523: Completion/Debian/Command/_git-buildpackage: Use "#desc:" + line for _git third-party add-on completion description. + + * Daniel Bolton: 29529: Completion/Debian/Command/_aptitude: Complete + format specifiers with the `-F' option. + +2011-06-30 Frank Terbeck <ft@bewatermyfriend.org> + + * 29526: Functions/VCS_Info/vcs_info: Set `max-exports' early + after certain `start-up' hooks. + +2011-06-28 Frank Terbeck <ft@bewatermyfriend.org> + + * Sebastian Ramacher: 29513: Completion/Debian/Command/_apt: Add + markauto and unmarkauto sub-commands. + +2011-06-27 Peter Stephenson <pws@csr.com> + + * Mikael Muszynski: 29510: Completion/X/Command/_mplayer: + complete .m4v files. + +2011-06-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Axel Beckert: 29506: Doc/Zsh/params.yo: use format + SINGLE_LINE_ZLE as elsewhere in manual. + +2011-06-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29503: Src/exec.c: Missing popheap() on failed autoload. + +2011-06-20 Peter Stephenson <pws@csr.com> + + * unposted: update version to 4.3.12-dev-1 as wordcode + now incompatible with anonymous functions. + +2011-06-20 Doug Kearns <dougkearns@gmail.com> + + * unposted: Completion/BSD/Command/_sockstat, + Completion/Debian/Command/_git-buildpackage, + Completion/Unix/Command/_at, Completion/Unix/Command/_lp, + Completion/Unix/Command/_unison, Completion/X/Command/_matlab, + Completion/X/Command/_okular, Completion/Zsh/Function/_zargs: clean up + completion descriptions as per Etc/completion-style-guide. + +2011-06-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Luka Perkov: 29493: Completion/Unix/Type/_pdf: handle apvlv. + + * 29492: Doc/Zsh/func.yo, Src/exec.c, Src/parse.c, Src/text.c, + Test/C04funcdef.ztst: add argument handling to anonymous functions. + + * unposted: Src/Zle/zle_refresh.c: remove additional loop + noticed by Mikael. + + * 29491: Src/glob.c, Src/lex.c, Src/math.c, Src/params.c, + Src/parse.c, Src/utils.c, Src/Modules/db_gdbm.c, + Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/zle_refresh.c, + Src/Zle/zle_tricky.c: remove some variables set but not used. + + * 29490: Src/Builtins/rlimits.awk, Src/Builtins/rlimits.c, + Src/Builtins/rlimits.mdd: add RLIMIT_RTTIME. + +2011-06-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Michel Dos Reis: 29482: Completion/Linux/Command/_modutils: + handle .gz kernel modules. + +2011-06-16 Doug Kearns <dougkearns@gmail.com> + + * 29483: Completion/Unix/Command/_vim: add --servername completion. + +2011-06-15 Barton E. Schaefer <schaefer@zsh.org> + + * 29481: Src/jobs.c, Src/signals.c: always return a matching job + in findproc() [reverses 28967 and 29472], but scan the whole list + to prefer running jobs in the rare event that one running and one + exited job share a PID. + +2011-06-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/compwid.yo: document change to brace + parameter context in 29452/29459. + +2011-06-12 Barton E. Schaefer <schaefer@zsh.org> + + * 29472: Src/jobs.c: findproc() needs at least to also return + stopped jobs. See 28967. + +2011-06-08 Peter Stephenson <pws@csr.com> + + * Jeremy Sylvestre: 29468: Functions/Zle/define-composed-chars: + add some ligatures and symbols. + +2011-06-06 Peter Stephenson <pws@csr.com> + + * 29462: Src/subst.c: fix warning with some compilers (code was + already safe). + +2011-06-05 Clint Adams <clint@zsh.org> + + * unposted: Functions/Zle/move-line-in-buffer: clean + the funny characters out of move-line-in-buffer. + +2011-06-04 Barton E. Schaefer <schaefer@zsh.org> + + * 29444: Completion/Unix/Type/_path_files: when called with a + pattern to match directories, as from _files with list-dirs-first, + do not descend into subdirectories looking for fake files unless + some fake files have been defined. + +2011-06-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29459: Completion/Zsh/Context/_brace_parameter, + Src/Zle/compcore.c (check_param): In shell function, check for + ${( not at start of match; in C code, check for untokenized + parentheses when in double quotes. + +2011-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29452: Completion/Zsh/Context/_brace_parameter, + Src/Zle/compcore.c (typo corrected): allow completion + of parameter flags. + +2011-06-03 Mikael Magnusson <mikachu@gmail.com> + + * 29438: Completion/Zsh/Context/_subscript: adjust pattern so + we complete dynamic directory names in command position as well. + + * 29448: Completion/Unix/Command/_initctl: complete symlinks + to files too. + + * 29422: Test/D04parameter.ztst: Fix test for g:: to not depend + on the current locale. + +2011-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29451: Src/subst.c, Test/D04parameter.ztst: ${##stuff} + removes stuff from the head of $#. + + * 29413: Doc/Zsh/builtins.yo, Src/builtin.c, Src/hist.c: print + -S takes a single argument, applies lexical history word + splitting, and puts it on the history. + +2011-06-02 Frank Terbeck <ft@bewatermyfriend.org> + + * 29434: Doc/Zsh/contrib.yo: Use PLUS() to avoid a + being + silently dropped. + +2011-06-01 Frank Terbeck <ft@bewatermyfriend.org> + + * 29412: Completion/Unix/Command/_tmux: Disable sub-command + completions if tmux is not found in `$path'. + + * Valentin Haenel: 29431: Misc/vcs_info-examples: Hook example for + signaling untracked files in git repositories. + +2011-06-01 Barton E. Schaefer <schaefer@zsh.org> + + * users/16064: Functions/Zle/move-line-in-buffer: example widget + for moving in multiline buffers without navigating history + + * 29416 (plus typo fixes): Doc/Zsh/contrib.yo: Fix (mis-)uses of + var() in vcs_info documentation. + +2011-05-31 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Config/version.mk: update version to 4.3.12-dev-0 + to avoid confusion with release. + +2011-05-31 Frank Terbeck <ft@bewatermyfriend.org> + + * Jan Pobrislo: 29411: + Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr: vcs_info: Major + bzr backend update. + +2011-05-31 Barton E. Schaefer <schaefer@zsh.org> + + * 29410: Test/V01zmodload.ztst: skip autoload persistence test + when zsh/example module is not available. + +2011-05-31 Mikael Magnusson <mikachu@gmail.com> + + * Omari Norman: users/16057: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_tree: Add completion for tree. + +2011-05-31 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: release 4.3.12. + +2011-05-29 Nikolai Weibull <now@bitwi.se> + + * unposted: Completion/Unix/Command/_git: Update git-branch completion + to deal with -r and -d correctly. + +2011-05-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29403: Src/hist.c: histlexwords splitting of ";;" in case. + +2011-05-27 Mikael Magnusson <mikachu@gmail.com> + + * 28364: Doc/Zsh/zle.yo: Document that space left by wrapping + double-width characters is highlighted with the 'special' style. + + * 29384: Completion/Base/Completer/_expand, + Completion/Unix/Type/_have_glob_qual, + Completion/Unix/Type/_path_files, Completion/compinit: Add + _comp_caller_options and use it in completions that want to + check values of options that are overwritten by _comp_options. + + * 29334: Completion/Unix/Command/_sh: Complete options for zsh with + _arguments --. + + * 29392: Doc/Zsh/compsys.yo: Remove now-defunct use-perl style + documentation. + + * 29387: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_at: Add completion for at and friends. + + * 29385: Doc/Zsh/compsys.yo: Document when directories and + local-directories are used. + +2011-05-27 Barton E. Schaefer <schaefer@zsh.org> + + * 29382: Src/Modules/curses.c: apply 29374 to zccmd_input too. + +2011-05-27 Mikael Magnusson <mikachu@gmail.com> + + * 29331: NEWS: Note g:: parameter expansion flag. + + * 29365: Completion/Unix/Command/_make: redefine _make so that + helper functions are only defined once. + + * 29376: Completion/Unix/Command/_initctl: redefine _initctl so + that helper functions are only defined once. + + * unposted: Doc/Zsh/params.yo: Document that PROMPT_EOL_MARK can + be empty, forgot in 28480. + + * 29329: Src/math.c: Fix undefined behaviour in function argument + evaluation order. + +2011-05-26 Peter Stephenson <pws@csr.com> + + * unposted: Etc/CONTRIBUTORS: expand. + + * 29374: Src/Zle/zle_main.c: Exit ZLE immediately if exit + is pending when a keypress is expected. + +2011-05-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Bernhard Tittelbach: 29371: Completion/Unix/Command/_initctl: + completion for initctl and related system job management + utilities. + +2011-05-24 Barton E. Schaefer <schaefer@zsh.org> + + * 29368: Src/exec.c: do not restore xtrerr to stderr before + running simple commands; restore xtrerr to stderr just before + running a function body, but after printing the trace of + the function call itself. + + * 29367: Test/E02xtrace.ztst: update tests to fix mistaken + assumptions introduced by 25145 and add check of redirection + inside a function body. + +2011-05-24 Mikael Magnusson <mikachu@gmail.com> + + * 29364: Completion/Unix/Command/_make: Partial fix for + completion in dirs with spaces and other unusual characters. + + * 29335: Completion/Linux/Command/_valgrind: Update the hack + for --tool= completion. + + * 29338: Completion/Base/Core/_main_complete: Correct pattern + checking for true value in insert-tab style. + +2011-05-23 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: 4.3.11-dev-4. + + * 29351: Src/subst.c: need to cast non-integer + stdarg arguments to integer to fit % prototype. + + * unposted: Completion/Unix/Command/_go: typo + + * 29341, corrected: Completion/Unix/Command/_go, + Completion/Unix/Command/.distfiles: basic completion for + commands associated with the Go programming language. + +2011-05-22 Mikael Magnusson <mikachu@gmail.com> + + * unposted: Doc/Zsh/compsys.yo, ChangeLog: Quote -e with tt(). + Fix some formatting in ChangeLog. + + * 29328: Completion/Redhat/Command/_rpm, + Completion/Unix/Command/_git, Completion/Unix/Command/_gnutls, + Completion/Unix/Command/_gpg, Completion/Unix/Command/_growisofs, + Completion/Unix/Command/_php: Another missing backslash in _git, + remove some not needed backslashes in array definitions. + +2011-05-19 Mikael Magnusson <mikachu@gmail.com> + + * 29224: Doc/Zsh/expn.yo, NEWS, Src/subst.c, + Test/D04parameter.ztst: Support negative LEN in ${VAR:OFFSET:LEN} + like bash. + + * 29261: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: + Add g:: parameter expansion flag. Add note that s:: can take an + empty string. + + * 29307, 29308 + replies: Completion/BSD/Command/_bsd_pkg, + Completion/Base/Utility/_sep_parts, Completion/Unix/Command/_git, + Completion/Unix/Command/_osc, Completion/Unix/Command/_perforce, + Completion/compinit, Completion/openSUSE/Command/_osc, + Completion/openSUSE/Command/_zypper, Doc/Zsh/builtins.yo, + Doc/Zsh/calsys.yo, Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, + Doc/Zsh/compwid.yo, Doc/Zsh/contrib.yo, + Doc/Zsh/expn.yo, Doc/Zsh/zle.yo, Etc/CONTRIBUTORS, + Functions/Calendar/calendar_parse, Functions/Misc/sticky-note, + Functions/TCP/tcp_read, Functions/Zftp/zfcput, Src/Zle/compctl.c, + Src/Zle/zle_hist.c, Src/exec.c, Src/hist.c, Src/jobs.c, Src/lex.c, + Src/math.c, Src/params.c, Src/subst.c: Fix some doubled words in + docs and comments. + +2011-05-18 Wayne Davison <wayned@users.sourceforge.net> + + * Valentin Haenel: 29315: Completion/Unix/Command/_git: add a + missing backslash. + +2011-05-17 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Doc/Zsh/options.yo: tweak description of the -l (LOGIN) + option for clarity. + + * 29313: Src/subst.c: when SHWORDSPLIT is in effect, the state of + the (@) expansion flag depends on the value of $IFS so as to mimic + Bourne shell join/split behavior more closely (see users/15442). + + * 29312, users/16032: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: + add "zparseopts -M" which allows option descriptions to map + synonymous option names onto a single name. + +2011-05-17 Clint Adams <clint@zsh.org> + + * 29306: Completion/Debian/Command/_make-kpkg: typo fix + from Laurent Fousse. + +2011-05-17 Frank Terbeck <ft@bewatermyfriend.org> + + * Nikolai Weibull: 29166: Completion/Unix/Command/_git: Speed + improvements for file completion. + +2011-05-17 Nikolai Weibull <now@bitwi.se> + + * 29273: Completion/Unix/Command/_git: Parse compadd options in + __git_guard_number. + +2011-05-14 Barton E. Schaefer <schaefer@zsh.org> + + * 29278: Completion/Unix/Type/_path_files: fix use of the $skips + pattern from the squeeze-slashes style. + +2011-05-14 Mikael Magnusson <mikachu@gmail.com> + + * 29271: Doc/Zsh/compwid.yo: document _alternative -O name. + +2011-05-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29282: Src/mem.c: hide prototypes for ZSH_HEAP_DEBUG with + #ifdef's. + +2011-05-14 Bart Schaefer <schaefer@zsh.org> + + * 29276: Src/zsh.h: typedef Heapid unconditionally, to prevent + compile errors in automatically-generated header files. + +2011-05-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29268: Src/Zle/compcore.c: dupstring() the value that's + going to be used for prpre, whatever the heck that is. + + * 29267: configure.ac, Src/mem.c, Src/zsh.h, Src/Zle/comp.h, + Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complist.c, + Src/Zle/compresult.c: add --enable-zsh-heap-debug and use + for debugging completion matcher groups. + +2011-05-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Danek: 29254: Src/cond.c, Src/Builtins/rlimits.c, + Src/Modules/datetime.c, Src/Modules/zftp.c, Src/Zle/computil.c: + fix some compiler warnings. + +2011-05-13 Peter Stephenson <pws@csr.com> + + * Jérémie Roquet: 29258: Src/Zle/zle_utils.c: mark a couple + more functions for export. + + * unposted (late commit): Completion/Unix/Command/.distfiles, + Config/version.mk, Test/.distfiles: update for 4.3.11-dev-3. + +2011-05-12 Mikael Magnusson <mikachu@gmail.com> + + * 29245: Completion/X/Command/_xset: pass -O instead of -o + to _describe. + + * Nikolai Weibull: 29124: Completion/Unix/Command/_git: Fix + -l option. + + * 29205: Completion/Unix/Type/_pids: don't sort processes. + + * 29208: Src/Zle/zle_move.c: make vimatchbracket check the + character left of the cursor when at the end of the line. + +2011-05-11 Mikael Magnusson <mikachu@gmail.com> + + * 29206: Doc/Zsh/mod_complist.yo: fix formatting. + +2011-05-11 Peter Stephenson <pws@csr.com> + + * 29217: Src/zsh.mdd: zshterm.h and zshcurses.h are now + dependencies for the main shell. + +2011-05-10 Peter Stephenson <pws@csr.com> + + * unposted: Src/.distfiles, Src/system.h, Src/zsh.mdd, + Src/zsh_system.h: rename system.h to zsh_system.h to ensure + there are no clashes. + + * 29214: Src/Makemod.in.in, Src/mkmakemod.sh, Src/zsh.mdd: use + -I to find headers in order to allow #include'ing generated + headers from non-generated headers when the build tree is + separate from the source tree. + + * 29191 (Danek) and 29203 (with fixes): Doc/Zsh/params.yo, + Src/params.c: make TERMINFO variable special. + +2011-05-09 Peter Stephenson <pws@csr.com> + + * 29195: Src/.distfiles, Src/hashnameddir.c, Src/hashtable.c, + Src/system.h, Src/zsh.mdd: Separate out hash handling for named + directories in order to keep RCP header usage from curses to + avoid clash on Solaris 8. + + * 29193: Src/text.c: fix variable declaration that was after + code. + + * 29165: Src/builtin.c, Src/exec.c, Src/glob.c, Src/hashtable.c, + Src/init.c, Src/jobs.c, Src/loop.c, Src/params.c, Src/prompt.c, + Src/system.h, Src/utils.c, Src/Modules/files.c, + Src/Modules/termcap.c, Src/Modules/zpty.c, Src/Zle/comp.h, + Src/Zle/complist.c, Src/Zle/compmatch.c, Src/Zle/compresult.c, + Src/Zle/computil.c, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, + Src/Zle/zle_utils.c: Use term.h globally if needed, instead of + just using in Modules and fudging the headers elsewhere. Fix + various name clashes. + +2011-05-08 Barton E. Schaefer <schaefer@zsh.org> + + * users/15986 (belated commit): Src/Modules/curses.c: handle + EINTR in zccmd_input. + +2011-05-08 Wayne Davison <wayned@users.sourceforge.net> + + * Valentin Haenel: 29187: Completion/Unix/Command/_git: add a + missing backslash. + +2011-05-07 Barton E. Schaefer <schaefer@zsh.org> + + * 29175 (w/comment typo fixed): Src/mem.c: optimize freeheap. + +2011-05-07 Frank Terbeck <ft@bewatermyfriend.org> + + * 29170: Doc/Zsh/contrib.yo: vcs_info: Clarify check-for-changes + style behaviour with the mercurial backend. + + * unposted: Doc/Zsh/contrib.yo: Add missing word ("style") spotted + by Bart. + +2011-05-06 Peter Stephenson <pws@csr.com> + + * 29163: README, Etc/FAQ.yo: update latest version claimed + to 4.3.12. + +2011-05-04 Barton E. Schaefer <schaefer@zsh.org> + + * 29140: Completion/bashcompinit: introduce function-scope wrapper + around the call to the bash completion function; in this wrapper, + hide the "words" special variable so that it may be used as an + ordinary variable by the bash completions. + +2011-05-04 Peter Stephenson <pws@csr.com> + + * Rocky Bernstein: 29135 (plus tweaks): Completion/bashcompinit, + Test/.distfiles, Test/Y04compgen.ztst, Test/compgentest: fix and + test "compgen -W" in bash completion. + + * unposted: NEWS: a few notes for next release. + +2011-05-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Haakon Riiser: 29137: Completion/Unix/Command/_ffmpeg: better + handling of flags. + +2011-05-03 Peter Stephenson <pws@csr.com> + + * 29134: Src/prototypes.h: change termcap prototypes for AIX + locally until we find the header. + +2011-05-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 29129: Src/exec.c: reading off end of file descriptor array + noticed by Vincent. + +2011-05-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Haakon Riiser: unposted: Completion/Unix/Command/_ffmpeg: more + tweaks. + +2011-04-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Haakon Riiser: 29100: Completion/Unix/Command/_ffmpeg: Clean + up and add dependencies. + + * 29114: Doc/Makefile.in, Doc/Zsh/.distfiles, + Doc/Zsh/ftp_sites.yo, Doc/Zsh/metafaq.yo, Etc/FAQ.yo: Use same + FTP sites list in META-FAQ as FAQ. + + * İsmail Dönmez: 29020: Completion/openSUSE/Command/_SuSEconfig, + Completion/openSUSE/Command/_hwinfo, + Completion/openSUSE/Command/_osc, + Completion/openSUSE/Command/_yast2, + Completion/openSUSE/Command/_zypper (plus .distfiles): new + completions. + +2011-04-29 Barton E. Schaefer <schaefer@zsh.org> + + * 29107: Src/Zle/zle_tricky.c: replace overlapping strcpy with + memmove. + +2011-04-27 Mikael Magnusson <mikachu@gmail.com> + + * 29051: Completion/Unix/Command/_make: add _make- prefix to + internal helper functions. + +2011-04-26 Wayne Davison <wayned@users.sourceforge.net> + + * 29053 (modified): Src/prototypes.h: Use "const" qualifier + in termcap prototypes. + +2011-04-25 Frank Terbeck <ft@bewatermyfriend.org> + + * Felipe Contreras: 29028: Completion/Unix/Command/_git: Add + useful completion for `gitk'. + + * Simon Ruderich: 29041: Completion/Unix/Command/_git: Add + completion for `tig' like the one for `gitk' from 29028. + + * unposted: Functions/Zle/edit-command-line: Revert change from + 28896, which did more evil than good. + +2011-04-24 Barton E. Schaefer <schaefer@zsh.org> + + * Jun T.: 29031: Src/Zle/complist.c: increment global minfo + state when inserting characters on the line during interactive + menu selection. + +2011-04-21 Barton E. Schaefer <schaefer@zsh.org> + + * 29025: Test/A01grammar.ztst: in select test, assert LINES=3 + along with COLUMNS=80 so that the selectlist is sure to be + printed where the control script can capture/examine it. + +2011-04-21 Frank Terbeck <ft@bewatermyfriend.org> + + * Valentin Haenel: 29019, Completion/Unix/Command/_git: Fix git + stash completion (apply and pop subcommands). + + * 29027: Completion/Unix/Command/_screen: support "/dev/ttyUSB0 + [baud]"-style arguments. + + * unposted: INSTALL: Clarify at which point directories from + --enable-additional-fpath are added to $fpath. + +2011-04-19 Peter Stephenson <pws@csr.com> + + * unposted: Completion/X/Command/.distfiles, Config/version.mk: + development version 4.3.11-dev-2. + + * unposted: Completion/Unix/Command/_perforce: don't complete p4 + reopen to same change. + +2011-04-18 Frank Terbeck <ft@bewatermyfriend.org> + + * 29008, 29012: Config/defs.mk.in, Src/init.c, Src/zsh.mdd, + configure.ac, INSTALL: Add `--enable-additional-fpath' option to + add arbitrary directories to the default `$fpath'. + +2011-04-18 Peter Stephenson <pws@csr.com> + + * Simon Ruderich: 29004: M Doc/Zsh/compsys.yo, + Doc/Zsh/metafaq.yo, Etc/FAQ.yo: update archive list. + +2011-04-15 Wayne Davison <wayned@users.sourceforge.net> + + * Unposted: Src/Zle/computil.c: Fix compiler warning caused by + duplicate initialization of state.doff. + +2011-04-15 Frank Terbeck <ft@bewatermyfriend.org> + + * Simon Ruderich: 28927: Completion/Unix/Command/_git: Fix "git + tag -v" completion. + +2011-04-15 Mikael Magnusson <mikachu@gmail.com> + + * 28998: Completion/Unix/Command/_make: set return status + correctly. + +2011-04-14 Peter Stephenson <pws@csr.com> + + * 28997: configure.ac, Src/system.h: make --enable-libc-musl + explicit. + +2011-04-13 Peter Stephenson <pws@csr.com> + + * gi1242+zsh: 28991: Completion/Unix/Command/_subversion: fix + caching policy for subversion. + +2011-04-12 Peter Stephenson <pws@csr.com> + + * Valentin Ochs: 28990: configure.ac, Src/system.h: more + changes needed for signals. + + * Valentin Ochs: 28989: configure.ac: define _POSIX_C_SOURCE + when testing for sigset_t (needed for musl). + +2011-04-11 Peter Stephenson <pws@csr.com> + + * users/15953: Src/builtin.c: handle EINTR when using read -k or + -q together with -u or -p. + + * cat.in.136: users/15945: Completion/Redhat/Command/_yum: + various corrections and updates. + +2011-04-05 Wayne Davison <wayned@users.sourceforge.net> + + * 28977: Src/utils.c: fix copying of uninitialized memory + when trying to spell-correct a really long string. + +2011-04-01 Peter Stephenson <pws@csr.com> + + * Stef van Vlierberghe: Src/jobs.c: 28965 (as posted in 28967): + findproc() should not return processes not marked as SP_RUNNING + since findproc() is used find processes still known to the OS. + +2011-03-30 Frank Terbeck <ft@bewatermyfriend.org> + + * Mike Meyer: 28956, 28957: + Functions/VCS_Info/Backends/VCS_INFO_detect_fossil, + Functions/VCS_Info/Backends/VCS_INFO_get_data_fossil, + Doc/Zsh/contrib.yo: Add fossil support to vcs_info. + + * unposted: Functions/VCS_Info/Backends/.distfiles: Add + new backend files to `.distfiles'. + + * unposted: ChangeLog: Fix typo in date. + + * 28958: Functions/VCS_Info/VCS_INFO_hook: Support registering + hooks independent of the context. + + * 28960: Doc/Zsh/contrib.yo, Functions/VCS_Info/.distfiles, + Functions/VCS_Info/vcs_info, Functions/VCS_Info/vcs_info_hookadd, + Functions/VCS_Info/vcs_info_hookdel: Add functions to add/remove + static hooks. + + * 28961: Doc/Zsh/contrib.yo, Functions/VCS_Info/VCS_INFO_set: Add + `no-vcs' hook. + + * 28959: Doc/Zsh/contrib.yo, Functions/VCS_Info/VCS_INFO_set, + Functions/VCS_Info/vcs_info: Make the nvcsformats style be used if + vcs_info is disabled. + +2011-03-29 Mikael Magnusson <mikachu@gmail.com> + + * unposted: Completion/Unix/Command/_vim: Fix typo in + description for -N. + +2011-03-29 Peter Stephenson <pws@csr.com> + + * Mikael: 28948: Completion/compinit, Doc/Zsh/compsys.yo: + compdef -e overrides interpretation of argument as service. + +2011-03-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 28941: Src/Zle/zle_params.c: accessing cursor with + metafied line was problematic. + +2011-03-21 Peter Stephenson <pws@csr.com> + + * 28936: Src/subst.c: ${#$} and ${#?} also didn't work. + +2011-03-20 Frank Terbeck <ft@bewatermyfriend.org> + + * Johan Sundström: 28890: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_npm: New _npm completion. + +2011-03-19 Barton E. Schaefer <schaefer@zsh.org> + + * 28926: Src/Zle/zle_tricky.c: No newline after the last line in + listlist() when printing the list in a single column. + +2011-03-18 Frank Terbeck <ft@bewatermyfriend.org> + + * Nikolai Weibull: 28914: Completion/Unix/Command/_git: Typo + fix in `cvsexportcommit' description. + + * Nikolai Weibull: 28911: Completion/Unix/Command/_git: Only show + modified files for git-checkout without tree. + + * Nikolai Weibull: 28913: Completion/Unix/Command/_git: Fix typo + which broke `send-email' completion. + +2011-03-16 Frank Terbeck <ft@bewatermyfriend.org> + + * 28896: Functions/Zle/edit-command-line: unset `monitor' option + while the widget is running to avoid accidential data loss. + +2011-03-16 Peter Stephenson <pws@csr.com> + + * Mikael: users/15875: Completion/Unix/Command/_gpg: use return + status from _arguments. + +2011-03-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28889: Src/subst.c, Test/D04parameter.ztst: ${##} should + return the length of $#. + +2011-03-11 Barton E. Schaefer <schaefer@zsh.org> + + * Greg Klanderman: 28887: Completion/Zsh/Type/_command_names: + fix quoting in defs array. + +2011-03-11 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Zsh/Context/_dynamic_directory_name: + Mikael spotted that completion doesn't work if + $zsh_directory_name_functions is set but zsh_directory_name + isn't defined. + + * users/15864: Completion/Zsh/Context/_dynamic_directory_name, + Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Functions/Chpwd/.distfiles, + Functions/Chpwd/zsh_directory_name_cdr, + Functions/Misc/add-zsh-hook, Src/subst.c, Src/utils.c: + turn zsh_directory_name into a hook. + + * 28886: Src/Zle/zle_utils.c: Fix 28772 for the case where + regions have the "P" flag to include $PREDISPLAY in the + offsets. + +2011-03-08 Barton E. Schaefer <schaefer@zsh.org> + + * Greg Klanderman: 28846: Completion/Zsh/Type/_functions, + Completion/Zsh/Type/_command_names, + Completion/Zsh/Type/_parameters, Doc/Zsh/compsys.yo: adapt + prefix-needed zstyle to handle the completion function naming + convention of a leading underscore. + +2011-03-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28866: Src/exec.c, Test/A04redirect.ztst: With POSIX_BUILTINS, + "command" prefix tops a command having special behaviour. + +2011-03-05 Barton E. Schaefer <schaefer@zsh.org> + + * Adrian: 28857: Functions/Prompts/prompt_bigfade_setup: use %d + instead of $PWD + +2011-03-04 Frank Terbeck <ft@bewatermyfriend.org> + + * 28853: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Functions/Chpwd/cdr, + Src/builtin.c, Src/prompt.c: Fix typo: preceed -> precede + +2011-03-02 Barton E. Schaefer <schaefer@zsh.org> + + * 28805: Doc/Zsh/builtins.yo, Doc/Zsh/mod_sched.yo: move stray + text about the sched builtin away from the set builtin. + +2011-03-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Baptiste: 28819: Completion/BSD/Command/_sockstat, + Completion/Unix/Command/_mount, + Completion/Unix/Type/_file_systems: FreeBSD completion tweaks. + +2011-02-28 Barton E. Schaefer <schaefer@zsh.org> + + * 28823: Src/builtin.c: make it an error to tie the same scalar to + two different arrays (prevents crash bug); improve a couple of + other error messages. + +2011-02-28 Peter Stephenson <pws@csr.com> + + * Frank, 28812, modified as in 28813: Src/string.c: wcs_ztrdup() + needs to allocate array of wchar_t. Looks like this isn't + currently used anywhere. + +2011-02-27 Wayne Davison <wayned@users.sourceforge.net> + + * Nikolai Weibull: 28649,28804: Completion/Unix/Command/_git: + Latest version copied from https://github.com/now/zsh. + +2011-02-24 Peter Stephenson <pws@csr.com> + + * 28799: Src/lex.c: fix bug introduced with lexflags + that lexical analyser didn't stop quickly enough when + retrieving completion words. + +2011-02-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28795: Src/exec.c: tweak to 28791 for forked shells. + Also (unposted) typos in comments noticed by Mikael. + +2011-02-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28791: Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, + Test/A04redirect.ztst: exit on errors in special builtins + with POSIXBUILTINS. + +2011-02-21 Peter Stephenson <pws@csr.com> + + * 28783: Doc/Zsh/options.yo, Src/lex.c, Test/A01grammar.ztst: + allow ( to be treated specially in more places when SH_GLOB + is set but KSH_GLOB isn't. + + * 28784: Doc/Zsh/options.yo, Test/A04redirect.ztst, Src/exec.c: + exit on exec redirection error with POSIXBUILTINS. + +2011-02-19 Frank Terbeck <ft@bewatermyfriend.org> + + * 28776: Functions/VCS_Info/VCS_INFO_bydir_detect, + Functions/VCS_Info/Backends/VCS_INFO_detect_hg, + Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: Let + vcs_info detect very old mercurial repositories. + + +2011-02-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28773, Doc/Zsh/zle.yo, Src/zle_hist.c: add + zle-history-line-set widget. + + * 28772: Doc/Zsh/zle.yo, Src/Zle/compcore.c, + Src/Zle/compresult.c, Src/Zle/zle.h, Src/Zle/zle_refresh.c, + Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: update regions + in $region_highlight dynamically. + +2011-02-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28761: Completion/Unix/Command/_sccs: file completion missing + for some commands. + + * 28762: Src/exec.c: logic for closing coproc file descriptors + was wrong. + +2011-02-15 Frank Terbeck <ft@bewatermyfriend.org> + + * 28758: Functions/Misc/colors: work with non-default option sets. + +2011-02-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28750 with some extra comments: + Completion/Unix/Type/_path_files: separate out completeinword + handling where the current component is not the last but is + the first from the already handled case where there is a further + component in front. + +2011-02-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28671: Src/Zle/zle_utils.c: better cursor positioning + after undo. + + * users/15738: Functions/Zle/modify-current-argument: better + positioning of the cursor after the operation. + +2011-02-11 Frank Terbeck <ft@bewatermyfriend.org> + + * Lennart Weller: 28739: + Functions/VCS_Info/Backends/VCS_INFO_detect_svn: Fix svn + detection in vcs_info. + +2011-02-10 Barton E. Schaefer <schaefer@zsh.org> + + * users/15759 (slightly augmented): Functions/Zle/send-invisible, + Functions/Zle/.distfiles: widget to read a concealed string from + the keyboard and stash it in $INVISIBLE. + + * users/15770: Src/init.c: disable HASH_DIRS when not interactive. + + * 28710: Completion/Debian/Type/_deb_packages: replace complex + parameter expansion with command substitution to speed diffing + of large lists of packages. + + * unposted: Doc/Zsh/contrib.yo: add send-invisible. Re-order + some other entries to restore approximate alphabetization. + +2011-01-24 Clint Adams <clint@zsh.org> + + * Carl Worth: 28648: Completion/Unix/Command/_notmuch: notmuch + completion by Ingmar Vanhassel. + +2011-01-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * gi1242+zsh@gmail.com: 28647: Completion/X/Command/_vnc: more + options. + + * gi1242+zsh@gmail.com: 28646: Completion/X/Command/_matlab: new + completion. + +2011-01-19 Peter Stephenson <pws@csr.com> + + * 28638: Doc/Zsh/parameter.yo, Src/zsh.h, + Src/Modules/parameter.c, plus NEWS added: add $usergroups hash + mapping from user's own groups by name to GID. + +2011-01-18 Peter Stephenson <pws@csr.com> + + * Mikael: 28637: Src/subst.c: ${foo:0:} caused crash. + +2011-01-17 Peter Stephenson <pws@csr.com> + + * Atom Smasher: users/15715: Completion/Zsh/Function/_zargs: new + +2011-01-16 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Config/defs.mk.in, configure.ac: use the -L option + with yodl 3.x. + +2011-01-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28631: gi1242+zsh@gmail.com (as in 28633): + Completion/Unix/Command/.distfiles, Completion/Unix/Command/_lp, + Completion/Unix/Command/_tex, Completion/Unix/Command/_xournal, + Completion/Unix/Type/.distfiles, Completion/Unix/Type/_tex, + Completion/X/Command/.distfiles, Completion/X/Command/_xournal: + various updates. + + * 28634: Test/D04parameter.ztst: test for 28630. + + * Ricky Zhou: 28630: Src/params.c: fix crash with isident. + + * gi1242+zsh@gmail.com: 28629: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_lp, Completion/Unix/Command/_tex, + Completion/Unix/Command/_xournal, + Completion/Unix/Type/.distfiles, Completion/Unix/Type/_tex, + Completion/X/Command/.distfiles, Completion/X/Command/_xournal: + completion updates. + +2011-01-16 Clint Adams <clint@zsh.org> + + * unposted: Completion/Unix/Command/_fuser: fix typo in pattern + +2011-01-13 Peter Stephenson <pws@csr.com> + + * c.f. 28628: Doc/Zsh/func.yo: some extra notes on traps. + +2011-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/params.c: fix return types in 28617. + + * 28611: Src/Zle/zle_move.c: remove unused special behaviour for + VI mark 26. + +2011-01-11 Peter Stephenson <pws@csr.com> + + * 28626: Doc/Zsh/func.yo: summarise differences between two + types of trap. + +2011-01-10 Peter Stephenson <pws@csr.com> + + * 28617: Src/glob.c, Src/params.c, Test/E01options.ztst: NO_EXEC + option was doing to much work with parameter subscripting, + parameter assignments, and globbing. + +2011-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28544: Src/Makefile.in, Makemod.in.in: another way of handling + bad dependencies for 'make prep' as in 28541. + + * gi1242+zsh@gmail.com: 28594 (with changes as in 28598): + Completion/Linux/Command/.distfiles, + Completion/Linux/Command/_modutils, + Completion/Linux/Command/_wpa_cli, + Completion/Unix/Command/.distfiles, Completion/Unix/Command/_lp, + Completion/Unix/Command/_pgrep, + Completion/Unix/Command/_subversion, + Completion/Unix/Command/_unison, + Completion/Unix/Command/_xournal, Completion/Unix/Type/_pdf, + Completion/X/Command/.distfiles, Completion/X/Command/_gv, + Completion/X/Command/_okular, Completion/X/Command/_pdftk, + Completion/X/Command/_vnc, Completion/X/Command/_xrandr: Various + new and improved completions. + +2011-01-07 Peter Stephenson <pws@csr.com> + + * 28590 (added a comment): Src/builtin.c, Test/B04read.ztst: + read builtin should return non-zero status on error. + + * Mikael: 28585: Completion/Unix/Command/_mkdir: don't set ret=0 + when _wanted fails to find any matches. + +2011-01-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/utils.c: fix argument type for write_loop(). + + * 28588: Src/text.c, Test/C02cond.ztst: fix textual display + after =~ test. + + * Ben: 28574: Completion/Unix/Command/_ri: use bs formatter. + +2011-01-06 Barton E. Schaefer <schaefer@zsh.org> + + * 28579: Completion/Unix/Command/_du: propagate failure status + from _arguments so that _complete will try other completions. + + * 28578 (plus test): Src/utils.c, Src/zsh.h, Test/B03print.ztst: + fix handling of numeric escapes that expand to "%" in printf + format strings, so they are not treated as format introducers. + +2011-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28568 c.f. 28549 (Ricky Zhou): Src/utils.c: buffer overflow + examining paths. + + * Alexey: 28557: Completion/Unix/Command/_ri: update for new + versions of Ruby. + +2010-12-25 Clint Adams <clint@zsh.org> + + * 28548: Completion/Unix/Command/_fuser: match psmisc in any case. + +2010-12-21 Barton E. Schaefer <schaefer@zsh.org> + + * users/15662: Src/params.c: fix array slice assignment with one + index positive and one negative. + + * unposted: Test/A06assign.ztst: tests for users/15662. + +2010-12-21 Peter Stephenson <pws@csr.com> + + * users/15663: Test/A06Assign.ztst: some (incomplete) array + assignment tests. + + * unposted: Config/version.mk: update version to 4.3.11-dev-1. + +2010-12-20 Peter Stephenson <pws@csr.com> + + * unposted: Src/Makefile.inc: restore unintentionally removed + .PHONY entires. + + * unposted: Config/version.mk, Src/Makefile.inc: release 4.3.11. + Tweak to Src/Makefile.inc was to workaround some make problem + with timestamps. + + * Paul Ackersviller: 28538: as modified in 28540 plus a couple + of casts to char * I missed: Src/init.c,Src/input.c, + Src/parse.c, Src/prototypes.h, Src/utils.c, Src/Zle/zle_main.c: + pointer arithmetic needs to be done with char *, not void *. + +2010-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28537: Src/lex.c, Test/D04parameter.ztst: word splitting on + '((' in command position that turned into nested subshell + commands was broken. + +2010-12-18 Barton E. Schaefer <schaefer@zsh.org> + + * 27862 (belatedly): Completion/X/Utility/_x_arguments: handle + X11 versions greater than X11R6 in the compdef line. + + * unposted: Src/Makefile.in: "prep" target depends on Makemod, + not on the files on which Makemod depends. + +2010-12-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 28535: NEWS: typo + +2010-12-17 Peter Stephenson <pws@csr.com> + + * Štěpán Němec: 28533: README, Doc/Zsh/compsys.yo, + Doc/Zsh/compwid.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, + Doc/Zsh/params.yo, Doc/Zsh/zle.yo, Functions/Chpwd/cdr: typos. + + * unposted: NEWS: note zle_highlight suffix control. + + * Mikael: users/15653: Src/Zle/zle_refresh.c: + zle_highlight=(none) should turn off suffix highlighting. + +2010-12-16 Peter Stephenson <pws@csr.com> + + * Mikael: 28531: Completion/Base/Utility/_combination, + Doc/Zsh/expn.yo, Doc/Zsh/mod_clone.yo, Doc/Zsh/options.yo, + Src/exec.c: typos. + + * unposted: NEWS: add notes on (Z) parameter flag. + + * unposted: README, Config/version.mk, Etc/FAQ.yo, + Completion/Debian/Command/.distfiles: update for 4.3.10-test-3. + +2010-12-14 Barton E. Schaefer <schaefer@zsh.org> + + * 28530: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: + replace (z+opts+) flag with (Z:opts:), add reserved (_:flags:). + +2010-12-14 Peter Stephenson <pws@csr.com> + + * unposted: Src/lex.c: another neatening of lexflags use for + ZLE. + + * 28529: Src/hist.c, Src/lex.c, Src/zsh.h, Src/Zle/compcore.c, + Src/Zle/compctl.c, Src/Zle/zle_tricky.c: save and restore + lexflags and separate out special word logic for ZLE by + adding new flag LEXFLAGS_ZLE. + + * 28528: Doc/Zsh/expn.yo, Src/hist.c, Src/lex.c, Src/subst.c, + Src/zsh.h, Src/Zle/compcore.c, Src/Zle/compctl.c, + Src/Zle/zle_tricky.c, Test/D04parameter.ztst: clear up use of + zleparse variable into lexflags; add (z+n+) for splitting with + newline treated as ordinary whitespace. + +2010-12-13 Peter Stephenson <pws@csr.com> + + * 28526: Src/lex.c, Test/D04parameter.ztst: zplitting + 'line # with comment' when stripping comments shouldn't generate + a newline at the end (unless there is one). + +2010-12-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28510: Doc/Zsh/expn.yo, Src/hist.c, Src/lex.c, Src/subst.c, + Src/Modules/parameter.c, Src/Zle/zle_hist.c, Src/Zle/zle_misc.c, + Test/D04parameter.ztst: add (z+c+) and (z+C+) parameter flags. + +2010-12-07 Peter Stephenson <pws@csr.com> + + * unposted: remove users/15622 which causes problems + with certain existing forms of testing commands. + +2010-12-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 28480: Doc/Zsh/params.yo, Src/utils.c: allow + PROMPT_EOL_MARK to be an empty string. + +2010-12-06 Peter Stephenson <pws@csr.com> + + * users/15622: Completion/Base/Utility/_pick_variant: use + $service rather than $words[1] to pick the service. Although + there may be cases where this doesn't work, this provides + transparent behaviour for simple uses along the lines of + "compdef <_func> <cmd>=<service>" + + * users/15621: Completion/compinit, + Completion/Base/Core/dispatch: fix setting service for compef + -p/-P. + + * Mikael: 28487: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, + Doc/Zsh/options.yo, Doc/Zsh/prompt.yo: fix docs to refer to + current directory rather than $PWD. + + * 28486: Src/Zle/compcore.c: $compstate[parameter] needed + untokenizing. + + * Mikael: 28484: Completion/Unix/Command/_du: updated for GNU + variant. + +2010-12-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: NEWS: mention {START..END..STEP} changes. + + * Mikael: 28474, 28478: Doc/Zsh/expn.yo, Src/glob.c, + Test/D09brace.ztst: extended {START..END..STEP} syntax. + + * 28476: Test/.distfiles, Test/D09brace.ztst: new set of tests + for brace expansion. + + * 28475: Test/A05execution.ztst: test that starting a background + job resets the status. + + * 28469: Src/exec.c: fix memory leak in anonymous function. + +2010-12-04 Wayne Davison <wayned@users.sourceforge.net> + + * Aaron Schrab: 28210: Completion/Unix/Command/_git: add completion + for help subcommand. + +2010-12-03 Peter Stephenson <pws@csr.com> + + * 28468: Completion/Unix/Command/_man: if argument contains a + "/", complete file instead of manual page reference; prefer + files with man suffixes. + +2010-11-30 Peter Stephenson <pws@csr.com> + + * unposted: NEWS: add news about ${NAME:OFFSET} and took the + opportunity for a general tidy up. + +2010-11-27 Barton E. Schaefer <schaefer@zsh.org> + + * 28461: Src/exec.c: flush stderr in PRINT_EXIT_VALUE handling. + + * users/15583: Functions/Misc/sticky-note: update with zstyles and + for ease of use in zle-line-init. + +2010-11-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28459: Src/utils.c: flush shell output in PROMPT_SP handling. + +2010-11-25 Wayne Davison <wayned@users.sourceforge.net> + + * 28445: Src/utils.c: overwrite PROMPT_SP string if it + should remain invisible, even with an upcoming newline. + +2010-11-25 Peter Stephenson <pws@csr.com> + + * Sebastian Stark: users/15581: + Completion/Zsh/Command/_zmodload: MacOS has .bundle DLL files. + + * users/15580: Completion/Zsh/Function/_zsh-mime-handler, + Functions/MIME/zsh-mime-handler: fixes for completion when + dropping through to normal completion. + + * 28434: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: + Make ${NAME:OFFSET} always use zero-offset. + +2010-11-22 Peter Stephenson <pws@csr.com> + + * 28424: Doc/Zsh/options.yo, Src/options.c, Src/utils.c, + Src/zsh.h, Test/A03quoting.ztst: New POSIX_STRINGS option + makes \0 in $'...' terminate the quoted string. + +2010-11-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28425: Src/subst.c: remove null arguments and untokenize + in check_colon_subscript(). + +2010-11-18 Peter Stephenson <pws@csr.com> + + * 28419: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: + KSH_ARRAY ${*:0:1} gives $0 etc. + + * 28418: Doc/Zsh/expn.yo, Src/lex.c, Src/params.c, Src/subst.c, + Test/D04parameter.ztst: add ${NAME:OFFSET} and + ${NAME:OFFSET:LENGTH} substitution syntax. + +2010-11-17 Peter Stephenson <pws@csr.com> + + * 28377: Doc/Zsh/grammar.yo: document more alias problems. + +2010-11-14 Clint Adams <clint@zsh.org> + + * 28411: Completion/Unix/Command/_git: complete submodule + and annex as subcommands; complete files when the subcommand + is unknown. + +2010-11-10 Clint Adams <clint@zsh.org> + + * 28401: Completion/Debian/Command/_git-buildpackage: + git-buildpackage completion from Felipe Sateler. + +2010-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 28389: Completion/Unix/Type/_java_class: empty section + in $CLASSPATH. + +2010-11-03 Barton E. Schaefer <schaefer@zsh.org> + + * 28384: Src/params.c: improve error message on assignment to a + field of a read-only hash. + +2010-10-27 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/grammar.yo: typo pointed out by + Štěpán plus slight rephrasing. + + * 28375: Doc/Zsh/grammar.yo: clarify how to quote aliases from + expansion. + +2010-10-25 Peter Stephenson <pws@csr.com> + + * 28363: Src/Zle/zle_refresh.c: inserting a character when a + wide character was at the end of the line didn't work. + +2010-10-22 Peter Stephenson <pws@csr.com> + + * 28360: Src/subst.c, Test/E01options.ztst: NO_UNSET option + should test parameters with following operators, too. + + * not quite posted: Completion/Unix/Command/_screen: better to + allow sessions to be completed after -S. + +2010-10-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Silas Silva (with minor improvement): users/15464: + Completion/Unix/Command/_man: support for -M argument. + +2010-10-18 Peter Stephenson <pws@csr.com> + + * Jérôme Pouiller: 28351: Functions/Misc/run-help-openssl, + Functions/Misc/run-help-sudo: new help functions. + +2010-10-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 28356: Src/Zle/zle_refresh.c: don't increment old + display line past NULL. + + * c.f. 28353: Doc/Zsh/metafaq.yo: removing remaining reference + to sunsite in FTP sites. + +2010-10-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28345: Doc/Zsh/expn.yo, Functions/Chpwd/cdr, Src/builtin.c, + Src/utils.c: make new ${(D)} flag return the contracted file as + a fully usable command line argument. + +2010-10-12 Barton E. Schaefer <schaefer@zsh.org> + + * unposted (users/15440): Doc/Zsh/expn.yo: fix cross-references + among parameter expansion rules. + +2010-10-12 Peter Stephenson <pws@csr.com> + + * Mikael: 28343: Completion/Unix/Command/_setfacl: didn't + complete file argument in all cases. + +2010-10-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28340: Src/params.c: assignment with negative index didn't + work with multibyte characters. + + * 28339: Src/hist.c: NO_HIST_LEX_WORDS didn't handle + backslash-newline line continuation properly, either. + + * 28332: Src/hist.c: HIST_LEX_WORDS didn't handle + backslash-newline line continuation properly. Come to think of + it, neither does the alternative. + +2010-10-10 Phil Pennock <pdpennock@users.sourceforge.net> + + * 28338: Src/cond.c, C02cond.ztst: keep =~ from inverting sense + of subsequent tests (after &&/||). + +2010-10-08 Peter Stephenson <pws@csr.com> + + * Ben: 28330: Completion/X/Command/_acroread: add + completion for -openInNewInstance. + + * Ben: 28329: Completion/X/Command/_acroread: version 9 is + similar to 7 and 8. + +2010-10-07 Peter Stephenson <pws@csr.com> + + * 28327: Src/hist.c: Fix bufferwords() splitting when RC_QUOTES + is turned on. + +2010-10-06 Peter Stephenson <pws@csr.com> + + * 28326: Src/hist.c, Test/D04parameter.ztst: Problems with + HIST_LEX_WORDS: memory allocation was screwed if we skipped + "words" from the lexer; use local heap to avoid silly amounts of + memory; fallback to non-lex on failure rather than just fixing + up at the end; workaround oddity with splitting with RC_QUOTES. + + * 28319: Src/hist.c, Test/D04parameter.ztst: ${(z)...} + splitting oddities and some tests for consistency. + + * 28285: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c: add + zle-isearch-update and zle-isearch-exit hooks. + +2010-10-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: NEWS: note HIST_LEX_WORDS option. + + * 28310 with 28308 (Bart): Doc/Zsh/options.yo, Src/hist.c, + Src/options.c, Src/zsh.h: HIST_LEX_WORDS option and check + for full history file read. + + * 28309: Src/subst.c: infinite loop when padding with extra wide + characters. + + * Mikael: 28301: Doc/Zsh/compsys.yo: restore missing line. + +2010-10-01 Oliver Kiddle <opk@zsh.org> + + * 28307: Completion/Zsh/Command/_zstyle: support new styles + especially vcs_info ones and allow quoted contexts again + +2010-09-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28295 plus tweak for failure case: Src/hist.c: use lexer to + split words from history file. + +2010-09-23 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/manual.yo: update address of HTML manual. + +2010-09-20 Peter Stephenson <pws@csr.com> + + * 28282: Src/Zle/zle_keymap.c, Src/Zle/zle_main.c, + Src/zle_utils.c: new function zlecallhook() and fix argument to + zle-keymap-select. + +2010-09-19 Barton E. Schaefer <schaefer@zsh.org> + + * 28268: Src/builtin.c: I/O to a terminated (or never created) + coprocess emits a "no coprocess" diagnostic, instead of either + nothing or "bad file number". + +2010-09-16 Peter Stephenson <pws@csr.com> + + * Baptiste: 28264: Completion/Unix/Command/_ffmpeg: remove the + need for sed. + +2010-09-15 Wayne Davison <wayned@users.sourceforge.net> + + * 28261: Julius Plenz: Completion/Debian/_dpkg: separate the + options to _arguments. + +2010-09-14 Peter Stephenson <pws@csr.com> + + * 28259: Src/exec.c, Src/lex.c, Src/parse.c, Src/text.c, + Src/zsh.h, Test/A04redirect.ztst: Fix bug that empty + here-documents were given a newline, and output here-documents + from shell text as real here-documents rather than here-strings. + + * 28258: Src/signals.c: bug in 28250 could cause undefined + variable resulting in mayhem. + +2010-09-13 Peter Stephenson <pws@csr.com> + + * unposted: NEWS: add POSIX_TRAPS + + * Mikael: 28252: Completion/Zsh/Command/_zle: remove unnecessary + looped that caused errors. + +2010-09-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/builtins.yo: note exit trap runs before + zshexit hook. + + * 28250: Doc/Zsh/options.yo, Src/options.c, Src/signals.c, + Src/zsh.h, Test/C03traps.ztst: POSIX_TRAPS option. + + * Mikael: 28253: Doc/Zsh/mod_attr.yo: document -h argument to + attribute commands. + +2010-09-08 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Zle/replace-string-again: safety on + regexp failures. + + * 28244 with typo noted by Mikael and Bart: NEWS: updated 4.3.11 + news. + + * 28241: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: don't list .safe + keymap with "bindkey -lL", you don't get there from here. + + * 28237: Doc/Zsh/params.yo, Doc/Zsh/zle.yo, Src/Zle/zle_main.c: + set ZLE_LINE_ABORTED to line so far when ZLE aborts on an error. + +2010-09-06 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/zle.yo: small typo. + +2010-09-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28226, 28229: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: "bindkey + -lL" now lists aliased keymaps in a more useful way; can list + individual keymaps. + + * 28227: Doc/Zsh/zle.yo: a few remarks on the question of + keymaps. + +2010-09-02 Peter Stephenson <pws@csr.com> + + * users/15350: Doc/expn.yo: explain the strange rounding rules for + size glob qualifier. + +2010-09-01 Peter Stephenson <pws@csr.com> + + * 28188: Doc/Zsh/mod_complist.yo, Doc/Zsh/zle.yo: better + documentation for limitations in the overlay key maps. + +2010-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28220: Src/exec.c (plus comments), Src/params.c, + Test/A06assign.ztst: "HELLO=$HELLO shellfunc" failed because + we removed HELLO from the parameter table to save it. Copy it + instead. + + * Mikael: 28202: Src/Zle/complist.c: need line unmetafied for + reversemenucomplete(). + +2010-08-23 Peter Stephenson <pws@csr.com> + + * Mikael: 28190: Doc/Zsh/options.yo: reference to wrong + manual page. + + * unposted: Completion/Unix/Command/_perforce: update for 2010.1. + +2010-08-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28179: Src/jobs.c, Src/signals.c: use WIFCONTINUED() and + WCONTINUE by exporting child handler to a function. + + * users/15314: Doc/Zsh/expn.yo: redescribe process substitution. + + * users/15301 (bits applying to process substitution with + redirection): Src/exec.c: make redirection process substitution + attach to the appropriate process group. + + * users/15300: pass foreground signals on to process + substitutions in current shell + +2010-08-22 Barton E. Schaefer <schaefer@zsh.org> + + * 28186: Completion/Base/Utility/_multi_parts: replace a single + (...|...) pattern-match with a loop over the alternatives to + avoid issues with pattern-quoting each alternative. + +2010-08-21 Frank Terbeck <ft@bewatermyfriend.org> + + * Mikael Magnusson: 28181: Doc/Zsh/mod_zprof.yo: Remove a + stray `)' that caused a ".RE" string to be output + +2010-08-19 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_todo.sh: more commands. + +2010-08-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28172: Src/jobs.c: mark processes as not stopped if + sent SIGCONT. + +2010-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28167: Src/Zle/compresult.c: reset more variables when + invalidating completion list. + +2010-08-13 Peter Stephenson <pws@csr.com> + + * 28160 modified as per 28164: Src/Zle/zle_refresh.c: when the + display was reset we didn't properly mark the old display line + as invalid. This could mean the display didn't get redrawn + properly. + +2010-08-11 Peter Stephenson <pws@csr.com> + + * 28139: based on Frank Terbeck: 28122: Src/Zle/zle_params.c, + Doc/Zsh/zle.yo: add ZLE_STATE variable. + +2010-08-10 Clint Adams <clint@zsh.org> + + * unposted: Functions/Newuser/zsh-newuser-install: tweak + newline placement. + +2010-08-10 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_todo.sh: need care matching + initial whitespace; strip priorities to get text to replace. + +2010-08-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28137: Functions/MIME/zsh-mime-handler: $argv[0] should be + $argv[1]. + +2010-08-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Simon Ruderich: 28136: README: typo. + +2010-08-06 Peter Stephenson <pws@csr.com> + + * 28131: MACHINES: latest status on Cygwin. + + * users/15232: Completion/Unix/Type/_path_files: somehow + this didn't get completed. + +2010-08-05 Peter Stephenson <pws@csr.com> + + * users/15232: Completion/Unix/Type/_path_files: another + go at fixing up for bizarre quoting rules, c.f. users/15031. + +2010-08-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Holger Macht: 28130: Completion/Unix/Command/_osc: new + completion. + +2010-08-02 Frank Terbeck <ft@bewatermyfriend.org> + + * Seth House: 28115: Misc/vcs_info-examples: Another git example + hook. + + * Seth House: 28114: + Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix revision + lookup with packed repositories. + +2010-08-02 Peter Stephenson <pws@csr.com> + + * Daiki Ueno: 28112: Src/Zle/zle_refresh.c: missing parentheses + caused incorrect size for character width. + +2010-07-31 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/15219: Src/jobs.c: print exit status if PRINTEXITVALUE + and terminated by signal. + + * 28111: Src/jobs.c: always print exit status if PRINTEXITVALUE + is set. + + * users/15217: Src/Zle/zle_main.c: use top-level status + when redrawing prompt. + +2010-07-30 Frank Terbeck <ft@bewatermyfriend.org> + + * Mikael Magnusson: 28110: Doc/Zsh/compsys.yo: Fix yodl warning. + + * unposted: Fix a date in ChangeLog. + +2010-07-29 Peter Stephenson <pws@csr.com> + + * <hamer@hamer.org.ua>: 28104: Src/Zle/compcore.c: crash + in obscure completion case due to NULL pointer. + +2010-07-28 Peter Stephenson <pws@csr.com> + + * users/15204: Functions/Zftp/zfinit: check compctl is loaded + before trying to use it (for ksh emulation). + + * as described in users/15202: Functions/Misc/run-help, + Functions/Newuser/zsh-newuser-install, + Functions/Prompts/promptinit, Functions/TCP/tcp_open, + Functions/Zftp/zfinit, Functions/Zle/down-case-word-match, + Functions/Zle/forward-word-match, + Functions/Zle/history-pattern-search, + Functions/Zle/insert-composed-char, Functions/Zle/kill-word-match, + Functions/Zle/match-words-by-style, + Functions/Zle/select-word-style, + Functions/Zle/transpose-words-match, + Functions/Zle/up-case-word-match, Functions/Zle/zed-set-file-name: + Use "autoload -Uz" consistently throughout distributed functions. + +2010-07-26 Peter Stephenson <pws@csr.com> + + * 28102: Src/Zle/computil.c: use lstat() when checking + ignore-parents. + +2010-07-26 Frank Terbeck <ft@bewatermyfriend.org> + + * 28101: Completion/Unix/Command/_tmux: Fix window completion + for tmux version 1.3 and newer. + +2010-07-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Config/version.mk: update to 4.3.10-dev-2. + +2010-07-24 Wayne Davison <wayned@users.sourceforge.net> + + * 28000: Completion/Unix/Command/_git: make the branch arg for + "git log" optional. + +2010-07-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28096: Functions/Chpwd/chpwd_recent_dirs: don't add + $OLDPWD. + + * 28081: Doc/Zsh/contrib.yo, + Functions/Chpwd/chpwd_recent_filehandler: document style + stuff with cdr, future-proof file reading. + +2010-07-19 Peter Stephenson <pws@csr.com> + + * 28092: Completion/Unix/Command/_getconf: generate missing keys. + +2010-07-19 Frank Terbeck <ft@bewatermyfriend.org> + + * 28093, based on Michel Lespinasse: 28090: + Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix a problem + with `check-for-changes' and freshly initialised repositories. + + * Seth House: 28084, 28083: Misc/vcs_info-examples: cleanups + and new examples. + + * 28095: Functions/VCS_Info/Backends/VCS_INFO_get_data_git: Fix + two hard-coded invocations of the "git" command. + +2010-07-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28073: Src/exec.c, Src/init.c, Src/utils.c: allow #! + scripts to search path if interpreter not found. + +2010-07-15 Doug Kearns <dougkearns@gmail.com> + + * 28078: Completion/Unix/Command/_xmlsoft: update. + + * Michael Hwang: 28075: Completion/Unix/Command/_gpg: add gpg-zip + completion and other general improvements. + +2010-07-13 Peter Stephenson <pws@csr.com> + + * Jörg Sommer: 28063: Completion/Unix/Command/_rubber: suppress + warning messages when extracting output. + +2010-07-12 Peter Stephenson <pws@csr.com> + + * 28068: Doc/Zsh/contrib.yo: Texinfo declaration got wrapped + causing mayhem. + +2010-07-12 Frank Terbeck <ft@bewatermyfriend.org> + + * users/15165: Doc/Zsh/contrib.yo: Fix a warning about a + missing macro. + +2010-07-09 Peter Stephenson <pws@csr.com> + + * 28065: Doc/Zsh/contrib.yo, Functions/Chpwd/.distfiles, + Functions/Chpwd/cdr, Functions/Chpwd/_cdr, + Functions/Chpwd/chpwd_recent_add, + Functions/Chpwd/chpwd_recent_dirs, + Functions/Chpwd/chpwd_recent_filehandler, plus Src/zsh.mdd + (not posted): add cdr function, tools, and documentation. + +2010-06-30 Clint Adams <clint@zsh.org> + + * 27998, 28061, 28062: Functions/Newuser/zsh-newuser-install: + add recommended zshrc option. + + * 28060: Completion/Unix/Command/_xmlsoft: xmlsoft --nodtdattr + completion thanks to Vincent Lefevre. + +2010-06-23 Doug Kearns <dougkearns@gmail.com> + + * 28056: Completion/Unix/Command/_lynx: add option descriptions. + +2010-06-22 Doug Kearns <dougkearns@gmail.com> + + * 28055: Completion/Unix/Command/_vim: add some missing options. + +2010-06-22 Peter Stephenson <pws@csr.com> + + * 28047: Src/hist.c: make fc -R/-W more consistently verbose + and allow fc -R to work if file could be read but permissions + didn't allow it to be locked (as distinct from failing to lock + it because something else had locked it). + +2010-06-22 Doug Kearns <dougkearns@gmail.com> + + * 28052: Completion/Unix/Command/_cvs: remove duplicated completion of + the version subcommand. + + * unposted: INSTALL, README: fix typos. + + * 28051: Completion/Unix/Command/_elinks: update for version 0.12pre5. + +2010-06-17 Frank Terbeck <ft@bewatermyfriend.org> + + * Holger Weiss: 28016, 28017, 28018, 28019: + Completion/Unix/Command/_git: various fixes and enhancements. + + * Holger Weiss: 28020: Doc/Zsh/compsys.yo: Fix a typo. + + * unposted: Fix a date in ChangeLog. + +2010-06-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28042: Doc/Zsh/contrib.yo, Functions/Zle/.distfiles, + Functions/Zle/transpose-lines: new widget. + +2010-06-14 Peter Stephenson <pws@csr.com> + + * 28038: Index: Completion/Zsh/Command/_zstyle, Doc/Zsh/calsys.yo, + Functions/Calendar/calendar, Functions/Calendar/calendar_add, + Functions/Calendar/calendar_parse, + Functions/Calendar/calendar_scandate: improved handling of + recurring events in calendar system. + + * unposted: Doc/Zsh/params.yo: extra note on ZSH_EVAL_CONTEXT. + + * 28037: Src/exec.c, Src/math.c, Src/module.c, + Test/V01zmodload.ztst: improved error messages for autoloading + math functions and builtins (but not conditions). + + * 28010: configure.ac, Src/compat.c: use getcwd() as fallback + if zgetcwd() fails. + +2010-06-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 28027: Doc/Zsh/expn.yo: typo. + +2010-06-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 28026: Completion/Zsh/Context/_dynamic_directory_name, + Doc/Zsh/expn.yo: use "zsh_directory_name c" for completion + of dynamic directory names. + + * 28025: Doc/Zsh/expn.yo, Src/subst.c, Src/utils.c: (D) + parameter flag to abbreviate directories. + +2010-06-09 Peter Stephenson <pws@csr.com> + + * Haakon Riiser: 28009: Completion/Unix/Command/_ffmpeg: new. + +2010-06-08 Peter Stephenson <pws@csr.com> + + * 28006: Src/builtin.c, Src/compat.c, Src/init.c: Make zgetcwd() + fall back to pwd in preference to returning "."; only use "." if + we're trying to set pwd at that point. + +2010-06-08 Doug Kearns <dougkearns@gmail.com> + + * unposted: Completion/Mandriva/Command/_urpmi: fix typo in parameter + name. + +2010-06-07 Peter Stephenson <pws@csr.com> + + * Alexey: 27999: Test/V01zmodload.ztst: fix error message. + +2010-06-07 Doug Kearns <dougkearns@gmail.com> + + * Simon Ruderich: 28002: Completion/Unix/Command/_feh: fix bad commit. + +2010-06-06 Doug Kearns <dougkearns@gmail.com> + + * unposted: Completion/BSD/Command/_csup, + Completion/BSD/Command/_fetch, Completion/BSD/Command/_freebsd-update, + Completion/BSD/Command/_fstat, Completion/BSD/Command/_pfctl, + Completion/BSD/Command/_portaudit, Completion/BSD/Command/_portmaster, + Completion/BSD/Command/_portsnap, Completion/BSD/Command/_powerd, + Completion/BSD/Command/_procstat, Completion/Darwin/Command/_open, + Completion/Darwin/Command/_softwareupdate, + Completion/Debian/Command/_apt-file, + Completion/Linux/Command/_analyseplugin, + Completion/Linux/Command/_ethtool, Completion/Linux/Command/_ipset, + Completion/Linux/Command/_mdadm, Completion/Linux/Command/_rpmbuild, + Completion/Linux/Command/_strace, + Completion/Mandriva/Command/_rebootin, Completion/Redhat/Command/_yum, + Completion/Solaris/Command/_coreadm, + Completion/Solaris/Command/_dhcpinfo, + Completion/Solaris/Command/_dladm, Completion/Solaris/Command/_dumpadm, + Completion/Solaris/Command/_gcore, Completion/Solaris/Command/_inetadm, + Completion/Solaris/Command/_ptree, + Completion/Solaris/Command/_savecore, + Completion/Solaris/Command/_svcadm, Completion/Solaris/Command/_svccfg, + Completion/Solaris/Command/_svcprop, Completion/Solaris/Command/_svcs, + Completion/Solaris/Command/_zlogin, Completion/Unix/Command/_arp, + Completion/Unix/Command/_arping, Completion/Unix/Command/_bzr, + Completion/Unix/Command/_cdcd, Completion/Unix/Command/_ecasound, + Completion/Unix/Command/_feh, Completion/Unix/Command/_git, + Completion/Unix/Command/_gnupod, Completion/Unix/Command/_gnutls, + Completion/Unix/Command/_locate, Completion/Unix/Command/_module, + Completion/Unix/Command/_perforce, Completion/Unix/Command/_pkgadd, + Completion/Unix/Command/_pkginfo, Completion/Unix/Command/_pkgrm, + Completion/Unix/Command/_sisu, Completion/Unix/Command/_sqsh, + Completion/Unix/Command/_surfraw, Completion/Unix/Command/_tcpdump, + Completion/Unix/Command/_tmux, Completion/Unix/Command/_todo.sh, + Completion/Unix/Command/_wget, Completion/Unix/Command/_yafc, + Completion/Unix/Command/_zfs, Completion/Unix/Command/_zpool, + Completion/Unix/Type/_printers, Completion/X/Command/_mplayer, + Completion/X/Command/_setxkbmap, Completion/Zsh/Command/_cd: fix + incorrectly capitalized completion descriptions as per the + recommendations in Etc/completion-style-guide. + +2010-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27983: Src/prompt.c: colours could be output twice. + +2010-06-03 Peter Stephenson <pws@csr.com> + + * 27994: Src/params.c: better error message when failing to + autoload parameter. + +2010-06-03 Frank Terbeck <ft@bewatermyfriend.org> + + * Holger Weiss: 27977: Completion/Unix/Command/_git: shouldn't + return 0 if there are no matches. + +2010-06-02 Peter Stephenson <pws@csr.com> + + * 27990: Src/Modules/termcap.c (not in original patch), + Src/Modules/terminfo.c: ignore error return value from + setupterm(), it's not useful in telling us whether the module + booted OK. + +2010-06-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Daniel Friesel: 27982: Completion/Unix/Command/_feh: update. + +2010-05-31 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 27981: Completion/Zsh/Context/_subscript: complete + (e). + +2010-05-28 Peter Stephenson <pws@csr.com> + + * Mikael: 27980: Completion/Zsh/Type/_globquals: typo. + +2010-05-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27965 plus as per 27966: Src/builtin.c, Src/subst.c, + Src/utils.c, Src/zsh.h: Use $'\n' quoting instead of literal + newline for ${(q)...} to avoid lines getting split unexpectedly. + Quote empty strings as ''. + + * 27976: Doc/Zsh/expn.yo: add yet more to the my-brain-hurts + description of how parameter expansion is ordered. + +2010-05-27 Frank Terbeck <ft@bewatermyfriend.org> + + * Seth House: 27971: Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: + vcs_info: Fix a bug that caused the mercurial backend to always return + `default' as the branch name. + +2010-05-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/15078: Completion/Zsh/Function/.distfiles, + Completion/Zsh/Function/_zsh-mime-handler, Doc/Zsh/contrib.yo, + Functions/MIME/zsh-mime-handler: completion for a + zsh-mime-handler should understand how the line will be handled. + +2010-05-22 Clint Adams <clint@zsh.org> + + * 27964: Doc/Zsh/contrib.yo: add back missing enditem(). + +2010-05-14 Frank Terbeck <ft@bewatermyfriend.org> + + * Simon Ruderich: 27954: Doc/Zsh/contrib.yo, Misc/vcs_info-examples: + vcs_info: more minor documentation fixes. + + * Simon Ruderich: 27953: Doc/Zsh/contrib.yo, Misc/vcs_info-examples, + Functions/VCS_Info/VCS_INFO_formats: vcs_info: changed default formats + and actionformats + +2010-05-12 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/params.yo, Src/Modules/zutil.c: fix typo + ("zregesparse-guard"). + + * 27951: Doc/Zsh/expn.yo, Doc/Zsh/params.yo, Src/builtin.c, + Src/exec.c, Src/glob.c, Src/init.c, Src/params.c, Src/signals.c, + Src/Builtins/sched.c, Src/Modules/zpty.c, Src/Modules/zutil.c: + Add $ZSH_EVAL_CONTEXT and $zsh_eval_context to provide context + stack. + +2010-05-10 Peter Stephenson <pws@csr.com> + + * c.f. 27950: Test/C03traps.ztst some bogus whitespace got added + in patching 27947. + +2010-05-10 Frank Terbeck <ft@bewatermyfriend.org> + + * Seth House, Simon Ruderich and myself: 27948: + Doc/Zsh/contrib.yo, Functions/VCS_Info/.distfiles, Misc/.distfiles, + Misc/vcs_info-examples, Functions/VCS_Info/Backends/VCS_INFO_detect_hg, + Functions/VCS_Info/Backends/VCS_INFO_get_data_git, + Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, + Functions/VCS_Info/VCS_INFO_formats, Functions/VCS_Info/VCS_INFO_hook, + Functions/VCS_Info/VCS_INFO_quilt, Functions/VCS_Info/vcs_info: various + vcs_info changes: mercurial backend improvements, new hooks, quilt + support, documentation improvements and bugfixes + +2010-05-05 Peter Stephenson <pws@csr.com> + + * users/15031: Completion/Unix/Type/_path_files: fix (still + incomplete) for bizarre quoting rules for files in completion + with path-completion off or accept-exact-dirs on. + + * 27947: Src/exec.c, Test/C03traps.ztst: fix some cases where we + should (probably) execute an EXIT trap but don't. + +2010-05-02 Frank Terbeck <ft@bewatermyfriend.org> + + * Simon Ruderich: 27813: Completion/Unix/Command/_git: Complete + some generic symbolic references as heads. + +2010-04-28 Clint Adams <clint@zsh.org> + + * Bernd Zeimetz: 27931: Completion/Debian/Command/_bts: + completion for bts affects. + +2010-04-28 Peter Stephenson <pws@csr.com> + + * Mikael: 27929: Src/lex.c, Doc/Zsh/options.yo (added pws): global + aliases with space shouldn't trigger HIST_IGNORE_SPACE. + +2010-04-27 Peter Stephenson <pws@csr.com> + + * 27926: Src/Zle/zle_hist.c: fix completion suffix when inserting + last word. + + * 27911: Completion/Base/Core/_main_complete: ensure colouring is + not used if not configured when showing old lists. + +2010-04-26 Frank Terbeck <ft@bewatermyfriend.org> + + * 27908: Functions/VCS_Info/vcs_info: Avoid locale related + problems + +2010-04-26 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: update to Perforce + 2009.2 features. + + * unposted: Completion/X/Command/_kfmclient: also kioclient; + probe desktop bindings. + +2010-04-25 Clint Adams <clint@zsh.org> + + * 27912: Completion/Linux/Command/_lsusb: presume that + usb.ids is uncompressed now. + + * 27914 (tweaked): Completion/Linux/Command/_lsusb: find + usb.ids in /usr/share/misc. + +2010-04-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/15028 (modified to do the unquoting a bit more + logically): Completion/Unix/Type/_path_files: for + path-completion false and accept-exact-dirs true we need to + unquote the word from the command line. + +2010-04-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27889: Src/subst.c, Test/D04parameter.ztst: Force more use of + GLOB_SUBST in parameters if ~ is used. + +2010-04-20 Peter Stephenson <pws@csr.com> + + * "Akinori MUSHA: 27892: Completion/Redhat/Command/.distfiles, + Completion/Redhat/Command/_service + Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_init_d, + Completion/Unix/Command/_service (moved from Redhat), + Completion/Unix/Type/_services: updates for FreeBSD. + +2010-04-15 Peter Stephenson <pws@csr.com> + + * unposted: NEWS: update to include path-completion. + +2010-04-15 Frank Terbeck <ft@bewatermyfriend.org> + + * 27798: Alexey I. Froloff: Completion/Unix/Command/_git: support + for the `--interactive' option of "git commit". + +2010-04-14 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/compsys.yo: add kindex entry for + path-completion. + + * unposted: Doc/Zsh/compsys.yo: slightly rephrase previous doc. + + * users/15011: Completion/Unix/Type/_path_files, + Doc/Zsh/compsys.yo: add path-completion style to allow + completion of preceding directories in files to be be turned + off. + +2010-04-13 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Calendar/calendar, Functions/Calendar/calendar_add, + Functions/Calendar/calendar-edit, Functions/Calendar/calendar_show, + Functions/Calendar/calendar_sort: Fall back to link file locking if + system file locking fails; don't need dcop for kdialog. + +2010-04-12 Clint Adams <clint@zsh.org> + + * 27876: Completion/Debian/Command/_axi-cache: completion for + axi-cache (from apt-xapian-index). + +2010-04-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Simon Ruderich: 27856 (tweaked): Doc/Zsh/metafaq.yo: Git + availability. + +2010-04-09 Peter Stephenson <pws@csr.com> + + * 27865: Src/subst.c, Test/D04parameter.ztst: text in parameter + substitution that came from the command line rather than the + parameter was a candidate for GLOB_SUBST even if it was quoted + if the overall expression was not quoted. + + * Ben: 27589: Completion/Zsh/Context/_redirect: attempt + to use arguments better. + +2010-03-30 Clint Adams <clint@zsh.org> + + * 27847: Completion/Unix/Command/_uzbl: completion for uzbl. + +2010-03-29 Peter Stephenson <pws@csr.com> + + * 27843: Simon Ruderich: Doc/Zsh/options.yo: claimed format for + extended history was incorrect. + +2010-03-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27831: Doc/Zsh/expn.yo, Src/input.c, Src/subst.c, Src/utils.c: + add ${(mm)...} to count displayed characters and rationalise use + of wcwidth so that negative numbers are treated as zero. + +2010-03-25 Peter Stephenson <pws@csr.com> + + * unposted: Test/A02alias.ztst: change sort to cat to + make test foolerproof. + + * 27827: Src/input.c, Test/A02alias.ztst: infinite loop + if alias with recursive definition occurred at end + of parsed string (normal shell input was OK). + +2010-03-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27823: Src/hist.c: 27822 could access freed memory because + hptr wasn't consistently set to NULL when chline was. + + * 27812: Doc/Zsh/zle.yo, Src/Zle/zle.h, Src/Zle/zle_refresh.c, + Src/Zle/zle_utils.c: when wchar_t contains Unicode code points, + use private area to put bytes that don't form characters for + special display. + +2010-03-22 Peter Stephenson <pws@csr.com> + + * 27822: Src/hist.c, Src/lex.c, Src/zle_params.c, + Src/zle_tricky.c: Fix ZLE access to current history line if pushed + onto lexical stack. + +2010-03-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Etc/FAQ.yo: update section on coloured prompts and + some other minor bits. + +2010-03-19 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Calendar/calendar: update previous + change also to perform calendar_show in current shell since + it interacts better with zle for use with sched. + + * 27808: Completion/Unix/Type/_files: Use // parameter + substitution instead of :gs. This form is consistent with the + rest of the file and has handled quoting correctly for longer. + +2010-03-18 Peter Stephenson <pws@csr.com> + + * unposted: Test/A01grammar.ztst: missed -f option off zsh + invocation in 27793++. + + * 27804: Src/Zle/zle_hist.c: don't hang on encountering invalid + character in incremental search. + +2010-03-17 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Calendar/calendar: fix embarrassing bug in + calendar scheduling introduced by new file locking, 27756. + +2010-03-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/calsys.yo: age now uses zstat. + + * unposted: NEWS: PATH_SCRIPT + +2010-03-16 Peter Stephenson <pws@csr.com> + + * 27793 plus 27794, 27795: Doc/Zsh/invoke.yo, Doc/Zsh/options.yo, + Src/init.c, Src/options.c, Src/zsh.h, Test/A01grammar.ztst: + add PATH_SCRIPT option to find script using path. + +2010-03-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 27797: Completion/Base/Completer/_expand_alias: + delimit arguments to avoid problems with hyphens. + + * Alexey: 27789: Completion/Unix/Command/_sudo: use _arguments. + +2010-03-15 Peter Stephenson <pws@csr.com> + + * 27780: Completion/Unix/Type/_files, Test/D04parameter.ztst: + users/14905 changed the number of backslashes needed to + quote backslashes in :s modifier. + +2010-03-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/expn.yo: note that & needs quoting in :s in + glob qualifier. + + * 27785: Src/init.c, Src/utils.c, Src/zsh.h: default IFS in sh + and ksh mode doesn't have '\0'. + +2010-03-11 Frank Terbeck <ft@bewatermyfriend.org> + + * Simon Ruderich: 27779: Functions/VCS_Info/vcs_info_printsys, + Doc/Zsh/contrib.yo: Fix mistakes in vcs_info's documentation. + +2010-03-09 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/calsys.yo, Functions/Calendar/calendar, + Functions/Calendar/calendar_editfiles: Fix bug that + calendar wouldn't update repeating event times for events + that were already in the past; allow calendar_editfiles to + take argument to specify editor. + +2010-03-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Michael Hwang: 27773: Src/linklist.c: document how linked + lists are joined together. + +2010-03-04 Frank Terbeck <ft@bewatermyfriend.org> + + * 27770: Completion/Unix/Command/_git: support for user specific + sub commands. + +2010-03-04 Peter Stephenson <pws@csr.com> + + * Frank: 27768: Functions/VCS_Info/VCS_INFO_realpath: shut up cd + some more. + +2010-02-28 Clint Adams <clint@zsh.org> + + * 27762: Completion/Unix/Type/_hosts: omit ssh known_hosts + entries with port numbers from host completion. + +2010-02-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/14905 (modified, see users/14096): Doc/Zsh/expn.yo, + Src/subst.c, Test/D04parameter.ztst: fix various problems + with :s modifier in parameters. + +2010-02-26 Peter Stephenson <pws@csr.com> + + * users/14902: Src/Modules/datetime.c: another go. + + * users/14900: Src/Modules/datetime.c: ULONG_MAX may be valid + return value from strtoul(). + + * users/14897: Src/Modules/datetime.c: test needed on + conversion of time_t to struct tm. Found on 64-bit Linux. + + * 27756: Doc/Zsh/calsys.yo, Functions/Calendar/calendar, + Functions/Calendar/calendar_add, Functions/Calendar/calendar_edit, + Functions/Calendar/calendar_sort, Src/Modules/system.c: + use new file locking in calendar where available and add + errflag test to loop over fcntl(). + + * users/14891: Doc/Zsh/cond.yo: say explicitly that condition + arguments don't undergo file generation. + +2010-02-25 Peter Stephenson <pws@csr.com> + + * 27755: Doc/Zsh/mod_system.yo, Src/Modules/system.c: + add "zsystem supports" to test what zsystem supports. + +2010-02-24 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27754: NEWS (unposted), Doc/Zsh/mod_system.yo, Src/exec.c, + Src/utils.c, Src/zsh.h, Src/Modules/system.c: add + "zsystem flock" subcommand to zsh/system module. + +2010-02-22 Peter Stephenson <pws@csr.com> + + * unposted: Src/utils.c: Add a debug test for trapping bad uses of + fdtable when closing fd's in zclose(). + + * 27721: Src/compat.c [with unnecessary test removed], Src/exec.c, + Src/system.h, Src/utils.c: update zopenmax() not to examine huge + numbers of file descriptors; only call it at initialisation; + rationalise use of fdtable_size and expansion of fdtable. + +2010-02-22 Clint Adams <clint@zsh.org> + + * 27744: Completion/Debian/Command/_pbuilder: completion for + pbuilder. + +2010-02-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Frank: 27731: Functions/VCS_Info/vcs_info: turn off + WARN_CREATE_GLOBAL. + +2010-02-21 Clint Adams <clint@zsh.org> + + * Michael Prokop: 27725: Completion/Debian/Command/_apt: apt + --no-install-recommends. + +2010-02-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Jonathan Beckman: 27728: Completion/X/Command/_mplayer: quote + colon after -ss. + +2010-02-19 Peter Stephenson <pws@csr.com> + + * 27722: Src/cond.c, Test/C02cond.zts, Test/V01zmodload.ztst: Error + reporting for failed conditions was badly handled; one + piece of code didn't test for a '-' prefix. + + * 27723: Src/builtin.c, Test/D02glob.ztst: eval shouldn't + modify non-zero return statuses. + +2010-02-17 Peter Stephenson <pws@csr.com> + + * Frank: 27717: Functions/VCS_Info/vcs_info_lastmsg: + add option terminators for builtins. + +2010-12-17 Andrey Borzenkov <bor@zsh.org> + + * unposted: Doc/Zsh/compsys.yo: typo fix + +2010-12-16 Andrey Borzenkov <bor@zsh.org> + + * 27715: Completion/Unix/Command/_stgit: fixes for new + version (workaround removed commands); autogenerate list + of stg subcommands. + +2010-02-16 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/.distfiles: new files + + * Frank Terbeck, Seth House: 27712, 22713, 27714: Doc/Zsh/contrib.yo, + Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, + Functions/VCS_Info/Backends/VCS_INFO_get_data_git, + Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, + Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, + Functions/VCS_Info/Backends/VCS_INFO_get_data_svk, + Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, + Functions/VCS_Info/VCS_INFO_formats, + Functions/VCS_Info/VCS_INFO_hook, Functions/VCS_Info/vcs_info: + hooks and Mercurial improvements. + +2010-02-15 Peter Stephenson <pws@csr.com> + + * 27710: Etc/FAQ.yo: update sections on advanced character sets. + + * unposted: Etc/FAQ.yo: correct outrageously old dates in FAQ. + +2010-02-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27708: Src/text.c: remove distracting initial semicolons + in job output. + + * unposted: zero gf_pre_words from 27694. + + * Mikael: Completion/Zsh/Type/_globquals: extend argument + handling. + + * Frank: 27705: Completion/Unix/Command/_git: notes + +2010-02-12 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Zsh/Type/_globquals: add P to list. + +2010-02-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/expn.yo: typo in formatting. + +2010-02-09 Peter Stephenson <pws@csr.com> + + * 27694: NEWS, Completion/Zsh/Type/_globquals, Doc/Zsh/expn.yo, + Src/glob.c, Test/D02glob.ztst: add "P" glob qualifier for + prepending words. + + * Frank: 27696: Completion/Unix/Command/_tmux: another update + + * Geoff: 27693: Src/exec.c, Src/init.c, Src/params.c, Src/init.c, + Src/utils.c: rename underscore to avoid name clash. + +2010-02-08 Peter Stephenson <pws@csr.com> + + * unposted: Src/subst.c: comment about what colon in parameter + substitution might be doing. + + * unposted: Completion/compinit, + Functions/Calendar/calendar_scandate: add some "typeset -g"s + to avoid WARN_CREATE_GLOBAL warnings. + + * 27665: Frank: Completion/Unix/Command/_tmux: update. + + * 27658: Completion/Unix/Command/_zip: work around globbing + problems. + +2010-02-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Frank: 27679: + Functions/VCS_Info/Backends/VCS_INFO_get_data_git: + better logic. + + * Michael Hwang: 27675: Src/builtin.c: fix crash from error in + hash builtin. + +2010-02-04 Peter Stephenson <pws@csr.com> + + * 27661: Ben: Doc/Zsh/builtins.yo, Doc/Zsh/options.yo, + Doc/Zsh/tcpsys.yo: typos in manual references. + +2010-02-03 Peter Stephenson <pws@csr.com> + + * 27648, 267650/1, unposted README change: README, + Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo, + Etc/zsh-development-guide, Src/builtin.c, Src/init.c, + Src/mkbltnmlst.sh, Src/Builtins/rlimits.mdd: "repeat" + is not available when starting in emulation mode, + "ulimit" is; document that "sched", "limit", "unlimit" + already aren't. + +2010-02-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 27647: Completion/Unix/Command/_cp: update + +2010-02-02 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/contrib.yo: minor doc upgrade for + regexp-replace. + + * based on Andrei, 27644: Config/installfns.zsh: check for + #! line without a fork. + +2010-02-01 Peter Stephenson <pws@csr.com> + + * unposted: Etc/FAQ.yo: update with notes on + zsh-nt.sourceforge.net and application terminal mode horror. + +2010-01-31 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 27642: Completion/Zsh/Type/_globquals: add some + missing entries. + +2010-01-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/14752: Functions/Misc/zed, Src/builtin.c: add #! + line to zed; allow script run with -i to exit on "return". + + * Julien Jehannet: users/14751: Functions/Misc/zed: variable + incorrect when autoloading function. + +2010-01-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27638, based on Frank Terbeck, 27633: Doc/Zsh/options.yo, + init.c, options.c, zsh.h: add SOURCE_TRACE option with output + similar to XTRACE for tracing sourced files. + +2010-01-23 Clint Adams <clint@zsh.org> + + * 27617: Completion/Unix/Command/_graphicsmagick: graphicsmagick + completion based on _imagemagick. + +2010-01-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/14732: Src/Zle/computil.c: we need to test X:/ rather + than X: for recent versions of Cygwin. + +2010-01-21 Peter Stephenson <pws@csr.com> + + * users/14723: Src/pattern.c: invalid character conversions + should never match valid character conversions. + +2010-01-20 Peter Stephenson <pws@csr.com> + + * 27611: Src/math.c, Test/C01arith.ztst: cache parameter values so + that subscripts aren't multiply evaluated when they shouldn't be. + + * 27608: Src/Modules/pcre.c, Src/Modules/regex.c, + Test/C02cond.ztst: test was broken and sizes of variables + for arrays were wrong. + +2010-01-19 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/contrib.yo, Functions/Misc/regexp-replace: + return status 1 if no replacement. + + * unposted: Doc/Zsh/cond.yo: avoid Yodl error. + + * Frank: 27606: Completion/Unix/Command/_tmux: tmux -d. + +2010-01-18 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/contrib.yo: minor clarification in 27604. + + * 27604: Doc/Zsh/contrib.yo, Functions/Misc/.distfiles, + Functions/Misc/regexp-replace, + Functions/Misc/replace-string-again: add facilities for + substitution using regular expressions. + +2010-01-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27600: Doc/Zsh/cond.yo, Src/Modules/pcre.c, Src/Modules/regex.c, + Test/C02cond.ztst: extend =~ syntax to set MBEGIN and MEND + with MATCH and mbegin and mend with match. + +2010-01-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Frank: 27599: Doc/Zsh/contrib.yo: fix formatting documentation + for VCS_Info. + +2010-01-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 27597: Completion/Zsh/Command/_zstyle: accepting + completion unnecessarily hard. + +2010-01-13 Peter Stephenson <pws@csr.com> + + * Joakim Rosqvist: 27591 as modified in 27594: + FEATURES, Doc/Zsh/options.yo, Doc/Zsh/params.yo, Src/input.c, + Src/options.c, Src/params.c: extend SUN_KEYBOARD_HACK option + to KEYBOARD_HACK variable. + +2010-01-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27553: Jesse Weinstein: Doc/Zsh/compsys.yo: improve phrasing. + +2010-01-10 Clint Adams <clint@zsh.org> + + * Frank Terbeck: 27586: Completion/Unix/Command/_tmux: + more tmux completion support. + +2010-01-08 Peter Stephenson <pws@csr.com> + + * 27577: sergio: Functions/Misc/zcalc: vared -p obeys + the PROMPTPERCENT option so it's not necessary to have an + explicit (%) in the variable expansion. + +2010-01-07 Clint Adams <clint@zsh.org> + + * 27579: Completion/Unix/Command/_ssh: allow ssh -S argument to + follow immediately the option letter. + + * 27578: Completion/Linux/Command/_ionice: allow ionice -c and -n + arguments to immediately follow the option letters. + +2010-01-05 Peter Stephenson <pws@csr.com> + + * 27566: Src/Builtins/rlimits.c: add ulimit -c hard and immediate + return on argument error + + * 27565: Src/Builtins/rlimits.c: ulimit didn't sanity check + numeric arguments. + +2010-01-04 Clint Adams <clint@zsh.org> + + * 27559: Completion/Unix/Command/_espeak: espeak language + codes and voice names. + + * Jesse Weinstein: 27558: Completion/Unix/Command/_espeak: + completion for espeak. + +2010-01-04 Peter Stephenson <pws@csr.com> + + * 27556: Src/lex.c: lexsave() should sanitize more variables else + inner loops can get confused by outer state. Symptom was + source within precmd. + +2009-12-28 Clint Adams <clint@zsh.org> + + * Chris Lamb: 27545: Completion/Unix/Command/_django: + runserver_plus and files completion for django. + +2009-12-18 Wayne Davison <wayned@users.sourceforge.net> + + * users/14659: Src/hist.c: Add symlink-based hist-file locking. + +2009-12-17 Peter Stephenson <pws@csr.com> + + * Greg: 27529: Completion/Unix/Command/_subversion: make URL + schemas (schemata?) configurable. + +2009-12-16 Wayne Davison <wayned@users.sourceforge.net> + + * 26735+unposted: Src/utils.c, Src/Modules/zftp.c, Src/Modules/zpty.c, + Src/Zle/zle_main.c, Src/exec.c, Src/init.c, Src/input.c, Src/jobs.c, + Src/parse.c: Check the return value of all pipe(), read(), and + write() calls. Gets rid of all "ignoring return value" compiler + warnings, and makes some read/write operations safer by ensuring + that an EINTR is handled. + +2009-12-16 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Misc/run-help-p4, Functions/Misc/.distfiles: + new helper. + + * 27492 based on Jörg Sommer: 27473: Functions/Misc/run-help: + fix alias problem. + +2009-12-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27518: Completion/Unix/Command/_configure: suggest some + more patterns for arguments. + +2009-12-14 Andrey Borzenkov <bor@zsh.org> + + * unposted: Completion/Unix/Command/_grep: + add --exclude-dir option + +2009-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Alexey I. Froloff: 27470: Completion/Unix/Command/_git: + update. + +2009-12-13 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: Fixed the + --human-readable options and arg-acceptance of -f. + +2009-12-12 Clint Adams <clint@zsh.org> + + * Michael Prokop: 27504: Completion/Debian/Command/_dput: + fix typo with dput --delayed. + +2009-12-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27503: Src/utils.c: fix crash when changing a hook + function inside a hook function of the same type. + +2009-12-10 Clint Adams <clint@zsh.org> + + * 27494: Completion/Debian/Command/_bug: reportbug --paranoid, + --no-paranoid, --body, and --body-file. + +2009-12-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27479: Src/Zle/zle_tricky.c: prevent completions + split across backlash-newline continuations from + causing mayhem. + +2009-12-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27466: Doc/Zsh/zle.yo: document 27453. + + * Mikael: 27453: Src/Zle/zle_refresh.c: highlighting + of removable completions suffixes. + + * Frank: 27450: b/Completion/Unix/Command/_tmux: another + update. + +2009-12-05 Clint Adams <clint@zsh.org> + + * Frank Terbeck: 27458: Completion/Unix/Command/_tmux: + set-option -w completion. + + * Ingmar Vanhassel: 27457: Completion/Zsh/Command/_precommand: + add hilite as a precommand. + + * Ingmar Vanhassel: 27456: Completion/Unix/Type/_tar_archive: + complete .tar.lzma, .tbz, .txz. + +2009-12-03 Clint Adams <clint@zsh.org> + + * 27448: Completion/Unix/Command/_tar, + Completion/Unix/Type/_tar_archive: mild understanding of + xz-compressed tarballs. + +2009-12-02 Peter Stephenson <pws@csr.com> + + * 27447: Doc/Zsh/options.yo: document 27442. + + * Frank: 27446: Completion/Unix/Command/_tmux: update. + + * 27442 plus tweak: Src/exec.c, Src/init.c, Src/jobs.c, + Src/signals.c: return status for last background job from + wait even if it's already exited, but only if POSIX_JOBS + is set. + +2009-12-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Alexey: 27445: Completion/Unix/Command/_ruby: argument can be + any file. + +2009-11-30 Peter Stephenson <pws@csr.com> + + * 27442: Src/exec.c, Src/init.c, Src/job.s,c Src/signals.c: + add lastpid_status to record status of last background job + even after it's exited. + + * 27441: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: add "sa" + highlight code for suffix aliases. + + * Richard Hartmann: 27440: Src/Modules/cap.c, Src/Modules/zftp.c: + typos in warnings. + +2009-11-24 Peter Stephenson <pws@csr.com> + + * Baptiste Daroussin: 27431: Completion/Unix/Command/_make: Fix + for FreeBSD. + + * 27430: Completion/Unix/Command/_make: extend variable value + completion to anything that looks like an assignment. + + * 27429: Completion/Unix/Command/_make: restore variable value + completion. Also make indentation more standard (not posted). + + * Michael Hwang <michael.a.hwang@gmail.com>: 27428: + Completion/Unix/Command/_make: complete rewrite with + variable completion. + +2009-11-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Alexey. I Froloff: users/14588: + Completion/Zsh/Command/.distfiles, + Completion/Zsh/Command/_ztodo, + Functions/Misc/.distfiles, Functions/Misc/ztodo: new ztodo + function. + +2009-11-20 Clint Adams <clint@zsh.org> + + * 27417: Completion/Unix/Command/_gpg: fix completion after + gpg --verify-files. + + * unposted: Functions/Prompts/prompt_clint_setup: change bracket + colors default to yellow when in an ssh session. + +2009-11-19 Peter Stephenson <pws@csr.com> + + * Greg: 27416: Completion/Unix/Command/_subversion: repository + path enhancement. + +2009-11-17 Barton E. Schaefer <schaefer@zsh.org> + + * 27415: Src/Zle/computil.c: comparguments "*::..." descriptions + could step on sequentially earlier descriptions when completing + for a word other than the last word on the command line. + +2009-11-17 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: improve + whole-path completion so that it doesn't take ages looking + for clients after typing two slashes. + +2009-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Greg Klanderman: 27409: Completion/Unix/Command/_subversion, + Completion/Unix/Type/_urls: improve subversion remote paths + and fix minor URL issues. + + * Frank Terbeck: 27407: Completion/Unix/Command/_tmux: + switch-client subcommand. + + * Benjamin R. Haskell: users/14565, 27399: + Completion/Unix/Command/_env: argument problem. + +2009-11-11 Barton E. Schaefer <schaefer@zsh.org> + + * Greg Klanderman: 27391: Completion/Unix/Command/_rm: + fix ignored (duplicate) file names + + * users/14548: Src/Modules/termcap.c: prevent libtermcap from + exiting on an unknown terminal type + + * Alexey Froloff: 27367: Completion/Unix/Command/_ri: update + for Ruby 1.9 and later + + * Frank Terbeck: 27364: Completion/Unix/Command/_tmux: fix + cut'n'paste error in descriptions + +2009-11-10 Barton E. Schaefer <schaefer@zsh.org> + + * 27368, 27369: FEATURES: replace one incorrect example with two + correct ones + +2009-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 27362: Src/Modules/attr.c: some more fixes. + +2009-11-07 Clint Adams <clint@zsh.org> + + * Frank Terbeck: 27359: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_tmux: completion for tmux 1.1. + +2009-11-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27358: Src/builtin.c: error if $0 was altered within + a sourced file. + + * 27357: Src/Modules/attr.c: fix compiler warnings + +2009-11-06 Peter Stephenson <pws@csr.com> + + * Frank Terbeck: 27353: Functions/VCS_Info/VCS_INFO_bydir_detect, + Functions/VCS_Info/vcs_info: More sanity checks for vcs_info + +2009-11-05 Peter Stephenson <pws@csr.com> + + * Jun T.: 27351: zdelattr missed first argument. + +2009-11-04 Peter Stephenson <pws@csr.com> + + * Mikael: 27347: Completion/Zsh/Command/_zattr, + Doc/Zsh/mod_attr.yo, Src/Modules/attr.c: enhance the + extended attribute support. + +2009-11-03 Peter Stephenson <pws@csr.com> + + * Mikael: 27337: Src/utils.c: fix bug with cd checking symlinks + that could do arbitrarily nasty things when looking for a "/". + +2009-10-29 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Calendar/calendar: brief display + failed on single-line entries. + +2009-10-24 Clint Adams <clint@zsh.org> + + * 27314, 27315: Completion/Unix/Command/_mpc: update for + mpc 0.17. + + * unposted: update config.guess and config.sub to + 2009-06-10 and 2009-06-11 versions respectively. + +2009-10-22 Peter Stephenson <pws@csr.com> + + * Functions/Zle/history-beginning-search-menu: unposted: + make more variables local. + + * unposted, c.f. 27313: INSTALL, NEWS, README, Doc/Zsh/contrib.yo, + Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Etc/CONTRIBUTORS, + Etc/FAQ.yo, Etc/changelog2html.pl, + Functions/Zle/history-beginning-search-menu, + Functions/Zle/insert-composed-char: mailing lists moved + to zsh.org and website to zsh.sourceforge.net. + +2009-10-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 27312: Completion/Unix/Command/_valgrind: option + changes. + + * Jesse Weinstein: 27311: Completion/Unix/Type/_diff_options: + remove redundant line. + + * Holger Weiss: 27310: Doc/Zsh/compsys.yo: typo. + + * Frank Terbeck: 27309: Doc/Zsh/contrib.yo: improve context + in VCS_Info docs. + +2009-10-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27308, based on 27305 from Edgar Merino: + Completion/Unix/Command/_init_d, Completion/Unix/Type/_services: + search for init scripts in other locations. + + * Lionel Flandrin: 27307: + Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, + Doc/Zsh/contrib.yo: enhanced VCS_INFO support for Mecurial. + +2009-09-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * http://www.opensource.apple.com/source/zsh/zsh-53/patches/utils.c.patch: + Src/utils.c: fix length of search when spell checking. + + * http://www.opensource.apple.com/source/zsh/zsh-53/patches/PR-6370391.patch: + Src/jobs.c: fix error message. + +2009-09-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Jun T.: 27296: configure.ac: bad preprocessing of Mac OS + Snow Leopard headers. + +2009-09-29 Peter Stephenson <pws@csr.com> + + * Jun T.: 27292: Src/Modules/socket.c: abuse of UNIX_PATH_MAX on + Snow Leopard: use the correct maximum. + +2009-09-22 Wayne Davison <wayned@users.sourceforge.net> + + * 27286: Src/Modules/socket.c Src/Modules/tcp.c Src/utils.c: + Made movefd() return the targetfd on success. Added a little + more error checking in the callers of movefd(). + +2009-09-22 Peter Stephenson <pws@csr.com> + + * 27284: Src/exec.c, Src/parse.c, Src/utils.c, + Src/Modules/socket.c, Src/Modules/tcp.c, Src/Modules/zpty.c: + improve use of movefd() and restore closing of original fd + on failure pending further work. + +2009-09-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27283: Src/exec.c, Src/utils.c: failure to dup fd accessed + uninitialised memory and closed the original fd regardless. + +2009-09-21 Peter Stephenson <pws@csr.com> + + * users/14411: Src/hashtable.c: only hash stat-able executable + regular files in the command table. + +2009-09-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Darel Henman: users/14412: Doc/Zsh/builtins.yo: fix confusions + in explanation of getopts option arguments. + + * Holger Weiss: 27281: Doc/Zsh/expn.yo: example of global + history substitution was wrong. + +2009-09-18 Peter Stephenson <pws@csr.com> + + * Mikael: 27279: Doc/Zsh/builtins.yo, Doc/Zsh/mod_zselect.yo: + minor tweaks. + +2009-09-16 Peter Stephenson <pws@csr.com> + + * Baptiste Daroussin: 27277: Completion/BSD/Command/_csup: Improve + csup completion. + +2009-09-15 Peter Stephenson <pws@csr.com> + + * users/14387 (tweaked): Doc/Zsh/grammar.yo: alternative syntax is + not about to disappear, but does make shell scripts less portable + and possibly readable. + +2009-09-14 Peter Stephenson <pws@csr.com> + + * Greg Klanderman: 27262: Completion/Unix/Type/_path_files: + prefixes were incorrect with accept-exact-dirs style. + +2009-09-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Baptiste Daroussin: 27271: Functions/Zftp/zfanon: remove awk + dependence. + + * Baptiste Daroussin: 27270: Functions/Zftp/zfcd_match: remove + awk dependence. + +2009-09-11 Peter Stephenson <pws@csr.com> + + * Baptiste Daroussin: 27268: Functions/MIME/pick-web-browser: + remove Perl dependency. + + * Baptiste Daroussin: 27267 plus 27269 plus doc: + Functions/Zftp/zfrtime, Doc/Zsh/zftpsys.yo: remove perl + dependency. + +2009-09-10 Peter Stephenson <pws@csr.com> + + * Greg Klanderman: 27259 / 27260: + Completion/Unix/Type/_path_files: make unset parameters in + file prefix not be treated as empty. + +2009-09-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Greg Klanderman: 27255: Doc/Zsh/builtins.yo, + Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo: + some consistency fixes. + +2009-09-07 Peter Stephenson <pws@csr.com> + + * 27236 (somewhat late): configure.ac: use $CPPFLAGS + after all occurrences of $CPP and see what happens. + +2009-09-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Holger Weiss <holger@CIS.FU-Berlin.DE>: 27248: + Src/Zle/zle_hist.c: anchoring of vi search was wrong because + of reversed prefix matching. + + * 27247: Functions/Misc/zmv: checking for "**/" was wrong. + +2009-09-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Daniel Friesel <derf@tabularazor.org>: 27244: + Completion/Unix/Command/_feh, Completion/Unix/Command/.distfils: + new completion. + + * 27243: Src/params.c, Test/D04parameter.ztst: reverse + indexing in array parameters with a beginning index out of range + returned the wrong value. + +2009-09-02 Peter Stephenson <pws@csr.com> + + * 27240: Src/builtin.c: 27079 caused later use of tokstr and tok + to be invalid. + +2009-08-28 Peter Stephenson <pws@csr.com> + + * 27233: Completion/Base/Utility/_values, + Completion/Unix/Command/_mount: improve _values handling of + optional arguments so that list separate removes the argument + separator; use this to make "mount -o loop" complete better. + +2009-08-21 Peter Stephenson <pws@csr.com> + + * 27228: Functions/Newuser/zsh-newuser-install: add a clear + function if the command doesn't exist. + +2009-08-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27219: Completion/Unix/Type/_files: "_files -F <array>" wasnʼt + correctly handled, which broke duplicate filtering in _rm. + + * 27218: Src/Zle/computil.c: don't unquote command line + to generate "line" in _arguments since the caller can't + tell what was there before. + +2009-08-17 Peter Stephenson <pws@csr.com> + + * 27217: Functions/Newuser/zsh-newuser-install: fix typo + in assignment. + +2009-08-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27216: Src/hist.c: set chwords to NULL when freed. + +2009-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/14307: Src/Zle/zle_tricky.c: end of current command in + completion wasn't properly found when using variant zsh loop + or test syntax. + +2009-08-07 Peter Stephenson <pws@csr.com> + + * Andrew Psaltis: 27212: Completion/Linux/Command/_pkgtool: + Slackware supports extra tar formats. + +2009-08-05 Peter Stephenson <pws@csr.com> + + * 27211: Src/Zle/computil.c: Extend exact completion within + compfiles -p/-P to treat drives and device files specially under + Cygwin. + +2009-08-05 Clint Adams <clint@zsh.org> + + * 27209: Completion/Unix/Type_path_files: fix breakage from + 27208. + + * Mikael Magnusson: 27204: Completion/Unix/Command/_patch: + remove stray curly brace. + + * 27208: Completion/Unix/Type_path_files: try to do the + right thing when applying file-sort to extant glob qualifiers. + +2009-08-01 Clint Adams <clint@zsh.org> + + * 27203: Completion/Debian/Command/_aptitude: treat + aptitude build-depends just as aptitude build-dep. + + * 27202: Src/system.h: unbreak _GNU_SOURCE on Debian + GNU/kFreeBSD. + +2009-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/14267: Completion/Base/Core/_description: files added + for the ignore-line style need to be quoted to be treated + literally. + +2009-07-24 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27188: Doc/Zsh/builtins.yo, Src/builtin.c, Test/B04read.ztst, + Test/D07multibyte.ztst: Make read -q use the same code as read + -k, hence enabling support for -t with terminals, -p and -u. + +2009-07-21 Peter Stephenson <pws@csr.com> + + * 27181: Doc/Zsh/options.yo, Src/builtin.c: extend POSIX_CD to + handle target directory printing behaviour. + +2009-07-20 Peter Stephenson <pws@csr.com> + + * 27178, 27180: Etc/FAQ.yo: as pointed out by Mikael, quoting + function names to stop alias expansion is always(ish) safe. + +2009-07-19 Barton E. Schaefer <schaefer@zsh.org> + + * 27169: Src/jobs.c, Src/signals.c: 23067 went too far in opening + up the signal mask when waiting for jobs; an interrupt from the + terminal should not terminate the shell until the foreground job + has a chance to exit or to choose not to do so. + +2009-07-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27167: Src/builtin.c, Src/options.c, Src/zsh.h, + Doc/Zsh/builtins.yo, Doc/Zsh/options.yo: POSIX_CD option, + currently only moves testing of "." to after testing of CDPATH. + +2009-07-18 Clint Adams <clint@zsh.org> + + * 27160: Completion/Debian/Command/_bug: tweaks to reportbug + completion, thanks to Vincent Lefevre. + + * 27128: Completion/Unix/Type/_tex: complete tex files for + latexmk. + +2009-07-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/14240: Src/parse.c: assignment before a function + definition should be an error, in common with other complex + functions and as documented. + +2009-07-14 Eric Blake <ebb9@byu.net> + + * Eric Blake: 27151: Src/builtin.c: Fix // handling in cd for + cygwin. + +2009-07-14 Peter Stephenson <pws@csr.com> + + * Andy Spencer: 27148: Completion/Linux/Command/_modutils: + ignore build as well as source directories when searching + recursively for modules. + +2009-07-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27135: Doc/Zsh/options.yo, Src/exec.c, Src/jobs.c: expand + POSIX_JOBS option to leave MONITOR on in subshell and not to + report the parent shell's jobs. + + * 27134: Src/exec.c, Src/init.c: improve 27131 by setting + FD_CLOEXEC for SHTTY or closing it by hand when executing. + +2009-07-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27131: Src/exec.c, Src/jobs.c: tentative attempt to + allow MONITOR option to be set in a subshell by not + closing SHTTY. + + * 27129: Src/exec.c, Src/init.c, Src/zsh.h, + Test/A01grammar.ztst, Test/C04funcdef.ztst, + Test/D08cmdsubst.ztst: fix 27126 so as not to break the + case where a status is tested at the start of a function, + command substitution, or "." file. + +2009-07-10 Clint Adams <clint@zsh.org> + + * 27127: Vincent Bernat: Completion/Debian/Command/_bts: handle + bts fixed and bts notfixed. + +2009-07-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27126: Src/exec.c, Src/init.c, Test/A01grammar.ztst, + Test/C04funcdef.ztst, Test/D08cmdsubst.ztst: a few more + contexts where empty lists should give status zero. + + * 27125: Src/prompt.c: handle nested use of colour code buffer + allocation. + +2009-07-10 Peter Stephenson <pws@csr.com> + + * 27122: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c, Src/zsh.h: + add POSIX_JOBS option to print only job text for bg and fg. + + * 27106: Src/exec.c, Src/signals.c, Src/zsh.h, + Test/A01grammar.ztst: on a command line that had text that + expanded to nothing reset the status (unless it should come + from a command substitution). + + * 27119: Src/jobs.c: correct 27112: output is to stdout, not + stderr, and there's no automated jobs notification if not + INTERACTIVE. + +2009-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27112: Src/jobs.c: allow output to stderr if MONITOR but + not INTERACTIVE. + +2009-07-09 Eric Blake <ebb9@byu.net> + + * 27109: Touch up non-interactive MONITOR handling. + Don't mess with tty when MONITOR but not interactive. + +2009-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27110: Src/init.c: Only turn on MONITOR if INTERACTIVE is on + or if set explicitly. + +2009-07-08 Peter Stephenson <pws@csr.com> + + * 27100: Allow MONITOR option in non-interactive shells. + Not properly test it, but you only get if you ask for it, + so worth committing to allow it to be further investigated. + +2009-07-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27092: Src/parse.c, Test/A01grammar.ztst: "if" didn't check + for missing clauses so a missing then-clause wasn't spotted + as an error. + +2009-07-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Brendan Cully: 27088: Completion/Unix/Command/_hg, + Completion/Unix/Command/.distfiles: new Mercurial completion. + +2009-07-02 Peter Stephenson <pws@csr.com> + + * 27087: Doc/Zsh/builtins.yo, Src/builtin.c, Src/zsh.h, + Test/A01grammar.ztst: change return codes from 27083 to + 126, 127. + + * Nicolas Pouillard: 27028: Completion/Unix/Command/_darcs: New + darcs completion; it's a lot shorter but apparently that's OK. + +2009-07-01 Peter Stephenson <pws@csr.com> + + * 27085: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: + in scrollist keymap allow accept-search to exit but do nothing + else. + + * 27083: Doc/Zsh/builtins.yo, Src/builtin.c, Src/init.c, + Src/zsh.h, Src/Modules/newuser.c, Test/A01grammar.ztst: "." + returns status 128 on execution failure, 129 on failure to find + file. + + * 27080: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: it + wasn't possible to exit menu selection cleanly. + +2009-07-01 Peter Stephenson <pws@csr.com> + + * 27079: Src/builtin.c: test builtin uses parser and so should + save and restore the lexical context to avoid pulling the + rug out when called in some nested fashion. + +2009-06-28 Andrey Borzenkov <bor@zsh.org> + + * unposted: Completion/Unix/Command/_man: + support lzma compression of man pages used in Mandriva + +2009-06-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27061: Nicolas Lalevée: Completion/Unix/Command/_ant: + importing files into ant. + +2009-06-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Greg Klanderman: 27057: Src/utils.c: %e and %f time formats + were swapped. + + * Frank Terbeck: users/14207: + Functions/VCS_Info/Backends/VCS_INFO_get_data_git: make + variable local. + +2009-06-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Frank Terbeck: 27049, 27050, 27051, 27052: + Functions/VCS_Info/VCS_INFO_bydir_detect, + Functions/VCS_Info/Backends/VCS_INFO_detect_hg, + Functions/VCS_Info/Backends/VCS_INFO_get_data_git, + Functions/VCS_Info/Backends/VCS_INFO_get_data_hg: VCS_INFO + improvements. + +2009-06-18 Clint Adams <clint@zsh.org> + + * 27048: Functions/MIME/zsh-mime-setup: avoid multiline prints + which break CSH_JUNKIE_QUOTES. + +2009-06-05 Peter Stephenson <pws@csr.com> + + * 27305: Functions/Misc/run-help: use POSIXLY_CORRECT with man + to avoid GNU man grabbing options in the argument list. + + * 27304: Doc/Zsh/expn.yo, Src/subst.c, Src/utils.c, Src/zsh.h, + Test/D04parameter.ztst: add ${(q-)...} flag to do minimal + quoting of arguments with no unnecessary single quotes. + +2009-06-04 Peter Stephenson <pws@csr.com> + + * Baptiste Daroussin: 27033: Completion/BSD/Command/_portaudit, + Completion/Unix/Command/_mount: more FreeBSD changes. + + * Baptiste Daroussin: 27030: Completion/Unix/Type/_file_systems: + update for FreeBSD. + + * Baptiste Daroussin: 27029: Completion/BSD/Command/_pfctl: new + completion. + +2009-06-02 Clint Adams <clint@zsh.org> + + * Colin Watson: 27027: Completion/Unix/Command/_bzr: + completion for bzr switch. + +2009-06-02 Peter Stephenson <pws@csr.com> + + * Akinori MUSHA: private communication: + Completion/Unix/Command/_subversion: fix typo. + + * Config/version.mk: update version recorded in archive + to 4.3.10-dev-1 (not released). + +2009-06-01 Wayne Davison <wayned@users.sourceforge.net> + + * Util/mkdisttree.sh, Util/preconfig: Tweak find to prune a .git dir. + This allows a .git/cvs dir to exist with a cvs checkout in it. + +2009-06-01 Peter Stephenson <pws@csr.com> + + * Config/version.mk: release 4.3.10. + +2009-05-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Jesse W: 27024: configure.ac, Doc/Makefile.in: allow + overriding TEXI2HTML. + +2009-05-30 Clint Adams <clint@zsh.org> + + * 27025: Src/system.h: define _GNU_SOURCE on the Hurd. + +2009-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 27021: Src/pattern.c: length of variable saving globflags + was wrong causing restored value to be wrong in pattern matching + on big-endian 64-bit systems. + +2009-05-28 Peter Stephenson <pws@csr.com> + + * Jun T.: 27010: Completion/Unix/Command/_date: Darwin. + +2009-05-26 Peter Stephenson <pws@csr.com> + + * 26998: configure.ac, Config/defs.mk.in: use --htmldir passed + to configure: restore zsh default if unchanged from current + configure default of '${docdir}'. + +2009-05-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Ingmar Vanhassel: 26990: Doc/Makefile.in: tidy up all html + files created by updated naming scheme. + +2009-05-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Michael Hwang: 26986: Doc/Zsh/compsys.yo: formatting. + +2009-05-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26978: Julien Langer: Completion/Unix/Command/_stgit: complete + patch names. + +2009-05-22 Peter Stephenson <pws@csr.com> + + * 26982: Julien Langer: Doc/Zsh/contrib.yo, + Functions/VCS_Info/Backends/VCS_INFO_get_data_git: support stgit + + * 26970: Greg Klanderman: Completion/Unix/Command/_subversion: fix + caching. + +2009-05-22 Clint Adams <clint@zsh.org> + + * 26939: Completion/Unix/Command/_xmms2: clean up xmms2 jump + completion. + + * Patrick Schoenfeld: 26977: Completion/Unix/Command/_perl: + complete .t files for perl. + +2009-05-20 Peter Stephenson <pws@csr.com> + + * 26975: Src/builtin.c: compilation issues in bin_print(). + + * users/14143 plus extra fix in padding code: Doc/Zsh/params.yo, + Src/subst.c, Src/utils.c: use default IFS if IFS is unset. + +2009-05-19 Peter Stephenson <pws@csr.com> + + * 26973: Doc/Zsh/contrib.yo, Functions/Misc/zmathfuncdef: make + zmathfuncdef replace functions and list existing functions. + + * Config/version.mk: 4.3.9-dev-5 (4.3.9-dev-4 not recorded). + + * Greg Klanderman: 26972: Src/utils.c: fix problem ni 26964. + +2009-05-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Greg Klanderman: 26964 (modified): Src/utils.c, + Doc/zsh/options.yo, Doc/Zsh/params.yo: make prompt + end-of-line configurable with PROMPT_EOL_MARK. + + * Greg Klanderman: 26963: fix suffix handling for svn completion + +2009-05-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Paul Ackersviller: 26962: configure.ac, aczsh.m4, + Src/module.c, MACHINES, INSTALL: updated HP-UX dynamic linking. + +2009-05-13 Peter Stephenson <pws@csr.com> + + * users/14118: Functions/Prompts/prompt_special_chars: fix test + and assignment. + + * Paul Ackersviller: 26959: Test/Makefile.in: need a delay before + removing modules after testing on HP-UX. + +2009-05-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26958: Src/prompt.c: Reallocation of prompt line didn't + fix the pointer to the start of the current line. + +2009-05-12 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Prompts/prompt_bart_setup: fix a warning + with WARN_CREATE_GLOBAL. + + * Src/builtin.c: fix some memory usage issues. + +2009-05-11 Peter Stephenson <pws@csr.com> + + * 26956: Etc/zsh-development-guide, Src/Zle/zle_refresh: + clear up region highlight variables properly and note that the + variables should be zeroed even if the module is being unloaded + (problem on HP-UX). + +2009-05-09 Andrey Borzenkov <bor@zsh.org> + + * unposted: Completion/Unix/Command/_getfacl: + fix options definition; add file names completion for variant=unix + +2009-05-08 Peter Stephenson <pws@csr.com> + + * 26953: Test/D07multibyte.ztst: print warning but don't fail test + if system apparently can't do simple character set conversion. + + * 26950: Src/params.c: warn on failed attempt to change real or + effective group or user ID. + + * 26949: Completion/Unix/Command/_sudo: new options and sudoedit. + + * 26948: Src/Zle/zle_refresh.c: ensure recorded window sizes + are reset when video data is freed. + +2009-05-07 Peter Stephenson <pws@csr.com> + + * 26945: Src/builtin.c, Test/D07multibyte.ztst: read should + pass through invalid multibyte characters. + +2009-05-06 Clint Adams <clint@zsh.org> + + * 26937: Completion/Unix/Command/_git: have `git log` complete + files after branch/range. + +2009-05-05 Peter Stephenson <pws@csr.com> + + * martin f. krafft: 26922: Completion/Unix/Command/_xmms2: extend + xmms2 completion. + +2009-04-30 Barton E. Schaefer <schaefer@zsh.org> + + * users/14076 (tweaked per 26906): Completion/Unix/Command/_ssh: + Add -q or -r: options to some compadd argument lists to properly + handle suffix removal when completing ssh option names or remote + host references in file names. + +2009-04-30 Peter Stephenson <pws@csr.com> + + * c.f. 26895: Test/D07/multibyte.ztst: restrict the sorting test + to western European characters. + +2009-04-29 Peter Stephenson <pws@csr.com> + + * 26900: Benjamin R. Haskell: Completion/Unix/Command/_ssh: ssh -Y, + -x and -X are mutually exclusive. + + * 26899: Ingmar Vanhassel: Completion/Unix/Command/_ssh: -Y option + + * 26898: Ingmar Vanhassel: configure.ac: don't link + libbind unless really needed. + +2009-04-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Paul Ackersviller: 26883: Test/D07multibyte.ztst: naming of + UTF8 locales is different in HPUX. + +2009-04-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted, see 26880: Functions/Misc/run-help: back off 26862. + +2009-04-24 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: update to 4.3.9-dev-3. + + * uposted: update some .distfiles + + * 26876 (documentation slightly modified): NEWS, Doc/Zsh/compwid.yo, + Doc/Zsh/params.yo, Src/Zle/compresult.c, Src/Zle/zle.h, + Src/Zle/zle_misc.c: add ZLE_REMOVE_SUFFIX_CHARS and + ZLE_SPACE_SUFFIX_CHARS to make actions for suffix removals when + not controlled by completion system more configurable. + +2009-04-23 Clint Adams <clint@zsh.org> + + * 26877, 26879: Completion/Debian/Command/_apt: handle apt-get + purge. + +2009-04-22 Peter Stephenson <pws@csr.com> + + * see 26867: Functions/VCS_Info/Backends/VCS_INFO_get_data_svk: + remove odd "${". + +2009-04-21 Peter Stephenson <pws@csr.com> + + * Greg Klanderman: 26862: Functions/Misc/run-help: remove + unecessary "print". + + * Greg Klanderman (26861) + 26863: + Completion/Base/Widget/_read_comp: don't warn over unset + parameters but typeset -g _read_comp anyway. + + * 26858: Test/A01grammar.ztst: use zsh -fc instead of /bin/sh -c + for testing exec -l to avoid sensitivity to /etc/profile. + + * 26853 + typo fix: NEWS, README, Etc/CONTRIBUTORS, Etc/FAQ.yo, + Etc/relnote_4.3.10.txt: package documentation updates. + +2009-04-20 Peter Stephenson <pws@csr.com> + + * Src/Modules/terminfo.mdd: make test agree with the one + in terminfo.c. + +2009-04-20 Clint Adams <clint@zsh.org> + + * Kalle Olavi Niemitalo: 26850: Completion/Unix/Command/_git: + fix breakage in git write-tree and git send-pack. + +2009-04-18 Andrey Borzenkov <bor@zsh.org> + + * users/14033 as modified by users/14037 and added doc: + Completion/Base/Utility/_describe, Doc/Zsh/compsys.yo: allow + quoting of ":" with backslashes in possible matches in _describe + +2009-04-17 Peter Stephenson <pws@csr.com> + + * users/14041: Doc/Zsh/zle.yo, Src/Zle/zle_bindings.c: bind ":" + by default to execute-named-cmd in vicmd mode. + + * unposted: Config/version.mk: change version to 4.3.9.dev-2. + + * Jesse W: 26840: Doc/Zsh/manual.yo: texi2html instructions. + +2009-04-16 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_mdmadm -> _mdadm + + * 26389: Doc/.cvsignore, Doc/.distfiles, Doc/Makefile.in: add + --node-files option to texi2html. + + * Alexey I. Froloff: 26830: Completion/Unix/Command/_man: fix + stripping of manual page suffixes. + + * Evgenii Terechkov: 26831: Completion/Unix/Command/_screen: + filter out redundant output. + + * Alexey I. Froloff: 26829: Completion/Unix/Command/_rsync: + miscounting fields in output. + + * Tomasz Pala: users/14031: Completion/Linux/Command/_ipset: + updates. + + * Tomasz Pala: users/14032: Completion/Linux/Command/_mdmadm, + Completion/Linux/Command/_rpmbuild: new completions. + + * Tomasz Pala: users/14030: Completion/Linux/Command/_ethtool: + update. + +2009-04-07 Peter Stephenson <pws@csr.com> + + * Bart: 26822: Completion/Zsh/Context/_subscript: ">" should + be "-gt"---caused infinite loop looking for nonexistent subscript. + +2009-04-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Frank Terbeck <ft@bewatermyfriend.org>: Functions/VCS_Info/*: + 26816: vcs_info: add revision and "misc" argument to + VCS_INFO_formats(); 26817: updates for get-revision, %i and %m; + 26818: Add git's sha1 hash as revision information; 26819: Add + information about hg's local revision number and the commit's + hash; 26820: Make the hg backend work with new versions of + mercurial. + +2009-04-06 Peter Stephenson <pws@csr.com> + + * 26806 (doc tweaked): Add CORRECT_IGNORE variable for pattern to + be ignored by correction from internal hash tables. + +2009-04-04 Clint Adams <clint@zsh.org> + + * Simon Ruderich: 26800: Completion/Unix/Command/_git: fixes for "git add" + completion. + +2009-04-01 Peter Stephenson <pws@csr.com> + + * 26801: Completion/Base/Core/_main_complete, + Completion/Unix/Command/_calendar, + Completion/Zsh/Command/_command, + Completion/Zsh/Command/_precommand: add completion for calendar + function; add tracking for precommand modifiers that are + in effect. + +2009-03-26 Peter Stephenson <pws@csr.com> + + * 26797: Doc/Zsh/options.yo: further minor changes. + + * 26795: Doc/Zsh/options.yo: further warning in POSIX_ALIASES. + +2009-03-25 Peter Stephenson <pws@csr.com> + + * 26783: Doc/Zsh/compsys.yo, Completion/Base/Completer/.distfiles, + Completion/Base/Completer/_user_expand: new _user_expand completer. + + * Jon Strait: 26778, 26781: Doc/Zsh/mod_pcre.yo, + Src/Modules/pcre.c: a couple of extra options for PCRE matching. + + * Michael Hwang: 26776: Src/builtin.c: improved column alignment + with print -c -P. + +2009-03-24 Peter Stephenson <pws@csr.com> + + * 26774: Src/utils.c: cd to $HOME on failure in preference to /. + + * 26772: Src/glob.c, Src/utils.c, Src/zsh.h, Src/Modules/files.c: + more failed cd handling: fix possible runaway series of chdirs; + better error handling. + +2009-03-23 Peter Stephenson <pws@csr.com> + + * 26769: Src/utils.c: 26767 created an even worse problem. + + * 26748: Doc/Zsh/expn.yo, Src/hist.c, Src/subst.c: c modifier + to add command path. + + * 26767: Src/utils.c: 26763 created file descriptor leak. + +2009-03-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26763: Src/utils.c: fix problem restoring directory + when attempting to cd to relative path and failing. + + * users/13593: Src/utils.c: tidy up from 26625. + +2009-03-20 Peter Stephenson <pws@csr.com> + + * Bart: 26761: Src/hist.c: typo in 26754. + +2009-03-19 Peter Stephenson <pws@csr.com> + + * Mikael: 26759: Src/Modules/curses.mdd: missing here-document + terminator. + + * 26756: Completion/Zsh/Type/_history_modifiers: handling + following :s was wrong. + + * 26754: configure.ac, Doc/Zsh/expn.yo, Src/compat.c, Src/hist.c: + tweak zgetdir() (but don't use it) and test for realpath(). + +2009-03-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26752: Src/hist.c: fix ../ removal in :a and metafication + in :a and :A modifiers. + +2009-03-18 Peter Stephenson <pws@csr.com> + + * Frank Terbeck: 26751: Functions/VCS_Info/vcs_info_setsys: + suppress warning with WARN_CREATE_GLOBAL. + +2009-03-17 Peter Stephenson <pws@csr.com> + + * 26746: Completion/Zsh/Context/_normal, + Completion/Zsh/Type/_history_modifiers: complete new history + modifiers a and A and allow completion of history modifiers + at the start of double quotes. + +2009-03-16 Peter Stephenson <pws@csr.com> + + * 26744: Completion/Zsh/Context/_normal: handle completion + of history modifiers for normal command line arguments. + +2009-03-15 Barton E. Schaefer <schaefer@zsh.org> + + * users/13937, users/13939: configure.ac, Src/jobs.c: check for + and if available use setproctitle() for "jobs -Z". + +2009-03-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26736: Doc/Zsh/expn.yo: document 26731. + + * Michael Hwang: 26731 (with cosmetic changes): Src/hist.c, + Src/subst.c: add `a' and `A' modifiers. + +2009-03-14 Wayne Davison <wayned@users.sourceforge.net> + + * 26735: Src/Modules/files.c, Src/Modules/mapfile.c, + Src/Modules/zftp.c, Src/builtin.c, Src/exec.c, + Src/hist.c, Src/utils.c: improved return-value checking. + +2009-03-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/13910: Src/jobs.c: spawnjob() should output job + information to the tty like printjob() does. + + * 26699: Makefile.in: dependencies for config.modules. + +2009-03-14 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Adding .gitignore for the mirrored git repo. + +2009-03-13 Peter Stephenson <pws@csr.com> + + * users/13902: Doc/Zsh/zle.yo, Src/Zle/zle_hist.yo, + Src/Zle/zle_params.yo: improve return value from isearch functions + and add LASTABORTEDSEARCH variable. + + * 26723: Completion/Unix/Type/.distfiles, + Completion/Unix/Type/_have_glob_qual, + Completion/Unix/Type_path_files: centralise test for whether + file has glob qualifiers and how to match them. + + * users/13903: Src/Zle/zle_hist.c: repeated vi searching was + broken and "_" prompt was missing. + +2009-03-13 Barton E. Schaefer <schaefer@zsh.org> + + * 26713: Completion/Zsh/Type/_globflags: add #autoload + +2009-03-13 Geoff Wing <gcw@zsh.org> + + * unposted: LICENCE: update year to 2009 + +2009-03-10 Peter Stephenson <pws@csr.com> + + * 26708: Src/hist.c: print message if we give up trying to + create a lock file with hard links. + + * 26705: Src/subst.c, Test/D07multibyte.ztst: still problems + with multibyte characters with Meta in prompt expansion within + parameter expansion. + +2009-03-09 Peter Stephenson <pws@csr.com> + + * 26702: Src/init.c: lexsave()/lexrestore() needed around + use of history in loop() when not at top level; shows up + when calling things from zle, for example. + + * derf@sievert.tabularazor.org: 22701: + Completion/Unix/Command/_devtodo: new completion + +2009-03-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26697: configure.ac, Src/Modules/attr.c, Src/Modules/attr.mdd: + test for Linux- and Mac- style xattr functions and don't use + if neither appropriate. + +2009-03-06 Peter Stephenson <pws@csr.com> + + * unposted: fix definition of _perforce_whole_path in 26690. + +2009-03-04 Peter Stephenson <pws@csr.com> + + * 26690: Completion/Unix/Command/_perforce: the + whole-path style allows you to complete certain types of + file (e.g. opened) as a complete path rather than in directory + segments; the special value absolute only does that if you + type the leading slash. + + * unposted: Etc/FAQ.yo: add POSIX_ALIASES and POSIX_IDENTIFIERS + to the list of compatibility options with ksh. + +2009-03-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26686: Src/exec.c, Src/utils.c: storing long $_ on the + stack can be problematic, so use zalloc() rather than VARARR(). + + * 26683: Doc/Zsh/params.yo, Doc/Zsh/roadmap.yo: add some notes + on LC_CTYPE etc. + + * unposted: Src/Modules/cap.c: that's what happens when you + make patches for things that aren't supported on your system. + +2009-03-03 Peter Stephenson <pws@csr.com> + + * 26680: Src/Modules/cap.c: missed some stuff that needed metafied + arguments. + + * 26677: Src/Module/caps.c: need some unmetafy() calls as noticed + by Mikael. + + * 26676: Doc/Zsh/options.yo: redirect to main description + of reserved words instead. + + * 26675: Doc/Zsh/options.yo, Src/lex.c, Src/options.c, Src/zsh.h, + Test/A02alias.ztst: add POSIX_ALIASES option. + + * 26671: Completion/Zsh/Command/_zattr, Doc/Zsh/.distfiles, + Src/Modules/attr.c: various minor tidy-ups (tidies up?) for + 26670. + + * Mikael Magnusson: 26670: configure.ac, + Completion/Command/Zsh/.distfiles, Completion/Zsh/Command/_zattr, + Doc/Makefile.in, Doc/Zsh/.distfiles, Doc/Zsh/mod_attr.yo, + Src/Modules/.distfiles, Src/Modules/attr.c, Src/Modules/attr.mdd: + add module to handle Linux extended file attributes. + + * Jun T.: 26667: Doc/Zsh/prompt.yo: separate out parentheses. + +2009-03-02 Barton E. Schaefer <schaefer@zsh.org> + + * 26665: Src/utils.c: fix one incorrect test in 26614. + +2009-03-02 Peter Stephenson <pws@csr.com> + + * Lionel Flandrin: 26625: Src/utils.c: inopportune interrupt + could wreck terminal set up. + + * 26614 plus 26615: Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo, + Doc/Zsh/prompt.yo, Src/builtin.c, Src/utils.c: support + -t <fmt> in history and as a side effect support GNU + "-" extension for date and time elements with no padding + for those handled internally. + +2009-03-01 Clint Adams <clint@zsh.org> + + * Frank Blendinger: 26656: Completion/Unix/Command/_gnupod: + improved gnupod completion. + + * Chris Lamb: 26655: Completion/Unix/Command/_django: complete + custom Django management commands. + +2009-02-28 Clint Adams <clint@zsh.org> + + * Daniel Friesel: 26636: Completion/X/Command/_mplayer: complete + .flac files for mplayer. + +2009-02-27 Barton E. Schaefer <schaefer@zsh.org> + + * 26609: Completion/Unix/Type/_path_files: further / different fix + for doubled -s in path completion, which only might be correct in + all cases but is more correct for the original failed example. + + * unposted: Completion/Base/Utility/_pick_variant: be consistent + about explicitly returning 0 or 1, just because. + +2009-02-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26622: Src/lex.c, Test/A01grammar.ztst: improve 26617 and add + test. + +2009-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26617, c.f. Tomáš Smetana, 26610: Src/lex.c: comments + weren't handled in $(...). + +2009-02-26 Peter Stephenson <pws@csr.com> + + * Frank Terbeck: 26612: Doc/Zsh/contrib.yo: VCS info documentation + fix + +2009-02-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26606: Completion/Unix/Type/_path_files: fix doubled -s + in path completion in certain cases. + +2009-02-25 Peter Stephenson <pws@csr.com> + + * Src/hist.c: 26602: history substitution buffer could overflow + with no test. + +2009-02-25 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 26596: Completion/Unix/Command/_git: new git + options. + + * Jörg Sommer: 26593: Completion/Debian/Command/_lintian: complete + multiple files for lintian. + +2009-02-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26588: Src/Zle/zle_tricky.c: don't expand aliases in run-help + since the run-help function can do that. + +2009-02-20 Peter Stephenson <pws@csr.com> + + * c.f. 26586: Src/builtin.c, Src/lex.c, Src/parse.c: rename yylex + to zshlex and yytext to zshlextext to avoid possible clashes + in linked libraries. + + * 26584: configure.ac, Src/Modules/tcp.h: use bind/netdb.h where + appropriate. + +2009-02-19 Peter Stephenson <pws@csr.com> + + * 26583: Src/init.c, Src/zsh.h: use HOOK_SUFFIX more widely + for "*_functions" arrays. + +2009-02-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Jörg Sommer: 26582: Completion/Unix/Command/_date: --rfc-3339 + option. + +2009-02-18 Peter Stephenson <pws@csr.com> + + * 26580: Mikael: Doc/Zsh/func.yo: typo. + + * 26579: Doc/Zsh/func.yo: fix hook function documentation. + + * unposted: Src/.cvsignore: ignore patchlevel.h. + + * Arkadiusz Miskiewicz <arekm@maven.pl>: 26573: + Functions/Completion/compdump: force compdump to overwrite + dump file if mv is a bit dubious. + +2009-02-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Danek Duvall: 26571: Src/Zle/complete.mdd, + Completion/Solaris/Command/_dladm, + Completion/Solaris/Command/_ptree, + Completion/Solaris/Command/_svccfg, + Completion/Solaris/Command/_svcs, Completion/Unix/Command/_zfs, + Completion/Unix/Command/_zpool: additions for Solaris + support. + + * Richard Hartmann: 26558: Doc/Zsh/options.yo: modification + of 2650. + +2009-02-12 Clint Adams <clint@zsh.org> + + * 26565: Completion/Unix/Command/_patch: fix breakage in 26482. + +2009-02-12 Peter Stephenson <pws@csr.com> + + * 26560: Doc/Zsh/builtins.yo: document autoload -z/-k (finally). + +2009-02-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26556: Doc/Zsh/builtins.yo: documentation for 26546. + + * 26546: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/init.c, + Src/mkbltnmlst.sh, Src/options.c, Src/params.c, Src/parse.c, + Src/signals.c, Src/subst.c, Src/zsh.h, Src/Modules/newuser.c, + Src/Modules/parameter.c, Test/B07emulate.ztst: sticky emulation + for functions defined within emualate ... -c ... environments. + +2009-02-11 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Calendar/age: accidentally committed a + currently undocumented change that allows an age spec beginning + with a colon to be followed by a file name whose modification time + will be used as the date/time. Probably needs improving but + not actually harmful since the syntax wasn't valid before. + + * Richard Hartmann: 26550: Doc/Zsh/options.yo: make + it clear that various options can't be changed within the shell. + + * Frank Terbeck: 26549: Doc/Zsh/contrib.yo, + Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, + Functions/VCS_Info/Backends/VCS_INFO_get_data_cdv, + Functions/VCS_Info/Backends/VCS_INFO_get_data_cvs, + Functions/VCS_Info/Backends/VCS_INFO_get_data_darcs, + Functions/VCS_Info/Backends/VCS_INFO_get_data_git, + Functions/VCS_Info/Backends/VCS_INFO_get_data_hg, + Functions/VCS_Info/Backends/VCS_INFO_get_data_mtn, + Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, + Functions/VCS_Info/Backends/VCS_INFO_get_data_svk, + Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, + Functions/VCS_Info/Backends/VCS_INFO_get_data_tla, + Functions/VCS_Info/VCS_INFO_formats: improvements to VCS_Info: + check for changes in git. + + * Richard Hartmann: 26547: Doc/Zsh/options.yo: further extension + to option indexing: NOoptions without underscore. + +2009-02-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26545: Test/B07emulate.ztst: new test. + +2009-02-10 Clint Adams <clint@zsh.org> + + * 26544: Completion/Unix/Command/_lp: complete pdf files + as well as ps. + +2009-02-09 Peter Stephenson <pws@csr.com> + + * Greg Klanderman: 26538: Completion/Base/Widget/_read_comp: + needs "nounset" option. + + * Richard Hartmann: 26536: Doc/Zsh/options.yo: add index entries + for options that appear with "NO" in front. + + * Richard Hartmann: 26535: Doc/Zsh/options.yo: remove typo. + +2009-02-08 Andrey Borzenkov <bor@zsh.org> + + * 26530: Doc/Zsh/builtins.yo: clarify that "emulate -c" + restores all options on return, not only those related + to emulation + +2009-02-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Allan Caffee <allan.caffee@gmail.com>: 26532: index option + names without underscore, too. + +2009-02-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/zle.yo: use of highlighting was out of + date. + +2009-02-06 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/builtins.yo: typo in previous patch + spotted by Mikael. + + * 26517: Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo, + Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/options.yo, + Doc/Zsh/params.yo: prompt expansion section in Unix manual + is actually named EXPANSION OF PROMPT SEQUENCES. + +2009-02-05 Peter Stephenson <pws@csr.com> + + * unposted: fix number in foregoing. + + * 26513: README: note that addition of ".." in completion + was broken. + +2009-02-01 Andrey Borzenkov <bor@zsh.org> + + * 26504: Doc/Zsh/options.yo: document that LOCAL_OPTIONS + does not restore PRIVILEGED and RESTRICTED + +2009-01-30 Clint Adams <clint@zsh.org> + + * 26494: Completion/Unix/Command/_pydoc: completion for pydoc. + +2009-01-29 Peter Stephenson <pws@csr.com> + + * 26485: Completion/Unix/Type/_path_files: accept-exact-dirs could + rearrange directories into the wrong order. + +2009-01-29 Clint Adams <clint@zsh.org> + + * 26482: Completion/Unix/Command/_patch: complete patch -U, + --unified-reject-files, --global-reject-file. + * unposted: move _getfacl and _setfacl from Completion/Cygwin/Command + to Completion/Unix/Command. + * 26483: Completion/Unix/Command/_getfacl, + Completion/Unix/Command/_setfacl: handle SGI's acl programs as well + as Cygwin's. + * Jörg Sommer: 26451: Completion/Linux/Command/_modutils: use + globbing to find available modules, now that modprobe -l is + deprecated. + * Jörg Sommer: 26452: Completion/Linux/Command/_modutils: drop + completion of modinfo -f. + * Jörg Sommer: 26453: Completion/Linux/Command/_modutils: complete + modinfo -k. + * Ingmar Vanhassel: 26467: Completion/Unix/Command/_git: add "git + remote rename" completion. + * Ingmar Vanhassel: 26468: Completion/Unix/Command/_git: "git + stage" is now a synonym for "git add". git diff: --staged is a + synonym for --cached. + * Ingmar Vanhassel: 26469: Completion/Unix/Command/_git: complete + "git clone --verbose". + * Ingmar Vanhassel: 26470: Completion/Unix/Command/_git: update + "git svn" completion. + * Ingmar Vanhassel: 26471: Completion/Unix/Command/_git: update + "git rebase" completion. + * Ingmar Vanhassel: 26472: Completion/Unix/Command/_git: complete + "git add --intent-to-add". + * Ingmar Vanhassel: 26473: Completion/Unix/Command/_git: complete + "git commit --cleanup=" and "git commit --allow-empty". + * Ingmar Vanhassel: 26474: Completion/Unix/Command/_git: add + "git describe --tags" completion and fix typos. + +2009-01-29 Peter Stephenson <pws@csr.com> + + * 26466: Src/Zle/compmatch.c: with suffix, bld_line() got + the arithmetic over patterns wrong. + +2009-01-28 Peter Stephenson <pws@csr.com> + + * Greg Klanderman: 26465: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: + add command keymap for command execution. + + * Greg Klanderman: 26464: Completion/Unix/Type/_pids: style + insert-ids=single was problematic with menu completion. + + * Greg Klanderman: 26463: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: add + zle-line-finish widget. + +2009-01-27 Peter Stephenson <pws@csr.com> + + * 26448: Doc/Zsh/expn.yo, Src/glob.c: glob sort operators + oe and o+ allow arbitrary code to pick name for sorting. + +2009-01-26 Peter Stephenson <pws@csr.com> + + * Greg Klanderman: 26439: Doc/Zsh/mod_system.yo: convert sections + to subsections. + +2009-01-25 Andrey Borzenkov <bor@zsh.org> + + * 26425: Doc/Zsh/builtins.yo Src/builtin.c: + "emulate csh -c command" will evaluate `command' after temporary + enable csh emulation. Note that `-c' is not actually an option, + but positional parameter. + +2009-01-24 Doug Kearns <dougkearns@gmail.com> + + * 26413: Completion/Unix/Command/_ant: update for version 1.7.1. + + * 26411: Completion/Cygwin/Command/.distfiles, + Completion/Cygwin/Command/_cygcheck, + Completion/Cygwin/Command/_cygpath, + Completion/Cygwin/Command/_cygrunsrv, + Completion/Cygwin/Command/_cygserver, + Completion/Cygwin/Command/_cygstart, + Completion/Cygwin/Command/_dumper, + Completion/Cygwin/Command/_getclip, + Completion/Cygwin/Command/_getfacl, + Completion/Cygwin/Command/_mkshortcut, + Completion/Cygwin/Command/_mkzsh, + Completion/Cygwin/Command/_putclip, + Completion/Cygwin/Command/_readshortcut, + Completion/Cygwin/Command/_setfacl: update Cygwin completion + functions and add new completion for setfacl and readshortcut. + +2009-01-22 Clint Adams <clint@zsh.org> + + * 26407: Completion/Debian/Command/_aptitude: patch to handle + aptitude build-dep, from Sven Joachim. + + * 26405: Completion/Unix/Command/_xmms2: completion for + xmms2, from Louis-David Mitterand. + +2009-01-22 Doug Kearns <dougkearns@gmail.com> + + * unposted: Etc/zsh-development-guide: fix some typos. + +2009-01-20 Peter Stephenson <pws@csr.com> + + * 26373: Src/Zle/complist.c: initialise variable in menu + completion in attempt to prevent crash when starting + a new completion. + +2009-01-20 Doug Kearns <dougkearns@gmail.com> + + * 26372: Completion/Unix/Command/_antiword: update for version + 0.37. + +2009-01-19 Peter Stephenson <pws@csr.com> + + * 26366: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, + Src/Zle/zle_hist.c, Src/Zle/zle_keymap.c: add "isearch" + keymap and "accept-search" function. + + * Doug Kearns: 26365: Completion/Unix/Command/_python: new 3.0 + options. + +2009-01-19 Wayne Davison <wayned@users.sourceforge.net> + + * 26362: Src/Modules/regex.c: avoid calling regfree() when the + regex_t "re" was not initialized. + +2009-01-19 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Modules/regex.c: fixed a few compiler warnings + in zcond_regex_match(), including a (useless) warning about + matchessz potentially being used uninitialized and some + signed/unsigned warnings about re.re_nsub. Also split a + couple compound lines. + +2009-01-19 Doug Kearns <dougkearns@gmail.com> + + * 26361: Completion/Unix/Command/_rake: update for version 0.8.3. + + * 26360: Completion/Unix/Command/_git: add --work-tree option. + +2009-01-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26315: Src/params.c: define ZSH_PATCHLEVEL to "unknown" if + revision not found. + +2009-01-15 Peter Stephenson <pws@csr.com> + + * 26313: INSTALL, configure.ac, Src/params.c: add + --enable-custom-patchlevel for tweaked shells. + + * Functions/TCP/tcp_log: unposted: suppress WARN_CREATE_GLOBAL + message. + + * 26312: Phil Pennock: Doc/Zsh/cond.yo, Doc/Zsh/mod_pcre.yo, + Doc/Zsh/mod_regex.yo: Document no variables altered on failed + match. + +2009-01-13 Peter Stephenson <pws@csr.com> + + * 26304: Mikael Magnusson: configure.ac: logical correction + in link warning. + + * 26393: Src/Zle/zle_refresh.c: turn off text attributes when + deleting text, to avoid them being used for inserted blanks. + + * unposted: Completion/Base/Utility/_values, Doc/Zsh/compwid.yo, + Src/Zle/compcore.c, Src/Zle/complete.c, Src/Zle/compresult.c: + Back off 26270 and follow up; was causing memory corruption. + + * Doc/Zsh/mod_zpty.yo, Src/Modules/zpty.c, Test/comptest: + make "zpty -r" exit more cleanly on read failures and add and + use option to ensure a pattern has been matched. + + * 26300: Src/zsh.mdd: don't use "echo -n" for $ZSH_PATCHLEVEL. + +2009-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/compwid.yo: tweak doc for 26270. + + * unposted: Src/zsh.mdd: fix the inevitable confusion with + using dollar Revision dollar. + + * 26272: Doc/Zsh/params.yo, Src/params.c, Src/zsh.mdd: extract + Revision from ChangeLog for use in $ZSH_PATCHLEVEL. + + * unposted: add RCS Revision tag for use in patchlevel + recording. + +2009-01-09 Andrey Borzenkov <bor@zsh.org> + + * 26270: Completion/Base/Utility/_values, Doc/Zsh/compwid.yo, + Src/Zle/compcore.c, Src/Zle/complete.c, Src/Zle/compresult.c: + allow accept-and-menu-complete to work also with _values. + Add compstate[list_in_word] flag to control, whether suffix + is replaced by space; when set, next match is added in the same + word. + + * unposted: Completion/Mandriva/Command/.distfiles, + Completion/Mandriva/Command/_rebootin: add _rebootin completion + from Mandriva RPM (modified to allow spaces in GRUB menu titles) + +2009-01-09 Peter Stephenson <pws@csr.com> + + * Benjamin R. Haskell: 26265: Functions/Zle/define-composed-chars: + fix some accented characters. + +2009-01-08 Peter Stephenson <pws@csr.com> + + * 26260: Src/params.c: fix crash when failing to assign + scalar to special hash. + +2009-01-06 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/mod_stat.yo: fix yodl problem with 26229. + +2009-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26249: Src/utils.c: remove arbitrary string length limit in + unmeta(). + +2009-01-05 Peter Stephenson <pws@csr.com> + + * Richard Hartmann: 26170 (parts 1 and 2): + Completion/Unix/Type/_ps, Completion/Unix/Type/_pdf: + files compressed with .bz2. + +2009-01-05 Andrey Borzenkov <bor@zsh.org> + + * 26247: configure.ac, Src/Zle/zle_tricky.c: fix compilation + with -Werror=format-security GCC option. + +2009-01-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Richard Hartmann: 26229: Doc/Zsh/mod_stat.yo: note that zstat + follows links by default. + + * Frank Terbeck: 26215: Doc/Zsh/contrib.yo, + Functions/VCS_Info/vcs_info: disable-patterns style. + + * Greg Klanderman: 26159: Src/Zle/zle_utils.c: CUT_RAW should be + CUT_REPLACE for multiple kills to append. + +2008-12-30 Clint Adams <clint@zsh.org> + + * 26202: Functions/Misc/run-help: show zshmodules(1) for echotc, + echoti, sched, zprof, zpty, zsocket, zstyle, and ztcp builtins + as well. + +2008-12-29 Geoff Wing <gcw@zsh.org> + + * unposted: Test/C04funcdef.ztst, Test/C05debug.ztst, + Test/V06parameter.ztst: clean up temporary files + +2008-12-29 Clint Adams <clint@zsh.org> + + * 26185: Doc/Zsh/mod_newuser.yo: fix two places where path to + global zshenv was specified statically. + + * Richard Hartmann: 26175: Completion/Unix/Command/_vim: updates + for vim completion. + +2008-12-18 Peter Stephenson <pws@csr.com> + + * Richard Hartmann: 26155: Doc/Zsh/builtins.yo, + Doc/Zsh/mod_parameter.yo, Doc/Zsh/options.yo: quote use of `.' + as a command in text. + +2008-12-16 Clint Adams <clint@zsh.org> + + * 26141: Functions/Zle/edit-command-line: word-split + EDITOR/VISUAL so users can have multi-argument + commands in those variables. + +2008-12-11 Peter Stephenson <pws@csr.com> + + * Frank Terbeck: 26125: Doc/Zsh/contrib.yo, + Functions/VCS_Info/.distfiles, + Functions/VCS_Info/VCS_INFO_check_com, + Functions/VCS_Info/VCS_INFO_get_cmd, Functions/VCS_Info/vcs_info, + Functions/VCS_Info/Backends/VCS_INFO_detect_cdv, + Functions/VCS_Info/Backends/VCS_INFO_detect_cvs, + Functions/VCS_Info/Backends/VCS_INFO_detect_darcs, + Functions/VCS_Info/Backends/VCS_INFO_detect_git, + Functions/VCS_Info/Backends/VCS_INFO_detect_hg, + Functions/VCS_Info/Backends/VCS_INFO_detect_mtn, + Functions/VCS_Info/Backends/VCS_INFO_detect_p4, + Functions/VCS_Info/Backends/VCS_INFO_detect_svk, + Functions/VCS_Info/Backends/VCS_INFO_detect_svn, + Functions/VCS_Info/Backends/VCS_INFO_detect_tla, + Functions/VCS_Info/Backends/VCS_INFO_get_data_bzr, + Functions/VCS_Info/Backends/VCS_INFO_get_data_git, + Functions/VCS_Info/Backends/VCS_INFO_get_data_mtn, + Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, + Functions/VCS_Info/Backends/VCS_INFO_get_data_svn, + Functions/VCS_Info/Backends/VCS_INFO_get_data_tla: add + "command" style for VCS command to use. + +2008-12-10 Peter Stephenson <pws@csr.com> + + * 26121: Doc/Zsh/calsys.yo, Functions/Calendar/calendar: add + -B <lines> option to calendar. + + * users/13566: Etc/FAQ.yo: note problem with unsetting elements + of regular arrays. + +2008-12-09 Peter Stephenson <pws@csr.com> + + * 26119: Doc/Zsh/zle.yo, Src/Zle/zle_main.c: option to allow vared + to open to an alternative terminal. + +2008-12-09 Clint Adams <clint@zsh.org> + + * Richard Hartmann: 26114: Completion/Unix/Command/_git: add color + options. + +2008-12-08 Peter Stephenson <pws@csr.com> + + * Benjamin R. Haskell: users/13544: + Functions/Zle/define-composed-chars: accents for i were wrong. + + * 26116: Src/Zle/deltochar.c: wasn't updated properly for + combining characters. + +2008-12-02 Peter Stephenson <pws@csr.com> + + * Richard Hartmann: 26105: Completion/Unix/Type/_pdf: add okular. + + * Frank Terbeck: 26194: Functions/Prompts/promptinit: eliminated + WARN_CREATE_GLOBAL warnings. + +2008-12-01 Peter Stephenson <pws@csr.com> + + * (with some help from Peter A. Castro): 26103: configure.ac: + FIFOs seem to be more reliable than per-process FD files for + process substitution on current Cygwin. + +2008-11-27 Peter Stephenson <pws@csr.com> + + * 26095: Src/utils.c: failed to compile if TIOCGWINSZ wasn't + defined. + +2008-11-26 Peter Stephenson <pws@csr.com> + + * 26090: Test/C02cond.ztst: [[ -r ... ]] on Cygwin succeeds + more often than expected, so don't test. + +2008-11-25 Clint Adams <clint@zsh.org> + + * Brendan Cully: 26057: Completion/Unix/Command/_mercurial: + mercurial completion updates. + +2008-11-25 Peter Stephenson <pws@csr.com> + + * 26091: Src/hist.c: crash at end of history line if history + not in use. + +2008-11-24 Peter Stephenson <pws@csr.com> + + * Frank Terbeck: users/13482: Doc/Zsh/contrib.yo: fix some prompt + docs for vcs info. + +2008-11-23 Barton E. Schaefer <schaefer@zsh.org> + + * users/13477: Completion/Unix/Command/_rm: call _files instead + of _path_files to correctly handle cycling through choices. + +2008-11-20 Peter Stephenson <pws@csr.com> + + * 26075: Functions/Calendar/calendar_parse: update repeated events + until they're in the future. + + * users/13464: Functions/MIME/zsh-mime-handler, + Functions/MIME/zsh-mime-setup: allow suffixes specified as + lower case to match upper case variants. + +2008-11-18 Peter Stephenson <pws@csr.com> + + * 26065: Config/version.mk: update to 4.3.9-dev-1 because of + internal code changes. + + * 26060: François Revol: configure.ac, Src/Module/zpty.c, + Src/Zle/zle_refresh.c: fixes for BeOS. + + * 26062: Src/Zle/compmatch.c: missed change needed with 26047. + + * 26061: Src/lex.c, Src/parse.c, Src/subst.c, Src/zsh.h, + Test/D02glob.ztst: fix clashes between numeric glob and + process substitution such as "<->(N)". + +2008-11-17 Peter Stephenson <pws@csr.com> + + * 26056: Doc/Zsh/expn.yo, Src/exec.c: < <(...)more_stuff is + an error and similarly for > >(...)yet_more_stuff. + + * 26055: README, Doc/Zsh/expn.yo, Src/subst.c: ensure process + substitution is handled completely before parameter and + command substitution. + + * 26053: Completion/Base/Utility/_arguments: handle + "<cmd> --help" output that includes optional parts of options + in square brackets. + +2008-11-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26047: Src/pattern.c, Src/Zle/comp.h, Src/Zle/compmatch.c, + Src/Zle/complete.c, Src/Zle/compmatch.c, Src/Zle/computil.c, + Src/Zle/zle_utils.c: convert lower levels of completion + matching to user multibyte strings / wide characters. + + * Phil (unposted): README: another typo. + +2008-11-15 Clint Adams <clint@zsh.org> + + * 26046: Functions/TCP/tcp_send: return an error if session's fd is + unusable. + +2008-11-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26042 with some fixes from 26043 (Mikael): README, + Doc/Zsh/expn.yo, Src/exec.c, Src/lex.c, Src/subst.c, + Test/D03procsubst.zst: allow <(...) and >(...) to occur + in the middle of command arguments and =(...) to have + other strings following. + +2008-11-12 Oliver Kiddle <opk@zsh.org> + + * 26030: Src/Zle/zle_main.c: fix memory leak in vared + + * 26028: Src/builtin.c: close temporary file when aborting fc + +2008-11-12 Peter Stephenson <pws@csr.com> + + * 26029: Test/A04redirect.ztst: add test for redirection operators + with no preceding whitespace. + +2008-11-11 Oliver Kiddle <opk@zsh.org> + + * 26024: Src/Zle/zle_keymap.c: don't leave reference count + incremented when aborting bindkey with an error + +2008-11-11 Clint Adams <clint@zsh.org> + + * 26027: Src/Zle/compctl.c: free pprogc before it goes out of + scope in makecomplistflags. + +2008-11-11 Peter Stephenson <pws@csr.com> + + * 26025: Src/Zle/zle_main.c: prefer handling user input to + file installed with zle -F. + +2008-11-11 Clint Adams <clint@zsh.org> + + * 26023: Completion/Unix/Command/_topgit: skeletal completion for + tg (topgit). + +2008-11-08 Oliver Kiddle <opk@zsh.org> + + * 26022: Completion/Zsh/Type/_file_descriptors: fix on Solaris + where /proc/$$/fd exists but doesn't contain symlinks + + * 26017: Completion/Unix/Type/_path_files, + Completion/Zsh/Type/_globflags, Completion/Zsh/Type/_globquals: + add completion of globbing flags + +2008-11-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 26021: Completion/Unix/Type/_path_files: complete glob + qualifiers where they don't mess up the rest of the word, + don't complete a bare glob qualifier if there's nothing + before it. + +2008-11-08 Clint Adams <clint@zsh.org> + + * unposted: Src/glob.c: revert 26014. + +2008-11-07 Clint Adams <clint@zsh.org> + + * 26016: Completion/Unix/Command/_bzr: treat "bzr co" as an alias + of "bzr checkout"; patch from Ryo IGARASHI. + +2008-11-06 Clint Adams <clint@zsh.org> + + * 26014: Src/glob.c: don't allocate and leak a patprog if it's not + going to be used. + + * 26013: Src/Modules/tcp.c: don't ztrdup the other buffer returned + by inet_ntoa. cf. 25987. + +2008-11-05 Peter Stephenson <pws@csr.com> + + * 26008, Src/builtin.c, Test/B02typeset.ztst: "typeset -g + <var...>" should be silent even if TYPESET_SILENT is not set. + +2008-11-04 Peter Stephenson <pws@csr.com> + + * 26006: Test/C05debug.ztst: remove dependence on system + error message. + +2008-11-03 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: update version to 4.3.9-dev-0. + + * unposted: Etc/.distfiles: missing entry; 4.3.9 finally + released, perhaps. + +2008-11-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25989: Src/Zle/computil.c: Slight improvement for multibyte + characters in matching to prevent crash. + +2008-11-02 Clint Adams <clint@zsh.org> + + * 25988: Completion/Darwin/Command/_fink, + Completion/Darwin/Type/_retrieve_mac_apps, + Completion/Debian/Command/_apt, + Completion/Debian/Type/_deb_packages, + Completion/Redhat/Command/_rpm, Completion/Redhat/Command/_yum, + Completion/Unix/Command/_bogofilter, + Completion/Unix/Type/_path_commands, + Completion/Unix/Type/_perl_modules, Doc/Zsh/compsys.yo: declare + temporary cache array as local, thanks to problem noticed by + Kazuhiro NISHIYAMA. + +2008-11-01 Clint Adams <clint@zsh.org> + + * 25987: Src/Modules/tcp.c: don't ztrdup the buffer returned by + inet_ntoa. + + * 25985: Src/hashtable.c: don't try to disable signal traps if + getsignum returns -1. + +2008-10-31 Oliver Kiddle <opk@zsh.org> + + * 25983: Fix bug in hash builtin with empty hash entry name + +2008-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25975: Src/compmatch.c: bad tests for pattern match + when building up a line. + + * 25972: Src/Zle/complete.c, Src/Zle/compmatch.c: leaked + and uninitialised memory found by valgrind. + + * 25971: Src/builtin.c, Src/zsh.h: fix 25937 which broke some + builtins that handle options themselves. + +2008-10-30 Peter Stephenson <pws@csr.com> + + * 25969: Src/subst.c, Src/utils.c, Test/D07multibyte.ztst: + bugs in metafication with prompt expansion called from parameter + expansion and with zsh_directory_name when called from finddir(). + + * 25963: Src/utils.c: Interrupt at spell check prompt output + garbage. + + * 25961: configure.ac: some sh's don't handle opening parentheses + in case. + + * unposted: NEWS, README, Config/version.mk, Etc/FAQ.yo, + Etc/relnote_4.3.7.txt, Etc/relnote_4.3.8.txt, + Etc/relnote_4.3.9.txt: try again with 4.3.9 (N.B. not yet + released, CVS tag not finalised). + + * 25958: INSTALL: Doc/Makefile.in, Doc/Zsh/filelist.yo, + Doc/Zsh/files.yo, Doc/Zsh/options.yo: make it possible to + get correctly named global startup files by remaking docs. + + * Oliver (unposted): configure.ac: 25950 should use xyes, too. + + * unposted: Completion/Zsh/Command/_tcpsys: added this since + it's already in .distfiles. It's very limited in what it + does but it's better than nothing, I suppose. + + * 25950: configure.ac: need "x$dynamic" trick in two + more places. + + * users/13418: Src/Modules/termcap.c: protect against + HAVE_STRCODES lying. + +2008-10-30 Clint Adams <clint@zsh.org> + + * 25949: Src/Zle/zle_hist.c: remove dead code in getvisrchstr. + +2008-10-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25945: Completion/Unix/Type/_path_files: need some extra + matcher options to compadd for completing abbreviated + directory hierarchies when -U is not present (i.e. not + correcting). + +2008-10-29 Peter Stephenson <pws@csr.com> + + * Mikael: users/13412: Etc/relnote_4.3.7.txt: typo. + + * c.f. users/13411: Config/version.mk: update archived release + number to 4.3.8-dev-0. + + * unposted: Etc/relnote_4.3.8.txt: tiny typo. + + * unposted: Completion/Zsh/Command/.distfiles, Etc/.distfiles, + Functions/VCS_Info/.distfiles, + Functions/VCS_Info/Backends/.distfiles: belatedly sort out some + .distfiles + + * unposted: NEWS, README, Config/version.mk, Etc/FAQ.yo, + Etc/relnote_4.3.7.txt, Etc/relnote_4.3.8.txt: update version + to 4.3.8. + + * unposted: Functions/Zle/replace-string: use "typeset -g" + to avoid warnings with WARN_CREATE_GLOBAL. + +2008-10-29 Clint Adams <clint@zsh.org> + + * 25940: Src/Zle/computil.c: delay !multi memory allocation until + after possibility to error out and return without freeing. + +2008-10-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25938 (Mikael) + probably 25939, too: + Completion/Unix/Type/_path_files: IPREFIX missing $. + + * 25937: README, Src/builtin.c: builtins that don't have + options now ignore an initial "--" argument. + +2008-10-28 Peter Stephenson <pws@csr.com> + + * unposted: Config/Version.mk, Etc/relnote_4.3.7.txt: Release + 4.3.7 + +2008-10-26 Clint Adams <clint@zsh.org> + + * 25934: Completion/Debian/Command/_bts: handle bts subscribe, + unsubscribe, and fix owner. Patches from Ansgar Burchardt. + +2008-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: NEWS: region_highlight is an array and so + not capitalised. + + * unposted: README: update claimed version to 4.3.7. + + * Mikael: 25933: Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, + Doc/Zsh/options.yo, NEWS: typos. + +2008-10-24 Peter Stephenson <pws@csr.com> + + * users/13400: Doc/Zsh/options.yo, Etc/FAQ.yo: clarify some + aspects of ksh-like editing. + + * 25931: Test/D01prompt.zsh: test fix in 25930. + + * 25930: Src/prompt.c, Src/utils.c: dynamic directory names + may need recursive prompt expansion; memory leak with reverse + expansion of dynamic directory names. + +2008-10-23 Peter Stephenson <pws@csr.com> + + * users/13375: Src/Zle/zle_refresh.c: rewrite ternary expression + which caused problems with the Sun Studio 11 compiler. + +2008-10-22 Barton E. Schaefer <schaefer@zsh.org> + + * 25927: Completion/Unix/Type/_path_files: include the ignored + prefix/suffix in the hidden prefix/suffix only for compadd -U. + +2008-10-23 Clint Adams <clint@zsh.org> + + * 25926: Src/params.c: free val only after it may be passed to + strlen (as in 25656). + +2008-10-20 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: 4.3.6-dev-2. + +2008-10-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25912: Doc/Zsh/compwid.yo, Src/Zle/computil.c: fix yet another + Meta bug in completion with matchers in compfiles; remove 25893 + because that wasn't it at all. + + * 25911: Test/D07multibyte.ztst: see if we can work around file + system idiosyncracies. + +2008-10-18 Clint Adams <clint@zsh.org> + + * 25910: Src/builtin.c: avoid dangling file handle in bin_print. + +2008-10-17 Peter Stephenson <pws@csr.com> + + * Rocky: 25907: Test/Makefile.in: makefile needs .exe + extension to run zsh on Cygwin. + +2008-10-16 Peter Stephenson <pws@csr.com> + + * 25905: Src/math.c, Test/C01arith.ztst: fix and test doubled-hash + radix output syntax. + +2008-10-14 Barton E. Schaefer <schaefer@zsh.org> + + * 25887: Completion/Unix/Type/_path_files: pass -U to compadd only + when _comp_correct is true; otherwise, completing subpatterns + inside braces tends to behave oddly. + + * Jörg Sommer: 25883: Completion/Base/Utility/_multi_parts: quote + strings in the temporary variable tmp1 before joining them with + "|" to create an alternatives pattern. + + * Phil Pennock: 25854: Completion/Unix/Command/_perl, + Completion/Unix/Type/_perl_modules: fix module completion for + "perl -d:" (Devel modules). + +2008-10-14 Clint Adams <clint@zsh.org> + + * 25898: Src/module.c: avoid dereference of p after it is freed + in getmathfunc. + + * 25897: Src/Zle/computil.c: remove small bit of dead code in + cfp_opt_pats. + + * 25896: Src/builtin.c: remove small bit of dead code in + execbuiltin. + + * Jörg Sommer: 25882: Completion/Unix/Command/_ssh: run ssh with + -oBatchMode=yes. + +2008-10-14 Peter Stephenson <pws@csr.com> + + * 25893: Doc/Zsh/compwid.yo: matcher "m:{a-z}={A-Z}" still + works better than "m:{[:lower:]}={[:upper:]}" in that the + latter can glitch on some multibyte characters with Meta in + (and doesn't yet work on non-ASCII characters anyway). + +2008-10-12 Clint Adams <clint@zsh.org> + + * 25860: Src/Zle/compmatch.c: avoid possible NULL dereferencing in + bld_parts. + +2008-10-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted, c.f. 25848: Test/comptest: attempt to sanitize + the environment. + +2008-10-12 Clint Adams <clint@zsh.org> + + * 25859: Src/Zle/zle_tricky.c: avoid possible NULL dereferencing if + RC_QUOTES is set. + + * Mikael Magnusson: 25856: Etc/completion-style-guide: typo fixes. + + * Mikael Magnusson: 25855: Etc/zsh-development-guide: typo fixes. + +2008-10-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25845: Src/pattern.c, Test/D07multibyte.ztst: combination of + backslashed characters and metafied characters confused pattern + test for pure string. + +2008-10-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25816: Marc Chantreux: Completion/Unix/Command/_ip: + add promiscuous link option. + +2008-10-11 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Modules/curses.c: fixed a signed/unsigned + compiler warning. + +2008-10-10 Peter Stephenson <pws@csr.com> + + * users/13323: Test/E02xtrace.ztst: new test wasn't robust + about ignoring /etc/zshenv. + + * users/13321: configure.ac: allow --disable-gdbm. + + * unposted: Doc/Zsh/expn.yo: protect () from macro expansion. + + * unposted: Etc/CONTRIBUTORS: update. + + * 25837: NEWS: add descriptions of new debugging features. + + * unposted: Functions/Zftp/zffcache, + Functions/Zftp/zftp_progress: silence some warnings when + WARN_CREATE_GLOBAL is set. + + * unposted: Config/version.mk: 4.3.6-dev-1. + + * unposted: Test/B06fc.ztst: use -f flag to zsh to prevent + initialization scripts running. + +2008-10-10 Barton E. Schaefer <schaefer@zsh.org> + + * 25814: Functions/Misc/run-help: quote arguments to "eval". + + * unposted (?): Functions/Prompts/promptinit: quote expansion of + prompt_opts in prompt() because zsh emulation is by necessity not + enforced there. + + * 25140: Src/exec.c: improve error handling/reporting for + here-document temp files. + + * 25029 (plus unposted doc): Completion/Unix/Command/_sudo, + Doc/Zsh/compsys.yo: "environ" style to allow a different search + path when completing as a different user. + +2008-10-09 Clint Adams <clint@zsh.org> + + * 25833: Completion/Unix/Command/_git: remove zparseopts line + obsoleted by 25824. + + * Jörg Sommer: 25824: Completion/Unix/Command/_git: make it + possible to use abbreviated paths for tree files. + +2008-10-09 Peter Stephenson <pws@csr.com> + + * 25831: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/params.c, + Src/zsh.h, Test/D04parameter.ztst: ensure failed subscript matches + of a type that are documented as strings rather than arrays + return an empty string rather than an empty array to avoid + strange RC_EXPAND_PARAM behaviour. + +2008-10-08 Peter Stephenson <pws@csr.com> + + * Nikolai Weibull: 25828: Completion/Unix/Command/_rm, + Completion/Unix/Command/.distfiles: new completion. + + * unposted: NEWS: note some new features. + +2008-10-07 Clint Adams <clint@zsh.org> + + * 25823: Functions/Misc/run-help: bring up zshcontrib man page if + run-help is run on run-help and run-help is a function. + + * Jörg Sommer: 25819: Completion/Linux/Command/_modutils: improve + module parameter completion. + + * Jörg Sommer: 25822: Completion/Linux/Command/_modutils: declare + val_args as local array. + + * Jörg Sommer: 25821: Completion/Linux/Command/_modutils: return 0 + if a modules parameter was completed. + + * Jörg Sommer: 25820: Completion/Linux/Command/_modutils: add the + option --field of modinfo. + +2008-10-06 Clint Adams <clint@zsh.org> + + * 25818: Completion/compinstall: compinstall data loss typo fix + from Morita Sho. + +2008-10-06 Peter Stephenson <pws@csr.com> + + * 25817: Src/builtin.c: "fc -l" is now more careful to + list all history just added, however it got there. Use + of fc for executing previous commands unchanged. + +2008-10-04 Clint Adams <clint@zsh.org> + + * 25808: Completion/Debian/Command/_bts: handle bts claim and + unclaim subcommands. + +2008-10-02 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Zsh/Context/_subscript: off-by-one + error in testing for dynamic directory name prefix. + +2008-10-01 Peter Stephenson <pws@csr.com> + + * 25791: Src/exec.c, Test/C05debug.ztst: force return from + eval-style DEBUG trap lost status. + +2008-09-30 Peter Stephenson <pws@csr.com> + + * Frank Terbeck: 25778: Functions/VCS_Info/VCS_INFO_realpath: use + builtin cd. + + * unposted: Completion/Zsh/Context/_subscript: recognise ~[...] + after = and :, too. + + * 25777: Src/Modules/db_gdbm.c: argument to gdbmsetfn. + +2008-09-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25775: Src/exec.c, Src/prompt.c, Src/signals.c, Src/zsh.h: + line numbering in functions inside eval-style traps on the + function stack was screwy. Simplest fix is to restore normal + line numbering within the functions so that only the immediate + eval-style trap environment is special. + + * 25774: Src/params.c: fix in 25772 was applied too widely. + +2008-09-29 Peter Stephenson <pws@csr.com> + + * 25733: Completion/Zsh/Context/.distfiles, + Completion/Zsh/Context/_dynamic_directory_name, + Completion/Zsh/Context/_subscript: stub function for dynamic + directory name completion. + + * 25772: Src/params.c: searching an associative array with + a bad pattern could cause a crash, seen in _expand following + "echo ~[]". + + * 25771: Src/utils.c, Src/zsh.h: shell function context + for substitution functions. + + * users/13295 (with tweak always to keep old line numbers at + exit from parse_string()): Src/builtin.c, Src/exec.c, Src/glob.c, + Src/parse.c, Src/Modules/parameter.c, Src/Modules/zpty.c, + Src/Modules/zutil.c: don't reset $LINENO when parsing strings + unless the surrounding environment provides support (funcstack + etc.) for it. + +2008-09-28 Clint Adams <clint@zsh.org> + + * 25764: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_django: completion for Django, from Chris + Lamb. + +2008-09-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael Magnusson: Src/utils.c: newline in getquery() is + treated as n but should also behave like a newline. duh. + +2008-09-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25760: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst: + (~) tokenizes arguments to further parameter flags, but not + the rest of the parameter expansion. + + * Jörg Sommer: 25755, with tweak from 25756: + Completion/Linux/Command/_modutils (args): improved handling + of module arguments. + + * 25759: Doc/Zsh/expn.yo, Src/builtin.c, Src/subst.c: fix crash + after failed dynamic named directory expansion; clarify the + fact that static named directories can contain only + alphanumerics, `_', `-' or `.'. + +2008-09-26 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 25617: Completion/Unix/Command/_vim: + complete -t <tags>. + +2008-09-26 Peter Stephenson <pws@csr.com> + + * 25744: Doc/Zsh/expn.yo, Src/exec.c, Src/math.c, Src/signals.c, + Src/subst.c, Src/utils.c, Src/Modules/zftp.c, Src/Zle/compcore.c, + Src/Zle/compctl.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c, + Test/D01prompt.ztst: Add dynamic named directories using + ~[<stuff>] which calls zsh_directory_name n <stuff> and + reverse call to look up names. Also further simplify doshfunc() + interface to use flags directly from the Shfunc structure. + +2008-09-25 Peter Stephenson <pws@csr.com> + + * 25684: Src/prompt.c: make %x and %I consistent with + eval line numbering. + +2008-09-24 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/13288: Src/parse.c: don't report parse errors if the + line was aborted by spell checking etc. + +2008-09-24 Peter Stephenson <pws@csr.com> + + * 25739: configure.ac: warn about GPL in binary if libgdm + is linked. + + * Rocky Bernstein: 25734: Test/B06fc.ztst: typo. + +2008-09-23 Clint Adams <clint@zsh.org> + + * 25737: Src/Zle/computil.c: remove dead code in ca_parse_line. + + * 25736: Src/Zle/complete.c: one more zsfree missing from + 25667. + +2008-09-23 Peter Stephenson <pws@csr.com> + + * 25733: Functions/VCS_Info/Backends/VCS_INFO_get_data_p4, + Doc/Zsh/contrib.yo: add revision number (latest synced change) + to Perforce backend and list abbreviations with backends. + + * 25732: Functions/VCS_Info/Backends/VCS_INFO_detect_p4, + Doc/Zsh/contrib.yo: make vcs_info detect Perforce from server + if style use-server is set. + + * Rocky Bernstein: 25727: Src/hist.c, Test/B06fc.ztst: remove + restriction on interactive use of fc and test another problem. + +2008-09-23 Clint Adams <clint@zsh.org> + + * 25728: Completion/Linux/Command/_ionice: spelling fix. + + * Jörg Sommer: 25717: Completion/Linux/Command/_ionice: fixups for + 25702. + +2008-09-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25723: Src/Zle/zle_main.c: align combining character when + retrieved from input stack. + +2008-09-22 Clint Adams <clint@zsh.org> + + * 25721: Src/exec.c: revert another mistake of 25701. + + * Jörg Sommer: 25718: Completion/Unix/Command/_git: add completion + of option --reverse. + + * 25720: Doc/Zsh/contrib.yo: remove misleading vcs_info bit about + PROMPT_SUBST. + +2008-09-22 Peter Stephenson <pws@csr.com> + + * 25715: Frank Terbeck: Doc/Zsh/contrib.yo: vcs_info + now works straight away. + + * 25710: Functions/VCS_Info/vcs_info, + Functions/VCS_Info/vcs_info_lastmsg, + Functions/VCS_Info/vcs_info_printsys, + Functions/VCS_Info/vcs_info_setsys: use native zsh emulation; + make vcs_comm local in other functions; vcs_info_printsys + runs vcs_info_setsys if necessary. + +2008-09-22 Clint Adams <clint@zsh.org> + + * 25713: Functions/VCS_Info/vcs_info: ensure that vcs_info + functions immediately after autoloading. + +2008-09-22 Peter Stephenson <pws@csr.com> + + * Rocky Bernstein: 25696: Src/hist.c: fix crash on empty history. + +2008-09-21 Clint Adams <clint@zsh.org> + + * unposted: Completion/Linux/Command/.distfiles: update .distfiles. + + * Jörg Sommer: 25702: Completion/Linux/Command/_chrt, + Completion/Linux/Command/_ionice: completions for chrt and ionice + commands. + + * 25701 (tweaked): Src/exec.c: fix memory leak in loadautofn. + + * 25697: Functions/Prompts/prompt_clint_setup: drop git code and + switch to vcs_info. + +2008-09-19 Peter Stephenson <pws@csr.com> + + * 25693: Frank Terbeck: Doc/Zsh/contrib.yo: and another. + + * users/13262: Frank Terbeck: Doc/Zsh/contrib.yo: another + formatting fix. + + * users/13252 and others: Frank Terbeck (plus doc tweaks): + Functions/VCS_Info/**/*, Doc/Zsh/contrib.yo, Src/zsh.mdd: + add VCS_Info function system. + + * Unposted, but see users/13251: Doc/Zsh/mod_mapfile.yo: update + users/13239. + +2008-09-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25690: Src/Zle/zle_hist.c: fix insertlastword not to + screw up characters in the history that needed metafication. + +2008-09-18 Peter Stephenson <pws@csr.com> + + * 25684: Src/prompt.c: respect trap line number rules in + %x, %I prompt escapes. + + * users/13239: Doc/Zsh/mod_mapfile.yo: more useful comments. + + * 25682: Src/hist.c: terminate history line string before passing + down to zshaddhistory hook. + +2008-09-16 Peter Stephenson <pws@csr.com> + + * 25677: Doc/Zsh/prompt.yo, Src/exec.c, Src/init.c, Src/math.c, + Src/prompt.c, Src/signals.c, Src/utils.c, Src/Modules/zftp.c, + Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle_main.c, + Src/Zle/zle_misc.c, Test/E02xtrace.ztst: add %x and %I prompt + escapes for source file debuging; improve interface to + doshfunc(). + +2008-09-15 Peter Stephenson <pws@csr.com> + + * 25672: prompt.c: Resolve string containing only a Nularg + to empty string to avoid interpretation as glitch space. + + * 25671: Src/builtin.c, Test/B02typeset.ztst: non-existent + variable in typeset -p should cause status 1. + +2008-09-14 Clint Adams <clint@zsh.org> + + * 25667: Src/Zle/complete.c: free mstr before returning from + errors. + + * 25666: Src/Zle/computil.c: free memory allocated for an + xor if the argument number is invalid. + +2008-09-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25662: Src/builtin.c, Test/B02typeset.ztst: declare -p + should never create variables. + +2008-09-13 Clint Adams <clint@zsh.org> + + * 25656: Src/params.c: free val only after it may be passed to + strlen(). + + * 25655: Completion/Unix/Command/_rsync: remove completion for + --remove-sent-files option. + +2008-09-12 Clint Adams <clint@zsh.org> + + * 25654: Completion/Debian/Command/_lintian: fix return bug and add + --color. + +2008-09-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong. + +2008-09-11 Peter Stephenson <pws@csr.com> + + * 25651: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/init.c, + Src/text.c, Src/Modules/parameter.c: make indentation for code + output by getpermtext() more logical. + + * 25643: Doc/Zsh/builtins.yo, Src/exec.c: keep DEBUG and ZERR + traps in subshells. + + * 25641: add option (NO_)MULTI_FUNC_DEF to turn off "foo1 + foo2...()" function definitions. + +2008-09-10 Clint Adams <clint@zsh.org> + + * Frank Terbeck: 25640: Completion/Unix/Command/_git: another alias + handling fix. + + * 25639: Src/hist.c: free ptr2 if hsubl is NULL. + + * 25638: Src/Zle/compmatch.c: remove unnecessary ternary expression + in match_str. + + * 25637: Src/exec.c: dereference prog after the NULL check. + +2008-09-08 Clint Adams <clint@zsh.org> + + * 25636: Src/Zle/zle_tricky.c: free s before returning with an + error condition. + + * 25634: Src/Zle/zle_main.c: free t before returning if both t and + errflag are set. + +2008-09-07 Clint Adams <clint@zsh.org> + + * Frank Terbeck: 25624: Completion/Unix/Command/_git: clean up git + alias parsing. + +2008-09-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25627: Doc/Zsh/params.yo, Src/exec.c, Src/params.c, + Test/D04parameter.ztst: add $ZSH_SUBSHELL. + +2008-09-05 Peter Stephenson <pws@csr.com> + + * 25615: Doc/Zsh/builtins.yo, Doc/Zsh/func.yo, Src/exec.c, + Src/text.c, Test/C05debug.ztst: add $ZSH_DEBUG_CMD for + DEBUG traps. + +2008-09-04 Peter Stephenson <pws@csr.com> + + * 25608: Completion/compinit: unset CSH_JUNKIE_QUOTES during + completion. + +2008-09-04 Clint Adams <clint@zsh.org> + + * 25611, 25613: Src/Modules/curses.c: protect against two possible + NULL dereferences. + + * 25612: Src/Zle/compmatch.c: remove dead code. + + * 25610: Src/hist.c: remove dead code. + + * 25609: Src/Modules/zftp.c: initialize sz variable. + +2008-09-03 Peter Stephenson <pws@csr.com> + + * Jun T: 25603: Doc/Zsh/compsys.yo: format error. + + * Jörg Sommer <joerg@alea.gnuu.de>: 25598/25599: should + auto-remove automatically added "=" suffix on alias completion, + else you can end up assigning an empty alias. + + * 25595: Doc/Zsh/mod_parameter.yo, Src/builtin.c, Src/exec.c, + Src/init.c, Src/zsh.h, Src/Modules/parameter.c, + Test/V06parameter.ztst: fix line numbers with EVAL_LINENO; + try to fix up oddities with funcstack for source files; + simplify use of caller element of funcstack. + +2008-09-02 Barton E. Schaefer <schaefer@zsh.org> + + * 25600: Functions/Prompts/prompt_bart_setup: fix pattern + introduced in 25059 that broke PS1 parsing. + +2008-09-02 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 25594: Completion/Unix/Command/_git: + "git clean" cleanup. + +2008-09-01 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 25591: Completion/Unix/Command/_git: + "git remote rm" completion. + + * Mikael Magnusson: 25590: Completion/Unix/Command/_git: + update "git add" completion. + + * Frank Terbeck: 25588: Completion/Unix/Command/_git: add + --no-pager option to git completion. + +2008-09-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25587: Src/exec.c, Src/parse.c, Src/subst.c: foo==(stuff) + was mishandled owing to parse errors; mishandling it caused + a crash because of lack of care on failure of process + substitution; assignments that went through execcmd() failed + to set the status. + +2008-09-01 Clint Adams <clint@zsh.org> + + * 25585: Completion/Unix/Command/_git: fix git command completion + when there are arguments after the cursor position. + + * Frank Terbeck: 25583: Completion/Unix/Command/_git: more git + alias fixes. + +2008-09-01 Peter Stephenson <pws@csr.com> + + * 25582: Completion/Unix/Type/_path_files: use suggestion + by Bart to get automatically appearing file system entries + added by completion to respect patterns. + + * Jörg Sommer: 25572: Completion/Linux/Command/_modutils: + complete module parameters. + +2008-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25571: Src/lex.c, Src/parse.c, Test/.distfiles, + Test/C03traps.ztst, Test/C05debug.ztst: make line numbers when + parsing reflect the start of a parsed token rather than the end; + add a test and move debug trap tests to a separate file. + +2008-08-31 Clint Adams <clint@zsh.org> + + * Frank Terbeck: 25561: Completion/Unix/Command/_git: fix quoting + with aliases. + + * Mikael Magnusson: 25564: Completion/Unix/Command/_git: + suppress error output in __git_is_treeish. + +2008-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25570: Src/exec.c, Src/zsh.h, Test/C03traps.ztst: line numbers + of complex sublists were wrong, plus test; another place to make + lineno more consistent. + +2008-08-31 Andrey Borzenkov <bor@zsh.org> + + * users/13169: Src/exec.c: really restore emulation mode when + exiting shell function if 'emulate -L' has been used (actually + if LOCAL_OPTIONS has been set). Fixed problem noticed in RedHat + bug https://bugzilla.redhat.com/show_bug.cgi?id=430665#c19. + +2008-08-31 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25569: David Le Bourgeois & pws: _ant completion was broken + by sed pattern change. + + * 25568: Frank Terbeck & pws: Src/builtin.c, Test/.distfiles, + Test/A07control.ztst: break and continue arguments less than + 1 are invalid (and hard errors); add some tests for control + commands. + + * users/13162: Completion/Unix/Command/_module: strip + "~" suffix from modules. + +2008-08-30 Clint Adams <clint@zsh.org> + + * 25553: Completion/Zsh/Command/_precommand: + add aoss to compdef line. + + * Frank Terbeck: 25551: Completion/Unix/Command/_git: remove + a stray period from a description. + +2008-08-29 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 25539: Completion/Unix/Command/_git: more + 'git clone' fixes. + + * Frank Terbeck: 25538: Completion/Unix/Command/_git: add missing + backslash. + + * Frank Terbeck: 25537: Completion/Unix/Command/_git: add --abort + to options for 'git am'. + +2008-08-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25532, Src/exec.c, Test/C03traps.ztst: skipping next command + didn't work if it was an assignment or other form tagged as + "simple". + +2008-08-24 Clint Adams <clint@zsh.org> + + * 25521: Completion/Unix/Command/_git: get merge strategies from + git merge in case the administrator has added custom strategies. + +2008-08-22 Peter Stephenson <pws@csr.com> + + * 25508: Src/exec.c: set file name if function came from + dump file. + +2008-08-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Doc/Zsh/compsys.yo: doc for foregoing. + + * Alexey I. Froloff: 25459: Completion/Unix/Type/_files: add + list-dirs-first style. + +2008-08-21 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 25499: Completion/Unix/Command/_git: add + function to validate tree-ishs. + + * 25495: Completion/Unix/Command/_git: always complete cached files + after git checkout --. + + * 25493: Completion/Unix/Command/_git: allow -q to be used in all + git checkout contexts. + + * 25491: Completion/Unix/Command/_git: patch to improve + "git checkout" completion, from Mikael Magnusson. + +2008-08-19 Clint Adams <clint@zsh.org> + + * 25490: Src/zsh.h, Src/Modules/db_gdbm.c: make zties dynamic so + there can be more than one gdbm handle in use at a time. + + * 25489: Completion/Unix/Command/_git: remove cruft for "git + octopus/octupus". + + * 25488: Completion/Unix/Command/_git: patch to complete things + after "git bisect start", Mikael Magnusson. + + * 25487: Completion/Unix/Command/_git: whitespace changes from + Mikael Magnusson. + + * 25486: Completion/Unix/Command/_git: patch to allow --shared to + be completed without --local with git clone. + + * 25485: Completion/Unix/Command/_git: patch to allow --abbrev to + be completed before -v with git branch, from Mikael Magnusson. + +2008-08-18 Clint Adams <clint@zsh.org> + + * 25480: Completion/Unix/Command/_git: add more quotes to the + three _call_program invocations with git for-each-ref. + + * Mikael Magnusson: 25473: Completion/Unix/Command/_git: add + missing parenthesis. + + * unposted: Completion/Unix/Command/_git: additional git branch + options. + + * 25475: Completion/Unix/Command/_git: determine heads, tags, + and branches through git for-each-ref instead of git tag and + git branch. + +2008-08-17 Clint Adams <clint@zsh.org> + + * 25469: Completion/Unix/Command/_git: assorted changes + cherry-picked from Mikael Magnusson. + +2008-08-16 Clint Adams <clint@zsh.org> + + * 25465: Completion/Unix/Command/_git: patch from Mikael Magnusson + to add more git-add and git-checkout options. + + * unposted: Completion/Unix/Command/_git: another typo fix. + + * 25464: Completion/Unix/Command/_git: patch from Mikael Magnusson + to add --graph. + + * 25463: Completion/Unix/Command/_git: patch to add git + completion for --base/-1, --ours/-2 and --theirs/-3, from + Mikael Magnusson. + + * 25462: Completion/Unix/Command/_git: patch to add some -s -w + to _arguments and new options for revert, from Mikael Magnusson. + + * 25461: Completion/Unix/Command/_git: patch to add HEAD as + a completion for heads, from Mikael Magnusson. + + * 25460: Completion/Unix/Command/_git: patch to add the + --branches/tags/remotes for rev-list to _git from Mikael + Magnusson. + + * 25457: Completion/Unix/Command/_git: improvements for git diff + and git log from Mikael Magnusson. + + * Mikael Magnusson: 25456: Completion/Unix/Command/_git: fix typo + of "before". + + * Frank Terbeck: 25455: Completion/Unix/Command/_git: handle git + stashes. + +2008-08-14 Clint Adams <clint@zsh.org> + + * 25452: Completion/Unix/Command/_look: redirect stderr from look + to /dev/null. + +2008-08-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Test/V01zmodload.ztst: change consequent on having + a new parameter in zsh/parameter. + + * 25448: Doc/Zsh/mod_parameter.yo, Src/exec.c, Src/init.c, + Src/Modules/parameter.c, Src/zsh.h, Src/Modules/parameter.c + Src/Modules/parameter.mdd: add $funcfiletrace to show + absolute line number for caller. + +2008-08-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25443 (tweaked): Doc/Zsh/mod_parameter.yo, + Src/Modules/parameter.c, Test/V06parameter.ztst: allow + $functrace to show sourced files. + +2008-08-12 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Solaris/Command/.distfiles, + Completion/Solaris/Type/.distfiles: missed .distfiles entry. + + * 25435: Baptiste Daroussin <baptiste.daroussin@gmail.com>: + Completion/BSD/{_fetch,_freebsd-update,_portaudit,_portsnap, + _csup,_portlint,_powerd}: new and improved FreeBSD completions. + +2008-08-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Test/V06parameter.ztst: fix load directory for + module from script. + + * 25247 with further modifications: Doc/Zsh/mod_parameter.yo, + Src/exec.c, Src/hashtable.c, Src/init.c, Src/parse.c, + Src/signals.c, Src/utils.c, Src/zsh.h, Src/Modules/parameter.c, + Src/Modules/parameter.mdd, Test/.distfiles, + Test/V01zmodload.ztst, Test/V06parameter.ztst: add + $funcsourcetrace parameter to zsh/parameter. + +2008-08-11 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/builtins.yo, Doc/Zsh/func.yo: prevent various + entries looking like Yodl macros. + + * 25429: Rocky Bernstein: Test/E01options.ztst, + Test/E02xtrace.ztst: don't assume PS4 is set to the default. + +2008-08-08 Clint Adams <clint@zsh.org> + + * 25424: Chris Lamb: Completion/Debian/Command/_lintian: + completion for lintian-info. + +2008-08-07 Clint Adams <clint@zsh.org> + + * 25423: Chris Lamb: Completion/Debian/Command/.distfiles, + Completion/Debian/Command/_grep-excuses: completion for + grep-excuses. + + * 25422: Chris Lamb: Completion/Debian/Command/_apt-show-versions: + apt-show-versions completion fix. + +2008-08-07 Peter Stephenson <pws@csr.com> + + * 25418: Doc/Zsh/options.yo, Src/options.c: set PROMPT_SUBST + for all Bourne-style shells. + + * 25415: README, Doc/Zsh/builtins.yo, Doc/Zsh/func.yo, + Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, Src/init.c, + Src/options.c, Src/signals.c, Src/zsh.h, Test/A05execution.ztst, + Test/C03traps.ztst: Make DEBUG_BEFORE_CMD the default; + make ERR_EXIT ineffective in DEBUG traps but allow it to + be set to skip the next command (actually sublist); tidy + up code associated with trapreturn. + +2008-08-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25409: Doc/Zsh/builtins.yo, Src/builtin.c, Test/.distfiles, + Test/B05eval.ztst: eval shouldn't reset the status at the + start but should if the command was empty. + +2008-08-06 Peter Stephenson <pws@csr.com> + + * 25405: Src/exec.c: return value was not set from anonymous + functions. + + * 25400: Test/C03traps.ztst: Rocky's test for 25385 + +2008-08-05 Peter Stephenson <pws@csr.com> + + * 25392: Test/C03traps.ztst: test for 25367 + +2008-08-05 Barton E. Schaefer <schaefer@zsh.org> + + * 25389: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: once again + rearrange precedence of ZLS_COLORS alternatives to make complex + coloring of file names possible. + +2008-08-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Src/init.c: 25385: extend 25367 to fix another bug + with trapreturn trampling on status. + +2008-08-04 Peter Stephenson <pws@csr.com> + + * users/13095: configure.ac: we don't want that + _XOPEN_SOURCE_EXTENDED stuff on AIX, apparently. + + * 25384: Src/init.c: fix problem with autoload of zsh/zle + for warning message at boot. + + * users/13093: Src/module.c: HashNode changes didn't + get propagated to AIX-specific code. + +2008-08-02 Barton E. Schaefer <schaefer@zsh.org> + + * 25373: Src/Builtins/sched.c: fix missed ZLE entry point (see + 25347). + +2008-08-01 Peter Stephenson <pws@csr.com> + + * 25367: Src/exec.c, Src/init.c, Src/signals.c: bug with + trapreturn in a sourced file caused early return of parent; + add protection for nested traps; document trapreturn. + + * unposted: Functions/Misc/add-zsh-hook: testing for existence + of hook function when hook was already defined was broken. + + * unposted: Functions/TCP/tcp_open, Functions/TCP/tcp_sess: + improve some variable handling and standardise some indentation. + +2008-07-31 Peter Stephenson <pws@csr.com> + + * 25364: Doc/Zsh/params.yo, Src/params.c, Test/D06subscript.ztst: + (k) hash subscript didn't work due to sense of test. + + * 25345, 25347: Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c, + Src/input.c, Src/jobs.c, Src/loop.c, Src/options.c, Src/signals.c, + Src/utils.c, Src/zsh.h, Src/Zle/zle_main.c: Neaten interface + from main shell to zle to zleentry() in main shell using + single zle_entry_pointer. + +2008-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/func.yo: refer to DEBUG_BEFORE_CMD option. + +2008-07-30 Peter Stephenson <pws@csr.com> + + * Max Mikhanosha: users/13077: Completion/Unix/Type/_path_files: + fix toggling with `follow' option. + +2008-07-29 Peter Stephenson <pws@csr.com> + + * 25346: Completion/compdump: fix some variables. + + * Max Mikhanosha: users/13072: Completion/Unix/Type/_path_files: + add `follow' option to file-sort style. + +2008-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * following discussion: Src/builtin.c: change error message in + 25338. + +2008-07-25 Peter Stephenson <pws@csr.com> + + * 25338: Src/builtin.c: disallow fc editing of the current + history line which has bad effects on stack usage and temporary + files. + +2008-07-23 Clint Adams <clint@zsh.org> + + * 25330: Doc/Zsh/mod_curses.yo: fix description of + zcurses "position" (was documented as "location"). + + * 25329: Src/Modules/curses.mdd: build the curses module if + we've got any usable curses header, not just curses.h. + + * 25328: Completion/Unix/Command/_gpg: fix --recv-keys and + --send-keys to complete key IDs instead of uid email addresses. + +2008-07-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25326: Src/Zle/zle_refresh.c: don't recalculate prompt + if not redisplaying. + +2008-07-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/Modules/.distfiles: add missing files. + + * Danek Duvall: 25324: Completion/Solaris/Command/_coreadm, + Completion/Solaris/Command/_dhcpinfo, + Completion/Solaris/Command/_dumpadm, + Completion/Solaris/Command/_gcore, + Completion/Solaris/Command/_inetadm, + Completion/Solaris/Command/_pfexec, + Completion/Solaris/Command/_ptree, + Completion/Solaris/Command/_savecore, + Completion/Solaris/Command/_svcadm, + Completion/Solaris/Command/_svccfg, + Completion/Solaris/Command/_svcprop, + Completion/Solaris/Command/_svcs, + Completion/Solaris/Command/_zlogin, + Completion/Solaris/Type/_svcs_fmri, + Completion/Unix/Command/_pkg_instance, + Completion/Unix/Command/_pkgadd, + Completion/Unix/Command/_pkginfo, + Completion/Unix/Command/_pkgrm, Completion/Unix/Command/_zfs, + Completion/Unix/Command/_zpool, + Completion/Unix/Type/_zfs_dataset, + Completion/Unix/Type/_zfs_pool: new completions. + +2008-07-21 Clint Adams <clint@zsh.org> + + * 25322: Src/Modules/db_gdbm.c: fix printing of keys. + + * 25321: Src/Modules/db_gdbm.c: delete gdbm node when + corresponding hash entry is unset. + + * 25320: Src/Modules/db_gdbm.c: fix read and write of elements + by key. + + * 25319: Src/Modules/db_gdbm.c: fix zuntie, add -f option + to ztie. + +2008-07-20 Clint Adams <clint@zsh.org> + + * 25318: Src/Modules/db_gdbm.c, Src/Modules/db_gdbm.mdd, + configure.ac: allow parameter to be tied to a gdbm database. + +2008-07-18 Peter Stephenson <pws@csr.com> + + * 25304: Richard Hartmann: Functions/Newuser/zsh-newuser-install: + don't go beyond 80 columns. + +2008-07-17 Peter Stephenson <pws@csr.com> + + * 25279: Doc/Zsh/func.yo, Functions/Misc/add-zsh-hook, + Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c, Src/utils.c, + Src/Zle/zle_main.c: add zshaddhistory hook to allow manipulations + when history line is saved. + +2008-07-15 Peter Stephenson <pws@csr.com> + + * users/13036: Src/utils.c: "." is a valid character in + a user name. + +2008-07-14 Peter Stephenson <pws@csr.com> + + * 25278: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, + Doc/Zsh/compwid.yo, Doc/Zsh/manual.yo: rename sections in the + completion widget manual to avoid confusion with sections + elsewhere. + +2008-07-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Phil Pennock: 25275: Completion/Base/Utility/_store_cache, + StartupFiles/zshrc: restrict permissions on cache directories + and use zstat in example zshrc. + + * Phil Pennock: 25276: + Completion/Darwin/Type/_retrieve_mac_apps, + Completion/Unix/Command/_baz, Completion/Unix/Command/_darcs, + Completion/Unix/Command/_tar, Completion/Unix/Command/_tla, + Completion/Zsh/Command/_zftp, Functions/Misc/sticky-note, + Functions/Misc/tetris, Functions/Misc/xtermctl, + Functions/Misc/zed, 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, Functions/Zle/edit-command-line, + Functions/Zle/history-beginning-search-menu, + Functions/Zle/incarg, Functions/Zle/modify-current-argument, + Functions/Zle/narrow-to-region-invisible, + Functions/Zle/predict-on, Functions/Zle/quote-and-complete-word, + Functions/Zle/transpose-words-match, + Functions/Zle/url-quote-magic, StartupFiles/zshrc: + use autoload -z to load zsh functions. + +2008-07-07 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Zle/copy-earlier-word: avoid + warnings from WARN_CREATE_GLOBAL. + + * 25269: Frank Terbeck: Src/Zle/compcore.c + +2008-07-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25267: Src/Zle/compcore.c: Fix problem that menu completion + wasn't automatically started on a pattern match if matching + was done by the calling function. + +2008-07-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25266: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: always use + EXTENDED_GLOB for patterns in ZLS_COLORS. + +2008-07-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25262: Src/parse.c: suspicious attempt to test errors + when parsing command within braceless function. + +2008-07-01 Peter Stephenson <pws@csr.com> + + * 25259: Src/utils.c: make getquery() handle unhandled characters + better. + +2008-06-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25258: Completion/Unix/Type/_path_files: don't + use -M option with -U. + +2008-06-30 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Calendar/calendar_scandate: unlocalised + variable spotted with warncreateglobal. + + * 25255: Doc/Zsh/func.yo, Src/exec.c, Test/C04funcdef.ztst: + anonymous functions using "() { ... }" and "function { ... }". + +2008-06-24 Clint Adams <clint@zsh.org> + + * 25243: Completion/X/Command/_xrandr: patch from Chris Lamb to add + --same-as for xrandr. + +2008-06-24 Peter Stephenson <pws@csr.com> + + * 25244: Doc/Zsh/contrib.yo, Functions/Zle/match-words-by-style, + Functions/Zle/modify-current-argument, + Functions/Zle/split-shell-arguments: enhance users/12987 with + style for subword start and fix a few bits of documentation. + + * users/12985, users/12986, users/12988: Tomasz Pala: + Completion/Linux/Command/_ethtool, + Completion/Linux/Command/_ipset, Completion/Unix/Command/_arp: + new and updated completions. + + * users/12987: Doc/Zsh/contrib.yo, + Functions/Zle/match-words-by-style, + Functions/Zle/select-word-style: add subword matching to + word-style capabilities. + + * 25242: Mikael: Doc/Zsh/prompt.yo, Src/prompt.c: add V prompt + test for contents of psvar. + +2008-06-23 Peter Stephenson <pws@csr.com> + + * 25237: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_open: make + tcp_on_open return status significant. + + * 25236: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-setup: + zsh-mime-setup -l can take suffix arguments. + +2008-06-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25231: Completion/Unix/Type/_path_files: fix approximation + of absolute paths in root directory (/uzr -> /usr, etc.). + +2008-06-19 Peter Stephenson <pws@csr.com> + + * 25214, tweaked: add warning about exponentitation precedence. + +2008-06-16 Clint Adams <clint@zsh.org> + + * 25167: Src/system.h: patch from Petr Salinger to define + _GNU_SOURCE (for /dev/ptmx) when glibc is being used on + non-linux platforms. + +2008-06-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Bart: 25164: Doc/Zsh/expn.yo: typo. + + * 25159: Doc/Zsh/compwid.yo: expand documentation for + correspondence classes with [:...:]. + +2008-06-13 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Zsh/Context/_zcalc_line, + Functions/Misc/zcalc: handle completion idiosyncracies when + completing in the same word as ":!". + + * 25152: Completion/Zsh/Context/{.distfiles,_zcalc_line} + (moved from Type because this is where it should be), + Doc/Zsh/contrib.yo, Functions/Misc/zcalc: improved zcalc + escape commands with ":" including ":!" and ":raw"; more complete + zcalc completion with special context. + + * unposted: Completion/{Unix,Linux}/Command/{strace,.distfiles}: move + + * users/12911: Tomasz Pala <gotar@polanet.pl>: + Completion/Unix/Command/_strace, + Completion/Unix/Command/.distfiles: new completion + +2008-06-12 Peter Stephenson <pws@csr.com> + + * 25149: Doc/Zsh/arith.yo, Doc/Zsh/options.yo, Src/math.c, + Src/options.c, Src/zsh.h, Test/C01arith.ztst: add + C_PRECEDENCES option to make arithmetic operators have + C (or, where necessary, Perl) precedences. + +2008-06-11 Peter Stephenson <pws@csr.com> + + * 25145: Src/exec.c, Test/E02xtrace.ztst: make sure XTRACE output + follows stderr redirections. + + * 25143: Mikael: Doc/Zsh/mod_zprof.yo: missing descendants. + +2008-06-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael: 25146: Src/Zle/compmatch.c: + pattern_match_equivalence() needs to be exported. + +2008-06-10 Peter Stephenson <pws@csr.com> + + * 25144: Src/builtin.c, Src/math.c, Src/utils.c plus unposted + C01arith.ztst: report the supported bases on a base error. + + * 25143: Mikael: Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo, + Doc/Zsh/compsys.yo, Doc/Zsh/func.yo, Doc/Zsh/grammar.yo, + Doc/Zsh/mod_pref.yo, Doc/Zsh/options.yo, Doc/Zsh/zle.yo: + spelling corrections. + +2008-06-09 Peter Stephenson <pws@csr.com> + + * unposted: Src/Zle/compmatch.c: silence compiler (has no + other effect). + +2008-06-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25139: Completion/compinstall, Doc/Zsh/compwid.yo, + Src/pattern.c, Src/zsh.h, Src/Zle/comp.h, Src/Zle/complete.c, + Src/Zle/compmatch.c, Src/Zle/computil.c: enhance completion + matching to make it possible to use wide characters (not yet + done); also allows named character ranges, so that + {[:lower:]}={[:upper:]} works (for now, just for single-byte + character sets). + +2008-06-05 Doug Kearns <dougkearns@gmail.com> + + * unposted: Completion/Redhat/Command/_rpm: fix typo + +2008-06-04 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/.distfiles: missing files. + + * unposted: Completion/Unix/Type/_path_files: another typo. + + * 25130 slightly tweaked for typos: + Completion/Unix/Type/_path_files: changes to use -U flag + to compadd so that spelling corrections in non-final + path segments are accepted. + +2008-06-03 Peter Stephenson <pws@csr.com> + + * 25132: Completion/Zsh/Command/_zstyle: numerous still + highly incomplete updates. + + * 25131: Completion/Unix/Command/_chmod, + Completion/Unix/Command/_chown, Completion/Unix/Command/_cvs, + Completion/Unix/Type/_list_files, + Completion/Zsh/Type/_file_descriptors: need b:zstat to + get zstat with zmodload -F zsh/stat. + +2008-06-02 Peter Stephenson <pws@csr.com> + + * users/12858: Doc/Zsh/compsys.yo: this bit didn't + get committed. + +2008-06-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25127: README: note the changes in 25122, 25124 and 25126 as + an incompatibility. + +2008-06-01 Clint Adams <clint@zsh.org> + + * 25124, 25126: INSTALL, MACHINES, configure.ac, Src/zsh.h: work + with --(disable|enable)-largefile instead of --(disable|enable)-lfs, + since the latter is no longer functional. + +2008-05-31 Clint Adams <clint@zsh.org> + + * 25122: aczsh.m4, configure.ac: use AC_SYS_LARGEFILE for better + LFS detection. + +2008-05-29 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_fd_handler: + add tcp_on_awol. + + * Tomasz Pala <gotar@polanet.pl>: users/12884: + Completion/Unix/Command/{iftop,tcpdump}: new completions + +2008-05-27 Peter Stephenson <pws@csr.com> + + * users/12870: Doc/Zsh/expn.yo: modifiers in glob qualifiers + activate global globbing behaviour. + + * unposted: NEWS: note prompt colour, accept-exact-dirs. + +2008-05-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 25104; 25111 (Jun T): Completion/Unix/Command/_locate: better + handling of multiple versions of locate. + +2008-05-20 Clint Adams <clint@zsh.org> + + * 25077: Completion/Unix/Command/_gnupod: consolidation of GNUpod + script completion from Omari Norman in 25075. + +2008-05-20 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Prompts/.distfiles: add prompt_pws_setup. + +2008-05-19 Peter Stephenson <pws@csr.com> + + * unposted: Completion/compinit: typo in 25068. + +2008-05-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/12858: Doc/Zsh/compsys.yo, + Completion/Unix/Type/_path_files: add accept-exact-dirs style. + + * unposted: Completion/compinit: fix unwanted output from + typeset. + + * 25068: Completion/compinit: fix some warnings with + WARN_CREATE_GLOBAL. + + * 25063: Functions/Prompts/prompt_bart_setup: minor + tweaks. + + * Mikael: 25054: Doc/Zsh/prompt.yo: typo. + +2008-05-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/utils.c: unused variable in 25057. + + * 25059: Functions/Misc/add-zsh-hook and virtually every + function under Functions/Prompts, also new + Functions/Prompts/pws, also unposted addition to + Doc/Zsh/contrib.yo: thorough modernization of the prompt + theme system to use current shell facilities better. + + * 25057: Src/mem.c, Src/utils.c: better debug info for memory + errors. + + * 25055: Src/pattern.c: remove unnecessary debug test. + +2008-05-16 Peter Stephenson <pws@csr.com> + + * 25052: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, + Doc/Zsh/mod_complist.yo, Doc/Zsh/prompt.yo: update some + documentation for use of colour highlighting. + + * unposted: Etc/CONTRIBUTORS: update main shell list; still + need to update list for functions. + + * 25051: Src/prompt.c, Src/complist.c, Src/zle_tricky.c: + add %F, %K, %f, %k handling to formatting strings for completion. + +2008-05-15 Peter Stephenson <pws@csr.com> + + * 25040: Src/builtin.c, Src/utils.c, Src/Modules/zpty.c: + zpty should display context information more like eval. + +2008-05-14 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: also p4 sizes, + p4 license. + + * unposted: Completion/Unix/Command/_perforce: handle + p4 protects. + + * 25025: Doc/Zsh/builtins.yo, Src/builtin.c, Src/math.c, + Src/utils.c: more checks to ensure radix for arithmetic + constants is between 2 and 36 inclusive. + +2008-05-13 Peter Stephenson <pws@csr.com> + + * 25018: Omari Norman: Completion/Unix/Command/{_awk,_cut,_join}: + new completions. + + * unposted: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: comment + on aliases. + +2008-05-12 Peter Stephenson <pws@csr.com> + + * 25006, 25009: Src/Zle/complist.c: do "or" symlink orphan + highlighting; make stat-ed file types take precedence over + extensions and patterns. + + * 25002: Src/builtin.c, Src/init.c, Src/input.c, Src/loop.c, + Src/prompt.c, Src/subst.c, Src/utils.c, Src/zsh.h, + Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: only update + display attributes from prompts within zle. + +2008-05-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24996: Src/cond.c, Src/exec.c, Src/glob.c, Src/loop.c, + Src/zsh.h: improve xtrace output for patterns. + + * users/12848: Test/A01grammar.ztst, Src/loops.c: return, break + and continue are allowed in "always" block and will override + try block if set. + + * 24994: Src/Zle/zle_hist.c: Fix problem with + up/down-line-or-search comparison, perhaps. + + * 24990: Stephane Chazelas: Functions/Misc/zmv: fix + various little quirks in zmv. + +2008-05-09 Peter Stephenson <pws@csr.com> + + * 24986: Doc/Zsh/prompt.yo, Doc/Zsh/zle.yo, Src/init.c, + Src/prompt.c, Src/watch.c, Src/zsh.h, Src/Zle/zle_refresh.c: + prompt escapes for colouring. + + * users/12846: Etc/FAQ.yo: not so many Windows ports, these days. + +2008-05-08 Peter Stephenson <pws@csr.com> + + * unposted: Src/modules.c: bad arguments to error message. + + * 24980: Doc/Zsh/builtins.yo, Src/builtin.c, Src/module.c, + Src/zsh.h: add zmodload -mF to manipulate features by pattern. + + * 24972: Phil Pennock: Doc/Zsh/mod_files.yo, Src/Modules/files.c, + Src/Modules/files.mdd: Add zf_* commands for zsh/files modules + plus a few extra options. + +2008-05-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24962: Oliver: Functions/Prompts/prompt_oliver_setup: + update to use zle_highlight default highlighting. + +2008-05-07 Peter Stephenson <pws@csr.com> + + * 24959: Src/Zle/compresult.c: ^D's in compctl could cause a + crash. + +2008-05-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24957: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c: better sanity + checking of colour ranges, always use termcap for numeric + colours where available. + + * 24911 (tweaked): Doc/Zsh/zle.yo: missed this bit, somehow. + +2008-05-06 Peter Stephenson <pws@csr.com> + + * 24953: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c: + "default" zle_highlight context, also fix allocation bug with + 24899. + +2008-05-06 Clint Adams <clint@zsh.org> + + * 24947: Completion/X/Command/_mozilla: complete -safe-mode for + firefox. + +2008-05-06 Peter Stephenson <pws@csr.com> + + * 24951: Doc/Zsh/mod_complist, Src/Zle/comp.h, Src/Zle/compcore.c, + Src/Zle/complist.c: implement ZLS_COLORS ln=target. + + * 24937, 24938: Dag-Erling Smørgrav <des@des.no>: configure.ac: + improved version of 24927. + + * 24932: Src/zsh.h, Src/Zle/zle_refresh.c: try to regularize + code that fixes up after right prompt. + + * 24927: Phil Pennock: configure.ac: Free BSD only doesn't need + _XOPEN_SOURCE_EXTENDED on Free BSD 6. + +2008-05-04 Wayne Davison <wayned@users.sourceforge.net> + + * 24831 plus changes: Src/hist.c: simplified fcntl() locking. + + * unposted: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: fixed + signed/unsigned warnings, including an always true "if". + +2008-05-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Mikael Magnusson: 24911 (tweaked): Doc/Zsh/zle.yo, + Src/Zle/zle_params.c: REGION_ACTIVE zle parameter. + + * Phil Pennock: 24904 + 24916: configure.ac, Src/system.h: don't + define _XOPEN_SOURCE_EXTENDED on freebsd, either, not even + if the standard says we need it for wcwidth(). + + * 24915: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c, + Src/Zle/zle_move.c, Src/Zle/zle_vi.c: some more fix-ups for + combining characters. + +2008-05-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/12815: Src/jobs.c, Src/signals.c, Src/zsh.h: + fix bug that a previously defunct process could be taken as a + recently terminated process that needed marking as done, hence + causing the shell to wait for ever for the newly exited process. + +2008-05-01 Peter Stephenson <pws@csr.com> + + * 24900: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c: add + backward-kill-word to delete previous character immediately + in isearch and document the isearch commands better. + + * 24899: Doc/Zsh/zle.yo, Src/Zle/zle_main.c, + Src/Zle/zle_refresh.c: make colour escape sequences configurable + and allow ANSI colour names. + +2008-04-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24895: Matt Wozniski: Doc/Zsh/zle.yo: typo. + + * unposted: Src/glob.c: oops. + +2008-04-29 Peter Stephenson <pws@csr.com> + + * 24894: Doc/Zsh/zle.yo, Src/init.c, Src/zsh.h, + Src/Zle/zle_refresh.c: enable colouring of highlighted text + in editor. + + * 24893: Src/Zle/zle_refresh.c: duplicate statusline to avoid + crashes when it's passed from a constant string. + +2008-04-28 Peter Stephenson <pws@csr.com> + + * unposted: Src/Zle/zle_hist.c: when anchoring a pattern + isearch to the start of the line the search line wasn't + reset on new input so when the first match of the new pattern + was earlier than that of the old pattern we skipped it. + + * unposted: Src/Zle/zle_hist.c: more tweaks for failures with + isearch pattern matching. + + * 24890: Matt Wozniski: Src/Zle/zle_hist.c: skip_pos was + staying set causing random failures on backtracking in isearch. + + * 24887: Geoff: Src/glob.c: typo. + +2008-04-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24886: Src/Zle/zle_hist.c: using unupdated pos to set end_pos + in string isearch could cause endless loop. + +2008-04-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: NEWS: note that COMBINING_CHARS is not on by + default. + + * 24882: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c: + highlighting of incremental search match. + + * unposted because everyone's seen enough of my mistakes: + Src/pattern.c, Src/Zle/zle_hist.c: with pattern matching the + end position of the match wasn't calculated; we used the + length of the uncompiled pattern which often had nothing + to do with it. This made the position on forward pattern + searching wrong. + + * 24881: Src/Zle/zle_hist.c: we kept feeping on an invalid + pattern; once is quite enough. + + * 24880: Src/Zle/zle_hist.c: feeping on a failed match could + be mistimed. + + * 24879: Src/Zle/zle_hist.c: nastiness with pattern search + and duplicate line detection. + + * 24878: NEWS, Doc/Zsh/zle.yo, Src/glob.c, Src/pattern.c, + Src/zsh.h, Src/Zle/iwidgets.list, Src/Zle/zle_hist.c: + add history-incremental-pattern-search-backward and + history-incremental-pattern-search-forward, also optimize + history searches a bit more. + + * 24876: don't install manual pages if empty. + + * 24872: Jun T.: Fix capitalization with combining characters. + + * 24869: Marc Chantreux: configure.ac, Src/init.c: make default + readnullcmd configurable. + +2008-04-24 Peter Stephenson <pws@csr.com> + + * unposted: Jun T.: Src/Zle/zle_utils.c: backkill() in raw + mode didn't correctly calculate the number of characters to + kill. + +2008-04-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/Zle/zle_misc.c: overwrite mode without + MULTIBYTE_SUPPORT should be as before. + +2008-04-23 Peter Stephenson <pws@csr.com> + + * 24867: Src/system.h: looks like we need _XOPEN_SOURCE_EXTENDED + instead of just _XOPEN_SOURCE. + + * 24865: Src/zle_vi.c: bad character adjustment in + vireplacechars(). + + * 24864: Jun T.: configure.ac, Src/zsh.h: typos in 24861. + +2008-04-22 Peter Stephenson <pws@csr.com> + + * 24862: Src/system.h: #define _XOPEN_SOURCE if needed to + get wcwidth(). + + * 24861: configure.ac, Src/builtin.c, Src/compat.c, Src/prompt.c, + Src/utils.c, Src/zsh.h, Src/zle/complist.c, Src/Zle/zle_misc.c + (slightly rewritten), Src/zle/zle_refresh.c, Src/Zle/zle_tricky.c: + use alternative wcwidth() if configure suggests the library + version is returning non-zero when it shouldn't; also improve the + overwriting test for combining characters. + +2008-04-21 Peter Stephenson <pws@csr.com> + + * 24860: Src/Zle/zle_misc.c, Src/Zle/zle_utils.c: better + overwrite mode. + + * 24859: Src/Zle/zle_misc.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c: + overwriting combining characters and replacing them and appending + after them in vi mode. + + * 24856: Src/utils.c, Src/zsh.h, Src/Zle/zle_move.c, + Src/Zle/zle_refresh.c: use IS_COMBINING() and IS_BASECHAR() + tests for combining characters. Widen definitions of characters + to least restrictive we think are likely to work. + + * 24855: Src/Zle/zle_utils.c: tests for combining char aligments + should only be on metafied command line. + + * unposted: Src/Zle/zle_move.c: missing assignment in new + backwardmetafiedchar(). + +2008-04-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24853: Src/utils.c, Src/zsh.h, 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_refresh.c, + Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c, + Src/Zle/zle_word.c: use metafied strings for inner loops + involving history, with consequent changes for similar code + such as execute-name-command, plus some utility functions. + + * 24852: Src/zle_main.c (Jun T.), Src/Zle/zle_vi.c: more + combining chars fallout. + + * users/12798: Etc/zsh-development-guide: passing NULL flags + to builtin definition. + + * users/12793: William Scott: Completion/BSD/Command/_chflags: + hidden/nohidden flags. + +2008-04-20 Andrey Borzenkov <bor@zsh.org> + + * 24851: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: support + colour codes for from current GNU ls + +2008-04-18 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Zle/zle_refresh.c: fixed compiler warnings + about signed/unsigned issues. + +2008-04-18 Peter Stephenson <pws@csr.com> + + * 24839: Src/Zle/zle_word.c: misuse of variable in 24825. + +2008-04-17 Peter Stephenson <pws@csr.com> + + * 24829: Jun T.: Src/Zle/zle_vi.c: vi-replace-chars got broken + in the crossfire. + + * 24825: Src/utils.c, Src/Zle/zle_word.c: fix internal + word-boundary widgets and make zero-width punctuation + characters always part of a word. + + * unposted: NEWS: list new features so far since 4.3.6. + + * Vincent Lefevre: 24818: Doc/Zsh/options.yo (modified), + Src/hist.c (with #ifdef HAVE_FTRUNCATE), Src/options.c, Src/zsh.h: + history file locking using fcntl(). + +2008-04-16 Clint Adams <clint@zsh.org> + + * 24823: Completion/Unix/Command/_git: some fixes and updates for + git 1.5.5. + +2008-04-16 Peter Stephenson <pws@csr.com> + + * 24821: Etc/FAQ.yo, Src/Zle/zle_main.c: updated notes plus + fix cursor position with combining characters after exit + from a user-defined widget. + +2008-04-15 Peter Stephenson <pws@csr.com> + + * 24819: Src/Zle/zle.h, Src/Zle/zle_misc.c, Src/Zle/zle_move.c, + Src/Zle/zle_utils.c: need to fix up combining character aligment + in case of sneaky combination generation; fix transposing + characters. + +2008-04-14 Peter Stephenson <pws@csr.com> + + * 24816: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c, + Src/Zle/zle_tricky.c: a few places where we need to alight + with combining characters. + + * 24814: Src/hist.c: suspicious handling of temporary history + buffer. + + * 24811: Doc/Zsh/roadmap.yo, Etc/FAQ.yo: update introductory + documentation on multibyte support. + + * 24810 (slightly edited to move added text later): + Src/Zle/zle_tricky.c: after unmetafying the command line ensure + we're not on a combining character. + +2008-04-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24808: Doc/Zsh/options.yo, Src/options.c, Src/utils.c, Src/zsh.h, + Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/compresult.c, + Src/Zle/deltochar.c, Src/Zle/zle.h, Src/Zle/zle_hist.c, + Src/Zle/zle_misc.c, Src/Zle/zle_move.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: add COMBINING_CHARS option and basic + zle support. + + * Miek Gieben: users/12781: Functions/Misc/zmv: too many + backslashes in Usage message. + +2008-04-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Frank Terbeck: 24807: Completion/compint: Completion system + needs no_ignore_braces option. + +2008-04-11 Peter Stephenson <pws@csr.com> + + * unposted: Src/zle_hist.c, Src/zle_utils.c: move zlecmp() and + zlefind() unaltered into zle_hist.c as statics in preparation + for surgery on the zle_text interface. (You should see the + waiting list for surgery, though.) + +2008-04-09 Peter Stephenson <pws@csr.com> + + * 24806: Doc/Zsh/params.yo, Completion/Zsh/Context/_subscript: fix + typos, completing of * and @. + + * 24804: Completion/Zsh/Context/_subscript: quoting of + associative array keys for subscripts was wrong. + +2008-04-07 Clint Adams <clint@zsh.org> + + * Markus Waldeck: 24799: Completion/Unix/Command/_vorbis: + complete .spx files for ogg123. + +2008-04-07 Peter Stephenson <pws@csr.com> + + * 24797: Doc/Zsh/zle.yo, Functions/Zle/read-from-minibuffer: + document POSTDISPLAY highlighting; restore read-from-minibuffer + save/restore mechanism using variables to avoid problems with + not restoring special ZLE variables when they go out of scope. + +2008-04-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * İsmail Dönmez <ismail@namtrac.org>: 24793: Doc/Zsh/zle.yo: + typo. + +2008-04-04 Peter Stephenson <pws@csr.com> + + * 24792: Src/Zle/zle_refresh.c: try to be safer about turning + off attributes when outputting at a new position. + + * c.f Mikael, 24790: Doc/Zsh/zle.yo: item()s need closing + parentheses on next line. + +2008-04-04 Clint Adams <clint@zsh.org> + + * 24789: Completion/Unix/Command/_stgit: completion for + stg subcommands. + +2008-04-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24788: Doc/Zsh/expn.yo, Src/subst.c: ${(m)#...} returns + string print width. + +2008-04-03 Peter Stephenson <pws@csr.com> + + * 24787: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: reset + region_highlight when finished editing command line. + + * 24786: 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: + handle read -t properly in zle by passing down timeout + to getbyte(). + + * 24782, plus a couple of fixes: Doc/Zsh/zle.yo, + Functions/Zle/read-from-minibuffer, + Functions/Zle/replace-string-again, Src/zsh.h, Src/Zle/zle.h, + Src/Zle/zle_main.c, Src/Zle/zle_move.c, Src/Zle/zle_params.c, + Src/Zle/zle_refresh.c: initial go at highlighting of command + lines in zle using $zle_highlight and $region_highlight. + + * unposted, see users/12758: actually, [(w)...] does work with + (r) and (R). + +2008-04-02 Peter Stephenson <pws@csr.com> + + * users/12754: Doc/Zsh/params.yo: [(w)...] doesn't work with (i), + (I), (r), (R). + + * unposted: update version to 4.3.6-dev-0 to avoid clash with + released version. + + * 24781: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context: + make word-context style more useful by using previous or next word + depending on widget name. + + * unposted: README: minor tweaks. + + * unposted: NEWS, Config/version.mk: Release 4.3.6. + +2008-04-01 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo: need tt(--) -> + tt(-)tt(-). Plus other minor typos. + + * unposted: (spotted by Ismail): Doc/Zsh/compsys.yo: typo. + +2008-03-31 Peter Stephenson <pws@csr.com> + + * unposted: README, Config/version.mk, Etc/.distfiles, Etc/FAQ.yo, + Etc/relnote{,s}_4.3.6.txt: 4.3.5-dev-4 and renumber for + 4.3.6. + + * unposted: Functions/Calendar/calendar_show: if in KDE, + use kdialog rather than xmessage. + +2008-03-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24708: Misc/globtests, Src/pattern.c, Test/D02glob.ztst: + (#c) extended globbing flag didn't backtrack properly on + failure of the remaining pattern after the repeated pattern. + +2008-03-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24777: Src/Zle/complist.c: bug clearing a list when + exiting from menu selection in some circumstances (see + 24756 for test case). + +2008-03-28 Peter Stephenson <pws@csr.com> + + * 24776: Completion/compinit: clarify the message printed + when compaudit finds problems. + + * 24775: Completion/Zsh/Command/_cd, Doc/Zsh/compsys.yo: improve + option handling. + + * users/12739: configure.ac: multiple arguments to --with-term-lib + weren't handled properly. + + * 24768: Completion/Unix/Type/_canonical_paths, + Doc/Zsh/builtins.yo, Etc/relnotes_4.3.6.txt, Src/builtin.c: + add -q option to cd, chdir, pushd, popd; use in _canonical_paths; + document in release note. + +2008-03-27 Peter Stephenson <pws@csr.com> + + * 24759: Completion/Unix/Type/_canonical_paths: unfunction + is noisy if function wasn't set. Also sanitize use of + helper functions. + + * 24757: Completion/Unix/Type/_canonical_paths: use + CHASE_LINKS and pwd to canonicalize the directory path. + + * unposted: fix alias test in 24736 properly by replacing + "foo" everywhere. + +2008-03-26 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: 4.3.5-dev-3. + + * 25753 (after various previous attempts): + Completion/Unix/Type/_canonical_paths: use zstat to find + canonical name for symbolic links. + + * c.f. 24741: Doc/Zsh/mod_stat.yo: loading zstat builtin was + misdocumented. + + * 24736: Test/A02alias.ztst, Test/D07multibyte.ztst: + tests failing with "foo" in the path and with inscrutable + numeric sorting with NUMERIC_GLOB_SORT unset. + + * unposted: Config/version.mk: 4.3.5-dev-2. + +2008-03-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24733: Src/jobs.c: wait shouldn't return immediately on + a signal unless it's trapped (bug in 22281). + + * 24732: Src/Builtins/sched.c: not enough space for ztrftime + string with multibyte characters. + + * 24731: Doc/Zsh/params.yo, Src/params.c, Src/pattern.c, + Test/D04parameter.ztst: use [(e)...] parameter flag to quote + pattern characters, also fix bug that optimization of matches + with no pattern characters didnʼt work for multibyte matching. + +2008-03-23 Clint Adams <clint@zsh.org> + + * 24730: Completion/Unix/Command/_git: use --no-color when + calling git commands that might output color codes. + +2008-03-22 Clint Adams <clint@zsh.org> + + * 24728: Completion/Debian/Command/_aptitude: complete for + aptitude why and why-not. + +2008-03-22 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Doc/Zsh/params.yo: further documentation tweak for the + (R) and (I) subscript flags. + +2008-03-18 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Doc/Zsh/params.yo: tweak documentation for the (i) and + (I) subscript flags. + + * 24717, 24718, 24719: Completion/compinstall, Src/params.c, + Test/D06subscript.ztst: a 0 subscript is neither valid nor + equivalent to 1 any longer, so the (i) subscript flag on an empty + array needs to yield 1 as it probably always should have. + +2008-03-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Completion/Unix/Command/.distfiles, + Completion/Zsh/Type/.distfiles, Etc/.distfiles, Src/.cvsignore: + fix distribution files. + + * unposted: Config/version.mk: zsh-4.3.5-dev-1. + +2008-03-14 Barton E. Schaefer <schaefer@zsh.org> + + * unposted (see 24709): Functions/Misc/zkbd: add -h to local + declaration in is-this-a-function test. Use $DISPLAY when we + have one instead of only $VENDOR-$OSTYPE as file name suffix. + Add some knowledge of the MULTIBYTE option and its effects. + +2008-03-14 Peter Stephenson <pws@csr.com> + + * 24712: Src/utils.c: handling of backticks when being requoted + for use inside double quotes had off-by-one error. + + * 24711: Src/parse.c, Src/text.c, Src/zsh.h, + Test/A04redirect.ztst: fix re-presentation of here-documents + munged internally to here-strings. + +2008-03-13 Peter Stephenson <pws@csr.com> + + * 24705: configure.ac, Config/defs.mk.in, Src/zsh.mdd, + Src/Modules/curses.c, Src/Modules/termcap.c, + Src/Modules/terminfo.c: rationalise curses and term headers + some more and add intermediate generated <build>/Src/zshcurses.h + and <build>/Src/zshterm.h to include the right ones. + +2008-03-12 Clint Adams <clint@zsh.org> + + * 24704: Completion/Unix/Command/_calendar: completion for BSD + calendar. + +2008-03-11 Barton E. Schaefer <schaefer@zsh.org> + + * 24703: Src/Zle/zle_main.c: clear trashedzle when first starting + the editor in zleread(), so that reexpandprompt() from the first + zrefresh() won't expand the prompt an extra time. + +2008-03-11 Peter Stephenson <pws@csr.com> + + * unposted: Src/hist.c: make test in 24699 for the extra + space safer. + +2008-03-09 Clint Adams <clint@zsh.org> + + * 24701, 24702: Completion/Unix/Command/_git: use $service instead of + $words[1] so completion will work if git is an alias to a wrapper. + +2008-03-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24699: Src/hist.c, Src/input.c, Src/lex.c, + Test/D04parameter.ztst: fix two bugs in the hacked up parsing + of strings for parameter substitution: ${(Q)...} lost an initial + ">" and ${(z)...} on a string with an opening parenthesis but + no closing parenthesis appended an extra space. + +2008-03-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/12699: Src/Zle/computil.c: don't complete normal + arguments where we're completing the required argument + to an option in the word following the option. + +2008-03-07 Peter Stephenson <pws@csr.com> + + * Richard Hartmann: 24631: Completion/Unix/Command/_gpg: update. + + * 24696: Doc/Zsh/options.yo, Src/options.c: turn off MULTIBYTE + by default in sh emulation. + +2008-03-06 Wayne Davison <wayned@users.sourceforge.net> + + * 24693: Src/utils.c: provide better errors when skipping + history-file saving due to ownership. Allow root to do the + save anyway if zsh can chown a file descriptor. Fixed the + propagation of the errno from a failed open() of the history + file (zsh used to complain about an invalid file descriptor). + + * unposted: Src/Zle/zle_utils.c: fixed 2 compiler warnings + about comparing signed and unsigned. + +2008-03-04 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: ignore range + limiters >, >=, =, <, <= after @ in labels and dates, too. + +2008-03-03 Peter Stephenson <pws@csr.com> + + * 24673: Test/D07multibyte.ztst: another attempt to sort + characters the same way on multiple UTF-8 implementations. + + * 24662: River Tarnell <river@wikimedia.org>: configure.ac, + Src/compat.c: strtoul() when not in system library. + +2008-03-02 Barton E. Schaefer <schaefer@zsh.org> + + * 24653, 24659: Completion/Unix/Type/_path_commands: use a + helper function to call "whatis" portably, and use compadd -O + to pre-filter matches before reading $_command_descriptions. + +2008-03-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24656: Src/builtin.c: fix cd overeagerness to find integers + after "-" and "+". + +2008-03-01 Clint Adams <clint@zsh.org> + + * 24650: Completion/Unix/Type/_path_commands: use zstyle -t instead + of -T since extra-verbose isn't meant to default to yes. + +2008-02-29 Clint Adams <clint@zsh.org> + + * 24632: Completion/Unix/Command/_rsync: fix remote ssh filename + quoting. + +2008-02-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24627: Src/Zsh/complist.c: fix(?) crash when resizing window + during menu-select. + +2008-02-28 Clint Adams <clint@zsh.org> + + * 24626: Completion/Unix/Type/_path_commands, Doc/Zsh/compsys.yo: + only process command descriptions if extra-verbose style is set. + + * 24622: Completion/Unix/Command/_git: add completion for + 'git bisect skip' and 'git bisect run'. + +2008-02-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24618: Test/D07multibyte.ztst: use "sort" to avoid making + assumptions about sorting of UTF-8 files. + +2008-02-27 Clint Adams <clint@zsh.org> + + * 24617: Doc/Makefile.in: add '.' to the yodl include path + for when files are passed as ../../Doc/*.yo. + +2008-02-27 Peter Stephenson <pws@csr.com> + + * 24611: Src/subst.c, Test/D04parameter.ztst: 23562 + broke the case of ${+array[...]} for an empty range match. + +2008-02-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24602: Test/C02cond.ztst: failing to run a test didn't + set prerequisites for later test. + + * 24600: astonishingly, there was a fourth bug in few + lines of 24596. + +2008-02-26 Geoff Wing <gcw@zsh.org> + + * unposted: Src/utils.c: fix typos in 24596 + +2008-02-26 Peter Stephenson <pws@csr.com> + + * 24596: Src/utils.c: if nl_langinfo(CODESET) returns "" + or "646" use "US-ASCII". + + * 24592: Src/utils.c: make errors about charset conversion + more explicit. + +2008-02-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24590: Src/exec.c, Src/lex.c: tame overzealous error + report when unquoting. + + * 24588: Completion/Zsh/Type/_globquals, + Completion/Zsh/Type/_history_modifiers: tweaks + + * 24585: Completion/Base/Utility/_alternative, + Completion/Unix/Type/_path_files, + Completion/Zsh/Type/_delimiters, + Completion/Zsh/Type/_globqual_delims, + Completion/Zsh/Type/_globquals, + Completion/Zsh/Type/_history_modifiers, Doc/Zsh/compsys.yo: + completion for glob qualifiers plus bug fix for message-only + completion in _alternative. + +2008-02-22 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: new option + p4 change -u. + +2008-02-22 Clint Adams <clint@zsh.org> + + * 24578: Completion/Debian/Command/_dpkg: stop completing + --print-gnu-build-architecture, which was dropped in 2005. + + * 24576: Functions/Calendar/calendar_add, + Functions/Misc/sticky-note: replace shebang lines. + +2008-02-21 Peter Stephenson <pws@csr.com> + + * users/12632: Src/exec.c: bug unexporting special parameter + after "SPECIAL=stuff funccall". + +2008-02-19 Peter Stephenson <pws@csr.com> + + * 24572: Doc/Zsh/calsys.yo, Functions/Calendar/calendar_add: + add style reformat-date. + +2008-02-19 Barton E. Schaefer <schaefer@zsh.org> + + * 24570: Completion/Unix/Type/_path_commands: don't attempt to + pre-filter $commands on $PREFIX, just let compadd deal with it. + Fixes a bad interaction with the _approximate completer. + +2008-02-17 Barton E. Schaefer <schaefer@zsh.org> + + * users/12600: Src/builtin.c: reorder handling of -s/-d/-t options + so that terminal input modes are set before attempting a + read-poll. Also display any prompt before read-polling. + + * unposted: Functions/Misc/xtermctl: update uses of "read" to + take advantage of users/12600. + +2008-02-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24566: Doc/Zsh/prompt.yo, Src/prompt.c: fallout: + fix truncation with glitch spaces; more careful + documentation; allow %N{...}; make unsupported + characters default to width 1. + +2008-02-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24556: Doc/Zsh/prompt.yo, Src/prompt.c: %G inside %{...%} + can be used to count width of "glitch" characters. + + * 24554: Src/Zle/complist.c: push an extra heap for + complistmatches() to stop accumulating it; always treat + mcolors as a global instead of just sometimes. + +2008-02-14 Peter Stephenson <pws@csr.com> + + * 24551: Src/Zle/compresult.c, Src/Zle/zle_main.c: free heap + memory after each full Zle command executed (plus cosmetics). + Still need to try and stop menu selection accumulating heap + memory. + +2008-02-11 Peter Stephenson <pws@csr.com> + + * users/12547: Completion/Darwin/Type/_mac_files_for_application, + Completion/Unix/Command/_locate: fix array indices [0] -> [1] in + completion. + + * Haakon Riiser: 24545: Completion/X/Command/_acroread: new + options for version 8. + +2008-02-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24542: Src/Zle/zle_tricky.c: RC_QUOTES wasn't handled + if the opening quote wasn't at the start of the word, causing + endless looping. + +2008-02-07 Clint Adams <clint@zsh.org> + + * unposted: Functions/Misc/run-help-git, + Functions/Calendar/calendar_add, Functions/Misc/sticky-note: remove + shebang line. + +2008-02-06 Clint Adams <clint@zsh.org> + + * 24536: Completion/Unix/Command/_cut: tweaks to 24529, spelling + fix. + + * Mikael Magnusson: 24529: Completion/Unix/Command/_cut: + remaining fixes from 24526. + +2008-02-05 Peter Stephenson <pws@csr.com> + + * 24533 (tweaked): Completion/compinstall: use _completer _ignored + as default to offer user if no completers are defined + +2008-02-03 Clint Adams <clint@zsh.org> + + * 24528: configure.ac, Etc/zsh-development-guide: + revert 24429. + + * 24527: Completion/Unix/Command/_cut: a subset of the + fixes from Mikael Magnusson in 24526. + +2008-02-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24524: Config/version.mk: increment version to 4.3.5-dev-0. + +2008-02-01 Clint Adams <clint@zsh.org> + + * 24513, 24514, 24515, 24516, 24517, 24518, 24519, 24520, 24521: + Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo, Doc/Zsh/contrib.yo, + Doc/Zsh/expn.yo, Doc/Zsh/grammar.yo, Doc/Zsh/mod_curses.yo, + Doc/Zsh/mod_newuser.yo, Doc/Zsh/mod_sched.yo, Doc/Zsh/options.yo, + Doc/Zsh/roadmap.yo, Doc/Zsh/tcpsys.yo: typo fixes from A. Costa. + +2008-02-01 Peter Stephenson <pws@csr.com> + + * users/12527: Etc/relnote_4.3.5.txt: Add release note for 4.3.5. + + * unposted: Release 4.3.5. + + * Back off 24506 pending 4.3.5 release. + +2008-02-01 Clint Adams <clint@zsh.org> + + * 24506: Makefile.in, configure.ac, Doc/Makefile.in, + Etc/Makefile.in, Src/Makefile.in, Src/Makemod.in.in, + Test/Makefile.in: make ZSH_VERSIONSUFFIX propagate to somewhere + useful. + +2008-01-31 Peter Stephenson <pws@csr.com> + + * Christopher Key <cjk32@cam.ac.uk>: users/12521: + Completion/Unix/Command/_subversion: svn and svnadmin help + parsing. + +2008-01-30 Peter Stephenson <pws@csr.com> + + * 24498: Src/mkmakemod.sh: check config.h instead of config.status + for dynamic configuration since the syntax is less variable. + Could be done by generating from Src/mkmakemod.sh.in instead. + + * 24496: Doc/Zsh/contrib.yo: more Yodl parenthesis protection. + +2008-01-29 Peter Stephenson <pws@csr.com> + + * 24485: INSTALL: note that term.h may need CPPFLAGS=-I... + if it's to be included from the curses library directory. + + * 24483: Doc/Zsh/prompt.yo, Doc/Zsh/zle.yo: some minor + sectioning problems. + + * users/12498: Doc/Zsh/contrib.yo: missing section spotted + by Vincent. + + * unposted: Config/version.mk, Functions/Misc/.distfiles: + 4.3.4-dev-8. + +2008-01-25 Peter Stephenson <pws@csr.com> + + * 24460: Doc/Zsh/mod_zpty.yo, Src/utils.c, Src/Modules/zpty.c: + make "zpty -rt" more consistent by polling before every byte, + not just the first. + +2008-01-25 Clint Adams <clint@zsh.org> + + * 24464: Completion/Unix/Command/_git: remove trailing whitespace. + +2008-01-22 Clint Adams <clint@zsh.org> + + * 24437, 24441, 24442: Completion/Unix/Command/_git: compensate + for some breakage introduced by 24396. + +2008-01-22 Peter Stephenson <pws@csr.com> + + * 24434: Src/Zle/zle_refresh.c: handle unprintable and zero-width + wide characters on the command line by displaying as hex. + +2008-01-22 Clint Adams <clint@zsh.org> + + * 24429: configure.ac, Etc/zsh-development-guide: + use ZSH_VERSIONSUFFIX instead of ZSH_EXTRAVERSION. + + * Frank Terbeck: 24413: Completion/Unix/Command/_git: handle + completion when git aliases are used. + + * Mikael Magnusson: 24396: Completion/Unix/Command/_git: + don't pass -r to git ls-files for performance reasons, + compensate for lack of recursion. + +2008-01-21 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/builtin.c: got rid of compiler warning about + a signed/unsigned comparison. + +2008-01-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Completion/Unix/Command/_mount: make MATCH etc. + local. + + * users/12461: Completion/Unix/Command/_mount: mount points + weren't completed properly for umount. + +2008-01-18 Barton E. Schaefer <schaefer@zsh.org> + + * users/12453: Functions/Misc/xtermctl: X11 window control for + xterm-compatible emulators + +2008-01-18 Clint Adams <clint@zsh.org> + + * 24408: configure.ac, Etc/zsh-development-guide: + use contents of ZSH_EXTRAVERSION environment variable for + version suffix. + +2008-01-18 Peter Stephenson <pws@csr.com> + + * 24406: Src/Zle/compmatch.c: use deep copy of Cline structure + to avoid it containing itself. + +2008-01-17 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: a few minor + news options. + +2008-01-14 Peter Stephenson <pws@csr.com> + + * 24388: Completion/Unix/Command/_mh: abort neatly if MH + commands not found. + +2008-01-13 Clint Adams <clint@zsh.org> + + * 24387: Completion/Debian/Command/_dpkg: update --force-* + options for dpkg completion. + +2008-01-13 Barton E. Schaefer <schaefer@zsh.org> + + * users/12426: Functions/Misc/sticky-note: post-its for zsh. + + * 24364: Functions/Misc/run-help: change the comment from 24349 + to a local assignment to HELPDIR with a default location. + +2008-01-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * "N.J. Mann" <njm@njm.f2s.com>: users/12420: + Completion/Unix/Command/_cvs: completion for cvs commit -f. + +2008-01-10 Peter Stephenson <pws@csr.com> + + * users/12412: Src/builtin.c, Src/parse.c, Test/C02cond.ztst: + check for extra arguments in test and [. + + * 24384: Src/params.c: eliminate invalid pointer and also + (unposted) add debug check for use. + +2008-01-08 Peter Stephenson <pws@csr.com> + + * unposted: 4.3.4-dev-7. + + * 24371: Src/Zle/zle_refresh.c: potential crash when refreshing + scrolling chunk of large history entry. + +2008-01-06 Clint Adams <clint@zsh.org> + + * Chris Lamb: 24365: Completion/Debian/Command/.distfiles, + Completion/Debian/Command/_vim-addons: completion for vim-addons. + +2008-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24362: Src/Zle/zle_refresh.c: redrawing line with multibyte + character first caused later characters not to be redrawn. + +2008-01-04 Clint Adams <clint@zsh.org> + + * 24360: Completion/Unix/Command/_du: fix misspelling of + --separate-dirs. + +2008-01-04 Peter Stephenson <pws@csr.com> + + * 25356: Src/text.c, Test/C02cond.ztst: "=~" wasn't handled by + the code that retrieves a printed representation. + Non-interactively this caused a crash. + +2008-01-04 Clint Adams <clint@zsh.org> + + * 24349: Functions/Misc/run-help: add comment about HELPDIR to + assist replacement in Debian build. + +2008-01-03 Clint Adams <clint@zsh.org> + + * 24345: Completion/Unix/Command/_metaflac: add --no-utf8-comment + and --list. + +2007-12-31 Barton E. Schaefer <schaefer@zsh.org> + + * unposted (based on J.Sommer: 24334): Doc/Zsh/contrib.yo: + Document expanded behavior of run-help. + + * J.Sommer: 24333: Functions/Misc/.distfiles, + Functions/Misc/run-help-git, Functions/Misc/run-help-svk, + Functions/Misc/run-help-svn: run-help helpers. + + * 24332: Functions/Misc/run-help: use only the path tail of $1 + when calling "man" et al. Look for a helper function named + run-help-$1 to provide specific help for the command, before + falling back on "man". + + * 24324: Src/hist.c: do not set ftim when re-entering the history + mechanism for string substitution. + +2007-12-31 Clint Adams <clint@zsh.org> + + * 24330: Completion/X/_xpdf: add some missing options from xpdf + 3.02. + +2007-12-27 Clint Adams <clint@zsh.org> + + * 24323: Completion/Debian/Command/_apt: for performance reasons, + procure release names via apt-cache policy instead of apt-cache + dump. + +2007-12-27 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/params.c: silenced a compiler warning by making + an int unsigned. + +2007-12-24 Clint Adams <clint@zsh.org> + + * 24316: Test/runtests.zsh, Test/ztst.zsh: count skipped tests + differently from successes and failures. + +2007-12-20 Peter Stephenson <pws@csr.com> + + * unposted: 4.3.4-dev-6. + + * 24305: NEWS, README, Etc/FAQ.yo: update files in preparation + for 4.3.5. + +2007-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24301: missed a case for the lower-casing fix in 23219. + + * 24298: Tonguc Yumruk: Functions/Misc/is-at-least: use + emulate -L for consistency. + +2007-12-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24289 plus change suggested by Ismail in 24290: + Test/Makefile.in, Test/runtests.zsh, Test/ztst.zsh, + Test/.distfiles: count successful and unsuccessful scripts + and report with status. + +2007-12-18 Peter Stephenson <pws@csr.com> + + * 24279: Src/jobs.c, Src/zle_main.c, Src/zle_thingy.c: allow + terminal changes in zle -I to be remembered in normal shell + settings. + +2007-12-17 Peter Stephenson <pws@csr.com> + + * unposted: Src/utils.c: suppress harmless warning. + + * 24275: Src/builtin.c, Src/Zle/zle_utils.c, + Test/D07multibyte.ztst: Solaris returns the full character + length from mbrlen() etc. even if the call started in the + middle; bad characters are silently converted to a question mark. + + * unposted: Config/version.mk: 4.3.4-dev-5. + + * unposted: Src/lex.c: minor typo + + * Wayne: 24273: Src/Modules/curses.c: various macros + aren't supposed to return a value. + +2007-12-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24271: Src/lex.c, Test/C01arith.ztst: handle parse failures + in math substitution better. + + * 24268: Completion/Unix/Type/_mailboxes: handle backslashed =. + + * 24264: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Src/params.c, + Src/subst.c, Src/zsh.h, Test/B02typeset.ztst: restrict the + effect of 24234 to expansion in the parameter substitution code + and attempt to document the effect. + +2007-12-15 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: Improved the help + text of the --whole-file option. + +2007-12-14 Peter Stephenson <pws@csr.com> + + * 24252: configure.ac, Src/system.h, Src/Modules/curses.c: + _XOPEN_SOURCE_EXTENDED was causing problems on OpenBSD. + + * 24251: Doc/ztexi.yo: fix sitem() macro. + +2007-12-13 Clint Adams <clint@zsh.org> + + * 24242: Functions/Calendar/calendar_add, Functions/Example/cat, + Functions/Example/zless, Functions/Misc/checkmail, + Functions/Misc/run-help, Functions/Misc/zcalc, Functions/Misc/zkbd: + unify top lines as #!/bin/zsh (followed by options). + + * Peter: 24235: Completion/Base/Utility/_arguments: handle + underscores. + +2007-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24241: Doc/Zsh/expn.yo: explain the effect of time glob + qualifiers better. + + * 24240: Src/Zle/zle_main.c: vared didnʼt check for trailing + garbage on parameter names until too late. + + * 24239: Completion/Zsh/Context/_subscript: if the [ of + a subscript was backslashed, a trailing space was added + backslashed along with the "\[". + + * 24236: Test/C02cond.ztst: another case where the wretched + cond -N test can fail. + + * 24234: Doc/Zsh/expn.yo, Src/params.c, Src/subst.c, + Test/B02typeset.ztst: apply parameter flags defined with + typeset etc. consistently so that substitution code layered + above always sees the effects. + +2007-12-12 Peter Stephenson <pws@csr.com> + + * users/12325: Doc/Zsh/builtins.yo, Src/builtin.c: + implement OSI rules for three- and four-argument test and [ ... ] + commands and warn users about the problems. + + * users/12305: Doc/Zsh/builtins.yo, Src/init.c, + Test/A01grammar.ztst: option output wasn't well described; + "-c" is documented not to set SHIN_STDIN, so don't. + +2007-12-11 Clint Adams <clint@zsh.org> + + * unposted: Completion/Debian/Command/.distfiles: update. + +2007-12-11 Peter Stephenson <pws@csr.com> + + * users/12307: Test/C02cond.ztst: the wretched -N test is + still problematic; expand the delay to 2 seconds. + + * 24210: Src/builtin.c: "set -o" should abort on failure. + + * unposted: Config/version.mk, Completion/Unix/Command/.distfiles: + Functions/Zle/.distfiles: 4.3.4-dev-4. + +2007-12-10 Peter Stephenson <pws@csr.com> + + * Vincent Lefevre: 24192: Completion/Unix/Command/_make: + make GNU make support -include. + +2007-12-09 Barton E. Schaefer <schaefer@zsh.org> + + * 24150 plus unposted: Src/exec.c, Test/D08cmdsubst.ztst: + Retain exit status of last non-assignment command substitution + across variable assignment processing so that, in the event of + no command word to execute, the exit status of the statement is + that of the last command substitution (per POSIX). + +2007-12-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24197: Src/utils.c, Src/Modules/datetime.c: interface to + ztrftime() for insufficient memory was broken. + +2007-12-08 Clint Adams <clint@zsh.org> + + * 24188: Completion/Unix/Command/_id: completion for GNU id. + + * 24187: Completion/Debian/Command/_members: completion for members. + +2007-12-07 Clint Adams <clint@zsh.org> + + * 24174: Completion/Unix/Command/_cut: Oliver's deuglification + of 24169. + +2007-12-07 Peter Stephenson <pws@csr.com> + + * Unposted: Src/exec.c: add explanatory comment for 24170/24179. + + * 24180: configure.ac, Src/utils.c: back off (most of) 24148. + + * 24179: Src/exec.c: alter 241770 to use queue_signals(). + + * Guillaume Chazarain: 24170: Src/exec.c: block interrupts + around fork since it may mess with locks. + +2007-12-07 Clint Adams <clint@zsh.org> + + * 24172 (tweaked): configure.ac: check ncurses.h, ncurses/ncurses.h, and + ncursesw/ncurses.h for curses keys. + + * 24171, 24173: Src/Modules/terminfo.c: define USE_TERMINFO_MODULE when + ncurses.h, ncurses/ncurses.h, or ncursesw/ncurses.h is present. + +2007-12-06 Clint Adams <clint@zsh.org> + + * 24169: Completion/Unix/Command/_cut: use print in command + substitution to avoid a literal non-ASCII character in the German + translation of args for cut completion. + +2007-12-05 Clint Adams <clint@zsh.org> + + * 24160: Src/Modules/terminfo.c, Src/Modules/terminfo.mdd: + build terminfo module if ncursesw is present but curses.h is not. + +2007-12-05 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_ip: typo in "addr replace" + completion. + +2007-12-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24148: configure.ac, Src/utils.c: attempt to use strerror_r() + to make error messages in signal handle safer. + +2007-12-03 Wayne Davison <wayned@users.sourceforge.net> + + * 24147: Util/difflog.pl: improved the temporary-file handling. + +2007-12-03 Peter Stephenson <pws@csr.com> + + * 24143: Etc/zsh-development-guide, Util/.distfiles: Remove + difflog.pl from the distribution owing to security worries + in usage (but leave it in the archive); also document the + distfiles business. + +2007-12-03 Clint Adams <clint@zsh.org> + + * 24140: Completion/Unix/Command/_git: spelling fix and + removal of redundant "config" subcommand as proposed by Wayne. + +2007-12-01 Clint Adams <clint@zsh.org> + + * 24135: Completion/Debian/Command/_make-kpkg: consistently + complete subcommands with minus signs instead of underscores. + +2007-11-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * arno: 24134: Completion/Unix/Command/_find: additional options. + +2007-11-29 Peter Stephenson <pws@csr.com> + + * 24130 (belatedly): Doc/Zsh/calsys.yo, + Functions/Calendar/.distfiles, Functions/Calendar/calendar, + Functions/Calendar/calendar_add, + Functions/Calendar/calendar_parse: abstract calendar_parse from + calendar and use in calendar_add to be slightly cleverer about + recurrences. + + * Kohsuke Kawaguchi: 24129: Completion/Unix/Command/_ant: + skip targets that can't be invoked from the command line. + +2007-11-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24128: Test/Y02compmatch.ztst: test for 24127. + + * 24127: Src/Zle/compcore.c, Src/Zle/compmatch.c: fix + bug with matcher 'r:|[-./_]=* r:|=* l:|=*' completing + where word on command line starts after a "-". + +2007-11-28 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: Added one more + option for the upcoming 3.0.0 version of rsync: --contimeout. + +2007-11-28 Peter Stephenson <pws@csr.com> + + * Mustafa Oezkan: 24126: Completion/Unix/Command/_mount: + additional options. + +2007-11-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Ryan F: users/12154: Completion/Unix/Type/_groups: MacOS X + group completion. + +2007-11-26 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk, Completion/Unix/Command/.distfiles: + changes for 4.3.4-dev-3. + + * 24120: Src/init.c: memory allocation for termcap strings + was screwy, in particular when terminal couldn't move left. + + * c.f. users/12248: Doc/Zsh/.distfiles: zshcalsys.1 was missing + from distribution. + +2007-11-24 Clint Adams <clint@zsh.org> + + * 24118: configure.ac: only link against libnsl if we have NIS and + need it for yp_all, or if we need it for getpwnam. + +2007-11-23 Clint Adams <clint@zsh.org> + + * Markus Waldeck: 24117: Completion/Unix/Command/_uname: + completion for uname. + +2007-11-23 Geoff Wing <gcw@zsh.org> + + * 24098: Src/Zle/zle_refresh.c: Fix my botch with 23924, rework + out new prompts and their lengths before use in resetvideo(). + +2007-11-22 Clint Adams <clint@zsh.org> + + * unposted: Functions/Prompts/prompt_clint_setup: fix typo in git + psvar assignment. + + * Sean Finney: 24115: Completion/Unix/Command/_git: offer tags as + well as heads where refspecs are valid. + + * 24114: Completion/Unix/Command/_git: make colon suffix removable + after the first part of refspecs. + +2007-11-22 Barton E. Schaefer <schaefer@zsh.org> + + * 24113: Src/params.c: createparamtable() was still messing with + the internals of the environment even when USE_SET_UNSET_ENV. + +2007-11-21 Clint Adams <clint@zsh.org> + + * arno.: 24111: Completion/Debian/Command/_dlocate: complete -lsbin + and -lsman options to dlocate. + +2007-11-21 Peter Stephenson <pws@csr.com> + + * 24110: Src/Modules/curses.c: change those includes yet again. + +2007-11-20 Peter Stephenson <pws@csr.com> + + * 24108 plus yet another tweak: configure.ac: the test + for whether we using ncurses as a library was both wrong + and in the wrong place. + + * 24107: configure.ac, Src/Modules/curses.c: yet more + library fun: search for ncurses headers in other places, + don't use ncursesw/ncurses.h if no multibyte support, + don't use any ncurses headers if the terminal library + isn't ncurses. + + * 24104: INSTALL, configure.ac: don't search for ncurses if + we can't find ncurses.h. + + * 24103: Doc/Makefile.in: ensure zsh.texi is updated if + the version changes. + + * ????? & 24104: configure.ac: attempt to prevent Tru64 Unix + from reporting missing symbols when linking dynamically (not + tested). + + * unposted: run Util/check_exports and add some mod_export tags. + + * unposted: fix .distfiles and version.mk for 4.3.4-dev-2. + +2007-11-19 Peter Stephenson <pws@csr.com> + + * users/12230: Src/Zle/zle_params.c: if killring was set + to empty array, kringsize was zero but kring was unset, + causing unhealthy effects in cut(). + + * unposted: from Eric Mangold: Completion/Unix/Command/_twisted: + update. + +2007-11-18 Clint Adams <clint@zsh.org> + + * Nikolai Weibull: 24075: Completion/Unix/Command/_cp: fix + completion of values for --preserve and --no-preserve. + +2007-11-12 Peter Stephenson <pws@csr.com> + + * 24093: Doc/Zsh/arith.yo: be more accurate about supported + floating point. + + * 24089: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: + compilation on non-curses system; also (unposted) avoid crash + decoding color when not supported. + + * Vin Shelton: 24088: Src/Modules/curses.c: 24083 error with + no multibyte. + +2007-11-11 Clint Adams <clint@zsh.org> + + * Nikolai Weibull: 24046: Completion/Unix/Command/_strip: improve + completion for Solaris and GNU strips. + +2007-11-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24083: Doc/Zsh/mod_curses, Src/Modules/curses.c: add + 'zcurses querychar'. + + * 24082: Functionz/Zle/delete-whole-word-match: failed if + cursor was on whitespace. + + * Mikael Magnusson, 24076; 24081: Doc/Zsh/zle.yo, + Functions/Zle/backward-kill-word-match, + Functions/Zle/delete-whole-word-match, + Functions/Zle/kill-word-match: need to cancel option + processing with -- after widget calls with arguments. + +2007-11-09 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: Added missing + single-letter options for --acls and --xattrs. + +2007-11-08 Peter Stephenson <pws@csr.com> + + * users/12198: Doc/Zsh/mod_complist.yo: make the definition of + the menu-select widget clearer. + + * unposted: Src/curses.c: typo in parameter setting in + 24073. + +2007-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24073 (plus tweak to allow "zcurses mouse" with no additional + arguments): Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: + add zcurses mouse handling. + +2007-11-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24070: Src/utils.c, Test/A03quoting.ztst, + Test/D07multibyte.ztst: Some fixes for \u handling in + getkeystring(). + +2007-11-06 Peter Stephenson <pws@csr.com> + + * 24069: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: add + $zcurses_keycodes. + + * 24068: Src/builtin.c: attempt to make `printf "%g\n" -0' + output "-0", although this depends on the vagaries of the + library's strtod() (works on Solaris, doesn't on Fedora 7). + +2007-11-04 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: Added new options + for the upcoming 3.0.0 release of rsync. + +2007-11-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * c.f. 24050: NEWS: note high resolution timestamps. + + * c.f. 24050: Src/Modules/.cvsignore: add curses_keys.h: + +2007-11-01 Oliver Kiddle <opk@zsh.org> + + * 24050: configure.ac, Src/cond.c, Src/glob.c, Src/system.h: + handle nanosecond timestamps on systems that support them + + * 24048: Src/hashtable.c: fix home directory expansion with + NIS on Solaris + + * Frank Benkstein: 24047: Completion/compinit: fix compdef + with more than three commands using the same service + +2007-10-31 Oliver Kiddle <opk@zsh.org> + + * 24045: Src/params.c: fix memory leak where old value of an + environment variable isn't freed + +2007-10-31 Barton E. Schaefer <schaefer@zsh.org> + + * 24043: Functions/Prompts/promptinit: emulate -L resets prompt + options that we don't want reset, so remove it + +2007-10-31 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/utils.c: Fixed the use of an uninitialized 'x' + in spckword() if shout is NULL. + +2007-10-31 Clint Adams <clint@zsh.org> + + * 24039: Completion/Unix/Command/_cut: cope with FreeBSD + cut in addition to GNU cut. + +2007-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24038: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: add + "zcurses bg". + +2007-10-30 Peter Stephenson <pws@csr.com> + + * users/12149: Doc/Zsh/expn.yo, Src/subst.c, + Test/D04parameter.ztst: "${(@s.:.)...}" retains empty + fields, although "${(s.:.)...}" remains backward compatible. + +2007-10-30 Peter Stephenson <pws@csr.com> + + * 24030, adapted: Src/Modules/curses.c: turning off a key timeout + on Solaris 8 seemed to need leaving and re-entering cbreak mode. + This can't be done per-window, so make this specific to Solaris + not using ncurses. + +2007-10-29 Clint Adams <clint@zsh.org> + + * Markus Waldeck: 24032 (tweaked): Completion/Unix/Command/_cut: + completion for cut. + +2007-10-29 Peter Stephenson <pws@csr.com> + + * 24029: Src/Modules/curses.c: crashed on attempt to use + color if it wasn't available. + + * unposted: configure.ac: remove some broken debugging. + +2007-10-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24028: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: + add "zcurses timeout". + + * 24027: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: + add "touch", subwindows, optimized "refresh". + + * 24026: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: + handle default/default colorpair and handle color + default separately if use_default_colors() is available. + + * unposted: Doc/Zsh/mod_curses.yo: Oops, misdescribed the + effect of getmaxyx(). + + * 24025: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c, + Src/Modules/curses_keys.awk: new zcurses subcommands + "clear" and "position"; "stdscr" window; numerous other tweaks. + +2007-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/curses.c: zcurses input oops. + + * 24024: configure.ac, Doc/Zsh/mod_curses.yo, + Src/Modules/curses.c, Src/Modules/curses_keys.awk: add "zcurses + input" for single character raw input without echoing. Test for + wget_wch for wide character input. Add handling for keypad() + mode by scanning header. + +2007-10-26 Clint Adams <clint@zsh.org> + + * 24022: Completion/Debian/Command/_dpkg-repack: completion for + dpkg-repack by Dr. Markus Waldeck, tweaked a bit. + +2007-10-25 Peter Stephenson <pws@csr.com> + + * c.f. users/12110: Doc/Zsh/params.yo: desperately try to + get the $SECONDS documentation correct. + + * c.f. users/12109: Doc/Zsh/params.yo: tweak to SECONDS + documentation for clarity. + + * users/12100: Completion/Unix/Type/_path_files, + Doc/Zsh/compsys.yo: with NO_CASE_GLOB, use a case-insensitive + matcher if none is in effect. + +2007-10-24 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24018: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: + add "zcurses scroll". + + * 24017: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: + fold color support into attr subcommand and improve error + handling; add various readonly parameters; replace strtok(); + tidy some zwarnnam(). + +2007-10-24 Peter Stephenson <pws@csr.com> + + * 24016: configure.ac, Src/Modules/curses.c: compilation with + curses and not ncurses. + +2007-10-23 Clint Adams <clint@zsh.org> + + * 24012: Src/Modules/curses.c: rename "endwin", "c", and "s" to + "endwin", "char", and "string" respectively. + +2007-10-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24011 (tweaked to include 24010 and to remove unneeded + #define's): Src/Modules/curses.c: fix attr/endwin argument + counts; verbose errors for wrong arguments; one cchar_t + should be a wchar_t; dispatch straight to subcommands; + attr passes back status from setting attributes. + +2007-10-23 Clint Adams <clint@zsh.org> + + * 24010: Src/Modules/curses.c: fix max arguments for 'zcurses + border' to 1. + +2007-10-23 Peter Stephenson <pws@csr.com> + + * users/12087: Src/glob.c: fix a case where we doing globbing + unnecessarily to find files case-insensitively in Cygwin. + +2007-10-22 Peter Stephenson <pws@csr.com> + + * 24007: Src/prompt.c, Src/utils.c: mildly suspicious things + found when looking at crash: prompt allocation length and use + of "shout". + + * 24006: Src/glob.c: (F) glob qualifier needs to unmetafy. + +2007-10-21 Clint Adams <clint@zsh.org> + + * 24005: Src/Modules/curses.c: enforce min/max arguments on zcurses + commands. + + * 24004: Doc/Zsh/mod_curses.yo: align documentation with UI changes + in 24002. + +2007-10-20 Clint Adams <clint@zsh.org> + + * 24002: Src/Modules/curses.c: change all the subcommands from + option letters to words. + +2007-10-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 24001: Src/Modules/curses.c: fix up zcurses -C. + +2007-10-20 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 23999: Completion/Unix/Command/_git: + improvements for git show, git rev-parse, et al. + +2007-10-19 Clint Adams <clint@zsh.org> + + * 23997: Src/Modules/curses.c: don't delete color pair hash + on module unload unless it's been previously initialized. + + * 23994: Completion/Unix/Command/_git: tweaks for 23993. + + * Mikael Magnusson: 23993: Completion/Unix/Command/_git: improved + completion for git show. + +2007-10-19 Geoff Wing <gcw@zsh.org> + + * 23924: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: Improve + synchronising of character attributes with other output routines + +2007-10-18 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 23991: Completion/Unix/Command/_git: fix + typo in __git_blobs(). + + * Mikael Magnusson: 23988: Completion/Unix/Command/_git: fix + git-svn commands completion. + + * 23989: Src/Modules/curses.c: add broken zcurses -C to set window + colors. + +2007-10-18 Peter Stephenson <pws@csr.com> + + * 23986: Doc/Zsh/contrib.yo: zmv example for turning spaces + into underscores. + + * 23978: configure.ac, Src/Modules/curses.c: use waddwstr() to + get zcurses -s to work with wide characters. + +2007-10-17 Clint Adams <clint@zsh.org> + + * 23982: Doc/Zsh/mod_curses.yo: documentation for zcurses -A. + + * 23981: Src/Modules/curses.c: add zcurses -A to set window + attributes. + +2007-10-17 Peter Stephenson <pws@csr.com> + + * 23970 (slightly modified): Doc/Zsh/mod_curses.yo, + Src/Modules/curses.c: fix up deletion of curses windows and add + zcurses -i/-e for initialisation and end to retain terminal + sanity; make "zcurses -r" do a global refresh. + + * Vin Shelton: 23968: Doc/Zsh/mod_curses.yo: overabundance of + enditem(). + +2007-10-15 Clint Adams <clint@zsh.org> + + * 23965: Completion/Unix/Command/_git: add missing bracket in + completion for git svnimport. + + * 23964: Src/Modules/curses.c: call endwin() in curses module cleanup. + + * 23962: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: store windows + in a linked list instead of a static array, and use strings as + window identifiers instead of integers. + + * 23958: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: change target + window to be the first argument of zcurses -a. + + * 23957: Doc/Zsh/mod_curses.yo, Src/Modules/curses.c: minor fixes. + +2007-10-14 Clint Adams <clint@zsh.org> + + * unposted: Doc/Zsh/.distfiles, Src/Modules/.distfiles: update for + zsh/curses module and documentation. + + * 23954: Doc/Makefile.in, Doc/Zsh/mod_curses.yo: documentation for + zsh/curses module. + +2007-10-14 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Functions/Prompts/prompt_bart_setup: make sure + localtraps is unset before assigning to functions[TRAPWINCH]. + + * users/12008: Functions/Prompts/promptinit: emulate zsh to + avoid setopts conflicts. Run precmd and preexec only if they + are defined as functions. + +2007-10-14 Clint Adams <clint@zsh.org> + + * 23952: Src/Modules/curses.c, Src/Modules/curses.mdd: work with + non-wide curses as well. + +2007-10-13 Clint Adams <clint@zsh.org> + + * 23947: Functions/Prompts/prompt_clint_setup: remove apm battery + status and add git branch detection. + + * unposted: Config/aczshoot.m4: quote name of aclocal function. + +2007-10-12 Clint Adams <clint@zsh.org> + + * 23945: Config/aczshoot.m4: autoconf include file for + budding out-of-tree module support. + +2007-10-12 Peter Stephenson <pws@csr.com> + + * 23943 (slightly modified): INSTALL, configure.ac: search + ncursesw and document this. + +2007-10-11 Clint Adams <clint@zsh.org> + + * 23927: Src/system.h: don't define struct timezone if + ZSH_OOT_MODULE is defined. + +2007-10-11 Peter Stephenson <pws@csr.com> + + * 23934: Completion/Base/Completer/_expand_alias: + if "foo" expands as regular alias to "foo blah", turn this + into "\foo blah" to avoid the alias kicking in again. + +2007-10-08 Clint Adams <clint@zsh.org> + + * 23923: Src/Modules/curses.c: fold all other curses windowing + builtins into zcurses. + + * 23919: Src/Modules/curses.c, Src/Modules/curses.mdd: + have new zcurses builtin replace 4 separate builtins. + +2007-10-08 Peter Stephenson <pws@csr.com> + + * arno: 23910: Completion/Unix/Command/_init_d: handle + spaces in cases in init scripts. + +2007-10-08 Clint Adams <clint@zsh.org> + + * 23911: configure.ac, Src/Modules/curses.c, + Src/Modules/curses.mdd: curses windowing module. + +2007-10-06 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 23907: Completion/Unix/Command/_git: add + --cached option to git-diff completion. + + * 23908: Completion/Unix/Command/_git: add missing backslash in + _git-svn. + + * Mikael Magnusson: 23906: Completion/Unix/Command/_git: add + missing backslash in _git-svn. + +2007-10-05 Peter Stephenson <p.w.stephenson@ntlworld.com + + * unposted, c.f. users/11935: Doc/Zsh/builtins.yo: quoting + of arguments to unalias. + +2007-10-04 Clint Adams <clint@zsh.org> + + * 23905: Completion/Unix/Command/_git: remove useless gitdir + assignment and scope array locally in new __git_changed_files + function. + + * Mikael Magnusson: 23903: Completion/Unix/Command/_git: + complete both modified and added files for git commit. + +2007-10-03 Peter Stephenson <pws@csr.com> + + * 23900: Src/Zle/compctl.c, Src/Zle/zle_tricky.c: Better handling + of NO_EQUALS option on old-style completion. + +2007-10-02 Peter Stephenson <pws@csr.com> + + * 23896: configure.ac, INSTALL, README: replace + --with-curses-terminfo by --with-term-lib, which takes an + argument; fail if termcap/curses library not found; improve + installation documentation. + + * 23883: Doc/Zsh/func.yo: try to improve precmd documentation. + + * Daniel Qarras: users/11915: Completion/Unix/Command/_module: + .version incorrectly quoted as regexp. + +2007-10-01 Clint Adams <clint@zsh.org> + + * Nikolai Weibull: 23889: Completion/Unix/Command/_git: fix -o + completion in git cvsimport. + + * Nikolai Weibull: 23888: Completion/Unix/Command/_git: complete + branch names and cached files after git log. + + * Nikolai Weibull: 23879: Completion/Unix/Command/_git: complete + only cached files after git log. + + * Jesse Weinstein: 23878: Completion/Unix/Command/_ranlib: + completion for ranlib. + +2007-09-30 Clint Adams <clint@zsh.org> + + * 23875: Completion/Unix/Command/_git: complete heads, tags, and + files after git log. + + * 23874: Completion/Unix/Command/_git: only declare + revision_arguments parameter once. + + * Nikolai Weibull: 23871: Completion/Unix/Command/_cdrdao: + fix __cdrdao-drivers typo. + + * 23872: Completion/Unix/Command/_git: complete git + config in subcommand position. + + * 23870: Completion/Unix/Command/_git: completion for git + mergetool. + + * 23868: Completion/Debian/Command/_svn-buildpackage: completion + for svn-buildpackage. + + * 23867: Completion/Debian/Command/_dpkg-buildpackage: completion + for dpkg-buildpackage. + + * 23863: Completion/Linux/Command/_lsusb: completion + for lsusb. + + * 23863: Completion/Unix/Command/_git: remove all + global variables. + + * 23862: Completion/Unix/Command/_git: declare + author_conversion_file_arg_spec local. + +2007-09-29 Clint Adams <clint@zsh.org> + + * 23860: Completion/Debian/Command/_dpatch-edit-patch: complete + patch names, omitting the .dpatch extension. + + * 23854: Completion/Debian/Command/_dpatch-edit-patch: complete + colon-separated path after -P, other minor tweaks. + + * Julien BLACHE: 23852: + Completion/Debian/Command/_dpatch-edit-patch: completion for + dpatch-edit-patch. + + * Pierre Habouzit: 23851: Completion/Unix/Command/_git: + use ad-hoc functions to list git branches and tags. + +2007-09-28 Clint Adams <clint@zsh.org> + + * 23850: Completion/Unix/Command/_md5sum: complete for GNU md5sum + instead. + + * Jesse Weinstein: 23848: Completion/Unix/Command/_md5sum: + completion for md5sum. + +2007-09-27 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 23838: Completion/Unix/Command/_git: + have git verify-tag complete tags instead of hash IDs. + + * 23846: Completion/Unix/Command/_git: merge in additional changes + from Nikolai Weibull's repo. + + * Jun Takimoto: 23814: Completion/Unix/Command/_ls, Command/_ls, + Completion/BSD/Command/_chflags, + Completion/Unix/Type/_file_systems, Completion/Unix/Command/_comm: + fixes for Darwin. + + * 23841: Completion/Unix/Command/_git: complete tag hashes for git + verify-tag. + +2007-09-26 Peter Stephenson <pws@csr.com> + + * users/11883: Src/init.c: "return" at top level caused + following precommand functions to return immediately. + +2007-09-26 Clint Adams <clint@zsh.org> + + * 23834: Completion/Unix/Type/_tex: complete tex files for xetex + and xelatex. + +2007-09-25 Clint Adams <clint@zsh.org> + + * Mikael Magnusson: 23832: Completion/Unix/Command/_git: + fix git merge -m completion. + + * 23831: Completion/Unix/Command/_git: fix handling of merge + strategy option. + + * 23829: Completion/Unix/Command/_git: merge in the remaining + git completion changes from Nikolai Weibull's repository. + + * 23828: Completion/Unix/Command/_git: merge in lots of + git completion changes from Nikolai Weibull's repository. + + * Mikael Magnusson: 23827: Completion/Unix/Command/_vorbis: + allow all arguments to options to either immediately follow + the option letter or be the next word. + +2007-09-23 Clint Adams <clint@zsh.org> + + * 23824: Completion/Unix/Command/_git: merge in git rerere + completion from Nikolai Weibull's repository. + + * 23823: Completion/Unix/Command/_git: merge in git rev-parse + completion from Nikolai Weibull's repository. + +2007-09-21 Clint Adams <clint@zsh.org> + + * 23822: Completion/Unix/Command/_git: merge in git rm + completion fixes from Nikolai Weibull's repository. + +2007-09-18 Peter Stephenson <pws@csr.com> + + * users/11852: Completion/Base/Completer/_expand_alias: + quotes were incorrectly removed from aliases. + +2007-09-13 Clint Adams <clint@zsh.org> + + * 23813: Src/Zle/zle_hist.c: set vipenultsrchstr to NULL + after freeing it to avoid vi-mode history search segfaults. + +2007-09-05 Peter Stephenson <pws@csr.com> + + * users/11818: Doc/Zsh/mod_parameter.yo, Src/jobs.c, Src/utils.c, + Src/Modules/parameter.c: Allow non-numeric lookup of job + status parameters. + + * unposted: Functions/Calendar/calendar: make sure there's a + space between a date of a recurring event and the rest of + the line. + +2007-09-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/11807: Src/exec.c, Src/jobs.c: display of jobs in + subshells and occasionally in the main shell was screwy. + +2007-08-31 Peter Stephenson <pws@csr.com> + + * 23812: Src/exec.c: ( command & ) caused core dump after 23460. + +2007-08-30 Clint Adams <clint@zsh.org> + + * Chris Lamb: 23810: Completion/Debian/Command/_lighttpd: + completion for lighty-{enable,disable}-mod . + +2007-08-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23809: Src/Zle/zle_tricky.c: attempt to expand finished + $'...' expressions before or after the cursor in the + word being completed. + +2007-08-30 Peter Stephenson <pws@csr.com> + + * 23808: Src/utils.c: debugging to try to isolate intermittent + problem in wcs_nicechar(). + + * 23807: Src/Zle/complist.c, Src/Zle/zle_misc.c: interactive mode + in completion was fairly seriously broken. + +2007-08-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Config/version.mk, + Completion/Unix/Command/.distfiles, + Completion/Unix/Type/.distfiles: updates for dev version + I haven't got around to making yet, but one day soon. + + * 23795: Src/lex.c: make ${(Q)...} handle $'...' correctly, + up to the problem of long flies in short ointments. + +2007-08-23 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Calendar/calendar_show: used subscript + 0 instead of 1, hence broken since 23562. + +2007-08-22 Peter Stephenson <pws@csr.com> + + * 23794: Src/Zle/compresult.c: completing on 'echo "foo$"<TAB>' + was broken. The code is as opaque as usual but preventing the + crash seems straightforward. + + * 23792: Doc/Zsh/expn.yo, Test/D07multibyte.ztst: test + and documentation for 23784. + + * 23791: Src/Zle/zle_refresh.c: use VARARR for arrays with + MB_CUR_MAX. + + * users/11791: Functions/Zle/incremental-complete-word: + missing "emulate -L zsh": was commented out, not sure why. + +2007-08-21 Clint Adams <clint@zsh.org> + + * 23788: Doc/Zsh/mod_files.yo, Src/Modules/files.c: add -h option + to chown symlinks rather than targets, and change default behavior + to do the opposite. + + * Matthieu Moy: 23785: Completion/Unix/Command/_git: add missing + backslash in _arguments list in git-send-email. + +2007-08-21 Peter Stephenson <pws@csr.com> + + * unposted: Functions/Calendar/calendar_scandate: ensure we + match the first time on the line so as to hook up with date. + Could usefully be done with the date too, but not as crucial. + + * users/11790: Functions/Zle/{up,down}-line-or-beginning-search: + emulate -L zsh to avoid nounset problem. + +2007-08-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23784: Src/utils.c: Use $'\...' quoting for unparseable and + unprintable characters when doing backslash quoting. + +2007-08-19 Clint Adams <clint@zsh.org> + + * R.Ramkumar: 23783: Completion/Zsh/Command/_command, + Completion/Zsh/Command/_hash, Completion/Zsh/Command/_which, + Completion/Zsh/Context/_equal, Completion/Zsh/Type/_command_names: + use _path_commands. + + * R.Ramkumar, tweaked: 23782: Completion/Unix/Type/_path_commands: + commands with descriptions. + + * 23781: Completion/Debian/Command/_dput: base host completion + on output of `dput -H`. + + * 23780: Completion/Debian/Command/_dput: add -e, -H, and + optional host argument. + +2007-08-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23778: Doc/Zsh/builtins.yo: document KSH_TYPESET behaviour + in the typeset manual entry. + +2007-08-18 Clint Adams <clint@zsh.org> + + * 23775: Completion/Unix/Command/_growisofs: + restore completion of devicename=filename pairs after -Z and -M. + +2007-08-16 Peter Stephenson <pws@csr.com> + + * 23764: Doc/Zsh/calsys.yo, Functions/Calendar/calendar, + Functions/Calendar/calendar_add: allow hidden continuation + lines in calendar entry and use UID to help with updates. + + * Roy Marples: 23762: configure.ac: need to suppress [...] quoting + for use of [...] in case. + + * 23761: Doc/Zsh/calsys.yo, Functions/Calendar/calendar: + calendar -b shows brief output. + +2007-08-14 Peter Stephenson <pws@csr.com> + + * 23759: Doc/Zsh/contrib.yo, Functions/MIME/pick-web-browser: + a few improvements to pick-web-browser. + + * 23757: Src/lex.c: suppression correction of command + words immediately followed by () or something that looks + like it's going to be one. + +2007-08-12 Andrey Borzenkov <bor@zsh.org> + + * 23751: Completion/Linux/Command/_modutils: support for + completing module files directly + +2007-08-09 Clint Adams <clint@zsh.org> + + * Nikolai Weibull: 23749: Completion/Unix/Command/_cdrdao: + completion for cdrdao. + + * Nikolai Weibull: 23748: Completion/Unix/Command/_growisofs: + better completion for growisofs and mkisofs. + +2007-08-07 Clint Adams <clint@zsh.org> + + * 23746: Completion/Unix/Command/_growisofs: partial completion + for growisofs. + + * 23745: Completion/Unix/Command/_genisoimage: partial completion + for genisoimage. + +2007-08-04 Clint Adams <clint@zsh.org> + + * Matthieu Moy: 23738: Completion/Unix/Command/_git: additional + git diff args. + + * 23739: Completion/Unix/Command/_git: merge in git diff + completion fixes from Nikolai Weibull's repository. + +2007-08-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23736: Src/hist.c: status for file save wasnʼt + initialised. + + * unposted: **/.distfiles: update files for distribution. + +2007-07-31 Peter Stephenson <pws@csr.com> + + * 23733: Src/module.c, Test/V01zmodload.ztst: zmodload -LaF + didn't include unloaded modules, making it a bit pointless. + + * 23732: Src/exec.c, Test/B02tyepset.ztst: unknown builtin + error message was broken; test warning output was broken; + exec of zsh in new env test was broken. + + * 23730: Src/exec.c, Src/params.c, Src/system.h, B02typeset.ztst: + improve preprocessor and regression tests for 23725. + +2007-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23726: Test/B02typeset.ztst: test for adding and removing + of environment variables. + + * 23725: configure.ac, Src/exec.c, Src/params.c, Src/system.h: + use setenv() and unsetenv() for memory management of the + environment where possible. + +2007-07-29 Clint Adams <clint@zsh.org> + + * 23720: Completion/Unix/Command/_dvi: handle arguments to dvips -P + as part of the same word. + + * 23718: Completion/Unix/Command/_dvi: don't use _arguments -s. + +2007-07-28 Clint Adams <clint@zsh.org> + + * 23714: Completion/Unix/Command/_dvi: handle dvips -G, -R, -u, -U, + -v, -V, -y, and -z. + +2007-07-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23713: Doc/Zsh/expn.yo, Misc/globtests, Src/pattern.c, + Test/D02glob.ztst: add (#cN,M) globbing flag to work like + {N,M} in regular expressions. + +2007-07-27 Clint Adams <clint@zsh.org> + + * 23712: Completion/Unix/Command/_dvi: handle dvips -j. + +2007-07-26 Peter Stephenson <pws@csr.com> + + * 23703: Src/init.c: getenv() should be zgetenv(). + + * 23702: Config/installfns.sh: use chmod to change permissions + since installing as a programme may try to strip the script. + +2007-07-25 Clint Adams <clint@zsh.org> + + * 23697: configure.ac: use -rdynamic where it seems to be + available, not based on the value of $host. + +2007-07-25 Peter Stephenson <pws@csr.com> + + * 23696: Src/params.c, Test/D04parameter.ztst: assignment + to negative subscripts in scalars before the start was broken. + Now adds at start. + +2007-07-24 Peter Stephenson <pws@csr.com> + + * 23694: Src/cond.c: change of infix condition features to C: + broke =~. + +2007-07-23 Peter Stephenson <pws@csr.com> + + * 23693: Src/Zle/compmatch.c: _match tried to match the quoted + form of file names and any completion that did it's own quoting. + +2007-07-22 Clint Adams <clint@zsh.org> + + * 23691: Completion/BSD/Command/_portsnap: declare local parameter + scope for _arguments state. + +2007-07-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Renato Botelho <rbgarga@gmail.com>: 23685: + Completion/BSD/Command/{_portlint,_csup,_portsnap}: + new FreeBSD completions. + +2007-07-19 Clint Adams <clint@zsh.org> + + * Magnus Therning + tweaks: 23686: Completion/Unix/Command/_tin: + respect TIN_HOMEDIR environment variable. + +2007-07-17 Peter Stephenson <pws@csr.com> + + * 23682: Src/module.c: missed cases where m->name should + be m->node.nam from 23665. + +2007-07-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23680: Test/C04funcdef.ztst: tests for 23671. + +2007-07-13 Peter Stephenson <pws@csr.com> + + * 23671: Doc/Zsh/exec.yo, Src/exec.c: Function + command_not_found_handler can be defined to handle command + not found. + +2007-07-12 Clint Adams <clint@zsh.org> + + * 23674: Completion/Unix/Command/_git: merge in git clone + completion fixes from Nikolai Weibull's repository. + +2007-07-06 Clint Adams <clint@zsh.org> + + * 23666: Completion/Debian/Type/_deb_packages: + redirect stderr from apt-cache --generate pkgnames to + /dev/null. + +2007-07-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23665: Doc/Zsh/builtins.yo, + Etc/zsh-development-guide,Src/builtin.c, Src/cond.c, Src/exec.c, + Src/hashtable.c, Src/init.c, Src/jobs.c, Src/mkbltnmlst.sh, + Src/module.c, Src/params.c, Src/string.c, Src/zsh.h, + Src/Builtins/rlimits.c, Src/Builtins/sched.c, Src/Modules/cap.c, + Src/Modules/clone.c, Src/Modules/datetime.c, + Src/Modules/example.c, Src/Modules/files.c, + Src/Modules/langinfo.c, Src/Modules/mapfile.c, + Src/Modules/mathfunc.c, Src/Modules/parameter.c, + Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/socket.c, + Src/Modules/stat.c, Src/Modules/system.c, Src/Modules/tcp.c, + Src/Modules/termcap.c, Src/Modules/terminfo.c, + Src/Modules/zftp.c, Src/Modules/zprof.c, Src/Modules/zpty.c, + Src/Modules/zselect.c, Src/Modules/zutil.c, Src/Zle/compctl.c, + Src/Zle/complete.c, Src/Zle/complist.c, Src/Zle/computil.c, + Src/Zle/deltochar.c, Src/Zle/zle_main.c, Src/Zle/zleparameter.c, + Test/V01zmodload.ztst: Finish autoloading of modules; + make autoloads persistent. Put modules in hash table. + Rationalise error handling and error messages. Improve + module listing. Abort at top level of list execution when + errflag is set instead of relying on called functions returning + early. + +2007-07-06 Clint Adams <clint@zsh.org> + + * 23664: Completion/Debian/Command/_bts: handle bts cache + and cleancache subcommands. + +2007-07-06 Peter Stephenson <pws@csr.com> + + * 23660: Doc/Zsh/expn.yo, Src/sort.c, Test/D04parameter.ztst: + numerical sorting didn't work in reverse, wasn't tested and wasn't + correctly documented. + + * unposted: Functions/Calendar/calendar_lockfiles: configuration + appears to reduce collisions between lock attempts in multiple + windows. + +2007-07-05 Peter Stephenson <pws@csr.com> + + * 23658: Completion/Base/Utility/_combination: bad use + of index variable exposed by 23553. + +2007-07-05 Clint Adams <clint@zsh.org> + + * 23655: Completion/Unix/Command/_git: merge in git instaweb + completion from Nikolai Weibull's repository. + + * 23654: Completion/Debian/Command/_reprepro: add completion for + reprepro. + +2007-07-03 Clint Adams <clint@zsh.org> + + * 23653: Completion/Debian/Command/_apt: add completion for apt-get + autoremove. + +2007-07-03 Peter Stephenson <pws@csr.com> + + * unposted: Completion/README, Doc/Zsh/mod_cap.yo, + Doc/Zsh/mod_complete.yo, Doc/Zsh/mod_example.yo, + Doc/Zsh/mod_files.yo, Doc/Zsh/mod_mapfile.yo, + Doc/Zsh/mod_zleparameter.yo, Doc/intro.ms, Doc/zshzftpsys.yo, + Etc/Makefile.in, Functions/Prompts/prompt_adam1_setup, + Functions/Prompts/prompt_redhat_setup, + Functions/Prompts/prompt_suse_setup, Functions/Zftp/zfrglob, + Functions/Zftp/zftp_chpwd, Misc/.distfiles, Misc/bash2zshprompt, + Misc/c2z, Misc/compctl-examples, Misc/globtests.ksh, + Misc/job-control-tests, Misc/lete2ctl, Src/Zle/.distfiles, + Util/preconfig, aclocal.m4: jiggery pokery to force files onto + main branch (1.X) from vendor branch (1.1.1.X). + +2007-07-03 Clint Adams <clint@zsh.org> + + * 23645: Functions/Zftp/zfautocheck: use == instead of =. + + * 23644: Completion/Unix/Command/_git: merge in git remote + completion from Nikolai Weibull's repository. + +2007-07-02 Clint Adams <clint@zsh.org> + + * 23640: Completion/Unix/Command/_git: merge in git quiltimport + completion from Nikolai Weibull's repository. + + * 23639: Completion/Unix/Command/_git: merge in git merge-tree + completion from Nikolai Weibull's repository. + + * 23629: Etc/FTP-README: change references to "beta" to "dev" or + "development". + +2007-07-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Tomasz Pala: users/11599: Completion/Unix/Command/_ip: + improvements for VLAN interfaces, deleting addresses, + abbreviations. + +2007-07-01 Clint Adams <clint@zsh.org> + + * 23628: Completion/Unix/Command/_git: merge in from Nikolai + Weibull's repository completion for git mktree. + + * 23627: Completion/Unix/Command/_git: merge in from Nikolai + Weibull's repository fixes for git hash-object, index-pack, + merge-index. + +2007-06-28 Oliver Kiddle <opk@zsh.org> + + * 23611: Completion/Unix/Command/_ldd, Completion/Unix/Type/_ld_debug: + new completions for ldd and LD_DEBUG on Solaris and Linux + +2007-06-28 Clint Adams <clint@zsh.org> + + * 23610: Completion/Unix/Command/_git: merge in from Nikolai + Weibull's repository git describe as well as fixes for + diff-index, diff-files, and diff-stages. + + * 23609: Completion/Unix/Command/_git: merge in git clean + completion from Nikolai Weibull's repository. + +2007-06-27 Peter Stephenson <pws@csr.com> + + * 23607: Src/linklist.c, Src/loop.c, Src/module.c, Src/parse.c, + Src/subst.c, Src/Modules/parameter.c, Src/Zle/compcore.c, + Src/Zle/computil.c: Rationalise some linked list functions. + +2007-06-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23606: Src/mkbltnmlst.sh, Src/module.c, Test/V01zmodload.ztst: + make all module feature autoloads pass through one function. + +2007-06-24 Clint Adams <clint@zsh.org> + + * 23595: Completion/Unix/Command/_git: merge in git archive + completion from Nikolai Weibull's repository. + + * 23594: Completion/Unix/Command/_git: merge in git grep + completion from Nikolai Weibull's repository. + + * 23593: Completion/Unix/Command/_git: merge in git annotate + completion from Nikolai Weibull's repository. + +2007-06-23 Clint Adams <clint@zsh.org> + + * 23587: Completion/X/Command/_xrandr: completion for + xrandr. + + * 23586: Completion/Unix/Command/_dmidecode: completion for + dmidecode. + +2007-06-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23585: Src/hist.c: handle errno when handling errors. + +2007-06-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23581: Src/hist.c: handle errors in writing history file + better. + +2007-06-22 Clint Adams <clint@zsh.org> + + * 23580: Completion/Unix/Command/_guilt: rudimentary completion + for guilt. + +2007-06-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23578: Doc/Zsh/builtins.yo, Src/mkbltnmlst.sh, Src/module.c, + Src/Builtins/rlimits.mdd, Src/Builtins/sched.mdd, + Src/Modules/cap.mdd, Src/Modules/clone.mdd, + Src/Modules/datetime.mdd, Src/Modules/example.mdd, + Src/Modules/files.mdd, Src/Modules/langinfo.mdd, + Src/Modules/mapfile.mdd, Src/Modules/mathfunc.mdd, + Src/Modules/parameter.mdd, Src/Modules/pcre.mdd, + Src/Modules/regex.mdd, Src/Modules/socket.mdd, + Src/Modules/stat.mdd, Src/Modules/system.mdd, Src/Modules/tcp.mdd, + Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd, + Src/Modules/zftp.mdd, Src/Modules/zprof.mdd, Src/Modules/zpty.mdd, + Src/Modules/zselect.mdd, Src/Modules/zutil.mdd, + Src/Zle/compctl.mdd, Src/Zle/complete.mdd, Src/Zle/computil.mdd, + Src/Zle/zle.mdd, Src/Zle/zleparameter.mdd: make standard + features autoloadable and use feature notation for predefined + autoloads. + +2007-06-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23575: Src/Modules/newuser.c: yet another problem on AIX: + need features_ and enables_ functions. + + * unposted, c.f. 23572: Src/modentry.c: bad prototype. + + * 23571: Src/module.c: AIX definitions weren't right. + +2007-06-19 Peter Stephenson <pws@csr.com> + + * 23567: Completion/Base/Utility/_complete_help_generic, + Completion/Base/Widget/_complete_debug, + Completion/Base/Widget/_complete_help, + Completion/Base/Widget/_generic, Doc/Zsh/compsys.yo: + make help and debugging available for generic widgets + via _complete_help_generic. + +2007-06-19 Clint Adams <clint@zsh.org> + + * 23569: Completion/Debian/Command/_bts: make 'bts show' + behave the same as 'bts bugs'. + + * 23568: Completion/Linux/Command/_iwconfig: complete iwconfig + modu. + +2007-06-18 Peter Stephenson <pws@csr.com> + + * unposted (should be in 23562): Test/C01arith.ztst: stupidity + strikes again. + + * 23562: README, Doc/Zsh/options.yo, Doc/Zsh/params.yo, + Src/exec.c, Src/glob.c, Src/options.c, Src/params.c, Src/subst.c, + Src/zsh.h, Src/Modules/mapfile.c, Src/Modules/parameter.c, + Src/Zle/complete.c, Test/C01arith.ztst, Test/D05array.ztst, + Test/D06subscript.ztst, Test/D07multibyte.ztst, + Test/E01options.ztst: add KSH_ZERO_SUBSCRIPT option to handle + the currently default behaviour that $array[0] or $string[0] + is mapped to $array[1] or $string[1] if KSH_ARRAYS is not + in effect. Now off by default; returns empty element or + causes error if used for setting. Valid ranges that happen + to include zero are not affected. + +2007-06-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Test/D07multibyte.ztst: stop test files from + cluttering up directory. + + * users/11575: Doc/Zsh/compsys.yo: document use of + additional completers and insert style with _all_matches + +2007-06-15 Peter Stephenson <pws@csr.com> + + * 23553: Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo, Src/exec.c, + Src/math.c: should have been committed but weren't. + +2007-06-14 Peter Stephenson <pws@csr.com> + + * users/11568: Functions/Prompts/.distfiles, + Functions/Prompts/prompt_{adam2,bigfade,elite2,elite,fade,fire}_setup, + Functions/Prompts/prompt_special_chars: allow UTF-8 versions + of certain visually striking but uninformative characters. + +2007-06-14 Clint Adams <clint@zsh.org> + + * 23561: Completion/Unix/Command/_git: merge in relevant changes + from Nikolai Weibull's repo to more appropriately complete after + 'git add'. + +2007-06-14 Peter Stephenson <pws@csr.com> + + * 23560: Doc/Zsh/mod_sched.yo, Src/Builtins/sched.c: improved + version of 23554 making $zsh_scheduled_events more useful + for programming. + +2007-06-12 Clint Adams <clint@zsh.org> + + * 23556: Completion/Unix/Command/_rrdtool: completion + for rrdtool. + + * 23557: Completion/Unix/Command/_git: complete + filenames after 'git reset <revision>'. + +2007-06-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23554: Doc/Zsh/mod_sched.yo, Doc/Zsh/params.yo, + Src/Builtins/sched.c, Src/Builtins/sched.mdd: + add $zsh_scheduled_events. + +2007-06-12 Clint Adams <clint@zsh.org> + + * unposted: Completion/Unix/Command/_pkg-config, + Completion/Unix/Command/_unexpand: remove RCS Id + comments. + +2007-06-12 Peter Stephenson <pws@csr.com> + + * 23553: Src/params.c: use of unsubscripted array inside + math evaluation now does something reasonable instead of + returning 0. + + * 23552: Src/Builtins/sched.c: remove unnecessary debugging + warning. + +2007-06-11 Peter Stephenson <pws@csr.com> + + * 23543: Completion/Unix/Command/_perforce: work around + problem adding "..." with hidden prefix. + +2007-06-08 Peter Stephenson <pws@csr.com> + + * 23537: Doc/Zsh/mod_zutil.yo, Src/Module/zutil.c, + Test/V05styles.ztst: use hash table for styles and add + tests. Apart from ordering of styles by name (patterns + are still ordered by weight) there should be no effect on + shell syntax and output. + +2007-06-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23535: Src/Module/parameter.mdd: autoload saliases and + dis_saliases. + +2007-06-06 Peter Stephenson <pws@csr.com> + + * Phil Pennock: 23529: Completion/compdump: quote completion dump + to prevent global alias expansion. + +2007-06-05 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_units: message and tag were + reversed; always attempt completion with removed prefix + (a bit problematic if prefix is e.g. "m"). + + * From Mikael Magnusson and Phil Pennock: 23521, 23522: + Completion/Unix/Command/_units: extra locations for + units data. + +2007-06-04 Peter Stephenson <pws@csr.com> + + * 23519: Completion/Unix/Command/_units: completion for "units". + + * 23518: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler: + add find-file-in-path and file-path styles to MIME system. + +2007-06-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23511: Src/exec.c, Src/lex.c: error if here document + too large. + +2007-06-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Functions/Calendar/age, Functions/Example/zls: + some more uses of zsh/stat that should only enable b:zstat. + +2007-05-30 Peter Stephenson <pws@csr.com> + + * 23495: Completion/Base/Completer/_ignored, + Completion/Base/Completer/_prefix: 23440 broken obscure + use of subscripting. + +2007-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/module.c: failure adding autoload builtin + didn't clean up properly. + +2007-05-29 Peter Stephenson <pws@csr.com> + + * 23488: README, Etc/zsh-development-guide, Src/builtin.c, + Src/init.c, Src/module.c, Src/module/zftp.c, Src/Zle/complete.c, + Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c: + tidy up module interface and documentation. + + * 23486: Test/A01grammar.ztst, Test/C03traps.ztst, + Test/D07multibyte.ztst, Test/E01options.ztst, Test/ztst.zsh: + Use {fd} syntax to open fd's for tests that won't clash + with standard fd's. + + * 23485: Completion/Zsh/Command/_zmodload, Src/cond.c, + Src/exec.c, Src/module.c, Src/params.c: completion for + zmodload -F; autoloading now requests a specific feature + from a module. + + * 23482: Src/Modules/tcp.c, Src/Zle/complete.c: more typos. + + * unposted: Doc/Zsh/mod_stat.yo: typo. + + * Phil Pennock: 23480: Src/parse.c: typo in =~ handling. + +2007-05-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Not posted but see 23479:Completion/Unix/Command/_chmod, + Completion/Unix/Command/_chown, Completion/Unix/Command/_cvs, + Completion/Unix/Type/_list_files, Completion/Zsh/Command/_stat, + Completion/Zsh/Command/_zstyle, + Completion/Zsh/Type/_file_descriptors,Doc/Zsh/builtins.yo, + Doc/Zsh/compsys.yo, Doc/Zsh/mod_stat.yo, + Etc/zsh-development-guide, Src/builtin.c, Src/cond.c, Src/exec.c + Src/init.c, Src/mkbltnmlst.sh, Src/mkmakemod.sh, Src/modentry.c, + Src/module.c, Src/params.c, Src/zsh.h, Src/Builtins/rlimits.c, + Src/Builtins/sched.c, Src/Modules/cap.c, Src/Modules/clone.c, + Src/Modules/datetime.c, Src/Modules/example.c, + Src/Modules/files.c, Src/Modules/langinfo.c, + Src/Modules/langinfo.mdd, Src/Modules/mapfile.c, + Src/Modules/mathfunc.c, Src/Modules/parameter.c, + Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/socket.c, + Src/Modules/stat.c, Src/Modules/system.c, Src/Modules/tcp.c, + Src/Modules/termcap.c, Src/Modules/terminfo.c, Src/Modules/zftp.c, + Src/Modules/zprof.c, Src/Modules/zpty.c, Src/Modules/zselect.c, + Src/Modules/zutil.c, Src/Zle/compctl.c, Src/Zle/complete.c, + Src/Zle/complist.c, Src/Zle/computil.c, Src/Zle/deltochar.c, + Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/Zle/zle_tricky.c, + Src/Zle/zleparameter.c, Test/B02typeset.ztst, + Test/V01zmodload.ztst, Test/V04features.ztst: add "zmodload -F" + and internal features support for modules. + + * 23478: Src/Zle/compresult.c: don't run reverse-menu-complete + if no completion yet. + +2007-05-27 Clint Adams <clint@zsh.org> + + * 23475: Completion/Unix/Command/_cdrecord: call $service + instead of 'cdrecord', in case we are using wodim. + +2007-05-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23471: configure.ac: error names not found properly + on Linux owing to restrictive test when searching files. + +2007-05-23 Peter Stephenson <pws@csr.com> + + * John Buddery: 23461 plus comment and test: fix race + setting up multios by blocking SIGCHLD. + + * 23460: Src/exec.c, Src/jobs.c, Test/E01options.ztst: + fix longstanding problem with multios attached to a + subshell process. + +2007-05-22 Peter Stephenson <pws@csr.com> + + * Phil Pennock: 23450: Src/Zle/zleparameter.yo: undefined + widget caused crash in in $widgets special parameter. + +2007-05-21 Peter Stephenson <pws@csr.com> + + * 23447: INSTALL, README, Doc/Zsh/contrib.yo, + Doc/Zsh/mod_newuser.yo, Doc/Zsh/roadmap.yo: improve documentation + for the zsh/newuser module and zsh-newuser-install function. + + * 23446: Src/Modules/parameter.c: a typo meant scanning + alias parameters returned a value the same as the key. + + * Unposted, see discussion around 23431: MACHINES: mention + multibyte oddity on MacOS. + + * 23440: README, Doc/Zsh/params.yo, Src/params.c, + Test/D06subscript.ztst: Reverse parameter subscripting + with (R) now returns the empty string on failure. Other + operators are not changed. + +2007-05-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23444: Src/builtin.c: print -c/-C didn't take into + account multibyte characters. + +2007-05-17 Clint Adams <clint@zsh.org> + + * Nikolai Weibull: 23443: Completion/Unix/Command/_vim: + mark --nofork and -f as redundant. + +2007-05-16 Clint Adams <clint@zsh.org> + + * Ag. D. Hatzimanikas: 23442: Completion/Unix/Command/_vim: + update for vim 7.1. + +2007-05-14 Clint Adams <clint@zsh.org> + + * Alexander Myodov: 23439: Completion/Unix/Command/_screen: + complete sessions for -dr, -dR, -Dr, -DR, -dx, and -Dx. + +2007-05-14 Peter Stephenson <pws@csr.com> + + * users/11484: Functions/Misc/zmv: allow renaming $f to $g + to work if the files are really the same. + + * 23438 (slightly improved to use _call_program): + Completion/Unix/Type/_printers: improve finding of network + printers. + + * Noted by Wayne: 23437; Src/params.c: typo in 23436. + +2007-05-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23435: Nikolai Weibull: Src/sort.c: bug testing for end + of sort string when ignoring backslashes. + + * Phil Pennock: unposted: Doc/Zsh/cond.yo: should document + POSIX regular expressions as extended, not basic. + + * 23436: Src/params.c: handle empty strings for locale + variables more consistently. + + * 23434: Completion/Unix/Command/_configure: use also + for config.status. + + * 23433: Src/Zle/zle_main.c: cast for ZMAXTIMEOUT was wrong + where sizeof(long) > sizeof(int). + +2007-05-10 Andrey Borzenkov <bor@zsh.org> + + * 23409 with extra comment: Src/init.c, Src/utils.c: after ZLE + displayed "use 'exit' to exit" message, PROMPT_SP will overwrite + prompt without ZLE knowing about it. Disable PROMPT_SP output if + message was printed. + +2007-05-10 Peter Stephenson <pws@csr.com> + + * Peter A. Castro: 23408: zftp account handling was broken. + +2007-05-08 Peter Stephenson <pws@csr.com> + + * Phil Pennock + tweaks: 23398 + more tweaks: README, + Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo, Src/exec.c, Src/zsh.h, + Test/A01grammar.ztst: add compatibility options for exec. + +2007-05-02 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/mod_pcre.yo, Src/pcre.c: missing + documentation file (tweaked) plus pointer fixes. + +2007-05-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * Phil Pennock + tweaks: 23375: configure.ac, Doc/Makefile.in, + Doc/Zsh/cond.yo, Doc/Zsh/mod_pcre.yo, Doc/Zsh/options.yo, + Src/cond.c, Src/options.c, Src/parse.c, Src/text.c, Src/zsh.h, + Src/Modules/pcre.c, Src/Modules/regex.c, Src/Modules/regex.mdd: + Add zsh/regex option, =~ syntax and related options + BASH_REMATCH, NO_CASE_MATCH, RE_MATCH_PCRE. + +2007-05-01 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/contrib.yo: typo in widget name. + + * Guillaume Chazarain: 23364: Src/signals.c, Src/signals.h: fix + race in POSIX signal blocking - use local variables as other forms + already do. + + * 23363: README (not posted), Doc/Zsh/compsys.yo, + Src/Zle/computil.c: fake-files style now takes pattern. + +2007-04-30 Peter Stephenson <pws@csr.com> + + * 23339: Src/mem.c: make malloc(0) allocate a single byte + instead of returning invalid (and unfreeable) memory. + +2007-04-27 Peter Stephenson <pws@csr.com> + + * 23337: Src/Zle/compctl.c: argument to stat() wasn't + unmetafied so some filenames with non-ASCII characters + weren't recognised when the type of the file needed testing + in old-fashioned completion. + +2007-04-26 Peter Stephenson <pws@csr.com> + + * Phil Pennock: 23326: Src/utils.c: with no __STDC_ISO_10646__ + or HAVE_ICONV but with HAVE_NL_LANGINFO and CODESET the + code wouldn't compile. + +2007-04-23 Peter Stephenson <pws@csr.com> + + * unposted: Src/parse.c: make sure we get "invalid zwc file" + for a short file (not "wrong version"). + + * 23313: Src/parse.c: the shell didn't actually check the version + of ZWC files anyway. + + * 23312: Src/parse.c, Src/zsh.mdd: ensure parse.c is updated + when version.h changes in order to pick up changes to ZWC + files; memset() header of wordcode file to normalise unused words. + + * 23308: Src/text.c: stop tindent becoming negative, which + causes infinite use of memory; add debug test to see where + it would become negative. + + * Christoph Bauer: 23310ish: define _INCLUDE__STDC_A1_SOURCE + for HP/UX. + +2007-04-21 Clint Adams <clint@zsh.org> + + * 23303: Completion/Unix/Command/_date: use _guard. + +2007-04-19 Clint Adams <clint@zsh.org> + + * 23301: Paul Ackersviller: Functions/Misc/add-zsh-hook: + fix semicolon mistyped as a colon. + + * 23302: Completion/Unix/Command/_subversion: complete properties + after svn propget and propedit. + +2007-04-19 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: set release string to 4.3.4-dev-0. + + * users/11419: Doc/Zsh/zle.yo, + Functions/Zle/backward-kill-word-match, + Functions/Zle/delete-whole-word-match, + Functions/Zle/kill-word-match, Src/Zle/zle_misc.c, + Src/Zle/zle_utils.c: allow zle copy-region-as-kill with an + argument to add text to the kill ring from a widget function. + + * unposted: Functions/Misc/add-zsh-hook: should have been + added ages ago but wasn't. + + * README, Config/version.mk, Etc/FAQ.yo: release 4.3.4. + +2007-04-17 Wayne Davison <wayned@users.sourceforge.net> + + * users/11424: Functions/Zle/smart-insert-last-word: fixed + parse error caused by a comment in a math expression. + +2007-04-17 Peter Stephenson <pws@csr.com> + + * users/11421: Src/Zle/complist.c: use of %{...%} in + completion list formatting was broken. + + * Christoph Bauer: users/11416: Src/utils.c: bad use + of VARARR confused some compilers. + +2007-04-17 Geoff Wing <gcw@zsh.org> + + * unposted: LICENCE: update year to 2007 + +2007-04-16 Peter Stephenson <pws@csr.com> + + * unposted: ChangeLog, README, Completion/Base/Utility/.distfiles, + Config/version.mk, Functions/Calendar/.distfiles, + Functions/Misc/.distfiles, Src/.distfiles, Src/sort.c, + Src/utils.c: prepare for release of 4.3.3. + +2007-04-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23278: Src/sort.c, Test/D07multibyte.ztst: Fix + NUMERICGLOBSORT, broken by 23118. + + * users/11398: Src/zle_move.c: vi-goto-mark was broken + by multibyte characters. + +2007-04-14 Clint Adams <schizo@debian.org> + + * 23275: Completion/Unix/Command/_date: change order of + arguments to _arguments so that options will actually be + completed. + +2007-04-13 Peter Stephenson <pws@csr.com> + + * 23273: Src/params.c, Test/D04parameter.ztst: bad patterns + in ${var[(r)...]} returned the first element of an array instead + of the empty string. + + * 23271: Pete Hollobon: Completion/Unix/Command/_sqsh, + Completion/Unix/Command/.distfiles: new completion. + +2007-04-12 Peter Stephenson <pws@csr.com> + + * 23270: Src/system.h: #define _STRPTIME_DONTZERO to get Solaris + strptime() to work properly. + +2007-04-05 Clint Adams <clint@zsh.org> + + * 23264: Src/Modules/pcre.c: don't add the -pcre-match + operator unless the pcre functions are available. + +2007-04-02 Peter Stephenson <pws@csr.com> + + * 23258: Src/Zle/complist.c: debugging added in 23248 + was overaggressive. + + * 23257: Src/subst.c: buffer too short for multibyte + ${(#)...} evaluation. + +2007-03-31 Clint Adams <clint@zsh.org> + + * 23255: Completion/Unix/Command/_module: fix 23253 better. + + * 23253: Erik Johansson: Completion/Unix/Command/_module: + remove double quotes causing zcompile to choke. + +2007-03-30 Clint Adams <clint@zsh.org> + + * 23252: Completion/Debian/Command/_aptitude: complete for + "aptitude unhold". + +2007-03-30 Peter Stephenson <pws@csr.com> + + * unposted: Src/Zle/complist.c: better fix for 23248. + +2007-03-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23248: INSTALL, Src/utils.c, Src/zsh.h, Src/Zle/complist.c: + bug with completion lists on last line of group just shorter than + the line length; if compiled with debugging, ZSH_DEBUG_LOG is used + for dputs() output. + +2007-03-29 Clint Adams <clint@zsh.org> + + * unposted: Completion/Unix/Command/.distfiles: update + .distfiles. + +2007-03-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23246: Src/Zle/zle_tricky.c: fix completion of redirections that + occur before the command word. + +2007-03-28 Clint Adams <clint@zsh.org> + + * 23241: Daniel Qarras: Completion/Unix/Command/_module: + fix for _module. + +2007-03-27 Peter Stephenson <pws@csr.com> + + * unposted: Src/jobs.c: fix uninitialized variable in 23238. + + * 23238: Src/jobs.c: job didn't get deleted from table + if it wasn't printed, leading to obscure problems with current + jobs. + +2007-03-26 Peter Stephenson <pws@csr.com> + + * unposted (follow-on from 23228): Doc/Zsh/calsys.yo, + Functions/Calendar/calendar{,_edit,lockfiles,scandate,showdate}: + New calendar_edit (looks up file to edit and locks it); + calendar -a option; calendar_showdate -f fmt option; + make calendar_lockfiles use zsh/select to get higher resolution + timer to jitter delay; apply the summer time fix to + "<month>, <nth> <frob>day" as well; allow "2nd" as an + ordinal (also 1nd and 3nd, 4nd, ... since we aren't interested + in checking good English). + +2007-03-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * usres/11333: Completion/Unix/Command/_ssh: users-hosts + didn't limit the hosts properly when the user was matched + for ssh. + +2007-03-24 Clint Adams <clint@zsh.org> + + * 23236: Daniel Qarras: Completion/Unix/Command/_module: + enhancements for _module. + +2007-03-23 Peter Stephenson <pws@csr.com> + + * unposted, see followups to 23232: Doc/Zsh/builtins.yo: + superduper nitpicked version. + + * 23232: Src/module.c, Doc/Zsh/builtins.yo: improve + warning interface; record that zmodload doesn't flag an error + on failed loading. + +2007-03-22 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23228: Functions/Calendar/calendar_{scan,show}date: fix + summer time adjustments for relative times, plus some minor + tweaks. + +2007-03-22 Peter Stephenson <pws@csr.com> + + * 23226: Completion/Unix/Command/_nice: "nice -n<->" wasn't + handled. + +2007-03-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23224: Src/Zle/zle_refresh.c: fix output of prompt in + single line ZLE. + +2007-03-19 Peter Stephenson <pws@csr.com> + + * 23221: Martin Koeppe: don't used XTABS if not available. + +2007-03-15 Peter Stephenson <pws@csr.com> + + * 23219: Src/options.c: Ismail Dönmez reported that lower + casing of I to dotless i in tr_TR.UTF-8 broke option handling. + +2007-03-14 Clint Adams <clint@zsh.org> + + * 23215: Completion/Unix/Command/_module: completion for + "module". + +2007-03-13 Clint Adams <clint@zsh.org> + + * 23214: Completion/Unix/Command/_subversion: complete files + after svn commit --file. + +2007-02-10 Felix Rosencrantz <f.rosencrantz@gmail.com> + + * unposted: Completion/Unix/Command/_comm: added -s flag to + _arguments so completion could deal with combined flags. + +2007-03-08 Clint Adams <clint@zsh.org> + + * 23206: Completion/Unix/Command/_mercurial: completion for hg. + +2007-03-05 Clint Adams <clint@zsh.org> + + * 23205: Doc/Zsh/options.yo: fix misspelling of "effect". + +2007-03-01 Peter Stephenson <pws@csr.com> + + * 23203: Completion/X/Command/_acroread: use -version + to get version (spotted by Zvi) and fix the other methods + as fallback. + +2007-02-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/compsys.yo: document now useful -t + option to _regex_words. + + * 23198: Completion/Base/Utility/_values, + Completion/Base/Utility/_regex_words: make _values -s more + useful and use for regex completions with non-standard suffixes. + +2007-02-27 Clint Adams <clint@zsh.org> + + * 23196: Completion/Debian/Command/_apt: tweak apt-cache madison + and --installed. + +2007-02-27 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_ip: another typo + (rule_cmds). + +2007-02-26 Peter Stephenson <pws@csr.com> + + * 23190: Completion/Unix/Type/_net_interfaces: use ifconfig + on Linux and fall back to old method in order to pick up + additional interface types. + + * unposted: Completion/Unix/Command/_ip: tweak ip route + show abbreviations. + +2007-02-25 Barton E. Schaefer <schaefer@zsh.org> + + * 22894 (belated): Completion/Unix/Type/_email_addresses: fix + muttrc path expansion in search for aliases. + + * unposted (based on users/10881,10884): Doc/Zsh/contrib.yo, + Functions/Zle/smart-insert-last-word: add auto-previous zstyle, + make use of auto-suffix-retain, add an always block for cleanup, + and search unedited text via parameter module $history. + + * unposted: Functions/Misc/zkbd: account for the possibility that + meta- or alt- key combos could generate a multibyte character. + +2007-02-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23186: Completion/Base/Utility/_regex_words, + Completion/Unix/Command/_ip (tweaked), Doc/Zsh/compsys.yo: add to + regex completion handling and add new ip completion. + +2007-02-25 Barton E. Schaefer <schaefer@zsh.org> + + * 23176 (tweaked): Doc/Zsh/expn.yo, Src/subst.c: make the (X) + parameter expansion flag apply to the (#) flag as well, so that + "character not in range" is not normally a fatal error. Also + fix a minor typo in a comment. + +2007-02-25 Clint Adams <clint@zsh.org> + + * 23185: Tobias Gruetzmacher: Completion/Unix/Command/_qemu: qemu + completion improvements. + +2007-02-24 Clint Adams <clint@zsh.org> + + * 23184: Completion/Unix/Command/_qemu: completion for qemu. + +2007-02-22 Clint Adams <clint@zsh.org> + + * 23183: Completion/Debian/Command/_make-kpkg: + complete comma-separated list of directories/modules + for --added-modules. + +2007-02-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Src/utils.c: document some limitations of + getkeystring(). + +2007-02-16 Peter Stephenson <pws@csr.com> + + * 23182: Completion/Base/Utility/_arguments: handle + ./configure --help output "--with-foo[=BAR]" by + using "=-" specifier. + +2007-02-14 Clint Adams <clint@zsh.org> + + * 23178: David Riebenbauer: Completion/Debian/Command/_make-kpkg: + update for modern versions of make-kpkg. + +2007-02-14 Peter Stephenson <pws@csr.com> + + * 23177: Src/utils.c: print unprintable characters under + 256 in \M- format even in multibyte mode. + +2007-02-14 Barton E. Schaefer <schaefer@zsh.org> + + * 23169 (tweaked): Src/exec.c: upon failure to duplicate file + descriptors when setting up multios, report error and unwind as + gracefully as possible. + +2007-02-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23172: Src/Zle/zle_tricky.c: typo fixing line wrapping + in completion displays caused too many lines in multiline + explanation strings. + +2007-02-13 Peter Stephenson <pws@csr.com> + + * 23168: Src/Modules/tcp.c: error when failing to bind + to a port didn't use native byte order. + +2007-02-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + 23165: Src/math.c, Src/utils.c, Doc/Zsh/options.yo: don't + try to parse base indicators in octal and raise error for + bases above 36. + +2007-02-10 Felix Rosencrantz <f.rosencrantz@gmail.com> + * 23164: Src/builtin.c when PUSHD_SILENT is set, don't print anything + from popd/pushd. + +2007-02-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23162: Src/subst.c, D07multibyte.ztst: ${(#)x} didn't + metafy the result, giving nonsense if x was somewhere between + 128 and 160. + +2007-02-08 Peter Stephenson <pws@csr.com> + + * unposted: README: add note on 23159 to incompatibilities + section. + + * 23159 plus minor doc tweaks: Doc/Zsh/params.yo, Src/params.c, + Src/utils.c, Src/Zle/zle_main.c: leave BAUD parameter unset + by default. + +2007-02-07 Peter Stephenson <pws@csr.com> + + * 23153: Src/utils.c: put back old ztrcmp(), with a comment: + as we're not doing strcoll() using full wide character conversion + is overkill. + +2007-02-06 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23152: Src/builtin.c, Src/hashtable.c, Src/module.c, + Src/options.c, Src/params.c, Src/utils.c: fix ztrcmp() + to respect MULTIBYTE option and make sorting of printed + out hash tables more consistent. + +2007-02-06 Peter Stephenson <pws@csr.com> + + * unposted: Src/Zle/complist.c: 23144 could leave an uninitialised + variable. + +2007-02-05 Clint Adams <clint@zsh.org> + + * 23151: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_monotone: partial completion + for mtn (monotone) command. + +2007-02-03 Clint Adams <clint@zsh.org> + + * 23150: Completion/Debian/Command/.distfiles, + Completion/Debian/Command/_cdbs-edit-patch: completion for + cdbs-edit-patch. + +2007-02-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23144: Felix Eckhofer <felix@tribut.de>: Src/Zle/complist.c: + NULL pointer when ending interactive search in menu select. + + * 23143: Src/string.c, Src/subst.c: =-expansion failed + when there were metacharacters in the following string, + but still tried to expand it. It now succeeds. + +2007-02-01 Peter Stephenson <pws@csr.com> + + * unposted: Src/Sched.c: using 23142 turned up sched bug: + we could add checksched twice to the timed event list. + +2007-01-31 Peter Stephenson <pws@csr.com> + + * 23142: Doc/Zsh/calsys.yo, Functions/Calendar/calendar, + Functions/Calendar/calendar_add, calendar_scandate, + calendar_show, calendar_showdate: enhancements for recurring + events and relative times and dates in calendar system. + +2007-01-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23141: Src/jobs.c: don't refresh the display after + a printjob() that didn't print anything. + +2007-01-29 Clint Adams <clint@zsh.org> + + * 23140: Completion/Unix/Command/_arping: handle syntax for + iputils variant as well as whichever arping for which we + had already been completing. + +2007-01-27 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23136, 23138: Src/utils.c, Test/A03quoting.ztst: 23097 added + Bnulls for backslashes in $'...' strings but then didn't handle + them. + +2007-01-26 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Zle/zle_tricky.c: fixed the error checking of + mbrtowc(), whose return value can never be < 0. + + * unposted: Src/subst.c: silenced a compiler warning by making + an int unsigned. + + * unposted: Src/signals.c: mark an arg as UNUSED(). + +2007-01-24 Peter Stephenson <pws@csr.com> + + * unposted: Src/Builtins/sched.c: minor error in sched that no + one's spotted yet: we deleted a timed function twice if + there was anything left in the list after we ran an event. + + * 23131: Test/.distfiles, Test/D08cmdsubst.ztst: new tests for + command substitution. + +2007-01-23 Peter Stephenson <pws@csr.com> + + * 23126, modified: Src/lex.c: errors when deciding between + $(( and $( were not handled properly and in particular caused + problems in history expansion in zle. The code is a little + obscure; added a comment about this. + +2007-01-22 Peter Stephenson <pws@csr.com> + + * 23122: Src/sort.c: bug with some strings with embedded nulls and + some not in 23118. + +2007-01-22 Peter Stephenson <pws@csr.com> + + * 23119: Src/sort.c, Test/B03print.ztst, Test/D07multibyte.ztst: + do lowering of multibyte character case in sorting properly. + +2007-01-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23118: Doc/Zsh/expn.yo, Src/builtin.c, Src/glob.c, Src/jobs.c, + Src/sort.c, Src/subst.c, Src/utils.c, Src/zsh.h, Src/zsh.mdd, + Src/Zle/compcore.c, Src/Zle/computil.c, Src/Zle/zle_tricky.c, + Test/B03print.ztst, Test/D04parameter.ztst: improve sorting, + making it work properly with locales and handling embedded + nulls consistently. + +2007-01-21 Clint Adams <clint@zsh.org> + + * 23117: arno: Completion/Unix/Command/_yafc: + strip out erroneous commas. + + * 23116: arno: Completion/Unix/Command/_getmail: + strip out erroneous commas. + +2007-01-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23115: Doc/Zsh/grammar.yo, Src/lex.c, Src/loop.c, Src/parse.c, + Src/text.c, Src/zsh.h, Test/A01grammar.ztst: add ";|" + at end of case statement to cause testing of later patterns. + +2007-01-18 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/calsys.yo: typo with parentheses. + + * 23114: Src/subst.c: ${foo:s/bar/rod} was broken (when final + delimiter is not present). + +2007-01-16 Peter Stephenson <pws@csr.com> + + * users/11113: Completion/Unix/Command/_todo.sh: extend + project and context completion to ordinary text and complete + after whitespace in quotes. + +2007-01-15 Barton E. Schaefer <schaefer@zsh.org> + + * 23107, 23109: Config/defs.mk.in: suppress parallel makes. + +2007-01-14 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23104: Src/exec.c, Src/zsh.h: fix line numbering in + users/11111 and tidy up wordcode definitions slightly. + +2007-01-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23101: Src/signals.c, Test/C03traps.ztst: ZERR traps + had various odd features when combined with function returns. + +2007-01-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/11111: Doc/Zsh/options.yo, Src/exec.c, Src/options.c, + Src/zsh.h: add DEBUG_BEFORE_CMD option to run DEBUG traps + before the command instead of after. + + * 23098: Src/builtin.c, Test/D07multibyte.ztst: print widths + in printf take account of multibyte characters. + +2007-01-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23097: Src/lex.c, Src/utils.c, Src/zsh.h, Src/Zle/compcore.c: + splitting of $'...' strings in completion. + +2007-01-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23091: Doc/Zsh/compctl.yo, Doc/Zsh/contrib.yo: fixes + for some *roff problems noted by doclifter. + +2007-01-05 Peter Stephenson <pws@csr.com> + + * 23090: configure.ac: make ncurses preferred over curses + and try not to link to multiple display libraries if not + necessary. + +2007-01-04 Clint Adams <clint@zsh.org> + + * 23089: R.Ramkumar: Completion/Unix/Command/_mpc: + relax playlist glob pattern to work with newer versions. + +2007-01-04 Peter Stephenson <pws@csr.com> + + * 23088: Src/builtin.c, Src/zsh.h: Stephane says printf + formats and arguments should actually be escaped differently. + + * 20386: Src/zsh.h, Test/B03print.ztst: printf should handle + octal escapes in the '\0NNN' form. + +2007-01-02 Clint Adams <clint@zsh.org> + + * 22817: Frank Terbeck: Completion/Debian/Command/_aptitude: + update for modern options, add completion of releases. + + * 23080: arno: Completion/X/Command/_qiv: fix -c and -g + (both were mistakenly -b). + +2006-12-19 Peter Stephenson <pws@csr.com> + + * 23071: Src/utils.c: problem with signed characters with + no multibyte support. + + * 23070: Test/C02cond.ztst: Skip [[ -N file ]] test on NFS + file systems. + + * 23067: Doc/Zsh/builtins.yo, Src/jobs.c, Src/signals.c: + queue traps but handle signals when waiting for jobs or processes, + unless TRAPSASYNC is set or the wait builtin is in use, so as + to handle untrapped signals in a timely fashion; document that + negative or zero process IDs after kill may be handled specially + by the OS. + +2006-12-18 Peter Stephenson <pws@csr.com> + + * 23054, part: Src/jobs.c: error message for "kill -" with + no option or signal name was confusing. + +2006-12-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23060: Doc/Makefile.in: make everything makes info. + + * 23059: arno: Completion/Debian/Command/_apt-file, also + .distfiles: new completion. + + * 23058: arno: Completion/X/Command/_mozilla: handle -CreateProfile. + + * 23057: arno: Completion/X/Command/_setxkbmap, also .distfiles: + new completion. + +2006-12-15 Peter Stephenson <pws@csr.com> + + * users/11083: Doc/Zsh/contrib.yo, Functions/Zle/.distfiles, + Functions/modify-current-argument, + Functions/split-shell-arguments: functions for handling spliting + of shell arguments in ZLE. + +2006-12-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23052: Doc/Zsh/builtins.yo, Src/subst.c: multibyte + characters in typeset -L/R/Z padding. + +2006-12-13 Peter Stephenson <pws@csr.com> + + * 23051: Src/lex.c: using ${(Q)...} on an expression with + RCQUOTE handling failed when DEBUG was defined. + +2006-12-12 Peter Stephenson <pws@csr.com> + + * users/11079: Doc/Zsh/expn.yo: point out that 1(2##) may not + work. + +2006-12-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/zle.yo: documentation for CUTBUFFER and + killring ought to be more explicit about their connection. + + * 23044: Src/builtin.c: print -c/-C is yet another version + of print no one bothered to fix up to handle unmetafication + properly. + +2006-12-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * based on 23038: Completion/Unix/Command/_webbrowser, + Completion/X/Command/_mozilla: remove firefox from _webbrowser, + it's handled by Completion/X/Command/_mozilla; add some + firefox-specific options. + +2006-12-08 Clint Adams <clint@zsh.org> + + * 23039: Completion/X/Command/_mozilla: handle iceweasel as + firefox. + +2006-12-08 Peter Stephenson <pws@csr.com> + + * 23036: Src/utils.c, Src/Zle/compcore.c, Src/Zle/zle_tricky.c: + three more fixes for completion using $'...'. + +2006-12-04 Peter Stephenson <pws@csr.com> + + * 23028: configure.ac, Config/defs.mk.in, Doc/Makefile.in: + use texi2pdf where available. + + * unposted: Doc/Zsh/calsys.yo, Functions/Calendar/age, + Functions/Calendar/calendar_add, + Functions/Calendar/calendar_scandate: autoload missing in + calendar_add; add some date shortcuts for the use of age. + + * 23027: Vin Shelton: Doc/Zsh/calsys.yo: texinfo links were + reversed. + +2006-12-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22026: Src/exec.c, Src/subst.c, Src/utils.c, Src/zsh.h, + Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle.h, + Src/Zle/zle_tricky.c: Incomplete fixes for using $'...' + quoting in completion. + +2006-12-01 Peter Stephenson <pws@csr.com> + + * unposted fixes for previous commit: + Completion/Unix/Type/_list_files, Doc/Zsh/calsys.yo, + Functions/Calendar/age: age was broken; fix typos; use + "always" block to restore stat disability. + + * c.f. 23023: Completion/Unix/Type/_list_files, Doc/.distfiles, + Doc/Makefile.in, Doc/zsh.yo, Doc/zshcalsys.yo, Doc/Zsh/.distfiles, + Doc/Zsh/calsys.yo, Doc/Zsh/compsys.yo, Doc/Zsh/intro.yo, + Doc/Zsh/manual.yo, Doc/Zsh/modules.yo, Doc/Zsh/tcpsys.yo, + Functions/Calendar/.distfiles, Functions/Calendar/age, + Functions/Calendar/calendar, Functions/Calendar/calendar_add, + Functions/Calendar/calendar_lockfiles, + Functions/Calendar/calendar_read, + Functions/Calendar/calendar_scandate, + Functions/Calendar/calendar_show, + Functions/Calendar/calendar_sort, Src/Modules/datetime.mdd: new + calendar system with age glob qualifier function; files + _list_files to be able not to trample over external stat. + +2006-11-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23022: Test/ztst.zsh: don't allow WORDCHARS to be exported + to tests. + + * unposted: Completion/Unix/Command/_perforce: updated to 2006.2. + +2006-11-27 Clint Adams <clint@zsh.org> + + * 23018: Completion/Unix/Command/_darcs: parse out + section headings from darcs --help. + +2006-11-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 23008: Src/exec.c: failure to output error message could + alter exit status. + +2006-11-18 Clint Adams <clint@zsh.org> + + * 23005: Completion/Unix/Command/_toilet: completion + for toilet. + +2006-11-15 Peter Stephenson <pws@csr.com> + + * users/10989: Completion/Base/Core/_description, + Doc/Zsh/compsys.yo: add fake-always style that overrides + ignored-patterns. + +2006-11-14 Peter Stephenson <pws@csr.com> + + * users/10981: Jean-Rene David <jrdavid@magma.ca>: + Completion/Unix/Command/_ssh: needs glob_subst to expand + path for config file. + + * users/10979: Completion/Unix/Command/_ssh: use config file + from -F option if present. + +2006-11-13 Clint Adams <clint@zsh.org> + + * 22998: Completion/Linux/_acpi: add -s to _arguments. + +2006-11-11 Clint Adams <clint@zsh.org> + + * unposted: update config.guess and config.sub to + 2006-07-02 versions. + +2006-11-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22997: Src/builtin.c, Src/subst.c: ${...?...} didn't go through + proper exit sequence and didn't take account of being in a + subshell and didn't call exit trap anyway because errflag was set. + +2006-11-10 Peter Stephenson <pws@csr.com> + + * 22993: Completion/Unix/Command/_make: slightly more + effective version of 22988. + + * 22992: Doc/Zsh/func.yo, Doc/Zsh/builtins.yo, Src/builtin.c: + make $? available on trap or hook shell exit. + +2006-11-09 Peter Stephenson <pws@csr.com> + + * 22984: Doc/Zsh/func.yo, Src/builtin.c: add zshexit hook + to 22978. + + * 22988: arno: Completion/Unix/Command/_make: failed on + special variable names, so use local -h. Probably not a + complete fix since the function can run recursivesly for + include directives which should use the same namespace. + +2006-11-08 Peter Stephenson <pws@csr.com> + + * 22983: Src/builtin.c, Src/init.c: exit could loop for ever + in two different ways (but not at the same time). + + * 22978 (tweaked): Doc/Zsh/func.yo, Doc/Zsh/options.yo, + Src/builtin.c, Src/init.c, Src/utils.c, Src/Zle/zle_main.c, + Test/A05execution.ztst: use <hook>_functions array variables for + hook functions. + + * 22981: Zvi Har'El: Src/glob.c: 22980 got a get_strarg() wrong in + glob.c, somehow. + +2006-11-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22980: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst, + Test/D07multibyte.ztst: 22952 messed up optional arguments + to padding parameter flags. + +2006-11-07 Peter Stephenson <pws@csr.com> + + * 22973: arno: Completion/Unix/Command/_zip: .xpi files are + zip files. + +2006-11-06 Peter Stephenson <pws@csr.com> + + * 22972: Completion/Zsh/Command/_typeset: autoload completion + is limited to functions not yet registered. + + * 22971: Src/exec.c, Src/jobs.c: don't allow job control + on jobs in current shell and sanitize error message used. + +2006-11-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22968: Src/builtins.c: print -z and print -s didn't cope + with the fact that the arguments were unmetafied. + +2006-11-03 Peter Stephenson <pws@csr.com> + + * users/10928: send all "jobs" output to stdout, not shout. + + * 22953: Mikael Magnusson: + Completion/Base/Widget/_most_recent_file: didn't work if + file started with a hyphen. + +2006-11-02 Peter Stephenson <pws@csr.com> + + * 22952: Src/glob.c, Src/params.c, Src/subst.c, + Test/D04parameter.ztst: fix multibyte delimiters for + arguments to parameter flags and substitution modifiers + in parameters and glob qualifiers (but not yet substitution + modifiers in history). + + * 22950: Src/Zle/zle_tricky.c: starting menu completion + with reverse-menu-complete used the first match instead + of the last. + +2006-11-02 Clint Adams <clint@zsh.org> + + * 22947: R. Ramkumar: Completion/Unix/Command/_mkdir: + minor mkdir completion fixes. + +2006-11-01 Peter Stephenson <pws@csr.com> + + * 22934, with modifications (c.f. 22937): INSTALL, README, + Completion/compinit, Doc/Zsh/expn.yo, Doc/Zsh/options.yo, + Src/glob.c, Src/hist.c, Src/options.c, Src/subst.c, Src/zsh.h, + Test/E01options.ztst: add HIST_SUBST_PATTERN option, make + ${.../#%...} anchor at both ends. + +2006-11-01 Clint Adams <clint@zsh.org> + + * 22940: R. Ramkumar: Completion/Unix/Command/_mkdir: + completion for mkdir. + + * users/9483: Sir Raorn(?): Completion/Unix/Command/_ri: + completion for ri (ruby documentation viewer). + +2006-10-27 Peter Stephenson <pws@csr.com> + + * 22924: Src/Zle/complist.c, Src/Zle/compresult.c, + Src/Zle/zle_main.c, Src/Zle/zle_utils.c: fix a couple more + metafy_line()/unmetafy_line() problems. + + * 22921: Src/compresult.c: obscure crash reveals + hasbrpsfx() can be called with line unmetafied. + +2006-10-30 Peter Stephenson <pws@csr.com> + + * 22913: Doc/Zsh/params.yo, Src/jobs.c: set $! after a "bg", too. + +2006-10-27 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: completion + of jobs selected from a jobview (e.g. after p4 fix -d -c <change>) + was broken. + +2006-10-27 Clint Adams <clint@zsh.org> + + * 22914: Completion/Unix/Command/_cdrecord: add wodim to compdef + line. + +2006-10-25 Peter Stephenson <pws@csr.com> + + * 22911: Src/Zle/zle_tricky.c: need fix from 22877 here, too. + + * arno: Completion/Unix/Command/{_getmail,_yafc,.distfiles}: + two new completions. + + * unposted: Completion/Debian/Command/.distfiles, + Completion/Linux/Command/.distfiles, + Completion/Linux/Type/.distfiles, + Completion/Unix/Command/.distfiles, + Completion/Unix/Type/.distfiles, Doc/.cvsignore, + Functions/Zle/.distfiles: various files missing from + the distribution. + +2006-10-23 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: the final option + changes for the imminent 2.6.9 release. + +2006-10-20 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_todo.sh: use plain + mode for getting completino lists. + +2006-10-23 Clint Adams <clint@zsh.org> + + * 22896: Src/Zle/complete.mdd: rename Mandrake to + Mandriva. + +2006-10-20 Clint Adams <clint@zsh.org> + + * 22888: Completion/Unix/Command/_tardy: completion for + tardy. + +2006-10-19 Peter Stephenson <pws@csr.com> + + * unposted: Src/utils.c: EOF in ur-22885 should be WEOF. + + * unposted: Completion/Unix/Command/_todo.sh: more places + where we complete priorities and contexts. + + * quoted in 22885: Src/utils.c: 22544 introduced problems + with multibyte tokenized strings. + +2006-10-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted, c.f. 22833: rename Completion/Mandrake and + all its works to Completion/Mandriva. + +2006-10-16 Peter Stephenson <pws@csr.com> + + * 22877: Src/Zle/compctl.c: string quoting used QT_NONE + instead of QT_BACKSLASH. + +2006-10-16 Geoff Wing <gcw@zsh.org> + + * unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: archive.progeny.com + mirror site is being decommissioned. Remove from lists + +2006-10-15 Barton E. Schaefer <schaefer@zsh.org> + + * unposted: Functions/Misc/colors: add several comments about + other ANSI terminal attributes, cribbed from ECMA-48. + + * unposted: Functions/Zle/keymap+widget: another example. + + * users/10885: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, + Src/Zle/zle_utils.c: add widgets auto-suffix-remove and + auto-suffix-retain for user-defined suffix control. + +2006-10-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22874: Functions/Misc/run-help: unquoting wasn't consistent. + +2006-10-14 Clint Adams <clint@zsh.org> + + * 22875: Completion/Debian/Command/_a2utils: Emmanuel Bouthenot, + tweaked: completion for a2ensite, a2dissite, a2enmod, a2dismod. + +2006-10-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22873: Larry P. Shrof: Doc/Zsh/expn.yo: typo. + +2006-10-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22860: Completion/Unix/Command/_tar: allow - before first + argument of tar. + + * 22859: Completion/Base/Utility/_arguments: improved to + handle all descriptions for zsh configure and GNU tar. + +2006-10-10 Peter Stephenson <pws@csr.com> + + * 22858: Completion/Base/Utility/_arguments: options generated + from --help text can now be documented. + + * 22851: arno: Completion/Unix/Command/_init_d: "-" can occur + in script names. + + * 22854: Doc/Zsh/contrib.yo, Functions/Zle/replace-string, + Functions/Zle/replace-string-again: separate out back end + as separate widget to repeat replacement. + + * 22853: Src/utils.c: unquoted ^ at end of bindkey string + treated literally. + + * 22852: Doc/Zsh/compsys.yo: finally document effect of 22191 + (users style overrides use of userdirs). + +2006-10-07 Clint Adams <clint@zsh.org> + + * 22835: Completion/Unix/Command/_pon: tidy up pon bit + and add poff completion. + +2006-10-07 Andrey Borzenkov <bor@zsh.org> + + * 22831: Src/Zle/comp.h, Src/Zle/compresult.c, Src/Zle/computil.c: + make CM_SPACE definition global and use it consistently in + compresults and compdescribe to lay out matches + + * 22839: Completion/Unix/Command/_texinfo: as pointed by + Vincent Lefevre, info accepts file names as first argument + +2006-10-06 Peter Stephenson <pws@csr.com> + + * 22820: Src/Zle/compresult.c: no, users/10791 wasn't right + and now I'm bored so this will have to do. + + * users/10791: Src/Zle/compresult.c: accumulated completions + on single line could cause border disputes resulting in + skirmishes with cursor position. + +2006-10-05 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22819: Doc/Zsh/compwid.yo, Src/builtin.c, Src/subst.c, + Src/text.c, Src/utils.c, Src/zsh.h, Src/Zle/compcore.c, + Src/Zle/compctl.c, rc/Zle/complete.c, Src/Zle/computil.c, + Src/Zle/zle_tricky.c: rationalise internal quotation, + upgrade completion use of quotation to start handling $'...' + (still incomplete), fix bug on completion with active + RCQUOTES. + +2006-10-05 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: improved + message when not completing after "p4 clients". + + * 22818: Doc/Zsh/params.yo: delimiters in subscript flags + are like those in parameter substitution. + +2006-10-03 Clint Adams <clint@zsh.org> + + * 22816: Joerg Sommer: Completion/Unix/Command/_pon: + completion for pon. + + * 22815: Joerg Sommer: Completion/Debian/Command/_invoke-rc.d: + completion for invoke-rc.d. + +2006-10-03 Clint Adams <clint@zsh.org> + + * 22814: Completion/X/Command/_mplayer: add .mp4 and .flv + to media file extension list. + + * 22812: R. Ramkumar: Completion/Unix/Command/_bittorrent, + Completion/Unix/Command/_rsync, Completion/Unix/Command/_ssh, + Completion/Unix/Command/_wget: utilize _bind_addresses in + existing completion functions. + + * 22811: R. Ramkumar: Completion/Unix/Type/_bind_addresses: + helper function to give local IP addresses to which a program + might bind a socket. + + * 22810: Completion/Unix/Command/_gpg: fix malformed + --encrypt-to line. + + * 22808: Completion/Debian/Command/_dchroot, + Completion/Debian/Command/_dchroot-dsa: handle internationalized + output and choices within brackets. + +2006-10-02 Peter Stephenson <pws@csr.com> + + * unposted: INSTALL: correct opening remarks. + + * 22804: Mikael Magnusson: Functions/Zle/narrow-to-region: + allow zero-length ranges. + +2006-10-01 Clint Adams <clint@zsh.org> + + * 22803: Roger Leigh: Completion/Debian/Command/_dchroot, + Completion/Debian/Command/_dchroot-dsa, + Completion/Debian/Command/_schroot: updates for + dchroot and schroot completion, and new completion + for dchroot-dsa. + +2006-09-30 Clint Adams <clint@zsh.org> + + * 22800: Completion/Linux/Type/_fuse_arguments, + Completion/Linux/Type/_fuse_values, + Completion/Linux/Type/_wakeup_capable_devices: + put quotes around "$@". + + * 22799: R. Ramkumar: Completion/Linux/Command/_fusermount: + change _fusermount to use _fuse_values and _canonical_paths. + + * 22798: R. Ramkumar: Completion/Unix/Command/_bittorrent: + cleanup and fixes. + + * 22797: R. Ramkumar: Completion/Linux/Type/_fuse_arguments, + Completion/Linux/Type/_fuse_values: generic FUSE completion + support functions. + + * 22796: R. Ramkumar: Completion/Unix/Command/_subversion: + fix misspelling of IPREFIX. + + * 22795: R. Ramkumar: Completion/Unix/Type/_urls: + handle https urls. + + * 22794: R. Ramkumar: Completion/Linux/Command/_acpitool, + Completion/Linux/Type/_wakeup_capable_devices: completion for + acpitool. + +2006-09-30 Andrey Borzenkov <bor@zsh.org> + + * unposted: Src/Zle/compmatch.c: fix thinko in 22787 that changed + semantic of pattern matching in join_strs + +2006-09-29 Vin Shelton <acs@xemacs.org> + + * 22789: Src/init.c: Source zshenv even if non-interactive. + +2006-09-29 Andrey Borzenkov <bor@zsh.org> + + * 22787: Srz/Zsh/compmatch.c: change calling convention of + pattern_match to not depend on current implementation that works + for single byte characters only, thus making it more easy to + change it later. + +2006-09-28 Peter Stephenson <pws@csr.com> + + * 22783: Frank Terbeck: Src/init.c: don't load zsh/newuser + unless interactive. + +2006-09-27 Peter Stephenson <pws@csr.com> + + * 22780: Completion/Base/Utility/_arguments: + Completion/Unix/Command/_todo.sh, Doc/Zsh/compsys.yo, + Src/Zle/computil.c: _arguments -n sets NORMARG to index of first + non-option argument (via comparguments -n); use this in _todo.sh. + + * unposted: Completion/Unix/Command/_todo.sh: replace buggy + search message by completion of projects and contexts. + + * 22778: Completion/Unix/Command/_locate: completion for + various versions of the locate command. + +2006-09-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22765: Src/subst.c, Src/utils.c, Src/ztype.h, + Src/Zle/zle_main.c: rename some MB_ macros to WC_ since they + act on wchar_t's. + +2006-09-23 Andrey Borzenkov <bor@zsh.org> + + * unposted: Test/A06assign.ztst, Test/B03print.ztst, + Test/E01options.ztst, Test/ztst.zsh: as pointed by Bart in 22759, + locale is already taken care of in test harness; revert 22758 + and add LC_NUMERIC and LC_MESSAGES to list of locale variables to set. + + * 22761: Src/subst.c, Src/Zle/computil.c: make compdescribe + to consistently use character width when laying out matches. + This supercedes fix in 22729. + +2006-09-22 Andrey Borzenkov <bor@zsh.org> + + * 22758: Test/A06assign.ztst, Test/B03print.ztst, + Test/E01options.ztst: force locale to C to avoid test failures + due to localized output + +2006-09-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22752: + Roman Neuhauser: Doc/Zsh/compsys.yo, + Doc/Zsh/compwid.yo, Doc/Zsh/roadmap.yo: improved introduction + to completion. + +2006-09-21 Peter Stephenson <pws@csr.com> + + * 22739: arno: Functions/Prompt/promptinit: change test + for prompt -c to test for theme. + + * 22753: Src/prompt.c, Src/utils.c, Src/Zle/complist.c: + minor bugs with using characters spotted from warnings on + Cygwin. + +2006-09-20 Peter Stephenson <pws@csr.com> + + * users/10748: Doc/Zsh/compsys.yo: improve example, make one + feature clearer. + + * unposted: Completion/Unix/Command/_perforce: add some + handling for unsupported commands; add p4d completion. + + * 22743: Doc/Zsh/builtis.yo, Src/builtin.c: document the sh + "set - [args]" -> "set -xv [-- args]" hack and limit it to + non-native emulation. + + * 22742: Doc/Zsh/expn.yo, Src/subst.c, Src/zsh.h: padding once + again defaults to character lengths, but (m) flag turns on + character widths for multibyte characters. + +2006-09-17 Clint Adams <clint@zsh.org> + + * 22728, 22734: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c, + Src/Modules/parameter.mdd, Src/exec.c, Src/zsh.h: $functrace + parameter for function backtraces. + +2006-09-17 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22729: Src/Zle/computil.c: truncation of description didn't + handle multibyte characters. + + * 22727: Src/init.c, Src/Zle/zle_main.c: "use 'exit' to exit" + was suboptimal. + +2006-09-16 Andrey Borzenkov <bor@zsh.org> + + * 22721: Makefile.in: add pdf target + +2006-09-15 Clint Adams <clint@zsh.org> + + * 22719: configure.ac: check for RLIMIT_NICE and + RTLIMIT_RTPRIO so 22718 will work. + + * 22718: Src/Builtins/rlimits.c: use ulimit -e and -r + for RLIMIT_NICE and RLIMIT_RTPRIO respectively. + +2006-09-15 Peter Stephenson <pws@csr.com> + + * zsh-users/10720: arno + pws: Functions/Misc/checkmail: + bad recursive argument handling and need to be safer about + options. + + * 22715: Src/exec.c: AUTOCONTINUE option never worked. + + * 22713: Src/Zle/zle_tricky.c: word end in math completion context + was screwy. + + * 22710: README, Doc/Zsh/expn.yo, Src/prompt.c, Src/subst.c, + Src/utils.c: assume width 1 for control characters; don't + crash if width of repeated padding string is 0. + +2006-09-14 Peter Stephenson <pws@csr.com> + + * 22692: Doc/Zsh/expn.yo: additional notes on a couple of + parameter expansion features. + +2006-09-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22705: Doc/Zsh/expn.yo, Src/prompt.c, Src/subst.c, Src/utils.c, + Src/zsh.h, Test/D04parameter.ztst, Test/D07multibyte.ztst: + make ${(l...)...} and ${(r...)...} padding handle multibyte + characters including those wider than 1 unit. + +2006-09-13 Peter Stephenson <pws@csr.com> + + * 22704: Completion/Unix/Command/_todo.sh: new completion. + +2006-09-12 Peter Stephenson <pws@csr.com> + + * 22689: Src/subst.c, Test/D04parameter.ztst: untokenize + strings for substitution in cases like + ${${~:-*}//(#m)*/$MATCH=$MATCH}. The pattern code tried + to metafy the tokens, which caused chaos. + +2006-09-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Mikael Magnusson: Doc/Zsh/mod_sched.yo: typos. + +2006-09-11 Peter Stephenson <pws@csr.com> + + * 22686: Src/params.c: unset array if assigning numeric + parameter to it. + +2006-09-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22685: Src/builtin.c: printf "%d" \'X should handle multibyte + characters X. + + * 22684: Src/builtin.c, Src/math.c, Src/params.c, Src/subst.c, + Src/utils.c, Src/zsh.h, Src/Zle/zle_hist.c, Src/Zle/zle_hist.c, + Src/Zle/zle_misc.c: rewrite getkeystring() to have something + approaching an API; printf strings expand octal escapes even + without a leading zero. + + * 22676, adapted as in 22678: README, Doc/Zsh/mod_sched.yo, + Src/init.c, Src/subst.c, Src/utils.c, Src/zsh.h, + Src/Builtins/sched.c, Src/Zle/zle_main.c, Src/Zle/zle_thingy.c: + make sched events work when waiting for input in zle; allow sched + to handle the trashzle(); improve the interface to sched both + internally and externally. + + * 22681: configure.ac, Src/Modules/system.mdd: pass all + files defining errnos to awk so that it finds them all on + systems where the list of definitions is fragmented. + +2006-09-07 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22672: arno: Functions/Prompts/prompt_clint_setup, + Functions/Prompts/prompt_zefram_setup: broken when KSH_ARRAYS + is on. + +2006-08-30 Peter Stephenson <pws@csr.com> + + * 22660 [slightly tweaked]: Src/Zle/compctl.c: unmetafy + directory prefix for passing to opendir() and stat(). + +2006-08-22 Clint Adams <clint@zsh.org> + + * 22657: Completion/Unix/Command/_tla: update for tla 1.3.5. + +2006-08-22 Peter Stephenson <pws@csr.com> + + * 22656: Src/options.c (slightly tweaked): improve handling of + monitor option a bit. + +2006-08-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * zsh-users/10634: Completion/compinstall: attempt to fix up + relative paths of completion configuration file. + +2006-08-21 Clint Adams <clint@zsh.org> + + * 22655: Ralph Amissah: Completion/Unix/Command/_sisu: + completion for sisu. + +2006-08-21 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/compsys.yo: extra documentation arising out of + discoveries by Bart in zsh-users/10626 and 22653. + +2006-08-20 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22651: Src/Zle/complist.c, Src/Zle/zle_tricky.c: failed to + unmetafy bytes for output. + + * 22650: Src/Modules/zutil.c: when deleting styles, the pointer + to the last style can become invalid. + + * 22643: Src/Zle/zle_tricky.c: completion in math context was + broken by searching for multibyte word characters. + + * 22638: Src/Modules/zutil.c: deleting styles in contexts didn't + remove the style itself if it was the last context. + +2006-08-17 Peter Stephenson <pws@csr.com> + + * 22613: configure.ac, Doc/Zsh/mod_datetime.yo, + Src/Modules/datetime.c: add strftime -r to use strptime() + if available. + + * 22612: Src/Zle/complist.c: comment the static variables. + +2006-08-16 Peter Stephenson <pws@csr.com> + + * 22610: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: + allow zstyle -L with arguments. + +2006-08-15 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22611: Src/Zle/complist.c: bug when scrolling completion + list with line wider than screen. + +2006-08-15 Clint Adams <clint@zsh.org> + + * 22609: Completion/Unix/Command/_baz: complete for + switch subcommand. + +2006-08-14 Peter Stephenson <pws@csr.com> + + * 22608: Doc/Zsh/contrib.yo: improvements on 22606. + + * 22606: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context, + Functions/Zle/match-words-by-style, Functions/Zle/.distfiles: new + word-context style for word matching, remove out-of-date handling + for bug. + + * 22605: Src/Zle/complist.c: bug in 22597 noticed by Bart + when not printing. + +2006-08-13 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22601: Completion/Unix/Type/_list_files: need to unquote + characters quoted by the completion mechanism. + +2006-08-13 Clint Adams <clint@zsh.org> + + * unposted: Functions/Zle/.distfiles, + Completion/Unix/Command/.distfiles: update distributed files. + +2006-08-11 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22599: Src/utils.c, Src/zsh.h, Src/Zle/complist.c, + Src/Zle/compresult.c, Src/Zle/zle_tricky.c: use wide character + widths in completion. + +2006-08-10 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/compsys.yo: trivial typo. + + * 22597: Src/Zle/complist.c, Src/Zle/zle_tricky.c: back off + two hunks of 22594 which appeared to both unnecessary and + incorrect. + +2006-08-10 Barton E. Schaefer <schaefer@zsh.org> + + * 22595: Src/Zle/complist.c: paranoid bounds-checking on some + loop indices. + +2006-08-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Functions/Example/pushd: maintain pushdignoredups if + it was set on entry to the function. I have a weird sense of + deja vu about this... + + * 22594: Src/Zle/complist.c, Src/Zle/compresult.c, + Src/Zle/zle_tricky.c: Attempt to fix some off-by-one errors + counting lines when a completion list exactly fits the + display width. + +2006-08-09 Peter Stephenson <pws@csr.com> + + * 22593: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-handler: add + handle-nonexistent style. + +2006-08-08 Peter Stephenson <pws@csr.com> + + * 22592: Functions/TCP/tcp_send, Doc/Zsh/tcpsys.yo: add tcp_send + -c to behave in a catlike fashion. + +2006-08-07 Peter Stephenson <pws@csr.com> + + * unposted: Src/Zle/complist.c: another bad declaration. + + * 22589: Src/Zle/complist.c: bug in menu selection when displaying + long lines. + +2006-08-06 Clint Adams <clint@zsh.org> + + * 22588: Completion/Unix/Command/_rake: handle targets + with colons in their names. + +2006-08-04 Peter Stephenson <pws@csr.com> + + * 22587: INSTALL, MACHINES, NEWS< README: update notes on + multibyte support and add references to news. + + * 22586: Src/parse.c, Src/utils.c: minor warnings spotted + on Cygwin: unnecessary static declaration in parse.c, typo in + set_widearray, also comments on other warnings that are harder + to avoid. + + * 22585: makepro.awk, Src/utils.c: zsh.exports was missing + VA_ALIST declarations and some multibyte-related stuff. + + * 22584: Frank Terbeck: Completion/Unix/Type/_tar_archive: even + GNU tar should complete uncompressed .tar files. + + * 22582: configure.ac: Test for functions needed for multibyte + mode instead of basing MULTIBYTE_SUPPORT on marginally relevant + preprocessor definition. Installation docs still need changing. + + * 22583: Peter A. Castro: Src/Modules/mathfunc.c: Cygwin erand48() + apparently needs initialisation. + +2006-08-03 Peter Stephenson <pws@csr.com> + + * 22581: Src/prompt.c, Src/utils.c, Src/Zle/complist.c, + Src/Zle/zle.h, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: + rationalise multibyte conversions to and from wide characters + to use restartable form. + + * unposted: Completion/Unix/Command/_subversion: import + directory is optional, so complete URLs also on first argument. + +2006-08-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22579: Completion/Unix/Command/_perldoc, + Completion/Unix/Type/_perl_modules: find .pod files in perl + include path for documentation. + + * users/10570: Completion/Unix/Command/_subversion: handle "svn + import" better. + +2006-08-02 Peter Stephenson <pws@csr.com> + + * 22578: README, Doc/Zsh/params.yo, Src/params.c: ensure + HISTCHARS/histchars never contains non-ASCII characters. + + * unposted: Functions/Zle/history-beginning-search-menu, + Doc/Zsh/params.yo: yet more tweaks I'm too embarrassed to post: + ^ also needs quoting; clear display on first non-digit character; + stray / appeared in substitution. + +2006-08-01 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22575: Src/utils.c, Src/ztype.h, Src/Zle/compresult.c, + Src/Zle/zle.h, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: + multibyte fixes for blashquote() and getzlequery() and + remove some aliases. + + * 22574: Functions/Zle/history-beginning-search-menu, + Doc/Zsh/params.yo: ~ also needs quoting and we have to do + it even if space isn't active. + +2006-08-01 Peter Stephenson <pws@csr.com> + + * 22573: Functions/Zle/history-beginning-search-menu, + Doc/Zsh/params.yo: smooth the interface to the widget and + document how to quote metacharacters for reverse array + subscripting. + + * 22572: Src/pattern.c, Test/D04parameter.ztst: use of (#m) + was broken with pure strings. + + * users/10564: Completion/Unix/Command/_gpg: use appropriate + key ring arguments to search key rings. + +2006-07-30 Barton E. Schaefer <schaefer@zsh.org> + + * unposted (see users/10559): Functions/Zle/keymap+widget: a + technique for overriding ZLE widgets only within a selected + keymap. + +2006-07-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22565: Src/compcore.c: Fix bug with menu completion after failed + accept-and-menu-complete, perhaps. + + * 22562: Src/glob.c, Test/D07multibyte.ztst: make ${...#...} etc. + understand multibyte characters. + +2006-07-29 Barton E. Schaefer <schaefer@zsh.org> + + * 22561: Functions/Zle/incremental-complete-word: fix display bug + introduced roughly five years ago when _main_complete was changed + to remove the leading underscore from $_lastcomp[completer]. Add + some other commentary. + +2006-07-28 Peter Stephenson <pws@csr.com> + + * 22560: Functions/Zle/history-beginning-search-menu: + tweak (= hack) to clear menu after use. + + * 22559: Doc/Zsh/contrib.yo, + Functions/Zle/history-beginning-search-menu: new Zle function. + +2006-07-26 Peter Stephenson <pws@csr.com> + + * 22558: Src/math.c: declaration after statement. + +2006-07-25 Peter Stephenson <pws@csr.com> + + * 22557: Doc/Zsh/options.yo, Misc/globtests, Src/options.c, + Src/pattern.c, Test/D02glob.ztst, Test/D07multibyte.ztst: + Turn on multibyte option by default for MULTIBYTE_SUPPORT and fix + tests and patterns. + + * unposted: Src/pattern.c, Src/utils.c: minor typos in + 22556 found when MULTIBYTE_SUPPORT is not defined. + +2006-07-24 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22556: Doc/Zsh/builtins.yo, Functions/Zle/insert-composed-char, + Src/builtin.c, Src/pattern.c, Src/subst.c, Src/utils.c, Src/zsh.h, + Src/ztype.h, Src/Zle/zle.h, Src/Zle/zle_main.c, + Test/D04parameter.ztst, Test/D07multibyte.ztst: Multibyte + separators and delimiters. + +2006-07-18 Clint Adams <clint@zsh.org> + + * 22554: Jesse Weinstein: Completion/Unix/Command/_vorbiscomment: + completion for vorbiscomment. + +2006-07-18 Peter Stephenson <pws@csr.com> + + * unposted: **/.distfiles: update distributed files. + +2006-07-18 Clint Adams <clint@zsh.org> + + * 22553: Jesse Weinstein: Completion/Unix/Command/_metaflac: + completion for metaflac. + +2006-07-15 Clint Adams <clint@zsh.org> + + * 22552: Completion/Unix/Command/_tla: update for tla 1.3.4. + +2006-07-12 Peter Stephenson <pws@csr.com> + + * 22550: Test/A04redirect.ztst, Test/ztst.zsh: put "exec" tests + in subshells and allow substitution on test output to occur + after the test. + +2006-07-12 Clint Adams <clint@zsh.org> + + * 22549: Completion/Unix/Command/_subversion: + improve svn propset completion slightly. + +2006-07-11 Peter Stephenson <pws@csr.com> + + * 22546: Src/parse.c, Test/A04redirect.ztst, + Test/D07multibyte.ztst: fix bug with {myfd}>... redirection + syntax introduced in 22544 and tweak tests. + +2006-07-10 Peter Stephenson <pws@csr.com> + + * 22544: README, Doc/Zsh/options.yo, Src/builtin.c, Src/glob.c, + Src/lex.c, Src/math.c, Src/module.c, Src/options.c, Src/params.c, + Src/parse.c, Src/subst.c, Src/utils.c, Src/zsh.h, Src/ztype.h, + Src/Zle/compcore.c, Src/Zle/zle_tricky.c, Test/D07multibyte.ztst: + Improve use of ztype tests for multibyte characters. Add + POSIX_IDENTIFIERS option to control allowability of multibyte + alphanumeric characters in parameter and module names. + +2006-07-09 Clint Adams <clint@zsh.org> + + * 22543: Completion/Unix/Command/_cssh: completion for + clusterssh. + +2006-07-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22542: Src/parse.c, Src/prompt.c, Src/zsh.h: 22516 was + overentusiastic about popping the command stack; turn cmdpop() + and cmdpush() into functions for better maintainability. + +2006-07-03 Peter Stephenson <pws@csr.com> + + * 22537: Makefile.in: rm -rf autom4te.cache on distclean. + +2006-06-30 Peter Stephenson <pws@csr.com> + + * 22529: Doc/Zsh/arith.yo, Src/math.c, Src/utils.c, + Test/D07multibyte.ztst: multibyte conversion in math expressions. + +2006-06-28 Peter Stephenson <pws@csr.com> + + * 22526: Doc/Zsh/expn.yo, Src/subst.c: enhance${(#)...} to output + Unicode. + + * 22525: Completion/compinit, Src/hist.c, Src/jobs.c, + Src/pattern.c, Src/subst.c, Src/utils.c, Src/zsh.h, + Test/D07multibyte.ztst: lengths and cases of multibyte strings + in parameters and history. + +2006-06-27 Peter Stephenson <pws@csr.com> + + * 22524: Src/params.c, Test/D07multibyte.ztst: searchable + subscripts with multibyte characters. + + * 22522: Src/utils.c: infinite loop with invalid character + in mb_metastrlen(). + +2006-06-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22519: Test/D07multibyte.ztst: initial multibyte parameter tests. + +2006-06-26 Peter Stephenson <pws@csr.com> + + * 22518: Src/params.c, Src/utils,c, Src/zsh.h, + Test/B02typeset.ztst: Initial go at making parameter subscripts + use multibyte characters. + + * 22516: Src/parse.c: error evaluating "func()" didn't pop + the command stack. + + * 22501: README: missed this bit. + +2006-06-24 Clint Adams <clint@zsh.org> + + * unposted: Completion/Unix/Command/_tar: autoload + is-at-least in _tar if using GNU tar. + + * 22513: Completion/Unix/Command/_tar: only do that for + GNU tar >= 1.14.91. + + * 22511: Completion/Unix/Command/_tar, + Completion/Unix/Type/_tar_archive: complete compressed archive + filenames for GNU tar even when a compression option is not + specified. + +2006-06-19 Peter Stephenson <pws@csr.com> + + * 22501: configure.ac: reduce default maximum function depth + to 1000. + +2006-06-17 Barton E. Schaefer <schaefer@zsh.org> + + * 22492: Functions/Zle/url-quote-magic: properly detect when a new + word (in the zsh syntax sense) has been started, and thus avoid + improperly quoting a metacharacter that is the first character of + a new word. + +2006-06-16 Peter Stephenson <pws@csr.com> + + * unposted: Src/exec.c: remove TODO in exec.c redundant + since 22474. + +2006-06-11 Clint Adams <clint@zsh.org> + + * 22486: Completion/Debian/Command/_dak: completion for + dak (the debian-archive-kit). + +2006-06-09 Clint Adams <clint@zsh.org> + + * users/10282: Oliver Kiddle: Completion/Unix/Command/_man: + complete associated sections with man page names. + +2006-06-08 Clint Adams <clint@zsh.org> + + * unposted: Completion/Debian/Command/_madison: complete the + same way for rmadison. + +2006-06-05 Peter Stephenson <pws@csr.com> + + * 22484: configure.ac, Src/makepro.awk, Src/system.h, Src/utils.c: + support varargs.h in addition to stdarg.h. + + * 22483: Src/params.c, Src/Modules/system.c, + Doc/Zsh/mod_system.yo: add $sysparams to zsh/system. + +2006-06-02 Clint Adams <clint@zsh.org> + + * 22481: Oliver Kiddle: Completion/Unix/Command/_subversion: + complete svn diff and resolved subcommands. + +2006-06-02 Peter Stephenson <pws@csr.com> + + * 22480: Functions/Misc/zmathfuncdef: autoload functions from + zsh/mathfunc as needed. + +2006-05-31 Clint Adams <clint@zsh.org> + + * 22479: Completion/Debian/Command/_lintian: _arguments -s. + +2006-05-30 Wayne Davison <wayned@users.sourceforge.net> + + * 22476: Src/pattern.c: silenced some compiler warnings and + improved the multibyte code a little. + +2006-05-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22474: most source files touched: use stdarg.h to implement + escape handling in error messages properly. + +2006-05-30 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: some option changes + for the upcoming 2.6.9 release. + +2006-05-30 Peter Stephenson <pws@csr.com> + + * 22473: Src/exec.c: modify zsh-users/10343 to print interpreter + using nice characters. Still not very satisfactory. + +2006-05-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22470: configure.ac: incorporate extensions to errno.h + searching found by <johann@myrkraverk.com> trying to maximise + matches and minimise the risk of finding the wrong file. + + * zsh-users/10343: Src/exec.c: make bad #! interpreters print a + more informative message. + +2006-05-28 Clint Adams <clint@zsh.org> + + * 22469: R. Ramkumar: Completion/Unix/Command/_mount: use + _canonical_paths. + + * 22468: R. Ramkumar: Completion/Unix/Command/_mount: fixes and + updates. + + * 22467: R. Ramkumar: Completion/Unix/Command/_canonical_paths: + utility function which completes all paths given to it, and also + tries to offer completions which point to the same file as one of + the paths given. + +2006-05-26 Clint Adams <clint@zsh.org> + + * 22466: Src/mkmakemod.sh: cope with autoconf 2.60 config.status + syntax. + + * 22465: Config/defs.mk.in: add datarootdir for substitution + in order to cope with change in autoconf CVS. + +2006-05-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22464: Src/Zle/zle_main.c: an error in prompt substitution could + cause bad recursion karma. + +2006-05-25 Wayne Davison <wayned@users.sourceforge.net> + + * 22454, Hideki ONO: Completion/Unix/Command/_ls: added support + for *BSD's version of ls. + +2006-05-25 Clint Adams <clint@zsh.org> + + * 22457, R. Ramkumar: Completion/Unix/Command/_mpc: + fix buggy quoting of zstyle contexts. + + * 22456, R. Ramkumar: Completion/Unix/Command/_mpc: + update for mpc 0.11.2. + + * 22455, R. Ramkumar: Completion/Linux/Command/_valgrind: + update for valgrind 3.1.1. + +2006-05-22 Peter Stephenson <pws@csr.com> + + * 22451: Doc/Zsh/expn.yo: cross-reference ${^spec} in brace + expansion. + +2006-05-20 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_bzr: added a bunch of missing + options and a couple more missing subcommands. Also made all the + long-name options that take args allow a '=' to be used to specify + the value. + +2006-05-20 Clint Adams <clint@zsh.org> + + * 22450: Completion/Unix/Command/_tcptraceroute: completion for + tcptraceroute. + + * 22449: Completion/Unix/Command/_tracepath: completion for + tracepath and tracepath6. + +2006-05-19 Peter Stephenson <pws@csr.com> + + * 22448: Src/Zle/zle_params.c: fix typo in get_rbuffer() that + could cause crash examining $RBUFFER in completion code. + +2006-05-18 Clint Adams <clint@zsh.org> + + * 22446: Completion/Debian/Command/_bts: acknowledge that + tags is an alias of tag. + +2006-05-12 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_bzr: added a bunch of + missing subcommands and unified mv/move/rename. + +2006-05-12 Peter Stephenson <pws@csr.com> + + * unposted: Doc/Zsh/params.yo: improve documentation for $$ + and $PPID. + + * unposted: Doc/Zsh/compsys.yo: document that _list_files + uses the builtin stat, c.f. 22440. + + * 22440: Completion/Unix/Type/_list_files: loaded zsh/stat + if not needed, which screwed up external stat programmes. + +2006-05-05 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_bzr: fixed the completion + of "bzr upgrade" and the subcommands that lookup the parent + URL. Also added subcommands "checkout" and "update". + +2006-05-01 Clint Adams <clint@zsh.org> + + * 22436: Completion/Unix/Command/_pax: completion for + OpenBSD pax. + +2006-04-30 Clint Adams <clint@zsh.org> + + * 22435: Completion/Unix/Command/_comm: completion for + GNU comm. + +2006-04-28 Clint Adams <clint@zsh.org> + + * 22434, intrigeri@boum.org: + Completion/Linux/Command/_vserver: completion for vserver. + +2006-04-26 Clint Adams <clint@zsh.org> + + * 22433, R. Ramkumar: Completion/Unix/Command/_mpc: + add completion for --no-status option. + +2006-04-25 Peter Stephenson <pws@csr.com> + + * 22432: Src/pattern.c: bug with backtracking over repeated + single parameters. + + * 22431: Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, + Src/Zle/zle_vi.c: expand 22427 to set WIDGET etc. more + consistently when executing functions. + + * 22429: Src/pattern.c: bug with pure string matching + introduced by 22408. + + * 22427: Doc/Zsh/zle.yo, Src/Zle/zle_thingy.c: zle <widget> -w + sets WIDGET etc. to reflect <widget>. + +2006-04-24 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * zsh-users/10172: Doc/Zsh/zle.yo, Src/Zle/iwidgets.list, + Src/Zle/zle_keymap.c: read-command reads a key sequence as + in normal zle operation but sets REPLY to the result instead + of executing it. + +2006-04-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Functions/Misc/zmathfuncdef: improve recognition + of parameter expansions. + +2006-04-23 Clint Adams <clint@zsh.org> + + * Francisco Borges: users/10162: updated _aptitude. + + * 22425: Completion/Unix/Command/_surfraw: update for + new surfraw debsec elvi from Micah Anderson. + +2006-04-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Doc/Zsh/contrib.yo: documentation for 22417. + + * unposted: Doc/Zsh/contrib.yo, Functions/MIME/pick-web-browser: + add some styles for commands. + + * 22416, tweaked: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo, + Functions/Misc/.distfiles, Functions/Misc/zcalc, + Functions/Misc/zmathfuncdef, Src/builtin.c, Src/exec.c, + Src/module,c, Src/math.c, Src/module.c, Src/zsh.h, + Test/C04funcdef.ztst: user-defined math functions via + shell functions. + +2006-04-14 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_raggle: update for version + 0.4.4 + +2006-04-13 Clint Adams <clint@zsh.org> + + * 22418: Completion/Unix/Command/_env, + Completion/Zsh/Command/_precommand: completion for + GNU env. + +2006-04-11 Peter Stephenson <pws@csr.com> + + * 22417: Functions/MIME/zsh-mime-handler: also + allow autocd to work and add *(/) to the default + execute-as-is. + +2006-04-11 Wayne Davison <wayned@users.sourceforge.net> + + * 22415: Doc/Makefile.in: changed how we call install-info so that + we work with Debian's (broken) version as well as GNU's version. + +2006-04-09 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22409: Src/pattern.c: fix compilation with --disable-multibyte. + + * 22408: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/options.c, + Src/pattern.c, Src/utils.c, Src/zsh.h, Src/Zle/zle.h: add + MULTIBYTE option, (#u) and (#U) globbing flags, and support + for multibyte characters in patterns. + + * 22407: Functions/MIME/zsh-mime-handler: and it needs NULL_GLOB, + too. + +2006-04-06 Peter Stephenson <pws@csr.com> + + * 22405: Functions/MIME/zsh-mime-handler: pattern matching + in 22394 needed tweaking. + +2006-04-05 Clint Adams <clint@zsh.org> + + * 22404: Completion/Unix/Command/_cowsay: + completion for cowsay. + +2006-04-05 Peter Stephenson <pws@csr.com> + + * 22394, R. Ramkumar, plus doc as 22043: + Functions/MIME/zsh-mime-handler, Doc/Zsh/contrib.yo: + execute-as-is style for MIME suffixes. + + * 22393, R. Ramkumar, plus doc, 22402: + Completion/Unix/Type/_hosts, Doc/Zsh/compsys.yo: use-ip and + known-hosts-files styles. + + * 22375: Doc/Zsh/expn.yo: somehow the doc got missed out. + +2006-04-04 Clint Adams <clint@zsh.org> + + * 22392: Completion/Linux/Command/_analyseplugin: + completion for ladspa's analyseplugin. + +2006-03-29 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/10107: Doc/Zsh/jobs.yo: SIGQUIT is ignored by the shell. + +2006-03-28 Wayne Davison <wayned@users.sourceforge.net> + + * 22390: Completion/Unix/Command/_bzr: an improved version + that completes options and context-sensitive filenames. + +2006-03-27 Wayne Davison <wayned@users.sourceforge.net> + + * SF bug #1262954: Src/jobs.c: fixed a compilation problem + when HAVE_GETRUSAGE is defined but HAVE_WAIT3 is not. + +2006-03-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * users/10087: Src/parse.c: "case foo in" didn't turn off + aliases for "in", unlike "for" and "select". + +2006-03-26 Clint Adams <clint@zsh.org> + + * 22386: Completion/X/Command/_acroread: fix acroread + version detection according to Bart's 22385. + +2006-03-25 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Zle/zle_thingy.c: fixed undefined function + reference (call to zwarnname() should have been zwarnnam()). + +2006-03-22 Peter Stephenson <pws@csr.com> + + * 22375 with tweak from Wayne, 22376: Doc/Zsh/expn.yo, + Src/subst.c: ${(0)...} splits on null bytes. + +2006-03-21 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * zsh-users/10047 : Doc/Zsh/zle.yo, Src/Zle/zle_thingy.c, + Functions/Zle/read_from_minibuffer: add and use -K option + to select keymap for use with widget. + +2006-03-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22638: MACHINES: compilation with cc on Irix 6.5. + +2006-03-20 Clint Adams <clint@zsh.org> + + * 22371, 22372: Src/Zle/zle.h, Src/Zle/zle_word.c: use + only alphanumerics and underscores as word characters + with vi bindings. + +2006-03-20 Peter Stephenson <pws@csr.com> + + * 22360, 22365: Makefile.in, README, Config/installfns.sh, + Doc/Makefile.in, Doc/META-FAQ.yo, Doc/zmacros.yo, Doc/zman.yo, + Doc/zsh.yo, Doc/ztexi.yo, Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo, + Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/files.yo, + Doc/Zsh/func.yo, Doc/Zsh/index.yo, Doc/Zsh/mod_mathfunc.yo, + Doc/Zsh/mod_zftp.yo, Doc/Zsh/mod_zselect.yo, Doc/Zsh/options.yo, + Doc/Zsh/tcpsys.yo, Doc/Zsh/zftpsys.yo, Doc/Zsh/zle.yo: support + version 2 of Yodl. + +2006-03-17 Clint Adams <clint@zsh.org> + + * 22364: Src/Builtins/rlimits.awk: add 'nice' and + 'rt_priority' rlimits (NICE and RTPRIO). + + * 22366: Src/Zle/zle_word.c: better handling for + multibyte-character-containing words in vi widgets. + +2006-03-16 Clint Adams <clint@zsh.org> + + * 22349: Completion/X/Command/_nautilus: completion for + nautilus. + +2006-03-13 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Modules/zftp.c: got rid of a compiler warning + and split two C statements that shouldn't have been on one line. + +2006-03-13 Peter Stephenson <pws@csr.com> + + * users/10013: Util/helpfiles: fix use of zshall for generating. + +2006-03-09 Wayne Davison <wayned@users.sourceforge.net> + + * users/10007: Francisco Borges: Doc/Zsh/options.yo: Added + missing <D> for HIST_SAVE_BY_COPY. + + * 22335: Src/Zle/zle_thingy.c: fix some compiler warnings and + ensure that zmod gets restored properly in bin_zle_call(). + +2006-03-08 Peter Stephenson <pws@csr.com> + + * 22337: Src/builtin.c: debugging code omitted from 22331. + +2006-03-07 Wayne Davison <wayned@users.sourceforge.net> + + * 22301: Completion/Base/Completer/_expand: enable alises for the + expansion of $(...) and `...`. + + * 22271 (updated): Src/subst.c, Src/linklist.c, Src/zsh.h: got rid + of the mult_isarr global from subst.c by using the LinkList's new + flag integer. + + * unposted: Src/linklist.c, Src/zsh.h: changed the previous-node + pointer in a "struct linknode" from "last" to "prev". + + * 22331: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/hist.c, + Src/init.c, Src/lex.c, Src/linklist.c, Src/module.c, Src/options.c, + Src/params.c, Src/parse.c, Src/prompt.c, Src/signals.c, Src/subst.c, + Src/utils.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/compctl.h, Src/Zle/complete.c, Src/Zle/compresult.c, + Src/Zle/computil.c, Src/Zle/zle_hist.c, Src/Zle/zle_main.c, + Src/Zle/zle_params.c, Src/Zle/zle_tricky.c, Src/Zle/zleparameter.c: + Changed some structures to avoid gcc's type-punned warnings. + +2006-03-07 Peter Stephenson <pws@csr.com> + + * 22328, modified: Completion/Unix/Type/_list_files, + Completion/Unix/Type/_path_files, Doc/Zsh/compsys.yo, + Doc/Zsh/compwid.yo, Src/Zle/comp.h, Src/Zle/compcore.c, + Src/Zle/complete.c: Option -o to compadd uses match + strings rather than display strings from -d for sorting; + _path_files uses _list_files to handle file-list style + which allows long format file lists. + + * unposted: Config/version.mk: belatedly update version + to 4.3.2-dev-1 to avoid clash with released version. + +2006-03-06 Barton E. Schaefer <schaefer@zsh.org> + + * 22321 plus tweak: Src/builtin.c, Src/mem.c, Src/params.c: + optimize 22318 by stealing some ideas from Andrey Borzenkov. + +2006-03-06 Peter Stephenson <pws@csr.com> + + * users/1097: Completion/Zsh/Type/_command_names, + Doc/Zsh/compsys.yo: rehash style for external commands. + +2006-03-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22318: Src/builtin.c: uniquifying special arrays was broken. + + * 22277: Test/C03traps.ztst: missed this. + +2006-03-02 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22317: Src/builtins.c, Src/exec.c: exiting the shell from + code forked from within a function doesn't maintain the + exit status. + + * 22277, 22281 plus tweaks: Src/exec.c, Src/jobs.c, Src/signals.c, + Test/C03traps.ztst: standardize behaviour of using wait builtin + with trapped signals. + +2006-03-02 Peter Stephenson <pws@csr.com> + + * unposted, but see 22307: configure.ac: turn all + "test $foo = bar" into "test x$foo = xbar" for safety. + +2006-03-01 Peter Stephenson <pws@csr.com> + + * unposted: MACHINES, README, Config/version.mk: information + and version number for 4.3.2. + +2006-03-01 Wayne Davison <wayned@users.sourceforge.net> + + * 22313: Src/utils.c: added the missing "mod_export" to + the declaration of makecommaspecial(). + +2006-02-28 Clint Adams <clint@zsh.org> + + * 22309: Completion/Unix/Command/_surfraw: update for + new surfraw debsec elvi. + +2006-02-28 Peter Stephenson <pws@csr.com> + + * 22306: configure.ac: fix warning with unset variable + in test. + + * unposted: zsh-4.3.1, finally. + + * unposted: Completion/Unix/Command/.distfiles: a couple + of files missing. + + * unposted: Functions/MIME/zsh-mime-handler: typo. + + * unposted: README: doc formats were out of date. + + * 22305 (slightly tweaked): README, + Completion/Unix/Type/_mailboxes, Doc/Zsh/compsys.yo: no default + for pine-directory since that could cause recursive search mayhem. + +2006-02-26 Clint Adams <clint@zsh.org> + + * 22302, 22303: Completion/Debian/Command/_schroot: + completion for schroot. + +2006-02-24 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: added the + options --copy-dirlinks, --no-H, and --no-hard-links. + +2006-02-21 Clint Adams <clint@zsh.org> + + * 22298: Completion/Unix/Command/_diffstat: completion + for diffstat. + +2006-02-20 Clint Adams <clint@zsh.org> + + * unposted: update config.guess and config.sub to + 2005-08-03 and 2005-07-08, respectively. + + * unposted: Completion/Debian/Command/.distfiles: add + _linda. + + * 22294: Completion/Unix/Command/_getconf: add GNU libc + confstrings to getconf completion. + +2006-02-20 Peter Stephenson <pws@csr.com> + + * unposted: 4.3.0-dev-5. + +2006-02-20 Clint Adams <clint@zsh.org> + + * 22289: Completion/Debian/Command/_linda: completion for + linda. + +2006-02-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22285: + Completion/Unix/Command/_imagemagick: handling of file arguments + didn't work. + Doc/Zsh/intro.yo: zshtcpsys and zshcontrib manual pages weren't + listed. + Functions/MIME/pick-web-browser: add Firefox. + Functions/MIME/zsh-mime-setup: take account of handler and flags + styles when listing. + +2006-02-19 Clint Adams <clint@zsh.org> + + * 22284: configure.ac, Src/glob.c, Src/hashtable.c, Src/init.c, + Src/params.c, Src/system.h, Src/Modules/stat.c: add + --disable-dynamic-nss configure switch to disable use of + getpw*(), getgr*(), initgroups() functions. + +2006-02-19 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Zle/compcore.c: made the allocation of a larger + string in add_match_data() choose a more efficient size. + + * unposted: Completion/Unix/Command/_rsync: added the missing + -h option for daemon mode. + +2006-02-18 Wayne Davison <wayned@users.sourceforge.net> + + * users/9936: Src/Zle/compcore.c: fixed the newest check for + invalid characters (it now parses the string as metafied). + +2006-02-17 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Test/D04parameter.ztst: a few minor additions. + +2006-02-16 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Type/_hosts: weed out hashed-entry + lines from the known_hosts file (these lines start with a '|'). + + * 22275: Doc/Zsh/expn.yo: a few more improvements in the + discussion of field splitting, the = flag, and SH_WORD_SPLIT. + + * 22273: Src/subst.c, Test/D04parameter.ztst, README: made + ${(A)=name:=word} not split on quoted whitespace and fixed + a typo in the README. + +2006-02-16 Peter Stephenson <pws@csr.com> + + * 22272: INSTALL, README, Config/version.mk, Etc/CONTRIBUTORS, + Etc/FAQ.yo: 4.3.0-dev-4. + +2006-02-15 Wayne Davison <wayned@users.sourceforge.net> + + * 22270; Src/subst.c, Test/D04parameter.ztst: fixed a long-standing + problem with ${name+$array$scalar}. + +2006-02-15 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: use zsh to + match files within directories generated from p4 output, so + as to get matching control working; style "glob" provides + backward compatibility. + +2006-02-15 Wayne Davison <wayned@users.sourceforge.net> + + * 22268: Src/subst.c, Test/D04parameter.ztst, Doc/Zsh/expn.yo, + Doc/Zsh/roadmap.yo: some fixes to variable expansion allows + ${1+"$@"} to work when shwordsplit is set (e.g. when emulating + sh). Fixed a couple other minor bugs too. + +2006-02-13 Wayne Davison <wayned@users.sourceforge.net> + + * 22217: Src/Zle/compcore.c: allow the insertion of invalid + multibyte characters using the $'\123' idiom. + + * 22215: Src/utils.c, Src/Zle/zle_tricky.c: fixed the completion of + filenames containing commas inside an open bracelist, including the + ability for the user to manually backslash escape commas. + + * unposted: Src/Zle/computil.c: replaced an algorithm that was + looking backward for a backslash because that can accidentally + quote a character after a "\\" sequence. + +2006-02-12 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22235: Eric Mangold: Completion/Unix/Command/_twisted: new + completion. + + * 22237: Vincent Steman: Completion/Unix/Command/_man: location of + packaged manual pages on NetBSD. + +2006-02-11 Clint Adams <clint@zsh.org> + + * 22234: Completion/Unix/Command/_quilt: Adeodato Simó's + quilt completion improvements. + +2006-02-09 Wayne Davison <wayned@users.sourceforge.net> + + * 22206: Src/Zle/zle.h, Src/Zle/zle_misc.c: fixed broken + suffix-removal in an --enable-multibyte configured zsh. + +2006-02-09 Clint Adams <clint@zsh.org> + + * unposted: Completion/Debian/Command/.distfiles, + Completion/Linux/Command/.distfiles, + Completion/Unix/Command/.distfiles: update + some .distfiles. + + * 22205: Completion/Unix/Command/_make: patch from + R.Ramkumar to use the argument to -C in make + completion. + +2006-02-07 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: One last new option + for the imminent 2.6.7 release of rsync. + +2006-02-07 Peter Stephenson <pws@csr.com> + + * 22200: Src/jobs.c: process text wasn't unmetafied for output. + + * 22198: README, Src/init.c, Src/params.c, Doc/Zsh/params.yo: + modify 22195 so that HOME gets set as before in native emulation. + +2006-02-06 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Modules/newuser.c: fixed return-without-value + compiler warning. + +2006-02-06 Peter Stephenson <pws@csr.com> + + * 22196: INSTALL, README, Config/version.mk: development + version 4.3.0-dev-3 + + * 22195: README, Src/init.c, Src/params.c, Src/subst.c, + Src/utils.c, Src/Modules/newuser.c: don't set HOME in the shell, + only if passed by the environment; handle the fallout. + +2006-02-05 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: A few more fixes + and improvements. + +2006-02-05 Clint Adams <clint@zsh.org> + + * 22193: Completion/Debian/Command/_wanna-build: completion + for wanna-build. + +2006-02-04 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22192: Danek Duvall: Completion/Unix/Type/_users: also remove + comments from .ssh/known_hosts. + +2006-02-03 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22191: from Danek Duvall: Completion/Unix/Type/_hosts, + Completion/Unix/Type/_users: neaten _hosts and make _users + more consistent. + +2006-02-03 Peter Stephenson <pws@csr.com> + + * 22187: Completion/Unix/Type/_hosts: don't trounce any global + $hosts; don't use hacky array assignment; do examine + ~/.ssh/known_hosts for default set of hosts to complete. + +2006-01-29 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: Added new options + for the upcoming 2.6.7 release of rsync. + +2006-01-29 Clint Adams <clint@zsh.org> + + * 22179: Completion/Unix/Command/_cplay: complete audio files + and playlists based on a list of file extensions provided + by Joe Wreschnig. + +2006-01-28 Clint Adams <clint@zsh.org> + + * 22174: Completion/Unix/Command/_vorbis: fix misspelling + of -Q for oggdec. + +2006-01-28 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22169: Doc/Zsh/zle.yo, Src/Zle/zle_keymap.c: hook function + zle-keymap-select called when $KEYMAP changes. + +2006-01-21 Clint Adams <clint@zsh.org> + + * 22168: Completion/Debian/Command/_bts: add options and + handling for new subcommands added in 22166 except for + cache and cleancache. + + * 22167: Completion/Unix/Command/_cp: completion for + GNU cp. + + * 22166: Completion/Debian/Command/_bts: add new + subcommands (clone, submitter, found, notfound, block, unblock, + user, usertag, package, owner, noowner, reportspam, cache, + cleancache). + +2006-01-18 Clint Adams <clint@zsh.org> + + * 22165: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, + Doc/Zsh/roadmap.yo: change "zshparams" to "zshparam". + +2006-01-17 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/prompt.c: Fixed 2 free()-related bugs in the + handling of %D. + +2006-01-16 Bart Schaefer <schaefer@zsh.org> + + * 22110 (slightly tweaked): Completion/Unix/Command/_su: complete + options, be more clever about determining the shell being used, + and treat the argument of the -c option as a command (cf. _sh). + +2006-01-13 Wayne Davison <wayned@users.sourceforge.net> + + * 22162: Src/prompt.c, Src/Modules/datetime.c, Src/Modules/stat.c: + some strings needed to be metafied: strftime values going into the + expansion of the prompt, and strftime/username/groupname values + that were assigned to a variable. + + * unposted: Src/prompt.c, Src/utils.c, Src/Zle/complist.c, + Src/Zle/zle_utils.c: got rid of some superfluous STOUC() uses, such + as the onces I recently added for the arg of nicechar() (which can + handle the int being a negative or positive value). + + * unposted: Src/Zle/zle_refresh.c: fixed an unused-variable + compiler warning when compiling the non-multibyte version of zsh. + +2006-01-12 Clint Adams <clint@zsh.org> + + * 22159: Completion/Linux/Command/_tpb: completion for tpb. + + * 22153: Completion/Linux/Command/_tpconfig: completion + for tpconfig. + +2006-01-11 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/zsh.h, Src/prompt.c, Src/utils.c, + Src/Zle/complist.c, Src/Zle/compmatch.c, Src/Zle/zle_main.c, + Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c: + more multibyte cleanup, including the MB_INVALID and MB_INCOMPLETE + defines to make the mbrtowc() and mbsrtowcs() return values clearer. + +2006-01-10 Peter Stephenson <pws@csr.com> + + * 22151: Src/text.c: a here-string got too many quotes when + output by which etc. + +2006-01-09 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/utils.c, Src/Zle/compmatch.c, Src/Zle/zle_utils.c: + a little more cleanup of the mbrtowc() code, including a bugfix + for my new code in sub_match() that needed to check for -2. + +2006-01-08 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Zle/zle_refresh.c, Src/Zle/zle_utils.c, + Src/Zle/complist.c, Src/Zle/compmatch.c: changed the code that + calls mbrtowc() to deal with its size_t return value as a size_t. + Also, use STOUC() on char values passed to nicechar(), make sure + that the mbstate_t object never gets left in an undefined state, + and fixed a problem in sub_match() when dealing with a character + that was assembled from multiple bytes. + + * 22140 (modified): Src/utils.c: Changed mb_niceformat() so that it + does not truncate a name that has an invalid character sequence in + the current character set (affected chars display as \M-... chars). + + * unposted: configure.ac: got rid of probe for wcswidth() and added + probes for fchown() and fchmod() (the latter changes were accidentally + left out of my 22091 patch). + + * unposted: Src/utils.c, Src/system.h: Changed the single spot + that used wcswidth() over to use wcwidth() and got rid of the + work-around for OpenBSD (which lacks wcswidth()). + +2006-01-08 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22146: Functions/Zle/define-composed-chars: typo in AE and OE + ligatures. + +2006-01-06 Peter Stephenson <pws@csr.com> + + * 22124: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: feep() + if getrestchar() indicates bad character. + + * 22123: configure.ac, Src/system.h: probe for wcswidth() and + assume 1 if not found. + +2006-01-05 Peter Stephenson <pws@csr.com> + + * 22118: Doc/Zsh/builtins.yo: fix documentation for what + happens when . does or does not appear in $cdpath. + +2006-01-04 Peter Stephenson <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: when deleting + a fix, complete only jobs for the changelist given; when + deleting changes, unless -f is given complete only changes + on the current client. + +2006-01-02 Clint Adams <clint@zsh.org> + + * 22113: Completion/Unix/Command/_last: allow single option + characters to be combined. + +2005-12-26 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Doc/Zsh/options.yo: A couple more improvements to the + HIST_SAVE_BY_COPY section. + +2005-12-25 Clint Adams <clint@zsh.org> + + * 22104, 22105: Completion/Unix/Command/_ssh: add + support for new options such as ControlMaster and + ControlPath, and for -M, -S, -O switches. + +2005-12-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * unposted: Scott Murray <semurray@ntlworld.com>: + Completion/Redhat/Command/_yum: update. + +2005-12-19 Peter Stephenson <pws@csr.com> + + * 22082: Src/Modules/stat.c: print out UID or GID instead + of ??? if the user or group name is unavailable. + +2005-12-18 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Etc/FAQ.yo, Doc/Zsh/contrib.yo: Changed some UTF-8 + closing-single-quotes into ASCII apostrophes. + +2005-12-18 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22095: INSTALL, Etc/FAQ.yo: more multibyte notes. + +2005-12-17 Wayne Davison <wayned@users.sourceforge.net> + + * 22091: Src/hist.c: improved HIST_SAVE_BY_COPY to have it (1) + preserve the group and permissions on the history file, and (2) + refuse to re-copy the history file if zsh's euid differs from + the file's uid (to avoid changing the file's owner). + +2005-12-15 Peter Stephenson <pws@csr.com> + + * 22085 and back off 22075: Src/system.h, Src/utils.c: we + may need <langinfo.h> even with MULTIBYTE_SUPPORT to get iconv. + + * 22076: INSTALL, Etc/FAQ.yo: more information on multibyte + handling. + + * users/9788: Doc/Zsh/expn.yo, Src/glob.c: add (oN) qualifier + for no sorting. + +2005-12-14 Bart Schaefer <schaefer@zsh.org> + + * 21814: Src/loop.c, Src/signals.c: if an error occurs in an + inline trap, set $? to 1, to match the behavior of pre-4.2 + versions of zsh. If and only if the trap is executed within the + "try" part of an "always" construct, also propagate the error + condition so that the "try" section is aborted. (Belated commit.) + +2005-12-14 Wayne Davison <wayned@users.sourceforge.net> + + * 22078: Src/utils.c: made ucs4toutf8() a static function (when + it's even defined). + +2005-12-14 Peter Stephenson <pws@csr.com> + + * 22075: Src/utils.c: assume the effect of __STDC_ISO_10646__ for + character conversion when --enable-multibyte is in effect (since + we do everywhere else). + +2005-12-12 Peter Stephenson <pws@csr.com> + + * unposted: Config/version.mk: aargh, didn't commit this for + 4.3.0-dev-2. + +2005-12-12 Wayne Davison <wayned@users.sourceforge.net> + + * 22071: Src/Zle/zle_hist.c: fixed a bug in zle_setline() where + it would set zlecs to -1 for an empty line. (Reported by Jun T.) + +2005-12-10 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 22069: Src/Zle/complist.c: completion listings didn't get + unmetafied. + +2005-12-10 Clint Adams <clint@zsh.org> + + * 22068: Completion/Debian/Command/_debdiff: completion + for debdiff. + +2005-12-09 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/Modules/newuser.c: fixed return-without-value + compiler warning. + +2005-12-09 Oliver Kiddle <opk@zsh.org> + + * 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 <clint@zsh.org> + + * 22065: Functions/TCP/tcp_read: cope with TCP output that + starts with "--". + +2005-12-09 Peter Stephenson <pws@csr.com> + + * 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 <p.w.stephenson@ntlworld.com> + + * 22056: Functions/MIME/zsh-mime-handler: restore original default + settings for current-shell and never-background styles. + +2005-12-07 Clint Adams <clint@zsh.org> + + * 22054: Completion/Linux/Command/_fusermount: + completion for fusermount. + + * 22055: Completion/Linux/Command/_sshfs: completion for + the FUSE sshfs. + +2005-12-06 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * Micah Anderson: 22052: Completion/Unix/Command/_surfraw: + improvements to surfraw completion. + +2005-12-05 Oliver Kiddle <opk@zsh.org> + + * 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 <schaefer@zsh.org> + + * 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 <p.w.stephenson@ntlworld.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <clint@zsh.org> + + * 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 <gcw@zsh.org> + + * unposted: Src/utils.c: fix prototype generation for non + multibyte compilation + +2005-11-25 Peter Stephenson <pws@csr.com> + + * 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 <opk@zsh.org> + + * 22022: Completion/Debian/Command/_dchroot: completion for dchroot + +2005-11-24 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 22013: INSTALL, NEWS, Completion/compinstall, + Functions/Newuser/zsh-newuser-install: initial go at a + working zsh-newuser-install function. + +2005-11-22 Clint Adams <clint@zsh.org> + + * 22012: Completion/Debian/Command/_mergechanges: + completion for mergechanges. + +2005-11-22 Peter Stephenson <pws@csr.com> + + * Mårten Svantesson <msv@kth.se>: 22011: + Completion/Unix/Command/_cvs: the -R options is more generally + available. + +2005-11-21 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * users/9688: Completion/Unix/Command/_ssh: improved + _ssh_hosts from Hannu Koivisto <azure@iki.fi>; also + rationalise reference to hosts to "remote host name". + +2005-11-17 Clint Adams <clint@zsh.org> + + * 22005: Completion/Unix/Command/_flasher: completion + for flasher utility for Nokia 770 Internet Tablet. + +2005-11-15 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <opk@zsh.org> + + * unposted: Completion/X/Command/qiv: fix completion of -F option + +2005-11-11 Clint Adams <clint@zsh.org> + + * 21999: Completion/Unix/Command/_gnutls: + completion for certtool and srptool. + + * 22000: Completion/Unix/Command/_totd: + completion for totdconfig. + +2005-11-10 Clint Adams <clint@zsh.org> + + * 21998: Completion/Unix/Command/_gnutls: + completion for gnutls-cli and gnutls-cli-debug. + +2005-11-10 Bart Schaefer <schaefer@zsh.org> + + * 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 <clint@zsh.org> + + * 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 <pws@csr.com> + + * 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 <p.w.stephenson@ntlworld.com> + + * Scott Murray <semurray@ntlworld.com>: users/9648: + Completion/Redhat/Command/_yum, + Completion/Redhat/Command/.distfiles: new yum completion. + +2005-11-05 Clint Adams <clint@zsh.org> + + * 21987: Completion/Unix/Command/_cplay: completion for + cplay. + + * 21988: Completion/Debian/Command/_dput: fix "simulare" + typo. + +2005-11-04 Peter Stephenson <pws@csr.com> + + * 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 <bor@zsh.org> + + * 21978: Src/Modules/stat.c: unmetafy file name before calling + system (l)stat + +2005-11-02 Peter Stephenson <pws@csr.com> + + * 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 <p.w.stephenson@ntlworld.com> + + * 21971: Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c: rewrite + pfxlen() for multibyte characters. + +2005-11-01 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <clint@zsh.org> + + * 21960: R. Ramkumar: Functions/Misc/zcalc: + put zcalc history file in ZDOTDIR if set. + +2005-10-30 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <clint@zsh.org> + + * 21946, 21947: Completion/Unix/Command/_gcc: update + options for ia32, amd64, and sparc. + +2005-10-28 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 21939: Src/Zle/zle_thingy.c: new UNMETACHECK() was too ruthless. + +2005-10-26 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 21936: Src/Zle/zle_refresh.c: fix one bug when deleting + an extra-wide character. + +2005-10-25 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 21935: Documentation for 21933. + + * 21933: R. Ramkumar <ramk@cse.iitm.ernet.in>: + Functions/MIME/zsh-mime-handler, Functions/MIME/zsh-mime-setup: + add three styles to the MIME system. + +2005-10-24 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 21912: Src/Modules/cap.c: silence unused parameter + compile warnings. + + * 21913: Completion/Unix/Command/_ping: completion + for ping. + +2005-10-23 Bart Schaefer <schaefer@zsh.org> + + * unposted: Src/prompt.c: fix --disable-multibyte compile error + introduced by 21906. + +2005-10-23 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 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 <p.w.stephenson@ntlworld.com> + + * 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 <clint@zsh.org> + + * 21902: Completion/Unix/Command/_xmlsoft: update for + xmllint 2.6.22. + +2005-10-21 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * unposted: Src/Zle/zle_refresh.c: fixed a compiler warning. + +2005-10-19 Peter Stephenson <p.w.stephenson@ntlworld.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 21885: Src/Zle/zle_refresh.c: Convert some large macros + into functions. + +2005-10-19 Peter Stephenson <pws@csr.com> + + * 21882: Src/prompt.c, Src/utils.c, Test/D01prompt.ztst: extend + prompt truncation to handle multibyte characters. + +2005-10-17 Bart Schaefer <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * unposted: Functions/Zle/define-composed-chars, + Doc/Zsh/contrib.yo: a few more miscellaneous composable symbols. + +2005-10-14 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 21778: Completion/Debian/Command/_piuparts: completion for + piuparts. + +2005-09-27 Bart Schaefer <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * 21769: Src/utils.c, Src/Zle/complist.c: fix some consequences of + 21730 in completion lists. + +2005-09-27 Clint Adams <clint@zsh.org> + + * Vincent Lefevre: 21767: Completion/Unix/Command/_subversion: + add ~ to the default svn status pattern. + +2005-09-26 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 21763: Completion/Unix/Command/_baz: remove stray + underscore. + +2005-09-24 Bart Schaefer <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <clint@zsh.org> + + * Stephen Rueger: 21744: Src/prompt.c: unconditionally assume + that \t or \n are not part of multi-byte characters. + +2005-09-20 Clint Adams <clint@zsh.org> + + * 21740: Completion/Unix/Command/_quilt: completion for + quilt. + +2005-09-20 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_rake: update for version 0.6.0 + +2005-09-13 Clint Adams <clint@zsh.org> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 21704, 21705: Completion/Unix/Command/_date: completion for + Solaris, FreeBSD, and OpenBSD. + +2005-09-06 Clint Adams <clint@zsh.org> + + * 21703: Completion/Unix/Command/_bzr: completion for bzr 0.0.7. + +2005-09-06 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 21698: Jean-Baptiste Quenot: Completion/Unix/Command/_ant: + recursive completion could change directory. + +2005-09-02 Clint Adams <clint@zsh.org> + + * 21696: Completion/Unix/Command/_date: completion for + GNU date. + +2005-09-02 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 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 <pws@csr.com> + + * users/9359: Francisco Borges: Completion/X/Command/_gv: + completion of ps and PDF files was broken for gv. + +2005-08-25 Clint Adams <clint@zsh.org> + + * 21683: Completion/X/Command/_urxvt: more fixes + to urxvt completion. + +2005-08-23 Clint Adams <clint@zsh.org> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <gcw@zsh.org> + + * unposted: Doc/Zsh/metafaq.yo, Etc/FAQ.yo: update some + mirror site information + +2005-08-19 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <bor@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <wayned@users.sourceforge.net> + + * 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 <wayned@users.sourceforge.net> + + * 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 <bor@zsh.org> + + * 21642: Src/Zle/compcore.c: cleanup for 21627, remove redundant + checks + +2005-08-16 Clint Adams <clint@zsh.org> + + * 21631: Src/Zle/compcore.c: make sure an unmetafied string is + passed to ztat to determine file type. + +2005-08-15 Andrey Borzenkov <bor@zsh.org> + + * 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 <clint@zsh.org> + + * 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 <wayned@users.sourceforge.net> + + * 21609: Src/glob.c: fixed the readlink() call in statfullpath(). + +2005-08-15 Felix Rosencrantz <f.rosencrantz@gmail.com> + + * 21611: Completion/X/Command/_mozilla: Added Firefox support. + +2005-08-15 Peter Stephenson <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <opk@zsh.org> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 21579: Thorsten Dahlheimer: Src/builtin.c: Made printf %s + handle embedded nuls in its arg. + +2005-08-09 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <opk@zsh.org> + + * 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 <clint@zsh.org> + + unposted: Completion/Unix/Command/_mencal: fix syntax error + introduced by recent cleanup. + +2005-08-02 Peter Stephenson <pws@csr.com> + + * 21557: Thorsten Dahlheimer: Src/glob.c: BRACE_CCL was broken + for character 255. + +2005-08-01 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <opk@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <wayned@users.sourceforge.net> + + * 21548: Completion/Unix/Command/_rsync: Made file completion + work after --include-from= and --exclude-from=. + +2005-07-28 Peter Stephenson <pws@csr.com> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 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 <wayned@users.sourceforge.net> + + * 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 <clint@zsh.org> + + * 21529: configure.ac, Src/zsh.mdd: move scriptdir to a scripts + subdir, and don't include Scripts in fpath. + +2005-07-26 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_rake: declare expl local + +2005-07-26 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 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 <wayned@users.sourceforge.net> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_php: add missing compset -S call + when completing directives + +2005-07-24 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <clint@zsh.org> + + * 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 <clint@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 21499: Doc/Makefile.in: use newer texi2html syntax. + +2005-07-20 Peter Stephenson <pws@csr.com> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_rake: add -s option to _arguments + +2005-07-19 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_python: escape colons in -W option + argument message + +2005-07-15 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_python: add missing -C option to + _arguments; complete script arguments with _normal + +2005-07-14 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> + + * 21466: Src/Modules/files.c: lstat() should be stat() in mkdir -p + test (from Fr. Br. George). + +2005-07-12 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * 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 <clint@zsh.org> + + * 21447: Completion/Unix/Command/_rubber: completion for + rubber, contributed by Emmanuel Hainry and Emmanuel + Beffara. + +2005-07-11 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * 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 <schaefer@zsh.org> + + * 21428: Travis Spencer: Src/Zle/computil.c: fix null pointer deref + on wrong number of arguments to compvalues. + +2005-07-10 Bart Schaefer <schaefer@zsh.org> + + * 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 <clint@zsh.org> + + * 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 <pws@csr.com> + + * users/9059: Nikolai Weibull: Completion/Unix/Command/_vim: + improved _vim_files. + +2005-07-07 Peter Stephenson <pws@csr.com> + + * users/9049: Completion/Unix/Command/_vim: add variant names + of vim, but not yet vi, ex, view. + + * users/9045: Nikolai Weibull + <mailing-lists.zsh-users@rawuncut.elitemail.org>: + Completion/Unix/Command/_vim: new completion function. + +2005-07-06 Peter Stephenson <pws@csr.com> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_links: declare parameter vals + local + +2005-06-28 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * 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 <pws@csr.com> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Type/_urls: complete WWW_HOME, ftp_proxy + and https_proxy with URLs + +2005-06-27 Peter Stephenson <pws@csr.com> + + * 21387: Doc/Zsh/contrib.yo: document the precision features + in zcalc. + +2005-06-26 Clint Adams <clint@zsh.org> + + * 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 <clint@zsh.org> + + * 21382: Completion/Unix/Command/_kvno: completion for MIT + krb5's kvno. + +2005-06-24 Oliver Kiddle <opk@zsh.org> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 21334: Completion/Linux/Command/_pkgtool: fix typo in -target_dir + completion + +2005-06-21 Oliver Kiddle <opk@zsh.org> + + * 21317: Src/glob.c, Test/D02glob.ztst: fix bug where recursive + glob within e qualifier would hang the shell + +2005-06-20 Bart Schaefer <schaefer@zsh.org> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_darcs: tidy up command + descriptions + +2005-06-17 Oliver Kiddle <opk@zsh.org> + + * 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 <clint@zsh.org> + + * 21351: Completion/X/Command/_vnc: complete for xvnc4viewer and + xtightvncviewer. + +2005-06-14 Clint Adams <clint@zsh.org> + + * 21243: Kazuhiro NISHIYAMA: Completion/Unix/Command/_subversion: + complete first option of svn subcmds. + +2005-06-13 Bart Schaefer <schaefer@zsh.org> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_less: fix typo in state name + +2005-06-08 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_ant: add missing options specific + to the launch script + +2005-06-08 Oliver Kiddle <opk@zsh.org> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Zsh/Command/_dirs: fix typo in opt description + +2005-06-06 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_raggle: fix typo in tag name + +2005-06-02 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * 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 <pws@csr.com> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 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 <gcw@zsh.org> + + * 21290: configure.ac: don't need backslash quoting within single-quote + areas. Change constant RE boundary characters to slash. + +2005-05-30 Oliver Kiddle <opk@zsh.org> + + * 21266: Completion/Unix/Command/_mh: improve completion of sequences + +2005-05-26 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * 21275 (modified): Completion/Unix/Command/_raggle: update raggle + completion for version 0.4.0 + +2005-05-23 Bart Schaefer <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * unposted: Completion/Unix/Command/_webbrowser: add firefox to + list of basic URL completed web browsers + +2005-05-17 Peter Stephenson <pws@csr.com> + + * 21264: Doc/Zsh/arith.yo: document the return status of (( ... )). + +2005-05-17 Geoff Wing <gcw@zsh.org> + + * unposted: Etc/FAQ.yo: update mirror sites + +2005-05-13 Oliver Kiddle <opk@zsh.org> + + * 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 <a66@h8.dion.ne.jp> + + * users/8826: Completion/Darwin/Type/_retrieve_mac_apps: search + applications using spotlight. + +2005-05-12 Felix Rosencrantz <f.rosencrantz@gmail.com> + + * 21257: Completion/Unix/Command/_perforce: fix minor typo + in completion for the p4 password command. + +2005-05-11 Oliver Kiddle <opk@zsh.org> + + * 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 <opk@zsh.org> + + * 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 <schaefer@zsh.org> + + * 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 <clint@zsh.org> + + * 21239: Completion/Unix/Command/_ccal: completion for + ccal. + +2005-05-09 Peter Stephenson <pws@csr.com> + + * 21211: Doc/Zsh/expn.yo, Src/pattern.c, Test/D02glob.ztst: + Add [[:IDENT:]], [[:IFS:]], [[:IFSSPACE:]], [[:WORD:]] tests. + +2005-05-08 Bart Schaefer <schaefer@zsh.org> + + * 21235, 21236: Completion/Unix/Command/_ssh: fix remote filename + quoting and wrong exit status, both in _remote_files. + +2005-05-07 Clint Adams <clint@zsh.org> + + * Jesse Weinstein: 21233: Completion/Debian/Command/_dpkg: + completion for dpkg-query. + +2005-05-06 Bart Schaefer <schaefer@zsh.org> + + * 21229: Doc/Makefile.in: fix fake build run when yodl isn't found + +2005-05-05 Clint Adams <clint@zsh.org> + + * Jesse Weinstein: 21230 (reformatted as 21231): + Completion/Debian/Command/_dpkg: complete -W/--show + for dpkg-deb. + +2005-04-30 Bart Schaefer <schaefer@zsh.org> + + * 21215: Test/C03traps.ztst: clean up TRAPEXIT file left behind by + autoloaded trap test. + +2005-04-27 Peter Stephenson <pws@csr.com> + + * 21197: Src/exec.c, Src/signals.c: LOCAL_TRAPS didn't restore + a trap when modified inside another trap. + +2005-04-27 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 21170: Src/glob.c, Src/pattern.c: optimise length calculations + which were causing inefficiency in ${...//.../...} on large + string. + +2005-04-22 Geoff Wing <gcw@zsh.org> + + * 20162: Src/Zle/compresult.c: in printlist() don't output new line + if we haven't printed anything + +2005-04-21 Clint Adams <clint@zsh.org> + + * users/8733: Completion/Unix/Command/_surfraw: rudimentary + completion for surfraw. + +2005-04-19 Clint Adams <clint@zsh.org> + + * 21156: Completion/Debian/Command/_dpkg: tweaks to + dpkg-reconfigure completion. + +2005-04-18 Felix Rosencrantz <f_rosencrantz@gmail.com> + + * 21154: Completion/Unix/Command/_perforce: add pid completion for + monitor (clear|terminate) commands. + +2005-04-17 Clint Adams <clint@zsh.org> + + * 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 <schaefer@zsh.org> + + * unposted (see 21148): Test/A04redirect.ztst: update test for + change in error message. + +2005-04-16 Clint Adams <clint@zsh.org> + + * 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 <pws@csr.com> + + * 21143: Src/exec.c, Src/Modules/socket.c: be more careful when + closing or opening sockets onto file descriptors. + +2005-04-14 Peter Stephenson <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 21064: Test/D03procsubst.ztst: test case for 21049. + +2005-04-13 Peter Stephenson <pws@csr.com> + + * 21136: Test/C03traps.ztst: don't leave TRAPEXIT file lying + around in Test directory. + +2005-04-12 Clint Adams <clint@zsh.org> + + * 21135: Completion/Unix/Command/_screen: complete attached + sessions after screen -x. + +2005-04-12 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * unposted: config.guess, config.sub: update to 2005-03-24 and + 2005-02-10, respectively. + +2005-04-08 Clint Adams <clint@zsh.org> + + * 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 <opk@zsh.org> + + * 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 <clint@zsh.org> + + * 21096: Completion/X/Command/_gv: update for gv 3.6, + which uses double-hyphen options. + +2005-04-06 Peter Stephenson <pws@csr.com> + + * Carlos Phillips <carlos.phillips@mail.mcgill.ca>: + private email: Completion/Unix/Command/_darcs: much improved + completion for darcs. + +2005-04-05 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: Made --address + work for both client- and daemon-mode. + +2005-04-05 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <bor@zsh.org> + + * 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 <opk@zsh.org> + + * 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 <pws@csr.com> + + * 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 <opk@zsh.org> + + * 21076: Completion/Unix/Command/_subversion: use _files with + (e) glob qualifier to handle completing files by their status + +2005-03-27 Clint Adams <clint@zsh.org> + + * 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 <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: Added --protocol. + +2005-03-27 Clint Adams <clint@zsh.org> + + * 21068: Completion/Unix/Command/_subversion: complete modified + files for 'svn revert'. + +2005-03-27 Andrey Borzenkov <bor@zsh.org> + + * 21066: Completion/Unix/Command/_rsync: rsync:// URL support, + fix modules completion, strip remote banners + +2005-03-24 Andrey Borzenkov <bor@zsh.org> + + * 21053: Completion/X/Command/_kfmclient: use kde search path + to find profiles in openProfile + +2005-03-22 Andrey Borzenkov <bor@zsh.org> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 21046: Completion/Base/Completer/_approximate: use extra tests + and "always" block to make unfunction of compadd more reliable. + +2005-03-21 Peter Stephenson <pws@csr.com> + + * 21045: Src/Zle/compcore.c, Src/Zle/complete.c: more places + where completion didn't handled Meta characters. + +2005-03-21 Oliver Kiddle <opk@zsh.org> + + * Stephen Rüger: 21019: Completion/Unix/Command/_mpc: + new completion for mpc + +2005-03-21 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 20978: Src/zle_main.c: don't propagate EOFs from recursive + edit. + +2005-03-11 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: A few more tweaks + to the various --*-dest options. + +2005-02-28 Philippe Troin <phil@fifi.org> + + * 20886: configure.ac: Use TTOU with trap rather than SIGTTOU. + +2005-03-13 Bart Schaefer <schaefer@zsh.org> + + * unposted: Functions/Prompts/prompt_bart_setup: Update to some + 4.2.2+ features, and add special handling for nopromptcr. + +2005-03-11 Bart Schaefer <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * 20966: Src/Zle/zle_misc.c: need to copy strings to avoid + crash in completion for execute-named-command. + +2005-03-09 Clint Adams <clint@zsh.org> + + * 20961: Completion/Unix/Command/_baz: fix completion of status and + diff subcommands. + +2005-03-10 Andrey Borzenkov <bor@zsh.org> + + * 20957: Completion/Unix/Command/_fuser: + Add support for Solaris and SVR4 + +2005-03-10 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 20955: README, Src/builtin.c: "unset foo" should return + status 0 if foo was not set. + +2005-03-09 Motoi Washida <a66@h8.dion.ne.jp> + + * 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 <clint@zsh.org> + + * 20951: Completion/Unix/Command/_baz: fix version detection + and baz merge completion. + +2005-03-07 Clint Adams <clint@zsh.org> + + * 20946: Completion/Linux/Command/_iwconfig: completion for + iwconfig command. + +2005-03-07 Peter Stephenson <pws@csr.com> + + * 20945: Src/Zle/zle_misc.c: rename static variables to + avoid clash with "cmdstr" exported by zle_tricky.c. + +2005-03-07 Clint Adams <clint@zsh.org> + + * 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 <bor@zsh.org> + + * Tobias Gruetzmacher: 20932: Completion/X/Command/_kfmclient: + Add copy command + +2005-03-04 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> + + * 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 <a66@h8.dion.ne.jp> + + * unposted: Completion/Darwin/Command/_softwareupdate: new completion + + * unposted: Completion/Darwin/Command/_hdiutil: arguments are + required after -imagekey, -srcimagekey options + +2005-03-03 Oliver Kiddle <opk@zsh.org> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 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 <wayned@users.sourceforge.net> + + * 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 <clint@zsh.org> + + * 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 <rows> <columns>. + +2005-03-01 Peter Stephenson <pws@csr.com> + + * 20897: Completion/Unix/Command/_a2ps: complete system printers + as well as those configured into a2ps. + +2005-02-28 Peter Stephenson <pws@csr.com> + + * 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 <bor@zsh.org> + + * 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 <pws@csr.com> + + * 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 <opk@zsh.org> + + * 20867: Completion/Unix/Command/_ant: handle imported files + that are specified using a relative path + +2005-02-24 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> + + * 20866: Src/Zle/zle_misc.c: two mistakes in 20861. + +2005-02-24 Oliver Kiddle <opk@zsh.org> + + * 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 <pws@csr.com> + + * 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 <bor@zsh.org> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 20847: Completion/compaudit: stop adding gratuitous + elements to fpath when MARK_DIRS is set. + +2005-02-23 Andrey Borzenkov <bor@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <a66@h8.dion.ne.jp> + + * users/8522: Completion/Darwin/Command/_defaults: fixed the + number of spaces broken while sending the patch by email. + +2005-02-18 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 20816: Src/Builtins/rlimits.awk: extra tricks to get limit + names and numbers required with new glibc. + +2005-02-15 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_yodl: Added missing + closing double-quote. + +2005-02-09 Bart Schaefer <schaefer@zsh.org> + + * Kris Shannon: 20801: Completion/Unix/Command/_init_d: fix + missing $ in the param expansion that parses the init script. + +2005-02-07 Peter Stephenson <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * (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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 20777: Test/A06assign.ztst, Test/C02cond.ztst: tests for + users/8422 and 20774. + +2005-02-01 Bart Schaefer <schaefer@zsh.org> + + * 20774: Src/exec.c: fix e.g. "FOO=BAR BAR=FOO echo" failure to + unset FOO after finishing. + +2005-02-01 Clint Adams <clint@zsh.org> + + * 20773: Completion/Unix/Command/_getconf: additional variables + from confstr(). + +2005-02-01 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * users/8433: configure.ac: Latest Cygwin hangs on FIFO test, + so tell it explicitly that FIFOs don't work. + +2005-01-26 Clint Adams <clint@zsh.org> + + * 20753: Src/system.h, Src/Zle/zle_params.c: use ZS_memmove + instead of memmove. + +2005-01-26 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 20747, 20751: Src/Zle/zle_refresh.c, Src/system.h: some + wide char support in the zle refresh code. + +2005-01-26 Peter Stephenson <pws@csr.com> + + * 20750: Src/zle_utils.c: 20742 could cause hang when line + resized to empty. + +2005-01-25 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 20737, 20739: Completion/Unix/Command/_subversion: run svn + commands with LC_MESSAGES=C. + +2005-01-22 Clint Adams <clint@zsh.org> + + * 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 <schaefer@zsh.org> + + * unposted (cf. zsh-users/8409): Functions/Zle/keeper: "keeper" + suite from unixreview.com article. + +2005-01-21 Oliver Kiddle <opk@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * unposted: suggested by Bart: Etc/FAQ.yo: update a few entries. + +2005-01-17 Oliver Kiddle <opk@zsh.org> + + * Motoi Washida: users/8380: Completion/Darwin/Command/_defaults: + complete plist files + +2005-01-16 Clint Adams <clint@zsh.org> + + * 20718: Src/Zle/zle_utils.c: minor cleanup for proto-Unicode + stuff. + +2005-01-14 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <opk@zsh.org> + + * 20701: Src/system.h: fix compilation on Mac OS X + +2005-01-12 Peter Stephenson <pws@csr.com> + + * 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 -<NUM>. + +2005-01-11 Clint Adams <clint@zsh.org> + + * 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 <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 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 <clint@zsh.org> + + * 20665: Completion/Unix/Command/_gnome-gv, + Completion/Unix/Type/_pspdf: improve completion for + ggv/gnome-gv. + +2005-01-10 Peter Stephenson <pws@csr.com> + + * 20661: Doc/Zsh/expn.yo, Src/glob.c: allow (+func) as shorthand + for (e:func:) in glob qualifier. + +2005-01-10 Oliver Kiddle <opk@zsh.org> + + * 20662: Completion/X/Command/_nedit: update for nedit 5.5 + +2005-01-09 Clint Adams <clint@zsh.org> + + * 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 <clint@zsh.org> + + * 20650: Completion/Unix/Command/_mencal: + completion for mencal. + + * 20649: Completion/Unix/Command/_cal: + completion for cal and ncal. + +2005-01-05 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 20639: Completion/Unix/Command/_bogofilter: + improve 'bogoutil' completion for 0.93.3.1. + +2004-12-25 Clint Adams <clint@zsh.org> + + * 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 <clint@zsh.org> + + * 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 <clint@zsh.org> + + * 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 <bor@zsh.org> + + * 20617: Completion/Linux/Command/_modutils: fix + completion of compressed modules on kernel 2.6; add + trivial insmod completion. + +2004-12-09 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <djkea2@gus.gscit.monash.edu.au> + + * 20601: Completion/Unix/Command/_python: update python completion for + version 2.4 + +2004-12-01 Wayne Davison <wayned@users.sourceforge.net> + + * 20595 (modified): Src/compat.c: some style tweaks to zchdir(). + +2004-12-01 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * 20587: Completion/Unix/Command/_screen: update screen completion for + version 4.00 + +2004-11-30 Peter Stephenson <pws@csr.com> + + * 20599: Test/C01arith.ztst: 20592 needs consequent test change. + +2004-11-29 Peter Stephenson <pws@csr.com> + + * 20591: Stephane Chazelas <Stephane_Chazelas@yahoo.fr>: + 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 <clint@zsh.org> + + * 20583: Completion/Unix/Command/_ssh: complete "modern" options + such as GSSAPIAuthentication. + +2004-11-27 Doug Kearns <djkea2@gus.gscit.monash.edu.au> + + * 20584: Completion/Unix/Command/_screen: offer multiuser screen + sessions for attaching/detaching + +2004-11-24 Clint Adams <clint@zsh.org> + + * 20578: Functions/Prompts/prompt_elite2_setup: + handle ttys with slashes in them. + +2004-11-23 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <djkea2@mugca.its.monash.edu.au> + + * 20571: Completion/Unix/Command/_java: update javac completion for + J2SE 5.0 + +2004-11-19 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * Motoi Washida <a66@h8.dion.ne.jp>: 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 <wayned@users.sourceforge.net> + + * 20551: Completion/Unix/Command/_make: handle $$ when + expanding variables. + +2004-11-09 Peter Stephenson <pws@csr.com> + + * Jussi Pakkanen <jpakkane@yahoo.com>: users/8189: + Completion/Unix/Command/_bittorrent: new completion. + +2004-11-05 Bart Schaefer <schaefer@zsh.org> + + * 20546: Src/Zle/compcore.c: fix "compadd -k assoc1 assoc2". + +2004-11-02 Clint Adams <clint@zsh.org> + + * 20539: Completion/Unix/Command/_make: avoid problems with + minus signs in expandVars(). + +2004-10-29 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 20522: Src/glob.c, Test/D02glob.ztst: must-match optimisation + was broken for pattern substitutions in parameters. + +2004-10-22 Wayne Davison <wayned@users.sourceforge.net> + + * 20510: Borzenkov Andrey: Src/jobs.c: Fixed the arg to a call + to times(). + +2004-10-22 Bart Schaefer <schaefer@zsh.org> + + * unposted (based on 20514): Completion/compinit: _comp_options + needs to include NO_kshtypeset. + +2004-10-22 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <wayned@users.sourceforge.net> + + * 20503: Alexey Tourbin: Doc/Zsh/compsys.yo: corrected the + completion-cache's default value. + +2004-10-18 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <num-> issue; add bogus quotation from Proust (it's + my file and I'll do what I like with it). + +2004-10-17 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 20490: Src/pattern.c, Src/zsh.h: use lengths for test strings in + patterns instead of null termination. + +2004-10-14 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * unposted: Completion/Unix/Command/_rsync: added options that + are new in rsync 2.6.3. + +2004-10-05 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <wayned@users.sourceforge.net> + + * unposted: Src/params.c: silenced two compiler warnings about + unused parameters. + +2004-10-01 Wayne Davison <wayned@users.sourceforge.net> + + * unposted: Src/builtin.c, Src/Modules/parameter.c: use convbase + instead of a "%d" format to convert a zlong. + +2004-10-01 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 20358: Completion/Unix/Command/_make: avoid potential gawk + locale bug by not using awk. + +2004-09-29 Bart Schaefer <schaefer@zsh.org> + + * 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 <clint@zsh.org> + + * 20414: Completion/Unix/Type/_diff_options: correct missing + minus in --unified, spotted by Paul Wagland. + +2004-09-27 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * 20391: Src/params.c: SHLVL didn't get updated in the + environment if it was already present. + +2004-09-20 Bart Schaefer <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * 20378: Matthias B <msb@winterdrache.de>: Src/params.c, + Src/utils.c, B02typeset.ztst: Fix bugs with metafied characters + in tied arrays. + +2004-09-16 Peter Stephenson <pws@csr.com> + + * 20364: Functions/Completer/_oldlist: use $WIDGETSTYLE. + +2004-09-13 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 20348: Doc/Zsh/zle.yo, Src/Zle/zle_params.c: Rejig WIDGETSTYLE + and add WIDGETFUNC. + +2004-09-09 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 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 <schaefer@zsh.org> + + * 20318: Src/builtin.c: fix subtle xtrace output bug introduced + by 20308. + +2004-09-03 Peter Stephenson <pws@csr.com> + + * 20308: Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, + Src/options.c, Src/zsh.h: add option EVAL_LINENO <Z> 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 <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 20283: Completion/Unix/Command/_ant: Improved the parsing + of the <target...> tag as suggested by Jean-Baptiste Quenot. + +2004-08-23 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * unposted: config.guess, config.sub: update to 2004-07-19 and + 2004-06-24, respectively. + +2004-08-13 Peter Stephenson <pws@csr.com> + + * unposted: Version 4.2.1. + +2004-08-11 Oliver Kiddle <opk@zsh.org> + + * 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 <schaefer@zsh.org> + + * 20244: Functions/Misc/zed: fix bug with editing of autoloaded + functions (introduced by 20089). + +2004-08-07 Oliver Kiddle <opk@zsh.org> + + * 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 <gcw@zsh.org> + + * 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 <pws@csr.com> + + * 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 <clint@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * unposted: Doc/Zsh/contrib.yo: documentation for "zargs". + +2004-07-23 Oliver Kiddle <opk@zsh.org> + + * 20180 (based on Jean-Baptiste Quenot's 20177): + Completion/Unix/Command/_killall: fix to work on BSD systems + + * Motoi Washida <a66@h8.dion.ne.jp>: 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 <opk@zsh.org> + + * Jean-Baptiste Quenot: 20167: Completion/Unix/Command/_ant: + find targets enclosed in single instead of double quotes + +2004-07-17 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> + + * 20173: Src/mem.c: crash when globbing lots of files; need to + NULLify fheap optimisation when reallocating a heap. + +2004-07-13 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <schaefer@zsh.org> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * unposted: Functions/Zle/.distfiles: add zed-set-file-name. + +2004-06-24 Bart Schaefer <schaefer@zsh.org> + + * unposted (see 20092): Completion/Zsh/Context/_condition: fix + typos in descriptions. + +2004-06-23 Peter Stephenson <pws@csr.com> + + * 20089: Doc/Zsh/contrib.yo, Functions/Misc/zed, + Functions/Zle/zed-set-file-name: various zed enhancements. + +2004-06-22 Clint Adams <clint@zsh.org> + + * 20091: Src/Modules/pcre.c: silence gcc "unused parameter" warnings. + +2004-06-22 Peter Stephenson <pws@csr.com> + + * 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 <schaefer@zsh.org> + + * 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 <clint@zsh.org> + + * 20081: Doc/Zsh/mod_pcre.yo: document -pcre-match condition. + +2004-06-18 Oliver Kiddle <opk@zsh.org> + + * 20077: Completion/Zsh/Command/_disable, + Completion/Zsh/Command/_enable: fix completion of reserved words + +2004-06-18 Peter Stephenson <pws@csr.com> + + * 20033: Completion/Base/Utility/_arguments: unconfirmed fix + for configure output parsing with square brackets. + +2004-06-17 Oliver Kiddle <opk@zsh.org> + + * 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 <opk@zsh.org> + + * users/7553: Completion/compdump, Completion/compinit: + include zsh version in dump file to avoid problems with upgrades + +2004-06-15 Clint Adams <clint@zsh.org> + + * 20055: Completion/Unix/Command/_tla: additions and fixes + from Jason McCarty. + +2004-06-09 Peter Stephenson <pws@csr.com> + + * c.f. 20034: Test/V03mathfunc.ztst: tests for the zsh/mathfunc + module. + +2004-06-08 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> + + * 20029: Src/Modules/mathfunc.c: rand48(seed) stopped being + random after the second call. + +2004-06-08 Peter Stephenson <pws@csr.com> + + * 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 <f_rosencrantz@yahoo.com> + + * 20002: Src/Zle/compmatch.c: Fix a problem with an inconsistent + struct change in cmp_anchors(). + +2004-06-03 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <wayned@users.sourceforge.net> + + * 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 <clint@zsh.org> + + * 19991: Completion/Unix/Command/_lynx: complete .htm files + too. + +2004-05-25 Peter Stephenson <pws@csr.com> + + * 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 <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * 19971: Src/exec.c, Src/params.c: use putenv to put "_" + into exec'd environment, avoiding horrific hack. + +2004-05-20 Wayne Davison <wayned@users.sourceforge.net> + + * 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 <pws@csr.com> + + * unposted: Completion/Unix/Command/_perforce: tweak + to allow changes and revisions with >, <, = qualifiers. + +2004-05-13 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> + + * 19941: Src/math.c, Test/C01arith.ztst: (( x, )) triggered + an internal bug instead of reporting an error. + +2004-05-13 Peter Stephenson <pws@csr.com> + + * 19936: Functions/Misc/zcalc: bad name for temporary history + file invites clashes. + +2004-05-12 Peter Stephenson <pws@csr.com> + + * 19920 modified c.f. 19921: Src/mem.c: attempt to improve + behaviour of hrealloc, particularly when using mmap(). + +2004-05-11 Wayne Davison <wayned@users.sourceforge.net> + + * 19893 (plus one extra tweak): Src/hist.c: Fix the + potential for an infinite loop in lockhistfile(). + +2004-05-05 Wayne Davison <wayned@users.sourceforge.net> + + * 19878: Src/utils.c: a single-character change fixes the + new strftime() return-check idiom. + +2004-05-04 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 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 <clint@zsh.org> + + * 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 <clint@zsh.org> + + * 19845: Completion/Debian/Command/_apt-move: apt-move + completion function from Steven Kowalik. + +2004-04-27 Peter Stephenson <pws@csr.com> + + * 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 <djkea2@mugca.its.monash.edu.au> + + * unposted: Completion/Unix/Command/_aap: short and long options + are mutually exclusive + +2004-04-23 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <opk@zsh.org> + + * 19806: Src/prompt.c: fix bug with %v expansion and negative index + +2004-04-20 Peter Stephenson <pws@csr.com> + + * 19801: Src/builtin.c: Autoloading of TRAP functions was never + implemented. + +2004-04-20 Oliver Kiddle <opk@zsh.org> + + * 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 <clint@zsh.org> + + * 19798: Completion/Unix/Command/.distfiles, + Completion/Unix/Command/_bogofilter: rudimentary completion for + bogoutil. + +2004-04-19 Peter Stephenson <pws@csr.com> + + * 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 <clint@zsh.org> + + * 19792: Completion/X/Command/_mplayer: complete .m2v and .m2p, + thanks to Rene H. Larsen. + +2004-04-17 Oliver Kiddle <opk@zsh.org> + + * 19790: Completion/Zsh/Command/_zcompile: complete functions + after -a and allow multiple -z/-k options + +2004-04-17 Doug Kearns <djkea2@mugca.its.monash.edu.au> + + * 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 <pws@csr.com> + + * see 19778 etc.: Doc/Makefile.in: remove change from 19735. + +2004-04-15 Clint Adams <clint@zsh.org> + + * 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 <clint@zsh.org> + + * Jay Berkenbilt: 19769: Completion/Unix/Command/_rsync: + fix quoting for remote file completion, add -L to ls command. + +2004-04-14 Oliver Kiddle <opk@zsh.org> + + * 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 <wayned@users.sourceforge.net> + + * 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 <opk@zsh.org> + + * 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 <pws@csr.com> + + * Peter Castro <doctor@fruitbat.org>: 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 <pws@csr.com> + + * 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 <pws@pwstephenson.fsnet.co.uk> + + * 19717: Doc/Zsh/expn.y, Src/glob.c: use F glob qualifier + for `full' (non-empty) directories. + +2004-03-31 Bart Schaefer <schaefer@zsh.org> + + * 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 <opk@zsh.org> + + * 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 <clint@zsh.org> + + * 19691: Completion/Unix/Type/_diff_options: Allow more than + one --exclude or -x to diff. + +2004-03-25 Peter Stephenson <pws@csr.com> + + * 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 <pws@csr.com> + + * 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 <pws@csr.com> + + * 19661: Danek Duvall: Completion/Unix/Type/_diff_options: + support diff -u on Solaris from 2.10 up. + +2004-03-22 Clint Adams <clint@zsh.org> + + * 19673: Peter Palfrader: Completion/Unix/Command/_cvs: + tags can contain the + character. + +2004-03-22 Peter Stephenson <pws@pwstephenson.fsnet.co.uk> + + * 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 <schaefer@zsh.org> + + * 19666 (tweaked): Completion/Unix/Command/_ssh: fixes for remote + file completion for scp, suggested by Jay Berkenbilt <ejb@ql.org>. + + * users/7172: Functions/Prompts/prompt_bart_setup: include "unset" + among the localoptions, as this relies on it. diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo index eb1399b0f..7c41ff53e 100644 --- a/Etc/FAQ.yo +++ b/Etc/FAQ.yo @@ -301,9 +301,8 @@ sect(On what machines will it run?) sect(What's the latest version?) - Zsh 5.0.0 is the latest production version, replacing the now - rather antiquated 4.2.7. For details of all the changes, see - the NEWS file in the source distribution. + Zsh 5.0.1 is the latest production version. For details of all the + changes, see the NEWS file in the source distribution. A beta of the next version is sometimes available. Development of zsh is patch by patch, with each intermediate version publicly available. Note diff --git a/Etc/relnote_5.0.0.txt b/Etc/relnote_5.0.0.txt new file mode 100644 index 000000000..b0f0063b0 --- /dev/null +++ b/Etc/relnote_5.0.0.txt @@ -0,0 +1,8 @@ +Version 5.0.0 of zsh is the new stable release. There are many changes +since the last stable release series, 4.2, of which the most important +is handling of multibyte characters. The file NEWS in the distribution +gives more information. The file README details some incompatibilities +with previous versions, mostly minor. + +Users of the development release series will not see major changes since +the previous release, 4.3.17. diff --git a/Functions/Misc/zmv b/Functions/Misc/zmv index 86a8fce9c..4ba664e6d 100644 --- a/Functions/Misc/zmv +++ b/Functions/Misc/zmv @@ -279,7 +279,7 @@ fi for f in $files; do [[ -z $to[$f] ]] && continue exec=($action ${=opt_o} $opt_s -- $f $to[$f]) - [[ -n $opt_i$opt_n$opt_v ]] && print -r -- ${(q)exec} + [[ -n $opt_i$opt_n$opt_v ]] && print -r -- ${(q-)exec} if [[ -n $opt_i ]]; then read -q 'opt?Execute? ' || continue fi diff --git a/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil b/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil index 551528361..a44b33eb5 100644 --- a/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil +++ b/Functions/VCS_Info/Backends/VCS_INFO_detect_fossil @@ -7,7 +7,7 @@ setopt localoptions NO_shwordsplit [[ $1 == '--flavours' ]] && return 1 VCS_INFO_check_com ${vcs_comm[cmd]} || return 1 -vcs_comm[detect_need_file]=_FOSSIL_ +vcs_comm[detect_need_file]="_FOSSIL_ .fslckout" VCS_INFO_bydir_detect . || return 1 return 0 diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_git b/Functions/VCS_Info/Backends/VCS_INFO_get_data_git index 9364fd021..e40571a0e 100644 --- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_git +++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_git @@ -129,12 +129,13 @@ rrn=${gitbase:t} local patchdir=${gitdir}/patches/${gitbranch} if [[ -d $patchdir ]] ; then - local -a stgit_applied stgit_unapplied + local -a stgit_applied stgit_unapplied stgit_all stgit_applied=(${(f)"$(< "${patchdir}/applied")"}) stgit_applied=( ${(Oa)stgit_applied} ) stgit_unapplied=(${(f)"$(< "${patchdir}/unapplied")"}) stgit_unapplied=( ${(oa)stgit_unapplied} ) + stgit_all=( ${(Oa)stgit_applied} ${stgit_unapplied} ) if VCS_INFO_hook 'gen-applied-string' "${stgit_applied[@]}"; then if (( ${#stgit_applied} )); then @@ -158,10 +159,10 @@ if [[ -d $patchdir ]] ; then zstyle -s ":vcs_info:${vcs}:${usercontext}:${rrn}" nopatch-format stgitmsg || stgitmsg="no patch applied" fi hook_com=( applied "${stgitpatch}" unapplied "${stgitunapplied}" - applied-n ${#stgit_applied} unapplied-n ${#stgit_unapplied} ) + applied-n ${#stgit_applied} unapplied-n ${#stgit_unapplied} all-n ${#stgit_all} ) if VCS_INFO_hook 'set-patch-format' "${stgitmsg}"; then zformat -f stgitmsg "${stgitmsg}" "p:${hook_com[applied]}" "u:${hook_com[unapplied]}" \ - "n:${#stgit_applied}" "c:${#stgit_unapplied}" + "n:${#stgit_applied}" "c:${#stgit_unapplied}" "a:${#stgit_all}" else stgitmsg=${hook_com[patch-replace]} fi diff --git a/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg b/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg index a1b87f59e..cedaf5676 100644 --- a/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg +++ b/Functions/VCS_Info/Backends/VCS_INFO_get_data_hg @@ -37,12 +37,15 @@ VCS_INFO_adjust # Calling the 'hg' program is quite a bit too slow for prompts. # Disabled by default anyway, so no harm done. if zstyle -t ":vcs_info:${vcs}:${usercontext}:${rrn}" get-revision ; then - # Calling hexdump is (much) faster than hg but doesn't get the local rev if zstyle -t ":vcs_info:${vcs}:${usercontext}:${rrn}" use-simple \ && ( VCS_INFO_check_com hexdump ) && [[ -r ${dirstatefile} ]] ; then + # Calling hexdump is (much) faster than hg but doesn't get the local rev r_csetid=$(hexdump -n 20 -e '1/1 "%02x"' ${dirstatefile}) else - hgid_args=( --debug id -i -n -b ) + # Settling for a short (but unique!) hash because getting the full + # 40-char hash in addition to all the other info we want isn't + # available in a single hg invocation + hgid_args=( id -i -n -b ) # Looking for changes is a tad bit slower since the dirstate cache must # first be refreshed before being read @@ -119,7 +122,7 @@ if zstyle -t ":vcs_info:${vcs}:${usercontext}:${rrn}" get-bookmarks \ && [[ -r "${bmfile}" ]] && [[ -n "$r_csetid" ]] ; then while read -r i_bmhash i_bmname ; do # Compare hash in bookmarks file with changeset id - [[ $r_csetid == $i_bmhash ]] && hgbmarks+=( $i_bmname ) + [[ $i_bmhash == $r_csetid* ]] && hgbmarks+=( $i_bmname ) done < ${bmfile} if VCS_INFO_hook 'gen-hg-bookmark-string' "${hgbmarks[@]}"; then @@ -213,13 +216,13 @@ if zstyle -T ":vcs_info:${vcs}:${usercontext}:${rrn}" get-mq \ fi hook_com=( applied "${applied_string}" unapplied "${unapplied_string}" - applied-n ${#mqpatches} unapplied-n ${#mqunapplied} + applied-n ${#mqpatches} unapplied-n ${#mqunapplied} all-n ${#mqseries} guards "${guards_string}" guards-n ${#mqguards} ) if VCS_INFO_hook 'set-patch-format' ${qstring}; then zformat -f hgmqstring "${hgmqstring}" \ "p:${hook_com[applied]}" "u:${hook_com[unapplied]}" \ - "n:${#mqpatches}" "c:${#mqunapplied}" \ + "n:${#mqpatches}" "c:${#mqunapplied}" "a:${#mqseries}" \ "g:${hook_com[guards]}" "G:${#mqguards}" else hgmqstring=${hook_com[patch-replace]} diff --git a/Functions/VCS_Info/VCS_INFO_quilt b/Functions/VCS_Info/VCS_INFO_quilt index fc127c23b..7001eca07 100644 --- a/Functions/VCS_Info/VCS_INFO_quilt +++ b/Functions/VCS_Info/VCS_INFO_quilt @@ -89,7 +89,7 @@ function VCS_INFO_quilt() { local patches pc tmp qstring root local -i ret local -x context - local -a applied unapplied applied_string unapplied_string quiltcommand + local -a applied unapplied all applied_string unapplied_string quiltcommand local -Ax hook_com context=":vcs_info:${vcs}.quilt-${mode}:${usercontext}:${rrn}" @@ -142,6 +142,8 @@ function VCS_INFO_quilt() { unapplied=() fi + all=( ${(Oa)applied} ${unapplied} ) + if VCS_INFO_hook 'gen-applied-string' "${applied[@]}"; then if (( ${#applied} )); then applied_string=${applied[1]} @@ -164,10 +166,10 @@ function VCS_INFO_quilt() { zstyle -s "${context}" nopatch-format qstring || qstring="no patch applied" fi hook_com=( applied "${applied_string}" unapplied "${unapplied_string}" - applied-n ${#applied} unapplied-n ${#unapplied} ) + applied-n ${#applied} unapplied-n ${#unapplied} all-n ${#all} ) if VCS_INFO_hook 'set-patch-format' ${qstring}; then zformat -f qstring "${qstring}" "p:${hook_com[applied]}" "u:${hook_com[unapplied]}" \ - "n:${#applied}" "c:${#unapplied}" + "n:${#applied}" "c:${#unapplied}" "a:${#all}" else qstring=${hook_com[patch-replace]} fi diff --git a/Misc/vcs_info-examples b/Misc/vcs_info-examples index 0afb79084..b07bfc67c 100644 --- a/Misc/vcs_info-examples +++ b/Misc/vcs_info-examples @@ -129,32 +129,29 @@ zstyle ':vcs_info:*+*:*' debug false ### Truncate Long Hashes ### Truncate a long hash to 12 characters (which is usually unique enough) -# NOTE: On Mercurial this will hide the second parent hash during a merge -# (see an example below on how to retain both parents) # Use zformat syntax (remember %i is the hash): %12.12i # git: zstyle ':vcs_info:git*' formats "(%s)-[%12.12i %b]-" # hash & branch -# hg: -# First, remove the hash from the default 'branchformat': -zstyle ':vcs_info:hg:*' branchformat '%b' -# Then add the hash to 'formats' as %i and truncate it to 12 chars: -zstyle ':vcs_info:hg:*' formats ' (%s)-[%12.12i %b]-' -### hg: Truncate long hash to 12-chars but also allow for multiple parents -# Hashes are joined with a + to mirror the output of `hg id`. -zstyle ':vcs_info:hg+set-hgrev-format:*' hooks hg-shorthash -function +vi-hg-shorthash() { - local -a parents - - parents=( ${(s:+:)hook_com[hash]} ) - parents=( ${(@r:12:)parents} ) - hook_com[rev-replace]=${(j:+:)parents} - - ret=1 +### Fetch the full 40-character Mercurial revision id +# There is no great way to obtain branch, local rev, and untracked changes in +# addition to the full 40-character global rev id with a single invocation of +# Mercurial. This hook obtains the full global rev id using hexdump (in the +# same way the use-simple flag does) while retaining all the other vcs_info +# default functionality and information. +zstyle ':vcs_info:hg*+set-message:*' hooks hg-fullglobalrev + +# Output the full 40-char global rev id +function +vi-hg-fullglobalrev() { + local dirstatefile="${hook_com[base]}/.hg/dirstate" + local grevid="$(hexdump -n 20 -e '1/1 "%02x"' ${dirstatefile})" + # Omit %h from your hgrevformat since it will be included below + hook_com[revision]="${hook_com[revision]} ${grevid}" } + ### Display the existence of files not yet known to VCS ### git: Show marker (T) if there are untracked files in repository @@ -4,8 +4,32 @@ CHANGES FROM PREVIOUS VERSIONS OF ZSH Note also the list of incompatibilities in the README file. -Changes between 4.2 and 5.0 ---------------------------- +Changes since 5.0.0 +------------------- + +Numeric constants encountered in mathematical expressions (but not other +contexts) can contain underscores as separators that will be ignored on +evaluation, as allowed in other scripting languages. For example, +0xFFFF_FFFF, or 3.141_592_654. + +"functions -T" turns on tracing for the specified function(s) only, +similar to "functions -t" except that tracing is turned off for any +functions called from the specified one(s) that don't also have the -t +or -T flag. + +In file completion, the recursive-files style can be set to an array of +patterns to match against "$PWD/". In any matched location, it is +possibly to complete files in arbitrarily deep subdirectories without +needing to type the directory prefix. See example in the zshcompsys +manual. + +The _user_expand completer now allows expansion functions in the +user-expand files to return a string in REPLY that will be used to name +the set of expansions returned. + + +Changes between 4.2 and 5.0.0 +----------------------------- The following changes first appeared in the 4.3 series of releases; see also the file Etc/NEWS-4.3. @@ -5,11 +5,8 @@ THE Z SHELL (ZSH) Version ------- -This is version 5.0.0 of the shell. This is a stable release. -There have been only incremental changes since the last development -version, 4.3.17. The new major version number represents the -substantial changes since the 4.2 stable release series. The -changes are detailed in the file NEWS. +This is version 5.0.1 of the shell. This is a stable release. +There are minor new features as well as bug fixes since 5.0.0. Installing Zsh -------------- @@ -30,8 +27,38 @@ Zsh is a shell with lots of features. For a list of some of these, see the file FEATURES, and for the latest changes see NEWS. For more details, see the documentation. -Possible incompatibilities ---------------------------- +Incompatibilities between 5.0.0 and 5.0.1 +----------------------------------------- + +In 5.0.0, the new "sticky" emulation feature was applied to functions +explicitly declared within an expression following `emulate ... -c', but +did not apply to functions marked for autoload in that expression. This +was not documented and experience suggests it was inconvenient, so in +5.0.1 autoloads also have the sticky property. + +In other words, + + emulate zsh -c 'func() { ... }' + +behaves the same way in 5.0.0 and 5.0.1, with the function func always being +run in native zsh emulation regardless of the current option settings. +However, + + emulate zsh -c 'autoload -Uz func' + +behaves differently: in 5.0.0, func was loaded with the options in +effect at the point where it was first run, and subsequently run with +whatever options were in effect at that point; in 5.0.1, func is loaded +with native zsh emulation options and run with those same options. This +is now the recommended way of ensuring a function is loaded and run with +a consistent set of options. + +Note that the command `autoload -z' has never affected the options +applied when the function is loaded or run, only the effect of the +KSH_AUTOLOAD option at the point the function is loaded. + +Possible incompatibilities between 4.2 and 5.0 +---------------------------------------------- Here are some incompatibilities in the shell since the 4.2 series of releases. It is hoped most users will not be adversely affected by these. diff --git a/Src/Builtins/rlimits.awk b/Src/Builtins/rlimits.awk index 418206a66..bf914814d 100644 --- a/Src/Builtins/rlimits.awk +++ b/Src/Builtins/rlimits.awk @@ -42,6 +42,7 @@ BEGIN {limidx = 0} if (limnam == "MEMLOCK") { msg[limnum] = "Mmemorylocked" } if (limnam == "NOFILE") { msg[limnum] = "Ndescriptors" } if (limnam == "NPROC") { msg[limnum] = "Nmaxproc" } + if (limnam == "NTHR") { msg[limnum] = "Nmaxthr" } if (limnam == "OFILE") { msg[limnum] = "Ndescriptors" } if (limnam == "PTHREAD") { msg[limnum] = "Nmaxpthreads" } if (limnam == "RSS") { msg[limnum] = "Mresident" } diff --git a/Src/Builtins/rlimits.c b/Src/Builtins/rlimits.c index 670516169..eedfa969c 100644 --- a/Src/Builtins/rlimits.c +++ b/Src/Builtins/rlimits.c @@ -238,32 +238,32 @@ printulimit(char *nam, int lim, int hard, int head) switch (lim) { case RLIMIT_CORE: if (head) - printf("-c: core file size (blocks) "); + printf("-c: core file size (blocks) "); if (limit != RLIM_INFINITY) limit /= 512; break; case RLIMIT_DATA: if (head) - printf("-d: data seg size (kbytes) "); + printf("-d: data seg size (kbytes) "); if (limit != RLIM_INFINITY) limit /= 1024; break; case RLIMIT_FSIZE: if (head) - printf("-f: file size (blocks) "); + printf("-f: file size (blocks) "); if (limit != RLIM_INFINITY) limit /= 512; break; # ifdef HAVE_RLIMIT_SIGPENDING case RLIMIT_SIGPENDING: if (head) - printf("-i: pending signals "); + printf("-i: pending signals "); break; # endif # ifdef HAVE_RLIMIT_MEMLOCK case RLIMIT_MEMLOCK: if (head) - printf("-l: locked-in-memory size (kb) "); + printf("-l: locked-in-memory size (kbytes) "); if (limit != RLIM_INFINITY) limit /= 1024; break; @@ -273,7 +273,7 @@ printulimit(char *nam, int lim, int hard, int head) # if defined(HAVE_RLIMIT_RSS) && !defined(RLIMIT_VMEM_IS_RSS) && !defined(RLIMIT_RSS_IS_AS) case RLIMIT_RSS: if (head) - printf("-m: resident set size (kbytes) "); + printf("-m: resident set size (kbytes) "); if (limit != RLIM_INFINITY) limit /= 1024; break; @@ -281,7 +281,7 @@ printulimit(char *nam, int lim, int hard, int head) # if defined(HAVE_RLIMIT_VMEM) && defined(HAVE_RLIMIT_RSS) && defined(RLIMIT_VMEM_IS_RSS) case RLIMIT_VMEM: if (head) - printf("-m: memory size (kb) "); + printf("-m: memory size (kbytes) "); if (limit != RLIM_INFINITY) limit /= 1024; break; @@ -289,35 +289,41 @@ printulimit(char *nam, int lim, int hard, int head) # ifdef HAVE_RLIMIT_NOFILE case RLIMIT_NOFILE: if (head) - printf("-n: file descriptors "); + printf("-n: file descriptors "); break; # endif /* HAVE_RLIMIT_NOFILE */ # ifdef HAVE_RLIMIT_MSGQUEUE case RLIMIT_MSGQUEUE: if (head) - printf("-q: bytes in POSIX msg queues "); + printf("-q: bytes in POSIX msg queues "); break; # endif case RLIMIT_STACK: if (head) - printf("-s: stack size (kbytes) "); + printf("-s: stack size (kbytes) "); if (limit != RLIM_INFINITY) limit /= 1024; break; case RLIMIT_CPU: if (head) - printf("-t: cpu time (seconds) "); + printf("-t: cpu time (seconds) "); break; # ifdef HAVE_RLIMIT_NPROC case RLIMIT_NPROC: if (head) - printf("-u: processes "); + printf("-u: processes "); break; # endif /* HAVE_RLIMIT_NPROC */ +# ifdef HAVE_RLIMIT_NTHR + case RLIMIT_NTHR: + if (head) + printf("-r: threads "); + break; +#endif /* HAVE_RLIMIT_NTHR */ # if defined(HAVE_RLIMIT_VMEM) && (!defined(HAVE_RLIMIT_RSS) || !defined(RLIMIT_VMEM_IS_RSS)) case RLIMIT_VMEM: if (head) - printf("-v: virtual memory size (kb) "); + printf("-v: virtual memory size (kbytes) "); if (limit != RLIM_INFINITY) limit /= 1024; break; @@ -325,7 +331,7 @@ printulimit(char *nam, int lim, int hard, int head) # if defined HAVE_RLIMIT_AS && !defined(RLIMIT_VMEM_IS_AS) case RLIMIT_AS: if (head) - printf("-v: address space (kb) "); + printf("-v: address space (kbytes) "); if (limit != RLIM_INFINITY) limit /= 1024; break; @@ -333,13 +339,13 @@ printulimit(char *nam, int lim, int hard, int head) # ifdef HAVE_RLIMIT_LOCKS case RLIMIT_LOCKS: if (head) - printf("-x: file locks "); + printf("-x: file locks "); break; # endif /* HAVE_RLIMIT_LOCKS */ # ifdef HAVE_RLIMIT_AIO_MEM case RLIMIT_AIO_MEM: if (head) - printf("-N %2d: AIO locked-in-memory (kb) ", RLIMIT_AIO_MEM); + printf("-N %2d: AIO locked-in-memory (kbytes)", RLIMIT_AIO_MEM); if (limit != RLIM_INFINITY) limit /= 1024; break; @@ -347,44 +353,42 @@ printulimit(char *nam, int lim, int hard, int head) # ifdef HAVE_RLIMIT_AIO_OPS case RLIMIT_AIO_OPS: if (head) - printf("-N %2d: AIO operations ", RLIMIT_AIO_OPS); + printf("-N %2d: AIO operations ", RLIMIT_AIO_OPS); break; # endif /* HAVE_RLIMIT_AIO_OPS */ # ifdef HAVE_RLIMIT_TCACHE case RLIMIT_TCACHE: if (head) - printf("-N %2d: cached threads ", RLIMIT_TCACHE); + printf("-N %2d: cached threads ", RLIMIT_TCACHE); break; # endif /* HAVE_RLIMIT_TCACHE */ # ifdef HAVE_RLIMIT_SBSIZE case RLIMIT_SBSIZE: if (head) - printf("-N %2d: socket buffer size (kb) ", RLIMIT_SBSIZE); - if (limit != RLIM_INFINITY) - limit /= 1024; + printf("-b: socket buffer size (bytes) ", RLIMIT_SBSIZE); break; # endif /* HAVE_RLIMIT_SBSIZE */ # ifdef HAVE_RLIMIT_PTHREAD case RLIMIT_PTHREAD: if (head) - printf("-N %2d: threads per process ", RLIMIT_PTHREAD); + printf("-N %2d: threads per process ", RLIMIT_PTHREAD); break; # endif /* HAVE_RLIMIT_PTHREAD */ # ifdef HAVE_RLIMIT_NICE case RLIMIT_NICE: if (head) - printf("-e: max nice "); + printf("-e: max nice "); break; # endif /* HAVE_RLIMIT_NICE */ # ifdef HAVE_RLIMIT_RTPRIO case RLIMIT_RTPRIO: if (head) - printf("-r: max rt priority "); + printf("-r: max rt priority "); break; # endif /* HAVE_RLIMIT_RTPRIO */ default: if (head) - printf("-N %2d: ", lim); + printf("-N %2d: ", lim); break; } /* display the limit */ @@ -776,21 +780,31 @@ bin_ulimit(char *name, char **argv, UNUSED(Options ops), UNUSED(int func)) case 'c': res = RLIMIT_CORE; break; -# ifdef HAVE_RLIMIT_RSS - case 'm': - res = RLIMIT_RSS; +# ifdef HAVE_RLIMIT_SBSIZE + case 'b': + res = RLIMIT_SBSIZE; break; -# endif /* HAVE_RLIMIT_RSS */ +# endif /* HAVE_RLIMIT_SBSIZE */ # ifdef HAVE_RLIMIT_MEMLOCK case 'l': res = RLIMIT_MEMLOCK; break; # endif /* HAVE_RLIMIT_MEMLOCK */ +# ifdef HAVE_RLIMIT_RSS + case 'm': + res = RLIMIT_RSS; + break; +# endif /* HAVE_RLIMIT_RSS */ # ifdef HAVE_RLIMIT_NOFILE case 'n': res = RLIMIT_NOFILE; break; # endif /* HAVE_RLIMIT_NOFILE */ +# ifdef HAVE_RLIMIT_NTHR + case 'r': + res = RLIMIT_NTHR; + break; +# endif /* HAVE_RLIMIT_NTHR */ # ifdef HAVE_RLIMIT_NPROC case 'u': res = RLIMIT_NPROC; diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 4d29ba635..a029c9cb4 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -289,7 +289,7 @@ setfunction(char *name, char *val, int dis) shf = (Shfunc) zshcalloc(sizeof(*shf)); shf->funcdef = dupeprog(prog, 0); shf->node.flags = dis; - shf->emulation = sticky_emulation; + shfunc_set_sticky(shf); if (!strncmp(name, "TRAP", 4) && (sn = getsignum(name + 4)) != -1) { @@ -771,7 +771,7 @@ setpmoption(Param pm, char *value) zwarn("invalid value: %s", value); else if (!(n = optlookup(pm->node.nam))) zwarn("no such option: %s", pm->node.nam); - else if (dosetopt(n, (value && strcmp(value, "off")), 0)) + else if (dosetopt(n, (value && strcmp(value, "off")), 0, opts)) zwarn("can't change option: %s", pm->node.nam); zsfree(value); } @@ -784,7 +784,7 @@ unsetpmoption(Param pm, UNUSED(int exp)) if (!(n = optlookup(pm->node.nam))) zwarn("no such option: %s", pm->node.nam); - else if (dosetopt(n, 0, 0)) + else if (dosetopt(n, 0, 0, opts)) zwarn("can't change option: %s", pm->node.nam); } @@ -812,7 +812,7 @@ setpmoptions(UNUSED(Param pm), HashTable ht) if (!val || (strcmp(val, "on") && strcmp(val, "off"))) zwarn("invalid value: %s", val); else if (dosetopt(optlookup(hn->nam), - (val && strcmp(val, "off")), 0)) + (val && strcmp(val, "off")), 0, opts)) zwarn("can't change option: %s", hn->nam); } deleteparamtable(ht); diff --git a/Src/Zle/zle_keymap.c b/Src/Zle/zle_keymap.c index c3731c47b..e21e769bd 100644 --- a/Src/Zle/zle_keymap.c +++ b/Src/Zle/zle_keymap.c @@ -912,7 +912,7 @@ bin_bindkey_new(char *name, UNUSED(char *kmname), Keymap km, char **argv, UNUSED if(argv[1]) { km = openkeymap(argv[1]); if(!km) { - zwarnnam(name, "no such keymap `%s'", argv[0]); + zwarnnam(name, "no such keymap `%s'", argv[1]); return 1; } } else diff --git a/Src/Zle/zle_move.c b/Src/Zle/zle_move.c index 0e940bc21..d5f464c2c 100644 --- a/Src/Zle/zle_move.c +++ b/Src/Zle/zle_move.c @@ -679,7 +679,7 @@ vifindnextchar(char **args) if ((vfindchar = vigetkey()) != ZLEEOF) { vfinddir = 1; tailadd = 0; - return virepeatfind(args); + return vifindchar(0, args); } return 1; } @@ -691,7 +691,7 @@ vifindprevchar(char **args) if ((vfindchar = vigetkey()) != ZLEEOF) { vfinddir = -1; tailadd = 0; - return virepeatfind(args); + return vifindchar(0, args); } return 1; } @@ -703,7 +703,7 @@ vifindnextcharskip(char **args) if ((vfindchar = vigetkey()) != ZLEEOF) { vfinddir = 1; tailadd = -1; - return virepeatfind(args); + return vifindchar(0, args); } return 1; } @@ -715,14 +715,14 @@ vifindprevcharskip(char **args) if ((vfindchar = vigetkey()) != ZLEEOF) { vfinddir = -1; tailadd = 1; - return virepeatfind(args); + return vifindchar(0, args); } return 1; } /**/ int -virepeatfind(char **args) +vifindchar(int repeat, char **args) { int ocs = zlecs, n = zmult; @@ -735,6 +735,16 @@ virepeatfind(char **args) zmult = n; return ret; } + if (repeat && tailadd != 0) { + if (vfinddir > 0) { + if(zlecs < zlell && (ZLE_INT_T)zleline[zlecs+1] == vfindchar) + INCCS(); + } + else { + if(zlecs > 0 && (ZLE_INT_T)zleline[zlecs-1] == vfindchar) + DECCS(); + } + } while (n--) { do { if (vfinddir > 0) @@ -760,19 +770,28 @@ virepeatfind(char **args) /**/ int +virepeatfind(char **args) +{ + return vifindchar(1, args); +} + +/**/ +int virevrepeatfind(char **args) { int ret; if (zmult < 0) { zmult = -zmult; - ret = virepeatfind(args); + ret = vifindchar(1, args); zmult = -zmult; return ret; } + tailadd = -tailadd; vfinddir = -vfinddir; - ret = virepeatfind(args); + ret = vifindchar(1, args); vfinddir = -vfinddir; + tailadd = -tailadd; return ret; } diff --git a/Src/Zle/zle_tricky.c b/Src/Zle/zle_tricky.c index 6fa887a1e..78a9fa490 100644 --- a/Src/Zle/zle_tricky.c +++ b/Src/Zle/zle_tricky.c @@ -1071,7 +1071,8 @@ has_real_token(const char *s) static char * get_comp_string(void) { - int t0, tt0, i, j, k, cp, rd, sl, ocs, ins, oins, ia, parct, varq = 0; + enum lextok t0, tt0; + int i, j, k, cp, rd, sl, ocs, ins, oins, ia, parct, varq = 0; int ona = noaliases; /* * Index of word being considered @@ -1152,7 +1153,8 @@ get_comp_string(void) lexflags = LEXFLAGS_ZLE; inpush(dupstrspace(linptr), 0, NULL); strinbeg(0); - wordpos = tt0 = cp = rd = ins = oins = linarr = parct = ia = redirpos = 0; + wordpos = cp = rd = ins = oins = linarr = parct = ia = redirpos = 0; + tt0 = NULLTOK; /* This loop is possibly the wrong way to do this. It goes through * * the previously massaged command line using the lexer. It stores * @@ -1238,7 +1240,8 @@ get_comp_string(void) if (tt) break; /* Otherwise reset the variables we are collecting data in. */ - wordpos = tt0 = cp = rd = ins = redirpos = 0; + wordpos = cp = rd = ins = redirpos = 0; + tt0 = NULLTOK; } if (lincmd && (tok == STRING || tok == FOR || tok == FOREACH || tok == SELECT || tok == REPEAT || tok == CASE)) { @@ -1251,7 +1254,7 @@ get_comp_string(void) if (wordpos != redirpos) wordpos = redirpos = 0; } - if (!lexflags && !tt0) { + if (!lexflags && tt0 == NULLTOK) { /* This is done when the lexer reached the word the cursor is on. */ tt = tokstr ? dupstring(tokstr) : NULL; @@ -1352,7 +1355,7 @@ get_comp_string(void) (sl - 1) : (zlemetacs_qsub - wb)]); } } while (tok != LEXERR && tok != ENDINPUT && - (tok != SEPER || (lexflags && !tt0))); + (tok != SEPER || (lexflags && tt0 == NULLTOK))); /* Calculate the number of words stored in the clwords array. */ clwnum = (tt || !wordpos) ? wordpos : wordpos - 1; zsfree(clwords[clwnum]); @@ -1388,7 +1391,7 @@ get_comp_string(void) if (inwhat == IN_MATH) s = NULL; - else if (!t0 || t0 == ENDINPUT) { + else if (t0 == NULLTOK || t0 == ENDINPUT) { /* There was no word (empty line). */ s = ztrdup(""); we = wb = zlemetacs; diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c index cf6787f3a..d0e7b5542 100644 --- a/Src/Zle/zle_utils.c +++ b/Src/Zle/zle_utils.c @@ -1363,6 +1363,10 @@ static struct change *nextchanges, *endnextchanges; static zlong undo_changeno; +/* If non-zero, the last increment to undo_changeno was for the variable */ + +static int undo_set_by_variable; + /**/ void initundo(void) @@ -1373,6 +1377,7 @@ initundo(void) curchange->del = curchange->ins = NULL; curchange->dell = curchange->insl = 0; curchange->changeno = undo_changeno = 0; + undo_set_by_variable = 0; lastline = zalloc((lastlinesz = linesz) * ZLE_CHAR_SIZE); ZS_memcpy(lastline, zleline, (lastll = zlell)); lastcs = zlecs; @@ -1498,6 +1503,7 @@ mkundoent(void) ch->prev = NULL; } ch->changeno = ++undo_changeno; + undo_set_by_variable = 0; endnextchanges = ch; } @@ -1520,23 +1526,25 @@ setlastline(void) int undo(char **args) { - zlong last_change = (zlong)0; + zlong last_change; if (*args) - { last_change = zstrtol(*args, NULL, 0); - } + else + last_change = (zlong)-1; handleundo(); do { - if(!curchange->prev) + struct change *prev = curchange->prev; + if(!prev) return 1; - if (unapplychange(curchange->prev)) - curchange = curchange->prev; + if (prev->changeno < last_change) + break; + if (unapplychange(prev)) + curchange = prev; else break; - } while (*args ? curchange->changeno != last_change : - (curchange->flags & CH_PREV)); + } while (last_change >= (zlong)0 || (curchange->flags & CH_PREV)); setlastline(); return 0; } @@ -1660,6 +1668,16 @@ zlecallhook(char *name, char *arg) zlong get_undo_current_change(UNUSED(Param pm)) { - return undo_changeno; + if (undo_set_by_variable) { + /* We were the last to increment this, doesn't need another one. */ + return undo_changeno; + } + undo_set_by_variable = 1; + /* + * Increment the number in case a change is in progress; + * we don't want to back off what's already been done when + * we return to this change number. This eliminates any + * problem about the point where a change is numbered. + */ + return ++undo_changeno; } - diff --git a/Src/builtin.c b/Src/builtin.c index b5a98cbd2..90fe1a6c5 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -46,7 +46,7 @@ static struct builtin builtins[] = BUILTIN(".", BINF_PSPECIAL, bin_dot, 1, -1, 0, NULL, NULL), BUILTIN(":", BINF_PSPECIAL, bin_true, 0, -1, 0, NULL, NULL), BUILTIN("alias", BINF_MAGICEQUALS | BINF_PLUSOPTS, bin_alias, 0, -1, 0, "Lgmrs", NULL), - BUILTIN("autoload", BINF_PLUSOPTS, bin_functions, 0, -1, 0, "ktUwXz", "u"), + BUILTIN("autoload", BINF_PLUSOPTS, bin_functions, 0, -1, 0, "mktTUwXz", "u"), BUILTIN("bg", 0, bin_fg, 0, -1, BIN_BG, NULL, NULL), BUILTIN("break", BINF_PSPECIAL, bin_break, 0, 1, BIN_BREAK, NULL, NULL), BUILTIN("bye", 0, bin_break, 0, 1, BIN_EXIT, NULL, NULL), @@ -72,7 +72,7 @@ static struct builtin builtins[] = BUILTIN("fc", 0, bin_fc, 0, -1, BIN_FC, "aAdDe:EfiIlmnpPrRt:W", NULL), BUILTIN("fg", 0, bin_fg, 0, -1, BIN_FG, NULL, NULL), BUILTIN("float", BINF_PLUSOPTS | BINF_MAGICEQUALS | BINF_PSPECIAL, bin_typeset, 0, -1, 0, "E:%F:%HL:%R:%Z:%ghlprtux", "E"), - BUILTIN("functions", BINF_PLUSOPTS, bin_functions, 0, -1, 0, "kmMtuUz", NULL), + BUILTIN("functions", BINF_PLUSOPTS, bin_functions, 0, -1, 0, "kmMtTuUz", NULL), BUILTIN("getln", 0, bin_read, 0, -1, 0, "ecnAlE", "zr"), BUILTIN("getopts", 0, bin_getopts, 2, -1, 0, NULL, NULL), BUILTIN("hash", BINF_MAGICEQUALS, bin_hash, 0, -1, 0, "Ldfmrv", NULL), @@ -548,8 +548,8 @@ bin_set(char *nam, char **args, UNUSED(Options ops), UNUSED(int func)) /* Obsolescent sh compatibility: set - is the same as set +xv * * and set - args is the same as set +xv -- args */ if (!EMULATION(EMULATE_ZSH) && *args && **args == '-' && !args[0][1]) { - dosetopt(VERBOSE, 0, 0); - dosetopt(XTRACE, 0, 0); + dosetopt(VERBOSE, 0, 0, opts); + dosetopt(XTRACE, 0, 0, opts); if (!args[1]) return 0; } @@ -580,7 +580,7 @@ bin_set(char *nam, char **args, UNUSED(Options ops), UNUSED(int func)) } if(!(optno = optlookup(*args))) zerrnam(nam, "no such option: %s", *args); - else if(dosetopt(optno, action, 0)) + else if(dosetopt(optno, action, 0, opts)) zerrnam(nam, "can't change option: %s", *args); break; } else if(**args == 'A') { @@ -601,7 +601,7 @@ bin_set(char *nam, char **args, UNUSED(Options ops), UNUSED(int func)) else { if (!(optno = optlookupc(**args))) zerrnam(nam, "bad option: -%c", **args); - else if(dosetopt(optno, action, 0)) + else if(dosetopt(optno, action, 0, opts)) zerrnam(nam, "can't change option: -%c", **args); } } @@ -1414,6 +1414,12 @@ bin_fc(char *nam, char **argv, Options ops, int func) unqueue_signals(); return 0; } + + if (zleactive) { + zwarnnam(nam, "no interactive history within ZLE"); + return 1; + } + /* put foo=bar type arguments into the substitution list */ while (*argv && equalsplit(*argv, &s)) { Asgment a = (Asgment) zhalloc(sizeof *a); @@ -1727,8 +1733,12 @@ fclist(FILE *f, Options ops, zlong first, zlong last, if (f == stdout) { nicezputs(s, f); putc('\n', f); - } else - fprintf(f, "%s\n", s); + } else { + int len; + unmetafy(s, &len); + fwrite(s, 1, len, f); + putc('\n', f); + } } /* move on to the next history line, or quit the loop */ if (first < last) { @@ -2449,7 +2459,20 @@ bin_typeset(char *name, char **argv, Options ops, int func) && (locallevel == pm->level || !(on & PM_LOCAL))) { if (pm->node.flags & PM_TIED) { unqueue_signals(); - zerrnam(name, "can't tie already tied scalar: %s", asg0.name); + if (!strcmp(asg->name, pm->ename)) { + /* + * Already tied in the fashion requested. + */ + struct tieddata *tdp = (struct tieddata*)pm->u.data; + /* Update join character */ + tdp->joinchar = joinchar; + if (asg0.value) + setsparam(asg0.name, ztrdup(asg0.value)); + return 0; + } else { + zerrnam(name, "can't tie already tied scalar: %s", + asg0.name); + } return 1; } if (!asg0.value && !(PM_TYPE(pm->node.flags) & (PM_ARRAY|PM_HASHED))) @@ -2672,6 +2695,10 @@ bin_functions(char *name, char **argv, Options ops, int func) on |= PM_TAGGED; else if (OPT_PLUS(ops,'t')) off |= PM_TAGGED; + if (OPT_MINUS(ops,'T')) + on |= PM_TAGGED_LOCAL; + else if (OPT_PLUS(ops,'T')) + off |= PM_TAGGED_LOCAL; if (OPT_MINUS(ops,'z')) { on |= PM_ZSHSTORED; off |= PM_KSHSTORED; @@ -2861,7 +2888,7 @@ bin_functions(char *name, char **argv, Options ops, int func) if ((pprog = patcompile(*argv, PAT_STATIC, 0))) { /* with no options, just print all functions matching the glob pattern */ queue_signals(); - if (!(on|off)) { + if (!(on|off) && !OPT_ISSET(ops,'X')) { scanmatchtable(shfunctab, pprog, 1, 0, DISABLED, shfunctab->printnode, pflags); } else { @@ -2923,8 +2950,7 @@ bin_functions(char *name, char **argv, Options ops, int func) shf = (Shfunc) zshcalloc(sizeof *shf); shf->node.flags = on; shf->funcdef = mkautofn(shf); - /* No sticky emulation for autoloaded functions */ - shf->emulation = 0; + shfunc_set_sticky(shf); shfunctab->addnode(shfunctab, ztrdup(*argv), shf); if (signum != -1) { @@ -4987,11 +5013,15 @@ bin_emulate(UNUSED(char *nam), char **argv, Options ops, UNUSED(int func)) { int opt_L = OPT_ISSET(ops, 'L'); int opt_R = OPT_ISSET(ops, 'R'); - int saveemulation, savesticky_emulation, savehackchar; - int ret = 1; - char saveopts[OPT_SIZE]; + int saveemulation, savehackchar; + int ret = 1, new_emulation; + char saveopts[OPT_SIZE], new_opts[OPT_SIZE]; char *cmd = 0; const char *shname = *argv; + LinkList optlist; + LinkNode optnode; + Emulation_options save_sticky; + OptIndex *on_ptr, *off_ptr; /* without arguments just print current emulation */ if (!shname) { @@ -5024,7 +5054,7 @@ bin_emulate(UNUSED(char *nam), char **argv, Options ops, UNUSED(int func)) /* with single argument set current emulation */ if (!argv[1]) { - emulate(shname, OPT_ISSET(ops,'R')); + emulate(shname, OPT_ISSET(ops,'R'), &emulation, opts); if (OPT_ISSET(ops,'L')) opts[LOCALOPTIONS] = opts[LOCALTRAPS] = 1; return 0; @@ -5032,8 +5062,14 @@ bin_emulate(UNUSED(char *nam), char **argv, Options ops, UNUSED(int func)) argv++; memcpy(saveopts, opts, sizeof(opts)); + memcpy(new_opts, opts, sizeof(opts)); savehackchar = keyboardhackchar; - cmd = parseopts("emulate", &argv); + emulate(shname, OPT_ISSET(ops,'R'), &new_emulation, new_opts); + optlist = newlinklist(); + if (parseopts("emulate", &argv, new_opts, &cmd, optlist)) { + ret = 1; + goto restore; + } /* parseopts() has consumed anything that looks like an option */ if (*argv) { @@ -5041,6 +5077,9 @@ bin_emulate(UNUSED(char *nam), char **argv, Options ops, UNUSED(int func)) goto restore; } + saveemulation = emulation; + emulation = new_emulation; + memcpy(opts, new_opts, sizeof(opts)); /* If "-c command" is given, evaluate command using specified * emulation mode. */ @@ -5053,15 +5092,41 @@ bin_emulate(UNUSED(char *nam), char **argv, Options ops, UNUSED(int func)) } else return 0; - saveemulation = emulation; - savesticky_emulation = sticky_emulation; - emulate(shname, OPT_ISSET(ops,'R')); - sticky_emulation = emulation; + save_sticky = sticky; + sticky = hcalloc(sizeof(*sticky)); + sticky->emulation = emulation; + for (optnode = firstnode(optlist); optnode; incnode(optnode)) { + /* Data is index into new_opts */ + char *optptr = (char *)getdata(optnode); + if (*optptr) + sticky->n_on_opts++; + else + sticky->n_off_opts++; + } + if (sticky->n_on_opts) + on_ptr = sticky->on_opts = + zhalloc(sticky->n_on_opts * sizeof(*sticky->on_opts)); + else + on_ptr = NULL; + if (sticky->n_off_opts) + off_ptr = sticky->off_opts = zhalloc(sticky->n_off_opts * + sizeof(*sticky->off_opts)); + else + off_ptr = NULL; + for (optnode = firstnode(optlist); optnode; incnode(optnode)) { + /* Data is index into new_opts */ + char *optptr = (char *)getdata(optnode); + int optno = optptr - new_opts; + if (*optptr) + *on_ptr++ = optno; + else + *off_ptr++ = optno; + } ret = eval(argv); - sticky_emulation = savesticky_emulation; + sticky = save_sticky; emulation = saveemulation; - restore: memcpy(opts, saveopts, sizeof(opts)); +restore: keyboardhackchar = savehackchar; inittyptab(); /* restore banghist */ return ret; diff --git a/Src/compat.c b/Src/compat.c index e36de3219..cc4e876da 100644 --- a/Src/compat.c +++ b/Src/compat.c @@ -630,7 +630,7 @@ strtoul(nptr, endptr, base) #endif /* HAVE_STRTOUL */ /**/ -#ifdef BROKEN_WCWIDTH +#if defined(BROKEN_WCWIDTH) && (defined(__STDC_ISO_10646__) || defined(__APPLE__)) /* * This is an implementation of wcwidth() and wcswidth() (defined in @@ -949,5 +949,5 @@ int mk_wcswidth_cjk(const wchar_t *pwcs, size_t n) #endif /* 0 */ /**/ -#endif /* BROKEN_WCWIDTH */ +#endif /* BROKEN_WCWIDTH && (__STDC_ISO_10646__ || __APPLE__) */ diff --git a/Src/exec.c b/Src/exec.c index 6ebc9c014..1ecbc3967 100644 --- a/Src/exec.c +++ b/Src/exec.c @@ -404,7 +404,17 @@ execcursh(Estate state, int do_exec) /* Skip word only used for try/always */ state->pc++; - if (!list_pipe && thisjob != list_pipe_job && !hasprocs(thisjob)) + /* + * The test thisjob != -1 was added because sometimes thisjob + * can be invalid at this point. The case in question was + * in a precmd function after operations involving background + * jobs. + * + * This is because sometimes we bypass job control to execute + * very simple functions via execssimple(). + */ + if (!list_pipe && thisjob != -1 && thisjob != list_pipe_job && + !hasprocs(thisjob)) deletejob(jobtab + thisjob, 0); cmdpush(CS_CURSH); execlist(state, 1, do_exec); @@ -1064,7 +1074,7 @@ static int execsimple(Estate state) { wordcode code = *state->pc++; - int lv; + int lv, otj; if (errflag) return (lastval = 1); @@ -1075,6 +1085,13 @@ execsimple(Estate state) code = wc_code(*state->pc++); + /* + * Because we're bypassing job control, ensure the called + * code doesn't see the current job. + */ + otj = thisjob; + thisjob = -1; + if (code == WC_ASSIGN) { cmdoutval = 0; addvars(state, state->pc - 1, 0); @@ -1086,6 +1103,8 @@ execsimple(Estate state) } else lv = (execfuncs[code - WC_CURSH])(state, 0); + thisjob = otj; + return lastval = lv; } @@ -1188,6 +1207,9 @@ execlist(Estate state, int dont_change_job, int exiting) } else donedebug = intrap ? 1 : 0; + /* Reset donetrap: this ensures that a trap is only * + * called once for each sublist that fails. */ + donetrap = 0; if (ltype & Z_SIMPLE) { next = state->pc + WC_LIST_SKIP(code); if (donedebug != 2) @@ -1195,9 +1217,6 @@ execlist(Estate state, int dont_change_job, int exiting) state->pc = next; goto sublist_done; } - /* Reset donetrap: this ensures that a trap is only * - * called once for each sublist that fails. */ - donetrap = 0; /* Loop through code followed by &&, ||, or end of sublist. */ code = *state->pc++; @@ -4248,7 +4267,7 @@ execfuncdef(Estate state, UNUSED(int do_exec)) shf->node.flags = 0; shf->filename = ztrdup(scriptfilename); shf->lineno = lineno; - shf->emulation = sticky_emulation; + shfunc_set_sticky(shf); if (!names) { /* @@ -4300,6 +4319,46 @@ execfuncdef(Estate state, UNUSED(int do_exec)) return ret; } +/* Duplicate a sticky emulation */ + +/**/ + +mod_export Emulation_options +sticky_emulation_dup(Emulation_options src, int useheap) +{ + Emulation_options newsticky = useheap ? + hcalloc(sizeof(*src)) : zshcalloc(sizeof(*src)); + newsticky->emulation = src->emulation; + if (src->n_on_opts) { + size_t sz = src->n_on_opts * sizeof(*src->on_opts); + newsticky->n_on_opts = src->n_on_opts; + newsticky->on_opts = useheap ? zhalloc(sz) : zalloc(sz); + memcpy(newsticky->on_opts, src->on_opts, sz); + } + if (src->n_off_opts) { + size_t sz = src->n_off_opts * sizeof(*src->off_opts); + newsticky->n_off_opts = src->n_off_opts; + newsticky->off_opts = useheap ? zhalloc(sz) : zalloc(sz); + memcpy(newsticky->off_opts, src->off_opts, sz); + } + + return newsticky; +} + +/* Set the sticky emulation attributes for a shell function */ + +/**/ + +mod_export void +shfunc_set_sticky(Shfunc shf) +{ + if (sticky) + shf->sticky = sticky_emulation_dup(sticky, 0); + else + shf->sticky = NULL; +} + + /* Main entry point to execute a shell function. */ /**/ @@ -4313,7 +4372,9 @@ execshfunc(Shfunc shf, LinkList args) if (errflag) return; - if (!list_pipe && thisjob != list_pipe_job && !hasprocs(thisjob)) { + /* thisjob may be invalid if we're called via execsimple: see execcursh */ + if (!list_pipe && thisjob != -1 && thisjob != list_pipe_job && + !hasprocs(thisjob)) { /* Without this deletejob the process table * * would be filled by a recursive function. */ last_file_list = jobtab[thisjob].filelist; @@ -4458,6 +4519,45 @@ loadautofn(Shfunc shf, int fksh, int autol) } /* + * Check if a sticky emulation differs from the current one. + */ + +/**/ + +int sticky_emulation_differs(Emulation_options sticky2) +{ + /* If no new sticky emulation, not a different emulation */ + if (!sticky2) + return 0; + /* If no current sticky emulation, different */ + if (!sticky) + return 1; + /* If basic emulation different, different */ + if (sticky->emulation != sticky2->emulation) + return 1; + /* If differing numbers of options, different */ + if (sticky->n_on_opts != sticky2->n_on_opts || + sticky->n_off_opts != sticky2->n_off_opts) + return 1; + /* + * We need to compare option arrays, if non-null. + * We made parseopts() create the list of options in option + * order to make this easy. + */ + /* If different options turned on, different */ + if (sticky->n_on_opts && + memcmp(sticky->on_opts, sticky2->on_opts, + sticky->n_on_opts * sizeof(*sticky->on_opts)) != 0) + return 1; + /* If different options turned on, different */ + if (sticky->n_off_opts && + memcmp(sticky->off_opts, sticky2->off_opts, + sticky->n_off_opts * sizeof(*sticky->off_opts)) != 0) + return 1; + return 0; +} + +/* * execute a shell function * * name is the name of the function @@ -4484,11 +4584,13 @@ doshfunc(Shfunc shfunc, LinkList doshargs, int noreturnval) int *oldpipestats = NULL; char saveopts[OPT_SIZE], *oldscriptname = scriptname; char *name = shfunc->node.nam; - int flags = shfunc->node.flags; + int flags = shfunc->node.flags, ooflags; char *fname = dupstring(name); - int obreaks, saveemulation, savesticky_emulation, restore_sticky; + int obreaks, saveemulation, restore_sticky; Eprog prog; struct funcstack fstack; + static int oflags; + Emulation_options save_sticky = NULL; #ifdef MAX_FUNCTION_DEPTH static int funcdepth; #endif @@ -4526,9 +4628,9 @@ doshfunc(Shfunc shfunc, LinkList doshargs, int noreturnval) * function we need to restore the original options on exit. */ memcpy(saveopts, opts, sizeof(opts)); saveemulation = emulation; - savesticky_emulation = sticky_emulation; + save_sticky = sticky; - if (shfunc->emulation && sticky_emulation != shfunc->emulation) { + if (sticky_emulation_differs(shfunc->sticky)) { /* * Function is marked for sticky emulation. * Enable it now. @@ -4541,14 +4643,38 @@ doshfunc(Shfunc shfunc, LinkList doshargs, int noreturnval) * * This propagates the sticky emulation to subfunctions. */ - emulation = sticky_emulation = shfunc->emulation; + sticky = sticky_emulation_dup(shfunc->sticky, 1); + emulation = sticky->emulation; restore_sticky = 1; - installemulation(); + installemulation(emulation, opts); + if (sticky->n_on_opts) { + OptIndex *onptr; + for (onptr = sticky->on_opts; + onptr < sticky->on_opts + sticky->n_on_opts; + onptr++) + opts[*onptr] = 1; + } + if (sticky->n_off_opts) { + OptIndex *offptr; + for (offptr = sticky->off_opts; + offptr < sticky->off_opts + sticky->n_off_opts; + offptr++) + opts[*offptr] = 0; + } } else restore_sticky = 0; - if (flags & PM_TAGGED) + if (flags & (PM_TAGGED|PM_TAGGED_LOCAL)) opts[XTRACE] = 1; + else if (oflags & PM_TAGGED_LOCAL) + opts[XTRACE] = 0; + ooflags = oflags; + /* + * oflags is static, because we compare it on the next recursive + * call. Hence also we maintain ooflags for restoring the previous + * value of oflags after the call. + */ + oflags = flags; opts[PRINTEXITVALUE] = 0; if (doshargs) { LinkNode node; @@ -4633,6 +4759,7 @@ doshfunc(Shfunc shfunc, LinkList doshargs, int noreturnval) optcind = oldoptcind; zoptind = oldzoptind; scriptname = oldscriptname; + oflags = ooflags; if (restore_sticky) { /* @@ -4642,7 +4769,7 @@ doshfunc(Shfunc shfunc, LinkList doshargs, int noreturnval) */ memcpy(opts, saveopts, sizeof(opts)); emulation = saveemulation; - sticky_emulation = savesticky_emulation; + sticky = save_sticky; } else if (isset(LOCALOPTIONS)) { /* restore all shell options except PRIVILEGED and RESTRICTED */ saveopts[PRIVILEGED] = opts[PRIVILEGED]; diff --git a/Src/hashtable.c b/Src/hashtable.c index be71a1cc9..ef187927b 100644 --- a/Src/hashtable.c +++ b/Src/hashtable.c @@ -888,6 +888,15 @@ freeshfuncnode(HashNode hn) if (shf->funcdef) freeeprog(shf->funcdef); zsfree(shf->filename); + if (shf->sticky) { + if (shf->sticky->n_on_opts) + zfree(shf->sticky->on_opts, + shf->sticky->n_on_opts * sizeof(*shf->sticky->on_opts)); + if (shf->sticky->n_off_opts) + zfree(shf->sticky->off_opts, + shf->sticky->n_off_opts * sizeof(*shf->sticky->off_opts)); + zfree(shf->sticky, sizeof(*shf->sticky)); + } zfree(shf, sizeof(struct shfunc)); } @@ -923,12 +932,13 @@ printshfuncnode(HashNode hn, int printflags) printf("%c undefined\n\t", hashchar); else t = getpermtext(f->funcdef, NULL, 1); - if (f->node.flags & PM_TAGGED) + if (f->node.flags & (PM_TAGGED|PM_TAGGED_LOCAL)) printf("%c traced\n\t", hashchar); if (!t) { - char *fopt = "Utkz"; + char *fopt = "UtTkz"; int flgs[] = { - PM_UNALIASED, PM_TAGGED, PM_KSHSTORED, PM_ZSHSTORED, 0 + PM_UNALIASED, PM_TAGGED, PM_TAGGED_LOCAL, + PM_KSHSTORED, PM_ZSHSTORED, 0 }; int fl;; diff --git a/Src/hist.c b/Src/hist.c index 0e63dca37..561e2acd5 100644 --- a/Src/hist.c +++ b/Src/hist.c @@ -573,7 +573,7 @@ histsubchar(int c) } else { herrflush(); unqueue_signals(); - zerr("Ambiguous history reference"); + zerr("ambiguous history reference"); return -1; } diff --git a/Src/init.c b/Src/init.c index 6f14943e1..8467a739c 100644 --- a/Src/init.c +++ b/Src/init.c @@ -149,7 +149,7 @@ loop(int toplevel, int justonce) continue; } if (hend(prog)) { - int toksav = tok; + enum lextok toksav = tok; non_empty = 1; if (toplevel && @@ -246,7 +246,8 @@ parseargs(char **argv, char **runscript) opts[SHINSTDIN] = 0; opts[SINGLECOMMAND] = 0; - cmd = parseopts(NULL, &argv); + if (parseopts(NULL, &argv, opts, &cmd, NULL)) + exit(1); paramlist = znewlinklist(); if (*argv) { @@ -276,18 +277,58 @@ parseargs(char **argv, char **runscript) argzero = ztrdup(argzero); } +/* Insert into list in order of pointer value */ + /**/ -mod_export char * -parseopts(char *nam, char ***argvp) +static void +parseopts_insert(LinkList optlist, void *ptr) +{ + LinkNode node; + + for (node = firstnode(optlist); node; incnode(node)) { + if (ptr < getdata(node)) { + insertlinknode(optlist, prevnode(node), ptr); + return; + } + } + + addlinknode(optlist, ptr); +} + +/* + * Parse shell options. + * If nam is not NULL, this is called from a command; don't + * exit on failure. + * + * If optlist is not NULL, it used to form a list of pointers + * into new_opts indicating which options have been changed. + */ + +/**/ +mod_export int +parseopts(char *nam, char ***argvp, char *new_opts, char **cmdp, + LinkList optlist) { int optionbreak = 0; int action, optno; - char *cmd = 0; /* deliberately hides static */ char **argv = *argvp; -#define WARN_OPTION(F, S) if (nam) zwarnnam(nam, F, S); else zerr(F, S) -#define LAST_OPTION(N) \ - if (nam) { if (*argv) argv++; goto doneargv; } else exit(N) + *cmdp = 0; +#define WARN_OPTION(F, S) \ + do { \ + if (nam) \ + zwarnnam(nam, F, S); \ + else \ + zerr(F, S); \ + } while (0) +#define LAST_OPTION(N) \ + do { \ + if (nam) { \ + if (*argv) \ + argv++; \ + goto doneargv; \ + } else exit(N); \ + } while(0) /* loop through command line options (begins with "-" or "+") */ while (!optionbreak && *argv && (**argv == '-' || **argv == '+')) { @@ -327,26 +368,30 @@ parseopts(char *nam, char ***argvp) optionbreak = 1; } else if (**argv == 'c') { /* -c command */ - cmd = *argv; - opts[INTERACTIVE] &= 1; + *cmdp = *argv; + new_opts[INTERACTIVE] &= 1; scriptname = scriptfilename = ztrdup("zsh"); } else if (**argv == 'o') { if (!*++*argv) argv++; if (!*argv) { WARN_OPTION("string expected after -o", NULL); - LAST_OPTION(1); + return 1; } longoptions: if (!(optno = optlookup(*argv))) { WARN_OPTION("no such option: %s", *argv); - LAST_OPTION(1); + return 1; } else if (optno == RESTRICTED && !nam) { restricted = action; } else if ((optno == EMACSMODE || optno == VIMODE) && nam) { WARN_OPTION("can't change option: %s", *argv); - } else if (dosetopt(optno, action, !nam) && nam) { - WARN_OPTION("can't change option: %s", *argv); + } else { + if (dosetopt(optno, action, !nam, new_opts) && nam) { + WARN_OPTION("can't change option: %s", *argv); + } else if (optlist) { + parseopts_insert(optlist, new_opts+optno); + } } break; } else if (isspace(STOUC(**argv))) { @@ -355,37 +400,41 @@ parseopts(char *nam, char ***argvp) if (!isspace(STOUC(**argv))) { badoptionstring: WARN_OPTION("bad option string: '%s'", args); - LAST_OPTION(1); + return 1; } break; } else { if (!(optno = optlookupc(**argv))) { WARN_OPTION("bad option: -%c", **argv); - LAST_OPTION(1); + return 1; } else if (optno == RESTRICTED && !nam) { restricted = action; } else if ((optno == EMACSMODE || optno == VIMODE) && nam) { WARN_OPTION("can't change option: %s", *argv); - } else if (dosetopt(optno, action, !nam) && nam) { - WARN_OPTION("can't change option: -%c", **argv); + } else { + if (dosetopt(optno, action, !nam, new_opts) && nam) { + WARN_OPTION("can't change option: -%c", **argv); + } else if (optlist) { + parseopts_insert(optlist, new_opts+optno); + } } } } argv++; } doneoptions: - if (cmd) { + if (*cmdp) { if (!*argv) { - WARN_OPTION("string expected after -%s", cmd); - LAST_OPTION(1); + WARN_OPTION("string expected after -%s", *cmdp); + return 1; } - cmd = *argv++; + *cmdp = *argv++; } doneargv: *argvp = argv; - return cmd; + return 0; } - + /**/ static void printhelp(void) @@ -1162,7 +1211,7 @@ init_misc(void) #else if (*zsh_name == 'r' || restricted) #endif - dosetopt(RESTRICTED, 1, 0); + dosetopt(RESTRICTED, 1, 0, opts); if (cmd) { if (SHIN >= 10) fclose(bshin); @@ -1225,7 +1274,7 @@ source(char *s) subsh = 0; lineno = 1; loops = 0; - dosetopt(SHINSTDIN, 0, 1); + dosetopt(SHINSTDIN, 0, 1, opts); scriptname = s; scriptfilename = s; @@ -1297,7 +1346,7 @@ source(char *s) thisjob = cj; /* current job number */ lineno = oldlineno; /* our current lineno */ loops = oloops; /* the # of nested loops we are in */ - dosetopt(SHINSTDIN, oldshst, 1); /* SHINSTDIN option */ + dosetopt(SHINSTDIN, oldshst, 1, opts); /* SHINSTDIN option */ errflag = 0; if (!exit_pending) retflag = 0; @@ -1535,7 +1584,7 @@ zsh_main(UNUSED(int argc), char **argv) fdtable = zshcalloc(fdtable_size*sizeof(*fdtable)); createoptiontable(); - emulate(zsh_name, 1); /* initialises most options */ + emulate(zsh_name, 1, &emulation, opts); /* initialises most options */ opts[LOGINSHELL] = (**argv == '-'); opts[PRIVILEGED] = (getuid() != geteuid() || getgid() != getegid()); opts[USEZLE] = 1; /* may be unset in init_io() */ @@ -1559,15 +1608,20 @@ zsh_main(UNUSED(int argc), char **argv) * We only do this at top level, because if we are * executing stuff we may refer to them by job pointer. */ + int errexit = 0; maybeshrinkjobtab(); do { /* Reset return from top level which gets us back here */ retflag = 0; loop(1,0); + if (errflag && !interact && !isset(CONTINUEONERROR)) { + errexit = 1; + break; + } } while (tok != ENDINPUT && (tok != LEXERR || isset(SHINSTDIN))); - if (tok == LEXERR) { - /* Make sure a parse error exits with non-zero status */ + if (tok == LEXERR || errexit) { + /* Make sure a fatal error exits with non-zero status */ if (!lastval) lastval = 1; stopmsg = 1; diff --git a/Src/jobs.c b/Src/jobs.c index c9c549e1e..0dbb10b4f 100644 --- a/Src/jobs.c +++ b/Src/jobs.c @@ -209,7 +209,13 @@ findproc(pid_t pid, Job *jptr, Process *pptr, int aux) int hasprocs(int job) { - Job jn = jobtab + job; + Job jn; + + if (job < 0) { + DPUTS(1, "job number invalid in hasprocs"); + return 0; + } + jn = jobtab + job; return jn->procs || jn->auxprocs; } @@ -868,6 +874,8 @@ should_report_time(Job j) /* can this ever happen? */ if (!j->procs) return 0; + if (zleactive) + return 0; #ifdef HAVE_GETRUSAGE reporttime -= j->procs->ti.ru_utime.tv_sec + j->procs->ti.ru_stime.tv_sec; @@ -1735,12 +1743,14 @@ init_jobs(char **argv, char **envp) goto done; p = strchr(q, 0); } +#if !defined(HAVE_PUTENV) && !defined(USE_SET_UNSET_ENV) for(; *envp; envp++) { q = *envp; if(q != p+1) goto done; p = strchr(q, 0); } +#endif done: hackspace = p - hackzero; #endif @@ -42,7 +42,7 @@ char *zshlextext; /**/ mod_export char *tokstr; /**/ -mod_export int tok; +mod_export enum lextok tok; /**/ mod_export int tokfd; @@ -207,7 +207,7 @@ struct lexstack { int hlinesz; char *hline; char *hptr; - int tok; + enum lextok tok; int isnewlin; char *tokstr; char *zshlextext; @@ -470,6 +470,10 @@ ctxtlex(void) case DINBRACK: incmdpos = 0; break; + + default: + /* nothing to do, keep compiler happy */ + break; } if (tok != DINPAR) infor = tok == FOR ? 2 : 0; @@ -698,11 +702,12 @@ isnumglob(void) } /**/ -static int +static enum lextok gettok(void) { int c, d; - int peekfd = -1, peek; + int peekfd = -1; + enum lextok peek; beginning: tokstr = NULL; @@ -1007,12 +1012,13 @@ gettok(void) */ /**/ -static int +static enum lextok gettokstr(int c, int sub) { int bct = 0, pct = 0, brct = 0, fdpar = 0; int intpos = 1, in_brace_param = 0; - int peek, inquote, unmatched = 0; + int inquote, unmatched = 0; + enum lextok peek; #ifdef DEBUG int ocmdsp = cmdsp; #endif @@ -1259,51 +1265,53 @@ gettokstr(int c, int sub) break; goto brk; case LX2_EQUALS: - if (intpos) { - e = hgetc(); - if (e != '(') { - hungetc(e); - lexstop = 0; - c = Equals; - } else { - add(Equals); - if (skipcomm()) { - peek = LEXERR; - goto brk; - } - c = Outpar; - } - } else if (!sub && peek != ENVSTRING && - incmdpos && !bct && !brct) { - char *t = tokstr; - if (idigit(*t)) - while (++t < bptr && idigit(*t)); - else { - int sav = *bptr; - *bptr = '\0'; - t = itype_end(t, IIDENT, 0); - if (t < bptr) { - skipparens(Inbrack, Outbrack, &t); + if (!sub) { + if (intpos) { + e = hgetc(); + if (e != '(') { + hungetc(e); + lexstop = 0; + c = Equals; } else { - *bptr = sav; + add(Equals); + if (skipcomm()) { + peek = LEXERR; + goto brk; + } + c = Outpar; } - } - if (*t == '+') - t++; - if (t == bptr) { - e = hgetc(); - if (e == '(' && incmdpos) { + } else if (peek != ENVSTRING && + incmdpos && !bct && !brct) { + char *t = tokstr; + if (idigit(*t)) + while (++t < bptr && idigit(*t)); + else { + int sav = *bptr; *bptr = '\0'; - return ENVARRAY; + t = itype_end(t, IIDENT, 0); + if (t < bptr) { + skipparens(Inbrack, Outbrack, &t); + } else { + *bptr = sav; + } } - hungetc(e); - lexstop = 0; - peek = ENVSTRING; - intpos = 2; + if (*t == '+') + t++; + if (t == bptr) { + e = hgetc(); + if (e == '(' && incmdpos) { + *bptr = '\0'; + return ENVARRAY; + } + hungetc(e); + lexstop = 0; + peek = ENVSTRING; + intpos = 2; + } else + c = Equals; } else c = Equals; - } else - c = Equals; + } break; case LX2_BKSLASH: c = hgetc(); @@ -1692,6 +1700,7 @@ parse_subst_string(char *s) { int c, l = strlen(s), err; char *ptr; + enum lextok ctok; if (!*s || !strcmp(s, nulstring)) return 0; @@ -1703,14 +1712,14 @@ parse_subst_string(char *s) bptr = tokstr = s; bsiz = l + 1; c = hgetc(); - c = gettokstr(c, 1); + ctok = gettokstr(c, 1); err = errflag; strinend(); inpop(); DPUTS(cmdsp, "BUG: parse_subst_string: cmdstack not empty."); lexrestore(); errflag = err; - if (c == LEXERR) { + if (ctok == LEXERR) { untokenize(s); return 1; } @@ -1720,9 +1729,9 @@ parse_subst_string(char *s) * before lexrestore()) == l, but that's not necessarily the case if * we stripped an RCQUOTE. */ - if (c != STRING || (errflag && !noerrs)) { + if (ctok != STRING || (errflag && !noerrs)) { fprintf(stderr, "Oops. Bug in parse_subst_string: %s\n", - errflag ? "errflag" : "c != STRING"); + errflag ? "errflag" : "ctok != STRING"); fflush(stderr); untokenize(s); return 1; diff --git a/Src/math.c b/Src/math.c index cca521098..e90d6a59a 100644 --- a/Src/math.c +++ b/Src/math.c @@ -447,12 +447,13 @@ lexconstant(void) if (*nptr == '-') nptr++; - if (*nptr == '0') + if (*nptr == '0' && + (memchr(nptr, '.', strlen(nptr)) == NULL)) { nptr++; if (*nptr == 'x' || *nptr == 'X') { /* Let zstrtol parse number with base */ - yyval.u.l = zstrtol(ptr, &ptr, 0); + yyval.u.l = zstrtol_underscore(ptr, &ptr, 0, 1); /* Should we set lastbase here? */ lastbase = 16; return NUM; @@ -466,13 +467,13 @@ lexconstant(void) * it can't be a base indication (always decimal) * or a floating point number. */ - for (ptr2 = nptr; idigit(*ptr2); ptr2++) + for (ptr2 = nptr; idigit(*ptr2) || *ptr2 == '_'; ptr2++) ; if (ptr2 > nptr && *ptr2 != '.' && *ptr2 != 'e' && *ptr2 != 'E' && *ptr2 != '#') { - yyval.u.l = zstrtol(ptr, &ptr, 0); + yyval.u.l = zstrtol_underscore(ptr, &ptr, 0, 1); lastbase = 8; return NUM; } @@ -481,17 +482,43 @@ lexconstant(void) } else { - while (idigit(*nptr)) + while (idigit(*nptr) || *nptr == '_') nptr++; } if (*nptr == '.' || *nptr == 'e' || *nptr == 'E') { + char *ptr2; /* it's a float */ yyval.type = MN_FLOAT; #ifdef USE_LOCALE prev_locale = dupstring(setlocale(LC_NUMERIC, NULL)); setlocale(LC_NUMERIC, "POSIX"); #endif + if (*nptr == '.') { + nptr++; + while (idigit(*nptr) || *nptr == '_') + nptr++; + } + if (*nptr == 'e' || *nptr == 'E') { + nptr++; + if (*nptr == '+' || *nptr == '-') + nptr++; + while (idigit(*nptr) || *nptr == '_') + nptr++; + } + for (ptr2 = ptr; ptr2 < nptr; ptr2++) { + if (*ptr2 == '_') { + int len = nptr - ptr; + ptr = strdup(ptr); + for (ptr2 = ptr; len; len--) { + if (*ptr2 == '_') + chuck(ptr2); + else + ptr2++; + } + break; + } + } yyval.u.d = strtod(ptr, &nptr); #ifdef USE_LOCALE if (prev_locale) setlocale(LC_NUMERIC, prev_locale); @@ -503,11 +530,12 @@ lexconstant(void) ptr = nptr; } else { /* it's an integer */ - yyval.u.l = zstrtol(ptr, &ptr, 10); + yyval.u.l = zstrtol_underscore(ptr, &ptr, 10, 1); if (*ptr == '#') { ptr++; - yyval.u.l = zstrtol(ptr, &ptr, lastbase = yyval.u.l); + lastbase = yyval.u.l; + yyval.u.l = zstrtol_underscore(ptr, &ptr, lastbase, 1); } } return NUM; @@ -1053,14 +1081,34 @@ op(int what) return; if (c.type == MN_FLOAT) c.u.d = a.u.d / b.u.d; - else - c.u.l = a.u.l / b.u.l; + else { + /* + * Avoid exception when dividing the smallest + * negative integer by -1. Always treat it the + * same as multiplication. This still doesn't give + * numerically the right answer in two's complement, + * but treating both these in the same way seems + * reasonable. + */ + if (b.u.l == -1) + c.u.l = - a.u.l; + else + c.u.l = a.u.l / b.u.l; + } break; case MOD: case MODEQ: if (!notzero(b)) return; - c.u.l = a.u.l % b.u.l; + /* + * Avoid exception as above. + * Any integer mod -1 is the same as any integer mod 1 + * i.e. zero. + */ + if (b.u.l == -1) + c.u.l = 0; + else + c.u.l = a.u.l % b.u.l; break; case PLUS: case PLUSEQ: diff --git a/Src/options.c b/Src/options.c index c6db75372..b36bd9944 100644 --- a/Src/options.c +++ b/Src/options.c @@ -35,21 +35,21 @@ /**/ mod_export int emulation; -/* current sticky emulation: 0 means none */ +/* current sticky emulation: sticky = NULL means none */ /**/ -mod_export int sticky_emulation; +mod_export Emulation_options sticky; /* the options; e.g. if opts[SHGLOB] != 0, SH_GLOB is turned on */ - + /**/ mod_export char opts[OPT_SIZE]; - + /* Option name hash table */ /**/ mod_export HashTable optiontab; - + /* The canonical option name table */ #define OPT_CSH EMULATE_CSH @@ -70,7 +70,7 @@ mod_export HashTable optiontab; /* option is an alias to an other option */ #define OPT_ALIAS (EMULATE_UNUSED<<2) -#define defset(X) (!!((X)->node.flags & emulation)) +#define defset(X, my_emulation) (!!((X)->node.flags & my_emulation)) /* * Note that option names should usually be fewer than 20 characters long @@ -113,6 +113,7 @@ static struct optname optns[] = { {{NULL, "combiningchars", 0}, COMBININGCHARS}, {{NULL, "completealiases", 0}, COMPLETEALIASES}, {{NULL, "completeinword", 0}, COMPLETEINWORD}, +{{NULL, "continueonerror", 0}, CONTINUEONERROR}, {{NULL, "correct", 0}, CORRECT}, {{NULL, "correctall", 0}, CORRECTALL}, {{NULL, "cshjunkiehistory", OPT_EMULATE|OPT_CSH}, CSHJUNKIEHISTORY}, @@ -160,7 +161,7 @@ static struct optname optns[] = { {{NULL, "histverify", 0}, HISTVERIFY}, {{NULL, "hup", OPT_EMULATE|OPT_ZSH}, HUP}, {{NULL, "ignorebraces", OPT_EMULATE|OPT_SH}, IGNOREBRACES}, -{{NULL, "ignoreclosebraces", 0}, IGNORECLOSEBRACES}, +{{NULL, "ignoreclosebraces", OPT_EMULATE}, IGNORECLOSEBRACES}, {{NULL, "ignoreeof", 0}, IGNOREEOF}, {{NULL, "incappendhistory", 0}, INCAPPENDHISTORY}, {{NULL, "interactive", OPT_SPECIAL}, INTERACTIVE}, @@ -439,11 +440,11 @@ printoptionnode(HashNode hn, int set) if (optno < 0) optno = -optno; if (isset(KSHOPTIONPRINT)) { - if (defset(on)) + if (defset(on, emulation)) printf("no%-19s %s\n", on->node.nam, isset(optno) ? "off" : "on"); else printf("%-21s %s\n", on->node.nam, isset(optno) ? "on" : "off"); - } else if (set == (isset(optno) ^ defset(on))) { + } else if (set == (isset(optno) ^ defset(on, emulation))) { if (set ^ isset(optno)) fputs("no", stdout); puts(on->node.nam); @@ -475,6 +476,15 @@ createoptiontable(void) optiontab->addnode(optiontab, on->node.nam, on); } +/* Emulation appropriate to the setemulate function */ + +static int setemulate_emulation; + +/* Option array manipulated within the setemulate function */ + +/**/ +static char *setemulate_opts; + /* Setting of default options */ /**/ @@ -490,20 +500,22 @@ setemulate(HashNode hn, int fully) if (!(on->node.flags & OPT_ALIAS) && ((fully && !(on->node.flags & OPT_SPECIAL)) || (on->node.flags & OPT_EMULATE))) - opts[on->optno] = defset(on); + setemulate_opts[on->optno] = defset(on, setemulate_emulation); } /**/ void -installemulation(void) +installemulation(int new_emulation, char *new_opts) { + setemulate_emulation = new_emulation; + setemulate_opts = new_opts; scanhashtable(optiontab, 0, 0, 0, setemulate, - !!(emulation & EMULATE_FULLY)); + !!(new_emulation & EMULATE_FULLY)); } /**/ void -emulate(const char *zsh_name, int fully) +emulate(const char *zsh_name, int fully, int *new_emulation, char *new_opts) { char ch = *zsh_name; @@ -512,17 +524,17 @@ emulate(const char *zsh_name, int fully) /* Work out the new emulation mode */ if (ch == 'c') - emulation = EMULATE_CSH; + *new_emulation = EMULATE_CSH; else if (ch == 'k') - emulation = EMULATE_KSH; + *new_emulation = EMULATE_KSH; else if (ch == 's' || ch == 'b') - emulation = EMULATE_SH; + *new_emulation = EMULATE_SH; else - emulation = EMULATE_ZSH; + *new_emulation = EMULATE_ZSH; if (fully) - emulation |= EMULATE_FULLY; - installemulation(); + *new_emulation |= EMULATE_FULLY; + installemulation(*new_emulation, new_opts); if (funcstack && funcstack->tp == FS_FUNC) { /* @@ -532,9 +544,9 @@ emulate(const char *zsh_name, int fully) * close enough. */ Shfunc shf = (Shfunc)shfunctab->getnode(shfunctab, funcstack->name); - if (shf && (shf->node.flags & PM_TAGGED)) { + if (shf && (shf->node.flags & (PM_TAGGED|PM_TAGGED_LOCAL))) { /* Tracing is on, so set xtrace */ - opts[XTRACE] = 1; + new_opts[XTRACE] = 1; } } } @@ -545,7 +557,7 @@ emulate(const char *zsh_name, int fully) static void setoption(HashNode hn, int value) { - dosetopt(((Optname) hn)->optno, value, 0); + dosetopt(((Optname) hn)->optno, value, 0, opts); } /**/ @@ -582,7 +594,7 @@ bin_setopt(char *nam, char **args, UNUSED(Options ops), int isun) } if(!(optno = optlookup(*args))) zwarnnam(nam, "no such option: %s", *args); - else if(dosetopt(optno, action, 0)) + else if(dosetopt(optno, action, 0, opts)) zwarnnam(nam, "can't change option: %s", *args); break; } else if(**args == 'm') { @@ -590,7 +602,7 @@ bin_setopt(char *nam, char **args, UNUSED(Options ops), int isun) } else { if (!(optno = optlookupc(**args))) zwarnnam(nam, "bad option: -%c", **args); - else if(dosetopt(optno, action, 0)) + else if(dosetopt(optno, action, 0, opts)) zwarnnam(nam, "can't change option: -%c", **args); } } @@ -603,7 +615,7 @@ bin_setopt(char *nam, char **args, UNUSED(Options ops), int isun) while (*args) { if(!(optno = optlookup(*args++))) zwarnnam(nam, "no such option: %s", args[-1]); - else if(dosetopt(optno, !isun, 0)) + else if(dosetopt(optno, !isun, 0, opts)) zwarnnam(nam, "can't change option: %s", args[-1]); } } else { @@ -713,7 +725,7 @@ static char *rparams[] = { /**/ mod_export int -dosetopt(int optno, int value, int force) +dosetopt(int optno, int value, int force, char *new_opts) { if(!optno) return -1; @@ -735,7 +747,7 @@ dosetopt(int optno, int value, int force) return -1; } else if(!force && (optno == INTERACTIVE || optno == SHINSTDIN || optno == SINGLECOMMAND)) { - if (opts[optno] == value) + if (new_opts[optno] == value) return 0; /* it is not permitted to change the value of these options */ return -1; @@ -751,7 +763,7 @@ dosetopt(int optno, int value, int force) #endif /* HAVE_SETUID */ #ifdef JOB_CONTROL } else if (!force && optno == MONITOR && value) { - if (opts[optno] == value) + if (new_opts[optno] == value) return 0; if (SHTTY != -1) { origpgrp = GETPGRP(); @@ -767,15 +779,15 @@ dosetopt(int optno, int value, int force) return -1; #endif /* GETPWNAM_FAKED */ } else if ((optno == EMACSMODE || optno == VIMODE) && value) { - if (sticky_emulation) + if (sticky && sticky->emulation) return -1; zleentry(ZLE_CMD_SET_KEYMAP, optno); - opts[(optno == EMACSMODE) ? VIMODE : EMACSMODE] = 0; + new_opts[(optno == EMACSMODE) ? VIMODE : EMACSMODE] = 0; } else if (optno == SUNKEYBOARDHACK) { /* for backward compatibility */ keyboardhackchar = (value ? '`' : '\0'); } - opts[optno] = value; + new_opts[optno] = value; if (optno == BANGHIST || optno == SHINSTDIN) inittyptab(); return 0; @@ -817,10 +829,11 @@ printoptionnodestate(HashNode hn, int hadplus) int optno = on->optno; if (hadplus) { - if (defset(on) != isset(optno)) - printf("set -o %s%s\n", defset(on) ? "no" : "", on->node.nam); + if (defset(on, emulation) != isset(optno)) + printf("set -o %s%s\n", defset(on, emulation) ? + "no" : "", on->node.nam); } else { - if (defset(on)) + if (defset(on, emulation)) printf("no%-19s %s\n", on->node.nam, isset(optno) ? "off" : "on"); else printf("%-21s %s\n", on->node.nam, isset(optno) ? "on" : "off"); diff --git a/Src/parse.c b/Src/parse.c index e4d038b6e..0f5d99cef 100644 --- a/Src/parse.c +++ b/Src/parse.c @@ -666,7 +666,8 @@ par_sublist(int *complex) *complex |= c; if (tok == DBAR || tok == DAMPER) { - int qtok = tok, sl; + enum lextok qtok = tok; + int sl; cmdpush(tok == DBAR ? CS_CMDOR : CS_CMDAND); zshlex(); @@ -1176,7 +1177,8 @@ par_case(int *complex) static void par_if(int *complex) { - int oecused = ecused, xtok, p, pp, type, usebrace = 0; + int oecused = ecused, p, pp, type, usebrace = 0; + enum lextok xtok; unsigned char nc; p = ecadd(0); @@ -1367,7 +1369,8 @@ par_repeat(int *complex) static void par_subsh(int *complex) { - int oecused = ecused, otok = tok, p, pp; + enum lextok otok = tok; + int oecused = ecused, p, pp; p = ecadd(0); /* Extra word only needed for always block */ @@ -1607,6 +1610,11 @@ par_simple(int *complex, int nr) } else if (tok == ENVARRAY) { int oldcmdpos = incmdpos, n, type2; + /* + * We consider array setting complex because it can + * contain process substitutions, which need a valid job. + */ + *complex = c = 1; p = ecadd(0); incmdpos = 0; if ((type2 = strlen(tokstr) - 1) && tokstr[type2] == '+') { @@ -2110,7 +2118,7 @@ par_cond_2(void) && !s1[2]); condlex(); if (tok == INANG || tok == OUTANG) { - int xtok = tok; + enum lextok xtok = tok; condlex(); if (tok != STRING) YYERROR(ecused); @@ -2371,7 +2379,7 @@ freeeprog(Eprog p) /**/ char * -ecgetstr(Estate s, int dup, int *tok) +ecgetstr(Estate s, int dup, int *tokflag) { static char buf[4]; wordcode c = *s->pc++; @@ -2389,8 +2397,8 @@ ecgetstr(Estate s, int dup, int *tok) } else { r = s->strs + (c >> 2); } - if (tok) - *tok = (c & 1); + if (tokflag) + *tokflag = (c & 1); /*** Since function dump files are mapped read-only, avoiding to * to duplicate strings when they don't contain tokens may fail @@ -2407,33 +2415,33 @@ ecgetstr(Estate s, int dup, int *tok) /**/ char * -ecrawstr(Eprog p, Wordcode pc, int *tok) +ecrawstr(Eprog p, Wordcode pc, int *tokflag) { static char buf[4]; wordcode c = *pc; if (c == 6 || c == 7) { - if (tok) - *tok = (c & 1); + if (tokflag) + *tokflag = (c & 1); return ""; } else if (c & 2) { buf[0] = (char) ((c >> 3) & 0xff); buf[1] = (char) ((c >> 11) & 0xff); buf[2] = (char) ((c >> 19) & 0xff); buf[3] = '\0'; - if (tok) - *tok = (c & 1); + if (tokflag) + *tokflag = (c & 1); return buf; } else { - if (tok) - *tok = (c & 1); + if (tokflag) + *tokflag = (c & 1); return p->strs + (c >> 2); } } /**/ char ** -ecgetarr(Estate s, int num, int dup, int *tok) +ecgetarr(Estate s, int num, int dup, int *tokflag) { char **ret, **rp; int tf = 0, tmp = 0; @@ -2445,15 +2453,15 @@ ecgetarr(Estate s, int num, int dup, int *tok) tf |= tmp; } *rp = NULL; - if (tok) - *tok = tf; + if (tokflag) + *tokflag = tf; return ret; } /**/ LinkList -ecgetlist(Estate s, int num, int dup, int *tok) +ecgetlist(Estate s, int num, int dup, int *tokflag) { if (num) { LinkList ret; @@ -2464,12 +2472,12 @@ ecgetlist(Estate s, int num, int dup, int *tok) setsizednode(ret, i, ecgetstr(s, dup, &tmp)); tf |= tmp; } - if (tok) - *tok = tf; + if (tokflag) + *tokflag = tf; return ret; } - if (tok) - *tok = 0; + if (tokflag) + *tokflag = 0; return NULL; } @@ -3479,7 +3487,7 @@ dump_autoload(char *nam, char *file, int on, Options ops, int func) shf = (Shfunc) zshcalloc(sizeof *shf); shf->node.flags = on; shf->funcdef = mkautofn(shf); - shf->emulation = 0; + shf->sticky = NULL; shfunctab->addnode(shfunctab, ztrdup(fdname(n) + fdhtail(n)), shf); if (OPT_ISSET(ops,'X') && eval_autoload(shf, shf->node.nam, ops, func)) ret = 1; diff --git a/Src/prototypes.h b/Src/prototypes.h index f059b6620..00988ac4c 100644 --- a/Src/prototypes.h +++ b/Src/prototypes.h @@ -49,11 +49,18 @@ extern int tgetent _((char *bp, TC_CONST char *name)); extern int tgetnum _((char *id)); extern int tgetflag _((char *id)); extern char *tgetstr _((char *id, char **area)); -extern char *tgoto _((TC_CONST char *cm, int destcol, int destline)); extern int tputs _((TC_CONST char *cp, int affcnt, int (*outc) (int))); #undef TC_CONST #endif +/* + * Some systems that do have termcap headers nonetheless don't + * declare tgoto, so we detect if that is missing separately. + */ +#ifdef TGOTO_PROTO_MISSING +char *tgoto(const char *cap, int col, int row); +#endif + /* MISSING PROTOTYPES FOR VARIOUS OPERATING SYSTEMS */ #if defined(__hpux) && defined(_HPUX_SOURCE) && !defined(_XPG4_EXTENDED) diff --git a/Src/signals.c b/Src/signals.c index ad688094b..046ee6a4a 100644 --- a/Src/signals.c +++ b/Src/signals.c @@ -755,7 +755,10 @@ dosavetrap(int sig, int level) newshf->node.flags = shf->node.flags; newshf->funcdef = dupeprog(shf->funcdef, 0); newshf->filename = ztrdup(shf->filename); - newshf->emulation = shf->emulation; + if (shf->sticky) { + newshf->sticky = sticky_emulation_dup(shf->sticky, 0); + } else + newshf->sticky = 0; if (shf->node.flags & PM_UNDEFINED) newshf->funcdef->shf = newshf; } diff --git a/Src/subst.c b/Src/subst.c index 932f41287..974a8456d 100644 --- a/Src/subst.c +++ b/Src/subst.c @@ -1215,7 +1215,7 @@ get_strarg(char *s, int *lenp) { convchar_t del; int len; - char tok = 0; + char ctok = 0; MB_METACHARINIT(); len = MB_METACHARLENCONV(s, &del); @@ -1243,25 +1243,25 @@ get_strarg(char *s, int *lenp) del = ZWC('>'); break; case Inpar: - tok = Outpar; + ctok = Outpar; break; case Inang: - tok = Outang; + ctok = Outang; break; case Inbrace: - tok = Outbrace; + ctok = Outbrace; break; case Inbrack: - tok = Outbrack; + ctok = Outbrack; break; } - if (tok) { + if (ctok) { /* * Looking for a matching token; we want the literal byte, * not a decoded multibyte character, so search specially. */ - while (*s && *s != tok) + while (*s && *s != ctok) s++; } else { convchar_t del2; @@ -2314,6 +2314,8 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int pf_flags) val = dyncat(val, "-readonly"); if (f & PM_TAGGED) val = dyncat(val, "-tag"); + if (f & PM_TAGGED_LOCAL) + val = dyncat(val, "-tag_local"); if (f & PM_EXPORTED) val = dyncat(val, "-export"); if (f & PM_UNIQUE) diff --git a/Src/utils.c b/Src/utils.c index d35ca1dfd..26e2a5c2c 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -2030,13 +2030,20 @@ skipparens(char inpar, char outpar, char **s) return level; } +/**/ +mod_export zlong +zstrtol(const char *s, char **t, int base) +{ + return zstrtol_underscore(s, t, base, 0); +} + /* Convert string to zlong (see zsh.h). This function (without the z) * * is contained in the ANSI standard C library, but a lot of them seem * * to be broken. */ /**/ mod_export zlong -zstrtol(const char *s, char **t, int base) +zstrtol_underscore(const char *s, char **t, int base, int underscore) { const char *inp, *trunc = NULL; zulong calc = 0, newcalc = 0; @@ -2062,22 +2069,24 @@ zstrtol(const char *s, char **t, int base) if (base < 2 || base > 36) { zerr("invalid base (must be 2 to 36 inclusive): %d", base); return (zlong)0; - } else if (base <= 10) - for (; *s >= '0' && *s < ('0' + base); s++) { - if (trunc) + } else if (base <= 10) { + for (; (*s >= '0' && *s < ('0' + base)) || + (underscore && *s == '_'); s++) { + if (trunc || *s == '_') continue; newcalc = calc * base + *s - '0'; if (newcalc < calc) { - trunc = s; - continue; + trunc = s; + continue; } calc = newcalc; } - else + } else { for (; idigit(*s) || (*s >= 'a' && *s < ('a' + base - 10)) - || (*s >= 'A' && *s < ('A' + base - 10)); s++) { - if (trunc) + || (*s >= 'A' && *s < ('A' + base - 10)) + || (underscore && *s == '_'); s++) { + if (trunc || *s == '_') continue; newcalc = calc*base + (idigit(*s) ? (*s - '0') : (*s & 0x1f) + 9); if (newcalc < calc) @@ -2087,6 +2096,7 @@ zstrtol(const char *s, char **t, int base) } calc = newcalc; } + } /* * Special case: check for a number that was just too long for @@ -2877,7 +2887,7 @@ zjoin(char **arr, int delim, int heap) * of items into an array of strings. */ /**/ -char ** +mod_export char ** colonsplit(char *s, int uniq) { int ct; @@ -232,7 +232,7 @@ enum { * appear in strings and don't necessarily represent a single character. */ -enum { +enum lextok { NULLTOK, /* 0 */ SEPER, NEWLIN, @@ -407,6 +407,7 @@ typedef struct cmdnam *Cmdnam; typedef struct complist *Complist; typedef struct conddef *Conddef; typedef struct dirsav *Dirsav; +typedef struct emulation_options *Emulation_options; typedef struct features *Features; typedef struct feature_enables *Feature_enables; typedef struct funcstack *Funcstack; @@ -1099,7 +1100,7 @@ struct shfunc { char *filename; /* Name of file located in */ zlong lineno; /* line number in above file */ Eprog funcdef; /* function definition */ - int emulation; /* sticky emulation for function */ + Emulation_options sticky; /* sticky emulation definitions, if any */ }; /* Shell function context types. */ @@ -1554,6 +1555,7 @@ struct tieddata { #define PM_HIDE (1<<14) /* Special behaviour hidden by local */ #define PM_HIDEVAL (1<<15) /* Value not shown in `typeset' commands */ #define PM_TIED (1<<16) /* array tied to colon-path or v.v. */ +#define PM_TAGGED_LOCAL (1<<16) /* (function): non-recursive PM_TAGGED */ #define PM_KSHSTORED (1<<17) /* function stored in ksh form */ #define PM_ZSHSTORED (1<<18) /* function stored in zsh form */ @@ -1969,6 +1971,7 @@ enum { COMPLETEINWORD, CORRECT, CORRECTALL, + CONTINUEONERROR, CPRECEDENCES, CSHJUNKIEHISTORY, CSHJUNKIELOOPS, @@ -2103,6 +2106,12 @@ enum { OPT_SIZE }; +/* + * Size required to fit an option number. + * If OPT_SIZE goes above 256 this will need to expand. + */ +typedef unsigned char OptIndex; + #undef isset #define isset(X) (opts[X]) #define unset(X) (!opts[X]) @@ -2111,6 +2120,27 @@ enum { #define jobbing (isset(MONITOR)) #define islogin (isset(LOGINSHELL)) +/* + * Record of emulation and options that need to be set + * for a full "emulate". + */ +struct emulation_options { + /* The emulation itself */ + int emulation; + /* The number of options in on_opts. */ + int n_on_opts; + /* The number of options in off_opts. */ + int n_off_opts; + /* + * Array of options to be turned on. + * Only options specified explicitly in the emulate command + * are recorded. Null if n_on_opts is zero. + */ + OptIndex *on_opts; + /* Array of options to be turned off, similar. */ + OptIndex *off_opts; +}; + /***********************************************/ /* Definitions for terminal and display control */ /***********************************************/ @@ -2135,6 +2165,7 @@ struct ttyinfo { #endif }; +#ifndef __INTERIX /* defines for whether tabs expand to spaces */ #if defined(HAVE_TERMIOS_H) || defined(HAVE_TERMIO_H) #define SGTTYFLAG shttyinfo.tio.c_oflag @@ -2152,6 +2183,7 @@ struct ttyinfo { # endif # endif # endif +#endif /* flags for termflags */ @@ -2678,7 +2710,14 @@ typedef wint_t convchar_t; #define MB_METASTRWIDTH(str) mb_metastrlen(str, 1) #define MB_METASTRLEN2(str, widthp) mb_metastrlen(str, widthp) -#ifdef BROKEN_WCWIDTH +/* + * We replace broken implementations with one that uses Unicode + * characters directly as wide characters. In principle this is only + * likely to work if __STDC_ISO_10646__ is defined, since that's pretty + * much what the definition tells us. However, we happen to know this + * works on MacOS which doesn't define that. + */ +#if defined(BROKEN_WCWIDTH) && (defined(__STDC_ISO_10646__) || defined(__APPLE__)) #define WCWIDTH(wc) mk_wcwidth(wc) #else #define WCWIDTH(wc) wcwidth(wc) diff --git a/Src/zsh_system.h b/Src/zsh_system.h index f20a7bb90..f38533023 100644 --- a/Src/zsh_system.h +++ b/Src/zsh_system.h @@ -874,7 +874,3 @@ extern short ospeed; # endif # endif #endif - -#ifdef TGOTO_PROTO_MISSING -char *tgoto(const char *cap, int col, int row); -#endif diff --git a/Test/A04redirect.ztst b/Test/A04redirect.ztst index 3911b0629..b8086e724 100644 --- a/Test/A04redirect.ztst +++ b/Test/A04redirect.ztst @@ -419,25 +419,28 @@ >output ?zsh:.:2: no such file or directory: /nonexistent/nonexistent - $ZTST_testdir/../Src/zsh -f <<<' + $ZTST_testdir/../Src/zsh -f -o CONTINUE_ON_ERROR <<<' readonly foo foo=bar set output echo output' -0:failed assignment on posix special, NO_POSIX_BUILTINS +0:failed assignment on posix special, CONTINUE_ON_ERROR >output ?zsh: read-only variable: foo - $ZTST_testdir/../Src/zsh -f -o POSIX_BUILTINS <<<' + $ZTST_testdir/../Src/zsh -f <<<' readonly foo foo=bar set output echo output' -1:failed assignment on posix special, POSIX_BUILTINS +1:failed assignment on posix special, NO_CONTINUE_ON_ERROR ?zsh: read-only variable: foo - $ZTST_testdir/../Src/zsh -f -o POSIX_BUILTINS <<<' + $ZTST_testdir/../Src/zsh -f -o CONTINUE_ON_ERROR <<<' readonly foo foo=bar echo output echo output' -0:failed assignment on non-posix-special, POSIX_BUILTINS +0:failed assignment on non-posix-special, CONTINUE_ON_ERROR >output ?zsh: read-only variable: foo + + [</dev/null ] +1:check behaviour with square brackets diff --git a/Test/A06assign.ztst b/Test/A06assign.ztst index 84500f605..9a0a4f0cc 100644 --- a/Test/A06assign.ztst +++ b/Test/A06assign.ztst @@ -184,8 +184,8 @@ typeset -A hash hash=(one 1) - h+=string - [[ $h[@] == string ]] + hash+=string + [[ $hash[@] == string ]] 0:add scalar to association # tests of var+=(array) diff --git a/Test/B02typeset.ztst b/Test/B02typeset.ztst index 7a9928abe..51ebc6535 100644 --- a/Test/B02typeset.ztst +++ b/Test/B02typeset.ztst @@ -459,3 +459,12 @@ silent2(){ local silence; silent1; } silent2 0:typeset -g should be silent even without TYPESET_SILENT + + typeset -T TIED_SCALAR tied_array + TIED_SCALAR=foo:bar + print $tied_array + typeset -T TIED_SCALAR=goo:car tied_array + print $tied_array +0:retying arrays to same array works +>foo bar +>goo car diff --git a/Test/B07emulate.ztst b/Test/B07emulate.ztst index dec809ea4..315206a20 100644 --- a/Test/B07emulate.ztst +++ b/Test/B07emulate.ztst @@ -176,3 +176,74 @@ 0:Sticky emulation not triggered if sticky emulation unchanged >on >off + + ( + setopt ignorebraces + emulate zsh -o extendedglob -c ' + [[ -o ignorebraces ]] || print "Yay, ignorebraces was reset" + [[ -o extendedglob ]] && print "Yay, extendedglob is set" + ' + ) +0:emulate -c with options +>Yay, ignorebraces was reset +>Yay, extendedglob is set + + ( + setopt ignorebraces + emulate zsh -o extendedglob + [[ -o ignorebraces ]] || print "Yay, ignorebraces is no longer set" + [[ -o extendedglob ]] && print "Yay, extendedglob is set" + ) +0:emulate with options but no -c +>Yay, ignorebraces is no longer set +>Yay, extendedglob is set + + emulate zsh -o fixallmybugs 'print This was executed, bad' +1:emulate -c with incorrect options +?(eval):emulate:1: no such option: fixallmybugs + + emulate zsh -c ' + func() { [[ -o extendedglob ]] || print extendedglob is off } + ' + func + emulate zsh -o extendedglob -c ' + func() { [[ -o extendedglob ]] && print extendedglob is on } + ' + func +0:options specified alongside emulation are also sticky +>extendedglob is off +>extendedglob is on + + emulate zsh -o extendedglob -c ' + func_inner() { setopt nobareglobqual } + ' + emulate zsh -o extendedglob -c ' + func_outer() { + func_inner + [[ -o bareglobqual ]] || print bareglobqual was turned off + [[ -o extendedglob ]] && print extendedglob is on, though + } + ' + [[ -o extendedglob ]] || print extendedglob is initially off + func_outer +0:options propagate between identical emulations +>extendedglob is initially off +>bareglobqual was turned off +>extendedglob is on, though + + emulate zsh -o extendedglob -c ' + func_inner() { setopt nobareglobqual } + ' + emulate zsh -o extendedglob -o cbases -c ' + func_outer() { + func_inner + [[ -o bareglobqual ]] && print bareglobqual is still on + [[ -o extendedglob ]] && print extendedglob is on, too + } + ' + [[ -o extendedglob ]] || print extendedglob is initially off + func_outer +0:options do not propagate between different emulations +>extendedglob is initially off +>bareglobqual is still on +>extendedglob is on, too diff --git a/Test/C01arith.ztst b/Test/C01arith.ztst index 1f0d2d0f3..02d1519a4 100644 --- a/Test/C01arith.ztst +++ b/Test/C01arith.ztst @@ -152,6 +152,16 @@ 0:commas and parentheses, part 1 >4 + print $(( 07.5 )) + (setopt octalzeroes; print $(( 09.5 ))) +0:leading zero doesn't affect floating point +>7.5 +>9.5 + + (setopt octalzeroes; print $(( 09 ))) +1:octalzeroes rejects invalid constants +?(eval):1: bad math expression: operator expected at `9 ' + (setopt octalzeroes; print $(( 08#77 ))) 0:octalzeroes doesn't affect bases >63 @@ -210,3 +220,26 @@ print $x 0:double increment for repeated expression >2 + + # Floating point. Default precision should take care of rounding errors. + print $(( 1_0.000_000e0_1 )) + # Integer. + print $(( 0x_ff_ff_ )) + # _ are parts of variable names that don't start with a digit + __myvar__=42 + print $(( __myvar__ + $__myvar__ )) + # _ is not part of variable name that does start with a digit + # (which are substituted before math eval) + set -- 6 + print $(( $1_000_000 )) + # Underscores in expressions with no whitespace + print $(( 3_000_+4_000_/2 )) + # Underscores may appear in the base descriptor, for what it's worth... + print $(( 1_6_#f_f_ )) +0:underscores in math constants +>100. +>65535 +>84 +>6000000 +>5000 +>255 diff --git a/Test/C03traps.ztst b/Test/C03traps.ztst index 321f5e956..757f75ca4 100644 --- a/Test/C03traps.ztst +++ b/Test/C03traps.ztst @@ -388,6 +388,17 @@ >} >No, really exited + (set -e + printf "a\nb\n" | while read line + do + [[ $line = a* ]] || continue + ((ctr++)) + [[ $line = foo ]] + done + echo "ctr = $ctr" + ) +1:ERREXIT in loop with simple commands + %clean rm -f TRAPEXIT diff --git a/Test/C04funcdef.ztst b/Test/C04funcdef.ztst index 90f01e397..706aa28c2 100644 --- a/Test/C04funcdef.ztst +++ b/Test/C04funcdef.ztst @@ -251,6 +251,23 @@ >foo1 >bar2 + ( + setopt ignorebraces + fpath=(.) + print "{ echo OK }\n[[ -o ignorebraces ]] || print 'ignorebraces is off'" \ + >emufunctest + (autoload -z emufunctest; emufunctest) 2>&1 + emulate zsh -c 'autoload -Uz emufunctest' + emufunctest + [[ -o ignorebraces ]] && print 'ignorebraces is still on here' + ) +0:sticky emulation applies to autoloads and autoloaded function execution +>emufunctest:3: parse error near `\n' +>OK +>ignorebraces is off +>ignorebraces is still on here + + %clean rm -f file.in file.out diff --git a/configure.ac b/configure.ac index 6c0459747..5528597ba 100644 --- a/configure.ac +++ b/configure.ac @@ -565,7 +565,8 @@ AC_CHECK_PROGS([YODL], [yodl], [: yodl]) YODL_OPTIONS='' if test "x$ac_cv_prog_YODL" = xyodl; then case `yodl --version` in - *"version 3."*) YODL_OPTIONS='-L' ;; + *"version 2."*) YODL_OPTIONS='-k' ;; + *"version 3."*) YODL_OPTIONS='-k -L' ;; esac fi AC_SUBST(YODL_OPTIONS) @@ -1799,6 +1800,7 @@ zsh_LIMIT_PRESENT(RLIMIT_AS) zsh_LIMIT_PRESENT(RLIMIT_LOCKS) zsh_LIMIT_PRESENT(RLIMIT_MEMLOCK) zsh_LIMIT_PRESENT(RLIMIT_NPROC) +zsh_LIMIT_PRESENT(RLIMIT_NTHR) zsh_LIMIT_PRESENT(RLIMIT_NOFILE) zsh_LIMIT_PRESENT(RLIMIT_PTHREAD) zsh_LIMIT_PRESENT(RLIMIT_RSS) @@ -2709,6 +2711,10 @@ char *argv[]; DLLD="${DLLD=$CC}" DLLDARG="" ;; + *interix*) + DLLD="${DLLD=$CC}" + DLLDARG="" + ;; * ) DLLD="${DLLD=ld}" DLLDARG="" @@ -2719,6 +2725,7 @@ char *argv[]; case "$host_os" in hpux*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; darwin*) DLCFLAGS="${DLCFLAGS=-fno-common}" ;; + interix*) DLCFLAGS="${DLCFLAGS=}" ;; *) DLCFLAGS="${DLCFLAGS=-fPIC}" ;; esac else @@ -2733,10 +2740,9 @@ char *argv[]; fi case "$host_os" in osf*) DLLDFLAGS="${DLLDFLAGS=-shared -expect_unresolved '*'}" ;; - *freebsd*|linux*|irix*|gnu*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; + *freebsd*|*netbsd*|linux*|irix*|gnu*|interix*|dragonfly*) DLLDFLAGS="${DLLDFLAGS=-shared}" ;; sunos*) DLLDFLAGS="${DLLDFLAGS=-assert nodefinitions}" ;; sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G $ldflags}" ;; - netbsd*) DLLDFLAGS="${DLLDFLAGS=${DLLDARG}-x -shared --whole-archive}" ;; aix*) DLLDFLAGS="${DLLDFLAGS=-G -bexpall -lc}" ;; solaris*|sysv4*|esix*) DLLDFLAGS="${DLLDFLAGS=-G}" ;; darwin*) DLLDFLAGS="${DLLDFLAGS=-bundle -flat_namespace -undefined suppress}" ;; |