hledger/tests
Simon Michael 0f5ee154c4 lib: simplify parsers; cleanups (#275)
The journal/timeclock/timedot parsers, instead of constructing (opaque)
journal update functions which are later applied to build the journal,
now construct the journal directly (by modifying the parser state). This
is easier to understand and debug. It also removes any possibility of
the journal updates being a space leak. (They weren't, in fact memory
usage is now slightly higher, but that will be addressed in other ways.)

Also:

Journal data and journal parse info have been merged into one type (for
now), and field names are more consistent.

The ParsedJournal type alias has been added to distinguish being-parsed
and finalised journals.

Journal is now a monoid.

stats: fixed an issue with ordering of include files

journal: fixed an issue with ordering of included same-date transactions

timeclock: sessions can no longer span file boundaries (unclocked-out
sessions will be auto-closed at the end of the file).

expandPath now throws a proper IO error (and requires the IO monad).
2016-05-23 00:44:19 -07:00
..
add tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
addons tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
balance balance, lib: --format/StringFormat improvements 2015-08-19 20:53:51 -07:00
cli lib: allow multiple files of different format (#320) 2016-05-18 16:41:52 -07:00
csv tests: make functional tests use "hledger" again 2015-07-12 12:29:53 -07:00
i18n tools: fix make functest in a fresh copy 2016-04-21 08:37:37 -07:00
journal lib: simplify parsers; cleanups (#275) 2016-05-23 00:44:19 -07:00
misc Add --pivot option with tests and docs (#323) 2016-05-06 18:27:35 -07:00
print doc, tests: clarify what --date2 does 2016-05-06 16:57:24 -07:00
register doc, tests: clarify what --date2 does 2016-05-06 16:57:24 -07:00
stats lib: simplify parsers; cleanups (#275) 2016-05-23 00:44:19 -07:00
timeclock rename timelog format to timeclock 2016-04-12 21:13:19 -07:00