gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Jul 20 09:11:33 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/aa95d61c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ae4b7e15 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/38b2d470 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/273ae720 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fdeff65f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d0bf4ad8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ce6c3c22 (commit)
	from  https://github.com/Gnucash/gnucash/commit/e88f31e0 (commit)



commit aa95d61c6c3240b51a1896341e365d1af4362cfc
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 20 19:06:16 2019 +0800

    various reports: use more efficient report-utilities.scm functions
    
    instead of delete-duplicates

commit ae4b7e15822e12103df56aa83cd1503a2007c033
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 20 19:17:56 2019 +0800

    [report-utilities][API] gnc:accounts-and-all-descendants
    
    return a list of accounts and their descendant accounts

commit 38b2d4708b6b102036dfcdbdbe082286c83098e8
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 20 19:05:41 2019 +0800

    [report-utilities] gnc:accounts-get-commodities more efficient
    
    more efficient function

commit 273ae720ccaeddc60deb11a1fab42418838f2cd2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 20 18:21:20 2019 +0800

    [scm-utilities][API] add sort-and-delete-duplicates
    
    this can be used instead of delete-duplicates when the list must also
    be sorted.
    
    the main reason for this function will be for the upcoming aging.scm
    report which will use it heavily to slice APAR splits into owner list.

commit fdeff65f067469d542069066792b8e2c096629dd
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jul 19 02:00:20 2019 +0800

    [business-core] refactor & document gnc:owner-from-split
    
    This function helps to establish UI link from register split to an
    owner's split. It should not be used anywhere else. Its use in reports
    will be removed.
    
    It is also unnecessarily complex -- it is called from an AP/AR account
    register split, it should have all necessary information via split
    metadata. e.g. this function *can* return a split owner if originating
    from an Asset/Liability account which settles an invoice, but this
    functionality is not used because there is no asset/liability register
    hook to call it.

commit d0bf4ad8aeaa6a4f2e2645d20b50d1ffd922c8f1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 20 20:10:00 2019 +0800

    [test-business-core] add to dist_list

commit ce6c3c22a15102341ca41ddba2a46ea7daf63f17
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Jul 20 20:32:07 2019 +0800

    Fix CMakeLists error
    
    need to include module



Summary of changes:
 gnucash/register/register-gnome/CMakeLists.txt     |  1 +
 .../report/business-reports/customer-summary.scm   |  4 +-
 gnucash/report/report-system/report-system.scm     |  1 +
 gnucash/report/report-system/report-utilities.scm  | 20 ++++++--
 .../report-system/test/test-report-utilities.scm   | 42 ++++++++++++++++-
 .../report/standard-reports/balance-forecast.scm   |  3 +-
 gnucash/report/standard-reports/balsheet-pnl.scm   |  7 +--
 .../report/standard-reports/category-barchart.scm  |  3 +-
 gnucash/report/standard-reports/daily-reports.scm  | 18 ++------
 libgnucash/engine/business-core.scm                | 53 +++++++++-------------
 libgnucash/engine/test/CMakeLists.txt              |  1 +
 .../scm/test/test-libgnucash-scm-utilities.scm     | 26 +++++++++++
 libgnucash/scm/utilities.scm                       | 15 ++++++
 13 files changed, 129 insertions(+), 65 deletions(-)



More information about the gnucash-patches mailing list