hledger/hledger-lib/Hledger
Simon Michael c31710d942 look harder for decimal point & digit groups (fixes #196)
Amount display styles have been reworked a bit; they are now calculated
after journal parsing, not during it. This allows the fix for #196:
we now search through the amounts until a decimal point is detected,
instead of just looking at the first one; likewise for digit groups.
Digit groups are now implemented with a better type.

Digit group size detection has been improved a little:
1000,000 now gives group sizes [3,4,4,...], not [3,3,...], and
10,000 gives groups sizes [3,3,...] not [3,2,2,..].
(To get [3,2,2,...] you'd use eg 00,00,000.)

There are still some old (or new ?) issues; I don't think we handle
inconsistent decimal points & digit groups too well. But for now all
tests pass.
2014-07-02 23:26:16 -07:00
..
Data look harder for decimal point & digit groups (fixes #196) 2014-07-02 23:26:16 -07:00
Read look harder for decimal point & digit groups (fixes #196) 2014-07-02 23:26:16 -07:00
Reports web: fix a warning 2014-06-13 00:21:26 +01:00
Utils also fix warnings in UTF8IOCompat 2013-04-12 16:28:29 -07:00
Data.hs cli, report & raw options cleanups 2014-03-25 19:03:56 -07:00
Query.hs query: add >= and <= for amt queries 2014-06-29 11:09:13 -07:00
Read.hs add an --ignore-assertions flag 2014-07-01 18:26:37 -07:00
Reports.hs split up Hledger.Reports 2014-03-19 17:31:18 -07:00
Utils.hs clarify dbgAtM issue 2014-07-02 23:24:58 -07:00