4896 Commits

Author SHA1 Message Date
John Wellbelove
e6c7e23098 Updated version and release notes 2024-08-08 07:21:15 +01:00
David Hebbeker
527359f535
Make include paths to private files relative (#946)
* Render include paths relative

By removing `etl/` from include paths (in `#include` statements), the path to the directory `include/` doesn't need to be provided to the preprocessor as an include path if the files in `include/etl/` are included by other means.
This has no disadvantages.
Actually the form `#include "..."` is intended to be used for relative paths in the first place.

This is relevant if one wants to include the source files from `include/etl` only indirectly.

For example we use special generated header files which wrap the include statement of the vanilla header files with diagnostic commands.
Those commands allow to disable diagnostic for ETL's files and re-enable them after the file inclusion.
Wrapper files are generated for every non-private header file.
We provide the directory with the wrapper files as include path to the preprocessor instead of the normal `include/` directory.
Thus include statements like `#include "etl/private/..."` are invalid in that case.

* Remove "etl/" from include paths in all files in `include/`.

33 findings in 4 files of 375.

See 936961949172bca5ba1418054a055e05ecb6d1d4 for explanation.
2024-08-08 07:18:17 +01:00
John Wellbelove
16cd116055 Updated version and release notes 2024-08-07 20:42:10 +01:00
John Wellbelove
81751db03e Removed C++11 restriction on etl::observer::notification 2024-08-07 15:45:57 +01:00
John Wellbelove
b38194cec4 Removed EmbeddedTemplateLibrary-20.39.0.tar.gz from project. 20.39.2 2024-08-07 12:25:44 +01:00
John Wellbelove
d68c5e5fde Merge branch 'development' of https://github.com/ETLCPP/etl into development 20.39.1 2024-08-06 19:39:05 +01:00
John Wellbelove
c5a6f9b5b4 #942 Warning on pragma c++20-compat 2024-08-06 19:38:58 +01:00
John Wellbelove
1cbb60347d Added fix number 2024-08-06 19:38:45 +01:00
John Wellbelove
e39f5cb78c #942 Warning on pragma c++20-compat 2024-08-06 18:09:09 +01:00
John Wellbelove
f33b4d716c Updates to constexpr char traits tests 2024-08-06 15:02:13 +01:00
John Wellbelove
bceca90cd9 Updates to constexpr binary tests 2024-08-06 13:40:21 +01:00
John Wellbelove
848ecb0cf6 Updates to constexpr bit tests 2024-08-06 09:55:44 +01:00
John Wellbelove
29b719f5f4 Partial updates to bit tests 2024-08-06 08:37:08 +01:00
John Wellbelove
f7c79526f3 Fix for has_duplicates with one template parameter 2024-08-02 10:43:39 +01:00
John Wellbelove
2f8fb0ff4d Updated release notes 2024-08-02 10:39:22 +01:00
John Wellbelove
73395fe6f4 Updated C++03 observer class to accept void parameter notification types 2024-08-02 10:36:13 +01:00
John Wellbelove
f219e86806 Added etl::count_of, etl::has_duplicates, etl::has_duplicates_of 2024-08-02 10:35:29 +01:00
John Wellbelove
c61f493a01 Added observer<void> as a specialisation for C++03 code 2024-08-01 13:29:52 +01:00
John Wellbelove
a1e1207c0c Updated release notes 2024-07-31 17:23:22 +01:00
John Wellbelove
0627f33f77 Updated release notes 20.39.0 2024-07-31 16:35:22 +01:00
John Wellbelove
99737a97ff Updated release notes 2024-07-31 10:51:41 +01:00
John Wellbelove
405b57191d Fixed suite test name 2024-07-31 10:51:41 +01:00
John Wellbelove
614ed6bf05 Fixed brace syntax 2024-07-31 10:51:41 +01:00
John Wellbelove
b8aa776c59 Updated workflows 2024-07-31 10:51:41 +01:00
Boris Gromov
f01edbc5c4
Fix histogram indexing when accessed via operator [] (#939) 2024-07-31 09:04:45 +01:00
Drew Rife
211b8c2e90
fix: determine legacy variant after determining compiler version (#938) 2024-07-30 19:36:46 +01:00
John Wellbelove
bc6db72dee Updated release notes 2024-07-30 15:16:26 +01:00
John Wellbelove
8b42bb502a Merge branch 'development' 2024-07-30 14:49:04 +01:00
John Wellbelove
b3cba2f256 Merge branch 'pull-request/#935-added-20-bit-integral-limits' into development
# Conflicts:
#	support/Release notes.txt
2024-07-30 14:48:44 +01:00
John Wellbelove
ce50b814dc Merge branch 'development' 2024-07-30 14:47:29 +01:00
John Wellbelove
75f2e7b392 Added support for 20bit types for integral_limits 2024-07-30 14:46:50 +01:00
ReneCanadian
bf56dcf074
added 20 bit integral limits (#935) 2024-07-30 13:54:40 +01:00
John Wellbelove
55493a5739 Coverty shield URLs 2024-07-30 13:36:08 +01:00
John Wellbelove
7d4e4e93fd Fixed unused parameter warning 2024-07-30 13:35:30 +01:00
John Wellbelove
9b8c7780a4 Fixed legacy variant macro 2024-07-30 13:35:08 +01:00
John Wellbelove
b6801b5c0c Added observer specialisation for void notification parameter type 2024-07-30 13:33:58 +01:00
John Wellbelove
87a2e544ad Added 'Syntax Check' to syntax check test runner names. 2024-07-29 10:56:00 +01:00
John Wellbelove
37b46c4f64 Updated release notes and version 2024-07-28 17:57:35 +01:00
John Wellbelove
0b8b057a75 Fixed rebase duplication 2024-07-28 17:04:47 +01:00
John Wellbelove
1d4f400cce changed std::is_same_v to std::is_same for C++11/14 test compatibility 2024-07-28 16:51:02 +01:00
John Wellbelove
cc3d7d120d Split bit tests 2024-07-28 16:51:02 +01:00
John Wellbelove
b85cc276b3 Refactored etl::io_port classes
Added binary operators
Modified the way iterators are handled.
2024-07-28 16:51:02 +01:00
Chiraffollo
083bafa3ce Fix missing partial specialisation equal operators (#927) 2024-07-28 16:49:03 +01:00
John Wellbelove
324f5ebea9 Small format changes 2024-07-28 16:48:45 +01:00
Chiraffollo
83c55ad77e Fix issue #923 equality operator for class expected (#926)
* Add equality operators for class expected

* Add missing unequal operator

---------

Co-authored-by: Oliver Marx <omarx@de.pepperl-fuchs.com>
2024-07-28 16:48:17 +01:00
John Wellbelove
32f5d19792 Added is_active member function to callback_timer classes. 2024-07-28 16:47:13 +01:00
John Wellbelove
3a557c6f1a Removed asserts from etl::unique_ptr 2024-07-28 16:47:13 +01:00
Tigran Khachatryan
c9c01092d6 Add an etl::nullptr_t type to <etl/nullptr.h> (#924)
* Add an etl::nullptr_t type

* etlcpp/etl issue #921 (etl::unique_ptr reset): add etl::unique_ptr(...)::reset(ETL_NULLPTR)

Remove default argument for the normal reset method of etl::unique_ptr (sorry, didn't notice 😬)

Silence the unused argument warning

Fix operator =(nullptr)

Replace the nullptr_t enum with a class which acts more similar to C++11 nullptr

* Add member pointer support and delete the addressof operator

* "Delete" etl::addressof(ETL_NULLPTR)

* Ensure compatibility with C++98

* ACTUALLY ensure compatibility with C++98

I'm stupid :/

* Correct definition according to cppreference
2024-07-28 16:47:13 +01:00
Chiraffollo
aa852a9998 Fix run-tests.sh script (#929)
* Fix run-tests.sh script

- Fix ordering of parameters in help info
- Change spaces to tabs in indentation of methods (unique usage of indentation)
- Fix check for number of parameters to avoid empty string as default parameter value

* Fix incorrect comparison
2024-07-28 16:47:12 +01:00
John Wellbelove
81aae1a962 Changed default action to Linux test script 2024-07-28 16:47:12 +01:00