summaryrefslogtreecommitdiffstats
path: root/test/dtypes.c
Commit message (Collapse)AuthorAgeFilesLines
* Basic alignment with async branch (#115) (#137)Quincey Koziol2020-11-301-2/+2
| | | | | | | * Basic alignment with async branch - trivial changes to reduce clutter in overall diff. * Update minor error code to reflect change within library * Update the error output to match library
* Manual sync with develop (#95)Dana Robinson2020-11-171-5/+5
| | | | Brings all features from develop. Note that RELEASE.txt has not been updated (will be done in a future PR).
* Merge changes from developAllen Byrne2020-10-081-7/+7
| | | | | Comments and whitespace Skip file-locking and cache changes
* Cleanup comments in tests, align comments better, update vfd testAllen Byrne2020-10-051-146/+77
|
* Source formattedAllen Byrne2020-10-011-2844/+3604
|
* Merge pull request #2094 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/unused to developKimmy Mu2020-01-281-1/+1
| | | | | | | | | | | * commit '145ef3ceee20c28a443bd11507c58858bea3f889': more cleanup change it back pick up missing piece fix unused related warnings removed unused parameter more fix and address comments remove unsed var,function,macro, etc
* Merge pull request #2238 in HDFFV/hdf5 from ~KMU/hdf5:hdf5_1_12 to hdf5_1_12Kimmy Mu2020-01-241-2/+2
|\ | | | | | | | | | | | | * commit '48cc850199901c5b67a40183262f4ead975b884f': fix test assert fail error Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop Merge pull request #2234 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings to develop
| * Merge pull request #2071 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/intel_warnings ↵Kimmy Mu2020-01-081-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to develop * commit '0a2bb11b248df6841daabca3970df5d8504adfc7': address problems from comments fix and address comments change according to previous comments add missing piece remove unnecessary check macro fix intel compile warnings Revert "fix warnings from Intel compiler" Revert "fix warnings and some text alignment" Revert "let hdf5 pick up the right compiler in Intel environment" Revert "fix issues from previous PR comments" Revert "using a different MACRO" using a different MACRO fix issues from previous PR comments let hdf5 pick up the right compiler in Intel environment fix warnings and some text alignment fix warnings from Intel compiler
* | Squashed commit of the token_refactoring branch:Dana Robinson2020-01-191-7/+7
|/
* Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2019-12-161-4/+4
| | | | the Autotools and CMake.
* Merge pull request #1959 from develop to 1.12.Vailin Choi2019-10-111-6/+5
|
* Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim()Jerome Soumagne2019-10-081-11/+11
|
* add missing version to listAllen Byrne2019-09-261-2/+2
|
* Add HD prefix to testsAllen Byrne2019-08-151-912/+912
|
* Updated configure & CMake compiler flags for GCC 8.x, along with correspondingQuincey Koziol2019-06-281-40/+61
| | | | | changes to warnhist script (and some extra improvements for condensing C++ and Java warnings), and fixed a bunch of warnings.
* Changes that show the right way to iterate over enums.Dana Robinson2019-03-211-6/+10
|
* Used the H5_INC_ENUM macro to squash enum value increment warnings.Dana Robinson2019-03-211-10/+10
|
* Squashed commit of private branch changes to support stackable VOL plugins.Quincey Koziol2018-10-251-8/+8
| | | | modified: test/dsets.c
* Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-4/+4
|
* Improving testsBinh-Minh Ribler2018-03-091-1/+1
| | | | | | | | Description: Fixed typos that caused daily test failure on Ostrich Platforms tested: Linux/64 (jelly) Linux/ppc64 (ostrich)
* Miscellaneous test fixesBinh-Minh Ribler2018-03-061-9/+34
| | | | | | | | | | Description: - dtypes.c: added the use of highest version of nested datatypes to verify the datatype's version. - miscellaneous typos Platforms tested: Linux/64 (jelly) Darwin (osx1010test)
* Misc improvementBinh-Minh Ribler2018-02-281-1/+0
| | | | | | | | | | | Description: - Added test file for h5repack test VERIFY_INVALIDBOUNDS - Updated MANIFEST - Removed unnecessary header file in test - Update h5repack script to copy the new file to the test location Platforms tested: Linux/64 (jelly) Darwin (osx1010test)
* Improving testsBinh-Minh Ribler2018-02-171-139/+516
| | | | | | | | | | | | Description: - Added test for version bounds with nested datatypes - Added script for additional version bound test in h5repack - Cleaned up tests for consistency - Removed extra included header files Platforms tested: Linux/64 (jelly) Linux/64 (moohan) Darwin (osx1010test)
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-251-6/+4
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Changes to be committed:Frank.Willmore2016-10-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | modified: bittests.c modified: cmpd_dset.c modified: dsets.c modified: dt_arith.c modified: dtypes.c modified: extend.c modified: fillval.c modified: filter_fail.c modified: flush1.c modified: gen_cross.c modified: hyperslab.c modified: istore.c modified: links.c modified: links_env.c modified: objcopy.c modified: plugin.c modified: tcheck_version.c modified: unlink.c modified: unregister.c Minor fixes to replace numeric exit codes with MACRO declarations. Not all codes found were boolean, and those cases were not changed.
* [svn-r30285] Description:Quincey Koziol2016-08-131-8/+8
| | | | | | | | | More warning cleanups, bringing the build down to 25 unique types of warnings, with 550 warnings in 122 files (down from 28, 770, and 134). Tested on: MacOSX/64 10.11.5 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r30238] Follow-on to HDFFV-9928: remove unconditional call of time.h ↵Allen Byrne2016-08-011-2/+0
| | | | type headers. Also remove duplicated includes when h5private.h is used.
* [svn-r28761] Description:Quincey Koziol2016-01-011-10/+89
| | | | | | | | | | | | Clean up many mismatches between malloc/free and H5MM_malloc/H5MM_xfree in the library and tests (and use of H5free_memory and H5Dvlen_reclaim). Also make H5Ocopy use a private version of H5Lexists, which doesn't internally throw (and suppress) errors when an object (or the path to it) isn't found in the destination. Tested on: MacOSX/64 10.11.2 (amazon) w/serial & parallel (h5committest forthcoming)
* [svn-r28138] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-10-201-2/+2
| | | | | | | | | | | | | | available Fix tests accordingly and fix misuse of hbool_t in various places Fix initialization of H5Pgcpl/ocpl structs in property decoding routines Tested on: Linux/32 (jam) Linux/64 (platypus) Linux/PPC64 (ostrich) MacOSX/64 10.11
* [svn-r27768] Description:Quincey Koziol2015-09-141-9/+84
| | | | | | | | | | | | | | | | | | | | | | Complete revamp of package initialization/shutdown mechanism in the library. Each package now has a single init/term routine. This new way should avoid packages being re-initialized during library shutdown and is also be _much_ more proactive about giving feedback for resource leaks internal to the library. Introduces a new "module" header file for packages in the library (e.g src/H5Fmodule.h) which sets up some necessary package configuration macros for the FUNC_ENTER/LEAVE macros. (The VFL drivers have their own slightly modified version of this header, src/H5FDdrvr_module.h) Also cleaned up a bunch of resources leaks all across the library and tests, along with addressing many warnings, as I encountered them. Tested on: MacOSX/64 10.10.5 (amazon) w/serial & parallel Linux/64 3.10.x (kituo) w/serial & parallel Linux/64 2.6.x (ostrich) w/serial
* [svn-r27572] Removed VMS-specific code from the library.Dana Robinson2015-08-241-4/+0
| | | | | | | | | The only remaining code consists of a few floating-point tests that rely on pre-generated and checked-in VMS files. These have been left alone, even though they will not be possible to recreate, since testing VMS float behavior is still important. Tested on: h5committest
* [svn-r27548] Revert r27545Jerome Soumagne2015-08-211-2/+2
|
* [svn-r27545] Add first support for _Bool and make hbool_t a "real" _Bool if ↵Jerome Soumagne2015-08-211-2/+2
| | | | | | available Fix tests accordingly
* [svn-r27133] - Add a new attribute function characterstic for format:Mohamad Chaarawi2015-06-011-6/+6
| | | | | | | | * H5_ATTR_FORMAT(X,Y,Z) __attribute__((format(X, Y, Z))) - Rename UNUSED attribute characterstic to H5_ATTR_UNUSED. - Rename NORETURN attribute characterstic to H5_ATTR_NORETURN tested with h5committest.
* [svn-r25531] remove use of C99 PRI that failed on windows in dtypes.cMohamad Chaarawi2014-08-111-7/+9
| | | | fix bugs where hid_t were assumed to be 32 bit ints or herr_t.
* [svn-r25527] fix printf format warnings in dtypes test.Mohamad Chaarawi2014-08-111-2/+2
|
* [svn-r25496] Description:Quincey Koziol2014-07-301-16/+13
| | | | | | | | | Merge 64-bit ID changes from branch to trunk. (Plus a few minor cleanups that aren't on the branch) Tested on: Mac OSX/64 10.9.4 (amazon) w/C++ & FORTRAN (h5committested on branch already for a week)
* [svn-r24937] Adds an H5free_memory() function to the library for use withDana Robinson2014-03-311-7/+6
| | | | | | | | | | | | functions that return library-allocated memory. The test and tool code were modified to use this new function where it's appropriate. Fixes HDFFV-7710, HDFFV-8519, and HDFFV-8551 Tested on: 64-bit Windows 7 w/ VS2012 32-bit LE linux w/ parallel and fortran (jam) 32-bit LE linux w/ fortran and C++ (jam)
* [svn-r24392] Cleanup testfiles from scripts. Update lists of files to be ↵Allen Byrne2013-11-011-2/+3
| | | | | | cleaned. CMake update to clean testfiles. Tested: local cmake, autools, and h5committest
* [svn-r24376] Updated all code to use HDmalloc, HDcalloc, and HDfree.Dana Robinson2013-10-311-38/+38
| | | | | | | | | | | | | Prep work for adding a memory free function, part of HDFFV-8551. Tested on: 32-bit LE linux (jam) * with C++, Fortran * with thread safety on These are minor changes (almost entirely renaming foo functions to HDfoo) that don't change functionality. This should not require a full commit test.
* [svn-r24101] Description:Quincey Koziol2013-09-051-30/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clean up warnings, enable new compiler warning flag(s) and bring back changes from Coverity branch: r20813: Remove the dead code as listed for coverity bug #1722. h5committested. r20814: Issue 69: Check return value and throw error if negative return. Also free datatype id on error r20815: Use HDstrncpy. --gh r20816: Replaced one last HDstrcat call with HDstrncat to resolve coverity issue 832. r20817: Use HDstrncpy and HDstrncat. --gh r20818: Purpose: Fix valgrind issues with h5jam Description: Modified h5jam to free strings strdup'd in parse_command_line before exit. Note that they may still not be freed in case of error, due to the widespread use of exit(). r20819: Issue 80: change loop to use int as loop index. r20820: Maintenance: Fixed the bug found by coverity CID 788 There were two problems with this function: 1) it tried to unnecessary free NULL pointer 2) it tried to allocate c_name buffer that is done by H5Pget_class_name Tested on: Mac OSX 10.8.4 (amazon) w/gcc 4.8.1, C++ & FORTRAN (too minor to require h5committest)
* [svn-r22646] Description:Quincey Koziol2012-08-081-16/+19
| | | | | | | | | Changes resulting from Klocwork static analysis tool, from Mark Miller @ LLNL (miller86@llnl.gov). Tested on: Mac OS X/64 10.7.4 (amazon) w/debug, C++ & FORTRAN, using gcc 4.7.x (too minor to require h5committest)
* [svn-r22393] I forgot to close a few datatypes in test_str_create. I fixed ↵Raymond Lu2012-05-231-0/+5
| | | | | | them in this commit. Tested on jam - very simple change.
* [svn-r21736] Issue 7582 - The library allowed the conversion of strings ↵Raymond Lu2011-11-101-22/+107
| | | | | | between ASCII and UTF8. I added more test cases to the previous commit. Now it has conversion from UTF8 to ASCII, ASCII to UTF8, VL and fixed length, and H5Tconvert. Tested on jam, koala, linew.
* [svn-r21734] Issue 7582 - The library allowed the conversion of strings ↵Raymond Lu2011-11-081-0/+132
| | | | | | between ASCII and UTF8. I corrected it by adding a condition check in H5T_conv_s_s and H5T_conv_vlen to report an error under this situation. Tested on jam, koala, linew.
* [svn-r21674] Issue 7618 - the library had seg fault when it tried to shrink ↵Raymond Lu2011-10-261-0/+14
| | | | | | | | the size of compound data type through H5Tset_size immedia tely after the type was created. I fixed it in this commit. Tested on jam, linew, and koala.
* [svn-r21508] Revoked svn check-ins 20913 and 20921 (fix for HDFFV-7579) ↵Dana Robinson2011-10-101-107/+0
| | | | pending a careful evaluation of enum conversion behavior.
* [svn-r21152] Description:Quincey Koziol2011-07-281-0/+157
| | | | | | | | | | | | | | | | | | | | Further patches for Jira 7638, to ensure that H5D/Aget_type will be attached to the correct top file. (This change to the library should reverted when Jira 7638 is finally finished) Tested on: FreeBSD/32 8.2 (loyalty) w/gcc4.6, w/C++ & FORTRAN, in debug mode FreeBSD/64 8.2 (freedom) w/gcc4.6, w/C++ & FORTRAN, in debug mode Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (koala) w/Intel compilers, w/default API=1.6.x, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, w/threadsafe, in production mode Linux/PPC 2.6 (heiwa) w/C++ & FORTRAN, w/threadsafe, in debug mode Mac OS X/32 10.6.8 (amazon) in debug mode Mac OS X/32 10.6.8 (amazon) w/C++ & FORTRAN, w/threadsafe, in production mode
* [svn-r21127] Description:Quincey Koziol2011-07-201-4/+4
| | | | | | | Correct to use correct FAPL, to fix error when running 'make check-vfd' Tested on: Linux/64 2.6 (koala) w/make check-vfd
* [svn-r21120] Description:Quincey Koziol2011-07-181-0/+199
| | | | | | | | | | | Check in ugly version of fix for Jira #7638. I'm going to leave the issue open in Jira and when the library has been refactored to use shared file pointers (instead of top file pointers) for file operations, I'll uncomment the check in src/H5Oshared.c Tested on: Mac OS X/32 10.6.8 (amazon) w/debug (too small for h5committest)