John Wiegley
fad24d40f7
When --percent is used, disable --decimal-comma after parsing
...
Fixes #674
2012-03-11 04:02:52 -05:00
John Wiegley
d93c5a7d43
Corrected a typo
2012-03-11 04:02:25 -05:00
John Wiegley
363670d35b
Tighten up argument passing related to fn_market()
2012-03-11 03:55:25 -05:00
John Wiegley
2303aa993c
Allow balances to be passed to nail_down
...
Fixes #679
2012-03-11 03:06:50 -05:00
John Wiegley
0d9d845338
Corrected a rounding error in nail_down
...
Fixes #678
2012-03-11 03:06:03 -05:00
John Wiegley
2a41649584
Improve error reporting of nested function calls
2012-03-11 03:05:33 -05:00
John Wiegley
6ddd935e4a
--percent now plays well with -X and -V
2012-03-10 21:58:43 -06:00
John Wiegley
2a4d7e1af0
Added --immediate option
2012-03-10 21:58:28 -06:00
John Wiegley
860610fdaf
Added --dc option, for debit/credit style reports
2012-03-10 21:34:51 -06:00
John Wiegley
1956393a44
Allow conversion of negative values with int()
2012-03-10 21:34:37 -06:00
John Wiegley
7b45a664f2
Make --lot-notes the primary name, not --lot-tags
2012-03-10 21:33:31 -06:00
John Wiegley
02225a014a
Give a better error when sequences are mis-indexed
2012-03-10 21:32:38 -06:00
John Wiegley
080c1d9a2d
Added syntactic sugar for lot pricing: {{$500.00}}
2012-03-10 02:27:33 -06:00
John Wiegley
50f202c4e8
Make --lot-notes a synonym for --lot-tags
2012-03-10 01:01:26 -06:00
John Wiegley
5e0efb5e8b
Fixed options processing of --value-expr
2012-03-09 20:16:44 -06:00
John Wiegley
022059f2a8
Added --value-expr option
2012-03-09 20:11:38 -06:00
John Wiegley
2df8edc71c
Improved the behavior of -X
2012-03-09 20:02:53 -06:00
John Wiegley
cbc7bd337b
Allow valuation of sequences
2012-03-09 16:21:19 -06:00
John Wiegley
3886428d1d
Move expr_t's ctor/dtors into expr.cc
...
Fixes #672
2012-03-09 14:47:11 -06:00
John Wiegley
77e9e3bfb9
Allow --budget-format to be used
2012-03-09 14:11:13 -06:00
John Wiegley
318b5f49ff
Fixed the behavior of fn_nail_down
2012-03-09 07:02:53 -06:00
John Wiegley
929a734a30
-H now implies -V
2012-03-09 07:02:34 -06:00
John Wiegley
605fcde2e7
Corrected value_expr annotation comparisons
2012-03-09 06:51:15 -06:00
John Wiegley
1a6ec4e8b4
Fixed the way adjacency_list was being used
2012-03-09 06:06:17 -06:00
John Wiegley
9fd1fc1c22
Simplified some code in commodity_pool_t
2012-03-09 05:06:40 -06:00
John Wiegley
59f5ebe2df
Reworked the way that options are handled
2012-03-09 03:51:53 -06:00
John Wiegley
ef478079e7
Defend against Dijkstra returning reverse paths
2012-03-09 03:26:11 -06:00
John Wiegley
ca8f702a1b
Added amount_t::commodity_ptr()
2012-03-09 03:25:53 -06:00
John Wiegley
628875b33c
Use Boost.Tuple
2012-03-09 03:19:25 -06:00
John Wiegley
b0cf90ab50
Added int and str value expression functions
2012-03-09 01:29:11 -06:00
John Wiegley
c62ceeef5a
Added to_string() and operator+(const char *, string)
2012-03-09 01:28:51 -06:00
John Wiegley
77484f1c17
Whitespace fix
2012-03-09 01:28:34 -06:00
John Wiegley
c9f7195936
Added the notion of "virtual costs"
2012-03-09 01:28:20 -06:00
John Wiegley
9f81c798ee
fn_market can now accept a commodity name for arg 0
2012-03-08 01:08:08 -06:00
John Wiegley
113fb0ee6a
Added --historical option
2012-03-08 01:00:16 -06:00
John Wiegley
21e8b7f6f0
Added nail_down() for pinning market value exprs
2012-03-08 00:55:06 -06:00
John Wiegley
17a84642fb
Corrected calculation of market valuation expressions
2012-03-08 00:54:19 -06:00
John Wiegley
c86bff2707
Whitespace fix
2012-03-08 00:44:48 -06:00
John Wiegley
4d01143400
Many improvements to lambdas and function calling
2012-03-08 00:44:40 -06:00
John Wiegley
ae4ef7a88d
More work done on proper evaluation of lambdas
2012-03-07 21:22:07 -06:00
John Wiegley
e7de77d8df
Added #if's for building optimized with Clang
2012-03-07 14:30:34 -06:00
John Wiegley
7e250696e0
Many options now have additive effect
...
For example, -A and -V used to override each other, whereas now:
-A report the average amount
-V report all amounts at current value
-AV report the current value of the average
-VA report the average of all current values
2012-03-07 12:46:46 -06:00
John Wiegley
77292ac3cd
Whitespace fix
2012-03-07 11:31:15 -06:00
John Wiegley
28b3453f50
Added a DEBUG statement
2012-03-07 11:31:08 -06:00
John Wiegley
f525dabf39
Removed unnecessary method definition
2012-03-07 11:31:02 -06:00
John Wiegley
0b8d024efc
Removed unused file series.h
2012-03-07 11:30:45 -06:00
John Wiegley
c33d7480a6
Created merged_expr_t class for chained expressions
2012-03-07 10:35:32 -06:00
John Wiegley
be778e3879
Changed definition of the DECL1 macro
2012-03-07 10:35:01 -06:00
John Wiegley
90029d9925
Allow identifier names to begin with _
2012-03-07 10:33:46 -06:00
John Wiegley
a19578a607
Added "price" value expression for posts
2012-03-07 10:33:32 -06:00