Commit Graph
859 Commits
Author SHA1 Message Date
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
Larry Knox 7e3c100755 Fix #1978 h5vers usage message. (#3162)
Update Platforms Tested in RELEASE.txt.
2023-06-20 16:57:43 -07:00
H. Joe Lee 10093f7c43 Fix path to libhdf5.settings in cmakehdf5 (#3140) 2023-06-15 21:46:33 -07:00
mattjala 966d7e1055 Add java options to build scripts (#3127)
* Add java options to build scripts

Previously, cmakehdf5 turned on compiling of the java interface
by default due to a value set in cacheinit.cmake.

Now, consistent with how Fortran and CPP interfaces are handled,
the script overwrites this default value to disable the libraries,
fixing #2958.

I also implemented the --enable-java/--disable java options for
cmakehdf5, and -java for buildhdf5.

Allen said these scripts should mention that
compilers are to be specified in environment variables, but missing
compilers causes errors at the CMake level, and
CMake's error messages are already pretty informative (See the one
in #2958 about JAVA_COMPILER).
2023-06-15 10:20:10 -07:00
H. Joe Lee 3c122474d0 Make autogen.sh output message consistent (#3128) 2023-06-14 19:01:48 -07:00
Dana Robinson 61d43eb867 Adds an optional version arg to bin/format_source (#3119) 2023-06-14 08:00:46 -07:00
Dana Robinson ce794d6a88 Remove the checkposix script (#3122)
This script was used to ensure that all non-HDF5 calls were prefixed
with 'HD'. We are removing this scheme so this script is no longer
needed.
2023-06-14 07:59:49 -07:00
Dana Robinson d4605919f9 Remove H5detect and H5make_libsettings (#3104)
Removes H5detect and H5make_libsettings from the build and replaces
their functionality with things that don't affect cross-compiling.

H5detect --> floating-point types are now detected on library load
H5make_libsettings --> Moved functionality to a new H5build_settings.c template file
2023-06-13 08:16:41 -07:00
Dana Robinson d58ae80354 Remove ref to format_source_patch (#3072) 2023-06-07 08:40:09 -07:00
Neil Fortner 3236fb79ce Implement selection I/O with type conversion (#2823)
Initial implementation of selection I/O with type conversion.  Allows
Parallel collective I/O with type conversion, as long as selection I/O
is enabled.
2023-04-28 16:58:25 -07:00
Dana Robinson afc2281bbf Run parallel clang-format tasks (#2740)
Adds xargs arguments to enable running clang-format in parallel
2023-04-14 18:14:50 -07:00
Allen Byrne 526f0769a3 Minor fixes for CMake code and install docs (#2623) 2023-04-03 14:38:10 -07:00