Commit Graph

157 Commits

Author SHA1 Message Date
Simon Michael
d795c0bac8 update ghci examples 2008-06-28 04:44:56 +00:00
Simon Michael
8dcc90ff58 fix compile warnings 2008-06-28 04:44:49 +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
34ebd9e3df support tools cleanup 2008-05-26 21:19:21 +00:00
Simon Michael
f27e96d4a7 chart notes 2008-05-26 21:13:54 +00:00
Simon Michael
e16fc9aeed some fix or other 2008-05-26 20:43:11 +00:00
Simon Michael
8a5a69005c notes 2008-05-26 20:42:46 +00:00
Simon Michael
01655a7bcb notes 2007-08-04 14:51:45 +00:00
Simon Michael
a1af47976a add regtest.py 2007-08-04 14:32:57 +00:00
Simon Michael
ae4b6c779e comment 2007-07-12 19:09:39 +00:00
Simon Michael
d91977fbe6 fix entry balance checking by rounding to 8 places, for now 2007-07-11 09:32:43 +00:00
Simon Michael
06b376385b better regression testing 2007-07-11 08:25:05 +00:00
Simon Michael
e08b2c1ea6 remove unused functions 2007-07-11 08:24:32 +00:00
Simon Michael
9ab9d460c1 report unbalanced entries 2007-07-11 08:15:58 +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
573fac2755 preserve transaction order regardless of where the blank one is 2007-07-09 17:39:00 +00:00
Simon Michael
11c96dd042 make print & balance support both account & description patterns 2007-07-09 17:38:01 +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
b840d69d67 disable thousands punctuation, it's not so easy 2007-07-07 09:19:20 +00:00
Simon Michael
3ca6ebdf46 output fixes, match ledger output for reg/bal/print commands 2007-07-07 09:05:35 +00:00
Simon Michael
b5087b88c5 fix some display problems, preserve transaction grouping 2007-07-04 12:40:26 +00:00
Simon Michael
6dc6186c0d save and print entry and transaction comments 2007-07-04 12:05:54 +00:00
Simon Michael
5763a80fda simplify Transaction type 2007-07-04 10:59:29 +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
0d8bd83b7f comment 2007-07-04 09:34:30 +00:00
Simon Michael
42ba85c4e1 print command 2007-07-04 09:28:07 +00:00
Simon Michael
eccc932258 selftest -> test 2007-07-04 03:41:15 +00:00
Simon Michael
6d1816109c make cleanups 2007-07-04 03:33:08 +00:00
Simon Michael
88e50a3bfd comments 2007-07-04 02:50:29 +00:00
Simon Michael
d739ac0718 begin arbitrary currency support 2007-07-04 02:24:33 +00:00
Simon Michael
45d4d0ffac make compare to check against ledger 2007-07-04 02:23:37 +00:00
Simon Michael
fd506a6817 better parse error message when only one space before an amount 2007-07-04 01:49:16 +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
b2b9aba791 sort register by date 2007-07-03 19:06:47 +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
7ff1b758c5 fix comments with numbers on same line as transactions without an amount 2007-07-03 16:16:26 +00:00
Simon Michael
6883ff419d don't require an extra newline after last entry 2007-07-03 09:48:36 +00:00
Simon Michael
3c6b5b039b make tweaks 2007-07-03 09:11:03 +00:00
Simon Michael
d760acc85e speed, cleanup 2007-07-03 08:46:39 +00:00
Simon Michael
b06fe57c00 more speed 2007-07-03 06:16:15 +00:00
Simon Michael
78a506e85a more optimisation 2007-07-03 05:43:00 +00:00
Simon Michael
8074907ef8 profile rules 2007-07-03 05:42:43 +00:00
Simon Michael
e7d36bb40e cleanup 2007-07-02 23:54:17 +00:00
Simon Michael
91735f4f3c begin optimization 2007-07-02 23:41:07 +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