Commit Graph

200 Commits (341f2102635c73858d2abba05ab0e0990c47ecaf)

Author SHA1 Message Date
John Ralls a7a643f7f2 Store option commodities and namespace and mnemonic instead of pointer.
4 years ago
John Ralls 6841e5b5c8 Replace GncOptionValue<const QofInstance*> with GncOptionQofInstanceValue.
4 years ago
John Ralls a700701cd3 c++options: Remove three unused test functions.
4 years ago
John Ralls a3f50586df c++options: More thorough testing of scheme serialization.
4 years ago
John Ralls 6f93a68bad c++options: Serialize and deserialize to strings instead of streams.
4 years ago
John Ralls cf5da9fffd Resolve merge conflicts.
5 years ago
John Ralls 00a982d97d Use Scheme to generate and parse saved option files.
5 years ago
Christopher Lam f813f7cd14 [gnc-autoclear] Move autoclear algorithm into gnome-utils
5 years ago
John Ralls 00c2e99d2e Convert the Scheme RelativeDatePeriod lookup table to a std::vector.
5 years ago
John Ralls bed44f404f Remove the always questionable Scheme generation and parsing code.
5 years ago
John Ralls 0bd9033bb3 Move includes of glib and gtk out or extern C in new cpp files.
5 years ago
John Ralls 18997db720 Separate GncOptionAccountValue into GncOptionAccountListValue and GncOptionAccountSelValue.
5 years ago
John Ralls bbe74aa086 Remove tooltips from multichoice option values.
5 years ago
John Ralls 7239eb809a Test more natural way of designating relative dates.
5 years ago
John Ralls 23461f1d6c The value of a list-option is a list. Duh.
5 years ago
John Ralls 12f8df1eab Fix test failure: Clear the stream before reusing it.
5 years ago
John Ralls d9984f75ab Update test-gnc-optiondb.scm for not renaming the RelativeDatePeriod enums.
5 years ago
John Ralls 534a7c2893 GncOptionMultichoiceValue allow setting a default selection.
5 years ago
John Ralls d41292fddd Make set_selectable a GncOptionsGtkUIItem member function.
5 years ago
John Ralls 18b83874fd Another bit of Remove test-option-utils
5 years ago
John Ralls cb7270cafe Fix myriad gcc10 complaints.
5 years ago
John Ralls ea835b31b7 Provide GncOptionPtr& overloads for register-option functions.
5 years ago
John Ralls 8c77ce967b Implement and test obsolete option name aliasing.
5 years ago
John Ralls 90b8fce59f Fix build after merge.
5 years ago
John Ralls 85db341afe Remove test-option-utils
5 years ago
John Ralls 21398dfda1 Testing fixups for using GncOptionDB* in register_option functions.
5 years ago
John Ralls 6feb92d4e8 Provide scheme function new-gnc-optiondb.
5 years ago
John Ralls f9e136dbac Get the spelling of GncMultichoiceOptionEntry consistent.
5 years ago
John Ralls 3b4785e744 Convert GncOptionSection from a std::pair to a class.
5 years ago
John Ralls 5fd53c94de Provide GncOption::GetLimits for setting a NUMBER_RANGE spin button.
5 years ago
John Ralls a995343a8b Provide for multiple selections in GncOptionMultichoiceValue
5 years ago
John Ralls ac0e7063c7 Move the GncOptionUIType and dirty members to GncOptionUIUtem.
5 years ago
John Ralls 3200bd4966 Add a multiselect boolean member to GncOptionAccountValue.
5 years ago
John Ralls 6c8e0e23f7 Redesign GncOptionDateValue.
5 years ago
John Ralls 102f36c3be Provide more than one Date UI type to match options available in dialog-option.c
5 years ago
John Ralls 99c2c5e439 GncOptionUIItem from the GncOptionVariant classes to GncOption.
5 years ago
John Ralls 1bea809cec Remove the UI interface from GncOptionDB.
5 years ago
John Ralls cbf7d70ecd Integrate gnc-option into app-utils.
5 years ago
John Ralls 81c5ac6689 Remove the incomplete book-currency code.
5 years ago
John Ralls aa246d3096 Make implementation classes and template code visible only in app-utils.
5 years ago
John Ralls 20b3ef8a89 Handle some minor differences between libc++ (clang) and libstdc++ (gcc).
5 years ago
John Ralls cd6ccbe331 Fix account-tree double-free in scheme test when built with gcc.
5 years ago
John Ralls 691cb0992e Follow change in loading method for engine's guile bindings.
5 years ago
John Ralls cbd0607e80 Implement load and store options from/to book options.
5 years ago
John Ralls ffc6866406 Changes to accommodate moving guile engine bindings to bindings/guile.
5 years ago
John Ralls 76172af239 Implement saving and loading OptionDB items to/from scheme and
5 years ago
John Ralls 7ccba53739 Add stream functions to_scheme and from_scheme to GncOption.
5 years ago
John Ralls 1ea3822665 More operator <</>> Fixups.
5 years ago
John Ralls 98ca190700 Fix commodity in/out to use namespace & mnemonic instead of GUID.
5 years ago
John Ralls 4b997cd025 Fixups for GncOptionDateValue better design.
5 years ago
John Ralls b2fb57d39e Fix GncOption::set_value() to work with GncOptionDateValue::set_value(RelativeDatePeriod).
5 years ago
John Ralls 4dcf4a0e6a Test GncOptionRangeValue as a GncOption.
5 years ago
John Ralls 4cabd6c052 Change the GncOptionMultichoiceValue test to use a GncOption.
5 years ago
John Ralls e2a36a8be3 Expose function validate to GncOption and test it on GncOptionValidatedValue.
5 years ago
John Ralls 6df516dfcd Clean up the commodity/currency tests with a better fixture class.
5 years ago
John Ralls 52d0ec5290 Change GncOptionDateValue design to better match usage.
5 years ago
John Ralls 883127a59d Implement operators >> and << on GncOption.
5 years ago
John Ralls b95ea2c4aa Add Account-list options.
5 years ago
John Ralls 399573a89d Fix multichoice test construction.
5 years ago
John Ralls 12c5b94430 New scheme function gnc_option_default_value.
5 years ago
John Ralls 3f576671aa Adapt GncOptionMultiChoiceValue to support list options.
5 years ago
John Ralls 2f2ac99944 Replace the direct wrapping of GncOptionDB-set-option-string-foo.
5 years ago
John Ralls 252ba9b477 Change GncOptionDB::lookup_option to gnc_option_value().
5 years ago
John Ralls ff7b263a5f Fix up and test the int specialization of GncOptionRangeValue.
5 years ago
John Ralls 3dc4bc2377 Implement GncOptionDateValue.
5 years ago
John Ralls 435667e8fe Implement GncOptionMultichoiceValue
5 years ago
John Ralls 8eedcb6d6d Extract all SCM functions to gnc-optiondb.i.
5 years ago
John Ralls 16d1f0655b Get libswig-gnc-optiondb to install in the right place on Windows.
5 years ago
John Ralls cee3cdaff9 Instantiate GncOption::set_option for guile, initial types string and int.
5 years ago
John Ralls c5fac51a8b Change the type of OptionUIItem's m_ui_item from void* to GncOptionUIItem.
5 years ago
John Ralls 3296212aef Sketch out the rest of the option types.
5 years ago
John Ralls 0a13b4c518 Fix up the SWIG wrapper for GncOptionDBPtr.
5 years ago
John Ralls 4146251cc7 Add GncOptionUIItem manipulation to GncOptionDB.
5 years ago
John Ralls 6ccb9dbb9e Use a std::unique_ptr<GncOptionDB> instead of a raw ptr.
5 years ago
John Ralls 41ef2c5d44 Add OptionUIItem composition class to GncOption.
5 years ago
John Ralls 083e5b93df Replace the CRTP class GncOptionBase with direct calls in its former children.
5 years ago
John Ralls 2ee0edaa16 Use targets instead of variables for GncOption* tests.
5 years ago
John Ralls ade7fc8b6e Initial SWIG of GncOptionDB and Scheme tests.
5 years ago
John Ralls f3eee511e8 Add free functions to create a new GncOptionDB and to register options.
5 years ago
John Ralls 455d3c2d60 Add GncOptionDB class.
5 years ago
John Ralls 13b94d2370 Test integer options, calling get_value with wrong type.
5 years ago
John Ralls d88ec0dc1b Replace the gnc_make_foo_option free functions with a template ctor.
5 years ago
John Ralls 01dc70cc60 Add GncOption accessors for Classifier strings.
5 years ago
John Ralls b6fd844774 Wrap GncOptionValue/GncOptionValidatedValue in Boost::Variant.
5 years ago
John Ralls c0ba3e2706 [C++ Options] Begin Implementation for basic and validated options.
5 years ago
John Ralls c49b45d8f1 Finish the glib 2.67 fixes for CI tests.
5 years ago
Geert Janssens e9dfd0d9ea Still more fixes for Arch ci failure
5 years ago
Geert Janssens cb04365013 More fixes for Arch ci failure
5 years ago
John Ralls 7a7c26f87e Move glib and gtk includes out of extern C for tests.
5 years ago
Micha Lenk 9386b276e5 Make prototypes static for autoclear unit test
5 years ago
John Ralls c8c58bf349 Add test_autoclear_SOURCES to the dist list for inclusion in the tarball.
5 years ago
Christopher Lam 59ec912928 [modularise] (gnucash app-utils)
5 years ago
Cristian Klein 69789b2b93 [auto-tests] Stick to CodingStandard for member variables
6 years ago
Cristian Klein f26215feae [auto-tests] Fix misspelling
6 years ago
Cristian Klein e5378b2048 [auto-clear] Make test more future-proof with GoogleTest
6 years ago
Cristian Klein 982cf86deb [auto-clear] Fix test with googletest 1.8
6 years ago
Cristian Klein 9d4c0b05db [auto-clear] Improve #include style
6 years ago
Cristian Klein 1cf7defee8 [auto-clear] Address feedback
6 years ago
Cristian Klein 9bf550d38f [auto-clear] Include test for ambiguous cases
6 years ago
Cristian Klein 5cd777b673 [auto-clear] Fix test: Add xaccAccountBeginEdit / xaccAccountCommitEdit
6 years ago