Simon Michael
|
2d41368b8b
|
introduce MixedAmount
|
2008-10-17 00:57:10 +00:00 |
|
Simon Michael
|
f865ab1c1c
|
code cleanups
|
2008-10-18 00:52:49 +00:00 |
|
Simon Michael
|
db8b00d6e5
|
doc update
|
2008-10-16 03:27:43 +00:00 |
|
Simon Michael
|
cc81700d2a
|
normalise amounts after adding them, why not
|
2008-10-18 09:02:00 +00:00 |
|
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
|
a1d10691a3
|
more code cleanups
|
2008-10-18 02:43:13 +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
|
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
|
4679003b83
|
for debugging
|
2008-10-15 21:10:59 +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
|
5fcab59414
|
support negative patterns and ledger's special balance report account matching rule
|
2008-10-15 17:04:47 +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
|
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
|
c07c149378
|
type signatures
|
2008-10-12 06:10:32 +00:00 |
|
Simon Michael
|
35376cfd9b
|
more informative Show Account
|
2008-10-12 05:07:19 +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 |
|