469 Commits

Author SHA1 Message Date
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
c58a6d3c42 Added ETL_CONSTEXPR prefix to all functions 2018-01-23 09:21:34 +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
Austin Morton
53af6f7daf replace usages of _DEBUG with ETL_DEBUG
fixes some -Wundef errors when _DEBUG was not defined
2018-01-09 19:01:30 +00:00
John Wellbelove
948ff528fd Corrected definition of ETL_DEBUG 2018-01-07 18:46:52 +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
835a5cbad0 Added array_view 2017-12-26 16:10:34 +00:00
John Wellbelove
8045ae55c4 Re-enabled ETL_IN_UNIT_TEST macros 2017-12-23 13:14:37 +00:00
John Wellbelove
d77cc23337 Re-enabled ETL_IN_UNIT_TEST macros 2017-12-23 13:09:39 +00:00
John Wellbelove
03f9f05a76 Re-enabled ETL_IN_UNIT_TEST macros 2017-12-23 13:08:04 +00:00
John Wellbelove
2f7014d3f0 Minor comment change 2017-12-22 17:16:58 +00:00
John Wellbelove
1a1ad71b5f Tidy FSM code. Remove redundant class. 2017-12-22 16:37:49 +00:00
John Wellbelove
87317df69a Changed alignof to etl::alignment_of 2017-12-22 11:12:12 +00:00
John Wellbelove
dbd07f53dd Fixed comments 2017-12-21 19:58:51 +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
14a18d3336 Renamed include guard to avoid clash with list. 2017-12-21 13:54:42 +00:00
John Wellbelove
f366d26a26 Removed factory.
Added variant_pool
2017-12-21 13:54:17 +00:00
John Wellbelove
483f322f89 Changed static const to enum. 2017-12-21 13:53:32 +00:00
John Wellbelove
696247c0f5 Removed default function template parameter value. 2017-12-21 13:52:43 +00:00
John Wellbelove
9ff47d024c Moved get_fsm_context() from public to protected in etl::state 2017-12-18 21:37:33 +00:00
John Wellbelove
2877bf7f23 Deprecated etl::factory 2017-12-18 21:36:41 +00:00
John Wellbelove
ec6d1db186 Modified factory to use pool instead of custom internal allocator. 2017-12-15 20:40:12 +00:00
John Wellbelove
39ad0fe808 Added sign_extend functions with shift parameter. 2017-12-15 13:59:03 +00:00
John Wellbelove
1d6058ffac Modified factory to use pool instead of custom internal allocator. 2017-12-15 13:11:08 +00:00
John Wellbelove
5752151b54 Changes from due to type_lookup.h updates 2017-12-13 10:45:33 +00:00
John Wellbelove
ece1174861 Added clear() 2017-12-13 10:44:41 +00:00
John Wellbelove
45c9e81c54 Simplified codebase 2017-12-13 09:57:52 +00:00
John Wellbelove
c84815e9d2 Parameter named in definition. 2017-12-05 18:51:19 +00:00
John Wellbelove
accd863dcd Fixed global find/replace error. 2017-12-05 18:50:18 +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
636554812f Minor tweak to conditional_integral_constant 2017-12-05 18:47:20 +00:00
John Wellbelove
e3c6865bd1 Added has_successor() and get_successor()
Move successor pointer from protected to private
2017-12-04 10:21:41 +00:00
John Wellbelove
1021a847c4 Removed redundant comment 2017-12-04 10:11:17 +00:00
John Wellbelove
71b963d404 Removed explicit from constructor from underlying value type. 2017-12-04 10:10:56 +00:00
John Wellbelove
55995e4c31 Corrected comment 2017-12-04 10:10:14 +00:00
John Wellbelove
7f32909209 Fixed inconsistencies in the dynamic IO port API. 2017-12-01 09:52:00 +00:00
John Wellbelove
a8a26ee335 Change value() to read() 2017-11-30 19:21:36 +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
ab74f22434 Changed implementation of etl::largest_alignment to be recursive.
Changed internal choose_type to etl::conditional
2017-11-30 17:01:43 +00:00
John Wellbelove
8f1ee4653e Removed unnecessary static 2017-11-30 16:59:44 +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
0f03a90cda Removed redundant include 2017-11-19 10:31:41 +00:00
John Wellbelove
c0c003303f Added #include <stdint.h> 2017-11-18 11:11:57 +00:00