Commit Graph

36 Commits

Author SHA1 Message Date
Binh-Minh Ribler
d8b497ecef [svn-r7741] Purpose:
Fix example

Description:
    On Solaris 64 (Sol), the output has garbage for a dataset when
    fill value is not set.

Solution:
    Added setting fill value to the dataset first.

Platforms:
    Only effected C++ API
    Linux 2.4 (eirene)
    SunOS sol 5.8 (sol)
2003-10-26 13:54:07 -05:00
Bill Wendling
0603e2db00 [svn-r7269] Purpose:
Update

Description:
    Revamped the configuration system. The configurations for the Fortran
    and C++ libraries are no longer separate from the "main"
    configuration system. This involved removing the "configure*" and
    "aclocal.m4" files from the fortran/ and c++/ subdirectories. Also
    merging settings in the config/ subdirectories into the main config/
    subdirectory.

    Fortran header files had to be modified a little for Linux. It was
    checking if it was a Linux machine by some #defines, however with the
    -std=c99 switch, these defines weren't there. I added a check for
    some other ones which should be there whether the -std=c99 switch is
    used or not.

Platforms tested:
    Verbena (Fortran & C++)
    Sol (Fortran & C++)
    Copper (Fortran & C++)
    Modi4 (Parallel, Fortran, & C++)

Misc. update:
2003-07-28 16:38:04 -05:00
Binh-Minh Ribler
df4d03a81f [svn-r7213] Purpose:
Bug fix

Description:
    Elena and I suspected that the order of *.cpp files in TEST_SRC
    might have caused the failure of a C++ examples in the daily test.

Solution:
    Reordered the files from:
	compound.cpp h5group.cpp create.cpp readdata.cpp chunks.cpp    \
        extend_ds.cpp writedata.cpp
    to:
	create.cpp readdata.cpp writedata.cpp compound.cpp extend_ds.cpp \
        chunks.cpp h5group.cpp

Platforms tested:
    Tested on verbena and the examples still worked (without -tlocal.)
    I'll be testing on other platforms later tonight, I'm trying to
    catch the daily test!

Misc. update:
2003-07-11 17:46:06 -05:00
Binh-Minh Ribler
fa77b6691e [svn-r7104] Purpose:
Bug fix

Description:
    Missing returning error for failures occur in C++ examples.

Solution:
    Added "return -1;" when an exception is caught.
    Also, turned off automatic error printing so that the C++ API
        will catch and handle the failures.

Platforms:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
    IRIX 6.5.11 (modi4)
2003-06-25 12:25:11 -05:00
Bill Wendling
9807a15018 [svn-r7039]
Purpose:
	Bug Fix

Description:
	There was another GNU-make-ism in the C++ examples Makefile.in
	that I didn't clean up.

Solution:
	Changed the "$<" to the name of the file to compile.

Platforms tested:
	Copper (Small fix...problem was on Copper).

Misc. update:
2003-06-13 15:40:40 -05:00
Bill Wendling
ad76468b3e [svn-r6981] Purpose:
Utility Addition

Description:
    Added h5c++ script file to compile HDF5 C++ applications.

    Modified so that these are compiled only during a make check-install
    action and then only with the h5c++ script.

Platforms tested:
    Verbena (Fortran & C++)
    Arabica (Fortran & C++)
    Modi4 (Fortran & Parallel)

Misc. update:
2003-06-05 17:16:57 -05:00
Bill Wendling
c390d06017 [svn-r6842] Purpose:
Code Cleanup

Description:
    Warning messages were being produced by the "make" program because
    the "docdir" was being specified twice as a target in the generated
    Makefiles. This is because the "EXAMPLESDIR" was also defined as
    "docdir".

Solution:
    Made "EXAMPLESDIR" unique for C, Fortran, and C++ in the commence.in
    file and removed EXAMPLESDIR from the Makefile.ins

Platforms tested:
    Dangermouse (only affects make system, not code).

Misc. update:
2003-05-08 18:19:15 -05:00
Binh-Minh Ribler
da0f4cd981 [svn-r6510] Purpose:
Cleanup

Description:
    Removed "using namespace std" since it's in namespace H5 already.


Platforms tested:
    HPUX 11.00 (kelgia)
    Linux 2.2x (eirene)
    IRIX 6.5.11 (modi4)
    SunOS 5.7 (arabica) - by Elena


Misc. update:
2003-03-19 21:13:13 -05:00
Bill Wendling
a6b59791ab [svn-r6485] Purpose:
Bug Fix
Description:
    "using namespace std" isn't supported on HP-UX. We ahve the H5_NO_STD
    flag begin set, but it wasn't being used.
Solution:
    Added the check to the #ifdef line to see if H5_NO_STD is defined
    before trying to use it in the program.
Platforms tested:
    Kelgia
2003-03-17 12:20:07 -05:00
Binh-Minh Ribler
7fd449cb79 [svn-r6236] Purpose: Copyright
Description:
    Added copyright notice to C++ API files, including *.h, *.cpp, and
    Makefile.in

Platforms:
    Linux 6.2 (eirene)
2003-01-06 23:22:12 -05:00
Bill Wendling
a73450e29d [svn-r4849]
Purpose:
	Fix fix
Description:
	Moved Binh-Minh's fix of the lack of support for C++ in libtool by
	adding the DEFAULT_LIBS macro into the configure.in and
	config/commence.in files.
Solution:
	Put it into the configure.in and commence.in files. Reran autoconf.
2002-01-22 15:14:46 -05:00
Binh-Minh Ribler
6088512f7c [svn-r4847]
Purpose:
    Added platform support

Description:
    The current libtool doesn't fully support C++ yet, so until it
    does, the default libraries have to be manually specify.
    Some minor cleanups needed.

Solution:
    Added DEFAULT_LIBS=@DEFAULT_LIBS@ to use new macro for default library.
    Added $(DEFAULT_LIBS) to link lines.
    Removed inappropriate comments.

Platforms tested:
    IRIX64 (modi4)
    I'll check out again to make sure I haven't broken anything else.
2002-01-21 22:45:47 -05:00
Bill Wendling
5e834c4cbc [svn-r4466]
Purpose:
    Feature Add
Description:
    Added "install-example" and "install-all" to the Makefile system.
    The behaviour of the "make install*" options:

        make install          - Installs binaries, libraries, include
                                files, and example programs.
        make install-examples - Installs only the example programs.
                                The directories are:

                            ${prefix}/doc/hdf5/examples/{c,c++,fortran}

        make install-all      - Install the binaries, libraries, include
                                files, example programs, and
                                documentation. The whole kit-n'-caboodle.
        make uninstall-examples - Get rid of those example files (but not
                                  the ${prefix}/doc/hdf5/examples/...
                                  directories)

    There's a new bin/ program which helps create directories which are
    deeply nested called "mkdirs". It's a simple shell script.
Platforms tested:
    Linux
2001-09-21 18:50:15 -05:00
Bill Wendling
73e6cacf08 [svn-r4298]
Purpose:
    Regenerated Dependencies Files
2001-08-01 17:18:50 -05:00
Bill Wendling
8e6025694b [svn-r3576] Purpose:
Update
Description:
    We now have a "real" testing thingy for the C++ code. We don't need
    to run things in the examples directory.
Solution:
    Commented out the "TEST_SCRIPT" line.
Platforms tested:
    Linux
2001-03-08 15:48:29 -05:00
Bill Wendling
cc647cfe5f [svn-r3537] Purpose:
Bug Fix
Description:
    Wasn't building the test programs if user simply did a build with
    ``make check'' instead of ``make all && make check''.
Solution:
    Put the test programs in the TEST_PROGS macro so that they'd be
    built.
Platforms tested:
    Linux
2001-03-02 13:14:26 -05:00
Bill Wendling
dc08de60a6 [svn-r3100] Purpose:
Fix
Description:
	When not building in the same directory, we needed to tell the
	checker wherre to look for files.
Solution:
	Put $(srcdir) before things which needed it.
Platforms tested:
	Linux
2000-12-08 13:28:02 -05:00
Bill Wendling
4aab9c01df [svn-r3097] Purpose:
Add
Description:
	Adding a small amount of testing to the C++ library until "real"
	testing can be created. (We use the examples).
Platforms tested:
	Linux
2000-12-08 11:15:00 -05:00
Bill Wendling
f271832d0d [svn-r3090] Purpose:
Fix
Description:
	Windows couldn't handle the .C extension. The filenames had to be
	changed to *.cpp instead.
Solution:
	Changed in the Makefiles to accomodate said change.
Platforms tested:
	Eyeballed.
2000-12-06 22:43:42 -05:00
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
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
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
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
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
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