1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-01-01 05:16:05 +01:00

zsh-3.1.6-pws-12

This commit is contained in:
Tanaka Akira 1999-12-15 21:58:24 +00:00
parent ce9d10e465
commit d9d9925acb
12 changed files with 183 additions and 23 deletions

173
ChangeLog
View file

@ -1,11 +1,176 @@
1999-12-15 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
* Clint: 9065: Src/builtin.c: change order of tests in 9028.
* Bart: 9064: Functions/Zle/predict-on: shouldn't use _style any
more.
* 9058: Completion/Base/_arguments, Completion/Base/_combination,
Completion/Base/_command_names, Completion/Base/_jobs,
Completion/Base/_tilde, Completion/Builtins/_cd,
Completion/Builtins/_kill, Completion/Builtins/_stat,
Completion/Builtins/_wait, Completion/Core/_path_files,
Completion/Core/_sort_tags, Completion/Core/_tags,
Completion/Core/compinit, Doc/Zsh/compsys.yo, Src/Makemod.in:
Many small cleanups, plus change sort-tags to tag-order and
add to syntax a bit.
* Tanaka Akira: 9054: Test/50cd.ztst: get PWD without symlinks, to
avoid messing up cd tests.
1999-12-14 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
* Oliver: 9047: zsh-3.1.6-pws-11.new/Src/Zle/compcore.c,
zsh-3.1.6-pws-11.new/Src/Zle/compresult.c,
zsh-3.1.6-pws-11.new/Src/Zle/zle_thingy.c,
zsh-3.1.6-pws-11.new/Src/Zle/zle_tricky.c,
zsh-3.1.6-pws-11.new/Src/mkmakemod.sh: hack .export files to
be made in time for use.
* Sven: 9039: Doc/Zsh/mod_compctl.yo: description change.
* Sven: 9035: Completion/Core/_main_complete,
Completion/Core/_normal, Completion/Core/compdump,
Completion/Core/compinit: more small optimisations: _patcomps,
postpatcomps are assocs; avoid post-processing in _main_complete;
fix command name in _normal.
* Sven: 9031: Completion/Core/_path_files, Doc/Zsh/compsys.yo:
complete .. only for special-dirs.
* Clint: 9028: Src/builtin.c: hack to be able to change to
subdirectories even when the current directory is renamed.
Hopefully to be replaced by something more elegant eventually.
* pws: 9048: Completion/Core/_sort_tags, Completion/Core/compinit,
Completion/User/_mh, Doc/Zsh/compsys.yo,
Functions/Zle/incremental-complete-word: assorted completion
fixes, documentation improvement, plus sort-tags style.
1999-12-13 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
* Zefram: 9023: Doc/Makefile.in, Doc/Zsh/.cvsignore,
Doc/Zsh/.distfiles, Doc/Zsh/manual.yo, Doc/Zsh/mod_cap.yo,
Doc/Zsh/mod_clone.yo, Doc/Zsh/mod_compctl.yo,
Doc/Zsh/mod_complete.yo, Doc/Zsh/mod_complist.yo,
Doc/Zsh/mod_computil.yo, Doc/Zsh/mod_deltochar.yo,
Doc/Zsh/mod_example.yo, Doc/Zsh/mod_files.yo,
Doc/Zsh/mod_mapfile.yo, Doc/Zsh/mod_mathfunc.yo,
Doc/Zsh/mod_parameter.yo, Doc/Zsh/mod_sched.yo,
Doc/Zsh/mod_stat.yo, Doc/Zsh/mod_zftp.yo, Doc/Zsh/mod_zle.yo,
Doc/Zsh/mod_zleparameter.yo, Doc/Zsh/mod_zutil.yo,
Doc/Zsh/modules.yo: generate module documentation automatically
from a single list in the makefile.
* Sven: 9020: Completion/Core/_path_files, Doc/Zsh/compsys.yo:
special-dirs style allows completion of . and ..
* Sven: 9018: Completion/Builtins/_pids,
Completion/Core/_path_files, Completion/User/_cvs,
Completion/User/_pbm: completion optimisations.
* Zefram: 9013: patching file Doc/Zsh/mod_files.yo,
Src/Modules/files.c: use . as alternative to : for user and group
separator.
* Sven: 2776: Completion/Core/_path_files: handling of . and .. in
path.
* Felix: (most of) 9007: Src/Modules/parameter.c,
Src/modules/parameter.mdd, mod_parameter.yo: jobdirs special assoc
array.
* Bart: 9005: Src/exec.c: problem backgrounding shell script.
* Tanaka Akira: 9004: Test/Makefile.in: run tests with zsh -f.
* pws: 9024: Etc/zsh-development-guide, Test/.distfiles,
Test/01grammar.ztst, Test/02alias.ztst, Test/03quoting.ztst,
Test/50cd.ztst, Test/cd.ztst, Test/ztst.zsh: new tests for basic
shell stuff.
1999-12-10 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
* pws: 8997: Src/builtin.c, Src/exec.c, Src/params.c: exported
values respect upper-/lowercase flags at the point at which they
are set.
* Alexandre: 8994: Functions/Zftp/zftp_chpwd, Etc/FAQ.yo,
Doc/Zsh/zftpsys.yo: extend 8993.
* Clint: 8993: Functions/Zftp/zftp_chpwd: titlebar support in more
general xterm-like emulators.
* Sven: 8992: Completion/Base/_arguments,
Completion/Base/_combination, Completion/Base/_describe,
Completion/Base/_first, Completion/Base/_jobs,
Completion/Base/_regex_arguments, Completion/Base/_subscript,
Completion/Base/_tilde, Completion/Builtins/_pids,
Completion/Builtins/_popd, Completion/Builtins/_sched,
Completion/Builtins/_signals, Completion/Builtins/_stat,
Completion/Commands/_history_complete_word,
Completion/Core/_approximate, Completion/Core/_description,
Completion/Core/_expand, Completion/Core/_list,
Completion/Core/_main_complete, Completion/Core/_match,
Completion/Core/_message, Completion/Core/_oldlist,
Completion/Core/_path_files, Completion/Core/_requested,
Completion/Core/_setup, Completion/Core/_tags,
Completion/Core/compinit, Completion/Debian/_apt,
Completion/User/_cvs, Completion/User/_groups,
Completion/User/_hosts, Completion/User/_ports,
Completion/User/_socket, Completion/User/_urls,
Completion/User/_users, Completion/X/_x_color, Doc/Zsh/compsys.yo,
Doc/Zsh/mod_clone.yo, Doc/Zsh/mod_complete.yo,
Doc/Zsh/mod_computil.yo, Doc/Zsh/mod_zutil.yo, Doc/Zsh/modules.yo,
Etc/completion-style-guide,
Functions/Zle/incremental-complete-word, Src/Modules/zutil.c,
Src/Modules/zutil.mdd, Src/Zle/complist.c, Src/Zle/computil.c,
Src/Zle/computil.mdd, Src/xmods.conf: compstyle is now
implemented in terms of the new zstyle and zformat commands in
the new zutil module.
* Tanaka Akira: 8990: Completion/User/_ports,
Completion/User/_socket: completion after `socket hosts'.
1999-12-09 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
* Zefram: 8982: Doc/Zsh/mod_files.yo, Src/Modules/files.c,
Src/Modules/files.mdd, Src/system.h, configure.in: chown and
chgrp are implemented as builtins in the files module.
* Sven: 8981: Src/Zle/complist.c: don't use old list with
accept-and-infer-next-history's completion form.
* Andrej: 8973: Completion/User/_sudo: revised version.
* Zefram: 8968: Config/config.mk: dependencies for rebuilding
defs.mk from defs.mk.in.
* Zefram: 8966: Config/defs.mk.in, Doc/Makefile.in, Makefile.in:
proper install.html.
* Sven: 8965: Completion/Core/_description,
Completion/Core/_files, Completion/Core/_main_complete,
Completion/Core/_multi_parts, Completion/Core/_path_files,
Completion/Core/_sep_parts, Doc/Zsh/compsys.yo,
Etc/completion-style-guide: doc cleanup and tweak some option
passing.
* Tanaka Akira: 8962: cd to test directory before removing
temporaries.
* Tanaka Akira: 8957: Completion/User/.distfiles, Src/Makefile.in:
_sudo missed out of 3.1.6-pws-11, and Src/Makefile.in didn't
get patched properly.
1999-12-08 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>
* pws: Config/version.mk: version 3.1.6-pws-11.
* pws: Src/Modules/zftp.c: command name buffer wasn't large enough
for "zftp session".
* pws: 8955: Src/Modules/zftp.c: command name buffer wasn't large
enough for "zftp session".
* pws: Makefile.in, Etc/zsh-development-guide, Test/Makefile.in:
* pws: 8954: Makefile.in, Etc/zsh-development-guide, Test/Makefile.in:
targets for testing should be `check' and `test', which are there
already.
@ -92,7 +257,7 @@
Doc/.distfiles, Doc/Makefile.in, Src/Makefile.in: More
consistent renaming when altering programme name.
* Sven: 8902: Completion/Commands/_history_complete_word:
* Adam: 8902: Completion/Commands/_history_complete_word:
directions broken.
1999-12-05 Peter Stephenson <pws@pwstephenson.fsnet.co.uk>

View file

@ -3,7 +3,7 @@ DISTFILES_SRC='
_alternative _approximate _compalso _complete _correct _description
_expand _files _funcall _list _main_complete _match _menu _multi_parts
_message _normal _oldlist _options _parameters _path_files _requested
_sep_parts _set_options _setup _sort_tags _style _tags
_sep_parts _set_options _setup _sort_tags _tags
_unset_options _wanted
compdump compinit compinstall
'

View file

@ -27,5 +27,5 @@
# This must also serve as a shell script, so do not add spaces around the
# `=' signs.
VERSION=3.1.6-pws-11
VERSION_DATE='December 8, 1999'
VERSION=3.1.6-pws-12
VERSION_DATE='December 15, 1999'

View file

@ -7,7 +7,7 @@ DISTFILES_SRC='
mod_computil.yo mod_deltochar.yo mod_example.yo mod_files.yo
mod_mapfile.yo mod_mathfunc.yo mod_parameter.yo mod_sched.yo
mod_stat.yo mod_zftp.yo mod_zle.yo mod_zleparameter.yo mod_zutil.yo
modules.yo modlist.yo modmenu.yo
modules.yo modmenu.yo
options.yo params.yo prompt.yo redirect.yo restricted.yo seealso.yo
zftpsys.yo zle.yo
'

View file

@ -111,10 +111,6 @@ vindex(historywords)
item(tt(historywords))(
A special array containing the words stored in the history.
)
vindex(jobdirs)
item(tt(jobdirs))(
This association maps job numbers to the directories from which the job was started (which may not be the current directory of the job).
)
vindex(jobtexts)
item(tt(jobtexts))(
This association maps job numbers to the texts of the command lines

View file

@ -49,7 +49,7 @@ description(\
mydit(Archive-Name:) unix-faq/shell/zsh
mydit(Last-Modified:) 1999/07/30
mydit(Submitted-By:) email(pws@ibmth.df.unipi.it (Peter Stephenson))
mydit(Version:) $Id: FAQ.yo,v 1.1.1.16 1999/12/10 18:42:38 akr Exp $
mydit(Version:) $Id: FAQ.yo,v 1.1.1.17 1999/12/15 21:58:35 akr Exp $
mydit(Posting-Frequency:) Monthly
mydit(Copyright:) (C) P.W. Stephenson, 1995--1999 (see end of document)
)

View file

@ -9,8 +9,8 @@
# stick with a single directory. This is the default.
# (2) Use remote globbing, i.e. pass it to ls at the site.
# Faster, but only works with UNIX, and only basic globbing.
# We do this if zfconfig[remote_glob] (or $zfrglob for
# backward compatibility) is non-null.
# We do this if the remote_glob style (or $zfrglob for
# backward compatibility) is set.
# There is only one argument, the variable containing the
# pattern to be globbed. We set this back to an array containing
@ -19,11 +19,9 @@
emulate -L zsh
setopt extendedglob
local pat dir nondir files i
local pat dir nondir files i zfrglob
if [[ -n ${zfconfig[remote_glob]} ]]; then
local zfrglob=1
fi
zstyle -t "$curcontext" remote_glob && zfrglob=1
eval pat=\$$1

View file

@ -9,4 +9,5 @@ DISTFILES_SRC='
parameter.mdd parameter.c
stat.mdd stat.c
zftp.mdd zftp.c
zutil.mdd zutil.c
'

View file

@ -1969,7 +1969,8 @@ boot_parameter(Module m)
if (def->hsetfn)
def->pm->sets.hfn = def->hsetfn;
} else {
if (!(def->pm = createparam(def->name, def->flags | PM_HIDE)))
if (!(def->pm = createparam(def->name, def->flags | PM_HIDE |
PM_REMOVABLE)))
return 1;
def->pm->sets.afn = def->setfn;
def->pm->gets.afn = def->getfn;

View file

@ -1,3 +1,3 @@
autoparams="parameters commands functions dis_functions funcstack builtins dis_builtins reswords dis_reswords options modules dirstack history historywords jobtexts jobdirs jobstates nameddirs userdirs aliases dis_aliases galiases dis_galiases"
autoparams="parameters commands functions dis_functions funcstack builtins dis_builtins reswords dis_reswords options modules dirstack history historywords jobtexts jobstates nameddirs userdirs aliases dis_aliases galiases dis_galiases"
objects="parameter.o"

View file

@ -2234,7 +2234,6 @@ inittyptab(void)
typtab[t0] = typtab[t0 - 'a' + 'A'] = IALPHA | IALNUM | IIDENT | IUSER | IWORD;
for (t0 = 0240; t0 != 0400; t0++)
typtab[t0] = IALPHA | IALNUM | IIDENT | IUSER | IWORD;
typtab['.'] |= IIDENT;
typtab['_'] = IIDENT | IUSER;
typtab['-'] = IUSER;
typtab[' '] |= IBLANK | INBLANK;

View file

@ -42,7 +42,7 @@ INSTALL = @INSTALL@
check test:
for f in *.ztst; do \
../Src/zsh ztst.zsh $$f; \
../Src/zsh -f ztst.zsh $$f; \
done
# ========== DEPENDENCIES FOR CLEANUP ==========