# HG changeset patch # User jwe # Date 857201855 0 # Node ID c80d72d52385533328cb01a918497ba4b14b56e8 # Parent 5ea69876b2582288ecc65d5e407faf735746196a [project @ 1997-03-01 07:37:31 by jwe] diff -r 5ea69876b258 -r c80d72d52385 ChangeLog --- a/ChangeLog Sat Mar 01 07:29:07 1997 +0000 +++ b/ChangeLog Sat Mar 01 07:37:35 1997 +0000 @@ -1,5 +1,16 @@ +Sat Mar 1 01:34:08 1997 John W. Eaton + + * Version 2.0.5 released. + + * config.h.bot: Unconditionally define WITH_KPATHSEARCH. + Fri Feb 28 01:56:52 1997 John W. Eaton + * emacs/octave-mod.el (octave-end-keywords): Add endswitch. + (octave-end-keywords): Add otherwise and case. + (octave-else-keywords): Add switch. + (octave-abbrev-table): Add abbrevs for all of them. + * configure.in (f77_rules_frag): Set default value to /dev/null and redfine as needed. (bsd_gcc_kluge_targets_frag): Likewise. diff -r 5ea69876b258 -r c80d72d52385 config.h.bot --- a/config.h.bot Sat Mar 01 07:29:07 1997 +0000 +++ b/config.h.bot Sat Mar 01 07:37:35 1997 +0000 @@ -14,3 +14,5 @@ #define REINTERPRET_CAST(T, E) (T) (E) #define HEAVYWEIGHT_INDEXING 1 + +#define WITH_KPATHSEARCH 1 diff -r 5ea69876b258 -r c80d72d52385 doc/ChangeLog --- a/doc/ChangeLog Sat Mar 01 07:29:07 1997 +0000 +++ b/doc/ChangeLog Sat Mar 01 07:37:35 1997 +0000 @@ -1,3 +1,7 @@ +Sat Mar 1 01:34:08 1997 John W. Eaton + + * Version 2.0.5 released. + Fri Feb 28 20:53:40 1997 John W. Eaton * texinfo.tex: Update to latest version from Karl Berry, and apply diff -r 5ea69876b258 -r c80d72d52385 doc/interpreter/struct.texi --- a/doc/interpreter/struct.texi Sat Mar 01 07:29:07 1997 +0000 +++ b/doc/interpreter/struct.texi Sat Mar 01 07:37:35 1997 +0000 @@ -195,7 +195,7 @@ @end deftypefn @deftypefn {Built-in Function} {} struct_elements (@var{struct}) -Return a list of strings naming the elements of the structure @{struct}. -It is an error to call @code{struct_elements} with an argument that is -not a structure. +Return a list of strings naming the elements of the structure +@var{struct}. It is an error to call @code{struct_elements} with an +argument that is not a structure. @end deftypefn diff -r 5ea69876b258 -r c80d72d52385 emacs/octave-mod.el --- a/emacs/octave-mod.el Sat Mar 01 07:29:07 1997 +0000 +++ b/emacs/octave-mod.el Sat Mar 01 07:37:35 1997 +0000 @@ -55,6 +55,7 @@ (define-abbrev-table 'octave-abbrev-table ()) (define-abbrev octave-abbrev-table "`a" "all_va_args" nil) (define-abbrev octave-abbrev-table "`b" "break" nil) + (define-abbrev octave-abbrev-table "`cs" "case" nil) (define-abbrev octave-abbrev-table "`ca" "catch" nil) (define-abbrev octave-abbrev-table "`c" "continue" nil) (define-abbrev octave-abbrev-table "`el" "else" nil) @@ -64,6 +65,7 @@ (define-abbrev octave-abbrev-table "`ef" "endfor" nil) (define-abbrev octave-abbrev-table "`efu" "endfunction" nil) (define-abbrev octave-abbrev-table "`ei" "endif" nil) + (define-abbrev octave-abbrev-table "`es" "endswitch" nil) (define-abbrev octave-abbrev-table "`ew" "endwhile" nil) (define-abbrev octave-abbrev-table "`f" "for" nil) (define-abbrev octave-abbrev-table "`fu" "function" nil) @@ -71,8 +73,10 @@ (define-abbrev octave-abbrev-table "`gp" "gplot" nil) (define-abbrev octave-abbrev-table "`gs" "gsplot" nil) (define-abbrev octave-abbrev-table "`if" "if ()" nil) + (define-abbrev octave-abbrev-table "`o" "otherwise" nil) (define-abbrev octave-abbrev-table "`rp" "replot" nil) (define-abbrev octave-abbrev-table "`r" "return" nil) + (define-abbrev octave-abbrev-table "`s" "switch" nil) (define-abbrev octave-abbrev-table "`t" "try" nil) (define-abbrev octave-abbrev-table "`up" "unwind_protect" nil) (define-abbrev octave-abbrev-table "`upc" "unwind_protect_cleanup" nil) @@ -88,11 +92,11 @@ "Regexp to match the start of an Octave comment up to its body.") (defvar octave-begin-keywords - '("for" "function" "if" "try" "unwind_protect" "while")) + '("for" "function" "if" "switch" "try" "unwind_protect" "while")) (defvar octave-else-keywords - '("catch" "else" "elseif" "unwind_protect_cleanup")) + '("case" "catch" "else" "elseif" "otherwise" "unwind_protect_cleanup")) (defvar octave-end-keywords - '("end" "endfor" "endfunction" "endif" "end_try_catch" + '("end" "endfor" "endfunction" "endif" "endswitch" "end_try_catch" "end_unwind_protect" "endwhile")) (defvar octave-reserved-words @@ -319,6 +323,7 @@ '(("for" . ("end" "endfor")) ("function" . ("end" "endfunction")) ("if" . ("else" "elseif" "end" "endif")) + ("switch" . ("end" "endswitch")) ("try" . ("catch" "end" "end_try_catch")) ("unwind_protect" . ("unwind_protect_cleanup" "end" "end_unwind_protect")) diff -r 5ea69876b258 -r c80d72d52385 libcruft/ChangeLog --- a/libcruft/ChangeLog Sat Mar 01 07:29:07 1997 +0000 +++ b/libcruft/ChangeLog Sat Mar 01 07:37:35 1997 +0000 @@ -1,3 +1,7 @@ +Sat Mar 1 01:34:08 1997 John W. Eaton + + * Version 2.0.5 released. + Wed Feb 26 12:08:39 1997 John W. Eaton * Makefile.in (maintainer-clean): Also remove configure. diff -r 5ea69876b258 -r c80d72d52385 liboctave/ChangeLog --- a/liboctave/ChangeLog Sat Mar 01 07:29:07 1997 +0000 +++ b/liboctave/ChangeLog Sat Mar 01 07:37:35 1997 +0000 @@ -1,3 +1,7 @@ +Sat Mar 1 01:34:08 1997 John W. Eaton + + * Version 2.0.5 released. + Fri Feb 28 20:11:23 1997 John W. Eaton * CmplxQR.cc (ComplexQR::init): New function. diff -r 5ea69876b258 -r c80d72d52385 scripts/ChangeLog --- a/scripts/ChangeLog Sat Mar 01 07:29:07 1997 +0000 +++ b/scripts/ChangeLog Sat Mar 01 07:37:35 1997 +0000 @@ -1,3 +1,7 @@ +Sat Mar 1 01:34:08 1997 John W. Eaton + + * Version 2.0.5 released. + Wed Feb 26 01:48:28 1997 John W. Eaton * Makefile.in (maintainer-clean): Also remove configure. diff -r 5ea69876b258 -r c80d72d52385 src/ChangeLog --- a/src/ChangeLog Sat Mar 01 07:29:07 1997 +0000 +++ b/src/ChangeLog Sat Mar 01 07:37:35 1997 +0000 @@ -1,4 +1,9 @@ -Sat Mar 1 01:17:21 1997 John W. Eaton +Sat Mar 1 01:34:08 1997 John W. Eaton + + * Version 2.0.5 released. + + * octave.cc: If WITH_KPATHSEARCH is defined, don't define + program_invocation_name or program_invocation_short_name. * strftime.c: Update to current version from FSF. * time.cc (Fstrftime): Call strftime with buf = 0 to get buffer diff -r 5ea69876b258 -r c80d72d52385 src/octave.cc --- a/src/octave.cc Sat Mar 01 07:29:07 1997 +0000 +++ b/src/octave.cc Sat Mar 01 07:37:35 1997 +0000 @@ -83,7 +83,7 @@ #endif // Don't redefine the variables if glibc already has. -#if defined (HAVE_PROGRAM_INVOCATION_NAME) +#if defined (HAVE_PROGRAM_INVOCATION_NAME) || defined (WITH_KPATHSEARCH) extern char *program_invocation_name; extern char *program_invocation_short_name; #else diff -r 5ea69876b258 -r c80d72d52385 test/ChangeLog --- a/test/ChangeLog Sat Mar 01 07:29:07 1997 +0000 +++ b/test/ChangeLog Sat Mar 01 07:37:35 1997 +0000 @@ -1,3 +1,7 @@ +Sat Mar 1 01:34:08 1997 John W. Eaton + + * Version 2.0.5 released. + Thu Feb 20 02:58:05 1997 John W. Eaton * Version 2.0.4 released.