summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r11883] Purpose: Fixed bugBinh-Minh Ribler2006-01-181-2/+0
| | | | | | | | | | Description: Removed the call to h5_test from dsets.cpp, since resetting the library made the C++ global constants become invalid. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
* [svn-r11845] Purpose: Adding another wrapper/Fixing typosBinh-Minh Ribler2005-12-293-3/+25
| | | | | | | | | | | Description: Added missing member function H5File::flush Fixed parameters passed to H5Awrite Other typos Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
* [svn-r11780] Purpose:James Laird2005-12-092-94/+45
| | | | | | | | | | | | | | | | | Added high-level example directories Description: Refactored common code out of examples Makefiles.am, added high-level example directories, added packet table examples. Solution: Examples now draw from a common config/examples.am file, which contains rules for installing, uninstalling, and cleaning examples. High-level example directories are mostly empty, except for the C and C++ packet table tests. Platforms tested: mir, sleipnir, copper, shanti
* [svn-r11771] Purpose:Quincey Koziol2005-12-081-1/+0
| | | | | | | | | | | | Code cleanup Description: Fix a bunch of warnings flagged by Windows compilers. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11763] Purpose: Adding testsBinh-Minh Ribler2005-12-051-17/+154
| | | | | | | | | | Description: Added tests for openFile and new getObjinfo. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia)
* [svn-r11762] Purpose: Adding more wrappersBinh-Minh Ribler2005-12-057-15/+112
| | | | | | | | | | | | | | | | | Description: Added member function H5File::openFile and overloaded for convenience. Added overloaded getObjinfo to skip the middle parameter. Changed StrType(const size_t& size); to StrType(const int dummy, const size_t& size); because the first one clashed with StrType(const hid_t existing_id); Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) HPUX 11.00 (kelgia)
* [svn-r11757] Purpose: Example code improvementBinh-Minh Ribler2005-12-037-25/+56
| | | | | | | | | | Description: Improved the use of std members. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) Linux 2.4 w/PGI (colonelk)
* [svn-r11756] Purpose: Test improvementBinh-Minh Ribler2005-12-035-4/+42
| | | | | | | | | | Description: Improved the use of std members. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) Linux 2.4 w/PGI (colonelk)
* [svn-r11755] Purpose: Code improvementBinh-Minh Ribler2005-12-0345-574/+369
| | | | | | | | | | | | | | | | | Description: There was a workaround for predefined types, in the C++ library, implemented when the C++ library was handling the reference counting of the object ids on its own. Currently, the C++ library is using the available APIs from the C library for that purpose, and there were bugs reported involving that part of the C++ library. So, I decided to remove the workaround completely. Also, improved the use of std members. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) Linux 2.4 w/PGI (colonelk)
* [svn-r11741] Purpose:James Laird2005-11-184-24/+64
| | | | | | | | | | | | | | | | | Bug fix Description: Fortran type generation was broken in two ways. Fixed both. Solution: Firstly, there were a couple of path problems. Fixed a typo and specified the full path of a file. Secondly, the dependencies weren't right when building with HDF5-specific commands (make lib, make check-s, etc.). Tweaked dependencies to fix the problem. Platforms tested: mir, modi4, sleipnir
* [svn-r11738] Purpose:James Laird2005-11-184-0/+16
| | | | | | | | | | | | | | | | | | | Configure feature Description: Added 'make trace' target. Solution: Added tracing to 1.7. This was done automatically in 1.6, but left out of 1.7 until now (oops!). Tracing in 1.7 only happens manually, when the user types 'make trace.' Tracing automatically requires more framework than it's worth. I also fixed a couple of tracing bugs and ran trace. Platforms tested: mir, sleipnir, modi4 Misc. update:
* [svn-r11737] Purpose:James Laird2005-11-174-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Bug fix Description: Before this checkin, 'gmake check-s' would fail if there was a file in the current directory named 'check-s'. This is fixed under gmake (not sure how to fix for other makes). Solution: check, progs, install, etc. are what gmake calls "phony" targets, which means that no file should be created. These targets can be specified by a line of the form .PHONY: check progs install ... Automake adds this line for targets it knows about, but HDF5 has a lot of custom rules. This checkin adds a .PHONY line for those rules. I believe that only gmake recognizes the .PHONY line (at least, pmake doesn't seem to), but a partial solution is better than none. This error should occur very rarely anyway (the user has to manually create files with names like 'build-check-s' or '_test'). Platforms tested: mir, sleipnir, modi4
* [svn-r11655] Purpose:James Laird2005-11-011-1/+7
| | | | | | | | | | | | | Bug fix Description: Fixed a bug when using h5fc and h5c++ with static libraries. Added high-level C++ and Fortran libraries to h5c++ and h5fc. Solution: Platforms tested: mir, heping, shanti, sleipnir
* [svn-r11646] Purpose:James Laird2005-10-316-28/+127
| | | | | | | | | | | | | | | | | | Bug fix/feature Description: Added support for -shlib in h5fc and h5c++. Made check-install use -shlib when only shared libraries have been installed. Solution: h5fc and h5c++ didn't recognize -shlib. Stole code from h5cc to link against shared libraries. When static libraries are disabled, the examples Makefiles will automatically use the -shlib option to link against shared libraries. Thus, --disable-static and make check-install should work together. Platforms tested: heping(disable-static, enable-static, fortran, c++), modi4 (disable-static, fortran, c++, parallel, enable-static)
* [svn-r11619] Purpose:Quincey Koziol2005-10-293-1/+29
| | | | | | | | | | | Update copyrights. Description: Solution: This should address almost all of the "simple" cases in the repository. There's still work to do, but it's going to require actually thinking about the files in question instead of just copying & pasting.
* [svn-r11612] Purpose:James Laird2005-10-274-4/+4
| | | | | | | | | | | | | Bug fix Description: Failed parallel tests now cause make to exit with an error. Solution: Edited config/conclude.am to throw an error if parallel test programs fail. Platforms tested: heping, modi4
* [svn-r11602] Purpose:James Laird2005-10-244-12/+0
| | | | | | | | | | | | Bug fix Description: Removed detection of pdb from configure.in as a corollary to removal of pdb2hdf5 tool. Platforms tested: mir, modi4
* [svn-r11596] Purpose:Quincey Koziol2005-10-221-1/+1
| | | | | | | | | | | Update copyrights Description: Updated copyright information in hdf5/bin and top-level and added some more files to be skipped to the chkcopyright config file. Platforms tested: None - just eyeballed
* [svn-r11573] Purpose:James Laird2005-10-174-0/+4
| | | | | | | | | | | | | | | | | | | | Bug fix Description: Changed configure.in to use an environment variable TR to set the path to the tr utility. Solution: There are two kind of tr on Solaris with slightly different syntax. HDF5's configure relies on the "standard" tr. Traditionally, HDF5ers have needed to make sure that the "right" tr was found before the wrong one in their path; now they can use an environment variable. Platforms tested: mir, shanti, sol Misc. update: Forgot to update release notes. Off to do that now.
* [svn-r11566] Purpose:James Laird2005-10-144-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | Makefile bug fix Description: Previously, automake didn't output rules to build perform/mpi-perf or the test/gen_* programs. Now these can be built by typing 'make mpi-perf' (or 'make foo') or by configuring with --enable-build-all. Solution: Automake doesn't like having rules for programs it doesn't build. Tricked it by having these programs built "sometimes"--whenever the user enables --build-all. This should be used mostly for testing and to ensure that these helper programs compile. ***IMPORTANT*** These programs do *not* currently compile. When --enable-build-all is used (not the default), gen_new_fill fails because it uses an old API. This is an existing "bug" that has simply been exposed by this checkin. Platforms tested: sleipnir, modi4, sol Misc. update:
* [svn-r11555] Purpose: Code cleanupBinh-Minh Ribler2005-10-127-30/+9
| | | | | | | | | | Description: Removed obsolete function CompType::getMemberDims. Fixed some typos. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
* [svn-r11517] Purpose: Fixed commentsBinh-Minh Ribler2005-10-101-4/+4
| | | | | | | | | Description: Fixed the description of two parameters that were swapped by mistake. Platforms tested: Linux 2.4 (heping) - very minor
* [svn-r11487] Purpose:Quincey Koziol2005-10-0172-852/+864
| | | | | | | | | | | Code cleanup Description: Tweak copyright on C++ source files to reduce whining by copyright checking script. Platforms tested: FreeBSD 4.11 (sleipnir) w/C++
* [svn-r11478] Purpose:Albert Cheng2005-09-294-32/+28
| | | | | | | | | | | | | | | | bug fix. Description: When a parallel test script test fails, make would continue because the way it was setup inside a for loop. Fixed it by issuing an exit 1 inside the loop. There was also a typo error in the newer command comparision that it must be $${chkname} in order to be valid. Also, the test script itself was not checked in the newer lists. All fixed. Platforms tested: h5committested and also hand tested in heping pp mode.
* [svn-r11446] Purpose:James Laird2005-09-204-8/+12
| | | | | | | | | | | Bug fix Description: Massaged the newer script and config/conclude.am to make SX6 happy. Platforms tested: SX6, sol, mir
* [svn-r11436] Purpose: Change the appearance of the C++ API Reference ManualBinh-Minh Ribler2005-09-191-58/+95
| | | | | | | | | | | | | | | | | Description: I couldn't get the HDF logo to appear, when the location for the html files generated by doxygen is arbitrary. This arbitrary directory doesn't contain the logo image file, which would be placed in a planned directory. The logo is removed now, but the image file is kept in the CVS under hdf5/c++/src, just in case when I can find a solution. Platforms tested: Linux 2.4 (heping) Windows XP Misc. update:
* [svn-r11431] Purpose:Albert Cheng2005-09-184-8/+12
| | | | | | | | | | | | | | | | | New feature. Description: Added the time command to the make check target to report time usage of the execute of each test and test scripts. This gives us some idea how long each test takes and some vague idea it is compute bound or not. powerpc-ibm-aix5.x: Change $RUNPARALLEL default setting to allow it being invoked by the time command. Platforms tested: h5committested.
* [svn-r11421] Purpose:James Laird2005-09-164-16/+44
| | | | | | | | | | | | | | | Feature Description: Added H5_CFLAGS, etc. to 1.7 branch. Now compilation flags can be put in H5_*FLAGS and they'll be used when building hdf5 but not in h5cc. Platforms tested: mir, sleipnir, modi4 Misc. update:
* [svn-r11420] Purpose:James Laird2005-09-166-22/+48
| | | | | | | | | | | | | | | | | Bug fix Description: Disabled C++ shared libraries for Sun Workshop compiler. Solution: This bug only seems to happen when using the -xarch=v9 flag to compile in 64-bit mode, but disabling shared libraries entirely for this compiler is an easier fix (I don't know how to detect 64 bit mode from the command line). The framework for disabling shared libraries for other C++ compilers is in place. Platforms tested: sol, mir, sleipnir, modi4
* [svn-r11418] Purpose:James Laird2005-09-154-0/+8
| | | | | | | | | | | | | | | | Bug fix/feature Description: Disabled shared libraries for a number of Fortran compilers that don't support them. This allows other compilers to support shared Fortran libraries. Solution: Added a conditional, SHARED_FORTRAN_CONDITIONAL, which is true if Fortran supports shared libraries. It is set in configure.in. Platforms tested: mir, sleipnir, colonelk, heping
* [svn-r11411] Purpose:James Laird2005-09-134-16/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug fix Description: Building with --disable-static seems to have been broken on several platforms. Fixed this. Configure will now disable shared libraries automatically when using pgf90 or when building on Cygwin. Solution: To avoid errors when using shared libraries with pgf90 (which I had not realized were compiler-specific), I had manually set convenience libraries to use the -static linking flag. Apparently, this is not necessary, and caused these libraries to be created as empty archives when --disable-static was used. Also, some libraries were including other libraries, which was not necessary. I also fixed code in configure.in to correctly detect whether shared or static libraries are enabled, and moved code that disables shared libraries to before libtool is created (rather than editing libtool after the fact). Despite repeated warnings that only one shared library can be linked at a time, I have yet to have shared libraries break the linking of tests on any system. We'll see if the Daily Tests turn up anything. Platforms tested: mir (fortran, C++), sleipnir (C++), modi4 (fortran, C++, parallel), sol (fortran, C++), cygwin
* [svn-r11331] Purpose:James Laird2005-09-012-6/+6
| | | | | | | | | | Bug fix Description: Replaced 8 spaces with tabs in c++/examples/Makefile.am. Platforms tested: mir, sleipnir
* [svn-r11330] Purpose:James Laird2005-08-314-22/+16
| | | | | | | | | | | | | | | | | Bug fix Description: Errors on sol may have been due to "make clean" being run both manually and by automake. Removed the manual run. Also cleaned c++/examples/ii_files directory created by some compilers (e.g., on modi4). Solution: This does mean that examples directories will not be cleaned by 'make clean'. Platforms tested: sol, mir, heping, modi4
* [svn-r11323] Purpose:Albert Cheng2005-08-314-4/+8
| | | | | | | | | | | | | | | | tidy up. Description: MPE option created *.clog file whenever it is executed in MPI. The cleanup of *.clog files were done in individual Makefile.in. Often, it is forgotten. Solution: Moved the cleaning of *.clog files to CHECK_CLEANFILES in commence.am so that it is applied whenever check-clean is called. Platforms tested: heping pp using MPE.
* [svn-r11319] Purpose:James Laird2005-08-304-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Bug fixes Description: This checkin fixes an occasional error on kelgia on sol during distclean. It also causes test scripts to depend properly on the programs they're supposed to be testing. Solution: The kelgia bug was due to some files being cleaned by automake and manually. Removed the manual cleaning in src/Makefile.am. Test script dependencies now need to be specified manually, since the makefile can't guess what they test from their name. Currently all test scripts in a given directory have a single list of dependencies--this was easy and seems to be sufficient. These dependencies are listed in the SCRIPT_DEPEND variable in the Makefile.am. Platforms tested: heping, mir, modi4, sol Misc. update:
* [svn-r11303] Purpose:Albert Cheng2005-08-264-98/+60
| | | | | | | | | | | | minor tidy up. Description: Changed both test programs and test scripts to use the same suffixes (.chkexe and .chklog). Changed from .log to .chklog to avoid running into potential conflicts by other "things" (e.g., config.log). Tested: Heping.
* [svn-r11274] Purpose: Additional code improvementBinh-Minh Ribler2005-08-196-0/+24
| | | | | | | | | Description: Forgot to modify the examples for the "using" declaration changes in the library. Added "using" declaration appropriately. Platforms tested: Linux 2.4 (heping) - very minor
* [svn-r11264] Purpose: Additional code improvementBinh-Minh Ribler2005-08-189-1/+30
| | | | | | | | | | Description: Used "using" declaration and directive better to reduce namespace pollution. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
* [svn-r11245] Purpose:Quincey Koziol2005-08-1364-1005/+1005
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11213] Purpose:Albert Cheng2005-08-084-28/+8
| | | | | | | | | | | | | | | | | | | Bug fix and improvement. Description: The test output were not displayed for parallel tests. The serial tests output were always displayed whether the test was actually ran this time or not. Solution: Moved the display of test output inside the target where the actual tests are run. Platforms tested: Tested in heping using pp and fortran.
* [svn-r11210] Purpose: Code improvementBinh-Minh Ribler2005-08-0811-41/+63
| | | | | | | | | Description: Made use of IdComponent::inMemFunc in more classes. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol)
* [svn-r11207] Purpose:Albert Cheng2005-08-084-220/+252
| | | | | | | | | | | | | | | | | | | | | Bug fix and code minor cleanup. Description: The attempt to redirect stderr together to the log files were done in the wrong order such that stderr output goes to where stdout WAS. Fixed that. Code minor cleanup--use shell variables to hold the name of the log file and the test instead of generating them repeatedly. This makes easier code reading, less crowded and avoid typos. Only conclude.in is changed. The Makefile.in changes are all derived from automake. Platforms tested: h5committested. Misc. update:
* [svn-r11206] Purpose: Additional wrapper/Code improvementBinh-Minh Ribler2005-08-0826-182/+606
| | | | | | | | | | | | | | | | Description: Added wrapper for H5Iget_type. Added try/catch to many APIs that call private functions so that more specific information can be provided at failure. Added IdComponent::inMemFunc to help providing specific info. Added const to parameters of several functions that missed that. Platforms tested: Linux 2.4 (heping) SunOS 5.8 64-bit (sol) AIX 5.1 (copper) IRIX64 with -n32 (modi4) HPUX 11.00 (kelgia)
* [svn-r11200] Purpose: Code improvementBinh-Minh Ribler2005-08-042-35/+24
| | | | | | | | | | | | | | Description: Changed CompType::getMemberClass to use H5Tget_member_class instead of going around unneccesarily. Changed "int member_num" to "unsigned member_num" of several member functions of CompType, per the C library change. Platforms tested: Linux 2.4 (heping) Linux 2.4 w/PGI (colonelk) AIX 5.1 (copper)
* [svn-r11185] Purpose:James Laird2005-08-025-17/+24
| | | | | | | | | | | | | | | Makefile feature Description: 'make check-clean' now cleans *.h5 files created by tests as well as .log and .chkexe files. Solution: check-clean is now a separate target in its own right, which cleans less than mostlyclean (check-clean < mostlyclean < clean < distclean). Platforms tested: mir, heping, modi4 (serial and parallel)
* [svn-r11179] Purpose:James Laird2005-08-018-44/+73
| | | | | | | | | | | | | | | | | | | Feature: check-clean target Description: 'make check-clean' cleans up output files from tests. Solution: Tests create foo.chkexe and foo.log files. Scripts create foo.chksh and foo.logsh files. 'make check-clean' will clean these files up so that the tests can be re-run. Also suppressed some not-very-useful output of Makefiles when it would echo commands. Platforms tested: mir, sleipnir, modi4 Misc. update:
* [svn-r11152] Purpose: Removed some compiler warningsBinh-Minh Ribler2005-07-252-5/+2
| | | | | | | | | | Description: Removed defined but unused variables. Platforms tested: Linux 2.4 (heping) IRIX64 with -n32 (modi4) Linux 2.4 w/PGI (colonelk)
* [svn-r11151] Purpose: Fix bugzilla #407 and #408Binh-Minh Ribler2005-07-2514-28/+65
| | | | | | | | | | | | | | | | | | | | Description: PropList::copyProp has incorrect prototype; although it works, it does cause users inconvenience. Solution: Added another overloaded function with correct prototype. The old version will be removed in a future release. In the meantime, "Obsolete" will be displayed in its RM page. Also, changed several checks on the returned value of a C API from non-positive to negative because id = 0 is no longer significant, now that the C++ reference counting had been removed. Platforms tested: Linux 2.4 (heping) IRIX64 with -n32 (modi4) Linux 2.4 w/PGI (colonelk)
* [svn-r11149] Purpose: Fix bugzilla #406Binh-Minh Ribler2005-07-248-41/+179
| | | | | | | | | | | | | | | | Description: Added these missing member functions: AbstractDs::getArrayType AbstractDs::getVarLenType CommonFG::openArrayType CommonFG::openVarLenType CompType::getMemberArrayType CompType::getMemberVarLenType Platforms tested: Linux 2.4 (heping) IRIX64 with -n32 (modi4) Linux 2.4 w/PGI (colonelk)
* [svn-r11144] Purpose:Quincey Koziol2005-07-231-0/+4
| | | | | | | | | | | New port Description: Elena asked me to check in her NEC SX-6 work, so here it is! :-) Platforms tested: FreeBSD 4.11 (sleipnir) NEC SX-6 (by Elena)