summaryrefslogtreecommitdiffstats
path: root/c++/examples
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9727] Purpose:Quincey Koziol2004-12-294-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r9650] Purpose:Pedro Vicente Nunes2004-12-101-1/+1
| | | | | | | | | | | | | added support for the hl library int the c++ examples Description: Solution: Platforms tested: linux Misc. update:
* [svn-r9555] Purpose: Fixing minor bugBinh-Minh Ribler2004-11-211-1/+1
| | | | | | | | | | | | | | | 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:
* [svn-r8997] Purpose:Quincey Koziol2004-08-031-1/+1
| | | | | | | | | | | Code cleanup Description: Clean up some temporary files. Platforms tested: FreeBSD 4.10 (sleipnir) w/C++ Not tested by h5committest
* [svn-r8822] Purpose: Update Makefile.inBinh-Minh Ribler2004-07-071-2/+1
| | | | | | | | | | 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)
* [svn-r8816] Purpose: Remove filesBinh-Minh Ribler2004-07-076-0/+0
| | | | | | | | | | 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)
* [svn-r7741] Purpose:Binh-Minh Ribler2003-10-261-1/+6
| | | | | | | | | | | | | | | | 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)
* [svn-r7269] Purpose:Bill Wendling2003-07-281-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r7213] Purpose:Binh-Minh Ribler2003-07-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | 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:
* [svn-r7104] Purpose:Binh-Minh Ribler2003-06-257-134/+240
| | | | | | | | | | | | | | | | | 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)
* [svn-r7039] Bill Wendling2003-06-131-7/+7
| | | | | | | | | | | | | | | | | 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:
* [svn-r6981] Purpose:Bill Wendling2003-06-051-21/+19
| | | | | | | | | | | | | | | | | 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:
* [svn-r6842] Purpose:Bill Wendling2003-05-081-2/+0
| | | | | | | | | | | | | | | | | | | 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:
* [svn-r6510] Purpose:Binh-Minh Ribler2003-03-207-21/+0
| | | | | | | | | | | | | | | | | 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:
* [svn-r6485] Purpose:Bill Wendling2003-03-177-7/+7
| | | | | | | | | | | | 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
* [svn-r6236] Purpose: CopyrightBinh-Minh Ribler2003-01-078-3/+111
| | | | | | | | | Description: Added copyright notice to C++ API files, including *.h, *.cpp, and Makefile.in Platforms: Linux 6.2 (eirene)
* [svn-r4849] Bill Wendling2002-01-221-5/+0
| | | | | | | | | | | 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.
* [svn-r4847] Binh-Minh Ribler2002-01-221-10/+16
| | | | | | | | | | | | | | | | | | | 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.
* [svn-r4466] Bill Wendling2001-09-211-2/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [svn-r4298] Bill Wendling2001-08-011-0/+3
| | | | | Purpose: Regenerated Dependencies Files
* [svn-r3576] Purpose:Bill Wendling2001-03-081-1/+1
| | | | | | | | | | | 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
* [svn-r3537] Purpose:Bill Wendling2001-03-021-2/+2
| | | | | | | | | | | | 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
* [svn-r3100] Purpose:Bill Wendling2000-12-082-4/+4
| | | | | | | | | | | 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
* [svn-r3097] Purpose:Bill Wendling2000-12-083-2/+141
| | | | | | | | | 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
* [svn-r3090] Purpose:Bill Wendling2000-12-071-5/+5
| | | | | | | | | | | 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.
* [svn-r3089] Renamed create.C to create.cppBinh-Minh Ribler2000-12-071-0/+0
|
* [svn-r3088] Renamed writedata.C to writedata.cppBinh-Minh Ribler2000-12-071-0/+0
|
* [svn-r3087] Renamed readdata.C to readdata.cppBinh-Minh Ribler2000-12-071-0/+0
|
* [svn-r3086] Renamed h5group.C to h5group.cppBinh-Minh Ribler2000-12-071-0/+0
|
* [svn-r3085] Renamed extend_ds.C to extend_ds.cppBinh-Minh Ribler2000-12-071-0/+0
|
* [svn-r3084] Renamed compound.C to compound.cppBinh-Minh Ribler2000-12-071-0/+0
|
* [svn-r3083] Renamed chunks.C to chunks.cppBinh-Minh Ribler2000-12-071-0/+0
|
* [svn-r3074] Purpose:Bill Wendling2000-12-041-2/+3
| | | | | | | | | | | Improvement Description: Made the Makefiles better. Solution: Added standard macros concerning where things are place. Like libraries and so forth. Platforms tested: Linux
* [svn-r3049] Purpose:Bill Wendling2000-12-011-1/+1
| | | | | | | | | | YABF Description: Needed to add the source directory for the built HDF5 library. Solution: Added -I../../src to the compile flags. Platforms tested: Linux
* [svn-r3048] Purpose:Bill Wendling2000-12-011-1/+1
| | | | | | | | | | Refix Description: The C++ stuff also needs the main HDF5 headers. Solution: Added the flag to do just that. Platforms tested: Linux
* [svn-r3047] Purpose:Bill Wendling2000-12-011-1/+1
| | | | | | | | | | | | 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
* [svn-r2932] Purpose:Bill Wendling2000-11-151-2/+2
| | | | | | | | Changed to handle tracing in C++ files. Description: Pointed to the correct ``trace'' program (the one in hdf5/bin/) Platforms tested: Linux
* [svn-r2926] Purpose:Bill Wendling2000-11-151-0/+0
| | | | Needed Dependencies file
* [svn-r2924] Purpose:Bill Wendling2000-11-151-1/+1
| | | | | | | | | | | 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
* [svn-r2914] Purpose:Bill Wendling2000-11-151-2/+2
| | | | | | | | | | | | | 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
* [svn-r2901] Purpose:Bill Wendling2000-11-141-0/+59
| | | | Adding Makefile
* [svn-r2898] Binh-Minh Ribler2000-11-1413-0/+1306
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