John Wellbelove
92327d55f8
Reduce number of threads used to compilation
2022-09-11 00:59:04 +01:00
John Wellbelove
7b733f73ad
Minor updates to bitset
...
Added bitset_ext tests to cmake
2022-09-11 00:57:00 +01:00
John Wellbelove
e78e7b474a
Added etl:lsb_mask, etl::make_lsb_mask, etl::msb_mask and etl::make_msb_mask
2022-09-11 00:55:55 +01:00
John Wellbelove
2d0d744c74
Updated etl::bitset and added etl::bitset_ext
2022-09-08 20:11:20 +01:00
John Wellbelove
e8cc472ac9
Finished etl::circular_iterator an circular extensions to etl::span
2022-09-06 19:43:01 +01:00
John Wellbelove
dc0ab72e09
circular_span first draft
2022-09-06 10:59:49 +01:00
John Wellbelove
25adb3c68c
Almost finalised circular_iterator and tests
2022-09-04 23:44:51 +01:00
John Wellbelove
2c0f56841e
Almost finalised circular_iterator and tests
2022-09-04 21:05:22 +01:00
John Wellbelove
13a1ce6f8e
Merge branch 'feature/circular_iterator' of https://github.com/ETLCPP/etl into feature/circular_iterator
2022-09-03 13:24:46 +01:00
John Wellbelove
15fd907549
Merge branch 'hotfix/#582-unordered_set-equality-comparison-fails-when-hash-collisions-occur' into development
2022-09-03 11:57:11 +01:00
John Wellbelove
eceaa23f47
#584 unordered_set::const_iterator has incorrect value_type
2022-09-03 11:56:24 +01:00
John Wellbelove
7c5a6e49a1
Fixed unordered container equality tests to match STL
2022-09-02 20:40:17 +01:00
John Wellbelove
60204d95b6
Initial test for unordered_set
2022-09-02 15:59:21 +01:00
John Wellbelove
201c1fb918
Merge branch 'hotfix/#583-permit-non-default-constructable-hashes-and-key-equals-in-unordered_map' into development
2022-09-02 13:32:23 +01:00
John Wellbelove
4f5847e189
Updates for unordered maps and sets for an API that better matches the STL
2022-09-02 13:32:00 +01:00
Jesse Li
aab900f002
Permit non-default-constructable hashes and key-equals ( #583 )
...
Co-authored-by: Jesse <jli@planarmotor.com>
2022-09-01 19:41:09 +01:00
John Wellbelove
b00929ef09
Merge branch 'feature/#581-hash-functions-for-enum' into development
2022-09-01 19:26:35 +01:00
Jesse Li
a38a8fc33c
#227 Hash function for enums ( #581 )
...
* #227 Hash function for enums
* Move enum hash definition to bottom, so gcc doesn't complain about it
* Explicitly specify etl hash
Co-authored-by: Jesse <jli@planarmotor.com>
2022-09-01 19:10:35 +01:00
John Wellbelove
f0862971c1
Merge branch 'hotfix/#585-etl-result-void-being-unusable-due-to-deleted-default-constructor' into development
2022-09-01 18:56:46 +01:00
Eyal Abramovitch
927491c763
Fix etl::result<void> being unusable due to deleted default constructor ( #585 )
2022-08-31 12:43:56 +01:00
John Wellbelove
59ffb54fa4
Changed explicit message constructor for unsupported message types.
2022-08-31 11:54:08 +01:00
John Wellbelove
64fa058f6b
Work in progress
2022-08-26 09:49:13 +01:00
John Wellbelove
5aa14f85aa
Revert "Work in progress"
...
This reverts commit b3a77d6f83088a01969a3164373166d14ce36639.
2022-08-26 09:47:05 +01:00
John Wellbelove
b3a77d6f83
Work in progress
2022-08-26 09:40:54 +01:00
John Wellbelove
4ad7544c7f
Modified scripts for latest CMake
2022-08-23 18:05:18 +01:00
John Wellbelove
2e7b635bfd
Add asserts in to_string
2022-08-19 22:19:48 +01:00
John Wellbelove
ec4fb59b89
More to_string tests
...
Removed asserts so all functions are noexcept
2022-08-19 10:22:57 +01:00
John Wellbelove
e1bd545391
Major changes complete
2022-08-18 22:02:34 +01:00
John Wellbelove
7868445166
Work in progress
...
Modify specialisations for bitset element types
2022-08-17 20:35:44 +01:00
John Wellbelove
72263a9ced
Work in progress
...
More tests
2022-08-16 18:10:05 +01:00
John Wellbelove
2d9c8ccd2a
Work in progress
...
Start single element optimisations
2022-08-15 16:33:35 +01:00
John Wellbelove
42d272cae4
Work in progress
...
All tests for implicit bitset element type enabled
2022-08-15 14:57:42 +01:00
John Wellbelove
3a4af24ab7
Work in progress
...
Added more CHECK macros
Added bitset_fast class for bitsets that are the same size as an integral type
2022-08-13 12:15:41 +01:00
John Wellbelove
3ee5abf74b
Work in progress
2022-08-12 13:39:24 +01:00
John Wellbelove
2df71e4384
Optimised bitset shift operations
2022-08-09 12:45:29 +01:00
John Wellbelove
17bb22992e
Changed etl::size to std::size in the tests
2022-08-09 12:45:29 +01:00
John Wellbelove
648d5bf527
Added check macro that outputs hex digits
2022-08-09 12:45:29 +01:00
John Wellbelove
ccfce560ae
Optimised shifts
2022-08-09 12:45:29 +01:00
John Wellbelove
9d33f9bf28
Added ability to set the bitset from wchar_t, char16_t and char32_t
2022-08-05 09:46:09 +01:00
John Wellbelove
e4966b1b20
Added missing char_traits unit tests and char_traits bug fixes
2022-08-04 15:36:10 +01:00
John Wellbelove
2da99e81e6
Added missing char_traits unit tests and char_traits bug fixes
2022-08-04 15:31:09 +01:00
John Wellbelove
fda4d704c3
Minor changes
2022-08-02 11:42:57 +01:00
John Wellbelove
b80835108e
Merge branch 'feature/message-broker' into development
2022-08-01 16:13:05 +01:00
John Wellbelove
3ad60c1e6c
Finished message_broker code
2022-08-01 16:12:33 +01:00
John Wellbelove
18f78348d2
Added CMake updates
2022-08-01 13:05:56 +01:00
John Wellbelove
838cdc24af
Finished message_broker code
2022-08-01 13:00:20 +01:00
John Wellbelove
40290c4fa2
Partial implementation
2022-07-31 13:55:23 +01:00
John Wellbelove
e5fea50fab
Standardise conditional compilation macros for ETL_USING_CPP11 and ETL_USING_STL
2022-07-31 09:53:34 +01:00
John Wellbelove
1fa2116bd1
#573 more comfortable circular_buffer_ext construction
2022-07-28 15:55:38 +01:00
John Wellbelove
a89db201c5
Merge branch 'development' of https://github.com/ETLCPP/etl into development
2022-07-28 08:23:55 +01:00
benedekkupper
747867f1fa
Bip buffer improvements ( #575 )
...
* bip-buffer-spsc-atomic: read reserve default size is all available data
* bip-buffer-spsc-atomic: add API to write reserve in buffer space optimal way
2022-07-28 08:18:47 +01:00
John Wellbelove
cd18cc6af0
Eradicated all GCC and clang warnings
2022-07-27 10:42:03 +01:00
John Wellbelove
b2e1c35540
Fixed swap function for circular_buffer_ext
...
Fixed circular_buffer iterator -> operators
Added functions and macros to etl::debug_count
2022-07-24 12:56:44 +01:00
John Wellbelove
4316a4d7af
Added tests for error handler macros
...
Fixed missing value parameter for exception + log configuration
2022-07-24 12:52:58 +01:00
John Wellbelove
a2e02d8dfa
Added Log Errors event handler tests
2022-07-20 16:07:32 +01:00
John Wellbelove
4b465f64c4
Merge branch 'development' of https://github.com/ETLCPP/etl into development
...
# Conflicts:
# test/vs2019/etl.vcxproj
2022-07-20 14:33:38 +01:00
John Wellbelove
adf9d690e1
Updated version and release notes
2022-07-20 14:32:43 +01:00
John Wellbelove
17b2a12482
Updated version and release notes
2022-07-20 14:10:40 +01:00
John Wellbelove
67c2efb85c
Added is_enum
2022-07-14 17:31:20 +01:00
Jesse Li
4d4a3c8ab9
is_enum ( #561 )
2022-07-14 15:38:49 +01:00
John Wellbelove
bcf147f096
Added etl::poly_span
...
Refacted parts of etl::span
2022-07-14 12:19:08 +01:00
John Wellbelove
f05f74fbd1
Work in progress
2022-07-12 13:16:11 +01:00
John Wellbelove
adf9bd5c20
Work in progress
2022-07-10 14:09:46 +01:00
John Wellbelove
9dca59bf40
etl::poly_span without etl::dynamic_extent
2022-07-04 20:24:39 +01:00
John Wellbelove
e6fdd324b9
Null pointer check fix for GCC
2022-07-04 19:51:35 +01:00
John Wellbelove
50f5319382
Legacy variant is in namespace etl::legacy if ETL_IN_UNIT_TEST is not defined
2022-07-04 10:46:08 +01:00
John Wellbelove
638de5bd40
Merge branch 'hotfix/#560-unable-to-upcast-legacy-variant' into development
2022-07-02 21:19:47 +01:00
John Wellbelove
3c07f46158
#560-unable-to-upcast-legacy-variant
...
Refactor of upcast to eliminate upcast_functor
Added is_base_of member function
2022-07-02 21:19:15 +01:00
John Wellbelove
a074b42b91
Added non-member etl::send_message for etl::shared_message
2022-06-27 11:03:23 +01:00
John Wellbelove
c0923e1d6a
Fix to message_packet
...
Fix tests for atomic under GCC
2022-06-24 15:59:25 +01:00
John Wellbelove
1b3445d11a
Fixed etl::message_packet issues
2022-06-24 14:58:53 +01:00
John Wellbelove
3c26ffea4e
dded etl::byte_stream_overflow assert to byte_stream_reader 'skip'.
2022-06-23 19:49:20 +01:00
John Wellbelove
aedb151b89
Renamed cumulative_moving_average to pseudo_moving_average
2022-06-23 13:47:49 +01:00
John Wellbelove
829d9fa220
Renamed cumulative_moving _average to pseudo_moving_average
...
Modified etl::debounce internal enumeration names to avoid clashes with Arduino
2022-06-22 17:37:59 +01:00
John Wellbelove
22060623fc
Added skip functions
2022-06-22 10:05:14 +01:00
John Wellbelove
5a460f7fec
Latest refactoring
...
Added little endian bit stream reader tests
2022-06-19 18:37:20 +01:00
John Wellbelove
d1a522eb68
Updated CMakeLists.txt with new bit_stream tests
2022-06-18 21:20:06 +01:00
John Wellbelove
fefe6d3975
Added endianness to bit_stream_writer
2022-06-18 20:57:26 +01:00
John Wellbelove
c83b222690
Merge branch 'feature/bit_stream-reader-and-writer-like-byte_stream' of https://github.com/ETLCPP/etl into feature/bit_stream-reader-and-writer-like-byte_stream
...
# Conflicts:
# test/test_atomic.cpp
# test/vs2019/etl.vcxproj.filters
2022-06-15 11:46:48 +01:00
John Wellbelove
bf49fe60e6
Finished bit_stream_reader tests
2022-06-15 11:43:55 +01:00
John Wellbelove
f88999bb12
Latest updates to bit_stream_reader
2022-06-15 11:43:54 +01:00
John Wellbelove
11b97359fb
Changed 'expected_data' to 'expected'
2022-06-15 11:43:54 +01:00
John Wellbelove
6a8cdf6892
Added error exceptions to byte_stream_writer
2022-06-15 11:43:54 +01:00
John Wellbelove
0e6dff2767
Added callback functionality to bit_stream_writer
2022-06-15 11:43:54 +01:00
John Wellbelove
3a2f71456a
Added optional byte_stream callback
2022-06-15 11:43:13 +01:00
John Wellbelove
c0fb8761df
Added write_byte_stream_iterative_output
2022-06-15 11:43:13 +01:00
John Wellbelove
9e0ff809fd
Initial bit_stream_writer code
2022-06-15 11:43:12 +01:00
John Wellbelove
314cb452f7
Merge branch 'feature/variant-visit' into development
...
# Conflicts:
# include/etl/private/variant_legacy.h
# include/etl/private/variant_variadic.h
# test/vs2019/etl.vcxproj.filters
2022-06-14 11:47:30 +01:00
John Wellbelove
c6e31f381f
Added tests
2022-06-14 09:54:17 +01:00
John Wellbelove
baa47d1c33
Updated copyright notice
2022-06-10 21:45:37 +01:00
John Wellbelove
cf24398209
Refactor etl::atomic implementations to allow non-(integrals/pointers/bool)
...
Changed etl::atomic and etl::mutex, with STL enabled, to be template aliases
2022-06-10 21:45:34 +01:00
John Wellbelove
047fc3eb90
Refactor C++17 message_packet
2022-06-10 21:45:34 +01:00
John Wellbelove
e864fe62d5
Added optional byte_stream callback
2022-06-10 21:45:33 +01:00
John Wellbelove
4306350da0
Added write_byte_stream_iterative_output
2022-06-10 21:45:33 +01:00
Robin Söderholm
0ace9654da
Feature/variant visit ( #554 )
...
* add variant visit to c++11 and above
* visit legacy added
* update with multiple variants visit for variadic
* make it build on gcc and clang ubuntu
remove declval from utility.h due to ambiguity against type_traits.h version when using STL
2022-06-10 18:56:18 +01:00
John Wellbelove
259efe1e7d
Finished bit_stream_reader tests
2022-06-10 18:16:30 +01:00
John Wellbelove
dd89f1c748
Interim changes after PR
2022-06-10 11:18:48 +01:00
John Wellbelove
d1a6735872
Latest updates to bit_stream_reader
2022-06-09 15:05:08 +01:00
John Wellbelove
06373fda63
Changed 'expected_data' to 'expected'
2022-06-09 15:04:03 +01:00
John Wellbelove
238d3469e9
Added error exceptions to byte_stream_writer
2022-06-09 15:03:17 +01:00
Robin Söderholm
89be7e62cf
Feature/variant visit ( #552 )
...
* add variant visit to c++11 and above
* visit legacy added
* update with multiple variants visit for variadic
2022-06-09 08:56:55 +01:00
John Wellbelove
0ae71fb797
Added callback functionality to bit_stream_writer
2022-06-06 11:01:36 +01:00
John Wellbelove
bccea7d0da
Refactor etl::atomic implementations to allow non-(integrals/pointers/bool)
...
Changed etl::atomic and etl::mutex, with STL enabled, to be template aliases
2022-06-05 10:56:26 +01:00
John Wellbelove
55b4fb6587
Added optional byte_stream callback
2022-06-05 10:55:58 +01:00
John Wellbelove
8d6f73cd25
Added write_byte_stream_iterative_output
2022-06-05 10:55:10 +01:00
John Wellbelove
cace71c3f7
Initial bit_stream_writer code
2022-05-29 14:04:26 +01:00
John Wellbelove
2695cd8fb8
Refactor C++17 message_packet
2022-05-25 12:24:08 +01:00
John Wellbelove
6a979fb7c9
Added optional byte_stream callback
2022-05-22 10:52:24 +01:00
John Wellbelove
9c9bd93549
Added write_byte_stream_iterative_output
2022-05-20 12:36:11 +01:00
John Wellbelove
752d9adb5c
Fixed final sanitizer issues
2022-05-19 11:10:00 +01:00
John Wellbelove
aaf1f84935
Updates to etl::successor
2022-05-18 16:49:42 +01:00
John Wellbelove
7bb39b56bf
Added skip() to byte_stream_writer.
2022-05-17 17:04:47 +01:00
John Wellbelove
c09a1885b5
Merge branch 'hot-fix/#536-undefined-behaviour-and-memory-issues' into development
...
# Conflicts:
# test/CMakeLists.txt
2022-05-17 15:03:05 +01:00
John Wellbelove
9224df106e
Fixed data alignment issues raised by sanitizer
2022-05-16 20:58:07 +01:00
John Wellbelove
232f329867
Fix header file includes
2022-05-16 20:57:04 +01:00
John Wellbelove
7bfea414cb
Updated array_wrapper test to remove sanitizer issues
2022-05-15 18:55:30 +01:00
John Wellbelove
7b3bb5fa6d
Fixed incorrect returned span length for byte stream read
2022-05-15 18:01:44 +01:00
John Wellbelove
2d743082ec
Updated runtests.sh
2022-05-13 16:45:14 +01:00
John Wellbelove
7c3d8490c4
indirect_vector updates from sanitizer results
2022-05-13 14:43:36 +01:00
John Wellbelove
7d7a9cf15b
Updated CMakeLists.txt
2022-05-11 21:06:35 +01:00
John Wellbelove
87f40fe813
Updates to etl::successor and derived classes.
2022-05-11 16:04:25 +01:00
John Wellbelove
898c8c6587
Multiple sanitizer fixes.
2022-05-08 11:13:13 +01:00
John Wellbelove
44db411d0d
Multiple sanitizer fixes.
2022-05-08 11:10:42 +01:00
John Wellbelove
882bbab022
Minor updates
...
Revert some #536 code
2022-04-29 10:29:22 +01:00
Jeremy Overesch
8ac2db0dbe
Feature/pass partial handled events to parent ( #541 )
...
* Pass partial handled events to parent.
* Fix the generator file for C++17.
2022-04-28 15:29:11 +01:00
John Wellbelove
90e4316f8f
Interim fixes
2022-04-25 10:30:54 +02:00
John Wellbelove
36d126c93e
Squashed commit of the following:
...
commit c217b3ec12b26104e8f1027c1766cc9d49b93a29
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Thu Apr 21 11:57:55 2022 +0200
Added mutex traits
Added transparent comparator test to multimap
commit b6487b869e5599ea067d45af1778d5c0f90c6a52
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Thu Apr 21 10:42:06 2022 +0200
Modified char8_t, char16_t and char32_t macros.
Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.
commit 2c2bd86ce3d5d5d698e922518421a93f70a9cc1e
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Thu Apr 21 10:29:04 2022 +0200
Modified char8_t, char16_t and char32_t macros.
Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.
commit d16242d20e9b6df6752a926d862d0016a452bada
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Wed Apr 20 13:53:37 2022 +0200
Expanded constexpr test
commit fad097e6656cd4639c2d81bc8cad2467cae4b4ce
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Wed Apr 20 13:53:05 2022 +0200
Added ETL_OVERRIDE to state chart process_event()
commit 25403c2225f3aff0b99105a54cfc44f1cf88d527
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Wed Apr 20 13:41:00 2022 +0200
Added test_etl_traits
commit e42c778cf645cb8fc06e5930336e7f1183004dfe
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Wed Apr 20 13:38:22 2022 +0200
Removed unused code.
commit 5a25c0c1973f7094ef3aa5b6f29529e96450451c
Author: John Wellbelove <john.wellbelove@asterconsulting.co.uk>
Date: Sun Apr 17 13:17:29 2022 +0200
Large and small character support macros
commit 6a463fb65ef655b700a8dea381265a3c1b622658
Author: Melg Eight <public.melg8@gmail.com>
Date: Sun Apr 17 13:54:34 2022 +0300
Fix spelling (#535 )
Signed-off-by: Melg Eight <public.melg8@gmail.com>
commit 5468eb659c8b4ecdb3d08e8b8f0442c5a2549a48
Author: Gabriel Arjones <arjones@arjones.com>
Date: Thu Apr 14 17:55:27 2022 -0300
cmake: write an arch independent version file (#534 )
2022-04-21 12:11:26 +02:00
John Wellbelove
05e85b9e90
Added mutex traits
...
Added transparent comparator test to multimap
2022-04-21 11:57:55 +02:00
John Wellbelove
cd9d199dde
Modified char8_t, char16_t and char32_t macros.
...
Added conditional compilation on the presense of native char8_t, char16_t and char32_t types.
2022-04-21 10:29:04 +02:00
John Wellbelove
6279840973
Expanded constexpr test
2022-04-20 13:53:37 +02:00
John Wellbelove
2b158f4fb4
Added test_etl_traits
2022-04-20 13:41:00 +02:00
John Wellbelove
e1fa7d198e
Removed unused code.
2022-04-20 13:38:22 +02:00
John Wellbelove
63c05fb6b9
Large and small character support macros
2022-04-17 13:17:29 +02:00
John Wellbelove
e59f995289
#531 Fixed: Compilation of etl::reference_counted_message_pool with ETL_LOG_ERROR enabled due to non-public inheritance.
2022-04-11 14:54:55 +02:00
John Wellbelove
f68b3d7796
Lastest release script version
2022-04-09 21:38:35 +02:00
John Wellbelove
3b66ced782
#530 etl::nth_type not implemented correctly
2022-04-08 18:08:53 +02:00
John Wellbelove
ce93358e95
Lastest release script version
2022-04-08 09:37:21 +02:00
Robin Mueller
fbffca3b4c
Update cmake & meson version handling ( #522 )
...
* updated the version handling
- Introduces a new version.txt file
- This file is parsed by CMake to determine the current version
* assign version in project call
* use version variable
* Meson update
1. Minor fix for GCC build
2. Use external version file which can be used by CMake as well
* get version from git tag now
* ci/cd broke..
* maybe this solves the error
* updated workflow files
* one last test
* remove git describe call
2022-04-08 09:37:21 +02:00
John Wellbelove
1399c0d0d9
Work in progress
...
Updates version.h
2022-04-08 09:37:20 +02:00
John Wellbelove
fa7f6dc9d7
Fixed move parameter in notify_observers
2022-03-23 19:59:30 +00:00
John Wellbelove
e0c2ba2ab7
Simplified test
2022-03-23 11:16:02 +00:00
John Wellbelove
aad0dabebe
Re-initroduced etl::functor
...
Added constexpr to etl::member_function_wrapper and etl:;functor_wrapper
2022-03-22 15:16:51 +00:00
John Wellbelove
1be86f8566
Added etl::member_function_wrapper and etl::functor_wrapper to utility.h
2022-03-22 13:51:02 +00:00
John Wellbelove
426f7f48a4
Updated CMakeLists.txt to embed the unit test code.
2022-03-21 16:08:49 +00:00
John Wellbelove
64a03b2aa4
Changed random log output to single list of values.
2022-03-21 16:05:49 +00:00
John Wellbelove
dcf06809ae
Embedded copy of UnitTest++
2022-03-20 22:41:59 +00:00
John Wellbelove
245d84b231
Modified VS2019 Github Actions
2022-03-20 18:12:56 +00:00
John Wellbelove
7f2525a48f
Modified VS2019 Github Actions
2022-03-20 16:45:53 +00:00
John Wellbelove
6f99c2b3a9
Added template wrappers around memcpy, memmove, memcmp, memset& memchr.
...
Added C++23 macro
Updated version numbers
2022-03-19 21:29:29 +00:00
John Wellbelove
87080285e6
Merge branch 'feature/#515-make-unaligned-types-fully-constexpr' into development
...
# Conflicts:
# include/etl/algorithm.h
# include/etl/endianness.h
2022-03-18 15:19:54 +00:00
John Wellbelove
1c03e57aba
Made etl::unaligned_type constexpr
2022-03-18 15:14:23 +00:00
John Wellbelove
b4e67d9a96
Removed forced constexpr algorithms
2022-03-18 15:13:17 +00:00
John Wellbelove
2423745786
Fixed missing lines for cplusplus trait
2022-03-12 10:15:19 +00:00
John Wellbelove
740e490aed
Tested ETL traits code.
2022-03-11 20:28:26 +00:00
John Wellbelove
43100b2cf4
Initial code
2022-03-07 13:11:28 +00:00
John Wellbelove
9a1705ed4c
Added CMakeFiles.txt for initializer_list tests
2022-03-07 12:07:54 +00:00
John Wellbelove
3753b8e8e0
Moved sanity check files to the correct filter.
2022-03-05 18:03:55 +00:00
John Wellbelove
b58dad3e2e
Moved sanity check files to the correct filter.
2022-03-05 18:03:28 +00:00
John Wellbelove
4262c4e0d3
Added optional counter type to instance_count.
2022-03-05 18:02:00 +00:00
John Wellbelove
574556b8e2
Updated the initializer_list unit test project.
2022-03-05 18:01:48 +00:00
John Wellbelove
e9ec00b346
Move initializer_list test project out of main ETL unit tests project
2022-03-04 20:55:30 +00:00
John Wellbelove
292f5d9176
Modified logic for enabling the use of initializer lists
2022-03-04 20:54:38 +00:00
John Wellbelove
b5b09274ce
Added extra sanity checks for new classes
2022-03-03 18:39:23 +00:00
John Wellbelove
c34ac53a4e
Changes the order of callback and re-insertion of the timer in the active list.
2022-03-03 14:34:01 +00:00
John Wellbelove
0a163463c2
Added callback and message timers for interrupts.
2022-03-03 14:31:24 +00:00
John Wellbelove
290f7a86ac
Changed atomic timers to use a user supplied atomic semaphore counter.
2022-03-02 19:26:19 +00:00
John Wellbelove
2f91d707cd
Renamed Arduino files to stop PlatformIO getting confused (possibly).
...
Updated Arduino Python script to rename files on copy.
Removed old file.
2022-02-26 11:27:50 +00:00
John Wellbelove
60757a44ab
callback and message timers now uses etl::timer_semaphore_t
2022-02-20 18:49:43 +00:00
John Wellbelove
11b4f669d3
Fixed force C++03 implementation flags
2022-02-15 20:58:06 +00:00
John Wellbelove
e5fd40d82b
Added etl::byte
2022-02-15 16:41:47 +00:00
John Wellbelove
86c0813d93
Added fill() member functions to array_view, circular_buffer, deque, indirect_vector and vector
2022-02-15 10:54:44 +00:00
John Wellbelove
1cdb4c69b6
Final initializer_list updates
...
Added a separate project to test initializer_list
2022-02-14 11:06:09 +00:00
John Wellbelove
117902e39a
Updates to sanity check
...
Added Intel compiler support to MSVC
2022-02-11 21:21:57 +00:00
John Wellbelove
8c45d2cc2a
Added sanity checks for initializer_list
2022-02-11 15:00:35 +00:00
John Wellbelove
64edec227d
Initial code for MSVC, GCC, Clang and ARM6 compilers
2022-02-11 13:40:03 +00:00
John Wellbelove
d0150696a5
Changes for controlling the availability of constexpr algorithms
2022-02-11 09:57:55 +00:00
John Wellbelove
64efb84ec3
Singleton class
2022-02-10 18:40:52 +00:00
John Wellbelove
5da17885be
Sanity check updates
2022-02-10 18:40:27 +00:00
John Wellbelove
c65da15063
Tweak built-in tests
2022-02-06 17:58:22 +00:00
John Wellbelove
87fe3eec2d
Replaced post increment with pre increment
2022-02-03 17:16:26 +00:00
John Wellbelove
791aa97885
Work in progress
2022-02-03 12:40:29 +00:00
John Wellbelove
4b1b6004c6
Final(?) changes
2022-01-29 14:16:26 +00:00
John Wellbelove
68d5f39c7c
Merge branch 'master' into feature/constexpr-for-string_view
2022-01-25 10:49:56 +00:00
John Wellbelove
734e4e654a
Minor changes
...
Modified MSVC compiler C++11 check
2022-01-24 20:15:17 +00:00
John Wellbelove
64b6c20d19
Merge branch 'master' into feature/constexpr-for-string_view
...
# Conflicts:
# include/etl/iterator.h
# include/etl/platform.h
# test/vs2019/etl.vcxproj
# test/vs2019/etl.vcxproj.filters
2022-01-23 18:26:52 +00:00
John Wellbelove
47210b5815
Merge branch 'development'
...
# Conflicts:
# test/vs2019/etl.vcxproj
# test/vs2019/etl.vcxproj.filters
2022-01-23 15:25:37 +00:00
John Wellbelove
13b28387c5
Merge branch 'feature/reduce-size-of-state_chart' into development
2022-01-23 14:23:44 +00:00
John Wellbelove
9dafa0bb70
Merge branch 'feature/reduce-size-of-state_chart' into development
2022-01-23 13:50:31 +00:00
John Wellbelove
2353672b64
Renamed compile time state machine classes
2022-01-23 10:46:35 +00:00
John Wellbelove
4d0682e196
Merge branch 'hotfix/bitset' into development
2022-01-22 16:17:09 +00:00
John Wellbelove
e98270ca60
Bitset updates
2022-01-22 16:16:44 +00:00
John Wellbelove
fc59b4e34e
Latest state chart code
...
Reinstated virtual process_event()
2022-01-20 11:05:37 +00:00
John Wellbelove
9a03489c4c
Fixed casting
2022-01-20 11:05:21 +00:00
John Wellbelove
f3973e4935
Latest state chart code
...
Reinstated virtual process_event()
2022-01-18 20:15:56 +00:00
John Wellbelove
8337c87f16
Initial state_chart changes
2022-01-17 11:19:19 +00:00
John Wellbelove
0a6e22ae2a
Initial state_chart changes
2022-01-15 19:06:20 +00:00
John Wellbelove
c3b603be32
Fixed IAR warnings in binary.h
...
Fixe unaligned type_comment
platform.h comments
Fixed etl_profile.h to native little endian for !C++20 or !STL
2022-01-14 10:08:46 +00:00
John Wellbelove
f58a20294a
Added index operators
...
Split code into type and non-type dependent classes
2022-01-12 18:36:34 +00:00
John Wellbelove
07bda38893
Removed unused code
2022-01-12 18:32:12 +00:00
John Wellbelove
5ceae606dc
Updated project files
2022-01-11 17:45:33 +00:00
John Wellbelove
e09742bf57
Added bit_cast and 8bit byteswap tests
2022-01-11 17:45:14 +00:00
John Wellbelove
17c287af9d
Completed unaligned_type
2022-01-11 17:44:40 +00:00
John Wellbelove
973e0f8ea6
Renamed 8bit check macro
2022-01-10 00:35:02 +00:00
John Wellbelove
6b123e1bdb
Merge branch 'feature/bit_cast-midpoint-lerp' into feature/unaligned-types
...
# Conflicts:
# include/etl/endianness.h
# test/vs2019/etl.vcxproj.filters
2022-01-08 18:53:17 +00:00
John Wellbelove
e6736404ed
Final code after local CI tests
2022-01-08 18:51:35 +00:00
John Wellbelove
a0023aa9aa
Updated tests to support C++20 STL
2022-01-08 12:25:18 +00:00
John Wellbelove
c99d984453
Updates to bin.h, binary.h and endian.h
2022-01-08 11:38:04 +00:00
John Wellbelove
79c659b0bb
unaligned and endianess experiments
2022-01-06 10:18:58 +00:00
John Wellbelove
fdf3ee164f
Disabled C++20 for test
2022-01-03 18:26:48 +00:00
John Wellbelove
4a6d6220e4
Added bit.h and test files
2022-01-03 18:24:05 +00:00
John Wellbelove
dc2ad30294
Iterator is more SFINAE compatible
2022-01-03 18:23:04 +00:00
John Wellbelove
b8579f0151
Initial bit tests
2022-01-03 18:21:45 +00:00
John Wellbelove
dc563239e5
Added all permutations of leading/trailing bit tests
2022-01-03 18:21:19 +00:00
John Wellbelove
7ad3b51308
Added etl::lerp & initial reverse engineered <bit> header
2021-12-31 09:52:02 +00:00
John Wellbelove
4f05600900
Added delegate test from std::function
2021-12-30 09:36:36 +00:00
John Wellbelove
2643f8ef4b
Added etl::midpoint
2021-12-28 18:42:17 +00:00
John Wellbelove
064c7dc16b
GCC fixes for unit tests
2021-12-24 09:25:24 +00:00
John Wellbelove
b98fd16e36
array_view updates
2021-12-22 18:58:15 +00:00
John Wellbelove
de5a90a91c
Added Green Hills compiler to minmax push and pop
...
message_packet updates
message_packet updates
span updates
message_packet updates
message_packet updates
Remove superfluous line
Fixe undefined behaviour in test
2021-12-21 12:04:51 +00:00
John Wellbelove
d5128bed7d
Merge branch 'hotfix/#480-fix-for-double-formatting-with-precision-greater-than-9' of https://github.com/ETLCPP/etl into hotfix/#480-fix-for-double-formatting-with-precision-greater-than-9
...
# Conflicts:
# test/test_to_string.cpp
2021-12-15 19:29:11 +00:00
John Wellbelove
6f6ebe456b
Fix for double formatting with precision > 9 ( #480 )
...
* Add a test that reproduces the double formatting failure
* Fix root cause, restrict precision to 9 on 32 bit platforms, unrestricted on 64 bit
2021-12-15 19:26:17 +00:00
Noah Luskey
36782f77c0
Fix for double formatting with precision > 9 ( #480 )
...
* Add a test that reproduces the double formatting failure
* Fix root cause, restrict precision to 9 on 32 bit platforms, unrestricted on 64 bit
2021-12-15 17:27:57 +00:00
John Wellbelove
4fff144cb8
#482
2021-12-15 12:21:30 +00:00
John Wellbelove
67474499c2
Disable span TContainer constructor for arrays
2021-12-15 12:21:10 +00:00
John Wellbelove
6827a73ff8
Disable span TContainer constructor for arrays
2021-12-14 17:23:26 +00:00
John Wellbelove
d2ba5e9956
Multiple code changes, delegates & timers
2021-12-14 10:52:49 +00:00
John Wellbelove
331e07b272
Multiple code changes, delegates & timers
2021-12-13 17:16:21 +00:00
Noah Luskey
2932af8f93
Fix for double formatting with precision > 9 ( #480 )
...
* Add a test that reproduces the double formatting failure
* Fix root cause, restrict precision to 9 on 32 bit platforms, unrestricted on 64 bit
2021-12-10 08:49:08 +00:00
John Wellbelove
e1e3e7a194
#475 When ETL_NO_ATOMICS is defined the timer.h file should not define timer_semaphore_t
...
#471 Add contains() method to etl::map and etl::set
#477 deque::resize should throw deque_full if requested size is too large
2021-12-05 19:00:20 +00:00
John Wellbelove
06e8aaf8d4
#475 When ETL_NO_ATOMICS is defined the timer.h file should not define timer_semaphore_t
...
#471 Add contains() method to etl::map and etl::set
#477 deque::resize should throw deque_full if requested size is too large
2021-12-05 15:39:11 +00:00
John Wellbelove
6e1e75094f
Re-enable multi_vector
2021-12-04 11:00:51 +00:00
John Wellbelove
c6ff32e901
contains() & transparent comparator
2021-12-04 10:24:04 +00:00
John Wellbelove
4d48082f4f
contains() & transparent comparator for map, multimap, set and multiset
2021-12-01 18:42:22 +00:00
John Wellbelove
85fb83f0be
contains() & transparent comparator for reference set and multiset
2021-12-01 13:19:31 +00:00
John Wellbelove
042da035fa
contains() & transparent comparator for map and multimap
2021-11-27 17:57:51 +00:00
John Wellbelove
015003fa03
contains() for etl::map
2021-11-26 19:35:18 +00:00
John Wellbelove
5fa7ee22ab
Merge branch 'master' into feature/constexpr-for-string_view
...
# Conflicts:
# include/etl/array.h
# include/etl/deque.h
# include/etl/forward_list.h
# include/etl/generators/type_traits_generator.h
# include/etl/list.h
# include/etl/platform.h
# include/etl/vector.h
# meson.build
# test/test_array.cpp
# test/test_deque.cpp
# test/test_flat_map.cpp
# test/test_flat_multimap.cpp
# test/test_flat_multiset.cpp
# test/test_flat_set.cpp
# test/test_forward_list.cpp
# test/test_list.cpp
# test/test_map.cpp
# test/test_multimap.cpp
# test/test_multiset.cpp
# test/test_set.cpp
# test/vs2019/etl.vcxproj.filters
2021-11-26 18:10:57 +00:00
John Wellbelove
9931339605
Fixes for < GCC 8
2021-11-21 18:31:39 +00:00
John Wellbelove
33490aeaef
Fixes for < GCC 8
2021-11-21 18:09:01 +00:00
John Wellbelove
e8b954127a
Fixes for < GCC 8
2021-11-21 17:34:47 +00:00
John Wellbelove
343dabe7e2
Fixes for < GCC 8
2021-11-21 17:29:56 +00:00
John Wellbelove
94575a1ac1
Fixes for Ubuntu 18
2021-11-21 17:09:16 +00:00
John Wellbelove
29c3055310
Fixes for Ubuntu 18
2021-11-21 16:52:33 +00:00
John Wellbelove
3e98f4c537
Fixes for Ubuntu 18
2021-11-21 16:45:37 +00:00
John Wellbelove
4d43d4e8c4
Fixes for Ubuntu 18
2021-11-21 16:32:12 +00:00
John Wellbelove
02cee8c2a3
Fixes for Ubuntu 18
2021-11-21 16:17:23 +00:00
John Wellbelove
2ecc0aa287
Fixes for Ubuntu 18
2021-11-21 14:47:16 +00:00
John Wellbelove
8872b9a0ae
const_iterator parameters for containers
2021-11-20 19:04:39 +00:00
John Wellbelove
11fa2e4e38
Merge branch 'hotfix/remove-template-overload-abiguity' into development
...
# Conflicts:
# include/etl/forward_list.h
# include/etl/list.h
# include/etl/vector.h
# test/test_forward_list.cpp
# test/test_list.cpp
2021-11-19 11:23:50 +00:00
Bo Rydberg
a41418ed91
Fix compile error for vector assign and insert with same type non-iterator ( #466 )
2021-11-19 11:05:04 +00:00
Bo Rydberg
e4431d3940
Fix compile error insert/assign two same types non-iterator ( #467 )
...
Assignent and insert_after of count and values of same types has to work
2021-11-19 11:04:41 +00:00
Bo Rydberg
94507ad1c6
Fix list insert and assign errors ( #468 )
...
Also fixing some test asserts related to etl::list.
2021-11-19 11:04:10 +00:00
John Wellbelove
642e36a9c4
Modified deque const_iterator to iterator
2021-11-18 12:58:33 +00:00
John Wellbelove
5baa1af862
Make functions for containers
2021-11-18 12:26:15 +00:00
John Wellbelove
0579ceac76
Array test with movable type
2021-11-18 12:26:15 +00:00
John Wellbelove
52586af2de
Latest implementations
2021-11-18 12:26:15 +00:00
John Wellbelove
8fc7e0208a
Added 'make' functions to construct containers
...
Added tests for 'make' and 'template deduction'
2021-11-18 12:26:13 +00:00
John Wellbelove
d93834ed83
constexpr for enum_type
2021-11-18 12:25:31 +00:00
John Wellbelove
58013e8257
changed iterator parameters to const_iterator
2021-11-17 17:59:57 +00:00
Steffen Zimmermann
d05bf1b4fd
let map/multimap/set/multiset return iterator on erase ( #463 )
...
Beginning with C++11, erase(iterator) and erase(const_iterator) returns
an iterator following the removed element.
2021-11-15 10:26:23 +00:00
John Wellbelove
8f02e90735
Experimental automatic builtins for algorithms
2021-11-15 09:37:21 +00:00
John Wellbelove
e296bd24f7
Make functions for containers
2021-11-15 09:32:50 +00:00
John Wellbelove
792cc0b57d
Array test with movable type
2021-11-15 09:32:12 +00:00
John Wellbelove
d03e6f5587
Latest implementations
2021-11-15 09:32:12 +00:00
John Wellbelove
84974acbfa
Added 'make' functions to construct containers
...
Added tests for 'make' and 'template deduction'
2021-11-15 09:32:11 +00:00
John Wellbelove
bb72ded2e2
constexpr for enum_type
2021-11-15 09:31:30 +00:00
John Wellbelove
29d711003f
Added non-const string pointer overload
2021-11-15 09:31:30 +00:00
John Wellbelove
f459c3e190
First experiments
2021-11-15 09:31:30 +00:00
John Wellbelove
1b7a59be92
Added non-const string pointer overload
2021-11-06 16:45:06 +00:00
John Wellbelove
dd77b4ec70
First experiments
2021-11-04 12:15:14 +01:00
Sergey Skorokhod
43b041cbfb
Meson tests & style fix ( #447 )
...
* meson tests fix
* missed unit-tests added into meson.build
* fix use_stl option
* meson style fix
* test
* bugfix
Co-authored-by: Sergey Skorokhod <s.skorokhod@1440.space>
2021-10-25 10:36:11 +01:00
John Wellbelove
03bf749654
Merge branch 'hotfix/skorokhod-meson_tests_fix' into development
...
# Conflicts:
# meson.build
2021-10-25 10:11:57 +01:00
John Wellbelove
76f2a97d87
Experimental automatic builtins for algorithms
2021-10-25 09:56:40 +01:00
Sergey Skorokhod
16045432b7
Meson tests & style fix ( #447 )
...
* meson tests fix
* missed unit-tests added into meson.build
* fix use_stl option
* meson style fix
* test
* bugfix
Co-authored-by: Sergey Skorokhod <s.skorokhod@1440.space>
2021-10-22 18:39:26 +01:00
John Wellbelove
690044e7ff
constexpr for etl::string_view
2021-10-21 09:31:49 +01:00
John Wellbelove
998322d02c
Add available_bytes to byte_stream_reader & byte_stream_writer
2021-10-21 09:26:20 +01:00
John Wellbelove
7124b86b88
Merge branch 'hotfix/disable-begin-end-size-for-no-stl' into development
2021-10-20 13:35:08 +01:00
John Wellbelove
f3bf0dc7fe
Disable etl::begin(), etl::end() and etl::size() for ETL_NO_STL
2021-10-20 13:34:44 +01:00
John Wellbelove
4bedc041d4
Various updates
2021-10-12 17:52:51 +01:00
John Wellbelove
6af5a0bbd2
Added missing explicit initialisation from in_place structures.
2021-10-12 14:56:01 +01:00
John Wellbelove
dc34be793e
Added missing explicit initialisation from in_place structures.
2021-10-12 14:51:39 +01:00
John Wellbelove
67067605a8
Updates to delegate
2021-10-11 12:32:17 +01:00
John Wellbelove
db46cc5dec
Added set() member functions
2021-10-09 14:28:37 +01:00
John Wellbelove
0d612f1317
Added missing read() member functions in byte_stream_reader
...
Updated version numbers
2021-10-07 15:11:43 +01:00
John Wellbelove
c1c5fbb7f1
Updated sanity checks
2021-10-05 17:00:22 +01:00
John Wellbelove
2d64b77e4a
Modified read_unchecked & write_unchecked
...
Added start/length read/write implementations
2021-10-05 14:24:46 +01:00
John Wellbelove
4e4c781e18
Updated versions
2021-10-04 20:00:45 +01:00
John Wellbelove
609c0c1ebc
Merge branch 'feature/#430-add-peek-to-queue_spsc_atomic' into development
...
# Conflicts:
# .gitignore
2021-10-04 17:30:55 +01:00
John Wellbelove
4b67f54f1f
Added read_unchecked & write_unchecked
2021-10-04 16:59:42 +01:00
John Wellbelove
71f42a7563
Merge branch 'feature/#429-scatter-gather-span-based-class' into development
...
# Conflicts:
# .gitignore
# include/etl/byte_stream.h
# test/vs2019/etl.vcxproj.filters
2021-10-03 20:26:20 +01:00
John Wellbelove
605655d58b
Added multi_span iterator and tests
2021-10-03 20:19:15 +01:00
John Wellbelove
08e08b9165
Merge branch 'feature/#433-pool-ext-variant-pool-ext' into development
...
# Conflicts:
# .gitignore
2021-10-03 16:10:28 +01:00
John Wellbelove
ec64141598
#438 void* reader writer API
2021-10-03 15:38:50 +01:00
John Wellbelove
aaa00ca610
Added pool_ext & generic_pool_ext
2021-10-03 11:50:40 +01:00
John Wellbelove
21dc9276b1
Merge branch 'feature/#436-clang-format-file' into development
...
# Conflicts:
# test/vs2019/etl.vcxproj.filters
2021-10-02 18:31:06 +01:00
John Wellbelove
4a972db089
Updated to closely match ETL formatting
2021-10-02 17:54:20 +01:00
John Wellbelove
3f79e61f97
Add front() to locked queues
2021-10-02 14:27:23 +01:00
Daniel B
494059fd6b
Feature/pool ext variant pool ext ( #433 )
...
* added threads dependency to meson build because of pthread linkage problems (gcc version Debian 8.3.0-6)
* initial version of generic_pool_ext, pool_ext and variant_pool_ext (extended unit tests)
* format code
* fix test_call_if_and_not_valid_returning_void by moving SetupFixture into namespace (to ensure correct test setup)
Co-authored-by: Daniel B <daniel-brosche@users.noreply.github.com>
2021-10-01 18:46:52 +01:00
John Wellbelove
c691991538
Removed warning from compilation
2021-10-01 18:41:35 +01:00
John Wellbelove
05f17e1d74
#428 byte_stream_reader can't be used to read a span of const data
2021-10-01 18:41:35 +01:00
John Wellbelove
579527a932
Fixes to byte_stream_reader for const data
2021-10-01 18:41:35 +01:00
fractalembedded
71c8544f35
Add peek to queue_spsc_atomic ( #430 )
2021-10-01 18:41:16 +01:00
John Wellbelove
817ae15c7a
Work in progress
2021-10-01 14:10:14 +01:00
John Wellbelove
b47e58a8fe
Merge branch 'hotfix/byte_stream_reader-with-const-char-data' into development
2021-09-29 18:50:01 +01:00
John Wellbelove
b9b7b9cd7a
#431 CMSIS-RTOS2 support
2021-09-28 18:06:30 +01:00
John Wellbelove
9f976d98b9
#428 byte_stream_reader can't be used to read a span of const data
2021-09-24 09:44:49 +01:00
John Wellbelove
49c9393537
Fixes to byte_stream_reader for const data
2021-09-23 11:49:16 +01:00
John Wellbelove
f2b4eef277
Temporarily disable multi_vector
2021-09-21 11:06:44 +01:00
John Wellbelove
bdf1451655
Added multi_vector
2021-09-10 12:12:18 +01:00
John Wellbelove
7f6548e02b
Added successor handling for accepts
...
Added successor handling for pre-C++17 message router
2021-09-09 16:07:51 +01:00
John Wellbelove
e6c13c75e7
Added result type
2021-09-05 17:39:56 +01:00
John Wellbelove
d55b84212f
Updated version
...
Modified etl::result test
2021-09-05 15:05:47 +01:00
John Wellbelove
aaac4ba97c
Updated version
...
Modified etl::result test
2021-09-05 14:59:17 +01:00
John Wellbelove
81807b2fd2
Added result type
2021-09-04 13:34:02 +01:00
John Wellbelove
ee46d76548
Additional member functions
2021-09-02 16:07:09 +01:00
John Wellbelove
3b112da068
Added call_if and call_or member functions.
2021-09-02 13:04:28 +01:00
John Wellbelove
348015c40d
Modified constant definitions
2021-09-02 13:04:27 +01:00
John Wellbelove
dd19cb2e47
Working code including 64 bit
2021-09-02 13:04:27 +01:00
John Wellbelove
72468bace8
Pre-release code
2021-09-02 13:04:27 +01:00
John Wellbelove
07070085e8
Working code
2021-09-02 13:03:39 +01:00
John Wellbelove
442a76ec46
Fixed incomplete template specialisations in type_traits.h
2021-09-02 13:03:38 +01:00
CanastraRF
988db811c9
literal with suffix ( #416 )
2021-09-02 13:03:38 +01:00
John Wellbelove
3831d4fd68
Added successor call to receive()
2021-09-02 13:03:36 +01:00
John Wellbelove
6fb9357b7c
Added cbegin() & cend()
2021-08-24 12:12:19 +01:00
John Wellbelove
c79802122c
Updated tests
2021-08-23 14:24:02 +01:00
John Wellbelove
5cbe4fb3e1
Read write span ranges
2021-08-22 12:58:32 +01:00
John Wellbelove
133ff78330
Added templated etl::write & etl::read functions for byte stream
2021-08-21 09:54:31 +01:00
John Wellbelove
42d451dc79
Expanded tests and updated make lists
2021-08-20 19:39:49 +01:00
John Wellbelove
ed74f8bc54
Initial byte_stream code
2021-08-20 10:22:44 +01:00
John Wellbelove
4aabb886d0
Updated appveyor configuration
2021-08-14 11:19:14 +01:00
John Wellbelove
963d91df43
Merge branch 'development'
2021-08-13 20:46:42 +01:00
John Wellbelove
a10dfd433a
Issue #413 Queue's pop_into copies rather than moves
2021-08-13 19:21:48 +01:00
John Wellbelove
2f39ebdafd
Expanded compiled variants for scripts
2021-08-13 16:37:47 +01:00
John Wellbelove
417c3b9e77
Expanded compiled variants for scripts
2021-08-13 16:32:43 +01:00
John Wellbelove
6ff560a416
Merge branch 'feature/variadic-message-router' into development
...
# Conflicts:
# .gitignore
# include/etl/bip_buffer_spsc_atomic.h
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
# test/etl_profile.h
# test/runsanitychecks.sh
# test/runtests.sh
# test/vs2019/etl.vcxproj.filters
2021-08-11 15:50:43 +01:00
John Wellbelove
988cd95440
Added C++17 variadic versions of etl::message_router ans etl::fsm
...
Fixed meson.build
2021-08-11 15:48:17 +01:00
John Wellbelove
5904687e6d
Variadic FSM
2021-08-10 20:25:27 +01:00
John Wellbelove
27f5204032
Added 'Force C++03' macro
2021-08-10 11:31:14 +01:00
John Wellbelove
f413fd1a21
Fixes after merge
2021-08-10 11:20:00 +01:00
John Wellbelove
3044fb24f9
Added configuration for forcing C++03 code
2021-08-10 10:49:32 +01:00
John Wellbelove
79ffe63b1c
Refactoring of type traits for GCC compatibility
2021-08-10 10:49:10 +01:00
John Wellbelove
53ad78768f
Changed variant files names
2021-08-10 10:48:11 +01:00
John Wellbelove
b5c282699d
Type traits refactor
2021-08-10 10:46:13 +01:00
John Wellbelove
1789e4937d
Changes before merging to development
2021-08-10 10:38:23 +01:00
Benedek Kupper
7a067ba816
introduce bip buffer spsc atomic ( #402 )
...
Based on the works of Andrea Lattuada and James Munns:
https://blog.systems.ethz.ch/blog/2019/the-design-and-implementation-of-a-lock-free-ring-buffer-with-contiguous-reservations.html
Whose design was inspired by Simon Cooke:
https://www.codeproject.com/Articles/3479/The-Bip-Buffer-The-Circular-Buffer-with-a-Twist
Signed-off-by: Benedek Kupper <benedek.kupper@streamunlimited.com>
2021-08-10 10:38:22 +01:00
John Wellbelove
98cd1e4fe7
Added configuration for forcing C++03 code
2021-08-05 16:53:33 +01:00
John Wellbelove
b779696eb9
Refactoring of type traits for GCC compatibility
2021-08-04 18:47:42 +01:00
John Wellbelove
0d5f30b97e
Merge branch 'master' into feature/bip-buffer-spsc-atomic
...
# Conflicts:
# test/vs2019/etl.vcxproj.filters
2021-08-02 12:22:01 +01:00
John Wellbelove
8c24b42ccf
Type traits refactor
2021-08-01 20:01:29 +01:00
John Wellbelove
8986f80cb0
Merge branch 'development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# meson.build
2021-08-01 19:43:42 +01:00
John Wellbelove
e92f93b57f
Variadic message_packet
2021-07-31 10:38:21 +01:00
John Wellbelove
9fbb6c8008
Type traits refactor
2021-07-29 14:29:00 +01:00
John Wellbelove
734f14a8ec
Changed variant files names
2021-07-29 14:29:00 +01:00
John Wellbelove
031b3e7eda
Changed variant files names
2021-07-29 14:15:49 +01:00
John Wellbelove
fd89f51621
Type traits refactor
2021-07-29 11:34:16 +01:00
John Wellbelove
1702a6e043
Type traits refactor
2021-07-27 18:17:42 +01:00
John Wellbelove
8f570d81cd
Work in progress
2021-07-26 09:29:11 +01:00
John Wellbelove
017095bef3
Merge branch 'master' into development
...
# Conflicts:
# support/Release notes.txt
# test/vs2019/etl.vcxproj.filters
2021-07-23 13:48:52 +01:00
John Wellbelove
7a061a43cd
Altered 'unhandled' delegate to tbe the last in the array for the constexpr vspecialisation.
2021-07-23 12:50:17 +01:00
John Wellbelove
d49c2d28e0
Added compile time constexpr initialisation
2021-07-23 10:21:11 +01:00
John Wellbelove
31c183d8ed
Added etl::conjunction and etl::disjunction tests
2021-07-19 21:56:26 +01:00
John Wellbelove
140c69e6ea
Updated version numbers
2021-07-18 20:22:12 +01:00
John Wellbelove
a7420267a6
Cross compiler compatibity changes
2021-07-18 09:53:13 +01:00
John Wellbelove
e9a9e8d1af
Merge branch 'feature/variadic-variant' into development
...
# Conflicts:
# .gitignore
# arduino/examples/Vector_Examples/Example_Vector_1_simple_use/Example_Vector_1_simple_use.ino
# include/etl/version.h
# library.json
# library.properties
# meson.build
# support/Release notes.txt
# test/vs2019/etl.vcxproj.filters
2021-07-17 23:51:16 +01:00
John Wellbelove
42db0ac199
VS2022 Preview Solution
2021-07-17 23:46:24 +01:00
John Wellbelove
aa98a60822
etl::variant release candidate
2021-07-17 23:45:28 +01:00
John Wellbelove
7b63b567b6
Fixes for cross compiler cmpatibility
...
Added tests for all get<>() functions
2021-07-16 22:21:42 +01:00
John Wellbelove
9c68847c5c
Compiler compatibility changes
2021-07-15 12:57:46 +01:00
John Wellbelove
de1a19775e
Re-enabled all variant unit tests
2021-07-14 12:37:24 +01:00
John Wellbelove
109997b8d6
Work in progress
2021-07-13 17:15:25 +01:00
John Wellbelove
c54bf63a76
Resolved issues with universal references in construction and assignment.
...
Added 'in_place' structures.
Added etl::overload.
Updated sanity check cmake files.
Added alignment for const void.
2021-07-11 20:36:01 +01:00
John Wellbelove
d13bf7d5df
Changes before merging to development
2021-07-06 18:49:27 +01:00
Benedek Kupper
acf4945023
introduce bip buffer spsc atomic ( #402 )
...
Based on the works of Andrea Lattuada and James Munns:
https://blog.systems.ethz.ch/blog/2019/the-design-and-implementation-of-a-lock-free-ring-buffer-with-contiguous-reservations.html
Whose design was inspired by Simon Cooke:
https://www.codeproject.com/Articles/3479/The-Bip-Buffer-The-Circular-Buffer-with-a-Twist
Signed-off-by: Benedek Kupper <benedek.kupper@streamunlimited.com>
2021-07-06 15:42:37 +01:00
John Wellbelove
7f98b3dfc0
Changed script log file name.
2021-07-01 15:06:43 +01:00
John Wellbelove
7bb438bf1b
Added the option to derive etl::message<> from a custom parent class
2021-06-30 20:57:42 +01:00
John Wellbelove
ef6885c02c
Unified vector asserts
2021-06-30 11:25:37 +01:00
John Wellbelove
4a19216ffe
Multi-thread build scripts
2021-06-30 10:14:51 +01:00
John Wellbelove
0b321d21e8
Rebase on master
2021-06-29 20:25:36 +01:00
John Wellbelove
7e9ca31fb1
Updated overloads
2021-06-29 20:04:18 +01:00
John Wellbelove
d566f1ea1a
Latest updates
2021-06-29 20:04:18 +01:00
John Wellbelove
45e3200326
Initial commit
2021-06-29 20:04:17 +01:00
John Wellbelove
e8a6e12ca1
Renamed mem_type to mem_cast
2021-06-29 20:03:55 +01:00
John Wellbelove
eb6d5637d4
Added experimental uni_type
2021-06-29 20:03:55 +01:00
John Wellbelove
8683b51dd3
Added experimental uni_type
2021-06-29 20:03:55 +01:00
John Wellbelove
3afe64dab1
Further updates to mem_type
2021-06-29 20:02:49 +01:00
John Wellbelove
67b17b2635
Added experimental uni_type
2021-06-29 20:02:32 +01:00
John Wellbelove
08f16f99f2
Initial commit
2021-06-29 20:00:43 +01:00
John Wellbelove
7874a93d03
Updated Arduino examples
2021-06-29 19:59:08 +01:00
John Wellbelove
81bba3cc31
Updated Arduino examples
2021-06-29 09:55:19 +01:00
John Wellbelove
2025e6ff9b
Latest updates
2021-06-22 14:18:26 +01:00
John Wellbelove
dddeb3471f
Updates to mem_cast
2021-06-22 14:18:25 +01:00
John Wellbelove
ccc078cc6d
Updates to mem_cast
2021-06-22 14:18:25 +01:00
John Wellbelove
3d8302985f
Renamed mem_type to mem_cast
2021-06-22 14:18:24 +01:00
John Wellbelove
812f95e0c5
Further updates to mem_type
2021-06-22 14:18:24 +01:00
John Wellbelove
16afbd88ab
Interim commit
2021-06-22 14:18:23 +01:00
John Wellbelove
b9ec916b32
Initial commit
2021-06-22 14:18:23 +01:00
John Wellbelove
c992d93bd6
Updates to mem_cast
2021-06-22 14:18:22 +01:00
John Wellbelove
4a9f70cd0c
Renamed mem_type to mem_cast
2021-06-22 14:18:02 +01:00
John Wellbelove
fc6e391cb4
Further updates to mem_type
2021-06-22 14:17:22 +01:00
John Wellbelove
c5fba8fd45
Added experimental uni_type
2021-06-22 14:17:10 +01:00
John Wellbelove
2ef35caa77
Added experimental uni_type
2021-06-22 14:16:49 +01:00
John Wellbelove
36db54dd67
Updated version numbers
2021-06-22 14:13:20 +01:00
John Wellbelove
622eaa4434
Fixed copy and move assignment bug
2021-06-22 14:13:20 +01:00
John Wellbelove
b1f771f6b4
Updated version numbers
2021-06-22 12:04:28 +01:00
John Wellbelove
60b04b55f6
Fixed copy and move assignment bug
2021-06-22 11:00:42 +01:00
John Wellbelove
2e0c2a4099
Merge branch 'master' into feature/variadic-variant
2021-06-17 13:45:57 +01:00
John Wellbelove
e44efd75a7
etl::basic_string::copy is now const and does not affect the 'truncated' flag.
2021-06-17 12:01:04 +01:00
John Wellbelove
afabc049b7
Merge branch 'master' into feature/variadic-variant
...
# Conflicts:
# include/etl/mem_cast.h
# test/test_mem_cast.cpp
# test/test_mem_cast_ptr.cpp
# test/vs2019/etl.vcxproj
# test/vs2019/etl.vcxproj.filters
2021-06-14 18:24:59 +01:00
John Wellbelove
fb54f23e5d
Latest updates
2021-06-12 11:43:32 +01:00
John Wellbelove
208d0c4a26
Added/adjusted 'force C++03' unit test macros
2021-06-03 10:56:08 +01:00
John Wellbelove
177c4d1e79
Added 'at_offset' functions.
...
Changed size for mem_cast_ptr from template parameter fo member variable.
2021-06-02 21:33:08 +01:00
John Wellbelove
e21d3edd6a
Initial commit
2021-05-31 15:55:13 +01:00
John Wellbelove
b19471dc8a
Updates to mem_cast
2021-05-31 10:00:01 +01:00
John Wellbelove
8af219c0b3
Updates to mem_cast
2021-05-30 12:08:03 +01:00
John Wellbelove
abf8d7bb14
Renamed mem_type to mem_cast
2021-05-27 13:23:15 +01:00
John Wellbelove
a5f6d9f033
Further updates to mem_type
2021-05-27 10:41:20 +01:00
John Wellbelove
380fc59b2b
Further updates to mem_type
2021-05-26 22:04:34 +01:00
John Wellbelove
ab7fcbee64
Added experimental uni_type
2021-05-25 23:06:15 +01:00
John Wellbelove
84e1241c39
Added experimental uni_type
2021-05-25 11:02:24 +01:00
John Wellbelove
67c19bb0dc
Fold expression experiment
2021-05-23 20:37:29 +01:00
John Wellbelove
f4060bc9ea
Working. No move functionality.
2021-05-23 16:59:10 +01:00
John Wellbelove
34479a3e31
Working. No move functionality.
2021-05-23 16:10:58 +01:00
John Wellbelove
92515111d9
Interim commit
2021-05-22 20:28:40 +01:00
John Wellbelove
c3bef2c493
Interim commit
2021-05-22 17:11:48 +01:00
John Wellbelove
820bc36aa6
Initial commit
2021-05-21 18:05:02 +01:00
John Wellbelove
0990fa56ee
Fixed sparse histogram class name
2021-05-10 16:18:23 +01:00
John Wellbelove
cf9d46810b
HFSM documentation
2021-04-26 13:51:33 +01:00
John Wellbelove
2e115df488
Merge branch 'feature/Add-hierarchical-FSM-capabilities-to-the-FSM' into development
2021-04-25 15:11:25 +01:00
John Wellbelove
b01d58a21c
Adjustments to code and optimisations
2021-04-25 14:20:29 +01:00
John Wellbelove
7f2ea864e0
Minor changes & renames
2021-04-24 09:25:39 +01:00
John Wellbelove
c5850a005b
Minor changes
2021-04-23 11:58:58 +01:00
John Wellbelove
f85d13660f
Added additional accept() functions.
2021-04-23 11:29:20 +01:00
Jeremy Overesch
2d3b063df6
Add hierarchical FSM capabilities to the FSM. ( #374 )
...
In order to work properly, states with no change need to return ifsm_state::NO_CHANGE rather than their given state id.
Otherwise, when an event isn't handled, it will return the parent state rather than the active state.
Also, in this implementation, a state cannot return a different state during the on_enter_state() function. An assert has been added to check for that.
2021-04-22 08:40:53 +01:00
John Wellbelove
7dfd971b4e
Fixed ETL_ASSERT for non-class types in etl::pool.
2021-04-19 19:21:14 +01:00
John Wellbelove
b4c605c761
Add fix to CI
2021-04-13 16:19:54 +01:00
John Wellbelove
0d6c421fb1
Added etl::erase, etl::erase_if, etl::remove, etl::remove_if
2021-04-13 12:27:11 +01:00
John Wellbelove
32ccdb1bab
Updated for new tests and sanity checks
2021-04-11 20:58:28 +01:00
John Wellbelove
7a603dcb98
Corrected spelling of quantize
2021-04-11 14:38:57 +01:00
John Wellbelove
d0c5004dfb
Updated version and release notes
2021-04-11 10:06:08 +01:00
John Wellbelove
0603794454
Unit tests for algorithms and functors
2021-04-10 16:44:18 +01:00
John Wellbelove
1ac0311cfb
Unit tests for algorithms and functors
2021-04-10 15:21:16 +01:00
John Wellbelove
71d03fa8e2
Removed enable_if in maths algorithms
2021-04-07 10:29:57 +01:00
John Wellbelove
d5634910a4
Added etl::variance
2021-04-06 20:41:08 +01:00
John Wellbelove
40da7ad357
Added population/sample option
2021-04-06 20:19:32 +01:00
John Wellbelove
3ba993cf9f
Added population/sample option
2021-04-06 10:08:26 +01:00
John Wellbelove
203f082c91
Added etl::standard_deviation + corrected covariance
2021-04-05 20:31:20 +01:00
John Wellbelove
3b367ce2b5
Added etl::covariance and etl::correlation
2021-04-05 19:29:19 +01:00
John Wellbelove
1284cab8a7
Added etl::histogram and etl::sparce_histogram
2021-04-04 13:51:25 +01:00
John Wellbelove
f9ad773dc4
Added etl::histogram and etl::sparce_histogram
2021-04-04 11:34:19 +01:00
John Wellbelove
d649f98a58
CMakeLists fix
2021-03-31 14:36:26 +01:00
John Wellbelove
04699093a5
Renamed dectr & dectx files
2021-03-31 09:35:47 +01:00
John Wellbelove
d3d0faa2c1
CRC updates
2021-03-30 19:10:48 +01:00
John Wellbelove
70f0b92a0d
CRC updates
2021-03-29 13:54:12 +01:00
John Wellbelove
b48f84701d
Merge branch 'master' into feature/alternative-crc-tables
2021-03-26 18:42:21 +00:00
John Wellbelove
696d3d8473
Intermediate commit - Passing all tests
2021-03-26 15:53:30 +00:00
John Wellbelove
01685a36e9
Fix return type for const iterator operators from const_iterator to iterator.
2021-03-25 15:19:20 +00:00
John Wellbelove
7e37fcf196
Intermediate commit
2021-03-25 10:22:55 +00:00
John Wellbelove
33f3d21300
Intermediate commit
2021-03-24 12:16:01 +00:00
John Wellbelove
23bf71d06a
Intermediate commit
2021-03-24 09:24:45 +00:00
Chiraffollo
c9b170a05a
Add moveable parameter support to delegate ( #356 )
...
* Add moveable parameter support
* Change std::forward to etl::forward
2021-03-24 08:57:28 +00:00
John Wellbelove
bb9f27bd8d
Merge branch 'master' into feature/add-mathematical-functors
2021-03-16 20:05:32 +00:00
John Wellbelove
36bd492ecf
selection_sort
2021-03-16 20:05:05 +00:00
Bo Rydberg
9b84b19b5f
Feature/make sanity test also run with clang compiler ( #353 )
...
* Cleanup runsanitychecks.sh & runtests.sh with shellcheck
* Add executable writes on runsanitychecks.sh & runtests.sh
for easier use of scripts.
* Correct sanity tests to use gcc and clang compiler
2021-03-15 10:19:18 +00:00
Bo Rydberg
12ac890011
Cleanup runsanitychecks.sh & runtests.sh with shellcheck ( #352 )
...
* Cleanup runsanitychecks.sh & runtests.sh with shellcheck
* Add executable writes on runsanitychecks.sh & runtests.sh
for easier use of scripts.
2021-03-14 18:41:54 +00:00
John Wellbelove
4faf0f4720
Merge branch 'feature/C++98/03_compatibilty' into feature/c++98-03-compatibilty
...
# Conflicts:
# include/etl/array.h
# include/etl/basic_string.h
# include/etl/circular_buffer.h
# include/etl/deque.h
# include/etl/file_error_numbers.h
# include/etl/forward_list.h
# include/etl/indirect_vector.h
# include/etl/intrusive_forward_list.h
# include/etl/intrusive_list.h
# include/etl/limits.h
# include/etl/list.h
# include/etl/private/minmax_pop.h
# include/etl/private/minmax_push.h
# include/etl/string.h
# include/etl/string_view.h
# include/etl/u16string.h
# include/etl/u32string.h
# include/etl/unordered_multimap.h
# include/etl/vector.h
# include/etl/version.h
# include/etl/wstring.h
# library.json
# library.properties
# support/Release notes.txt
# test/test_atomic_clang_sync.cpp
2021-03-14 14:40:00 +00:00
Bo Rydberg
4aa74e35f2
Add free-standing sanity tests for C++03/11/14/17 ( #351 )
...
* Add ETL_CONSTEXPR for state_chart, transision and state constructors.
* Updated versions
* Added ETL_CONSTEXPR
* Added ETL_CONSTEXPR
* Updated version numbers
* Updated version numbers
* Add buffer descriptors
* Issue 297
* Updated version numbers
* Added extra std/etl conversions
* Updated strings
Re-introduced case utilities
Fixed make_string for empty strings
* make_string_view + fix constexpr in flags.h
* 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
* 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
* Fixed warnings
* Disabled ASAN option in Visual Studio project.
* Fix make_string for zero length literals
Remove redundant test support code
* Updated notes
* 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>
* #306-bugfix-to-string-formatting
* Updated version numbers
* Update setup-msbuild to v1.0.2
Updates Actions core toolkit to fix vulnerability on environment/path variable setting.
* circular_buffer_ext
* forward_list_ext
* list_ext
* indirect_vector_ext
* string_ext
* vector_ext
* Updated .leu
* Merge remote-tracking branch 'origin/feature/no-huge-value' into development
* Remove VS2017 project
* Refactor of etl::buffer_descriptors interface
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* clang.yml hack for testing
* clang hack for testing
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Refactor buffer_descriptors test
* Fixed non-initialisation of in_use flag.
* Fixed non-initialisation of in_use flag.
* 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
* 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
* 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
* 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
* 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
* Added AVR compile time switch
* Updated version numbers
* Fixed AVR to __AVR__
* Fixed version number retrieval from Github
* constexpr, template aliases and inline variables
* Updated version numbers
* Added ETL_ASSERT for out-of-order state list.
* issue-314-constexpr
* issue-314-constexpr
* Make modifying constexpr C++14 only
* Make modifying constexpr C++14 only
* Removed double subtraction of float size from 'bits_remaining' for floating point reads
* Added parameterised constructor for etl::format_spec
* Updated version numbers
* 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>
* Minor changes
* Added clang mutex header redirect to GCC implementation
* Updated for automatic detection of <new> or <new.h>
* Updated generators
* Updated generators
* Merge branch 'hotfix/issue-303-etl-not-compatible-with-arduino-ide' into development
# Conflicts:
# support/Release notes.txt
# test/vs2019/etl.vcxproj.filters
* 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.
* Updated version numbers
* Change std::move to etl::move in etl::forward_list
* Create Arduino ZIP
* 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.
* let default assignment operator return a reference to itself (#320 )
The default assignment operator in C++ shall return a reference to *this.
* Arduino compatibility
* Arduino compatibility
* Updated version numbers
* Merge branch 'hotfix/fcs_make_getter_const' into development
* Arduino compatibility
* VS2019 Delegate function interrupt service example
* Removed unused functions
* Added is_random_access_iterator and deprecated is_random_iterator
* Interim commit
* Added etl::for_each
* Added etl::multi_loop
* etl::multi_loop implementation
* Added etl::multi_loop
* Added typedefs
* Latest implementation
* Refactor multi_loop to multi_range
* Moved code lines
* Interim commit
* Interim commit
Refactor of reference counted types.
* Merged shared_message handlers into message_router
* reference_counted_object and reference_counted_message specialisations
* reference_counted_object and reference_counted_message specialisations
* reference_counted_object and reference_counted_message specialisations
* Unknown board is not an error
* Refactored reference_counted_message now contains owner reference
* Added fixed_sized_memory_block_pool and restored imemory_block_pool interface
* message router changes
* Fixed LGT8F macro name clash
* Updated generators
* Updated deque from development
* get_memory_block_size() const
* Updates to pools and memory allocators
* LLVM changes
* Ongoing addition of unit tests
* Added final unit tests
* Added static asserts
* Renamed internal structure
* Minor updates.
* Added virtual function 'void on_task_added()' that is called when a task is added to a shceduler.
* Added virtual function 'void on_task_added()' that is called when a task is added to a scheduler.
* Update version number
* Removed pool_message and non_pool_message
* Added shared_message example
* Added shared_message receive override to messge_bus
* Added shared_message example
* Added memory allocator successor
* Added reference_counted_message specialisation for void counter
* Added lock/unlock interface
* Added lock/unlock example
* Added constructors with deleters for unique_ptr.
* Fixed typos in rvalue constructor
* Added ilockable interface class
* Fixed VS2019 warning for etl::deque iterators.
* Added nullptr check to unique_ptr destructor
* Added nullptr check to unique_ptr destructor.
* Added nullptr check to unique_ptr destructor.
* Added ilockable interface & queue_lockable
* Added nullptr check to unique_ptr destructor.
* Typo in unique_ptr
* Refactored queues
* Added virtual destructor to observer.
Changed C++11 destructors to '= default'.
* Updated version and release notes.
* Added more CMakeLists.txt files for examples
* Added enable_if for container iterator costructors, to exclude integrals from consideration
* Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
* Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
* Squashed commit of the following:
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
* Squashed commit of the following:
commit 007b56d03513887636b84fc246e57d6c4f8b777e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:09:51 2021 +0000
Squashed commit of the following:
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
* Squashed commit of the following:
commit 04ba91bcccc8e12867962bc3746665f430672a23
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sat Feb 6 10:43:34 2021 +0000
Updated shared message unit test
commit fababc5cf748073464b4294a50c201cb0aa4fa13
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Feb 5 09:41:52 2021 +0000
Updated FSM generator
commit ff287bcf0a833ca70933354b42b8b036b422ff81
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Feb 5 09:35:56 2021 +0000
Updated message router generator
commit 52724e1e62b55dad81e2f80dd656026d828b3214
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Feb 4 13:06:50 2021 +0000
Updated unit tests
commit 0d89105262aa050577ccc17ddc6eece9f4fc5d18
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 20:09:35 2021 +0000
Interim commit
commit ce8385ff24826103c7a55267ccf3f8a31f517e0b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:13:29 2021 +0000
Squashed commit of the following:
commit 007b56d03513887636b84fc246e57d6c4f8b777e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:09:51 2021 +0000
Squashed commit of the following:
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
* Squashed commit of the following:
commit 97a6e6a03557359442123d439cef9bdf6dea2d1b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Feb 7 11:02:49 2021 +0000
Squashed commit of the following:
commit 04ba91bcccc8e12867962bc3746665f430672a23
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sat Feb 6 10:43:34 2021 +0000
Updated shared message unit test
commit fababc5cf748073464b4294a50c201cb0aa4fa13
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Feb 5 09:41:52 2021 +0000
Updated FSM generator
commit ff287bcf0a833ca70933354b42b8b036b422ff81
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Feb 5 09:35:56 2021 +0000
Updated message router generator
commit 52724e1e62b55dad81e2f80dd656026d828b3214
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Feb 4 13:06:50 2021 +0000
Updated unit tests
commit 0d89105262aa050577ccc17ddc6eece9f4fc5d18
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 20:09:35 2021 +0000
Interim commit
commit ce8385ff24826103c7a55267ccf3f8a31f517e0b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:13:29 2021 +0000
Squashed commit of the following:
commit 007b56d03513887636b84fc246e57d6c4f8b777e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:09:51 2021 +0000
Squashed commit of the following:
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit 007b56d03513887636b84fc246e57d6c4f8b777e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:09:51 2021 +0000
Squashed commit of the following:
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
* Changed template aliases so they are available for C++11 rather than C++14.
* Changed template aliases so they are available for C++11 rather than C++14.
* Allow default constructed messages for shared messages
* Updated version numbers
* Modified reference_counted_message_pool::allocate() return type
* Modified reference_counted_message_pool::allocate() return type
* Added non-const get_message() member funtions in shared message framework.
* Added update_size() to string API to fix string lengths after insertion of characters by C code.
* Interface for C string handling.
* Fixed indexing error in find_next for etl::bitset.
Added some enum tests for type_traits
* Updated version
* fix bug in ibitset find_next method (#338 )
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
* Merge branch 'hotfix/bitset-iteration-error' into development
* Merge branch 'hotfix/Chiraffollo-fix-find_next' into development
* Updated version
* Fixed indexing error in find_next for etl::bitset.
Added some enum tests for type_traits
* Updated version
* Merge branch 'hotfix/bitset-iteration-error' into development
* fix bug in ibitset find_next method (#338 )
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
* Merge branch 'hotfix/Chiraffollo-fix-find_next' into development
* Updated version
* Added data_end() and renamed trim() to trim_to_terminator()
* Added ETL_CONSTANT to numeric_limits member functions.
* Added uninitialized_resize()
* Updated version numbers
* Added uninitialized_resize() tests to external buffer containers
* Updated example for shared_message
* Updates to etl::shared_message example application.
* Added specialisation of etl::state_chart that allows a parameter to be passed to the event handler.
* Export headers as system includes (#340 )
Gcc doesn't apply warning to system includes paths. This change
allows a project to use high warning levels without getting swamped by ETL
issues.
* Fix extent type conversion warning (#339 )
* Issue #339 - Fix extent type conversion warning
* Merge branch 'feature/state-chart-to-have-optional-data-parameter' into development
* Minor updates to state chart
* Minor updates to state chart
* Fix extent error in clang and gcc
* Fix extent error in clang and gcc
* Initial code
* Fix C++14 only type aliases for STL
* Fix C++14 only type aliases for STL
* Fix C++14 only type aliases for STL
* Fix C++14 only type aliases for STL
* Abstracted unit test framework header
* Initial commit
* Added message_router_registry
* Added message_router_registry
* Added iterators
* Added iterators
* Changed to using etl::flat_multimap
* Updates to message_router_registry
* Remove executable permission on C++ source files (#341 )
* Updated * & -> operators.
* Partial fix to compiling with C++98/03 (#342 )
* Updated version numbers
* Fix default function templates for C++03
* Updated file id macros
* Added ETL_CONSTEXPR to etl::array
* Remove unnecessary template keyword to destroy() call.
* Remove unnecessary template keyword to destroy() call.
* Fix default function templates for C++03
* Correct use of ETL_NULLPTR instead for keyword nulllptr (#346 )
Gives problem in C++98/03 mode.
* Remove etl/ prefix in state_chart.h (#347 )
It's the only file to include internal header files with "etl/... .h".
* Add free-standing sanity tests for C++03/11/14/17
Co-authored-by: John Wellbelove <github@wellbelove.co.uk>
Co-authored-by: Heinz-Peter Liechtenecker <heinz.liechtenecker@gmail.com>
Co-authored-by: Heinz-Peter Liechtenecker <h.liechtenecker@fh-kaernten.at>
Co-authored-by: Steffen Zimmermann <mampfes@users.noreply.github.com>
Co-authored-by: Chiraffollo <ollymarx@web.de>
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
Co-authored-by: Adam Boseley <aboseley@users.noreply.github.com>
2021-03-12 14:13:31 +00:00
John Wellbelove
fb17d48d9b
Add atomic bool to gcc clang implementations
2021-03-12 13:14:02 +00:00
John Wellbelove
487d92bbe3
Merge branch 'feature/message_router_registry' into development
2021-03-09 10:44:29 +00:00
John Wellbelove
57c57eb069
Updated * & -> operators.
2021-03-09 10:44:01 +00:00
Bo Rydberg
369645179f
Remove executable permission on C++ source files ( #341 )
2021-03-09 10:25:15 +00:00
John Wellbelove
6e55cdeea8
Updates to message_router_registry
2021-03-08 20:40:00 +00:00
John Wellbelove
fbc12ca084
Added iterators
2021-03-06 12:58:44 +00:00
John Wellbelove
03f6299d63
Added message_router_registry
2021-03-05 20:34:14 +00:00
John Wellbelove
563fc07186
Added message_router_registry
2021-03-05 20:19:18 +00:00
John Wellbelove
11d0005f1b
Initial commit
2021-03-05 13:52:35 +00:00
John Wellbelove
dbfa71944f
Abstracted unit test framework header
2021-03-05 13:52:34 +00:00
John Wellbelove
8e372fcedc
Initial code
2021-03-02 11:03:26 +00:00
John Wellbelove
0d14b5adfc
Minor updates to state chart
2021-03-01 13:35:48 +00:00
John Wellbelove
123781ebd8
Minor updates to state chart
2021-03-01 13:17:52 +00:00
John Wellbelove
5397239c08
Added specialisation of etl::state_chart that allows a parameter to be passed to the event handler.
2021-02-28 10:43:24 +00:00
John Wellbelove
378e5cbd20
Added uninitialized_resize() tests to external buffer containers
2021-02-22 12:43:24 +00:00
John Wellbelove
ede5a91902
Added uninitialized_resize()
2021-02-22 09:33:12 +00:00
John Wellbelove
99c3bead5a
Added data_end() and renamed trim() to trim_to_terminator()
2021-02-18 12:40:31 +00:00
John Wellbelove
03f7b49ca9
Merge branch 'hotfix/Chiraffollo-fix-find_next' into development
2021-02-17 19:54:29 +00:00
Chiraffollo
f5534fefdf
fix bug in ibitset find_next method ( #338 )
...
Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
2021-02-17 19:54:29 +00:00
John Wellbelove
c6bb73d7d0
Updated version
2021-02-17 19:54:28 +00:00
John Wellbelove
580d9848dc
Fixed indexing error in find_next for etl::bitset.
...
Added some enum tests for type_traits
2021-02-17 19:54:27 +00:00
John Wellbelove
7eaf3e13a7
Interface for C string handling.
2021-02-17 09:02:04 +00:00
John Wellbelove
0ee3574a14
Added update_size() to string API to fix string lengths after insertion of characters by C code.
2021-02-15 13:36:31 +00:00
John Wellbelove
f145b53e80
Added non-const get_message() member funtions in shared message framework.
2021-02-14 11:42:36 +00:00
John Wellbelove
e799f37fac
Modified reference_counted_message_pool::allocate() return type
2021-02-12 20:05:06 +00:00
John Wellbelove
82b25ae9c7
Allow default constructed messages for shared messages
2021-02-12 13:59:39 +00:00
John Wellbelove
97a6e6a035
Squashed commit of the following:
...
commit 04ba91bcccc8e12867962bc3746665f430672a23
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sat Feb 6 10:43:34 2021 +0000
Updated shared message unit test
commit fababc5cf748073464b4294a50c201cb0aa4fa13
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Feb 5 09:41:52 2021 +0000
Updated FSM generator
commit ff287bcf0a833ca70933354b42b8b036b422ff81
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Feb 5 09:35:56 2021 +0000
Updated message router generator
commit 52724e1e62b55dad81e2f80dd656026d828b3214
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Feb 4 13:06:50 2021 +0000
Updated unit tests
commit 0d89105262aa050577ccc17ddc6eece9f4fc5d18
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 20:09:35 2021 +0000
Interim commit
commit ce8385ff24826103c7a55267ccf3f8a31f517e0b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:13:29 2021 +0000
Squashed commit of the following:
commit 007b56d03513887636b84fc246e57d6c4f8b777e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 18:09:51 2021 +0000
Squashed commit of the following:
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
2021-02-07 11:02:49 +00:00
John Wellbelove
007b56d035
Squashed commit of the following:
...
commit 6107c4538be149137209d85e5f41031291bc7150
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Feb 2 12:15:31 2021 +0000
Added move constructor and move assignment to etl::shared_message
commit c9a5716012db9b614ea67660ebf64dcb790ce571
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:36:29 2021 +0000
Squashed commit of the following:
commit e5f4eb6fb38c337c82fcc250f17a8f21eb788975
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:34:49 2021 +0000
Squashed commit of the following:
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
2021-02-02 18:11:11 +00:00
John Wellbelove
e5f4eb6fb3
Squashed commit of the following:
...
commit 23c5f1d3f9b13ff9e46ce3de96aefeb655d5ed97
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Jan 31 12:32:35 2021 +0000
Fixed rollover error for etl::queue_spsc_atomic
Added 'required_alignment' parameter to 'allocate' for etl::imemeory_block_allocator.
Updated QueuedMessageRouter example
2021-01-31 12:34:49 +00:00
John Wellbelove
7bfdb53e0d
Added enable_if for container iterator costructors, to exclude integrals from consideration
2021-01-29 11:33:50 +00:00
John Wellbelove
331a928f3b
Updated version and release notes.
2021-01-27 21:06:58 +00:00
John Wellbelove
20ada628a6
Refactored queues
2021-01-26 19:13:15 +00:00
John Wellbelove
d8ad89c21b
Added ilockable interface & queue_lockable
2021-01-23 14:13:55 +00:00
John Wellbelove
694ff52fdb
Merge branch 'hotfix/add-deleter-constructor-to-unique-ptr' into development
2021-01-21 10:39:46 +00:00
John Wellbelove
503b990514
Added constructors with deleters for unique_ptr.
2021-01-21 10:38:18 +00:00
John Wellbelove
2e7c79ed38
Added reference_counted_message specialisation for void counter
2021-01-19 19:33:36 +00:00
John Wellbelove
7e340f5e71
Removed pool_message and non_pool_message
2021-01-14 13:43:37 +00:00
John Wellbelove
212181a4be
Merge branch 'master' into development
...
# Conflicts:
# .gitignore
2021-01-14 09:31:24 +00:00
John Wellbelove
2c73fdf9ca
Added virtual function 'void on_task_added()' that is called when a task is added to a shceduler.
2021-01-13 09:50:02 +00:00
John Wellbelove
9f0f65b0b4
Renamed internal structure
2021-01-09 12:34:51 +00:00
John Wellbelove
bd263e6510
Added final unit tests
2021-01-07 22:40:51 +00:00
John Wellbelove
2d612b0409
Ongoing addition of unit tests
2021-01-06 21:18:18 +00:00
John Wellbelove
db8841ff0d
Updates to pools and memory allocators
2021-01-06 17:56:24 +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
6e71e05877
Added fixed_sized_memory_block_pool and restored imemory_block_pool interface
2021-01-03 20:15:16 +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
dd9aa7761e
Added etl::multi_loop
2020-12-24 12:32:46 +00:00
John Wellbelove
7ca4890a66
etl::multi_loop implementation
2020-12-24 11:59:52 +00:00
John Wellbelove
0184725feb
Added etl::multi_loop
2020-12-22 12:44:17 +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
45d7186d8a
Removed unused functions
2020-12-22 11:06:00 +00:00
John Wellbelove
e890e3782e
Arduino compatibility
2020-12-20 16:43:49 +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
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
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
8b009a4fa9
issue-314-constexpr
2020-12-03 12:06:32 +00:00
John Wellbelove
3dd45ca504
issue-314-constexpr
2020-12-03 11:55:12 +00:00
John Wellbelove
4bcd734dad
Added ETL_ASSERT for out-of-order state list.
2020-12-02 13:45:07 +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
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
dceb56dd1a
Fixed non-initialisation of in_use flag.
2020-11-24 19:27:18 +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
49c60add63
Refactor buffer_descriptors test
2020-11-24 18:44:42 +00:00
John Wellbelove
7bda767831
Refactor buffer_descriptors test
2020-11-24 18:29:02 +00:00
John Wellbelove
7a68c932a7
Refactor buffer_descriptors test
2020-11-24 18:14:30 +00:00
John Wellbelove
a9b25ac67d
Refactor buffer_descriptors test
2020-11-24 18:08:21 +00:00
John Wellbelove
0c721c0466
Refactor buffer_descriptors test
2020-11-24 17:58:22 +00:00
John Wellbelove
4b2dd2fce2
Refactor buffer_descriptors test
2020-11-24 17:47:43 +00:00
John Wellbelove
80d5776c40
Refactor buffer_descriptors test
2020-11-24 17:32:27 +00:00
John Wellbelove
3564ac5b7e
Refactor buffer_descriptors test
2020-11-24 17:17:50 +00:00
John Wellbelove
297ef42c60
Refactor buffer_descriptors test
2020-11-24 17:08:45 +00:00
John Wellbelove
658d592c96
Refactor buffer_descriptors test
2020-11-24 16:58:52 +00:00
John Wellbelove
e97d8f90d5
Refactor buffer_descriptors test
2020-11-24 16:48:52 +00:00
John Wellbelove
e381481d4b
Refactor buffer_descriptors test
2020-11-24 15:07:42 +00:00
John Wellbelove
7e9df3d9e2
Refactor buffer_descriptors test
2020-11-23 20:30:28 +00:00
John Wellbelove
6c9abffada
Refactor buffer_descriptors test
2020-11-23 20:17:52 +00:00
John Wellbelove
eab6a77207
Refactor buffer_descriptors test
2020-11-23 20:15:14 +00:00
John Wellbelove
e80c517896
Refactor buffer_descriptors test
2020-11-23 19:49:16 +00:00
John Wellbelove
43b6ae0a32
Refactor buffer_descriptors test
2020-11-23 19:40:52 +00:00
John Wellbelove
d33d32be23
Refactor of etl::buffer_descriptors interface
2020-11-23 12:33:04 +00:00
John Wellbelove
56192a06aa
Remove VS2017 project
2020-11-22 20:06:26 +00:00
John Wellbelove
da7079bd7b
Merge remote-tracking branch 'origin/feature/no-huge-value' into development
2020-11-21 12:58:44 +00:00
John Wellbelove
1fe5e9a07a
Updated .leu
2020-11-21 12:14:29 +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
569d7ea896
#306-bugfix-to-string-formatting
2020-11-19 11:15:10 +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
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
9e389e280f
Add buffer descriptors
2020-11-04 13:19:36 +00:00
John Wellbelove
a1aaa5dbb6
Added ETL_CONSTEXPR
2020-10-31 18:38:08 +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
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
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
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
75c528979e
Added [] operator and available()
2020-10-23 20:01:51 +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
0c99ef5282
circular_buffer (no copy or assignment)
2020-10-20 11:02:44 +01:00
John Wellbelove
c31e5c83e7
Added uninitialized_buffer
2020-10-19 08:40:51 +01:00
John Wellbelove
89adab63d9
Initial implementation
2020-10-19 08:40:01 +01:00
John Wellbelove
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
2ea2e9a5d5
Squashed commit of the following:
...
commit 0bd0067022994f359c3bd68a7d34056f3a4de2f0
Merge: 3973ac2d 35cfa526
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 18:18:20 2020 +0100
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
commit 35cfa5263d0bbc936ead29f69fa05f1c419311c3
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 18:00:04 2020 +0100
Add VS2019 configuration to Github CI
commit d894b9c422868400ac14cbb9a7b3ba12022e1021
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 17:56:13 2020 +0100
Add VS2019 configuration to Github CI
commit c5f296bab9558c0655ebb84621eda0f4679da547
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 17:46:09 2020 +0100
Add VS2019 configuration to Github CI
commit 2f1635f894cb82577603740eeb709979460b1cb7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 17:41:55 2020 +0100
Add VS2019 configuration to Github CI
commit caabbba35746d7278bde9385c02de424a3bdb6e3
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 17:41:01 2020 +0100
Add VS2019 configuration to Github CI
commit 2df9504d74a6838a7294320c251f48501bcc9551
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 17:27:20 2020 +0100
Add VS2019 configuration to Github CI
commit 70031f2d30cb8935e879340a047fa6ce4751b89d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 17:24:42 2020 +0100
Add VS2019 configuration to Github CI
commit 534d5965076aced7b72c4301fd01f00df1825683
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 12:05:51 2020 +0100
Add VS2019 configuration to Github CI
commit fbb7e467833e57054beb03e98bf8981eb9c81d5d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 11:35:17 2020 +0100
Add VS2019 configuration to Github CI
commit 00d27fce28fd209550aa89e6a058959521abf341
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 11:09:37 2020 +0100
Add VS2019 configuration to Github CI
commit 4b2662d33c47cb04793e1141778ba09230e26378
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 11:02:15 2020 +0100
Add VS2019 configuration to Github CI
commit ce9526dcb915463f280c238f3c0e2ce3c48c4a4d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 10:51:23 2020 +0100
Add VS2019 configuration to Github CI
commit e0edc9824d91763c29907ac555cfeffc5ab3fd62
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 10:29:41 2020 +0100
Add VS2019 configuration to Github CI
commit 0f8b95c7b4fd81dc626f5436c7e6aa04612d4519
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 09:56:34 2020 +0100
Add VS2019 configuration to Github CI
commit f4148c647b890cf53501f1923d5a4605372e66ee
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 09:49:55 2020 +0100
Add VS2019 configuration to Github CI
commit 3973ac2dc354a3f4af2bc010fa5f7686f213f652
Author: Alastair Bain <45587683+thealastair@users.noreply.github.com>
Date: Fri Oct 2 21:39:03 2020 +1300
Fix missing empty define of ETL_OBJECT_RESET_DEBUG_COUNT (#280 )
commit 7c07b112a019e25c284b39aeb168118830df6f77
Author: John Wellbelove <jwellbelove@users.noreply.github.com>
Date: Wed Sep 30 11:35:57 2020 +0100
Updated badges
commit 31e84421d86ad709651dd449d23910272a0b49db
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Fri Oct 2 09:40:02 2020 +0100
Add VS2019 configuration to Github CI
commit 38d3cd35953c8d6e7057ecda431a68ee705a6587
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 19:42:57 2020 +0100
Add VS2019 configuration to Github CI
commit c87fe057b3e374f8a3936b068d46ee6d6def002f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 19:36:28 2020 +0100
Add VS2019 configuration to Github CI
commit 290f34535b639edc364821308f3d8388be85bb10
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 19:30:46 2020 +0100
Add VS2019 configuration to Github CI
commit 5d15f8fb44be7ae37a1166aca12f27ea8dbbcef8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 18:27:00 2020 +0100
Add VS2019 configuration to Github CI
commit eb1dd7e473ae25044d5642457424eca82b214aee
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 18:19:45 2020 +0100
Add VS2019 configuration to Github CI
commit 2f7d60d9975a81feb2e0f2e7fa71946015e34ac0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 18:17:16 2020 +0100
Add VS2019 configuration to Github CI
commit 37c562538796cac192dc30e7d16839d7cc07711d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 18:07:40 2020 +0100
Add VS2019 configuration to Github CI
commit ded6aed47387230296101569efb833240167c902
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 18:02:57 2020 +0100
Add VS2019 configuration to Github CI
commit 24d7f467b84008da974f462c354913b9dc622d48
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:55:27 2020 +0100
Add VS2019 configuration to Github CI
commit e35417871887a6fe9aeaaa59b01c27e4dfe12ef1
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:51:31 2020 +0100
Add VS2019 configuration to Github CI
commit 9f2bfa17a6604bfecfcdd7fa1f418a2f474f07b7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:44:29 2020 +0100
Add VS2019 configuration to Github CI
commit 29aa68326e6c354b978193044d71b6b68aca92fa
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:41:41 2020 +0100
Add VS2019 configuration to Github CI
commit 56caea01bdf6b2ec3cd52c53b2e50d884ac563b4
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:37:05 2020 +0100
Add VS2019 configuration to Github CI
commit 78c5a82ffc10a1e20b7a89d3276e077b3b0654c7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:32:06 2020 +0100
Add VS2019 configuration to Github CI
commit a5b6dc79609c088fe5db4d31caf2480198586fdb
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:26:48 2020 +0100
Add VS2019 configuration to Github CI
commit a36b45cdb375a61c17b5c9218ecd1b71689033a7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:22:58 2020 +0100
Add VS2019 configuration to Github CI
commit 3bddc4ff1cfbf96a12fea4ff470964710f687673
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:21:36 2020 +0100
Add VS2019 configuration to Github CI
commit 331513c3e09008976e1d86ccdb0a18301a4ed96c
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:19:46 2020 +0100
Add VS2019 configuration to Github CI
commit 845d6902f119d978308408200edeec2b2dc3f9f3
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:15:34 2020 +0100
Add VS2019 configuration to Github CI
commit 811cbcfedf881a42af7f754a3b1256c3661f1636
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:13:13 2020 +0100
Add VS2019 configuration to Github CI
commit 2a677f99aa99993264b471834ce705cc4e4ef3e5
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:06:40 2020 +0100
Add VS2019 configuration to Github CI
commit 19fbfe774fd1761eb4a3e833697d3d13ed7c8c71
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:04:02 2020 +0100
Add VS2019 configuration to Github CI
commit 8dc0db48f214a9a0bb6891a4abfdc1f47ed8a19f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:01:59 2020 +0100
Add VS2019 configuration to Github CI
commit af226c09a09b7de850f4b0c0bec90ab4677dee49
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 17:00:19 2020 +0100
Add VS2019 configuration to Github CI
commit e3f4d3536c853aa154c2f01e211f1adfa35d61d7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 16:57:13 2020 +0100
Add VS2019 configuration to Github CI
commit 048c367ad072ab2a9f88324cff176813d6f68b83
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 16:53:21 2020 +0100
Add VS2019 configuration to Github CI
commit 373c90c5532759a1fd81c8f5b8ff6e9b71157557
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 16:50:37 2020 +0100
Add VS2019 configuration to Github CI
commit 362e5131f817273cfa2d688ec2d68a45fecb6775
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 16:49:22 2020 +0100
Add VS2019 configuration to Github CI
commit 2a4756d6422eabfbcb1d0416b9352d9eb9bfbcbb
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 11:59:29 2020 +0100
Add VS2019 configuration to Github CI
commit 45573dbd85d65cd5ce1e2907e010902c78e30d05
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 11:57:52 2020 +0100
Add VS2019 configuration to Github CI
commit 17f2f66932440dc703ea206e348fb7787cf08265
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 11:56:18 2020 +0100
Add VS2019 configuration to Github CI
commit bb9b00c8c9c1a99a404f3a512764602881e3ab57
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 11:55:11 2020 +0100
Add VS2019 configuration to Github CI
commit c21cbbd8a94cec1672b1ff09c94b4716ac86c74c
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 11:39:40 2020 +0100
Add VS2019 configuration to Github CI
commit be8679bb571db37062d166e04e79f16231820025
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 11:32:19 2020 +0100
Add VS2019 configuration to Github CI
commit 5fdf89db4827f6fff74b8883aa0671a5aeb4a503
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:43:31 2020 +0100
Add VS2019 configuration to Github CI
commit 7dc4d0ad941896eb5f2ca85758c0351673634c6d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:41:32 2020 +0100
Add VS2019 configuration to Github CI
commit bc993027bf80fb23924d33ffddef92f2004e2a2d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:36:45 2020 +0100
Add VS2019 configuration to Github CI
commit be2a660a62a485148d4d1a2b2dcdb12edc58860f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:25:25 2020 +0100
Add VS2019 configuration to Github CI
commit 8e67b682452640fa7f6dbe968de06b4813b02bd8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:23:24 2020 +0100
Add VS2019 configuration to Github CI
commit 6cb4d8829d96863e4992efb3cf4fa03acb31ec11
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:18:59 2020 +0100
Add VS2019 configuration to Github CI
commit 646f95505ae4159a9f59edf9f42a8a67e4849a13
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:16:52 2020 +0100
Add VS2019 configuration to Github CI
commit 2654f52cdd3b497e277d3ccf2ac7e242e899a7be
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:12:33 2020 +0100
Add VS2019 configuration to Github CI
commit 698094c422b9f76697641e20782b82ab2d3d7891
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:11:07 2020 +0100
Add VS2019 configuration to Github CI
commit 0b23e71578d402d49e3f31259dcd3d17b0ca6ac9
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 10:05:20 2020 +0100
Add VS2019 configuration to Github CI
commit a08366166648d9411424493c89e06a55f844acb8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 09:57:29 2020 +0100
Add VS2019 configuration to Github CI
commit 2bedbdf699e9d3bf990c3066425a88146c01cda3
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Thu Oct 1 09:57:20 2020 +0100
Add VS2019 configuration to Github CI
commit 6a1a2d56e576690ec5d439e6a5eb8f4f2292f69a
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:57:14 2020 +0100
Add VS2019 configuration to Github CI
commit 1d993142542b20c85de8528c5a6e2fe6f84dd25c
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:50:10 2020 +0100
Add VS2019 configuration to Github CI
commit 3f37897a4868d46b0f5469482bd5212967367184
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:48:07 2020 +0100
Add VS2019 configuration to Github CI
commit fa3926bacf423407e4024461d24da739d28af3d9
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:47:26 2020 +0100
Add VS2019 configuration to Github CI
commit 1cd30b7e8ed6e7d5dd6872e305cd3e286cb7cd79
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:45:58 2020 +0100
Add VS2019 configuration to Github CI
commit db74e54c870d64c581061554350b3a6d29f543f3
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:44:00 2020 +0100
Add VS2019 configuration to Github CI
commit 78aa39ced507c275665b4ba05053b129c86339f6
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:43:27 2020 +0100
Add VS2019 configuration to Github CI
commit a4154b27dd4381b1e2a542498b43be7f521aca52
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:27:35 2020 +0100
Add VS2019 configuration to Github CI
commit cf4fe76427381232593e7e9ef1a497228d376aaf
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 19:18:05 2020 +0100
Add VS2019 configuration to Github CI
commit 3819cf1bb7f062249c1550425a1c8e4639c9c5b7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 18:56:15 2020 +0100
Add VS2019 configuration to Github CI
commit 9ce21707b4ad9612b9710c371d89b1096a73cbdc
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 11:31:21 2020 +0100
Add VS2019 configuration to Github CI
commit c27f14479b246d68aa07f0513f9343206275e199
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 11:27:44 2020 +0100
Add VS2019 configuration to Github CI
commit 1a90c1e3d171fbe438380dbb19586f92125e0f4b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 11:12:02 2020 +0100
Updates to CI configuration files to compile 'No STL' variants of the tests.
commit 7f256f6b94c97770aa64c5bfa2876e43b0a4ce11
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 10:49:53 2020 +0100
Add No STL variants to Github CI
commit 22bbb8cb946afa523c7e676b8d071e62ff9ec427
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 10:09:48 2020 +0100
CMakeLists test
commit a2ed867e371d1008e140807cee6321c4a03d7a47
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 09:55:20 2020 +0100
CMakeLists test
commit 133c5fff77f9732bf9a4af790cfc8b77a98e6006
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 09:53:29 2020 +0100
CMakeLists test
commit 3b4e92ce9a1822adb194e8de133bbf578a0d9113
Author: John Wellbelove <jwellbelove@users.noreply.github.com>
Date: Wed Sep 30 10:36:54 2020 +0100
Create FUNDING.yml
Help keep the ETL active by supporting development
commit 22d38712c22e4e51fa1c89abe11a9c532fa160ed
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Sep 30 09:42:00 2020 +0100
CMakeLists test
commit df23e2d750d7ec247001a29c53bbe19508c87bef
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 13:15:37 2020 +0100
Conditionally disable template deduction guide tests
commit a5e02be012ac8122ac65ebb610da2f1a1bffd9c5
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 13:00:51 2020 +0100
Conditionally disable template deduction guide tests
commit c2e185cf5680c8e64060845ced810520de13e7a0
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 12:51:23 2020 +0100
Conditionally disable template deduction guide tests
commit 8296ec2b5c78283a5f3e4e75624505eacb3dc319
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 20:05:33 2020 +0100
Add VS2019 configuration to Github CI
commit 5550500e7b7ebc6a9d450239ce5c1482a737b39f
Merge: b99b52c3 e337689e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 19:56:03 2020 +0100
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
commit b99b52c39dcae34ae7ac5daaedd21b9b62bb2bd8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 19:52:00 2020 +0100
Update main.yml
commit be5935787a934b8275e093344e4a3303f15d9468
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 12:49:22 2020 +0100
Conditionally disable template deduction guide tests
commit 9e7cae7a02adf40379fa720979ff550d37a9643a
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 12:24:54 2020 +0100
Conditionally disable template deduction guide tests
commit 713031a514b9781fc1bfa08ecfc62ed3b82e9388
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Sep 29 12:09:49 2020 +0100
Conditionally disable template deduction guide tests
commit 67a67c18a32ef2b9ed2e4d2b1e894a0e88f7a6af
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Mon Aug 17 16:43:14 2020 +0100
Github actions for MSVC
commit 063eae98782a51236294b96d05539ed5c23fe6ec
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Mon Aug 17 16:39:40 2020 +0100
Github actions for MSVC
commit 609a7008d7e2400940dd99e89e07afc796b53a62
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Mon Aug 17 16:26:48 2020 +0100
Github actions for MSVC
commit 6e649f98ba4a95713b0c0b09272ff2591dbcb0c5
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 19:55:16 2020 +0100
Github actions for MSVC
commit 49735baa6d1940dd52d72b7f14333f364afa95a1
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 19:27:45 2020 +0100
Github actions for MSVC
commit 347565bb802b416f15e7860592279a0c62be3610
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 19:24:40 2020 +0100
Github actions for MSVC
commit 63e35414933b19d178b6729e9db737473d505956
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 19:18:43 2020 +0100
Github actions for MSVC
commit 2c10a814e9a1838f11acbc3d6e026123a8a1375e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 19:06:56 2020 +0100
Github actions for MSVC
commit 99200936817d794172a02e832373f16094fae26e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 19:03:05 2020 +0100
Github actions for MSVC
commit d592d059139eb7818a8c975e9e0e84ff8f07cda8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 18:59:30 2020 +0100
Github actions for MSVC
commit 32b003629cc6bfa08ad17561324f3df5bcb5cd27
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 18:54:11 2020 +0100
Github actions for MSVC
commit 4b485bc038e1624023af604fa2403107dfbe877f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 15:45:58 2020 +0100
Github actions for MSVC
commit 8e154a75ce86a4baa0e5c8497519f663c0eca66f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 15:33:56 2020 +0100
Github actions for MSVC
commit cebf7ea072e4e101695d011afcf77ec21aacad81
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 15:12:30 2020 +0100
Github actions for MSVC
commit 7dc4f772360cebb43df3901c0129007f8f17930a
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 14:41:42 2020 +0100
Github actions for MSVC
commit 7d7dd89c703dcc6d23a8d0c83b727cc9df7b71f5
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sun Aug 16 11:32:23 2020 +0100
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.
commit bb52c37eca73b114820cb131641397ce9764b85b
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Sat Aug 15 21:00:18 2020 +0100
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.
commit dc501fa2c477ee37b79c4dbe6eca0ed92fa96115
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Aug 12 10:26:39 2020 +0100
Github actions for MSVC
commit b8389c71348bee12c60d77f2b4c240670e931ea2
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Aug 12 10:23:56 2020 +0100
Github actions for MSVC
commit 2ea9aece4fe9df2a80b9264d1aea2fc497467bdb
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Wed Aug 12 10:17:51 2020 +0100
Github actions for MSVC
commit 8577e8e5f22ffe6c7dec111ed4383f16ad6b3d74
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 20:04:59 2020 +0100
Github actions for MSVC
commit d6e3db0b9f2762318d4accb3f7b04bc8be0a16af
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 20:00:57 2020 +0100
Github actions for MSVC
commit d2c5b761e53f62929ad179e79435c9c8eb30c1ba
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 19:49:41 2020 +0100
Github actions for MSVC
commit 3ea20255e1bc77e77bf759008dc626c79f30415e
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 19:36:12 2020 +0100
Github actions for MSVC
commit 1b396679ebcf7768f301c37dfe5baedb489fa5a8
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 19:31:55 2020 +0100
Github actions for MSVC
commit db1a9790e0dfe0999cd9e3b222d32b3bbcb6ce7a
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 12:22:39 2020 +0100
Github actions for MSVC
commit 662dd6ea24f2ca315668a362a6ff0b76f1d353ec
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 12:14:51 2020 +0100
Github actions for MSVC
commit fdb0f64ec9f22caf398d128a81f97abcba7bd256
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 12:11:52 2020 +0100
Github actions for MSVC
commit 35a2fc91aa142246c5d7d10970b0e8f326d4f681
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 12:06:40 2020 +0100
Github actions for MSVC
commit 79f3148eb3c4b050da3e1d2bfc4b3c7b4dfc32f6
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 11:06:29 2020 +0100
Github actions for MSVC
commit 208f0c2fb61b8a9b5d1bb214e9358d1bbacaac70
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:57:32 2020 +0100
Github actions for MSVC
commit 5d9bbf2672e49d2b4729b80ee9c763aa7c730e00
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:52:09 2020 +0100
Github actions for MSVC
commit 6a2ce5e8c44ad68a14eda365cfa75e46b24cf08c
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:49:24 2020 +0100
Github actions for MSVC
commit c4f59bc20024120034212290488fa67e2035958a
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:38:44 2020 +0100
Github actions for MSVC
commit 5cf076d61ed070dcf7bb03fc838c5d4cf9e96a24
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:35:19 2020 +0100
Github actions for MSVC
commit 731167fff6854d849be770bb6e6b32d2f64bc256
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:32:20 2020 +0100
Github actions for MSVC
commit e3d23f95bb85b5762c7f64c4c82d9ba698f6fdbc
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:30:13 2020 +0100
Github actions for MSVC
commit d887d110357d2bfee6073c1a2c733c8493155791
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:27:40 2020 +0100
Github actions for MSVC
commit 346abe9a691b5b64f96a5a6de7a60cc317c40380
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:21:39 2020 +0100
Github actions for MSVC
commit 192a851577fa3320833f60afe3e8e4a0d2e82edb
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:18:38 2020 +0100
Github actions for MSVC
commit c0590bf52d0c074c868123629e8156caf081ae5d
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:16:01 2020 +0100
Github actions for MSVC
commit 9724a0fe3fd58978651ddd6276342559790ec6d7
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:07:52 2020 +0100
Github actions for MSVC
commit a9d39153e57abf527f1a1105ae07e666c13bacfd
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:03:20 2020 +0100
Github actions for MSVC
commit b971037ce5ae046778a98d8cdd3d51620b312644
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 10:02:06 2020 +0100
Github actions for MSVC
commit 44e2730baa0cab5e2f365bc88347ce85f692e019
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 09:58:08 2020 +0100
Github actions for MSVC
commit 1a3a2ce5cbe3095db2291b4193550ae2bfe684c3
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 09:54:08 2020 +0100
Github actions for MSVC
commit 367f96552e14745bdb53999ea01729b9631f042f
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 09:53:29 2020 +0100
Github actions for MSVC
commit f9dbaba07643f15ea89e34e813d10ece1a2584dc
Author: John Wellbelove <github@wellbelove.co.uk>
Date: Tue Aug 11 09:52:12 2020 +0100
Github actions for MSVC
2020-10-02 18:30:55 +01:00
John Wellbelove
9adf0c0535
CMakeLists test
2020-09-30 09:53:29 +01:00
John Wellbelove
82ed6bcad9
CMakeLists test
2020-09-30 09:42:00 +01:00
John Wellbelove
9d45d7b867
Conditionally disable template deduction guide tests
2020-09-29 13:00:51 +01:00
John Wellbelove
c6f327f4bf
Conditionally disable template deduction guide tests
2020-09-29 12:51:23 +01:00
John Wellbelove
18d8236f91
Conditionally disable template deduction guide tests
2020-09-29 11:23:10 +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
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
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
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
9f018d9a43
Removed explicit from C array constructor
2020-09-22 17:49:07 +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
f7901c2899
Work around for Clang error in etl::bresenham_line tests.
2020-09-12 15:34:07 +01:00
John Wellbelove
1b2aca4606
Work around for Clang error in etl::bresenham_line tests.
2020-09-12 15:26:34 +01:00
John Wellbelove
e7d58dd52b
Work around for Clang error in etl::bresenham_line tests.
2020-09-12 15:08:54 +01:00
John Wellbelove
33842f4fe5
Work around for Clang error in etl::bresenham_line tests.
2020-09-12 15:02:02 +01:00
John Wellbelove
911ec65e1b
Exclude MSVC compiler due to Appveyor reporting an internal compiler error
2020-09-12 14:45:48 +01:00
John Wellbelove
83f710d636
Try to detect Appveyor
2020-09-12 14:28:36 +01:00
John Wellbelove
14d1b96c64
Added template deduction guides for array and array_view
2020-09-10 13:07:04 +01:00
John Wellbelove
2b33a7c211
Revert changes
2020-08-31 11:16:42 +01:00
John Wellbelove
360afcf0e5
Minor change to Bresenham line unit test
2020-08-31 11:07:17 +01:00
John Wellbelove
0a7148a796
Minor change to Bresenham line unit test
2020-08-31 11:01:55 +01:00
John Wellbelove
d400fe2f92
Minor change to Bresenham line unit test
2020-08-31 10:45:05 +01:00
John Wellbelove
595a63e6f0
Minor change to Bresenham line unit test
2020-08-31 10:26:38 +01:00
John Wellbelove
f8ddfb1700
Added equality and inequality operators
2020-08-30 12:11:26 +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
John Wellbelove
405de495ec
Fixed etl::stack top level assignment operator not clearing before copy
2020-08-27 19:58:47 +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
ae64cfa681
Initial Bresenham line algorithm
2020-08-25 11:44:40 +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
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
1f2fd18d88
String stream test << operator
2020-08-08 13:52:08 +01:00
John Wellbelove
d389f06cdf
String stream test << operator
2020-08-08 13:52:08 +01:00
John Wellbelove
b5bdb4f566
String stream test << operator in etl namespace
2020-08-07 09:57:34 +01:00
John Wellbelove
cb7e224f93
String stream test << operator
2020-08-07 09:39:14 +01:00
John Wellbelove
744618ceaa
String stream test << operator
2020-08-07 08:44:47 +01:00
John Wellbelove
5a604e1124
String stream test << operator
2020-08-07 08:33:25 +01:00
John Wellbelove
a0a86aa748
Added iterator comparisons
2020-08-06 20:45:52 +01:00
John Wellbelove
bd578b6e77
Resolve 0U ambiguity in string utility tests
2020-08-02 15:14:52 +01:00
John Wellbelove
2effe18ca3
Update CMakeLists.txt
2020-08-02 14:04:01 +01:00
John Wellbelove
c83ac6dcb5
Merge branch 'feature/string-utilities' into development
2020-08-01 16:21:41 +01:00
John Wellbelove
09faee80da
Merge branch 'feature/string-utilities' into development
2020-08-01 15:57:20 +01:00
finger42
8f1361649e
Build and run tests with Clang-9 on Linux ( #252 )
...
* Try to build on Ubuntu-18.04 with Clang-9
* Build with pushes on clang-9 branch too
* Using CC and CXX to set clang-9
* Adding atomic lib for test build on Linux with Clang
* Partial conversion CHECK_EQUAL to CHECK for clang-9
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
Co-authored-by: finger42 <finger42>
2020-08-01 14:20:14 +01:00
John Wellbelove
c80f30e990
Recoded string utility get_token()
2020-08-01 14:18:51 +01:00
John Wellbelove
40fc617466
Fix and optimise etl::list and etl::forward_list shared pool move constructors and assignment operators.
2020-07-30 12:52:40 +01:00
John Wellbelove
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
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
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
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
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
e915ab5d9f
Remove unnecessary member functions
2020-07-10 11:52:27 +01:00
John Wellbelove
9890f5b856
Merge branch 'feature/string-streams' into development
2020-07-10 11:20:12 +01:00
John Wellbelove
dcf5f108e7
Code formatting adjustments
2020-07-10 11:19:51 +01:00
John Wellbelove
575a0feec0
Merge branch 'feature/string-streams' into development
2020-07-09 18:57:52 +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
e9f861c74a
Merge branch 'feature/string-streams' into development
...
# Conflicts:
# include/etl/version.h
2020-07-05 20:56:07 +01:00
John Wellbelove
2f1343ec0e
Initial string stream commit
2020-07-05 19:39:50 +01:00
John Wellbelove
c8e1257c59
Modify visitor tests to include visit through base
2020-07-04 15:59:14 +01:00
John Wellbelove
a27508ca96
Refactored etl::error_handler to use etl::delegate style implementation.
...
Allows set_callback() function to be given run-time and compile-time pointers to free and member functions without using etl::ifunction.
2020-06-26 10:48:14 +01:00
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
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
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
0bfc97a914
Variadic versions of etl::type_id_lookup and etl::type_type_lookup for C++11 and above.
2020-05-19 20:12:12 +01:00
John Wellbelove
0e3537526b
Merge branch 'development' into feature/add_circle-ci_support
2020-05-12 16:47:24 +01:00
John Wellbelove
d8fcf01cae
Minor tidying
2020-05-12 15:25:35 +01:00
John Wellbelove
9206209392
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
2020-05-12 12:34:06 +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
f4d9476900
Simplified conditional macros
2020-05-09 19:40:44 +01:00
Phillip Johnston
585251a870
Strings may use external buffers if the 'max size' template parameter is zero.
2020-05-09 13:08:19 +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
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
a74d8bf0c5
Fix message_packet test structures
2020-04-30 19:10:33 +01:00
John Wellbelove
0eeef097ae
Fix insert to empty deque bug
2020-04-30 19:10:03 +01:00
John Wellbelove
2f9fcef66d
Added test_log_1000_base test
2020-04-30 12:47:51 +01:00
John Wellbelove
7f2a757755
Removed Windows Unicode dependency
2020-04-30 12:47:27 +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
9a0280d469
Move generator files to their own directory
2020-04-21 10:37:07 +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
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
8171fe3784
Modified etl::message_packet to allow default construction, copy/move construction and copy/move assignment.
2020-04-09 14:17:35 +01:00
John Wellbelove
afa10ea187
Changed local 'work' variables from uint_least8_t to uint32_t to avoid possible overflow.
...
Fixed miss-spelt scheduler policies. Typedef'd old names for backwards compatibility.
2020-04-08 09:59:57 +01:00
John Wellbelove
7b61eec2a6
Added etl::span
2020-04-01 15:11:07 +01:00
John Wellbelove
9db26d293f
Added move_iterator
2020-03-31 12:00:21 +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
42477dba82
Merge branch 'feature/move-api-for-unordered-map-set' into development
2020-03-30 18:06:22 +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
46526774d5
Removed unused projects
2020-03-29 18:47:09 +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
d59f53fe25
C++98/03 compatibility changes
2020-03-27 13:11:17 +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
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
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
582aa051c5
rvalue reference support for heap functions and etl::priority_queue
2020-03-18 19:51:41 +00:00
John Wellbelove
7afcc2bb19
Small compatibility fix to nullptr.h
2020-03-18 00:56:50 +00:00
John Wellbelove
e4ad911468
Small compatibility fix to nullptr.h
2020-03-18 00:39:38 +00:00
John Wellbelove
9b9563be0c
Merge remote-tracking branch 'origin/development'
2020-03-02 21:32:02 +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
6e3069a59e
Removed unused file from project
2020-02-24 11:57:32 +01:00
John Wellbelove
caba10699a
Move etl::swap to utilities.h
...
Fixed many CLang warnings
2020-02-24 11:48:04 +01:00
John Wellbelove
be4f34de18
Fixed many CLang warnings
2020-02-24 10:33:00 +01:00
John Wellbelove
3f7cbe22c7
Ignore exe
2020-02-18 11:03:37 +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
mchodzikiewicz
119d68d3e5
Fix cmake Unittest++ include path ( #188 )
2020-01-17 14:35:28 +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
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
97abf6ccc0
Added min_element & max_element
2020-01-12 16:25:37 +00:00
John Wellbelove
6ad77153be
Final changes
2020-01-10 14:01:33 +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
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
ee1d31fab1
Conditional Clang pragmas
2019-12-22 21:30:22 +00:00
John Wellbelove
0685ae9c20
Added explicit construction from string_view
2019-12-22 21:10:49 +00:00
John Wellbelove
e2e2b58eec
Reduced warnings in unit tests for CLang
2019-12-18 17:59:23 +00:00
John Wellbelove
17a8b9bcdd
Fix visitor overridden test virtual visit function parameters.
2019-12-18 17:38:09 +00:00
John Wellbelove
4b90495c56
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
# test/vs2017/etl.vcxproj.filters
2019-12-12 20:46:29 +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
ad63db02c7
Touch config.yml file
2019-12-06 20:12:14 +00:00
John Wellbelove
db70b45fd0
Update readme
...
# Conflicts:
# README.md
# test/vs2017/etl.vcxproj.filters
2019-12-06 19:37:15 +00:00
John Wellbelove
3bf0e93d4c
Update readme
2019-12-06 19:36:08 +00:00
John Wellbelove
a265c68fcb
Updated selected branch in config.yml
2019-12-06 14:03:58 +00:00
John Wellbelove
2dfff5b5c2
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
2019-12-06 13:50:56 +00:00
John Wellbelove
f4df88818b
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/cstring.h
# include/etl/u16string.h
# include/etl/u32string.h
# include/etl/version.h
# include/etl/wstring.h
# library.json
# library.properties
# support/Release notes.txt
2019-12-06 13:07:48 +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
John Wellbelove
e21b8ae7b9
Added VS2019 project
2019-12-06 12:07:14 +00:00
John Wellbelove
d62ed4e5ba
Added VS2019 project
2019-12-06 10:13:41 +00:00
John Wellbelove
2dd2d295c8
Update README.md
2019-12-04 21:24:41 +00:00
John Wellbelove
4dd0cf2447
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:51 +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
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
cbdc8a9299
Updated version numbers
2019-11-26 10:57:45 +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
9b659977cd
Merge remote-tracking branch 'origin/feature/callback-timer-delegate-support' into development
2019-11-17 11:21:36 +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
ddeffa9d60
Merged pull request
2019-11-17 09:26: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
98026fddab
Added tests for 'value()' at type limits.
2019-11-07 10:37:31 +00:00
John Wellbelove
4dd4574743
Added 'from_string' functions.
...
Added 'value' functions.
2019-11-05 15:53:05 +00:00
John Wellbelove
dadc3c530f
multimap and multiset erase bug fix
2019-11-05 11:27:27 +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
c0ca7c9d87
Add assert check for uninitialised delegate call
2019-11-04 12:27:16 +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
71efdd5439
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 19:54:42 +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
18f8c1186d
Added new profiles to project files
2019-10-07 11:27:04 +01:00
John Wellbelove
e8e4fa3f0d
Updated unit test project to support C++17
2019-09-28 11:25:25 +01:00
John Wellbelove
413fa27580
Added macros.h to project
2019-09-23 19:45:17 +01:00
John Wellbelove
0f35e3c384
Removed ECL
...
Updated properties and json files
Updated versions
2019-09-22 10:39:00 +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
419c5b31c4
Removed redundant etl::const_array_view
2019-07-26 16:20:55 +01:00
John Wellbelove
7593c0b14b
Moved string related code to its own folder in VS project
2019-07-13 13:09:28 +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
9fbbb5cc19
Added runtime sample size specialisations to etl::cumulative_moving_average
2019-07-05 13:49:38 +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
6efad78028
Compatibility changes for GCC v5.4.
2019-06-23 09:54:02 +01:00
John Wellbelove
452daf23b9
Updated test example
2019-06-05 13:32:56 +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
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
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
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
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
20fd786e42
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:45 +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
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
John Wellbelove
42c3ee4938
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# support/Release notes.txt
# test/vs2017/etl.vcxproj.filters
2019-04-27 16:15:37 +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
6dc5813011
Merge branch 'development'
2019-04-19 13:51:45 +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
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
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
0db5da44f2
Partial updates
2019-03-14 21:13:42 +00:00
John Wellbelove
2f586c2a91
Partial updates
2019-03-14 05:52:43 +00:00
John Wellbelove
150fdf7f54
Partial updates
2019-03-13 21:24:42 +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
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
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
John Wellbelove
6b3788de98
C++03 check project
2019-02-11 12:33:33 +01: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
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
48379a8ff2
Merge branch 'development' into feature/rvalue-references
2019-01-05 11:34:24 +00:00
John Wellbelove
cae432fc31
Added move only data type
2019-01-01 14:03:46 +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
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
2aae4c1104
Added move tests
2018-12-30 11:15:41 +00:00
John Wellbelove
9266920e2a
Added rvalue reference push_back & insert.
2018-12-29 15:36:08 +00:00
John Wellbelove
fa891b9dbc
Minor change top variable declaration
2018-12-29 15:35:12 +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
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
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
6def4a10a0
Merge branch 'feature/clion_project' into development
2018-10-31 20:34:14 +00:00
John Wellbelove
8cdf601249
Removed unused code
2018-10-28 15:34:47 +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
John Wellbelove
b3dcf0e881
Added permuted congruential random generator
2018-09-22 13:25:07 +01:00
John Wellbelove
0e6bad5c91
Modified the API of etl::state_chart constructors.
2018-09-15 09:48:52 +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
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
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
5a3f6b4355
First draft
2018-09-06 21:33:33 +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
91df7d5219
Added missing find_n & transform
2018-08-27 23:30:33 +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
d11ad9518f
Initial changes
2018-06-19 06:24:37 +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
9ce21fb071
Added tests for recursive messages.
2018-06-17 21:10:48 +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
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
028686b244
Fixed GCC warning for tests
2018-05-12 09:01:39 +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
f2416da7ea
Changed header guards to be GCC compliant.
2018-04-21 09:24:45 +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
1ca0ad94a9
Added SPSC and MPSC queues
2018-04-08 18:10:23 +01:00
John Wellbelove
bc0a8a49a7
Updates to atomic classes.
2018-04-02 12:26:58 +01:00
John Wellbelove
b473cfe20a
Merge branch 'feature/64bit_tests' into development
2018-03-30 13:22:17 +01:00
John Wellbelove
28ac7c12ba
Changes for increased 64bit compatibility.
2018-03-30 12:46:16 +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
d28c88b1da
Added reset() to etl::optional
2018-03-22 06:10:07 +00:00
John Wellbelove
8ac3b64823
Added reset() to etl::optional
2018-03-21 19:35:18 +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
John Wellbelove
224df730c3
Merge remote-tracking branch 'origin/master' into development
2018-03-18 14:13:24 +00:00
John Wellbelove
eee0157372
Added version macros
2018-03-01 09:14:11 +00:00
John Wellbelove
a58d1f5861
Remove variant.h GCC warnings from use of -Wextra
2018-02-26 21:03:22 +00:00
John Wellbelove
1e34b5cf46
Add #ifdef for GCC pragma
2018-02-25 13:41:40 +00:00
John Wellbelove
d3493d601d
Add full set of operators to etl::optional
2018-02-25 13:21:27 +00:00
John Wellbelove
d1adfab03c
Remove more GCC warnings from use of -Wextra
2018-02-25 13:21:00 +00:00
John Wellbelove
c35f962e6f
Merge remote-tracking branch 'origin/master' into development
...
# Conflicts:
# test/codeblocks/ETL.layout
# test/test_pool.cpp
2018-02-24 10:55:36 +00:00
John Wellbelove
f296d9eadf
Signed/Unsigned warnings
2018-02-18 14:19:39 +00:00
John Wellbelove
703a9e0f4a
Changes from master
2018-02-18 14:18:24 +00:00
John Wellbelove
a53768cc28
Re-write of debounce to improve base code reuse.
2018-02-17 21:32:31 +00:00
John Wellbelove
070e8fe6b6
Improved etl::endianness.
...
Added static functions.
2018-02-16 10:11:19 +00:00
John Wellbelove
6b9e408ca2
Merge remote-tracking branch 'origin/feature/strict_aliasing' into development
2018-02-11 19:34:51 +00:00
John Wellbelove
9404af8074
Codeblocks projects changes
2018-02-11 18:45:42 +00:00
John Wellbelove
b4bf215675
Removed unused variables
2018-02-11 18:45:10 +00:00
John Wellbelove
611b6cf011
Merge remote-tracking branch 'origin/feature/pool_emplace' into development
2018-02-11 18:39:24 +00:00
John Wellbelove
1c4f0596a9
Added 'create' and 'destroy' functions
2018-02-11 17:25:40 +00:00
John Wellbelove
58e155658e
Alignment tests for conversion operators
2018-02-08 16:00:05 +00:00
John Wellbelove
879fb1f626
Improvements to message and callback timer frameworks.
...
Reduced disable/enable time dur function calls.
Added the option to use either atomic semaphores or interrupt enables to control access.
2018-02-05 21:16:43 +00:00
John Wellbelove
4b1eeee511
Added emplace functions to etl::variant
2018-02-04 17:42:34 +00:00
John Wellbelove
1dd1ffc4e4
Added emplace functions to etl::variant
2018-02-04 17:34:51 +00:00
John Wellbelove
7ce4fedf58
Added emplace member functions to flat_map, flat_multimap, flat_set and flat_multiset
2018-02-03 21:09:22 +00:00
John Wellbelove
246eeef00d
Added protected destructors to FSM & message_timer and code to message router packet destructor to choose correct method of destruction.
2018-02-02 14:17:09 +00:00
John Wellbelove
61b8722500
Added variant_pool generator.
2018-02-01 17:28:49 +00:00
John Wellbelove
135506b534
Re-written to avoid 'undefined behavior' by allowing containers to be polymorphic or not base on a compile time macro.
2018-02-01 10:15:51 +00:00
John Wellbelove
f9699d3cd4
Added ETL_POLYMORPHIC_XXX defines
2018-02-01 10:13:48 +00:00
John Wellbelove
6a964ee90f
Ignore output files from 'random' algorithms.
2018-01-30 08:48:43 +00:00
John Wellbelove
eb222f54bb
Containers are now deleteable through a pointer to their 'ixxxx' class.
2018-01-30 08:47:49 +00:00
John Wellbelove
bf06775b51
Added fast clear for types that are trivially destructible. (Integral and pointer types only for C++03)
2018-01-27 15:40:03 +00:00
John Wellbelove
cb03b5f177
Code::Blocks project update
2018-01-25 10:45:28 +00:00
John Wellbelove
3385d2cf04
GCC compatibility changes
2018-01-23 13:15:18 +00:00
John Wellbelove
71b865ae6b
GCC compatibility changes
2018-01-23 12:15:12 +00:00
John Wellbelove
7fc874617d
Updated
2018-01-23 09:33:16 +00:00
John Wellbelove
48df943aa0
Renamed xor_shift to xor_rotate
2018-01-23 09:20:53 +00:00
John Wellbelove
4cb02cb6df
Added shift version of XOR checksum
...
XOR: sum = sum ^ value
XOR-shift sum = etl::rotate_left(sum) ^ value
2018-01-22 09:07:25 +00:00
John Wellbelove
bb294e80fe
Array wrapper and unit tests
2018-01-21 18:42:03 +00:00
John Wellbelove
9140ddcd1c
Added etl::string_view
2017-12-31 20:23:06 +00:00
John Wellbelove
a14e9b25bb
Added default constructor.
...
Made single parameter constructors explicit.
Added
assign()
remove_prefix()
remove_suffix()
operator = ()
2017-12-30 17:32:14 +00:00
John Wellbelove
bcaa75a4e1
Added array_view to CodeBlocks
2017-12-26 16:50:47 +00:00
John Wellbelove
835a5cbad0
Added array_view
2017-12-26 16:10:34 +00:00
John Wellbelove
35a94fcd7b
Updated CRT SDK version
2017-12-22 16:38:28 +00:00
John Wellbelove
cc23016e9f
Added release notes
2017-12-22 11:15:09 +00:00
John Wellbelove
02c96ba791
Added etl::variant_pool as a replacement for etl::factory.
2017-12-21 13:55:48 +00:00
John Wellbelove
f366d26a26
Removed factory.
...
Added variant_pool
2017-12-21 13:54:17 +00:00
John Wellbelove
39ad0fe808
Added sign_extend functions with shift parameter.
2017-12-15 13:59:03 +00:00
John Wellbelove
316ea01507
Added new binary.cpp
2017-12-05 18:51:47 +00:00
John Wellbelove
c0169188ca
Made some templates into normal functions and moved to binary.cpp
...
Added bit<> template constant
Added bit enumerations
2017-12-05 18:49:50 +00:00
John Wellbelove
7f32909209
Fixed inconsistencies in the dynamic IO port API.
2017-12-01 09:52:00 +00:00
John Wellbelove
d658dd11b8
Rewrite of classes to improve efficiency by removing iterator indirection step.
2017-11-30 17:05:37 +00:00
John Wellbelove
aac3277f06
Added 'conditional_integral_constant' to complement 'conditional'
2017-11-30 17:02:58 +00:00
John Wellbelove
9f4fe86df9
Added 'successor' member to allow implementation 'Chain Of Responsibility' pattern.
2017-11-30 16:56:22 +00:00
John Wellbelove
a742749849
Merge branch 'development'
2017-11-01 09:33:17 +00:00
John Wellbelove
0c65164483
Added is_null_router() & is_bus() to imessage_router
2017-10-27 11:11:22 +01:00
John Wellbelove
1c769b0fb2
Amalgamated ecl_timer_list into ecl_timer
2017-10-27 11:10:27 +01:00
John Wellbelove
ed8b47dacd
Added etl::generic_pool top level template class.
2017-10-26 10:42:13 +01:00
John Wellbelove
20753250fb
Fix bug in compare_exchange_weak where 'expected' was not modified on fail.
2017-10-25 21:19:40 +01:00
John Wellbelove
ca3236ef2f
Merge remote-tracking branch 'origin/feature/timer_triggered' into development
...
# Conflicts:
# test/codeblocks/ETL.cbp
2017-10-24 11:28:22 +01:00
John Wellbelove
61d3835f9d
Remove warnings
2017-10-21 09:07:41 +01:00
John Wellbelove
3e536e5946
Merge branch 'development'
2017-10-21 08:55:25 +01:00
John Wellbelove
8c05843b30
Merge remote-tracking branch 'origin/master' into development
...
# Conflicts:
# test/codeblocks/ETL.cbp
# test/codeblocks/ETL.depend
# test/test_callback_timer.cpp
# test/test_message_timer.cpp
2017-10-21 08:38:52 +01:00
John Wellbelove
f9e4fd8730
Removed internal 'tick_count' member from timers.
...
Fixed usage of atomic guard variables. Calls load() instead of relying on implicit cast.
Fixed Windows threading issue for callback and message timer tests.
2017-10-20 22:08:25 +01:00
John Wellbelove
cc26d5e6ba
Fixed corner case when no timer is active for around 2^32 ticks and the internal tick count rolls over just after a new timer is started.
...
Also tick(uint32_t count) was not returning the correct value when tick processing did not occur.
2017-10-19 18:17:56 +01:00
John Wellbelove
e174276556
Fix bug if timer list is empty for 49+ days. (Internal tick count rollover)
2017-10-19 10:31:27 +01:00
John Wellbelove
8455e108bc
Merge remote-tracking branch 'origin/feature/Timer_triggered_messages' into development
...
# Conflicts:
# examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/startup_stm32f401xe.s
# examples/ArmTimerCallbacks/RTE/Device/STM32F401RETx/system_stm32f4xx.c
# examples/FunctionInterruptSimulation/FunctionInterruptSimulation.cpp
# examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.sln
# examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.vcxproj
# examples/FunctionInterruptSimulation/vs2017/FunctionInterruptSimulation.vcxproj.filters
# test/codeblocks/ETL.cbp
# test/codeblocks/ETL.depend
# test/codeblocks/ETL.layout
# test/test_cyclic_value.cpp
# test/vs2017/etl.vcxproj
# test/vs2017/etl.vcxproj.filters
2017-10-18 09:02:46 +01:00
John Wellbelove
53412f898f
Added etl::function variants that take both the instance and member function at compile time.
2017-10-11 13:22:11 +01:00
John Wellbelove
49fe0054d2
Created compile time and runtime variants of cyclic_value.
2017-10-02 19:48:30 +01:00
John Wellbelove
66843b75d3
Removed Keil projects
2017-10-02 19:45:55 +01:00
John Wellbelove
d6e3d2766f
Added a compare template that defines <=, >, >= in terms of std::less or a user supplied comparison class.
2017-09-30 19:43:53 +01:00
John Wellbelove
9da7e3cd5d
Changed SIZE to MAX_SIZE for MSVC compatibility
2017-09-30 18:53:40 +01:00
John Wellbelove
cb6153c95a
Allow factory to create non-class types.
2017-09-29 20:35:11 +01:00
John Wellbelove
c6876f65d1
Added a compare template that defines <=, >, >= in terms of std::less or a user supplied comparison class.
2017-09-28 11:11:49 +01:00
John Wellbelove
24e661c63a
Removed constraint for types to derived from base class.
2017-09-28 10:49:07 +01:00
John Wellbelove
8f8dbf7771
Improved efficiency for large advances.
...
Added static assert for integral types.
2017-09-21 19:46:26 +01:00
John Wellbelove
7dcf6b50a7
Added pop_into to intrusive_queue
...
Added pop_into to intrusive_stack
Added reverse to intrusive_stack
2017-09-21 14:05:30 +01:00
John Wellbelove
c6e1e9ac00
Added pop_into(iqueue&) to queue
...
Added pop_into(istack&) to stack
Added reverse() to stack.
2017-09-19 20:21:03 +01:00
John Wellbelove
1803dca3eb
Ignored
2017-09-19 08:37:27 +01:00
John Wellbelove
51b5675e6a
Added static runtime get_id_from_type member functions.
2017-09-19 08:31:44 +01:00
John Wellbelove
ae57448c3e
Made invalid id or types a compile time error.
2017-09-18 10:50:05 +01:00
John Wellbelove
f8ff224365
Fixed formatting typo.
...
Added missing files to projects.
2017-09-17 18:01:37 +01:00
John Wellbelove
a9e61444a9
Changed create_from_id to return actual derived type.
2017-09-17 16:08:49 +01:00
John Wellbelove
84f5fd946e
Fixed GCC warning.
...
Fixed formatting typo.
2017-09-17 12:56:57 +01:00
John Wellbelove
873998518c
Modified factory to accept non-contiguous type ids.
...
Added support for compile time type-to-id id-to-type type-to-type mapping
2017-09-17 12:43:45 +01:00
John Wellbelove
b885ad3d33
Added 'pop_into' member functions.
2017-09-14 16:27:32 +01:00
John Wellbelove
29c9b658d7
Modified factory pattern
2017-09-13 13:17:11 +01:00
John Wellbelove
dcefb938c4
Changed max_items to max_size
2017-09-13 13:16:50 +01:00
John Wellbelove
7ee5acee18
Added factory pattern
2017-09-11 21:17:33 +01:00
John Wellbelove
259dbfa741
Added type size test and error to ipool::allocate
2017-08-25 14:27:20 +01:00
John Wellbelove
267408445b
Added ETL extension etl::types to allow extraction of various types from a specified type.
2017-08-25 11:10:54 +01:00
John Wellbelove
b145adb4eb
Added additional generator scripts.
2017-08-25 11:09:23 +01:00
John Wellbelove
ab9f3ce538
Changed the way nullptr is defined for Arduino projects.
2017-08-22 09:36:10 +01:00
John Wellbelove
8f7656a5df
Fixed incompatibility in unit test for Code:Blocks
2017-08-22 01:05:25 +01:00
John Wellbelove
41eae71bd3
Simplified etl::parameter_type to remove unnecessary second template parameter.
2017-08-21 10:22:14 +01:00
John Wellbelove
38bcc1e06e
Merge branch 'feature/Function' into development
2017-08-19 12:44:24 +01:00
John Wellbelove
1de9ad262a
Added etl::function callback wrappers that take function pointers at compile time.
2017-08-19 11:36:56 +01:00
John Wellbelove
b437414fff
Added constant test
2017-08-18 16:52:26 +01:00
John Wellbelove
5c040ad21c
Changed project due to header name change.
2017-08-18 16:45:48 +01:00
John Wellbelove
6f13324c64
Added integral_limits to tests.
2017-08-18 16:44:42 +01:00
John Wellbelove
7f4d5c25d5
Added code to keep Code::Blocks happy
2017-08-18 16:44:19 +01:00
John Wellbelove
f4cc4c6fe3
Added integer square root template constant.
2017-08-18 12:58:51 +01:00
John Wellbelove
087c685f81
Added etl::constant helper class.
2017-08-18 12:58:25 +01:00
John Wellbelove
d313ec0da0
Modified Windows check.
2017-08-17 18:19:16 +01:00
John Wellbelove
69704e8b6a
Made it optional for messages to be virtual.
...
By default they are not.
Can be made virtual by defining ETL_MESSAGES_ARE_VIRTUAL in the project settings.
2017-08-17 15:33:29 +01:00
John Wellbelove
915539ae8a
Changes to allow compilation under various compilers.
2017-08-16 14:06:44 +01:00
John Wellbelove
aecee1efd1
Changes to allow compilation under various compilers.
2017-08-16 13:29:12 +01:00
John Wellbelove
fd1c3c41a2
Renamed endian to endianness due to unresolvable clash with system header on Linux.
2017-08-16 13:27:35 +01:00
John Wellbelove
a3fbf9ca46
Keil project files
2017-08-16 13:26:48 +01:00
John Wellbelove
67b24408cb
Renamed due to unresolvable clash with system header on Linux.
2017-08-16 13:12:30 +01:00
John Wellbelove
af7d11c30c
Keil CMSIS header
2017-08-15 13:10:12 +01:00
John Wellbelove
05d9f50f1d
Changes to allow compilation under various compilers.
2017-08-14 14:43:33 +01:00
John Wellbelove
78c81ef929
Added allocate() and static assert test to etl::pool
2017-08-09 10:25:54 +01:00
John Wellbelove
dbd642e781
Merge branch 'master' into development
...
# Conflicts:
# library.properties
# src/algorithm.h
# src/random.cpp
# src/random.h
# test/codeblocks/ETL.depend
# test/test_random.cpp
2017-08-08 18:57:46 +01:00
John Wellbelove
d1df703d8c
Shortened random_multiply_with_carry to random_mwc
2017-08-08 18:51:13 +01:00
John Wellbelove
302646850e
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# src/algorithm.h
# test/codeblocks/ETL.depend
# test/vs2017/etl.vcxproj.filters
2017-08-08 18:46:21 +01:00
John Wellbelove
6a7ff1bd7e
Added multipy with carry random number generator.
2017-08-08 18:43:34 +01:00
John Wellbelove
e660e5b949
Added multipy with carry random number generator.
2017-08-08 18:41:00 +01:00
John Wellbelove
099b3f8cfd
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# test/codeblocks/ETL.depend
# test/codeblocks/ETL.layout
2017-08-07 15:54:30 +01:00
John Wellbelove
56bb685561
Merge remote-tracking branch 'origin/FSM_&_Router' into development
...
# Conflicts:
# src/file_error_numbers.txt
# src/largest.h
# test/codeblocks/ETL.depend
# test/codeblocks/ETL.layout
2017-08-03 23:57:06 +01:00
John Wellbelove
2e5cc0eb4d
FSM, Router and bus implementations.
2017-08-03 23:31:50 +01:00
John Wellbelove
67b21d7384
Fixed user_type.
...
Added unit tests
2017-08-03 23:24:01 +01:00
John Wellbelove
740e8b4dd6
Reverted message_id to a virtual function
2017-07-31 19:31:39 +01:00
John Wellbelove
12148f075f
Turned FSM from a template to a normal class.
2017-07-31 16:48:32 +01:00
John Wellbelove
672102228f
Minor API changes
2017-07-31 10:29:05 +01:00
John Wellbelove
fccf172cb3
Added message bus tests to Code::Blocks project
2017-07-30 13:06:59 +01:00
John Wellbelove
25320ec578
GCC compatibility
2017-07-30 13:05:59 +01:00
John Wellbelove
55a196e203
Latest router and message bus changes.
...
Defined guaranteed call order for routers and busses.
2017-07-30 12:14:26 +01:00
John Wellbelove
7991e1aa7c
Latest router and message bus changes.
...
Defined guaranteed call order for routers and busses.
2017-07-30 11:26:53 +01:00
John Wellbelove
667b9e2b15
Added binary_find
2017-07-30 11:25:28 +01:00
John Wellbelove
f70850f7f5
Lastest FSM and router changes.
...
Added message_bus.
Created generators for largest and smallest.
2017-07-28 20:34:58 +01:00
John Wellbelove
dad0b8844a
Updated ignore
2017-07-26 12:05:36 +01:00
John Wellbelove
20609e1caf
Updated ignore
2017-07-26 12:00:33 +01:00
John Wellbelove
4c6161be98
Merge remote-tracking branch 'origin/development'
2017-07-26 12:00:18 +01:00
John Wellbelove
678984bf08
Merge branch 'Emplace' into development
2017-07-26 11:04:31 +01:00
John Wellbelove
044535d6d6
Merge branch 'Emplace' into development
...
# Conflicts:
# src/CreateFSM.bat
# src/CreateMessageRouter.bat
# src/flat_map.h
# src/fsm.h
# src/fsm_generator.h
# src/message_router.h
# src/message_router_generator.h
# src/queue.h
# src/vector.h
# test/codeblocks/ETL.depend
# test/codeblocks/ETL.layout
# test/data.h
# test/test_fsm.cpp
# test/test_message_router.cpp
# test/vs2017/etl.vcxproj
# test/vs2017/etl.vcxproj.filters
# test/vs2017/random.csv
2017-07-26 10:06:23 +01:00
John Wellbelove
74beb3421d
Fixed polynomial value for random_lsfr
2017-07-25 19:18:01 +01:00
John Wellbelove
0ccdd4fab4
Lastest versions of FSM, Message Router and supporting functionality.
2017-07-25 11:30:00 +01:00
John Wellbelove
73da59ad17
Integrated FSM and message router classes.
...
Fixed GCC compatibility issue.
Added on_enter_state() return tests.
2017-07-21 20:11:02 +01:00
John Wellbelove
7db12ea0fd
Integrated FSM and message router classes.
2017-07-21 20:11:02 +01:00
John Wellbelove
7bdca60d1a
Added 'larger_type', 'larger_int_type', 'larger_uint_type'.
2017-07-21 20:11:02 +01:00
John Wellbelove
04a9cb7bba
Changed FSM to be based on message router
2017-07-21 20:11:02 +01:00
John Wellbelove
efb0a408ce
Experimental message router and fsm classes.
2017-07-21 20:07:40 +01:00
John Wellbelove
f526a0172f
Added emplace functions supporting up to four parameters to the following containers.
...
forward_list
list
vector
queue
priority_queue
stack
# Conflicts:
# src/vector.h
# test/data.h
# test/vs2017/random.csv
2017-07-21 12:26:22 +01:00
John Wellbelove
c981bd0c96
Added emplace functions supporting up to four parameters to the following containers.
...
forward_list
list
vector
queue
priority_queue
stack
# Conflicts:
# src/vector.h
# test/data.h
# test/vs2017/random.csv
2017-07-21 11:59:40 +01:00
John Wellbelove
87b0aca32b
Added lcg, clcg and lsfr random number generators
2017-07-06 18:08:50 +01:00
John Wellbelove
f29121f252
Additional algorithms.
2017-06-29 17:22:02 +01:00
John Wellbelove
14074ade05
Additional algorithms.
2017-06-28 19:13:12 +01:00
John Wellbelove
a51530a96c
Completed modification of flat map/set classes to use reference flat map/set as bases.
2017-06-25 21:25:54 +01:00
John Wellbelove
3a89aaf612
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# src/cstring.h
# src/flat_map.h
# src/set.h
# src/u16string.h
# src/u32string.h
# src/wstring.h
# test/test_string_char.cpp
# test/test_string_u16.cpp
# test/test_string_u32.cpp
# test/test_string_wchar_t.cpp
# test/vs2017/etl.vcxproj.filters
2017-06-17 17:52:17 +01:00
John Wellbelove
bc7c3e4426
Merge remote-tracking branch 'origin/memcpy_containers' into development
...
# Conflicts:
# test/test_string_char.cpp
# test/test_string_u16.cpp
# test/test_string_u32.cpp
# test/test_string_wchar_t.cpp
2017-06-17 16:39:45 +01:00
John Wellbelove
97ead6fc27
Added repair functions to allow certain containers to copied with low level functions such as memcpy.
2017-06-17 15:33:04 +01:00
John Wellbelove
bb7a142ba4
Disabled random.csv output file.
2017-06-14 23:47:36 +01:00
John Wellbelove
0eb5324e18
Removed experimental files.
2017-06-14 23:42:12 +01:00
John Wellbelove
3f07a785f4
Fixed sort() so that it is now 'stable'.
...
Fixed return value type for const_iterator::operator->() in etl::list
2017-06-14 23:42:11 +01:00
John Wellbelove
d16f10cdb1
Added hash functors for top level string classes.
2017-06-14 23:39:35 +01:00
John Wellbelove
2858a078de
Removed experimental files.
2017-06-14 23:36:22 +01:00
John Wellbelove
889add0db6
Fixed sort() so that it is now 'stable'.
...
Fixed return value type for const_iterator::operator->() in etl::list
2017-06-14 23:35:56 +01:00
John Wellbelove
4bc0b58c3c
Added hash functors for top level string classes.
2017-06-14 20:26:58 +01:00
John Wellbelove
2674a81fa2
Experimental container memcpy support
2017-06-12 23:51:27 +01:00
John Wellbelove
7aeb8636c7
Experimental versions
2017-06-12 23:46:51 +01:00
John Wellbelove
6df2adf079
reference_wrapper test
2017-06-12 23:35:11 +01:00
John Wellbelove
14b25fc3f2
Conditional compilation for hash functions.
2017-06-12 23:08:49 +01:00
John Wellbelove
6c512e261c
Conditional compilation for hash functions.
2017-06-12 22:59:36 +01:00
John Wellbelove
64c8ec3c38
Retargetted solution (reverted from commit 9040f8bf9b41fc67e296e98a9f070e15ee237ead)
2017-06-12 22:53:48 +01:00
John Wellbelove
560ce6fc25
Retargetted solution
2017-06-12 22:46:08 +01:00
John Wellbelove
478b459ccc
Removed reference_flat_map from project (reverted from commit 168ac8510d8c928ead4ffa138f710794ffeed0fa)
2017-06-12 22:44:06 +01:00
John Wellbelove
3bbed492d6
Retargetted solution (reverted from commit 9040f8bf9b41fc67e296e98a9f070e15ee237ead)
2017-06-12 22:39:23 +01:00
John Wellbelove
168ac8510d
Removed reference_flat_map from project
2017-06-12 22:34:12 +01:00
John Wellbelove
9040f8bf9b
Retargetted solution
2017-06-12 22:30:31 +01:00
John Wellbelove
7b970c1ecc
Renamed key_value_parameter_t to key_parameter_t
2017-06-12 22:28:32 +01:00
John Wellbelove
909fc87515
Renamed key_value_parameter_t to key_parameter_t
2017-06-12 22:27:20 +01:00
jwellbelove
112327b071
Modified file path for uintest source files to get Appveyor running correctly.
2017-05-19 11:29:59 +01:00
John Wellbelove
b46616d3be
Updated VS2017 & Code::Blocks projects.
2017-05-09 20:53:53 +01:00
jwellbelove
a144f22679
Renamed 'intrusive' flat maps & sets to 'reference' to better reflect their true nature.
2017-05-09 09:02:02 +01:00
John Wellbelove
fe640ce8ef
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# src/cyclic_hash.h
# test/codeblocks/ETL.cbp
2017-05-08 22:43:34 +01:00
John Wellbelove
26b7326d72
Updated Code::Blocks project.
...
Changed test project include paths to use unittest++ as sub-module.
2017-05-08 20:48:22 +01:00
John Wellbelove
51bc6964a5
Updated project files
2017-04-19 18:42:03 +01:00
John Wellbelove
f4c7f1aa01
Added iterators to all io ports
2017-04-17 22:03:21 +01:00
John Wellbelove
0338612f48
Removed redundant tests
2017-04-17 21:02:53 +01:00
John Wellbelove
ac8568e26b
VS2017 project files
2017-04-17 21:02:08 +01:00
John Wellbelove
cb28239f23
Added intrusive flat map/multimap/set/multiset
2017-04-16 19:17:38 +01:00
John Wellbelove
3ec81db888
Changed 'key' in 'value_type' to const.
2017-04-15 10:16:08 +01:00
jwellbelove
f18f3154ec
Removed duplicate ivectorpointer.h from src directory.
2017-03-31 11:40:22 +01:00
jwellbelove
f66ab548b8
Removed duplicate ivectorpointer.h from src directory.
2017-03-31 11:38:57 +01:00
John Wellbelove
05e3f3acd6
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# test/test_algorithm.cpp
2017-03-04 20:13:25 +00:00
John Wellbelove
6561840019
Completed additional ETL extension algorithms
2017-03-04 19:30:36 +00:00
John Wellbelove
4b84cc955e
Changed internal operation to indirect access to improve insertion performance.
2017-03-04 14:53:05 +00:00
John Wellbelove
501f4d7efd
Merge remote-tracking branch 'origin/development'
2017-02-26 09:20:33 +00:00
John Wellbelove
a33ee11ef8
Removed default constructor from 'non-default constructor' type.
...
Modified tests to compensate.
2017-02-26 09:09:49 +00:00
John Wellbelove
79e33fbe81
Removed default constructor from 'non-default constructor' type.
...
Modified tests to compensate.
2017-02-25 20:32:27 +00:00
John Wellbelove
b2ba6badf7
Vector tests using non-trivial types.
2017-02-25 20:30:07 +00:00
John Wellbelove
0508d796bc
Added extra size tests
2017-02-23 23:14:07 +00:00
John Wellbelove
1e6fc88ab9
memory algorithm updates
2017-02-23 23:12:48 +00:00
John Wellbelove
7238f11ea4
Added more transform algorithms
2017-02-23 23:11:21 +00:00
jwellbelove
54714f1eda
Added for_each_if & transform_if
...
Corrected operation of transform_if
2017-02-23 08:37:56 +00:00
jwellbelove
536ad7f384
Corrected operation of transform_if
2017-02-23 08:21:47 +00:00
John Wellbelove
d72737d9b4
Added for_each_if & transform_if
2017-02-22 20:25:14 +00:00
John Wellbelove
62199d7872
Tests for etl::random
2017-02-16 06:53:37 +00:00
John Wellbelove
53d65cc6f7
Tests for etl::random
2017-02-16 06:53:36 +00:00
John Wellbelove
8f609f448e
Added iterator property type templates.
2017-02-16 06:53:36 +00:00
John Wellbelove
68675c3720
Updated project files.
2017-02-16 06:53:36 +00:00
John Wellbelove
1527e9781f
Added assign, insert and erase member functions.
2017-02-16 06:53:36 +00:00
John Wellbelove
bdd1f7e837
Additional safe 4 parameter versions of copy, copy_if & copy_n
2017-02-16 06:53:35 +00:00
John Wellbelove
aaac059008
Updated tests
2017-01-31 21:11:23 +00:00
jwellbelove
9848bba4d9
Removed Jenkins 64bit hash.
2017-01-18 12:49:49 +00:00
John Wellbelove
a371b27c2a
Performance tests for unordered map.
2016-12-31 10:07:14 +00:00
John Wellbelove
695e16a8e4
Experimental reimplementation of etl::pool
2016-12-31 10:06:40 +00:00
John Wellbelove
6c4a29b498
Fixed bug in erase()
2016-12-30 11:56:08 +00:00
John Wellbelove
bc18cfa496
Tests for intrusive_queue
2016-12-28 13:22:37 +00:00
John Wellbelove
5f3e05b8fc
Updated project files
2016-12-28 13:21:20 +00:00
John Wellbelove
36a018019b
Tabs to spaces
2016-12-28 13:20:58 +00:00
John Wellbelove
ff9cfa724b
Fixed GCC warnings
2016-12-28 13:20:40 +00:00
John Wellbelove
912cb40d0c
Fixed GCC warnings
...
Removed redundant code
2016-12-28 13:20:27 +00:00
John Wellbelove
0179e7123d
Changed string length calls.
2016-12-28 13:19:37 +00:00
John Wellbelove
a27ac63149
Removed redundant code
2016-12-28 13:18:26 +00:00
John Wellbelove
9e9fa45f13
Fixed GCC warnings
2016-12-28 13:18:05 +00:00
John Wellbelove
37f4dac47d
Restored commented out tests
2016-12-28 13:17:45 +00:00
John Wellbelove
093b29a48c
Removed support for auto and checked links.
2016-12-28 13:12:37 +00:00
John Wellbelove
b4f0855410
Fixed GCC warnings
2016-12-28 13:12:22 +00:00
John Wellbelove
d4a1c8a380
Changed Jenkins template class to individual 32 & 64 bit versions.
2016-12-28 13:12:09 +00:00
John Wellbelove
0fb7a0e458
Fixed GCC warnings
2016-12-28 13:11:29 +00:00
John Wellbelove
fbf7eaf085
Fixed GCC warnings
2016-12-28 12:58:09 +00:00
John Wellbelove
1aa2592691
Fixed GCC warnings
2016-12-28 12:57:57 +00:00
John Wellbelove
62d03d7e10
Changed tests for wchar_t.
2016-12-28 12:57:47 +00:00
John Wellbelove
dd60c3aa7c
Fixed GCC warnings
2016-12-28 12:57:04 +00:00
John Wellbelove
b038e375cd
Fixed GCC warnings
2016-12-28 12:56:53 +00:00
John Wellbelove
5cab841833
Added tests for new classes
2016-12-28 12:56:26 +00:00