Commit Graph

73 Commits (10381d42e078658d685ac3ccdf994fe9f1bc2650)

Author SHA1 Message Date
John Ralls 1af97ebb9a Implement registering/unregistering/calling change callbacks.
5 years ago
John Ralls b6622a386b Pick up option aliases recently added in maint.
5 years ago
John Ralls a97b3e0c6d Don't let C code destroy the ODB, it's owned by Guile.
5 years ago
John Ralls a2e1a3e1b8 Extract the GncOptionDB* from the Scheme dispatch function closure.
5 years ago
John Ralls 18997db720 Separate GncOptionAccountValue into GncOptionAccountListValue and GncOptionAccountSelValue.
5 years ago
John Ralls 05ac056449 Make separate option type for GncOwner.
5 years ago
John Ralls 29a2365fdf Avoid infinite recursion when the alias changes only the section name.
5 years ago
John Ralls 7885353fe3 Bring option aliases up to date.
5 years ago
John Ralls 0f8446a1bb Remove some no longer needed diagnostics.
5 years ago
John Ralls 0a8f66ee90 Fold GncOptionGncOwnerValue into GncOptionValue<const QofQuery*>.
5 years ago
John Ralls 534a7c2893 GncOptionMultichoiceValue allow setting a default selection.
5 years ago
John Ralls a21f329b1e Use 100% instead of 20000 px for default Pixmap size.
5 years ago
John Ralls 8c2a8edbed Implement gnc_option_db_set_string_value and gnc_optiondb_lookup_string_value.
5 years ago
John Ralls 86102e1be7 Return SCM_BOOL_F instead of nullptr to Scheme optiondb-lookup.
5 years ago
John Ralls 08d1eebba2 Use GUID strings instead of QofInstance* for scheme value of QofInstance.
5 years ago
John Ralls 43f4bcb610 Make GncOptionUIType an enum class.
5 years ago
John Ralls 7fa6778b4b Add a register_option overload to GncOptionDB
5 years ago
John Ralls cb7270cafe Fix myriad gcc10 complaints.
5 years ago
John Ralls 76b0001cbe Remove option-util.
5 years ago
John Ralls ea835b31b7 Provide GncOptionPtr& overloads for register-option functions.
5 years ago
John Ralls 472814d315 Change the normal internal option ValueType to SCM.
5 years ago
John Ralls 7022f5222d Revert gnc_option_db_lookup|set_glist_value to ...scm_value.
5 years ago
John Ralls 8c77ce967b Implement and test obsolete option name aliasing.
5 years ago
John Ralls 4f3fd665cf Fix counter and counter_format storage in KVP.
5 years ago
John Ralls b19f3d383c Protect some exceptions from being passed to Swig.
5 years ago
John Ralls d1cfd62f31 Fix loading text fields from KVP into options.
5 years ago
John Ralls 5f9c66aa61 Save all options to KVP if clear_options is true.
5 years ago
John Ralls 245a8fccc7 Correctly select UI types for GUID output.
5 years ago
John Ralls c751e56184 Fix fail to load or save number-range values in KVP.
5 years ago
John Ralls 010ab1a965 Fix free of unallocated ptr crash.
5 years ago
John Ralls 4a4e5d36f8 Enable gnc_register_owner_option to handle the three types that GncOwner aliases.
5 years ago
John Ralls d8f83d6ee6 Boolean simple won't work if its UI type is INTERNAL.
5 years ago
John Ralls 3514725a97 Make gnc_register_number_range_option a template on ValueType.
5 years ago
John Ralls e78c012699 Fill in the book options.
5 years ago
John Ralls ae79fd016d More skeletons
5 years ago
John Ralls 28438e3126 Rewire gnome and gnome-utils to use GncOptionDB.
5 years ago
John Ralls 41e59df71f Remove unused and un-needed function.
5 years ago
John Ralls 1eef796f09 Add some skeleton functions to make the option-using code in gnucash/gnome-utils and gnucash/gnome happy.
5 years ago
John Ralls 99103ffd10 Change gnc-register-option functions to take GncOptionDB*.
5 years ago
John Ralls 25b717d47a Add a rudimentary C API for GncOptionDB.
5 years ago
John Ralls f9e136dbac Get the spelling of GncMultichoiceOptionEntry consistent.
5 years ago
John Ralls eb6e31f803 dialog-options: Change signature of gnc_option_get_gtk_widget()
5 years ago
John Ralls 3b4785e744 Convert GncOptionSection from a std::pair to a class.
5 years ago
John Ralls c63db36a60 Rename string_equal_charptr to operator==(const std::string&, const char*)
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 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