Skip to content

Commit

Permalink
Merge pull request #34 from NikolasK-source/main
Browse files Browse the repository at this point in the history
update to 1.5.3
  • Loading branch information
NikolasK-source authored Mar 21, 2024
2 parents 0333c40 + 624edbe commit 9b336c6
Show file tree
Hide file tree
Showing 22 changed files with 812 additions and 444 deletions.
4 changes: 2 additions & 2 deletions .clang-format
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ AllowAllConstructorInitializersOnNextLine: 'true'
AllowAllParametersOfDeclarationOnNextLine: 'true'
AllowShortBlocksOnASingleLine: 'true'
AllowShortCaseLabelsOnASingleLine: 'true'
AllowShortFunctionsOnASingleLine: All
AllowShortFunctionsOnASingleLine: InlineOnly
AllowShortIfStatementsOnASingleLine: Always
AllowShortLambdasOnASingleLine: All
AlwaysBreakAfterReturnType: None
Expand Down Expand Up @@ -48,4 +48,4 @@ SpacesInAngles: 'false'
SpacesInCStyleCastParentheses: 'false'
Standard: Cpp11
TabWidth: '4'
UseTab: Never
UseTab: Never
61 changes: 61 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
Checks: 'bugprone-*,
cert-dcl21-cpp,
cert-dcl58-cpp,
cert-err34-c,
cert-err52-cpp,
cert-err60-cpp,
cert-flp30-c,
cert-msc50-cpp,
cert-msc51-cpp,
cert-str34-c,
cppcoreguidelines-*,
clang-analyzer-*,
google-default-arguments,
google-explicit-constructor,
google-runtime-operator,
hicpp-exception-baseclass,
hicpp-multiway-paths-covered,
misc-misplaced-const,
misc-new-delete-overloads,
misc-no-recursion,
misc-non-copyable-objects,
misc-throw-by-value-catch-by-reference,
misc-unconventional-assign-operator,
misc-uniqueptr-reset-release,
modernize-*,
mpi-buffer-deref,
mpi-type-mismatch,
openmp-use-default-none,
portability-*,
performance-*,
readability-avoid-const-params-in-decls,
readability-const-return-type,
readability-container-size-empty,
readability-convert-member-functions-to-static,
readability-delete-null-pointer,
readability-deleted-default,
readability-inconsistent-declaration-parameter-name,
readability-make-member-function-const,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-non-const-parameter,
readability-redundant-control-flow,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
readability-uniqueptr-delete-release,
readability-use-anyofallof
-modernize-use-trailing-return-type
-bugprone-exception-escape'
WarningsAsErrors: '*,
-modernize-*,
-readability-*
-cppcoreguidelines-avoid-magic-numbers,
-cppcoreguidelines-pro-type-vararg'
HeaderFilterRegex: ''
57 changes: 57 additions & 0 deletions .clang-tidy-noerrors
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
Checks: 'bugprone-*,
cert-dcl21-cpp,
cert-dcl58-cpp,
cert-err34-c,
cert-err52-cpp,
cert-err60-cpp,
cert-flp30-c,
cert-msc50-cpp,
cert-msc51-cpp,
cert-str34-c,
cppcoreguidelines-*,
clang-analyzer-*,
google-default-arguments,
google-explicit-constructor,
google-runtime-operator,
hicpp-exception-baseclass,
hicpp-multiway-paths-covered,
misc-misplaced-const,
misc-new-delete-overloads,
misc-no-recursion,
misc-non-copyable-objects,
misc-throw-by-value-catch-by-reference,
misc-unconventional-assign-operator,
misc-uniqueptr-reset-release,
modernize-*,
mpi-buffer-deref,
mpi-type-mismatch,
openmp-use-default-none,
portability-*,
performance-*,
readability-avoid-const-params-in-decls,
readability-const-return-type,
readability-container-size-empty,
readability-convert-member-functions-to-static,
readability-delete-null-pointer,
readability-deleted-default,
readability-inconsistent-declaration-parameter-name,
readability-make-member-function-const,
readability-misleading-indentation,
readability-misplaced-array-index,
readability-non-const-parameter,
readability-redundant-control-flow,
readability-redundant-declaration,
readability-redundant-function-ptr-dereference,
readability-redundant-smartptr-get,
readability-redundant-string-cstr,
readability-redundant-string-init,
readability-simplify-subscript-expr,
readability-static-accessed-through-instance,
readability-static-definition-in-anonymous-namespace,
readability-string-compare,
readability-uniqueptr-delete-release,
readability-use-anyofallof
-modernize-use-trailing-return-type
-bugprone-exception-escape'
WarningsAsErrors: ''
HeaderFilterRegex: ''
4 changes: 2 additions & 2 deletions .github/workflows/flatpak_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
options: --privileged
steps:
- uses: actions/checkout@v2
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
name: "Build"
with:
bundle: modbus-tcp-client-shm.flatpak
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/flatpak_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
name: "Flatpak"
runs-on: ubuntu-latest
container:
image: bilelmoussaoui/flatpak-github-actions:freedesktop-21.08
image: bilelmoussaoui/flatpak-github-actions:freedesktop-23.08
options: --privileged
steps:
- uses: actions/checkout@v2
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Update submodules
run: git submodule update

- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v4
- uses: bilelmoussaoui/flatpak-github-actions/flatpak-builder@v6
name: "Build"
with:
bundle: test_modbus-tcp-client-shm.flatpak
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -465,5 +465,6 @@ modules.order
Module.symvers
Mkfile.old
dkms.conf

src/generated/version_info.cpp
src/generated/version_info.hpp
!network.koesling.modbus-tcp-client-shm.yml
Loading

0 comments on commit 9b336c6

Please sign in to comment.