Commit Graph

24 Commits

Author SHA1 Message Date
ob
8937ed457d GHC 6.12.1 has UTF8 support on board. Using System.IO.UTF8 can cause problems.
Therefore use System.IO.UTF8 only on previous versions.
Testet with GHC 6.10.4 and 6.12.1
2010-02-13 20:00:34 +00:00
Simon Michael
73ecaec6c9 add: ctrl-d doesn't work on windows, suggest ctrl-c instead 2009-12-18 04:32:28 +00:00
Simon Michael
50200e38ed more cleanup, move journal text into Journal 2009-12-21 05:43:10 +00:00
Simon Michael
3a8906b956 resolve conflicts (Make previous entered day a default one) 2010-02-03 22:53:55 +00:00
Simon Michael
8274de5e92 resolve conflicts (Add: --no-new-accounts: don't allow to create new accounts) 2010-02-03 22:49:02 +00:00
Roman Cheplyaka
acecc28ce5 Make previous entered day a default one 2010-02-03 01:56:36 +00:00
Roman Cheplyaka
b2e89a8c13 Add: --no-new-accounts: don't allow to create new accounts 2010-02-03 01:23:14 +00:00
Simon Michael
8310eaa6ff resolve conflicts/explain (Add: filter relevant transactions by account)
Previously, we supported "hledger add [DESCRIPTION]". A DESCRIPTION just
pre-filled the description field and bypassed that prompt, after which
existing transactions with similar descriptions were offered as
defaults/reminders.

Now, we support "hledger add [ACCOUNTPATTERN]" instead. After the
description prompt, existing transactions with similar descriptions *and*
which match ACCOUNTPATTERN are offered as defaults. This can be helpful eg
with a multi-person ledger, to match only your own transactions.
2010-02-04 15:57:19 +00:00
Roman Cheplyaka
20b243a3a3 Add: filter relevant transactions by account 2009-10-11 20:12:10 +00:00
Simon Michael
a2b8faa4d6 big refactoring, do filtering afresh in each command
We now do data filtering/massage as late as possible, not just once at
startup. This should work better for multiple commands, as with web or ui.
The basic benchmark seems at least as good as before thanks to laziness.
2009-12-21 05:23:07 +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
f1813fbb0e more LedgerTransaction/Transaction/LedgerPosting field renames 2009-12-16 17:58:51 +00:00
Simon Michael
30b83bb105 rename LedgerTransaction to Transaction 2009-12-16 08:07:26 +00:00
Simon Michael
2e9b27da0d rename RawLedger to Journal 2009-12-16 07:00:43 +00:00
marko.kocic
1e6f38eb41 Hlint: Error: Use unless 2009-09-22 12:43:30 +00:00
marko.kocic
b197693197 Hlint: Warning: Redundant brackets 2009-09-22 16:51:27 +00:00
marko.kocic
8fdd28d446 Hlint: Error: Redundant $ 2009-09-22 11:55:11 +00:00
Simon Michael
e110976b47 move add command doctests to shell tests 2009-07-09 18:38:57 +00:00
Simon Michael
e70f67fb75 use double not float 2009-05-29 17:46:43 +00:00
Simon Michael
cb8ea69dfc fix warnings all over - hledger is now -W-clean 2009-06-05 09:44:20 +00:00
Simon Michael
2373429b64 add: simplify code 2009-05-24 08:36:02 +00:00
Simon Michael
49e66477fb add: command-line args form description of first transaction only 2009-05-24 05:13:36 +00:00
Simon Michael
9b8f00b54e add: better handling of virtual postings and default amounts 2009-05-24 06:54:12 +00:00
Simon Michael
d35792bf3f move commands to their own subpackage 2009-06-02 18:29:01 +00:00