Commit Graph

1043 Commits

Author SHA1 Message Date
Simon Michael
5d1f535b5e require some postings in ledger transactions 2009-04-10 05:00:51 +00:00
Simon Michael
0b22774ec9 test for too-loose transaction parsing 2009-04-10 04:27:16 +00:00
Simon Michael
638238dc5c ledgerFile cleanup 2009-04-10 05:40:57 +00:00
Simon Michael
c14f1c280f a cleanup I forgot 2009-04-10 08:05:56 +00:00
Simon Michael
2b672c5837 tweak error message 2009-04-08 03:10:15 +00:00
Simon Michael
caef315906 cleanup 2009-04-10 15:11:08 +00:00
Simon Michael
2eba557d94 convert: optionally specify replacement patterns in the rules file, after = 2009-04-10 14:56:03 +00:00
Simon Michael
f699507efd convert: keep just the matching part by default, be more verbose with --debug 2009-04-10 13:45:15 +00:00
Simon Michael
522a1f4c2a when adding, the balancing amount is a more useful default 2009-04-16 05:45:06 +00:00
Simon Michael
468955a563 make development builds quickly 2009-04-16 06:34:04 +00:00
Simon Michael
7bc3920bda run more doctests 2009-04-16 06:34:12 +00:00
Simon Michael
1fd416ba96 whitespace 2009-04-16 06:34:32 +00:00
Simon Michael
baddf20e78 curly-braces globbing in makefile isn't working on this machine for whatever reason 2009-05-14 23:41:50 +00:00
Sergey Astanin
7c0421ec5e basic unicode layout tests for showRegisterReport and showBalanceReport 2009-05-14 21:43:26 +00:00
Simon Michael
1ed196e262 test layout with a non-ascii description, first attempt 2009-05-14 17:05:10 +00:00
Simon Michael
3e6943e5f6 don't show trailing spaces on amountless postings 2009-04-07 23:02:25 +00:00
Simon Michael
18e9f826d6 remove a haddock-troubling comment from AddCommand 2009-05-15 10:16:41 +00:00
Sergey Astanin
815a96d35a Signing contributors' agreement 2009-05-15 11:27:39 +00:00
Simon Michael
18a9142c77 add a contributor agreement/list 2009-05-15 10:58:15 +00:00
Simon Michael
8162fc6f89 make hours just like hledger, aside from the choice of file 2009-05-15 12:11:56 +00:00
Simon Michael
287c51e5ba polish 2009-04-10 00:25:28 +00:00
Simon Michael
d28e057ada rst formatting 2009-04-10 01:05:31 +00:00
Simon Michael
d645e9f90b add command now creates the ledger file if missing 2009-05-16 20:45:05 +00:00
Simon Michael
6ad88274a5 comment 2009-05-16 20:51:34 +00:00
Simon Michael
d3dcd29957 expand ~ paths in readLedger 2009-05-16 21:10:41 +00:00
Simon Michael
ef39cced4a don't fail when matching an empty pattern, as in "not:" 2009-05-16 21:19:38 +00:00
Simon Michael
8eb31bc5e3 enforce balancing for bracketed virtual postings 2009-05-16 23:12:42 +00:00
Simon Michael
62d2cb71d0 isLedgerTransactionBalanced tests 2009-04-10 08:06:05 +00:00
Simon Michael
7df596df56 add new commands to readme 2009-05-16 23:17:22 +00:00
Simon Michael
1bf3846cc3 open issues fixed, update notes 2009-05-16 23:17:44 +00:00
Simon Michael
ae78ba6774 note more issues 2009-05-14 17:13:05 +00:00
Simon Michael
4c74feeed5 drop old flag from prof target 2009-05-17 00:02:58 +00:00
Simon Michael
c0435faf53 expand and clean up stats-related make rules 2009-05-17 14:13:06 +00:00
Simon Michael
4162726854 rename some sample ledgers for easier filename completion 2009-04-03 20:49:33 +00:00
Simon Michael
7ad7fdfb5c fix old paths in bench tests 2009-05-15 11:48:32 +00:00
Simon Michael
e2d14aebb7 try to make the add command a bit more usable 2009-05-23 22:16:29 +00:00
Simon Michael
c0c9c7a070 be direct! 2009-04-08 08:57:05 +00:00
Simon Michael
29d9aed845 refactor getPostings 2009-04-16 05:33:51 +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
412a39b4aa add: show and set defaults from similar past transactions; allow description arguments 2009-04-10 13:53:23 +00:00
Simon Michael
7c155b7d1d refactor add command, more validation 2009-04-10 08:31:43 +00:00
Simon Michael
90cf39cc09 fix add doctests 2009-05-23 23:42:51 +00:00
Simon Michael
ace0d7fe79 input validation for the add command, and some doctests 2009-04-10 07:10:21 +00:00
Simon Michael
c521dc0bc2 validate added transaction before writing to file 2009-04-08 06:01:16 +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
ae69a216ac whitespace 2009-04-07 21:16:42 +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