John Wiegley
927d404ad5
Added a syntax error check
2012-03-13 10:33:59 -05:00
John Wiegley
e65fc729bc
Made split_cons_expr a global function
2012-03-13 10:33:51 -05:00
John Wiegley
c8dd3d28e3
Added --time-report option
...
This is a rather basic option at the moment which only affects the
balance report. I use it as follows, for entering contractor hours into
a project planning application, where $1 is the contractor's timelog
file, and $2 is the date after which new entries appear in the file:
ledger -f $1 balance \
--account=payee \
--time-report \
-d "latest > [$2]" \
--datetime-format='%m/%d/%y %I:%M %p'
2012-03-13 03:45:06 -05:00
John Wiegley
2932e05c18
Account valexprs: earliest_checkin, latest_checkout
...
Lets you access the earliest/latest checkin/checkout times for timelog
entries in an account. Will be NULL if the account doesn't contain any.
2012-03-13 03:42:11 -05:00
John Wiegley
cfe8142b2b
Access to checkin/checkout of timelog entries
2012-03-13 03:41:00 -05:00
John Wiegley
cb317f9d39
Added format_datetime valexpr function
2012-03-13 03:40:16 -05:00
John Wiegley
f35f68823a
The anonymizer wasn't properly setting the journal
2012-03-13 00:04:44 -05:00
John Wiegley
dcd83203e6
posts_commodities_iterator wasn't setting the journal
2012-03-13 00:04:31 -05:00
John Wiegley
59cbcf703c
post_t's copy constructor wasn't copying xdata_
2012-03-13 00:03:56 -05:00
John Wiegley
72fc1824d0
dijkstra_shortest_paths should never return a reverse path
2012-03-12 23:04:16 -05:00
John Wiegley
098f3d45d7
Fixed speed issue with commodities reports
2012-03-12 22:38:52 -05:00
John Wiegley
be289fba1f
Fixed a few bugs related to apply directives
2012-03-12 22:38:36 -05:00
John Wiegley
cf67fcbd06
Resolved a huge performance issue with 'pricedb'
2012-03-12 05:48:10 -05:00
John Wiegley
ed42a7ebfe
Allow payee names to contain multiple spaces
2012-03-12 05:48:10 -05:00
John Wiegley
fb2e80406f
Ignore all trailing whitespace in Ledger journals
2012-03-12 05:48:10 -05:00
John Wiegley
ed71421c8a
Merge pull request #57 from plathrop/bug/emacs-reconcile-visit
...
Fix ledger-reconcile-visit.
2012-03-11 18:50:00 -07:00
John Wiegley
8fe68c5fc3
Guarded against unreachable code warnings
2012-03-11 05:27:13 -05:00
John Wiegley
a2b6a81cae
DO_VERIFY() was always true in optimized builds
2012-03-11 05:15:56 -05:00
John Wiegley
fcc68a0041
Critical fix to temporary destruction order
2012-03-11 05:09:06 -05:00
John Wiegley
62c04deb87
Quieted several compiler warnings from Clang
2012-03-11 05:08:55 -05:00
John Wiegley
020de80f60
Make sure not to free global_scope unless --verify
2012-03-11 04:55:51 -05:00
John Wiegley
234348f7fa
Fixed a bug that was breaking optimized builds
2012-03-11 04:30:08 -05:00
John Wiegley
aebf77d5b4
Don't clean up at end if not needed
2012-03-11 04:27:11 -05:00
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
c813eafbd8
Display file name when a regression test fails
2012-03-09 03:57:30 -06:00
John Wiegley
59f5ebe2df
Reworked the way that options are handled
2012-03-09 03:51:53 -06:00