gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Aug 6 20:18:01 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/8b07ac88 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e29ab533 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6faaf3b4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1ff844c1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/aa0b0921 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/da0eff2c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/552aa438 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0e9ed8cf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3d275a37 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/418bb7d0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0213787a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cf2870b7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0b2d14ee (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b94440b1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ea56d677 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a98e4abb (commit)
	from  https://github.com/Gnucash/gnucash/commit/0ef6967a (commit)



commit 8b07ac88cd22eacb8c2f626734290573e21d924d
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Aug 6 10:57:26 2022 -0700

    [options] Add "key" to the register-option documentation blocks.

commit e29ab5336f4351b852e173b1dd3e40b3893c0019
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Aug 6 10:40:04 2022 -0700

    [options] Remove key and doc_string from gnc_register_query_option.
    
    It's always used as an internal option with no UI component so it doesn't
    use them.

commit 6faaf3b427333d1374464e367e4681bfe90b24f8
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Aug 5 16:01:31 2022 -0700

    [options] Provide a const char* value flavor for register_commodity
    
    And register_currency_option

commit 1ff844c19568c58daddd4b78ed1d3b60e364b245
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Aug 5 13:38:12 2022 -0700

    [options] Fix implementation of gnc_register_owner_option
    
    To take an owner-type parameter and to set the UIType accordingly.

commit aa0b0921f408f9d863a153bd12db35f0ced5d1c1
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jul 31 13:01:13 2022 -0700

    [options] Add a function to check if an option is internal.
    
    Instead of relying on the legacy underscore-section-name hack.

commit da0eff2cacdfe5eeb42e0f5d19ec8e6888eab6ee
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Jul 26 14:54:10 2022 -0700

    [options] Implement widget-changed callbacks.
    
    Enables full functionality for complex-boolean and multichoice-callback
    options.
    
    Note that setter-function callback isn't used in any GnuCash code so it
    is not implemented and is not present in the register-callback functions.

commit 552aa438ff7980337cac2168cf7c6621b071362d
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Jul 21 17:11:51 2022 -0700

    [options] Implement gnc_register_internal_option.

commit 0e9ed8cf0a5b432252c47bd1c0b07e42951ceaf3
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Jul 21 17:13:45 2022 -0700

    [options] Provide float variants to gnc_register_plot_size_option.

commit 3d275a3715cb04d9b9b94f3847dc340cae3ed310
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Aug 6 11:18:32 2022 -0700

    [options] Improve Scheme API consistency

commit 418bb7d0cc9e0b051b44af906e76ff3168cc2863
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Jul 19 11:12:04 2022 -0700

    [options] Fix two deprecation messages.

commit 0213787a2f3587c5287fc77f15dc587a1526de3e
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Jul 19 11:11:37 2022 -0700

    [options] Enable registering an absolute date option.

commit cf2870b71a8e693e9ccae5db33529ae876b216e6
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jul 17 15:16:10 2022 -0700

    [options] Change RelativeDate and Multichoice index type to uint16_t.
    
    From size_t because clang thinks that std::is_same_v<size_t, time64> is
    true and we need to differentiate the handling of the two.

commit 0b2d14ee726d5efe758c8cbef803e3ee20b4fad7
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jul 31 12:56:59 2022 -0700

    Fix distribution for expressions target.

commit b94440b16ac64175f9dfc0248ab4ef701d63d582
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Aug 6 14:08:22 2022 +0800

    Bug 798588 - sx scrubbing was using incorrect free function
    
    the GHashTable values are gnc_numeric*.

commit ea56d67797096511d27097021e40d5f31b2bd696
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Aug 6 14:09:26 2022 +0800

    [gnc-sx-instance-model.c] indent attributes properly

commit a98e4abbd421f79d35e475dd93920d7085fe81f5
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Aug 6 10:20:16 2022 +0800

    [test-charts] add cash-flow to clear warning about missing report



Summary of changes:
 bindings/guile/CMakeLists.txt                      |   1 +
 bindings/guile/gnc-optiondb.i                      | 118 +++++++++++++---
 bindings/guile/options.scm                         |  92 ++++++-------
 .../guile/test/test-gnc-option-scheme-output.scm   |  14 +-
 bindings/guile/test/test-gnc-optiondb.scm          |  39 ++----
 bindings/guile/test/test-options.scm               |   2 +-
 common/base-typemaps.i                             |   2 +-
 gnucash/gnome-utils/dialog-options.cpp             |  47 +++++--
 gnucash/gnome-utils/dialog-options.hpp             |   2 +
 gnucash/report/gnc-report.cpp                      |   2 +-
 gnucash/report/report-core.scm                     |  51 ++++---
 .../report/reports/standard/account-summary.scm    |   2 +-
 .../report/reports/standard/test/test-charts.scm   |   1 +
 gnucash/report/reports/standard/view-column.scm    |   2 +-
 gnucash/report/test/test-report.scm                |  12 +-
 libgnucash/app-utils/gnc-option-impl.cpp           |  24 ++--
 libgnucash/app-utils/gnc-option-impl.hpp           |  56 ++++----
 libgnucash/app-utils/gnc-option.cpp                |  50 ++++---
 libgnucash/app-utils/gnc-option.hpp                |  14 +-
 libgnucash/app-utils/gnc-optiondb.cpp              | 117 +++++++++++++---
 libgnucash/app-utils/gnc-optiondb.hpp              | 152 ++++++++++++++-------
 libgnucash/app-utils/gnc-sx-instance-model.c       |  15 +-
 libgnucash/app-utils/test/CMakeLists.txt           |   2 +-
 libgnucash/app-utils/test/gtest-gnc-option.cpp     |  16 +--
 libgnucash/app-utils/test/gtest-gnc-optiondb.cpp   |   6 +-
 25 files changed, 553 insertions(+), 286 deletions(-)



More information about the gnucash-patches mailing list