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
c211335760
Extended Python amount class.
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
0214a136c2
Work to get Python tests running again.
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
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
21af83013f
Did more work on the utility code.
2008-04-13 03:38:34 -04:00
John Wiegley
c8899addfd
Rearranged the sources a bit.
2008-04-13 03:38:33 -04:00
John Wiegley
9369beb85b
Everything works with optimization turned on now.
2008-04-13 03:38:32 -04:00
John Wiegley
a85bd282d7
Pounded the logging and memory tracing code into better shape.
2008-04-13 03:38:32 -04:00
John Wiegley
d0e9822ed1
Moved around the Python code.
2008-04-13 03:38:32 -04:00
John Wiegley
0eb597a681
Restructured the code to use the new utility code in utils.h.
2008-04-13 03:38:31 -04:00
John Wiegley
9039e728b2
All system headers (except Boost) now included through system.hh;
...
also, added support for pre-compiled headers since I'm now using a
centralized resource for system headers.
2008-04-13 03:38:31 -04:00
John Wiegley
6853db57e6
All tests now working again. Reduced size of entity_t and
...
transaction_t considerably.
2008-04-13 03:38:30 -04:00
John Wiegley
be9f18ccfe
Reduced memory consumption of register report.
2008-04-13 03:38:30 -04:00
John Wiegley
b84f676946
Did some optimization and memory cleanup
2008-04-13 03:38:28 -04:00
John Wiegley
0a6b5726ec
Made the amount/balance/value interface a bit more rational; added
...
back a useless version of the register command (just to prove the
command sequence); and added smart XML semantics to the XPath
implementation so that nodes can be coerced to values.
2008-04-13 03:38:28 -04:00
John Wiegley
12f9ddbb95
Added time parsing
2008-04-13 03:38:28 -04:00
John Wiegley
c5214c8759
Changed date parser to use lex/yacc.
2008-04-13 03:38:27 -04:00
John Wiegley
086ea40d99
We now compile with boost_date_time (although parts of the code have
...
been stubbed out as a result).
2008-04-13 03:38:17 -04:00
John Wiegley
ba2a54f3d2
Initial round of changes to use boost_date_time
2008-04-13 03:35:37 -04:00
John Wiegley
4c460a1c40
Added initialize Commodity test file.
2008-04-13 03:35:37 -04:00
John Wiegley
f63ce06461
Added stubs for several more commodity tests.
2008-04-13 03:35:36 -04:00
John Wiegley
f5956311af
Completed commodity math tests.
2008-04-13 03:35:36 -04:00
John Wiegley
0f2cad4cab
Got most of the commodity tests working, save multiplication and division.
2008-04-13 03:35:36 -04:00
John Wiegley
e43f54f249
Started adding commodity tests
2008-04-13 03:35:35 -04:00
John Wiegley
e7f9486f6e
Finished uncommoditized amount unit tests.
2008-04-13 03:35:35 -04:00
John Wiegley
b27b34a76f
Added a reference to gdtoa, for doing expected conversion of double to amount.
2008-04-13 03:35:33 -04:00
John Wiegley
205351c9f9
Added python tests.
2008-04-13 03:35:33 -04:00
John Wiegley
fc6b8837ec
Added python tests.
2008-04-13 03:35:33 -04:00
John Wiegley
be2726b288
*** no comment ***
2008-04-13 03:35:33 -04:00
John Wiegley
64c8229dd9
Miscellaneous changes
2008-04-13 03:35:32 -04:00
John Wiegley
479dd85da5
Miscellaneous changes
2008-04-13 03:35:32 -04:00
John Wiegley
0ef82600e5
Miscellaneous changes
2008-04-13 03:35:32 -04:00
John Wiegley
b10fcd00d0
Miscellaneous changes
2008-04-13 03:35:32 -04:00
John Wiegley
a087e6ea97
Cleared out all warnings; started work on getting Python up again.
2008-04-13 03:35:32 -04:00
John Wiegley
42f43b7686
Check in all changes made so far toward 3.0.
2008-04-13 03:35:00 -04:00
John Wiegley
f261d82df5
*** empty log message ***
2008-04-13 02:41:33 -04:00
John Wiegley
4691e7ac8e
*** empty log message ***
2008-04-13 02:41:33 -04:00
John Wiegley
04dfda2282
Made separate modules for the csv command, since the prior method was
...
not fully correct.
2008-04-13 02:41:33 -04:00
John Wiegley
db0ef2e257
*** empty log message ***
2008-04-13 02:41:32 -04:00