Commit Graph

121 Commits

Author SHA1 Message Date
Simon Michael
393e7d98d4 convert command for transforming bank CSV exports to ledger format 2009-04-10 03:10:58 +00:00
Simon Michael
371f427dc4 help cleanup 2009-04-08 06:00:34 +00:00
Simon Michael
803e947a22 layout 2009-04-08 05:34:01 +00:00
Simon Michael
bedc14ee0b add new commands to help 2009-04-08 05:33:39 +00:00
Simon Michael
ed0305fb96 simplify "hours" behaviour, make it less different 2009-04-09 00:24:34 +00:00
Simon Michael
aa220f6393 polish, docs 2009-04-08 06:23:49 +00:00
Simon Michael
b60f9187c0 refactor, moving generic io functions into Ledger.IO 2009-04-04 08:50:36 +00:00
Simon Michael
ab94a6e9a2 --uncleared option 2009-04-03 11:45:56 +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
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
3bc2d903b2 move the big limit into depthFromOpts 2009-03-15 11:09:49 +00:00
Simon Michael
2b803b4558 drop the ansi command, make the ui command use ansi if vty is not available 2009-04-02 00:24:38 +00:00
Simon Michael
c2352c3c64 localise the single use of regexpr 2009-04-02 01:28:36 +00:00
Simon Michael
80a0653b3e --no-total hides balance report's final total 2009-04-02 07:22:54 +00:00
Simon Michael
d853892c42 options, docs, and notes cleanup 2009-04-02 07:22:04 +00:00
Simon Michael
4a7a724f0a a --debug option, not hooked up to anything yet 2009-03-15 06:15:58 +00:00
Simon Michael
44cbed59cb use longer but standard and clearer getCurrentTime/Day 2009-01-24 19:48:37 +00:00
Simon Michael
f5e9a8ec79 docs 2009-02-27 04:03:14 +00:00
Simon Michael
7f18b50e50 rename the happs command to "web" 2009-01-25 11:48:49 +00:00
Simon Michael
46c09c6fac patterns now use not: and desc: prefixes instead of ^ and ^^
This is more like but not the same as ledger 3.
2009-04-02 06:25:22 +00:00
Simon Michael
4037d56080 drop the --options-anywhere flag, make it the default
Also drop support for ledger-2-style - and -- in account patterns.
For the time being ^ and ^^ must be used.
2009-02-27 03:56:26 +00:00
Simon Michael
991d3ce909 help cleanups 2009-01-25 08:44:14 +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
00a89bf472 fix a build error with certain flags 2009-01-26 20:24:51 +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
f807c0f095 Options cleanups 2009-01-25 08:09:26 +00:00
Simon Michael
aed74a9ef9 add happs command to --help 2009-01-20 04:31:34 +00:00
Simon Michael
f910357093 include ui commands in --help 2009-01-20 04:31:11 +00:00
Simon Michael
bb6745962b include happs configure flag in version string 2009-01-20 06:09:16 +00:00
Simon Michael
56c99bdfd6 simplify config flag display 2009-01-20 06:05:37 +00:00
Simon Michael
8dcd53c9ba clean up version string and include configure flags 2009-01-20 05:57:25 +00:00
Simon Michael
7bf18cd4f4 bump version 2009-01-20 04:28:49 +00:00
Simon Michael
9c5338793e clarify hours argument help 2009-01-23 20:07:31 +00:00
Simon Michael
a26a56eafe more convenient timelog querying when invoked as "hours" 2009-01-23 02:04:31 +00:00
Simon Michael
eacea41dac when options are repeated, use the last instead of the first 2008-12-04 20:11:35 +00:00
Simon Michael
958c4eb891 bump version to 0.3 2009-01-17 17:33:47 +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
b8f8dad7d6 docs 2008-12-05 10:02:58 +00:00
Simon Michael
fae380e914 help tweak 2008-11-27 07:43:10 +00:00
Simon Michael
41a3fb91d5 support reporting intervals in period expressions and register report, and -W/-M/-D 2008-12-03 23:20:38 +00:00
Simon Michael
c3bec2a3de options cleanup 2008-11-27 06:48:46 +00:00
Simon Michael
57c31f5ab0 support basic --period expressions, containing a single smart date 2008-11-27 06:29:29 +00:00
Simon Michael
1e7679176c help tweaks 2008-11-27 02:57:13 +00:00
Simon Michael
d25995c1c8 refactor with DateSpan 2008-11-27 04:31:01 +00:00
Simon Michael
630e22312b remove DateTime and Date types, use Day and UTCTime directly
This seems simplest for now, I might bring type synonyms back later.
2008-11-27 04:01:07 +00:00
Simon Michael
884ebf2979 gather date stuff together, FuzzyDate -> SmartDate 2008-11-27 00:35:00 +00:00
Simon Michael
8c56c3c4b3 refactoring date parsing, FuzzyDate 2008-11-26 23:21:24 +00:00
Simon Michael
3e1a615dbf misc cleanup 2008-11-26 05:21:44 +00:00
Simon Michael
4d49177117 hacking in more date parsing.. today/tomorrow/yesterday 2008-11-26 04:51:15 +00:00
Simon Michael
6c88197c6a do IO date parsing up front, and support (english) month names 2008-11-26 04:04:05 +00:00