Commit Graph

10970 Commits

Author SHA1 Message Date
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
Simon Michael
ce3eeb80b6 consolidate register command code, make it do filtering 2008-10-12 07:34:00 +00:00
Simon Michael
b9b9ce7d51 another balance report test, another step closer 2008-10-12 06:45:54 +00:00
Simon Michael
a64d320c84 a more compatible balance report, not perfect yet 2008-10-12 06:23:55 +00:00
Simon Michael
c07c149378 type signatures 2008-10-12 06:10:32 +00:00
Simon Michael
220b688082 another test 2008-10-12 05:09:01 +00:00
Simon Michael
35376cfd9b more informative Show Account 2008-10-12 05:07:19 +00:00
Simon Michael
d7db5660b9 perhaps getting closer to a ledger-compatible balance report. A wretched, wretched thing. 2008-10-11 04:23:49 +00:00
Simon Michael
9b51d922dd more utilities 2008-10-11 04:18:26 +00:00
Simon Michael
2ff9c21b95 more account queries 2008-10-11 04:17:52 +00:00
Simon Michael
2cef939da1 rename accounts/filteraccounts fields to accountmap/filteraccountmap 2008-10-10 22:28:10 +00:00
Simon Michael
9dc9c9dd76 remove dead code, rename function 2008-10-10 12:04:20 +00:00