about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog164
-rw-r--r--Completion/Base/.distfiles6
-rw-r--r--Completion/User/.distfiles15
-rw-r--r--Completion/X/.distfiles6
-rw-r--r--Config/version.mk4
-rw-r--r--Doc/Zsh/.distfiles4
-rw-r--r--Src/Modules/.distfiles1
-rw-r--r--Src/Zle/zle.export8
-rw-r--r--Src/zsh.export4
9 files changed, 192 insertions, 20 deletions
diff --git a/ChangeLog b/ChangeLog
index 3fbd37855..693c981a3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,160 @@
+1999-09-26  Peter Stephenson  <pws@ibmth.df.unipi.it>
+
+	* pws: Config/version.mk: 3.1.6-pws-6
+
+	* pws: 8051: Completion/User/_users_on: typos.
+
+	* pws: 8050: Src/utils.c: getkeystring() used in ##<char>
+	  (formally #\<char>) should return unsigned char.
+
+	* pws: 8049: Src/math.c: use HEAPALLOC for math evals.
+
+	* Adam: 8048: Completion/User/_my_accounts,
+	  Completion/User/_other_accounts, Completion/User/_rlogin,
+	  Completion/User/_ssh, Completion/User/_users_on: use
+	  my_accounts and other_accounts for ssh and friends;
+	  user users for write and potentially elsewhere.
+	
+	* Adam: 8047: Completion/User/_users: lasts uses _users.
+
+	* Tanaka Akira: 8044: Completion/Base/_regex_arguments,
+	  Completion/Debian/_apt: remove NULs from cache files,
+	  fix some typos.
+
+	* Tanaka Akira: 8042: Doc/Zsh/expn.yo, Src/subst.c, Src/utils.c:
+	  ${(qqqq)...} now does $'...' quotation; rejigging unprintable
+	  characters is now ${(V)...}.
+
+1999-09-24  Peter Stephenson  <pws@ibmth.df.unipi.it>
+	* Tanaka Akira: 8039: Src/utils.c: quoting of backslashes inside
+	  ${(qqq)...}.
+
+	* pws: 8038: Completion/User/_tar: wouldn't use tar archives
+	  beginning with a ~.
+
+1999-09-23  Peter Stephenson  <pws@ibmth.df.unipi.it>
+
+	* pws: 8033: Src/math.c: use '##' to get code for literal
+	  character as less error-prone than `#\'.
+
+	* Sven: 8030: Src/utils.c: 8019 needed to expand the buffer
+	  even more.
+
+	* pws: 8026: Src/math.c: idiotically made buffer too short
+	  for error message.
+
+	* Sven: 8023: Src/subst.c, Src/utils.c, Doc/Zsh/expn.yo:
+	  ${(qqqq)...} quotes unprintables in bindkey fashion.
+
+	* pws: 8022: Src/Zle/zle_misc.c: digit argument with metafied
+	  digits didn't work.
+
+	* Sven: 8021: Src/Zle/complist.c: keep better track of cursor
+	  position when moving in a menu selection.
+
+	* Vin Shelton and pws: 8020: Src/Zle/deltochar.c,
+	  Doc/Zsh/mod_deltochar.yo: new zap-to-char, uses deltochar()
+	  function but doesn't delete last occurrence (replaces 8010).
+
+	* Sven: 8019: Src/utils.c: buffer overflow quoting newlines.
+
+	* Sven: 8015: Completion/Commands/_history_complete_word,
+	  Src/Zle/zle_tricky.c:  bug without history_stop in
+	  _history_complete_word; go backwards on line when scanning
+	  history words.
+
+	* pws: 8014: Src/math.c: arguments after the first in math
+	  function skipped first character.
+
+	* Sven: 8013: Completion/X/_x_keysym, Completion/X/_x_modifier,
+	  Completion/X/_xmodmap: completion for keys and modifiers
+	  in xmodmap.
+
+	* Sven: 8012: Doc/Zsh/compsys.yo: document
+	  incremental-complete-word configuration keys.
+
+	* Sven: 8011: Src/Zle/comp.h, Src/Zle/complist.c,
+	  Src/Zle/zle_tricky.c: better menu insertion with braces.
+
+1999-09-22  Peter Stephenson  <pws@ibmth.df.unipi.it>
+
+	* Sven: 8004: Src/Zle/complist.c, Src/Zle/zle_tricky.c,
+	  Doc/Zsh/compctl.yo, Doc/Zsh/compwid.yo: crash in selecting;
+	  documentation for 8001.
+
+	* Sven: 8001: Src/Zle/comp.h, Src/Zle/compctl.c,
+	  Src/Zle/zle_tricky.c, Doc/Zsh/compctl.yo, Doc/Zsh/compsys.yo,
+	  Doc/Zsh/compwid.yo, Completion/Core/_description: -1 and -2
+	  flags to completion commands allow removal of consecutive and
+	  non-consecutive duplicates.
+
+	* pws: 7999, 8000: Doc/Makefile.in, Doc/Zsh/guide.yo,
+	  Doc/Zsh/mod_mapfile.yo, Doc/Zsh/mod_mathfunc.yo,
+	  Doc/Zsh/modules.yo, Doc/Zsh/mod_parameter.yo,
+	  Src/Modules/mathfunc.c, Src/Modules/mathfunc.mdd, Src/math.c:
+	  mathfunc module, contains 46 functions for use in math
+	  evaluations; make function arguments behave like normal mathevals.
+
+	* Sven: 7998: Src/Zle/comp.h, Src/Zle/complist.c,
+	  Src/Zle/zle_tricky.c, Src/options.c, Src/zsh.h,
+	  Doc/Zsh/options.yo: Display column sizes can be different
+	  for different completion groups; LIST_PACKED and LIST_ROWS_FIRST
+	  options change listing display behaviour; clean functions up.
+
+	* pws: 7995: Completion/Builtin/_zmodload: when looking for module,
+	  restrict to *.s[ol].
+
+	* Tanaka Akira: 7989: Completion/Base/_combination,
+	  Completion/Debian/_apt, Completion/Base/_regex_arguments,
+	  Doc/Zsh/compsys.yo: document _combination and _regex_arguments,
+	  clean up relevant completion functions.
+
+1999-09-21  Peter Stephenson  <pws@ibmth.df.unipi.it>
+
+	* Sven: 7985: Src/Zle/zle_tricky.c: crash in old completion
+	  with non-existent file.
+
+	* pws: 7983: Src/hist.c: bug that hungetc() blindly went
+	  ahead after keyboard interrupt fixed by testing for errflag
+	  in hungetc().
+
+	* pws: 7981, 7982: Src/math.c, Src/zsh.h: use dupstring()
+	  instead of lvalue stack; better ternary expression parsing;
+	  old `unbalanced stack' messages shouldn't show up so become
+	  debugging messages; arithmetical errors in unevaluated
+	  portions don't cause shell errors.
+
+	* Sven: 7978: Src/exec.c, Src/init.c, Src/utils.c: grow and shrink
+	  underscore parameters properly.
+
+	* Sven: 7976, 7977: Src/builtin.c, Src/math.c, Src/mkbltnmlst.sh,
+	  Src/mkmakemod.sh, Src/module.c, Src/zsh.h, Src/Modules/example.c,
+	  Src/Modules/example.mdd, Doc/Zsh/arith.yo, Doc/Zsh/builtins.yo,
+	  Etc/zsh-development-guide: system for loading math functions
+	  for use in math evals.
+
+	* Sven: 7974: Src/Zle/zle_tricky.c: remove duplicates.
+
+	* Bart: 7968: Completion/User/_mailboxes: mutt fixes.
+
 1999-09-20  Peter Stephenson  <pws@ibmth.df.unipi.it>
 
+	* pws: 7963: Src/math.c, Src/subst.c: better error checking
+	  for math evals; don't pass surrounding parentheses down for
+	  $(( ... )).
+
+	* Adam: 7961: Completion/User/_mailboxes: fun with variables and
+	  elm.
+
+	* Sven: 7960: Src/Zle/zle_tricky.c: too much deleted in path
+	  completion.
+
+	* Sven: 7959: Completion/Core/_path_files, Doc/Zsh/compsys.yo:
+	  fixes from previous patches which missed 3.1.6-pws-5.
+
+	* pws: 7957: Src/module.c: `zmodload -e modname' in statically
+	  linked shell didn't work.
+
 	* pws: Config/version.mk: version 3.1.6-pws-5
 
 	* Sven: 7953: Completion/Commands/_expand_word,
@@ -15,7 +170,7 @@
 	* Sven: 7950: Src/utils.c, Src/Zle/complist.c: more careful
 	  with VARARR's.
 
-	* Sven: 7949: 7949: Completion/X/_x_color,
+	* Sven: 7949: Completion/X/_x_color,
 	  Completion/X/_x_extension, Completion/X/_x_window,
 	  Completion/X/_xutils: completion for standard X utilities.
 
@@ -26,6 +181,9 @@
 	* Sven: 7947: Src/Zle/zle_tricky.c, Doc/Zsh/compwid.yo:
 	  compstate[insert] can be all to insert all matches.
 
+	* Sven: 7945: Src/Zle/zle_tricky.c, Completion/Core/_multi_parts,
+	  Completion/Core/_path_files: better path completion with braces
+
 	* Sven: 7944: Src/Zle/zle_tricky.c, Completion/Core/_multi_parts,
 	  Completion/Core/_path_files, Completion/Core/_sep_parts:
 	  new heuristic for deciding whether to add strings under match
@@ -87,7 +245,7 @@
 
 	* Sven: 7896: Src/Zle/zle_tricky.c: cursor positioning.
 
-	* Adam: 7892: Completion/User/_webbrowser: initial
+	* Tanaka Akira: 7892: Completion/User/_webbrowser: initial
 	  implementation of completion for web browsers.
 
 	* Adam: 7891: Completion/Core/compinit: error message in compdef.
@@ -116,7 +274,7 @@
 	* Sven: 7863: Doc/Zsh/mod_parameter.yo, Src/Modules/parameter.c,
 	  Src/Modules/parameter.mdd: $dirstack and $modules special
 	  parameters.
-	
+
 	* Sven: 7866: Doc/Zsh/compsys.yo, Completion/User/_mutt:
 	  action necessary.
 
diff --git a/Completion/Base/.distfiles b/Completion/Base/.distfiles
index 14bab9676..d1118abaa 100644
--- a/Completion/Base/.distfiles
+++ b/Completion/Base/.distfiles
@@ -1,6 +1,6 @@
 DISTFILES_SRC='
     .distfiles 
-    _arg_compile _arguments _brace_parameter _command_names _condition
-    _default _describe _equal _first _math _parameter _precommand _redirect
-    _regex_arguments _subscript _tilde _values _vars
+    _arg_compile _arguments _brace_parameter _combination _command_names
+    _condition _default _describe _equal _first _math _parameter
+    _precommand _redirect _regex_arguments _subscript _tilde _values _vars
 '
diff --git a/Completion/User/.distfiles b/Completion/User/.distfiles
index 579d947f0..35dfd2f3d 100644
--- a/Completion/User/.distfiles
+++ b/Completion/User/.distfiles
@@ -1,10 +1,11 @@
 DISTFILES_SRC='
     .distfiles
-    _a2ps _bison _bunzip2 _bzip2 _chown _combination _compress _configure
-    _cvs _dd _dir_list _dirs _dvi _find _flex _gcc _gdb _gprof _groups _gs
-    _gunzip _gv _gzip _hosts _ispell _lynx _mailboxes _make _man _mh _mount
-    _mutt _nslookup _patch _pbm _pdf _perl_basepods _perl_builtin_funcs
-    _perl_modules _perldoc _ports _ps _pspdf _rcs _rlogin _sh _socket _ssh
-    _strip _stty _su _tar _tar_archive _telnet _tex _tiff _uncompress _urls
-    _use_lo _users _webbrowser _wget _xargs _yodl _yp
+    _a2ps _bison _bunzip2 _bzip2 _chown _compress _configure _cvs _dd
+    _dir_list _dirs _dvi _find _flex _gcc _gdb _gprof _groups _gs _gunzip
+    _gv _gzip _hosts _ispell _lynx _mailboxes _make _man _mh _mount _mutt
+    _my_accounts _nslookup _other_accounts _patch _pbm _pdf _perl_basepods
+    _perl_builtin_funcs _perl_modules _perldoc _ports _ps _pspdf _rcs
+    _rlogin _sh _socket _ssh _strip _stty _su _tar _tar_archive _telnet
+    _tex _tiff _uncompress _urls _use_lo _users _users_on _webbrowser _wget
+    _xargs _yodl _yp
 '
diff --git a/Completion/X/.distfiles b/Completion/X/.distfiles
index 0865ed4ec..af825329f 100644
--- a/Completion/X/.distfiles
+++ b/Completion/X/.distfiles
@@ -1,7 +1,7 @@
 DISTFILES_SRC='
     .distfiles
     _x_arguments _x_borderwidth _x_color _x_cursor _x_display _x_extension
-    _x_font _x_geometry _x_locale _x_name _x_resource _x_selection_timeout
-    _x_title _x_window _xdvi _xfig _xt_arguments _xt_session_id _xterm
-    _xutils _xv
+    _x_font _x_geometry _x_keysym _x_locale _x_modifier _x_name _x_resource
+    _x_selection_timeout _x_title _x_window _xdvi _xfig _xmodmap
+    _xt_arguments _xt_session_id _xterm _xutils _xv
 '
diff --git a/Config/version.mk b/Config/version.mk
index 238e58636..db81bf927 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-5
-VERSION_DATE='September 20, 1999'
+VERSION=3.1.6-pws-6
+VERSION_DATE='September 26, 1999'
diff --git a/Doc/Zsh/.distfiles b/Doc/Zsh/.distfiles
index 691cd8749..f534e834a 100644
--- a/Doc/Zsh/.distfiles
+++ b/Doc/Zsh/.distfiles
@@ -5,8 +5,8 @@ DISTFILES_SRC='
     guide.yo index.yo intro.yo invoke.yo jobs.yo metafaq.yo
     mod_cap.yo mod_clone.yo mod_comp1.yo mod_complist.yo
     mod_compctl.yo mod_deltochar.yo mod_example.yo mod_files.yo
-    mod_mapfile.yo mod_parameter.yo mod_sched.yo mod_stat.yo
-    mod_zftp.yo mod_zle.yo
+    mod_mapfile.yo mod_mathfunc.yo mod_parameter.yo mod_sched.yo
+    mod_stat.yo mod_zftp.yo mod_zle.yo
     modules.yo options.yo params.yo 
     prompt.yo redirect.yo restricted.yo seealso.yo zftpsys.yo zle.yo
 '
diff --git a/Src/Modules/.distfiles b/Src/Modules/.distfiles
index dc851bf9b..1d59497cb 100644
--- a/Src/Modules/.distfiles
+++ b/Src/Modules/.distfiles
@@ -5,6 +5,7 @@ DISTFILES_SRC='
     example.mdd example.c
     files.mdd files.c
     mapfile.mdd mapfile.c
+    mathfunc.mdd mathfunc.c
     parameter.mdd parameter.c
     stat.mdd stat.c
     zftp.mdd zftp.c
diff --git a/Src/Zle/zle.export b/Src/Zle/zle.export
index 1e71e4bf3..bd7833a57 100644
--- a/Src/Zle/zle.export
+++ b/Src/Zle/zle.export
@@ -2,9 +2,14 @@
 acceptlast
 addzlefunction
 amatches
+asklist
 backdel
 backkill
+bindk
 bindkey
+brbeg
+brend
+calclist
 clearflag
 clearlist
 clearscreen
@@ -21,7 +26,9 @@ getzlequery
 hasperm
 invalidatelist
 lastambig
+lbindk
 linkkeymap
+listdat
 listshown
 lmatches
 menuacc
@@ -32,6 +39,7 @@ newkeymap
 nlnct
 pmatches
 printfmt
+printlist
 redisplay
 refthingy
 reversemenucomplete
diff --git a/Src/zsh.export b/Src/zsh.export
index 625fef331..20dd924ad 100644
--- a/Src/zsh.export
+++ b/Src/zsh.export
@@ -7,6 +7,8 @@ addhashnode
 addhistnum
 addhookdefs
 addhookfunc
+addmathfunc
+addmathfuncs
 addparamdefs
 addwrapper
 arrvargetfn
@@ -49,6 +51,8 @@ deleteconddefs
 deletehashtable
 deletehookdefs
 deletehookfunc
+deletemathfunc
+deletemathfuncs
 deleteparamdefs
 deleteparamtable
 deletewrapper