changeset 2569:5e0c65023ba5

[project @ 1996-12-06 07:36:46 by jwe]
author jwe
date Fri, 06 Dec 1996 07:37:17 +0000
parents ed6532d8bf12
children 58113987ee03
files PROJECTS src/ChangeLog src/Makefile.in src/Map.cc src/Map.h src/SLStack.cc src/SLStack.h
diffstat 7 files changed, 37 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/PROJECTS
+++ b/PROJECTS
@@ -204,6 +204,12 @@
 Interpreter:
 -----------
 
+  * If foo.oct and foo.m both exist in the LOADPATH, Octave will
+    always find foo.oct, even if foo.m appears earlier in the list of
+    directories.  This should be fixed (in the kpathsearch library) to
+    find the first .oct or .m file in the path, and only prefer .oct
+    over .m if both files are in the same directory.
+
   * Fix the grammar to allow structure references and index operations
     for for anonymous expressions.  For example, it should be possible
     to write
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
+Fri Dec  6 00:20:25 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
+
+	* Makefile.in (TEMPLATE_SRC): Delete.  Move files to SOURCES.
+	* Map.h, Map.cc: Add #pragma interface/implementation.
+	* SLStack.h, SLStack.cc: Add #pragma interface/implementation.
+
+	* SLList.h, SLList.cc: New files, from libg++, but with #pragma
+	interface/implementation.
+	* Makefile.in (SOURCES): Add SLList.cc.
+	(INCLUDES): Add SLList.h.
+
 Thu Dec  5 18:36:44 1996  John W. Eaton  <jwe@bevo.che.wisc.edu>
 
 	* octave.cc: Don't include sun-utils.h.
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -80,7 +80,7 @@
 	pt-plot.h pt-pr-code.h pt-walk.h sighandlers.h symtab.h \
 	syscalls.h sysdep.h systime.h syswait.h token.h toplev.h \
 	unwind-prot.h utils.h variables.h version.h \
-	xdiv.h xpow.h Map.h SLStack.h Stack.h \
+	xdiv.h xpow.h Map.h SLList.h SLStack.h Stack.h \
 	ov-re-mat.h ov-cx-mat.h ov-ch-mat.h ov-struct.h ov-scalar.h \
 	ov-range.h ov-complex.h ov-va-args.h ov-colon.h ov-base.h \
 	ov-str-mat.h ov.h ov-typeinfo.h ops.h \
@@ -104,8 +104,8 @@
   endif
 endif
 
-SOURCES := data.cc defaults.cc dirfns.cc dynamic-ld.cc error.cc \
-	file-io.cc fn-cache.cc gripes.cc \
+SOURCES := Map.cc SLList.cc SLStack.cc data.cc defaults.cc dirfns.cc \
+	dynamic-ld.cc error.cc file-io.cc fn-cache.cc gripes.cc \
 	help.cc input.cc lex.l load-save.cc mappers.cc oct-fstrm.cc \
 	oct-hist.cc oct-iostrm.cc oct-map.cc oct-obj.cc oct-prcstrm.cc \
 	oct-procbuf.cc oct-stdstrm.cc oct-stream.cc oct-strstrm.cc \
@@ -124,8 +124,6 @@
 	op-m-m.cc op-m-s.cc op-s-cm.cc op-s-cs.cc op-s-m.cc op-s-s.cc \
 	op-str-str.cc
 
-TEMPLATE_SRC = Map.cc SLStack.cc
-
 OBJECTS_4 := $(SOURCES)
 OBJECTS_3 := $(patsubst %.l, %.o, $(OBJECTS_4))
 OBJECTS_2 := $(patsubst %.y, %.o, $(OBJECTS_3))
@@ -170,7 +168,7 @@
 DISTFILES = Makefile.in ChangeLog mkdefs mkbuiltins mk-oct-links.in \
 	defaults.h.in oct-conf.h.in octave.gperf oct-gperf.h \
 	octave.cc parse.cc lex.cc y.tab.h \
-	$(INCLUDES) $(DLD_SRC) $(SOURCES) $(TEMPLATE_SRC) $(TI_SRC)
+	$(INCLUDES) $(DLD_SRC) $(SOURCES) $(TI_SRC)
 
 all: stamp-prereq stamp-picdir libraries \
 	$(OCT_FILES) octave
--- a/src/Map.cc
+++ b/src/Map.cc
@@ -33,6 +33,10 @@
 
 */
 
+#if defined (__GNUG__)
+#pragma implementation
+#endif
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
--- a/src/Map.h
+++ b/src/Map.h
@@ -36,6 +36,10 @@
 #if ! defined (octave_Map_h)
 #define octave_Map_h 1
 
+#if defined (__GNUG__)
+#pragma interface
+#endif
+
 #include <string>
 
 #include <Pix.h>
--- a/src/SLStack.cc
+++ b/src/SLStack.cc
@@ -20,6 +20,10 @@
 
 */
 
+#if defined (__GNUG__)
+#pragma implementation
+#endif
+
 #ifdef HAVE_CONFIG_H
 #include <config.h>
 #endif
--- a/src/SLStack.h
+++ b/src/SLStack.h
@@ -36,6 +36,10 @@
 #if !defined (_SLStack_h)
 #define _SLStack_h 1
 
+#if defined (__GNUG__)
+#pragma interface
+#endif
+
 #include "SLList.h"
 #include "Stack.h"