Commit graph

23 commits

Author SHA1 Message Date
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
918f76b263 Don't allow boolean operations to be applied to masks. 2009-02-03 17:47:14 -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
46b35a015b Don't allow implicit matching of strings against masks, =~ is needed. 2009-02-02 15:16:40 -04:00
John Wiegley
fb5428ce85 Added support for metadata and tagging, and made regexs a first-class type. 2009-02-01 22:10:32 -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
e9ff5caa13 Rationals based math is now passing the unit tests. 2009-01-31 04:25:05 -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
b205090bb7 Changed around the ==, < and > operators in value.h to be correct. 2009-01-28 17:17:06 -04:00
John Wiegley
71e7157a65 Added is_nonzero and a stream-based read() method to value_t. 2009-01-26 20:50:54 -04:00
John Wiegley
e95e8c3f79 Corrected a parse-time optimization of "! CONSTANT". 2009-01-22 18:53:44 -04:00
John Wiegley
887828a40c Increased copyright range to include 2009. 2009-01-20 01:53:31 -04:00
John Wiegley
adf8cfbbc0 Can now determine the market value of balance pairs, even if stored within
value_t objects.
2009-01-19 22:23:02 -04:00
John Wiegley
43ba0bb038 Corrected a harmless warning. 2008-09-19 06:55:07 -04:00
John Wiegley
7d1809cb15 Transactional assignments (i.e., confirmed balances) are working now. 2008-09-14 19:38:44 -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
06a5792212 Output balances when converting to strings, as this is needed by debugging
code sometimes.
2008-08-29 04:32:25 -04:00
John Wiegley
891d7b87c8 Removed some dead code and updated the binary streaming code for op_t and
value_t.
2008-08-17 03:15:57 -04:00
John Wiegley
e18749dec9 If a comparison between amounts fails, fall back and try to compare
commodities instead.
2008-08-14 04:15:35 -04:00
John Wiegley
7a6d416f3b Allow value_t::reduce() on any data type. 2008-08-14 02:39:21 -04:00
John Wiegley
7ffb6c472c The balance report is working again. 2008-08-10 02:53:56 -04:00
John Wiegley
afc592c52c Fixed some spurious warnings in the non-debug build. 2008-08-08 00:17:53 -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
Renamed from value.cc (Browse further)