gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Tue Nov 22 19:56:57 EST 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/f13cfa21 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3d8a2889 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2ee0c982 (commit)
	from  https://github.com/Gnucash/gnucash/commit/af34ee3f (commit)



commit f13cfa214212c72aa96ca38fdb8741bb61fae887
Merge: af34ee3f5 3d8a28898
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Nov 23 08:30:34 2022 +0800

    Merge branch 'maint-budget' into maint #1468

commit 3d8a28898d22d107610bbe1ce5f9954d61d12362
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Nov 18 17:57:21 2022 +0800

    [gnc-budget] gnc_budget_get_account_period_note returns a const
    
    to harmonize with all other char getters

commit 2ee0c9820091511095f0aa1b6fdc90db5e8c36d2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Nov 18 17:55:38 2022 +0800

    [gnc-budget] use operator[] instead of find() and insert()
    
    - avoid hashing Account* twice. one call to operator[] is sufficient.
    - don't need use std::move with better constructors
    - sanity check - can't have a budget with num_periods = 0
    - remove unused headers



Summary of changes:
 bindings/engine.i                      |  2 --
 gnucash/gnome/gnc-budget-view.c        |  6 ++----
 gnucash/gnome/gnc-plugin-page-budget.c |  5 ++---
 libgnucash/engine/gnc-budget.cpp       | 32 +++++++++++++-------------------
 libgnucash/engine/gnc-budget.h         |  5 ++---
 libgnucash/engine/test/utest-Budget.c  |  3 +--
 6 files changed, 20 insertions(+), 33 deletions(-)



More information about the gnucash-patches mailing list