Commit Graph

146 Commits

Author SHA1 Message Date
Dana Robinson
93fbbf8fd9 Removes obsolete equivalents of C99's __func__ (#800)
Conflicts:
	bin/trace
	src/H5A.c
	src/H5D.c
	src/H5F.c
	src/H5G.c
	src/H5L.c
	src/H5M.c
	src/H5O.c
	src/H5R.c
	src/H5T.c
	src/H5Tcommit.c
	src/H5VLcallback.c
	src/H5private.h
	tools/test/h5repack/h5repacktst.c
2021-08-04 16:22:13 -05:00
Dana Robinson
07b423c1dd Assume frexpl/f and fabsl/f, which are C99 (#799) 2021-08-04 13:50:46 -05:00
Dana Robinson
2dc623d3c6 Removes checks for signal and set/longjmp, which are C89 (#798)
Also removes checks for setjmp.h and stddef.h
Conflicts:
	config/cmake/H5pubconf.h.in
2021-08-04 13:49:34 -05:00
Dana Robinson
0e16476c1b Removes checks for system(), which is C89/90 (#782) 2021-07-26 08:54:05 -05:00
Dana Robinson
3b0ce023c7 Removes outdated checks for ways inline might be defined (#781)
These are obsolete now that we require C99.
2021-07-26 08:53:26 -05:00
Dana Robinson
a99e9fc089 Removes checks for (v)snprintf, which are C99 (#772) 2021-07-26 08:29:27 -05:00
Dana Robinson
2228ecd14b Removes checks and work-arounds for strtoll and strtoull (#769)
* Removes checks and work-arounds for strtoll and strtoull

* Removes CMake checks for strtoll and strtoull
2021-07-26 08:05:26 -05:00
Dana Robinson
7dea73c0dc Removes some DEC Alpha cruft from H5detect and H5private.h (#708) 2021-07-22 16:39:59 -05:00
Dana Robinson
3e709e7c34 Removes pre-C99 build and header cruft (#700)
* Committing clang-format changes

* Removes pre-C99 build and header cruft

* Assumes ANSI C headers exist
* Assumes stdbool.h, stdint.h, and inttypes.h are present
* Assumes the C++ compiler can handle stdint.h
* Removes all work-arounds for missing functionality, especially stdbool.h

* Formats source

Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
2021-07-22 16:27:28 -05:00
Larry Knox
b42635ad88 Hdf5 merge issue 458 v110 (#465)
* close #195. (#196)

* Update HDF5PluginMacros.cmake

* Update HDF5PluginMacros.cmake

* Modify temporary rpath for testing in java example scripts. (#230)

* Fix undefined left shifting of negative numbers (#338)

Undefined Bahavior Sanitizer errored here about left shifting negative numbers.

* Update license url (#332)

* Modify temporary rpath for testing in java example scripts.

* Update URL in source file Copyright headers for web copy of COPYING
file - src and test directories.

* Applied clang-tidy readability-non-const-parameter warning fixes auto… (#429)

* Automatically applied clang-tidy readability-avoid-const-params-in-decls fixes

Removes useless const declarations.

* Fixed most readability-non-const-parameter warnings

These changes were made automatically by clang-tidy, but I manually reverted the changes related to the H5Z_func_t signature.

* Reformat source with clang v10.0.1.

Co-authored-by: Larry Knox <lrknox@hdfgroup.org>

* Added C++11 override keyword where appropriate (#433)

Added H5_OVERRIDE macro for compatibility with both C++11 and older.

* Various clang tidy warning fixes (#448)

* Fixed clang-tidy bugprone-reserved-identifier warnings

* Fixed clang-tidy bugprone-assert-side-effect warnings

* Fixed clang-tidy bugprone-copy-constructor-init warning

* Fixed clang-tidy readability-redundant-preprocessor warning

For error_test.c the removed code was already dead, because it was in the else of an `#if H5_USE_16_API` block.

Based on H5Location.h, I think p_get_ref_obj_type was meant to be in `#ifndef DOXYGEN_SHOULD_SKIP_THIS` and an `#endif` was missing.  Similarly, in the header, getObjTypeByIdx is only in H5_NO_DEPRECATED_SYMBOLS, not DOXYGEN_SHOULD_SKIP_THIS.

* Fixed clang-tidy readability-redundant-string-init warnings

* Fixed some clang-tidy performance-type-promotion-in-math-fn warnings

* Fixed clang-tidy performance-unnecessary-value-param warnings

* Reformat source with clang v10.0.1.

Co-authored-by: Larry Knox <lrknox@hdfgroup.org>

* Removed checks/workarounds for pre-C++89 compatibility (#449)

After 30+ years, just assume that the following exist:
- extension-less includes
- namespaces
- std::
- static_cast
- bool

* Fixed all clang-tidy bugprone-suspicious-string-compare warnings (#451)

* Fixed all clang-tidy bugprone-suspicious-string-compare warnings

This change was generated entirely by clang-tidy itself.

* Reformat code with clang v10.0.1.

Co-authored-by: Larry Knox <lrknox@hdfgroup.org>

* Fix clang-tidy suspicious string compare in H5A.c missed in merge.

Co-authored-by: H. Joe Lee <hyoklee@hdfgroup.org>
Co-authored-by: Sean McBride <sean@rogue-research.com>
2021-03-12 11:58:10 -06:00
Larry Knox
dea591a353 Hdf5 1 10 update license url part2 (#404)
* close #195. (#196)

* Update HDF5PluginMacros.cmake

* Update HDF5PluginMacros.cmake

* Modify temporary rpath for testing in java example scripts. (#230)

* Fix undefined left shifting of negative numbers (#338)

Undefined Bahavior Sanitizer errored here about left shifting negative numbers.

* Update license url (#332)

* Modify temporary rpath for testing in java example scripts.

* Update URL in source file Copyright headers for web copy of COPYING
file - src and test directories.

* Update license url part2 (#333)

* Modify temporary rpath for testing in java example scripts.

* Update URL in source file Copyright headers for web copy of COPYING
    file - files not in src or test.

* Update URL in source file Copyright headers for web.

Co-authored-by: H. Joe Lee <hyoklee@hdfgroup.org>
Co-authored-by: Sean McBride <sean@rogue-research.com>
2021-03-01 10:35:51 -06:00
Allen Byrne
679bc678cf 1 10 Merge #318 OSX changes from develop (#327)
* HDFFV-10865 - merge from dev, HDFArray perf fix.

* Remove duplicate setting

* Whitespace changes after clang format

* Undo version 11 clang format changes

* Merge CMake changes from develop

* test testing script merge from develop

* Update supported platforms

* PR#3 merge from develop

* Merge gcc 10 diagnostics option from develop

* Merge #318 OSX changes from develop
2021-02-09 09:45:18 -06:00
Allen Byrne
8cfcf0e394 1 10 merges from develop (#298)
* HDFFV-10865 - merge from dev, HDFArray perf fix.

* Remove duplicate setting

* Whitespace changes after clang format

* Undo version 11 clang format changes

* Merge CMake changes from develop

* test testing script merge from develop

* Update supported platforms
2021-02-04 08:20:25 -06:00
Allen Byrne
2acfa58d89 OESS-98 Update plugin build option (#172) 2020-12-14 18:15:14 -06:00
Allen Byrne
14bfa9a991 Correct TARGET variable and CMake config file location 2020-11-12 10:50:50 -06:00
Allen Byrne
ec13e5f872 OESS-98 add CMake option to build plugins project within hdf5 2020-10-16 12:15:29 -05:00
Allen Byrne
0e830ba436 Merge from develop and 1.12
Comments and whitespace
No cache, select or file-locking changes
2020-10-08 09:23:47 -05:00
Dana Robinson
62c296f1eb Brings monotonic timer changes from develop 2020-08-14 17:16:11 -07:00
Allen Byrne
6a0b2dd5a1 Correct filename 2020-05-08 13:00:49 -05:00
Allen Byrne
0e56de63a7 OESS-65 Fix packaging 2020-05-08 11:04:59 -05:00
Allen Byrne
4164dc2738 OESS-65 replace szip with aec szip 2020-04-27 13:29:43 -05:00
Larry Knox
295d7ec69b Move ADD_H5_FLAGS macro from *CompilerFlags.cmake files to
config/cmake_ext_mod/HDFMacros.cmake for common use.
2020-04-27 11:14:31 -05:00
Allen Byrne
de6d87dc14 Correct extra flags and merge TRILAB-24 2020-04-01 11:49:42 -05:00
Allen Byrne
467b5d565c Merge CMake and tools changes from develop 2020-02-27 16:54:52 -06:00
Allen Byrne
0ccccc43c7 tools perform and hid_t init settings 2020-01-20 13:47:47 -06:00
Allen Byrne
4ef9c81048 Added new CMake options for tests 2020-01-19 07:56:14 -06:00
Allen Byrne
120ca605a7 Ignore ZLIB warnings 2020-01-13 16:42:43 -06:00
Allen Byrne
1501cacbdf Fix CMake test macros and perform standalone tests 2020-01-12 09:40:07 -06:00
Allen Byrne
59c07e8859 Minor corrections to CMake functions 2019-12-17 09:08:54 -06:00
Allen Byrne
ec145b88fa HDFFV-10962 add VS2019 support 2019-11-18 15:42:21 -06:00
Allen Byrne
3457362c92 Merge S3 code from develop to 1.10 2019-09-13 12:18:36 -05:00
Allen Byrne
7118d30a53 Fix EXISTS test syntax and add toolchain 2019-08-29 14:43:49 -05:00
Allen Byrne
d20d355b79 OESS-29 Update HD prefix and compare against develop 2019-08-23 14:09:20 -05:00
Allen Byrne
34adba4a0c HDFFV-10845, 10529 and CMake changes from develop 2019-07-24 11:08:47 -05:00
Allen Byrne
4c8e3573a7 Fix CMake module include and note text 2019-07-10 10:33:40 -05:00
Allen Byrne
c43323a06d HDFFV-10581 Correct PDB files and debug naming. 2019-07-09 16:31:17 -05:00
Allen Byrne
7ee92d5805 HDFFV-10805 Merge SHARED ONLY option from develop 2019-06-20 06:55:05 -05:00
Allen Byrne
1a2df2a6c3 Updates from develop 2019-06-10 13:16:11 -05:00
Allen Byrne
c59817f343 Update cmake macros and java arg format 2019-05-31 12:34:37 -05:00
Allen Byrne
d628d1d8c8 Fix message command syntax 2019-05-17 15:49:00 -05:00
Allen Byrne
f3546fb4b0 Update namespace handling 2019-04-04 10:48:37 -05:00
Allen Byrne
8c34530608 Allow option to select NAMESPACE 2019-03-28 16:41:30 -05:00
Allen Byrne
b7d6f11182 HDFFV-10703 - Update CMake variable handling 2019-02-21 13:23:59 -06:00
Dana Robinson
12fc6bf955 Merge of changes from develop for 1.10.5.
Added RELEASE.txt entries for new features.
2019-02-03 23:47:51 -08:00
Allen Byrne
0e2d46de76 Revert CMake and fix H5Oget_info - H5Ovisit versions 2019-01-27 17:04:33 -06:00
Allen Byrne
d0abe6502a CMake fix, makefile fix, direct_chunk valgrind fix 2019-01-25 12:13:20 -06:00
Allen Byrne
217d57d30d CMake fix 2019-01-24 16:37:04 -06:00
Allen Byrne
3ba3c59a7d Java html fix and cmake update 2019-01-24 15:57:05 -06:00
Allen Byrne
c817bcdf0d MPI vars need passed in, change to grepTest 2019-01-20 16:49:06 -06:00
Allen Byrne
68ec03a098 Add parallel runtest for examples 2019-01-18 21:50:12 -06:00