John Wellbelove
b5bdb4f566
String stream test << operator in etl namespace
2020-08-07 09:57:34 +01:00
John Wellbelove
cb7e224f93
String stream test << operator
2020-08-07 09:39:14 +01:00
John Wellbelove
744618ceaa
String stream test << operator
2020-08-07 08:44:47 +01:00
John Wellbelove
5a604e1124
String stream test << operator
2020-08-07 08:33:25 +01:00
John Wellbelove
a0a86aa748
Added iterator comparisons
2020-08-06 20:45:52 +01:00
John Wellbelove
bd578b6e77
Resolve 0U ambiguity in string utility tests
2020-08-02 15:14:52 +01:00
John Wellbelove
2effe18ca3
Update CMakeLists.txt
2020-08-02 14:04:01 +01:00
John Wellbelove
c83ac6dcb5
Merge branch 'feature/string-utilities' into development
2020-08-01 16:21:41 +01:00
John Wellbelove
09faee80da
Merge branch 'feature/string-utilities' into development
2020-08-01 15:57:20 +01:00
finger42
8f1361649e
Build and run tests with Clang-9 on Linux ( #252 )
...
* Try to build on Ubuntu-18.04 with Clang-9
* Build with pushes on clang-9 branch too
* Using CC and CXX to set clang-9
* Adding atomic lib for test build on Linux with Clang
* Partial conversion CHECK_EQUAL to CHECK for clang-9
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
* Replaced CHECK_EQUAL with CHECK
Co-authored-by: finger42 <finger42>
2020-08-01 14:20:14 +01:00
John Wellbelove
c80f30e990
Recoded string utility get_token()
2020-08-01 14:18:51 +01:00
John Wellbelove
40fc617466
Fix and optimise etl::list and etl::forward_list shared pool move constructors and assignment operators.
2020-07-30 12:52:40 +01:00
John Wellbelove
50ff0fa7e3
Implicit and explicit pools for copy and move
2020-07-29 11:06:38 +01:00
John Wellbelove
ca1f74d308
Optimised forward_list move constructor and assignment
2020-07-29 10:27:20 +01:00
John Wellbelove
8f0199c789
Added etl::ibitset::span() member functions to return a span of the underlying binary data.
...
Moved image resources
2020-07-27 10:52:07 +01:00
John Wellbelove
bc780a6c44
Fix pointer vector move operators
...
Optimise constructors and assignments for pointer vectors
2020-07-26 13:10:38 +01:00
John Wellbelove
089cff9c0f
Fix pointer vector move operators
...
Optimise constructors and assignments for pointer vectors
2020-07-25 19:31:23 +01:00
John Wellbelove
997eb85f75
Added enable/disable observer interface to observable class
2020-07-25 16:57:02 +01:00
John Wellbelove
8d60eb5e0e
Fixed incorrect return in find() and at() for non-existent key.
2020-07-20 19:55:19 +01:00
John Wellbelove
2cf00a0ba4
Re-coded string utilities to allow any string-like container to use it.
2020-07-18 20:18:32 +01:00
John Wellbelove
476576bca9
Re-coded string utilities to allow any string-like container to use it.
2020-07-18 16:24:10 +01:00
John Wellbelove
26c595edc8
Renamed string utility etl::transform to etl::replace
2020-07-17 13:48:01 +01:00
John Wellbelove
21001d1847
w, u16 & u32 string utilities added
2020-07-16 01:03:41 +01:00
John Wellbelove
5c9f648cc5
Full string utilities for char
2020-07-15 12:22:46 +01:00
John Wellbelove
488f8a0f5f
Initial get_token code
2020-07-13 20:02:07 +01:00
John Wellbelove
0ba98f4b00
Added etl::replace and etl::replace_if to algorithms.h
...
Added etl::transform to string utilities
2020-07-13 11:27:22 +01:00
John Wellbelove
e6b9919df5
Almost complete 'trim' code
2020-07-12 13:38:20 +01:00
John Wellbelove
5399199290
Initial incomplete code
2020-07-11 20:19:02 +01:00
John Wellbelove
e915ab5d9f
Remove unnecessary member functions
2020-07-10 11:52:27 +01:00
John Wellbelove
9890f5b856
Merge branch 'feature/string-streams' into development
2020-07-10 11:20:12 +01:00
John Wellbelove
dcf5f108e7
Code formatting adjustments
2020-07-10 11:19:51 +01:00
John Wellbelove
575a0feec0
Merge branch 'feature/string-streams' into development
2020-07-09 18:57:52 +01:00
John Wellbelove
b96e707bad
Added showbase
2020-07-09 18:57:09 +01:00
John Wellbelove
509a930b55
Added stream manipulators
2020-07-09 14:21:40 +01:00
John Wellbelove
f40f0c1a37
Initial string manipulators
...
etl::string_stream implementation only
2020-07-07 23:51:04 +01:00
John Wellbelove
e9f861c74a
Merge branch 'feature/string-streams' into development
...
# Conflicts:
# include/etl/version.h
2020-07-05 20:56:07 +01:00
John Wellbelove
2f1343ec0e
Initial string stream commit
2020-07-05 19:39:50 +01:00
John Wellbelove
c8e1257c59
Modify visitor tests to include visit through base
2020-07-04 15:59:14 +01:00
John Wellbelove
a27508ca96
Refactored etl::error_handler to use etl::delegate style implementation.
...
Allows set_callback() function to be given run-time and compile-time pointers to free and member functions without using etl::ifunction.
2020-06-26 10:48:14 +01:00
Andreas W
4f31c6e40e
Fix span dynamic extent ( #235 )
...
* Enable span tests
* Handle dynamic extent in span::subspan
Fixes #234
Correct handling when count equals dynamic_extent,
which would previously cause the end pointer to be set to the
wrong location.
2020-06-18 13:12:57 +01:00
John Wellbelove
f8fbb119f7
C++03 compatibility changes for type_traits.h
2020-05-27 11:57:41 +01:00
John Wellbelove
fefbfacb6f
Added etl::parameter_pack
2020-05-23 20:35:56 +01:00
John Wellbelove
c68ed3dea1
Added etl::parameter_pack
2020-05-23 17:15:43 +01:00
John Wellbelove
59c389b253
Variadic versions of etl::type_id_lookup and etl::type_type_lookup for C++11 and above.
2020-05-21 17:35:06 +01:00
John Wellbelove
0bfc97a914
Variadic versions of etl::type_id_lookup and etl::type_type_lookup for C++11 and above.
2020-05-19 20:12:12 +01:00
John Wellbelove
0e3537526b
Merge branch 'development' into feature/add_circle-ci_support
2020-05-12 16:47:24 +01:00
John Wellbelove
d8fcf01cae
Minor tidying
2020-05-12 15:25:35 +01:00
John Wellbelove
9206209392
Merge branch 'development' into feature/add_circle-ci_support
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
# test/test_make_string.cpp
# test/test_string_char.cpp
# test/vs2017/etl.vcxproj.filters
2020-05-12 12:34:06 +01:00
John Wellbelove
bc682c580c
Merge branch 'hotfix/bug-when-self-merging-lists' into development
2020-05-11 15:15:10 +01:00
John Wellbelove
f4d9476900
Simplified conditional macros
2020-05-09 19:40:44 +01:00
Phillip Johnston
585251a870
Strings may use external buffers if the 'max size' template parameter is zero.
2020-05-09 13:08:19 +01:00
John Wellbelove
d55695e3d4
Strings may use external buffers if the 'max size' template parameter is zero.
2020-05-09 12:47:55 +01:00
John Wellbelove
06860eb840
Fixed 'insert to empty container' bug for deque
2020-05-05 15:47:24 +01:00
John Wellbelove
e323f2267f
Changed http://www.etlcpp.com to https://www.etlcpp.com
2020-05-01 10:22:36 +01:00
John Wellbelove
a74d8bf0c5
Fix message_packet test structures
2020-04-30 19:10:33 +01:00
John Wellbelove
0eeef097ae
Fix insert to empty deque bug
2020-04-30 19:10:03 +01:00
John Wellbelove
2f9fcef66d
Added test_log_1000_base test
2020-04-30 12:47:51 +01:00
John Wellbelove
7f2a757755
Removed Windows Unicode dependency
2020-04-30 12:47:27 +01:00
John Wellbelove
c3039d694d
Removed template typename requirement for 'allocate' and 'create' in etl::pool
2020-04-30 12:36:37 +01:00
John Wellbelove
9a0280d469
Move generator files to their own directory
2020-04-21 10:37:07 +01:00
John Wellbelove
1c53cedc77
Updates to example profiles
...
Added development OS detection
Removed deprecated CMake file
2020-04-17 14:01:15 +01:00
ProgmaticProgrammer
1bf775ae3d
array_view boundary test and fix. ( #211 )
2020-04-15 06:51:34 +01:00
John Wellbelove
cdeef0fecc
Updated message router and FSM
...
Deprecated is_null_router(), added is_producer() and is_consumer()
2020-04-14 10:12:52 +01:00
John Wellbelove
b54ab99483
Changed etl::move to etl::forward in etl::make_pair
...
Added implicit conversions between etl::pair and std::pair
2020-04-13 18:39:56 +01:00
John Wellbelove
5332cffe44
Add message producer
2020-04-10 15:17:07 +01:00
John Wellbelove
7df68346aa
Make etl::array_view immutable by default
2020-04-10 11:20:01 +01:00
John Wellbelove
8171fe3784
Modified etl::message_packet to allow default construction, copy/move construction and copy/move assignment.
2020-04-09 14:17:35 +01:00
John Wellbelove
afa10ea187
Changed local 'work' variables from uint_least8_t to uint32_t to avoid possible overflow.
...
Fixed miss-spelt scheduler policies. Typedef'd old names for backwards compatibility.
2020-04-08 09:59:57 +01:00
John Wellbelove
7b61eec2a6
Added etl::span
2020-04-01 15:11:07 +01:00
John Wellbelove
9db26d293f
Added move_iterator
2020-03-31 12:00:21 +01:00
John Wellbelove
cefce447b4
Remove initialisation of the moved from container. Not required by STL containers.
2020-03-31 11:59:05 +01:00
John Wellbelove
42477dba82
Merge branch 'feature/move-api-for-unordered-map-set' into development
2020-03-30 18:06:22 +01:00
John Wellbelove
a108addf84
Added move API to unordered map and set containers.
...
Added a 'move' member function that moves items into the containers.
2020-03-30 18:05:33 +01:00
John Wellbelove
46526774d5
Removed unused projects
2020-03-29 18:47:09 +01:00
John Wellbelove
bff480b9a2
Removed ETL's implementation of nullptr for pre C++11 compilers.
...
Created the macro ETL_NULLPTR for internal use. Equates to NULL or nullptr, dependent on the compiler version and project profile.
Added partial compile time versions of binary_fill and has_zero_byte.
2020-03-28 19:16:55 +00:00
John Wellbelove
d59f53fe25
C++98/03 compatibility changes
2020-03-27 13:11:17 +00:00
John Wellbelove
c90c7967c6
Added etl::message_packet classes
2020-03-23 19:49:24 +00:00
John Wellbelove
031e86d1e3
Added etl::message_packet classes and generator
2020-03-23 19:48:43 +00:00
John Wellbelove
a06332f163
Updates to make unique_ptr similar to std::unique_ptr
...
Fixed unique_ptr swap() compilation issue
Added mutex for FreeRTOS
2020-03-19 17:59:45 +00:00
John Wellbelove
cf4cc49e56
Updated memory unit tests.
...
Added ETL_EXCEPTIONS_DISABLED macro test to platform.h
2020-03-19 17:16:29 +00:00
John Wellbelove
582aa051c5
rvalue reference support for heap functions and etl::priority_queue
2020-03-18 19:51:41 +00:00
John Wellbelove
7afcc2bb19
Small compatibility fix to nullptr.h
2020-03-18 00:56:50 +00:00
John Wellbelove
e4ad911468
Small compatibility fix to nullptr.h
2020-03-18 00:39:38 +00:00
John Wellbelove
9b9563be0c
Merge remote-tracking branch 'origin/development'
2020-03-02 21:32:02 +00:00
mchodzikiewicz
2c1faa1bf9
Add optional::has_value() to fulfill C++17's API ( #195 )
2020-03-02 12:32:56 +00:00
John Wellbelove
6e3069a59e
Removed unused file from project
2020-02-24 11:57:32 +01:00
John Wellbelove
caba10699a
Move etl::swap to utilities.h
...
Fixed many CLang warnings
2020-02-24 11:48:04 +01:00
John Wellbelove
be4f34de18
Fixed many CLang warnings
2020-02-24 10:33:00 +01:00
John Wellbelove
3f7cbe22c7
Ignore exe
2020-02-18 11:03:37 +01:00
John Wellbelove
5cdcc8d4c6
Fix etl::pair error and warning
2020-02-18 10:45:09 +01:00
John Wellbelove
e6617dc7e7
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-02-12 09:40:20 +01:00
John Wellbelove
9dd88e1885
Merge remote-tracking branch 'origin/development'
2020-02-11 13:27:43 +01:00
mchodzikiewicz
119d68d3e5
Fix cmake Unittest++ include path ( #188 )
2020-01-17 14:35:28 +00:00
John Wellbelove
a1a0391282
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-01-15 16:32:01 +00:00
John Wellbelove
8a99a2725c
Merge remote-tracking branch 'origin/development'
...
# Conflicts:
# include/etl/version.h
# library.json
# library.properties
# support/Release notes.txt
2020-01-14 12:46:17 +00:00
John Wellbelove
af5a760d5d
Merge remote-tracking branch 'origin/development'
2020-01-14 11:57:04 +00:00
John Wellbelove
97abf6ccc0
Added min_element & max_element
2020-01-12 16:25:37 +00:00
John Wellbelove
6ad77153be
Final changes
2020-01-10 14:01:33 +00:00
John Wellbelove
83347ccfdd
Work in progress
2020-01-09 11:15:50 +00:00
John Wellbelove
b99be4b249
Work in progress
2020-01-04 19:47:40 +00:00