5524 Commits

Author SHA1 Message Date
John Wellbelove
fa77f58247 Updated version and release notes 20.42.1 2025-07-11 15:48:55 +01:00
Roland Reichwein
1a430f4029
Fix compile error in closure.h by using etl::forward (#1147) 2025-07-11 15:44:59 +01:00
John Wellbelove
7f7127a6ab Added doxygen comments to etl::closure
Added bind member function for the full set of arguments
20.42.0
2025-07-11 11:46:47 +01:00
John Wellbelove
ea09c5ee8d Fixed declaration of etl::const_multiset_ext template deduction guides. 2025-07-11 11:45:05 +01:00
John Wellbelove
3da8b20dfe Updated version and release notes 2025-07-10 15:41:15 +01:00
John Wellbelove
94e18bee81 Undated type_traits generator 2025-07-10 15:19:56 +01:00
John Wellbelove
3dce945223 Added ETL_NOEXCEPT to etl::delegate 2025-07-10 14:30:18 +01:00
John Wellbelove
3888b623e7 Added ETL_NOEXCEPT to etl::type_def 2025-07-10 10:25:27 +01:00
wandns
dc6f028b99
Workaround for link libraries call on Zephyr platform (#1145)
zephyr_link_interface() does not work as intended because the
implementation in zephyr/cmake/modules/extensions.cmake:

function(zephyr_link_interface interface)
  target_link_libraries(${interface} INTERFACE zephyr_interface)
endfunction()

is backwards, i.e., target_link_libraries(etl INTERFACE zephyr_interface)
vs. target_link_libraries(zephyr_interface INTERFACE etl).

The workaround results in the following CMake code being executed:

target_link_libraries(zephyr_interface INTERFACE etl::etl)
2025-07-10 10:17:01 +01:00
John Wellbelove
7535d9b63a Merge branch 'pull-request/#1144-Add-support-for-CRC8-NRSC5' into development 2025-07-09 10:22:12 +01:00
John Wellbelove
99e3ebd3d5 Added crc8_nrsc5 for VS2022 and CMake projects 2025-07-09 10:21:35 +01:00
Cpt-Seablue
bb496e6262
Add support for CRC8-NRSC5 (#1144)
* Add CRC8-NRSC5 parameters

* Add CRC8-NRSC5 header

* Add CRC8-NRSC5 header

* Add tests
2025-07-08 20:48:17 +01:00
John Wellbelove
9b3d8dc96e Fixed lower and upper bound tests for std::less comparator 2025-07-08 20:47:05 +01:00
John Wellbelove
67dfd5c0dd Completed tests for const_map, const_multimap, const_setand const_multiset 2025-07-08 20:41:34 +01:00
John Wellbelove
89647c14f2 Fixed const_map and const_set operator== to check container sizes 2025-07-08 08:18:03 +01:00
John Wellbelove
9026ef8933 Merge branch 'pull-request/#1135-Fix-error-on-running-clang-test-only' into development
# Conflicts:
#	test/vs2022/etl.vcxproj
#	test/vs2022/etl.vcxproj.filters
2025-07-07 11:18:49 +01:00
rolandreichweinmusic
28da1fa3ef
Fix tests on big endian (#1142)
* Fix bitset_new test: bitset is implemented as little endian container

* Fix test_bsd_checksum.cpp: endian test was only implemented for little endian

* Fix endianness test

* Fix endian in crc tests

* Fix test_fnv_1

* Fix test_hash

* Fix test_jenkins

* Fix test_memory

* Fix pearson test

* Fix test_xor_rotate_checksum

* Fix murmur test
2025-07-07 08:55:59 +01:00
Roland Reichwein
72e71a8cb6
Fix build of tuple on clang >= 19 (#1141) 2025-07-06 23:53:28 +01:00
John Wellbelove
f2d9ec18a4 Changed name of macro
Added macro to etl traits
2025-07-06 23:46:52 +01:00
Roland Reichwein
2c3eee4c58
Byteswap depends on individual availability of std::byteswap (#1140) 2025-07-06 23:28:55 +01:00
Roland Reichwein
cb6b384f88
Cleanup to get more independent of std (#1139)
* Remove redundant test.sh

* Fix includes according to usage / dependency in individual header files
2025-07-06 20:59:39 +01:00
Roland Reichwein
5807337721
Ignore deprecated float_denorm_style (#1138) 2025-07-06 20:30:42 +01:00
John Wellbelove
feeb0d480a Fixed C++03 compatibility
Added syntax checks for closure.h
2025-07-06 20:24:19 +01:00
Roland Reichwein
3c783e2de7
Add etl::closure (#1137) 2025-06-28 11:18:46 +01:00
John Wellbelove
3784991dd2 Added const_set_constexpr tests 2025-06-28 09:05:50 +01:00
John Wellbelove
5f73295392 Modified const_map & const_multimap type definitions
Added const_set
2025-06-28 08:53:48 +01:00
John Wellbelove
79f93b797b Remove const_map test 2025-06-27 09:33:51 +01:00
John Wellbelove
39469d29dc Revert "Split classes into ETL standard top level and 'i' base classes."
This reverts commit de13fb8afea9aa2777958d902336dcb04f87968e.

# Conflicts:
#	include/etl/const_map.h
#	include/etl/const_multimap.h
#	test/test_const_map.cpp
#	test/test_const_map_constexpr.cpp
#	test/test_const_multimap.cpp
#	test/test_const_multimap_constexpr.cpp
#	test/vs2022/etl.vcxproj
#	test/vs2022/etl.vcxproj.filters
2025-06-27 09:28:58 +01:00
John Wellbelove
f6b969eeba Revert "etl::const_map completed"
This reverts commit 697cd0a5aaa87ab9da6d1ad337a6c55d9934be57.

# Conflicts:
#	include/etl/const_map.h
2025-06-27 09:26:23 +01:00
John Wellbelove
3db20a4e91 Revert "Added const_map_ext and const_multimap_ext"
This reverts commit 8591569eb530a33a0d136bb5bfe2d1fe8c8d2f31.

# Conflicts:
#	include/etl/const_map.h
#	test/test_const_map.cpp
2025-06-27 09:25:03 +01:00
John Wellbelove
a94d0ce986 Revert "Work in progress"
This reverts commit 799280f615c4c46d68571e990926f2dd2fc3d64f.

# Conflicts:
#	include/etl/const_map.h
#	test/test_const_map.cpp
2025-06-27 09:22:31 +01:00
John Wellbelove
52cd92d31a Minor format change 2025-06-26 20:23:24 +01:00
Roland Reichwein
3ec2db51c8 Fix error on running clang test only (#1135)
* Fix error on running clang test only

Consolidate tests by factoring out redundant test function

* Make run-tests.sh executable
2025-06-26 20:23:23 +01:00
John Wellbelove
8591569eb5 Added const_map_ext and const_multimap_ext 2025-06-26 20:23:22 +01:00
John Wellbelove
de13fb8afe Split classes into ETL standard top level and 'i' base classes.
Split into const and constexpr unit tests files
2025-06-26 20:23:22 +01:00
John Wellbelove
4808919caf Added value_compare to lexicographical_compare call 2025-06-26 20:23:21 +01:00
John Wellbelove
6530c9625f Modified to have iconst_map base type 2025-06-26 20:23:20 +01:00
John Wellbelove
4d10d47f5e Removed non-const iterator and pointer types
Updated Doxygen comments
2025-06-26 20:23:20 +01:00
John Wellbelove
697cd0a5aa etl::const_map completed 2025-06-26 20:23:19 +01:00
John Wellbelove
4dee5e81cd Work in progress 2025-06-26 20:23:18 +01:00
John Wellbelove
ae43011468 Fixed reversed struct greater<void> parameters 2025-06-26 20:23:18 +01:00
John Wellbelove
799280f615 Work in progress 2025-06-26 20:23:17 +01:00
John Wellbelove
9fdc1e1326 Minor format change 2025-06-26 20:22:41 +01:00
Roland Reichwein
51040d1a28
Fix error on running clang test only (#1135)
* Fix error on running clang test only

Consolidate tests by factoring out redundant test function

* Make run-tests.sh executable
2025-06-25 18:38:25 +01:00
rolandreichweinmusic
0f408a43ba
Fix gamma.h on i386 (#1136)
Add tests for gamma decode
2025-06-25 18:09:37 +01:00
John Wellbelove
64eb9742f0 Added const_map_ext and const_multimap_ext 2025-06-25 14:47:47 +01:00
John Wellbelove
e84be139c5 Split classes into ETL standard top level and 'i' base classes.
Split into const and constexpr unit tests files
2025-06-24 13:24:17 +01:00
John Wellbelove
d458811c26 Added value_compare to lexicographical_compare call 2025-06-24 13:19:56 +01:00
Roland Reichwein
185557db59 Fix usage of template keyword (#1131)
For non-GCC-compilers, the template keyword is being used in
parameter_pack.h for referring to a template template member.

However, clang 19 and 20 don't accept this.

It should be verified which compiler really needs the template
keyword here at all. If not, the if-branch can be removed.

Removed redundant ETL_USING_WIDE_CHARACTERS

Added using_libc_wchar_h to ETL traits

#1127 type_traits.h and C++03

Changed many instances of mem_copy to mem_move
2025-06-22 11:13:43 +01:00
John Wellbelove
62ffe81c1f Modified to have iconst_map base type 2025-06-22 11:13:07 +01:00