Commit Graph

9 Commits

Author SHA1 Message Date
John Ralls
50418527b0 Fix two typos. 2023-07-21 13:57:39 -07:00
John Ralls
a44b3664e2 [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.
2023-03-14 16:11:39 -07:00
John Ralls
40c55899bc [c++options] Convert remaining reports and tests to new API. 2022-12-23 10:01:52 -08:00
John Ralls
30b2c0bcac [options] Provide gnc:register-multichoice-callback-option.
Compatibility function for passing symbols or numbers as the default
value.

Note that this isn't used by GnuCash code and so isn't exercised or
tested, it's provided only to simplify user-written code migration.
2022-12-22 13:53:44 -08:00
Christopher Lam
6e6d44f567 [options.scm] typo fix - no commas needed in guile
also the following symbols are also not accessible from scheme.

GncOptionUIType-TAX_TABLE
GncOptionUIType-DATE_FORMAT
2022-12-17 21:23:54 +08:00
John Ralls
4ae17d12c7 [options] Move options from app-utils to engine.
Options is required for book options that are stored as part of the data
 file and so belongs in engine.
2022-08-25 22:09:56 -07:00
John Ralls
3d275a3715 [options] Improve Scheme API consistency 2022-08-06 17:13:16 -07:00
John Ralls
418bb7d0cc [options] Fix two deprecation messages. 2022-08-06 16:25:42 -07:00
John Ralls
f4c27d4494 Move gnc_ui_account_get_tax_info_string to gnc-locale-tax.c
To prevent a circular dependency between libgnc-app-utils and
libgnucash-guile.
2022-07-17 10:00:23 -07:00