Commit Graph

97 Commits

Author SHA1 Message Date
Simon Michael
d4965b87ff web: -fweb now builds with simpleserver; the alternate -fwebhappstack builds with happstack
hack-handler-simpleserver is presumably quite a bit easier to install than
happstack, and so far fits hledger's needs just as well, so it is now the
default when installing with -fweb. To build with happstack, use
-fwebhappstack instead.  hledger --version shows which webserver was
built. Also webserver thread management has been simplified so should be
more consistent across platforms.
2010-02-16 03:39:19 +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
Simon Michael
1bc7a22d57 make main function importable, for benchmarking. There must be a better way.. 2010-02-13 21:43:08 +00:00
gwern0
357f56d0f4 de-haskell98 2010-03-09 01:51:21 +00:00
Simon Michael
a8045c7c32 tools: do specify an upper bound on base, hackage requires it 2010-02-03 21:54:10 +00:00
Simon Michael
f2737bb7da tools: drop upper bounds from package dependencies, they seem a hindrance 2010-02-03 21:13:00 +00:00
Simon Michael
4b6d478c68 bump version number 2010-02-03 21:54:32 +00:00
Simon Michael
34506f3518 relax upper bound on Chart lib 2010-02-04 18:28:44 +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
60bda57a26 drop LedgerPosting, it's no longer needed; more rename cleanups 2009-12-19 05:57:54 +00:00
Simon Michael
30b83bb105 rename LedgerTransaction to Transaction 2009-12-16 08:07:26 +00:00
Simon Michael
0656d575ac rename Transaction to LedgerPosting 2009-12-16 07:58:06 +00:00
Simon Michael
2e9b27da0d rename RawLedger to Journal 2009-12-16 07:00:43 +00:00
Roman Cheplyaka
e96350c3f1 New command 'chart': generate balances pie chart 2009-09-26 22:53:54 +00:00
Simon Michael
b0b3d70f9d require the safe package 2009-11-18 07:28:01 +00:00
Simon Michael
abb0f21f3f note additional dev dependencies 2009-11-28 14:49:56 +00:00
Simon Michael
43417f8299 note make test requires test-framework 2009-11-25 11:33:58 +00:00
Simon Michael
8a98b83286 web: rename -fhapps flag to -fweb 2009-11-28 15:37:56 +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
a17346149c a ledger remembers when it was read from disk 2009-08-12 09:21:46 +00:00
Simon Michael
9ac76cff35 make cabal test run our unit tests 2009-07-31 17:03:35 +00:00
Simon Michael
6b2e735ba1 ui: upgrade to vty 4, fixes non-ascii symbol display (issue #3) 2009-09-03 14:29:34 +00:00
Simon Michael
5dd6a04c80 update version 2009-12-12 03:05:58 +00:00
Simon Michael
ac3498302d bump version 2009-06-22 18:17:20 +00:00
Simon Michael
5c3b262bbe Setup isn't an other-module 2009-06-02 22:09:50 +00:00
Simon Michael
074bcff823 no need to specially mention utf8-string as a -fhapps dependency 2009-06-03 23:50:53 +00:00
Simon Michael
e91560989c drop regex-compat/regex-posix dependency 2009-06-03 23:19:47 +00:00
Simon Michael
3ebc4cca48 drop regex-pcre dependency, and try to clarify convert rule parser 2009-06-03 23:03:49 +00:00
Simon Michael
6c6eb2691e drop old-locale dependency 2009-06-03 23:44:01 +00:00
Simon Michael
f6a3364b2f bump version 2009-06-13 19:54:23 +00:00
Simon Michael
746c47ad1a cabal: comment out source-repository, it breaks older cabal-install 2009-06-13 21:24:14 +00:00
Simon Michael
e73cc564da cabal: cleanups 2009-06-05 16:54:42 +00:00
Simon Michael
339e389bbc update description in cabal file 2009-05-24 01:24:58 +00:00
Simon Michael
2dd8bc496b require HTTP only when building with -fhapps 2009-06-03 23:48:46 +00:00
Simon Michael
d3a30e97ef cabal: cleanup 2009-06-03 18:48:21 +00:00
Simon Michael
7508a462b5 specify base version per hackage policy; assume 3 or 4 is ok until I hear otherwise 2009-06-03 16:52:24 +00:00
Simon Michael
7924bfa592 drop regex-compat dependency for library 2009-06-03 16:55:45 +00:00
Simon Michael
b1b73974ec cabal: one lib per line 2009-06-03 16:40:38 +00:00
Simon Michael
590923570d specify http version, and fix capitalisation so cabal install works 2009-05-29 20:06:07 +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
d35792bf3f move commands to their own subpackage 2009-06-02 18:29:01 +00:00
Simon Michael
71e7f2b293 web: code cleanup, better web ui supporting full patterns & period expressions
New dependency: http.
2009-05-24 21:16:58 +00:00
Simon Michael
87c348cbbf two fixes: really disable vty flag by default, and include ConvertCommand file 2009-05-24 00:41:17 +00:00
Simon Michael
5cf0b9a8a5 bump version 2009-05-24 00:42:26 +00:00
Simon Michael
7a4eb19b6d cabal comment 2009-04-04 09:25:35 +00:00
Simon Michael
e9a2fbd2e8 add new files to cabal 2009-04-08 05:36:32 +00:00
Sergey Astanin
86fab58e6a Allow UTF8 in ledgers (account names, descriptions).
This patch fixes broken layout of some commands when there is Unicode
text in the ledger file.

I substituted System.IO functions with System.IO.UTF8. Now all strings
are Unicode internally, and take's and length's work correctly.
In particular, add, balance, hist, print and register commands seem
to work correctly; ui is still broken for me, I didn't try web.

I decode command line arguments from UTF8 forcefully, to permit
searches for accounts and descriptions with Unicode (otherwise, it
does not work).

The patch adds an additional dependency: utf8-string.

This patch does not include new test cases.
2009-05-14 20:44:06 +00:00
Simon Michael
393e7d98d4 convert command for transforming bank CSV exports to ledger format 2009-04-10 03:10:58 +00:00
Simon Michael
b60f9187c0 refactor, moving generic io functions into Ledger.IO 2009-04-04 08:50:36 +00:00