618 Commits

Author SHA1 Message Date
John Wellbelove
b3dcf0e881 Added permuted congruential random generator 2018-09-22 13:25:07 +01:00
John Wellbelove
0e6bad5c91 Modified the API of etl::state_chart constructors. 2018-09-15 09:48:52 +01:00
John Wellbelove
02987191a5 Removed push(void) push_back(void) and push_front(void) function for containers. 2018-09-15 08:58:08 +01:00
John Wellbelove
218b1573f8 Added CRC16 MODBUS
Added ETL_ prefic to extern const arrays.
2018-09-14 19:25:32 +01:00
John Wellbelove
2ab1d8d346 Swapped event and current state parameters for state transition 2018-09-12 17:35:59 +01:00
John Wellbelove
37e86e7971 Process event loops until action or end of transition table 2018-09-11 23:00:25 +01:00
John Wellbelove
9becaefdd8 Added start() and changed order of execution. 2018-09-10 20:42:32 +01:00
John Wellbelove
5aa369451e State Chart Template
Unit tests complete
2018-09-08 15:44:33 +01:00
John Wellbelove
61f0953c9b Added entry and exit 2018-09-07 00:33:30 +01:00
John Wellbelove
5a3f6b4355 First draft 2018-09-06 21:33:33 +01:00
John Wellbelove
60f7061bef #93 map.h on release 11.15.0 does not compile with clang-6 2018-09-04 23:25:16 +01:00
John Wellbelove
91df7d5219 Added missing find_n & transform 2018-08-27 23:30:33 +01:00
John Wellbelove
e5e38a8ee8 Compatibility with Keil compiler 2018-08-27 22:07:17 +01:00
John Wellbelove
b6b6a36316 Added missing find_n & transform 2018-08-27 22:06:49 +01:00
John Wellbelove
1606ae3dcc Added missing algorithms.
Fixed namespace selection.
2018-08-27 13:22:04 +01:00
John Wellbelove
0b0ce2645b Merge remote-tracking branch 'origin/feature/shared_pools' into development
# Conflicts:
#	include/etl/list.h
2018-08-22 20:13:18 +01:00
John Wellbelove
bfebb770e6 Fix string compare tests to be more compatible across compilers. 2018-08-18 14:49:23 +01:00
John Wellbelove
20485936c5 Added bind1st & bind2nd to alternate STL implementations.
Added additional conditional compilation to algorithms using 'bind'.
2018-08-18 12:04:11 +01:00
John Wellbelove
df83a04166 Merge remote-tracking branch 'origin/master' into feature/no_stl
# Conflicts:
#	include/etl/memory.h
#	include/etl/private/ivectorpointer.h
#	include/etl/stl/alternate/limits.h
#	include/etl/stl/iterator.h
#	test/test_no_stl_algorithm.cpp
#	test/test_no_stl_functional.cpp
#	test/test_no_stl_limits.cpp
#	test/test_no_stl_utility.cpp
#	test/test_vector_pointer.cpp
#	test/vs2017/etl.vcxproj.filters
2018-08-18 10:09:56 +01:00
John Wellbelove
7a9ade20c2 Added alternate STL support to allow 'No STL' option. 2018-07-22 20:47:33 +01:00
John Wellbelove
d11ad9518f Initial changes 2018-06-19 06:24:37 +01:00
John Wellbelove
fee3fd36fe Merge remote-tracking branch 'origin/feature/fsm_deferred_event' into development 2018-06-17 21:11:37 +01:00
John Wellbelove
9ce21fb071 Added tests for recursive messages. 2018-06-17 21:10:48 +01:00
John Wellbelove
eeb6a310c1 Compatibility changes for Segger IDE, GCC & STLPort 2018-06-14 21:53:54 +01:00
John Wellbelove
5e30f02449 Fixed missing semicolons 2018-06-12 21:12:32 +01:00
John Wellbelove
7fbc543080 Merge remote-tracking branch 'origin/feature/CMake' into development
# Conflicts:
#	test/vs2017/etl.vcxproj.filters
2018-05-31 22:21:09 +01:00
John Wellbelove
83d495bc21 Added binary_merge, binary_interleave, is_odd, is_even 2018-05-20 09:16:20 +01:00
John Wellbelove
028686b244 Fixed GCC warning for tests 2018-05-12 09:01:39 +01:00
John Wellbelove
681bc407ac Github Issue #73
set_period & set_mode no longer automatically start the timer.
2018-05-09 23:11:56 +01:00
John Wellbelove
837da911c2 Github Issue #73
Fixed issue where single shot timers could not be altered once timed out.
2018-05-09 23:02:50 +01:00
John Wellbelove
d39e51847a Added CRC32-C (Castagnoli) 2018-05-05 09:50:49 +01:00
John Wellbelove
27aa3a2ab3 Added new binary utilities 2018-04-29 19:59:46 +01:00
Austin Morton
dcd42ee17e Fix assumption that min/max macros will always be defined on a Microsoft compiler (#72)
Merge in min-max changes to a feature branch
2018-04-24 14:27:18 +01:00
John Wellbelove
8085f97e52 Rewrite of debug count so that it does not exists in unit test code or when explicitly enabled. 2018-04-24 14:15:30 +01:00
John Wellbelove
d63afc70ea Removed non-compliant constexpr 2018-04-21 18:26:24 +01:00
John Wellbelove
67a32df7d0 Added etl::type_select 2018-04-21 17:45:34 +01:00
John Wellbelove
f2416da7ea Changed header guards to be GCC compliant. 2018-04-21 09:24:45 +01:00
John Wellbelove
23888c4be6 Added permutations and combinations template constants. 2018-04-14 10:46:15 +01:00
John Wellbelove
c14db00d88 Merge remote-tracking branch 'origin/feature/spsc_queues' into development
# Conflicts:
#	test/vs2017/etl.sln
#	test/vs2017/etl.vcxproj
2018-04-08 19:55:29 +01:00
John Wellbelove
1ca0ad94a9 Added SPSC and MPSC queues 2018-04-08 18:10:23 +01:00
John Wellbelove
bc0a8a49a7 Updates to atomic classes. 2018-04-02 12:26:58 +01:00
John Wellbelove
b473cfe20a Merge branch 'feature/64bit_tests' into development 2018-03-30 13:22:17 +01:00
John Wellbelove
28ac7c12ba Changes for increased 64bit compatibility. 2018-03-30 12:46:16 +01:00
John Wellbelove
ab65a5abaa Added std::initializer_list constructors when ETL_CPP11_SUPPORTED is defined as 1 2018-03-25 14:34:28 +01:00
John Wellbelove
d28c88b1da Added reset() to etl::optional 2018-03-22 06:10:07 +00:00
John Wellbelove
8ac3b64823 Added reset() to etl::optional 2018-03-21 19:35:18 +00:00
John Wellbelove
44068d1493 Merge from new directories feature.
Added files to VS project.
Fixed ETL_FILE numbering clashes.
2018-03-18 18:14:11 +00:00
John Wellbelove
4864e95b36 New directory layout 2018-03-18 17:48:29 +00:00
John Wellbelove
224df730c3 Merge remote-tracking branch 'origin/master' into development 2018-03-18 14:13:24 +00:00
John Wellbelove
eee0157372 Added version macros 2018-03-01 09:14:11 +00:00
John Wellbelove
a58d1f5861 Remove variant.h GCC warnings from use of -Wextra 2018-02-26 21:03:22 +00:00
John Wellbelove
1e34b5cf46 Add #ifdef for GCC pragma 2018-02-25 13:41:40 +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
John Wellbelove
f296d9eadf Signed/Unsigned warnings 2018-02-18 14:19:39 +00:00
John Wellbelove
703a9e0f4a Changes from master 2018-02-18 14:18:24 +00:00
John Wellbelove
a53768cc28 Re-write of debounce to improve base code reuse. 2018-02-17 21:32:31 +00:00
John Wellbelove
070e8fe6b6 Improved etl::endianness.
Added static functions.
2018-02-16 10:11:19 +00:00
John Wellbelove
6b9e408ca2 Merge remote-tracking branch 'origin/feature/strict_aliasing' into development 2018-02-11 19:34:51 +00:00
John Wellbelove
9404af8074 Codeblocks projects changes 2018-02-11 18:45:42 +00:00
John Wellbelove
b4bf215675 Removed unused variables 2018-02-11 18:45:10 +00:00
John Wellbelove
611b6cf011 Merge remote-tracking branch 'origin/feature/pool_emplace' into development 2018-02-11 18:39:24 +00:00
John Wellbelove
1c4f0596a9 Added 'create' and 'destroy' functions 2018-02-11 17:25:40 +00:00
John Wellbelove
58e155658e Alignment tests for conversion operators 2018-02-08 16:00:05 +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
4b1eeee511 Added emplace functions to etl::variant 2018-02-04 17:42:34 +00:00
John Wellbelove
1dd1ffc4e4 Added emplace functions to etl::variant 2018-02-04 17:34:51 +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
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
61b8722500 Added variant_pool generator. 2018-02-01 17:28:49 +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
f9699d3cd4 Added ETL_POLYMORPHIC_XXX defines 2018-02-01 10:13:48 +00:00
John Wellbelove
6a964ee90f Ignore output files from 'random' algorithms. 2018-01-30 08:48:43 +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
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
3385d2cf04 GCC compatibility changes 2018-01-23 13:15:18 +00:00
John Wellbelove
71b865ae6b GCC compatibility changes 2018-01-23 12:15:12 +00:00
John Wellbelove
7fc874617d Updated 2018-01-23 09:33:16 +00:00
John Wellbelove
48df943aa0 Renamed xor_shift to xor_rotate 2018-01-23 09:20:53 +00:00
John Wellbelove
4cb02cb6df Added shift version of XOR checksum
XOR:      sum = sum ^ value
XOR-shift sum = etl::rotate_left(sum) ^ value
2018-01-22 09:07:25 +00:00
John Wellbelove
bb294e80fe Array wrapper and unit tests 2018-01-21 18:42:03 +00:00
John Wellbelove
9140ddcd1c Added etl::string_view 2017-12-31 20:23:06 +00:00
John Wellbelove
a14e9b25bb Added default constructor.
Made single parameter constructors explicit.
Added
  assign()
  remove_prefix()
  remove_suffix()
  operator = ()
2017-12-30 17:32:14 +00:00
John Wellbelove
bcaa75a4e1 Added array_view to CodeBlocks 2017-12-26 16:50:47 +00:00
John Wellbelove
835a5cbad0 Added array_view 2017-12-26 16:10:34 +00:00
John Wellbelove
35a94fcd7b Updated CRT SDK version 2017-12-22 16:38:28 +00:00
John Wellbelove
cc23016e9f Added release notes 2017-12-22 11:15:09 +00:00
John Wellbelove
02c96ba791 Added etl::variant_pool as a replacement for etl::factory. 2017-12-21 13:55:48 +00:00
John Wellbelove
f366d26a26 Removed factory.
Added variant_pool
2017-12-21 13:54:17 +00:00
John Wellbelove
39ad0fe808 Added sign_extend functions with shift parameter. 2017-12-15 13:59:03 +00:00
John Wellbelove
316ea01507 Added new binary.cpp 2017-12-05 18:51:47 +00:00
John Wellbelove
c0169188ca Made some templates into normal functions and moved to binary.cpp
Added bit<> template constant
Added bit enumerations
2017-12-05 18:49:50 +00:00
John Wellbelove
7f32909209 Fixed inconsistencies in the dynamic IO port API. 2017-12-01 09:52:00 +00:00
John Wellbelove
d658dd11b8 Rewrite of classes to improve efficiency by removing iterator indirection step. 2017-11-30 17:05:37 +00:00
John Wellbelove
aac3277f06 Added 'conditional_integral_constant' to complement 'conditional' 2017-11-30 17:02:58 +00:00
John Wellbelove
9f4fe86df9 Added 'successor' member to allow implementation 'Chain Of Responsibility' pattern. 2017-11-30 16:56:22 +00:00
John Wellbelove
a742749849 Merge branch 'development' 2017-11-01 09:33:17 +00:00
John Wellbelove
0c65164483 Added is_null_router() & is_bus() to imessage_router 2017-10-27 11:11:22 +01:00