Commit Graph

140 Commits

Author SHA1 Message Date
Simon Michael
70576e87d1 refactor: move post-parse processing into parseJournal 2010-05-22 23:35:34 +00:00
Simon Michael
10c0a9a958 refactor: take an axe to canonicaliseAmounts 2010-05-22 20:23:36 +00:00
Simon Michael
a430badb85 refactor: journalCloseTimeLogEntries 2010-05-22 19:00:20 +00:00
Simon Michael
11d354d426 refactor: renames and cleanups 2010-05-22 22:05:12 +00:00
Simon Michael
a3e5e7ce93 refactor: more ledger cleanup 2010-05-22 19:01:11 +00:00
Simon Michael
5982460782 refactor: clarify ledger construction a bit 2010-05-22 16:14:30 +00:00
Simon Michael
557746da5e remove redundant imports revealed by ghc 6.12 2010-05-22 15:33:51 +00:00
Simon Michael
7d4593cee9 move Ledger.* to Hledger.Data.* 2010-05-19 23:08:53 +00:00
Simon Michael
5451e3ad40 parsing: balance real and balanced virtual postings separately, allow an amount-less balanced virtual posting 2010-04-14 16:59:02 +00:00
Simon Michael
77f64a7ddf parsing: if there is no description, don't require a space after the transaction date 2010-04-15 20:44:04 +00:00
Simon Michael
4cd2364154 refactor 2010-02-27 17:50:25 +00:00
Simon Michael
6476d638f9 sumPostings should always preserve highest precision 2010-02-27 17:54:58 +00:00
Simon Michael
278e5dde64 amount display tests, fix a case where "auto" amount was displayed as 0 2010-03-09 04:11:23 +00:00
Simon Michael
3aa8613fa5 document some unsafe date parsing 2010-03-09 17:38:12 +00:00
Simon Michael
4973b82fb4 parsing: don't ignore trailing junk in a smart date, eg in web add form 2010-03-09 23:11:12 +00:00
Simon Michael
8daa9a33cd refactor 2010-03-09 18:33:26 +00:00
Simon Michael
7b026ef6f4 parsing: allow transactions with empty descriptions 2010-03-10 01:25:02 +00:00
Simon Michael
a6b7ef597f fix extra newline in balance error msg 2010-03-09 23:06:27 +00:00
Simon Michael
41b60bbcfc when a transaction is unbalanced, show by how much; refactor 2010-02-27 18:06:29 +00:00
Simon Michael
723c96834c tweak txn balancing error message 2010-03-09 18:34:20 +00:00
Simon Michael
5476a292ad docs: haddock fixes 2010-03-13 00:17:47 +00:00
Simon Michael
d028e9eb17 refactor 2010-03-13 01:16:59 +00:00
Simon Michael
fd8ebd7c3d parsing: more tests, ignore D, C directives; we should now accept any ledger 2.6 file 2010-03-13 01:10:10 +00:00
Simon Michael
8fd94ef6f5 refactor: parser cleanup 2010-03-12 23:46:20 +00:00
Simon Michael
dbb8576d8b don't ignore unparsed text following an amount 2010-04-05 20:37:19 +00:00
Simon Michael
298d192678 register: fix a regression, register should not show posting comments 2010-02-15 20:33:49 +00:00
Simon Michael
e4cd127fc4 print: always show zero amounts as 0, hiding any commodity/decimal places/price, like ledger 2010-03-09 04:12:38 +00:00
Simon Michael
57c537de41 parsing: N, tag, end tag are now ignored; ledger sample.dat parses 2010-03-12 22:52:57 +00:00
Simon Michael
6977a0eecb parsing: allow numbers in commodities if double-quoted, like ledger 2010-04-05 20:55:57 +00:00
Simon Michael
f92270dfa8 refactor: move parse tests 2010-03-11 17:16:03 +00:00
Simon Michael
903bf23afd refactor 2010-03-09 04:03:51 +00:00
Simon Michael
eedf0b211a refactor 2010-03-09 03:52:17 +00:00
Simon Michael
993972549a refactor 2010-03-09 01:43:25 +00:00
Simon Michael
08607362b0 refactor assertParse/assertParseEqual 2010-03-10 19:48:46 +00:00
Simon Michael
f937f59276 assertParse now generates test failures 2010-03-10 19:17:32 +00:00
Simon Michael
b2c8933af4 parsing: show a better error for illegal month/day numbers in dates 2010-04-06 02:31:47 +00:00
Simon Michael
599398baa3 register: fix bad layout with years < 1000 2010-02-16 21:59:53 +00:00
Simon Michael
fad392e7e9 hledger-lib: docs update 2010-04-10 00:42:16 +00:00
Simon Michael
ca136dca7f bump version 2010-04-10 00:51:06 +00:00
Simon Michael
1c46417bed split off hledger-lib package, containing core types & utils 2010-03-22 01:44:59 +00:00