John Wiegley
|
1fa3c1956f
|
Moved amount_t::right_justify to simply ::justify
|
2009-02-19 01:22:22 -04:00 |
|
John Wiegley
|
d0a664d102
|
Fixed several unused value and param warnings
|
2009-02-16 16:55:18 -04:00 |
|
John Wiegley
|
6f2e3b8864
|
Properly handle UTF-8 characters in commodity strings.
|
2009-02-12 02:34:39 -04:00 |
|
John Wiegley
|
1a030da55d
|
Rewrote the "entry" command. It's ALIVE!
|
2009-02-11 19:14:23 -04:00 |
|
John Wiegley
|
b662509ee9
|
amount_t::in_place_* now returns void. Added value_t::unreduce.
|
2009-02-07 22:50:19 -04:00 |
|
John Wiegley
|
4a28e1765c
|
Fixed some #include ordering issues.
|
2009-02-07 19:36:51 -04:00 |
|
John Wiegley
|
a085f8e9ad
|
Only initialize the amount_t module if it hasn't been already.
|
2009-02-06 03:30:45 -04:00 |
|
John Wiegley
|
2d941730b1
|
Largely removed all of Ledger's use of global variables, for the REPL's sake.
|
2009-02-04 19:55:27 -04:00 |
|
John Wiegley
|
24ef163ba5
|
Removed unneeded member variables.
|
2009-02-04 00:35:02 -04:00 |
|
John Wiegley
|
3434650848
|
Removed the binary caching code, and the XML, QIF and Gnucash parsers.
|
2009-02-03 12:22:10 -04:00 |
|
John Wiegley
|
9f8997f1b5
|
Values can now be streamed to XML, and all the types they refer to.
|
2009-02-01 01:48:07 -04:00 |
|
John Wiegley
|
90404e85fa
|
Corrected the way that thousands markers are output.
|
2009-01-31 15:42:40 -04:00 |
|
John Wiegley
|
dd9775508a
|
amount_t::is_zero() wasn't checking for '-'.
|
2009-01-31 05:43:23 -04:00 |
|
John Wiegley
|
ec6a3e8081
|
Made amount_t::is_zero() slightly more efficient.
|
2009-01-31 05:00:49 -04:00 |
|
John Wiegley
|
cce65b8dd2
|
Added a more efficient amount_t::operator==, which changed semantics slightly.
|
2009-01-31 04:58:16 -04:00 |
|
John Wiegley
|
5a44784817
|
Removed the special "one" variable, and added amount_t::inverted().
|
2009-01-31 04:57:24 -04:00 |
|
John Wiegley
|
e9ff5caa13
|
Rationals based math is now passing the unit tests.
|
2009-01-31 04:25:05 -04:00 |
|
John Wiegley
|
5ec98f3ed3
|
Several corrections to the way rationals are handled.
|
2009-01-31 01:25:29 -04:00 |
|
John Wiegley
|
e0dd2cd0a4
|
Changed to using rational numbers instead of integer approximations.
As a result, dependency on the gdtoa was dropped, and dependency on mpfr was
added.
|
2009-01-30 19:30:16 -04:00 |
|
John Wiegley
|
f1257cbc3e
|
Removed all dependency on gdtoa.
|
2009-01-30 16:19:31 -04:00 |
|
John Wiegley
|
9400435870
|
Updated comments and other whitespace changes.
|
2009-01-30 05:21:41 -04:00 |
|
John Wiegley
|
05c77351e4
|
Stopped using the generic "unsigned int" in favor of more specific types.
|
2009-01-29 18:23:57 -04:00 |
|
John Wiegley
|
9aaab88c61
|
Update Doxygen documentation. Still much more work to be done.
|
2009-01-29 02:24:42 -04:00 |
|
John Wiegley
|
8b75b5cbfb
|
Revised the way that parsing flags get passed around.
|
2009-01-29 02:24:25 -04:00 |
|
John Wiegley
|
094c64b67c
|
amount_t and commodity_t objects can now stream themselves to XML.
|
2009-01-28 20:49:44 -04:00 |
|
John Wiegley
|
cbc41ca47a
|
Moved sha1 and gdtoa inclusions into system.hh.
|
2009-01-24 04:50:18 -04:00 |
|
John Wiegley
|
8e50706d1e
|
Include gdtoa.h if it's being used.
|
2009-01-23 17:55:23 -04:00 |
|
John Wiegley
|
887828a40c
|
Increased copyright range to include 2009.
|
2009-01-20 01:53:31 -04:00 |
|
John Wiegley
|
d9197fc2e5
|
Changed COMMODITY_STYLE_NOMARKET TO COMMODITY_NOMARKET.
|
2009-01-19 22:24:56 -04:00 |
|
John Wiegley
|
5cc99a6972
|
Changed COMMODITY_STYLE_BUILTIN to COMMODITY_BUILTIN, and added new flag
COMMODITY_WALKED, for avoiding infinite recursions during price lookups.
|
2009-01-19 19:58:47 -04:00 |
|
John Wiegley
|
dc91fdeff2
|
Added argument to amount_t::value() for request a market value in terms of a
specific commodity.
|
2009-01-19 17:47:46 -04:00 |
|
John Wiegley
|
60f9748da1
|
Create an unrounded global amount variable 'one' for creating inverse price
mappings.
|
2009-01-19 16:24:06 -04:00 |
|
John Wiegley
|
c9959f2008
|
Added a missing call to _dup() in amount_t::in_place_round. Thanks to unit
testing!
|
2008-11-23 23:37:42 -04:00 |
|
John Wiegley
|
c172281858
|
Abstracted precision extension constant, and added a note that precision must
be handled differently, since paying attention to places after the decimal is
not enough.
|
2008-11-23 19:15:32 -04:00 |
|
John Wiegley
|
6007e3cbfe
|
Did more restructing of commodity price histories, although the completed
find_price does not work yet.
|
2008-09-21 10:26:38 -04:00 |
|
John Wiegley
|
79a8fc5a87
|
Created several alternate 'value' methods to support the upcoming commodity
valuation changes.
|
2008-09-21 07:56:23 -04:00 |
|
John Wiegley
|
0135c28049
|
Added in_place_round method to all Ledger numerical types.
|
2008-09-14 19:36:55 -04:00 |
|
John Wiegley
|
752eb99445
|
Removed all pending todos from the amount_t code.
|
2008-08-17 03:40:21 -04:00 |
|
John Wiegley
|
0eda1ad2c6
|
The Python interface layer is building again.
|
2008-08-07 02:53:35 -04:00 |
|
John Wiegley
|
f6f4a46cf5
|
Moved around most of the files so that source code is in src/, documentation
is in doc/, etc.
|
2008-08-05 18:05:49 -04:00 |
|