855 Commits

Author SHA1 Message Date
John Wellbelove
57011fc1f3 Merge remote-tracking branch 'origin/development' 2015-12-16 11:37:36 +00:00
John Wellbelove
16a1978f43 Added link to www.etlcpp.com in licence header. 2015-12-16 11:09:56 +00:00
John Wellbelove
a048784285 Changed the way that errors are produced and handled.
Compile time macros control the type and verbosity of the errors to allow space and performance optimisation.
2015-12-15 19:28:12 +00:00
John Wellbelove
81f76302f2 Merge remote-tracking branch 'origin/development' 2015-12-11 21:00:12 +00:00
John Wellbelove
57b3864449 Missing closing ) 2015-12-11 20:58:52 +00:00
John Wellbelove
a2c8ea9e77 Merge remote-tracking branch 'origin/master' 2015-12-11 19:13:27 +00:00
John Wellbelove
4aea474a4b Merge remote-tracking branch 'origin/development' 2015-12-11 19:11:02 +00:00
John Wellbelove
f6ee2b50f9 Updated Code::Blocks projects files 2015-12-11 19:07:41 +00:00
John Wellbelove
b48c6e052b Updated VS projects files 2015-12-11 19:07:19 +00:00
John Wellbelove
ac291bab2a Updated Keil projects files 2015-12-11 19:07:01 +00:00
John Wellbelove
2645cdf3e0 Casts to keep GCC happy 2015-12-11 19:06:33 +00:00
John Wellbelove
dea534aaa8 Modified to eradicate unused variable warning. 2015-12-11 19:06:12 +00:00
John Wellbelove
eb2a60ee8f Modified to eradicate unused variable warning in GCC 2015-12-11 19:05:49 +00:00
John Wellbelove
ee916a3c48 Modigied wchar_t entries for compatibility with GCC. 2015-12-11 19:03:59 +00:00
John Wellbelove
b055c3722e Modified error_handler include. 2015-12-11 19:03:23 +00:00
John Wellbelove
48919b3c15 Modified the error system.
Remove ETL_ERROR and replaced with ETL_ASSERT.
ETL_ASSERT will eveluate to 'true' in all cases except for error logging.
This will allow 'if' statements that contain the macro to be optimised away for all cases except logging.
Added ETL_NO_CHECKS and ETL_LOG_ERRORS macro checks.

The options are now:-
ETL_NO_CHECKS         ETL_ASSERT does nothing. Evaluates to 'true'.
ETL_THROW_EXCEPTIONS) ETL_ASSERT throws an exception if the condition fails. Evaluates to 'true'.
ETL_LOG_ERRORS        ETL_ASSERT logs the error if the condition fails. Evaluates to the result of the condition.
If none of the above are defined:-
NDEBUG ETL_ASSERT does nothing. Evaluates to 'true'.
Otherwise:-
ETL_ASSERT asserts if the condition fails. Evaluates to 'true'.
2015-12-11 19:02:47 +00:00
John Wellbelove
a599c3e270 Added code for GCC warnings 2015-12-11 19:01:54 +00:00
John Wellbelove
c279c0ce03 Modified error_handler include. 2015-12-11 19:01:12 +00:00
John Wellbelove
19c10d3ef7 Modified error_handler include. 2015-12-11 19:00:57 +00:00
John Wellbelove
d587ec7fc2 Modified error_handler include. 2015-12-11 19:00:28 +00:00
John Wellbelove
b46357da05 Added mask to final result of fold_bits() 2015-12-11 18:59:55 +00:00
John Wellbelove
69575b0e99 Removed redundant make_fixed_iterator() 2015-12-11 13:05:12 +00:00
John Wellbelove
0c1ba31fe8 Update README.md
Modified main features
6.0
2015-12-11 09:06:58 +00:00
John Wellbelove
0025ab6ef5 Merge remote-tracking branch 'origin/development' 2015-12-10 14:11:20 +00:00
John Wellbelove
64c33cb4dd Moved non-user headers to private sub-directory. 2015-12-10 14:09:57 +00:00
John Wellbelove
72fc0e451d Moved non-user headers to private sub-directory. 2015-12-10 14:09:22 +00:00
John Wellbelove
62f807ca72 Moved non-user headers to private sub-directory. 2015-12-10 14:08:59 +00:00
John Wellbelove
34e4351e85 Moved non-user headers to private sub-directory. 2015-12-10 14:08:47 +00:00
John Wellbelove
632bc59f9c Modified the error system.
Remove ETL_ERROR and replaced with ETL_ASSERT.
ETL_ASSERT will eveluate to 'true' in all cases except for error logging.
This will allow 'if' statements that contain the macro to be optimised away for all cases except logging.
Added ETL_NO_CHECKS and ETL_LOG_ERRORS macro checks.

The options are now:-
ETL_NO_CHECKS         ETL_ASSERT does nothing. Evaluates to 'true'.
ETL_THROW_EXCEPTIONS) ETL_ASSERT throws an exception if the condition fails. Evaluates to 'true'.
ETL_LOG_ERRORS        ETL_ASSERT logs the error if the condition fails. Evaluates to the result of the condition.
If none of the above are defined:-
NDEBUG ETL_ASSERT does nothing. Evaluates to 'true'.
Otherwise:-
ETL_ASSERT asserts if the condition fails. Evaluates to 'true'.
2015-12-10 13:45:29 +00:00
John Wellbelove
a7d9b44f33 Modified some tests to check return values of operators 2015-12-10 13:38:51 +00:00
John Wellbelove
6f7e26523e Moved more code to base class. 2015-12-10 13:38:08 +00:00
John Wellbelove
8bb5d26377 Merge remote-tracking branch 'origin/development' 2015-12-09 15:33:14 +00:00
John Wellbelove
8f7b16dc9c Redesigned bitset to use no virtual functions.
Fixed storage array type as uint8_t.
2015-12-09 15:31:41 +00:00
John Wellbelove
1ffa608734 Added extra debug runtime check for assign() 2015-12-07 10:55:25 +00:00
John Wellbelove
b6cb3640db Changed error handler to new macro 2015-12-07 10:54:50 +00:00
John Wellbelove
b0102026ae Added test for begin() == end() for empty container. 2015-12-07 10:47:01 +00:00
John Wellbelove
26c31eb05b Fixed begin() != end() for empty container.
Added test for above.
2015-12-07 10:46:30 +00:00
John Wellbelove
8426565b9b Created multiset_base.h and derived imultiset from it.
Moved non-type code to base classes.
2015-12-05 15:57:16 +00:00
John Wellbelove
b3b9426a69 Created multiset_base.h and derived imultiset from it.
Moved non-type code to base classes.
2015-12-05 15:56:57 +00:00
John Wellbelove
5794aebd8b Created multimap_base.h and derived imultimap from it.
Moved non-type code to base classes.
2015-12-05 14:57:14 +00:00
John Wellbelove
4df6cf4c38 Moved code to non-type base class. 2015-12-05 12:26:30 +00:00
John Wellbelove
e95ec5a98c Added basic_forward_intrusive_list and updated intrusive_forward_list 2015-12-05 11:17:10 +00:00
John Wellbelove
db35249319 Added basic_forward_intrusive_list and updated intrusive_forward_list 2015-12-05 11:16:52 +00:00
John Wellbelove
a49c3a8b58 Merge remote-tracking branch 'origin/development'
# Conflicts:
#	algorithm.h
2015-12-04 11:43:43 +00:00
John Wellbelove
9a4c0e693b Changed size_t type for count result to int32_t. 2015-12-04 11:40:51 +00:00
John Wellbelove
7645b14072 Added missing 'return *this' 2015-12-04 10:54:30 +00:00
John Wellbelove
d591b9988f Merge remote-tracking branch 'origin/development' 2015-12-04 10:46:38 +00:00
John Wellbelove
aa2fcf7d42 Hoisted some functions to non-type base class to reduce compiled code size. 2015-12-04 10:34:29 +00:00
John Wellbelove
a0c0f46035 Removed files. Now using Keil default install directory 2015-12-03 11:31:41 +00:00
John Wellbelove
ec93e4a600 Merge remote-tracking branch 'origin/development' 2015-10-13 10:57:29 +01:00