summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r9902] Purpose:James Laird2005-02-0111-1843/+2988
| | | | | | | | | | | | | | | 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
* [svn-r9890] Purpose: Clean up testsBinh-Minh Ribler2005-01-314-119/+163
| | | | | | | | | | | | | | | | Description: + C tests' macro VERIFY casts values to 'long' for all cases. Since there are no operator<< for 'long long' or int64 in VS C++ ostream, I casted the hsize_t/hssize_t values passed to verify_val to 'long' as well. If problems arise later, this may have to be specificly handled with an overload - th5s.cpp + Added the use of InvalidActionException for when an action should cause an exception but didn't - th5s.cpp and tfile.cpp + Small changes to improve failure reports Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9888] Purpose: Fixed bugBinh-Minh Ribler2005-01-301-3/+3
| | | | | | | | | | | | Description: H5PredType copy constructor was made "protected" accidentally. Solution: Moved it back into "public" section. Platforms tested: Linux 2.4 (eirene) Very minor and already tested on two platforms in 1.6 branch.
* [svn-r9838] Purpose:Quincey Koziol2005-01-191-8/+40
| | | | | | | | | | | | | | | | | | Bug fix Description: Correctly retire the H5E_LEN setting, now that the FORTRAN and C++ APIs have been corrected to not use it either. Solution: Pass in the string buffer length for FORTRAN In the C++ API, call H5Eget_msg() in a manner similar to the way H5Fget_name() is called. Platforms tested: Linux 2.4 (heping) w/FORTRAN & C++ Solaris 2.7 (arabica) w/FORTRAN & C++
* [svn-r9834] Purpose: Bug fixElena Pourmal2005-01-181-27/+29
| | | | | | | | | | Description: h5c++ couldn't create object files Solution: Brought changes from 1.6 to 1.7 Platforms tested: arabica Misc. update:
* [svn-r9829] Purpose: Clean up testsBinh-Minh Ribler2005-01-163-177/+250
| | | | | | | | | | | | | | | | | | | Description: + replaced "goto error" with throw exceptions + properly cleanup dynamically allocated memory in failure cases, for in some cases, the execution continues on after the failures were reported. + added test utility class InvalidActionException for when an action should cause an exception but doesn't. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Note that there was an error due to the missing symbol H5E_LEN. To be able to test my changes, I temporarily replaced H5E_LEN in c++/src with a constant as in the C tests, before the problem can be fixed. This value doesn't effect the C++ tests at all, at this time.
* [svn-r9789] Purpose: Tests cleanupBinh-Minh Ribler2005-01-101-24/+48
| | | | | | | | | | | | | Description: C tests' macro VERIFY casts values to 'long' for all cases. Since there are no operator<< for 'long long' or int64 in VS C++ ostream, I casted the hsize_t/hssize_t values passed to verify_val to 'long' as well. If problems arise later, this may have to be specificly handled with an overload. Platforms tested: Linux 2.4 (eirene) Windows 2000
* [svn-r9737] Purpose: Clean up testsBinh-Minh Ribler2005-01-031-2/+2
| | | | | | | | | Description: Corrected a misuse of a variable causing access violation. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9727] Purpose:Quincey Koziol2004-12-2921-65/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r9698] Purpose: Correct typoBinh-Minh Ribler2004-12-211-1/+1
| | | | | | | | | Description: Accidentally edited this file and removed a couple characters from a defined name, thus caused undefined error in daily test. Fixed! Platforms tested: SunOS 5.7 (arabica)
* [svn-r9696] Purpose: Clean up testsBinh-Minh Ribler2004-12-205-223/+367
| | | | | | | | | | | | Description: Replaced cout's with cerr's. Replaced macro VERIFY with template function verify_val to verify read data/info. Cleanup various places in the tests to make them more consistent. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9650] Purpose:Pedro Vicente Nunes2004-12-102-2/+8
| | | | | | | | | | | | | 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-r9234] Purpose:Quincey Koziol2004-09-092-4/+4
| | | | | | | | | | | | | | | | | | | | | | | Code cleanup Description: Tweak recent "forward compatibility" changes to the H5E* API (which allowed for the old H5E API functions to remain unchanged) by allowing for the error stack callback function (H5E_auto_t) to also remain unchanged from the 1.6 branch. This required changing the H5E{get|set}_auto routines to have the old style H5E_auto_t type (which didn't have a stack ID parameter) and the new H5E{get|set}_auto_stack routines to have a newer "H5E_auto_stack_t" type (which has a stack ID parameter). This should make the H5E API changes as forwardly compatible as possible. One side-affect of this change was that it was impossible to determine if the current auto error callback was the old style (H5E_auto_t) or the new style (H5E_auto_stack_t) of callback, so a new API function (H5Eauto_is_stack) was adde to query this. Platforms tested: FreeBSD 4.10 (sleipnir) IRIX64 6.5 (modi4) h5committest
* [svn-r9183] Purpose: New featureRaymond Lu2004-09-011-6/+6
| | | | | | | | | | | | Description: Restore 6 old error API functions back to the library to be backward compatible with v1.6. They are H5Epush, H5Eprint, H5Ewalk, H5Eclear, H5Eset_auto, H5Eget_auto. These functions do not have error stack as parameter. Solution: Internally, these functions use default error stack. Platforms tested: h5committest and fuss. Misc. update: RELEASE.txt
* [svn-r9133] Purpose: Clean up codeBinh-Minh Ribler2004-08-214-31/+1
| | | | | | | | | | | Description: The private function p_close was removed previously, but I inadvertently put it back in a few places, while transferring the changes from 1.6 branch. These are removed now. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9129] Purpose: Updating documentationBinh-Minh Ribler2004-08-2038-688/+843
| | | | | | | | | | Description: Updated various function headers for the RM as reviewing progresses. Rearranged functions in header files for more sensible look of the RM. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9128] Purpose: Code updatingBinh-Minh Ribler2004-08-202-109/+104
| | | | | | | | | Description: Renamed some private members and member functions appropriately. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9127] Purpose: Adding wrapper for new C API and other updatesBinh-Minh Ribler2004-08-208-167/+356
| | | | | | | | | | | | | Description: Added wrappers for H5Fget_name: H5File::getFileName H5Object::getFileName Moved some functions from Group into the base class CommonFG for H5File too. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9126] Purpose: Updating RMBinh-Minh Ribler2004-08-201-8/+29
| | | | | | | | | | Description Added the rest of the C++ examples to the RM. Platforms tested: Verified on Windows Misc. update:
* [svn-r9115] Purpose:Albert Cheng2004-08-191-7/+4
| | | | | | | | | | | | | | | | | | | | | | | | | feature Description: Another revamp of the test interface. TestInit: is used to register Test Program name, test program specific Usage and option parsing routines. TestUsage: will invoke extra usage routine if provided. TestParseCmdLine: will invoke extra option parsing routine if provided. GetTestSummary() and GetTestCleanup() replaces the previous Summary and CleanUp arguments of TestParseCmdLine. test/testhdf5, test/ttsafe.c, testpar/t_mpi.c, testpar/testphdf5.c: All have been updated to use the new Test Routines. testpar/t_mpi.c: Also a fix of a compiler optimization bug when pgcc in Linux is used to compile it. Changed buf[] and expected to unsigned char type to avoid a bug that failed to do sign-extension. Platforms tested: "h5committested" Also tested thread-safe option in eirene.
* [svn-r9083] Purpose: Fix minor problemBinh-Minh Ribler2004-08-141-1/+1
| | | | | | | | | | | | | Description: Added an argument to the call to TestParseCmdLine because its prototype has just been changed. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r9049] Purpose: Clean up codeBinh-Minh Ribler2004-08-078-86/+0
| | | | | | | | | | | | | Description: Removed private functions p_close, that were left over from the removal of the reference counting mechanism. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update: release_docs/RELEASE will be updated soon.
* [svn-r9048] Purpose:Binh-Minh Ribler2004-08-071-2/+4
| | | | | | | | | | | | Add new files Description: Added H5VarLenType.cpp and H5ArrayType.cpp to LIB_SRC Added H5CppDoc.h, H5VarLenType.h, and H5ArrayType.h to PUB_HDR Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r9046] Purpose:Binh-Minh Ribler2004-08-0723-211/+150
| | | | | | | | | | | | | | | | | | | Code cleanup Description: DataType::commit had incorrect parameter, H5Object. Changed it to CommonFG, for H5File and Group. The change caused additional header files needed for several other cpp files. Moved some functions from Group into the base class CommonFG for H5File too. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r9045] Purpose: Updated documentationBinh-Minh Ribler2004-08-071-0/+69
| | | | | | | | | | | | Description: Added mainpage to the RM via the new file H5CppDoc.h. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (verbena) This new file will be added to windows project soon. Misc. update:
* [svn-r8997] Purpose:Quincey Koziol2004-08-032-2/+3
| | | | | | | | | | | Code cleanup Description: Clean up some temporary files. Platforms tested: FreeBSD 4.10 (sleipnir) w/C++ Not tested by h5committest
* [svn-r8850] Purpose: Fixing minor bugBinh-Minh Ribler2004-07-091-3/+1
| | | | | | | | | | | Description: Changed call to H5File::getFileSize according to C library and removed CHECK for this call because failure will be handled by exception. Platforms tested: FreeBSD 4.10 (sleipnir) Linux 2.4 (eirene)
* [svn-r8849] Purpose: Adding documentation with doxygen and fixing minor bugBinh-Minh Ribler2004-07-092-4/+5
| | | | | | | | | | | | Description: Added function headers with doxygen. Changed H5File::getFileSize according to C library. Platforms tested: Linux 2.4 (eirene) FreeBSD 4.10 (sleipnir) Misc. update:
* [svn-r8837] Purpose: Update doc and fix minor bugBinh-Minh Ribler2004-07-0810-112/+159
| | | | | | | | | | | Description: H5IdComponent.cpp: initialized a pointer to NULL H5Object.cpp: removed functions being added by mistake Update function headers for the rest. Platforms tested: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [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-r8820] Purpose: Bug fixRaymond Lu2004-07-073-6/+9
| | | | | | | Description: After changing H5Fget_filesize, forgot to update C++. Platforms tested: Tested for 1.6
* [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-r8782] Purpose:Quincey Koziol2004-07-011-1/+1
| | | | | | | | | | | Code cleanup Description: Clean up almost all warnings from Windows builds. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest
* [svn-r8781] James Laird2004-07-013-6/+14
| | | | | | | | | | | | | | | | Purpose: HDF5 now supports SZIP with no encoder. Description: SZIP can be configured to have both encoder and decoder or just to have the decoder. HDF5 can now query the configuration of any filter, and will throw errors if users try to write using a filter with encoding disabled. Solution: Added H5Zget_filter_info function, changed API for H5Pget_filter and H5P_get_filter_by_id. See SZIP RFC. Platforms tested: Copper (fortran, C++, parallel), Sleipnir (C++), Arabica (fortran, C++), Verbena (fortran, C++) Misc. update:
* [svn-r8765] Purpose: New feature and its test.Raymond Lu2004-06-302-1/+4
| | | | | | | | | | | Description: Added new API H5Fget_name and new test program called filename.c. This function returns the name of the file by object ID(file, group, dataset, named datatype, and attribute) which belongs to the file. Platforms tested: h5committest and fuss. Misc. update: MANIFEST and RELEASE.txt
* [svn-r8746] Purpose:Binh-Minh Ribler2004-06-281-2/+3
| | | | | | | | | | | | Fixing minor bug Description The new function H5File::getFileSize was missing a return statement. Added one. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene)
* [svn-r8740] See checkin message for H5File.cpp and H5File.hRaymond Lu2004-06-241-0/+59
|
* [svn-r8739] Purpose: New feature and Bug fixRaymond Lu2004-06-242-0/+21
| | | | | | | | | | | | Description: 1. Added H5Fget_filesize and test(in file_handle.c) which returns the actual file size of an opened file. Also added to C++ API and test. 2. The error tests were messed up in test/Makefile.in. Solution: 1. Call H5FDget_eof to return file size. 2. Corrected. Platforms tested: h5committest Misc. update: RELEASE.txt
* [svn-r8602] Purpose:Quincey Koziol2004-06-0133-1883/+1603
| | | | | | | | | | | Code update Description: Update C++ wrappers to use new ID reference counting mechanisms. Platforms tested: FreeBSD 4.9 (sleipnir) w/C++ Too focused to require h5committest
* [svn-r8595] Purpose:Binh-Minh Ribler2004-05-2819-85/+119
| | | | | | | | | | | | | | Add/Improve documentation Description Added doxygen documentation to H5PredType.cpp and made minor changes to the others for either correction or clarification. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8593] Purpose:Binh-Minh Ribler2004-05-275-49/+195
| | | | | | | | | | | | | | | | | | Add more C++ wrapper and documentation - incrementally check-in Description Added another overloaded constructor to StrType. Added doxygen documentation to H5IdComponent.cpp. Corrected some comments. This is an incremental check-in to preserve the code, corresponding tests will follow in a few weeks. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8588] Purpose:Binh-Minh Ribler2004-05-2710-70/+433
| | | | | | | | | | | | | | | | | | | Add C++ wrappers - incrementally check-in Description Added wrapper for these C APIs: H5Rcreate H5Rget_obj_type H5Rget_region This is an incremental check-in to preserve the code, corresponding tests will follow in a few weeks. Platforms: Linux 2.4 (eirene) I'm checking the code out and test on arabica too. Misc. update:
* [svn-r8587] Purpose:Binh-Minh Ribler2004-05-262-0/+41
| | | | | | | | | | | | | | | Add C++ wrappers - incrementally check-in Description Added wrapper for these C APIs: H5Dget_offset H5Dget_space_status Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8586] Purpose:Binh-Minh Ribler2004-05-261-31/+49
| | | | | | | | | | | | | | Add documentation Description Finished adding documentation to this file. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8584] Purpose:Binh-Minh Ribler2004-05-262-9/+37
| | | | | | | | | | | | | | | Add another wrapper - incrementally check-in Description: Added an overloaded wrapper for H5Rcreate to H5Object.* and tests will be added later. Also, corrected some comments. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8576] Purpose:Binh-Minh Ribler2004-05-267-182/+872
| | | | | | | | | | | | | | | | | | | | | | | Add more C++ wrapper and documentation - incrementally check-in Description: Added doxygen documentation to: H5DataSet.cpp H5DataSpace.cpp H5CommonFG.cpp and a wrapper for H5Rcreate to H5Object.* with tests will be added later. There are more documentation need to be added to these files but to preserve the changes, I check them in now. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8571] Purpose:Binh-Minh Ribler2004-05-251-16/+124
| | | | | | | | | | | | | Add documentation Description: Added doxygen documentation for RM. Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8570] Purpose:Binh-Minh Ribler2004-05-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | Add/Correct documentation - this file was left out by mistake from this checkin. Description: Added doxygen documentation to: Exception.cpp H5CompType.cpp H5FcreatProp.cpp and corrected some typos in comments for: H5AbstractDs.cpp H5EnumType.cpp H5File.cpp Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene) Misc. update:
* [svn-r8569] Purpose:Binh-Minh Ribler2004-05-247-82/+640
| | | | | | | | | | | | | | | | | | | Add/Correct documentation Description: Added doxygen documentation to: Exception.cpp H5CompType.cpp H5FcreatProp.cpp and corrected some typos in comments for: H5AbstractDs.cpp H5EnumType.cpp H5File.cpp Platforms: SunOS 5.7 (arabica) Linux 2.4 (eirene)