3726 Commits

Author SHA1 Message Date
John Wellbelove
67c2efb85c Added is_enum 2022-07-14 17:31:20 +01:00
Jesse Li
4d4a3c8ab9
is_enum (#561) 2022-07-14 15:38:49 +01:00
John Wellbelove
150a1f9058 Updated version numbers and release notes 2022-07-14 12:50:37 +01:00
John Wellbelove
1790868830 Merge branch 'feature/poly_span' into development
# Conflicts:
#	include/etl/span.h
2022-07-14 12:27:25 +01:00
John Wellbelove
bcf147f096 Added etl::poly_span
Refacted parts of etl::span
2022-07-14 12:19:08 +01:00
mhx
058e4c9ed2
etl/span.h: prevent compound statements in constexpr methods for C++11 (#562)
C++11 doesn't support compound statements in constexpr functions
and as a result, `etl/span.h` generates a heap of warnings with
gcc's `-Wpedantic` in C++11 mode. This changes the relevant method
bodies to contain just a single return statement.
2022-07-13 13:48:13 +01:00
John Wellbelove
7cc8d95157 Work in progress 2022-07-12 17:39:16 +01:00
John Wellbelove
21faaa349f Work in progress 2022-07-12 17:37:08 +01:00
John Wellbelove
870d0fd96a Green Hills compiler compatibility 20.30.1 2022-07-12 16:32:04 +01:00
John Wellbelove
f05f74fbd1 Work in progress 2022-07-12 13:16:11 +01:00
John Wellbelove
adf9bd5c20 Work in progress 2022-07-10 14:09:46 +01:00
John Wellbelove
c3e90086a2 Merge branch 'feature/poly_span' of https://github.com/ETLCPP/etl into feature/poly_span 2022-07-04 20:24:48 +01:00
John Wellbelove
9dca59bf40 etl::poly_span without etl::dynamic_extent 2022-07-04 20:24:39 +01:00
John Wellbelove
26d0dd9859 Initial forked code 2022-07-04 20:24:38 +01:00
John Wellbelove
e6fdd324b9 Null pointer check fix for GCC 2022-07-04 19:51:35 +01:00
John Wellbelove
50f5319382 Legacy variant is in namespace etl::legacy if ETL_IN_UNIT_TEST is not defined 2022-07-04 10:46:08 +01:00
John Wellbelove
97f4a34da8 Updated version and release notes 2022-07-03 11:18:47 +01:00
John Wellbelove
638de5bd40 Merge branch 'hotfix/#560-unable-to-upcast-legacy-variant' into development 2022-07-02 21:19:47 +01:00
John Wellbelove
3c07f46158 #560-unable-to-upcast-legacy-variant
Refactor of upcast to eliminate upcast_functor
Added is_base_of member function
2022-07-02 21:19:15 +01:00
John Wellbelove
a19b73516b etl::poly_span without etl::dynamic_extent 2022-06-30 15:55:02 +01:00
John Wellbelove
923631232c Initial forked code 2022-06-27 11:45:22 +01:00
John Wellbelove
a074b42b91 Added non-member etl::send_message for etl::shared_message 2022-06-27 11:03:23 +01:00
John Wellbelove
b77c7753d3 Updated message_packet_generator.h to match etl::message_packet changes 20.29.3 2022-06-27 10:07:23 +01:00
John Wellbelove
c5d41f9d87 Updated message_packet_generator.h 2022-06-24 19:39:40 +01:00
John Wellbelove
2c6c46ee18 Updated versions 20.29.2 2022-06-24 16:28:48 +01:00
John Wellbelove
69aa8aa08f Reverted changes 2022-06-24 16:18:51 +01:00
John Wellbelove
c0923e1d6a Fix to message_packet
Fix tests for atomic under GCC
2022-06-24 15:59:25 +01:00
John Wellbelove
1b3445d11a Fixed etl::message_packet issues 2022-06-24 14:58:53 +01:00
John Wellbelove
3c26ffea4e dded etl::byte_stream_overflow assert to byte_stream_reader 'skip'. 20.29.1 2022-06-23 19:49:20 +01:00
John Wellbelove
aedb151b89 Renamed cumulative_moving_average to pseudo_moving_average 20.29.0 2022-06-23 13:47:49 +01:00
John Wellbelove
829d9fa220 Renamed cumulative_moving _average to pseudo_moving_average
Modified etl::debounce internal enumeration names to avoid clashes with Arduino
2022-06-22 17:37:59 +01:00
John Wellbelove
b522608b94 Updated version information 2022-06-22 15:30:40 +01:00
John Wellbelove
c2ba195092 Updated version information 2022-06-22 14:10:39 +01:00
John Wellbelove
d4a3af56a7 const_reference parameter for resize() 2022-06-22 11:19:40 +01:00
John Wellbelove
22060623fc Added skip functions 2022-06-22 10:05:14 +01:00
John Wellbelove
c49f56722c Added two new traits to get a standard signed or unsigned integral of the same size as the template type. 2022-06-22 10:01:38 +01:00
John Wellbelove
08d76a9d56 Added size_bits() to bit_stream reader 2022-06-21 09:00:20 +01:00
John Wellbelove
ad2f95ac79 Optimisations 2022-06-20 09:25:39 +01:00
John Wellbelove
5a460f7fec Latest refactoring
Added little endian bit stream reader tests
2022-06-19 18:37:20 +01:00
John Wellbelove
d1a522eb68 Updated CMakeLists.txt with new bit_stream tests 2022-06-18 21:20:06 +01:00
John Wellbelove
fefe6d3975 Added endianness to bit_stream_writer 2022-06-18 20:57:26 +01:00
John Wellbelove
c83b222690 Merge branch 'feature/bit_stream-reader-and-writer-like-byte_stream' of https://github.com/ETLCPP/etl into feature/bit_stream-reader-and-writer-like-byte_stream
# Conflicts:
#	test/test_atomic.cpp
#	test/vs2019/etl.vcxproj.filters
2022-06-15 11:46:48 +01:00
John Wellbelove
bf49fe60e6 Finished bit_stream_reader tests 2022-06-15 11:43:55 +01:00
John Wellbelove
f88999bb12 Latest updates to bit_stream_reader 2022-06-15 11:43:54 +01:00
John Wellbelove
11b97359fb Changed 'expected_data' to 'expected' 2022-06-15 11:43:54 +01:00
John Wellbelove
6a8cdf6892 Added error exceptions to byte_stream_writer 2022-06-15 11:43:54 +01:00
John Wellbelove
557544892c Renamed ETL_ALWAYS_ASSERT to ETL_ASSERT_FAIL 2022-06-15 11:43:54 +01:00
John Wellbelove
0e6dff2767 Added callback functionality to bit_stream_writer 2022-06-15 11:43:54 +01:00
John Wellbelove
e9c6bf689e Fixed cast 2022-06-15 11:43:53 +01:00
John Wellbelove
3a2f71456a Added optional byte_stream callback 2022-06-15 11:43:13 +01:00