1504 Commits

Author SHA1 Message Date
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