diff options
-rw-r--r-- | ChangeLog | 173 | ||||
-rw-r--r-- | Completion/Core/.distfiles | 2 | ||||
-rw-r--r-- | Config/version.mk | 4 | ||||
-rw-r--r-- | Doc/Zsh/.distfiles | 2 | ||||
-rw-r--r-- | Doc/Zsh/mod_parameter.yo | 4 | ||||
-rw-r--r-- | Etc/FAQ.yo | 2 | ||||
-rw-r--r-- | Functions/Zftp/zfrglob | 10 | ||||
-rw-r--r-- | Src/Modules/.distfiles | 1 | ||||
-rw-r--r-- | Src/Modules/parameter.c | 3 | ||||
-rw-r--r-- | Src/Modules/parameter.mdd | 2 | ||||
-rw-r--r-- | Src/utils.c | 1 | ||||
-rw-r--r-- | Test/Makefile.in | 2 |
12 files changed, 183 insertions, 23 deletions
diff --git a/ChangeLog b/ChangeLog index ae955c907..bdc3339a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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> diff --git a/Completion/Core/.distfiles b/Completion/Core/.distfiles index 05142301b..037d1520e 100644 --- a/Completion/Core/.distfiles +++ b/Completion/Core/.distfiles @@ -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 ' diff --git a/Config/version.mk b/Config/version.mk index dadb794a3..8cae2a9dc 100644 --- a/Config/version.mk +++ b/Config/version.mk @@ -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' diff --git a/Doc/Zsh/.distfiles b/Doc/Zsh/.distfiles index eebed573c..648d07d8c 100644 --- a/Doc/Zsh/.distfiles +++ b/Doc/Zsh/.distfiles @@ -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 ' diff --git a/Doc/Zsh/mod_parameter.yo b/Doc/Zsh/mod_parameter.yo index 43ee7394f..dc00cdf46 100644 --- a/Doc/Zsh/mod_parameter.yo +++ b/Doc/Zsh/mod_parameter.yo @@ -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 diff --git a/Etc/FAQ.yo b/Etc/FAQ.yo index 5e4876328..37c931d81 100644 --- a/Etc/FAQ.yo +++ b/Etc/FAQ.yo @@ -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) ) diff --git a/Functions/Zftp/zfrglob b/Functions/Zftp/zfrglob index 535cb8006..ee460f9b1 100644 --- a/Functions/Zftp/zfrglob +++ b/Functions/Zftp/zfrglob @@ -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 diff --git a/Src/Modules/.distfiles b/Src/Modules/.distfiles index 1d59497cb..7847b88c6 100644 --- a/Src/Modules/.distfiles +++ b/Src/Modules/.distfiles @@ -9,4 +9,5 @@ DISTFILES_SRC=' parameter.mdd parameter.c stat.mdd stat.c zftp.mdd zftp.c + zutil.mdd zutil.c ' diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 0169b4654..f1aee6d89 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -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; diff --git a/Src/Modules/parameter.mdd b/Src/Modules/parameter.mdd index 1ee48f859..938eb0493 100644 --- a/Src/Modules/parameter.mdd +++ b/Src/Modules/parameter.mdd @@ -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" diff --git a/Src/utils.c b/Src/utils.c index 65aa3d4b9..ccf7ab94b 100644 --- a/Src/utils.c +++ b/Src/utils.c @@ -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; diff --git a/Test/Makefile.in b/Test/Makefile.in index 9fab0b2cf..b7622a1df 100644 --- a/Test/Makefile.in +++ b/Test/Makefile.in @@ -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 ========== |