John Wiegley
|
49a1373deb
|
Renamed a function to sort_value_is_less_than
The purpose was to provided a clearer relationship between the function
name and its expected arguments.
|
2009-02-12 22:47:27 -04:00 |
|
John Wiegley
|
092542a3bf
|
Sorting expr now uses "-" to indicate descending
For example: -S payee,-date sorts 1) ascending by payee, then 2)
descending by date.
|
2009-02-12 20:45:33 -04:00 |
|
John Wiegley
|
c8cd2c468e
|
Re-enabled some code, and removed a bunch of deadwood.
|
2009-02-12 03:30:41 -04:00 |
|
John Wiegley
|
bb243e2c5e
|
Fixed a typo which was causing all boolean values to show as "false".
|
2009-02-12 03:06:30 -04:00 |
|
John Wiegley
|
433bb11fa9
|
Moved value_t::set_type into value.cc, since it had grown.
|
2009-02-12 02:36:14 -04:00 |
|
John Wiegley
|
6f2e3b8864
|
Properly handle UTF-8 characters in commodity strings.
|
2009-02-12 02:34:39 -04:00 |
|
John Wiegley
|
d726624e60
|
Changed value_t to use boost::any (more type-safe).
|
2009-02-10 04:24:06 -04:00 |
|
John Wiegley
|
a072b7e208
|
Fixed a case where adding an amount to an integer failed.
|
2009-02-09 15:07:45 -04:00 |
|
John Wiegley
|
3f7104e9be
|
Removed the balance_pair_t type, since it's now an unneeded abstraction.
This type was a holdback from the days before the amount_expr was used
everywhere to determine a transaction's value.
|
2009-02-09 14:54:42 -04:00 |
|
John Wiegley
|
2d5ad7dee8
|
Added support for value expression definitions.
Example:
] expr f(x) := x + 100
] expr f(100)
200
|
2009-02-08 04:30:05 -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
|
96e11c5937
|
Don't allow regexps to be evaluated in a boolean context.
|
2009-02-07 17:45:57 -04:00 |
|
John Wiegley
|
47725095da
|
Allow regular expressions to be "printed".
|
2009-02-07 00:04:43 -04:00 |
|
John Wiegley
|
327fdca8f4
|
Display value booleans as 0 and 1.
|
2009-02-05 03:49:14 -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
|
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 |
|