gnucash maint: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Mon Oct 26 12:00:44 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/92f27278 (commit)
via https://github.com/Gnucash/gnucash/commit/1a4f27f6 (commit)
via https://github.com/Gnucash/gnucash/commit/89c0baee (commit)
via https://github.com/Gnucash/gnucash/commit/4ff3355f (commit)
via https://github.com/Gnucash/gnucash/commit/e7165507 (commit)
via https://github.com/Gnucash/gnucash/commit/e833c8e1 (commit)
via https://github.com/Gnucash/gnucash/commit/2ecdd70e (commit)
via https://github.com/Gnucash/gnucash/commit/4d63eb92 (commit)
via https://github.com/Gnucash/gnucash/commit/26e7eada (commit)
from https://github.com/Gnucash/gnucash/commit/b675e17e (commit)
commit 92f272786219adee04b7ce96bb15abc864cbb15e
Merge: b675e17e4 1a4f27f6b
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Oct 26 23:57:39 2020 +0800
Merge branch 'maint-797982' into maint #802
commit 1a4f27f6b3b4d3ae2e9263396b32e684f434c96b
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Wed Oct 21 22:45:06 2020 +0800
[html-utilities.scm] deprecate gnc:html-make-exchangerates
Because old exchange rates function used exchange-fn which converts 1
commodity into domestic currency; new exchange rates uses price-fn
which queries the gnc_numeric pricedb entry directly.
commit 89c0baee9b6f6ae6c7c74730f9920a61157adb93
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Oct 19 22:29:59 2020 +0800
Bug 797982 - exchange rates' decimal places
use gnc:html-make-rates-table instead of gnc:html-make-exchangerates
to show effective exchange rate or price used
commit 4ff3355f02498308d4683906e2a23620b0b0414e
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Oct 20 21:55:55 2020 +0800
[html-style-info.scm] price-renderer does not convert to decimal
so that it may obey global pref decimal vs fraction
commit e7165507c8497bfbcf7d3b107ca4e9ed2912a9d3
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Tue Oct 20 10:03:48 2020 +0800
[commodity-utils.scm][api] gnc:html-make-rates-table with price-fn
better precision than gnc:html-make-exchangerates
commit e833c8e1aa6f55341692d81c9d87aa0ad53b393b
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Oct 26 20:48:52 2020 +0800
[utest-gnc-pricedb.c] test: gnc_pricedb_get_[latest|nearest]_price
commit 2ecdd70e2412dac95d6b65eece136e718797252f
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Oct 19 20:08:44 2020 +0800
[gnc-pricedb.c][api] pull out composite pricedb price retriever
* tries direct price retrieval from pricedb.
* if fails, tries intermediate currency.
commit 4d63eb922f4ae3794315dad36c9dafc0e9f752e3
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Oct 19 10:47:50 2020 +0800
[gnc-pricedb.c] copy convert_amount to convert_price
commit 26e7eada37efa2a3b91509483e17e9c9ba544ec6
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Mon Oct 19 10:26:23 2020 +0800
[gnc-pricedb.c] refactor amount converters, use common code
Summary of changes:
gnucash/report/commodity-utilities.scm | 13 ++
gnucash/report/html-style-info.scm | 8 +-
gnucash/report/html-utilities.scm | 26 +++
gnucash/report/report.scm | 2 +
.../report/reports/standard/account-summary.scm | 5 +-
gnucash/report/reports/standard/balance-sheet.scm | 3 +-
.../reports/standard/budget-balance-sheet.scm | 6 +-
.../reports/standard/budget-income-statement.scm | 5 +-
gnucash/report/reports/standard/cash-flow.scm | 6 +-
.../report/reports/standard/equity-statement.scm | 12 +-
.../report/reports/standard/income-statement.scm | 6 +-
gnucash/report/reports/standard/trial-balance.scm | 5 +-
libgnucash/engine/gnc-pricedb.c | 215 +++++++++++----------
libgnucash/engine/gnc-pricedb.h | 18 ++
libgnucash/engine/test/utest-gnc-pricedb.c | 80 ++++++++
15 files changed, 280 insertions(+), 130 deletions(-)
More information about the gnucash-patches
mailing list