Commit Graph

22 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
d52b365fa0 combine patterns into single regexps, fix a bug with print & patterns 2007-07-11 06:58:47 +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
88e50a3bfd comments 2007-07-04 02:50:29 +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
91735f4f3c begin optimization 2007-07-02 23:41:07 +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
e166729538 comment cleanup 2007-07-02 16:55:29 +00:00
Simon Michael
2ddeb4841c move types to bottom 2007-07-02 16:43:14 +00:00
Simon Michael
b41e13d23a BasicTypes -> Types 2007-07-02 14:54:36 +00:00
Simon Michael
080d567f15 Types -> Models 2007-02-10 23:10:04 +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
a0ad290570 fix blank line in register 2007-02-09 08:27:42 +00:00
Simon Michael
1fa5e09dfd split into modules 2007-02-09 01:23:12 +00:00