Simon Michael
ce888a62d5
restore some options utilities, fix hledger-balance-csv script
2014-03-28 16:33:48 -07:00
Simon Michael
b69e6c6946
unused extensions
2014-03-28 16:23:40 -07:00
Simon Michael
ef1cc06cab
avoid pretty-show with GHC < 7.4; update tested-with ( fixes #155 )
...
hledger builds with GHC 7.2 through 7.8. 7.0 is not supported
because we require shakespeare which requires the DeriveGeneric extension.
2014-03-27 12:29:34 -07:00
Simon Michael
882a9dbf1c
cli, report & raw options cleanups
2014-03-25 19:03:56 -07:00
Simon Michael
3fa4824218
some type signatures
2014-03-25 19:03:55 -07:00
Peter Simons
9e7a7e3439
hledger.cabal: loosen restriction on 'text < 1.1' to fix build with GHC 7.8.x
2014-03-22 12:03:00 +01:00
Simon Michael
d815cca069
incomestatement, cashflow: support --flat and --drop as well
2014-03-21 17:41:22 -07:00
Simon Michael
5a8b5ed082
balancesheet: support --flat and --drop, like balance
2014-03-21 17:34:58 -07:00
Simon Michael
2d1e0d7cd4
move command-specific options to the respective command modules
2014-03-21 10:45:13 -07:00
Simon Michael
59cbc230d8
drop data-pprint for now, does not support ghc 7.8
...
The data-pprint and pretty-show packages used for debugging
tend to be poorly supported, drop one of them for now.
2014-03-19 16:11:46 -07:00
Simon Michael
7d36789b74
web: fix build failures caught by the bot
2014-03-19 08:45:52 -07:00
Simon Michael
4d8d0d9aa6
balance: make BalanceReport more like MultiBalanceReport, doc cleanups
2014-03-18 18:01:24 -07:00
Simon Michael
5df28069fb
restore the test command, hidden
2014-03-18 14:08:28 -07:00
Simon Michael
92dc86ebae
restore reg & bal aliases, even if not advertised
2014-03-18 13:47:13 -07:00
Simon Michael
3bc3e533c8
remove unused import
2014-03-18 13:46:47 -07:00
Simon Michael
814008d648
add: also let enter end transactions if no more default postings
...
To end a transaction, period is required because there might be another
default posting being suggested, and enter usually means "accept the
default". But having to switch back and forth from enter to period
during data entry is a bit unergonomic, requiring too much thought.
Now, in the (common) case where you have entered a balanced transaction
and there are no more default postings to suggest, enter is also allowed
to end the transaction. Experimental; this might be too inconsistent.
2014-03-16 09:29:09 -07:00
Simon Michael
88d52a9da8
cli: don't list both source and exe of an addon
2014-03-16 09:27:07 -07:00
Simon Michael
d1b9273b19
cli: tighten up commands list, better help for known addons
2014-03-15 13:20:24 -07:00
Simon Michael
7cbbd0fbab
add: fix over-zealous cleanup caught by hydra, continued
2014-03-06 17:50:46 -08:00
Simon Michael
8e6922c57c
add: fix over-zealous cleanup caught by hydra
2014-03-06 17:49:52 -08:00
Simon Michael
63eca19a7f
add: refactor completion functions
2014-03-06 16:58:48 -08:00
Simon Michael
856f62b465
add: fix runtime printf error from 2nd txn on ( fixes #164 )
2014-03-05 12:48:13 -08:00
Simon Michael
97e3f852a1
bump version to 0.22.98 aka 0.23 alpha
2014-03-04 11:17:56 -08:00
Simon Michael
61d2c28bd9
hledger: sigh, more cabal file snafu
2014-03-04 11:16:38 -08:00
Simon Michael
fd04430ae4
also add wizards dependency to the test executable
2014-03-04 11:09:34 -08:00
Simon Michael
27cf33f887
debug message wording
2014-03-04 11:04:31 -08:00
Simon Michael
ebf42046d8
add: keep using historical txn accounts as defaults even after a custom amount is entered
2014-03-03 12:18:10 -08:00
Marko Kocić
b01166c760
Update hledger.cabal
2014-03-03 09:47:28 +01:00
Marko Kocić
3cdb293f33
Fix broken hledger.cabal
2014-03-03 09:18:18 +01:00
Simon Michael
dd2f293094
rename FormatString to OutputFormat
...
It was going to be Format, but that clashes with file format. Press on.
2014-03-02 13:33:56 -08:00
Simon Michael
d89367d75e
add: make input prompts green, where supported
...
Because we can! Should have no effect where not supported.
2014-03-01 11:16:19 -08:00
Simon Michael
5d0da63261
add: don't print an extra newline on exit
...
even it made things tidier in an emacs shell..
2014-03-01 11:15:29 -08:00
Simon Michael
1051f10826
add: also accept . at date prompt to quit
2014-03-01 11:15:19 -08:00
Simon Michael
e50c2a4259
add: avoid quotes preserved in quoted cli args
2014-03-01 11:08:31 -08:00
Simon Michael
dcdb032d96
add: rewrite using wizards and make it more robust
...
The code is now much more manageable, faciliating further
improvements. Completion now works at all prompts, and
will insert the default value if the input area is empty.
Account and amount defaults are more robust and useful
in various situations. There might be a slight regression
with default commodity handling.
2014-02-27 18:15:49 -08:00
Simon Michael
204af487a5
note an issue with CliOpts query_
2014-02-27 17:39:38 -08:00
Simon Michael
bab6ec041b
cli: be more robust at finding hledger-* add-ons
...
Previously executables with eg digits in their name were ignored.
It now finds all files beginning with hledger-, optionally ending with
.hs or .lhs, and with no other dots in the name.
As before, we don't check for executable permission (performance ?).
2014-02-27 11:40:41 -08:00
Simon Michael
8d3161f6d6
add: cleanup, cleanup
2014-02-23 15:04:28 -08:00
Simon Michael
6bf08cdd7c
add: hack apart getPostingsLoop into smaller pieces
2014-02-23 07:52:26 -08:00
Simon Michael
56abdb2c8c
add: code cleanups
2014-02-21 09:07:52 -08:00
Simon Michael
e35614c88d
add: clarify "accept"
2014-02-21 07:23:10 -08:00
Simon Michael
f34d3aa9d6
add: clarify runInteraction*
2014-02-20 11:15:05 -08:00
Simon Michael
41a58609fb
add: output a final newline after control-d
2014-02-12 08:22:44 -08:00
Simon Michael
d158d401d9
fix some breakages found by Hydra
2014-02-05 19:30:01 -08:00
Simon Michael
ac95930b15
Hledger.Cli now re-exports Hledger and System.Console.CmdArgs.Explicit
2014-02-05 18:55:03 -08:00
Simon Michael
2ec6231a51
bump version to 0.22.1
2014-01-08 15:01:45 -08:00
Simon Michael
62b0461c0e
require latest pretty-show to allow install with standard happy and fix hackage docs
2014-01-08 15:00:41 -08:00
Simon Michael
4c1b2c0f86
remove obsolete regex-compat-tdfa dependency from hledger
2014-01-08 14:48:28 -08:00
Simon Michael
8befcb8354
bump version to 0.22, update tested-with & doc building
2013-12-13 18:28:45 -08:00
Simon Michael
060c9c73d0
hledger: allow text 1.0
2013-12-13 17:43:52 -08:00