Commit Graph
167 Commits
Author SHA1 Message Date
john30 80c42df040 add optional length to parseInt() and set result on success, remove unused stuff, avoid reading beyond eof, check divisor in StringDataField::derive(), fix for NumberDataField::writeSymbols() 2014-11-22 08:34:18 +01:00
john30 25196e4852 add optional length to parseInt() and set result on success, remove unused stuff, avoid reading beyond eof, check divisor in StringDataField::derive(), fix for NumberDataField::writeSymbols() 2014-11-22 08:33:11 +01:00
john30 b3a96cc2c0 made parseInt public 2014-11-20 22:29:44 +01:00
john30 15cbb9bbd9 unified parsing of numeric values, documentation 2014-11-20 22:24:21 +01:00
john30 7a2344d9db made maxPos a constant and corrected max pos check 2014-11-20 21:09:54 +01:00
john30 1083ef24b8 again 2014-11-20 10:17:32 +01:00
john30 6d253af691 check maximum position 2014-11-20 10:15:53 +01:00
john30 46bbca5d86 file mode 2014-11-20 09:30:47 +01:00
john30 f80105b6ac Merge branch 'master' of git://github.com/yuhu-/ebusd
Conflicts:
	src/lib/ebus/data.cpp
	src/lib/ebus/data.h
	src/lib/ebus/test/test_data.cpp
2014-11-20 09:30:27 +01:00
john30 5f922f8970 added support for templates and sets of DataFields, simplified DataField creation, added missing bounds checks 2014-11-20 09:23:54 +01:00
Roland Jax a5605c40be namespace 'libebus' removed. 2014-11-19 19:44:04 +01:00
john30 264ba1ca51 formatting 2014-11-16 11:07:46 +01:00
john30 f074ff35a4 added getters, compiler warnings 2014-11-16 10:52:19 +01:00
john30 63cde34e6a introduced type templates, added bit base types, added two-byte time, added precision, added test for any/min/max/replacement/signed min/signed max for all base types 2014-11-16 10:49:47 +01:00
john30 72fcd8623d introduced NULL_VALUE define 2014-11-09 14:20:58 +01:00
john30 eb8a43b909 solved most TODOs, introduced reference types and chains, use result_t where possible, switched to divisor instead of factor, formatting, introduced VALUE_SEPARATOR for possible switch to real CSV (later), added value range check, small optimizations 2014-11-09 14:14:12 +01:00
Roland Jax 793c64d922 file struturce changed. 2014-11-06 16:08:11 +01:00