Commit Graph

23399 Commits

Author SHA1 Message Date
Julien Schueller
c2099d0e70
win32defs: Fix Wundef warning (#4467) 2024-05-09 07:38:08 -07:00
Allen Byrne
9ad5f7e3a9
Use ADD_H5_ERR_TEST to not compare output (#4464) 2024-05-06 16:33:09 -05:00
bmribler
815453a78f
Fix typo in H5Rget_obj_type (#4463)
Issue GH-1723
2024-05-06 08:32:02 -05:00
Allen Byrne
ea3a3a25f1
Remove use of err files in autotools test scripts (#4461) 2024-05-06 08:31:39 -05:00
jhendersonHDF
6114d1adfb
Fixes and cleanup for ph5diff (#4460)
* Fixes and cleanup for ph5diff

Fixes concurrency issues in ph5diff that can cause interleaved
output

Fixes an issue where output can sometimes be dropped if it ended
up in ph5diff's output overflow file

Fixes an issue where MPI_Init is called after HDF5 has been
initialized, preventing the library from setting up an MPI
attribute to perform cleanup on MPI_Finalize

Fixes an issue in config/cmake/runTest.cmake where the CMake
logic would try to access an invalid list index if the number
of lines in a test's output and reference files don't match

* Add release note
2024-05-03 15:00:15 -05:00
Quincey Koziol
e4f079e27b
Clean up memory leaks in t_vfd (#4457) 2024-05-03 03:31:38 -07:00
Quincey Koziol
63fcd583d0
Removed "function/code stack" debugging configure option (#4454)
Easily replaced w/third-party tools, e.g. libbacktrace
(https://github.com/ianlancetaylor/libbacktrace)
2024-05-03 03:30:45 -07:00
Allen Byrne
1b6ae84d15
Convert ERR test to use grep (#4451)
* Convert ERR test to use grep
* Eliminate use of .err files in CMake
* Show error output if grep fails
* Turn off cuda in NVHPC CI
2024-05-03 03:29:53 -07:00
Scot Breitenfeld
dfc6295c1d
Fixed failures with xl compilers. (#4458)
* type cast constant

* fixed return types
2024-05-02 15:33:20 -05:00
dependabot[bot]
0da5af4737
Bump the github-actions group with 3 updates (#4455)
Bumps the github-actions group with 3 updates: [actions/download-artifact](https://github.com/actions/download-artifact), [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/download-artifact` from 4.1.4 to 4.1.7
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](c850b930e6...65a9edc588)

Updates `peaceiris/actions-gh-pages` from 3.9.3 to 4.0.0
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases)
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md)
- [Commits](373f7f263a...4f9cc6602d)

Updates `github/codeql-action` from 3.24.9 to 3.25.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b1aada464...d39d31e687)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: peaceiris/actions-gh-pages
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-02 05:33:32 -07:00
Quincey Koziol
76211b2c81
Fix bug in MPI-IO VFD (#4456)
Corrects incorrect usage of the vector_was_sorted parameter in H5FD__mpio_vector_build_types()
2024-05-02 05:23:52 -07:00
H. Joe Lee
eeaee6df62
Fix grammar in VOL guide (#4452) 2024-05-02 05:06:45 -07:00
bmribler
fa4f48d1e4
Fix heap-buffer-overflow in H5Fio.c (#4450)
The buffer size for checksum was smaller than H5_SIZEOF_CHKSUM, causing an
overflow while calculating the offset to the checksum in the buffer.

A check was added so H5F_get_checksums would fail appropriately in all
of its occurrences.

Fix gh-4434
2024-05-01 05:42:22 -07:00
Scot Breitenfeld
abf8b01f55
H5R Fortran wrappers and misc. H5R API/DOC updates (#4446)
- Add Fortran H5R APIs:
      h5rcreate_attr_f, h5rcreate_object_f, h5rcreate_region_f,
      h5ropen_attr_f, h5ropen_object_f, h5ropen_region_f,
      h5rget_file_name_f, h5rget_attr_name_f, h5rget_obj_name_f,
      h5rcopy_f, h5requal_f, h5rdestroy_f, h5rget_type_f

    - Fixed function H5Requal actually to compare the reference pointers

      Fixed an issue with H5Requal always returning true because the
      function was only comparing the ref2_ptr to itself.
2024-05-01 05:39:01 -07:00
vchoi-hdfgroup
b23affc2a6
Fix for github issue #3790: infinite loop closing library (#4445)
* Fix for github issue #3790: infinite loop closing library
Cause of the problem:
When h5dump tries to open the user provided test file, the metadata cache will
call the "get_final_load_size" callback to find out the actual size of the
the root object header.  The callback function will call
H5O__prefix_deserialize() to allocate space for the object header
data structure (via H5FL_CALLOC) and to deserialize the object header prefix
in order to find the actual size of the object header.
The metadata cache will then check whether the actual size obtained
will exceed the file's EOA.
Since the actual size obtained from the test file exceeds the EOA,
the metadata cache throws an error and return.
However, the oh structure that was allocated in H5O__prefix_deserialize()
was not freed and hence causing the problem described in this issue.
Fix:
1) Deallocate the oh structure after obtaining and saving the needed
information in udata which will be used later on in the "verify_chksum" callback.
2) Deserialize the object header prefix in the "object header's
"deserialize" callback regardless.  The original coding intends to keep the
deserialized prefix so that the object header's "deserialize" callback
does not need to deserialize the prefix again if the object header is coming
through the "get_final_load_size" callback.
2024-04-30 07:21:08 -05:00
Allen Byrne
667b607ca0
Add navigate chapters and use release_docs in Learn Basics (#4441) 2024-04-29 07:37:15 -05:00
Allen Byrne
1d3b22456c
sanitizer flags need set before compiler flags (#4444) 2024-04-27 10:14:03 -05:00
Quincey Koziol
5df6391246
Add support for builtin_expect compiler hint (#4425)
* Add support for __builtin_expect extension

And H5_LIKELY / H5_UNLIKELY macros to wrap it

Signed-off-by: Quincey Koziol <quincey@koziol.cc>

* Committing clang-format changes

---------

Signed-off-by: Quincey Koziol <quincey@koziol.cc>
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2024-04-25 16:33:47 -05:00
Quincey Koziol
603f8b1f6b
Start refactoring H5E code to avoid using IDs internally (#4427) 2024-04-25 11:33:11 -07:00
Quincey Koziol
0ce1a96b4e
Don't print thread ID when the library isn't multithreaded. (#4428)
Corresponding changes to make error output for regression tests agnostic
to thread setting.

Signed-off-by: Quincey Koziol <quincey@koziol.cc>
2024-04-24 08:32:28 -07:00
H. Joe Lee
2a41324b59
Fix broken links in VOL API table (#4438) 2024-04-24 08:30:16 -07:00
jhendersonHDF
3876299d75
Split H5Tconv.c into modules by type (#4393)
* Split H5Tconv.c into modules by type

* Add new H5Tconv headers to list of private headers
2024-04-22 12:23:13 -07:00
Dana Robinson
0394b03f66
Allow clang-format to format H5Cpkg.h (#4429)
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2024-04-20 17:11:33 -05:00
Larry Knox
1dc8aed9b6
Fixing string in RELEASE_PROCESS.md that is causing a doxygen error - (#4430)
Unsupported xml/html tag <n> found.
2024-04-20 15:36:34 -05:00
H. Joe Lee
ed10a4714b
Lowercase in File Format Specification (#4424) 2024-04-20 12:04:04 -05:00
Glenn Song
3bf963b87d
Add release process markdown file (#4312) 2024-04-20 07:10:52 -05:00
Larry Knox
1d1c040544
Updates for release_docs/NEWSLETTER.txt. (#4423) 2024-04-19 09:03:07 -07:00
bmribler
84e75e28dd
Add training videos page (#4422) 2024-04-19 07:45:56 -05:00
H. Joe Lee
8298dad690
Sync version with py-h5py package (#4420) 2024-04-19 07:44:59 -05:00
H. Joe Lee
4224aa036a
Update oneAPI version to 2024.1 for Daily Build (#4418) 2024-04-18 13:09:13 -05:00
Allen Byrne
bbf1e26cda
Remove obsolete file (#4416) 2024-04-17 10:24:22 -05:00
bmribler
dab8651a37
Update documentation (#4415)
Added the replacement for https://docs.hdfgroup.org/archive/support/HDF5/doc/TechNotes/Version.html
Corrected some minor typos and another deadlink
2024-04-17 08:22:27 -05:00
Allen Byrne
c548657043
Update and use more URL alias (#4413) 2024-04-17 07:56:19 -05:00
Allen Byrne
f155eef5bc
Fix CXX sanitizer by moving marco include to after CXX code. (#4414) 2024-04-17 07:54:40 -05:00
Allen Byrne
3fad116502
Use aliases for URLs (#4409) 2024-04-16 13:51:20 -05:00
bmribler
3f0649cc06
Update documentation (#4403)
- Added File Image Operations to Technical Notes

* Use a correct example location
2024-04-16 13:02:36 -05:00
H. Joe Lee
77d91d8af7
Update Intel oneAPI version to 2024.1 (#4412) 2024-04-16 10:08:23 -05:00
Scot Breitenfeld
908cdb05a4
added missing doxygen \since (#4410) 2024-04-16 07:58:38 -05:00
bmribler
2f8433491a
Add additional terms to the glossary (#4401)
Fixes GH #4390
2024-04-16 07:24:36 -05:00
Allen Byrne
e7c3c99325
Correct release workflow to always create a tag (#4404)
* Checkout should use the triggered ref

* Always create a tag
2024-04-15 13:36:23 -05:00
bmribler
84fac90ce8
Correct the high-level library link (#4398)
* Correct the high-level library link

The link currently used points to 1.13 release.  Changed to use the md file instead.

* Update Doxyfile for md files

* Update to include md files
2024-04-12 12:37:15 -07:00
jhendersonHDF
7d0cbc3479
Set available CMake build types for non-multi-config generators (#4330) 2024-04-12 09:26:48 -07:00
Dana Robinson
125b243d91
Remove TRACE macros (#4341) 2024-04-12 09:16:41 -07:00
Allen Byrne
db4578179b
Add CXX flags (#4359) 2024-04-12 09:16:12 -07:00
Scot Breitenfeld
8642ed481c
switched from \returns to commonly used \return (#4389) 2024-04-11 22:08:10 -07:00
H. Joe Lee
d284457441
Remove signature in comment (#4366) 2024-04-11 09:54:15 -07:00
Dana Robinson
bf01a42ab7
Normalize 'known problems' in RELEASE.txt w/ 1.14 (#4387)
We updated these in the 1.14 branch first, so this just brings the
changes over to develop.
2024-04-11 07:37:12 -07:00
H. Joe Lee
afa47df9a1
Fix broken links and references in INSTALL_Auto.txt (#4382) 2024-04-11 05:33:20 -07:00
H. Joe Lee
98b6d8ee9b
Fix a broken link for zlib url (#4383) 2024-04-11 05:33:04 -07:00
H. Joe Lee
7ff8ad5e16
Change date to data in INSTALL_parallel (#4384) 2024-04-11 05:32:40 -07:00