Commit Graph

331 Commits

Author SHA1 Message Date
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
Simon Michael
7a69efec70 match full account name when (any) account pattern contains :, as ledger seems to 2008-10-15 06:32:42 +00:00
Simon Michael
760befef89 more cleanups 2008-10-15 06:00:10 +00:00
Simon Michael
8d70ed87ea small cleanups 2008-10-15 02:11:30 +00:00
Simon Michael
3dc5f54f39 display thousands with commas when appropriate 2008-10-15 01:06:05 +00:00
Simon Michael
aac492c746 rename amount show functions 2008-10-15 00:37:38 +00:00
Simon Michael
782d05aa61 use the display settings of the first amount detected in each commodity 2008-10-15 00:34:02 +00:00
Simon Michael
b1e2a83556 comment update 2008-10-15 00:33:15 +00:00
Simon Michael
042a8179e8 always give a proper parse error for numbers, remember precisions and thousands separators
(per amount for now)
2008-10-14 23:14:31 +00:00
Simon Michael
4efdda25b4 replace Currency with a more flexible, ledger-style Commodity 2008-10-12 21:52:48 +00:00
Simon Michael
d2f741255d update notes 2008-10-12 09:20:43 +00:00
Simon Michael
80ef214f79 nicer ghci/repl usage, update docs 2008-10-12 09:17:21 +00:00
Simon Michael
a9f021eebe slightly less verbose Show Ledger 2008-10-12 09:16:04 +00:00
Simon Michael
01cd388c24 remove dead code, simplify cacheLedger again 2008-10-12 07:46:54 +00:00