Commit graph

981 commits

Author SHA1 Message Date
John Wiegley
fba5d67fee *** no comment *** 2008-04-13 03:38:43 -04:00
John Wiegley
deedd46e06 *** no comment *** 2008-04-13 03:38:43 -04:00
John Wiegley
7059d5d8ca Added --local option to acprep. 2008-04-13 03:38:43 -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
0477dd119a Merge branch 'master' of /Users/johnw/src/ledger/master/ 2008-04-13 03:38:42 -04:00
John Wiegley
f246add263 changes 2008-04-13 03:38:42 -04:00
John Wiegley
92b85dde25 Added --boost-suffix. 2008-04-13 03:38:41 -04:00
John Wiegley
d594f6627c Added --enable-boost-d flag. 2008-04-13 03:38:41 -04:00
John Wiegley
bfa77b9e8d Moved options around. 2008-04-13 03:38:41 -04:00
John Wiegley
1f3232d3d5 Removed --safe-opt. 2008-04-13 03:38:41 -04:00
John Wiegley
38d9edde43 Removed STLport reference. 2008-04-13 03:38:41 -04:00
John Wiegley
02c88132cf Added --enable-boost-sd for linking about the static/debug variant of Boost. 2008-04-13 03:38:41 -04:00
John Wiegley
0c10d1c3fd Use valgrind if it's available. 2008-04-13 03:38:40 -04:00
John Wiegley
fa81dc4798 Added target fullcheck. 2008-04-13 03:38:40 -04:00
John Wiegley
ee4a167439 Corrected memory crashes when running the register command. 2008-04-13 03:38:40 -04:00
John Wiegley
30978b7fe5 Added new test files. 2008-04-13 03:38:40 -04:00
John Wiegley
a99695f69b More test reorg. 2008-04-13 03:38:40 -04:00
John Wiegley
39b0a03f82 Changed the filenames of the tests. 2008-04-13 03:38:40 -04:00
John Wiegley
6ec2f6b59b Reconfigure some of the operators. 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
426a01b3f4 Added by-value conversions to Python for bool. This allowed me to
expose all of the amount_t members now.
2008-04-13 03:38:39 -04:00
John Wiegley
c211335760 Extended Python amount class. 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
8aada79971 Added a facility for handling scoped executions. 2008-04-13 03:38:38 -04:00
John Wiegley
65e4fc7ebf Changed commodity_t to use flags.h. 2008-04-13 03:38:38 -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
0528a1e49a Added boost::optional support for using with Boost.Python. 2008-04-13 03:38:38 -04:00
John Wiegley
96684b72ca Added code for converting ledger::string and boost::date_time to their
respective Python counterparts.
2008-04-13 03:38:38 -04:00
John Wiegley
93096b77f3 Got PyUnitTests functioning again. 2008-04-13 03:38:37 -04:00
John Wiegley
0214a136c2 Work to get Python tests running again. 2008-04-13 03:38:37 -04:00
John Wiegley
6c7e35dc17 *** no comment *** 2008-04-13 03:38:37 -04:00
John Wiegley
90975c27d0 Corrected build problems. 2008-04-13 03:38:37 -04:00
John Wiegley
6489868434 Merge branch 'master' of /Users/johnw/src/ledger/master/ 2008-04-13 03:38:37 -04:00
John Wiegley
738287ef70 Merged ../commodity_pool 2008-04-13 03:38:36 -04:00
John Wiegley
c59018c29d Revised how commodities are dealt with. 2008-04-13 03:38:36 -04:00
John Wiegley
f9f24fab93 Added code to use boost::lexical_cast<>. 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
c676527270 Added missing curly braces. 2008-04-13 03:38:36 -04:00
John Wiegley
fd1d109b29 More organization of amount code. 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
9e80a6fbcc Got things compiling with boost/operators.hpp 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