Commit Graph

1027 Commits

Author SHA1 Message Date
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
Simon Michael
44cb0674de build with all flags in make check 2009-05-23 23:49:11 +00:00
Simon Michael
819f6709b3 disable unimplemented unicode test 2009-05-23 23:49:35 +00:00
Simon Michael
68fadbe1a7 break up comment to work around haddock bug 2009-05-23 23:44:48 +00:00
Simon Michael
b103f6a0d8 be more accurate about checking balanced amounts, don't rely on display precision 2009-05-16 22:54:12 +00:00
Sergey Astanin
92cb35bffb Some doctests for unicode input/output
Tests:
- layout of balance command
- layout of register command
- layout of print command
- search for unicode account names
- search for unicode descriptions
- error message on broken entry (currently fails)
2009-05-15 08:31:31 +00:00
Simon Michael
174eaef8b5 readme updates 2009-05-23 23:51:53 +00:00
Simon Michael
27a10bb6f7 readme 2009-04-04 00:20:15 +00:00
Simon Michael
aa220f6393 polish, docs 2009-04-08 06:23:49 +00:00
Simon Michael
8e4927edcd readme 2009-04-03 21:50:27 +00:00
Simon Michael
c5e7b12a59 add command, reads transactions interactively and adds them to the ledger 2009-04-08 05:30:26 +00:00
Simon Michael
dee37efc1c histogram command, undocumented for now 2009-04-04 11:19:51 +00:00
Simon Michael
32a3af8334 transactionamount -> postingamount 2009-04-07 21:18:51 +00:00
Simon Michael
d8fe2aabb2 drop TimeLog, it's no longer needed 2009-04-03 11:05:16 +00:00
Simon Michael
bfed30d8d1 release notes 2009-05-23 23:51:57 +00:00
Simon Michael
1227cb8fe9 notes 2009-05-23 23:52:00 +00:00
Simon Michael
2f43748d7d docs 2009-04-16 06:33:01 +00:00