# HG changeset patch # User jwe # Date 881899316 0 # Node ID 38684be52a3e3b249aa9e4b7ee52e6410fb19644 # Parent e3fc19fa9e695a28a940d466df9cffdaf2053d66 [project @ 1997-12-12 04:01:51 by jwe] diff -r e3fc19fa9e69 -r 38684be52a3e ChangeLog --- a/ChangeLog Wed Dec 10 06:15:37 1997 +0000 +++ b/ChangeLog Fri Dec 12 04:01:56 1997 +0000 @@ -1,3 +1,18 @@ +Thu Dec 11 09:43:56 1997 John W. Eaton + + * config.h.bot: Define DYNAMIC_CAST and REINTERPRET_CAST using new + style for casts. Define CONST_CAST and STATIC_CAST too. + + * configure.in (SH_LD): Set default to $CXX, not $CC. + +Mon Dec 1 00:49:56 1997 John W. Eaton + + * configure.in (AC_OUTPUT): Add libcruft/slatec-err/Makefile. + +Sun Nov 30 18:19:45 1997 John W. Eaton + + * configure.in: Check for gamma and lgamma too. + Fri Nov 28 23:21:17 1997 John W. Eaton * configure.in (AC_OUTPUT): Include libcruft/specfun/Makefile. diff -r e3fc19fa9e69 -r 38684be52a3e config.h.bot --- a/config.h.bot Wed Dec 10 06:15:37 1997 +0000 +++ b/config.h.bot Fri Dec 12 04:01:56 1997 +0000 @@ -7,9 +7,13 @@ #define GCC_ATTR_UNUSED #endif -#define DYNAMIC_CAST(T, E) (T) (E) +#define CONST_CAST(T, E) const_cast (E) + +#define DYNAMIC_CAST(T, E) dynamic_cast (E) -#define REINTERPRET_CAST(T, E) (T) (E) +#define REINTERPRET_CAST(T, E) reinterpret_cast (E) + +#define STATIC_CAST(T, E) static_cast (E) #define HEAVYWEIGHT_INDEXING 1 diff -r e3fc19fa9e69 -r 38684be52a3e configure.in --- a/configure.in Wed Dec 10 06:15:37 1997 +0000 +++ b/configure.in Fri Dec 12 04:01:56 1997 +0000 @@ -21,7 +21,7 @@ ### Software Foundation, 59 Temple Place - Suite 330, Boston, MA ### 02111-1307, USA. -AC_REVISION($Revision: 1.290 $) +AC_REVISION($Revision: 1.291 $) AC_PREREQ(2.9) AC_INIT(src/octave.cc) AC_CONFIG_HEADER(config.h) @@ -569,7 +569,7 @@ CXXPICFLAG=-fPIC FPICFLAG=-fPIC SHLEXT=so -SH_LD="$CC" +SH_LD="$CXX" SH_LDFLAGS=-shared SONAME_FLAGS= RLD_FLAG= @@ -902,7 +902,7 @@ ### Check for nonstandard but common math functions that we need. -AC_CHECK_FUNCS(acosh asinh atanh erf erfc) +AC_CHECK_FUNCS(acosh asinh atanh erf erfc gamma lgamma) CFLAGS="$XCFLAGS" @@ -1205,7 +1205,7 @@ libcruft/misc/Makefile libcruft/odepack/Makefile libcruft/quadpack/Makefile libcruft/ranlib/Makefile libcruft/specfun/Makefile libcruft/slatec-fn/Makefile - libcruft/villad/Makefile) + libcruft/slatec-err/Makefile libcruft/villad/Makefile) ### Print a summary so that important information isn't missed. diff -r e3fc19fa9e69 -r 38684be52a3e emacs/octave-inf.el --- a/emacs/octave-inf.el Wed Dec 10 06:15:37 1997 +0000 +++ b/emacs/octave-inf.el Fri Dec 12 04:01:56 1997 +0000 @@ -336,7 +336,7 @@ (defun inferior-octave-directory-tracker (string) "Tracks `cd' commands issued to the inferior Octave process. Use \\[inferior-octave-resync-dirs] to resync if Emacs gets confused." - (if (string-match "[ \t]*cd[ \t]*\\([^ \t\n;]*\\)[ \t\n;]" + (if (string-match "^[ \t]*cd[ \t]*\\([^ \t\n;]*\\)[ \t\n;]" string) (cd (substring string (match-beginning 1) (match-end 1))))) diff -r e3fc19fa9e69 -r 38684be52a3e libcruft/ChangeLog --- a/libcruft/ChangeLog Wed Dec 10 06:15:37 1997 +0000 +++ b/libcruft/ChangeLog Fri Dec 12 04:01:56 1997 +0000 @@ -1,3 +1,11 @@ +Mon Dec 1 00:51:03 1997 John W. Eaton + + * dassl/xerhlt.f, dassl/xermsg.f, dassl/xerprn.f, dassl/xgetua.f, + dassl/xsetua.f: Delete. + + * slatec-err: New directory. + * Makefile.in: Add it to the list. + Sun Nov 30 17:55:20 1997 John W. Eaton * slatec-fn/xdgami.f, slatec-fn/xdbetai.f, slatec-fn/xderfc.f, diff -r e3fc19fa9e69 -r 38684be52a3e libcruft/Makefile.in --- a/libcruft/Makefile.in Wed Dec 10 06:15:37 1997 +0000 +++ b/libcruft/Makefile.in Fri Dec 12 04:01:56 1997 +0000 @@ -25,8 +25,8 @@ # configure.in and run autoconf). CRUFT_DIRS = balgen blas dassl eispack fftpack lapack linpack \ - minpack misc odepack quadpack ranlib slatec-fn specfun \ - villad + minpack misc odepack quadpack ranlib slatec-err slatec-fn \ + specfun villad SUBDIRS = $(CRUFT_DIRS) @@ -110,6 +110,8 @@ uninstall:: rm -f $(libdir)/libcruft.$(LIBEXT) + rm -f $(libdir)/libcruft.$(SHLEXT) + rm -f $(libdir)/libcruft.$(SHLEXT_VER) tags TAGS:: $(SOURCES) $(SUBDIR_FOR_COMMAND) diff -r e3fc19fa9e69 -r 38684be52a3e liboctave/Makefile.in --- a/liboctave/Makefile.in Wed Dec 10 06:15:37 1997 +0000 +++ b/liboctave/Makefile.in Fri Dec 12 04:01:56 1997 +0000 @@ -75,13 +75,11 @@ mx-dm-cs.cc mx-dm-m.cc mx-dm-s.cc mx-m-cdm.cc mx-m-cm.cc \ mx-m-cs.cc mx-m-dm.cc mx-s-cdm.cc mx-s-cm.cc mx-s-dm.cc -SOURCES := Bounds.cc CollocWt.cc DAE.cc DASSL.cc FEGrid.cc \ - LinConst.cc LPsolve.cc LSODE.cc NLEqn.cc Quad.cc Range.cc \ - cmd-edit.cc cmd-hist.cc data-conv.cc \ - dbleBessel.cc dbleBetai.cc dbleGammai.cc dir-ops.cc \ - f2c-main.c \ - file-ops.cc file-stat.cc filemode.c getopt.c getopt1.c \ - glob-match.cc idx-vector.cc lo-ieee.cc lo-mappers.cc \ +SOURCES := Bounds.cc CollocWt.cc DAE.cc DASSL.cc FEGrid.cc LinConst.cc \ + LPsolve.cc LSODE.cc NLEqn.cc Quad.cc Range.cc cmd-edit.cc \ + cmd-hist.cc data-conv.cc dir-ops.cc f2c-main.c file-ops.cc \ + file-stat.cc filemode.c getopt.c getopt1.c glob-match.cc \ + idx-vector.cc lo-ieee.cc lo-mappers.cc lo-specfun.cc \ lo-sysdep.cc lo-utils.cc mach-info.cc mkdir.c oct-alloc.cc \ oct-env.cc oct-group.cc oct-passwd.cc oct-syscalls.cc \ pathsearch.cc prog-args.cc rename.c rmdir.c str-vec.cc \ diff -r e3fc19fa9e69 -r 38684be52a3e scripts/ChangeLog --- a/scripts/ChangeLog Wed Dec 10 06:15:37 1997 +0000 +++ b/scripts/ChangeLog Fri Dec 12 04:01:56 1997 +0000 @@ -1,3 +1,10 @@ +Wed Dec 10 00:14:29 1997 John W. Eaton + + * specfun/bessel.m: New file. + + * specfun/betai.m, specfun/betainc.m, specfun/gammai.m, + specfun/gammainc.m: Delete. + Wed Nov 19 00:19:18 1997 John W. Eaton * image/colormap.m: Initialize __current_color_map__ in global diff -r e3fc19fa9e69 -r 38684be52a3e src/BaseSLList.cc --- a/src/BaseSLList.cc Wed Dec 10 06:15:37 1997 +0000 +++ b/src/BaseSLList.cc Fri Dec 12 04:01:56 1997 +0000 @@ -24,9 +24,8 @@ #include #endif -#include -#include -#include +#include + #include "BaseSLList.h" #include "error.h" diff -r e3fc19fa9e69 -r 38684be52a3e src/ChangeLog --- a/src/ChangeLog Wed Dec 10 06:15:37 1997 +0000 +++ b/src/ChangeLog Fri Dec 12 04:01:56 1997 +0000 @@ -1,5 +1,14 @@ +Tue Dec 9 02:45:35 1997 John W. Eaton + + * Makefile.in (INCLUDES): Don't forget Pix.h. + + * BaseSLList.cc: Don't include nonstandard libg++ header files. + Sun Nov 30 14:58:56 1997 John W. Eaton + * pr-output.cc: Include cmath, not oct-math. + * sysdep.cc: Likewise. + * DLD-FUNCTIONS/bessel.cc: New file. * Makefile.in (DLD_XSRC): Add it to the list. diff -r e3fc19fa9e69 -r 38684be52a3e src/DLD-FUNCTIONS/bessel.cc --- a/src/DLD-FUNCTIONS/bessel.cc Wed Dec 10 06:15:37 1997 +0000 +++ b/src/DLD-FUNCTIONS/bessel.cc Fri Dec 12 04:01:56 1997 +0000 @@ -24,7 +24,7 @@ #include #endif -#include "dbleBessel.h" +#include "lo-specfun.h" #include "defun-dld.h" #include "error.h" diff -r e3fc19fa9e69 -r 38684be52a3e src/Makefile.in --- a/src/Makefile.in Wed Dec 10 06:15:37 1997 +0000 +++ b/src/Makefile.in Fri Dec 12 04:01:56 1997 +0000 @@ -39,11 +39,11 @@ endif endif -DLD_XSRC := balance.cc bessel.cc chol.cc colloc.cc dassl.cc det.cc \ - eig.cc expm.cc fft.cc fft2.cc filter.cc find.cc fsolve.cc \ - getgrent.cc getpwent.cc getrusage.cc givens.cc hess.cc \ - ifft.cc ifft2.cc inv.cc log.cc lpsolve.cc lsode.cc \ - lu.cc minmax.cc pinv.cc qr.cc quad.cc qzval.cc rand.cc \ +DLD_XSRC := balance.cc bessel.cc betainc.cc chol.cc colloc.cc dassl.cc \ + det.cc eig.cc expm.cc fft.cc fft2.cc filter.cc find.cc \ + fsolve.cc gammainc.cc getgrent.cc getpwent.cc getrusage.cc \ + givens.cc hess.cc ifft.cc ifft2.cc inv.cc log.cc lpsolve.cc \ + lsode.cc lu.cc minmax.cc pinv.cc qr.cc quad.cc qzval.cc rand.cc \ schur.cc sort.cc svd.cc syl.cc time.cc DLD_SRC := $(addprefix DLD-FUNCTIONS/, $(DLD_XSRC)) @@ -76,13 +76,12 @@ pt-jump.h pt-loop.h pt-mat.h pt-misc.h pt-plot.h \ pt-pr-code.h pt-select.h pt-stmt.h pt-unop.h pt-walk.h -INCLUDES := BaseSLList.h Map.h SLList.h SLStack.h Stack.h defun-dld.h \ - defun-int.h defun.h dirfns.h dynamic-ld.h error.h file-io.h \ - fn-cache.h gripes.h help.h input.h lex.h load-save.h \ - oct-fstrm.h oct-hist.h oct-iostrm.h \ - oct-map.h oct-obj.h oct-prcstrm.h oct-procbuf.h \ - oct-stdstrm.h oct-stream.h oct-strstrm.h \ - oct-lvalue.h oct.h ops.h pager.h parse.h \ +INCLUDES := BaseSLList.h Map.h Pix.h SLList.h SLStack.h Stack.h \ + defun-dld.h defun-int.h defun.h dirfns.h dynamic-ld.h error.h \ + file-io.h fn-cache.h gripes.h help.h input.h lex.h load-save.h \ + oct-fstrm.h oct-hist.h oct-iostrm.h oct-map.h oct-obj.h \ + oct-prcstrm.h oct-procbuf.h oct-stdstrm.h oct-stream.h \ + oct-strstrm.h oct-lvalue.h oct.h ops.h pager.h parse.h \ pr-output.h procstream.h sighandlers.h symtab.h sysdep.h \ systime.h token.h toplev.h unwind-prot.h utils.h \ variables.h version.h xdiv.h xpow.h $(OV_INCLUDES) $(PT_INCLUDES) diff -r e3fc19fa9e69 -r 38684be52a3e src/pr-output.cc --- a/src/pr-output.cc Wed Dec 10 06:15:37 1997 +0000 +++ b/src/pr-output.cc Fri Dec 12 04:01:56 1997 +0000 @@ -25,6 +25,7 @@ #endif #include +#include #include #include @@ -41,7 +42,6 @@ #include "lo-mappers.h" #include "mach-info.h" #include "oct-cmplx.h" -#include "oct-math.h" #include "str-vec.h" #include "defun.h" diff -r e3fc19fa9e69 -r 38684be52a3e src/sysdep.cc --- a/src/sysdep.cc Wed Dec 10 06:15:37 1997 +0000 +++ b/src/sysdep.cc Fri Dec 12 04:01:56 1997 +0000 @@ -25,6 +25,7 @@ #endif #include +#include #include #include #include @@ -68,7 +69,6 @@ #include "lo-mappers.h" #include "mach-info.h" #include "oct-env.h" -#include "oct-math.h" #include "defun.h" #include "error.h"