3656 Commits

Author SHA1 Message Date
John Wellbelove
d1a6735872 Latest updates to bit_stream_reader 2022-06-09 15:05:08 +01:00
John Wellbelove
06373fda63 Changed 'expected_data' to 'expected' 2022-06-09 15:04:03 +01:00
John Wellbelove
238d3469e9 Added error exceptions to byte_stream_writer 2022-06-09 15:03:17 +01:00
John Wellbelove
58df5414ba Renamed ETL_ALWAYS_ASSERT to ETL_ASSERT_FAIL 2022-06-09 15:02:25 +01:00
John Wellbelove
0ae71fb797 Added callback functionality to bit_stream_writer 2022-06-06 11:01:36 +01:00
John Wellbelove
be9d64f5fc Fixed cast 2022-06-05 12:15:11 +01:00
John Wellbelove
bccea7d0da Refactor etl::atomic implementations to allow non-(integrals/pointers/bool)
Changed etl::atomic and etl::mutex, with STL enabled, to be template aliases
2022-06-05 10:56:26 +01:00
John Wellbelove
55b4fb6587 Added optional byte_stream callback 2022-06-05 10:55:58 +01:00
John Wellbelove
8d6f73cd25 Added write_byte_stream_iterative_output 2022-06-05 10:55:10 +01:00
gerschdn
97732ab5cd Update vector.h (#551)
Made the value parameter to resize() a const_reference instead of a value type to spare the unnecessary copy
2022-06-05 10:54:28 +01:00
John Wellbelove
cace71c3f7 Initial bit_stream_writer code 2022-05-29 14:04:26 +01:00
John Wellbelove
2695cd8fb8 Refactor C++17 message_packet 2022-05-25 12:24:08 +01:00
John Wellbelove
6a979fb7c9 Added optional byte_stream callback 2022-05-22 10:52:24 +01:00
John Wellbelove
9c9bd93549 Added write_byte_stream_iterative_output 2022-05-20 12:36:11 +01:00
John Wellbelove
752d9adb5c Fixed final sanitizer issues 20.28.0 2022-05-19 11:10:00 +01:00
John Wellbelove
92996109c7 Added ASAN options to Github CI 2022-05-18 20:29:51 +01:00
John Wellbelove
fb92f799b1 Merge branch 'development' 2022-05-18 16:58:17 +01:00
John Wellbelove
aaf1f84935 Updates to etl::successor 2022-05-18 16:49:42 +01:00
Robin Mueller
48b0c52e92
New alias target etl::etl and CMake instructions update (#540)
* correction for link call in CMake instructions

* add alias target etl::etl
2022-05-17 17:08:47 +01:00
Robin Mueller
f5ebc9e1f3
added missing GNUInstallDirs include (#539) 2022-05-17 17:08:31 +01:00
Robin Mueller
ba1db8b55b
Some CMake handling improvements (#538)
* Some CMake handling improvements

- Set version from version.txt file if git retrieval fails
- Add FORCE flag to ETL_VERSION CACHE entry setting. The user
  should not have any reason to set this entry from the command line

* correction for cache entry text

* a little bit more context information

* message prefix for info printout

Co-authored-by: Robin Mueller <Robin Mueller>
2022-05-17 17:08:18 +01:00
John Wellbelove
7bb39b56bf Added skip() to byte_stream_writer. 2022-05-17 17:04:47 +01:00
John Wellbelove
645296b925 #545 Option to make string truncation an error." generates compiling warnings 2022-05-17 15:20:39 +01:00
John Wellbelove
c09a1885b5 Merge branch 'hot-fix/#536-undefined-behaviour-and-memory-issues' into development
# Conflicts:
#	test/CMakeLists.txt
2022-05-17 15:03:05 +01:00
John Wellbelove
da58dfe018 Added conditional compilation directive for existence 8 bit types 2022-05-17 10:42:31 +01:00
John Wellbelove
9224df106e Fixed data alignment issues raised by sanitizer 2022-05-16 20:58:07 +01:00
John Wellbelove
232f329867 Fix header file includes 2022-05-16 20:57:04 +01:00
John Wellbelove
0d4c663d0b 64 bit conversion type fixes 2022-05-16 20:56:25 +01:00
John Wellbelove
7bfea414cb Updated array_wrapper test to remove sanitizer issues 2022-05-15 18:55:30 +01:00
John Wellbelove
7b3bb5fa6d Fixed incorrect returned span length for byte stream read 2022-05-15 18:01:44 +01:00
John Wellbelove
2d743082ec Updated runtests.sh 2022-05-13 16:45:14 +01:00
John Wellbelove
7c3d8490c4 indirect_vector updates from sanitizer results 2022-05-13 14:43:36 +01:00
John Wellbelove
7d7a9cf15b Updated CMakeLists.txt 2022-05-11 21:06:35 +01:00
John Wellbelove
87f40fe813 Updates to etl::successor and derived classes. 2022-05-11 16:04:25 +01:00
John Wellbelove
898c8c6587 Multiple sanitizer fixes. 2022-05-08 11:13:13 +01:00
John Wellbelove
44db411d0d Multiple sanitizer fixes. 2022-05-08 11:10:42 +01:00
John Wellbelove
44065e5ad3 Replace GCC with Clang in clang Github CI 2022-05-04 17:09:45 +01:00
John Wellbelove
f75b98aa7d Replace GCC with Clang in clang Github CI 2022-05-04 17:08:10 +01:00
John Wellbelove
882bbab022 Minor updates
Revert some #536 code
2022-04-29 10:29:22 +01:00
Jeremy Overesch
8ac2db0dbe
Feature/pass partial handled events to parent (#541)
* Pass partial handled events to parent.

* Fix the generator file for C++17.
2022-04-28 15:29:11 +01:00
John Wellbelove
6b3bba3aff Merge branch 'hot-fix/#537-removed-unused-irouter-instanciation' into development 2022-04-27 17:25:54 +01:00
John Wellbelove
ce40641baf Squashed commit of the following:
commit 2c3b225972d2d1182133ed9f55bd8aaa58650338
Author: Thomas Sommer <thomas@tomsaw.de>
Date:   Mon Apr 25 10:54:10 2022 +0200

    removed unused irouter instanciation (#537)

commit 5468eb659c8b4ecdb3d08e8b8f0442c5a2549a48
Author: Gabriel Arjones <arjones@arjones.com>
Date:   Thu Apr 14 17:55:27 2022 -0300

    cmake: write an arch independent version file (#534)
2022-04-25 11:06:09 +02:00
Thomas Sommer
2c3b225972
removed unused irouter instanciation (#537) 2022-04-25 10:54:10 +02:00
John Wellbelove
90e4316f8f Interim fixes 2022-04-25 10:30:54 +02:00
John Wellbelove
36d126c93e Squashed commit of the following:
commit c217b3ec12b26104e8f1027c1766cc9d49b93a29
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date:   Thu Apr 21 11:57:55 2022 +0200

    Added mutex traits

    Added transparent comparator test to multimap

commit b6487b869e5599ea067d45af1778d5c0f90c6a52
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date:   Thu Apr 21 10:42:06 2022 +0200

    Modified char8_t, char16_t and char32_t macros.

    Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.

commit 2c2bd86ce3d5d5d698e922518421a93f70a9cc1e
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date:   Thu Apr 21 10:29:04 2022 +0200

    Modified char8_t, char16_t and char32_t macros.

    Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.

commit d16242d20e9b6df6752a926d862d0016a452bada
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date:   Wed Apr 20 13:53:37 2022 +0200

    Expanded constexpr test

commit fad097e6656cd4639c2d81bc8cad2467cae4b4ce
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date:   Wed Apr 20 13:53:05 2022 +0200

    Added ETL_OVERRIDE to state chart process_event()

commit 25403c2225f3aff0b99105a54cfc44f1cf88d527
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date:   Wed Apr 20 13:41:00 2022 +0200

    Added test_etl_traits

commit e42c778cf645cb8fc06e5930336e7f1183004dfe
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date:   Wed Apr 20 13:38:22 2022 +0200

    Removed unused code.

commit 5a25c0c1973f7094ef3aa5b6f29529e96450451c
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date:   Sun Apr 17 13:17:29 2022 +0200

    Large and small character support macros

commit 6a463fb65ef655b700a8dea381265a3c1b622658
Author: Melg Eight <public.melg8@gmail.com>
Date:   Sun Apr 17 13:54:34 2022 +0300

    Fix spelling (#535)

    Signed-off-by: Melg Eight <public.melg8@gmail.com>

commit 5468eb659c8b4ecdb3d08e8b8f0442c5a2549a48
Author: Gabriel Arjones <arjones@arjones.com>
Date:   Thu Apr 14 17:55:27 2022 -0300

    cmake: write an arch independent version file (#534)
2022-04-21 12:11:26 +02:00
John Wellbelove
05e85b9e90 Added mutex traits
Added transparent comparator test to multimap
2022-04-21 11:57:55 +02:00
John Wellbelove
e44d1ad01d Modified char8_t, char16_t and char32_t macros.
Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.
2022-04-21 10:42:06 +02:00
John Wellbelove
cd9d199dde Modified char8_t, char16_t and char32_t macros.
Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.
2022-04-21 10:29:04 +02:00
John Wellbelove
6279840973 Expanded constexpr test 2022-04-20 13:53:37 +02:00
John Wellbelove
7cefbc941a Added ETL_OVERRIDE to state chart process_event() 2022-04-20 13:53:05 +02:00