summaryrefslogtreecommitdiffstats
path: root/test/tfile.c
Commit message (Collapse)AuthorAgeFilesLines
* File locks now work on Windows (#480)Dana Robinson2021-03-221-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * File locks now work on Windows Uses LockFileEx() and UnlockFileEx(). Fixes HDFFV-10191 (partial). * Committing clang-format changes * Committing clang-format changes * Fixes commenting in h5repack * Reworks H5Fis_accessible() H5Fis_accessible() created a new file handle and attempted to read through it, which will fail when a file has been opened with an exclusive lock on operating systems that have mandatory locks. This change uses the same scheme we use in H5Fopen() to check if the file is already open and only tries to read the file signature if the file has not already been opened. Also adds a test for this behavior. * Committing clang-format changes * Trivial change to force github to run actions Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Update clang config (#473)Quincey Koziol2021-03-171-54/+216
| | | | | | | * Update clang config to put H5E_BEGIN_TRY / H5E_END_TRY on separate lines, empty C++ methods on separate lines, understand that ALL_MEMBERS / UNIQUE_MEMBERS are foreach macros, and properly skip the 'config' directory in the find command without emiting a warning * Committing clang-format changes Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
* Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451)Sean McBride2021-03-101-1/+1
| | | | | | | | | * Fixed all clang-tidy bugprone-suspicious-string-compare warnings This change was generated entirely by clang-tidy itself. * Reformat code with clang v10.0.1. Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
* Update license url (#332)Larry Knox2021-02-171-1/+1
| | | | | | * Modify temporary rpath for testing in java example scripts. * Update URL in source file Copyright headers for web copy of COPYING file - src and test directories.
* develop revert source to clang-format version 11 (#293)Allen Byrne2021-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OESS-98 convert plugin option to FetchContent, add tests * Fixes for pkcfg files because of plugin option * OESS-98 fix tools test for plugins * Keep doxygen comments under 100 chars long - format hint * Whitespace * HDFFV-11144 - Reclassify CMake messages * HDFFV-11099/11100 added help text * Reworked switch statement to compare string instead * Fix typo * Update CDash mode * Correct name of threadsafe * Correct option name * Undo accidental commit * Note LLVM 10 to 11 format default changes * Update format plugin * Undo clang-format version 11 changes * One more correction
* Reformat source (#244)Quincey Koziol2021-01-071-4/+4
|
* Transfer doxygen H5O RM blocks from doxygen branch to develop. (#174)vchoi-hdfgroup2020-12-161-0/+10
| | | Co-authored-by: vchoi <vchoi@jelly.ad.hdfgroup.org>
* Basic alignment with async branch (#115)Quincey Koziol2020-11-231-1/+1
| | | | | | | * 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
* HD prefix updates in src/ and test/Dana Robinson2020-10-241-1/+1
| | | | | | | Adds missing HD prefixes to API calls in src and test. Adds some extra processing to bin/checkposix to keep the noise levels down when running the script (not comprehensive).
* Clang-format of source filesAllen Byrne2020-09-301-1332/+1288
|
* Removes staff email addresses from the repositoryDana Robinson2020-08-071-3/+0
| | | | Removes redundant C library headers from hl library
* merge and fixkmu2020-01-211-26/+26
|\
| * Squashed commit of the token_refactoring branch:Dana Robinson2020-01-161-26/+26
| |
* | merge and fix conflictkmu2020-01-191-5/+4
|\ \ | |/
* | fix unused related warningskmu2020-01-131-1/+3
|/
* Yanked -Wc++-compat from the flags used to build the C library in bothDana Robinson2019-12-041-19/+19
| | | | the Autotools and CMake.
* Make wrappers, tests and tools use H5Treclaim() instead of H5Dvlen_reclaim()Jerome Soumagne2019-10-081-4/+4
|
* Update versioning to next major versionAllen Byrne2019-09-251-0/+1
|
* OESS-29 Update HD prefix mostlyAllen Byrne2019-08-241-3/+2
|
* Add HD prefix to testsAllen Byrne2019-08-151-15/+15
|
* Added the map (H5M) APIDana Robinson2019-08-131-0/+3
|
* Correct hid_t error value to H5I_INVALID_HID in tests related to libver_bounds.Vailin Choi2019-06-251-112/+112
|
* Fix for HDFFV-10808 H5Pset_file_space_strategy succeeds when using ↵Vailin Choi2019-06-241-123/+163
| | | | | | | H5Pset_libver_bounds v18,v18. Fails file creation when non-default free-space info is set in fcpl and the library version high bound is less than v110 because free-space info message is introduced in library release v110.
* Add support for GCC 7.x warnings, update warnhist script to account for them,Quincey Koziol2019-06-211-0/+1
| | | | clean up warnings.
* Merge pull request #1729 in HDFFV/hdf5 from ↵Vailin Choi2019-06-171-0/+84
|\ | | | | | | | | | | | | | | ~VCHOI/my_third_fork:bugfix/HDFFV-10800-h5ocopy-failure to develop * commit 'dfdc27b04b2e8bcd1985ba90ce6553d8b3805fda': Fix release notes based on feedback from pull request. Fix for HDFFV-10800 H5Ocopy failure: The value for the H5F_LIBVER_V18 index in H5O_fill_ver_bounds[], the format version bounds array for fill value message, should be version 3 not 2.
| * Fix for HDFFV-10800 H5Ocopy failure:Vailin Choi2019-06-121-0/+84
| | | | | | | | | | The value for the H5F_LIBVER_V18 index in H5O_fill_ver_bounds[], the format version bounds array for fill value message, should be version 3 not 2.
* | Fixed problem with H5Fdelete "test" and split VFD.Dana Robinson2019-06-161-1/+1
| |
* | Added H5Fdelete call and VOL support (but no VFD/native implementation).Dana Robinson2019-06-111-0/+107
|/
* Fix for split VFD and file cleanup when testing H5Fis_hdf5Dana Robinson2019-04-261-0/+6
| | | | and H5Fis_accessible in tfile.c.
* Improvements to the H5Fis_accessible() and H5Fis_hdf5() testsDana Robinson2019-04-251-95/+152
| | | | | | in tfile.c. * General code tidying. * Expanded tests to work with multi-file VFDs.
* Add H5Fget_fileno() API routine.Quincey Koziol2019-04-121-0/+24
|
* Set V112 as the latest format and extend the arrays of version bounds.Vailin Choi2019-04-041-27/+25
|
* Used the H5_INC_ENUM macro to squash enum value increment warnings.Dana Robinson2019-03-211-15/+15
|
* Corrected comment in src/H5VLint.c, fixed pass-through info size inQuincey Koziol2019-01-061-54/+74
| | | | | | | src/H5VLpassthru.c, switched to stashing VOL connector ID & info in API context (in src/H5CX.c, src/H5CXprivate.h, src/H5F.c, src/H5Fint.c, and src/H5Fefc.c), patched up all sorts of issues in the tests, to make them work with 'check-vfd' (and 'check-vol' again).
* Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-181-1/+0
|\
| * Removed H5I_REFERENCE from the library. It has always been unusedDana Robinson2018-12-081-1/+0
| | | | | | | | and has been marked 'deprecated' since 1.10.0. Fixes HDFFV-10252.
* | Re-format test/ohdr_mindset.cJacob Smith2018-12-141-4/+4
| | | | | | | | Fix a few transcription errors in other test files.
* | formatting adjustmentsJacob Smith2018-12-141-27/+61
| |
* | Reformat to be more consistent with existing code.Jacob Smith2018-12-131-75/+26
| | | | | | | | Fix a few typos.
* | Merge branch 'develop' into dset_ohdr_minimizeJacob Smith2018-12-121-67/+159
|\ \ | |/
| * Refactor and standarize file object callbacks, including some fixes on theQuincey Koziol2018-10-311-10/+26
| | | | | | | | dataset callbacks.
| * Squashed commit of private branch changes to support stackable VOL plugins.Quincey Koziol2018-10-251-4/+1
| | | | | | | | modified: test/dsets.c
| * VOL FEATUREDana Robinson2018-10-101-36/+122
| |
| * Normalization with vol_integration (test code and H5Xtest.c)Dana Robinson2018-09-201-22/+15
| |
* | change test file name and apply 'h5_fixname' to itJacob Smith2018-12-111-3/+6
| |
* | Stash work on object header reduction code and tests.Jacob Smith2018-09-111-0/+139
|/ | | | CMake stuff is not verified.
* Revert "Merge pull request #1116 in HDFFV/hdf5 from ↵hdftest2018-06-241-1/+1
| | | | | | | ~HDFTEST/hdf5_hft:hdf5_1_10 to develop" This reverts commit e9f476dad47ce593f13dacb77b1cc664d1f24e7b, reversing changes made to 2ff00b1b937ebe36ac6ddf590c16a4c27fc0b053.
* Merge branch 'develop' into hdf5_1_10.syncM. Scot Breitenfeld2018-06-041-8/+8
|\
| * Fix for HDFFV-10180 Performance issues with H5Oget_info.Vailin Choi2018-04-241-8/+8
| |
* | Merge branch 'develop' into hdf5_1_10.syncM. Scot Breitenfeld2018-05-081-4/+2
|\ \ | |/