Commit Graph

70 Commits

Author SHA1 Message Date
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
Simon Michael
0f1cbef9a8 namegeddon! conform to new terminology in ledger 3, more or less
This renames RawTransaction -> Posting and Entry -> LedgerTransaction,
plus a bunch more cleanups for consistency.  So while ledger 3 has
transactions containing postings, and so do we when speaking to users,
internally we call ledger 3's transactions LedgerTransaction, and we keep
our old Transaction type as well, because it's useful and used all over
the place. To review:

- ledger 2 had Entrys containing Transactions.

- hledger 0.4 had Entrys containing RawTransactions, and Transactions
  which are a RawTransaction with its parent Entry's info added.
  Transactions are what we most work with when reporting and are
  ubiquitous in the code and docs.

- ledger 3 has Transactions containing Postings.

- hledger 0.5 now has LedgerTransactions containing Postings, with
  Transactions kept as before (a Posting plus it's parent's info).  These
  could be named PartialTransactions or TransactionPostings, but it gets
  too verbose and obscure for devs and users.
2009-04-03 10:58:05 +00:00
Simon Michael
71dd80f1b1 bump version 2009-05-23 23:53:12 +00:00
Simon Michael
b90a927fd5 version 2009-04-10 03:08:45 +00:00
Simon Michael
3c1d3a6d7f simplify: drop the ansi ui, and enable the vty ui by default
If what I'm hearing is correct, cabal on windows will turn off the vty
flag automatically. The alternative ansi ui is not worth the hassle.
2009-04-03 04:17:48 +00:00
Simon Michael
f1e193aef1 polish 2009-04-03 05:58:14 +00:00
Simon Michael
bd09d693f3 bump version 2009-04-03 06:08:39 +00:00
Simon Michael
b3277468cd add missing file to cabal 2009-04-03 06:13:52 +00:00
Simon Michael
b7028e8b87 doh! another fix for the HappsCommand -> WebCommand rename 2009-02-13 20:12:34 +00:00
Simon Michael
d853892c42 options, docs, and notes cleanup 2009-04-02 07:22:04 +00:00
Simon Michael
eed76e3722 cabal file cleanups, fix happstack build 2009-04-02 01:29:27 +00:00
Simon Michael
36c76cf7f1 simplify PATCHES handling, fixes "make ci" 2009-02-27 05:50:12 +00:00
Simon Michael
4c3613b473 convert from HAppS to happstack 2009-03-17 19:52:44 +00:00
Simon Michael
e5f6952286 new website address 2009-04-02 01:32:17 +00:00
Simon Michael
185168905e require testpack; give better --verbose test output 2009-02-27 03:31:47 +00:00
Simon Michael
2d42279cd3 fix cabal dependencies for the web command 2009-02-13 20:45:32 +00:00
Simon Michael
354c69dbcf compact the build-depends list again 2009-02-13 20:30:03 +00:00
tim
fd8587fbdf Handle !includes relative to the including file 2009-02-04 21:27:20 +00:00
Simon Michael
1a8ba720fd bump version to 0.3.99 ("0.4 beta") 2009-04-02 09:39:20 +00:00
Simon Michael
c0885f7c76 another iteration of the version number system; simpler and more efficient
The release version is defined in VERSION, make or make release do the rest.
2009-02-27 02:55:54 +00:00
Simon Michael
ea0c32641d minimal happs-based web ui, enabled with -f happs 2009-01-20 04:04:40 +00:00
Simon Michael
e361b789a0 simple ansi-based ui that should work on windows, enabled with -f ansi 2009-01-20 04:02:21 +00:00
Simon Michael
20ef2dde04 a new version numbering system, more automated and hopefully usable
See comments in Makefile. The major.minor[.bugfix] release version is
defined there, then "make" and "make release" should take care of
everything. Excerpt:

Goals and constraints for version numbering:
1 automation, robustness, simplicity, platform independence
2 cabal versions must be all-numeric
3 release versions should be concise
4 releases should have a corresponding darcs tag
5 development builds should have a precise version appearing in --version
6 development builds should generate cabal packages with non-confusing versions
7 would like a way to mark builds/releases as alpha or beta
8 would like to easily darcs get the .0 even with bugfix releases present
2009-02-26 17:37:46 +00:00
Simon Michael
15239ecf96 make an explicit configure flag for the vty ui 2009-01-20 03:48:05 +00:00
Simon Michael
96f1b7d6a7 no really, need to omit the vty dependency on windows 2009-01-19 18:26:21 +00:00
Simon Michael
b3229d2c4e next cabal release will say "beta" ! 2008-11-23 22:30:36 +00:00
Simon Michael
958c4eb891 bump version to 0.3 2009-01-17 17:33:47 +00:00
Simon Michael
088e28d02f add UICommand to other-modules 2009-01-17 17:34:37 +00:00