Mercurial > hg > octave-max
changeset 3124:38684be52a3e
[project @ 1997-12-12 04:01:51 by jwe]
author | jwe |
---|---|
date | Fri, 12 Dec 1997 04:01:56 +0000 |
parents | e3fc19fa9e69 |
children | dcc6c985d72d |
files | ChangeLog config.h.bot configure.in emacs/octave-inf.el libcruft/ChangeLog libcruft/Makefile.in liboctave/Makefile.in scripts/ChangeLog src/BaseSLList.cc src/ChangeLog src/DLD-FUNCTIONS/bessel.cc src/Makefile.in src/pr-output.cc src/sysdep.cc |
diffstat | 14 files changed, 75 insertions(+), 34 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,18 @@ +Thu Dec 11 09:43:56 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + + * 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 <jwe@bevo.che.wisc.edu> + + * configure.in (AC_OUTPUT): Add libcruft/slatec-err/Makefile. + +Sun Nov 30 18:19:45 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + + * configure.in: Check for gamma and lgamma too. + Fri Nov 28 23:21:17 1997 John W. Eaton <jwe@bevo.che.wisc.edu> * configure.in (AC_OUTPUT): Include libcruft/specfun/Makefile.
--- a/config.h.bot +++ b/config.h.bot @@ -7,9 +7,13 @@ #define GCC_ATTR_UNUSED #endif -#define DYNAMIC_CAST(T, E) (T) (E) +#define CONST_CAST(T, E) const_cast<T> (E) + +#define DYNAMIC_CAST(T, E) dynamic_cast<T> (E) -#define REINTERPRET_CAST(T, E) (T) (E) +#define REINTERPRET_CAST(T, E) reinterpret_cast<T> (E) + +#define STATIC_CAST(T, E) static_cast<T> (E) #define HEAVYWEIGHT_INDEXING 1
--- 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.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.
--- a/emacs/octave-inf.el +++ b/emacs/octave-inf.el @@ -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)))))
--- a/libcruft/ChangeLog +++ b/libcruft/ChangeLog @@ -1,3 +1,11 @@ +Mon Dec 1 00:51:03 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + + * 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 <jwe@bevo.che.wisc.edu> * slatec-fn/xdgami.f, slatec-fn/xdbetai.f, slatec-fn/xderfc.f,
--- a/libcruft/Makefile.in +++ b/libcruft/Makefile.in @@ -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)
--- a/liboctave/Makefile.in +++ b/liboctave/Makefile.in @@ -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 \
--- a/scripts/ChangeLog +++ b/scripts/ChangeLog @@ -1,3 +1,10 @@ +Wed Dec 10 00:14:29 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + + * 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 <jwe@bevo.che.wisc.edu> * image/colormap.m: Initialize __current_color_map__ in global
--- a/src/BaseSLList.cc +++ b/src/BaseSLList.cc @@ -24,9 +24,8 @@ #include <config.h> #endif -#include <limits.h> -#include <stream.h> -#include <builtin.h> +#include <climits> + #include "BaseSLList.h" #include "error.h"
--- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,14 @@ +Tue Dec 9 02:45:35 1997 John W. Eaton <jwe@bevo.che.wisc.edu> + + * 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 <jwe@bevo.che.wisc.edu> + * 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.
--- a/src/DLD-FUNCTIONS/bessel.cc +++ b/src/DLD-FUNCTIONS/bessel.cc @@ -24,7 +24,7 @@ #include <config.h> #endif -#include "dbleBessel.h" +#include "lo-specfun.h" #include "defun-dld.h" #include "error.h"
--- a/src/Makefile.in +++ b/src/Makefile.in @@ -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)
--- a/src/pr-output.cc +++ b/src/pr-output.cc @@ -25,6 +25,7 @@ #endif #include <cfloat> +#include <cmath> #include <cstdio> #include <cstring> @@ -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"
--- a/src/sysdep.cc +++ b/src/sysdep.cc @@ -25,6 +25,7 @@ #endif #include <cfloat> +#include <cmath> #include <cstddef> #include <cstdio> #include <cstdlib> @@ -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"