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 * 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: 11864: 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