gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Wed May 13 01:57:01 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/a874483b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f8bad131 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/710b559c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f9fce766 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7557c5b5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8b3841b4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d8c21c46 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/61afe53f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9020c967 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3d25a40d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/182d4d9d (commit)
	from  https://github.com/Gnucash/gnucash/commit/1510f349 (commit)



commit a874483b70673225732febb8512902ca7ced3f9b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 13:55:59 2020 +0800

    [register] show number columns right-aligned

commit f8bad131a5376baa6cfb401b252245b1bc545901
Merge: 1510f3492 710b559cc
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 13:20:09 2020 +0800

    Merge branch 'maint-797743' #720 price renderers

commit 710b559cc4a4a130afcbe0e88c50a972955e0e62
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 12:25:58 2020 +0800

    [register] [bugfix] use new price renderer
    
    also bugfix: show price in account parent currency, instead of the
    original currency.

commit f9fce766c3c1cc50f2f97606386f27a60dbfcd63
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 12:20:01 2020 +0800

    [trep-engine] use new price renderer

commit 7557c5b54e85111d4285c0018aa34495bf1954ca
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 11:48:13 2020 +0800

    [advanced-portfolio] use new price renderer

commit 8b3841b4b5d11af1ee1c52698ad47797efedeb29
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 11:36:04 2020 +0800

    [balsheet-eg.eguile] use new price renderer

commit d8c21c4625ee3a20becb9db021c4ad2bd62684a1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 00:51:45 2020 +0800

    [balsheet-pnl] use new price renderer

commit 61afe53f0fb33c790cf0e630de78df285c184263
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 11:35:57 2020 +0800

    [html-utilities] use new price renderer for exchange-rate table

commit 9020c967c7fd15e36b014bac2bff0a3a3f44adbf
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 00:51:00 2020 +0800

    [html-style-info] export gnc:default-price-renderer
    
    converts gnc:monetary containing a price to string

commit 3d25a40d1f12b57b5e551f6c24c58d8d69b85990
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 13 00:49:35 2020 +0800

    [gnc-ui-util] add gnc_price_print_info
    
    similar to gnc_default_price_print_info but also accepts a use_symbol
    specifier. for generating print_info for prices, either exact e.g.
    $1 + 2/3, or inexact e.g. $1.3333

commit 182d4d9de7b0dd06b08381bbc0f861a9fd596ba1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon May 11 21:22:59 2020 +0800

    Bug 797743 - Monetary amounts are occasionally rendered in fractions
    
    If monetary is already in decimal, don't convert. If monetary is
    exact (x/y) then convert to its SCU.
    
    As a result, monetary amounts in an arbitrary precision will be
    displayed unchanged, e.g. US$0.1442, whereas exact monetary amounts
    will be displayed using the currency's SCU e.g. US$1/3 -> $0.33



Summary of changes:
 gnucash/report/html-style-info.scm                 | 14 +++++++++---
 gnucash/report/html-utilities.scm                  |  7 ++++--
 gnucash/report/report.scm                          |  1 +
 .../report/reports/standard/advanced-portfolio.scm | 16 +++++--------
 gnucash/report/reports/standard/balsheet-pnl.scm   |  6 +++--
 gnucash/report/reports/standard/register.scm       | 10 +++++----
 .../reports/standard/test/test-balsheet-pnl.scm    | 18 +++++++--------
 .../reports/standard/test/test-portfolios.scm      |  8 +++----
 .../report/reports/support/balsheet-eg.eguile.scm  | 26 ++++++++++------------
 gnucash/report/trep-engine.scm                     | 23 +++++--------------
 libgnucash/app-utils/app-utils.i                   |  2 ++
 libgnucash/app-utils/gnc-ui-util.c                 | 11 +++++++--
 libgnucash/app-utils/gnc-ui-util.h                 |  3 +++
 13 files changed, 76 insertions(+), 69 deletions(-)



More information about the gnucash-patches mailing list