John Wellbelove
db8841ff0d
Updates to pools and memory allocators
2021-01-06 17:56:24 +00:00
John Wellbelove
b40349ca9d
get_memory_block_size() const
2021-01-04 17:31:52 +00:00
John Wellbelove
f980ce2cd3
Merge branch 'feature/shared-objects-in-pools' into development
...
# Conflicts:
# .gitignore
# include/etl/deque.h
# include/etl/file_error_numbers.txt
# include/etl/generators/fsm_generator.h
# include/etl/list.h
# include/etl/memory.h
# include/etl/pool.h
# test/vs2019/etl.vcxproj.filters
2021-01-04 17:15:25 +00:00
John Wellbelove
5a274578bb
Updated deque from development
2021-01-04 12:40:43 +00:00
John Wellbelove
f02a99cc0e
Updated generators
2021-01-04 12:21:40 +00:00
John Wellbelove
3e8c2ca448
Fixed LGT8F macro name clash
2021-01-04 11:21:57 +00:00
John Wellbelove
fc48021849
message router changes
2021-01-03 20:24:38 +00:00
John Wellbelove
6e71e05877
Added fixed_sized_memory_block_pool and restored imemory_block_pool interface
2021-01-03 20:15:16 +00:00
John Wellbelove
3c2cb74524
Refactored reference_counted_message now contains owner reference
2021-01-03 12:18:34 +00:00
John Wellbelove
dc25df16db
reference_counted_object and reference_counted_message specialisations
2021-01-02 19:42:27 +00:00
John Wellbelove
ecee02d41d
reference_counted_object and reference_counted_message specialisations
2021-01-02 14:09:36 +00:00
John Wellbelove
cbf07b053c
reference_counted_object and reference_counted_message specialisations
2021-01-02 13:39:59 +00:00
John Wellbelove
920dcdf4b6
Merged shared_message handlers into message_router
2021-01-02 12:35:13 +00:00
John Wellbelove
3cc95d6755
Interim commit
...
Refactor of reference counted types.
2021-01-01 20:26:01 +00:00
John Wellbelove
5abae28f16
Interim commit
2021-01-01 17:07:53 +00:00
John Wellbelove
eeb057a99d
Moved code lines
2020-12-30 10:02:12 +00:00
John Wellbelove
35debe90eb
Merge branch 'feature/add-multi-loop' into development
...
# Conflicts:
# include/etl/functional.h
# include/etl/multi_loop.h
# test/test_functional.cpp
# test/test_multi_range.cpp
2020-12-28 13:37:19 +00:00
John Wellbelove
92c68b1367
Refactor multi_loop to multi_range
2020-12-28 13:23:23 +00:00
John Wellbelove
aa148ac424
Latest implementation
2020-12-27 11:59:14 +00:00
John Wellbelove
faed3231bf
Added typedefs
2020-12-24 19:08:03 +00:00
John Wellbelove
7ca4890a66
etl::multi_loop implementation
2020-12-24 11:59:52 +00:00
John Wellbelove
1aac5fb046
Added etl::for_each
2020-12-22 12:43:54 +00:00
John Wellbelove
791eb02be0
Interim commit
2020-12-22 11:10:02 +00:00
John Wellbelove
ee8abd915d
Added is_random_access_iterator and deprecated is_random_iterator
2020-12-22 11:06:00 +00:00
John Wellbelove
4a91470347
Merge branch 'hotfix/fcs_make_getter_const' into development
2020-12-20 19:38:24 +00:00
John Wellbelove
febb4de79a
Updated version numbers
2020-12-20 17:55:27 +00:00
John Wellbelove
3857830703
Merge branch 'hotfix/arduino-compatibility' into development
2020-12-20 16:44:30 +00:00
John Wellbelove
e890e3782e
Arduino compatibility
2020-12-20 16:43:49 +00:00
Steffen Zimmermann
c09d3087d6
let default assignment operator return a reference to itself ( #320 )
...
The default assignment operator in C++ shall return a reference to *this.
2020-12-18 14:09:49 +00:00
Steffen Zimmermann
342acd5aa7
Fcs make getter const ( #319 )
...
* make FCS get and conversion-operator methods const
etl::frame_check_sequence has to access methods which can be made const:
value_type value() const
operator value_type() const
* make jenkins_policy::initial and final const
According to the documentation, initial, add and const have to be
tagged as const.
final has to be const now due to the change in the previous commit which
makes the fcs getter methods const.
2020-12-18 11:00:54 +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
Steffen Zimmermann
927bb3cf5a
Make span std compliant ( #317 )
...
* add missing overloads for span::first + span::last
The C++20 standard defines additional overloads for first and last:
template< std::size_t Count >
constexpr std::span<element_type, Count> first() const;
constexpr std::span<element_type, std::dynamic_extent> first( size_type Count ) const;
template< std::size_t Count >
constexpr std::span<element_type, Count> last() const;
constexpr std::span<element_type, std::dynamic_extent> last( size_type Count ) const;
etl implements only the first (= template) variants so far. To be able to
compile valid C++20 code the missing overload should be added.
* remove explicit specifier for span conversion operator
The C++20 standard allows to assign a span of non-const elements to a span of
const elements. Example:
std::span<const int> cintspan;
std::span<int> intspan;
cintspan = intspan;
This is enabled in the STL by using an explicit specifier with a constant
expression for one of the conversion constructors:
template< class R >
explicit(extent != std::dynamic_extent)
constexpr span( R&& r );
The explicit specifier together with a constant expression is a C++20 feature
and therefore can't be used within etl. To be able to compile valid C++20
code which uses the conversion on assignment, the explicit specifier has to
be removed.
* remove explicit specifier for span conversion operator
The C++20 standard allows to assign an array of elements directly (without
explicitly using a conversion constructor). Example:
const int data = { 1, 2, 3 };
std::span<const int> cintspan;
cintspan = data;
To be able to compile valid C++20 code which uses the conversion on assignment,
the explicit specifier of the array-conversion constructor has to be removed.
2020-12-09 14:33:34 +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
8cf7ab2974
Updated generators
2020-12-08 11:39:26 +00:00
John Wellbelove
e122383d7d
Updated for automatic detection of <new> or <new.h>
2020-12-06 14:13:37 +00:00
John Wellbelove
fbfd8ac6a4
Added clang mutex header redirect to GCC implementation
2020-12-05 14:32:00 +00:00
John Wellbelove
fdcc2c00d3
Minor changes
2020-12-05 11:55:40 +00:00
Heinz-Peter Liechtenecker
cc418dd08f
Include new on megaAVR Boards (Arduino Nano Every) ( #313 )
...
* Change new to new.h
* Only include <new> header if ETL supports STL
* Adding a flag to define placement new if necessary
Co-authored-by: Heinz-Peter Liechtenecker <h.liechtenecker@fh-kaernten.at>
2020-12-04 12:45:21 +00:00
John Wellbelove
6cf6c92b05
Updated version numbers
2020-12-04 12:23:02 +00:00
John Wellbelove
0900d81dc7
Merge branch 'hotfix/issue-315-bit-stream-float-consumes-double-bytes' into development
2020-12-04 11:33:54 +00:00
John Wellbelove
b5c65aea25
Added parameterised constructor for etl::format_spec
2020-12-04 11:33:04 +00:00
John Wellbelove
536fd412a3
Removed double subtraction of float size from 'bits_remaining' for floating point reads
2020-12-03 19:16:09 +00:00
John Wellbelove
ed8959d0c1
Make modifying constexpr C++14 only
2020-12-03 18:52:32 +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
6144794221
constexpr, template aliases and inline variables
2020-11-30 12:56:46 +00:00
John Wellbelove
b40431f998
Fixed version number retrieval from Github
2020-11-27 18:29:08 +00:00
John Wellbelove
14868412ce
Fixed AVR to __AVR__
2020-11-27 15:40:46 +00:00
John Wellbelove
4e4aed118a
Updated version numbers
2020-11-27 09:13:49 +00:00
John Wellbelove
26a797381c
Added AVR compile time switch
2020-11-27 08:59:28 +00:00
John Wellbelove
a5ca678b77
Squashed commit of the following:
...
commit 638cceaf9c4a6964e58894adb36d633b01a1d5ac
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Nov 25 17:57:06 2020 +0000
Strings inherit secure status on copy.
commit 5f1ab55c61ed62b5c234b5e1d6ac3ef362b78851
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 22:33:08 2020 +0000
Squashed commit of the following:
commit dceb56dd1a19be6fe9b991bb50e08902eefe36a8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 19:27:18 2020 +0000
Fixed non-initialisation of in_use flag.
commit c7ee1d6574ca5d95869152c5f8e4e6d02a7fa6bc
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 19:20:24 2020 +0000
Fixed non-initialisation of in_use flag.
commit 36cbf21cd1b67a28255582cfb4a188a601631ab2
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:52:53 2020 +0000
Refactor buffer_descriptors test
commit 49c60add63153bf53f400a891d8c4fb880cacda8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:44:42 2020 +0000
Refactor buffer_descriptors test
commit 7bda7678311bf2eb497483f3ef27c3af9211680b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:29:02 2020 +0000
Refactor buffer_descriptors test
commit 7a68c932a7df05f66690fa63e67365cf4b0619e8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:14:30 2020 +0000
Refactor buffer_descriptors test
commit a9b25ac67d175f58751a2eb819f0e5822e8f0cf9
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:08:21 2020 +0000
Refactor buffer_descriptors test
commit 0c721c0466733751708fcbd995ce0bc1d7c0a932
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:58:22 2020 +0000
Refactor buffer_descriptors test
commit 4b2dd2fce22cd0a4846b95695fbfd812e0823540
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:47:43 2020 +0000
Refactor buffer_descriptors test
commit 80d5776c409b416377269d543bd539bdad83dc86
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:32:27 2020 +0000
Refactor buffer_descriptors test
commit 3564ac5b7ef89c41b240d9f54fce36042408daa0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:17:50 2020 +0000
Refactor buffer_descriptors test
commit 297ef42c60e4228bfbcb2adcddeb6b8a617c4113
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:08:45 2020 +0000
Refactor buffer_descriptors test
commit 658d592c96eb7eaf1afb5d09fef38e293ea6f79b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:58:52 2020 +0000
Refactor buffer_descriptors test
commit e97d8f90d5527349324ea84fd578c1d879d7a5a4
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:48:52 2020 +0000
Refactor buffer_descriptors test
commit ed783a8ccccc8673c0f55eb1780c08668880a745
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:43:52 2020 +0000
clang.yml hack for testing
commit c26e42253f4502c3afb943a7ff1f7ef0f79c475b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 19:32:48 2020 +0000
Squashed commit of the following:
commit dceb56dd1a19be6fe9b991bb50e08902eefe36a8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 19:27:18 2020 +0000
Fixed non-initialisation of in_use flag.
commit c7ee1d6574ca5d95869152c5f8e4e6d02a7fa6bc
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 19:20:24 2020 +0000
Fixed non-initialisation of in_use flag.
commit 36cbf21cd1b67a28255582cfb4a188a601631ab2
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:52:53 2020 +0000
Refactor buffer_descriptors test
commit 49c60add63153bf53f400a891d8c4fb880cacda8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:44:42 2020 +0000
Refactor buffer_descriptors test
commit 7bda7678311bf2eb497483f3ef27c3af9211680b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:29:02 2020 +0000
Refactor buffer_descriptors test
commit 7a68c932a7df05f66690fa63e67365cf4b0619e8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:14:30 2020 +0000
Refactor buffer_descriptors test
commit a9b25ac67d175f58751a2eb819f0e5822e8f0cf9
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:08:21 2020 +0000
Refactor buffer_descriptors test
commit 0c721c0466733751708fcbd995ce0bc1d7c0a932
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:58:22 2020 +0000
Refactor buffer_descriptors test
commit 4b2dd2fce22cd0a4846b95695fbfd812e0823540
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:47:43 2020 +0000
Refactor buffer_descriptors test
commit 80d5776c409b416377269d543bd539bdad83dc86
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:32:27 2020 +0000
Refactor buffer_descriptors test
commit 3564ac5b7ef89c41b240d9f54fce36042408daa0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:17:50 2020 +0000
Refactor buffer_descriptors test
commit 297ef42c60e4228bfbcb2adcddeb6b8a617c4113
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:08:45 2020 +0000
Refactor buffer_descriptors test
commit 658d592c96eb7eaf1afb5d09fef38e293ea6f79b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:58:52 2020 +0000
Refactor buffer_descriptors test
commit e97d8f90d5527349324ea84fd578c1d879d7a5a4
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:48:52 2020 +0000
Refactor buffer_descriptors test
commit ed783a8ccccc8673c0f55eb1780c08668880a745
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:43:52 2020 +0000
clang.yml hack for testing
commit 3cbe1a80030263aac53616391fa434d0501f4f26
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 19:31:03 2020 +0000
Squashed commit of the following:
commit dceb56dd1a19be6fe9b991bb50e08902eefe36a8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 19:27:18 2020 +0000
Fixed non-initialisation of in_use flag.
commit c7ee1d6574ca5d95869152c5f8e4e6d02a7fa6bc
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 19:20:24 2020 +0000
Fixed non-initialisation of in_use flag.
commit 36cbf21cd1b67a28255582cfb4a188a601631ab2
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:52:53 2020 +0000
Refactor buffer_descriptors test
commit 49c60add63153bf53f400a891d8c4fb880cacda8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:44:42 2020 +0000
Refactor buffer_descriptors test
commit 7bda7678311bf2eb497483f3ef27c3af9211680b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:29:02 2020 +0000
Refactor buffer_descriptors test
commit 7a68c932a7df05f66690fa63e67365cf4b0619e8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:14:30 2020 +0000
Refactor buffer_descriptors test
commit a9b25ac67d175f58751a2eb819f0e5822e8f0cf9
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 18:08:21 2020 +0000
Refactor buffer_descriptors test
commit 0c721c0466733751708fcbd995ce0bc1d7c0a932
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:58:22 2020 +0000
Refactor buffer_descriptors test
commit 4b2dd2fce22cd0a4846b95695fbfd812e0823540
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:47:43 2020 +0000
Refactor buffer_descriptors test
commit 80d5776c409b416377269d543bd539bdad83dc86
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:32:27 2020 +0000
Refactor buffer_descriptors test
commit 3564ac5b7ef89c41b240d9f54fce36042408daa0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:17:50 2020 +0000
Refactor buffer_descriptors test
commit 297ef42c60e4228bfbcb2adcddeb6b8a617c4113
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 17:08:45 2020 +0000
Refactor buffer_descriptors test
commit 658d592c96eb7eaf1afb5d09fef38e293ea6f79b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:58:52 2020 +0000
Refactor buffer_descriptors test
commit e97d8f90d5527349324ea84fd578c1d879d7a5a4
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:48:52 2020 +0000
Refactor buffer_descriptors test
commit ed783a8ccccc8673c0f55eb1780c08668880a745
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:43:52 2020 +0000
clang.yml hack for testing
commit e939e6b15557544bd0bb88d9862b5d5711170859
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:47:40 2020 +0000
Refactor buffer_descriptors test
commit 4c4149abf6221f245aa4d73eb85e50319e7bd32c
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Nov 24 16:45:53 2020 +0000
clang hack for testing
2020-11-26 19:33:12 +00:00
John Wellbelove
809ccafbaf
Squashed commit of the following:
...
commit fa9d9592aa7cb686ae1e8c6eeedfcbfda7a59835
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Nov 26 19:26:11 2020 +0000
format_spec may be constexpr
2020-11-26 19:29:51 +00:00
John Wellbelove
c7ee1d6574
Fixed non-initialisation of in_use flag.
2020-11-24 19:20:24 +00:00
John Wellbelove
36cbf21cd1
Refactor buffer_descriptors test
2020-11-24 18:52:53 +00:00
John Wellbelove
d33d32be23
Refactor of etl::buffer_descriptors interface
2020-11-23 12:33:04 +00:00
John Wellbelove
d2b436c484
Merge remote-tracking branch 'origin/feature/no-huge-value' into development
2020-11-21 12:14:36 +00:00
John Wellbelove
cfb38b2737
vector_ext
2020-11-21 11:36:13 +00:00
John Wellbelove
bb21758cb6
string_ext
2020-11-20 12:05:41 +00:00
John Wellbelove
8e838a67d3
indirect_vector_ext
2020-11-19 13:28:37 +00:00
John Wellbelove
7bd5a69dc5
list_ext
2020-11-19 13:14:41 +00:00
John Wellbelove
0cf882540c
forward_list_ext
2020-11-19 12:55:03 +00:00
John Wellbelove
6cb26807bc
circular_buffer_ext
2020-11-19 12:48:53 +00:00
John Wellbelove
af9c640fa7
Updated version numbers
2020-11-19 11:18:36 +00:00
Heinz-Peter Liechtenecker
174a3d79be
Adding Tests for a fractional -1.0 < x < 0, fixing missing sign for integral parts equals to zero 0 ( #306 )
...
Co-authored-by: Heinz-Peter Liechtenecker <h.liechtenecker@fh-kaernten.at>
2020-11-19 10:34:39 +00:00
John Wellbelove
9eaa3e1178
Fix make_string for zero length literals
...
Remove redundant test support code
2020-11-18 18:29:20 +00:00
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
Heinz-Peter Liechtenecker
b101454309
Adding ETL_NO_HUGE_VAL_SUPPORT to support 8-Bit (AVR) systems where HUGE_VAL, HUGEL_VALF and HUGE_VALL are not defined in math.h ( #288 )
2020-10-18 18:01:47 +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
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
John Wellbelove
482c69f314
Small refactoring
2020-08-27 13:31:27 +01:00
John Wellbelove
9910569b76
Small refactoring
2020-08-27 10:45:57 +01:00
John Wellbelove
8e76238439
Added all units tests
2020-08-26 12:36:47 +01:00
John Wellbelove
4f20a9e3db
Initial Bresenham line algorithm
2020-08-25 12:47:23 +01:00
John Wellbelove
ae64cfa681
Initial Bresenham line algorithm
2020-08-25 11:44:40 +01:00
John Wellbelove
d592d05913
Github actions for MSVC
2020-08-16 18:59:30 +01:00
John Wellbelove
7d7dd89c70
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-16 14:41:52 +01:00
John Wellbelove
bb52c37eca
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-16 14:41:52 +01:00
John Wellbelove
6c5231b508
Merge branch 'development'
2020-08-16 11:32:55 +01:00
John Wellbelove
6788f2761e
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-16 11:32:23 +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
987f7e49e2
Merge branch 'development'
...
# Conflicts:
# .github/workflows/main.yml
2020-08-09 17:25:01 +01:00
John Wellbelove
efbfc5c8ff
clang 9 compatibility
2020-08-09 17:01:45 +01:00
John Wellbelove
50b60c025d
String stream test << operator in etl namespace
2020-08-08 13:52:09 +01:00
John Wellbelove
5f0dae41de
Experimental atomic_gcc_sync change
2020-08-08 13:52:08 +01:00
John Wellbelove
b973b01c08
Experimental atomic_gcc_sync change
2020-08-08 13:52:08 +01:00
arccosinus0
7f5fa8d0a5
Fix comment for parameter name ( #257 )
2020-08-07 15:13:24 +01:00
John Wellbelove
a0a86aa748
Added iterator comparisons
2020-08-06 20:45:52 +01:00
John Wellbelove
8b334c8a97
Experimental atomic_gcc_sync change
2020-08-04 12:01:33 +01:00
John Wellbelove
b92c3e8a1f
Experimental atomic_gcc_sync change
2020-08-04 11:57:53 +01:00
John Wellbelove
08fc80a2c5
Experimental atomic_gcc_sync change
2020-08-04 11:40:31 +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
c80f30e990
Recoded string utility get_token()
2020-08-01 14:18:51 +01:00
John Wellbelove
eb2902de88
Merge branch 'hotfix/fix-moved-containers-with-share-pools' into development
2020-07-30 12:53:14 +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
50ff0fa7e3
Implicit and explicit pools for copy and move
2020-07-29 11:06:38 +01:00
John Wellbelove
ca1f74d308
Optimised forward_list move constructor and assignment
2020-07-29 10:27:20 +01:00
finger42
3efea721c9
Prevent ETL_COMPILER_GCC set with clang compiler
2020-07-29 09:14:48 +02: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
bc780a6c44
Fix pointer vector move operators
...
Optimise constructors and assignments for pointer vectors
2020-07-26 13:10:38 +01:00
John Wellbelove
089cff9c0f
Fix pointer vector move operators
...
Optimise constructors and assignments for pointer vectors
2020-07-25 19:31:23 +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
64aeef0911
Merge branch 'feature/std--is_pod-is-deprecated-in-C++20' into development
2020-07-20 10:52:34 +01:00
John Wellbelove
05647e5256
Fix C++03 error_handler compatibility
2020-07-20 10:14:28 +01:00
raitraak-rrk
14d7b300b0
std::is_pod is deprecated in C++20 ( #241 )
2020-07-20 09:09:54 +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
476576bca9
Re-coded string utilities to allow any string-like container to use it.
2020-07-18 16:24:10 +01:00
John Wellbelove
26c595edc8
Renamed string utility etl::transform to etl::replace
2020-07-17 13:48:01 +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
c9b93739d8
Merge branch 'development'
2020-07-16 11:47:14 +01:00
John Wellbelove
b13bec1d4d
Fixed constexpr for etl::span::subspan for >=C++14
2020-07-16 11:30:13 +01:00
John Wellbelove
f48cafd007
Updated version numbers
2020-07-16 11:26:40 +01:00
Bálint Kiss
c4757d5640
error_handler.h: Change C++11 type aliases to typedefs ( #239 )
2020-07-16 10:31:11 +01:00
John Wellbelove
21001d1847
w, u16 & u32 string utilities added
2020-07-16 01:03:41 +01:00
John Wellbelove
5c9f648cc5
Full string utilities for char
2020-07-15 12:22:46 +01:00
John Wellbelove
488f8a0f5f
Initial get_token code
2020-07-13 20:02:07 +01:00
John Wellbelove
0ba98f4b00
Added etl::replace and etl::replace_if to algorithms.h
...
Added etl::transform to string utilities
2020-07-13 11:27:22 +01:00
John Wellbelove
e6b9919df5
Almost complete 'trim' code
2020-07-12 13:38:20 +01:00
John Wellbelove
5399199290
Initial incomplete code
2020-07-11 20:19:02 +01:00
John Wellbelove
32d9df61f8
disable warning, delete temp file
2020-07-10 20:21:29 +01:00
John Wellbelove
e915ab5d9f
Remove unnecessary member functions
2020-07-10 11:52:27 +01:00
John Wellbelove
b96e707bad
Added showbase
2020-07-09 18:57:09 +01:00
John Wellbelove
509a930b55
Added stream manipulators
2020-07-09 14:21:40 +01:00
John Wellbelove
f40f0c1a37
Initial string manipulators
...
etl::string_stream implementation only
2020-07-07 23:51:04 +01:00
John Wellbelove
00f7041f01
Pass format by const reference. Disable copying
2020-07-06 18:13:50 +01:00
John Wellbelove
3e2352770b
string streams
2020-07-05 20:55:14 +01:00
John Wellbelove
2f1343ec0e
Initial string stream commit
2020-07-05 19:39:50 +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
Andreas W
4f31c6e40e
Fix span dynamic extent ( #235 )
...
* Enable span tests
* Handle dynamic extent in span::subspan
Fixes #234
Correct handling when count equals dynamic_extent,
which would previously cause the end pointer to be set to the
wrong location.
2020-06-18 13:12:57 +01:00
Andreas W
cf1c623686
Use etl::move instead of std::move ( #233 )
...
Both optional and queue used std::move without checking
ETL_NOT_USING_STL. Both usages can simply use etl::move
instead.
2020-06-18 13:11:07 +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
fefbfacb6f
Added etl::parameter_pack
2020-05-23 20:35:56 +01:00
John Wellbelove
c68ed3dea1
Added etl::parameter_pack
2020-05-23 17:15:43 +01:00
John Wellbelove
8c22c5cbc3
Variadic versions of etl::type_id_lookup and etl::type_type_lookup for C++11 and above.
2020-05-21 18:35:54 +01:00
John Wellbelove
59c389b253
Variadic versions of etl::type_id_lookup and etl::type_type_lookup for C++11 and above.
2020-05-21 17:35:06 +01:00
John Wellbelove
79dcebaac3
Variadic versions of etl::type_id_lookup and etl::type_type_lookup for C++11 and above.
2020-05-21 13:52:26 +01:00
John Wellbelove
f6089458c5
Variadic versions of etl::type_id_lookup and etl::type_type_lookup for C++11 and above.
2020-05-21 10:12:06 +01:00
John Wellbelove
a259cbe409
Merge branch 'master' into feature/variadic-variant
2020-05-19 20:13:20 +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
Łukasz Mitka
1524afd6bc
Remove unreachable code from message_router
...
Caused warnings in GHS compiler.
2020-05-19 07:22:51 +02:00
Spacefish
9a57b3aed4
WIP: code doc fixes ( #224 )
...
* added doc from website into code
* some fixes in the documentation.
I guess this happended in a renaming operation..
2020-05-18 15:05:14 +01:00
John Wellbelove
d7dd2ca1b4
Updated versions
2020-05-12 23:39:15 +01:00
John Wellbelove
2a0b83408d
Squashed commit of the following:
...
commit 70651fc29bb3eb8832d4dc7ba9aa24b16c0a1de3
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 19:24:46 2020 +0100
CircleCI works
commit bdffb3635fe00b8089bd7afa6b8b689616d4abb1
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 19:08:17 2020 +0100
Attempt at getting CircleCI to work
commit 3f3c1f1c23b8fb9ce43bd70f99bca33df82648c1
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 18:25:25 2020 +0100
Attempt at getting CircleCI to work
commit 253c9b0171f38877ef6d62d8afa9f7dcb55bcc4a
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 18:21:03 2020 +0100
Attempt at getting CircleCI to work
commit df730d4de5cec878bbf01b015d08fdf2d847497d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 18:16:38 2020 +0100
Attempt at getting CircleCI to work
commit 48d692ddd2701ad6c3145ef3251274f1df75853f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 18:03:20 2020 +0100
Attempt at getting CircleCI to work
commit 13a6a578046869cba60ef078c66c3c3edd88fa59
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:57:26 2020 +0100
Attempt at getting CircleCI to work
commit 9bf22248d0bb9d802b616ae54257c62d47ec31e1
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:55:38 2020 +0100
Attempt at getting CircleCI to work
commit da5cb68c97229e214ab0b737c8e48b48c777b842
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:51:17 2020 +0100
Attempt at getting CircleCI to work
commit 94a59d4b9a9ceda22ba794c238c43ab8cf27d31c
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:40:30 2020 +0100
Attempt at getting CircleCI to work
commit 07d17bfe01adb8ee4731dfa8d9f64216700a6324
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:38:46 2020 +0100
Attempt at getting CircleCI to work
commit 4c9ae8a90ae7e785f618e95d484470d66c248477
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:33:13 2020 +0100
Attempt at getting CircleCI to work
commit 72438721c15763790cbf55b1b8baf9c118924fdf
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:23:29 2020 +0100
Attempt at getting CircleCI to work
commit 4ccc85ef071f4a5706a06a0cef6b6f166e672cd9
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:22:21 2020 +0100
Attempt at getting CircleCI to work
commit 2a555f55b18eb56dd6a3e0e4dcbdc86ca8d47c1d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:21:16 2020 +0100
Attempt at getting CircleCI to work
commit a6c1c84aa9472f119bcf416c6cd6ebda611944ce
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:20:15 2020 +0100
Attempt at getting CircleCI to work
commit ae535f3c79dfe1448327869e28f751eeac703744
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:18:31 2020 +0100
Attempt at getting CircleCI to work
commit d34c6e46dacf38700dbe49ef716ca5455c5e4824
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:16:44 2020 +0100
Attempt at getting CircleCI to work
commit 156ae5220c9781ea2fa5d8c07eadab47afd5b1c7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 17:02:19 2020 +0100
Attempt at getting CircleCI to work
commit 07c2910ded57185b946e9ff39795c90729ff8540
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 16:59:50 2020 +0100
Attempt at getting CircleCI to work
commit 7ac59e5f2086e44bf3d22d9699670973d763eba2
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 16:54:57 2020 +0100
Attempt at getting CircleCI to work
commit 12a5e406faf4186ec5c4357ecf50d7dfaf5b6b10
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 16:53:08 2020 +0100
Attempt at getting CircleCI to work
commit e1c0294019dc680f973e6d7220d58cc4655c75c4
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 16:50:49 2020 +0100
Attempt at getting CircleCI to work
commit 0e3537526b6df30d0b329144ad8f509f57a230dc
Merge: ebe0bb66 db1ed024
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 16:47:24 2020 +0100
Merge branch 'development' into feature/add_circle-ci_support
commit ebe0bb6667322005387931cccbf064ee3a896569
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 14:55:33 2020 +0100
Attempt at getting CircleCI to work
commit 8fc4565599c0d6937fb34016501a6d5408749f53
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 14:53:32 2020 +0100
Attempt at getting CircleCI to work
commit 3793b591226459456c31f0b6bacfa65022abc977
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 14:44:44 2020 +0100
Attempt at getting CircleCI to work
commit 6795d4132c55367e797b428be9cc33f4e3b05a44
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 12:59:58 2020 +0100
Attempt at getting CircleCI to work
commit 9206209392251120407665e8778e25163c3d5796
Merge: d7ac41b9 638d6ac8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue May 12 12:34:06 2020 +0100
Merge branch 'development' into feature/add_circle-ci_support
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
# test/test_make_string.cpp
# test/test_string_char.cpp
# test/vs2017/etl.vcxproj.filters
commit d7ac41b96c8529a74fb15cedfb69cad0ae8ba3c7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 22:16:14 2019 +0000
Removed artifacts path
commit af768e0cad2869cb46041e060cbd7e00c8b7f512
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 22:13:48 2019 +0000
Added artifacts path
commit e0403d85ebe8ed8c28114361638ae889b67ce0d0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 22:02:51 2019 +0000
restore old CMakeLists.txt
commit 63cc9b6acdd2c4e143d29568d4fbde6795e82ea3
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 21:49:45 2019 +0000
Added install git
commit 01bb5cb7b88d5fb9c21f75e9b40ceff7786cef29
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 21:46:46 2019 +0000
Added install git
commit 42876cad96d2bff58957b2e41698fdf61c212f7f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 21:43:19 2019 +0000
Added install git
commit 3e5b19d30718fb91ba7daef3788cd51e70610ba0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 21:39:39 2019 +0000
Alternate CMakeLists.txt
commit f4ce6e75c8d9a03fc9784bf1ad48711727fc47ab
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 21:25:50 2019 +0000
cat log file
commit 06983faf02621355690134aed70e73c2eae76c4e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 21:16:31 2019 +0000
Listing
commit f7670253bf97a29518843a6e329b1c6e3ffa1f8f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 21:11:00 2019 +0000
Touch config.yml file
commit bf167aa0303e3a89716098a95b0f3b9525e7cacd
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 21:05:01 2019 +0000
Touch config.yml file
commit 5bca35821384c28bd93e3b993369365c36681e2f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 20:20:57 2019 +0000
Change image to ubuntu:latest
commit ad63db02c762f20d4bfd3ef10ca17f89e633c7e0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 20:12:14 2019 +0000
Touch config.yml file
commit 3f33be8ac03e572cd6dc2baca69a7d2a5c72e7ec
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 20:08:28 2019 +0000
Touch config.yml file
commit 3bf0e93d4cb7b5f36097a502902cccb6cd1509e0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 19:36:08 2019 +0000
Update readme
commit 68653df3fe57d7a668b59bc7a6cefed43c01da2b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 19:25:45 2019 +0000
Fix readme
commit 12bfc61ed14f563a9aa7c6d5a8ff657932bab490
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 18:57:31 2019 +0000
Touch config.yml file
commit 984534e89cad59675d1752768dada90a56b624f6
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 18:39:10 2019 +0000
Added virtual destructors
commit 1d7f7bb44399a37433003320583bd39dc195ca51
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 18:21:08 2019 +0000
Touch config.yml file
commit c66c5eb12204c1028d9071cd6e29e38722089760
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 14:34:11 2019 +0000
Added master branch
commit d31ec7b7a674b19d9c30796f2676876017ef9450
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 14:14:15 2019 +0000
Removed tabs
commit dad04c0a56abe25c5a4f2ecc9c79b569d4014f81
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 14:06:31 2019 +0000
Removed tabs
commit a265c68fcb9abf622e3b4ab708b79a2b260f3863
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 14:03:58 2019 +0000
Updated selected branch in config.yml
commit 7abf39b83d308dc7cc459bf27ad11f688197b11c
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 13:58:40 2019 +0000
Updated selected branch in config.yml
commit 10f8d63cf2d926ee61dca691abce503ec5e08a4e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 13:56:43 2019 +0000
Updated selected branch in config.yml
commit e9db085677ad620e227800acc6fad2bee6f59456
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 13:52:42 2019 +0000
Changed bin directory
commit 2dfff5b5c2c993ed14cc5fd7a936560faa6eedc0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Dec 6 13:50:56 2019 +0000
Merge remote-tracking branch 'origin/master' into feature/add_circle-ci_support
# Conflicts:
# include/etl/cstring.h
# include/etl/u16string.h
# include/etl/u32string.h
# include/etl/wstring.h
2020-05-12 19:41:13 +01:00
John Wellbelove
db1ed0246e
Fix pair
2020-05-12 16:28:10 +01:00
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
013598da60
Added ishared_message_processor
2020-05-05 13:24:41 +01:00
John Wellbelove
7d47be6d75
Small changes
2020-05-05 10:12:50 +01:00
John Wellbelove
120d9b4eba
Initial design
2020-05-04 14:46:48 +01:00
John Wellbelove
f3ace52884
Initial design
2020-05-04 13:32:19 +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
Tom
5cc55527f1
Two cpp98 fixes ( #206 )
...
* C++98/03 compatibility changes
* Added support for nullptr == and != for cpp98
* This default type made problem in cpp98
Co-authored-by: John Wellbelove <github@wellbelove.co.uk>
2020-03-28 08:29:05 +00:00
John Wellbelove
4ffb63344d
Added 'friend const_iterator;' to iterator classes
2020-03-27 15:42:38 +00:00
John Wellbelove
d59f53fe25
C++98/03 compatibility changes
2020-03-27 13:11:17 +00:00
Tom
66bf24ad94
Removed redundant usage of cpp11 feature ( #205 )
2020-03-25 19:37:22 +00:00
John Wellbelove
c90c7967c6
Added etl::message_packet classes
2020-03-23 19:49:24 +00:00
John Wellbelove
031e86d1e3
Added etl::message_packet classes and generator
2020-03-23 19:48:43 +00:00
John Wellbelove
4df9197aeb
Fix C++03 compatibility issues in memory.h and utility.h
2020-03-20 19:59:38 +00:00
John Wellbelove
a06332f163
Updates to make unique_ptr similar to std::unique_ptr
...
Fixed unique_ptr swap() compilation issue
Added mutex for FreeRTOS
2020-03-19 17:59:45 +00:00
cajun-rat
7b1a813e43
FreeRTOS implementation of etl::mutex ( #202 )
...
Signed-off-by: Phil Wise <phil@phil-wise.com>
2020-03-19 17:23:36 +00:00
John Wellbelove
cf4cc49e56
Updated memory unit tests.
...
Added ETL_EXCEPTIONS_DISABLED macro test to platform.h
2020-03-19 17:16:29 +00:00
John Wellbelove
1eccbdbbbe
etl::exchange modified for better C++03 compatibility
2020-03-19 10:37:03 +00:00
Tom
70dbda2e60
Made template compatible with cpp11 ( #201 )
2020-03-19 08:56:59 +00:00
John Wellbelove
582aa051c5
rvalue reference support for heap functions and etl::priority_queue
2020-03-18 19:51:41 +00:00
John Wellbelove
7b48e3ebf3
type_traits.h is_one_of fix for C++03
...
Change 'using' to 'typedef' for add_lvalue_reference
2020-03-18 14:53:55 +00:00
John Wellbelove
c5ee3ec0ab
Merge remote-tracking branch 'origin/hotfix/type_traits_is_rvalue_reference' into development
...
# Conflicts:
# include/etl/type_traits.h
2020-03-18 14:32:00 +00:00
Tom
51298be2e4
Added cpp11 non supported fixes ( #200 )
...
* Added cpp11 non supported fixes
* pull request fixes
2020-03-18 14:28:05 +00:00
John Wellbelove
32409ed7bb
Small compatibility fix to nullptr.h
2020-03-18 00:49:50 +00:00
John Wellbelove
e4ad911468
Small compatibility fix to nullptr.h
2020-03-18 00:39:38 +00:00
John Wellbelove
cc09b2b3f3
Removed redundant includes
2020-03-17 19:26:48 +00:00
John Wellbelove
a5de2a3de8
Update version numbers
2020-03-15 17:59:35 +00:00
John Wellbelove
ebb14922a6
Move definitions of move_s to eliminate forward reference
2020-03-15 17:58:27 +00:00
John Wellbelove
5ce20082b0
Removed redundant include
2020-03-15 15:05:11 +00:00
Tom
03dc67e45c
Fixed white space ( #197 )
2020-03-12 17:28:09 +00:00
John Wellbelove
aa80ddfccb
Updated version number
2020-03-02 21:30:36 +00:00
mchodzikiewicz
2c1faa1bf9
Add optional::has_value() to fulfill C++17's API ( #195 )
2020-03-02 12:32:56 +00:00
John Wellbelove
f20969ea40
Added #if ETL_CPP11_SUPPORTED around etl::is_rvalue_reference
2020-02-26 19:47:36 +01:00
John Wellbelove
e3f665d3b2
Moved definition of swap to utility
2020-02-24 10:32:41 +01:00
John Wellbelove
5cdcc8d4c6
Fix etl::pair error and warning
2020-02-18 10:45:09 +01:00
John Wellbelove
e6617dc7e7
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-02-12 09:40:20 +01:00
John Wellbelove
9dd88e1885
Merge remote-tracking branch 'origin/development'
2020-02-11 13:27:43 +01:00
Tobias Müller
8f860964d4
Default to automatic profile detection if no profile is set ( #192 )
2020-02-09 11:50:50 +01:00
Tobias Müller
c757ede537
Add missing count calculation ( #190 )
2020-01-31 22:03:41 +00:00
John Wellbelove
b80763e644
Fixed incorrect ETL_ALWAYS_ASSERT in etl::callback_timer
2020-01-29 17:38:02 +00:00
Tobias Müller
238244e1a1
Fix warnings about implicitly-declared assignment operators ( #189 )
2020-01-24 12:01:46 +00:00
John Wellbelove
a1a0391282
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-01-15 16:32:01 +00:00
John Wellbelove
282655259f
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-01-14 17:54:56 +00:00
John Wellbelove
8a99a2725c
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-01-14 12:46:17 +00:00
John Wellbelove
af5a760d5d
Merge remote-tracking branch 'origin/development'
2020-01-14 11:57:04 +00:00
John Wellbelove
da20977d64
Merge remote-tracking branch 'origin/feature/refactor_type_traits' into development
2020-01-12 16:50:45 +00:00
John Wellbelove
97abf6ccc0
Added min_element & max_element
2020-01-12 16:25:37 +00:00
John Wellbelove
c794bf14fe
Final changes
2020-01-11 17:22:33 +00:00
John Wellbelove
7fa142dc71
Final changes. Added wrapper around STL sort functions
2020-01-11 13:57:17 +00:00
John Wellbelove
6ad77153be
Final changes
2020-01-10 14:01:33 +00:00
John Wellbelove
f54563ef07
Added use of C++11's 'alignof' keyword in 'alignment_of', if available
2020-01-10 13:27:05 +00:00
John Wellbelove
83347ccfdd
Work in progress
2020-01-09 11:15:50 +00:00
John Wellbelove
b99be4b249
Work in progress
2020-01-04 19:47:40 +00:00
John Wellbelove
94c5eed5a4
Work in progress
2020-01-04 11:49:22 +00:00
John Wellbelove
fc50557003
Work in progress
2020-01-04 11:20:29 +00:00
John Wellbelove
c947ba3c7e
Removed redundant overload
2019-12-28 11:12:20 +00:00
John Wellbelove
1335d5eb01
Erased
2019-12-27 12:57:46 +00:00
John Wellbelove
d6f8b69326
Merge remote-tracking branch 'origin/feature/determine_compiler_versions' into development
...
# Conflicts:
# examples/ArmTimerCallbacks - C++/ArmTimerCallbacks.uvprojx
# examples/ArmTimerCallbacks - C++/main.cpp
# include/etl/algorithm.h
# include/etl/platform.h
# include/etl/stl/alternate/limits.h
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
# test/codeblocks/ETL.cbp
# test/etl_profile.h
# test/vs2017/etl.vcxproj
# test/vs2017/etl.vcxproj.filters
2019-12-27 12:57:34 +00:00
John Wellbelove
b04e886d48
Fix to gcc mutex
2019-12-26 20:15:22 +00:00
John Wellbelove
41fc53c805
Updated version number
2019-12-22 21:26:20 +00:00
John Wellbelove
766a338d32
Merge branch 'hotfix/add_construction_from_string_view' into development
2019-12-22 21:12:04 +00:00
John Wellbelove
0685ae9c20
Added explicit construction from string_view
2019-12-22 21:10:49 +00:00
John Wellbelove
7609f72447
Updated type_traits_generator
2019-12-19 20:01:15 +00:00
John Wellbelove
fca078fd9b
Quick fix to ETL_HAS_MUTEX position in queue_mpmc_mutex.h
2019-12-18 10:20:35 +00:00
John Wellbelove
3382ed03a3
Move ETL_NODISCARD definition to ETL_CPP17_SUPPORTED test
2019-12-18 10:09:57 +00:00
John Wellbelove
0acbdb98b2
Refactored CRC classes for better code sharing and reduced resource requirements.
2019-12-12 20:42:37 +00:00
John Wellbelove
7e5a4e1efe
Merge remote-tracking branch 'origin/crc-ccitt-xmodem' into development
...
# Conflicts:
# README.md
2019-12-12 12:19:05 +00:00
John Wellbelove
703fe0f92b
Changes to alternate STL limits.h for ARM5 compiler compatibility
2019-12-11 12:57:50 +00:00
John Wellbelove
3649f839f5
Merge remote-tracking branch 'origin/feature/make_string_with_capacity' into development
...
# Conflicts:
# include/etl/cstring.h
# include/etl/u16string.h
# include/etl/u32string.h
# include/etl/wstring.h
2019-12-06 12:39:31 +00:00
Rolan Reznik
b5184d903e
Make string optimization ( #179 )
...
* Add NO_STL std::reverse implementation (#174 )
Follows the example implementation on [1].
[1] https://en.cppreference.com/w/cpp/algorithm/reverse
* Merge remote-tracking branch 'origin/feature/no_stl_unit_tests' into development
# Conflicts:
# include/etl/stl/alternate/algorithm.h
# include/etl/stl/alternate/iterator.h
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
# test/test_no_stl_algorithm.cpp
# test/test_no_stl_iterator.cpp
# test/vs2017/etl.vcxproj
* Fix merge function duplication
* Merge remote-tracking branch 'origin/development'
# Conflicts:
# include/etl/private/choose_pair_types.h
# include/etl/private/choose_tag_types.h
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
* Update README.md
* make_string optimisation. String length is calculated in compile time, no need to use strlen.
2019-12-06 10:16:53 +00:00
John Wellbelove
727596b6ed
Merge remote-tracking branch 'origin/feature/etl__make_string' into development
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2019-12-04 20:55:18 +00:00
John Wellbelove
84cfab6b32
Merge remote-tracking branch 'origin/feature/indirect_vector_algorithm_adaptor' into development
...
# Conflicts:
# include/etl/indirect_vector.h
2019-12-04 16:23:35 +00:00
John Wellbelove
792cb7bcc8
Merge remote-tracking branch 'origin/feature/no_stl_unit_tests' into development
...
# Conflicts:
# include/etl/private/choose_pair_types.h
# include/etl/private/choose_tag_types.h
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2019-12-02 12:05:27 +00:00
John Wellbelove
5803d928a1
Merge remote-tracking branch 'origin/feature/no_stl_unit_tests' into development
...
# Conflicts:
# include/etl/stl/alternate/algorithm.h
# include/etl/stl/alternate/iterator.h
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
# test/test_no_stl_algorithm.cpp
# test/test_no_stl_iterator.cpp
# test/vs2017/etl.vcxproj
2019-12-01 18:21:10 +00:00
John Wellbelove
00431999d9
Added reverse_iterator unit tests
...
Fixed missing equality operator for reverse_iterator.
2019-11-28 20:36:58 +00:00
John Wellbelove
afeb63575e
Added missing C++11 conditional compilation in callback_timer.h
2019-11-27 10:35:41 +00:00
John Wellbelove
cbdc8a9299
Updated version numbers
2019-11-26 10:57:45 +00:00
Rolan Reznik
7f7a29bce1
Added possibility to force explicit conversion of string from char. ( #172 )
...
i.e. string/string_view constructors from char* can be marked as explicit.
#170
2019-11-26 10:35:05 +00:00
John Wellbelove
db87c66070
Updated version numbers
2019-11-24 13:23:40 +00:00
Rolan Reznik
f54bdf8a85
Added assert.h include into memory.h. assert are used by unique_ptr. ( #169 )
2019-11-24 11:45:10 +00:00
John Wellbelove
906a56aa6a
Fixes to the return value of copy and copy_n
2019-11-21 21:01:04 +00:00
John Wellbelove
487064b864
Fix to alternate copy return value.
2019-11-21 12:29:20 +00:00
John Wellbelove
c69ca9e41d
Renamed to C standard header
2019-11-21 11:14:01 +00:00
John Wellbelove
73ac741108
Merge remote-tracking branch 'origin/feature/callback-timer-delegate-support' into development
2019-11-17 10:49:27 +00:00
John Wellbelove
50ada033bb
Merged pull request
2019-11-17 09:25:11 +00:00
mchodzikiewicz
bab8cf9ba3
Add callback_timer support for etl::delegate ( #164 )
2019-11-17 09:20:15 +00:00
John Wellbelove
7a4c74f8df
Fix LLVM & GCC highlighted error for initialisation order.
2019-11-16 19:06:30 +00:00
John Wellbelove
aafb6ecf9b
Indirect vector, external buffers
2019-11-16 17:00:51 +00:00
John Wellbelove
01d0b42fe4
Modified the way that the 'No STL' macros are defined so that 'std' may be used in ETL code rather than the 'ETLSTD' macro.
2019-11-15 13:28:51 +00:00
John Wellbelove
fe36361973
Finalised sort functions.
...
Added 'no STL' support.
2019-11-15 10:14:48 +00:00
John Wellbelove
87b202b27f
Added indirect_vector
2019-11-13 14:12:10 +00:00
John Wellbelove
ad165b34ee
Spelling correction
2019-11-13 13:17:58 +00:00
John Wellbelove
55bc3443a0
Added copyright notice to merge sort functions
2019-11-13 13:17:34 +00:00
John Wellbelove
0165ce4a9c
Modified valid check call
2019-11-13 13:17:07 +00:00
John Wellbelove
8509df67c7
Added shell and insertion sort (insertion sort to be optimised for pointers & PODs)
...
Call specific sorts from sort() and stable_sort()
2019-11-13 13:16:45 +00:00
John Wellbelove
1b0e9c5f9f
Merge remote-tracking branch 'origin/feature/add_from_string_functions_to_bitset' into development
2019-11-07 10:38:04 +00:00
John Wellbelove
98026fddab
Added tests for 'value()' at type limits.
2019-11-07 10:37:31 +00:00
John Wellbelove
83babbd921
Added 'from_string' functions.
...
Added 'value' functions.
2019-11-06 16:16:24 +00:00
John Wellbelove
4dd4574743
Added 'from_string' functions.
...
Added 'value' functions.
2019-11-05 15:53:05 +00:00
John Wellbelove
5840a4b005
multimap and multiset erase bug fix
2019-11-05 12:20:17 +00:00
John Wellbelove
dadc3c530f
multimap and multiset erase bug fix
2019-11-05 11:27:27 +00:00
John Wellbelove
2281a159aa
Updated versions
2019-11-05 09:15:15 +00:00
NeimadG
7cb1967a89
br test set lowerbound ( #163 )
...
* add test of etl::set:lower_bound
* fix etl::set::lower_bound
* fix map, extra test map/multiset/multimap
2019-11-05 08:46:40 +00:00
John Wellbelove
61a2d64555
Undo commit
2019-11-04 15:25:03 +00:00
John Wellbelove
db8f03c184
Changed strlen to etl::strlen
2019-11-04 15:17:25 +00:00
John Wellbelove
c0ca7c9d87
Add assert check for uninitialised delegate call
2019-11-04 12:27:16 +00:00
John Wellbelove
52975b209f
Fixed incorrect result when rounding up to integral part.
2019-10-31 14:33:58 +00:00
John Wellbelove
b32cc92edc
Fixed rounding up bug in etl::to_string
2019-10-31 12:56:07 +00:00
John Wellbelove
e5325aa379
Fixed incorrect result for negative float to string
2019-10-11 18:35:58 +01:00
John Wellbelove
02f7326a09
Changed STL alternate namespace to always be 'etlstd'.
...
Changed std:: to ETLSTD:: macro to select std:: or etlstd:: depending on existence of ETL_NO_STL.
2019-10-10 13:05:59 +01:00
John Wellbelove
512ab6338d
Changed STL alternate namespace to always be 'etlstd'.
...
Changed std:: to ETLSTD:: macro to select std:: or etlstd:: depending on existence of ETL_NO_STL.
2019-10-10 11:12:35 +01:00
John Wellbelove
5a8c653004
Fixed strict aliasing bug for -O3 optimisation in etl::pool
2019-10-09 10:35:13 +01:00
John Wellbelove
f277020fa0
Fix alternate STL utility.h for ARM6
...
Added ARM7 profiles.
2019-09-30 10:05:01 +01:00
John Wellbelove
f1fd87de05
Updated unit test project to support C++17
2019-09-28 12:11:46 +01:00
John Wellbelove
e8e4fa3f0d
Updated unit test project to support C++17
2019-09-28 11:25:25 +01:00
John Wellbelove
e94d088d5f
Added Platform IO examples
2019-09-26 07:29:46 +01:00
John Wellbelove
f49c07b91c
More PIO json tweaks
2019-09-24 10:39:18 +01:00
John Wellbelove
646af4b318
Fixed JSON errors
2019-09-23 19:44:36 +01:00
John Wellbelove
0f35e3c384
Removed ECL
...
Updated properties and json files
Updated versions
2019-09-22 10:39:00 +01:00
John Wellbelove
188647667d
Allow conan's etl version metadata to automatically update via git tags
2019-09-19 10:59:53 +01:00
John Wellbelove
31161040e7
Fixed unordered_map iterator operator* return type
2019-09-16 15:59:46 +01:00
John Wellbelove
2bc97e5022
Small updates to etl::delegate
2019-08-18 10:05:55 +01:00
John Wellbelove
5747a1e484
Updates to function signatures
2019-08-18 09:47:35 +01:00
John Wellbelove
c11c9cfdb6
Fixes for delegates with lambdas
2019-08-13 12:58:45 +01:00
John Wellbelove
54761ade12
Fixed incorrect results from increment/decrement pointers in atomic_gcc_sync
2019-08-03 20:50:36 +01:00
John Wellbelove
26729ba43b
Added #include "stl/utility.h" to etl::optional
2019-08-03 13:12:52 +01:00
John Wellbelove
35c00ce9ed
Added const parameters to etl::array_view
2019-07-31 18:30:40 +01:00
John Wellbelove
419c5b31c4
Removed redundant etl::const_array_view
2019-07-26 16:20:55 +01:00
Tobias Müller
f9dd536812
Add generic profile for Clang compiler ( #138 )
2019-07-26 08:48:29 +01:00
John Wellbelove
c43620d8d8
Various fixes.
...
void assign(const_pointer, size_t) did not set the truncation flag.
Fixed resize(0) error for etl::fixed_list
Removed erroneous pointers in etl::unordered_map::begin()
2019-07-13 12:33:52 +01:00
John Wellbelove
f3959810cb
Optimisation of floating point specialisations of etl::cumulative_moving_average.
2019-07-07 16:35:34 +01:00
John Wellbelove
9fbbb5cc19
Added runtime sample size specialisations to etl::cumulative_moving_average
2019-07-05 13:49:38 +01:00
John Wellbelove
d715880d37
Removed ETL_IF_CONSTEXPR from etl::message_timer 'tick()'
2019-07-02 12:51:00 +01:00
John Wellbelove
8f29bb8862
ETL's random number generators are now non-polymorphic by default.
...
Define ETL_POLYMORPHIC_RANDOM to enable previous functionality.
2019-07-01 10:31:02 +01:00
John Wellbelove
fd689b437d
Moved global operators to ETL namespace.
2019-06-29 08:01:04 +01:00
Jonathan Pan
ee82c052c8
[ #133 ] Making sure comparison operators are in the etl namespace ( #135 )
2019-06-29 07:48:42 +01:00
John Wellbelove
6efad78028
Compatibility changes for GCC v5.4.
2019-06-23 09:54:02 +01:00
John Wellbelove
09d96e158e
Added variadic parameters to observer notification.
2019-06-19 20:53:18 +01:00
John Wellbelove
fc317f3d9e
Fix misplaced semicolon in error_handler.h
2019-06-17 23:13:38 +01:00
John Wellbelove
e0d2ca198b
Updated version number
2019-06-06 18:03:13 +01:00
John Wellbelove
7515a60b69
Updated version number
2019-06-04 20:41:36 +01:00
John Wellbelove
61dfc95ec8
Optimised some binary operations.
2019-06-04 12:35:10 +01:00
John Wellbelove
70513ef678
Added #include <new> to files using 'placement new'.
2019-06-01 17:07:18 +01:00
John Wellbelove
fe00fbe56d
Added #include <new>
2019-06-01 17:02:42 +01:00
John Wellbelove
c4d4e305c0
Simplified 'to_string' templates
2019-05-28 18:29:25 +01:00
John Wellbelove
82437c9bca
Simplified message framework internal code.
...
Additional receive() virtual function overload taking destination id.
Removed is_bus() member function.
2019-05-27 12:01:06 +01:00
John Wellbelove
0df67fa154
Variadic template etl::smallest
2019-05-26 13:44:46 +01:00
John Wellbelove
c01262b5b5
Variadic template etl::smallest
2019-05-26 13:14:10 +01:00
John Wellbelove
8017258000
Variadic template etl::largest etc.
2019-05-26 13:05:54 +01:00
John Wellbelove
bda8c8bff4
Merge remote-tracking branch 'origin/master' into feature/C++11_variadic_templates
...
# Conflicts:
# include/etl/type_traits.h
# include/etl/type_traits_generator.h
# include/etl/version.h
# support/Release notes.txt
# test/test_string_u16.cpp
# test/test_string_u32.cpp
# test/test_string_wchar_t.cpp
# test/test_type_traits.cpp
# test/vs2017/etl.vcxproj
# test/vs2017/etl.vcxproj.filters
2019-05-25 16:08:50 +01:00
John Wellbelove
2e998a6832
Fixed bug in 'vector of pointers' move constructor
2019-05-24 23:09:03 +01:00
John Wellbelove
a5fb2dfc99
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/delegate.h
# include/etl/version.h
# support/Release notes.txt
# test/test_delegate.cpp
2019-05-22 20:21:07 +01:00
John Wellbelove
1b19c6c398
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# test/test_string_u16.cpp
# test/test_string_u32.cpp
# test/test_string_wchar_t.cpp
# test/vs2017/etl.vcxproj.filters
2019-05-19 23:24:31 +01:00
John Wellbelove
788566cc00
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# test/test_string_u16.cpp
# test/test_string_u32.cpp
# test/test_string_wchar_t.cpp
# test/vs2017/etl.vcxproj.filters
2019-05-19 23:24:12 +01:00
John Wellbelove
8ab44900e4
Merge remote-tracking branch 'origin/development' into feature/C++11_variadic_templates
2019-05-16 23:40:43 +01:00
John Wellbelove
f1777dce37
Added variadic 'is_one_of'
2019-05-16 23:23:13 +01:00
John Wellbelove
4977f39a3b
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
# test/test_string_char.cpp
2019-05-12 18:14:50 +01:00
John Wellbelove
b5ed7a8ff9
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/memory.h
# include/etl/version.h
# support/Release notes.txt
# test/test_memory.cpp
2019-05-12 11:28:25 +01:00
John Wellbelove
4b048ec737
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/memory.h
# include/etl/version.h
# support/Release notes.txt
2019-05-07 21:45:15 +01:00
John Wellbelove
665c4591f2
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2019-05-06 20:57:08 +01:00
John Wellbelove
09bc257d9f
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2019-05-05 10:04:17 +01:00
raitraak-rrk
6fb3a1126f
Fix profile header. ( #129 )
2019-04-28 13:11:58 +01:00
John Wellbelove
aad2be1de7
Merge branch 'development'
...
# Conflicts:
# include/etl/multi_array.h
2019-04-27 16:30:45 +01:00
John Wellbelove
d084fe9969
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
# test/vs2017/etl.vcxproj.filters
2019-04-27 16:14:40 +01:00
John Wellbelove
4daa7b8027
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2019-04-18 20:44:01 +01:00
John Wellbelove
572563c2a9
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
2019-04-16 18:26:42 +01:00
John Wellbelove
7ca0b12583
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/private/to_string_helper.h
# include/etl/version.h
# support/Release notes.txt
# test/test_to_string.cpp
# test/test_to_u16string.cpp
# test/test_to_u32string.cpp
# test/test_to_wstring.cpp
2019-04-16 18:13:37 +01:00
John Wellbelove
e87c6d04b3
Updated version
2019-04-15 20:11:00 +01:00
John Wellbelove
30fe51a240
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/to_string.h
# include/etl/to_u16string.h
# include/etl/to_u32string.h
# include/etl/to_wstring.h
# support/Release notes.txt
2019-04-15 19:39:39 +01:00
John Wellbelove
365c719fbf
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/basic_format_spec.h
# include/etl/private/to_string_helper.h
# include/etl/to_string.h
# include/etl/to_u16string.h
# include/etl/to_u32string.h
# include/etl/to_wstring.h
# include/etl/version.h
# support/Release notes.txt
2019-04-14 19:43:09 +01:00
John Wellbelove
8d46963bb0
Merge remote-tracking branch 'origin/develop'
...
# Conflicts:
# include/etl/format_spec.h
# include/etl/private/to_string_helper.h
# include/etl/to_string.h
# include/etl/to_u16string.h
# include/etl/to_u32string.h
# include/etl/to_wstring.h
# include/etl/version.h
# support/Release notes.txt
# test/test_to_string.cpp
# test/test_to_u16string.cpp
# test/test_to_u32string.cpp
# test/test_to_wstring.cpp
# test/vs2017/etl.vcxproj.filters
2019-04-09 08:21:28 +01:00
John Wellbelove
7844142c19
Merge remote-tracking branch 'origin/feature/to_string' into development
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
# test/vs2017/etl.vcxproj.filters
2019-04-08 19:37:41 +01:00
John Wellbelove
7c77bc80b2
Added C++11 variadic template version of etl::observer
2019-03-30 10:40:19 +00:00
John Wellbelove
55dda4ea9d
Updated version
2019-03-30 10:04:22 +00:00
John Wellbelove
b3ab699cee
Added C++11 variadic template version of etl::visiable and etl::visitor
2019-03-30 09:59:44 +00:00
John Wellbelove
2b7887e9f0
Updated version number
2019-03-28 21:25:55 +00:00
John Wellbelove
aa286a5126
Merge remote-tracking branch 'origin/feature/vector_external_buffer' into development
2019-03-28 21:23:13 +00:00
John Wellbelove
2a3f32b47c
External buffer support for vector
2019-03-28 21:22:39 +00:00
John Wellbelove
d2200d80d8
Extended 'truncate' flag rules.
2019-03-23 14:24:39 +00:00
John Wellbelove
6e72c5beca
Removed test for self in += operator.
2019-03-21 21:01:27 +00:00
John Wellbelove
f03359790a
Modified 'truncated' to only be cleared on 'clear()' or 'assign()'.
...
Added assignment from zero terminated string pointer.
2019-03-21 20:45:28 +00:00
John Wellbelove
9b0fd374d1
Merge remote-tracking branch 'origin/master' into feature/vector_external_buffer
2019-03-17 22:27:03 +00:00
John Wellbelove
92989feda9
Fixed setting of 'truncated'
2019-03-17 17:49:25 +00:00
John Wellbelove
150fdf7f54
Partial updates
2019-03-13 21:24:42 +00:00
John Wellbelove
54330998af
Added truncate clear to Clear()
2019-03-13 15:51:05 +00:00
John Wellbelove
3f5de324c5
Partial unit test updates
2019-03-13 15:51:04 +00:00
John Wellbelove
c7ea481274
Partial implementation of vector of pointers
2019-03-10 20:13:46 +00:00
John Wellbelove
496edaf981
Partial implementation
2019-03-10 16:05:36 +00:00
John Wellbelove
a630d66c33
Fixed string push_back bug where the internal terminator was not updated.
2019-03-06 22:22:10 +00:00
Arek Sredzki
92fddd7e42
Add const ref istring constructors ( #119 )
2019-03-01 19:31:54 +00:00
John Wellbelove
36fe9a4d2d
Modifies parameters to 'const'
2019-02-26 19:57:15 +01:00
John Wellbelove
752191e819
Updated profiles for C++17
2019-02-26 10:00:21 +01:00
John Wellbelove
8cfb3fce23
Added queue_spsc_locked with injected lock and unlock functionality.
2019-02-25 09:42:51 +01:00
John Wellbelove
ab91c7af33
Revert "Modified ISR queue to take references to etl::ifunction instances at runtime rather than static class at compile time."
...
This reverts commit 4aab7c017302b446f87037e25430167a80d9b749.
2019-02-25 09:02:12 +01:00
John Wellbelove
4aab7c0173
Modified ISR queue to take references to etl::ifunction instances at runtime rather than static class at compile time.
2019-02-25 08:45:53 +01:00
John Wellbelove
f0fcb78e24
Enabled emplace functions for C++03
2019-02-24 10:04:13 +01:00
John Wellbelove
fd50e7e385
Move C++03 force macros to profile
2019-02-23 08:36:07 +01:00
creibetanz
059159fe1f
function.h add const to operator () ( #117 )
...
Change-Id: Id70a05ab1bfdb95499a3c6622379c8bb639f5f40
2019-02-20 08:57:52 +00:00
John Wellbelove
9803bf8bde
Fix inconsistent ETL_FILE definitions
2019-02-18 19:32:02 +01:00
John Wellbelove
e241544290
Fixed C++03 macros leftover from testing
2019-02-15 10:43:21 +01:00
John Wellbelove
3a389a9d96
Created C++03 Code::Blocks project as a quick check for C++03 syntax compatibility.
2019-02-14 14:48:31 +01:00
John Wellbelove
55ed3640b2
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2019-02-14 12:54:28 +01:00
John Wellbelove
6aa0d0a3a5
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2019-02-13 20:37:28 +01:00
John Wellbelove
87d73bf602
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2019-02-13 11:29:02 +01:00
chodimka
48a2a4fd8d
atomic_std: removed extra ';' semicolon after namespace ( #114 )
2019-02-12 18:25:42 +00:00
John Wellbelove
c4937c4b73
Merge remote-tracking branch 'origin/development'
2019-02-11 12:36:46 +01:00
John Wellbelove
dac7922df9
Merge remote-tracking branch 'origin/feature/cpp03_check' into development
2019-02-11 12:36:14 +01:00
John Wellbelove
6b3788de98
C++03 check project
2019-02-11 12:33:33 +01:00
John Wellbelove
d5b988a6a9
Added ETL_NOEXCEPT macros.
...
Added std::forward support to alternate STL utility header.
2019-02-11 11:09:06 +01:00
John Wellbelove
ce9ce69078
Renamed ETL_NO_EXCEPT to ETL_NOEXCEPT
2019-02-11 11:03:11 +01:00
John Wellbelove
d60dc6e05e
Added NO_EXCEPT macros.
...
Added std::forward to alternate 'No STL' utility header.
2019-02-11 10:51:11 +01:00
John Wellbelove
92d5aab61b
Added constexpr to constructors and copy constructors.
2019-02-10 10:54:54 +00:00
John Wellbelove
cf9ec9763e
Added missing header include to frame_check_sequence.h
2019-02-10 09:31:36 +00:00
John Wellbelove
5b8345106e
Fix vector insert for certain operations
2019-02-08 17:51:10 +00:00
John Wellbelove
047398f838
Version & release notes.
...
Optimised internal 'unhandled' declaration.
2019-02-04 21:06:30 +00:00
John Wellbelove
65e8a981e3
Added const to template parameter
2019-02-03 20:31:14 +00:00
John Wellbelove
df56f94815
Added OFFSET template parameter
2019-02-03 20:29:40 +00:00
John Wellbelove
2cef994d5b
Changed from static to normal class
2019-02-03 10:24:47 +00:00
John Wellbelove
4c713d38f0
Callback service
2019-02-02 19:37:23 +00:00
John Wellbelove
a9d679edaf
Added #include <new> to message_router.h for improved cross platform compatibility.
2019-01-27 20:19:30 +00:00
John Wellbelove
95dda918f8
Reverted partial changes
2019-01-06 19:09:51 +00:00
Bo Rydberg
349db3aacd
Update flat_map.h to handle C++98 compilation ( #112 )
2019-01-06 18:52:59 +00:00
John Wellbelove
4aea7626ca
C++03/C++11 compatibility fixes.
2019-01-06 17:49:40 +00:00
Bo Rydberg
aa3996b38d
Update vector.h to handle C++11 ( #109 )
...
* Merge remote-tracking branch 'origin/development'
* Update vector.h to handle C++11
2019-01-06 17:29:07 +00:00
Bo Rydberg
4b7d832590
Update memory.h to handle C++11 ( #110 )
...
* Merge remote-tracking branch 'origin/development'
* Update memory.h to handle C++11
2019-01-06 17:25:13 +00:00
Bo Rydberg
6c141f3621
Update list.h to recognize C++11 mode ( #111 )
...
* Merge remote-tracking branch 'origin/development'
* Update list.h to recognize C++11 mode
2019-01-06 17:13:29 +00:00
John Wellbelove
4edd4e451e
Updated version & release notes
2019-01-05 12:01:36 +00:00
John Wellbelove
48379a8ff2
Merge branch 'development' into feature/rvalue-references
2019-01-05 11:34:24 +00:00
John Wellbelove
96ce602874
Added interface move assignment.
2019-01-01 14:03:02 +00:00
John Wellbelove
6b165aee54
Added interface move assignment.
2019-01-01 14:02:43 +00:00
John Wellbelove
48aabaad54
Added interface move assignment.
...
Added move splice & merge.
2019-01-01 14:02:08 +00:00
John Wellbelove
5e199b6bb4
Added is_rvalue_reference
2018-12-30 11:17:17 +00:00
John Wellbelove
05bc2b83b5
Added move member functions
2018-12-30 11:16:52 +00:00
John Wellbelove
dc6f6796f6
Added move constructor & move assignment
2018-12-30 11:16:33 +00:00
John Wellbelove
ca81392075
Added move constructor and assignment operator
2018-12-29 20:56:37 +00:00
John Wellbelove
338164d871
Added conditional compile directives for C++11
2018-12-29 20:47:17 +00:00
John Wellbelove
9266920e2a
Added rvalue reference push_back & insert.
2018-12-29 15:36:08 +00:00
John Wellbelove
a8f07e0622
Added rvalue reference variants
2018-12-29 15:34:53 +00:00
John Wellbelove
f8c6830807
Merge remote-tracking branch 'origin/feature/cumulative_moving_average' into development
2018-12-28 09:45:43 +00:00
John Wellbelove
696c61f198
etl::deque push fix
2018-12-17 19:09:56 +00:00
John Wellbelove
b3f7563ebb
Merge remote-tracking branch 'origin/master' into feature/rvalue-references
...
# Conflicts:
# include/etl/private/pvoidvector.h
2018-12-17 19:09:32 +00:00
John Wellbelove
b31e944cef
Updated version
2018-12-16 18:58:43 +00:00
John Wellbelove
3e4035e059
Added rvalue reference API
2018-12-16 18:36:01 +00:00
John Wellbelove
8627b8771e
Added move algorithms & utility.
2018-12-16 18:35:37 +00:00
John Wellbelove
246365d85f
Updated versions
2018-12-09 12:31:27 +00:00
John Wellbelove
6b29f4eaca
Added C++03/C++11 emplace for deque, priority_queue, queues, stack, variant & vector.
2018-12-09 12:11:54 +00:00
John Wellbelove
b7cc17f84a
Merge remote-tracking branch 'origin/development' into feature/emplace_var_arg
2018-12-08 16:01:35 +00:00
Jonathan Pan
8e9eaf4f7c
[ #101 ] Adding non-const emplace overloads for vector ( #102 )
2018-11-04 11:51:55 +00:00
John Wellbelove
7ceabcb571
Merge from GitLab CMake-CLion feature branch
2018-10-28 12:54:45 +00:00
John Wellbelove
aee76d67e8
Merge remote-tracking branch 'origin/feature/bit_stream' into development
...
# Conflicts:
# include/etl/profiles/armv6.h
# include/etl/profiles/armv6_no_stl.h
# include/etl/version.h
# support/Release notes.txt
# test/vs2017/etl.vcxproj.filters
2018-10-07 08:37:14 +01:00
Bartłomiej Burdukiewicz
c505e9a522
Removed repeated semicolon, this helps to compile etl without errors ( #100 )
...
with -pedantic/-pedantic-errors flags.
2018-09-29 20:23:45 +02:00
John Wellbelove
df842eacec
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2018-09-22 13:37:25 +01:00
Austin Morton
fb3d4d78fa
Use diagnostic push and pop when suppressing GCC warnings to prevent suppressions from impacting code outside of ETL ( #99 )
2018-09-21 07:34:16 +01:00
Arek Sredzki
ece332630d
Use deleter in etl::unique_ptr::reset(...) ( #98 )
2018-09-20 12:51:48 +01:00
John Wellbelove
65c0de9110
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2018-09-18 18:39:35 +01:00
John Wellbelove
b47c0a6c9b
Merge remote-tracking branch 'origin/development'
2018-09-15 09:56:54 +01:00
John Wellbelove
02987191a5
Removed push(void) push_back(void) and push_front(void) function for containers.
2018-09-15 08:58:08 +01:00
John Wellbelove
218b1573f8
Added CRC16 MODBUS
...
Added ETL_ prefic to extern const arrays.
2018-09-14 19:25:32 +01:00
John Wellbelove
eb406eafea
Swapped event and current state parameters for state transition
2018-09-12 17:39:02 +01:00
John Wellbelove
2ab1d8d346
Swapped event and current state parameters for state transition
2018-09-12 17:35:59 +01:00
John Wellbelove
37e86e7971
Process event loops until action or end of transition table
2018-09-11 23:00:25 +01:00
John Wellbelove
9becaefdd8
Added start() and changed order of execution.
2018-09-10 20:42:32 +01:00
John Wellbelove
0a717209ae
Merge remote-tracking branch 'origin/feature/light_weight_fsm' into development
2018-09-09 08:26:30 +01:00
John Wellbelove
8abf60523b
Made get_state_id non-virtual
2018-09-09 08:26:10 +01:00
John Wellbelove
d1a63fd507
Merge remote-tracking branch 'origin/feature/light_weight_fsm' into development
2018-09-08 15:45:19 +01:00
John Wellbelove
5aa369451e
State Chart Template
...
Unit tests complete
2018-09-08 15:44:33 +01:00
John Wellbelove
61f0953c9b
Added entry and exit
2018-09-07 00:33:30 +01:00
John Wellbelove
c2c7ae0111
Renamed
2018-09-07 00:33:04 +01:00
John Wellbelove
5a3f6b4355
First draft
2018-09-06 21:33:33 +01:00
Prasenjit Sengupta
4ae529a843
Fix extra semicolon warning in list.h ( #97 )
2018-09-06 21:16:31 +01:00
Prasenjit Sengupta
01364bda14
Add default C++17 profiles ( #95 )
2018-09-06 21:16:01 +01:00
John Wellbelove
9872acd6fb
First draft
2018-09-05 21:12:35 +01:00
John Wellbelove
085a66f930
Renamed
2018-09-05 21:11:16 +01:00
John Wellbelove
8efa47f3da
First draft
2018-09-05 21:08:52 +01:00
John Wellbelove
60f7061bef
#93 map.h on release 11.15.0 does not compile with clang-6
2018-09-04 23:25:16 +01:00
John Wellbelove
c6061863a6
Added 'uul' to 64bit literals
2018-09-04 17:50:32 +01:00
John Wellbelove
0f91072e3f
More fixes for nullptr on ARM5/ARM6 compilers
2018-09-02 14:05:27 +01:00
John Wellbelove
3fba1ae905
Fixed issue #94 .
...
nullptr for ARM5 compiler
2018-09-01 07:57:58 +01:00
John Wellbelove
504b9b574e
Updated version
2018-08-27 23:32:52 +01:00
John Wellbelove
e5e38a8ee8
Compatibility with Keil compiler
2018-08-27 22:07:17 +01:00
John Wellbelove
b6b6a36316
Added missing find_n & transform
2018-08-27 22:06:49 +01:00
John Wellbelove
1606ae3dcc
Added missing algorithms.
...
Fixed namespace selection.
2018-08-27 13:22:04 +01:00
John Wellbelove
0b0ce2645b
Merge remote-tracking branch 'origin/feature/shared_pools' into development
...
# Conflicts:
# include/etl/list.h
2018-08-22 20:13:18 +01:00
John Wellbelove
bfebb770e6
Fix string compare tests to be more compatible across compilers.
2018-08-18 14:49:23 +01:00
John Wellbelove
20485936c5
Added bind1st & bind2nd to alternate STL implementations.
...
Added additional conditional compilation to algorithms using 'bind'.
2018-08-18 12:04:11 +01:00
John Wellbelove
df83a04166
Merge remote-tracking branch 'origin/master' into feature/no_stl
...
# Conflicts:
# include/etl/memory.h
# include/etl/private/ivectorpointer.h
# include/etl/stl/alternate/limits.h
# include/etl/stl/iterator.h
# test/test_no_stl_algorithm.cpp
# test/test_no_stl_functional.cpp
# test/test_no_stl_limits.cpp
# test/test_no_stl_utility.cpp
# test/test_vector_pointer.cpp
# test/vs2017/etl.vcxproj.filters
2018-08-18 10:09:56 +01:00
John Wellbelove
7a9ade20c2
Added alternate STL support to allow 'No STL' option.
2018-07-22 20:47:33 +01:00
John Wellbelove
063e65386f
Deleted files
2018-07-03 22:01:56 +01:00
John Wellbelove
d11ad9518f
Initial changes
2018-06-19 06:24:37 +01:00
John Wellbelove
a2e701567d
Renamed STATIC_ASSERT to ETL_STATIC_ASSERT
...
Remove non-conforming std::nullptr
2018-06-18 18:49:09 +01:00
John Wellbelove
10a00724e0
Updated version
2018-06-17 22:14:19 +01:00
John Wellbelove
91cf9713fe
Comment change
2018-06-17 21:12:06 +01:00
John Wellbelove
fee3fd36fe
Merge remote-tracking branch 'origin/feature/fsm_deferred_event' into development
2018-06-17 21:11:37 +01:00
John Wellbelove
52176c84f0
Comment change
2018-06-17 21:10:16 +01:00
John Wellbelove
acc317c3d4
Non-virtual message is no longer protected.
2018-06-17 21:09:59 +01:00
John Wellbelove
fb2d2e96f6
Added flag to call on_enter_state on start. Default true.
2018-06-17 21:09:26 +01:00
John Wellbelove
bf16ee4f5c
Comment change
2018-06-17 21:08:03 +01:00
John Wellbelove
254a34935a
Added more checks for STLPort
2018-06-17 10:12:08 +01:00
John Wellbelove
eeb6a310c1
Compatibility changes for Segger IDE, GCC & STLPort
2018-06-14 21:53:54 +01:00
John Wellbelove
5e30f02449
Fixed missing semicolons
2018-06-12 21:12:32 +01:00
John Wellbelove
7b7a1c4af2
Fixed typo
2018-06-12 21:09:18 +01:00
John Wellbelove
7fbc543080
Merge remote-tracking branch 'origin/feature/CMake' into development
...
# Conflicts:
# test/vs2017/etl.vcxproj.filters
2018-05-31 22:21:09 +01:00
John Wellbelove
83d495bc21
Added binary_merge, binary_interleave, is_odd, is_even
2018-05-20 09:16:20 +01:00
John Wellbelove
6a444bf972
Added flags to call on_enter_state and on_exit_state for start() and reset() respectively. The default actions are as the previous version.
2018-05-12 09:01:39 +01:00
EXPROGROUP\john.wellbelove
35d6fc533c
Fixed compile error when ETL_DEBUG_COUNT not defined
2018-05-10 15:26:23 +01:00
John Wellbelove
9435d7b1fb
Github Issue #73
...
Updated version
2018-05-09 23:14:32 +01:00
John Wellbelove
681bc407ac
Github Issue #73
...
set_period & set_mode no longer automatically start the timer.
2018-05-09 23:11:56 +01:00
John Wellbelove
837da911c2
Github Issue #73
...
Fixed issue where single shot timers could not be altered once timed out.
2018-05-09 23:02:50 +01:00
John Wellbelove
d39e51847a
Added CRC32-C (Castagnoli)
2018-05-05 09:50:49 +01:00
John Wellbelove
27aa3a2ab3
Added new binary utilities
2018-04-29 19:59:46 +01:00
Austin Morton
dcd42ee17e
Fix assumption that min/max macros will always be defined on a Microsoft compiler ( #72 )
...
Merge in min-max changes to a feature branch
2018-04-24 14:27:18 +01:00
John Wellbelove
8085f97e52
Rewrite of debug count so that it does not exists in unit test code or when explicitly enabled.
2018-04-24 14:15:30 +01:00
John Wellbelove
d63afc70ea
Removed non-compliant constexpr
2018-04-21 18:26:24 +01:00
John Wellbelove
67a32df7d0
Added etl::type_select
2018-04-21 17:45:34 +01:00
John Wellbelove
48ede3fdbe
Capitalised warning comment
2018-04-21 17:45:00 +01:00
John Wellbelove
a0f2f8bf8e
Added null_type template
2018-04-21 17:32:24 +01:00
John Wellbelove
f2416da7ea
Changed header guards to be GCC compliant.
2018-04-21 09:24:45 +01:00
John Wellbelove
ea9a1e51c9
More efficient implementations of sign_extend
2018-04-16 19:17:41 +01:00
John Wellbelove
e3b40c1eb4
Added capacity() to etl::queue
...
Prefixed max_size() and capacity() with ETL_CONSTEXPR to all queue types
2018-04-14 13:15:21 +01:00
John Wellbelove
23888c4be6
Added permutations and combinations template constants.
2018-04-14 10:46:15 +01:00
John Wellbelove
c14db00d88
Merge remote-tracking branch 'origin/feature/spsc_queues' into development
...
# Conflicts:
# test/vs2017/etl.sln
# test/vs2017/etl.vcxproj
2018-04-08 19:55:29 +01:00
John Wellbelove
6603ad9632
Updated release notes and version numbers
2018-04-08 19:50:41 +01:00
John Wellbelove
1ca0ad94a9
Added SPSC and MPSC queues
2018-04-08 18:10:23 +01:00
John Wellbelove
d77da45fed
Added mutex support
2018-04-08 18:09:39 +01:00
John Wellbelove
fa57304cca
Added atomic support
2018-04-08 18:09:15 +01:00
John Wellbelove
4059a8557e
Removed ETL_CPP11_SUPPORTED
2018-04-08 18:08:34 +01:00
John Wellbelove
f962914a8f
Initial untested SPSC queues.
2018-04-02 12:28:25 +01:00
John Wellbelove
bc0a8a49a7
Updates to atomic classes.
2018-04-02 12:26:58 +01:00
John Wellbelove
2841afc5e5
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
2018-03-30 13:45:33 +01:00
John Wellbelove
3d52e68090
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# support/Release notes.txt
2018-03-25 14:42:29 +01:00
John Wellbelove
ab65a5abaa
Added std::initializer_list constructors when ETL_CPP11_SUPPORTED is defined as 1
2018-03-25 14:34:28 +01:00
John Wellbelove
54981cfaa4
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# support/Release notes.txt
2018-03-22 06:11:35 +00:00
John Wellbelove
8ac3b64823
Added reset() to etl::optional
2018-03-21 19:35:18 +00:00
John Wellbelove
d7f9d1a7fb
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# CMakeLists.txt
2018-03-18 19:29:36 +00:00
John Wellbelove
44068d1493
Merge from new directories feature.
...
Added files to VS project.
Fixed ETL_FILE numbering clashes.
2018-03-18 18:14:11 +00:00
John Wellbelove
4864e95b36
New directory layout
2018-03-18 17:48:29 +00:00