Simon Michael
b7616562d9
this/last/next month/quarter/year
2008-11-27 02:49:22 +00:00
Simon Michael
7858ed1327
this/next/last day/week
2008-11-27 01:49:13 +00:00
Simon Michael
884ebf2979
gather date stuff together, FuzzyDate -> SmartDate
2008-11-27 00:35:00 +00:00
Simon Michael
52ab3372b8
add a regexp utility plus a dependency on regexpr, the sanest regexp library
2008-11-26 03:46:23 +00:00
tim
1ea8c6c9ee
Added helper functions for current time and date
2008-11-25 21:30:21 +00:00
Simon Michael
e8a0d42906
cleanup
2008-11-26 22:15:22 +00:00
Simon Michael
8c56c3c4b3
refactoring date parsing, FuzzyDate
2008-11-26 23:21:24 +00:00
Simon Michael
49a84957a9
cleanup smartdate
2008-11-26 21:34:26 +00:00
Simon Michael
3e1a615dbf
misc cleanup
2008-11-26 05:21:44 +00:00
Simon Michael
4d49177117
hacking in more date parsing.. today/tomorrow/yesterday
2008-11-26 04:51:15 +00:00
Simon Michael
6c88197c6a
do IO date parsing up front, and support (english) month names
2008-11-26 04:04:05 +00:00
Simon Michael
1c60514973
tighten up date parsing, make it io-friendly and parse Y, M/D, D
2008-11-25 23:52:42 +00:00
Simon Michael
b3c0bba51e
haddock fix
2008-11-24 00:14:11 +00:00
Simon Michael
dc007e69a5
--options-anywhere to use ^ for negative patterns and permit options anywhere in command-line
2008-11-25 19:29:33 +00:00
Simon Michael
4d53fac9a3
clean up special char definitions in AccountName.hs
2008-11-24 00:22:47 +00:00
Simon Michael
dfe59676fb
support all five date comparisons in --display
2008-11-26 21:18:24 +00:00
Simon Michael
33b2deba75
correction, dates in display expressions should be in brackets
2008-11-25 18:47:26 +00:00
Simon Michael
0582046648
preliminary --display/-d support (-d "d>DATE", sufficient for reconciling)
2008-11-24 21:51:31 +00:00
Simon Michael
0ef22d5cf6
doc fix
2008-10-16 09:50:22 +00:00
Simon Michael
febcb381f2
comment
2008-10-18 06:49:40 +00:00
Simon Michael
64c6082c23
parse comment lines beginning with a space, as from M-; in emacs ledger-mode
2008-10-18 10:54:22 +00:00
Simon Michael
7879ca63ca
haddock
2008-10-18 19:16:44 +00:00
Simon Michael
497daebd44
docs
2008-10-17 00:57:00 +00:00
Simon Michael
f40696fa47
small doc edits
2008-10-17 16:54:10 +00:00
Simon Michael
93ced249b3
commodity cleanup
2008-10-18 19:30:07 +00:00
tim
d04a8dcd00
Removed quickcheck import
...
It doesn't appear to be used, and isn't declared in the cabal file
2008-11-10 21:31:25 +00:00
Simon Michael
71667f654a
rectangular string utilities
2008-11-22 09:06:44 +00:00
Simon Michael
a7384a9183
show mixed amounts vertically
2008-11-22 09:07:04 +00:00
Simon Michael
a49b9715ef
allow extra whitespace and comments at end of ledger
2008-11-22 07:00:52 +00:00
Simon Michael
1607661b87
fix the print command
2008-11-22 06:35:10 +00:00
Simon Michael
4c97ca5514
smarter handling of priced amounts. Normalising and some basic arithmetic now preserve prices.
...
Currently, amounts with the same commodity but different prices are kept separate. Useful ?
2008-11-22 20:30:43 +00:00
Simon Michael
54ee68976b
support converting amounts to cost, using their saved price.
...
And do this by default for auto-balancing transactions, as ledger seems to.
2008-11-22 20:32:58 +00:00
Simon Michael
54b164a7ab
nullamt and nullmixedamt
2008-11-22 17:21:49 +00:00
Simon Michael
52ff46a326
--basis/-B flag, to show all priced amounts on cost basis. Also a --cost alias.
2008-11-22 20:35:17 +00:00
Simon Michael
2d49bc4100
haddock
2008-11-08 22:04:59 +00:00
Simon Michael
8939c1f7b7
samesymbol cleanup
2008-11-08 22:49:14 +00:00
Simon Michael
7362fbd730
begin smart date parsing
2008-11-22 12:18:19 +00:00
tim
60b4610c2f
Fix bug in parsing of TimeLogs, and enabled a test case for them
2008-11-12 07:17:31 +00:00
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
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
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