Skip to content

Commit

Permalink
1 12 Merges from develop (#421)
Browse files Browse the repository at this point in the history
* OESS-98 fix tools test for plugins

* sync fork

* Merge of changes from dev

* Move problem option to bottom of the list until fixed

* HDFFV-11106 - fix parsing optional args

* HDFFV-11106 add note

* grammer fix

* Whitespace after clang formatting

* Undo format version 11 changes

* Update check to working version

* Merge workflow and minor changes from develop

* Update supported platforms

* PR#3 merge from develop

* Merge gcc 10 diagnostics option from develop

* Merge #318 OSX changes from develop

* Merge serval small changes from dev

* fix typo

* Minor non-space formatting changes

* GH #386 copyright corrections for java folder

* revert because logic requires false return

* Merges from develop

#358 patches from vtk
#361 fix header guard spelling

* Remove case statement for H5I_EVENTSET

* Correct call with versioning

* Remove tabs

* Double underscore change

* Merges from develop

#340 clang -Wformat-security warnings
#360 Fixed uninitialized warnings
Remove more underscores from header guards
  • Loading branch information
byrnHDF authored Mar 4, 2021
1 parent 0f219ca commit 13c706d
Show file tree
Hide file tree
Showing 98 changed files with 364 additions and 355 deletions.
6 changes: 3 additions & 3 deletions c++/src/H5AbstractDs.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef __AbstractDs_H
#define __AbstractDs_H
#ifndef AbstractDs_H
#define AbstractDs_H

namespace H5 {

Expand Down Expand Up @@ -81,4 +81,4 @@ class H5_DLLCPP AbstractDs {
}; // end of AbstractDs
} // namespace H5

#endif // __AbstractDs_H
#endif // AbstractDs_H
6 changes: 3 additions & 3 deletions c++/src/H5CommonFG.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef __CommonFG_H
#define __CommonFG_H
#ifndef CommonFG_H
#define CommonFG_H

namespace H5 {

Expand Down Expand Up @@ -83,7 +83,7 @@ class H5_DLLCPP CommonFG {
}; // end of CommonFG
} // namespace H5

#endif // __CommonFG_H
#endif // CommonFG_H

/***************************************************************************
Design Note
Expand Down
6 changes: 3 additions & 3 deletions c++/src/H5Group.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef __Group_H
#define __Group_H
#ifndef Group_H
#define Group_H

namespace H5 {

Expand Down Expand Up @@ -83,4 +83,4 @@ class H5_DLLCPP Group : public H5Object, public CommonFG {
}; // end of Group
} // namespace H5

#endif // __Group_H
#endif // Group_H
6 changes: 3 additions & 3 deletions c++/src/H5IdComponent.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef __IdComponent_H
#define __IdComponent_H
#ifndef IdComponent_H
#define IdComponent_H

namespace H5 {

Expand Down Expand Up @@ -113,4 +113,4 @@ class H5_DLLCPP IdComponent {
}; // end class IdComponent
} // namespace H5

#endif // __IdComponent_H
#endif // IdComponent_H
2 changes: 1 addition & 1 deletion config/gnu-cxxflags
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ if test "X-g++" = "X-$cxx_vendor"; then
# Enhanced Diagnostics #
########################

if test $cc_vers_major -ge 10; then
if test $cxx_vers_major -ge 10; then
NO_DIAGS_CXXFLAGS="-fdiagnostics-urls=never -fno-diagnostics-color"
fi
DIAGS_CXXFLAGS=
Expand Down
2 changes: 1 addition & 1 deletion config/gnu-fflags
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if test "X-gfortran" = "X-$f9x_vendor"; then
# Enhanced Diagnostics #
########################

if test $cc_vers_major -ge 10; then
if test $f9x_vers_major -ge 10; then
NO_DIAGS_FCFLAGS="-fdiagnostics-urls=never -fno-diagnostics-color"
fi
DIAGS_FCFLAGS=
Expand Down
4 changes: 2 additions & 2 deletions fortran/src/H5match_types.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ initCfile(void)
* [email protected]. *\n\
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */\n\
\n\n\
#ifndef _H5f90i_gen_H\n\
#define _H5f90i_gen_H\n\
#ifndef H5f90i_gen_H\n\
#define H5f90i_gen_H\n\
\n\
/* This file is automatically generated by H5match_types.c at build time. */\n\
\n\
Expand Down
6 changes: 3 additions & 3 deletions java/src/jni/exceptionImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_exception */

#ifndef _Included_hdf_hdf5lib_H5_exception
#define _Included_hdf_hdf5lib_H5_exception
#ifndef Included_hdf_hdf5lib_H5_exception
#define Included_hdf_hdf5lib_H5_exception

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -67,4 +67,4 @@ JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_exceptions_HDF5LibraryException__1getMi
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_exception */
#endif /* Included_hdf_hdf5lib_H5_exception */
6 changes: 3 additions & 3 deletions java/src/jni/h5Imp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5 */

#ifndef _Included_hdf_hdf5lib_H5_H5
#define _Included_hdf_hdf5lib_H5_H5
#ifndef Included_hdf_hdf5lib_H5_H5
#define Included_hdf_hdf5lib_H5_H5

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -82,4 +82,4 @@ JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5is_1library_1threadsafe(JNIEnv
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5 */
#endif /* Included_hdf_hdf5lib_H5_H5 */
6 changes: 3 additions & 3 deletions java/src/jni/h5aImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5A */

#ifndef _Included_hdf_hdf5lib_H5_H5A
#define _Included_hdf_hdf5lib_H5_H5A
#ifndef Included_hdf_hdf5lib_H5_H5A
#define Included_hdf_hdf5lib_H5_H5A

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -375,4 +375,4 @@ JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Aiterate_1by_1name(JNIEnv *, jclass
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5A */
#endif /* Included_hdf_hdf5lib_H5_H5A */
6 changes: 3 additions & 3 deletions java/src/jni/h5dImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5D */

#ifndef _Included_hdf_hdf5lib_H5_H5D
#define _Included_hdf_hdf5lib_H5_H5D
#ifndef Included_hdf_hdf5lib_H5_H5D
#define Included_hdf_hdf5lib_H5_H5D

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -322,4 +322,4 @@ JNIEXPORT void JNICALL Java_hdf_hdf5lib_H5_H5Drefresh(JNIEnv *, jclass, jlong);
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5D */
#endif /* Included_hdf_hdf5lib_H5_H5D */
6 changes: 3 additions & 3 deletions java/src/jni/h5eImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5E */

#ifndef _Included_hdf_hdf5lib_H5_H5E
#define _Included_hdf_hdf5lib_H5_H5E
#ifndef Included_hdf_hdf5lib_H5_H5E
#define Included_hdf_hdf5lib_H5_H5E

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -144,4 +144,4 @@ JNIEXPORT void JNICALL Java_hdf_hdf5lib_H5_H5Ewalk2(JNIEnv *, jclass, jlong, jlo
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5E */
#endif /* Included_hdf_hdf5lib_H5_H5E */
6 changes: 3 additions & 3 deletions java/src/jni/h5fImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5F */

#ifndef _Included_hdf_hdf5lib_H5_H5F
#define _Included_hdf_hdf5lib_H5_H5F
#ifndef Included_hdf_hdf5lib_H5_H5F
#define Included_hdf_hdf5lib_H5_H5F

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -236,4 +236,4 @@ JNIEXPORT void JNICALL Java_hdf_hdf5lib_H5_H5Fset_1libver_1bounds(JNIEnv *, jcla
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5F */
#endif /* Included_hdf_hdf5lib_H5_H5F */
6 changes: 3 additions & 3 deletions java/src/jni/h5gImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5G */

#ifndef _Included_hdf_hdf5lib_H5_H5G
#define _Included_hdf_hdf5lib_H5_H5G
#ifndef Included_hdf_hdf5lib_H5_H5G
#define Included_hdf_hdf5lib_H5_H5G

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -96,4 +96,4 @@ JNIEXPORT void JNICALL Java_hdf_hdf5lib_H5_H5Grefresh(JNIEnv *, jclass, jlong);
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5G */
#endif /* Included_hdf_hdf5lib_H5_H5G */
6 changes: 3 additions & 3 deletions java/src/jni/h5iImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5I */

#ifndef _Included_hdf_hdf5lib_H5_H5I
#define _Included_hdf_hdf5lib_H5_H5I
#ifndef Included_hdf_hdf5lib_H5_H5I
#define Included_hdf_hdf5lib_H5_H5I

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -130,4 +130,4 @@ JNIEXPORT void JNICALL Java_hdf_hdf5lib_H5_H5Idestroy_1type(JNIEnv *, jclass, ji
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5I */
#endif /* Included_hdf_hdf5lib_H5_H5I */
6 changes: 3 additions & 3 deletions java/src/jni/h5jni.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
#include <string.h>
#include "H5private.h"

#ifndef _Included_h5jni
#define _Included_h5jni
#ifndef Included_h5jni
#define Included_h5jni

#ifdef __cplusplus
#define ENVPTR (env)
Expand Down Expand Up @@ -344,4 +344,4 @@ extern jobject create_H5O_token_t(JNIEnv *env, const H5O_token_t *token, hbool_t
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_h5jni */
#endif /* Included_h5jni */
6 changes: 3 additions & 3 deletions java/src/jni/h5lImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5_H5L */

#ifndef _Included_hdf_hdf5lib_H5_H5L
#define _Included_hdf_hdf5lib_H5_H5L
#ifndef Included_hdf_hdf5lib_H5_H5L
#define Included_hdf_hdf5lib_H5_H5L

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -170,4 +170,4 @@ JNIEXPORT void JNICALL Java_hdf_hdf5lib_H5_H5Lunregister(JNIEnv *, jclass, jint)
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5L */
#endif /* Included_hdf_hdf5lib_H5_H5L */
6 changes: 3 additions & 3 deletions java/src/jni/h5oImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
#include <jni.h>
/* Header for class hdf_hdf5lib_H5_H5_H5O */

#ifndef _Included_hdf_hdf5lib_H5_H5O
#define _Included_hdf_hdf5lib_H5_H5O
#ifndef Included_hdf_hdf5lib_H5_H5O
#define Included_hdf_hdf5lib_H5_H5O

#ifdef __cplusplus
extern "C" {
Expand Down Expand Up @@ -217,4 +217,4 @@ JNIEXPORT jboolean JNICALL Java_hdf_hdf5lib_H5_H5Oare_1mdc_1flushes_1disabled(JN
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5O */
#endif /* Included_hdf_hdf5lib_H5_H5O */
6 changes: 3 additions & 3 deletions java/src/jni/h5pACPLImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _Included_hdf_hdf5lib_H5_H5PACPL
#define _Included_hdf_hdf5lib_H5_H5PACPL
#ifndef Included_hdf_hdf5lib_H5_H5PACPL
#define Included_hdf_hdf5lib_H5_H5PACPL

#include <jni.h>

Expand All @@ -23,4 +23,4 @@ extern "C" {
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5PACPL */
#endif /* Included_hdf_hdf5lib_H5_H5PACPL */
6 changes: 3 additions & 3 deletions java/src/jni/h5pDAPLImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _Included_hdf_hdf5lib_H5_H5PDAPL
#define _Included_hdf_hdf5lib_H5_H5PDAPL
#ifndef Included_hdf_hdf5lib_H5_H5PDAPL
#define Included_hdf_hdf5lib_H5_H5PDAPL

#include <jni.h>

Expand Down Expand Up @@ -93,4 +93,4 @@ JNIEXPORT jlong JNICALL Java_hdf_hdf5lib_H5_H5Pget_1virtual_1printf_1gap(JNIEnv
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5PDAPL */
#endif /* Included_hdf_hdf5lib_H5_H5PDAPL */
6 changes: 3 additions & 3 deletions java/src/jni/h5pDCPLImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _Included_hdf_hdf5lib_H5_H5PDCPL
#define _Included_hdf_hdf5lib_H5_H5PDCPL
#ifndef Included_hdf_hdf5lib_H5_H5PDCPL
#define Included_hdf_hdf5lib_H5_H5PDCPL

#include <jni.h>

Expand Down Expand Up @@ -320,4 +320,4 @@ JNIEXPORT jstring JNICALL Java_hdf_hdf5lib_H5_H5Pget_1virtual_1prefix(JNIEnv *,
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5PDCPL */
#endif /* Included_hdf_hdf5lib_H5_H5PDCPL */
6 changes: 3 additions & 3 deletions java/src/jni/h5pDXPLImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _Included_hdf_hdf5lib_H5_H5PDXPL
#define _Included_hdf_hdf5lib_H5_H5PDXPL
#ifndef Included_hdf_hdf5lib_H5_H5PDXPL
#define Included_hdf_hdf5lib_H5_H5PDXPL

#include <jni.h>

Expand Down Expand Up @@ -181,4 +181,4 @@ JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Pget_1btree_1ratios(JNIEnv *, jclas
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5PDXPL */
#endif /* Included_hdf_hdf5lib_H5_H5PDXPL */
6 changes: 3 additions & 3 deletions java/src/jni/h5pFAPLImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _Included_hdf_hdf5lib_H5_H5PFAPL
#define _Included_hdf_hdf5lib_H5_H5PFAPL
#ifndef Included_hdf_hdf5lib_H5_H5PFAPL
#define Included_hdf_hdf5lib_H5_H5PFAPL

#include <jni.h>

Expand Down Expand Up @@ -476,4 +476,4 @@ JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Pget_1libver_1bounds(JNIEnv *, jcla
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5PFAPL */
#endif /* Included_hdf_hdf5lib_H5_H5PFAPL */
6 changes: 3 additions & 3 deletions java/src/jni/h5pFCPLImp.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
* [email protected]. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#ifndef _Included_hdf_hdf5lib_H5_H5PFCPL
#define _Included_hdf_hdf5lib_H5_H5PFCPL
#ifndef Included_hdf_hdf5lib_H5_H5PFCPL
#define Included_hdf_hdf5lib_H5_H5PFCPL

#include <jni.h>

Expand Down Expand Up @@ -170,4 +170,4 @@ JNIEXPORT jint JNICALL Java_hdf_hdf5lib_H5_H5Pget_1shared_1mesg_1phase_1change(J
} /* end extern "C" */
#endif /* __cplusplus */

#endif /* _Included_hdf_hdf5lib_H5_H5PFCPL */
#endif /* Included_hdf_hdf5lib_H5_H5PFCPL */
Loading

0 comments on commit 13c706d

Please sign in to comment.