Commit Graph

41 Commits

Author SHA1 Message Date
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
Simon Michael
3c20b0941f cleanup 2007-02-13 04:06:26 +00:00
Simon Michael
edbedab32c ledger-style account and description regexp matching 2007-02-13 03:48:16 +00:00
Simon Michael
7e38481f8b tweak data model, cleanups, show entry details only once per entry 2007-02-13 01:03:12 +00:00
Simon Michael
98c9ef538b test cleanups 2007-02-10 23:32:45 +00:00
Simon Michael
948f20a33e typo 2007-02-10 23:27:44 +00:00
Simon Michael
6bf13fb262 much refactoring, get quickcheck working, beginnings of account matching 2007-02-10 23:24:33 +00:00
Simon Michael
080d567f15 Types -> Models 2007-02-10 23:10:04 +00:00
Simon Michael
db52c7d0e5 tests cleanup 2007-02-10 19:16:56 +00:00
Simon Michael
30fe7ac225 cleanup 2007-02-10 17:36:50 +00:00
Simon Michael
e5cf68bf0f sample Ledger for testing, get account list from a ledger 2007-02-10 05:09:42 +00:00
Simon Michael
cf953b442d register report now has layout, auto-fills missing transaction amounts and shows the running balance 2007-02-09 15:54:18 +00:00
Simon Michael
44e302557f better register layout 2007-02-09 09:58:11 +00:00
Simon Michael
cda849fbff test cleanup 2007-02-09 08:27:35 +00:00
Simon Michael
3751a91c60 cleanup 2007-02-09 03:32:07 +00:00
Simon Michael
2e8665a4d6 working test framework 2007-02-09 03:17:12 +00:00
Simon Michael
1fa5e09dfd split into modules 2007-02-09 01:23:12 +00:00