summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Removed H5_ECXXFLAGS from libhdf5.settings (#140)Dana Robinson2020-11-301-1/+1
| | | This variable is unused and was missed in the -Werror changes.
* Minor cleanups (#132)Quincey Koziol2020-11-263-27/+27
|
* Enhance API tracing (#120)Quincey Koziol2020-11-2658-2564/+3091
| | | Enhance API tracing to handle more types, and to put tracing info in a string, allowing it to be used when reporting errors. Also refactor ref-counted strings (H5RS) module to add capabilities needed for the tracing. Refactored H5Gname.c routines to use new H5RS routines also. Added /*out*/ tags to API routines that are returning information to the application. Updated H5TRACE macros from running updated trace script over library code. Added tests for new H5RS routines.
* Update H5TS code to reflect library's coding style (#123)Quincey Koziol2020-11-252-42/+178
|
* Move package initialization code for H5A and H5G to internal source file. (#125)Quincey Koziol2020-11-255-353/+343
|
* Adds a configure/CMake option to control -Werror behavior (#119)Dana Robinson2020-11-251-1/+1
| | | | | * Works in both Autotools and CMake * OFF by default * Reverts "always on" -Werror behavior released in 1.10.7
* Doxygen - added (mostly) beginner functions (#112)bljhdf2020-11-236-27/+1551
| | | | | * Doxygen - added (mostly) beginner functions * Removed duplicate H5Pset_szip function
* Basic alignment with async branch (#115)Quincey Koziol2020-11-23108-1169/+1171
| | | | | | | * 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
* Full set of current H5F documentation. (#105)Gerd Heber2020-11-211-13/+855
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * First cut of the H5 public API documentation. * Added H5Z "bonus track." * Applied Quincey's patch. * Added the missing patches from Quincey's original patch. * H5PL (complete) and basic H5VL API documentation. * Added H5I API docs. * Added H5L API docs. * First installment from Elena's H5T batch. * Second installment of Elena's H5T batch. * Final installment of Elena's H5T batch. * Migrated documentation for SWMR functions. * Catching up on MDC functions. * Integrated the H5F MDC function documentation. * Added MDC and parallel H5F functions. * Slightly updated main page. * Added doxygen/dox/H5AC_cache_config_t.dox to MANIFEST.
* Minor/id code cleanup (#114)Dana Robinson2020-11-2110-1692/+1852
| | | | | | | | | | | | | | | | | | | | | | | | | | | * Revert "Switch ID code to use a hash table instead of a skip list (#52)" This reverts commit a50d211755cb272b2e468144e7d892a4c90813c4. * H5I_id_type_t and H5I_class_t are no longer managed via free lists * Fixed commenting issues * Naming and commenting cleanup in H5I.c * H5I cleanup * Header cleanup * Commenting * More uniform naming * Renames H5I_id_type_t and related in H5I.c * Adds gcc pragmas to ignore H5I const casting * Split H5I code into multiple files * Rename id_type to simply type in H5I code * Minor typo in H5Itest.c
* Revert "Switch ID code to use a hash table instead of a skip list (#52)" (#104)Dana Robinson2020-11-202-1287/+28
| | | This reverts commit a50d211755cb272b2e468144e7d892a4c90813c4.
* Add new files to CMake and MANIFEST (#100)Allen Byrne2020-11-191-0/+1
| | | | | * Add new header file * Add missing file
* First cut of the H5 public API documentation. (#80)Gerd Heber2020-11-1824-557/+6919
| | | | | | | | | | | | | | | | | | | | | * First cut of the H5 public API documentation. * Added H5Z "bonus track." * Applied Quincey's patch. * Added the missing patches from Quincey's original patch. * H5PL (complete) and basic H5VL API documentation. * Added H5I API docs. * Added H5L API docs. * First installment from Elena's H5T batch. * Second installment of Elena's H5T batch. * Final installment of Elena's H5T batch.
* Switch ID code to use a hash table instead of a skip list (#52)Dana Robinson2020-11-172-28/+1287
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Brings hash table ID code over from Bitbucket branch * Includes reformatting via clang. * Excludes uthash.h from reformatting. * Still has the failing test issue in tid.c. This should only be a problem if a custom ID type is used and its free function deletes other IDs. * Fixes munged H5_GCC_DIAG_ON/OFF macros in H5I.c The H5_GCC_DIAG_ON/OFF macros used to turn off fallthrough warnings in uthash.h (external code) were munged when formatting with clang due to their lack of quotes. e.g.; H5_GCC_DIAG_OFF(implicit-fallthrough) was munged to: H5_GCC_DIAG_OFF(implicit - fallthrough) which compiles, but is useless. So, with quotes, this is now: H5_GCC_DIAG_OFF("implicit-fallthrough") which survives reformatting with clang. * Fixes issues with user callbacks in the ID hash tables The skip lists (previously) used to handle IDs use a mark-and-sweep scheme to deal with user-defined ID delete callbacks which themselves delete other IDs in the list. The uthash hash table implementation used to manage the IDs in this feature branch does not have this ability. This commit restores the skip lists for non-library ID types in lieu of significantly modifying the uthash code. The hash tables are used to manage the library IDs as those do not delete other IDs when they are closed. * Adds uthash.h to MANIFEST * Removes implicit-fallthrough diagnostic disable Removing -Wimplicit-fallthrough=5 means that the uthash code no longer raises warnings so the H5_GCC_DIAG_OFF/ON macros that disabled those warnings have been removed from H5I.c. * Adds a test to ensure you can delete IDs in the H5Iiterate() callback
* Fix spelling of metadataKyle Sunden2020-11-131-1/+1
| | | was spelled "metadatda"
* Merge pull request #82 from derobins/minor/skip_list_errorLarry Knox2020-11-131-1/+1
|\ | | | | H5SL_release() returns SUCCEED on errors
| * H5SL_release() returns SUCCEED on errorsDana Robinson2020-11-121-1/+1
| | | | | | | | | | H5SL_release() erroneously returned SUCCEED on errors. It now correctly returns ret_value.
* | Merge pull request #84 from byrnHDF/developLarry Knox2020-11-131-7/+3
|\ \ | | | | | | Downgrade m4 doxygen macros.
| * | Add missing entries, remove m4 referenceAllen Byrne2020-11-121-7/+3
| | |
* | | Merge pull request #60 from bmribler/developLarry Knox2020-11-121-7/+12
|\ \ \ | |/ / |/| | Fix HDFFV-10590
| * | Fix HDFFV-10590Binh-Minh Ribler2020-10-2627-205/+125
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description This is to fix the CVE issue CVE-2018-17432. h5repack produced a segfault on a corrupted file. This fix modified the dataspace encode and decode functions per Quincey's suggestion to prevent the segfault and h5repack only failed for the corrupted file now. Platforms tested: Linux/64 (jelly)
| * | Merge branch 'develop' of https://github.com/HDFGroup/hdf5 into developBinh-Minh Ribler2020-10-2649-10579/+10674
| |\ \
| * | | Fix HDFFV-10590Binh-Minh Ribler2020-10-2627-127/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description This is to fix the CVE issue CVE-2018-17432. h5repack produced a segfault on a corrupted file. This fix modified the dataspace encode and decode functions per Quincey's suggestion to prevent the segfault. h5repack only failed for the corrupted file now. Platforms tested: Linux/64 (jelly)
* | | | Merge pull request #78 from gheber/developGerd Heber2020-11-103-103/+1230
|\ \ \ \ | | | | | | | | | | This is the first installment of Doxygen-based documentation for the H5F module.
| * | | | First cut of H5F.Gerd Heber2020-11-093-103/+1230
| | |_|/ | |/| |
* | | | Merge pull request #77 from byrnHDF/developLarry Knox2020-11-101-1/+3
|\ \ \ \ | |/ / / |/| | | Set doxygen default to normally disabled.
| * | | Update to latest doxygen.m4Allen Byrne2020-11-091-1/+3
| | | |
* | | | Merge pull request #73 from byrnHDF/developLarry Knox2020-11-082-3/+49
|\ \ \ \ | |/ / / | | | | Add doxygen autconf/cmake support
| * | | Change doxygen brief variableAllen Byrne2020-11-071-1/+1
| | | |
| * | | Doxygen correct PHONY targetAllen Byrne2020-11-031-1/+0
| | | |
| * | | Doxygen add new files and update docsAllen Byrne2020-11-031-0/+6
| | | |
| * | | Add doxygen auotoconf and cmake supportAllen Byrne2020-11-032-2/+43
| | | |
* | | | Change H5R__copy to not assume destination reference storage is initializedJordan Henderson2020-11-031-2/+4
|/ / /
* | | Merge pull request #65 from derobins/minor/mpi_2gb_limitLarry Knox2020-10-301-14/+14
|\ \ \ | | | | | | | | Fixes a bit shift issue in an MPI constant
| * | | Fixes a bit shift issue in an MPI constantDana Robinson2020-10-291-14/+14
| | | | | | | | | | | | | | | | | | | | Redefines TWO_GIG_LIMIT to be INT32_MAX instead of 1 << 31, which fixes an issue revealed by compiling with -Wshift-overflow.
* | | | Replaces C std library calls with H5MM equivalentsDana Robinson2020-10-306-39/+39
|/ / / | | | | | | | | | Mostly H5MM_memcpy in newer VFDs
* | | Fixes minor issues in various virtual file driversDana Robinson2020-10-2910-49/+24
| |/ |/| | | | | | | | | | | | | | | | | | | | | - HDFS VFD files now ignored in the Autotools when the HDFS VFD is not being built. - All VFD init code uses idiomatic H5I_INVALID_HID instead of -1 or FAIL. - The HDFS VFD now includes H5FDdrvr_module.h in the right place. - The HDFS tests in test/hdfs.c no longer pass NULL to VERIFY macros, which raised warnings. - Minor tweaks to fix const, unused variables, etc. warnings in several VFDs.
* | Merge pull request #59 from derobins/trivial/HDprefixLarry Knox2020-10-244-11/+11
|\ \ | | | | | | HD prefix updates in src/ and test/
| * | Restores erroneously deleted key_id field from S3 VFDDana Robinson2020-10-241-1/+1
| | | | | | | | | | | | | | | Accidentally deleted while preparing the PR. Only existed in a branch.
| * | HD prefix updates in src/ and test/Dana Robinson2020-10-244-12/+12
| | | | | | | | | | | | | | | | | | | | | 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).
* | | Removes -Wimplicit-fallthrough=5 from the gcc warningsDana Robinson2020-10-226-2/+39
|/ / | | | | | | | | | | | | | | | | | | | | | | -Wimplicit-fallthrough=3 is added by -Wextra, which we already set. Bumping the warning level only changes how fall-through comments are parsed, with level 5 turning off fall-through comments entirely. This is unnecessary and results in having to do extra work to squash warnings when included external code uses fall-through. This change also adds /* FALLTHROUGH */ comments where H5_ATTR_FALLTHROUGH is used so compilers that don't use attributes but do respect fall-through comments don't raise spurious warnings.
* | Whitespace and url correctionAllen Byrne2020-10-193-15/+16
| |
* | Update javadoc comments to reduce warnings (#41)Allen Byrne2020-10-161-1/+1
| |
* | More general message about using description for errnoThomas Kluyver2020-10-151-2/+6
| |
* | Note that the description for system errors may be used by h5pyThomas Kluyver2020-10-151-0/+2
| |
* | Comment adjustmentsAllen Byrne2020-10-083-5/+4
| |
* | Update reformatting settings, trace wrapping, and printf-format strings (#22)Quincey Koziol2020-10-0630-10538/+10588
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add BEGIN_FUNC / CATCH / END_FUNC to macros * Remove incorrect trailing '{' * Update trace script to wrap H5TRACE macros at 110 characters and improve comments for code that performs this operation. * Clean up printf-formatting in H5public.h and correct some oversights in the code. * Reformat with BEGIN_FUNC / END_FUNC handled correctly by clang-format * Run clang-format on changes. * Correct H5_SIZEOF_HSIZE_T/H5_SIZEOF_HSSIZE_T macros to match typedef. * And make the undef value match also. * Update comment * Update clang-format actions to exclude generated files. * Post-process generated H5LTparse.h file as well as H5LTparse.c file. * Fix formatting * Update version of github clang-format action
* | Fix VFD h5repacktest (#20)Allen Byrne2020-10-061-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * h5repacktest VFD fix and formatting changes * Fix memory leak in H5PL__find_plugin_in_path When encountering a directory, the current loop iteration was skipped without freeing the memory allocated for the path. * Refactor parser GCC diagnostic statements * genparser on jelly with default bison/flex Co-authored-by: Michael Kuhn <michael.kuhn@ovgu.de>
* | Fix memory leak in H5PL__find_plugin_in_pathMichael Kuhn2020-10-051-1/+3
|/ | | | | When encountering a directory, the current loop iteration was skipped without freeing the memory allocated for the path.
* Clang-format of source filesAllen Byrne2020-09-30489-107614/+100931
|