Simon Michael
c46189a75b
filter by account patterns when caching a ledger, fix balance report totals
2008-11-22 05:51:48 +00:00
Simon Michael
ea5a87815b
rename setAmountDisplayPrefs to canonicaliseAmounts
2008-11-08 22:02:38 +00:00
tim
514f015849
Implemented types for dates and datetimes
...
This patch replaces the strings used in the Entry, TimeLogEntry, and Transaction
records with real types. Rather than use the inbuild system date and time types
directly, two custom types have been implemented that wrap UTCTime: Date and
DateTime. A minimal API for these has been added.
2008-11-11 12:34:05 +00:00
Simon Michael
a7b3e0d38d
define nullentry, nullrawtxn
2008-11-08 20:25:51 +00:00
tim
3a35847aa1
Fix some signatures for functions that really take dates
2008-11-10 22:05:40 +00:00
Simon Michael
c75da36d8d
eight balancereportacctnames tests and some cleanup
2008-11-22 04:38:27 +00:00
Simon Michael
14168d90e3
update a test
2008-11-22 04:49:49 +00:00
Simon Michael
243d5c3086
add a test demonstrating negative account pattern bug
2008-11-21 19:09:42 +00:00
Simon Michael
7a71f137ee
add a test for account filtering affecting balance report totals
2008-11-22 04:50:23 +00:00
Simon Michael
2388af0150
tweak -s help
2008-11-22 09:40:22 +00:00
Simon Michael
5df70bb3f4
rename --showsubs to --subtotal, like ledger
2008-10-17 16:58:09 +00:00
Simon Michael
5383215051
docs update
2008-11-22 13:20:41 +00:00
Simon Michael
3f5cc428dc
README rst formatting fixes
2008-11-08 22:41:53 +00:00
Simon Michael
93b051b0e0
readme updates
2008-11-08 22:20:39 +00:00
Simon Michael
ddc639094a
readme
2008-10-18 08:39:37 +00:00
Simon Michael
7c1b260da1
expand README, note supported/unsupported features
2008-10-17 16:55:22 +00:00
Simon Michael
33f06f334e
first attempt at storing per-amount price
2008-11-22 16:26:01 +00:00
Simon Michael
8e412b1be3
autoamt -> missingamt
2008-10-18 20:29:42 +00:00
Simon Michael
f3ba1eda0c
amount cleanup
2008-10-18 20:27:25 +00:00
Simon Michael
0f2c8542fc
if we happen to be showing a not-yet-auto-balanced entry, hide the AUTO marker
2008-10-16 03:55:38 +00:00
Simon Michael
68c5735c46
notes
2008-11-23 22:04:45 +00:00
Simon Michael
6cd97f3f64
"make release" extracts version number from Options.hs, tags and uploads to hackage
2008-11-23 22:15:51 +00:00
Simon Michael
7db0881b40
makefile cleanup, add "make sloc"
2008-10-18 04:34:41 +00:00
Simon Michael
dc497e0c26
build with -O2 by default
2008-10-17 17:00:53 +00:00
Simon Michael
726594f09a
"make continuous" recompiles and runs whenever a module changes. you rock happs guys.
2008-10-17 16:59:05 +00:00
Simon Michael
f696edd502
"make show-changes" since last release
2008-10-17 18:04:24 +00:00
Simon Michael
ec740a3e1c
also clean up darcs-amend-record files
2008-10-17 18:04:54 +00:00
Simon Michael
47cf7c3eb6
gather match functions in one place
2008-11-22 05:48:56 +00:00
Simon Michael
83d36dae63
more tests cleanup, and start to move match functions to Utils
2008-11-22 04:44:12 +00:00
Simon Michael
96e0f70a38
use the greatest precision detected for a commodity, not the first one
2008-11-08 21:44:41 +00:00
Simon Michael
5c0ff1daa5
separate confusing "normalise" uses, begin to fix broken amount display prefs
2008-10-18 21:10:08 +00:00
Simon Michael
17ab6cb0ab
support --real/-R flag
2008-10-16 09:50:16 +00:00
Simon Michael
57603db7b9
support -C/--cleared flag to filter by entry status (not transaction status)
2008-10-16 09:04:44 +00:00
Simon Michael
c00a1811c5
add a test for setAmountDisplayPrefs precision handling
2008-11-08 20:26:56 +00:00
Simon Michael
0b23598138
remove the hard-coded rate from Commodity
2008-10-18 10:46:49 +00:00
Simon Michael
80beac7d43
try making MixedAmount a full newtype, to avoid TypeSynonymInstances error
2008-10-18 10:38:01 +00:00
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