Commit Graph

248 Commits

Author SHA1 Message Date
Quincey Koziol
0b332ace5e [svn-r9928] Purpose:
New feature

Description:
    Add basic code for new B-tree implementation.  They don't do much yet,
aren't hooked up to anything yet and the format may change, but I'd like to
start getting them into the daily tests.

Platforms tested:
    FreeBSD 4.11 (sleipnir) w/parallel
    Too minor to require h5committest
2005-02-03 14:59:05 -05:00
James Laird
ab243bf369 [svn-r9920] Purpose:
Bug fix

Description:
Found the permanant fix to automake/CVS dependency problem

Solution:
Added AM_MAINTAINER_MODE macro to configure.in.
Now automake will never try to regenerate Makefiles, Makefiles.in,
configure, H5config.h, etc. when they are out of date, nor will it
print any warnings.
Developers should  be very very careful to use reconfigure script,
and can add --enable-maintainer-mode flag to configure on heping
to regenerate these files correctly.

Platforms tested:
heping sleipnir copper
2005-02-02 15:59:46 -05:00
James Laird
ed8685acd2 [svn-r9915] Purpose:
Bug fix

Description:
Configuration files' timestamps were incorrect.

Solution:
Update Makefiles.in.  Also added correct paths to autotools on heping,
so heping build should be able to re-generate configuration files even
if they are still broken.

Platforms tested:
sleipnir
2005-02-02 11:00:36 -05:00
James Laird
e3dacb31be [svn-r9912] Purpose:
Bug fix

Description:
Dependencies between configure files (aclocal, configure.in, configure,
Makefiles.am and .in) are still causing Makefiles to try to run autotools
during build.

Solution:
Committed all Makefiles.in to update their timestamps.
As a temporary measure, forcibly prevented automake from running
autotools during build by redefining the variables it uses.

Platforms tested:
sleipnir (No changes to Makefile content)
2005-02-01 16:05:33 -05:00
James Laird
30bfb1e0ea [svn-r9907] Purpose:
Bug fix

Description:
Different compilers use different flags to include Fortran module files

Solution:
Changed boilerplate to use configure variable rather than hardcoded -M flag.

Platforms tested:
sleipnir, sol, copper
2005-02-01 10:27:37 -05:00
James Laird
26303241fe [svn-r9902] Purpose:
Configuration feature

Description:
HDF5 now uses automake to generate Makefiles

Solution:
Makefile.in files are now generated from Makefile.am files.
To reconfigure (after chaning a Makefile.am or configure.in):
/bin/sh bin/reconfigure.sh

Platforms tested:
Many
2005-01-31 22:17:02 -05:00
Quincey Koziol
427ff7da28 [svn-r9727] Purpose:
Bug Fix/Code Cleanup/Doc Cleanup/Optimization/Branch Sync :-)

Description:
    Generally speaking, this is the "signed->unsigned" change to selections.
However, in the process of merging code back, things got stickier and stickier
until I ended up doing a big "sync the two branches up" operation.  So... I
brought back all the "infrastructure" fixes from the development branch to the
release branch (which I think were actually making some improvement in
performance) as well as fixed several bugs which had been fixed in one branch,
but not the other.

    I've also tagged the repository before making this checkin with the label
"before_signed_unsigned_changes".

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/parallel & fphdf5
    FreeBSD 4.10 (sleipnir) w/threadsafe
    FreeBSD 4.10 (sleipnir) w/backward compatibility
    Solaris 2.7 (arabica) w/"purify options"
    Solaris 2.8 (sol) w/FORTRAN & C++
    AIX 5.x (copper) w/parallel & FORTRAN
    IRIX64 6.5 (modi4) w/FORTRAN
    Linux 2.4 (heping) w/FORTRAN & C++


Misc. update:
2004-12-29 09:26:20 -05:00
Pedro Vicente Nunes
b1df0a57aa [svn-r9650] Purpose:
added support for the hl library int the c++ examples

Description:

Solution:

Platforms tested:
linux

Misc. update:
2004-12-10 16:20:00 -05:00
Binh-Minh Ribler
d58b9bf5b2 [svn-r9555] Purpose: Fixing minor bug
Description:
    Xuan reported that "uint" used in this example caused error when
    built with MS Visual Studio compiler.

Solution:
    Changed to "int."

Platforms tested:
    Very minor, so I only tested on eirene.  I'll let Xuan know
    to check on Windows.

Misc. update:
2004-11-21 14:24:08 -05:00
Quincey Koziol
25e887fb7a [svn-r8997] Purpose:
Code cleanup

Description:
    Clean up some temporary files.

Platforms tested:
    FreeBSD 4.10 (sleipnir) w/C++
    Not tested by h5committest
2004-08-02 22:24:35 -05:00
Binh-Minh Ribler
f73369b20c [svn-r8822] Purpose: Update Makefile.in
Description:
    Removed macro H5_FILES from Makefile.in so that output files from the
    example programs will not be installed.

Platforms tested:
    Linux 2.4 (eirene)
    SunOS 5.7 (arabica)
2004-07-07 16:00:49 -05:00
Binh-Minh Ribler
edf65a8ae8 [svn-r8816] Purpose: Remove files
Description:
    These data files are generated by the example programs and shouldn't
    need to be in the CVS.  Removed them.

Platforms tested:
    SunOS 5.7 (arabica)
    Linux 2.4 (eirene)
2004-07-06 21:20:23 -05:00
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