gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Tue Mar 14 19:13:34 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/3d1ad858 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5de35f97 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a44b3664 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8db81058 (commit)
	from  https://github.com/Gnucash/gnucash/commit/83829e65 (commit)



commit 3d1ad8581b603b8ec43313f9772cb599a1ac4764
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Mar 14 15:56:43 2023 -0700

    Bug 798787 - gnc-register-owner-option currently broken
    
    Use the right option type now that it works right.

commit 5de35f97c8c74fcd8ef52cf86e1d56377e3fd3f4
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Mar 14 15:54:43 2023 -0700

    Fix gnc_owner_get_owner so that it sets the owner type.
    
    Using the instance's QofIdType.

commit a44b3664e2d586924f913d2245cb6023ede6a1a6
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Mar 14 15:50:34 2023 -0700

    [c++options] Implement GncOptionGncOwnerValue class.
    
    GncOwners aren't QofInstances and have limited lifetimes so an option
    must hold its own, wrapped in std::unique_ptr for memory management.

commit 8db81058508be9ec1d510237ce33d1eb3de03199
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Mar 14 15:58:39 2023 -0700

    [c++options] Warn when an option variant type's set_value isn't found.



Summary of changes:
 bindings/guile/gnc-optiondb.i                      |  79 ++++++++++++++-
 bindings/guile/options.scm                         |   2 +-
 .../guile/test/test-gnc-option-scheme-output.scm   |   2 +-
 gnucash/gnome/business-gnome-utils.c               |  22 ++++-
 gnucash/gnome/business-gnome-utils.h               |   2 +-
 gnucash/gnome/business-options-gnome.cpp           |   9 +-
 libgnucash/engine/gnc-option-impl.cpp              | 107 +++++++++++++++++++++
 libgnucash/engine/gnc-option-impl.hpp              |  58 +++++++++++
 libgnucash/engine/gnc-option.cpp                   |  12 ++-
 libgnucash/engine/gnc-option.hpp                   |   3 +-
 libgnucash/engine/gnc-optiondb.cpp                 |   4 +-
 11 files changed, 275 insertions(+), 25 deletions(-)



More information about the gnucash-patches mailing list