554 Commits

Author SHA1 Message Date
John Wellbelove
39a3f77ed4 Disabled ASAN option in Visual Studio project. 2020-11-17 13:03:11 +00:00
John Wellbelove
47d39d8605 Fixed warnings 2020-11-13 13:46:13 +00:00
John Wellbelove
19a5c62f36 Added etl::buffer_descriptors.
Added std/etl pair conversions.
Added etl::make_string_view.
Resolved issue with zero length literals for etl::make_string
Resolved etl::flags constexpr issues.
Added atomics for clang.
Resolved type_traits issues for GCC < v5
2020-11-12 19:52:14 +00:00
John Wellbelove
580512d71d Added etl::buffer_descriptors.
Added std/etl pair conversions.
Added etl::make_string_view.
Resolved issue with zero length literals for etl::make_string
Resolved etl::flags constexpr issues.
Added atomics for clang.
Resolved type_traits issues for GCC < v5
2020-11-12 19:13:10 +00:00
John Wellbelove
acea6c3f47 Merge branch 'feature/buffer-descriptor' into development
# Conflicts:
#	test/vs2019/etl.vcxproj.filters
2020-11-10 11:55:42 +00:00
John Wellbelove
8134e8f492 Merge branch 'hotfix/pair-conversion' into development 2020-11-08 14:36:38 +00:00
John Wellbelove
4034574952 make_string_view + fix constexpr in flags.h 2020-11-08 14:35:49 +00:00
John Wellbelove
36d2152486 Updated strings
Re-introduced case utilities
Fixed make_string for empty strings
2020-11-06 12:58:32 +00:00
John Wellbelove
a9e14abb1b Added extra std/etl conversions 2020-11-05 12:50:38 +00:00
John Wellbelove
76850b7037 Updated version numbers 2020-11-04 20:49:35 +00:00
John Wellbelove
31e3a0b0f7 Issue 297 2020-11-04 19:25:45 +00:00
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