4048 Commits

Author SHA1 Message Date
John Wellbelove
31c183d8ed Added etl::conjunction and etl::disjunction tests 2021-07-19 21:56:26 +01:00
John Wellbelove
cee880b2e6 Changed 'class' to 'typename'. 2021-07-19 12:51:54 +01:00
John Wellbelove
140c69e6ea Updated version numbers 2021-07-18 20:22:12 +01:00
John Wellbelove
a7420267a6 Cross compiler compatibity changes 2021-07-18 09:53:13 +01:00
John Wellbelove
e9a9e8d1af Merge branch 'feature/variadic-variant' into development
# Conflicts:
#	.gitignore
#	arduino/examples/Vector_Examples/Example_Vector_1_simple_use/Example_Vector_1_simple_use.ino
#	include/etl/version.h
#	library.json
#	library.properties
#	meson.build
#	support/Release notes.txt
#	test/vs2019/etl.vcxproj.filters
2021-07-17 23:51:16 +01:00
John Wellbelove
e9f6822215 VS2022 Preview Solution 2021-07-17 23:47:13 +01:00
John Wellbelove
42db0ac199 VS2022 Preview Solution 2021-07-17 23:46:24 +01:00
John Wellbelove
aa98a60822 etl::variant release candidate 2021-07-17 23:45:28 +01:00
John Wellbelove
7b63b567b6 Fixes for cross compiler cmpatibility
Added tests for all get<>() functions
2021-07-16 22:21:42 +01:00
Benedek Kupper
ed0dbc00c2
Feature/bip buffer spsc atomic (#402 follow-up) (#404)
* bip_buffer_spsc_atomic: fix compiler failure

The previous commit changed the pointer being const (cannot change where
the pointer is pointing after construction) to the referred data
to be const (the buffer itself is not writeable), which causes compiler
issue with the tests.

Signed-off-by: Benedek Kupper <benedek.kupper@streamunlimited.com>

* bip_buffer_spsc_atomic: whitespace cleanup for consistency

Signed-off-by: Benedek Kupper <benedek.kupper@streamunlimited.com>

* bip_buffer_spsc_atomic: clear() destroys the unread data

Signed-off-by: Benedek Kupper <benedek.kupper@streamunlimited.com>

* bip_buffer_spsc_atomic: add destructor

Signed-off-by: Benedek Kupper <benedek.kupper@streamunlimited.com>
2021-07-16 11:42:35 +01:00
John Wellbelove
9c68847c5c Compiler compatibility changes 2021-07-15 12:57:46 +01:00
John Wellbelove
de1a19775e Re-enabled all variant unit tests 2021-07-14 12:37:24 +01:00
John Wellbelove
0bdd5943da Work in progress 2021-07-13 21:24:12 +01:00
John Wellbelove
56c75a3ae5 Refactored operation functions into one. 2021-07-13 19:57:24 +01:00
John Wellbelove
109997b8d6 Work in progress 2021-07-13 17:15:25 +01:00
John Wellbelove
590b26e513 Added conjunction and disjunction 2021-07-12 16:26:50 +01:00
John Wellbelove
197f65c5da Compiler compatibility updates 2021-07-12 00:51:53 +01:00
John Wellbelove
c54bf63a76 Resolved issues with universal references in construction and assignment.
Added 'in_place' structures.
Added etl::overload.
Updated sanity check cmake files.
Added alignment for const void.
2021-07-11 20:36:01 +01:00
John Wellbelove
d13bf7d5df Changes before merging to development 2021-07-06 18:49:27 +01:00
Benedek Kupper
acf4945023
introduce bip buffer spsc atomic (#402)
Based on the works of Andrea Lattuada and James Munns:
https://blog.systems.ethz.ch/blog/2019/the-design-and-implementation-of-a-lock-free-ring-buffer-with-contiguous-reservations.html
Whose design was inspired by Simon Cooke:
https://www.codeproject.com/Articles/3479/The-Bip-Buffer-The-Circular-Buffer-with-a-Twist

Signed-off-by: Benedek Kupper <benedek.kupper@streamunlimited.com>
2021-07-06 15:42:37 +01:00
John Wellbelove
7f98b3dfc0 Changed script log file name. 2021-07-01 15:06:43 +01:00
John Wellbelove
7bb438bf1b Added the option to derive etl::message<> from a custom parent class 20.12.0 2021-06-30 20:57:42 +01:00
Manuel Seeböck
38d8452e70
added optional template parameter to etl::imessage to specify a base class other than imessage (#401)
Co-authored-by: Manuel Seeböck <seeboeck@pjm.co.at>
2021-06-30 13:33:05 +01:00
John Wellbelove
ef6885c02c Unified vector asserts 2021-06-30 11:25:37 +01:00
John Wellbelove
4a19216ffe Multi-thread build scripts 2021-06-30 10:14:51 +01:00
JR
bb6a860f6d
Fix traits error for arduino examples (#400) 2021-06-30 09:53:45 +01:00
John Wellbelove
0b321d21e8 Rebase on master 2021-06-29 20:25:36 +01:00
John Wellbelove
7e9ca31fb1 Updated overloads 2021-06-29 20:04:18 +01:00
John Wellbelove
d566f1ea1a Latest updates 2021-06-29 20:04:18 +01:00
John Wellbelove
45e3200326 Initial commit 2021-06-29 20:04:17 +01:00
John Wellbelove
e8a6e12ca1 Renamed mem_type to mem_cast 2021-06-29 20:03:55 +01:00
John Wellbelove
eb6d5637d4 Added experimental uni_type 2021-06-29 20:03:55 +01:00
John Wellbelove
8683b51dd3 Added experimental uni_type 2021-06-29 20:03:55 +01:00
John Wellbelove
f956cc19b4 Renamed mem_type to mem_cast 2021-06-29 20:03:31 +01:00
John Wellbelove
3afe64dab1 Further updates to mem_type 2021-06-29 20:02:49 +01:00
John Wellbelove
67b17b2635 Added experimental uni_type 2021-06-29 20:02:32 +01:00
John Wellbelove
08f16f99f2 Initial commit 2021-06-29 20:00:43 +01:00
John Wellbelove
f0358764c8 Updated Arduino examples 2021-06-29 19:59:09 +01:00
John Wellbelove
a8a4d9cc58 Updated Arduino examples 2021-06-29 19:59:09 +01:00
John Wellbelove
7874a93d03 Updated Arduino examples 2021-06-29 19:59:08 +01:00
JR
8638593b61 add a couple of arduino examples (#397)
* Add information about Arduino library and repo

* Add arduino library example
2021-06-29 19:58:30 +01:00
John Wellbelove
6f3caa6ede C++20 compatibility for deprecated std::is_pod 2021-06-29 19:58:30 +01:00
John Wellbelove
dee32492bd Deleted experimental files 2021-06-29 19:58:30 +01:00
John Wellbelove
0d7405de0d Fixed swapped HUGE_VAL & HUGE_VALF definitions 2021-06-29 19:58:30 +01:00
John Wellbelove
7933e146fc Updated Arduino examples 20.11.5 2021-06-29 19:15:07 +01:00
John Wellbelove
d424ee7752 Updated Arduino examples 2021-06-29 11:49:57 +01:00
John Wellbelove
3ee84e6606 Merge branch 'feature/add-a-couple-of-arduino-examples-#397' into development 2021-06-29 10:30:23 +01:00
John Wellbelove
81bba3cc31 Updated Arduino examples 2021-06-29 09:55:19 +01:00
John Wellbelove
e109e4977b C++20 compatibility for deprecated std::is_pod 2021-06-29 09:55:19 +01:00
John Wellbelove
c49a9274df Deleted experimental files 2021-06-29 09:55:19 +01:00