gnucash maint: Multiple changes pushed

John Ralls jralls at
Wed Jan 27 20:44:31 EST 2021

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

commit 0f8d9f6d7cadfcc40cec4efa5d6f370a739ae817
Author: John Ralls <jralls at>
Date:   Tue Jan 26 16:16:25 2021 -0800

    Bug 798093 - Changing the symbol/abbreviation of a security after...
    the trading account was created breaks GnuCash.
    Introduces a new function, gnc_account_lookup_by_type_and_commodity
    that does that, though it also looks at name for the one special case
    of finding/creating the Namespace placeholder account. Adds a parameter
    checkname to xaccScrubUtilityGetOrMakeAccount to flag whether to look
    for the name.
    Namespaces aside this makes it possible for the user to rename trading
    accounts or securities independent of each other.

commit bcbebe62b1c297cac95db75b1261638e97d82b78
Author: John Ralls <jralls at>
Date:   Tue Jan 26 14:56:29 2021 -0800

    Make xaccScrubUtilityGetOrMakeAccount static and remove ScrubP.h
    It being the only declaration in ScrubP.h

Summary of changes:
 libgnucash/engine/Account.cpp    | 22 +++++++++++++++++++++
 libgnucash/engine/Account.h      | 18 ++++++++++++++++++
 libgnucash/engine/CMakeLists.txt |  1 -
 libgnucash/engine/Scrub.c        | 30 +++++++++++++++++++++--------
 libgnucash/engine/Scrub2.c       |  1 -
 libgnucash/engine/ScrubP.h       | 41 ----------------------------------------
 6 files changed, 62 insertions(+), 51 deletions(-)
 delete mode 100644 libgnucash/engine/ScrubP.h

More information about the gnucash-patches mailing list