795 Commits

Author SHA1 Message Date
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