Commit Graph

35 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
736897998f web: use today as default when adding with a blank date 2009-12-12 22:21:51 +00:00
Simon Michael
4acc2c55ea web: first cut at preserving encoding during add, assumes utf-8 (#15) 2009-12-12 22:08:28 +00:00
Simon Michael
50200e38ed more cleanup, move journal text into Journal 2009-12-21 05:43:10 +00:00
Simon Michael
4d5d9214b1 web: re-enable account/period fields, they seem to be fixed, along with file re-reading (#16) 2009-12-21 05:53:08 +00:00
Simon Michael
86020e8f4a web: remove debug print 2010-02-03 21:20:32 +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
7bd14a367a web: get static files from the cabal data dir, or the current dir when using make (#13) 2009-12-18 22:33:02 +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
30b83bb105 rename LedgerTransaction to Transaction 2009-12-16 08:07:26 +00:00
Simon Michael
39fd143c84 web: update help link 2009-12-12 20:32:10 +00:00
Simon Michael
2e9b27da0d rename RawLedger to Journal 2009-12-16 07:00:43 +00:00
Simon Michael
092c9ad7a7 web: change probably misleading startup message 2009-09-23 22:33:19 +00:00
Simon Michael
bb50382446 web: interim port fix, use port 5000 as before 2009-09-23 23:17:29 +00:00
Simon Michael
fc117d504c web: call print command "journal", make it default; hide histogram command 2009-11-19 19:15:33 +00:00
Simon Michael
6d931ce54d web: quick fix for bad localhost redirect 2009-09-23 22:32:52 +00:00
Simon Michael
40f61be1e3 web: several tweaks 2009-09-23 23:36:37 +00:00
Simon Michael
70e33a5fdf web: allow arbitrary commodities and an implicit second amount in add form 2009-11-19 19:18:29 +00:00
Simon Michael
34019d5973 fix ghc warnings in new web code 2009-09-23 22:24:38 +00:00
Simon Michael
0ddd3ca05a web: support full date syntax in add form 2009-11-19 20:43:06 +00:00
Simon Michael
7e4de1df00 web: hide filter fields until they work right 2009-12-07 15:53:26 +00:00
Simon Michael
b3aedda275 web: add help links 2009-11-19 21:11:07 +00:00
Simon Michael
9c410a50dd web: layout tweaks 2009-11-19 20:53:52 +00:00
Simon Michael
2cdc21959e web: switch to hack/loli/hsp, allow web data entry, detect file changes 2009-08-12 09:38:48 +00:00
Simon Michael
aa4fab9468 web: show url when starting web ui 2009-06-28 21:30:23 +00:00
Simon Michael
959e99fda9 web: filter form did not work in eg firefox (issue #7) 2009-07-09 14:58:30 +00:00
Simon Michael
235797034c web: reset link did not work in all browsers 2009-07-09 14:59:05 +00:00
Simon Michael
1c9eb60a04 move openBrowserOn to Utils 2009-06-28 21:06:07 +00:00
Simon Michael
cb8ea69dfc fix warnings all over - hledger is now -W-clean 2009-06-05 09:44:20 +00:00
Simon Michael
6c6eb2691e drop old-locale dependency 2009-06-03 23:44:01 +00:00
Simon Michael
5081b5b919 web: be better at opening the web ui on windows, hopefully 2009-06-13 19:27:41 +00:00
Simon Michael
fbee93f529 switch to html combinators for web views; -fhapps requires xhtml lib 2009-06-03 01:25:46 +00:00
Simon Michael
0041a3b27a web: period arg wasn't being preserved 2009-05-24 21:46:15 +00:00
Simon Michael
d35792bf3f move commands to their own subpackage 2009-06-02 18:29:01 +00:00