Commit graph

812 commits

Author SHA1 Message Date
John Wiegley
b1a04923fe *** empty log message *** 2008-04-13 02:41:30 -04:00
John Wiegley
2964dd15b2 *** empty log message *** 2008-04-13 02:41:30 -04:00
John Wiegley
30f79b0761 *** empty log message *** 2008-04-13 02:41:30 -04:00
John Wiegley
4a96c8d7d8 *** empty log message *** 2008-04-13 02:41:30 -04:00
John Wiegley
82d0ee869b Added --ansi and --ansi-invert options. 2008-04-13 02:41:30 -04:00
John Wiegley
fd525ec382 Added new --descend option. 2008-04-13 02:41:30 -04:00
John Wiegley
4f83a2bf8f Added new --descend option. 2008-04-13 02:41:30 -04:00
John Wiegley
49ae3b65d5 *** empty log message *** 2008-04-13 02:41:30 -04:00
John Wiegley
47e2a34176 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
f1d5716b95 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
bdd0dcf39d *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
e32d9e64a7 Added much better error location. 2008-04-13 02:41:29 -04:00
John Wiegley
b737cd8e6d Added a DATETIME value type. 2008-04-13 02:41:29 -04:00
John Wiegley
d02f74efea *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
326235ffbe *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
3c0caf1100 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
7acc1306d9 *** empty log message *** 2008-04-13 02:41:29 -04:00
John Wiegley
11498f4807 *** empty log message *** 2008-04-13 02:41:28 -04:00
John Wiegley
2ebfddf401 Began support for improved commodity handling. 2008-04-13 02:41:28 -04:00
John Wiegley
96d6d62ad9 Began support for improved commodity handling. 2008-04-13 02:41:28 -04:00
John Wiegley
7d3e45958e *** empty log message *** 2008-04-13 02:41:28 -04:00
John Wiegley
68813448cb Added support for unlimited factoids. 2008-04-13 02:41:28 -04:00
John Wiegley
72a5f48d9d *** empty log message *** 2008-04-13 02:41:28 -04:00
John Wiegley
cf773a5a12 *** empty log message *** 2008-04-13 02:41:28 -04:00
John Wiegley
0c55a5ee1b (read_binary_journal): Fixed a tiny memory leak when reading from a
binary cache.
2008-04-13 02:41:28 -04:00
John Wiegley
9db08c4c7d (read_binary_journal): Fixed a tiny memory leak when reading from a
binary cache.
2008-04-13 02:41:28 -04:00
John Wiegley
2930b89ea3 *** empty log message *** 2008-04-13 02:41:27 -04:00
John Wiegley
f741c1b62e *** empty log message *** 2008-04-13 02:41:27 -04:00
John Wiegley
73b9d060c0 *** empty log message *** 2008-04-13 02:41:27 -04:00
John Wiegley
a2423f99db *** empty log message *** 2008-04-13 02:41:27 -04:00
John Wiegley
08ad1f544f *** empty log message *** 2008-04-13 02:41:27 -04:00
John Wiegley
96acdec7b9 (value_expr_t::compute): Added new 'act_date' and 'eff_date' value
expressions, for getting at the explicit actual and effective dates of
a transaction or entry.  For accounts, these both refer to the present
moment.
2008-04-13 02:41:27 -04:00
John Wiegley
935f849c7d (parse_transaction): Assign the entry to an xact while parsing it so
that the 'd' variable is available to value expressions within a
transaction amount or cost.
2008-04-13 02:41:27 -04:00
John Wiegley
a597b0fb5e Further improvements to lot pricing. 2008-04-13 02:41:27 -04:00
John Wiegley
7901598f1d Checked in all major updates. 2008-04-13 02:41:27 -04:00
John Wiegley
4507573d4f *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
56e95af8e0 (config_t::regexps_to_predicate): Don't set the display predicate to
show only matching accounts when the --related flag is in use (which
was effectively masking out the whole point of using --related with
balance reports).
2008-04-13 02:41:26 -04:00
John Wiegley
e75bb1f71f *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
f819ba6c10 *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
224273fa54 *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
5a8d1fc8ea *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
f4e4cd2db8 *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
f2a167e0ed *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
9545b22b41 *** empty log message *** 2008-04-13 02:41:26 -04:00
John Wiegley
9349dadcfa *** empty log message *** 2008-04-13 02:41:25 -04:00
John Wiegley
7cf2a41755 (parse_transaction): Improved the @ check (scanning for a transaction
cost) so that it skips quoted symbol names and value expressions.
2008-04-13 02:41:25 -04:00
John Wiegley
f86e81732c (parse_value_term): Added support for general @name functions. This
used to mean Python functions, now it will be used for all further
value expression functions.  Right now this means the new @min(x,y)
and @max(x,y) functions.
2008-04-13 02:41:25 -04:00
John Wiegley
5cb727b718 *** empty log message *** 2008-04-13 02:41:25 -04:00
John Wiegley
fc8bbd5815 (parse_amount): Don't interpret an initial opening parenthesis as
inline math, but rather see it as introducing a value expression.
2008-04-13 02:41:25 -04:00
John Wiegley
0876d31157 (amount_t::valid): Don't verify the commodity as being non-null, since
NULL is a perfectly valid value for a commodity (it just means
null_commodity).  Also, never use commodity_->member, but always
commodity().member.
2008-04-13 02:41:25 -04:00