Commit Graph

9194 Commits

Author SHA1 Message Date
Simon Michael
ebcf695240 simplify, remove dead code 2008-10-18 09:02:19 +00:00
Simon Michael
648887b36f use MixedAmount everywhere. seems to work. 2008-10-18 08:39:08 +00:00
Simon Michael
4f83326f14 display virtual accounts with appropriate brackets in register report 2008-10-16 06:12:40 +00:00
Simon Michael
c444b02349 a first cut at mixed amounts. Accounts have a MixedAmount balance, displayed on one line 2008-10-17 03:14:23 +00:00
Simon Michael
d31ba41703 rename and unify the autofill stuff 2008-10-18 06:45:02 +00:00
Simon Michael
a304ad3ca6 and more code cleanups. 2008-10-18 04:15:43 +00:00
Simon Michael
861e2beb1c clearer error message when we can't balance an entry 2008-10-16 04:00:45 +00:00
Simon Michael
0cfbced165 and allow parsing of mixed-commodity entries, as long as we don't have to balance them 2008-10-17 03:32:00 +00:00
Simon Michael
17ceb9039b rename sumLedgerTransactions 2008-10-16 08:48:25 +00:00
Simon Michael
405f71c389 ignore virtual transactions when auto-balancing 2008-10-16 06:52:35 +00:00
Simon Michael
9acf11de4d when we fail because of more than one missing amount in an entry, show the full entry 2008-10-16 03:56:43 +00:00
Simon Michael
0eb56821e9 fix register report and add a test 2008-10-18 03:19:50 +00:00
Simon Michael
a1d10691a3 more code cleanups 2008-10-18 02:43:13 +00:00
Simon Michael
628c4241f3 omit transactions with zero amount from register report 2008-10-16 06:53:08 +00:00
Simon Michael
dce8fd0dde parse virtual and balanced virtual transactions, refactor register and transaction output 2008-10-16 06:00:46 +00:00
Simon Michael
014723497f allow any non-whitespace in account names, perhaps avoiding misleading missing amounts errors 2008-10-16 04:17:25 +00:00
Simon Michael
fdf4955007 fix a bug with account name eliding in balance report 2008-10-16 09:22:41 +00:00
Simon Michael
2711474bc9 "hledger test" now accepts ledger-style name patterns, to run a subset of tests
Eg: hledger test amount, hledger test -'balance report'
2008-11-21 18:45:09 +00:00
Simon Michael
97fad8fa6f notes updates 2008-11-08 22:20:43 +00:00
Simon Michael
51a986d387 notes 2008-10-18 08:39:47 +00:00
Simon Michael
c8a5be8c02 notes update 2008-10-17 16:55:28 +00:00
Simon Michael
da801f8381 notes update 2008-10-16 09:50:53 +00:00
Simon Michael
44be5e79a1 bump version number 2008-11-23 19:56:58 +00:00
Simon Michael
576fe76192 bump version 2008-10-16 09:04:53 +00:00
tim
b30b438386 Produce a library, as well as the exe 2008-11-10 21:32:13 +00:00
Simon Michael
490a81577f make patterns case-insensitive 2008-10-15 22:18:20 +00:00
Simon Michael
ba67e4c0a9 remove dead code 2008-10-15 22:18:05 +00:00
Simon Michael
b4ade0985f fix --version 2008-10-15 21:47:56 +00:00
Simon Michael
6035ebfaca update cabal file 2008-10-15 21:38:55 +00:00
Simon Michael
99cbb68556 notes update 2008-10-15 21:18:47 +00:00
Simon Michael
18e3e4d34b simplify 2008-10-15 21:11:06 +00:00
Simon Michael
4679003b83 for debugging 2008-10-15 21:10:59 +00:00
Simon Michael
a56da854b3 add a register command test 2008-10-15 21:10:36 +00:00
Simon Michael
5f1bec0b60 fix the always-on thousands comma 2008-10-15 19:54:35 +00:00
Simon Michael
ea2a418811 fix a bug in commodity detection 2008-10-15 19:28:36 +00:00
Simon Michael
529393ae49 ledger 2.6-style account name eliding 2008-10-15 19:14:34 +00:00
Simon Michael
7dea3bc201 hide the assets:time account in timelog reports 2008-10-15 19:11:06 +00:00
Simon Michael
3bcc3277ac the parser was too strict about decimal places when balance-checking 2008-10-15 18:01:49 +00:00
Simon Michael
84e093fff1 reindent tests, now using haskell-indentation.el 2008-10-15 17:56:58 +00:00
Simon Michael
9957335f9c remove dead code 2008-10-15 17:56:34 +00:00
Simon Michael
06a363dc6e improve command-line help 2008-10-15 17:34:55 +00:00
Simon Michael
c404ae45d6 allow command-line options to be anywhere when negativepatternchar is something other than - 2008-10-15 17:06:40 +00:00
Simon Michael
5fcab59414 support negative patterns and ledger's special balance report account matching rule 2008-10-15 17:04:47 +00:00
Simon Michael
8306c2f6b3 tweak testrunner 2008-10-15 08:13:29 +00:00
Simon Michael
8de6d3b0a9 show help instead of register report if there is no command 2008-10-15 07:10:15 +00:00
Simon Michael
3dca1ca548 make isZeroAmount more robust, fix timelog balance total 2008-10-15 07:06:02 +00:00
Simon Michael
f99963786c require a balanced entry to have just one commodity, for now 2008-10-15 07:00:47 +00:00
Simon Michael
3138046744 clarify entry balance checking and show the full entry when unbalanced 2008-10-15 06:47:47 +00:00
Simon Michael
9f341b0279 make show entry more useful 2008-10-15 06:47:00 +00:00
Simon Michael
1e3291af48 focus on tests in Tests.hs, clean up 2008-10-15 06:32:52 +00:00