Commit graph

4049 commits

Author SHA1 Message Date
John Wiegley
09cf0cbb2a Change some #if guards to test for gcc 4.7 2012-03-17 23:14:17 -05:00
John Wiegley
1240ce24b3 Passing --verify to regression tests uses valgrind 2012-03-17 16:47:33 -05:00
John Wiegley
06934e8dd6 libgmalloc is no longer available on OS X Lion 2012-03-17 16:22:03 -05:00
John Wiegley
815501f8b5 Package src/context.h into the final dist 2012-03-17 16:04:30 -05:00
John Wiegley
430ad07db1 Simplified a regression test 2012-03-17 07:02:31 -05:00
John Wiegley
bc31e4838b Fixed #711: Parsing of alias directive 2012-03-17 07:02:03 -05:00
John Wiegley
2aa37bca36 Added regression test for A8FCC765 2012-03-17 07:01:51 -05:00
John Wiegley
f96a205c03 Make --days-of-week an alias for --dow 2012-03-17 05:55:11 -05:00
John Wiegley
22c1b867f0 Added option --day-break 2012-03-17 05:27:43 -05:00
Craig Earls
018a2a8e7b Formatting cleanuo 2012-03-16 18:29:12 -07:00
Craig Earls
9342b71462 Added John recent detailed discussion of Transactions, remove redundant exaplantions elesewhere. Updated account and tag directives to be "apply" 2012-03-16 18:04:45 -07:00
John Wiegley
00ff141ee7 Always close the last report output stream
Should fix #701
2012-03-16 15:31:30 -05:00
John Wiegley
6305855997 Don't allow trailing ws in abbrev. account segments
Fixes #358
2012-03-16 05:30:34 -05:00
John Wiegley
2605d8a711 Improved error reporting for bad account names
Fixes #374
2012-03-16 04:29:35 -05:00
John Wiegley
7462d09b21 Correct parsing of automated xact expressions
Fixes #458
2012-03-16 04:09:21 -05:00
John Wiegley
20c076dff9 Improved error reports about leading whitespace 2012-03-16 03:50:40 -05:00
John Wiegley
dc91d4f1e6 Added regression test for #584 2012-03-16 03:12:18 -05:00
John Wiegley
49ec40a939 pricedb was outputting redundant prices
Fixes #704
2012-03-16 03:09:13 -05:00
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