1686 Commits

Author SHA1 Message Date
John Wellbelove
1b70808386 Changed assignment from etl::unexpected to use variant::emplace instead of direct assignment 2023-08-03 09:54:31 +01:00
John Wellbelove
75be75bbec Merge branch 'pull-request/#733-Fix-etl--expected-assignment-from-etl--unexpected' into development 2023-07-18 11:33:13 +01:00
John Wellbelove
6da22a63e0 Merge branch 'pull-request/#734-add-missing-new-line-at-end-of-file' into development 2023-07-18 11:33:06 +01:00
John Wellbelove
4a1dc781d6 #733-Fix-etl--expected-assignment-from-etl--unexpected
Added unit tests for changes
2023-07-18 09:40:47 +01:00
Manuel Knörle
1a3c2a788b
style: add missing new line at end of file (#734) 2023-07-18 08:12:53 +01:00
John Wellbelove
73c96a4c6c Added etl::forward_like 2023-07-15 09:51:08 +01:00
John Wellbelove
86b147d2a4 Updated version and release notes 2023-07-10 21:10:07 +01:00
John Wellbelove
f9e9ff8395 Merge branch 'development' of https://github.com/ETLCPP/etl into development 2023-07-05 20:19:26 +01:00
John Wellbelove
cb99d47f81 Refactored parallel build methods 2023-07-04 18:20:20 +01:00
John Wellbelove
dda6ae53c8 Refactored parallel build methods 2023-07-04 11:46:00 +01:00
Chiraffollo
1292c5eab8 Fix issue #722 Bitset accesses memory out of bounds (#724)
* Fix issue #722 Bitset accesses memory out of bounds

* Fix #709 in intrusive_list operator-> (#721)

* Fix issue #722 Bitset accesses memory out of bounds
2023-07-04 11:46:00 +01:00
John Wellbelove
3760b26339 Fixed rvalue overloads 2023-07-04 11:46:00 +01:00
John Wellbelove
e034a92412 Changed test order 2023-07-04 11:45:59 +01:00
John Wellbelove
4bcc0c2568 Fixed address sanitizer issues in unit tests 2023-07-04 11:45:11 +01:00
John Wellbelove
197e0815e6 PR for constexpr for etl::array 2023-07-04 11:45:11 +01:00
John Wellbelove
3cb1c956b0 Fix tests after addition of ETL_NODISCARD 2023-07-04 11:45:10 +01:00
John Wellbelove
3510fd61a9 Updated intrusive links
Refactored intrusive_forward_list so that links report status consistantly
2023-07-04 11:45:10 +01:00
John Wellbelove
ed589c91c6 Added etl::is_forward_link, etl::is_bidirectional_link and etl::is_tree_link to intrusive links.
Added Constructors, access and status member functions to intrusive links.
2023-07-04 11:45:10 +01:00
John Wellbelove
c3c12da861 Initial updates and fixes 2023-07-04 11:45:10 +01:00
John Wellbelove
5eec513d8a Added clear() to delegate 2023-07-04 11:45:09 +01:00
John Wellbelove
a0af0f9415 Modified the POD specialisation to accept objects that have deleted default constructors 2023-07-04 11:45:09 +01:00
John Wellbelove
177299977d Refactored visitor and variant to allow const variants and fix passing references to visitors 2023-07-04 11:41:00 +01:00
John Wellbelove
83f439628b Added missing colour change 2023-07-04 11:41:00 +01:00
John Wellbelove
c7b4e349ea Fix mem_cast_tests 2023-07-04 11:41:00 +01:00
Chiraffollo
7f990d7a76
Fix #709 in intrusive_list operator-> (#721) 2023-07-01 12:40:07 +01:00
Daniel Jour
96092d841f
optional::operator=(nullopt_t) sets valid to false (#715)
* optional::operator=(nullopt_t) sets valid to false

Fixes https://github.com/ETLCPP/etl/issues/714

* Add test case for #714
2023-06-17 08:19:03 +01:00
John Wellbelove
085d2c580a Fix flat map const placement new issue 2023-06-04 15:57:37 +01:00
John Wellbelove
d95c1cbc6d Disabled address sanitizer (temporarily) 2023-06-04 15:44:48 +01:00
John Wellbelove
1315404ed8 Re-enable memcast tests 2023-06-04 15:41:29 +01:00
John Wellbelove
5f9290b8d1 #698 Behaviour of bidirectional_link nodes 2023-05-31 11:32:46 +01:00
John Wellbelove
76bb902034 Added missing header include. 2023-05-28 10:03:46 +01:00
John Wellbelove
ad29aaff10 Clean-up of VS2022 project configurations 2023-05-22 18:27:35 +01:00
John Wellbelove
f78f068e40 Removed unused declaration 2023-05-19 19:33:50 +01:00
John Wellbelove
e9a5f4bc10 Merge branch 'development' of https://github.com/ETLCPP/etl into development
# Conflicts:
#	include/etl/private/variant_variadic.h
#	test/test_variant_variadic.cpp
2023-05-16 10:24:41 +01:00
John Wellbelove
a2af90b155 Removed Intel configurations 2023-05-16 10:17:17 +01:00
John Wellbelove
7e1a59d939 etl::variant updates and refactor 2023-05-16 10:16:53 +01:00
John Wellbelove
e21426112e etl::overload in C++17 only 2023-05-16 10:15:01 +01:00
John Wellbelove
b7a1b65276 Added const overloads of accept_visitor & accept_functor.
Marked all overloads od accept_visitor & accept_functor as deprecated.
Added new universal accept member function.
2023-05-15 17:22:07 +01:00
John Wellbelove
e127ef73f5 Added const overloads of accept_visitor & accept_functor.
Marked all overloads od accept_visitor & accept_functor as deprecated.
Added new universal accept member function.
2023-05-15 17:03:03 +01:00
John Wellbelove
868b3f31f9 #695 Visiting a const variant (variadic) 2023-05-13 20:58:48 +01:00
John Wellbelove
3425c6fe42 Updated release notes and msvc project 2023-05-11 20:50:31 +01:00
John Wellbelove
688ac131bb Removed [] operator 2023-05-11 09:50:05 +01:00
John Wellbelove
1c333bbe07 #691 etl::span copy constructor doesn't compile when types are not the same 2023-05-08 19:00:06 +01:00
John Wellbelove
f4b8fd73c6 Updated Github actions yml files 2023-05-08 17:19:01 +01:00
John Wellbelove
b69e284978 Updated Github actions yml files 2023-05-08 11:55:19 +01:00
John Wellbelove
3aa4a8af03 Sanity check CI test 2023-05-07 10:20:26 +01:00
John Wellbelove
10ea982ac9 Sanity check CI test 2023-05-07 08:37:31 +01:00
John Wellbelove
78afa95ca1 Sanity check CI test 2023-05-07 08:25:23 +01:00
John Wellbelove
b431afec9c Sanity check CI test 2023-05-07 08:19:32 +01:00
John Wellbelove
fbe703bb1c Merge branch 'feature/sanity-checks-for-github-ci' of https://github.com/ETLCPP/etl into feature/sanity-checks-for-github-ci
# Conflicts:
#	.github/workflows/sanity-checks.yml
2023-05-06 20:09:52 +01:00
John Wellbelove
97b6bb0925 Sanity check CI test 2023-05-06 19:07:38 +01:00
John Wellbelove
33be61e523 Sanity check CI test 2023-05-06 19:06:01 +01:00
John Wellbelove
ef4b47d93c Fixed selection of std/etl size() 2023-05-05 12:43:54 +01:00
John Wellbelove
47398cb824 Enhanced C++03 & C++14 compatibility 2023-05-02 09:04:48 +01:00
John Wellbelove
b7aa13ad19 Enhanced C++03 compatibility 2023-05-02 08:09:06 +01:00
devjoa
40c4fc7c10
feat(span): Add 'as_bytes' and 'as_writable_bytes' (#689)
These functions emulates the std C++20 functions std::as_bytes and
std::as_writable_bytes.
2023-05-01 23:39:55 +01:00
John Wellbelove
8a46297486 Added include to delegate tests 2023-05-01 23:38:19 +01:00
John Wellbelove
d447ca5ba8 Merge branch 'hotfix/#682-hfsm-start()-does-not-update-state-for-call_on_enter_state-=-true' into development
# Conflicts:
#	include/etl/hfsm.h
2023-05-01 17:14:35 +01:00
John Wellbelove
e0361f05ab Added recursive enter for child states. 2023-05-01 17:12:26 +01:00
John Wellbelove
7a131acc54 New tests for delegate 2023-05-01 15:22:00 +01:00
John Wellbelove
9f4c5bbb94 C++11 unit tests - Work in progress 2023-04-30 11:06:23 +01:00
John Wellbelove
cb91c3d4d3 Added help for script 2023-04-29 11:17:25 +01:00
John Wellbelove
223a2857a1 Tabs for spaces 2023-04-29 11:16:59 +01:00
John Wellbelove
f692c67b4f Merge branch 'feature/c++14-tests' into development
# Conflicts:
#	include/etl/generators/type_traits_generator.h
#	test/vs2022/etl.vcxproj.filters
2023-04-28 11:52:09 +01:00
John Wellbelove
4a36990cb1 Merge branch 'master' of https://github.com/ETLCPP/etl 2023-04-28 11:41:47 +01:00
John Wellbelove
801c6735cf Fixed Address Sanitizer issues 2023-04-28 10:32:58 +01:00
John Wellbelove
aa1d7f0f7f Conversion of static to C++14 compatinility 2023-04-27 09:28:37 +01:00
John Wellbelove
b609548f38 Added ETL_OR_STD17 macro for the namespace for size() 2023-04-23 18:58:30 +01:00
David Ockey
49f63cd789
Added sanitization fix for MinGW (#684) 2023-04-08 10:52:39 +01:00
John Wellbelove
7b38e5dbe7 Removed test scripts 2023-04-02 11:27:06 +01:00
John Wellbelove
d30992852e Merge branch 'development'
# Conflicts:
#	.github/workflows/msvc.yml
#	test/UnitTest++/Checks.h
#	test/runtests-01.sh
#	test/runtests-O1.sh
#	test/runtests-O2.sh
#	test/runtests-O3.sh
#	test/runtests-c++14.sh
2023-04-02 11:26:37 +01:00
John Wellbelove
1d8d37d22b Removed test scripts 2023-04-02 11:16:47 +01:00
John Wellbelove
363a3e2dab Fix test array sizes
C++14 compiler compatibility

Updated test run scripts

Changed some ETL_ASSERT macros to ETL_ASSERT_OR_RETURN

Changed unit test macros for C++20 compaibility

Updated test run scripts

Updated CMake files to allow C++ standard selection

Replaced ETL_ASSERT_AND_RETURN with ETL_ASSERT_OR_RETURN

Updated C++14 & C++20 unit test compatibility

Changed native char8_t check

Added optional optimisation argument to bash script
2023-04-02 11:06:43 +01:00
John Wellbelove
578aea502b Work in progress 2023-04-02 11:06:42 +01:00
John Wellbelove
3c6c1ed527 Work in progress 2023-04-02 11:06:42 +01:00
John Wellbelove
4e79554dee #675 Compilation error in optional.h line 405
Changes for compatibility with C++20

Restore C++17 unit test compatibility
2023-04-02 11:06:42 +01:00
John Wellbelove
4ebd1da37d Renamed visual-studio.yml to msvc.yml 2023-04-02 11:06:42 +01:00
John Wellbelove
c74b2cdf90 Renamed Github vs2022.yml to visual-studio.yml 2023-04-02 11:06:41 +01:00
John Wellbelove
b85d3342f7 Run Github CI with GCC 12 2023-04-02 11:06:41 +01:00
John Wellbelove
d3d5b9cf57 Updated Github CI to use checkout@v3 2023-04-02 11:06:41 +01:00
John Wellbelove
16b72f62d1 Modified CI for Github 2023-03-30 13:07:34 +01:00
John Wellbelove
1ab6eb7278 Modified CI for Github 2023-03-30 13:01:23 +01:00
John Wellbelove
db6cf143f2 Update Unittest++ checks 2023-03-29 10:03:14 +01:00
John Wellbelove
8eabe5fb26 Fix test array sizes
C++14 compiler compatibility

Updated test run scripts

Changed some ETL_ASSERT macros to ETL_ASSERT_OR_RETURN

Changed unit test macros for C++20 compaibility

Updated test run scripts

Updated CMake files to allow C++ standard selection

Replaced ETL_ASSERT_AND_RETURN with ETL_ASSERT_OR_RETURN

Updated C++14 & C++20 unit test compatibility

Changed native char8_t check

Added optional optimisation argument to bash script
2023-03-25 12:16:59 +00:00
John Wellbelove
bb3faea614 Merge branch 'development' into feature/c++14-tests
# Conflicts:
#	.gitignore
#	test/vs2019/etl.vcxproj
2023-03-15 12:49:11 +00:00
John Wellbelove
574e041485 #675 Compilation error in optional.h line 405
Changes for compatibility with C++20

Restore C++17 unit test compatibility
2023-03-15 10:28:55 +00:00
John Wellbelove
057c162c07 Renamed visual-studio.yml to msvc.yml 2023-03-10 10:56:36 +00:00
John Wellbelove
6a982b8053 Renamed Github vs2022.yml to visual-studio.yml 2023-03-09 11:34:02 +00:00
John Wellbelove
a6981d2264 Run Github CI with GCC 12 2023-03-09 10:26:01 +00:00
John Wellbelove
b6460a9689 Updated Github CI to use checkout@v3 2023-03-08 17:09:04 +00:00
John Wellbelove
0676ded8cf Converted Visual Studio project to VS2022 2023-03-08 14:03:24 +00:00
John Wellbelove
405bdd8b8c Convert the Visual Studio project to VS2022 2023-03-07 20:24:01 +00:00
John Wellbelove
bcad53ebb2 Array bounds and maybe-uninitialized warning fixes
Array bounds and maybe-uninitialized warning fixes

Added GCC/clang diagnostic disable for array bounds

Fixed false positive array bounds failure in unit tests

Added -01 & -03 quick tests

Fixed constexpr for exception constructor

Made virtual functions protected

Updated project files

Updated generated file

Updated versions and release notes
2023-03-02 13:15:42 +00:00
John Wellbelove
7bfa2d9429 Merge branch 'development' into hotfix/#649-intrusive_list-array-bounds-test-failure
# Conflicts:
#	include/etl/intrusive_forward_list.h
#	include/etl/intrusive_list.h
#	include/etl/optional.h
#	test/test_optional.cpp
#	test/vs2019/etl.vcxproj.filters
2023-02-28 19:31:33 +00:00
John Wellbelove
8ddf0935d3 Array bounds and maybe-uninitialized warning fixes 2023-02-28 18:33:49 +00:00
John Wellbelove
4844b54c91 #668 byte_stream changes that add error exceptions have changed previous behaviour 2023-02-22 09:36:53 +00:00
John Wellbelove
79d72a1616 Fix alignas syntax 2023-02-20 11:39:03 +00:00
John Wellbelove
c5432e42ff Merge branch 'pull-request/#672-Added-HFSM-specific-start()-and-reset()' into development 2023-02-19 13:56:10 +00:00
John Wellbelove
80b397380d Merge branch 'pull-request/#670-span-equality-operators' into development 2023-02-19 12:13:45 +00:00
John Wellbelove
f66a29589e Updated sanity check make files 2023-02-19 12:13:00 +00:00