gnucash maint: Multiple changes pushed

Christopher Lam clam at
Sat Nov 23 09:55:32 EST 2019

Updated	 via (commit)
	 via (commit)
	 via (commit)
	 via (commit)
	from (commit)

commit 287b857a1839d37408bcabfe650d07a365b1096a
Author: Christopher Lam <christopher.lck at>
Date:   Sat Nov 23 22:32:19 2019 +0800

    [html-style-info] deprecate font-face/size/color
    Only 'font-color was demonstrated in hello-world.scm, and these were
    never used in practice.

commit 729bf5ae6aa17a3ef9ec416cb0134c2b94f7ace1
Author: Christopher Lam <christopher.lck at>
Date:   Sat Nov 23 22:28:33 2019 +0800

    [hello-world] remove 'Text Color' option - will be deprecated
    ... because deleting an option does not cause crash in saved-reports.

commit 101cc91698279a661ca89310f4a404ee211faf14
Author: Christopher Lam <christopher.lck at>
Date:   Fri Nov 22 23:38:22 2019 +0800

    [reports] use new api gnc:account-accumulate-at-dates
    queries xaccSplitGetNoclosingBalance (which is a pointer dereference)
    instead of a more complex conditional-based snippet for split->amount,
    should be faster.
    The category-barchart change will choose the appropriate split->elt
    function according to the account type. This is more efficient than
    the old split->amount function which includes a conditional.
    Note we don't need to test for account being income/expense:
    asset/liability accounts do not have Closing transactions. Therefore
    we can use xaccSplitGetNoclosingBalance for splits from any account

commit 68b0abdfa6a51f317159167bb9259d4a45290afc
Author: Christopher Lam <christopher.lck at>
Date:   Fri Nov 22 23:28:33 2019 +0800

    [report-utilities] gnc:account-accumulate-at-dates: specify default elt
    if acc has no splits before report-date, the nosplit->elt will specify
    the default value to be inserted in the result list.
    e.g. consider:
    dates are (date1 date2 date3 date4 date5)
    account has splits starting after date2:
    (gnc:account-accumulate-at-dates account dates
     #:split->elt (const 'yea) #:nosplit->elt 'nay)
    results in '(nay nay yea yea yea)

Summary of changes:
 gnucash/report/report-system/html-document.scm     |  2 ++
 gnucash/report/report-system/html-style-info.scm   | 24 ++++++++++++++++++----
 gnucash/report/report-system/report-system.scm     | 22 ++++++++++----------
 gnucash/report/report-system/report-utilities.scm  |  6 +++++-
 .../report-system/test/test-report-utilities.scm   |  8 ++++++++
 .../report/standard-reports/category-barchart.scm  | 23 +++++++++++----------
 gnucash/report/standard-reports/net-charts.scm     | 14 ++++++-------
 gnucash/report/utility-reports/hello-world.scm     | 11 +---------
 8 files changed, 65 insertions(+), 45 deletions(-)

More information about the gnucash-patches mailing list