510 Commits

Author SHA1 Message Date
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
John Wellbelove
2b162f4e7f Fixed inifinite loop for default constructed etl::string_view to get_token() 2020-09-25 13:33:18 +01:00
John Wellbelove
96a4c82a58 Performance optimisations for etl::rotate, etl::move & etl::move_backward
when not using the STL, iterators are pointers and the objects are trivially copyable (currently POD types).
2020-09-25 08:32:30 +01:00
John Wellbelove
adf6243de6 Performance optimisations for etl::rotate, etl::move & etl::move_backward
when not using the STL, iterators are pointers and the objects are trivially copyable (currently POD types).
2020-09-24 23:19:33 +01:00
John Wellbelove
5544633c39 etl::array_view constructor from C array is no longer explicit 2020-09-22 17:54:46 +01:00
John Wellbelove
9f018d9a43 Removed explicit from C array constructor 2020-09-22 17:49:07 +01:00
John Wellbelove
2124596f8b Merge branch 'hotfix/segger-multiple-prevailing-defs-for-invocation' into development 2020-09-22 09:31:03 +01:00
John Wellbelove
c38d2db118 array_view-not-explicit 2020-09-22 09:30:06 +01:00
John Wellbelove
1643be47ba Experimental changes for issue #269 lto1: fatal error: multiple prevailing defs for 'invocation' 2020-09-21 15:03:17 +01:00
John Wellbelove
fa25f02bb1 Refactoring of 18.15.0.
Modified constructor syntax.
2020-09-19 10:31:44 +01:00
John Wellbelove
6f3995a4e7 Refactor string initialise with external buffer 2020-09-19 01:04:44 +01:00
John Wellbelove
5a5579df7a cstring.h code moved to to string.h 2020-09-18 09:26:02 +01:00
John Wellbelove
f6ce3f59bd Allow strings with external buffers to use a pre-initialised buffer. 2020-09-15 19:51:06 +01:00
John Wellbelove
5aa3d734a6 Changed #if defined (ETL_NO_STL) to #if ETL_NOT_USING_STL 2020-09-12 14:10:36 +01:00
John Wellbelove
2abc4ee962 Fixed conditional compilation macro use for template deduction guides 2020-09-12 13:55:09 +01:00
John Wellbelove
14d1b96c64 Added template deduction guides for array and array_view 2020-09-10 13:07:04 +01:00
Shiven Gupta
df5dee6609
Add template deduction guides for array and array_view (#263) 2020-09-09 08:29:07 +01:00
John Wellbelove
4605a8d3c4 Merge branch 'development' 2020-08-30 12:11:48 +01:00
John Wellbelove
f8ddfb1700 Added equality and inequality operators 2020-08-30 12:11:26 +01:00
John Wellbelove
a5998c2f32 Merge branch 'development' 2020-08-30 12:03:15 +01:00
John Wellbelove
8526b2187c Changed front & back to const functions 2020-08-30 12:02:58 +01:00
John Wellbelove
c225293185 Merge branch 'development' 2020-08-30 11:52:22 +01:00
John Wellbelove
0ab92304c0 Changed front & back to return const_reference 2020-08-30 11:51:52 +01:00
John Wellbelove
a28d5af6af Added default constructor 2020-08-30 11:47:08 +01:00
John Wellbelove
d234d5ce0d Added a line coordinate generator using the Bresenham algorithm. 2020-08-30 11:20:00 +01:00
John Wellbelove
27455044a3 Merge branch 'feature/pseudo-containers' into development
# Conflicts:
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
2020-08-30 11:17:16 +01:00
John Wellbelove
62f596667e Bresenham line algorithm - final 2020-08-30 11:16:07 +01:00
John Wellbelove
3a203a9754 Make etl::reference_wrapper API closer to the STL version. Does not support invocation of a callable object. 2020-08-28 16:14:28 +01:00
Rolan Reznik
5747a861f9
reference_wrapper change allowing to use it for pure abstract classes (#262) 2020-08-28 15:15:51 +01:00
Rolan Reznik
a33a70b5e1
ARM5 (armcc) compiler fixes for C++11. (#261) 2020-08-28 15:12:47 +01:00
John Wellbelove
90cdfc0b58 Added header include 2020-08-28 15:10:24 +01:00
John Wellbelove
405de495ec Fixed etl::stack top level assignment operator not clearing before copy 2020-08-27 19:58:47 +01:00
John Wellbelove
dfb0251e57 Merge branch 'development' 2020-08-27 19:07:40 +01:00
John Wellbelove
f2d6df5944 Fixed etl::stack top level assignment operator not clearing before copy 2020-08-27 18:40:05 +01:00