543 Commits

Author SHA1 Message Date
John Wellbelove
9e389e280f Add buffer descriptors 2020-11-04 13:19:36 +00:00
John Wellbelove
7645fd1359 Updated version numbers 2020-11-01 12:15:30 +00:00
John Wellbelove
7539dacfcc Added ETL_CONSTEXPR 2020-11-01 11:29:57 +00:00
John Wellbelove
a1aaa5dbb6 Added ETL_CONSTEXPR 2020-10-31 18:38:08 +00:00
John Wellbelove
3c3e527a03 Updated versions 2020-10-31 11:44:21 +00:00
John Wellbelove
70cc2152e0 Add ETL_CONSTEXPR for state_chart, transision and state constructors. 2020-10-31 10:57:53 +00:00
John Wellbelove
c0eb60ec2a Fix return type error for atomic GCC 2020-10-31 10:56:21 +00:00
John Wellbelove
c52d498159 Eliminate ARM compiler v5 warnings 2020-10-31 10:54:37 +00:00
John Wellbelove
771d697e31 Modified strings for better memory efficiency. String truncation detection and clear-after-use can be disabled.
Added ETL_DISABLE_STRING_TRUNCATION_CHECKS macro check in platform.h.
Added ETL_DISABLE_STRING_CLEAR_AFTER_USE macro check in platform.h.
Added etl::flags to wrap boolean flag functionality.
Four parameter equal() algorithm variant added.
Modified is_pod definition when using the STL.
Added are_all_same trait.
2020-10-30 18:30:13 +00:00
John Wellbelove
9e4b5870e1 Merge branch 'feature/string-optimisation' into development 2020-10-30 11:46:53 +00:00
John Wellbelove
c3da3a4262 Finalised etl::flags 2020-10-30 11:41:28 +00:00
John Wellbelove
e317cf9d1f Merge branch 'feature/new-equal-algorithm-variant' into development 2020-10-29 09:29:23 +00:00
John Wellbelove
e122e4b18c Added STL/No STL options 2020-10-29 09:29:01 +00:00
Ivo Ihlemann
010b16510f
add overload for etl::equal that compares lengths (#294)
* add overload for etl::equal that compares lengths

accoring to std::equal (https://en.cppreference.com/w/cpp/algorithm/equal)

* add test for equal overload that compares lengths
2020-10-29 09:02:44 +00:00
John Wellbelove
65fa8c51e4 Bitmapped flags & flags template class (unit tests unfinished) 2020-10-28 18:33:41 +00:00
John Wellbelove
05d033ce3a Keil ARM5 fixes 2020-10-27 13:01:35 +00:00
Rolan Reznik
4d8f7f4943
Keil 5 fixes (#293)
* unordered_map fix for non c++11 profiles.

* __USE_C99_MATH fix for armcc5

* is_convertible fix for armcc5
2020-10-27 08:52:53 +00:00
John Wellbelove
25e353538a Initial string reduction code 2020-10-26 19:32:48 +00:00
John Wellbelove
cc05b1df52 Change to array_view member variable declaration, for constructor from array 2020-10-24 10:36:02 +01:00
John Wellbelove
197f11b6b3 Updated vesrion 2020-10-23 20:31:44 +01:00
John Wellbelove
75c528979e Added [] operator and available() 2020-10-23 20:01:51 +01:00
John Wellbelove
b097cd0e75 Fix Clang warnings 2020-10-23 14:42:31 +01:00
John Wellbelove
957d0fdd89 Updated vesrion 2020-10-23 13:30:37 +01:00
John Wellbelove
9d34c122fb Final circular buffer 2020-10-23 13:28:39 +01:00
John Wellbelove
24afa44c8c Merge branch 'master' into feature/circular_buffer 2020-10-21 13:50:17 +01:00
John Wellbelove
bc671299b0 Added missing emplace functions from vector-of-pointers specialisation. 2020-10-21 13:22:34 +01:00
John Wellbelove
c767650645 Random iterator tests 2020-10-20 13:26:14 +01:00
John Wellbelove
3b04e71511 ETL_CONSTANT 2020-10-20 11:14:37 +01:00
John Wellbelove
0c99ef5282 circular_buffer (no copy or assignment) 2020-10-20 11:02:44 +01:00
John Wellbelove
545f8d42ce Reformatted 2020-10-19 08:41:50 +01:00
John Wellbelove
c31e5c83e7 Added uninitialized_buffer 2020-10-19 08:40:51 +01:00
John Wellbelove
89adab63d9 Initial implementation 2020-10-19 08:40:01 +01:00
John Wellbelove
9c8156083b Fixed incorrect reflected CRC8 0x07 lookup table.
Added unit tests for CRC8-ROHC
2020-10-11 19:53:38 +01:00
John Wellbelove
bd5ded5bde crc8-rohc fix 2020-10-11 19:06:35 +01:00
John Wellbelove
5d4d111671 Added iterator API to all etl::frame_check_sequence based template classes, such as CRCs and checksums 2020-10-07 11:06:10 +01:00
John Wellbelove
fd020e7de2 Iterator API for cumulative_moving_average 2020-10-06 21:08:31 +01:00
John Wellbelove
0180a7c9bd Reduced warnings from cppcheck v2.2 2020-10-04 14:24:52 +01:00
John Wellbelove
0bd0067022 Merge branch 'feature/github-actions-for-windows-compilers' into development
# Conflicts:
#	.github/workflows/clang.yml
#	CMakeLists.txt
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
#	test/vs2019/etl.vcxproj
#	test/vs2019/etl.vcxproj.filters
2020-10-02 18:18:20 +01:00
Alastair Bain
3973ac2dc3 Fix missing empty define of ETL_OBJECT_RESET_DEBUG_COUNT (#280) 2020-10-02 09:48:21 +01:00
John Wellbelove
1a90c1e3d1 Updates to CI configuration files to compile 'No STL' variants of the tests. 2020-09-30 11:19:10 +01:00
John Wellbelove
df23e2d750 Conditionally disable template deduction guide tests 2020-09-30 11:19:08 +01:00
John Wellbelove
5550500e7b Merge branch 'master' into feature/github-actions-for-windows-compilers
# Conflicts:
#	.github/workflows/main.yml
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
#	test/vs2019/etl.vcxproj.filters
2020-09-29 19:56:03 +01:00
John Wellbelove
e337689ed0 Conditionally disable template deduction guide tests 2020-09-29 13:15:37 +01:00
John Wellbelove
509089c0e2 Added template deduction guides 2020-09-28 13:14:12 +01:00
John Wellbelove
04c479279e Refactored empty(), full(), available() member functions for etl::list and etl::forward_list 2020-09-27 12:47:20 +01:00
Bo Rydberg
0fee1fc0b6
Fix faulty assert in list<int,0>::available (#275)
Prevent zero sized `list<int, 0> x;` from always asserting.
2020-09-27 10:09:48 +01:00
Bo Rydberg
663c4311fc
etl::list<int, 0>::full() asserts (#274)
* Changed some functions to ETL_CONSTEXPR14

* Updated Code:Blocks project

* etl::list<int, 0>::full() asserts

The list::full method asserts for lists with maxsize zero.

Co-authored-by: John Wellbelove <github@wellbelove.co.uk>
2020-09-27 10:09:27 +01:00
Bo Rydberg
8ae3437aee
Add missing rend() const to list.h (#273)
The `etl::list` class has a missing overload of `rend() const` causing unwarranted compile errors.
2020-09-27 09:53:23 +01:00
John Wellbelove
a02b0f7012 etl::error_handler is not compiled unless error logging is enabled 2020-09-25 13:35:06 +01:00
John Wellbelove
3440c463fa etl::fsm now reports itself as a consumer of messages. 2020-09-25 13:34:28 +01:00