gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Thu Dec 5 04:28:47 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/b5f9cd0b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/775200ef (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2cd69e8d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ded336f9 (commit)
	from  https://github.com/Gnucash/gnucash/commit/c06191a6 (commit)



commit b5f9cd0b32398fe5668e4f140cc91a7324436e01
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Oct 19 16:21:43 2019 +0800

    [budgets.scm] budget reports handle both natural & reversed budgets

commit 775200ef348f8579a3e0258988ae25a8026dbd6d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Oct 22 23:19:28 2019 +0800

    [gnc-budget-view.c] totals - 5 fundamental types
    
    previous showed income/expense/transfers/totals budget totals, of
    uncertain meaning. now shows income/expense/asset/liability/equity
    budget totals.
    
    the 5 lines also become sensitive to global sign-reverses property

commit 2cd69e8d85f8f1538409deeb657a379a0bc36c92
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Oct 19 16:19:11 2019 +0800

    [budgets.c] handle both natural & reversed signs budgets
    
    introduce new API
    * gnc_using_unreversed_budgets - queries book's unreversed feature
    * gnc_reverse_budget_balance - check if book unreversal status matches
      2nd argument. if so, return account's reversal status. else, return
      FALSE.
    
    * gnome-budget-view can now show both natural and reversed budgets
    * gnome-plugin-page-budget will now read&write both natural and
      reversed budgets.

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

    [gnc-features] enable reading of unreversed budgets



Summary of changes:
 gnucash/gnome/gnc-budget-view.c                    | 67 +++++++++++++---------
 gnucash/gnome/gnc-plugin-page-budget.c             | 14 +++--
 .../standard-reports/budget-balance-sheet.scm      |  3 +-
 .../standard-reports/budget-income-statement.scm   |  3 +-
 gnucash/report/standard-reports/budget.scm         | 33 +++++++++++
 libgnucash/app-utils/app-utils.i                   |  2 +
 libgnucash/app-utils/gnc-ui-util.c                 | 17 ++++++
 libgnucash/app-utils/gnc-ui-util.h                 | 10 ++++
 libgnucash/engine/gnc-features.c                   |  1 +
 libgnucash/engine/gnc-features.h                   |  1 +
 10 files changed, 115 insertions(+), 36 deletions(-)



More information about the gnucash-patches mailing list