341 Commits

Author SHA1 Message Date
John Wellbelove
0412615952 Update version number 2021-01-13 09:51:53 +00:00
John Wellbelove
e15ae4aa58 Added virtual function 'void on_task_added()' that is called when a task is added to a scheduler. 2021-01-13 09:50:33 +00:00
John Wellbelove
2c73fdf9ca Added virtual function 'void on_task_added()' that is called when a task is added to a shceduler. 2021-01-13 09:50:02 +00:00
John Wellbelove
3e8d39dae5 Merge branch 'hotfix/fcs_make_getter_const' into development 2020-12-20 19:54:39 +00:00
John Wellbelove
febb4de79a Updated version numbers 2020-12-20 17:55:27 +00:00
John Wellbelove
e890e3782e Arduino compatibility 2020-12-20 16:43:49 +00:00
John Wellbelove
7fd73fe96d Change std::move to etl::move in etl::forward_list 2020-12-16 08:47:39 +00:00
John Wellbelove
d7daf59a5b Updated version numbers 2020-12-10 11:35:15 +00:00
John Wellbelove
4d1f56bf9e Merge branch 'hotfix/issue-303-etl-not-compatible-with-arduino-ide' into development
# Conflicts:
#	support/Release notes.txt
#	test/vs2019/etl.vcxproj.filters
2020-12-08 12:14:36 +00:00
John Wellbelove
41dbae73b2 Updated generators 2020-12-08 12:11:54 +00:00
John Wellbelove
8cf7ab2974 Updated generators 2020-12-08 11:39:26 +00:00
John Wellbelove
fbfd8ac6a4 Added clang mutex header redirect to GCC implementation 2020-12-05 14:32:00 +00:00
John Wellbelove
6cf6c92b05 Updated version numbers 2020-12-04 12:23:02 +00:00
John Wellbelove
4bcd734dad Added ETL_ASSERT for out-of-order state list. 2020-12-02 13:45:07 +00:00
John Wellbelove
fad6e4d800 Updated version numbers 2020-12-01 13:19:44 +00:00
John Wellbelove
b40431f998 Fixed version number retrieval from Github 2020-11-27 18:29:08 +00:00
John Wellbelove
4e4aed118a Updated version numbers 2020-11-27 09:13:49 +00:00
John Wellbelove
d33d32be23 Refactor of etl::buffer_descriptors interface 2020-11-23 12:33:04 +00:00
John Wellbelove
cfb38b2737 vector_ext 2020-11-21 11:36:13 +00:00
John Wellbelove
af9c640fa7 Updated version numbers 2020-11-19 11:18:36 +00:00
John Wellbelove
a90fde9cfb Updated notes 2020-11-18 18:36:30 +00:00
John Wellbelove
39a3f77ed4 Disabled ASAN option in Visual Studio project. 2020-11-17 13:03:11 +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
76850b7037 Updated version numbers 2020-11-04 20:49:35 +00:00
John Wellbelove
7645fd1359 Updated version numbers 2020-11-01 12:15:30 +00:00
John Wellbelove
3c3e527a03 Updated versions 2020-10-31 11:44:21 +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
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
957d0fdd89 Updated vesrion 2020-10-23 13:30:37 +01:00
John Wellbelove
bc671299b0 Added missing emplace functions from vector-of-pointers specialisation. 2020-10-21 13:22:34 +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
26b0f84439 Merge branch 'development'
# Conflicts:
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
2020-10-07 11:25:40 +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
db9e39a64b Add missing include in test etl_profile.h 2020-10-04 19:00:37 +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
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
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
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
3eeeb5d5f6 segger-multiple-prevailing-defs-for-invocation' into development 2020-09-22 10:18:08 +01:00
John Wellbelove
c38d2db118 array_view-not-explicit 2020-09-22 09:30:06 +01:00
John Wellbelove
fa25f02bb1 Refactoring of 18.15.0.
Modified constructor syntax.
2020-09-19 10:31:44 +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
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
John Wellbelove
d234d5ce0d Added a line coordinate generator using the Bresenham algorithm. 2020-08-30 11:20:00 +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
John Wellbelove
f2d6df5944 Fixed etl::stack top level assignment operator not clearing before copy 2020-08-27 18:40:05 +01:00
John Wellbelove
f339e8d3da Fixed issue for incorrect operation of erase(const_iterator, const_iterator)
when the terminating iterator was end() for etl::unordered_map, etl::unordered_multimap, etl::unordered_set and etl::unordered_multiset.
2020-08-15 21:00:18 +01:00
John Wellbelove
254a8d4035 String stream test << operator in etl namespace 2020-08-08 13:50:05 +01:00
John Wellbelove
bd578b6e77 Resolve 0U ambiguity in string utility tests 2020-08-02 15:14:52 +01:00
John Wellbelove
bd392b400c Updated version numbers 2020-08-02 14:36:51 +01:00
John Wellbelove
72eb5817f2 Fixed compiler compatibility issues in etl::forward_list and etl::list 2020-08-02 10:50:04 +01:00
John Wellbelove
c83ac6dcb5 Merge branch 'feature/string-utilities' into development 2020-08-01 16:21:41 +01:00
John Wellbelove
c80f30e990 Recoded string utility get_token() 2020-08-01 14:18:51 +01:00
John Wellbelove
40fc617466 Fix and optimise etl::list and etl::forward_list shared pool move constructors and assignment operators. 2020-07-30 12:52:40 +01:00
John Wellbelove
8f0199c789 Added etl::ibitset::span() member functions to return a span of the underlying binary data.
Moved image resources
2020-07-27 10:52:07 +01:00
John Wellbelove
923ac42b96 Updated version numbers 2020-07-26 13:25:50 +01:00
John Wellbelove
997eb85f75 Added enable/disable observer interface to observable class 2020-07-25 16:57:02 +01:00
John Wellbelove
8d60eb5e0e Fixed incorrect return in find() and at() for non-existent key. 2020-07-20 19:55:19 +01:00
John Wellbelove
05647e5256 Fix C++03 error_handler compatibility 2020-07-20 10:14:28 +01:00
John Wellbelove
2cf00a0ba4 Re-coded string utilities to allow any string-like container to use it. 2020-07-18 20:18:32 +01:00
John Wellbelove
0a1b49c8f8 Removed to_upper_case, to_lower_case & to_sentence_case from wstring_utilities, u16string_utilities & u32string_utilities 2020-07-17 11:31:06 +01:00
John Wellbelove
f48cafd007 Updated version numbers 2020-07-16 11:26:40 +01:00
John Wellbelove
509a930b55 Added stream manipulators 2020-07-09 14:21:40 +01:00
John Wellbelove
3e2352770b string streams 2020-07-05 20:55:14 +01:00
John Wellbelove
a27508ca96 Refactored etl::error_handler to use etl::delegate style implementation.
Allows set_callback() function to be given run-time and compile-time pointers to free and member functions without using etl::ifunction.
2020-06-26 10:48:14 +01:00
John Wellbelove
eabe328398 Changed std::move to etl::move in std::optional and std::queue
Fixed etl::span subspan with etl::dynamic_extent
2020-06-18 16:55:27 +01:00
John Wellbelove
d21be04f66 Fixed type traits C++03 compatibility 2020-06-04 19:15:09 +01:00
John Wellbelove
dda5aa09fa Removed surplus 'typename T' in pool create() for C++03 2020-05-28 11:12:15 +01:00
John Wellbelove
f8fbb119f7 C++03 compatibility changes for type_traits.h 2020-05-27 11:57:41 +01:00
John Wellbelove
7827909a82 Added etl::parameter_pack 2020-05-23 16:19:39 +01:00
John Wellbelove
0bfc97a914 Variadic versions of etl::type_id_lookup and etl::type_type_lookup for C++11 and above. 2020-05-19 20:12:12 +01:00
John Wellbelove
d7dd2ca1b4 Updated versions 2020-05-12 23:39:15 +01:00
John Wellbelove
638d6ac8e6 Updated version 2020-05-12 10:39:35 +01:00
John Wellbelove
e39554e36c Updated version numbers 2020-05-11 14:46:47 +01:00
John Wellbelove
d55695e3d4 Strings may use external buffers if the 'max size' template parameter is zero. 2020-05-09 12:47:55 +01:00
John Wellbelove
06860eb840 Fixed 'insert to empty container' bug for deque 2020-05-05 15:47:24 +01:00
John Wellbelove
e6179fdb5b Updated release notes 2020-04-30 13:56:54 +01:00
John Wellbelove
380da33ff1 Updated version numbers 2020-04-30 12:54:15 +01:00
John Wellbelove
c385f3ce1c Modified etl::delegate for better lambda support.
Added etl::is_class to type_traits.h
Added missing return statement in etl::move_iterator in 'operator ='
Added upport for compilers that do not support LDBL_xxx macros
2020-04-29 20:05:47 +01:00
John Wellbelove
548345cf8c Modified etl::delegate for better lambda support.
Added etl::is_class to type_traits.h
Added missing return statement in etl::move_iterator in 'operator ='
Added upport for compilers that do not support LDBL_xxx macros
2020-04-29 17:29:44 +01:00
John Wellbelove
3cd9be0c2a Added check for NAN, nan(), nanf() or nanl() support. 2020-04-28 14:23:40 +01:00
John Wellbelove
b42d7fc6fa Spelling 2020-04-20 11:48:28 +01:00
John Wellbelove
fda323b837 Added determine_development_os.h to platform.h to attempt to automatically deduce the OS that the developer is using.
Added subsequent changes to unit test's etl_profile.h
Removed CMakeLists.txt that auto selected profiles header (this should be done in the project's etl_profile)
Removed profiles/etl_profile.h
Added missing tests to unit test's CMakelists.txt
2020-04-20 09:05:22 +01:00
John Wellbelove
cdeef0fecc Updated message router and FSM
Deprecated is_null_router(), added is_producer() and is_consumer()
2020-04-14 10:12:52 +01:00
John Wellbelove
b54ab99483 Changed etl::move to etl::forward in etl::make_pair
Added implicit conversions between etl::pair and std::pair
2020-04-13 18:39:56 +01:00
John Wellbelove
5332cffe44 Add message producer 2020-04-10 15:17:07 +01:00
John Wellbelove
7df68346aa Make etl::array_view immutable by default 2020-04-10 11:20:01 +01:00
John Wellbelove
8171fe3784 Modified etl::message_packet to allow default construction, copy/move construction and copy/move assignment. 2020-04-09 14:17:35 +01:00
John Wellbelove
afa10ea187 Changed local 'work' variables from uint_least8_t to uint32_t to avoid possible overflow.
Fixed miss-spelt scheduler policies. Typedef'd old names for backwards compatibility.
2020-04-08 09:59:57 +01:00
John Wellbelove
788f8dbdb8 Make etl::span::subspan functions compatible with C++11 constexpr 2020-04-02 12:57:56 +01:00
John Wellbelove
492d78b9b1 Removed double definition of default: case in switch. 2020-04-02 11:05:33 +01:00
John Wellbelove
7b61eec2a6 Added etl::span 2020-04-01 15:11:07 +01:00
John Wellbelove
9ce2710ef8 Updated version number 2020-03-31 13:22:45 +01:00