summaryrefslogtreecommitdiffstats
path: root/test/dtransform.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r15628] Description:Quincey Koziol2008-09-161-2/+2
| | | | | | | | | | | | | Remove trailing whitespace from C/C++ source files, with the following script: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Tested on: Mac OS X/32 10.5.5 (amazon) No need for h5committest, just whitespace changes...
* [svn-r14199] Description:Quincey Koziol2007-10-111-79/+79
| | | | | | | | | | | | | | | | | | | | | Add H5Dcreate to API versioned routines, replacing internal usage with H5Dcreate2 Fix thread-safe error stack initialization for API versioned error stack printing routines. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r13648] Description:Quincey Koziol2007-04-121-4/+4
| | | | | | | | | | Rename new error handling API routines from H5E<foo>_stack() to H5E<foo>2(). Tested on: Mac OS X/32 10.4.9 (amazon) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty)
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r12880] Purpose: Bug fixLeon Arber2006-11-081-27/+28
| | | | | | | Description: Fix some memory-related bugs in the data transform code Tested: kagiso w/ valgrind 3.2.1
* [svn-r12803] Description:Quincey Koziol2006-10-231-0/+2
| | | | | | | | | | | | | | Finish new version of the I/O pipeline message, which is much smaller than the previous version. This version is used with the "use the latest version of the format" flag. Closed several memory leaks/overruns (found with valgrind). Also, lots of compiler & formatting cleanups. Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r11771] Purpose:Quincey Koziol2005-12-081-6/+6
| | | | | | | | | | | | Code cleanup Description: Fix a bunch of warnings flagged by Windows compilers. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r11524] Purpose:Albert Cheng2005-10-111-0/+14
| | | | | | | Inserted copyright notice. Platforms tested: Tested in heping only since only a comment block was added.
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-54/+54
| | | | | | | | | | | | | | | | | | | | 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-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)
* [svn-r10699] Purpose:Quincey Koziol2005-04-291-2/+2
| | | | | | | | | | | | Code cleanup Description: Switch name & logic from H5_LLONG_TO_FP_CAST_BROKEN to H5_LLONG_TO_FP_CAST_WORKS, to better match the rest of the library. Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r10661] Purpose:Leon Arber2005-04-251-2/+2
| | | | | | | | | | | | | | | | Bug fix.... Description: Despite passing all tests, the previous checkin had a copy/paste typo that resulted in the tests being run under the wrong conditions. Solution: Fixed typo. Platforms tested: yet another minor change... copper only. Misc. update:
* [svn-r10660] Purpose:Leon Arber2005-04-251-4/+4
| | | | | | | | | | | | | | | | | bug fix (sorta) Description: Rename H5_LLONG_TO_FP_CAST_WORKS to H5_LLONG_TO_FP_CAST_BROKEN Solution: Since a test for H5_LLONG_TO_FP_CAST_WORKS is not present in the configure script, the dtransform test would assume that this cast doesn't work and skip the test. Change the variable around so that, by default, it is assumed a long long to double cast does work. Platforms tested: minor change: copper, sol Misc. update:
* [svn-r10658] Purpose:Leon Arber2005-04-251-0/+19
| | | | | | | | | | | | | | | | | Bug fix Description: The intel compiler on windows doesn't support long long to double conversion. Solution: Added a flag H5_LLONG_TO_FP_CAST_WORKS. When it is not defined, the data transform will issue an error when someone tries to perform a transform from long long to double and the long long to double dtransform test will be skipped. Platforms tested: heping, sol, copper Misc. update:
* [svn-r9727] Purpose:Quincey Koziol2004-12-291-81/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-r9526] Purpose:Quincey Koziol2004-11-121-1/+1
| | | | | | | | | | | | | | Bug fix, sorta. Description: Revert change to H5Pget_data_transform() which changed len of buffer returned to be inconsistent with H5Iget_name(), etc. We should discuss this change and apply it to all the similar functions if we decide to change the return value. Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9518] Purpose:Leon Arber2004-11-111-130/+180
| | | | | | | | | | | | New tests Description: Added tests for chunked reads/writes. Platforms tested: eirene + sol + copper Misc. update:
* [svn-r9501] Purpose:Leon Arber2004-11-031-391/+81
| | | | | | | | | | | | | | | | Code clean-up Description: Rewrote code to make it simpler. Added more data type tests Solution: Simplified code a lot in preparation for addition of new test cases. Platforms tested: heping + sol + copper
* [svn-r9486] Purpose:Quincey Koziol2004-10-291-26/+28
| | | | | | | | | | | | | Code cleanup Description: Change loops for comparing results to use 2-D array lookups, since that's what we've really got and the older 1-D array lookups was making the PGI C compiler whine about array bounds issues. Platforms tested: Linux 2.4 (heping) w/PGI C Not relevent to other platforms, no h5committest
* [svn-r9466] Purpose:Quincey Koziol2004-10-271-6/+6
| | | | | | | | | | | Bug fix Description: Clean up potential buffer overflow in strncpy() Platforms tested: FreeBSD 4.10 (sleipnir) Too minor to require h5committest
* [svn-r9464] Purpose:Leon Arber2004-10-261-2/+6
| | | | | | | | | | | | | | | Bug fix. Description: dtransform test still failed on windows because it was attempting to create a ullong dataset. Solution: Removed creation of ullong dataset as well if H5_ULLONG_TO_FP_CAST_WORKS was not defined. Platforms tested: windows
* [svn-r9463] Purpose:Leon Arber2004-10-261-1/+5
| | | | | | | | | | | | | | Bug fix. Description: unsigned long long test fails on windows because windows cannot convert from ullong to double Solution: Skip unsigned long long test if H5_ULLONG_TO_FP_CAST_WORKS is not defined. Platforms tested: eirene and will do windows test asap.
* [svn-r9462] Purpose:Leon Arber2004-10-261-325/+193
| | | | | | | | | | | | | | | | | Added tests Code cleanup Description: New tests added for new version of H5Pget_data_transform and additional tests to make sure that error conditions are handled properly by both H5Pset_data_transform and H5Pget_data_transform. Also cleaned up code to make it more compact. Platforms tested: sol + eirene + copper Misc. update:
* [svn-r9442] Purpose:Leon Arber2004-10-201-1/+71
| | | | | | | | | | | | | | | | Add code more code to test H5Pget_data_transform and H5Pset_data_transform Description: Added a test to verify that H5Pset_data_transform will correctly replace a data transform with a new one and properly use the new transform on the data. Added a test to verify that H5Pget_data_transform properly returns the transform string. Platforms tested: sol + eirene + copper Misc. update:
* [svn-r9432] Purpose:Leon Arber2004-10-181-4/+9
| | | | | | | | | | | | | Skip test. Description: Known failure in char and schar types for dtransform test on AIX and SGI. Solution: Temporary skip this test until bug is fixed. Platforms tested: copper (minor change)
* [svn-r9431] Purpose:Leon Arber2004-10-181-14/+24
| | | | | | | | | | | | | | Bug fix. Description: If a subtest failed, the error would not propogate properly to the main function, thereby resulting in a succesful run, even though the test failed. Solution: Fixed error return values. The dtransform test will now fail for real. Platforms tested: sol + eirene + copper
* [svn-r9423] Purpose:Leon Arber2004-10-141-122/+469
| | | | | | | | | | Description: Make the test check transforms on all types, and expanded testing for unsigned types. Solution: Platforms tested: sol + eirene
* [svn-r9369] Purpose:Leon Arber2004-10-051-114/+402
| | | | | | | | | | | | Added tests for most of the types that were added to the data transform code. Further tests will also be added shortly. Platforms tested: sol + eirene Misc. update:
* [svn-r9298] Purpose:Albert Cheng2004-09-221-12/+0
| | | | | | | | | | | | Bug fix. Description: the Data transformation code that failed when a data transform property for simple expression is fixed. Turned the tests back on. Platforms tested: Tested in copper (pp) where the failure appeared. Also in eirene as double check. No h5committest as the change is trivial.
* [svn-r9272] Purpose:Albert Cheng2004-09-171-2/+13
| | | | | | | | | | | | | Bug fix. Description: THe trivial transform property list creation triggered a code error. Skip these two tests temporary. Will fix it later. Platforms tested: Copper where it exposed the failures. Misc. update:
* [svn-r9268] Purpose:Leon Arber2004-09-161-5/+68
| | | | | | | | | Added tests for polynomial transforms. Platforms tested: sol + eirene Misc. update:
* [svn-r8892] Purpose:Quincey Koziol2004-07-161-1/+1
| | | | | | | | | | | | | | Code cleanup Description: Clean up a bunch of warnings and bring new code better inline with current library coding practice. Platforms tested: FreeBSD 4.10 (sleipnir) w/parallel Too minor to require h5committest Misc. update:
* [svn-r8782] Purpose:Quincey Koziol2004-07-011-29/+39
| | | | | | | | | | | 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-r8488] Purpose:Leon Arber2004-05-061-41/+125
| | | | | | | | | | | | | | | | | | | Bug fix. Description: Fixed handling of trivial data transform expressions (like 5/3 + 3) and some data coversion fixes. Also added more tests to dtransform.c Solution: Added some more checks in the H5Z_xform_reduce_tree function to see if perhaps the transform expression is complicated and is a non-trivial reduction. Added tests for data conversion to dtransform as well as tests for a trivial data transform expression. Platforms tested: h5committest'ed, except used arabica instead of sol and didn't do on copper b/c no logon there. Problem noted with mtime test...doesn't appear to be related to anything having to do with data transforms.
* [svn-r8483] Purpose:Quincey Koziol2004-05-051-2/+2
| | | | | | | | | | Bug fix Description: Fix problems compiling with g++. Platforms tested: FreeBSD 4.9 (sleipnir) w/CC=g++
* [svn-r8479] Purpose:Albert Cheng2004-05-031-0/+110
New Feature Description: Add the data transform function, H5Pset_transform(). Platforms tested: "h5committested". Copper was down. Ran parallel tests in sol instead. Misc. update: