Commit Graph
870 Commits
Author SHA1 Message Date
Scot Breitenfeld 5711c7466f Update the version to 2.1 (#6147)
Update version to 2.1 and derive version information from H5public.h, removing h5vers script and updating CMake and Java configurations.

Versioning:
Update version to 2.1 in H5public.h.
Derive version strings in H5public.h using macros.
CMake:
Extract version from H5public.h in HDF5config.cmake and HDF5AsSubdirMacros.cmake.
Configure README.md and CHANGELOG.md using CMakeLists.txt.
Java:
Generate H5Version.java from H5public.h for version consistency.
Update H5.java to use H5Version for version constants.
Removals:
Delete bin/h5vers script, previously used for version management.
2026-01-21 23:02:49 -06:00
Allen Byrne b754dcb8f2 Move Java wrappers to FFM using jextract and java 25 (#5957)
FFM build requires Java 25, Jextract 25.
Generates FFM bindings during configure.
JNI is default when the requirements are not met or can be forced.
Presets added for maven and FFM - JNI is default selection.
Enhanced Maven options will work with either JNI or FFM
New Workflows for testing and maven uploads.
Extensive documentation changes for java.
2025-11-04 14:03:06 -06:00
Scot Breitenfeld e4113ffaa5 Combined INSTALL_parallel and README_HPC content (#5952)
* Combined INSTALL_parallel and README_HPC into a single, README_HPC.md file.
* Removed all autotools references
* Updated All References
2025-10-30 21:57:14 -05:00
Larry Knox 45b7ee8179 Delete leftover line from bin/h5vers. (#5900) 2025-10-06 08:20:24 -05:00
Larry Knox 4399814deb Update bin/h5vers to omit any subversion in the "Executive Summary" line (#5898)
Update bin/h5vers to omit subversion in "Executive Summary" line of CHANGELOG.md.
Prevents confusion on GitHub HDF5 Releases page by aligning version display with snapshot tar.gz and zip files.
2025-10-05 21:50:16 -05:00
Larry Knox 8073ad8849 Update h5vers and release scripts to handle change from RELEASE.txt to CHANGELOG.md (#5875)
* Updated h5vers and release scripts to handle change from RELEASE.txt to
CHANGELOG.md.

* Added links to wiki and cdash for Platforms Tested.

* Don't use heading format for version lines at top of README.md and
CHANGELOG.md files.
2025-09-26 10:29:59 -05:00
Larry Knox ef171e05bb Remove NEWSLETTER files. (#5859)
* Remove NEWSLETTER files.
Update tarball.yml and release-files.yml to upload description for
snapshots and releases.

* Add path to CHANGELOG.md in tarball.yml.
2025-09-23 16:18:54 -05:00
Dana Robinson 3b47e2d227 Remove hbool_t from the public API (#5802)
* Remove hbool_t from the public API

This was previously removed from the source code, but the API calls
retained hbool_t in the public API calls. This commit removes
hbool_t from the public APIs.

hbool_t is retained as a typedef for bool in H5public.h so existing
code doesn't break.
2025-09-15 17:36:22 -05:00
Larry Knox f8d89333eb Remove setting HDF5 version for configure.ac (#5789)
Add setting HDF5 version for config/examples/HDF5AsSubdirMacros.cmake in bin/h5vers.
Set HDF5 version to 2.0.0-1 for snapshot release.
2025-09-09 08:21:32 -05:00
Allen Byrne 968cc9dd44 Add script to test examples with h5*cc pkg-config wrappers (#5486) 2025-07-16 13:57:43 -05:00
Allen Byrne 1602e1fbfe Remove autotools files and docs (#5358) 2025-03-14 13:28:44 -05:00
Dana Robinson 8f2c03b2da Remove the hash_size param from H5Iregister_type() (#5170)
The hash_size parameter of H5Iregister_type() hasn't been used since 1.8.
It's been removed and the API call has been versioned.

This PR also updates the make_vers script to handle v2.0.0.

Fixes #4344
2024-12-10 00:34:40 -08:00
Dana Robinson cf222df941 Added a bin/process_source.sh script (#5143)
This runs the scripts in bin that autogen.sh ran in addition to
regenerating the Autotools files.
2024-11-25 11:02:45 -06:00
H. Joe Lee ac04b8698f Fix typo masquarading (#5093) 2024-11-13 20:04:44 -08:00
Scot Breitenfeld 35df4fb6a6 Fix parsing error of h(p)*c wrappers (#5060)
Add quotes to correctly handle whitespace.
2024-11-02 12:40:07 -07:00
Dana Robinson d8953c0dba bin/restore deleted checked-in files (#5017)
This was not fixed when we started checking in files that were
generated by the Perl scripts in bin
2024-10-28 06:59:26 -07:00
Allen Byrne 5425a571e0 Convert develop to v2.0.0 (#5006)
Switches previous 1.16/17/18 values to 2.0
2024-10-27 21:51:07 -07:00
Dana Robinson 6db28d6f9f Remove bin/cmakehdf5
This was an unsupported build script to make building the library
with CMake look like building it with the Autotools. It hasn't been
maintained in a long time and we've had it marked as deprecated for
years.
2024-10-22 14:42:56 -05:00
Dana Robinson 245bb2cd23 Remove some Solaris Studio work-arounds (#4979)
Solaris Studio hasn't been updated in almost a decade and the last
version (12.4, circa 2015) doesn't seem to fully support C11.

This PR removes some work-arounds for things like __attribute__()
support.
2024-10-20 12:47:52 -07:00
Dana Robinson 7f1e49206d Renamed COPYING to LICENSE (#4978)
This is where most people will expect to find license information. The
COPYING_LBNL_HDF5 file has also been renamed to LICENSE_LBNL_HDF5.
The licenses are unchanged.
2024-10-18 21:13:04 -07:00
Scot Breitenfeld 610648efd2 The h5(p)*c parser retains escaped whitespace character (#4967) 2024-10-18 09:03:42 -07:00
H. Joe Lee 1fe032d3e0 Improve grammar and style of comment block in bin/genparser (#4879) 2024-09-27 07:30:27 -05:00
Allen Byrne d7e0ad5200 Change osx refs to macos (#4707) 2024-08-13 14:43:28 -05:00
Quincey Koziol 850d6c8f06 Pause recording errors instead of clearing the error stack (#4475)
An internal capability that's similar to the H5E_BEGIN_TRY / H5E_END_TRY
macros in H5Epublic.h, but more efficient since we can avoid pushing errors on
the stack entirely (and those macros use public API routines).

This capability (and other techniques) can be used to remove use of
H5E_clear_stack() and H5E_BEGIN_TRY / H5E_END_TRY within library routines.

We want to remove H5E_clear_stack() because it can trigger calls to the H5I
interface from within the H5E code, which creates a great deal of complexity
for threadsafe code.  And we want to remove H5E_BEGIN_TRY / H5E_END_TRY's
because they make public API calls from within the library code.

Also some other minor tidying in routines related to removing the use of
H5E_clear_stack() and H5E_BEGIN_TRY / H5E_END_TRY from H5Fint.c
2024-06-18 14:17:43 -07:00
Philipp Oppermann b698b484ae Change type of offset arg in H5Pset_external to HDoff_t (#3505)
The `off_t` type is only 32-bit on Windows, which makes it impossible to link to higher offsets in large files.

The `H5O_efl_entry_t` struct defines its `offset` field already as `HDoff_t`, so no additional conversion is needed.
2024-06-04 14:16:27 -07:00
Quincey Koziol 2b5769e2a2 Refactor error handling code to eliminate internal ID calls (#4453)
All calls to the H5I routines are now made in API routines (sometimes in
FUNC_ENTER/LEAVE_* macros), except for some calls to H5E_clear_stack() within
the library, but I'm planning to remove those over time.

Also, made all the library internal error messages into static const variables,
instead of malloc'ing them, which means that they can just be referenced
and not copied.

Several new and updated auto-generated header files were necessary to enable
this.
2024-05-09 07:41:57 -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
Quincey Koziol 603f8b1f6b Start refactoring H5E code to avoid using IDs internally (#4427) 2024-04-25 11:33:11 -07:00
Larry Knox 1d1c040544 Updates for release_docs/NEWSLETTER.txt. (#4423) 2024-04-19 09:03:07 -07:00
Dana Robinson 125b243d91 Remove TRACE macros (#4341) 2024-04-12 09:16:41 -07:00
Scot Breitenfeld 527ab8c2fd Removed duplicate entries in compile line for h5* compiler wrappers (#4360)
* h5fc remove duplicate args
* h5 wrappers remove duplicate args
2024-04-09 17:01:00 -07:00
Allen Byrne aa08f39e64 Remove obsolete c++ doxygen config files (#4358) 2024-04-09 14:04:01 -07:00
Allen Byrne 874c473f34 Suggested header footer for NEWSLETTER (#4204)
* Suggested header footer for NEWSLETTER

* Updates

* Add NEWSLETTER.txt to h5vers script
2024-03-21 09:11:10 -07:00
Jouke Witteveen cfb1c798b9 Don't set the rpath when linking statically (#4125) 2024-03-13 08:03:21 -07:00
Allen Byrne ca4db46c5a Deprecate bin/cmakehdf5 (#4127)
* Deprecate bin/cmakehdf5

* Add reference text
2024-03-13 08:02:47 -07:00
Dana Robinson 577a32fe83 Fix bin/trace script w/ out params (#4074)
The bin/trace script adds TRACE macros to public API calls in the main
C library. This script had a parsing bug that caused functions that
were annotated with /*out*/, etc. to be labeled as void pointers
instead of typed pointers.

This is mainly a developer feature and not visible to consumers
of the public API.

The bin/trace script now annotates public API calls properly.

Fixes GH #3733
2024-03-07 13:04:14 -08:00
Larry Knox d888cf99db Don't add files and directories with names that begin with ., or that match *autom4te* to release tar & zip files. (#4009)
Filter messages with 'ulimit -s' out of test output for runTest.cmake.
2024-02-13 08:42:39 -06:00
Scot Breitenfeld 3a3501df2d h5 compiler wrappers now pass all arguments passed to it to the compile line (#3954)
* The issue was that the "allargs" variable was not being used in the final command of the compiler wrapper. Any entries containing an escaped quote (\", \') or other non-matching argument (*) would not be passed to the compile line. I have fixed this problem by ensuring all arguments passed to the compiler wrapper are now included in the compile line.

* added testing for compiler wrappers
2024-01-30 12:20:58 -06:00
Quincey Koziol 3a21ee0877 Add 'warning density' computation to the warnhist script (#3910)
* Add 'warning density' computation to the warnhist script, along with several
cleanups to it.   Add "--enable-show-all-warnings" configure (and CMake)
option to disable compiler diagnostic suppression (and therefore show all the
otherwise suppressed compiler diagnostics), disabled by default.  Clean up
a buncn of misc. warnings.

Signed-off-by: Quincey Koziol <qkoziol@amazon.com>
2023-12-29 08:42:35 -06:00
Glenn Song 2d551c9b57 Add -h and --help as flags in h5cc & h5fc (#3729)
Adds these common help flags in addition to -help
2023-10-20 11:28:10 -07:00
Allen Byrne b892c43e49 Correct path name of ddl file to be changed (#3607) 2023-09-27 09:55:36 -05:00
Larry Knox 80a837ef7e Update release script. (#3577) 2023-09-22 14:25:08 -05:00
Dana Robinson 8253ab9ebf Convert hbool_t --> bool in src (#3496)
* hbool_t --> bool in src

* Does not remove TRUE/FALSE
* Public header files are unchanged
* Public API calls are unchanged

* TRUE/FALSE --> true/false in src

* Add deprecation notice for hbool_t
2023-09-05 14:52:30 -07:00
Sean McBride 2b0badb90e Made HGOTO_ERROR a do-while loop (#3308)
* Made HGOTO_ERROR a do-while loop
2023-08-02 08:39:15 -05:00
Allen Byrne b77d5bacea Switch CI to use release script (#3242) 2023-07-13 12:17:52 -05:00
Larry Knox 145e962bce Replace support.hdfgroup.org URLs for alternative COPYING file (#3228)
* Replace support.hdfgroup.org URLs for alternative COPYING file
locations in copyright headers with https://www.hdfgroup.org/licenses.
Replace  support.hdfgroup.org URL for alternative COPYING_LBNL_HDF5
with github URL.
Tweak chkcopyright script for change from UICOPYRIGHTSTR to
THGCOPYRIGHTSTR.
2023-07-12 17:33:58 -05:00
Allen Byrne 1d5a22f5d7 merge bbrelease to release (#3232)
* merge bbrelease to release

* Fix pre-req workflow
2023-07-12 15:04:26 -05:00
Allen Byrne ed9791f1ce Update actions for release option, fix branch for daily build (#3185)
* Update actions for release option, fix branch for daily build

* Scheduled workflows run on latest commit on the develop

* Add snapshots location
2023-06-29 15:40:27 -05:00
Dana Robinson fd933f30b1 Remove programmer/date from comments (#3210)
* Removes Programmer: and Date: fields
* Fixes a few Modifications: fields leftover from previous work
2023-06-29 12:13:29 -07:00
Dana Robinson 7a44581a84 Rename HDassert() to assert() (#3191)
* Change HDassert to assert

* Fix bin/make_err
2023-06-28 07:31:56 -07:00