Commit Graph

15 Commits

Author SHA1 Message Date
ob
8937ed457d GHC 6.12.1 has UTF8 support on board. Using System.IO.UTF8 can cause problems.
Therefore use System.IO.UTF8 only on previous versions.
Testet with GHC 6.10.4 and 6.12.1
2010-02-13 20:00:34 +00:00
Simon Michael
2edb9e4a79 register: make reporting intervals honour a display expression (#18) 2009-12-21 06:03:34 +00:00
Simon Michael
a2b8faa4d6 big refactoring, do filtering afresh in each command
We now do data filtering/massage as late as possible, not just once at
startup. This should work better for multiple commands, as with web or ui.
The basic benchmark seems at least as good as before thanks to laziness.
2009-12-21 05:23:07 +00:00
Simon Michael
60bda57a26 drop LedgerPosting, it's no longer needed; more rename cleanups 2009-12-19 05:57:54 +00:00
Simon Michael
ec95b0723c make Postings reference their parent Transaction
With this change, Transactions and Postings reference each other
co-recursively.  This makes constructing them more tedious, but it
may also allow LedgerPostings to be dropped and code to be simplified.
Time and space performance of register and balance is as before.
2009-12-19 03:44:52 +00:00
Simon Michael
f1813fbb0e more LedgerTransaction/Transaction/LedgerPosting field renames 2009-12-16 17:58:51 +00:00
Simon Michael
0656d575ac rename Transaction to LedgerPosting 2009-12-16 07:58:06 +00:00
Simon Michael
c9cb3d4399 hlint: use on 2009-09-23 17:59:24 +00:00
Simon Michael
37f08a35c0 register: refactor layout code 2009-11-25 06:13:35 +00:00
Simon Michael
984da9c504 balance, register: don't show amount prices any more, like c++ ledger
Note print still shows all amount prices, unlike ledger (and supports -B);
it looks useful.
2009-11-25 12:21:38 +00:00
Simon Michael
b3d38be797 refactor 2009-11-28 15:25:51 +00:00
marko.kocic
8fdd28d446 Hlint: Error: Redundant $ 2009-09-22 11:55:11 +00:00
marko.kocic
ddc176d83e Hlint: Warning: Eta reduce 2009-09-22 15:56:59 +00:00
Simon Michael
cb8ea69dfc fix warnings all over - hledger is now -W-clean 2009-06-05 09:44:20 +00:00
Simon Michael
d35792bf3f move commands to their own subpackage 2009-06-02 18:29:01 +00:00