John Wiegley
ecd2ece195
Restored tabs that had been converted to spaces
2012-03-16 03:00:39 -05:00
John Wiegley
11067d9cc6
Unexpected initial whitespace is an error (again)
...
Fixes #565
2012-03-16 02:39:42 -05:00
John Wiegley
4da56023d0
Added ldg-test.el, to assist writing regression tests
2012-03-16 01:00:20 -05:00
John Wiegley
a49e33a8ce
Don't add price exchanges for a commodity itself
...
Fixes #703
2012-03-16 01:00:20 -05:00
Craig Earls
61e369b04b
Added description of --dc, internal Ledger Architecture, remove ! and @ from command directives
2012-03-15 19:19:51 -07:00
John Wiegley
429cfc5c80
Don't use -fomit-frame-pointer when building optimized
...
Makes stack traces impossible
2012-03-15 05:01:39 -05:00
John Wiegley
610a3e1709
Don't map_prices if price commodity matches source
...
Fixes #680
2012-03-15 04:58:53 -05:00
John Wiegley
d9fc09097d
Added regression test for #438
2012-03-14 17:36:00 -05:00
John Wiegley
fbcbbeb987
Added two regressions tests from Thierry Daucourt
2012-03-14 17:21:21 -05:00
John Wiegley
37347bad56
Add experimental support for select queries
2012-03-13 10:35:08 -05:00
John Wiegley
c4e942fcb1
Change abbrev_len to int(abbrev_len)
2012-03-13 10:34:51 -05:00
John Wiegley
70941cbd4a
Added to_string(std::size_t)
2012-03-13 10:34:26 -05:00
John Wiegley
a9c387377b
Made join_args() a global function
2012-03-13 10:34:16 -05:00
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