summaryrefslogtreecommitdiffstats
path: root/c++
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r3582] Binh-Minh Ribler2001-03-093-28/+21
| | | | | | | | | | | | | Purpose: Test code improvement Description: - Added H5_HAVE_ZLIB_H and H5_HAVE_LIBZ to dsets.cpp - Added the use of new API Exception::getCFuncName to obtain the name of the function where failure occurs, to various places in the test code. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3578] Purpose:Bill Wendling2001-03-081-9/+6
| | | | | | | | | Update Description: Removed `examples/' subdirectory as one of the ones to test since we have "real" tests now Platforms tested: Linux
* [svn-r3577] Purpose:Bill Wendling2001-03-081-2/+2
| | | | | | | | | | | | | Bug Fix Description: Fixed the compile lines for the C++ tests. Solution: Added the actual objects to be compiled into the testhdf5 program and removed the tfile from the TEST_PROGS line since it would try to create a program from the tfile module, but it didn't have a "main" function. Platforms tested: Linux
* [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-r3551] Binh-Minh Ribler2001-03-061-1/+2
| | | | | | | | | | | | | | Purpose: Bug fix Description: Compiled error about "RcsId initialized twice" Solution: This problem has been taken care of in the C++ API already. However, because dsets.cpp includes the C++ header file H5Cpp.h after the C test header files, h5test.h and testhdf5.h, the fix was missed. Moved H5Cpp.h to before those C header files. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3550] Binh-Minh Ribler2001-03-062-7/+7
| | | | | | | | | | | | | Purpose: Bug fix Description: The Exception destructor accidently called H5Eprint, which caused error messages to be printed where they are not supposed to because the failures are expected. Solution: Removed that lousy call! Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3549] Purpose:Bill Wendling2001-03-054-140/+147
| | | | | | | | | | | | | | | | | | | Adding Test Description: - Add the tests to the Makefile so that they'll be executed. - Fixed a few bugs in dsets.cpp * Some buffers should have been char *'s instead of void *'s. * An iterator for a loop wasn't declared properly. - Formatting changes Solution: - Changed the void *'s to char *'s. - Declared the loop iterator. NOTE: Doesn't work just yet. There's a conflict with a C++ keyword (delete) in the H5Pprivate.h header file. Quincey's looking into this. Platforms tested: Linux
* [svn-r3540] Purpose:Binh-Minh Ribler2001-03-0234-81/+66
| | | | | | | | | | | | | | | | | | | | Feasibility improvement Description: - Some member functions in class Exception can be called without an Exception instance exits, but because they are not static, they cannot. - Many exception throwings don't provide any information to callers. Solution: - Add 'static' to several member functions in class Exception. - Added <class name::function name> to some exceptions thrown in H5File.cpp and H5FcreatProp.cpp. I'm trying this for users' comments. More information may be added later and to all exceptions. - Changed the comment line for emacs editor to: // C++ informative line for the emacs editor: -*- C++ -*- because... I'd rather not say that the code "may look like C" :-) Platforms tested: Linux (gcc version egcs-2.91.66)
* [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-r3536] Purpose:Bill Wendling2001-03-022-5/+1
| | | | | | | | | | | Bug Fix Description: The RUNSERIAL and RUNPARALLEL macros weren't needed in the C++ stuff and were messing up some of the testing. Solution: Removed them. Platforms tested: Linux
* [svn-r3534] Purpose:Bill Wendling2001-03-0230-3/+32
| | | | | | | | | Bug Fix Description: Added comments to the top of C++ files to indicate that it's a C++ file and not a C source code file. Also added a macro which makes emacs automagically enter c++-mode. (Recommended by Frank Schimmel fschimme@monsoon.CAPS.ou.edu)
* [svn-r3532] Purpose:Binh-Minh Ribler2001-03-013-0/+1692
| | | | | | | | | | | | | | Adding tests to the C++ API Description: The C++ API has no formal testing yet. Solution: Added tests for file and dataset interfaces. I'm still working on other tests. Platforms tested: Linux (gcc version egcs-2.91.66) I temporarily modified the Makefile on my local Linux machine and these tests work. I need Bill to help adding them permanently before I can test on an NCSA machine. I checked the files in now so Bill can do that.
* [svn-r3337] Binh-Minh Ribler2001-01-311-1/+1
| | | | | | | | | | | Purpose: Small bug fix Description: A stub function has returned type hsize_t but returns -1. Solution: Changed returned value from -1 to 0 Platforms tested: Solaris (arabica)
* [svn-r3293] Purpose:Bill Wendling2001-01-163-181/+72
| | | | | | | | | | | | Fixup Description: We were specifying a config file for the C++ stuff and it didn't need one. This would cause problems with compiling the C++ stuff since it wouldn't get the correct H5config.h file. Solution: Removed support for it. Platforms tested: Eirene
* [svn-r3199] Binh-Minh Ribler2000-12-2329-226/+146
| | | | | | | | | | | | | | | | | | Purpose: bug fix Description: I found a couple of places where virtual destructors were missing and could cause small memory leaks. Also, some destructors were not virtual when they should be. Solution: - added virtual destructors, which also free dynamically allocated memory - added virtual to several destructors - also, fixed several typos Platforms tested: Solaris 2.7 (arabica)
* [svn-r3146] Purpose:Bill Wendling2000-12-151-3/+3
| | | | | | | | | | | Bug Fix? Description: Possible that some makes don't like a trailing \ at the end of a comment. Solution: Removed it Platforms tested: Linux
* [svn-r3122] Purpose:Binh-Minh Ribler2000-12-136-204/+106
| | | | | | | | | | | | | | | | Fix and improve Description: - Put functions that are common to H5File and Group into a prototype class, CommonFG. I didn't do that before because of the fear of the consequences of multiple inheritance, since H5File and Group already inherit from different super classes. I recently read a C++ book and learned to use MI more safely. This change reduced some more of code redundancy. - Added missing const to some function parameters Platforms tested: Solaris/CC 5.0 (arabica)
* [svn-r3121] Purpose:Binh-Minh Ribler2000-12-135-738/+272
| | | | | | | | | | | | | | | | | Fix and improve Description: - Put functions that are common to H5File and Group into a prototype class, CommonFG. I didn't do that before because of the fear of the consequences of multiple inheritance, since H5File and Group already inherit from different super classes. I recently read a C++ book and learned to use MI more safely. This change reduced some more of code redundancy. - Added missing const to some function parameters - Added missing return statements for some functions. Platforms tested: Solaris/CC 5.0 (arabica)
* [svn-r3115] Purpose:Bill Wendling2000-12-121-3/+6
| | | | | | | | | | | | Doh! Description: When adding the examples directory to the testing, forgot to remove it from the other scripts in the makefile since it would then be run twice. Solution: Removed it (saved the old code) Platforms tested: Hey! Trust me :)
* [svn-r3114] Purpose: FixBinh-Minh Ribler2000-12-1212-14/+39
| | | | | | | | | | | | | | | | | | | | Description: Dec CC compiler doesn't support some new c++ features. Some typos caused compilation erros on Dec Alpha. Solution: - Added macro BOOL_NOTDEFINED to define bool type on Dec Alpha (gondolin) since its compiler doesn't support bool. - Added macro NO_STATIC_CAST to prevent the use of the new c++ feature static_cast since Dec CC compiler doesn't support. - Added const to parameters of some functions to match the functions' declaration and definition. Typos errors and Dec CC complained. Platform: Solaris (arabica). Also tried to build on Dec Alpha but still not linked due to some missing compiler flags; its compilation went fine though.
* [svn-r3107] Purpose:Bill Wendling2000-12-112-29/+90
| | | | | | | Adding Flag Description: Testing to see if the C++ compiler can handle the ``static_cast'' keyword.
* [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-084-3/+144
| | | | | | | | | 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-r3096] Purpose:Bill Wendling2000-12-071-1/+1
| | | | | | | oops Description: I somehow checked in some test Makefile.in that I was working on. Sorry.
* [svn-r3095] Purpose:Bill Wendling2000-12-071-2/+2
| | | | | | Fix again Description: Needed to change the .C to .cpp in this depend module.
* [svn-r3094] Purpose:Bill Wendling2000-12-072-3/+3
| | | | | | | | Fix Description: Hopefully the last fix in the .C -> .cpp suffix change saga. Forgot to tell the commence/conclude files that the suffix has changed
* [svn-r3091] Purpose:Bill Wendling2000-12-072-2/+2
| | | | | | | | | | Fix Description: Needed to change the extention to the file configure expects to be in the source directory when Binh-Minh changed the extensions for all the files. Solution: Did just that.
* [svn-r3090] Purpose:Bill Wendling2000-12-073-14/+14
| | | | | | | | | | | 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-r3082] Purpose:Binh-Minh Ribler2000-12-077-746/+0
| | | | | | | Renaming source files for portability Description: Removed *.C files after adding the corresponding *.cpp files. Platforms tested:
* [svn-r3081] Binh-Minh Ribler2000-12-0718-3962/+0
| | | | | | | | Purpose: Renaming source files for portability Description: Removed *.C files after adding the corresponding *.cpp files. Platforms tested:
* [svn-r3080] Binh-Minh Ribler2000-12-0725-0/+4715
| | | | | | | | | | | Purpose: Support portability Description: I forgot that source file extension .C will not work on Windows. Solution: Changed all source file from *.C to *.cpp for portability. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3079] Purpose: bug fix - by C APIBinh-Minh Ribler2000-12-064-10/+17
| | | | | | | | | | | | | | | | | Description: The prototype of two C API functions, H5Tget_offset and H5Sget_simple_extent_npoints was changed to fix bug #446, resulting in the need for updating the two corresponding C++ API functions. Solution: - Changed the return type of AtomType::getOffset from size_t to int, and the error return value from 0 to -1. - Changed the return type of DataSpace::getSimpleExtentNpoints from hsize_t to hssize_t, and the error value from 0 to -1. Platforms tested: arabica (sparc-sun-solaris 2.7)
* [svn-r3076] Purpose:Bill Wendling2000-12-052-2/+45
| | | | | | | New Flag Description: Added a test to see if the C++ compiler can handle the bool datatype. If not, then it defines the BOOL_NOTDEFINED macro.
* [svn-r3074] Purpose:Bill Wendling2000-12-043-3/+13
| | | | | | | | | | | 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-012-2/+2
| | | | | | | | | | 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-012-2/+2
| | | | | | | | | | 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-012-2/+2
| | | | | | | | | | | | 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-r3046] Purpose:Bill Wendling2000-12-011-1/+2
| | | | | | | | | | | | Reversal of Patch Description: I thought that the solaris boxen could handle the -Wc,<flag> flag (or, rather, that libtool would do the correct thing with their compilers). However, this isn't the case, apparently. Solution: Removed the ``-Wc,-LANG:std'' flag and put it in the CPPFLAGS macro instead. This should cause it to be passed to the compiler only...one hopes...
* [svn-r3044] Purpose:Bill Wendling2000-11-301-1/+1
| | | | | | | | | Argh! Description: Again the compiler doesn't like the -dlopen self flag when compiling... Platforms tested: Linux
* [svn-r3039] Purpose:Bill Wendling2000-11-301-1/+1
| | | | | | | Oops. Description: Forgot to make the libraries static since we're not certain that they can be shared...
* [svn-r3037] Purpose:Bill Wendling2000-11-302-3/+3
| | | | | | | | | | | | | | | | | Bug-ish fix Description: Spurious warnings would show up if libtool was trying to pass the -LANG:std flag to the compile line. Also, if the library is compiled with -all-static, then it would complain about not finding dlopen and friends. Solution: Used the libtool -Wc,<flag> option to pass the -LANG:std flag to the compile line. Used ``-dlopen self'' when compiling. Platforms tested: Linux
* [svn-r2940] Purpose:Bill Wendling2000-11-151-1/+1
| | | | | | | | | | | | | Bug Description: Compiler needed both the -instances=global and the -LANG:std flag to function. libtools spits out a warning about not being able to find the ANG:std library directory, but that's okay...it passes it to the linker anyway. Platforms tested: Solaris (Arabica)
* [svn-r2939] Purpose:Bill Wendling2000-11-152-4/+4
| | | | | | | | | Bug Description: When copying the --enable-production stuff, I forgot to change the CFLAGS to CXXFLAGS... Platforms tested: Solaris