2001-05-21 Peter Stephenson * 14408: Test/C02cond.ztst: do chmod +w to work around rm -f problem in Cygwin. * unposted: Test/.distfiles: add Test/E01options.ztst. 2001-05-20 Peter Stephenson * 14396: Src/params.c, Test/D04paramater.ztst, Doc/Zsh/params.yo: Fix bug that though path/PATH etc. were unset as a pair, they didn't get recreated as a pair despite remaining special. Add tests for this and fix in 14388. Add documentation for special ties like path and PATH. 2001-05-20 Bart Schaefer * unposted: Test/ztst.zsh: Handle line wrapping in ZTST_hashmark. 2001-05-20 Andrej Borsenkow * 14401: Makefile.in, configure.in, Config/config.mk, Config/installfns.sh, Doc/Makefile.in, Src/Makefile.in, Src/mkmakemod.sh: do not assume scripts are directly executable (they are not always on Cygwin) - use `sh script' instead 2001-05-20 Wayne Davison * last half of 14390: Src/params.c: Added some boundary checks to the array-assignment code. 2001-05-19 Wayne Davison * 14389: Src/hashtable.c, Src/hist.c: Don't call addhistnode() or removehashnode() on a HIST_TMPSTORE entry. Don't merge a HIST_TMPSTORE entry with a previous "duplicate" line. 2001-05-18 Bart Schaefer * 14388: Src/params.c, Src/subst.c: Correctly handle re-set of of integer-typed special parameters such as SHLVL, after unset. * 14385: Test/V01zmodload.ztst, Test/ztst.zsh: Fix typo in a comment; print a warning when unable to test zsh/example; make sure the file descriptor for that warning (and others in other test files) is available even if ZTST_verbose has an unexpected value. 2001-05-18 Peter Stephenson * not posted: Test/ztst.zsh, Test/E01options.ztst: added some more options; made ztst.zsh more robust about ksharrays being set by a test. * 14382: Src/module.c: zmodload -uf wouldn't work even if the math function hadn't been loaded yet. 2001-05-18 Sven Wischnowsky * 14381: Src/subst.c: try to make ${(e)..} work for complicated parameter expansions in the value; this means: keep Qstring tokens unchanged if they are inside double quotes and tokenizing patterns in parameter expansions 2001-05-18 Bart Schaefer * unposted: Test/.distfiles, Test/V01zmodload.ztst: Add the basic tests of zmodload functionality. 2001-05-18 Clint Adams * 14378: Completion/Unix/Type/_tex: also work for pdflatex, jadetex, and pdfjadetex. 2001-05-17 Tanaka Akira * 14377: Completion/Unix/Command/_cvs: support new .cvspass format introduced by cvs-1.11.1. 2001-05-17 Peter Stephenson * 14376: Completion/Unix/Command/_lp: type with compset. 2001-05-17 Bart Schaefer * 14375: Src/Zle/zle_main.c: Permit signals to be handled during read from the terminal in zleread(). (This changes only nested calls from widgets such as incremental search; signals were never queued for top-level reads.) 2001-05-16 Clint Adams * 14361, 14362: Completion/Unix/Command/_modutils: use state for modprobe so that modprobe -r will complete multiple loaded modules. Also handle more of modprobe's options. 2001-05-16 Sven Wischnowsky * 14359: Src/Zle/zle_tricky.c: more fixage for expansion: just convert the command line to the original when expansion shouldn't or couldn't do something sensible on the line 2001-05-15 Wayne Davison * 14357: Src/hashtable.c, Src/hist.c, Src/zsh.h, Doc/Zsh/options.yo: Added a "delayed drop" for ignored history entries. 2001-05-15 Oliver Kiddle * 14355: Completion/Unix/Command/_modutils: fix bug where /sbin/lsmod was redirected in instead of being run 2001-05-15 Sven Wischnowsky * 14350: Completion/Base/Completer/_expand, Src/Zle/zle_tricky.c: don't remove single and double quotes that are inside parameter expansions; hopefully better handling of brace expansions in _expand 2001-05-15 Peter Stephenson * 14348: Src/builtin.c: some idiot forgot to make GLOBAL_EXPORT work with typeset -g. 2001-05-15 Sven Wischnowsky * 14346: Src/parse.c: calculate the length of the region to map (for mapped zwc files) correctly, including the offset-page-boundary-adjustment 2001-05-15 Clint Adams * 14341: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_modutils: complete loaded Linux kernel modules for rmmod or modprobe -r. 2001-05-14 Peter Stephenson * 14330: Completion/Base/Widget/_most_recent_file: handle filenames which need quoted characters better. 2001-05-14 Sven Wischnowsky * 14327: Src/exec.c: set list_pipe_job only for real pipelines 2001-05-11 Peter Stephenson * 14314: Src/Modules/stat.c: writing const variable under cygwin. * 14313: Test/E01options.ztst, Test/ztst.zsh: new options tests. 2001-05-10 Wayne Davison * 14304: Src/hist.c: Fixed an obscure local-history bug that could make the "history" command output something that was slightly wrong. 2001-05-10 Andrej Borsenkow * users/3872: Src/Modules/zftp.c: rename inet_* to avoid clash with Solaris 7 headers. 2001-05-10 Tanaka Akira * 14295: Completion/Unix/Command/_cvs: support new cvs subcommands `rannotate' and `rlog' introduced by cvs-1.11.1. 2001-05-10 Sven Wischnowsky * 14293: Src/Zle/computil.c: barf if a empty string is given as one of the separators for _values 2001-05-09 Bart Schaefer * unposted: configure.in: Clean up 14275+14290 a bit at Andrej's urging so as not to violate quite so many autoconf usage rules. * 14290: configure.in: Use a different cache variable for the Solaris-curses.h-mistake-fix from 14275. 2001-05-09 Oliver Kiddle * 14266, 14283: Etc/FEATURES, StartupFiles/zshrc: update; in particular to use new style completion in example startup file. * 14282: Completion/Unix/Command/_chown: complete only files that can be chowned. * 14281: Completion/Base/Completer/_expand: insert redirection operators when expanding after a redirection operator. 2001-05-09 Peter Stephenson * unposted: Config/version.mk: 4.0.1-pre-4. * 14280: Doc/Zsh/options.yo: make clearer that GLOB_SUBST doesn't affect braces and commas. * unposted: back off 14140, since logically it implies tokenizing braces from parameters, which opens a whole new kettle of worms. 2001-05-09 Sven Wischnowsky * 14279: Doc/Zsh/compsys.yo: add description of how to add a auto-removable suffix when using a ->state action with _values 2001-05-08 Bart Schaefer * 14275: configure.in, acconfig.h: Fix 14270 so that it works after config.cache has been loaded. 2001-05-08 Peter Stephenson * 14270: configure.in, acconfig.h: use TRY_COMPILE to check for curses.h because SunOS 5.8 produces warnings which cause HAVE_CURSES_H not to be defined. 2001-05-08 Bart Schaefer * unposted: Completion/Zsh/Context/_subscript: Remove unnecessary `*' from a pattern. 2001-05-08 Sven Wischnowsky * 14257: Completion/Base/Utility/_values, Doc/Zsh/compsys.yo, Src/Zle/computil.c: add -S option to specify separator between values and their arguments; make _values add the value-separator as a suffix for most types of actions 2001-05-08 Oliver Kiddle * 14256: Completion/Zsh/Context/_subscript: fix minor mistake * 14255: Completion/X/Command/_vnc: fix guard for display numbers 2001-05-08 Peter Stephenson * Andrej: 14248: Src/Modules/zpty.c, Test/comptest: don't use O_NOCTTY in one case for zpty on cygwin, remove incorrect flag for no blocking with zpty in comptest. 2001-05-08 Sven Wischnowsky * 14252: Completion/Base/Core/_description, Doc/Zsh/compsys.yo: empty description means: don't add a -X option * 14251: Src/Zle/complist.c, Src/Zle/zle_tricky.c: print space/backspace when reaching the last column while printing descriptions and the like to avoid a cursor positioning bug depending on the kind of terminal (autowrap) 2001-05-07 Sven Wischnowsky * 14240: Completion/Unix/Type/_files: double all backslashes before colons in the original pattern 2001-05-06 Bart Schaefer * 14235: Completion/Zsh/Context/_subscript: Improve handling of b/n/s subscript flags. * 14234: Src/Zle/computil.c: Prevent "no multi-letter values" error on values of '\:' and '' in compvalues(). 2001-05-05 Bart Schaefer * 14230: Completion/Zsh/Context/_subscript: Fix flag descriptions. 2001-05-04 Oliver Kiddle * 14227: Completion/Zsh/Context/_subscript: Complete subscript flags. 2001-05-04 Bart Schaefer * 14224: Completion/Unix/Commmand/_cvs: Complete path prefixes for subcommands where file completion must reference CVS/Entries. 2001-05-04 Oliver Kiddle * 14219: Completion/Zsh/Command/_bindkey: update for bindkey changes in 14046 2001-05-03 Bart Schaefer * 14217: Completion/Unix/Type/_files: Fix processing of the -F option so that it doesn't stomp on other options. 2001-05-03 Oliver Kiddle * 14216: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_loadkeys, Completion/Unix/Command/_lp, Completion/Unix/Command/_pbm, Completion/Unix/Command/_w3m: minor completion changes 2001-05-03 Sven Wischnowsky * 14214: Src/Zle/computil.c: ignore errors when removing quotes 2001-05-02 Bart Schaefer * 14206: configure.in: Fix bug introduced by 14177; also, only check for curses headers when linking against the curses library. 2001-05-02 Clint Adams * 14208: Completion/Unix/Command/_loadkeys: support Solaris loadkeys. * 14201: Completion/Unix/Command/_loadkeys: completion for loadkeys. 2001-05-02 Peter Stephenson * 14140: Src/glob.c: v='A,B'; print X{$~v}Y now prints XAY XBY. 2001-05-02 Sven Wischnowsky * 14198: Src/Zle/computil.c: remove quotes when looking at arguments in comparguments * 14197: Completion/Base/Completer/_expand: missing star in suffix-style test pattern 2001-05-01 Peter Stephenson * 14181: Src/params.c: follow-up to 14151: use BDIGBUFSIZE in two other places. 2001-05-01 Bart Schaefer * 14177: configure.in: Add --with-curses-terminfo to force search order for tgetent and search for tigetstr. Reorder some other options and reword their help messages. 2001-04-30 Bart Schaefer * 14169: configure.in: Improve some AC_TRY_LINK tests so that they can't accidentally succeed because of a compiler that optimizes away unreferenced variables. 2001-04-30 Sven Wischnowsky * 14160: Completion/Base/Completer/_expand: fixlet for the test for the suffix style; if word contains only a tilde, don't try to expand it 2001-04-30 Andrej Borsenkow * Bart: 14144 (modified): Src/Modules/stat.c: The S_IXUSR, S_IXGRP, S_IXOTH are made external variables in Cygwin 1.3.1 and cannot be used as static array initializer anymore. 2001-04-29 Bart Schaefer * users/3837: Completion/compinit: Add `NO_kshglob' to $_comp_options. 2001-04-28 Bart Schaefer * 14151: Src/params.c, Src/subst.c, Src/system.h: BDIGBUFSIZE is the space needed to print a number converted to binary. 2001-04-27 Sven Wischnowsky * 14133: Completion/Base/Completer/_expand, Completion/Unix/Type/_path_files, Doc/Zsh/compsys.yo: try to improve testing for suffix style in _expand; make _path_files fail to complete words like ........ 2001-04-26 Bart Schaefer * 14129: Completion/Base/Completer/_approximate: Use a trap to unfunction the `compadd' function so that it can be correctly removed in the event that the competion system is interrupted by a keyboard signal. 2001-04-26 Clint Adams * 14125: Src/Modules/termcap.c, Src/Modules/terminfo.c: remove static incleanup flag since it is not used. * 14123: acconfig.h, configure.in, Src/Modules/termcap.c: don't include curses.h in termcap.c if term.h doesn't need it. 2001-04-26 Sven Wischnowsky * 14117: Completion/Base/Utility/_arguments, Doc/Zsh/compsys.yo: tweak to make single-letter options only be completed after an option with an argument if the -W option is given 2001-04-26 Bart Schaefer * 14108: Src/Modules/termcap.c: Don't define USES_TERM* if the corresponding HAVE_TERM* constants are not defined. 2001-04-26 Oliver Kiddle * 14112: Completion/Base/Utility/.distfiles, Completion/Unix/Command/_pine, Completion/X/Command/.distfiles, Completion/X/Command/_vnc: new _vnc and use of new _guard in _pine 2001-04-26 Sven Wischnowsky * 14107: Completion/compaudit, Completion/compinstall, Doc/Zsh/compsys.yo: handle sub-sub-directories of $_compdir as in the CVS-layout * 14105: Completion/Base/Utility/_arguments, Completion/Base/Utility/_guard, Completion/X/Utility/_x_arguments, Completion/X/Utility/_xt_arguments, Doc/Zsh/compsys.yo, Src/Zle/computil.c: rename -W option to -w, add new -W option which makes _arguments complete options even after options that get their argument in the same word; new _guard function for conditionally displaying messages * 14092: Completion/Base/Completer/_expand: make keep-prefix keep everything up to the first component with a parameter expansion, not only if that is at the beginning of the string 2001-04-25 Sven Wischnowsky * 14089: Src/Zle/computil.c: fix a sizeof() to strlen(). ahem. 2001-04-23 Bart Schaefer * 14081: configure.in, Src/termcap.c, Src/terminfo.c: Fix linking yet again in the wake of 14077. Disables echoti and the terminfo parameter on systems that have the old termcap, because otherwise the main zsh may be unnecessarily linked with curses even when the zsh/terminfo module is not in use. * 14080: Src/glob.c, Src/params.c, Src/subst.c, Src/zsh.h, Test/D06subscript.ztst: Optimize subscript parsing slightly by passing down an indication of whether the expression is in double quotes; fail noisily rather than silently on certain illegal associative array assignments; still more subscripting tests. 2001-04-23 Clint Adams * 14078: Doc/Zsh/mod_termcap.yo, Doc/Zsh/mod_terminfo.yo: Document $termcap, change reference to termcap/terminfo 'strings' to 'values'. 2001-04-23 Andrej Borsenkow * 14077 : acconfig.h, aczsh.m4, configure.in, Config/defs.mk.in, Src/Makefile.in, Src/mkmakemod.sh, Src/zsh.mdd, Src/Modules/cap.mdd, Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd, Src/Modules/zftp.mdd: revert Clint's build patches. They break build on ReliantUNIX and need some more consideration. 2001-04-23 Bart Schaefer * 14070: Src/lex.c, Src/params.c, Test/D06subscript.ztst: Fix problem with parsing \" in subscripts during parameter expansion in double-quotes. 2001-04-22 Bart Schaefer * 14066: Doc/Zsh/expn.yo, Doc/Zsh/params.yo, Src/params.c, Test/D06subscript.ztst: Document subscript usage; fix minor bug in (kK) subscript flags, and add a test for it. 2001-04-22 Clint Adams * 14065: Src/params.c, Src/Modules/termcap.c, Src/Modules/terminfo.c: handle numeric capabilities properly within the termcap/terminfo parameters. 2001-04-21 Bart Schaefer * 14062: Src/Modules/termcap.c: Avoid including both old-style termcap.h and ncurses term.h at the same time (see 13965). * 14060: Src/builtin.c, Src/lex.c, Src/params.c, Test/D06subscript.ztst: Fix problem with ${array[ix]=value} introduced by 14008; fix long-standing problems with `noglob typeset array[ix]=value' and `typeset 12foo=bar'; fix parsing problem with ((\[ ...)) introduced by 14051. 2001-04-20 Clint Adams * 14055: Src/Modules/termcap.c: include termio.h if available. This prevents Solaris 8 from choking on term.h. * 14053: Src/Modules/termcap.c, Src/Modules/termcap.mdd: add ${termcap} special parameter in the style of ${terminfo}. 2001-04-19 Bart Schaefer * 14008, 14051: Src/lex.c, Src/math.c, Src/params.c, Test/D06subscript.ztst: Improve parsing of subscripts so that many forms that failed before, work now, particularly for assoc array keys; create a test suite. * 14008: Src/hist.c: Don't getsparam("HISTFILE") until it is actually needed, because other parameter expansions reset the history mechanism for subscript parsing. * 14008: Src/builtin.c: Keep track of the new Param created when typeset_single() calls setsparam() in some circumstances; drop a redundant isident() test. 2001-04-19 Peter Stephenson * 14046: Doc/Zle/zle.yo, Src/Zle/zle_keymap.c: bindkey -rp removes bindings with given prefix; minor bugfix for length of prefix with bindkey -p. Also, don't bind cursor keystrings if they are just a single key. 2001-04-19 Clint Adams * unposted: configure.in: make sure all the libraries are in for the function check. * 14041: configure.in, Config/defs.mk.in, Src/Makefile.in, Src/Modules/cap.mdd, Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd, Src/Modules/zftp.mdd: only link modules against needed libraries. * 14039: configure.in, Config/defs.mk.in, Src/zsh.mdd, Src/Modules/cap.mdd, Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd, Src/Modules/zftp.mdd: simulate old linking behavior. * 14033: acconfig.h, aczsh.m4, configure.in, Config/defs.mk.in, Src/Makefile.in, Src/mkmakemod.sh, Src/zsh.mdd, Src/Modules/cap.mdd, Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd: only link modules and main binary against needed libraries. 2001-04-19 Sven Wischnowsky * 14028: Src/Zle/complete.mdd: use the right path patterns for completion functions 2001-04-19 Clint Adams * 14018: Src/mkmakemod.sh: honor STRIPFLAGS when installing modules. 2001-04-18 Bart Schaefer * 14004 (plus typo fix per Sven 14009): Improve completion in the tail of paths with a leading tilde-component, particularly with respect to nameddirs. 2001-04-17 Sven Wischnowsky * 13999: Src/Zle/computil.c: only use the exclusion lists of options that are not currently being completed, but keep options from being completed more than once * 13997: Completion/Zsh/Type/_directory_stack: remove SUFFIX-handling, it's in _tilde and only needed there 2001-04-14 Bart Schaefer * unposted: Etc/zsh-development-guide: The entire section on hook functions was repeated twice; delete one copy. 2001-04-13 Oliver Kiddle * 13982: Completion/Base/Utility/_multi_parts, Completion/Unix/Command/.distfiles, Completion/Unix/Command/_elm, Completion/Unix/Command/_mail, Completion/Unix/Command/_mutt, Completion/Unix/Command/_ncftp, Completion/Unix/Command/_pine: add completion for common MUAs and a couple of minor fixes 2001-04-13 Wayne Davison * 13981: Src/Modules/zftp.c: Don't define gethostbyname2() as static, since it can clash with the system header files on a system that provides the prototype but not the object. 2001-04-13 Bart Schaefer * 13973: Completion/Unix/Type/_path_files: Parameter expansions are checked before tilde-expansions so that the former are handled properly when they appear in the same word as the latter. * 13972: Src/prototypes.h, Src/system.h, Src/Modules/termcap.c, Src/Modules/terminfo.c: Resolve assorted header file collisions, mostly for benefit of Solaris 2.6. 2001-04-12 Bart Schaefer * 13965: Src/system.h, Src/prototypes.h, Src/Modules/terminfo.c: Use for termcap protos when it is found but is not; don't include unless it will be used. 2001-04-12 Clint Adams * 13961: Src/prototypes.h: entertain the possibility that tputs is defined in term.h. 2001-04-12 Oliver Kiddle * 13958: Completion/Zsh/Type/_directory_stack: a hopefully correct fix to avoid appending a / when called from _cd * unposted: Completion/Zsh/Command/.distfiles: missed change for 13947 2001-04-12 Clint Adams * 13955: acconfig.h, configure.in, Src/Modules/terminfo.c: s/codes/names/. * 13953: acconfig.h, configure.in, Src/Modules/terminfo.c: have configure check for the existence of boolcodes, numcodes, and strcodes symbols, and presume that they are terminfo capability code inventories. * 13951: Src/Modules/terminfo.c: make scanterminfo do something so that ${(k)terminfo} and ${(kv)terminfo} work. 2001-04-11 Bart Schaefer * 13949: Completion/Zsh/Type/_directory_stack: Don't append a slash when completing after [-+]*. * unposted: Functions/Misc/getjobs: Update comment to reflect change in preexec call signature from 13942. * unposted (see 13946): Functions/Prompts/prompt_bart_setup: Strip %[BSUbsu] from $PS1 when computing the width of the first line. 2001-04-11 Oliver Kiddle * 13947: Completion/Zsh/Command/_fc, Completion/Zsh/Type/_aliases, Completion/Zsh/Type/_jobs_fg, Completion/Zsh/Command/_alias, Completion/Zsh/Command/_jobs_builtin: new _alias and _jobs_builtin 2001-04-11 Wayne Davison * 13942: Src/init.c, Doc/Zsh/func.yo: Fixed a bug in the calling of "preexec" to prevent the passing of the wrong history info as arg #1. Added 2 extra args with expanded command info. Documented the new calling syntax. 2001-04-11 Peter Stephenson * 13944: Src/Modules/mapfile.c (from Bart): dupstring the parameter name to avoid static buffer re-use problem. 2001-04-10 Wayne Davison * unposted: Src/hist.c: Slightly enhanced should_ignore_line() by using getjobtext() instead of getpermtext(). 2001-04-09 Wayne Davison * 13934, 13936: Src/Modules/terminfo.c: silence some compiler warnings when HAVE_TIGETSTR is not defined. 2001-04-09 Bart Schaefer * unposted: Src/modules/terminfo.c: Unset the terminfo parameter on autoload when terminfo is not available, to suppress a warning about autoload failure. * 13931: Src/Modules/termcap.mdd, Src/Modules/terminfo.mdd: Fix `load' directives broken by 13922. * 13922: Src/Modules/termcap.c, Src/Modules/termcap.mdd, Src/Modules/terminfo.c, Src/Modules/terminfo.mdd: Loading these modules should work even if the corresponding library is not available; in that case echotc or echoti uses bin_notavail. 2001-04-09 Peter Stephenson * unposted: Config/version.mk: 4.0.1-pre-3. 2001-04-06 Bart Schaefer * 13919: Completion/compinit: Clarify the prompt presented when the completion system detects insecure files/directories. 2001-04-06 Sven Wischnowsky * 13917: Src/params.c: test for unset in pipestatussetfn() * 13916: Src/params.c: like 13907, but for backward searches 2001-04-05 Felix Rosencrantz * workers/13914: Completion/Unix/Command/_java: Added call to _normal after class to run is specified for java, and added completion for files to extract for "jar -x". 2001-04-05 Bart Schaefer * unposted: Functions/Prompts/prompt_bart_setup: Better handling of long command strings, more efficient padding computation. * users/3795: Functions/Misc/getjobs: Insert history entries with the original job texts for jobs resumed with fg/bg/etc. * users/3401: Functions/Misc/promptnl: Finally added this function, with extensive additional comments on usage, etc. 2001-04-05 Clint Adams * 13909: Completion/Base/.distfiles, Completion/X/.distfiles, Test/.distfiles: remove stray files with tildes. 2001-04-05 Sven Wischnowsky * 13908: Completion/Base/Utility/_arguments: complete only those single letter options with the right prefix character * 13907: Src/params.c: fix for forward subscripting of strings as second part of subscript ($a[x,(r)..]) 2001-04-04 Sven Wischnowsky * 13902: Completion/Base/Utility/_arguments, Completion/X/Utility/_x_arguments, Completion/X/Utility/_xt_arguments, Doc/Zsh/compsys.yo: add -W option to _arguments, which allows to complete options after options that take an argument in the next word 2000-04-03 Clint Adams * 13899: Completion/Unix/Command/_apm: add $OSTYPE checking. 2001-04-03 Oliver Kiddle * 13898, Bart: 13827: Completion/Zsh/Command/_ttyctl, Completion/Zsh/Command/_ulimit, Completion/Zsh/Command/_vared: new completion functions 2001-04-03 Sven Wischnowsky * 13892: Src/Zle/compmatch.c, Test/comptest, Test/ztst.zsh: two more places where fpaths to completion functions were used; follow-up on 13868, fix the fix 2001-04-02 Clint Adams * 13889: Completion/Linux/_apm, Completion/Linux/.distfiles, Completion/Unix/Command/_apm, Completion/Unix/Command/.distfiles: Add OpenBSD 2.7 apm options. Move to Unix/Command. 2001-04-02 Bart Schaefer * 13887: Config/installfns.sh: Skip CVS subdirectories. 2001-04-02 Clint Adams * 13884: Completion/Linux/_apm: Add FreeBSD 4.1 apm options. 2001-04-02 Sven Wischnowsky * Config/installfns.sh, Src/zsh.mdd: more cleanup after function moving * unposted, kind of: moving functions and scripts around, renaming them, accidentally deleted them and re-installing them, etc. * 13868: Src/Zle/compmatch.c, Src/Zle/computil.c: make `_arguments -S' still complete long options after `--'; fix for cursor positioning with partial word match specs 2001-04-02 Clint Adams * 13866: Completion/Debian/_apt: complete a release name after apt-get install /. * 13864: Completion/Debian/_apt: complete a "release" name after apt-get -t. 2001-04-01 Oliver Kiddle * 13863: Completion/Builtins/_bindkey, Completion/Builtins/_compdef, Completion/Builtins/_disable, Completion/Builtins/_emulate, Completion/Builtins/_enable, Completion/Builtins/_fc, Completion/Builtins/_hash, Completion/Builtins/_print, Completion/Builtins/_read, Completion/Builtins/_unhash, Completion/Builtins/_vars_eq, Completion/Builtins/_which, Completion/Builtins/_zcompile, Completion/Builtins/_zle, Completion/Builtins/_zpty, Completion/Builtins/_zstyle, Completion/User/_bison, Completion/User/_bzip2, Completion/User/_dirs, Completion/User/_fetchmail, Completion/User/_gzip, Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Doc/Zsh/expn.yo: various doc fixes and minor changes to completion functions, including use of -A "-*" and -S options to _arguments. 2001-04-01 Chmouel Boudjnah * 13861: Completion/Linux/_apm: Completion for apm command (linux only). 2001-03-30 Clint Adams * 13860: Completion/Debian/_deb_packages: caching layer support. 2001-03-30 Peter Stephenson * 13851: Src/signals.c, Src/exec.c: don't exec final command in in list if any traps are set, since we don't know whether we will need to handle them when that command exits. 2001-03-30 Bart Schaefer * 13846: Test/ztst.zsh: When "make check" is run with output to a tty, print a hash mark approximately once per second during tests to provide a "progress bar". * 13845: Doc/Zsh/options.yo, Src/options.c: Refuse `setopt noexec' in interactive shells, except at startup with `zsh -n'. 2001-03-29 Peter Stephenson * 13838: Src/prompt.c: don't assume we can change the string returned by getsparam("HOST"). * 13837: Src/builtin.c: disallow changing of parameter type for autoloadable parameter (bug 219459 on Sourceforge). 2001-03-29 Sven Wischnowsky * 13833: Completion/Core/_expand: fix comparison of expansions with expanded prefix (missing quoting) * 13830: Completion/Core/_multi_parts: next try to get rid of empty strings being added as possible completion by _multi_parts 2001-03-28 Bart Schaefer * 12724: Doc/Zsh/builtins.yo: Nobody has come up with a better fix for the misformatted manual page than this hack, so I've finally committed it. 2001-03-28 Peter Stephenson * 13818: Doc/Zsh/zle.yo, Src/Zle/zle_keymap,c. Src/Zle/zle_main.c [zle_main hunk got omitted from posted patch, oops]: Add `bindkey -p' to list bindings with a given prefix. * unposted: Doc/Zsh/zle.yo, Doc/Zsh/mod_zle.yo: move ZLE builtin documentation from mod_zle.yo to zle.yo. 2001-03-28 Sven Wischnowsky * 13815: Completion/Commands/_history_complete_word, Doc/Zsh/compsys.yo: more cleanup; simplify the stop and liststyles; try to make it obey whatever _main_complete says should be done (menu-wise) * 13814: Completion/User/_urls, Doc/Zsh/compsys.yo: replace `path' with more general `urls' style * 13813: Completion/Core/_multi_parts: make sure _multi_parts doesn't add the empty string as a possible completion 2001-03-28 Peter Stephenson * unposted: Completion/Commands/_complete_tag: mysterious extra blank line somehow crept in at critical point. 2001-03-28 Sven Wischnowsky * 13809: Completion/Base/_arguments: don't add options as completions if a `->state' action was used and we are directly after the option (in the same word) 2001-03-27 Sven Wischnowsky * 13790: Completion/Base/_arguments, Completion/X/_x_arguments, Completion/X/_xt_arguments, Doc/Zsh/compsys.yo: make _arguments return 300 only if given the -R option * 13789: Completion/Base/_tilde, Completion/Builtins/_popd: comment out looking up the prefix-needed style when completing directory stack entries; make _tilde use _popd, finally * 3752: Completion/Commands/_history_complete_word, Src/Zle/compresult.c: try to make _h_c_w smarter at the beginning and end of the list; avoid list-beeping if the old completion list is re-used 2001-03-26 Clint Adams * 13783 from Michal Politowski: Completion/Builtins/_pids: handle pids that don't have a preceding space in ps output. * 13779 from Michal Politowski: Completion/Commands/_complete_tag: typo fixes? * 13777: Src/Builtins/rlimits.awk: add maxfilelocks for glibc 2.2. 2001-03-26 Sven Wischnowsky * 13770: Src/Zle/computil.c: handle colons in xor lists * 13768: Completion/Core/_main_complete, Completion/Core/_setup: unset ZLS_COLORS if list-colors not set * 13767: Src/Zle/zle_utils.c: avoid adding empty strings to the kill ring * 13763: Completion/Builtins/_pids, Doc/Zsh/compsys.yo: _pids shouldn't start menu completion if the current word starts with a hyphen; typo fix in compsys.yo 2001-03-25 Bart Schaefer * 13757: StartupFiles/zlogin, StartupFiles/zshenv, StartupFiles/zshrc: Strongly discourage use of these files as /etc/z* drop-ins. 2001-03-25 Peter Stephenson * 13751: Completion/User/_cpio: added. * 13745: Test/ztst.zsh: set LC_COLLATE to C if already set to something. * 13743: Completion/User/_mailboxes: handle @folder in MH. 2001-03-24 Bart Schaefer * 13746: Test/13parameter.ztst: Add tests for fixes from 13492. * 13744: Test/01grammar.ztst, Test/10prompt.ztst, Test/13parameter.ztst, Test/ztst.zsh: Delete or correct comments that refer to (non-)bugs or other confusion; enable another test; print the name of each test as it begins as well as when it ends. * 13740: Completion/User/_mailboxes: Fixes for mh (based on PWS's patch in 13737): handle sub-folders; handle +folder abbreviations; add commented-out lines that might eventually handle @folder, too. 2001-03-23 Bart Schaefer * 13736: Test/01grammar.ztst: Enable more tests as they seem to work now; add regression test for the fix from 13706. 2001-03-23 Sven Wischnowsky * 13733: Completion/Builtins/_pids: don't auto-start menu * completion after a `%' when completing pids or jobs * 13730: Completion/Core/_approximate: probably no reason to put the (#a?) flag after an initial tilde in _approximate anymore * 13727: Completion/User/_init_d, Completion/User/_make, Doc/Zsh/compsys.yo: add commands and call-command styles; mention some of the more expensive things about completion setup in the docs * 13725: Completion/Core/_all_labels, Completion/Core/_next_label: test if the colon is quoted * 13724: Completion/Core/_path_files: fixlet, complicated match specs could result in incorrect words being used as possible path expansions 2001-03-22 Peter Stephenson * 13676: Completion/User/_mh: some tweaks for nmh. 2001-03-22 Sven Wischnowsky * 13706: Src/exec.c: skip redirections in execpline2() when looking for the command code 2001-03-21 Bart Schaefer * unposted: Functions/Prompts/prompt_bart_setup: Use the (S) flag on a parameter expansion to improve parsing of the PS1 string when computing its visible length. 2001-03-20 Sven Wischnowsky * 13674: Completion/User/_telnet: use -l as default for telnet's without -\? option * 13673: Src/Modules/zprof.c: fix misaligned percent output of zprof 2001-03-18 Clint Adams * 13664: Completion/User/_init_d: handle rcS.d, force-restart, force-reload. Also, remove Completion/SysV. 2001-03-18 Peter Stephenson * From Zvi Har'El: unposted: Doc/Zsh/metafaq.yo: shorter address for Israeli mirror. 2001-03-18 Clint Adams * 13662: Completion/Debian/_apt: new build-dep command in apt-get. * 13661: Completion/SysV/.distfiles, Completion/SysV/_sysv_initscripts: complete arguments for SysV initscripts. 2001-03-17 Bart Schaefer * unposted (but see 13646 and users/3563): Doc/Zsh/contrib.yo, Functions/Misc/.distfiles, Functions/Misc/zkdb: Function to read keyboard sequences and save them in an associative array for later reference (much improved from posted version, which was broken). 2001-03-15 Peter Stephenson * users/3671: Completion/User/_java: complete in middle of -classpath etc., not just at end. 2001-03-15 Sven Wischnowsky * user/3674: Src/Zle/complist.c: fix default colour for directories 2001-03-14 Peter Stephenson * 13633: Src/Zle/zle_keymap.c: lastest in saga: don't use termcap suggestion for keymap if it is a single key already bound by default (user bindings will take precedence anyway). 2001-03-13 Bart Schaefer * Zvi Har'El: 13619: Completion/User/_rcs: Add the D qualifier when matching file names in the RCS subdirectory. * 13613, 13620: Completion/User/_ncftp, Completion/User/_lftp: Unify completion for ncftp and lftp in _ncftp (removed _lftp). 2001-03-13 Peter Stephenson * 13611, 13615: Doc/Zsh/zle.yo, Src/init.c, Src/zsh.h, Src/Zle/zle_keymap.c: Use termcap to find cursor sequences to bind; default to VT100. If ^[[? or ^[O? is being bound, bind the other one too. Also bind cursor keys in viins keymap. 2001-03-12 Oliver Kiddle * 13610: INSTALL, README, Completion/Core/compinit, Completion/Core/compinstall, Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo Doc/Zsh/compwid.yo, Doc/Zsh/contrib.yo, Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Doc/Zsh/zftpsys.yo, Etc/CONTRIBUTORS: spelling corrections and improve to wording * unposted: Completion/Commands/_complete_help: fix to declare tmp as a local variable 2001-03-12 Chmouel Boudjnah * 13605: Completion/User/_tar, Completion/User/_tar_archive: New tar options -j. 2001-03-12 Oliver Kiddle * unposted: Completion/User/_zip, Completion/User/_hosts: handle filenames containing spaces in zip archives and don't complete lftp from _hosts 2001-03-12 Chmouel Boudjnah * 13601: Completion/User/_lftp: Add completion for lftp 2001-03-11 Oliver Kiddle * 13600: Completion/Base/_subscript, Completion/Core/_files, Completion/Core/_tags, Completion/User/.distfiles, Completion/User/_dir_list, Completion/User/_fetchmail, Completion/User/_hosts, Completion/User/_iconv, Completion/User/_mutt, Completion/User/_ncftp, Completion/User/_tar, Completion/User/_urls, Completion/User/_webbrowser, Completion/User/_wget, Completion/User/_xargs, Completion/User/_zip, Functions/Misc/mere: various new, improved, fixed or updated functions 2001-03-11 Bart Schaefer * 13599: Completion/User/_sh: Use _normal completion following the name of a shell script. * 13598: Completion/Core/_expand: Handle quoted whitespace in glob expansions. * 13562: Functions/Zle/edit-command-line: Better handling of multi-line buffers, at the expense of an extra feep. 2001-03-08 Peter Stephenson * unposted: Config/version.mk: 4.0.1-pre-2. * unposted: Functions/Zle/.distfiles, Completion/Core/.distfiles, Completion/Base/.distfiles, Completion/User/.distfiles: dist more files. 2001-03-08 Sven Wischnowsky * 13591: Completion/User/_init_d: try to find out the sub commands to complete in _init_d 2001-03-07 Felix Rosencrantz * 13590: Test/54compmatch.ztst: Added another test case that covers the bug mentioned in workers/13563. The case is based on a bug mentioned in workers/13320. 2001-03-07 Sven Wischnowsky * 13589: Src/mem.c, Src/parse.c, Src/zsh.h: two optimisations; use a binary tree to avoid duplicate strings in ecstrcode(); keep a pointer to newly allocated heaps to avoid having to search for a heap with free space in most cases 2001-03-07 Andrej Borsenkow * unposted: configure.in, aczsh.m4: support building with GCC on ReliantUNIX; use AC_TRY_COMMAND for better diagnostic 2001-03-06 Oliver Kiddle * unposted: Completion/User/.distfiles, Completion/User/_webbrowser: include _w3m and don't complete w3m with _webbrowser 2001-03-06 Clint Adams * unposted: Completion/User/_w3m: complete for w3m. 2001-03-06 Bart Schaefer * 13583: Test/54compmatch.ztst: Tweak doc strings for accuracy. 2001-03-06 Sven Wischnowsky * 13576: Src/lex.c, Src/parse.c: make the parser use real memory for the ecbuf to avoid having hrealloc() throw away lots of memory * 13575: Src/Zle/compmatch.c: another fix for completion matching, CLF_MISS in the wrong cline struct 2001-03-06 Andrej Borsenkow * 13544, 13568 (Peter): Completion/Core/_ignored, Completion/Core/_main_complete, Completion/Core/_prefix, Completion/Core/compinstall, Doc/Zsh/compsys.yo: allow matchers in matcher-list to augment as well as replace previous matcher list * unposted: Etc/CONTRIBUTORS: use zsh.org mail address (courtesy of Geoff) for me :-) 2001-03-05 Sven Wischnowsky * 13566: Completion/Builtins/_aliases, Completion/Core/_expand_alias, Doc/Zsh/compsys.yo: new _expand_aliases to, well, expand aliases * 13565: Src/Zle/compmatch.c, Src/Zle/compresult.c, Test/54compmatch.ztst: fix for matching control, try harder to merge separately completed parts to avoid losing user-typed characters 2001-03-04 Peter Stephenson * Unposted: Etc/FAQ.yo: latest version. * Unposted: Etc/NEWS, Etc/CONTRIBUTORS: changes aimed at 4.0.1 release. 2001-02-28 Bart Schaefer * users/3649: Completion/Commands/_bash_completions, Completion/Commands/_complete_debug, Completion/Commands/_complete_help, Completion/Commands/_correct_word, Completion/Commands/_expand_word, Completion/Commands/_history_complete_word, Completion/Commands/_next_tags: Same as 13555 below, but for all the other places where $_comp_options was referenced. 2001-02-28 Oliver Kiddle * 13555: Completion/Core/_main_complete: handle ksh_arrays on the setopt line to fix problem from users/3648 2001-02-28 Sven Wischnowsky * 13554: Completion/Core/compinit, Doc/Zsh/options.yo, Src/lex.c, Src/options.c, Src/zsh.h, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle_tricky.c: add `aliases' option to be able to disable alias expansion 2001-02-26 Sven Wischnowsky * 13536: Completion/Base/_sub_commands, Completion/Core/_normal, Completion/User/_apachectl, Completion/User/_init_d: some small functions for completing sub-commands (generic function, init scripts, apachectl) * 13534: Completion/Builtins/_fc, Completion/Builtins/_hash, Completion/Builtins/_source, Completion/Builtins/_which, Completion/Builtins/_zftp, Completion/User/_man, Completion/User/_nedit: change $words[1] to $service in some more places * 13530: Src/hist.c: properly restore noaliases in bufferwords() 2001-02-22 Peter Stephenson * 13520: Completion/Builtin/_vars_eq: use $service to decide on service; shorten description to avoid dreaded 80-character redisplay bug. 2001-02-20 Sven Wischnowsky * 13509: Src/jobs.c: more (|un)queue_signals(), this time for the job control builtins 2001-02-19 Peter Stephenson * Alexandre: 13280: Doc/Zsh/expn.yo, Src/hist.c, Src/string.c, Src/system.h: More sh-like and path-like handling of colon modifiers. 2001-02-17 Peter Stephenson * unposted: Doc/Zsh/metafaq.yo: site name change from Geoff. * 13497: Src/pattern.c: `?##' didn't work. 2001-02-16 Bart Schaefer * 13495: Follow-up to 13492 to un-break "${(A)=foo=$@}". 2001-02-16 Sven Wischnowsky * 13494: Completion/Core/compinit: make `compdef foo=bar' use the service defined for `bar' if there is any 2001-02-16 Bart Schaefer * 13492: Src/subst.c: Partial fix for ${1+"$@"} expanding to an array (still doesn't handle shwordsplit properly); fix so "${(A)foo=$@}" does *not* expand to an array, even though an array is assigned to $foo. 2001-02-14 Clint Adams * unposted: Src/params.c: remove unused variable declaration. * 13478: Src/builtins.c: don't call dyncat with a NULL argument. 2001-02-14 Peter Stephenson * 13473: Makefile.in, Doc/Zsh/options.yo: small changes suggested in zsh-users/3524 for CSH_NULL_GLOB description and 13245 for cleaning config.modules. 2001-02-14 Clint Adams * 13323: Functions/Zle/edit-command-line: handle multi-line buffers. 2001-02-13 Andrej Borsenkow * 13431: aczsh.m4,configure.in,Src/Modules/termcap.c, Src/Modules/termcap.mdd,Src/Modules/terminfo.c, Src/Modules/terminfo.mdd,Src/mkmakemod.sh: hopefully better check for shared libraries. Link in termcap/terminfo statically if shared libtermcap/libcurses unavailable 2001-02-13 Sven Wischnowsky * 13462: Src/Modules/zpty.c: try to make the -t option of zpty smarter * 13459: Completion/Core/_path_files: wehn using glob_complete, don't treat everything starting with a tilde as a pattern 2001-02-12 Bart Schaefer * 13457: Completion/Core/compinit: Add `glob' to $_comp_options. 2001-02-09 Sven Wischnowsky * 13450: Completion/Core/_multi_parts: two small fixes to _multi_parts; one more place where a caller-supplied -S can be used and fix for the code deciding which prefix to use 2001-02-08 Oliver Kiddle * 13448: Completion/User/.distfiles, Completion/User/_tin, Completion/User/_netscape, Completion/User/_newsgroups: add newsgroup completion * 13445: Completion/User/_gzip: fix to work for zcat again 2001-02-07 Bart Schaefer * 13442: Test/Makefile.in, Test/comptest: Run zsh with +Z to prevent ZLE modules from being loaded before $module_path is changed to point at the test installation. * 13439: Test/Makefile.in: "make test" cleans up after killed tests. 2001-02-02 Andrej Borsenkow * unposted: Src/mkmakemod.sh: patterns in 13412 were wrong. 2001-02-02 Sven Wischnowsky * Peter: 13427: Completion/Core/_expand: fix for handling quoting for filenames with weird characters 2001-02-01 Oliver Kiddle * 13422: README, Completion/User/_urls, Doc/Zsh/manual.yo, Doc/Zsh/metafaq.yo, Etc/CONTRIBUTORS: refer to just sunsite.dk instead of sunsite.auc.dk * 13420: Completion/User/_tin: new completion function for tin 2001-01-31 Andrej Borsenkow * 13412: Src/mkmakemod.sh: avoid duplicate subdirectories in recursive build 2001-01-29 Andrej Borsenkow * unposted: ChangeLog: typo in previous commit message 2001-01-28 Felix Rosencrantz * 13395: Test/54compmatch.ztst, Test/comptest: Added code to test compstate[insert_positions], value of insert_positions are now reported 2001-01-26 Andrej Borsenkow * 13389: Src/builtin.c: on Cygwin convert path to posix form in cd_do_chdir() to avoid dealing with drives letters 2001-01-25 Sven Wischnowsky * 13388: Src/Zle/compmatch.c: fix for mergin two CLF_MID entries in cline lists (with two equal prefixes it thought there were characters missing) * 13384: Src/signals.c: make signal queueing variables be exported to modules 2001-01-19 Andrej Borsenkow * 13370 (modified): Src/params.c: do not modify environment when importing it - some library functions may access it. When importing colon arrays, replenv() tried to free unallocated memory. Remove replenv() as it is now redundant. * 13380: configure.in: replace AC_CHECK_LIB(...,tgetent) with AC_SEARCH_LIBS(tgetent,...) to allow user to override default library selection 2001-01-18 Sven Wischnowsky * 13374: Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complist.c, Src/Zle/compresult.c, Src/Zle/zle_main.c, Src/Zle/zle_tricky.c: temporarily allow recursive completion when called from menu selection 2001-01-18 Peter Stephenson * 13302: Functions/Zftp/zftp_progress: division by zero 2001-01-16 Sven Wischnowsky * 13365: Src/builtin.c, Src/exec.c, Src/glob.c, Src/hashtable.c, Src/hist.c, Src/init.c, Src/input.c, Src/jobs.c, Src/math.c, Src/mem.c, Src/module.c, Src/params.c, Src/parse.c, Src/prompt.c, Src/signals.c, Src/signals.h, Src/subst.c, Src/utils.c, Src/watch.c, Src/Modules/zftp.c, Src/Modules/zpty.c, Src/Modules/zutil.c, Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/computil.c, Src/Zle/zle_main.c, Src/Zle/zle_tricky.c: remove 13108 (trap queues); replace with signal queueing to ensure that user signal handlers are only executed when it is safe to run them * 13364: Src/Zle/compctl.c: fix for ol' compctl when completing hash keys 2001-01-15 Sven Wischnowsky * 13349: Src/Zle/compmatch.c, Src/Zle/compresult.c: two more fixes for completion matching and reporting interesting positions * Ulrik Haugen: 13344, 13347: Completion/User/_grep, Completion/User/_ls, Completion/User/_use_lo: add completion for ls and ([ef]|)grep * 13346: Completion/Bsd/_bsd_pkg, Completion/Bsd/_kld, Completion/Core/_compalso, Completion/Core/_complete, Completion/Core/_normal, Completion/Core/compdump, Completion/Core/compinit, Completion/Debian/_apt, Completion/Debian/_bug, Completion/Debian/_dpkg, Completion/User/_bzip2, Completion/User/_chown, Completion/User/_compress, Completion/User/_dvi, Completion/User/_gzip, Completion/User/_imagemagick, Completion/User/_ispell, Completion/User/_java, Completion/User/_lp, Completion/User/_make, Completion/User/_mount, Completion/User/_mysql_utils, Completion/User/_pack, Completion/User/_pbm, Completion/User/_psutils, Completion/User/_rcs, Completion/User/_rlogin, Completion/User/_ssh, Completion/User/_tiff, Completion/User/_yp, Completion/X/_xutils, Doc/Zsh/compsys.yo: add `services', allowing easier re-use of (parts of) completion functions (see also: 12977) 2001-01-12 Sven Wischnowsky * 13343: Src/Zle/compmatch.c, Src/Zle/compresult.c: fix for 13339 (report each position only once) and fixlet for matching: a case where missing characters weren't remembered 2001-01-11 Sven Wischnowsky * 13339: Doc/Zsh/compwid.yo, Doc/Zsh/contrib.yo, Functions/Zle/cycle-completion-positions, Src/Zle/comp.h, Src/Zle/complete.c, Src/Zle/compresult.c: add unambiguous_positions and insert_positions keys to $compstate; use them in the new cycle-completion-positions shell function widget 2001-01-10 Geoff Wing * unposted: Etc/MACHINES: format leading spaces to tabs 2001-01-10 Sven Wischnowsky * 13336: Src/Zle/compmatch.c, Src/Zle/compresult.c, Test/54compmatch.ztst: fix cursor positioning with partial-word match specs using `**' 2001-01-08 Sven Wischnowsky * 13331: Src/Zle/compcore.c, Src/Zle/compresult.c: fix for listpacked for matches as long as screen is wide (minus added spaces); more security when freeing matches: make sure current menu match pointer isn't used afterwards 2001-01-07 Peter Stephenson * 13327: Etc/MACHINES: builds out of the box on SCO UnixWare 2.1.3, reported by Josip Rodin . 2000-12-27 Clint Adams * 13315: Completion/User/_killall: strip parentheses and path heads. * 13314: Completion/User/_killall: ignore commands that begin with hyphens (login shells). 2000-12-26 Clint Adams * 13312: Completion/User/_killall: get longer command names from procps. 2000-12-23 Clint Adams * unposted: configure.in: thinko in jobtable size determination. * Chip Salzenberg: 13310: Completion/Debian/_apt: correct typo for apt-cache completion. 2000-12-17 Bart Schaefer * Zefram: 13290: Src/Zle/zle_bindings.c, Src/Zle/zle_keymap.c: Back out 13285. 2000-12-17 Clint Adams * 13288: Src/Modules/zftp.c: cast pointers when calling ztrapread and ztrapwrite. * 13287: Completion/Debian/_dpkg: complete multiple arguments for -i. 2000-12-16 Clint Adams * unposted: Completion/User/.distfiles: add _mere * 13285: Src/Zle/zle_bindings.c, Src/Zle/zle_keymap.c: use vi-up-line-or-history and vi-down-line-or-history in the vicmd keymap (rather than their emacsy counterparts). 2000-12-15 Tanaka Akira * 13281: Functions/Misc/mere: new implementation. Completion/User/_mere: new completion function for mere. 2000-12-13 Clint Adams * 13250: Completion/User/.distfiles, Completion/User/_dict: completion for dict. 2000-12-06 Peter Stephenson * unposted: Src/jobs.c: rename waitjob() to zwaitjob() to avoid clash with IRIX system function. 2000-12-06 Andrej Borsenkow * 13243: Makefile.in: we do not use Makefile in Completion and Functions any more. 2000-12-05 Clint Adams * 13242: Src/Modules/terminfo.c: better error-checking for non-existent capabilities referenced by $terminfo. 2000-12-05 Peter Stephenson * unposted: Config/version.mk: 3.1.9-dev-8. * 13233, 13234: Src/Modules/terminfo.mdd, Src/Modules/terminfo.c: fix name for configure variable; don't crash on Solaris if capability not found. * Joel Smith : 13230: Src/exec.c, Src/glob.c, Src/lex.c, Src/parse.c, Src/text.c, Src/zsh.h: avoid name clashes with Linux kernel. 2000-12-04 Bart Schaefer * 13229: Doc/Makefile.in: Include mod_term*.yo in MODDOCSRC. 2000-12-04 Clint Adams * 13227: configure.in, Src/Modules/terminfo.c, Src/Modules/terminfo.mdd: do not build terminfo module if tigetstr() is not found in the same library as tgetent(), indentation fix, use tputs() in echoti builtin for outputting string capabilities, use setupterm() for module boot. 2000-12-04 Peter Stephenson * 13226: configure.in, Config/defs.mk, Config/installfns.sh, Config/uninstallfns.sh, Src/zsh.mdd: fix --enable-function-subdirs for config.modules system; make Completion get its own functions subdirectory; tidy up other related bits. * 13220: Doc/Zsh/params.yo: mention problems with $# e.g. `$#-' in arithmetic. 2000-12-03 Clint Adams * 13216: Doc/Zsh/.distfiles, Doc/Zsh/builtins.yo, Doc/Zsh/mod_termcap.yo, Doc/Zsh/mod_terminfo.yo, Src/Modules/.distfiles: documentation for 13215. * 13215: Src/builtin.c, Src/Modules/termcap.c, Src/Modules/termcap.mdd, Src/Modules/terminfo.c, Src/Modules/terminfo.mdd: move echotc builtin to termcap module, add echoti builtin and terminfo parameter in terminfo module. 2000-11-30 Peter Stephenson * 13209: Makefile.in, configure.in, Config/funcinst.mk, Config/installfns.sh, Config/uninstallfns.sh, Src/zsh.mdd, Src/Modules/zftp.mdd, Src/Zle/complete.mdd, Src/Zle/zle.mdd: function installation information is now in config.modules. 2000-11-27 Bart Schaefer * 13203: Completion/Builtins/_zstyle: Add missing quote. 2000-11-27 Sven Wischnowsky * 13199: .cvsignore, Completion/User/_gprof: pattern-fix in _gprof; add config.modules to .cvsignore 2000-11-27 Peter Stephenson * 13197: configure.in: fix problems with use of link parameter, directories for reading old config.modules file, and inconsistent values for auto parameter. * 13196: Etc/zsh-development-guide: Use of `either' keyword for `link' module parameter. 2000-11-26 Peter Stephenson * 13194: INSTALL, configure.in, Config/defs.mk.in, Etc/zsh-development-guide, Src/.distfiles, Src/Makefile.in, Src/Makemod.in.in, Src/mkbltnmlst.sh, Src/mkmakemod.sh, Src/zsh.mdd, Src/Builtins/rlimits.mdd, Src/Builtins/sched.mdd, Src/Modules/cap.mdd, Src/Modules/clone.mdd, Src/Modules/example.mdd, Src/Modules/files.mdd, Src/Modules/mapfile.mdd, Src/Modules/mathfunc.mdd, Src/Modules/parameter.mdd, Src/Modules/stat.mdd, Src/Modules/zftp.mdd, Src/Modules/zprof.mdd, Src/Modules/zpty.mdd, Src/Modules/zutil.mdd, Src/Zle/compctl.mdd, Src/Zle/complete.mdd, Src/Zle/complist.mdd, Src/Zle/computil.mdd, Src/Zle/deltochar.mdd, Src/Zle/zle.mdd, Src/Zle/zleparameter.mdd: New module configuration system using file config.modules set up by configure. 2000-11-25 Bart Schaefer * 13192: Completion/Core/compinit, Src/params.c: Turn off ALL_EXPORT during completion; don't export arrays or hashes, even with ALL_EXPORT. 2000-11-22 Tanaka Akira * 13181: Completion/Debian/_apt: add an action for _alternative. 2000-11-20 Bart Schaefer * E. Jay Birkenbilt: 13171, 13172: Completion/User/_rlogin, Completion/User/_ssh: Don't autoremove a trailing `:' after completing a host name, but do autoremove a trailing `@' after completing a user name. 2000-11-15 Bart Schaefer * 13167: Completion/User/_perl_modules: Avoid cd entirely. 2000-11-14 Bart Schaefer * 13165 plus unposted: Completion/User/_perl_modules: `builtin cd' is better than chdir; make sure the variable name used for the cache has a leading underscore, but strip that off to get the name under which the cache is stored and retrieved; cache separately for each command basename (e.g., perl5.00405 v. perl5.00503), not just each full path name. * Paul Johnson: 13164: Completion/User/_perl_modules: If a full path was given for the command after which perl modules are being completed, look up and cache the modules under the full name; use chdir instead of cd in case of a function wrapper for cd. 2000-11-14 Sven Wischnowsky * 13163: Src/Modules/zpty.c: don't be sure that read-ahead doesn't contains nuls 2000-11-13 Peter Stephenson * unposted: config.sub, config.status: updated from GNU sources, incorporating existing changes for NetBSD. 2000-11-13 Sven Wischnowsky * 13156: Src/Modules/zpty.c: use unmetafy() to allow writing special characters into a pty 2000-11-12 Clint Adams * unposted: Completion/Debian/_bug: fix thinkos, add new options for reportbug. * unposted: Completion/Debian/_bug: complete files for --include=, completion for querybts. 2000-11-11 Peter Stephenson * 13109, 13111: Doc/Zsh/mod_zle.yo, Src/Zle/zle_main.c, Src/Zle/zle_thingy.c, Src/signals.c: `zle -I' allows trap code to clear up display when output occurs in a trap. * Sven: 13108: Src/Modules/zftp.c, Src/Modules/zpty.c, Src/Zle/zle_main.c, Src/builtin.c, Src/exec.c, Src/init.c, Src/input.c, Src/jobs.c, Src/signals.c, Src/signals.h, Src/utils.c, Src/zsh.h: Execute user traps synchronously if it is unsafe to execute it directly from the signal handler. 2000-11-09 Clint Adams * 13125: Completion/User/_mailboxes: evaluate the mailboxes directives in muttrc, in case of backticks. 2000-11-08 Bart Schaefer * 13140: Src/utils.c: Believe the non-error not-ready return value from select(), in read_poll(). 2000-11-08 Sven Wischnowsky * unposted: Src/Modules/zpty.c: use possible read character from read_poll() in loop in ptyread() * 13128: Completion/Builtins/_zstyle, Completion/Core/_match, Completion/Core/_path_files, Doc/Zsh/compsys.yo: aloow value `pattern' for insert-unambiguous style to preserve patterns in the original string; add list-suffixes style to make file completion list path suffixes if possible; slightly improved completion of pathnames with multiple pattern-components 2000-11-06 Bart Schaefer * 13127: Completion/User/_rcs: Test of $compstate[nmatches] was a no-op, removed it. 2000-11-05 Bart Schaefer * 13124: Functions/Misc/nslookup: Use "command nslookup" as it's now possible to call the nslookup function recursively from zpty. * unposted: Src/Modules/zpty.c: Cloned shell is non-interactive for purposes of calling zexit(), so it doesn't print job status, save history, etc. * 13123: Doc/Zsh/mod_zpty.yo, Src/utils.c, Src/Modules/zpty.c: Change `zpty' to act as a combination of `clone' and `eval', to remove the limitation that only external commands can be run on the pty. Also fix typos in utils.c. * 13120: Doc/Zsh/mod_zpty.yo, Functions/Misc/nslookup, Src/utils.c, Src/Modules/zpty.c: Merge Sven's uncommitted patch from 13061 with 13116. WARNING: This reverses the meaning of `zpty -b'; the default is now blocking, -b selects non-blocking. Fix nslookup accordingly. Clean up read_poll() somewhat. Document that `zpty -w' and `zpty -r' can stream to/from the pty. 2000-11-04 Bart Schaefer * 13118: Completion/Core/compinit: Add `bareglobqual' to the standard setopts for the completion system. * 13116: Src/Modules/zpty.c: More informative error output; better streaming behavior of `zpty -r'; prevent hang on `zpty -t' when the command was started with `zpty -b'. 2000-11-02 Sven Wischnowsky * users/3503: Doc/Zsh/mod_parameter.yo, Src/jobs.c, Src/Modules/parameter.c: show current/previous job in $jobstates 2000-11-01 Sven Wischnowsky * 13107: Functions/Misc/zed: don't reset just-edited trap function to old value 2000-10-30 Sven Wischnowsky * 13095: Src/Modules/parameter.c: make assignament to $nameddirs behave like hash -d 2000-10-25 Sven Wischnowsky * users/3472: Completion/User/_rcs: use return value of _files, don't use ${PRE,SUF}FIX for globbing, complete all files as a default for "co" * 13084: Src/Zle/complist.c: re-display list for cleanup only if we were in menu selection * 13082: Src/Zle/complist.c, Src/Zle/compresult.c: add a counter for invalidatelist() to allow finding out if there is a new list 2000-10-24 Sven Wischnowsky * 13071: Src/Zle/complist.c, Src/Zle/compresult.c: avoid printing file type characters in completion lists for matches ending in a slash 2000-10-23 Sven Wischnowsky * 13037: Completion/Core/_path_files, Doc/Zsh/compsys.yo: change some tags used in filename completion: no tag for file-sort, fake-files and ignore-parents, paths for accept-exact 2000-10-21 Bart Schaefer * 13057: Src/Zle/zle_main.c: `vared -h' should not imply `vared -e'; use of -e should override the setting of the IGNOREEOF option. (The -e flag was added by zsh-workers/9396, for 3.1.6-dev-16.) 2000-10-20 Bart Schaefer * 13055: Src/hist.c, Src/Zle/zle_main.c: Fix `vared -h' for non- interactive shells (scripts). 2000-10-19 Sven Wischnowsky * 13036: Completion/Commands/_bash_completions, Completion/Commands/_complete_debug, Completion/Commands/_complete_help, Completion/Commands/_correct_word, Completion/Commands/_expand_word, Completion/Commands/_history_complete_word, Completion/Commands/_next_tags, Completion/Core/_main_complete, Completion/Core/compinit: simplify setting standard completion system options using $_comp_options * 13035: Doc/Zsh/mod_zpty.yo, Functions/Misc/nslookup, Src/utils.c, Src/Modules/zpty.c, Test/comptest: make non-blocking IO on ptys work again; add -t option to test if command is still alive 2000-10-19 Wayne Davison * 13034: Src/hist.c: Don't call histreduceblanks() if the line didn't parse right. 2000-10-17 Bart Schaefer * unposted: Functions/Misc/zmv: Small typo in example in comment. 2000-10-17 Sven Wischnowsky * 13005: Src/Zle/computil.c: make _arguments ignore unspecified non-option arguments to the right of the cursor 2000-10-17 Peter Stephenson * Config/version.mk, Functions/Zle/.distfiles, Completion/Core/.distfiles: 3.1.9-dev-7 * Functions/Misc/zmv: in verbose mode, report if something was skipped because it didn't change. 2000-10-16 Sven Wischnowsky * 13003: Test/54compmatch.ztst: add tests for the stuff in 12995 2000-10-13 Bart Schaefer * 13000: Doc/Zsh/jobs.yo: Document tty restoration when a stopped job is resumed with fg. This was previously documented only under the STTY parameter, but it applies to all stopped jobs. 2000-10-13 Sven Wischnowsky * 12995: Src/Zle/compmatch.c: two completion matching fixes; wrong (path) prefix matching (removed path components) and reverse order of sub-strings in match-strings 2000-10-12 Sven Wischnowsky * 12974: Completion/Core/_tags, Completion/Core/_sort_tags, Doc/Zsh/compsys.yo: remove possibility for func() entries in tag-order style, can be done using zstyle -e * 12954, 12973: Completion/Builtins/_zstyle, Completion/Core/_path_files, Doc/Zsh/compsys.yo: rename fake style to fake-files 2000-10-11 Andrej Borsenkow * 12958: Cosmo : aczsh.m4: fix for NCR compiler 2000-10-11 Sven Wischnowsky * 12960: Completion/Builtins/_zstyle, Completion/Commands/_expand_word, Completion/Core/_all_matches, Completion/Core/_expand, Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Src/Zle/comp.h, Src/Zle/compcore.c, Src/Zle/complete.c, Src/Zle/complist.c, Src/Zle/compresult.c:add _all_matcher completer and supporting C-code for adding a special match representing all other matches; remove completions style from _expand(|_word) * 12959: Src/Zle/compcore.c, Src/Zle/complist.c: make user defined completion widgets leave menu selection without accepting the currently selected match 2000-10-10 Sven Wischnowsky * 12948: Completion/Core/_expand: follow-up to 12942, only a missing redirection * 12946: Completion/Base/_math, Completion/Base/_subscript, Completion/Builtins/_vars, Completion/Builtins/_zstyle, Completion/Core/_parameters, Doc/Zsh/compsys.yo: add fake-parameters style to allow completing parameters which are not yet set * 12942,12945: Completion/Core/_expand: temporarily remove global aliases to avoid error message inside the evals * 12941: Src/Zle/compmatch.c: follow-up to 12930, make it first try exact character matches, but enable it to go back to try match specs if it fails after accepting such character matches 2000-10-09 Sven Wischnowsky * 12930: Src/Zle/compmatch.c: prefer exact character matches over match specs (so that `nom' can match `nomatch' in _options) 2000-10-06 Sven Wischnowsky * 12919: Completion/User/_tiff, Completion/X/_xv: search for *.tif files, too * 12917: Completion/Bsd/_bsd_pkg, Completion/Bsd/_kld, Completion/Builtins/_autoload, Completion/Builtins/_cd, Completion/Builtins/_compdef, Completion/Builtins/_popd, Completion/Core/_expand, Completion/Core/_path_files, Completion/Linux/_rpm, Completion/User/_gcc, Completion/User/_gdb, Completion/User/_mailboxes, Completion/User/_man, Completion/User/_perl_modules, Completion/User/_printers, Completion/User/_zdump: more option setting cleanup; remove some unnecessary setopts, remove N qualifiers 2000-10-05 Bart Schaefer * 12912: Completion/Commands/_bash_completions, Completion/Commands/_complete_debug, Completion/Commands/_complete_help, Completion/Commands/_correct_word, Completion/Commands/_expand_word, Completion/Commands/_history_complete_word, Completion/Commands/_next_tags, Completion/Core/_main_complete: Other places where `unsetopt cshnullglob' is needed. 2000-10-05 Sven Wischnowsky * 12901: Doc/Zsh/compwid.yo, Doc/Zsh/manual.yo: cleanup for 12896 * 12899: Completion/Core/_main_complete: unset cshnullglob * 12898: Src/parse.c: don't return invalid Eprog after parse error * 12897: Src/Zle/computil.c: comparguments: don't use rest-argument-specification if it was inactivated * 12896: Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo, Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Doc/Zsh/expn.yo, Doc/Zsh/func.yo, Doc/Zsh/mod_complist.yo: cleanup * 12892: Completion/Core/_files, Completion/Core/_path_files, Doc/Zsh/compsys.yo, Doc/Zsh/expn.yo: complete after automounted directories (a rather ugly hack); remove old code in _files (comma separated patterns); improve docs for fake style and for comma separated qualifier lists 2000-10-04 Tanaka Akira * 12886: Completion/User/_cvs: make _cvs_vendor_branches to handle remote-access style. 2000-10-04 Sven Wischnowsky * 12885: Src/Zle/zle_tricky.c: don't stop parsing too early when completing inside a command substitution * 12884: Src/Zle/compcore.c: don't forget a displayed list when starting menu completion 2000-10-04 Tanaka Akira * 12872: Completion/User/_cvs: Fix modules completion when a cvsroot specified in a command line begins with tilde. Generate subcommand list from `cvs --help-commands' and `cvs --help-synonyms'. Complete remote modules. Complete vendor branch for a second argument of `cvs import'. Use _call. 2000-10-02 Bart Schaefer * 12869: Src/builtin.c, Src/exec.c, Src/glob.c, Src/signals.c, Src/utils.c: Change several zerr() to zwarn(), either because errflag was immediately cleared after calling zerr(), or to make builtin commands fail normally (with nonzero exit status) rather than aborting all the way back to top level. 2000-10-01 Clint Adams * unposted: Src/Zle/compresult.c: remove unused variable declaration. 2000-09-27 Clint Adams * 12863: Src/string.c, Src/Zle/compresult.c: remove ztrdupstring(), fold guts back into ztat(), change memory allocation to VARARR. 2000-09-25 Bart Schaefer * 12862: Src/exec.c: Fix STTY parameter to match documentation. (Plus unposted addition at the end of execcmd() to clear STTYval.) 2000-09-22 Clint Adams * 12860: Src/jobs.c: don't check length against PATH_MAX or truncate. * 12859: Src/string.c, Src/Zle/compresult.c: dynamically allocate buffer in ztat, remove duplication loop to ztrdupstrip(). 2000-09-20 Bart Schaefer * 12851, 12852: Completion/Commands/_expand_word, Completion/Core/_expand, Doc/Zsh/compsys.yo: Change the way the completers are selected for _expand_word; clarify and update doc. 2000-09-20 Andrej Borsenkow * 12848: Doc/Zsh/zle.yo: Alphabetize list of parameters * 12842 with corrections of Bart: Doc/Zsh/contrib.yo: Clarify digest file usage. 2000-09-19 Clint Adams * 12847: Src/builtin.c: dynamically allocate z and buf in bin_whence(). * 12846: Src/.distfiles, Src/mem.c, Src/string.c, Src/utils.c, Src/zsh.mdd: Move dupstring(), ztrdup(), tricat(), zhtricat(), dyncat(), dupstrpfx(), ztrduppfx(), and appstr() to string.c. * 12845: Src/Modules/files.c: dynamically allocate pbuf in domove(). 2000-09-18 Andrej Borsenkow * 12835: Doc/Zsh/compwid.yo: Alphabetize list of special parameters 2000-09-18 Clint Adams * 12836: Src/Modules/files.c: use ztrdup()/appstr() in lieu of statically-allocated buffer in bin_ln. 2000-09-18 Bart Schaefer * 12833: Back out the zasprintf changes from 12814, they're not being used any more and they break common builds like SunOS. 2000-09-17 Bart Schaefer * 12829: Src/glob.c, Src/init.c, Src/utils.c: Move dyncat() and tricat() to utils.c; rewrite 12814, 12818, 12827 and 12828 for less allocation-intensive behavior. 2000-09-18 Clint Adams * 12828: Src/utils.c: dynamically allocate 'dir' in mailstat. * 12827: Src/utils.c: dynamically allocate 'file' in mailstat. 2000-09-17 Clint Adams * unposted: Src/system.h, Src/utils.c: define mailstat() as a macro if MAILDIR_SUPPORT is undefined. * 12823: Src/builtin.c, Src/utils.c: use zsh heap instead of permanent heap. * 12821: Src/builtin.c: bin_dot is now independent of PATH_MAX. 2000-09-16 Bart Schaefer * 12817: Doc/Zsh/builtins.yo, Src/builtin.c: Give meaning to "typeset +m" and "typeset +g -m". 2000-09-16 Clint Adams * 12818: Src/init.c: call tricat() instead of zasprintf() as inspired by Bart. * 12814: configure.in, Src/compat.c, Src/init.c, Src/system.h: implement zasprintf and use it in lieu of sprintf with a static buffer in sourcehome(). 2000-09-15 Bart Schaefer * unposted: Doc/Zsh/contrib.yo: Missing hunk from 12765 (replace another use of "wordcode"). 2000-09-14 Bart Schaefer * 12804: Src/builtin.c: "typeset -m" implies "-g". * unposted: Completion/Commands/_complete_debug: Changed my mind about the edit to 12800. 2000-09-13 Bart Schaefer * 12800: E. Jay Berkenbilt: Completion/Commands/_complete_debug: Quote the file name pushed onto the history, in case the command word has strange characters in it. (Slighty edited.) 2000-09-11 Bart Schaefer * 12793: Completion/Builtins/_zle, Doc/Zsh/compwid.yo, Doc/Zsh/mod_zle.yo: Convert _zle to use _arguments; fix typos. 2000-09-08 Andrej Borsenkow * 12779: Src/system.h: Comment out #define _XPG_IV for sinix. It was not correct to set it here, and is not needed with currently supported versions. If anybody happens to run really outdated SINIX, we should add check for gettimeofday prototype instead. 2000-09-07 Bart Schaefer * 12773: Doc/Zsh/contrib.yo, Functions/Zle/smart-insert-last-word: Add the smart-insert-last-word function from zsh-users/3272. Change "completion style" to "widget style" in a few places. 2000-09-07 Sven Wischnowsky * 12769: Completion/Builtins/_cd: more sensible value * 12768: as suggested by Andrej (12767): Completion/Bsd/_bsd_pkg, Completion/Bsd/_kld, Completion/User/_gcc, Completion/User/_gdb, Completion/User/_mailboxes, Completion/User/_zdump: stick some `N's into glob patterns 2000-09-06 Bart Schaefer * 12765,12766: Doc/Zsh/builtins.yo, Doc/Zsh/contrib.yo: Eliminate use of "wordcode". 2000-09-06 Peter Stephenson * 12762: Akinori MUSHA: configure.in, Completion/Bsd/_kld: changes for new FreeBSD releases. 2000-09-06 Andrej Borsenkow * 12761: Doc/ztexi.yo: `` was converted into " by makeinfo; use `@:` instead. In line, use `{}` for tex, this looks better in printed output. * unposted: aczsh.m4, conifgure.in: Remove patch from 12686 that was accidentally commited 2000-09-05 Bart Schaefer * 12745: Doc/Zsh/contrib.yo: Add a cross-reference; include some comments about using completers with predict-on. 2000-09-05 Sven Wischnowsky * 12744: Doc/Zsh/contrib.yo, Doc/Zsh/mod_complist.yo, Functions/Zle/incremental-complete-word: change context for i-c-w styles, update docs 2000-09-04 Bart Schaefer * 12742: Doc/.distfiles, Doc/Makefile.in, Doc/Zsh/.distfiles, Doc/Zsh/builtins.yo, Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo, Doc/Zsh/manual.yo, Doc/Zsh/zftpsys.yo, Doc/Zsh/zle.yo, Doc/zsh.yo, Doc/zshcontrib.yo, Functions/Prompts/promptinit, Functions/Zle/history-search-end, Functions/Zle/predict-on: Create new "User Contributions" chapter in the manual; move some items there from existing chapters; fix a few typos. Minor improvements to promptinit and history-search-end. Larger improvements to predict-on, including removing the `:completion' prefix from most of its style contexts. 2000-09-04 Peter Stephenson * 12741: Src/math.c: problem with nested matheval unexpectedly stomping on outputradix. 2000-09-04 Andrej Borsenkow * 12736: configure.in: Fix `make install' dependency for Cygwin static build 2000-09-04 Peter Stephenson * Config/version.mk: 3.1.9-dev-6 2000-09-04 Bart Schaefer * 12733: Functions/Misc/colors: Restore `grey' and other accidentally-misplaced elements in the `fg*' and `bg*' arrays. * 12732: Src/params.c: Suppress base# prefix when base is 10 even if the [##base] format of 12722 was not used. 2000-09-03 Clint Adams * 12728: Completion/User/_man: complete _files instead of manpages if -l or --local-file is present on the commandline. 2000-09-03 Bart Schaefer * 12726,12727: Functions/Misc/zrecompile: Handle pass-through of all zcompile options. 2000-09-02 Bart Schaefer * 12725: Util/helpfiles: Recognize more end-of-page patterns, and find the end of the builtins section correctly. * 12723: Util/reporter: Modernize variables and options handling; add zstyle to output. 2000-09-02 Andrew Main * 12722: Doc/Zsh/arith.yo, Src/math.c, Src/params.c: Allow [##base] as well as [#base]; the doubled # suppresses output of a base prefix. Also clean up parsing of [] base-selection constructs. 2000-09-01 Bart Schaefer * 12721: Functions/Misc/allopt: Remove "emulate" which changes the output of the function; other minor cleanup. 2000-08-30 Clint Adams * 12720: Completion/Debian/_dpkg: change two instances of _files to _path_files to avoid completion of all-files. 2000-08-29 Peter Stephenson * 12719: Doc/Zsh/mod_zle.yo, Src/utils.c, Src/Zle/zle_main.c: handle quoting of separators in arrays when there might also be real backslashes around. 2000-08-29 Sven Wischnowsky * 12717: Src/Zle/zle_tricky.c: fix for unbalanced calls to {push,pop}heap in docomplete()/get_comp_string() 2000-08-28 Bart Schaefer * 12716: Doc/Zsh/builtins.yo, Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo, Doc/Zsh/expn.yo, Doc/Zsh/grammar.yo, Doc/Zsh/mod_zutil.yo, Doc/Zsh/params.yo: Documentation and index entries for the REPLY and reply parameters, plus index entries for a couple of paramters used by the completion system. 2000-08-28 Sven Wischnowsky * 12710: Src/exec.c: fix for `function' without names 2000-08-27 Oliver Kiddle * 12708: Completion/AIX/_logical_volumes: new AIX completion function 2000-08-23 Sven Wischnowsky * 12692: Alexandre: 12691; 12692: Completion/User/_gv, Completion/User/_pdf, Completion/User/_ps, Completion/User/_pspdf: complete compressed files for gv; improve results from _pspdf 2000-08-21 Sven Wischnowsky * 12682: Completion/Builtins/_zmodload: use return value 2000-08-18 Oliver Kiddle * 12677: Completion/Builtins/_zmodload: use _arguments in _zmodload 2000-08-16 Peter Stephenson * unposted: Src/.distfiles: forgot this yet again. * pws/Andrej: 12594, 12661: Src/zsh.rc, Src/zsh.ico, Src/Makefile.in, configure.in: basic support for Windows resources including icon, will be built in for cygwin. * Andrej: 12658: .cvsignore, Src/.cvsignore: cscope ignorance. 2000-08-16 Sven Wischnowsky * 12654: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c: make $modules report aliases correctly * unposted: Completion/Builtins/_pids: remove unnecessary local parameter 2000-08-15 Peter Stephenson * 12650: Completion/Builtins/_zmodload: don't lists aliases if there aren't any. 2000-08-15 Bart Schaefer * 12652: Src/module.c: Fix variable scoping problem that caused crash in `zmodload -u'. 2000-08-15 Sven Wischnowsky * 12640: Completion/Builtins/_pids, Completion/Builtins/_zstyle, Doc/Zsh/compsys.yo: call ps only once and be more intelligent when finding the PIDs * 12635: Completion/Builtins/_pids: small improvement to allow lists where the pid is not in the first column 2000-08-14 Bart Schaefer * Andrej: 12623: configure.in, Src/mkmakemod.sh, Src/zsh.h: Fix dynamic linking on cygwin, again. * 12621: Src/Zle/zle_main.c: Use ztrdup() on a string that will later be freed; this appears to have been a bug ever since 9839. * Andrej: 12620: configure.in, Src/system.h: Fix cache variable test for mmap, remove cygwin special-case. * 12617: configure.in: Use AC_FUNC_MMAP rather than just test for existence of mmap. * Andrej: 12614: Test/53completion.ztst, Test/54compmatch.ztst, Test/55arguments.ztst: Add %clean sections to unload zpty module. * Andrej: 12614: Completion/Builtins/_zmodload: Add DLL to suffix list, for benefit of cygwin. 2000-08-14 Sven Wischnowsky * Andrej: 12613: Src/lex.c: missing mod_export * 12610: Src/Zle/computil.c: make all builtins in computil test if they were called from a completion function 2000-08-13 Bart Schaefer * 12604: Src/compat.c, Src/system.h, Src/Modules/files.c, Src/Modules/parameter.c: Remove calls to zpathmax(); fix some serious errors in zpathmax() but wrap it in #if 0 anyway; minor fixes to comments and coding style for zopenmax(). * 12601: aczsh.m4, configure.in: configure --enable-cflags and the like, i.e., with no =... part, should preserve the environment values for CFLAGS etc. rather than erase them. 2000-08-11 Peter Stephenson * 12598: INSTALL, aczsh.m4, configure.in: --enable-cppflags=..., --enable-cflags=..., --enable-ldflags=..., --enable-libs=... 2000-08-11 Bart Schaefer * 12596: INSTALL: Update for module aliasing changes. 2000-08-11 Sven Wischnowsky * 12592: Completion/Core/_parameters, Src/Zle/compcore.c, Src/Zle/zle_tricky.c: fixes for completion in math contexts: don't quote spaces and do normal parameter expansion completion after `$' 2000-08-11 Peter Stephenson * Config/version.mk: 3.1.9-dev-5. 2000-08-10 Oliver Kiddle * 12585: Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Doc/Zsh/expn.yo, Doc/Zsh/mod_complist.yo, Doc/Zsh/mod_zutil.yo: minor doc fixes * 12583: Completion/Base/_math, Completion/Builtins/_arrays, Completion/Builtins/_vars, Completion/Builtins/_zpty, Completion/Commands/_bash_completions, Completion/Core/_parameters, Doc/Zsh/compsys.yo: add -g option to _parameters to restrict the type of parameters completed 2000-08-10 Peter Stephenson * 12582: Misc/Functions/is-at-least: make it accept name parts in the first argument (though I forgot to handle things like 3.1.6.random3 with no separator). * 12581: Doc/Zsh/options.yo, Src/options.c, Src/params.c, Src/zsh.h: Add C_BASES option to output hexadecimal as 0xFF instead of 16#FF, and similarly for octal if OCTAL_ZEROES is set. 2000-08-09 Oliver Kiddle * 12578: Completion/Builtins/_read, Completion/Builtins/_vars, Completion/Builtins/.distfiles: new completion for read builtin 2000-08-08 Clint Adams * 12568: configure.in, Src/compat.c, Src/exec.c, Src/init.c, Src/system.h: check sysconf(_SC_OPEN_MAX) if available instead of OPEN_MAX/NOFILES. 2000-08-08 Sven Wischnowsky * 12567: Completion/Linux/_rpm, Src/Zle/computil.c: handle the right option in strings with multiple single-letter options (and correctly handle its argument) * 12565: Completion/Core/_expand, Completion/Core/_path_files, Doc/Zsh/mod_computil.yo, Src/Zle/computil.c: more fixes for completion of special characters (quoting) 2000-08-08 Peter Stephenson * unposted: Src/xmods.conf, Src/Aliases/*: Remove Src/Aliases files and delete alias modules from xmods.conf (should now use `zmodload -A' to generate module aliases). * 12561: Completion/Builtins/_zmodload, Doc/Zsh/builtins.yo, Src/builtin.c, Src/module.c, Src/zsh.h: aliases for modules done internally via `zmodload -[AR]'. 2000-08-07 Peter Stephenson * 12555: Fix static linking on cygwin. 2000-08-07 Bart Schaefer * users/3358: Zero shout when closing SHTTY in subshells. 2000-08-05 Bart Schaefer * unposted (Wayne, 12549): Src/system.h: Missing paren. 2000-08-04 Bart Schaefer * 12547, 12458: configure.in, Src/compat.c, Src/Modules/files.c: Handle ENOENT and ENOTDIR within zpathmax(), and therefore back out the changes from 12541 and 12533. 2000-08-04 Clint Adams * 12541: configure.in, Src/compat.c: zrealpath wrapper around realpath(). * 12533: Src/Modules/files.c: drop the tail of the path passed to mkdir in the call to pathconf(). 2000-08-04 Sven Wischnowsky * 12525: Src/module.c: remove (wrong) test for linked-in modules in require_module() 2000-08-04 Bart Schaefer * 12516: Src/compat.c, Src/system.h, Src/Modules/files.c, Src/Modules/parameter.c: Rewrite the pathconf() support using a wrapper function in compat.c to isolate the #ifdefs. 2000-08-03 Peter Stephenson * Andrej: 12501: Src/params.c: getenv etc. become zgetenv etc. and call getenv where necessary. 2000-08-03 Sven Wischnowsky * 12503: Completion/Commands/_bash_completions, Completion/Commands/_complete_debug, Completion/Commands/_complete_help, Completion/Commands/_correct_word, Completion/Commands/_expand_word, Completion/Commands/_history_complete_word, Completion/Commands/_next_tags, Completion/Core/_expand, Completion/Core/_main_complete, Completion/Core/_path_files, Completion/Core/compdump, Src/glob.c, Src/Modules/parameter.c: try to get quoting of special character (`>' and `\') right; fix for pathmax in parameter.c * 12497: Doc/Zsh/builtins.yo: small fix for `read -r' doc * 12496: Completion/Core/_path_files: one more problem with quoting of glob characters in filename completion * 12494: Doc/Zsh/options.yo, Src/Zle/zle_main.c: make binding of ^D be used in first column if ignoreeof is set and ^D is bound to a shell function widget 2000-08-02 Peter Stephenson * Andrej: 12487: configure.in, Etc/MACHINES, Src/Makefile.in, Src/init.c, Src/main.c, Src/makepro.awk, Src/mkmakemod.sh, Src/parse.c, Src/zsh.h, Src/Zle/zle_utils.c: Dynamic loading on cygwin. 2000-08-02 Clint Adams * 12489: Src/Modules/files.c, Src/Modules/parameter.c: check errno change from pathconf() in case of unlimited path length. * 12472: configure.in, Src/Modules/files.c, Src/Modules/parameter.c: use pathconf() instead of PATH_MAX if possible. 2000-08-02 Adam Spiers * 12486: Completion/Base/{.distfiles,_cache_invalid,_retrieve_cache, _store_cache}, Completion/Builtins/_zstyle, Completion/Linux/_rpm, Completion/User/_perl_modules, Doc/Zsh/compsys.yo: new completion caching layer 2000-08-02 Sven Wischnowsky * 12483: Completion/Base/_arguments, Completion/Core/_complete, Doc/Zsh/compsys.yo: if compcontext is an assoc, the keys are the completions and the values are their descriptions * 12475: Completion/Base/_arguments: prefer user-defined specs over ones derived from --help output 2000-08-01 Sven Wischnowsky * Jan Fedak: 12463: Completion/User/_slrn: new completion function for slrn * 12462: Completion/Base/_arguments: fix for automatically recognised options, don't expect an argument after each of them * 12453: Completion/Bsd/_bsd_pkg, Completion/Bsd/_kld, Completion/Commands/_next_tags, Completion/User/_cvs, Completion/User/_mailboxes, Completion/X/_xset, Completion/X/_xwit, Src/exec.c: remove tests for kshautoload (use zcompile -z); fix for setting scriptname for functions that redefine themselves * 12449: Completion/Base/_arguments, Completion/Base/_values, Completion/Core/_complete, Doc/Zsh/compsys.yo: make $compcontext more powerful and easier to use for simple cases 2000-07-31 Peter Stephenson * Config/version.mk: 3.1.9-dev-4. * unposted: Completion/Core/.distfiles: add compaudit 2000-07-31 Sven Wischnowsky * 12439: Src/hist.c: isalpha() -> ialpha(); avoid a compiler warning * 12438: Doc/Zsh/compsys.yo: clarify manual for menu style; select= and yes= may be given both a number and one of the long* values at the same time 2000-07-30 Andrew Main * 12436: Doc/Zsh/invoke.yo, Src/init.c: Make -b behave like the csh -b, permitting more options to be stacked after it and take effect. Make -b take effect depending on SH_OPTION_LETTERS, consistent with all the other single-letter options, rather than having a clashing check of emulation type. 2000-07-30 Andrew Main * 12434: Doc/Zsh/invoke.yo, Src/init.c, Src/options.c, Src/zsh.h, Src/zsh.mdd: Allow options to be specified on the zsh command line in the form of GNU-style long options. Also handle --version and --help. Do not permit extra option letters to be stacked after `-whatever-' (they used to be ignored). Exit if the command line specifies an option name that doesn't exist. 2000-07-28 Bart Schaefer * 12393: Src/jobs.c: The `wait' builtin searches the job table for any process ID it's asked to wait for, and rejects those it doesn't find. 2000-07-28 Peter Stephenson * 12421: Src/Makemod.in.in: extra tab * Andrej: 12419: Src/builtin.c, Src/params.c: use putenv() and getenv() if available and try to make minimal assumptions about environment handling. * Andrej: 12411: check for brk() and sbrk() and use sbrk() if no brk(). 2000-07-27 Peter Stephenson * 12415: Src/utils.c: fix bug in 12414 when quoting metafied field separator. 2000-07-27 Peter Stephenson * 12414: Doc/Zsh/mod_zle.yo, Src/exec.c, Src/utils.c, Src/Zle/zle_main.c: vared quotes separators when editing arrays. 2000-07-27 Sven Wischnowsky * 12408: Test/55arguments.ztst: fix completion test (55*) because of 12394 * 12405: Completion/Core/_main_complete, Doc/Zsh/compsys.yo: fix a bug that started menu selection too often; fix bug for `yes=long' and documentit 2000-07-27 Bart Schaefer * 12396: Functions/Misc/zed: The value of `$(functions $1)' for autoloadable functions has changed. 2000-07-27 Sven Wischnowsky * 12400: Src/Zle/computil.c: compdescribe shouldn't use the sets after failed initialisation * 12394: Completion/Core/_main_complete: don't hide possible completions if there is only one and at the same time messages are shown 2000-07-26 Adam Spiers * unposted: Completion/User/_perl: -e, -I, -m and -M parameters can be specified multiple times 2000-07-26 Peter Stephenson * Andrej/pws: 12381: configure.in: cygwin on Windows 2000 is mysteriously returning status 0 even though the test fails, so create a file we can test to see if the test got that far. 2000-07-26 Bart Schaefer * 12377: Completion/Core/compaudit, Completion/Core/compinit, Doc/Zsh/compsys.yo: Separate compinit security checks into their own callable function. * 12370: Functions/Misc/zed: Add a context for controlling completion within zed, and a style to enable tab insertion at the beginnings of lines in zed by default. * 12162: Completion/Core/_expand, Completion/Core/_path_files, Src/utils.c: Use `eval' instead of `$(print ...)' to suppress some syntax error failures; this requires that zwarn() does not trashzle() when the output is not going to the terminal. 2000-07-26 Sven Wischnowsky * 12378: Completion/Base/_arguments: make `_arguments --' use specs after the `--' even for options not described in the help output to get arguments * users/3337: Completion/Base/_value: allow _value: functions to override completion for all keys of an assoc 2000-07-24 Oliver Kiddle * 12356: Completion/User/_mh: use mhpath and mhparam instead of guessing the directory 2000-07-24 Sven Wischnowsky * 12354: Completion/Core/_multi_parts: optimisations for _multi_parts 2000-07-22 Clint Adams * 12347: Completion/User/_mutt: options -a, -b, and -c are repeatable. 2000-07-21 Sven Wischnowsky * 12337: Src/parse.c: fix parsing of `time' without a command 2000-07-20 Wayne Davison * unposted: tweaked a function name in hist.c for Sven. 2000-07-20 Peter Stephenson * 12239: Fr. Br. George (George V Kouryachy), adapted: configure.in: prefer curses to termcap on solaris. 2000-07-20 Bart Schaefer * 12326: Completion/User/_cvs: Discard stderr of a command subst. 2000-07-20 Wayne Davison * 12323: Src/hist.c: support "builtin" in HIST_NO_STORE check. 2000-07-19 Chmouel Boudjnah * 12319: Completion/User/_perl_builtin_funcs: Get also /usr/share/man. 2000-07-19 Wayne Davison * 12318: Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c, Src/lex.c, Src/parse.c, Src/Zle/zle_main.c: Removed remhist() and the HA_JUNKED flag. Now hend() is called with an Eprog pointer so that it can access the lexer's data for the current command. Added shouldIgnoreLine() so that hend() can determine in advance if a command should be saved in the history. Added the aliasspaceflag variable to note when we expand an alias that starts with a space. 2000-07-19 Sven Wischnowsky * 12314: Src/Zle/compmatch.c: a bit of security for a VARARR() 2000-07-19 Peter Stephenson * 12313: Doc/Zsh/metafaq.yo: bad phrasing corrected. * 12308: Completion/User/_man: Andrej and pws: cope with systems where manual pages just have bare .Z and no number; don't be too clever about suffix until we try to strip it. 2000-07-18 Sven Wischnowsky * 12297: Src/Zle/compcore.c: don't let duplicate matches keep us from recognising exact matches if they produce the same string on the line 2000-07-18 Wayne Davison * 12295: Src/builtin.c, Src/hist.c, Src/input.c, Src/lex.c: Fixed the history command to output correctly when the current command was already removed from the history. Fixed remhist() to not remove the wrong line in the above scenario. Got rid of "spaceflag". 2000-07-17 Tanaka Akira * 12274: Test/53completion.ztst, Test/55arguments.ztst, Test/.distfiles: separates _arguments tests. 2000-07-17 Peter Stephenson * Config/version.mk: 3.1.9-dev-3. 2000-07-17 Sven Wischnowsky * 12266: Src/Zle/computil.c: don't treat non-option arguments as options 2000-07-17 Wayne Davison * 12265: Src/hist.c: Fixed gethistent(). Fixed a race condition in the SHARE_HISTORY code that could fail to import some shared history lines from other shells. 2000-07-16 Wayne Davison * 12260: Src/hist.c: Added unmeta() calls. Fixed lockhistfile(). 2000-07-13 Peter Stephenson * 12247: Src/init.c, Src/params.c, Src/prompt.c: remove hostnam internal variable and use $HOST wherever hostname is needed. * 12242: Fr. Br. George (George V Kouryachy) and pws: Doc/Zsh/prompt.yo, Src/prompt.c: negative integers in prompt escapes count from the other end of the appropriate string. 2000-07-13 Sven Wischnowsky * 12243: Src/hist.c: try to get (z) parameter flag parsing for conditions right * 12241: Completion/Core/_main_complete, Src/Zle/computil.c: fix for _arguments with single-letter options: recognize option-strings with multiple options; in _main_complete stop trying completers when one called _message, don't display warnings in such cases * 12238: Src/Zle/zle_thingy.c: fix zle widget -n num with num>9 * 12237: Src/hist.c, Src/lex.c: slightly improved (z) flag for parsing conditions; recognising glob flags in conditions still doesn't work 2000-07-12 Peter Stephenson * 12231: Completion/Core/compinstall: fix setting of list-prompt. 2000-07-12 Sven Wischnowsky * 12229: Doc/Zsh/compsys.yo: fix for list-prompt docs * 12228: Src/hist.c, Src/lex.c: fix for (z) flag, don't take # as comment 2000-07-12 Peter Stephenson * 12227: Completion/Core/compinstall: add select-prompt handling and correct menu entry and missing local parameters. 2000-07-12 Sven Wischnowsky * 12226: Completion/Core/_main_complete: don't start menu selection with only select=long * 12225: Completion/Linux/_rpm: check if options were completed 2000-07-11 Peter Stephenson * 12222: Src/exec.c: ignore EINTR in helper processe for tee and cat with multios. It might be considered unfortunate that the shell is liable to exit on SIGPIPE if these disappear early. * 12220: Src/exec.c: print error message for unfound autoload function body at lower locallevel. 2000-07-10 Bart Schaefer * unposted: Completion/User/_killall: Complete process IDs and names for all processes when EUID is 0 (root); suggested by Thomas Kohler in 12202 and followups. 2000-07-10 Sven Wischnowsky * 12208: Completion/Core/_path_files: avoid insertion of `+' before ~1/; don't use undeclared local $tmp 2000-07-08 Tanaka Akira * 12201: Completion/User/_java: fix completion for jar. complete package qualified class names. fix typos. 2000-07-07 Bart Schaefer * 12193: configure.in, Src/Builtins/rlimits.mdd: Fix unnecessary rebuilds of rlimits.o on platforms where getrlimit() is not found. 2000-07-06 Oliver Kiddle * 12181: Completion/AIX/_lscfg, Completion/AIX/_object_classes, Completion/AIX/_physical_volumes, Completion/AIX/_smit, Completion/AIX/_volume_groups, Completion/User/_printers: updates and additions to completions for AIX commands 2000-07-05 Oliver Kiddle * 12177: Doc/Zsh/compsys.yo, Completion/Builtins/_unhash, Doc/Zsh/compwid.yo, Doc/Zsh/expn.yo, Doc/Zsh/mod_zutil.yo: add more standard tags to docs and fix typos 2000-07-05 Sven Wischnowsky * 12171: Completion/User/_arp: get return status right 2000-07-05 Bart Schaefer * 12167: Test/Makefile.in: Ignore failure exit from "for" loop so that cleanup code following it will be executed. 2000-07-04 Oliver Kiddle * 12165: Completion/User/_arp: new completion for arp 2000-07-04 Bart Schaefer * 12160: Completion/Core/compdump: Return failure early if the dot-file directory is not writable. 2000-07-04 Oliver Kiddle * unposted: Src/params.c, Src/Zle/compcore.c, Src/Zle/zle_utils.c: AIX dependency fixes 2000-07-04 Peter Stephenson * 12158: Src/Modules/parameter.c: cast pid_t to int for printing. 2000-07-04 Sven Wischnowsky * 12156: Completion/Core/_expand, Completion/Core/_path_files: add some $(print...)s because of possible math-parse errors 2000-07-03 Peter Stephenson * 12149: acconfig.h, configure.in, Src/Modules/zftp.c: h_errno wasn't found on HPUX 10.20. Maybe in some library. 2000-07-03 Adam Spiers * 12152: Completion/User/_perl: tweak completion of Perl script parameters to perl. 2000-07-03 Bart Schaefer * 12151: Test/Makefile.in, Test/comptest: Point ZDOTDIR into the Test directory itself, and clean up .zcompdump after testing. * 12148: Completion/Core/_path_files: Followup to 12133 as suggested by Sven in 12137: Don't merge display-ordering glob flags into the parens in $(...) expressions. 2000-07-03 Peter Stephenson * 12146: Doc/Makefile.in: reintroduce mysteriously disappeared code do install info files in directory. * 12140: Completion/Core/compinit, Completion/Core/compinstall, Doc/Zsh/compsys.yo: compinstall calls compinit after styles are defined; compinit checks for _expand completer and if necessary rebinds ^i to complete-word. * Config/version.mk: 3.1.9-dev-2. * 12138: Src/params.c, Test/06arith.ztst: setting of array elements in math context didn't work (ever). * 12121: Src/utils.c, Doc/Zsh/options.yo: save and restore stopmsg for precmd, fix #ifdef's for variable declaration in read_poll(). 2000-07-03 Sven Wischnowsky * 12134: Completion/Core/_main_complete, Doc/Zsh/compsys.yo, Doc/Zsh/mod_complist.yo, Src/Zle/comp.h, Src/Zle/compcore.c, Src/Zle/complist.c: change format style with warnings tag, don't add descriptions as matches; make a-a-i-n-h in menu selection work even without matches 2000-07-02 Bart Schaefer * 12133: Completion/Core/_expand, Completion/Core/_path_files: Discard error output from parameter expansions and use "eval" to protect the completion system from parse errors and other garbage in the strings taken from the command line. 2000-06-29 Sven Wischnowsky * 12125: Src/parse.c, Test/09funcdef.ztst: fix for `foo () print bar' (function definitions without braces) * 12122: Completion/Core/_main_complete: reverse meaning of yes=num again * 12119: Completion/Core/_complete, Completion/Core/_normal: try to return the right value * 12118: Completion/Core/_expand: don't expand partially typed parameter expansions * 12115: Completion/Core/_expand, Doc/Zsh/compsys.yo: change suffix style to still do expansion if the suffix contains something to expand * 12114: Completion/Core/_main_complete, Doc/Zsh/compsys.yo: even more fun with the menu style (no=num, yes=long-list, reverse meaning of yes=num) * 12113: Completion/Core/_expand, Src/Zle/zle_tricky.c: quote brace-strings 2000-06-28 Bart Schaefer * 12112: Src/params.c: Don't make namedirs out of hash elements. 2000-06-28 Sven Wischnowsky * 12109: Completion/Core/_complete: make _complete return the right value * 12107: Completion/Core/_setup, Src/Zle/complist.c: fix for list-colors handling * 12105: Completion/Core/_main_complete: reset _comp_mesg (saying whether there were messages) appropriately * Jan Fedak: 12097: Completion/User/_ssh: use _ports when completing remote ports * Andrej: 12094: Doc/Zsh/compsys.yo: a bit of cleanup * 12099: Completion/Core/_oldlist: make _oldlist not use the dummy match added for the warning * 12093: Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/compresult.c: make a-a-i-n-h in menu selection work with one match; better undo behaviour for menu selection 2000-06-27 Bart Schaefer * 12086: Doc/Zsh/compsys.yo: Move _use_lo doc into alphabetical order; separate _files and _path_files for same reason. 2000-06-27 Sven Wischnowsky * users/3219: Completion/Core/_main_complete, Doc/Zsh/compsys.yo: menu style accepts yes=x to start menu completion if there are at least x matches * Andrej: 12084: Src/Modules/zpty.c: don't close slave if not yet open * 12082: Doc/Zsh/compsys.yo: document _use_lo 2000-06-27 Peter Stephenson * Andrej: 12081: Src/Modules/zpty.c: compiles under Cygwin, but still glitches. 2000-06-26 Peter Stephenson * unposted: Src/builtin.c, Src/utils.c: move read_poll to utils.c as suggested by Bart. 2000-06-26 Peter Stephenson * 12076: Completion/Core/compinstall: overwrote file if no style information; overwrote symbolic link instead of following; didn't check file name for sanity. 2000-06-26 Bart Schaefer * 12074: Doc/Zsh/builtins.yo, Doc/Zsh/manual.yo: Remove one more reference to compfmt; add missing menu items to node listing. 2000-06-26 Peter Stephenson * 12073: Src/builtin.c, Src/utils.c, Doc/Zsh/builtins.yo: first pass at `read -t' which tests for availability of input before inputting. 2000-06-26 Sven Wischnowsky * users/3208: Completion/User/_use_lo: default completion even if there are options * 12070: Completion/Core/_ignored: fix for completer lookup in _ignored * 12068: Doc/Zsh/mod_computil.yo, Src/Zle/computil.c: remove compfmt; a bit of explanation for compfiles and compgroups * 12067: Completion/Core/_history, Src/Zle/zle_tricky.c: typo in _history; missing free()s in zle_tricky.c * 12066: Src/Zle/computil.c: missing allocation of list for option arguments 2000-06-25 Bart Schaefer * 12063: Doc/Zsh/builtins.yo, Doc/Zsh/compwid.yo, Doc/Zsh/mod_computil.yo, Doc/Zsh/mod_zutil.yo: Fix typos; assorted clarification and reformatting. 2000-06-23 Peter Stephenson * 12044: Src/builtin.c: read -A assigned an unnecessary null if there was trailing whitespace; careful of distinction between whitespace and non-whitespace field separators. 2000-06-23 Sven Wischnowsky * 12041,12043 : Completion/Core/compinit: even more compinit stuff, change prompt, search for insecure parent dirs 2000-06-22 Peter Stephenson * 12040: Src/builtin.c: typeset -r on existing parameter set the readonly flag before assigning any value on the same command line. 2000-06-22 Bart Schaefer * 12039: Test/comptest: Use "compinit -u" to avoid a possible prompt about security of the directories; point ZDOTDIR into the temporary test directory for the .zcompdump file. 2000-06-22 Sven Wischnowsky * 12033: Completion/Core/compinit: followup to compinit-security patch * 12029: Completion/Builtins/_arrays, Completion/Builtins/_zstyle, Completion/Commands/_bash_completions, Completion/Commands/_history_complete_word, Completion/Core/_history, Completion/Core/_main_complete, Completion/Core/_parameters, Completion/Core/_setup, Completion/Core/_tags, Completion/Debian/_apt, Completion/X/_x_extension, Doc/Zsh/compsys.yo, Doc/Zsh/compwid.yo, Src/zsh.h, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complist.c, Src/Zle/computil.c: allow subscripts for compadd -[ak]; new style for history completion; better list-colors handling 2000-06-22 Clint Adams * 12027: Completion/User/_mailboxes: fix splitting problem in 12024, add intelligence for mutt mailboxes in $maildirectory not specified in muttrc. * 12024: Completion/User/_mailboxes: handle multiple mailboxes lines in muttrc. 2000-06-21 Chmouel Boudjnah * 12019: Completion/User/_ssh: upgrade to the last openssh options. 2000-06-21 Sven Wischnowsky * 12011: Completion/Commands/_history_complete_word, Completion/Core/_expand, Completion/Core/_history: make history completion use I{PREF,SUF}FIX 2000-06-20 Oliver Kiddle * unposted: Src/exec.c: AIX dependency fix 2000-06-20 Peter Stephenson * 12000: Functions/Misc/zmv: emulate zsh doesn't unset MARKDIRS, so use emulate -R. 2000-06-20 Sven Wischnowsky * 11998: Completion/Builtins/_pids, Completion/Core/compdump, Completion/Core/compinit, Doc/Zsh/compsys.yo: a bit of security for compinit (avoid using things writable by others); avoid handling files with the same name twice; remove compconf 2000-06-19 Sven Wischnowsky * 11992: Src/Zle/complist.c: make undo break out of menu selection if nothing to undo inside it * 11985: Completion/Debian/_dpkg, Doc/Zsh/compsys.yo, Src/Zle/computil.c: _arguments: small fix for -s and new `!...' for things not to complete (but to understand) * 11982: Test/comptest: update comptest to not set ZLS_COLORS directly * 11981: Src/Zle/computil.c: more careful when optimising patterns in compfiles * 11977: Completion/Core/_options, Completion/Core/_set_options, Completion/Core/_unset_options, Doc/Zsh/compwid.yo, Src/Zle/comp.h, Src/Zle/complete.c, Src/Zle/compmatch.c, Test/54compmatch.ztst: new match spec characters bBeE, match only word/line not both * 11973: Completion/Builtins/_zstyle, Completion/Core/_description, Completion/Core/_expand, Doc/Zsh/compsys.yo, Src/Zle/zle_tricky.c: allow _expand to expand braces; better detection of braces to complete instead of passing to shell code 2000-06-19 Peter Stephenson * unpost: additions to Completion/Commands/.distfiles and .distfiles. * users/3189: Functions/Misc/zmv: use depth-first ordering with **/; ignore files whose names are unchanged by the substitution. 2000-06-19 Sven Wischnowsky * 11971: Completion/Core/_path_files, Doc/Zsh/compsys.yo, Src/Zle/compcore.c, Src/Zle/computil.c: improve filename completion; use accept-exact for in-path completion; new fake style * users/3188: Completion/Core/_description, Completion/Core/_setup, Doc/Zsh/compsys.yo: restore ZLS_COLORS when possible; better group-name handling in ZLS_COLORS 2000-06-17 Clint Adams * 11966: Completion/Core/_main_complete: use double brackets around comparison to prevent 'command not found: no' error. 2000-06-17 Bart Schaefer * 11961: Src/subst.c: 11959 was really a bug in magicequalsubst, it shouldn't have treated x:=y as a reason to expand =y. 2000-06-17 Tanaka Akira * 11959: Completion/User/_urls: make it magicequalsubst aware. * 11958: Completion/User/_java: new completion for Java. 2000-06-17 Bart Schaefer * 11956: Src/loop.c: Fix off-by-one error in wordcode pc executing case statement fall-through. * unposted: Test/01grammar.ztst: Add a test for 11956. 2000-06-16 Clint Adams * 11951: Completion/Debian/_dpkg: replaced _arguments -A for install and record-avail with an evaluation kludge. 2000-06-16 Sven Wischnowsky * 11939: Src/Zle/compmatch.c, Src/Zle/compresult.c, Src/Zle/zle_tricky.c: allow completion after `a{{b,c},'; fix for closing brace re-insertion when completing from both ends (CLF_MID) * 11938: Completion/Core/_description, Doc/Zsh/compsys.yo: enhance ignore-line to ignore all/current/other word(s) * 11937: Completion/Core/_expand, Completion/Core/_list, Doc/Zsh/compsys.yo, Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: zstyle -e option; change math-styles to boolean ones; change defaults for _expand styles 2000-06-15 Peter Stephenson * Felix: 11908: Test/54compmatch.ztst: tests for problematic cases. * as 11916: moved bottom of ChangeLog to ChangeLog-Release to avoid unnecessary network activity when committing. To be merged into ChangeLog.4.0 for next release. 2000-06-15 Sven Wischnowsky * 11924: Src/Zle/compmatch.c: more security in completion matching * 11915: Completion/Core/_files, Doc/Zsh/compsys.yo: make _files try each pattern only once (and stop after `*') * 11910: Src/Zle/computil.c: fix for _arguments, it took non-option strings as options 2000-06-14 Peter Stephenson * 11906: Src/signals.c: yet another two bugs with saving traps: flags were prematurely restored when resetting and TRAPEXIT was sometimes saved incorrectly when exitting the scope. 2000-06-14 Oliver Kiddle * 11903: Completion/Core/_expand: handle suffix style for arrays 2000-06-14 Peter Stephenson * 11902: Test/08traps.ztst: add test for localtraps with SIGWINCH. * 11901: Src/signals.c: not one but two more bugs in trap saving: sigfuncs wasn't reset for function signals, and dosavetrap() didn't check sigtrapped before assuming sigfuncs was valid. * 11895: Src/signals.c: exit traps weren't cleared from the list properly, resulting in memory management problems. 2000-06-14 Sven Wischnowsky * 11885: Src/parse.c: nix kaboom with `time time' * 11890: Src/Zle/complist.c: better fix for menu selection on dumb terminal 2000-06-13 Clint Adams * 11882: Completion/Debian/_dpkg: more intelligence in dpkg completion. 2000-06-13 Sven Wischnowsky * 11876: Doc/Zsh/compsys.yo, Src/Zle/computil.c: make -A take a pattern as argument to match non-arguments; allow single-letter option strings to have multiple arguments; fix to allow option completion with multiple sets * 11872 Completion/Commands/_generic, Doc/Zsh/compsys.yo: new _generic widget to call completion with $WIDGET in function field of context * 11873: Completion/Core/_main_complete, Doc/Zsh/compsys.yo: allow insert-tab style to contain `pending[=num]' to handle the case when there is pending input * 11874: Completion/Core/_expand, Doc/Zsh/compsys.yo: new style `suffix', use accept-exact style in _expand * 11875: Src/Zle/complist.c: fix for longer capability strings; very bad 2000-06-13 Peter Stephenson * 11877: Src/zsh.h: make PRINT_ flags unique again. 2000-06-13 Sven Wischnowsky * 11870: Completion/Core/_path_files, Src/Zle/complete.c, Src/Zle/compmatch.c, Src/Zle/computil.c: fixes for calling compfiles, for completing words with special characters; make compfiles optimisations work with globcomplete and simple match specs 2000-06-12 Peter Stephenson * 11867: Src/builtin.c, Src/params.c, Src/zsh.h, Doc/Zsh/builtins.yo: don't use -H flag for parameters mentioned explicitly or by pattern. 2000-06-11 Bart Schaefer * 11866: Functions/Misc/colors, Functions/Prompts/promptinit: Set up color/colour assoc arrays to map the full range of ANSI text properties; preserve more state during themed prompt previewing. * Alexandre: unposted: Src/Zle/complist.c: Shift an array the opposite way to fix colored listings crash. 2000-06-11 Tanaka Akira * 11861: Completion/User/_cvs: fix -a use for compadd. 2000-06-10 Bart Schaefer * 11850: Src/Zle/complist.c: Don't try to menuselect in a listing that isn't there, e.g., because the TERM is too dumb to draw it. 2000-06-09 Peter Stephenson * 11842 (repeat of 11838): Doc/Zsh/builtins.yo, Src/builtin.c, Src/params.c, Src/subst.c, Src/zsh.h, Src/Modules/mapfile.c, Src/Modules/parameter.c: add the HIDEVAL parameter attribute and set it by default for parameters created by the mapfile and parameter modules, to restore sanity of `typeset' output. 2000-06-09 Clint Adams * 11839: Src/signals.c: prevent segmentation fault in endtrapscope() by not dereferencing null pointers. 2000-06-09 Sven Wischnowsky * 11836: Src/Zle/compcore.c, Src/Zle/complist.c: fix for menu-completion when another completion came right after it * 11833: Completion/Core/_path_files, Src/Zle/computil.c: improve _path_files, move some code into C, try to optimise glob patterns and immediately accept exact directory matches 2000-06-08 Oliver Kiddle * 11823: Doc/Makefile.in, Completion/User/_urls: avoid bug in IRIX's sed and use new -K option to zparseopts in _urls 2000-06-08 Peter Stephenson * pws: 11820: Src/main.c: metafication of command line arguments didn't work because type table wasn't set up. 2000-06-08 Sven Wischnowsky * 11817: Src/Zle/compmatch.c: more anchor matching fixes * 11815: Completion/Core/_expand, Doc/Zsh/compsys.yo: trying to improve _expand; new keep-prefix style, add-space gives more control * 11814: Src/Zle/zle_tricky.c: make C-code expansion add a space only when more than one word was generated 2000-06-08 Tanaka Akira * users/3130: Completion/Debian/_apt: fix actions for _alternative. 2000-06-07 Sven Wischnowsky * 11796: Src/Zle/compmatch.c: try to get the tests for `strings long enough' right in anchor matching code 2000-06-07 Peter Stephenson * 11711: Andrej Borsenkow: Test/ztst.zsh: Ignore diff output unless the test failed, to work around some diffs which produce success messages. 2000-06-07 Sven Wischnowsky * user/3124: Completion/Core/_normal, Src/Zle/compctl.c: optimise command lookup in old and new completion * 11794: Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/zle_tricky.c: hopefully more consistent beeping with menu-selection * 11792: Doc/Zsh/mod_zutil.yo, Src/Modules/zutil.c: -K option for zparseopts to keep previous array values * 11789: Completion/Commands/_correct_word, Completion/Commands/_expand_word, Completion/Commands/_next_tags: setup options in bindable commands 2000-06-06 Oliver Kiddle * 11772: Completion/User/_urls: improvements to 11756 suggested by Bart in 11763 2000-06-06 Sven Wischnowsky * 11777: Completion/Core/_expand: make _expand ignore empty expansions * 11776: Completion/Core/_path_files: fix for _path_files and globcomplete, better test if word contains wildcards * 11768: Doc/Zsh/expn.yo, Src/lex.c, Src/subst.c: make (e) flag be silent unless (X) is given, too 2000-06-05 Oliver Kiddle * 11756: Completion/User/_urls, Completion/Linux/_rpm: accept -g option in _urls and use _urls in _rpm * 11755: test/comptest: fix wording in error messages