hledger/hledger-lib/Hledger
Simon Michael 73678393b1 lib: valuation: don't hang when finding prices (fixes #1439)
Searching for prices during valuation no longer now properly excludes
price loops, avoiding near infinite looping with certain
configurations of market prices. Also we now always use a direct price
when available, rather than searching unnecessarily.

Price searching progress info, useful for troubleshooting, is now
displayed with --debug=2.

There could still be some corner cases we don't handle correctly. We
now give up with an error message if the searched price chains get too
long (> 1000). More importantly, we should also give up if the search
iterates too many times, but this is not done yet.
2021-01-02 07:13:07 -08:00
..
Data lib: valuation: don't hang when finding prices (fixes #1439) 2021-01-02 07:13:07 -08:00
Read lib: Make consistent naming scheme for showMixedAmount* functions, 2021-01-02 15:08:09 +11:00
Reports lib: Make consistent naming scheme for showMixedAmount* functions, 2021-01-02 15:08:09 +11:00
Utils lib,cli: Assorted fixes for older GHC. 2021-01-02 15:08:09 +11:00
Data.hs move JSON instances from hledger-web to hledger-lib 2019-12-16 17:17:00 -08:00
Query.hs lib,cli,ui: Replace some uses of String with Text, get rid of some unpacks, clean up showMixed options. 2021-01-02 15:08:09 +11:00
Read.hs lib,cli: Assorted fixes for older GHC. 2021-01-02 15:08:09 +11:00
Reports.hs lib,cli: Store parsed Query in ReportOpts, rather than an unparsed 2020-10-23 14:14:11 -07:00
Utils.hs lib: Make Default instances clearer, remove Default instance for Bool. 2020-10-23 14:14:11 -07:00