816 Commits

Author SHA1 Message Date
John Wellbelove
f8ddfb1700 Added equality and inequality operators 2020-08-30 12:11:26 +01:00
John Wellbelove
d234d5ce0d Added a line coordinate generator using the Bresenham algorithm. 2020-08-30 11:20:00 +01:00
John Wellbelove
27455044a3 Merge branch 'feature/pseudo-containers' into development
# Conflicts:
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
2020-08-30 11:17:16 +01:00
John Wellbelove
62f596667e Bresenham line algorithm - final 2020-08-30 11:16:07 +01:00
John Wellbelove
3a203a9754 Make etl::reference_wrapper API closer to the STL version. Does not support invocation of a callable object. 2020-08-28 16:14:28 +01:00
John Wellbelove
405de495ec Fixed etl::stack top level assignment operator not clearing before copy 2020-08-27 19:58:47 +01:00
John Wellbelove
f2d6df5944 Fixed etl::stack top level assignment operator not clearing before copy 2020-08-27 18:40:05 +01:00
John Wellbelove
482c69f314 Small refactoring 2020-08-27 13:31:27 +01:00
John Wellbelove
9910569b76 Small refactoring 2020-08-27 10:45:57 +01:00
John Wellbelove
8e76238439 Added all units tests 2020-08-26 12:36:47 +01:00
John Wellbelove
ae64cfa681 Initial Bresenham line algorithm 2020-08-25 11:44:40 +01:00
John Wellbelove
f339e8d3da Fixed issue for incorrect operation of erase(const_iterator, const_iterator)
when the terminating iterator was end() for etl::unordered_map, etl::unordered_multimap, etl::unordered_set and etl::unordered_multiset.
2020-08-15 21:00:18 +01:00
John Wellbelove
efbfc5c8ff clang 9 compatibility 2020-08-09 17:01:45 +01:00
John Wellbelove
50b60c025d String stream test << operator in etl namespace 2020-08-08 13:52:09 +01:00
John Wellbelove
1f2fd18d88 String stream test << operator 2020-08-08 13:52:08 +01:00
John Wellbelove
d389f06cdf String stream test << operator 2020-08-08 13:52:08 +01:00
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