Commit Graph

1253 Commits (ffc68664063d65c32378fbff370be4db7cf8fdb1)

Author SHA1 Message Date
John Ralls ffc6866406 Changes to accommodate moving guile engine bindings to bindings/guile.
5 years ago
John Ralls d2535fe21b KvpValue: Use boost::typeindex::type_id instead of buildtin typeid.
5 years ago
John Ralls 009219c63d Much less ugly and fragile.
5 years ago
John Ralls 276641ef15 Change parse of option input to generate a parse tree.
5 years ago
John Ralls 51a1430c24 Remove stray diagnostic.
5 years ago
John Ralls 76172af239 Implement saving and loading OptionDB items to/from scheme and
5 years ago
John Ralls 6ab5618b76 Set a 50-character limit on the saved size of option section and name.
5 years ago
John Ralls d7a2a0ffff Make a constant for std::numeric_limits<std::size_t>max().
5 years ago
John Ralls 826d75af16 Use istream::getline instead of std::getline for date option type parsing.
5 years ago
John Ralls c5294ed6b3 Fix missing-declaration errors in swig-gnc-optiondb-guile.cpp.
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 e583c84f4e Clean up comments for GncOptionDateValue.
5 years ago
John Ralls aaf6b14c67 Remove commented-out code.
5 years ago
John Ralls 1b00399b14 Remove GncOptionValue<std::Vector<GncGUID>>.
5 years ago
John Ralls 5a9c4ccaf8 Clean out copies of the option.scm comments used as a development guide.
5 years ago
John Ralls b95ea2c4aa Add Account-list options.
5 years ago
John Ralls 7183e7c43a Fix begin/end of quarter calculations.
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 39b7c9c74d Convert scm_from_value() to templates for stricter overload resolution.
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 d544f85256 Replace boost::variant and boost::optional with the C++17 std equivs.
5 years ago
John Ralls 694a15ed21 Extract SCM GncOptionDB::lookup_option 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 9cdcaf0da8 Remove GncOptionDB::set_selectable and convert set_option to a template.
5 years ago
John Ralls 935ce6db99 Move the SCM option value conversion from the GncOptionValue classes to GncOption.
5 years ago
John Ralls e51faff3e3 Throw an exception if one tries to set a GncOption with an unsupported type.
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 94628097e4 Use GncOptionUIType parameters in gnc_register_option functions.
5 years ago