Commit graph

26 commits

Author SHA1 Message Date
John Wiegley
9044bf168a *** no comment *** 2008-04-13 03:38:49 -04:00
John Wiegley
ad2535b032 *** no comment *** 2008-04-13 03:38:48 -04:00
John Wiegley
9e9a7f62bc *** no comment *** 2008-04-13 03:38:48 -04:00
John Wiegley
48b46a23b1 Disabled compiler warnings from icc. 2008-04-13 03:38:42 -04:00
John Wiegley
8e20c378d6 The unit tests for amount.cc now cover every part of the code except
for two: those concerning annotated commodities (which will be covered
in the t_commodity.cc tests) and reading of optimized amounts in the
binary journal reader.
2008-04-13 03:38:42 -04:00
John Wiegley
623e6e024c Move commodity-related parsing code from amount.cc into commodity.cc. 2008-04-13 03:38:42 -04:00
John Wiegley
42d799a1fd Added tests to complete coverage. 2008-04-13 03:38:42 -04:00
John Wiegley
4e9056b6ce It is now an error to use an uninitialized amount for any operation
other than is_null and parse.
2008-04-13 03:38:42 -04:00
John Wiegley
fa81dc4798 Added target fullcheck. 2008-04-13 03:38:40 -04:00
John Wiegley
d849837203 Major restructuring of the value_t class. 2008-04-13 03:38:39 -04:00
John Wiegley
a71d48881e Added COPYRIGHT notice to all files. 2008-04-13 03:38:39 -04:00
John Wiegley
a07e20c14e Changed write methods to print. 2008-04-13 03:38:39 -04:00
John Wiegley
06e7c28202 Rearranged many method names. 2008-04-13 03:38:38 -04:00
John Wiegley
7868a53b70 Removed some unnecessary variables. 2008-04-13 03:38:38 -04:00
John Wiegley
b95aa8d4ca Some slight reorg. 2008-04-13 03:38:38 -04:00
John Wiegley
c59018c29d Revised how commodities are dealt with. 2008-04-13 03:38:36 -04:00
John Wiegley
f0508a9f86 In the middle of revising commodities. 2008-04-13 03:38:36 -04:00
John Wiegley
de64861182 Added much documentation to amount.h 2008-04-13 03:38:35 -04:00
John Wiegley
103881ff80 First round of using boost/operators is done. 2008-04-13 03:38:35 -04:00
John Wiegley
76b2066b8b More work to use boost/operators.hpp. 2008-04-13 03:38:35 -04:00
John Wiegley
230e03166f In the middle of switching to using boost/operators.hpp 2008-04-13 03:38:35 -04:00
John Wiegley
e92bcf411d Started using boost::optional<T>. 2008-04-13 03:38:35 -04:00
John Wiegley
18aaf588ab Added use of boost::optional<> to amount.h 2008-04-13 03:38:34 -04:00
John Wiegley
21af83013f Did more work on the utility code. 2008-04-13 03:38:34 -04:00
John Wiegley
3ba6c2572d Changed some of the logging macro names. 2008-04-13 03:38:34 -04:00
John Wiegley
c8899addfd Rearranged the sources a bit. 2008-04-13 03:38:33 -04:00
Renamed from amount.cc (Browse further)