changeset 3079:eb827eb9b8ff

[project @ 1997-08-03 20:44:07 by jwe]
author jwe
date Sun, 03 Aug 1997 20:46:29 +0000
parents 5e4b19abfeb1
children 4a324ba3f1eb
files ChangeLog WWW/NEWS-2.html WWW/index.html aclocal.m4 configure.in doc/interpreter/install.texi doc/interpreter/octave.texi doc/interpreter/preface.texi libcruft/ChangeLog libcruft/blas/xerbla.f liboctave/Array2-idx.h liboctave/ChangeLog liboctave/idx-vector.cc liboctave/idx-vector.h src/ChangeLog src/lex.l
diffstat 16 files changed, 119 insertions(+), 37 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+Sun Aug  3 15:33:18 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* info: Delete subdirectory.
+	* Makefile.in (TARGETS, help): Delete info.
+	* octMakefile.in (DISTSUBDIRS, BINDISTSUBDIRS): Delete info
+	(binary-dist): Don't strip info/info.
+	* install-octave: Don't install info.
+	* configure.in: Don't run configure in info subdirectory.
+
+Fri Jul 25 14:05:15 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* aclocal.m4 (OCTAVE_FLIBS): Avoid adding -lcrt0.o to FLIBS.
+
 Thu Jul 17 13:31:08 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* aclocal.m4 (OCTAVE_FLIBS): Only accept an ld_run_path that is
--- a/WWW/NEWS-2.html
+++ b/WWW/NEWS-2.html
@@ -8,6 +8,59 @@
 <h1> News for Octave Version 2 </h1>
 <hr>
 
+<h2>Summary of changes for version 2.0.9</h2>
+
+This is a bug-fixing release, but there is one new user-visible
+feature:
+
+<ul>
+<li>It is now possible to specify a label for lines in the plot key
+    when using the plot function.  For example,
+<pre>
+      plot (x, y, "-*;sin(x);")
+</pre>
+    plots y vs. x using the linespoints style and sets the title of
+    the line in the key to be `sin(x)'
+</li>
+</ul>
+
+<h2>Summary of changes for version 2.0.8</h2>
+
+This is a bug-fixing release.  There are only a few new user-visible
+features.
+
+<ul>
+<li>If the argument to eig() is symmetric, Octave uses the specialized
+    Lapack subroutine for symmetric matrices for a significant
+    increase in performance.
+</li>
+<li>It is now possible to use the mkoctfile script to create .oct
+    files from multiple source and object files.
+</li>
+</ul>
+
+<h2>Summary of changes for version 2.0.7</h2>
+
+This is a bug-fixing release.  There are no new user-visible features.
+
+<h2>Summary of changes for version 2.0.6</h2>
+
+This is primarily a bug-fixing release.  There are only a few new
+user-visilbe features.
+
+<ul>
+<li>The new built-in variable default_eval_print_flag controls whether
+    Octave prints the results of commands executed by eval() that do
+    not end with semicolons.  The default is 1.
+</li>
+<li>The new built-in constant OCTAVE_HOME specifies the top-level
+    directory where Octave is installed.
+</li>
+<li>Octave no longer includes functions to work with NPSOL or QPSOL,
+    because they are not free software.
+</li>
+</ul>
+
 <h2>Summary of changes for version 2.0.5</h2>
 
 <ul>
--- a/WWW/index.html
+++ b/WWW/index.html
@@ -16,7 +16,7 @@
 
 <h2>News</h2>
 <p>
-Version 2.0.5 was released Saturday March 1, 1997.  Most bugs reported
+Version 2.0.9 was released Thursday July 10, 1997.  Most bugs reported
 since the release of version 2.0 have been fixed.
 </p>
 
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -153,7 +153,7 @@
 	    fi
 	  fi
 	;;
-	-lang*)
+	-lang* | -lcrt0.o)
 	  arg=
 	;;
 	-[lLR])
--- a/configure.in
+++ b/configure.in
@@ -21,7 +21,7 @@
 ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 ### 02111-1307, USA. 
 
-AC_REVISION($Revision: 1.283 $)
+AC_REVISION($Revision: 1.284 $)
 AC_PREREQ(2.9)
 AC_INIT(src/octave.cc)
 AC_CONFIG_HEADER(config.h)
@@ -120,6 +120,13 @@
   ;;
 esac
 
+AC_ARG_ENABLE(info,
+  [  --enable-info           use GNU info (default is yes)],
+  [if test "$enableval" = no; then USE_GNU_INFO=false; fi], [])
+if $USE_GNU_INFO; then
+  AC_DEFINE(USE_GNU_INFO, 1)
+fi
+
 dnl ### Allow the user disable support for plplot.
 dnl 
 dnl # USE_PLPLOT=true
--- a/doc/interpreter/install.texi
+++ b/doc/interpreter/install.texi
@@ -105,13 +105,15 @@
 is a coincidence---it is not related to the GNU project or the FSF in
 any but the most peripheral sense.
 
+For reading the on-line documentation, you will need the GNU Info reader
+from the GNU Texinfo package, version 3.11 or later.
+
 For version @value{VERSION}, you must have the GNU C++ compiler
 (@code{gcc}) version 2.7.2 or later to compile Octave.  You will also
 need version 2.7.1 or 2.7.2 of the GNU C++ class library
 (@code{libg++}).  If you plan to modify the parser you will also need
 GNU @code{bison} and @code{flex}.  If you modify the documentation, you
-will need GNU Texinfo, along with the patch for the @code{makeinfo}
-program that is distributed with Octave.
+will need the @code{makeinfo} from the GNU Texinfo package.
 
 GNU Make, @code{gcc}, and @code{libg++}, @code{gnuplot}, @code{bison},
 @code{flex}, and Texinfo are all available from many anonymous ftp
@@ -198,28 +200,11 @@
 @end itemize
 
 @menu
-* Notes::                       
 * Installation Problems::       
 * Binary Distributions::        
 @end menu
 
-@node Notes, Installation Problems, Installation, Installation
-@appendixsec Notes
-
-@itemize @bullet
-@item
-You must use the version of GNU Info distributed with Octave, because it
-includes some changes to allow Octave to search the indices of the info
-files.  If you would like, you should be able to replace other copies of
-the Info browser that you have with the one distributed with Octave.
-Patches relative to a recent release of the GNU Info browser are
-included in the file @file{INFO.PATCH} in the Octave source
-distribution.  This modification has been submitted to the GNU Info
-maintainer, and should appear in some future release.  Once that
-happens, the GNU Info browser will no longer be distributed with Octave.
-@end itemize
-
-@node Installation Problems, Binary Distributions, Notes, Installation
+@node Installation Problems, Binary Distributions, Installation, Installation
 @appendixsec Installation Problems
 
 This section contains a list of problems (and some apparent problems
@@ -308,15 +293,6 @@
 that contains the file @file{libgcc.a}.
 
 @item
-There is a bug with the @code{makeinfo} program that is distributed with
-Texinfo (through version 3.9) that causes the indices in Octave's
-on-line manual to be generated incorrectly.  If you need to recreate the
-on-line documentation, you should get the @code{makeinfo} program that
-is distributed with texinfo-3.9 and apply the patch for @code{makeinfo}
-that is distributed with Octave.  See the file @file{MAKEINFO.PATCH} for
-more details.
-
-@item
 Some of the Fortran subroutines may fail to compile with older versions
 of the Sun Fortran compiler.  If you get errors like
 
--- a/doc/interpreter/octave.texi
+++ b/doc/interpreter/octave.texi
@@ -151,7 +151,7 @@
 
 Preface
 
-* Acknowledgements::             
+* Acknowledgements::            
 * How You Can Contribute to Octave::  
 * Distribution::                
 
@@ -260,7 +260,7 @@
 Statements
 
 * The if Statement::            
-* The switch Statement::            
+* The switch Statement::        
 * The while Statement::         
 * The for Statement::           
 * The break Statement::         
--- a/doc/interpreter/preface.texi
+++ b/doc/interpreter/preface.texi
@@ -48,7 +48,7 @@
 it, and by reporting any problems you may have.
 
 @menu
-* Acknowledgements::             
+* Acknowledgements::            
 * How You Can Contribute to Octave::  
 * Distribution::                
 @end menu
--- a/libcruft/ChangeLog
+++ b/libcruft/ChangeLog
@@ -1,3 +1,7 @@
+Thu Jul 17 13:18:57 1997  Klaus Gebhardt <gebhardt@crunch.ikp.physik.th-darmstadt.de>
+
+	* blas/xerbla.f (xerbla): Call XSTOPX instead of using STOP.
+
 Fri Jun  6 16:49:22 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* slatec-fn/xdgamma.f: New file.
--- a/libcruft/blas/xerbla.f
+++ b/libcruft/blas/xerbla.f
@@ -33,7 +33,7 @@
 *
       WRITE( *, FMT = 9999 )SRNAME, INFO
 *
-      STOP
+      CALL XSTOPX (' ')
 *
  9999 FORMAT( ' ** On entry to ', A6, ' parameter number ', I2, ' had ',
      $      'an illegal value' )
--- a/liboctave/Array2-idx.h
+++ b/liboctave/Array2-idx.h
@@ -226,6 +226,8 @@
 	resize (0, 0);
       else
 	{
+	  idx_j.sort (true);
+
 	  int num_to_delete = idx_j.length (nc);
 
 	  if (num_to_delete != 0)
@@ -288,6 +290,8 @@
 	resize (0, 0);
       else
 	{
+	  idx_i.sort (true);
+
 	  int num_to_delete = idx_i.length (nr);
 
 	  if (num_to_delete != 0)
--- a/liboctave/ChangeLog
+++ b/liboctave/ChangeLog
@@ -1,3 +1,10 @@
+Thu Jul 31 22:13:54 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* idx-vector.cc (IDX_VEC_REP::sort): New function.
+	* idx-vector.h (idx_vector::sort): Ditto.
+	* Array2-idx.h (Array2<T>::maybe_delete_elements): Use it before
+	trying to delete elements specified by the index vectors.
+
 Fri Jul 25 17:31:26 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* dMatrix.cc (Matrix::lssolve): Increase lwork by factor of 16.
--- a/liboctave/idx-vector.cc
+++ b/liboctave/idx-vector.cc
@@ -545,6 +545,15 @@
 }
 
 void
+IDX_VEC_REP::sort (bool uniq)
+{
+  sort_data (data, len);
+
+  if (uniq)
+    len = make_uniq (data, len);
+}
+
+void
 IDX_VEC_REP::shorten (int n)
 {
   if (n > 0 && n <= len)
--- a/liboctave/idx-vector.h
+++ b/liboctave/idx-vector.h
@@ -99,6 +99,8 @@
     int is_colon (void) const { return colon; }
     int is_colon_equiv (int n, int sort_uniq);
 
+    void sort (bool uniq);
+
     int orig_rows (void) const { return orig_nr; }
     int orig_columns (void) const { return orig_nc; }
 
@@ -231,6 +233,8 @@
   int is_colon_equiv (int n, int sort_uniq = 0) const
     { return rep->is_colon_equiv (n, sort_uniq); }
 
+  void sort (bool uniq = false) { rep->sort (uniq); }
+
   int orig_rows (void) const { return rep->orig_rows (); }
   int orig_columns (void) const { return rep->orig_columns (); }
 
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jul 31 22:59:04 1997  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* lex.l <TEXT_FCN>: Ensure that we handle words that begin with
+	single or double quotes as strings.
+
 Thu Jul 17 13:06:48 1997  Klaus Gebhardt <gebhardt@crunch.ikp.physik.th-darmstadt.de>
 
 	* DLD-FUNCTIONS/rand.cc (Frand): Use F77_XFCN to call getsd,
--- a/src/lex.l
+++ b/src/lex.l
@@ -241,7 +241,7 @@
     return handle_string (yytext[0], 1);
   }
 
-<TEXT_FCN>[^ \t\n\;\,]*{S}* {
+<TEXT_FCN>[^ \t\n\;\,\"\'][^ \t\n\;\,]*{S}* {
     string tok = strip_trailing_whitespace (yytext);
     TOK_PUSH_AND_RETURN (tok, TEXT);
   }