gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Thu Oct 3 01:27:55 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/eb58bca7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/315bbb5d (commit)
	 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)
	 via  https://github.com/Gnucash/gnucash/commit/992f657c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8f1c82e8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/34bb47e2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bf202d14 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/621c857b (commit)
	from  https://github.com/Gnucash/gnucash/commit/0c65c41b (commit)



commit eb58bca7afafe3eb06bdb18e5df6662b38d72c25
Merge: 0c65c41b3 315bbb5d0
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Oct 3 13:27:16 2019 +0800

    Merge branch 'maint'

commit 315bbb5d0539d7d911b867b2eac8406f8d3e4484
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Oct 3 13:02:08 2019 +0800

    [test-stress-options] reinstate test empty book
    
    d47e49c23 had disabled testing empty book in error.

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.

commit 992f657cc50a679715691735f5bdaec3a9a95740
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Oct 2 21:49:41 2019 +0800

    [test-budget] augment to test budget-income-statement.scm

commit 8f1c82e875d5d8152d0d96a228035fde5e1bb895
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Oct 1 01:21:20 2019 +0800

    [cash-flow] use collector arithmetic

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

    [income-statement] compact functions

commit bf202d14614aa8bc7bdde063851f345ceb15101f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Sep 30 23:50:08 2019 +0800

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

commit 621c857b6a3df6a75b390f9cad6838dd80ea5db4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Sep 30 23:36:59 2019 +0800

    [income-statement] remove dead code, compact function
    
    column and balance were unused. compact function.



Summary of changes:
 gnucash/report/reports/standard/budget-flow.scm    |   3 +-
 .../reports/standard/budget-income-statement.scm   | 437 +++++++++-----------
 gnucash/report/reports/standard/budget.scm         |   6 +-
 gnucash/report/reports/standard/cash-flow.scm      |   7 +-
 .../report/reports/standard/income-statement.scm   | 439 ++++++++-------------
 .../report/reports/standard/test/test-budget.scm   |  85 ++--
 .../reports/standard/test/test-stress-options.scm  |   4 +-
 libgnucash/engine/test/test-engine-extras.scm      |  30 ++
 8 files changed, 427 insertions(+), 584 deletions(-)



More information about the gnucash-patches mailing list