Commit Graph

297 Commits

Author SHA1 Message Date
Simon Michael
3138046744 clarify entry balance checking and show the full entry when unbalanced 2008-10-15 06:47:47 +00:00
Simon Michael
9f341b0279 make show entry more useful 2008-10-15 06:47:00 +00:00
Simon Michael
1e3291af48 focus on tests in Tests.hs, clean up 2008-10-15 06:32:52 +00:00
Simon Michael
7a69efec70 match full account name when (any) account pattern contains :, as ledger seems to 2008-10-15 06:32:42 +00:00
Simon Michael
760befef89 more cleanups 2008-10-15 06:00:10 +00:00
Simon Michael
8d70ed87ea small cleanups 2008-10-15 02:11:30 +00:00
Simon Michael
3dc5f54f39 display thousands with commas when appropriate 2008-10-15 01:06:05 +00:00
Simon Michael
aac492c746 rename amount show functions 2008-10-15 00:37:38 +00:00
Simon Michael
782d05aa61 use the display settings of the first amount detected in each commodity 2008-10-15 00:34:02 +00:00
Simon Michael
b1e2a83556 comment update 2008-10-15 00:33:15 +00:00
Simon Michael
042a8179e8 always give a proper parse error for numbers, remember precisions and thousands separators
(per amount for now)
2008-10-14 23:14:31 +00:00
Simon Michael
4efdda25b4 replace Currency with a more flexible, ledger-style Commodity 2008-10-12 21:52:48 +00:00
Simon Michael
d2f741255d update notes 2008-10-12 09:20:43 +00:00
Simon Michael
80ef214f79 nicer ghci/repl usage, update docs 2008-10-12 09:17:21 +00:00
Simon Michael
a9f021eebe slightly less verbose Show Ledger 2008-10-12 09:16:04 +00:00
Simon Michael
01cd388c24 remove dead code, simplify cacheLedger again 2008-10-12 07:46:54 +00:00
Simon Michael
ce3eeb80b6 consolidate register command code, make it do filtering 2008-10-12 07:34:00 +00:00
Simon Michael
b9b9ce7d51 another balance report test, another step closer 2008-10-12 06:45:54 +00:00
Simon Michael
a64d320c84 a more compatible balance report, not perfect yet 2008-10-12 06:23:55 +00:00
Simon Michael
c07c149378 type signatures 2008-10-12 06:10:32 +00:00
Simon Michael
220b688082 another test 2008-10-12 05:09:01 +00:00
Simon Michael
35376cfd9b more informative Show Account 2008-10-12 05:07:19 +00:00
Simon Michael
d7db5660b9 perhaps getting closer to a ledger-compatible balance report. A wretched, wretched thing. 2008-10-11 04:23:49 +00:00
Simon Michael
9b51d922dd more utilities 2008-10-11 04:18:26 +00:00
Simon Michael
2ff9c21b95 more account queries 2008-10-11 04:17:52 +00:00
Simon Michael
2cef939da1 rename accounts/filteraccounts fields to accountmap/filteraccountmap 2008-10-10 22:28:10 +00:00
Simon Michael
9dc9c9dd76 remove dead code, rename function 2008-10-10 12:04:20 +00:00
Simon Michael
a30154b401 pruneBoringBranches again, a test, and fix hiding of zero-balance leaf accounts 2008-10-10 11:55:12 +00:00
Simon Michael
3458d1f379 more utils, Control.Monad 2008-10-10 11:52:15 +00:00
Simon Michael
19fbe17ff4 test labels 2008-10-10 11:12:54 +00:00
Simon Michael
d172cd0d6e a more compact showtree 2008-10-10 11:11:55 +00:00
Simon Michael
9b5a35b5d2 assertnotequal 2008-10-10 11:11:49 +00:00
Simon Michael
77b7de1b5f add four (failing) tests for balance report 2008-10-10 10:05:12 +00:00
Simon Michael
220417ce48 top-level Utils module 2008-10-10 10:04:26 +00:00
Simon Michael
37e75d610e more tests cleanup.. prepare for per-module tests, but consolidate in Tests where I think we will stay 2008-10-10 08:16:55 +00:00
Simon Michael
d98643a364 tests cleanup 2008-10-10 07:39:20 +00:00
Simon Michael
688f2447a5 move main module comment 2008-10-10 07:39:13 +00:00
Simon Michael
d1dfcafc39 move entry filter functions to RawLedger 2008-10-10 04:23:25 +00:00
Simon Michael
7c25dbc4a3 update the cabal file 2008-10-10 04:05:46 +00:00
Simon Michael
67c203f316 move commands to top-level modules, make Ledger pure (except for Parse) 2008-10-10 03:32:12 +00:00
Simon Michael
65cfcceae0 notes update 2008-10-10 03:30:56 +00:00
Simon Michael
73c49ec060 reduce unnecessary imports 2008-10-10 02:19:53 +00:00
Simon Michael
cdc5a23192 clean up imports whitespace, minimise explicit intra-app import/export declarations for now 2008-10-10 01:53:39 +00:00
Simon Michael
15ea00a327 rename that pesky tags target 2008-10-10 01:44:40 +00:00
Simon Michael
2f59135953 simple --version option 2008-10-10 01:36:21 +00:00
Simon Michael
81ac9bcaa5 remove dead code 2008-10-09 13:16:57 +00:00
Simon Michael
11342db662 simplify filtering, make cacheLedger store filtered data as well, make balance reports work a little better 2008-10-09 13:02:26 +00:00
Simon Michael
b3ba124ce9 more informative show output 2008-10-09 12:59:05 +00:00
Simon Michael
165945cf20 better RawLedger string representation 2008-10-09 09:25:58 +00:00
Simon Michael
3fcb1aaa6c formatting 2008-10-09 09:25:37 +00:00