Commit Graph

48 Commits

Author SHA1 Message Date
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
Simon Michael
c381dd73e7 use latest all-compatible vty 2009-01-17 23:11:15 +00:00
Simon Michael
3497ea6144 allow ghc-6.10 users to use latest vty, note vty 3.1.2 requirement for ghc <6.10 2009-01-17 17:48:17 +00:00
Simon Michael
3699343318 fix the regexpr version fix, we really do require 0.5.1 2008-12-16 18:35:46 +00:00
Simon Michael
798841a87e pin vty to 3.1.2 which builds with ghc 6.8, hopefully 6.10 too 2008-12-16 18:36:27 +00:00
tim
2d2aeae130 Added mtl and bytestring as dependencies in the cabal file 2008-12-10 19:35:18 +00:00
Simon Michael
dd040f9ca2 a simple interactive text ui
Lets you navigate around the balance, register, print reports and the raw
ledger, and drill down on a single account. Adds a dependency on vty.
2008-12-08 17:27:16 +00:00
Simon Michael
b4bdc926dd readme updates 2009-01-17 21:03:34 +00:00
Simon Michael
52ab3372b8 add a regexp utility plus a dependency on regexpr, the sanest regexp library 2008-11-26 03:46:23 +00:00
Simon Michael
976b2d16d7 simplify cabal build dependencies, we don't use quickcheck 2008-10-17 18:05:38 +00:00
Simon Michael
7eefb9b01f add Dates to the cabal file 2008-11-23 19:55:50 +00:00
Simon Michael
37a79ba415 update README, cabal file, hledger.hs 2008-11-23 22:04:40 +00:00
Simon Michael
2d17607cc6 new home page url 2008-10-17 22:04:28 +00:00
Simon Michael
44be5e79a1 bump version number 2008-11-23 19:56:58 +00:00
tim
b30b438386 Produce a library, as well as the exe 2008-11-10 21:32:13 +00:00
Simon Michael
6035ebfaca update cabal file 2008-10-15 21:38:55 +00:00
Simon Michael
d98643a364 tests cleanup 2008-10-10 07:39:20 +00:00
Simon Michael
7c25dbc4a3 update the cabal file 2008-10-10 04:05:46 +00:00
Simon Michael
a15d1d31cf README 2008-10-01 08:51:08 +00:00
Simon Michael
7780c5c561 sample.ledger for easy start 2008-10-01 08:42:08 +00:00
Simon Michael
cfd0bc4940 add cabal package info 2008-10-01 07:56:21 +00:00