2008-10-11 Peter Stephenson
* 25845: Src/pattern.c, Test/D07multibyte.ztst: combination of
backslashed characters and metafied characters confused pattern
test for pure string.
2008-10-10 Peter Stephenson
* 25816: Marc Chantreux: Completion/Unix/Command/_ip:
add promiscuous link option.
2008-10-11 Wayne Davison
* unposted: Src/Modules/curses.c: fixed a signed/unsigned
compiler warning.
2008-10-10 Peter Stephenson
* users/13323: Test/E02xtrace.ztst: new test wasn't robust
about ignoring /etc/zshenv.
* users/13321: configure.ac: allow --disable-gdbm.
* unposted: Doc/Zsh/expn.yo: protect () from macro expansion.
* unposted: Etc/CONTRIBUTORS: update.
* 25837: NEWS: add descriptions of new debugging features.
* unposted: Functions/Zftp/zffcache,
Functions/Zftp/zftp_progress: silence some warnings when
WARN_CREATE_GLOBAL is set.
* unposted: Config/version.mk: 4.3.6-dev-1.
* unposted: Test/B06fc.ztst: use -f flag to zsh to prevent
initialization scripts running.
2008-10-10 Barton E. Schaefer
* 25814: Functions/Misc/run-help: quote arguments to "eval".
* unposted (?): Functions/Prompts/promptinit: quote expansion of
prompt_opts in prompt() because zsh emulation is by necessity not
enforced there.
* 25140: Src/exec.c: improve error handling/reporting for
here-document temp files.
* 25029 (plus unposted doc): Completion/Unix/Command/_sudo,
Doc/Zsh/compsys.yo: "environ" style to allow a different search
path when completing as a different user.
2008-10-09 Clint Adams
* 25833: Completion/Unix/Command/_git: remove zparseopts line
obsoleted by 25824.
* Jörg Sommer: 25824: Completion/Unix/Command/_git: make it
possible to use abbreviated paths for tree files.
2008-10-09 Peter Stephenson
* 25831: Doc/Zsh/expn.yo, Doc/Zsh/options.yo, Src/params.c,
Src/zsh.h, Test/D04parameter.ztst: ensure failed subscript matches
of a type that are documented as strings rather than arrays
return an empty string rather than an empty array to avoid
strange RC_EXPAND_PARAM behaviour.
2008-10-08 Peter Stephenson
* Nikolai Weibull: 25828: Completion/Unix/Command/_rm,
Completion/Unix/Command/.distfiles: new completion.
* unposted: NEWS: note some new features.
2008-10-07 Clint Adams
* 25823: Functions/Misc/run-help: bring up zshcontrib man page if
run-help is run on run-help and run-help is a function.
* Jörg Sommer: 25819: Completion/Linux/Command/_modutils: improve
module parameter completion.
* Jörg Sommer: 25822: Completion/Linux/Command/_modutils: declare
val_args as local array.
* Jörg Sommer: 25821: Completion/Linux/Command/_modutils: return 0
if a modules parameter was completed.
* Jörg Sommer: 25820: Completion/Linux/Command/_modutils: add the
option --field of modinfo.
2008-10-06 Clint Adams
* 25818: Completion/compinstall: compinstall data loss typo fix
from Morita Sho.
2008-10-06 Peter Stephenson
* 25817: Src/builtin.c: "fc -l" is now more careful to
list all history just added, however it got there. Use
of fc for executing previous commands unchanged.
2008-10-04 Clint Adams
* 25808: Completion/Debian/Command/_bts: handle bts claim and
unclaim subcommands.
2008-10-02 Peter Stephenson
* unposted: Completion/Zsh/Context/_subscript: off-by-one
error in testing for dynamic directory name prefix.
2008-10-01 Peter Stephenson
* 25791: Src/exec.c, Test/C05debug.ztst: force return from
eval-style DEBUG trap lost status.
2008-09-30 Peter Stephenson
* Frank Terbeck: 25778: Functions/VCS_Info/VCS_INFO_realpath: use
builtin cd.
* unposted: Completion/Zsh/Context/_subscript: recognise ~[...]
after = and :, too.
* 25777: Src/Modules/db_gdbm.c: argument to gdbmsetfn.
2008-09-29 Peter Stephenson
* 25775: Src/exec.c, Src/prompt.c, Src/signals.c, Src/zsh.h:
line numbering in functions inside eval-style traps on the
function stack was screwy. Simplest fix is to restore normal
line numbering within the functions so that only the immediate
eval-style trap environment is special.
* 25774: Src/params.c: fix in 25772 was applied too widely.
2008-09-29 Peter Stephenson
* 25733: Completion/Zsh/Context/.distfiles,
Completion/Zsh/Context/_dynamic_directory_name,
Completion/Zsh/Context/_subscript: stub function for dynamic
directory name completion.
* 25772: Src/params.c: searching an associative array with
a bad pattern could cause a crash, seen in _expand following
"echo ~[]".
* 25771: Src/utils.c, Src/zsh.h: shell function context
for substitution functions.
* users/13295 (with tweak always to keep old line numbers at
exit from parse_string()): Src/builtin.c, Src/exec.c, Src/glob.c,
Src/parse.c, Src/Modules/parameter.c, Src/Modules/zpty.c,
Src/Modules/zutil.c: don't reset $LINENO when parsing strings
unless the surrounding environment provides support (funcstack
etc.) for it.
2008-09-28 Clint Adams
* 25764: Completion/Unix/Command/.distfiles,
Completion/Unix/Command/_django: completion for Django, from Chris
Lamb.
2008-09-28 Peter Stephenson
* Mikael Magnusson: Src/utils.c: newline in getquery() is
treated as n but should also behave like a newline. duh.
2008-09-27 Peter Stephenson
* 25760: Doc/Zsh/expn.yo, Src/subst.c, Test/D04parameter.ztst:
(~) tokenizes arguments to further parameter flags, but not
the rest of the parameter expansion.
* Jörg Sommer: 25755, with tweak from 25756:
Completion/Linux/Command/_modutils (args): improved handling
of module arguments.
* 25759: Doc/Zsh/expn.yo, Src/builtin.c, Src/subst.c: fix crash
after failed dynamic named directory expansion; clarify the
fact that static named directories can contain only
alphanumerics, `_', `-' or `.'.
2008-09-26 Clint Adams
* Mikael Magnusson: 25617: Completion/Unix/Command/_vim:
complete -t .
2008-09-26 Peter Stephenson
* 25744: Doc/Zsh/expn.yo, Src/exec.c, Src/math.c, Src/signals.c,
Src/subst.c, Src/utils.c, Src/Modules/zftp.c, Src/Zle/compcore.c,
Src/Zle/compctl.c, Src/Zle/zle_main.c, Src/Zle/zle_misc.c,
Test/D01prompt.ztst: Add dynamic named directories using
~[] which calls zsh_directory_name n and
reverse call to look up names. Also further simplify doshfunc()
interface to use flags directly from the Shfunc structure.
2008-09-25 Peter Stephenson
* 25684: Src/prompt.c: make %x and %I consistent with
eval line numbering.
2008-09-24 Peter Stephenson
* users/13288: Src/parse.c: don't report parse errors if the
line was aborted by spell checking etc.
2008-09-24 Peter Stephenson
* 25739: configure.ac: warn about GPL in binary if libgdm
is linked.
* Rocky Bernstein: 25734: Test/B06fc.ztst: typo.
2008-09-23 Clint Adams
* 25737: Src/Zle/computil.c: remove dead code in ca_parse_line.
* 25736: Src/Zle/complete.c: one more zsfree missing from
25667.
2008-09-23 Peter Stephenson
* 25733: Functions/VCS_Info/Backends/VCS_INFO_get_data_p4,
Doc/Zsh/contrib.yo: add revision number (latest synced change)
to Perforce backend and list abbreviations with backends.
* 25732: Functions/VCS_Info/Backends/VCS_INFO_detect_p4,
Doc/Zsh/contrib.yo: make vcs_info detect Perforce from server
if style use-server is set.
* Rocky Bernstein: 25727: Src/hist.c, Test/B06fc.ztst: remove
restriction on interactive use of fc and test another problem.
2008-09-23 Clint Adams
* 25728: Completion/Linux/Command/_ionice: spelling fix.
* Jörg Sommer: 25717: Completion/Linux/Command/_ionice: fixups for
25702.
2008-09-22 Peter Stephenson
* 25723: Src/Zle/zle_main.c: align combining character when
retrieved from input stack.
2008-09-22 Clint Adams
* 25721: Src/exec.c: revert another mistake of 25701.
* Jörg Sommer: 25718: Completion/Unix/Command/_git: add completion
of option --reverse.
* 25720: Doc/Zsh/contrib.yo: remove misleading vcs_info bit about
PROMPT_SUBST.
2008-09-22 Peter Stephenson
* 25715: Frank Terbeck: Doc/Zsh/contrib.yo: vcs_info
now works straight away.
* 25710: Functions/VCS_Info/vcs_info,
Functions/VCS_Info/vcs_info_lastmsg,
Functions/VCS_Info/vcs_info_printsys,
Functions/VCS_Info/vcs_info_setsys: use native zsh emulation;
make vcs_comm local in other functions; vcs_info_printsys
runs vcs_info_setsys if necessary.
2008-09-22 Clint Adams
* 25713: Functions/VCS_Info/vcs_info: ensure that vcs_info
functions immediately after autoloading.
2008-09-22 Peter Stephenson
* Rocky Bernstein: 25696: Src/hist.c: fix crash on empty history.
2008-09-21 Clint Adams
* unposted: Completion/Linux/Command/.distfiles: update .distfiles.
* Jörg Sommer: 25702: Completion/Linux/Command/_chrt,
Completion/Linux/Command/_ionice: completions for chrt and ionice
commands.
* 25701 (tweaked): Src/exec.c: fix memory leak in loadautofn.
* 25697: Functions/Prompts/prompt_clint_setup: drop git code and
switch to vcs_info.
2008-09-19 Peter Stephenson
* 25693: Frank Terbeck: Doc/Zsh/contrib.yo: and another.
* users/13262: Frank Terbeck: Doc/Zsh/contrib.yo: another
formatting fix.
* users/13252 and others: Frank Terbeck (plus doc tweaks):
Functions/VCS_Info/**/*, Doc/Zsh/contrib.yo, Src/zsh.mdd:
add VCS_Info function system.
* Unposted, but see users/13251: Doc/Zsh/mod_mapfile.yo: update
users/13239.
2008-09-18 Peter Stephenson
* 25690: Src/Zle/zle_hist.c: fix insertlastword not to
screw up characters in the history that needed metafication.
2008-09-18 Peter Stephenson
* 25684: Src/prompt.c: respect trap line number rules in
%x, %I prompt escapes.
* users/13239: Doc/Zsh/mod_mapfile.yo: more useful comments.
* 25682: Src/hist.c: terminate history line string before passing
down to zshaddhistory hook.
2008-09-16 Peter Stephenson
* 25677: Doc/Zsh/prompt.yo, Src/exec.c, Src/init.c, Src/math.c,
Src/prompt.c, Src/signals.c, Src/utils.c, Src/Modules/zftp.c,
Src/Zle/compcore.c, Src/Zle/compctl.c, Src/Zle/zle_main.c,
Src/Zle/zle_misc.c, Test/E02xtrace.ztst: add %x and %I prompt
escapes for source file debuging; improve interface to
doshfunc().
2008-09-15 Peter Stephenson
* 25672: prompt.c: Resolve string containing only a Nularg
to empty string to avoid interpretation as glitch space.
* 25671: Src/builtin.c, Test/B02typeset.ztst: non-existent
variable in typeset -p should cause status 1.
2008-09-14 Clint Adams
* 25667: Src/Zle/complete.c: free mstr before returning from
errors.
* 25666: Src/Zle/computil.c: free memory allocated for an
xor if the argument number is invalid.
2008-09-13 Peter Stephenson
* 25662: Src/builtin.c, Test/B02typeset.ztst: declare -p
should never create variables.
2008-09-13 Clint Adams
* 25656: Src/params.c: free val only after it may be passed to
strlen().
* 25655: Completion/Unix/Command/_rsync: remove completion for
--remove-sent-files option.
2008-09-12 Clint Adams
* 25654: Completion/Debian/Command/_lintian: fix return bug and add
--color.
2008-09-11 Peter Stephenson
* 25632: xRaich[o]²x: Src/mem.c: munmap() argument was wrong.
2008-09-11 Peter Stephenson
* 25651: Src/builtin.c, Src/exec.c, Src/hashtable.c, Src/init.c,
Src/text.c, Src/Modules/parameter.c: make indentation for code
output by getpermtext() more logical.
* 25643: Doc/Zsh/builtins.yo, Src/exec.c: keep DEBUG and ZERR
traps in subshells.
* 25641: add option (NO_)MULTI_FUNC_DEF to turn off "foo1
foo2...()" function definitions.
2008-09-10 Clint Adams
* Frank Terbeck: 25640: Completion/Unix/Command/_git: another alias
handling fix.
* 25639: Src/hist.c: free ptr2 if hsubl is NULL.
* 25638: Src/Zle/compmatch.c: remove unnecessary ternary expression
in match_str.
* 25637: Src/exec.c: dereference prog after the NULL check.
2008-09-08 Clint Adams
* 25636: Src/Zle/zle_tricky.c: free s before returning with an
error condition.
* 25634: Src/Zle/zle_main.c: free t before returning if both t and
errflag are set.
2008-09-07 Clint Adams
* Frank Terbeck: 25624: Completion/Unix/Command/_git: clean up git
alias parsing.
2008-09-05 Peter Stephenson
* 25627: Doc/Zsh/params.yo, Src/exec.c, Src/params.c,
Test/D04parameter.ztst: add $ZSH_SUBSHELL.
2008-09-05 Peter Stephenson
* 25615: Doc/Zsh/builtins.yo, Doc/Zsh/func.yo, Src/exec.c,
Src/text.c, Test/C05debug.ztst: add $ZSH_DEBUG_CMD for
DEBUG traps.
2008-09-04 Peter Stephenson
* 25608: Completion/compinit: unset CSH_JUNKIE_QUOTES during
completion.
2008-09-04 Clint Adams
* 25611, 25613: Src/Modules/curses.c: protect against two possible
NULL dereferences.
* 25612: Src/Zle/compmatch.c: remove dead code.
* 25610: Src/hist.c: remove dead code.
* 25609: Src/Modules/zftp.c: initialize sz variable.
2008-09-03 Peter Stephenson
* Jun T: 25603: Doc/Zsh/compsys.yo: format error.
* Jörg Sommer : 25598/25599: should
auto-remove automatically added "=" suffix on alias completion,
else you can end up assigning an empty alias.
* 25595: Doc/Zsh/mod_parameter.yo, Src/builtin.c, Src/exec.c,
Src/init.c, Src/zsh.h, Src/Modules/parameter.c,
Test/V06parameter.ztst: fix line numbers with EVAL_LINENO;
try to fix up oddities with funcstack for source files;
simplify use of caller element of funcstack.
2008-09-02 Barton E. Schaefer
* 25600: Functions/Prompts/prompt_bart_setup: fix pattern
introduced in 25059 that broke PS1 parsing.
2008-09-02 Clint Adams
* Mikael Magnusson: 25594: Completion/Unix/Command/_git:
"git clean" cleanup.
2008-09-01 Clint Adams
* Mikael Magnusson: 25591: Completion/Unix/Command/_git:
"git remote rm" completion.
* Mikael Magnusson: 25590: Completion/Unix/Command/_git:
update "git add" completion.
* Frank Terbeck: 25588: Completion/Unix/Command/_git: add
--no-pager option to git completion.
2008-09-01 Peter Stephenson
* 25587: Src/exec.c, Src/parse.c, Src/subst.c: foo==(stuff)
was mishandled owing to parse errors; mishandling it caused
a crash because of lack of care on failure of process
substitution; assignments that went through execcmd() failed
to set the status.
2008-09-01 Clint Adams
* 25585: Completion/Unix/Command/_git: fix git command completion
when there are arguments after the cursor position.
* Frank Terbeck: 25583: Completion/Unix/Command/_git: more git
alias fixes.
2008-09-01 Peter Stephenson
* 25582: Completion/Unix/Type/_path_files: use suggestion
by Bart to get automatically appearing file system entries
added by completion to respect patterns.
* Jörg Sommer: 25572: Completion/Linux/Command/_modutils:
complete module parameters.
2008-08-31 Peter Stephenson
* 25571: Src/lex.c, Src/parse.c, Test/.distfiles,
Test/C03traps.ztst, Test/C05debug.ztst: make line numbers when
parsing reflect the start of a parsed token rather than the end;
add a test and move debug trap tests to a separate file.
2008-08-31 Clint Adams
* Frank Terbeck: 25561: Completion/Unix/Command/_git: fix quoting
with aliases.
* Mikael Magnusson: 25564: Completion/Unix/Command/_git:
suppress error output in __git_is_treeish.
2008-08-31 Peter Stephenson
* 25570: Src/exec.c, Src/zsh.h, Test/C03traps.ztst: line numbers
of complex sublists were wrong, plus test; another place to make
lineno more consistent.
2008-08-31 Andrey Borzenkov
* users/13169: Src/exec.c: really restore emulation mode when
exiting shell function if 'emulate -L' has been used (actually
if LOCAL_OPTIONS has been set). Fixed problem noticed in RedHat
bug https://bugzilla.redhat.com/show_bug.cgi?id=430665#c19.
2008-08-31 Peter Stephenson
* 25569: David Le Bourgeois & pws: _ant completion was broken
by sed pattern change.
* 25568: Frank Terbeck & pws: Src/builtin.c, Test/.distfiles,
Test/A07control.ztst: break and continue arguments less than
1 are invalid (and hard errors); add some tests for control
commands.
* users/13162: Completion/Unix/Command/_module: strip
"~" suffix from modules.
2008-08-30 Clint Adams
* 25553: Completion/Zsh/Command/_precommand:
add aoss to compdef line.
* Frank Terbeck: 25551: Completion/Unix/Command/_git: remove
a stray period from a description.
2008-08-29 Clint Adams
* Mikael Magnusson: 25539: Completion/Unix/Command/_git: more
'git clone' fixes.
* Frank Terbeck: 25538: Completion/Unix/Command/_git: add missing
backslash.
* Frank Terbeck: 25537: Completion/Unix/Command/_git: add --abort
to options for 'git am'.
2008-08-25 Peter Stephenson
* 25532, Src/exec.c, Test/C03traps.ztst: skipping next command
didn't work if it was an assignment or other form tagged as
"simple".
2008-08-24 Clint Adams
* 25521: Completion/Unix/Command/_git: get merge strategies from
git merge in case the administrator has added custom strategies.
2008-08-22 Peter Stephenson
* 25508: Src/exec.c: set file name if function came from
dump file.
2008-08-21 Peter Stephenson
* Doc/Zsh/compsys.yo: doc for foregoing.
* Alexey I. Froloff: 25459: Completion/Unix/Type/_files: add
list-dirs-first style.
2008-08-21 Clint Adams
* Mikael Magnusson: 25499: Completion/Unix/Command/_git: add
function to validate tree-ishs.
* 25495: Completion/Unix/Command/_git: always complete cached files
after git checkout --.
* 25493: Completion/Unix/Command/_git: allow -q to be used in all
git checkout contexts.
* 25491: Completion/Unix/Command/_git: patch to improve
"git checkout" completion, from Mikael Magnusson.
2008-08-19 Clint Adams
* 25490: Src/zsh.h, Src/Modules/db_gdbm.c: make zties dynamic so
there can be more than one gdbm handle in use at a time.
* 25489: Completion/Unix/Command/_git: remove cruft for "git
octopus/octupus".
* 25488: Completion/Unix/Command/_git: patch to complete things
after "git bisect start", Mikael Magnusson.
* 25487: Completion/Unix/Command/_git: whitespace changes from
Mikael Magnusson.
* 25486: Completion/Unix/Command/_git: patch to allow --shared to
be completed without --local with git clone.
* 25485: Completion/Unix/Command/_git: patch to allow --abbrev to
be completed before -v with git branch, from Mikael Magnusson.
2008-08-18 Clint Adams
* 25480: Completion/Unix/Command/_git: add more quotes to the
three _call_program invocations with git for-each-ref.
* Mikael Magnusson: 25473: Completion/Unix/Command/_git: add
missing parenthesis.
* unposted: Completion/Unix/Command/_git: additional git branch
options.
* 25475: Completion/Unix/Command/_git: determine heads, tags,
and branches through git for-each-ref instead of git tag and
git branch.
2008-08-17 Clint Adams
* 25469: Completion/Unix/Command/_git: assorted changes
cherry-picked from Mikael Magnusson.
2008-08-16 Clint Adams
* 25465: Completion/Unix/Command/_git: patch from Mikael Magnusson
to add more git-add and git-checkout options.
* unposted: Completion/Unix/Command/_git: another typo fix.
* 25464: Completion/Unix/Command/_git: patch from Mikael Magnusson
to add --graph.
* 25463: Completion/Unix/Command/_git: patch to add git
completion for --base/-1, --ours/-2 and --theirs/-3, from
Mikael Magnusson.
* 25462: Completion/Unix/Command/_git: patch to add some -s -w
to _arguments and new options for revert, from Mikael Magnusson.
* 25461: Completion/Unix/Command/_git: patch to add HEAD as
a completion for heads, from Mikael Magnusson.
* 25460: Completion/Unix/Command/_git: patch to add the
--branches/tags/remotes for rev-list to _git from Mikael
Magnusson.
* 25457: Completion/Unix/Command/_git: improvements for git diff
and git log from Mikael Magnusson.
* Mikael Magnusson: 25456: Completion/Unix/Command/_git: fix typo
of "before".
* Frank Terbeck: 25455: Completion/Unix/Command/_git: handle git
stashes.
2008-08-14 Clint Adams
* 25452: Completion/Unix/Command/_look: redirect stderr from look
to /dev/null.
2008-08-13 Peter Stephenson
* unposted: Test/V01zmodload.ztst: change consequent on having
a new parameter in zsh/parameter.
* 25448: Doc/Zsh/mod_parameter.yo, Src/exec.c, Src/init.c,
Src/Modules/parameter.c, Src/zsh.h, Src/Modules/parameter.c
Src/Modules/parameter.mdd: add $funcfiletrace to show
absolute line number for caller.
2008-08-12 Peter Stephenson
* 25443 (tweaked): Doc/Zsh/mod_parameter.yo,
Src/Modules/parameter.c, Test/V06parameter.ztst: allow
$functrace to show sourced files.
2008-08-12 Peter Stephenson
* unposted: Completion/Solaris/Command/.distfiles,
Completion/Solaris/Type/.distfiles: missed .distfiles entry.
* 25435: Baptiste Daroussin :
Completion/BSD/{_fetch,_freebsd-update,_portaudit,_portsnap,
_csup,_portlint,_powerd}: new and improved FreeBSD completions.
2008-08-11 Peter Stephenson
* unposted: Test/V06parameter.ztst: fix load directory for
module from script.
* 25247 with further modifications: Doc/Zsh/mod_parameter.yo,
Src/exec.c, Src/hashtable.c, Src/init.c, Src/parse.c,
Src/signals.c, Src/utils.c, Src/zsh.h, Src/Modules/parameter.c,
Src/Modules/parameter.mdd, Test/.distfiles,
Test/V01zmodload.ztst, Test/V06parameter.ztst: add
$funcsourcetrace parameter to zsh/parameter.
2008-08-11 Peter Stephenson
* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/func.yo: prevent various
entries looking like Yodl macros.
* 25429: Rocky Bernstein: Test/E01options.ztst,
Test/E02xtrace.ztst: don't assume PS4 is set to the default.
2008-08-08 Clint Adams
* 25424: Chris Lamb: Completion/Debian/Command/_lintian:
completion for lintian-info.
2008-08-07 Clint Adams
* 25423: Chris Lamb: Completion/Debian/Command/.distfiles,
Completion/Debian/Command/_grep-excuses: completion for
grep-excuses.
* 25422: Chris Lamb: Completion/Debian/Command/_apt-show-versions:
apt-show-versions completion fix.
2008-08-07 Peter Stephenson
* 25418: Doc/Zsh/options.yo, Src/options.c: set PROMPT_SUBST
for all Bourne-style shells.
* 25415: README, Doc/Zsh/builtins.yo, Doc/Zsh/func.yo,
Doc/Zsh/options.yo, Src/builtin.c, Src/exec.c, Src/init.c,
Src/options.c, Src/signals.c, Src/zsh.h, Test/A05execution.ztst,
Test/C03traps.ztst: Make DEBUG_BEFORE_CMD the default;
make ERR_EXIT ineffective in DEBUG traps but allow it to
be set to skip the next command (actually sublist); tidy
up code associated with trapreturn.
2008-08-06 Peter Stephenson
* 25409: Doc/Zsh/builtins.yo, Src/builtin.c, Test/.distfiles,
Test/B05eval.ztst: eval shouldn't reset the status at the
start but should if the command was empty.
2008-08-06 Peter Stephenson
* 25405: Src/exec.c: return value was not set from anonymous
functions.
* 25400: Test/C03traps.ztst: Rocky's test for 25385
2008-08-05 Peter Stephenson
* 25392: Test/C03traps.ztst: test for 25367
2008-08-05 Barton E. Schaefer
* 25389: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: once again
rearrange precedence of ZLS_COLORS alternatives to make complex
coloring of file names possible.
2008-08-04 Peter Stephenson
* Src/init.c: 25385: extend 25367 to fix another bug
with trapreturn trampling on status.
2008-08-04 Peter Stephenson
* users/13095: configure.ac: we don't want that
_XOPEN_SOURCE_EXTENDED stuff on AIX, apparently.
* 25384: Src/init.c: fix problem with autoload of zsh/zle
for warning message at boot.
* users/13093: Src/module.c: HashNode changes didn't
get propagated to AIX-specific code.
2008-08-02 Barton E. Schaefer
* 25373: Src/Builtins/sched.c: fix missed ZLE entry point (see
25347).
2008-08-01 Peter Stephenson
* 25367: Src/exec.c, Src/init.c, Src/signals.c: bug with
trapreturn in a sourced file caused early return of parent;
add protection for nested traps; document trapreturn.
* unposted: Functions/Misc/add-zsh-hook: testing for existence
of hook function when hook was already defined was broken.
* unposted: Functions/TCP/tcp_open, Functions/TCP/tcp_sess:
improve some variable handling and standardise some indentation.
2008-07-31 Peter Stephenson
* 25364: Doc/Zsh/params.yo, Src/params.c, Test/D06subscript.ztst:
(k) hash subscript didn't work due to sense of test.
* 25345, 25347: Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c,
Src/input.c, Src/jobs.c, Src/loop.c, Src/options.c, Src/signals.c,
Src/utils.c, Src/zsh.h, Src/Zle/zle_main.c: Neaten interface
from main shell to zle to zleentry() in main shell using
single zle_entry_pointer.
2008-07-30 Peter Stephenson
* unposted: Doc/Zsh/func.yo: refer to DEBUG_BEFORE_CMD option.
2008-07-30 Peter Stephenson
* Max Mikhanosha: users/13077: Completion/Unix/Type/_path_files:
fix toggling with `follow' option.
2008-07-29 Peter Stephenson
* 25346: Completion/compdump: fix some variables.
* Max Mikhanosha: users/13072: Completion/Unix/Type/_path_files:
add `follow' option to file-sort style.
2008-07-27 Peter Stephenson
* following discussion: Src/builtin.c: change error message in
25338.
2008-07-25 Peter Stephenson
* 25338: Src/builtin.c: disallow fc editing of the current
history line which has bad effects on stack usage and temporary
files.
2008-07-23 Clint Adams
* 25330: Doc/Zsh/mod_curses.yo: fix description of
zcurses "position" (was documented as "location").
* 25329: Src/Modules/curses.mdd: build the curses module if
we've got any usable curses header, not just curses.h.
* 25328: Completion/Unix/Command/_gpg: fix --recv-keys and
--send-keys to complete key IDs instead of uid email addresses.
2008-07-22 Peter Stephenson
* 25326: Src/Zle/zle_refresh.c: don't recalculate prompt
if not redisplaying.
2008-07-21 Peter Stephenson
* unposted: Src/Modules/.distfiles: add missing files.
* Danek Duvall: 25324: Completion/Solaris/Command/_coreadm,
Completion/Solaris/Command/_dhcpinfo,
Completion/Solaris/Command/_dumpadm,
Completion/Solaris/Command/_gcore,
Completion/Solaris/Command/_inetadm,
Completion/Solaris/Command/_pfexec,
Completion/Solaris/Command/_ptree,
Completion/Solaris/Command/_savecore,
Completion/Solaris/Command/_svcadm,
Completion/Solaris/Command/_svccfg,
Completion/Solaris/Command/_svcprop,
Completion/Solaris/Command/_svcs,
Completion/Solaris/Command/_zlogin,
Completion/Solaris/Type/_svcs_fmri,
Completion/Unix/Command/_pkg_instance,
Completion/Unix/Command/_pkgadd,
Completion/Unix/Command/_pkginfo,
Completion/Unix/Command/_pkgrm, Completion/Unix/Command/_zfs,
Completion/Unix/Command/_zpool,
Completion/Unix/Type/_zfs_dataset,
Completion/Unix/Type/_zfs_pool: new completions.
2008-07-21 Clint Adams
* 25322: Src/Modules/db_gdbm.c: fix printing of keys.
* 25321: Src/Modules/db_gdbm.c: delete gdbm node when
corresponding hash entry is unset.
* 25320: Src/Modules/db_gdbm.c: fix read and write of elements
by key.
* 25319: Src/Modules/db_gdbm.c: fix zuntie, add -f option
to ztie.
2008-07-20 Clint Adams
* 25318: Src/Modules/db_gdbm.c, Src/Modules/db_gdbm.mdd,
configure.ac: allow parameter to be tied to a gdbm database.
2008-07-18 Peter Stephenson
* 25304: Richard Hartmann: Functions/Newuser/zsh-newuser-install:
don't go beyond 80 columns.
2008-07-17 Peter Stephenson
* 25279: Doc/Zsh/func.yo, Functions/Misc/add-zsh-hook,
Src/builtin.c, Src/exec.c, Src/hist.c, Src/init.c, Src/utils.c,
Src/Zle/zle_main.c: add zshaddhistory hook to allow manipulations
when history line is saved.
2008-07-15 Peter Stephenson
* users/13036: Src/utils.c: "." is a valid character in
a user name.
2008-07-14 Peter Stephenson
* 25278: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo,
Doc/Zsh/compwid.yo, Doc/Zsh/manual.yo: rename sections in the
completion widget manual to avoid confusion with sections
elsewhere.
2008-07-11 Peter Stephenson
* Phil Pennock: 25275: Completion/Base/Utility/_store_cache,
StartupFiles/zshrc: restrict permissions on cache directories
and use zstat in example zshrc.
* Phil Pennock: 25276:
Completion/Darwin/Type/_retrieve_mac_apps,
Completion/Unix/Command/_baz, Completion/Unix/Command/_darcs,
Completion/Unix/Command/_tar, Completion/Unix/Command/_tla,
Completion/Zsh/Command/_zftp, Functions/Misc/sticky-note,
Functions/Misc/tetris, Functions/Misc/xtermctl,
Functions/Misc/zed, Functions/Prompts/prompt_bigfade_setup,
Functions/Prompts/prompt_elite2_setup,
Functions/Prompts/prompt_elite_setup,
Functions/Prompts/prompt_fade_setup,
Functions/Prompts/prompt_fire_setup,
Functions/Prompts/promptinit, Functions/Zle/edit-command-line,
Functions/Zle/history-beginning-search-menu,
Functions/Zle/incarg, Functions/Zle/modify-current-argument,
Functions/Zle/narrow-to-region-invisible,
Functions/Zle/predict-on, Functions/Zle/quote-and-complete-word,
Functions/Zle/transpose-words-match,
Functions/Zle/url-quote-magic, StartupFiles/zshrc:
use autoload -z to load zsh functions.
2008-07-07 Peter Stephenson
* unposted: Functions/Zle/copy-earlier-word: avoid
warnings from WARN_CREATE_GLOBAL.
* 25269: Frank Terbeck: Src/Zle/compcore.c
2008-07-06 Peter Stephenson
* 25267: Src/Zle/compcore.c: Fix problem that menu completion
wasn't automatically started on a pattern match if matching
was done by the calling function.
2008-07-05 Peter Stephenson
* 25266: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: always use
EXTENDED_GLOB for patterns in ZLS_COLORS.
2008-07-01 Peter Stephenson
* 25262: Src/parse.c: suspicious attempt to test errors
when parsing command within braceless function.
2008-07-01 Peter Stephenson
* 25259: Src/utils.c: make getquery() handle unhandled characters
better.
2008-06-30 Peter Stephenson
* 25258: Completion/Unix/Type/_path_files: don't
use -M option with -U.
2008-06-30 Peter Stephenson
* unposted: Functions/Calendar/calendar_scandate: unlocalised
variable spotted with warncreateglobal.
* 25255: Doc/Zsh/func.yo, Src/exec.c, Test/C04funcdef.ztst:
anonymous functions using "() { ... }" and "function { ... }".
2008-06-24 Clint Adams
* 25243: Completion/X/Command/_xrandr: patch from Chris Lamb to add
--same-as for xrandr.
2008-06-24 Peter Stephenson
* 25244: Doc/Zsh/contrib.yo, Functions/Zle/match-words-by-style,
Functions/Zle/modify-current-argument,
Functions/Zle/split-shell-arguments: enhance users/12987 with
style for subword start and fix a few bits of documentation.
* users/12985, users/12986, users/12988: Tomasz Pala:
Completion/Linux/Command/_ethtool,
Completion/Linux/Command/_ipset, Completion/Unix/Command/_arp:
new and updated completions.
* users/12987: Doc/Zsh/contrib.yo,
Functions/Zle/match-words-by-style,
Functions/Zle/select-word-style: add subword matching to
word-style capabilities.
* 25242: Mikael: Doc/Zsh/prompt.yo, Src/prompt.c: add V prompt
test for contents of psvar.
2008-06-23 Peter Stephenson
* 25237: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_open: make
tcp_on_open return status significant.
* 25236: Doc/Zsh/contrib.yo, Functions/MIME/zsh-mime-setup:
zsh-mime-setup -l can take suffix arguments.
2008-06-21 Peter Stephenson
* 25231: Completion/Unix/Type/_path_files: fix approximation
of absolute paths in root directory (/uzr -> /usr, etc.).
2008-06-19 Peter Stephenson
* 25214, tweaked: add warning about exponentitation precedence.
2008-06-16 Clint Adams
* 25167: Src/system.h: patch from Petr Salinger to define
_GNU_SOURCE (for /dev/ptmx) when glibc is being used on
non-linux platforms.
2008-06-16 Peter Stephenson
* Bart: 25164: Doc/Zsh/expn.yo: typo.
* 25159: Doc/Zsh/compwid.yo: expand documentation for
correspondence classes with [:...:].
2008-06-13 Peter Stephenson
* unposted: Completion/Zsh/Context/_zcalc_line,
Functions/Misc/zcalc: handle completion idiosyncracies when
completing in the same word as ":!".
* 25152: Completion/Zsh/Context/{.distfiles,_zcalc_line}
(moved from Type because this is where it should be),
Doc/Zsh/contrib.yo, Functions/Misc/zcalc: improved zcalc
escape commands with ":" including ":!" and ":raw"; more complete
zcalc completion with special context.
* unposted: Completion/{Unix,Linux}/Command/{strace,.distfiles}: move
* users/12911: Tomasz Pala :
Completion/Unix/Command/_strace,
Completion/Unix/Command/.distfiles: new completion
2008-06-12 Peter Stephenson
* 25149: Doc/Zsh/arith.yo, Doc/Zsh/options.yo, Src/math.c,
Src/options.c, Src/zsh.h, Test/C01arith.ztst: add
C_PRECEDENCES option to make arithmetic operators have
C (or, where necessary, Perl) precedences.
2008-06-11 Peter Stephenson
* 25145: Src/exec.c, Test/E02xtrace.ztst: make sure XTRACE output
follows stderr redirections.
* 25143: Mikael: Doc/Zsh/mod_zprof.yo: missing descendants.
2008-06-10 Peter Stephenson
* Mikael: 25146: Src/Zle/compmatch.c:
pattern_match_equivalence() needs to be exported.
2008-06-10 Peter Stephenson
* 25144: Src/builtin.c, Src/math.c, Src/utils.c plus unposted
C01arith.ztst: report the supported bases on a base error.
* 25143: Mikael: Doc/Zsh/builtins.yo, Doc/Zsh/calsys.yo,
Doc/Zsh/compsys.yo, Doc/Zsh/func.yo, Doc/Zsh/grammar.yo,
Doc/Zsh/mod_pref.yo, Doc/Zsh/options.yo, Doc/Zsh/zle.yo:
spelling corrections.
2008-06-09 Peter Stephenson
* unposted: Src/Zle/compmatch.c: silence compiler (has no
other effect).
2008-06-08 Peter Stephenson
* 25139: Completion/compinstall, Doc/Zsh/compwid.yo,
Src/pattern.c, Src/zsh.h, Src/Zle/comp.h, Src/Zle/complete.c,
Src/Zle/compmatch.c, Src/Zle/computil.c: enhance completion
matching to make it possible to use wide characters (not yet
done); also allows named character ranges, so that
{[:lower:]}={[:upper:]} works (for now, just for single-byte
character sets).
2008-06-05 Doug Kearns
* unposted: Completion/Redhat/Command/_rpm: fix typo
2008-06-04 Peter Stephenson
* unposted: Completion/Unix/Command/.distfiles: missing files.
* unposted: Completion/Unix/Type/_path_files: another typo.
* 25130 slightly tweaked for typos:
Completion/Unix/Type/_path_files: changes to use -U flag
to compadd so that spelling corrections in non-final
path segments are accepted.
2008-06-03 Peter Stephenson
* 25132: Completion/Zsh/Command/_zstyle: numerous still
highly incomplete updates.
* 25131: Completion/Unix/Command/_chmod,
Completion/Unix/Command/_chown, Completion/Unix/Command/_cvs,
Completion/Unix/Type/_list_files,
Completion/Zsh/Type/_file_descriptors: need b:zstat to
get zstat with zmodload -F zsh/stat.
2008-06-02 Peter Stephenson
* users/12858: Doc/Zsh/compsys.yo: this bit didn't
get committed.
2008-06-01 Peter Stephenson
* 25127: README: note the changes in 25122, 25124 and 25126 as
an incompatibility.
2008-06-01 Clint Adams
* 25124, 25126: INSTALL, MACHINES, configure.ac, Src/zsh.h: work
with --(disable|enable)-largefile instead of --(disable|enable)-lfs,
since the latter is no longer functional.
2008-05-31 Clint Adams
* 25122: aczsh.m4, configure.ac: use AC_SYS_LARGEFILE for better
LFS detection.
2008-05-29 Peter Stephenson
* unposted: Doc/Zsh/tcpsys.yo, Functions/TCP/tcp_fd_handler:
add tcp_on_awol.
* Tomasz Pala : users/12884:
Completion/Unix/Command/{iftop,tcpdump}: new completions
2008-05-27 Peter Stephenson
* users/12870: Doc/Zsh/expn.yo: modifiers in glob qualifiers
activate global globbing behaviour.
* unposted: NEWS: note prompt colour, accept-exact-dirs.
2008-05-26 Peter Stephenson
* 25104; 25111 (Jun T): Completion/Unix/Command/_locate: better
handling of multiple versions of locate.
2008-05-20 Clint Adams
* 25077: Completion/Unix/Command/_gnupod: consolidation of GNUpod
script completion from Omari Norman in 25075.
2008-05-20 Peter Stephenson
* unposted: Functions/Prompts/.distfiles: add prompt_pws_setup.
2008-05-19 Peter Stephenson
* unposted: Completion/compinit: typo in 25068.
2008-05-18 Peter Stephenson
* users/12858: Doc/Zsh/compsys.yo,
Completion/Unix/Type/_path_files: add accept-exact-dirs style.
* unposted: Completion/compinit: fix unwanted output from
typeset.
* 25068: Completion/compinit: fix some warnings with
WARN_CREATE_GLOBAL.
* 25063: Functions/Prompts/prompt_bart_setup: minor
tweaks.
* Mikael: 25054: Doc/Zsh/prompt.yo: typo.
2008-05-17 Peter Stephenson
* unposted: Src/utils.c: unused variable in 25057.
* 25059: Functions/Misc/add-zsh-hook and virtually every
function under Functions/Prompts, also new
Functions/Prompts/pws, also unposted addition to
Doc/Zsh/contrib.yo: thorough modernization of the prompt
theme system to use current shell facilities better.
* 25057: Src/mem.c, Src/utils.c: better debug info for memory
errors.
* 25055: Src/pattern.c: remove unnecessary debug test.
2008-05-16 Peter Stephenson
* 25052: Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo,
Doc/Zsh/mod_complist.yo, Doc/Zsh/prompt.yo: update some
documentation for use of colour highlighting.
* unposted: Etc/CONTRIBUTORS: update main shell list; still
need to update list for functions.
* 25051: Src/prompt.c, Src/complist.c, Src/zle_tricky.c:
add %F, %K, %f, %k handling to formatting strings for completion.
2008-05-15 Peter Stephenson
* 25040: Src/builtin.c, Src/utils.c, Src/Modules/zpty.c:
zpty should display context information more like eval.
2008-05-14 Peter Stephenson
* unposted: Completion/Unix/Command/_perforce: also p4 sizes,
p4 license.
* unposted: Completion/Unix/Command/_perforce: handle
p4 protects.
* 25025: Doc/Zsh/builtins.yo, Src/builtin.c, Src/math.c,
Src/utils.c: more checks to ensure radix for arithmetic
constants is between 2 and 36 inclusive.
2008-05-13 Peter Stephenson
* 25018: Omari Norman: Completion/Unix/Command/{_awk,_cut,_join}:
new completions.
* unposted: Doc/Zsh/builtins.yo, Doc/Zsh/grammar.yo: comment
on aliases.
2008-05-12 Peter Stephenson
* 25006, 25009: Src/Zle/complist.c: do "or" symlink orphan
highlighting; make stat-ed file types take precedence over
extensions and patterns.
* 25002: Src/builtin.c, Src/init.c, Src/input.c, Src/loop.c,
Src/prompt.c, Src/subst.c, Src/utils.c, Src/zsh.h,
Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: only update
display attributes from prompts within zle.
2008-05-11 Peter Stephenson
* 24996: Src/cond.c, Src/exec.c, Src/glob.c, Src/loop.c,
Src/zsh.h: improve xtrace output for patterns.
* users/12848: Test/A01grammar.ztst, Src/loops.c: return, break
and continue are allowed in "always" block and will override
try block if set.
* 24994: Src/Zle/zle_hist.c: Fix problem with
up/down-line-or-search comparison, perhaps.
* 24990: Stephane Chazelas: Functions/Misc/zmv: fix
various little quirks in zmv.
2008-05-09 Peter Stephenson
* 24986: Doc/Zsh/prompt.yo, Doc/Zsh/zle.yo, Src/init.c,
Src/prompt.c, Src/watch.c, Src/zsh.h, Src/Zle/zle_refresh.c:
prompt escapes for colouring.
* users/12846: Etc/FAQ.yo: not so many Windows ports, these days.
2008-05-08 Peter Stephenson
* unposted: Src/modules.c: bad arguments to error message.
* 24980: Doc/Zsh/builtins.yo, Src/builtin.c, Src/module.c,
Src/zsh.h: add zmodload -mF to manipulate features by pattern.
* 24972: Phil Pennock: Doc/Zsh/mod_files.yo, Src/Modules/files.c,
Src/Modules/files.mdd: Add zf_* commands for zsh/files modules
plus a few extra options.
2008-05-07 Peter Stephenson
* 24962: Oliver: Functions/Prompts/prompt_oliver_setup:
update to use zle_highlight default highlighting.
2008-05-07 Peter Stephenson
* 24959: Src/Zle/compresult.c: ^D's in compctl could cause a
crash.
2008-05-06 Peter Stephenson
* 24957: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c: better sanity
checking of colour ranges, always use termcap for numeric
colours where available.
* 24911 (tweaked): Doc/Zsh/zle.yo: missed this bit, somehow.
2008-05-06 Peter Stephenson
* 24953: Doc/Zsh/zle.yo, Src/Zle/zle_refresh.c:
"default" zle_highlight context, also fix allocation bug with
24899.
2008-05-06 Clint Adams
* 24947: Completion/X/Command/_mozilla: complete -safe-mode for
firefox.
2008-05-06 Peter Stephenson
* 24951: Doc/Zsh/mod_complist, Src/Zle/comp.h, Src/Zle/compcore.c,
Src/Zle/complist.c: implement ZLS_COLORS ln=target.
* 24937, 24938: Dag-Erling Smørgrav : configure.ac:
improved version of 24927.
* 24932: Src/zsh.h, Src/Zle/zle_refresh.c: try to regularize
code that fixes up after right prompt.
* 24927: Phil Pennock: configure.ac: Free BSD only doesn't need
_XOPEN_SOURCE_EXTENDED on Free BSD 6.
2008-05-04 Wayne Davison
* 24831 plus changes: Src/hist.c: simplified fcntl() locking.
* unposted: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c: fixed
signed/unsigned warnings, including an always true "if".
2008-05-04 Peter Stephenson
* Mikael Magnusson: 24911 (tweaked): Doc/Zsh/zle.yo,
Src/Zle/zle_params.c: REGION_ACTIVE zle parameter.
* Phil Pennock: 24904 + 24916: configure.ac, Src/system.h: don't
define _XOPEN_SOURCE_EXTENDED on freebsd, either, not even
if the standard says we need it for wcwidth().
* 24915: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c,
Src/Zle/zle_move.c, Src/Zle/zle_vi.c: some more fix-ups for
combining characters.
2008-05-02 Peter Stephenson
* users/12815: Src/jobs.c, Src/signals.c, Src/zsh.h:
fix bug that a previously defunct process could be taken as a
recently terminated process that needed marking as done, hence
causing the shell to wait for ever for the newly exited process.
2008-05-01 Peter Stephenson
* 24900: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c: add
backward-kill-word to delete previous character immediately
in isearch and document the isearch commands better.
* 24899: Doc/Zsh/zle.yo, Src/Zle/zle_main.c,
Src/Zle/zle_refresh.c: make colour escape sequences configurable
and allow ANSI colour names.
2008-04-29 Peter Stephenson
* 24895: Matt Wozniski: Doc/Zsh/zle.yo: typo.
* unposted: Src/glob.c: oops.
2008-04-29 Peter Stephenson
* 24894: Doc/Zsh/zle.yo, Src/init.c, Src/zsh.h,
Src/Zle/zle_refresh.c: enable colouring of highlighted text
in editor.
* 24893: Src/Zle/zle_refresh.c: duplicate statusline to avoid
crashes when it's passed from a constant string.
2008-04-28 Peter Stephenson
* unposted: Src/Zle/zle_hist.c: when anchoring a pattern
isearch to the start of the line the search line wasn't
reset on new input so when the first match of the new pattern
was earlier than that of the old pattern we skipped it.
* unposted: Src/Zle/zle_hist.c: more tweaks for failures with
isearch pattern matching.
* 24890: Matt Wozniski: Src/Zle/zle_hist.c: skip_pos was
staying set causing random failures on backtracking in isearch.
* 24887: Geoff: Src/glob.c: typo.
2008-04-27 Peter Stephenson
* 24886: Src/Zle/zle_hist.c: using unupdated pos to set end_pos
in string isearch could cause endless loop.
2008-04-26 Peter Stephenson
* unposted: NEWS: note that COMBINING_CHARS is not on by
default.
* 24882: Doc/Zsh/zle.yo, Src/Zle/zle_hist.c, Src/Zle/zle_refresh.c:
highlighting of incremental search match.
* unposted because everyone's seen enough of my mistakes:
Src/pattern.c, Src/Zle/zle_hist.c: with pattern matching the
end position of the match wasn't calculated; we used the
length of the uncompiled pattern which often had nothing
to do with it. This made the position on forward pattern
searching wrong.
* 24881: Src/Zle/zle_hist.c: we kept feeping on an invalid
pattern; once is quite enough.
* 24880: Src/Zle/zle_hist.c: feeping on a failed match could
be mistimed.
* 24879: Src/Zle/zle_hist.c: nastiness with pattern search
and duplicate line detection.
* 24878: NEWS, Doc/Zsh/zle.yo, Src/glob.c, Src/pattern.c,
Src/zsh.h, Src/Zle/iwidgets.list, Src/Zle/zle_hist.c:
add history-incremental-pattern-search-backward and
history-incremental-pattern-search-forward, also optimize
history searches a bit more.
* 24876: don't install manual pages if empty.
* 24872: Jun T.: Fix capitalization with combining characters.
* 24869: Marc Chantreux: configure.ac, Src/init.c: make default
readnullcmd configurable.
2008-04-24 Peter Stephenson
* unposted: Jun T.: Src/Zle/zle_utils.c: backkill() in raw
mode didn't correctly calculate the number of characters to
kill.
2008-04-23 Peter Stephenson
* unposted: Src/Zle/zle_misc.c: overwrite mode without
MULTIBYTE_SUPPORT should be as before.
2008-04-23 Peter Stephenson
* 24867: Src/system.h: looks like we need _XOPEN_SOURCE_EXTENDED
instead of just _XOPEN_SOURCE.
* 24865: Src/zle_vi.c: bad character adjustment in
vireplacechars().
* 24864: Jun T.: configure.ac, Src/zsh.h: typos in 24861.
2008-04-22 Peter Stephenson
* 24862: Src/system.h: #define _XOPEN_SOURCE if needed to
get wcwidth().
* 24861: configure.ac, Src/builtin.c, Src/compat.c, Src/prompt.c,
Src/utils.c, Src/zsh.h, Src/zle/complist.c, Src/Zle/zle_misc.c
(slightly rewritten), Src/zle/zle_refresh.c, Src/Zle/zle_tricky.c:
use alternative wcwidth() if configure suggests the library
version is returning non-zero when it shouldn't; also improve the
overwriting test for combining characters.
2008-04-21 Peter Stephenson
* 24860: Src/Zle/zle_misc.c, Src/Zle/zle_utils.c: better
overwrite mode.
* 24859: Src/Zle/zle_misc.c, Src/Zle/zle_vi.c, Src/Zle/zle_word.c:
overwriting combining characters and replacing them and appending
after them in vi mode.
* 24856: Src/utils.c, Src/zsh.h, Src/Zle/zle_move.c,
Src/Zle/zle_refresh.c: use IS_COMBINING() and IS_BASECHAR()
tests for combining characters. Widen definitions of characters
to least restrictive we think are likely to work.
* 24855: Src/Zle/zle_utils.c: tests for combining char aligments
should only be on metafied command line.
* unposted: Src/Zle/zle_move.c: missing assignment in new
backwardmetafiedchar().
2008-04-20 Peter Stephenson
* 24853: Src/utils.c, Src/zsh.h, Src/Zle/complist.c,
Src/Zle/zle.h, Src/Zle/zle_hist.c, Src/Zle/zle_main.c,
Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_refresh.c,
Src/Zle/zle_thingy.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c,
Src/Zle/zle_word.c: use metafied strings for inner loops
involving history, with consequent changes for similar code
such as execute-name-command, plus some utility functions.
* 24852: Src/zle_main.c (Jun T.), Src/Zle/zle_vi.c: more
combining chars fallout.
* users/12798: Etc/zsh-development-guide: passing NULL flags
to builtin definition.
* users/12793: William Scott: Completion/BSD/Command/_chflags:
hidden/nohidden flags.
2008-04-20 Andrey Borzenkov
* 24851: Doc/Zsh/mod_complist.yo, Src/Zle/complist.c: support
colour codes for from current GNU ls
2008-04-18 Wayne Davison
* unposted: Src/Zle/zle_refresh.c: fixed compiler warnings
about signed/unsigned issues.
2008-04-18 Peter Stephenson
* 24839: Src/Zle/zle_word.c: misuse of variable in 24825.
2008-04-17 Peter Stephenson
* 24829: Jun T.: Src/Zle/zle_vi.c: vi-replace-chars got broken
in the crossfire.
* 24825: Src/utils.c, Src/Zle/zle_word.c: fix internal
word-boundary widgets and make zero-width punctuation
characters always part of a word.
* unposted: NEWS: list new features so far since 4.3.6.
* Vincent Lefevre: 24818: Doc/Zsh/options.yo (modified),
Src/hist.c (with #ifdef HAVE_FTRUNCATE), Src/options.c, Src/zsh.h:
history file locking using fcntl().
2008-04-16 Clint Adams
* 24823: Completion/Unix/Command/_git: some fixes and updates for
git 1.5.5.
2008-04-16 Peter Stephenson
* 24821: Etc/FAQ.yo, Src/Zle/zle_main.c: updated notes plus
fix cursor position with combining characters after exit
from a user-defined widget.
2008-04-15 Peter Stephenson
* 24819: Src/Zle/zle.h, Src/Zle/zle_misc.c, Src/Zle/zle_move.c,
Src/Zle/zle_utils.c: need to fix up combining character aligment
in case of sneaky combination generation; fix transposing
characters.
2008-04-14 Peter Stephenson
* 24816: Src/Zle/zle_hist.c, Src/Zle/zle_misc.c,
Src/Zle/zle_tricky.c: a few places where we need to alight
with combining characters.
* 24814: Src/hist.c: suspicious handling of temporary history
buffer.
* 24811: Doc/Zsh/roadmap.yo, Etc/FAQ.yo: update introductory
documentation on multibyte support.
* 24810 (slightly edited to move added text later):
Src/Zle/zle_tricky.c: after unmetafying the command line ensure
we're not on a combining character.
2008-04-13 Peter Stephenson
* 24808: Doc/Zsh/options.yo, Src/options.c, Src/utils.c, Src/zsh.h,
Src/Zle/compcore.c, Src/Zle/complist.c, Src/Zle/compresult.c,
Src/Zle/deltochar.c, Src/Zle/zle.h, Src/Zle/zle_hist.c,
Src/Zle/zle_misc.c, Src/Zle/zle_move.c, Src/Zle/zle_refresh.c,
Src/Zle/zle_tricky.c, Src/Zle/zle_utils.c, Src/Zle/zle_vi.c,
Src/Zle/zle_word.c: add COMBINING_CHARS option and basic
zle support.
* Miek Gieben: users/12781: Functions/Misc/zmv: too many
backslashes in Usage message.
2008-04-12 Peter Stephenson
* Frank Terbeck: 24807: Completion/compint: Completion system
needs no_ignore_braces option.
2008-04-11 Peter Stephenson
* unposted: Src/zle_hist.c, Src/zle_utils.c: move zlecmp() and
zlefind() unaltered into zle_hist.c as statics in preparation
for surgery on the zle_text interface. (You should see the
waiting list for surgery, though.)
2008-04-09 Peter Stephenson
* 24806: Doc/Zsh/params.yo, Completion/Zsh/Context/_subscript: fix
typos, completing of * and @.
* 24804: Completion/Zsh/Context/_subscript: quoting of
associative array keys for subscripts was wrong.
2008-04-07 Clint Adams
* Markus Waldeck: 24799: Completion/Unix/Command/_vorbis:
complete .spx files for ogg123.
2008-04-07 Peter Stephenson
* 24797: Doc/Zsh/zle.yo, Functions/Zle/read-from-minibuffer:
document POSTDISPLAY highlighting; restore read-from-minibuffer
save/restore mechanism using variables to avoid problems with
not restoring special ZLE variables when they go out of scope.
2008-04-05 Peter Stephenson
* İsmail Dönmez : 24793: Doc/Zsh/zle.yo:
typo.
2008-04-04 Peter Stephenson
* 24792: Src/Zle/zle_refresh.c: try to be safer about turning
off attributes when outputting at a new position.
* c.f Mikael, 24790: Doc/Zsh/zle.yo: item()s need closing
parentheses on next line.
2008-04-04 Clint Adams
* 24789: Completion/Unix/Command/_stgit: completion for
stg subcommands.
2008-04-03 Peter Stephenson
* 24788: Doc/Zsh/expn.yo, Src/subst.c: ${(m)#...} returns
string print width.
2008-04-03 Peter Stephenson
* 24787: Src/Zle/zle_main.c, Src/Zle/zle_refresh.c: reset
region_highlight when finished editing command line.
* 24786: Src/builtin.c, Src/init.c, Src/zle/zle_keymap.c,
Src/Zle/zle_main.c, Src/Zle/zle_misc.c, Src/Zle/zle_vi.c:
handle read -t properly in zle by passing down timeout
to getbyte().
* 24782, plus a couple of fixes: Doc/Zsh/zle.yo,
Functions/Zle/read-from-minibuffer,
Functions/Zle/replace-string-again, Src/zsh.h, Src/Zle/zle.h,
Src/Zle/zle_main.c, Src/Zle/zle_move.c, Src/Zle/zle_params.c,
Src/Zle/zle_refresh.c: initial go at highlighting of command
lines in zle using $zle_highlight and $region_highlight.
* unposted, see users/12758: actually, [(w)...] does work with
(r) and (R).
2008-04-02 Peter Stephenson
* users/12754: Doc/Zsh/params.yo: [(w)...] doesn't work with (i),
(I), (r), (R).
* unposted: update version to 4.3.6-dev-0 to avoid clash with
released version.
* 24781: Doc/Zsh/contrib.yo, Functions/Zle/match-word-context:
make word-context style more useful by using previous or next word
depending on widget name.
* unposted: README: minor tweaks.
* unposted: NEWS, Config/version.mk: Release 4.3.6.
2008-04-01 Peter Stephenson
* unposted: Doc/Zsh/compsys.yo, Doc/Zsh/contrib.yo: need tt(--) ->
tt(-)tt(-). Plus other minor typos.
* unposted: (spotted by Ismail): Doc/Zsh/compsys.yo: typo.
2008-03-31 Peter Stephenson
* unposted: README, Config/version.mk, Etc/.distfiles, Etc/FAQ.yo,
Etc/relnote{,s}_4.3.6.txt: 4.3.5-dev-4 and renumber for
4.3.6.
* unposted: Functions/Calendar/calendar_show: if in KDE,
use kdialog rather than xmessage.
2008-03-30 Peter Stephenson
* 24708: Misc/globtests, Src/pattern.c, Test/D02glob.ztst:
(#c) extended globbing flag didn't backtrack properly on
failure of the remaining pattern after the repeated pattern.
2008-03-28 Peter Stephenson
* 24777: Src/Zle/complist.c: bug clearing a list when
exiting from menu selection in some circumstances (see
24756 for test case).
2008-03-28 Peter Stephenson
* 24776: Completion/compinit: clarify the message printed
when compaudit finds problems.
* 24775: Completion/Zsh/Command/_cd, Doc/Zsh/compsys.yo: improve
option handling.
* users/12739: configure.ac: multiple arguments to --with-term-lib
weren't handled properly.
* 24768: Completion/Unix/Type/_canonical_paths,
Doc/Zsh/builtins.yo, Etc/relnotes_4.3.6.txt, Src/builtin.c:
add -q option to cd, chdir, pushd, popd; use in _canonical_paths;
document in release note.
2008-03-27 Peter Stephenson
* 24759: Completion/Unix/Type/_canonical_paths: unfunction
is noisy if function wasn't set. Also sanitize use of
helper functions.
* 24757: Completion/Unix/Type/_canonical_paths: use
CHASE_LINKS and pwd to canonicalize the directory path.
* unposted: fix alias test in 24736 properly by replacing
"foo" everywhere.
2008-03-26 Peter Stephenson
* unposted: Config/version.mk: 4.3.5-dev-3.
* 25753 (after various previous attempts):
Completion/Unix/Type/_canonical_paths: use zstat to find
canonical name for symbolic links.
* c.f. 24741: Doc/Zsh/mod_stat.yo: loading zstat builtin was
misdocumented.
* 24736: Test/A02alias.ztst, Test/D07multibyte.ztst:
tests failing with "foo" in the path and with inscrutable
numeric sorting with NUMERIC_GLOB_SORT unset.
* unposted: Config/version.mk: 4.3.5-dev-2.
2008-03-25 Peter Stephenson
* 24733: Src/jobs.c: wait shouldn't return immediately on
a signal unless it's trapped (bug in 22281).
* 24732: Src/Builtins/sched.c: not enough space for ztrftime
string with multibyte characters.
* 24731: Doc/Zsh/params.yo, Src/params.c, Src/pattern.c,
Test/D04parameter.ztst: use [(e)...] parameter flag to quote
pattern characters, also fix bug that optimization of matches
with no pattern characters didnʼt work for multibyte matching.
2008-03-23 Clint Adams
* 24730: Completion/Unix/Command/_git: use --no-color when
calling git commands that might output color codes.
2008-03-22 Clint Adams
* 24728: Completion/Debian/Command/_aptitude: complete for
aptitude why and why-not.
2008-03-22 Barton E. Schaefer
* unposted: Doc/Zsh/params.yo: further documentation tweak for the
(R) and (I) subscript flags.
2008-03-18 Barton E. Schaefer
* unposted: Doc/Zsh/params.yo: tweak documentation for the (i) and
(I) subscript flags.
* 24717, 24718, 24719: Completion/compinstall, Src/params.c,
Test/D06subscript.ztst: a 0 subscript is neither valid nor
equivalent to 1 any longer, so the (i) subscript flag on an empty
array needs to yield 1 as it probably always should have.
2008-03-15 Peter Stephenson
* unposted: Completion/Unix/Command/.distfiles,
Completion/Zsh/Type/.distfiles, Etc/.distfiles, Src/.cvsignore:
fix distribution files.
* unposted: Config/version.mk: zsh-4.3.5-dev-1.
2008-03-14 Barton E. Schaefer
* unposted (see 24709): Functions/Misc/zkbd: add -h to local
declaration in is-this-a-function test. Use $DISPLAY when we
have one instead of only $VENDOR-$OSTYPE as file name suffix.
Add some knowledge of the MULTIBYTE option and its effects.
2008-03-14 Peter Stephenson
* 24712: Src/utils.c: handling of backticks when being requoted
for use inside double quotes had off-by-one error.
* 24711: Src/parse.c, Src/text.c, Src/zsh.h,
Test/A04redirect.ztst: fix re-presentation of here-documents
munged internally to here-strings.
2008-03-13 Peter Stephenson
* 24705: configure.ac, Config/defs.mk.in, Src/zsh.mdd,
Src/Modules/curses.c, Src/Modules/termcap.c,
Src/Modules/terminfo.c: rationalise curses and term headers
some more and add intermediate generated /Src/zshcurses.h
and /Src/zshterm.h to include the right ones.
2008-03-12 Clint Adams
* 24704: Completion/Unix/Command/_calendar: completion for BSD
calendar.
2008-03-11 Barton E. Schaefer
* 24703: Src/Zle/zle_main.c: clear trashedzle when first starting
the editor in zleread(), so that reexpandprompt() from the first
zrefresh() won't expand the prompt an extra time.
2008-03-11 Peter Stephenson
* unposted: Src/hist.c: make test in 24699 for the extra
space safer.
2008-03-09 Clint Adams
* 24701, 24702: Completion/Unix/Command/_git: use $service instead of
$words[1] so completion will work if git is an alias to a wrapper.
2008-03-08 Peter Stephenson
* 24699: Src/hist.c, Src/input.c, Src/lex.c,
Test/D04parameter.ztst: fix two bugs in the hacked up parsing
of strings for parameter substitution: ${(Q)...} lost an initial
">" and ${(z)...} on a string with an opening parenthesis but
no closing parenthesis appended an extra space.
2008-03-07 Peter Stephenson
* users/12699: Src/Zle/computil.c: don't complete normal
arguments where we're completing the required argument
to an option in the word following the option.
2008-03-07 Peter Stephenson
* Richard Hartmann: 24631: Completion/Unix/Command/_gpg: update.
* 24696: Doc/Zsh/options.yo, Src/options.c: turn off MULTIBYTE
by default in sh emulation.
2008-03-06 Wayne Davison
* 24693: Src/utils.c: provide better errors when skipping
history-file saving due to ownership. Allow root to do the
save anyway if zsh can chown a file descriptor. Fixed the
propagation of the errno from a failed open() of the history
file (zsh used to complain about an invalid file descriptor).
* unposted: Src/Zle/zle_utils.c: fixed 2 compiler warnings
about comparing signed and unsigned.
2008-03-04 Peter Stephenson
* unposted: Completion/Unix/Command/_perforce: ignore range
limiters >, >=, =, <, <= after @ in labels and dates, too.
2008-03-03 Peter Stephenson
* 24673: Test/D07multibyte.ztst: another attempt to sort
characters the same way on multiple UTF-8 implementations.
* 24662: River Tarnell : configure.ac,
Src/compat.c: strtoul() when not in system library.
2008-03-02 Barton E. Schaefer
* 24653, 24659: Completion/Unix/Type/_path_commands: use a
helper function to call "whatis" portably, and use compadd -O
to pre-filter matches before reading $_command_descriptions.
2008-03-02 Peter Stephenson
* 24656: Src/builtin.c: fix cd overeagerness to find integers
after "-" and "+".
2008-03-01 Clint Adams
* 24650: Completion/Unix/Type/_path_commands: use zstyle -t instead
of -T since extra-verbose isn't meant to default to yes.
2008-02-29 Clint Adams
* 24632: Completion/Unix/Command/_rsync: fix remote ssh filename
quoting.
2008-02-28 Peter Stephenson
* 24627: Src/Zsh/complist.c: fix(?) crash when resizing window
during menu-select.
2008-02-28 Clint Adams
* 24626: Completion/Unix/Type/_path_commands, Doc/Zsh/compsys.yo:
only process command descriptions if extra-verbose style is set.
* 24622: Completion/Unix/Command/_git: add completion for
'git bisect skip' and 'git bisect run'.
2008-02-27 Peter Stephenson
* 24618: Test/D07multibyte.ztst: use "sort" to avoid making
assumptions about sorting of UTF-8 files.
2008-02-27 Clint Adams
* 24617: Doc/Makefile.in: add '.' to the yodl include path
for when files are passed as ../../Doc/*.yo.
2008-02-27 Peter Stephenson
* 24611: Src/subst.c, Test/D04parameter.ztst: 23562
broke the case of ${+array[...]} for an empty range match.
2008-02-26 Peter Stephenson
* 24602: Test/C02cond.ztst: failing to run a test didn't
set prerequisites for later test.
* 24600: astonishingly, there was a fourth bug in few
lines of 24596.
2008-02-26 Geoff Wing
* unposted: Src/utils.c: fix typos in 24596
2008-02-26 Peter Stephenson
* 24596: Src/utils.c: if nl_langinfo(CODESET) returns ""
or "646" use "US-ASCII".
* 24592: Src/utils.c: make errors about charset conversion
more explicit.
2008-02-23 Peter Stephenson
* 24590: Src/exec.c, Src/lex.c: tame overzealous error
report when unquoting.
* 24588: Completion/Zsh/Type/_globquals,
Completion/Zsh/Type/_history_modifiers: tweaks
* 24585: Completion/Base/Utility/_alternative,
Completion/Unix/Type/_path_files,
Completion/Zsh/Type/_delimiters,
Completion/Zsh/Type/_globqual_delims,
Completion/Zsh/Type/_globquals,
Completion/Zsh/Type/_history_modifiers, Doc/Zsh/compsys.yo:
completion for glob qualifiers plus bug fix for message-only
completion in _alternative.
2008-02-22 Peter Stephenson
* unposted: Completion/Unix/Command/_perforce: new option
p4 change -u.
2008-02-22 Clint Adams
* 24578: Completion/Debian/Command/_dpkg: stop completing
--print-gnu-build-architecture, which was dropped in 2005.
* 24576: Functions/Calendar/calendar_add,
Functions/Misc/sticky-note: replace shebang lines.
2008-02-21 Peter Stephenson
* users/12632: Src/exec.c: bug unexporting special parameter
after "SPECIAL=stuff funccall".
2008-02-19 Peter Stephenson
* 24572: Doc/Zsh/calsys.yo, Functions/Calendar/calendar_add:
add style reformat-date.
2008-02-19 Barton E. Schaefer
* 24570: Completion/Unix/Type/_path_commands: don't attempt to
pre-filter $commands on $PREFIX, just let compadd deal with it.
Fixes a bad interaction with the _approximate completer.
2008-02-17 Barton E. Schaefer
* users/12600: Src/builtin.c: reorder handling of -s/-d/-t options
so that terminal input modes are set before attempting a
read-poll. Also display any prompt before read-polling.
* unposted: Functions/Misc/xtermctl: update uses of "read" to
take advantage of users/12600.
2008-02-17 Peter Stephenson
* 24566: Doc/Zsh/prompt.yo, Src/prompt.c: fallout:
fix truncation with glitch spaces; more careful
documentation; allow %N{...}; make unsupported
characters default to width 1.
2008-02-15 Peter Stephenson
* 24556: Doc/Zsh/prompt.yo, Src/prompt.c: %G inside %{...%}
can be used to count width of "glitch" characters.
* 24554: Src/Zle/complist.c: push an extra heap for
complistmatches() to stop accumulating it; always treat
mcolors as a global instead of just sometimes.
2008-02-14 Peter Stephenson
* 24551: Src/Zle/compresult.c, Src/Zle/zle_main.c: free heap
memory after each full Zle command executed (plus cosmetics).
Still need to try and stop menu selection accumulating heap
memory.
2008-02-11 Peter Stephenson