Commit Graph

1191 Commits

Author SHA1 Message Date
Binh-Minh Ribler
4e615c2188 [svn-r3089] Renamed create.C to create.cpp 2000-12-06 20:13:17 -05:00
Binh-Minh Ribler
8b32e8d742 [svn-r3088] Renamed writedata.C to writedata.cpp 2000-12-06 20:12:13 -05:00
Binh-Minh Ribler
c2885f09c4 [svn-r3087] Renamed readdata.C to readdata.cpp 2000-12-06 20:11:47 -05:00
Binh-Minh Ribler
e157b311b6 [svn-r3086] Renamed h5group.C to h5group.cpp 2000-12-06 20:11:23 -05:00
Binh-Minh Ribler
9758b5a14c [svn-r3085] Renamed extend_ds.C to extend_ds.cpp 2000-12-06 20:11:00 -05:00
Binh-Minh Ribler
146482863a [svn-r3084] Renamed compound.C to compound.cpp 2000-12-06 20:10:27 -05:00
Binh-Minh Ribler
6bf869bd73 [svn-r3083] Renamed chunks.C to chunks.cpp 2000-12-06 20:09:22 -05:00
Binh-Minh Ribler
b337b85b13 [svn-r3082] Purpose:
Renaming source files for portability
Description:
        Removed *.C files after adding the corresponding *.cpp files.
Platforms tested:
2000-12-06 19:50:09 -05:00
Binh-Minh Ribler
0ed058b1c0 [svn-r3081]
Purpose:
	Renaming source files for portability
Description:
	Removed *.C files after adding the corresponding *.cpp files.
Platforms tested:
2000-12-06 19:46:58 -05:00
Binh-Minh Ribler
f148ff3caf [svn-r3080]
Purpose:
	Support portability
Description:
	I forgot that source file extension .C will not work on Windows.
Solution:
	Changed all source file from *.C to *.cpp for portability.
Platforms tested:
	arabica (sparc-sun-solaris 2.7)
2000-12-06 19:04:08 -05:00
Binh-Minh Ribler
7df8cd5cfe [svn-r3079] Purpose: bug fix - by C API
Description:
	The prototype of two C API functions, H5Tget_offset and
	H5Sget_simple_extent_npoints was changed to fix bug #446,
	resulting in the need for updating the two corresponding
	C++ API functions.

Solution:
	- Changed the return type of AtomType::getOffset from size_t
	  to int, and the error return value from 0 to -1.
	- Changed the return type of DataSpace::getSimpleExtentNpoints
	  from hsize_t to hssize_t, and the error value from 0 to -1.

Platforms tested:
	arabica (sparc-sun-solaris 2.7)
2000-12-05 23:59:37 -05:00
Bill Wendling
b2992ce841 [svn-r3076] Purpose:
New Flag
Description:
	Added a test to see if the C++ compiler can handle the bool
	datatype. If not, then it defines the BOOL_NOTDEFINED macro.
2000-12-05 01:39:11 -05:00
Bill Wendling
e552b96ce3 [svn-r3074] Purpose:
Improvement
Description:
	Made the Makefiles better.
Solution:
	Added standard macros concerning where things are place. Like
	libraries and so forth.
Platforms tested:
	Linux
2000-12-04 15:25:14 -05:00
Bill Wendling
4a7a715c0d [svn-r3049] Purpose:
YABF
Description:
	Needed to add the source directory for the built HDF5 library.
Solution:
	Added -I../../src to the compile flags.
Platforms tested:
	Linux
2000-12-01 11:50:25 -05:00
Bill Wendling
570713c289 [svn-r3048] Purpose:
Refix
Description:
	The C++ stuff also needs the main HDF5 headers.
Solution:
	Added the flag to do just that.
Platforms tested:
	Linux
2000-12-01 10:57:04 -05:00
Bill Wendling
f6f5fc0c45 [svn-r3047] Purpose:
Bug fix
Description:
	When building in a different directory, we weren't picking up the
	header files correctly. The -I flag wasn't pointing to the
	correct place.
Solution:
	Changed the -I flag to point to the C++ source directory.
Platforms tested:
	Linux
2000-12-01 10:46:54 -05:00
Bill Wendling
c834f719ef [svn-r3046] Purpose:
Reversal of Patch
Description:
	I thought that the solaris boxen could handle the -Wc,<flag> flag
	(or, rather, that libtool would do the correct thing with their
	compilers). However, this isn't the case, apparently.
Solution:
	Removed the ``-Wc,-LANG:std'' flag and put it in the CPPFLAGS
	macro instead. This should cause it to be passed to the compiler
	only...one hopes...
2000-12-01 10:44:18 -05:00
Bill Wendling
dd675708fd [svn-r3044] Purpose:
Argh!
Description:
	Again the compiler doesn't like the -dlopen self flag when
	compiling...
Platforms tested:
	Linux
2000-11-30 15:37:45 -05:00
Bill Wendling
0d62839e12 [svn-r3039] Purpose:
Oops.
Description:
	Forgot to make the libraries static since we're not certain that
	they can be shared...
2000-11-30 15:00:19 -05:00
Bill Wendling
b253cfbbec [svn-r3037] Purpose:
Bug-ish fix
Description:
	Spurious warnings would show up if libtool was trying to pass the
	-LANG:std flag to the compile line.

	Also, if the library is compiled with -all-static, then it would
	complain about not finding dlopen and friends.
Solution:
	Used the libtool -Wc,<flag> option to pass the -LANG:std flag to
	the compile line.

	Used ``-dlopen self'' when compiling.
Platforms tested:
	Linux
2000-11-30 14:52:42 -05:00
Bill Wendling
42f2e2e08d [svn-r2940] Purpose:
Bug
Description:
	Compiler needed both the -instances=global and the -LANG:std flag
	to function.

	libtools spits out a warning about not being able to find the
	ANG:std library directory, but that's okay...it passes it to the
	linker anyway.
Platforms tested:
	Solaris (Arabica)
2000-11-15 16:16:11 -05:00
Bill Wendling
a8533e99af [svn-r2939] Purpose:
Bug
Description:
	When copying the --enable-production stuff, I forgot to change
	the CFLAGS to CXXFLAGS...
Platforms tested:
	Solaris
2000-11-15 16:13:09 -05:00
Bill Wendling
3fe3fde6f4 [svn-r2937] Purpose:
Feature Update
Description:
	Added ability to compile code as production, development, or
	profile with the appropriate flags...
2000-11-15 15:01:16 -05:00
Bill Wendling
488adf6670 [svn-r2936] Purpose:
Bug
Description:
	Solaris needs the ``-instances=global'' flag to make templates
	open to everyone.
Solution:
	Added
Platforms tested:
	Sun (Arabica)
2000-11-15 15:00:27 -05:00
Bill Wendling
a3282af132 [svn-r2932] Purpose:
Changed to handle tracing in C++ files.
Description:
	Pointed to the correct ``trace'' program (the one in hdf5/bin/)
Platforms tested:
	Linux
2000-11-15 13:00:04 -05:00
Bill Wendling
3c2314dcbb [svn-r2931] Purpose:
Changed to handle tracing in C++ files.
Description:
	Added case statements around the tracing logic.
Platforms tested:
	Linux
2000-11-15 12:59:28 -05:00
Bill Wendling
7243a3b7c2 [svn-r2926] Purpose:
Needed Dependencies file
2000-11-15 12:43:06 -05:00
Bill Wendling
a49f1fc636 [svn-r2924] Purpose:
Bug fix
Description:
	distclean was removing .C files.
Solution:
	It was trying to remove the .f90 extension, of which there wasn't
	one.
Platforms tested:
	Linux
2000-11-15 12:18:00 -05:00
Bill Wendling
f099d83060 [svn-r2920] Purpose:
Buglet fix...
Description:
        When configuring, configure would complain about there not being
        a confdefs.h file.
Solution:
        Added a src/H5config.h file which configure can generate. This
        can be used for configure stuff later, but is empty now.
Platforms tested:
	Linux
2000-11-15 11:40:42 -05:00
Bill Wendling
426be778aa [svn-r2918] Purpose:
Bug fix
Description:
	It would be nice if I'd done this correctly the first time.
Solution:
	Doh! NEeded to use the ``using'' keyword...
Platforms tested:
	Linux
2000-11-15 11:26:14 -05:00
Bill Wendling
8d6ec211c1 [svn-r2917] Purpose:
Bug fix
Description:
	Namespace wasn't being detected properly.
Solution:
	Changed it to do it properly (not putting the main() function in
	the namespace);
Platforms tested:
	Linux
2000-11-15 11:23:21 -05:00
Bill Wendling
927e5beba7 [svn-r2916] Purpose:
include file
Description:
	Added header file to the PUB_HDR macro so that it'll be
	installed with the library.
2000-11-15 11:17:49 -05:00
Bill Wendling
80429f7f45 [svn-r2914] Purpose:
Bug fix
Description:
	libtool complained that the library name didn't have a ``lib''
	prefix. Also, the $(top_srcdir) macro points to the top of the
	c++/ directory, which was messing up the -I$(top_srcdir)/src
	stuff. It needed to be changed to the correct value.
Solution:
	Made it so
Platforms tested:
	Linux
2000-11-15 11:06:32 -05:00
Bill Wendling
8dcb33c00e [svn-r2913] Purpose:
Bug fix
Description:
	Configure wasn't picking up the LT_STATIC_EXEC stuff from the
	top-level configure.
Solution:
	Added LT_STATIC_EXEC logic
Platforms tested:
	Linux
2000-11-15 11:04:48 -05:00
Bill Wendling
9f1175ee2c [svn-r2907] Purpose:
Bug FIx
Description:
	The Source file was renamed. Changed it to that name.
2000-11-14 18:26:33 -05:00
Bill Wendling
e558d37f0f [svn-r2904] Purpose:
Adding some of the config stuff. Binh-Minh should go through the
	others (and these) to see if they are correct.
2000-11-14 18:16:41 -05:00
Bill Wendling
8767d3db38 [svn-r2903] Purpose:
Adding Makefiles and configure stuff.
2000-11-14 18:16:05 -05:00
Bill Wendling
118598968f [svn-r2902] Purpose:
Adding binaries needed for configure
2000-11-14 18:15:40 -05:00
Bill Wendling
be035551d3 [svn-r2901] Purpose:
Adding Makefile
2000-11-14 18:15:12 -05:00
Binh-Minh Ribler
083fa734a3 [svn-r2898]
Purpose:
	C++ API for 1.3.x branch

Description:
	The *.C files are the sample code that perform some common
	operations to an HDF5 file and its components.
	The *.h5 files are the HDF5 files that are generated/used
	by the sample programs.

Platforms tested:
	Solaris (arabica) and Linux
2000-11-14 16:36:14 -05:00
Binh-Minh Ribler
92041a6865 [svn-r2897] Purpose:
C++ API for 1.3.x branch

Description:
	The *.C and *.h files named different than those in 1.2.x.
	They are in the form: 'H5' + classname, or just classname if
	the classname is already prefixed with 'H5' to avoid ambiguity
	in documentation context.  This version has several hidden bugs
	fixed and an improvement on the reference counting approach.
	The classes and their inheritance structure are listed below:
	---------------------------------------
	H5Library
	Exception
	RefCounter
	IdComponent
		H5File
		DataSpace
		H5Object
			Group
			AbstractDs
				DataSet
				Attribute
			DataType
				PredType
				EnumType
				CompType
				AtomType
					StrType
					IntType
					FloatType
		PropList
			FileCreatPropList
			FileAccPropList
			DSetCreatPropList
			DSetMemXferPropList
	---------------------------------------
	IdComponent uses RefCounter to keep track of opened objects
	so proper termination of HDF5 objects can be maintained.
	Each class has a .h file containing the class declaration and
	a .C file containing its definition.  In addition to the classes
	files, the following files do not have class information:

	- H5Cpp.h: header file to be included in user's application
	- H5Idtemplates.h: contains a template function used by several classes
	- H5Classes.h: contains forward class declarations
	- H5CommonFG.*: contains common code used by classes H5File and Group
	- H5Include.h: contains the hdf5.h header file and the #undef RCSID
		to work around the problem: multiple defined RcsId
	- H5Alltypes.h: simply serves as a container to hold the header
		files of all datatypes to simplify the header file inclusion

Platforms:
	Solaris (arabica) and Linux
2000-11-14 16:30:12 -05:00