2001-10-25 Peter Stephenson * 16145: Src/Builtins/rlimits.c: try to handle both RLIMITS_VMEM and RLIMITS_RSS, even if they are the same value (c.f. 16033). 2001-10-24 Peter Stephenson * unposted: Config/version.mk: create 4.0.3. * unposted: Completion/BSD/Command/.distfiles, Completion/UNIX/Command/.distfiles, Functions/Zle.distfiles, Test/.distfiles: usual fixes for missing distfiles entries. * 16135: Doc/.distfiles: pack up more of the .distfiles produced by texi2html, see 16130. * 16033: Pavel Roskin : Src/Builtins/rlimits.c: Undefine RLIMIT_RSS if it's equal to RLIMIT_VMEM to avoid duplicate case value. aczsh.m4 (zsh_LARGE_FILE_SUPPORT): Ignore output of getconf if it returns "undefined". 2001-10-24 Bart Schaefer * Sven: 16041, Bart: 16038, 16124: Src/cond.c, Src/loop.c: for caching of compiled patterns: remember that singsub() might modify the string it gets, compare with unmodified string 2001-10-24 Peter Stephenson * 16130: Doc/.cvsignore, Doc/Makefile.in, Doc/Zsh/manual.yo: Fix for texi2html 1.64. 2001-10-22 Bart Schaefer * 16111: Src/Builtins/rlimits.c: Report error on attempt to set limit to a string that is not a decimal number. * 16109: Src/init.c: Use a fixed initial fdtable_size to fix crash resulting from a huge memory allocation, as reported in 16082. 2001-10-20 Bart Schaefer * Adapted from Stefan Dalibor, 16043: Src/utils.c: checkrmall() must not print to shout when shout's not valid. 2001-10-17 Clint Adams * 16078: Completion/Unix/Command/_zip: add -r, change description for -R. 2001-10-17 Sven Wischnowsky * 16002: Completion/Unix/Type/_path_files: use expanded paths (expand style with value prefix) only when we are at the last matcher spec * 15991: Src/Zle/compcore.c: hide all but one match with the same string in the list even for unsorted groups * 15944: Completion/Unix/Type/_path_files, Doc/Zsh/compsys.yo: make expand style (file completion) work again; no more special behaviour with menu completion; try to make docs clearer * 15653: Completion/Base/Core/_main_complete: make insert-tab really default to `true' * 15615: Completion/Unix/Type/_path_files: -[12n] options don't get arguments 2001-10-16 Bart Schaefer * 15812: Doc/Zsh/zle.yo: Cross-reference parameters used by ZLE. * 15702: Doc/Zsh/expn.yo: Alphabetize (mostly) parameter flag descriptions; fix a couple of typos; parameter rule #12. * 15676: Test/A01grammar.ztst, Test/A05execution.ztst, Test/C02cond.ztst, Test/D04parameter.ztst, Test/E01options.ztst, Test/E02xtrace.ztst, Test/Y01completion.ztst, Test/Y03arguments.ztst: Tweak %prep sections to exit sooner on certain failures (by adding blank lines). Other whitespace-only changes. Avoid [[ ! -r ... ]] test when running as root, as it always fails in that case. Test `typeset -ft' (function trace). * Adam Spiers: unposted: Doc/Zsh/expn.yo: mention the word `greedy' in the docs for the S flag, to make it easier to find for those used to Perl-speak. * 15488: Doc/Zsh/expn.yo: More index entry cleanup. Reorder the description section to look less as if it has two menus in info and to add some cross-references. * 15375: Doc/Zsh/options.yo: Explain the effect of CORRECT on HASH_CMDS et al. * 15198 (adapted): Completion/Zsh/Context/_tilde: Return nonzero if no matches are found. * 15060: Test/Y01completion.ztst, Test/Y02compmatch.ztst, Test/Y03arguments.ztst, Test/comptest: Abandon the tests during the %prep section if the zpty module can't be loaded. * 15057: Src/exec.c: PRINT_EXIT_VALUE for shell functions, too. * Andrej: 15038: Test/A01grammar.ztst: test case for 15023. (unposted) fix a couple of typos in test decriptions * 15023, 15027: Src/parse.c: Accept newlines before the "in" keyword in "for" and "select", per POSIX. 2001-10-15 Wayne Davison * 16059: Src/hist.c: Fix HIST_NO_SPACE when INTERACTIVE_COMMENTS is set and we get a comment. 2001-10-15 Clint Adams * 15094: Functions/Prompts/prompt_clint_setup: don't display battery level if it's -1%. * 15740: Completion/compaudit: don't whine about /usr/local/**/*(/) in $fpath being root:staff 2755 if we think we're on Debian. * 15739: Completion/compaudit: use getent instead of /etc/group if possible. 2001-10-14 Bart Schaefer * 16030: Completion/Unix/Command/_mount: Fix minor typos in option descriptions. 2001-10-11 Bart Schaefer * 16013: Src/exec.c: Properly save/restore state around the DEBUG trap, so that its return value does not alter the return value of current command (among other things). 2001-10-10 Oliver Kiddle * 16018: acconfig.h, zshconfig.ac, Etc/MACHINES, Test/C02cond.ztst: allow dynamic loading to work on MacOS X if the dlcompat library is installed. 2001-10-08 Oliver Kiddle * 15983: Completion/Unix/Command/_user_admin, Completion/Unix/Command/_sysctl, Completion/Unix/Type/_urls, Completion/Unix/Command/_webbrowser: darwin support in _sysctl, complete files for galeon 2001-10-08 Peter Stephenson * 15974: Etc/BUGS, LICENCE: mention trap EXIT bug fixed (ish) on 4.1 branch, plus old LICENCE fix that got missed. * 15965: Src/exec.c, Src/glob.c, Src/subst.c: rename glob() to zglob() to avoid clashes with library function. 2001-10-06 Clint Adams * Norbert Koch: 15954: Doc/Zsh/arith.yo: fix inconsistency of variable name in example. 2001-10-05 Clint Adams * 15941: Completion/Unix/Command/_mount: complete reiserfs mount options. * 15940: Completion/Unix/Command/_mount: complete -o utf8 for mount -t vfat. * 15939: Completion/Unix/Command/_mount: complete xfs mount options (for Linux). * 15938: Completion/Unix/Command/_mount: complete ext3 mount options. 2001-09-30 Clint Adams * 15915: Completion/Debian/Command/_bts: completion for bts script in devscripts. 2001-09-28 Bart Schaefer * 15889: Test/V01zmodload.ztst: Compute module dependencies for external modules so that they can be unloaded in the right order. 2001-09-27 Oliver Kiddle * 15882: zshconfig.ac, Etc/MACHINES, Test/C02cond.ztst: fix build and test problems on MacOS X (Darwin). 2001-09-25 Bart Schaefer * 15871, 15872: Src/subst.c, Test/D04parameter.ztst: Equivalence of `...` and $(...) in parameter substitutions, e.g. ${(e)...}. 2001-09-25 Sven Wischnowsky * 15868, 15869: Src/text.c: job text building code couldn't handle empty sublists (as in `coproc || test') 2001-09-25 Clint Adams * 15866, Sven 15468: Completion/Unix/Command/_ssh: complete v2 ciphers, protocol versions, improve user/host completion before @. 2001-09-24 Bart Schaefer * 15865: Doc/Zsh/builtins.yo: Fix ancient `print -z' doc bug (see zsh-workers/214 (yes, really, 214)). * 15864: Doc/Zsh/params.yo: Document that assignment to TERM is necessary to re-initialize the terminal. * users/4269: Src/hist.c: Detect and reject corrupted history files ('\0' bytes) rather than consuming all available memory. 2001-09-20 Bart Schaefer * 15847: Src/init.c: Avoid using the word "termcap" in an error message when it may in fact have been curses or terminfo that failed. 2001-09-19 Peter Stephenson * 15846: aczsh.m4: Fix attempt to restore LDFLAGS from non-existent saved value when testing RTLD_GLOBAL. 2001-09-18 Wayne Davison * 15836: Src/builtin.c: Further modify the "fc -l" code to tolerate out-of range values. 2001-09-17 Wayne Davison * 15837: Src/Zle/zle_hist.c: Fixed incremental search in vared (without -h) so that it doesn't access the history. 2001-09-16 Bart Schaefer * Akinori MUSHA: 15815: Completion/BSD/Command/_bsd_pkg: More detailed completion of package options on different BSD flavors. 2001-09-14 Wayne Davison * 15809: Src/hist.c: With HIST_NO_STORE, don't ignore what looks like a history command if we're really going to call a user-defined shell function. 2001-09-13 Wayne Davison * 15806: Src/builtin.c, Src/hist.c: Fixed "r" with an empty history and the non-storing nature of "r" with HIST_NO_STORE. 2001-09-12 Oliver Kiddle * 15792: Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo: update url references to http://zsh.sunsite.dk/ 2001-09-11 Oliver Kiddle * 15781: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_samba: new completion for samba tools 2001-09-09 Bart Schaefer * David Lebel: 15742: zshconfig.ac: Shared object linkage on OpenBSD. 2001-09-09 Geoff Wing * 15621: Src/Zle/zle_refresh.c: display of status line was being mucked up; also fix continuation markers "<...." and "<....>" * unposted: Src/Zle/zle_refresh.c: fix possible seg fault on a screen height shrink 2001-08-28 Sven Wischnowsky * 15717: Src/subst.c, Src/Modules/parameter.c, Src/Zle/zle_misc.c: handle possible NULL pointer returned from bufferwords() 2001-08-27 Wayne Davison * 15713: Completion/Redhat/Command/_rpm: added package-specification options to the --verify command. 2001-08-25 Bart Schaefer * 15707: Src/init.c: Fix history crash caused by re-entering loop() when the `precmd' shell function uses `source' or `.'. 2001-08-24 Sven Wischnowsky * 15705: Src/Zle/complete.c: test if hash table pointer is NULL to avoid SEGV with compstate=() 2001-08-22 Clint Adams * 15683: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_links: completion for links(1). 2001-08-21 Clint Adams * 15675: Src/Builtins/rlimits.awk: handle case where RLIM_NLIMITS is set to a number within an enum. 2001-08-18 Bart Schaefer * 15617: Src/exec.c: Fix exit status of zsh -fc '! command'. 2001-08-16 Sven Wischnowsky * 15639: Src/text.c: fix bug for output of unquoted here-docs and -strings with special characters 2001-08-15 Adam Spiers * 15630: Completion/Redhat/Command/_rpm: update caching policy for newer versions of rpm. 2001-08-14 Clint Adams * 15629: Completion/Unix/Command/_zip: unzip -Z should behave the same as zipinfo. 2001-08-13 Bart Schaefer * 15613 (plus unposted additions): Test/B02typeset.ztst: Tests for correct behavior of typeset options and arguments. * 15611: Src/builtin.c, Test/D06subscript.ztst: Fix crash bug when assigning to array elements in a function in the arguments of typeset or local. Change test for new typeset restrictions. 2001-08-12 Bart Schaefer * Peter Breitenlohner: 14956: Makefile.in, Doc/Makefile.in, Test/Makefile.in: Fix various interactions of DESTDIR and use of multiple build targets, e.g. "make DESTDIR=/tmp all check info". 2001-08-09 Oliver Kiddle * 15599: Completion/Unix/Command/_user_admin: detect redhat or mandrake before completing redhat's extensions 2001-08-07 Wayne Davison * users/4092: Src/hist.c: Don't lose the last history line when a signal causes us to rewrite the history file. 2001-08-07 Oliver Kiddle * 15594: Completion/Zsh/Context/_value, Completion/Zsh/Command/_enable: use _x_display when setting $DISPLAY and fix substitution mistake in enable completion 2001-08-07 Peter Stephenson * 15583: Config/installfns.sh: ignore CVS directories for all function installations, not just with subdirectories. 2001-08-06 Oliver Kiddle * 15574: Completion/Unix/Command/_cvs, Completion/Unix/Type/_users, Completion/Unix/Command/_user_admin, Completion/Unix/Type/_groups, Completion/Unix/Type/_directories: new _user_admin completion for useradd, groupmod etc and remove redundant duplication in _cvs * 15577: Completion/Unix/Command/_grep, Completion/Unix/Command/_loadkeys: fix exclusion lists 2001-08-03 Oliver Kiddle * 15562, Akinori Musha: 15559, 15563: Completion/BSD/Command/_chflags, Completion/Unix/Command/_chown, Completion/Unix/Command/_sysctl: new BSD completion and fix _chown for symlinks 2001-07-31 Clint Adams * 15551: Completion/Unix/Command/_gzip: handle -l and -t as done for -d; only complete presumably compressed files. 2001-07-27 Peter Stephenson * 15508: Completion/Unix/Command/_cvs: cvs tag told you it was going to complete a tag, but then didn't. 2001-07-26 Peter Stephenson * 15498: Doc/Zsh/builtins.yo, Doc/Zsh/zle.yo: fix cross-refs for zle builtins and add extra texinfo nodes for zle keymaps, builtins and widgets. 2001-07-26 Oliver Kiddle * 15503: Test/E01options.ztst: fix posixbuiltins test so that it isn't broken by the existence of a print external command. 2001-07-25 Sven Wischnowsky * 15487: Src/Zle/complete.c: fix for `--' before matches ignoring all -M options in compadd 2001-07-24 Sven Wischnowsky * 15470: Src/parse.c: remove nulargs in here strings 2001-07-20 Sven Wischnowsky * 15433: Src/Zle/computil.c: don't use compsuffix when it might be freed; use the right variable in that loop there, dammit 2001-07-18 Sven Wischnowsky * 15402 (Akinora Musha): Completion/Unix/Command/_cvs: add support for -R option on BSDs 2001-07-17 Oliver Kiddle * 15393 (Akinori Musha): Completion/Unix/Command/_chown: use colon separator for BSD 2001-07-17 Sven Wischnowsky * 15400: Completion/Unix/Type/_path_files, Completion/Zsh/Command/_zstyle, Doc/Zsh/compsys.yo: add preserve-prefix style to keep pathname prefix unchanged 2001-07-13 Andrej Borsenkow * 15390: Completion/Unix/Command/_mount: Cygwin support 2001-07-10 Sven Wischnowsky * 15357: Completion/Base/Completer/_prefix, Src/Zle/compcore.c, Src/Zle/zle_tricky.c: prefix completion: make e-o-c-p leave a space before the cursor, make _prefix leave the cursor after the inserted match even if only a single match; and make the C-code not show explanation strings if the completion function it doesn't want a list * 15352: Completion/Unix/Command/_man: remove not only numeric suffixes, but also `.n' and the like 2001-07-09 Bart Schaefer * 15321: Src/exec.c: Fix line numbers in an error message; unwind function context properly on obscure autoloading failures. 2001-07-07 Bart Schaefer * 15308: Src/builtin.c: Fix infinite loop on `r OLD=NEW' when OLD is the empty string, by rejecting replacements with an empty OLD. 2001-07-06 Peter Stephenson * 15279: Doc/Zsh/expn.yo: describe those ${(S)...%%...} things so that even I understand what the code does. 2001-07-06 Oliver Kiddle * 15252 (and Akinori Musha: 15245): Completion/BSD/Command/_kld, Completion/Unix/Command/_sysctl: Add exclusion lists and use _multi_parts for BSD completion of sysctl. 2001-07-06 Sven Wischnowsky * 15283: Completion/Unix/Type/_path_files: when looking for parameter expansions, ignore `$'s with a backslash before them 2001-07-05 Peter Stephenson * 15277: Src/glob.c: bug with ${(S)...%%...}: the indices for start and end of backreferences were incorrect. * 15264: Doc/Zsh/grammar.yo: improve description of use of variant complex command forms to avoid confusing the present writer. * 15261: Test/E01options.ztst, Test/ztst.zsh: remaining easy option tests. 2001-07-05 Andrej Borsenkow * 15253 : Src/hashtable.c: make hashdir() hash foo in addition to foo.exe on Cygwin again (lost when Cygwin gcc stopped setting _WIN32 by default). 2001-07-03 Oliver Kiddle * 15223, Akinori Musha: 15215: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_sysctl: Add completion for sysctl(8) 2001-07-02 Bart Schaefer * unposted: zshconfig.ac: Remove references to FUNCINST_MK. 2001-07-02 Oliver Kiddle * 15204: zshconfig.ac, Src/compat.c, Src/params.c: fix compilation problems on IRIX 5.3 and correct error messages 2001-06-30 Bart Schaefer * 15191: Src/init.c: Don't infinite loop if there's an error in the user's precmd -- reset errflag after preprompt(). 2001-06-29 Andrej Borsenkow * 15183: zshconfig.ac: fix DLLD in non-ELF case * 15181: zshconfig.ac: use -KPIC instead of -Kpic at request of Tomi Vainio * 15180: zshconfig.ac, Etc/MACHINES: make AIX default to termcap as workaround for apparent AIX curses bug; add flags to create modules with shared object type. Mention curses problem. 2001-06-29 Clint Adams * Bart: 15083 plus comments: Functions/Zle/bash-backward-kill-word: bash-style backward-kill-word function. 2001-06-28 Wayne Davison * 15172: Src/hist.c: Have prepnexthistent() remove any HIST_TEMPSTORE entry that is present. 2001-06-28 Peter Stephenson * 15160: Doc/Makefile.in: install zsh.html if generated by texi2html. 2001-06-28 Oliver Kiddle * unposted: Etc/zsh-development-guide, Test/B01cd.ztst: fix typos * 15159: Completion/X/Command/_vnc: fix for two digit display numbers, use _values for -encodings option and complete for xvncviewer 2001-06-28 Peter Stephenson * 15151: zshconfig.ac: --enable-sitefndir should be --enable-site-fndir, spotted by Jos Backus. 2001-06-28 Clint Adams * 15079: Completion/Unix/Command/_last, Completion/Unix/Type/_users: last takes other arguments than users. 2001-06-26 Sven Wischnowsky * user/3946: Src/Zle/computil.c: fix for finding the first ambiguous path component in compfiles 2001-06-25 Peter Stephenson * unposted: Config/version.mk: version zsh-4.0.2. * zsh-users/3942: source installed as Etc/FAQ.yo: latest FAQ. * unposted: Completion/Zsh/Context/.distfiles: add _autocd. 2001-06-25 Sven Wischnowsky * user/3940: Src/Zle/zle_tricky.c: make expand-word not always restore the command line 2001-06-22 Andrej Borsenkow * 15021: Src/prompt.c, Doc/Zsh/prompt.yo: revert to old %l semantic; add new %y character instead as suggested by Wayne 2001-06-21 Bart Schaefer * 15020: Completion/Zsh/Command/_cd, Completion/Zsh/Context/_autocd, Completion/Zsh/Type/_command_names: When AUTO_CD is set, complete directory names (including along cdpath) as well as commands when in command position. * 15018: Completion/compinit: Fix exit status of compdef. * 15002: Completion/Base/Widget/_complete_debug, Completion/Base/Widget/_complete_help: Use `trap' to restore state properly in case of keyboard interrupt. 2001-06-20 Bart Schaefer * 14880: Completion/Base/Core/_main_complete: Fix insert-tab style when value is `pending'. (Belated commit, out of number order.) 2001-06-20 Peter Stephenson * 14988 with mod suggested in 14989: Src/exec.c: avoid names of saved special parameters being trashed. 2001-06-19 Bart Schaefer * 14976: aczsh.m4: Add socklen_t to possible SOCKLEN_T types. 2001-06-19 Andrej Borsenkow * 14973: acconfig.h, aczsh.m4, zshconfig.ac, Src/Modules/zftp.c: fix for reported problems on AIX 4.x. Still no feedback if it finally works (or even compiles) 2001-06-18 Bart Schaefer * 14965: Src/Zle/computil.c: Silence compiler warnings. 2001-06-18 Sven Wischnowsky * 14962: Completion/Unix/Type/_path_files: make special-dirs work together with file-sort (ignore added qualifiers in a test) 2001-06-18 Peter Stephenson * 14959: Src/signals.c: more renames for 14951. 2001-06-18 Andrej Borsenkow * unposted: zshconfig.ac: forgot to change zsh_cv_sys_dynamic_broken -> zsh_cv_shared_environ in one place 2001-06-18 Sven Wischnowsky * 14951: Src/signals.c, Src/signals.h: rename handler() to zhandler() because it's now exported to modules 2001-06-17 Bart Schaefer * Jason Began: 3931 (see cvs.netbsd.org): zshconfig.ac: Use -fPIC for gcc dynamic linking rather than -fpic. 2001-06-14 Peter Stephenson * 14921: Completion/Zsh/_zftp: autoload zfcd_match and zfget_match if necessary. 2001-06-13 Sven Wischnowsky * 14903: Src/Zle/complist.c, Src/Zle/zle_tricky.c: fixes for display bugs for completion lists (cursor left one line to far up or down) 2001-06-13 Peter Stephenson * 14893: Src/signals.c: make handler mod_export because it's needed for signal queueing in various modules. Probably sensible to change handler to zhandler too --- not done yet. 2001-06-13 Sven Wischnowsky * 14897 (and Oliver Kiddle: 14862): Completion/Base/Utility/_values, Completion/Unix/Command/_mount, Completion/Unix/Type/_dir_list, Src/Zle/computil.c: fix for comparguments (completing after single letter options that get their argument in the next word); make _values ignore some of the standard option it may get; make _mount use _dir_list in some places and improve that; `document' comparguments and compvalues with some comments in computil.c 2001-06-13 Oliver Kiddle * 14896: Completion/Zsh/Type/_command_names: don't complete read-only parameters on the left side of an assignment 2001-06-13 Peter Stephenson * unposted: Completion/compinstall: spotted by Bart: assignments when finding $fpath if not set in current shell were completely garbled. 2001-06-13 Sven Wischnowsky * 14883 (Jos Backus): Completion/Unix/Command/_mount: add code for BSDish systems 2001-06-12 Peter Stephenson * 14858: Doc/Zsh/options.yo, Src/options.c, Src/subst.c, Src/zsh.h, Test/E01options.ztst: KSH_TYPESET option allows assignments after typeset not to be split. 2001-06-12 Bart Schaefer * 14849: README: Request "reporter" output only if a bug cannot be reproduced with 'zsh -f'. 2001-06-11 Sven Wischnowsky * 14841: Completion/Base/Utility/_values, Src/Zle/computil.c: new word parsing for compvalues; this should now handle empty separators correctly, as far as it is possible 2001-06-11 Peter Stephenson * 14840: Doc/Zsh/options.yo: document search behaviour with PATH_DIRS option. 2001-06-10 Clint Adams * 14830: config.guess, config.sub: upgrade to GNU's June 5 and 8 versions, respectively. 2001-06-09 Bart Schaefer * unposted (see 14826): Test/C02cond.ztst: Force group of new directory created for file-mode tests to be owned by the current effective group. * 14824: Test/comptest: Avoid echotc (improvement on 14792). 2001-06-08 Bart Schaefer * 14796: zshconfig.ac: More reliable BROKEN_KILL_ESRCH test. 2001-06-07 Bart Schaefer * 14792: Test/comptest: Don't import the current terminal type for the zpty terminal, because the current terminal might not be able to run ZLE (e.g., emacs shell mode). * 14712: Doc/Zsh/builtins.yo: Improve appearance of long hanging paragraph tag for the "read" builtin. * 14578: Src/Modules/termcap.c: Handle vagaries of tgetflag() return value in new function ztgetflag(). 2001-06-07 Wayne Davison * 14793: Src/hist.c: Don't mark a HIST_TMPSTORE entry with HIST_OLD so that the HFILE_FAST algorithm in savehistfile() will recheck this histnum later. 2001-06-06 Andrej Borsenkow * 14772: David Lebel : zshconfig.ac: patch for dynamic linking on OpenBSD * 14766: Src/prompt.c: uniform %l substitution * 14679, Bart 14693, 14758, 14760: configure.ac, zshconfig.ac, .distfiles, Makefile.in, configure.in, Src/mkmakemod.sh: Allow processing by both autoconf-2.13 and autoconf-2.50; remove config.status hack for autoconf-2.50 2001-06-06 Sven Wischnowsky * 14736: Doc/Zsh/compsys.yo: make docs for _wanted and _requested clearer (command has to allow options passed to it) * 14733: Completion/Base/Utility/_arguments: two fixes: try all actions that have to be tried (but only once), execute actions if we aren't after an option already (in the same word) 2001-06-05 Chmouel Boudjnah * 14550: Completion/Redhat/Command/_rpm: Add --nobuild and --nogpg to rpm completion 2001-06-01 Peter Stephenson * Config/version.mk: 4.0.1 released, finally.