gnucash master: Multiple changes pushed

Christopher Lam clam at
Sun Jul 21 00:30:39 EDT 2019

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

commit 63f484c555bb936f1ab3038bc4b8d7fe6ceb0d58
Merge: 351460084 aa95d61c6
Author: Christopher Lam <christopher.lck at>
Date:   Sat Jul 20 21:13:54 2019 +0800

    Merge branch 'maint'

commit aa95d61c6c3240b51a1896341e365d1af4362cfc
Author: Christopher Lam <christopher.lck at>
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>
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>
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>
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>
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>
Date:   Sat Jul 20 20:10:00 2019 +0800

    [test-business-core] add to dist_list

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

    Fix CMakeLists error
    need to include module

commit e88f31e05cd57ba6fcc07563d98fb55c5310d25d
Author: John Ralls <jralls at>
Date:   Fri Jul 19 21:20:43 2019 -0700

    Bug 784623 - GNUCash does not work with sql backend, I can open...
    in read only mode
    Upgrade the splits table as well, an oversight from the original fix.

Summary of changes:
 gnucash/register/register-gnome/CMakeLists.txt     |  1 +
 gnucash/report/report-utilities.scm                | 20 ++++++--
 gnucash/report/report.scm                          |  1 +
 gnucash/report/reports/example/daily-reports.scm   | 16 +------
 .../report/reports/standard/balance-forecast.scm   |  3 +-
 gnucash/report/reports/standard/balsheet-pnl.scm   |  7 +--
 .../report/reports/standard/category-barchart.scm  |  3 +-
 .../report/reports/standard/customer-summary.scm   |  4 +-
 gnucash/report/test/test-report-utilities.scm      | 42 ++++++++++++++++-
 libgnucash/backend/sql/gnc-transaction-sql.cpp     |  6 ++-
 libgnucash/engine/business-core.scm                | 53 +++++++++-------------
 .../scm/test/test-libgnucash-scm-utilities.scm     | 26 +++++++++++
 libgnucash/scm/utilities.scm                       | 15 ++++++
 13 files changed, 131 insertions(+), 66 deletions(-)

More information about the gnucash-patches mailing list