John Wiegley
9e9a7f62bc
*** no comment ***
2008-04-13 03:38:48 -04:00
John Wiegley
7ba3f73018
Correcting pyledger initialization...
2008-04-13 03:38:47 -04:00
John Wiegley
5eb0675fab
*** no comment ***
2008-04-13 03:38:47 -04:00
John Wiegley
4baeefcde4
Trying to get boost/python to work with dynamic linking.
2008-04-13 03:38:47 -04:00
John Wiegley
4de38a916a
Guarded reference to _log_level.
2008-04-13 03:38:47 -04:00
John Wiegley
76a2e60e39
Added builder.h
2008-04-13 03:38:46 -04:00
John Wiegley
87d24bf456
*** no comment ***
2008-04-13 03:38:45 -04:00
John Wiegley
7006be5ba1
Corrected Python build.
2008-04-13 03:38:45 -04:00
John Wiegley
419909bf52
*** no comment ***
2008-04-13 03:38:44 -04:00
John Wiegley
a1c225eeb6
*** no comment ***
2008-04-13 03:38:43 -04:00
John Wiegley
1d065bf0dc
Copied over all of the C++ tests to Python again.
2008-04-13 03:38:43 -04:00
John Wiegley
978b8943fd
*** no comment ***
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
02c88132cf
Added --enable-boost-sd for linking about the static/debug variant of Boost.
2008-04-13 03:38:41 -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
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
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
John Wiegley
230e03166f
In the middle of switching to using boost/operators.hpp
2008-04-13 03:38:35 -04:00
John Wiegley
e70b80d6fe
Got tracing code working again.
2008-04-13 03:38:35 -04:00