Skip to content

Commit

Permalink
Release 2023-03-23
Browse files Browse the repository at this point in the history
  • Loading branch information
arobenko committed Mar 13, 2023
2 parents 6cec805 + f560ec1 commit 8f1b0ed
Show file tree
Hide file tree
Showing 1,023 changed files with 4,335 additions and 1,375 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/actions_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ env:
COMMSDSL_BRANCH: master

jobs:
build_gcc_ubuntu_18_04:
runs-on: ubuntu-18.04

build_gcc_old_ubuntu_20_04:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
Expand All @@ -19,6 +20,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Add repositories
run: |
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic main'; \
sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ bionic universe'
- name: Prepare Install
run: sudo apt-get update --fix-missing

Expand All @@ -28,7 +34,6 @@ jobs:
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build


- name: Prepare externals
shell: bash
run: $GITHUB_WORKSPACE/script/prepare_externals.sh
Expand Down Expand Up @@ -60,7 +65,7 @@ jobs:
shell: bash
run: cmake --build . --config ${{matrix.type}} --target install
env:
VERBOSE: 1
VERBOSE: 1

build_gcc_ubuntu_20_04:
runs-on: ubuntu-20.04
Expand Down
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ option (UNIX_USE_CCACHE "Treat warnings as error" ON)
option (FORCE_EXTRA_BOOST_LIBS "Force linking to extra boost libraries" OFF)
option (USE_SANITIZERS "Compile with sanitizers." OFF)

if (NOT CMAKE_CXX_STANDARD)
set (CMAKE_CXX_STANDARD 11)
endif ()
set(CMAKE_CXX_STANDARD 11 CACHE STRING "The C++ standard to use")

include(GNUInstallDirs)

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ $> nmake install
- [tutorial21](../../tree/master/tutorials/tutorial21) - Cast between different field types.
- [tutorial22](../../tree/master/tutorials/tutorial22) - Complex length fields.
- [tutorial23](../../tree/master/tutorials/tutorial23) - Reusing definitions from other schemas.
- [tutorial24](../../tree/master/tutorials/tutorial24) - Extra validity verification of message payload.


# How-Tos
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/Interface.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Interface"</b> interface class.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/InterfaceCommon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
12 changes: 6 additions & 6 deletions howtos/howto1/include/howto1/MsgId.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of message ids enumeration.
Expand All @@ -13,12 +13,12 @@ namespace howto1
/// @brief Message ids enumeration.
enum MsgId : std::uint8_t
{
MsgId_M1 = 1, ///< message id of <b>Message 1</b> message. ,
MsgId_M2 = 2, ///< message id of <b>Message 2</b> message. ,
MsgId_M1 = 1, ///< message id of <b>Message 1</b> message.
MsgId_M2 = 2, ///< message id of <b>Message 2</b> message.

// --- Extra values generated for convenience ---,
MsgId_FirstValue = 1, ///< First defined value.,
MsgId_LastValue = 2, ///< Last defined value.,
// --- Extra values generated for convenience ---
MsgId_FirstValue = 1, ///< First defined value.
MsgId_LastValue = 2, ///< Last defined value.
MsgId_ValuesLimit = 3, ///< Upper limit for defined values.
};

Expand Down
4 changes: 2 additions & 2 deletions howtos/howto1/include/howto1/Version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains protocol version definition.
Expand All @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion()
} // namespace howto1

// Generated compile time check for minimal supported version of the COMMS library
static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(),
static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(),
"The version of COMMS library is too old");
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains dispatch to handling function(s) for client input input messages.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/dispatch/DispatchMessage.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains dispatch to handling function(s) for all input messages.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains dispatch to handling function(s) for client input input messages.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/field/FieldBase.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of base class of all the fields.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/field/InterfaceFlags.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"InterfaceFlags"</b> field.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/field/InterfaceFlagsCommon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/field/MsgId.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"MsgId"</b> field.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/field/MsgIdCommon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/frame/Frame.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Frame"</b> frame class.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/frame/FrameCommon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/input/AllMessages.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of the AllMessages messages bundle.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/input/ClientInputMessages.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of the ClientInputMessages messages bundle.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/input/ServerInputMessages.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of the ServerInputMessages messages bundle.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/message/Msg1.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Message 1"</b> message and its fields.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/message/Msg1Common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/message/Msg2.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Message 2"</b> message and its fields.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/message/Msg2Common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of protocol bare metal default options.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of protocol client default options.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of protocol data view default options.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto1/include/howto1/options/DefaultOptions.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of protocol default options.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of protocol server default options.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/Interface.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Interface"</b> interface class.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/InterfaceCommon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
14 changes: 7 additions & 7 deletions howtos/howto10/include/howto10/MsgId.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of message ids enumeration.
Expand All @@ -13,13 +13,13 @@ namespace howto10
/// @brief Message ids enumeration.
enum MsgId : std::uint8_t
{
MsgId_M1 = 1, ///< message id of <b>Message 1</b> message. ,
MsgId_M2 = 2, ///< message id of <b>Message 2</b> message. ,
MsgId_M3 = 3, ///< message id of <b>Message 3</b> message. ,
MsgId_M1 = 1, ///< message id of <b>Message 1</b> message.
MsgId_M2 = 2, ///< message id of <b>Message 2</b> message.
MsgId_M3 = 3, ///< message id of <b>Message 3</b> message.

// --- Extra values generated for convenience ---,
MsgId_FirstValue = 1, ///< First defined value.,
MsgId_LastValue = 3, ///< Last defined value.,
// --- Extra values generated for convenience ---
MsgId_FirstValue = 1, ///< First defined value.
MsgId_LastValue = 3, ///< Last defined value.
MsgId_ValuesLimit = 4, ///< Upper limit for defined values.
};

Expand Down
4 changes: 2 additions & 2 deletions howtos/howto10/include/howto10/Version.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains protocol version definition.
Expand All @@ -22,5 +22,5 @@ inline constexpr unsigned specVersion()
} // namespace howto10

// Generated compile time check for minimal supported version of the COMMS library
static_assert(COMMS_MAKE_VERSION(5, 0, 3) <= comms::version(),
static_assert(COMMS_MAKE_VERSION(5, 1, 0) <= comms::version(),
"The version of COMMS library is too old");
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains dispatch to handling function(s) for client input input messages.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/dispatch/DispatchMessage.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains dispatch to handling function(s) for all input messages.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains dispatch to handling function(s) for client input input messages.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/field/FieldBase.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of base class of all the fields.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/field/Flags.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Flags"</b> field.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/field/FlagsCommon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/field/MsgId.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"MsgId"</b> field.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/field/MsgIdCommon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/frame/Frame.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Frame"</b> frame class.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/frame/FrameCommon.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/input/AllMessages.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of the AllMessages messages bundle.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/input/ClientInputMessages.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of the ClientInputMessages messages bundle.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/input/ServerInputMessages.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of the ServerInputMessages messages bundle.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/message/Msg1.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Message 1"</b> message and its fields.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/message/Msg1Common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/message/Msg2.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Message 2"</b> message and its fields.
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/message/Msg2Common.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains common template parameters independent functionality of
Expand Down
2 changes: 1 addition & 1 deletion howtos/howto10/include/howto10/message/Msg3.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Generated by commsdsl2comms v5.2.0
// Generated by commsdsl2comms v6.0.0

/// @file
/// @brief Contains definition of <b>"Message 3"</b> message and its fields.
Expand Down
Loading

0 comments on commit 8f1b0ed

Please sign in to comment.