379 Commits

Author SHA1 Message Date
John Wellbelove
d8fcf01cae Minor tidying 2020-05-12 15:25:35 +01:00
John Wellbelove
638d6ac8e6 Updated version 2020-05-12 10:39:35 +01:00
John Wellbelove
c31e13b2d4 Fixed #define undefined behaviour in platform.h 2020-05-12 10:37:25 +01:00
John Wellbelove
701f064a19 Fixed bool return for unsigned specialisation 2020-05-11 17:35:13 +01:00
John Wellbelove
bc682c580c Merge branch 'hotfix/bug-when-self-merging-lists' into development 2020-05-11 15:15:10 +01:00
John Wellbelove
e39554e36c Updated version numbers 2020-05-11 14:46:47 +01:00
John Wellbelove
4bb2fa4480 Fixed issue of merging lists to self 2020-05-11 14:29:00 +01:00
John Wellbelove
f4d9476900 Simplified conditional macros 2020-05-09 19:40:44 +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
e323f2267f Changed http://www.etlcpp.com to https://www.etlcpp.com 2020-05-01 10:22:36 +01:00
John Wellbelove
0eeef097ae Fix insert to empty deque bug 2020-04-30 19:10:03 +01:00
John Wellbelove
380da33ff1 Updated version numbers 2020-04-30 12:54:15 +01:00
John Wellbelove
8e7749e5b9 Replaced 'typedef typename etl::remove_cv<T>::type type_t' with 'typedef typename etl::remove_reference<typename etl::remove_cv<T>::type>::type type_t' 2020-04-30 12:43:54 +01:00
John Wellbelove
17bc860c2e Added constexpr in place of enum for C++11 2020-04-30 12:42:01 +01:00
John Wellbelove
a2ef3a5bc8 Added casts to 'etl::smallest_int_for_value' 2020-04-30 12:37:17 +01:00
John Wellbelove
c3039d694d Removed template typename requirement for 'allocate' and 'create' in etl::pool 2020-04-30 12:36:37 +01:00
John Wellbelove
a3d267c2db Removed deleted constructors and assignment operator 2020-04-30 12:23:33 +01:00
John Wellbelove
890178ce51 Added a default constructor for etl::io_port_wos 2020-04-30 12:22:24 +01:00
John Wellbelove
02707a78c1 Updates to static and runtime asserts 2020-04-30 12:21:25 +01:00
John Wellbelove
443327c6b9 Small internal updates to state_chart 2020-04-30 12:20:48 +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
ace78898f2 Merge branch 'hotfix/no-nan-supported' into development 2020-04-28 14:24:02 +01:00
John Wellbelove
3cd9be0c2a Added check for NAN, nan(), nanf() or nanl() support. 2020-04-28 14:23:40 +01:00
John Wellbelove
9a0280d469 Move generator files to their own directory 2020-04-21 10:37:07 +01:00
John Wellbelove
a73985e10d Added override attributes 2020-04-20 11:42:57 +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
1c53cedc77 Updates to example profiles
Added development OS detection
Removed deprecated CMake file
2020-04-17 14:01:15 +01:00
John Wellbelove
c8882e8fce Incorrect comment 2020-04-17 07:33:04 +01:00
ProgmaticProgrammer
1bf775ae3d
array_view boundary test and fix. (#211) 2020-04-15 06:51:34 +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
4e750272ba Merge branch 'development' 2020-04-09 14:18:34 +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
VasilenLazarovBOSCH
a282e3b05a
Without this change the standart GHS was not able to build it as GCC compiler does. (#209)
The return error was as follow :
../../external/etl/include/etl/deque.h", line 638 (col. 21): error #140: too many arguments in function call
2020-04-09 13:35:24 +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
John Wellbelove
9db26d293f Added move_iterator 2020-03-31 12:00:21 +01:00
John Wellbelove
9da18cdb07 Make move() private 2020-03-31 11:59:35 +01:00
John Wellbelove
cefce447b4 Remove initialisation of the moved from container. Not required by STL containers. 2020-03-31 11:59:05 +01:00
John Wellbelove
a108addf84 Added move API to unordered map and set containers.
Added a 'move' member function that moves items into the containers.
2020-03-30 18:05:33 +01:00
John Wellbelove
0158031214 Created scheduler example project. 2020-03-29 14:55:19 +01:00
John Wellbelove
2d77b63de3 Created CMakeLists.txt files for QueuedFSM and QueuedMessageRouter example projects. 2020-03-29 13:40:13 +01:00
John Wellbelove
bff480b9a2 Removed ETL's implementation of nullptr for pre C++11 compilers.
Created the macro ETL_NULLPTR for internal use. Equates to NULL or nullptr, dependent on the compiler version and project profile.
Added partial compile time versions of binary_fill and has_zero_byte.
2020-03-28 19:16:55 +00:00
John Wellbelove
4fd8099a25 Updates to pool allocate() syntax for compatibility with older compilers 2020-03-28 10:26:07 +00:00