518 Commits

Author SHA1 Message Date
John Wellbelove
d7f9d1a7fb Merge remote-tracking branch 'origin/development'
# Conflicts:
#	CMakeLists.txt
2018-03-18 19:29:36 +00:00
scott-eddy
427765742b Fix missing .h in profile inclusion 2018-03-17 08:02:15 +00:00
scott-eddy
dd1f0b415e Add etl_profile for compilation 2018-03-17 08:02:15 +00:00
John Wellbelove
9f2ce39ba7 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
#	test/vs2017/etl.vcxproj
#	test/vs2017/etl.vcxproj.filters
2018-03-01 09:48:32 +00:00
John Wellbelove
eee0157372 Added version macros 2018-03-01 09:14:11 +00:00
John Wellbelove
1e2866a06c Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
2018-02-26 21:04:55 +00:00
John Wellbelove
a58d1f5861 Remove variant.h GCC warnings from use of -Wextra 2018-02-26 21:03:22 +00:00
Prasenjit Sengupta
2872075b1e Remove unused variables in variant.h 2018-02-26 20:51:34 +00:00
John Wellbelove
9a921102bb Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
2018-02-25 13:28:57 +00:00
John Wellbelove
d3493d601d Add full set of operators to etl::optional 2018-02-25 13:21:27 +00:00
John Wellbelove
d1adfab03c Remove more GCC warnings from use of -Wextra 2018-02-25 13:21:00 +00:00
John Wellbelove
c35f962e6f Merge remote-tracking branch 'origin/master' into development
# Conflicts:
#	test/codeblocks/ETL.layout
#	test/test_pool.cpp
2018-02-24 10:55:36 +00:00
Prasenjit Sengupta
da94b26b45 Cast enum in multimap.h correctly 2018-02-24 10:53:14 +00:00
John Wellbelove
4427576985 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/c/ecl_timer.c
#	src/debounce.h
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
2018-02-18 14:16:26 +00:00
John Wellbelove
a53768cc28 Re-write of debounce to improve base code reuse. 2018-02-17 21:32:31 +00:00
John Wellbelove
3a7e63a497 Modified interrupt locks to match C++ versions. 2018-02-16 10:11:49 +00:00
John Wellbelove
070e8fe6b6 Improved etl::endianness.
Added static functions.
2018-02-16 10:11:19 +00:00
John Wellbelove
cdf638aeb5 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
#	test/test_pool.cpp
2018-02-11 19:36:33 +00:00
John Wellbelove
ff79fd8583 Fixed strict aliasing warnings for aligned storage 2018-02-11 18:50:00 +00:00
John Wellbelove
4700f2613d Merge remote-tracking branch 'origin/development'
# Conflicts:
#	test/codeblocks/ETL.layout
2018-02-11 18:42:47 +00:00
John Wellbelove
1c4f0596a9 Added 'create' and 'destroy' functions 2018-02-11 17:25:40 +00:00
John Wellbelove
cd3c596c88 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/callback_timer.h
#	src/message_timer.h
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
2018-02-06 21:39:21 +00:00
John Wellbelove
52fa62585a Reduced disable/enable time during function calls. 2018-02-06 21:11:07 +00:00
John Wellbelove
0f762887fa Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/message_timer.h
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
#	test/ecl_user.h
#	test/etl_profile.h
2018-02-06 00:18:21 +00:00
John Wellbelove
879fb1f626 Improvements to message and callback timer frameworks.
Reduced disable/enable time dur function calls.
Added the option to use either atomic semaphores or interrupt enables to control access.
2018-02-05 21:16:43 +00:00
John Wellbelove
fda7e13811 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
2018-02-04 17:41:24 +00:00
John Wellbelove
1dd1ffc4e4 Added emplace functions to etl::variant 2018-02-04 17:34:51 +00:00
John Wellbelove
f2b2793dcd Merge branch 'development'
# Conflicts:
#	library.properties
#	src/flat_map.h
#	src/flat_multimap.h
#	src/flat_multiset.h
#	src/flat_set.h
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
2018-02-04 15:32:26 +00:00
John Wellbelove
c43adc7df3 Improved performance of emplace for value_type parameters 2018-02-04 14:52:31 +00:00
John Wellbelove
c6233f72ba Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	support/Release notes.txt
#	test/codeblocks/ETL.layout
#	test/test_flat_map.cpp
#	test/test_flat_multimap.cpp
#	test/test_flat_multiset.cpp
#	test/test_flat_set.cpp
2018-02-03 21:21:12 +00:00
John Wellbelove
7ce4fedf58 Added emplace member functions to flat_map, flat_multimap, flat_set and flat_multiset 2018-02-03 21:09:22 +00:00
John Wellbelove
1cf97975fb Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	test/codeblocks/ETL.layout
#	test/etl_profile.h
#	test/test_flat_set.cpp
2018-02-02 15:30:27 +00:00
John Wellbelove
246eeef00d Added protected destructors to FSM & message_timer and code to message router packet destructor to choose correct method of destruction. 2018-02-02 14:17:09 +00:00
John Wellbelove
a7880f777e Merge remote-tracking branch 'origin/development'
# Conflicts:
#	test/codeblocks/ETL.layout
#	test/test_flat_set.cpp
#	test/vs2017/etl.vcxproj.filters
2018-02-01 17:51:00 +00:00
John Wellbelove
857932352e Make code match master 2018-02-01 17:29:44 +00:00
John Wellbelove
61b8722500 Added variant_pool generator. 2018-02-01 17:28:49 +00:00
John Wellbelove
811393c0b7 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	src/container.h
#	src/map.h
#	src/multimap.h
#	src/multiset.h
#	src/stack.h
#	test/codeblocks/ETL.layout
#	test/test_flat_set.cpp
#	test/test_vector_non_trivial.cpp
2018-02-01 12:52:16 +00:00
John Wellbelove
135506b534 Re-written to avoid 'undefined behavior' by allowing containers to be polymorphic or not base on a compile time macro. 2018-02-01 10:15:51 +00:00
John Wellbelove
8089f74387 Added protected destructor to base class. 2018-02-01 10:12:53 +00:00
John Wellbelove
865d837011 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/container.h
#	test/codeblocks/ETL.layout
#	test/test_flat_multimap.cpp
#	test/test_flat_multiset.cpp
#	test/test_flat_set.cpp
#	test/test_forward_list.cpp
2018-01-30 09:22:38 +00:00
John Wellbelove
eb222f54bb Containers are now deleteable through a pointer to their 'ixxxx' class. 2018-01-30 08:47:49 +00:00
John Wellbelove
0d34769247 Re-write to avoid any possible static initialisation order issues.
Made the count a signed int to detect 'over destruction'.
Added missing copy constructor.
Added reset_instance_count() to force the count to zero.
Remove virtual from destructor.
2018-01-30 08:45:53 +00:00
John Wellbelove
b857a28a39 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/container.h
#	src/platform.h
#	src/profiles/gcc_generic.h
#	src/profiles/gcc_linux_x86.h
#	src/profiles/gcc_windows_x86.h
2018-01-27 19:00:38 +00:00
John Wellbelove
d4fdf9d657 Added C++17 macros. The library doesn't currently support C++17. 2018-01-27 15:40:52 +00:00
John Wellbelove
bf06775b51 Added fast clear for types that are trivially destructible. (Integral and pointer types only for C++03) 2018-01-27 15:40:03 +00:00
John Wellbelove
cb03b5f177 Code::Blocks project update 2018-01-25 10:45:28 +00:00
John Wellbelove
c63efac888 Merge branch 'development'
# Conflicts:
#	library.properties
#	src/container.h
#	support/Release notes.txt
2018-01-23 16:50:01 +00:00
John Wellbelove
3385d2cf04 GCC compatibility changes 2018-01-23 13:15:18 +00:00
John Wellbelove
efd52cf4b6 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	library.properties
#	src/array_wrapper.h
#	src/container.h
#	src/platform.h
#	test/test_array_wrapper.cpp
#	test/vs2017/etl.vcxproj.filters
2018-01-23 12:23:35 +00:00
John Wellbelove
71b865ae6b GCC compatibility changes 2018-01-23 12:15:12 +00:00