291 Commits

Author SHA1 Message Date
John Wellbelove
da20977d64 Merge remote-tracking branch 'origin/feature/refactor_type_traits' into development 2020-01-12 16:50:45 +00:00
John Wellbelove
97abf6ccc0 Added min_element & max_element 2020-01-12 16:25:37 +00:00
John Wellbelove
c794bf14fe Final changes 2020-01-11 17:22:33 +00:00
John Wellbelove
7fa142dc71 Final changes. Added wrapper around STL sort functions 2020-01-11 13:57:17 +00:00
John Wellbelove
6ad77153be Final changes 2020-01-10 14:01:33 +00:00
John Wellbelove
f54563ef07 Added use of C++11's 'alignof' keyword in 'alignment_of', if available 2020-01-10 13:27:05 +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
John Wellbelove
94c5eed5a4 Work in progress 2020-01-04 11:49:22 +00:00
John Wellbelove
fc50557003 Work in progress 2020-01-04 11:20:29 +00:00
John Wellbelove
c947ba3c7e Removed redundant overload 2019-12-28 11:12:20 +00:00
John Wellbelove
1335d5eb01 Erased 2019-12-27 12:57:46 +00:00
John Wellbelove
d6f8b69326 Merge remote-tracking branch 'origin/feature/determine_compiler_versions' into development
# Conflicts:
#	examples/ArmTimerCallbacks - C++/ArmTimerCallbacks.uvprojx
#	examples/ArmTimerCallbacks - C++/main.cpp
#	include/etl/algorithm.h
#	include/etl/platform.h
#	include/etl/stl/alternate/limits.h
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
#	test/codeblocks/ETL.cbp
#	test/etl_profile.h
#	test/vs2017/etl.vcxproj
#	test/vs2017/etl.vcxproj.filters
2019-12-27 12:57:34 +00:00
John Wellbelove
b04e886d48 Fix to gcc mutex 2019-12-26 20:15:22 +00:00
John Wellbelove
41fc53c805 Updated version number 2019-12-22 21:26:20 +00:00
John Wellbelove
766a338d32 Merge branch 'hotfix/add_construction_from_string_view' into development 2019-12-22 21:12:04 +00:00
John Wellbelove
0685ae9c20 Added explicit construction from string_view 2019-12-22 21:10:49 +00:00
John Wellbelove
7609f72447 Updated type_traits_generator 2019-12-19 20:01:15 +00:00
John Wellbelove
fca078fd9b Quick fix to ETL_HAS_MUTEX position in queue_mpmc_mutex.h 2019-12-18 10:20:35 +00:00
John Wellbelove
3382ed03a3 Move ETL_NODISCARD definition to ETL_CPP17_SUPPORTED test 2019-12-18 10:09:57 +00:00
John Wellbelove
0acbdb98b2 Refactored CRC classes for better code sharing and reduced resource requirements. 2019-12-12 20:42:37 +00:00
John Wellbelove
7e5a4e1efe Merge remote-tracking branch 'origin/crc-ccitt-xmodem' into development
# Conflicts:
#	README.md
2019-12-12 12:19:05 +00:00
John Wellbelove
703fe0f92b Changes to alternate STL limits.h for ARM5 compiler compatibility 2019-12-11 12:57:50 +00:00
John Wellbelove
3649f839f5 Merge remote-tracking branch 'origin/feature/make_string_with_capacity' into development
# Conflicts:
#	include/etl/cstring.h
#	include/etl/u16string.h
#	include/etl/u32string.h
#	include/etl/wstring.h
2019-12-06 12:39:31 +00:00
Rolan Reznik
b5184d903e Make string optimization (#179)
* Add NO_STL std::reverse implementation (#174)

Follows the example implementation on [1].

[1] https://en.cppreference.com/w/cpp/algorithm/reverse

* Merge remote-tracking branch 'origin/feature/no_stl_unit_tests' into development

# Conflicts:
#	include/etl/stl/alternate/algorithm.h
#	include/etl/stl/alternate/iterator.h
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
#	test/test_no_stl_algorithm.cpp
#	test/test_no_stl_iterator.cpp
#	test/vs2017/etl.vcxproj

* Fix merge function duplication

* Merge remote-tracking branch 'origin/development'

# Conflicts:
#	include/etl/private/choose_pair_types.h
#	include/etl/private/choose_tag_types.h
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt

* Update README.md

* make_string optimisation. String length is calculated in compile time, no need to use strlen.
2019-12-06 10:16:53 +00:00
John Wellbelove
727596b6ed Merge remote-tracking branch 'origin/feature/etl__make_string' into development
# Conflicts:
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
2019-12-04 20:55:18 +00:00
John Wellbelove
84cfab6b32 Merge remote-tracking branch 'origin/feature/indirect_vector_algorithm_adaptor' into development
# Conflicts:
#	include/etl/indirect_vector.h
2019-12-04 16:23:35 +00:00
John Wellbelove
792cb7bcc8 Merge remote-tracking branch 'origin/feature/no_stl_unit_tests' into development
# Conflicts:
#	include/etl/private/choose_pair_types.h
#	include/etl/private/choose_tag_types.h
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
2019-12-02 12:05:27 +00:00
John Wellbelove
5803d928a1 Merge remote-tracking branch 'origin/feature/no_stl_unit_tests' into development
# Conflicts:
#	include/etl/stl/alternate/algorithm.h
#	include/etl/stl/alternate/iterator.h
#	include/etl/version.h
#	library.json
#	library.properties
#	support/Release notes.txt
#	test/test_no_stl_algorithm.cpp
#	test/test_no_stl_iterator.cpp
#	test/vs2017/etl.vcxproj
2019-12-01 18:21:10 +00:00
John Wellbelove
00431999d9 Added reverse_iterator unit tests
Fixed missing equality operator for reverse_iterator.
2019-11-28 20:36:58 +00:00
John Wellbelove
afeb63575e Added missing C++11 conditional compilation in callback_timer.h 2019-11-27 10:35:41 +00:00
John Wellbelove
cbdc8a9299 Updated version numbers 2019-11-26 10:57:45 +00:00
Rolan Reznik
7f7a29bce1 Added possibility to force explicit conversion of string from char. (#172)
i.e. string/string_view constructors from char* can be marked as explicit.

#170
2019-11-26 10:35:05 +00:00
John Wellbelove
db87c66070 Updated version numbers 2019-11-24 13:23:40 +00:00
Rolan Reznik
f54bdf8a85 Added assert.h include into memory.h. assert are used by unique_ptr. (#169) 2019-11-24 11:45:10 +00:00
John Wellbelove
906a56aa6a Fixes to the return value of copy and copy_n 2019-11-21 21:01:04 +00:00
John Wellbelove
487064b864 Fix to alternate copy return value. 2019-11-21 12:29:20 +00:00
John Wellbelove
c69ca9e41d Renamed to C standard header 2019-11-21 11:14:01 +00:00
John Wellbelove
73ac741108 Merge remote-tracking branch 'origin/feature/callback-timer-delegate-support' into development 2019-11-17 10:49:27 +00:00
John Wellbelove
50ada033bb Merged pull request 2019-11-17 09:25:11 +00:00
mchodzikiewicz
bab8cf9ba3 Add callback_timer support for etl::delegate (#164) 2019-11-17 09:20:15 +00:00
John Wellbelove
7a4c74f8df Fix LLVM & GCC highlighted error for initialisation order. 2019-11-16 19:06:30 +00:00
John Wellbelove
aafb6ecf9b Indirect vector, external buffers 2019-11-16 17:00:51 +00:00
John Wellbelove
01d0b42fe4 Modified the way that the 'No STL' macros are defined so that 'std' may be used in ETL code rather than the 'ETLSTD' macro. 2019-11-15 13:28:51 +00:00
John Wellbelove
fe36361973 Finalised sort functions.
Added 'no STL' support.
2019-11-15 10:14:48 +00:00
John Wellbelove
87b202b27f Added indirect_vector 2019-11-13 14:12:10 +00:00
John Wellbelove
ad165b34ee Spelling correction 2019-11-13 13:17:58 +00:00
John Wellbelove
55bc3443a0 Added copyright notice to merge sort functions 2019-11-13 13:17:34 +00:00
John Wellbelove
0165ce4a9c Modified valid check call 2019-11-13 13:17:07 +00:00
John Wellbelove
8509df67c7 Added shell and insertion sort (insertion sort to be optimised for pointers & PODs)
Call specific sorts from sort() and stable_sort()
2019-11-13 13:16:45 +00:00