gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Wed Oct 2 20:23:41 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/d47e49c2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c6195d6e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f015a968 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5d15fd41 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/34c677d7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3452c33c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1dfd7c55 (commit)
	from  https://github.com/Gnucash/gnucash/commit/992f657c (commit)



commit d47e49c230c2085008cdf87b71ebb98cb6ccb1cb
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Oct 3 08:06:16 2019 +0800

    [test-stress-options] add budget to test book
    
    the populated book has a budget. this enables more thorough testing of
    budget reports.

commit c6195d6e7aa8e4dd691657df00aaccc85f92388a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Oct 3 08:05:52 2019 +0800

    [test-budget] centralize gnc:create-budget-and-transactions
    
    it will be reused by test-stress-options

commit f015a96833825df852f3e20bb5ce0ebcb78a8de4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Oct 3 00:52:17 2019 +0800

    [budget] fixcrash: fix crasher for some periods
    
    eg. the following combo would previously crash:
    - periods from next to current
    - use accumulated amounts

commit 5d15fd41fd8c73869698a388b7baa3b722e75966
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Oct 3 00:41:43 2019 +0800

    [budget] fixcrash: prevent crash if periods start > end
    
    It's silly to input start-period > end-period. Nevertheless handle it
    by swapping them instead of crashing. i.e. report budget periods from
    end to start.

commit 34c677d70d13c8b4b97806af02a6d8c79f92ccd1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Oct 3 00:01:47 2019 +0800

    [budget-flow] fixcrash: exchange-fn needs to specify exchange date
    
    because some exchange-fn *do* require date eg. pricedb-nearest. use
    the period end-date for the exchange date.

commit 3452c33cdf0b8d405ae50a6755346b45704a890d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Oct 1 00:56:44 2019 +0800

    [budget-income-statement] define vars in formals
    
    and use collector arithmetic

commit 1dfd7c5547cd7f0842f0a2e5cd8952e84b17f420
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Oct 1 00:48:16 2019 +0800

    [budget-income-statement] compact functions
    
    neater.



Summary of changes:
 gnucash/report/standard-reports/budget-flow.scm    |   3 +-
 .../standard-reports/budget-income-statement.scm   | 437 +++++++++------------
 gnucash/report/standard-reports/budget.scm         |   6 +-
 .../report/standard-reports/test/test-budget.scm   |  34 +-
 .../standard-reports/test/test-stress-options.scm  |   6 +-
 libgnucash/engine/test/test-extras.scm             |  30 ++
 6 files changed, 218 insertions(+), 298 deletions(-)



More information about the gnucash-patches mailing list