Commit Graph

178 Commits (1890c6ccfb1fbfa6063bf34c8a2e406b6e41c9d5)

Author SHA1 Message Date
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
Cristian Klein 2faecb2074 [auto-clear] Avoid testing ambigous auto-clear
6 years ago
Cristian Klein a1806a2f94 [auto-clear] Fix model
6 years ago
Cristian Klein 51715e454c [auto-clear] Add tests
6 years ago
Geert Janssens abf29aa196 Drop the gnc-module wrapper around the test-engine library
6 years ago
Geert Janssens 06ff8a292d Use new keyword parameters for all calls to gnc_add_scheme_test_targets
6 years ago
Geert Janssens 301db9020d Merge branch 'maint'
6 years ago
Geert Janssens e79e82edcf CMake - remove parameter repetition in else() and endif() statements
6 years ago
Geert Janssens d52aa0a0dd app-utils - remove gnc-module boilerplate
6 years ago
Geert Janssens 4c77f7670e engine - remove gncmod boilerplate
6 years ago
Geert Janssens c00bf6bcdb app-utils - expose wrapped api directly from app-utils.scm
6 years ago
Geert Janssens d777128e6f app-utils - simplify and move gettext wrappers
6 years ago
Geert Janssens 02511401b7 bindings/guile cosmetic - rename source files for consistency
6 years ago
Geert Janssens 1c7f835f47 engine - move guile code to bindings/guile
6 years ago
John Ralls b8b33b9591 Revert "More conversions from pkg-config variables to imported targets."
7 years ago
John Ralls 1a9fcfefad More conversions from pkg-config variables to imported targets.
7 years ago
Christopher Lam 3d608efc22 [test-options] add to CMakeLists.txt
7 years ago
Christopher Lam d1fddf557c Modifications to consider module changes in master
7 years ago
Christopher Lam 5bd854c550 Merge branch 'maint'
7 years ago
Christopher Lam bd0cbbf931 [test-options] initial commit
7 years ago
Geert Janssens 53f59f7794 RptCleanup - Restructure installation of gnucash scm files
7 years ago
John Ralls 9ec5eab714 Merge branch 'maint'
7 years ago
Geert Janssens 15a35e6a3b Housekeeping - replace plenty of http links with https
7 years ago