1740 Commits

Author SHA1 Message Date
John Wellbelove
a98d387a11 #850 Fixed names according to Arduino's guidelines 2024-02-24 11:49:54 +00:00
Chiraffollo
84031659fa
Fix #832: Only copy/move storage value when optional is valid (#833) 2024-01-27 00:55:51 +00:00
John Wellbelove
dd060d5013 Updated version and release 2023-12-10 16:25:45 +00:00
John Wellbelove
f500cd29a8 Prioritize ETL_TARGET_OS_* for mutex selection 2023-12-10 12:57:39 +00:00
John Wellbelove
783be74dd3 Updated version and release notes 2023-12-08 09:26:23 +00:00
John Wellbelove
eba9c5797d Added CRC1 (AKA Parity)
Modified test suit names
2023-12-08 09:03:17 +00:00
John Wellbelove
9161413337 Merge branch 'hotfix/#799-Iterator-returned-by-crc.input()-does-not-satisfy-std--output_iterator' into development 2023-12-08 08:46:34 +00:00
John Wellbelove
6775dba40d Fixed output iterator for frame_check_sequence and pseudo_moving_average 2023-12-08 08:46:16 +00:00
John Wellbelove
4b97e82876 Added CRC1 (AKA Parity)
Modified test suit names
2023-12-07 16:19:46 +00:00
John Wellbelove
1027e66279 #795 etl::private_variant doesn't fully respect the chosen error reporting. 2023-12-05 14:24:32 +00:00
John Wellbelove
bdba48016b typo 2023-12-05 09:59:44 +00:00
John Wellbelove
8aa799a3cb Added check for NAN definitions for C++11 FP functions 2023-12-05 09:53:47 +00:00
John Wellbelove
cbbd1d840a Added additional etl::make_lsb_mask and etl::make_msb_mask binary functions 2023-12-04 08:38:42 +00:00
John Wellbelove
4606e33a6d Merge branch 'pull-request/#782-Set-is-full-error-when-adding-existing-item' into development 2023-11-24 11:26:55 +00:00
İsmail Tüzün
c6fecd9d7c
Set is full error when adding existing item (#782)
* Fixed set_full error when inserting existing item.

* Added test inserting existing value to full set

* Added test inserting existing value to full flat_set and reference_flat_set

* Fixed unordered_set_full error when inserting existing item.
2023-11-24 11:24:52 +00:00
John Wellbelove
b732b14c53 Update version and release notes 2023-11-24 11:22:50 +00:00
John Wellbelove
04211563f5 Fix useless cast 2023-11-24 10:23:12 +00:00
John Wellbelove
63d1a64e6c #787 etl::expected doesn't compile with ETL_LOG_ERRORS
Updated CI scripts
#786 u8string
#783 Cannot insert existing value to full set
#781 etl::multi_span::iterator::operator *() fails if first span is empty
#780 endian enum_type produces useless-cast warnings
#779 hash.h: warnings produced with -Wfloat-equal
2023-11-24 09:59:35 +00:00
John Wellbelove
f5879a757a Merge branch 'hotfix/#779-hash-h-warnings-produced-with-Wfloat-equal' into development
# Conflicts:
#	test/run-tests.sh
#	test/vs2022/etl.vcxproj.filters
2023-11-21 17:55:57 +00:00
John Wellbelove
61da85fa77 Removed float-equal warnings
Added functions is_nan, is_infinity, is_zero & is_exactly_equal
Fixed array-bounds warnings for GCC and -O2 optimisation
2023-11-21 15:13:24 +00:00
John Wellbelove
03cbf64c42 Merge branch 'hotfix/#787-etl-expected-doesn't-compile-with-ETL_LOG_ERRORS' into development 2023-11-14 10:35:32 +00:00
John Wellbelove
6c3eddaf76 Changed etl::expected_invalid to non-template type
Added tests for rereference operators
2023-11-14 10:35:04 +00:00
John Wellbelove
521bae91eb Merge branch 'hotfix/#781-etl-multi_span-iterator-function-operator-fails-if-first-span-is-empty' into development 2023-11-14 00:08:57 +00:00
John Wellbelove
b6650120f8 Added u8string + utilities
Changed char types to unsigned 'least' types
2023-11-14 00:06:57 +00:00
John Wellbelove
c400779905 #781 etl::multi_span::iterator::operator *() fails if first span is empty 2023-11-03 18:37:25 +01:00
John Wellbelove
47e16bd010 Updated version and release notes 2023-10-28 22:52:41 +02:00
John Wellbelove
09c3b30f83 Revert "Added add_lvalue_reference for rvalue reference"
This reverts commit a09efffb8fadb0c25923fe5435b7b1f9bdd673f1.
2023-10-28 11:38:54 +02:00
John Wellbelove
a09efffb8f Added add_lvalue_reference for rvalue reference 2023-10-28 11:35:38 +02:00
John Wellbelove
f8d5c31f66 Refactored swap 2023-10-28 11:33:25 +02:00
John Wellbelove
39c3ca8dea Merge remote-tracking branch 'origin/pull-request/#777-Allow-Building-Tests-as-Submodule-and-GCC-less-than-11' into development 2023-10-27 10:20:58 +02:00
jmartens-42
13759c1cbb
moved BUILD_TESTS check outside of root cmake check to allow building tests in submodules (#777)
added check for GNUC >= 11 for -Wstringop-overread ignore pragma since it isn't introduced until gcc/g++-11

Co-authored-by: Josh <joshua.martens@magna.com>
2023-10-26 20:07:23 +02:00
John Wellbelove
e8eeeba875 Merge branch 'master' into development 2023-10-23 09:59:41 +01:00
John Wellbelove
85f2e09ef7 #776 Add missing semicolons 2023-10-23 09:35:01 +01:00
H1MSK
837a5156b4
Add missing semicolons (#776) 2023-10-22 16:16:04 +01:00
John Wellbelove
5ca6e05eb8 Added etl::string interface to etl::base64 2023-10-15 11:44:23 +01:00
John Wellbelove
21a9b884bc Added etl::string::fill() 2023-10-15 11:44:23 +01:00
John Wellbelove
6bc244cf8e Final changes 2023-10-15 11:44:22 +01:00
John Wellbelove
f7281dc680 Initial code 2023-10-15 11:44:22 +01:00
John Wellbelove
91a357d18d static_cast for string_view & array_view size() member functions 2023-10-15 11:44:22 +01:00
John Wellbelove
92e880f3b1 #773 Return raw pointer for etl::multi_span::operator->() 2023-10-14 21:34:39 +01:00
David Hebbeker
e631a0fd9b
Return raw pointer for etl::multi_span::operator->(). (#773)
- using `operator*()` in case getting the current element is changed one day
- using `&` to get the address

Simply returning `p_value` may break in case the internal type of `p_value` would change. This way it is more robust to changes.
2023-10-13 20:48:46 +01:00
John Wellbelove
24b145896d Updated versions 2023-09-27 17:56:10 +01:00
John Wellbelove
11155eb9f1 Fixed alignment functionality 2023-09-27 13:48:53 +01:00
John Wellbelove
d507106764 Merge branch 'development' of https://github.com/ETLCPP/etl into development 2023-09-24 19:56:38 +01:00
John Wellbelove
754ac74d5a Updated release notes 2023-09-24 19:48:15 +01:00
John Wellbelove
61713b6ce4 Refactored storage for etl::optional 2023-09-24 18:54:24 +01:00
John Wellbelove
1f368ead6c #766 etl::unique_ptr::reset() can call deleter with nullptr argument 2023-09-23 11:29:14 +01:00
John Wellbelove
40df32148e Merge branch 'hotfix/#749-Code-change-causes-warning-with-armcc-compiler' into development 2023-09-21 18:25:01 +01:00
John Wellbelove
2b6f6de846 Commets added 2023-09-21 18:22:48 +01:00
John Wellbelove
9a73f5e3a5 Enabled etl::overload for C++11 & C++14 2023-09-20 23:06:45 +01:00