hledger/hledger-lib/Hledger/Data
Jesse Rosenthal a6a73e36e3 Finish removing journalFinalise (#903)
* journal: Get rid of `journalFinalise` and use granular functions

Complete the process started in 53b3e2bd. This gets rid of the
`journalFinalise` function and uses the smaller steps, in order to
have more granular control.

* journal: Change order of operations in finalization

We want to make sure that we add the filepath after the order is
reversed, so the added filepath is on the head and not the tail (as it
would be if it were reversed after it was added).

* journal: Refine granular finalization functions

This commit fixes two of the granular finalization functions:

1. Rename `journalSetTime` to `journalSetLastReadTime` and improve
   documentation.

2. Remove `journalSetFilePath`. It's redundant with `journalAddFile`
   currently in `Hledger.Read.Common`. The only difference between the
   functions is where the file is added (we keep the one in which it
   is added to the tail), so we change the position vis-a-vis
   reversal.
2018-10-16 08:51:51 -07:00
..
Account.hs journal: a new account sorting mechanism, and a bunch of sorting fixes 2018-09-22 21:45:07 -10:00
AccountName.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Amount.hs lib: fix balance --budget in the presence of --value 2018-09-23 07:45:34 -10:00
Commodity.hs tests: clear out old boilerplate 2018-08-31 18:12:17 -07:00
Dates.hs lib: switch to megaparsec 7 2018-09-30 20:15:12 -06:00
Journal.hs Finish removing journalFinalise (#903) 2018-10-16 08:51:51 -07:00
Ledger.hs journal: a new account sorting mechanism, and a bunch of sorting fixes 2018-09-22 21:45:07 -10:00
MarketPrice.hs tests: clear out old boilerplate 2018-08-31 18:12:17 -07:00
Period.hs bs/bse/cf/is: fix display of abbreviated name for December 2018-01-19 12:45:51 -08:00
PeriodicTransaction.hs tests: update doctests after Transaction Show change 2018-09-04 14:02:04 -07:00
Posting.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
RawOptions.hs csv: merge lucamolteni's cassava/custom separators (squashed) (#829) 2018-09-07 12:34:51 -07:00
StringFormat.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Timeclock.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
Transaction.hs rename easytests_* to tests_* 2018-09-06 13:13:26 -07:00
TransactionModifier.hs tests: update doctests after Transaction Show change 2018-09-04 14:02:04 -07:00
Types.hs journal: account directives can declare account types 2018-10-09 14:24:59 -10:00