Commit Graph

849 Commits

Author SHA1 Message Date
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
Dana Robinson
7fd9a4435f
Fix minor things noted when doing 1.10 merges (#2610)
* Duplicated HDF_RESOURCES_DIR from cmake_ext_mod merge
* Typos in comments
2023-03-23 22:55:18 -05:00
Larry Knox
9a694db450
Update testh5cc.sh.in for new major version 1.14. (#2349)
* Update testh5cc.sh.in for new major version 1.14.

* iFix sha256sum commands in release script.
2022-12-22 13:38:51 -06:00
Allen Byrne
9f5cf0a457
H5F_LIBVER_LATEST changes for move to 1.15 (#2288)
* H5F_LIBVER_LATEST changes for move to 1.15

* Add new default api check

* Format fixes

* Fix default configure

* fix lib version tests

* Fix another version variable

* Add 1.14 doc link
2022-12-21 10:07:25 -08:00
Allen Byrne
b7511c19d0
Update windows worker compilers (#2286)
* Update windows worker compilers

* Update bin and test issues

* Update script and revert java test
2022-12-14 08:58:20 -06:00
Dana Robinson
d93c6fae43
Removes MPE instrumentation support. (#2245)
* Removes MPE instrumentation support.

The Autotools will no longer accept --with-mpe= and the logging commands
have been removed from the FUNC_ENTER macros. CMake has never supported
instrumenting for MPE.

* Committing clang-format changes

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-09 11:06:26 -08:00
Dana Robinson
018f093c09
Removes the memory allocation sanity checks feature (#2218)
* Removes the memory allocation sanity checks feature

* Committing clang-format changes

* Removes zero size checks for H5MM_(c|m)alloc()

* Explicitly return NULL when size == 0 in H5allocate_memory()

* Committing clang-format changes

* Format fix

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2022-11-03 16:30:08 -07:00
Larry Knox
6924d590cc
Use ctest_test and APPEND to correctly report passed and failed test numbers in CDash (#2208)
* Change how HPC tests are executed

* Move ctest_test commands for serial and parallel tests into cmake files.

* Update checks for uploading Test.xml to CDash.

* Correct cmake scripots.

* Remove extraneous characters.

* Add ctest_start (APPEND).

* Add binary directories to scripts running ctest_test.

* Correct parameters for appending Test.xml.

* Set CTEST_SITE and CTEST_BUILD_NAME.

* Try to pass site and build_name to ctest_test sripts.

* Add site name and build name for ctest_test commands vi environment.

* Revert "Try to pass site and build_name to ctest_test sripts."

This reverts commit d364aaf0fa.

* Correct typo in src/CMakeLists.txt.

* Update batch scripts to run ctest_test scripts.

Co-authored-by: Allen Byrne <byrn@hdfgroup.org>
2022-11-02 09:02:47 -07:00
Larry Knox
11dfa25910
Update copyright headers (#2184)
* Updated source file copyright headers to remove "Copyright by the Board of Trustees
of the University of Illinois", which is kept in the top-level COPYING file.
2022-11-01 16:02:27 -05:00
Allen Byrne
d491c33a72
Update examples reference to single-source version 2.0.1 (#2107) 2022-09-20 17:21:15 -05:00
Dana Robinson
de46019a86
Removes bin/deploy, which just calls h5redeploy under the hood (#2027) 2022-08-19 09:11:22 -05:00