2004-06-08 Peter Stephenson * Philippe Troin, 19996, plus 20025: configure.ac, INSTALL: add configure option --with-tcsetpgrp. * 20024: Doc/Zsh/func.yo: Improve documentation for TRAPNAL functions. 2004-06-03 Felix Rosencrantz * 20002: Src/Zle/compmatch.c: Fix a problem with an inconsistent struct change in cmp_anchors(). 2004-06-03 Peter Stephenson * 20017: Doc/.distfiles: add zsh.html to doc distribution. * users/7467: Completion/Base/Core/_dispatch: quoted commands weren't found in dispatcher lookup. 2004-06-02 Wayne Davison * unposted: builtin.c, exec.c, glob.c, hashtable.c, hist.c, init.c, jobs.c, loop.c, mem.c, module.c, options.c, params.c, parse.c, subst.c, system.h, utils.c, watch.c, Builtins/rlimits.c, Builtins/sched.c, Modules/cap.c, Modules/clone.c, Modules/datetime.c, Modules/example.c, Modules/files.c, Modules/langinfo.c, Modules/mapfile.c, Modules/mathfunc.c, Modules/parameter.c, Modules/socket.c, Modules/stat.c, Modules/system.c, Modules/tcp.c, Modules/termcap.c, Modules/terminfo.c, Modules/zftp.c, Modules/zprof.c, Modules/zpty.c, Modules/zselect.c, Modules/zutil.c, Zle/compcore.c, Zle/compctl.c, Zle/complete.c, Zle/complist.c, Zle/compresult.c, Zle/computil.c, Zle/deltochar.c, Zle/zle_hist.c, Zle/zle_keymap.c, Zle/zle_main.c, Zle/zle_misc.c, Zle/zle_move.c, Zle/zle_params.c, Zle/zle_refresh.c, Zle/zle_thingy.c, Zle/zle_tricky.c, Zle/zle_utils.c, Zle/zle_vi.c, Zle/zle_word.c, Zle/zleparameter.c: Silenced unused-parameter compiler warnings. 2004-05-28 Wayne Davison * 19980: Src/glob.c, Src/hashtable.c, Src/jobs.c, Src/loop.c, Src/params.c, Src/parse.c, Src/pattern.c, Src/Modules/datetime.c, Src/prompt.c, Src/subst.c, Src/utils.c, Src/Modules/zftp.c, Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/complete.c, Src/Zle/computil.c, Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c, Src/Zle/zle_tricky.c: Fixed some compiler warnings that gcc outputs with -W. 2004-05-28 Clint Adams * 19991: Completion/Unix/Command/_lynx: complete .htm files too. 2004-05-25 Peter Stephenson * 19976: Src/exec.c, Src/jobs.c: `job table full' messages spotted by many people were traced by Wayne to thisjob being -1, which wasn't handled in a test no one understands anyway. * Compiled by Thorsten Kampe in zsh-users/7474: Doc/Zsh/options.yo: reorder option descriptions into subheadings. 2004-05-21 Wayne Davison * 19967+: Src/builtin.c, Src/hist.c Src/params.c, Doc/Zsh/builtins.yo, Functions/Misc/zcalc: added a -a option to `fc -p' to enable automatic popping of the pushed history list on function exit. Updated zcalc. 2004-05-21 Peter Stephenson * 19971: Src/exec.c, Src/params.c: use putenv to put "_" into exec'd environment, avoiding horrific hack. 2004-05-20 Wayne Davison * 19962: Src/builtin.c, Src/hist.c, Doc/Zsh/builtins.yo, Functions/Misc/zcalc: added the ability to push/pop the history list via the new -p/-P options to fc. Used this in zcalc to make the switch to zcalc's private history-list very smooth. 2004-05-19 Peter Stephenson * unposted: Completion/Unix/Command/_perforce: tweak to allow changes and revisions with >, <, = qualifiers. 2004-05-13 Peter Stephenson * 19941: Src/math.c, Test/C01arith.ztst: (( x, )) triggered an internal bug instead of reporting an error. 2004-05-13 Peter Stephenson * 19936: Functions/Misc/zcalc: bad name for temporary history file invites clashes. 2004-05-12 Peter Stephenson * 19920 modified c.f. 19921: Src/mem.c: attempt to improve behaviour of hrealloc, particularly when using mmap(). 2004-05-11 Wayne Davison * 19893 (plus one extra tweak): Src/hist.c: Fix the potential for an infinite loop in lockhistfile(). 2004-05-05 Wayne Davison * 19878: Src/utils.c: a single-character change fixes the new strftime() return-check idiom. 2004-05-04 Peter Stephenson * 19877: Src/prompt.c, Src/utils.c, Src/Modules/datetime.c: Improve 19869: remove infinite loop and attempt to test for whether strftime() encountered an error. 2004-05-04 Clint Adams * 19869: Src/prompt.c, Src/utils.c: avoid segfault when prompt-expanding '%D{%p}' or '%D{%P}' under locales with null strings for am_pm. 2004-05-02 Peter Stephenson * 19858: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c, Src/signals.c, Src/signals.h: TRAPS_ASYNC option done properly, not blocking signals during sigsuspend to wait for children. 2004-05-01 Clint Adams * 19863: Completion/Zsh/Type/_command_names, Doc/Zsh/compsys.yo: allow search path for command names to be overridden by means of new command-path style. 2004-04-28 Clint Adams * 19845: Completion/Debian/Command/_apt-move: apt-move completion function from Steven Kowalik. 2004-04-27 Peter Stephenson * 19839 (plus suggestion from 19842): Completion/Unix/Type/_path_files: handle existing (#q)'s in qualifiers when adding sort options and adding back qualifiers from command line. * 19840: Src/Zle/zle_main.c: also, vared now only takes one normal argument. * 19837: Src/Zle/zle_main.c: fix 19733 which accidentally removed the -e option to vared. 2004-04-26 Doug Kearns * unposted: Completion/Unix/Command/_aap: short and long options are mutually exclusive 2004-04-23 Peter Stephenson * 19825: Completion/Unix/Command/_perforce: suggested by Michael Denio: add `changes' style to allow limitting list of changes offered for completion. * 19810: Src/exec.c: avoid setting flag on Eprog which may no longer be valid. Had no feedback, so don't know if it helps, but at worst harmless. * 19812: Src/builtin.c: avoid race with autoloaded trap functions. However, I think these still need substantial improvement. 2004-04-21 Peter Stephenson * 19809: Src/jobs.c, Src/signals.c, Src/signals.h: improve zsh-users/7365 by only queuing traps when TRAPS_ASYNC is set. This avoids any nasty races, including one reported by Vincent Stemen. 2004-04-21 Oliver Kiddle * 19806: Src/prompt.c: fix bug with %v expansion and negative index 2004-04-20 Peter Stephenson * 19801: Src/builtin.c: Autoloading of TRAP functions was never implemented. 2004-04-20 Oliver Kiddle * 19767, 19785: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/zsh.h, Completion/compinit, Completion/compdump, Completion/compinstall, Completion/bashcompinit, Completion/Base/Widget/_next_tags, Completion/Zsh/Type/_functions, Completion/Zsh/Command/_typeset, Doc/Zsh/builtins.yo: store flags for -z and -k options to autoload allowing the completion system to be used with ksh_autoload set * 19800: Test/B02typeset.ztst: reverse sense of `declare +m' test 2004-04-19 Clint Adams * 19798: Completion/Unix/Command/.distfiles, Completion/Unix/Command/_bogofilter: rudimentary completion for bogoutil. 2004-04-19 Peter Stephenson * zsh-users/7365: Doc/Zsh/options.yo, Src/jobs.c, Src/options.c, Src/signals.c, Src/zsh.h, plus unposted Etc/NEWS hunk: new option TRAPS_ASYNC, turn off to stop traps being run while waiting for a child process. 2004-04-18 Clint Adams * 19792: Completion/X/Command/_mplayer: complete .m2v and .m2p, thanks to Rene H. Larsen. 2004-04-17 Oliver Kiddle * 19790: Completion/Zsh/Command/_zcompile: complete functions after -a and allow multiple -z/-k options 2004-04-17 Doug Kearns * 19775: Completion/Unix/Command/_php: new completion for php * unposted: Completion/Unix/Command/_elinks: declare and initialise return value parameter 2004-04-15 Peter Stephenson * see 19778 etc.: Doc/Makefile.in: remove change from 19735. 2004-04-15 Clint Adams * 19606: Completion/Unix/Command/_tla: switch tla completion to the version by Jason McCarty, Erik Toubro Nielsen, and Rob Weir. 2004-04-14 Clint Adams * Jay Berkenbilt: 19769: Completion/Unix/Command/_rsync: fix quoting for remote file completion, add -L to ls command. 2004-04-14 Oliver Kiddle * Ingo Rohlfs: 19747: Completion/Unix/Command/_subversion: complete files/urls for svn cp and mv commands * unposted: Completion/Unix/Command/_cdrecord: add missing local * 19768: Completion/compinit: suggest running compaudit to see insecure files and directories and send errors to stderr 2004-04-06 Wayne Davison * 19743: Test/D02glob.ztst: Test the new F glob qualifier. * 19741: Src/glob.c: Minor optimization to qualnonemptydir() when a dir contains a subdir. 2004-04-06 Oliver Kiddle * 19712, 19740: Src/params.c, Doc/Zsh/params.c: allow assigning to associative array elements where the i or r subscript flag is used 2004-04-06 Peter Stephenson * Peter Castro : 19735 (minus texinfo hunk): Doc/Makefile.in, Src/builtin.c, Src/exec.c, Src/main.c, Src/system.h, configure.ac: improved use of paths, text/binary and dynamic library usage for Cygwin. * 19733 (with improved documentation): Doc/Zsh/contrib.yo, Doc/Zsh/zle.yo, Functions/Misc/zed, Src/Zle/zle_keymap.c, Src/Zle/zle_main.c: vared -M and -m allow you to provide main and alternate keymap; zed will use keymaps zed and zed-vicmd. 2004-04-05 Peter Stephenson * unposted, suggested by Wayne: Doc/Zsh/expn.yo: make 19728 clearer. * 19728: Doc/Zsh/expn.yo: explain that (^F) (from 19717) doesn't mean `non-empty directories', you need (/^F) for that. * unposted: ChangeLog, ChangeLog-4.1: move stuff up to 4.2.0 out of ChangeLog. * unposted: Config/version.mk: update version to 4.2.0-dev-1; not tagged or released, this is just to avoid clashes with the released version. 2004-04-01 Peter Stephenson * 19717: Doc/Zsh/expn.y, Src/glob.c: use F glob qualifier for `full' (non-empty) directories. 2004-03-31 Bart Schaefer * unposted: Functions/Misc/zrecompile: change "mv" to "mv -f" when backing up .zwc files, because zcompile creates the files read-only. See thread ending at users/7269. 2004-03-30 Oliver Kiddle * 19708: Completion/compaudit: change getent() function to handle two arguments * 19707: Src/params.c, Test/D05array.ztst: fix bug where a nagative index into an array returned a one element array instead of a scalar 2004-03-25 Clint Adams * 19691: Completion/Unix/Type/_diff_options: Allow more than one --exclude or -x to diff. 2004-03-25 Peter Stephenson * 19683: Src/utils.c: Work around occasional problem on Cygwin with dllwrap. * 19682: Doc/Zsh/builtins.yo, Etc/NEWS, Src/signals.c: Don't run ZERR, DEBUG or EXIT traps inside other traps; caused confusion and incompatibility. 2004-03-24 Peter Stephenson * 19674 plus unposted changes suggested in 19676: configure.ac, Doc/Zsh/mod_zftp.yo, Src/Modules/zftp.c, Etc/NEWS, Functions/Zftp/zfstat: Add support for non-standard ports to core zftp. Not yet handled by the function system (except zfstat reports port): needed in lastloc and bookmarks. 2004-03-23 Peter Stephenson * 19661: Danek Duvall: Completion/Unix/Type/_diff_options: support diff -u on Solaris from 2.10 up. 2004-03-22 Clint Adams * 19673: Peter Palfrader: Completion/Unix/Command/_cvs: tags can contain the + character. 2004-03-22 Peter Stephenson * 19669, 19670: Danek Duvall: Completion/compaudit: Use of getent to check groups was slow; typo caused duplicate fpath entries. * 19671: Src/Zle/zle_main.c: error in zle-line-init caused infinite loop. 2004-03-20 Bart Schaefer * 19666 (tweaked): Completion/Unix/Command/_ssh: fixes for remote file completion for scp, suggested by Jay Berkenbilt . * users/7172: Functions/Prompts/prompt_bart_setup: include "unset" among the localoptions, as this relies on it.