5494 Commits

Author SHA1 Message Date
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
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
rolandreichweinmusic
0f408a43ba
Fix gamma.h on i386 (#1136)
Add tests for gamma decode
2025-06-25 18:09:37 +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
Roland Reichwein
bcf00d008e
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.
2025-06-21 16:25:10 +01:00
John Wellbelove
293c7dfcfc Update release 20.41.7 2025-06-12 13:22:32 +01:00
John Wellbelove
a037af120b Merge branch 'hotfix/Accomodate-libc++-with-disabled-wchar_t-features' into development
# Conflicts:
#	include/etl/basic_string.h
2025-06-12 13:15:38 +01:00
John Wellbelove
964e53974a Merge branch 'hotfix/#1124-alignmenth-wont-compile-as-c03' into development 2025-06-12 13:14:05 +01:00
John Wellbelove
8441069b71 Fixed possible nullptr references 2025-06-12 13:13:34 +01:00
John Wellbelove
8659091ff3 Fixed std::string_view include warning for < C++17 2025-06-11 13:16:30 +01:00
John Wellbelove
130859c3b7 Made destructor compatible with C++03 2025-06-11 13:16:29 +01:00
Roland Reichwein
400d6d7da0
For cogapp, use cog instead of python (#1125) 2025-06-11 13:16:06 +01:00
John Wellbelove
e4977a8218 Made destructor compatible with C++03 2025-06-11 10:13:19 +01:00
John Wellbelove
be5537ec0a Updated release notes 20.41.6 2025-06-08 14:24:25 +01:00
Drew Rife
7889d44db6
chore: add newline at end of file (#1122) 2025-06-08 14:21:14 +01:00
John Wellbelove
a85e517196 Updated release notes and version 2025-06-08 11:19:54 +01:00
John Wellbelove
933da4dcb4 Added C++23 Preview configuration 2025-06-06 18:18:16 +01:00
John Wellbelove
59eab34162 Used mem_copy and mem_move to optimise vectors of pointers 2025-06-06 17:27:43 +01:00
John Wellbelove
2ff1ed1a12 Removed instances of ETL_NTH_TYPE_FORCE_CPP03_IMPLEMENTATION 2025-06-06 13:53:26 +01:00
John Wellbelove
3e9f4a99ed #1119 Forced compiler error in nth_type.h breaks containers for C++03
# Conflicts:
#	include/etl/nth_type.h
2025-06-06 13:02:10 +01:00
John Wellbelove
2085295358 #1119 Forced compiler error in nth_type.h breaks containers for C++03 2025-06-06 12:17:49 +01:00
John Wellbelove
896a2e43b7 Disable std::tuple_index and std::tuple_element forward declarations for MacOS and Clang 2025-06-06 10:15:15 +01:00
John Wellbelove
b56394a84f Further optimisation of etl::basic_string::insert by using etl::mem_move() 2025-06-06 09:39:21 +01:00
John Wellbelove
1433fb8f25 Fixed usage of structured bindings for tuple, when not using the STL 2025-06-06 09:37:53 +01:00
John Wellbelove
78d3c45cfd Fixed const&& move constructors
# Conflicts:
#	include/etl/tuple.h
2025-06-05 12:01:37 +01:00
John Wellbelove
ccb37a12a3 Fixed const&& move constructors
# Conflicts:
#	include/etl/tuple.h
2025-06-05 09:57:53 +01:00
Roland Reichwein
e2f2a39a97
Fix forward in tuple ctor (#1116) 2025-06-05 09:54:43 +01:00
John Wellbelove
ea89cf79bc Updated release 20.41.5 2025-06-04 19:14:03 +01:00