John Wiegley
02bd9d29cf
Improved an error message that was trying to show transaction context.
2009-02-08 20:05:56 -04:00
John Wiegley
4f5799c216
If a ledger file is specified in .ledgerrc, ignore the environment.
2009-02-08 19:54:39 -04:00
John Wiegley
455b6e27cb
If LEDGER_FILE was seen, ignore LEDGER.
2009-02-08 19:54:16 -04:00
John Wiegley
22ac8165f4
Removed check for nl_langinfo from configure.ac.
2009-02-08 19:53:49 -04:00
John Wiegley
b89d8a1fa5
Have all items respond to the "depth" property, defaulting to 0.
2009-02-08 19:53:39 -04:00
John Wiegley
f9f4bf468b
Re-enabled the use of pre-compiled headers over debug libs in acprep --devel.
2009-02-08 19:08:23 -04:00
John Wiegley
ef30354387
Temporarily stub out the Python unit tests.
2009-02-08 19:05:35 -04:00
John Wiegley
e003502193
Moved several #includes to facilitate the use of pre-compiled headers.
2009-02-08 19:05:06 -04:00
John Wiegley
769b4ba1d0
Inverted the logical sense of query arguments; they now implicit use OR.
2009-02-08 05:19:02 -04:00
John Wiegley
59aefb5a3b
Inverted the default display mode for balance reports. Use -n to collapse
...
them, as this fits better with what -n does for register reports.
2009-02-08 05:18:46 -04:00
John Wiegley
d6d0b75bf0
Repaired the output of the "eval" command.
2009-02-08 04:32:46 -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
f7f5ed3d0f
Added stub for --pending report flag.
2009-02-08 03:02:02 -04:00
John Wiegley
7594639581
Better semantics for the ?: ternary operator.
2009-02-08 03:01:51 -04:00
John Wiegley
aebfc92a4d
Added debug code to the op_t calculation routine.
2009-02-07 23:30:53 -04:00
John Wiegley
ffba456113
Several fixes to get the state flags to appear right in "print".
2009-02-07 23:30:40 -04:00
John Wiegley
6f37d88391
Fixed a mistakenly const parameter.
2009-02-07 22:50:56 -04:00
John Wiegley
aec5020d34
item_t::get_uncleared was returning true if CLEARED.
2009-02-07 22:50:38 -04:00
John Wiegley
f857e10ce2
Whitespace fix to the print report.
2009-02-07 22:50:27 -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
cb0faac58d
Removed a great many unnecessary Boost.Python files.
2009-02-07 22:49:53 -04:00
John Wiegley
71591555fd
Added --leeway option (for quote downloading) into session_t.
2009-02-07 21:55:51 -04:00
John Wiegley
591ebbf1bd
Moved parse_commodity_price into commodity_pool_t.
2009-02-07 21:55:38 -04:00
John Wiegley
fb5fc0e3f9
Don't show a running total in the CSV output. The user will have to manage
...
that themselves in Excel or something.
2009-02-07 19:48:56 -04:00
John Wiegley
55fb4e4acf
Reimplemented -B, -V, -I and -O.
2009-02-07 19:48:42 -04:00
John Wiegley
d1f13be1d2
Fixed some incorrect #includes.
2009-02-07 19:48:29 -04:00
John Wiegley
7df50c76bc
emacs.h belongs in the "report" documentation group.
2009-02-07 19:48:12 -04:00
John Wiegley
4a28e1765c
Fixed some #include ordering issues.
2009-02-07 19:36:51 -04:00
John Wiegley
19a59079fa
Removed an unused file.
2009-02-07 19:36:06 -04:00
John Wiegley
423bf7a84e
Removed unneeded -D directives from acprep.
2009-02-07 19:35:57 -04:00
John Wiegley
2cdc83c94a
Whitespace fix.
2009-02-07 18:43:12 -04:00
John Wiegley
6fa581d64f
Dropped all unnecessary boost header files.
2009-02-07 18:42:54 -04:00
John Wiegley
0c8970584e
Removed handling of the unnused INDEX operator.
2009-02-07 18:42:12 -04:00
John Wiegley
1de748fc13
Removed an unnecessary boolean test.
2009-02-07 18:41:52 -04:00
John Wiegley
08bc27ff0d
Removed commodity_pool_t's use of boost::multi_index_container, and also its
...
used of the ident membe, which was only ever used by the binary cache code.
2009-02-07 18:41:45 -04:00
John Wiegley
f4c7f86e21
Removed unnused account_t::ident.
2009-02-07 18:41:06 -04:00
John Wiegley
336cd5ef35
Removed include path reference to libofx.
2009-02-07 18:40:33 -04:00
John Wiegley
767014cb9f
Fixed a problem with -E wasn't displaying the final transaction.
2009-02-07 17:46:10 -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
589eabd8e6
Threw away the "multiple parser" infrastructure.
2009-02-07 17:45:48 -04:00
John Wiegley
9380d73646
The "note" expressions returns an empty string if there is no note.
2009-02-07 05:53:40 -04:00
John Wiegley
df6b02b3ef
Renamed escape to quoted, and fixed up the csv report.
2009-02-07 05:53:22 -04:00
John Wiegley
ea9330adae
Allow value expressions to gain access to option settings.
...
For example, "ledger eval options.limit" prints 0 (for false), but:
"ledger -l hello eval options.limit" print "hello"s, since the value of
options.limit, once set to a value, is that string. For flag options,
such as -Y, eval prints 0 if unset, and 1 if set.
This feature allows value expressions to be conditionalized based on the
presence of user options.
2009-02-07 05:47:21 -04:00
John Wiegley
66d007db9d
Fixed the way that --limit, --only and --display are handled.
2009-02-07 04:55:51 -04:00
John Wiegley
71258f1fe9
Fixed a problem that was causing -l EXPR to trigger on assertion.
2009-02-07 04:55:42 -04:00
John Wiegley
011f35b730
Implemented expr_context.
2009-02-07 04:27:28 -04:00
John Wiegley
19694cf2a2
Use seekg, in place of multiple ungets.
2009-02-07 04:27:14 -04:00
John Wiegley
682544ef17
Refer to empty expression operators as simply NULL.
2009-02-07 04:27:04 -04:00
John Wiegley
eb98e0da8b
More revision to the way options are handled; reworked CSV command.
2009-02-07 04:26:30 -04:00
John Wiegley
17c7037da9
Correction to debug output.
2009-02-07 00:08:08 -04:00