Commit Graph

66 Commits

Author SHA1 Message Date
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
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
19fbe17ff4 test labels 2008-10-10 11:12:54 +00:00
Simon Michael
77b7de1b5f add four (failing) tests for balance report 2008-10-10 10:05:12 +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
67c203f316 move commands to top-level modules, make Ledger pure (except for Parse) 2008-10-10 03:32:12 +00:00
Simon Michael
73c49ec060 reduce unnecessary imports 2008-10-10 02:19:53 +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
fa1b4bdfa2 rename parseError, parsePatternArgs, fix a bug 2008-10-08 18:02:34 +00:00
Simon Michael
91802391a1 um.. refactor option handling, filtering, and support -b/-e date filtering options 2008-10-08 17:00:22 +00:00
Simon Michael
b0e8286411 name hunit tests 2008-10-03 10:23:02 +00:00
Simon Michael
cf194e6b60 rename showLedgerAccounts to showLedgerAccountBalances 2008-10-03 07:47:36 +00:00
Simon Michael
a7b1269d86 define Ledger's exports 2008-10-03 07:38:46 +00:00
Simon Michael
e5834ffe2f minor cleanups.. time to go 2008-10-03 03:38:33 +00:00
Simon Michael
3aa656ba69 rename LedgerEntry to Entry 2008-10-03 02:37:19 +00:00
Simon Michael
b19fe33476 replace Models with a top-level Ledger module 2008-10-03 01:14:16 +00:00
Simon Michael
c699b979f8 move the rest of the core code to the Ledger package 2008-10-03 00:40:06 +00:00
Simon Michael
627f78a730 first step towards a library, move Utils to Ledger.Utils 2008-10-03 00:05:16 +00:00
Simon Michael
99358f207b rename LedgerTransaction to RawTransaction 2008-10-02 23:55:01 +00:00
Simon Michael
f4b4fc98fe rename LedgerFile to RawLedger 2008-10-02 22:17:04 +00:00
Simon Michael
8b117e1581 more ledger-handling-functions cleanup 2008-10-01 12:48:52 +00:00
Simon Michael
8c6d93701b try to simplify FilterPatterns a bit 2008-10-01 11:08:30 +00:00
Simon Michael
0eceeb5542 basic support for a comments-preserving print command.
Preserves most inter-entry comment lines and whitespace (but not yet a
comment immediately after an entry, or whitespace/comments after the last
entry.) Whitespace and comment lines are stored as part of the following
entry. Lines after the last entry are stored as an extra ledger file field.
Inspired by Nafai on #ledger.
2008-06-28 04:44:33 +00:00
Simon Michael
e08b2c1ea6 remove unused functions 2007-07-11 08:24:32 +00:00
Simon Michael
d52b365fa0 combine patterns into single regexps, fix a bug with print & patterns 2007-07-11 06:58:47 +00:00
Simon Michael
ce0d4ec85a clean up account/description pattern handling 2007-07-11 05:46:20 +00:00
Simon Michael
2b608a6c9c remove obsolete code, cleanups 2007-07-09 18:54:41 +00:00
Simon Michael
ec1b5b9bce balance: combine boring account names properly when matching account patterns 2007-07-07 18:26:28 +00:00
Simon Michael
6dc6186c0d save and print entry and transaction comments 2007-07-04 12:05:54 +00:00
Simon Michael
a1b060f4cf renamed types: RawLedger, Entry, Transaction, EntryTransaction -> LedgerFile, LedgerEntry, LedgerTransaction, Transaction 2007-07-04 09:51:37 +00:00
Simon Michael
f0ec7b08a3 track amount precision, and use the highest precision found for display; parsing fixes 2007-07-04 01:38:56 +00:00
Simon Michael
a266a9b2e0 show numbers with thousands separator 2007-07-03 19:01:13 +00:00
Simon Michael
0445086286 tests cleanup 2007-07-03 18:20:45 +00:00
Simon Michael
255e061e6f fix non-display of single-child accounts when balance report depth is restricted, test support 2007-07-03 17:25:16 +00:00
Simon Michael
d760acc85e speed, cleanup 2007-07-03 08:46:39 +00:00
Simon Michael
362d3831ea rename ledger functions 2007-07-02 19:39:34 +00:00
Simon Michael
bd84e95f5e rename Ledger -> RawLedger, CachedLedger -> Ledger 2007-07-02 19:15:39 +00:00
Simon Michael
df55743697 CachedLedger 2007-07-02 18:57:37 +00:00
Simon Michael
23cb79e1f9 amount/currency updates 2007-03-12 17:53:39 +00:00
Simon Michael
2b696b8f0d define/run tests anywhere 2007-03-12 09:38:02 +00:00
Simon Michael
510d39095c big overhaul of options, support -f-, rudimentary timelog file handling 2007-03-12 07:40:33 +00:00
Simon Michael
d3c286d8b7 beginnings of timelog parsing 2007-03-12 00:13:53 +00:00
Simon Michael
de4dd43007 balance: elide boring accounts properly, cleanup 2007-03-11 00:55:53 +00:00
Simon Michael
dabc30e115 more small stuff 2007-03-09 23:32:00 +00:00
Simon Michael
1322bcb4a0 refactor, fix balance report 2007-02-16 11:51:30 +00:00
Simon Michael
ba40fbf733 reorg, split types into separate modules 2007-02-16 09:00:17 +00:00
Simon Michael
7b32caa0aa balance report, refactoring .. not finished but feeling paranoid about systems today\! 2007-02-15 02:08:18 +00:00