Commit Graph

847 Commits (341f2102635c73858d2abba05ab0e0990c47ecaf)

Author SHA1 Message Date
John Ralls e3ab384504 [price-quotes] Log messages instead of writing them to std::streams.
4 years ago
John Ralls b8642e55d9 [price-quotes] Implement mock quote source.
4 years ago
John Ralls 4dd3922871 [price-quotes] Make wiggle test conditional on F::Q being installed.
4 years ago
John Ralls 784aca5a4c [price-quotes] Extract class GncQuoteSource.
4 years ago
John Ralls e9577b7996 [price-quotes] Basic wiggle test.
4 years ago
Geert Janssens 277f299ad6 GncQuotes - cleanups
4 years ago
Geert Janssens 585de5d134 GncQuotes - break actual interaction with Finance::Quote out into a separate function query_fq
4 years ago
Geert Janssens 70ab8a8a46 GncQuotes - drop parameterized constructor
4 years ago
Geert Janssens 4c2863966b GncQuotes - rename fetch_all to be an overload of fetch
4 years ago
Geert Janssens bf357315fd finance-quote-wrapper - implement check and fetch in one file via command line switches
4 years ago
Geert Janssens fbf9aecd25 Use GncQuotes in transfer dialog
4 years ago
Geert Janssens a00bce168c GncQuotes - cache default currency
4 years ago
Geert Janssens fcbe6cf10c Add code to parse json data returned by our F::Q wrapper
4 years ago
Geert Janssens 6ecc1ef73f GncQuotes - switch to Pimpl idiom
4 years ago
Geert Janssens 65ae46426b GncQuotes - add parameterized construction
4 years ago
Geert Janssens 3685e5de73 Factor out the async call to perl
4 years ago
Geert Janssens 6ce91d7f49 Drop the single quotes instance code for now
4 years ago
Geert Janssens 616a672d52 Rewrite boost::process call to properly capture both stdout and stderr
4 years ago
Geert Janssens a6771754d5 GncQuotes - start implementation of fetch/fetch_all
4 years ago
Geert Janssens 1d94887a0b Rewrite gnc_commodity_table_get_quotable_commodities as gnc_quotes_get_quotable_commodities
4 years ago
Geert Janssens 466db526b2 Move source files for GncQuotes to app-utils
4 years ago
John Ralls 283a5b7ce9 Fix dist, files moved
4 years ago
John Ralls d8417c3cfa Move gnc-euro.[ch] to engine and unit test it.
4 years ago
John Ralls 2774f8f88c Bug 798614 - Croatia to join the Euro
4 years ago
John Ralls 95361ad060 [options] Move gnc-options test to engine/test/CMakeLists.txt.
4 years ago
John Ralls 4ae17d12c7 [options] Move options from app-utils to engine.
4 years ago
John Ralls f24f29830b [options] Change std::cerr stream output to PWARN.
4 years ago
Christopher Lam 3e02859277 Merge branch 'maint'
4 years ago
Christopher Lam b7a3652de7 [date-utilities] avoid report crash if start>end date
4 years ago
John Ralls 087501d316 Bug 798262 - Scheduled transactions with blank amounts do not get created.
4 years ago
John Ralls 410db42df0 Test case where the template txn doesn't have a set currency.
4 years ago
John Ralls 229f6f5e85 Fix gdate adjustments.
4 years ago
Simon Arlott 4c1fc1d555 Bug 798262 - Add test case for basic scheduled transactions
4 years ago
Christopher Lam 6ba912ee0d Merge branch 'maint'
4 years ago
Christopher Lam de7a63082b [gnc-sx-instance-model] leaks: free temporal_state
4 years ago
Christopher Lam ad27be333e [gnc-sx-instance-model] prepend GList loops instead of append
4 years ago
John Ralls 8b07ac88cd [options] Add "key" to the register-option documentation blocks.
4 years ago
John Ralls e29ab5336f [options] Remove key and doc_string from gnc_register_query_option.
4 years ago
John Ralls 6faaf3b427 [options] Provide a const char* value flavor for register_commodity
4 years ago
John Ralls 1ff844c195 [options] Fix implementation of gnc_register_owner_option
4 years ago
John Ralls aa0b0921f4 [options] Add a function to check if an option is internal.
4 years ago
John Ralls da0eff2cac [options] Implement widget-changed callbacks.
4 years ago
John Ralls 552aa438ff [options] Implement gnc_register_internal_option.
4 years ago
John Ralls 0e9ed8cf0a [options] Provide float variants to gnc_register_plot_size_option.
4 years ago
John Ralls 0213787a2f [options] Enable registering an absolute date option.
4 years ago
John Ralls cf2870b71a [options] Change RelativeDate and Multichoice index type to uint16_t.
4 years ago
John Ralls 0b2d14ee72 Fix distribution for expressions target.
4 years ago
Christopher Lam b94440b16a Bug 798588 - sx scrubbing was using incorrect free function
4 years ago
Christopher Lam ea56d67797 [gnc-sx-instance-model.c] indent attributes properly
4 years ago
Christopher Lam bfa0fd1819 Bug 798588 - sx scrubbing was using incorrect free function
4 years ago
Christopher Lam f0ac8d69b2 [gnc-sx-instance-model.c] indent attributes properly
4 years ago
Christopher Lam 0b5a4cd298 Merge branch 'maint'
4 years ago
Christopher Lam 67a1b7a873 [gnc-sx-instance-model] free GHashTable keys when destroying
4 years ago
Christopher Lam ebf3439558 [gnc-sx-instance-model] free some GHashTable keys & Values
4 years ago
Christopher Lam 7c2a249511 [gnc-sx-instance-model.c] refactor Scrub function
4 years ago
Christopher Lam c16840b840 more leaks because qof_instance_get returns a new char*
4 years ago
John Ralls f4c27d4494 Move gnc_ui_account_get_tax_info_string to gnc-locale-tax.c
4 years ago
John Ralls 3e2f7bc66a Create separate shared library for expression parser and SX instance model.
4 years ago
John Ralls 47904a858e Fix distcheck in master.
4 years ago
John Ralls 1e6c679e71 Merge branch 'maint'
4 years ago
John Ralls 564d73a553 Bug 798531 - Selecting "Print" from the file menu on a report...
4 years ago
Christopher Lam a5cae6c5eb Don't export undefined functions
4 years ago
Robert Fewell ee7ed89b68 This partly fixes the currency and commodity combos
4 years ago
Robert Fewell db6a8f809b Tax Tables combo does not set the active one
4 years ago
Robert Fewell 0b67a91217 Fix the option GncOptionRangeValue
4 years ago
Robert Fewell 506eb38493 Update Chart Width/Height Plot setting
4 years ago
John Ralls 1a186b953e [C++options] Correct handling of multichoice scheme option types.
4 years ago
John Ralls a8e6a59bf8 [C++options] Fix Guile crash when restoring some reports.
4 years ago
Christopher Lam dc620d4b24 Merge branch 'maint'
4 years ago
Christopher Lam 394e0a4b71 [gnc-sx-instance-model.c] leak: don't strdup char* for xaccTransSetNotes
4 years ago
John Ralls 95487eb4a0 Merge branch 'maint'
4 years ago
luz paz 8adedc2248 Fix various typos
4 years ago
Robert Fewell ae220b86a4 [C++options] Fix Ubuntu test failure.
4 years ago
Robert Fewell 83373563c3 Counter formats stored in wrong place.
4 years ago
John Ralls 29bdd9b526 [C++options] Fix Ubuntu test failure.
4 years ago
John Ralls 1fddf70e21 [C++options] Fix previous month and previous quarter at the end of March
4 years ago
John Ralls abd1a0b3f1 Merge branch 'c++options'
4 years ago
John Ralls 109efe62b8 Rework default non-currency commodity namespace.
4 years ago
John Ralls 4fe83c3b32 [C++options] Remove GncOptionValue<SCM>.
4 years ago
John Ralls 278aa484d7 [C++options] Implement new GncOptionValue type GncOptionReportPlacement.
4 years ago
Christopher Lam cf1282501e Use original guile variable names changed in #1073
4 years ago
Christopher Lam 5993ebf4d4 Merge branch 'maint'
4 years ago
John Ralls 30e6c8ab11 [gnc-optiondb.i]Explicitly include array.
4 years ago
John Ralls 572cb6b1d1 Banish gnc_get_optiondb_from_dispatcher to gnc-report.cpp.
4 years ago
John Ralls e63baa6270 Merge Bob Fewell's 'rtl' into maint.
4 years ago
Robert Fewell f8fc796c95 Bug797501 - Currency symbols in Hebrew (RTL) language
4 years ago
John Ralls d4c3c30b1a Use GUIDs to represent QofInstances instead of pointers.
4 years ago
Christopher Lam 193a7aae5d Merge branch 'maint'
4 years ago
Frank H. Ellenberger 09296dfb96 Drop commodity-table.scm, no longer required after adjusting qif-dialog-utils
4 years ago
John Ralls c1c75e8f81 Revert "Revert "Merge Stefan Bayer's 'SepaInternalTransfer' into maint.""
4 years ago
Christopher Lam 5603acba31 Merge branch 'maint'
4 years ago
John Ralls a7a643f7f2 Store option commodities and namespace and mnemonic instead of pointer.
4 years ago
John Ralls 65bd860249 Fix relative_date_to_time64 calculations.
4 years ago
John Ralls 6841e5b5c8 Replace GncOptionValue<const QofInstance*> with GncOptionQofInstanceValue.
4 years ago
John Ralls 11225d9741 c++options: Remove gnc:options-data
4 years ago
John Ralls 16dc15964c c++options: Remove the callback registration functions.
4 years ago
John Ralls 759376eb13 c++options: Fix multicolumn report
4 years ago
John Ralls 18edc17541 c++options remove stray debugging comment.
4 years ago
John Ralls b5d0c42505 c++options: Put copyright and FSF header comment on gnc-optiondb.i.
4 years ago
John Ralls a700701cd3 c++options: Remove three unused test functions.
4 years ago
John Ralls eb0bd4f998 c++options: Remove unneeded C++20 header and resolve ambiguous call.
4 years ago
John Ralls a3f50586df c++options: More thorough testing of scheme serialization.
4 years ago
John Ralls 6cd88c230c c++options: Create bool or string internal options when possible.
4 years ago
John Ralls e9b850cca5 c++options: Correct Scheme serialization of type bool.
4 years ago
John Ralls 66f9fc81c7 c++options: Implement serialization for GncOwner.
4 years ago
John Ralls 0ce841d4ce c++options Fix Scheme bindings for QofQuery options.
4 years ago
John Ralls 216b483e26 c++options SCM bindings Rewrite save_scm_value to branch on type.
4 years ago
Kevin M. Buckley 1e22632687 Bug 798382 - Typo corrections in comments
4 years ago
John Ralls 947c061989 C++options: Create QofQueryValue trait.
4 years ago
John Ralls f26014a04e c++options: QofInstanceValue: Protect against crashes when m_value is nullptr.
4 years ago
John Ralls 95b973f792 Bug 798352 - Decimal Precision when Entering Mutual Fund Transaction
4 years ago
Christopher Lam 33b6dfc6ce [options.scm] addendum ca6604c93 gnc:make-budget-option
4 years ago
Christopher Lam ca6604c93c [options.scm] Addon previous commit... need to initialize with guid
4 years ago
Christopher Lam 5a812ca1eb [options.scm] gnc:make-budget-option stores guid instead of object
4 years ago
Christopher Lam 91b1d291a5 [3/3][gnc-ui-util.c] Remove unused functions
4 years ago
John Ralls 269249378f c++options fix setting account-selection widget from option.
4 years ago
John Ralls 6f93a68bad c++options: Serialize and deserialize to strings instead of streams.
4 years ago
John Ralls dd7feb9988 options.scm: Remove second license comment.
5 years ago
John Ralls 74fd716afb Clarify gnc_relative_date_to_time64 helper functions.
5 years ago
John Ralls f6c9e63e3d Fix PR comments so far.
5 years ago
John Ralls cf5da9fffd Resolve merge conflicts.
5 years ago
John Ralls 96b09ded9f Doxygen documentation for new options classes.
5 years ago
John Ralls 00a982d97d Use Scheme to generate and parse saved option files.
5 years ago
Christopher Lam 984d816a58 Merge branch 'maint'
5 years ago
Christopher Lam f813f7cd14 [gnc-autoclear] Move autoclear algorithm into gnome-utils
5 years ago
Geert Janssens bdb06479e8 GSettings - fix GObject warning when old prefs-version is unset
5 years ago
Geert Janssens 09b3ce2382 Revert "Add structure to map migrated preferences to old ones"
5 years ago
Geert Janssens 806d0b3157 Revert "GSettings - make most of the api private"
5 years ago
Geert Janssens 1d4673ed2a Revert "GSettings - rework internal helper functions to use more C++"
5 years ago
Geert Janssens 24fa289952 GSettings - rework internal helper functions to use more C++
5 years ago
Geert Janssens 26b2d7ca78 GSettings - make most of the api private
5 years ago
Geert Janssens c6103a5c17 Add structure to map migrated preferences to old ones
5 years ago
Geert Janssens e64bcfe620 Merge branch 'maint'
5 years ago
Geert Janssens 9a465fc359 GSettings - add 'deprecate' and 'obsolete' conversions for user preferences
5 years ago
Geert Janssens 64576f7d27 GSettings - widen scope from 'migration' to 'transformation'
5 years ago
John Ralls 29e7b07ed3 Remove superflous schema_source left over from pasting.
5 years ago
John Ralls 8bfa5a63f2 [gsettings] Avoid crash from settings schema not being registered.
5 years ago
Geert Janssens 2a7566cc40 Win32 - drop conditional code never reached
5 years ago
John Ralls 67191203ae Merge branch 'maint'
5 years ago
Geert Janssens 8ea52ae212 GSettings - run data model transations while setting up
5 years ago
Geert Janssens f1802b6fdf GSettings Upgrade - add code to migrate settings
5 years ago
Geert Janssens f21c7b6e90 GSettings - define old prefix and check settings for the presence of both prefixes while normalizing
5 years ago
Geert Janssens a203c5b2d5 GSettings - drop logic to relocate our settings
5 years ago
Geert Janssens d1113a4534 GSettings - build as cpp
5 years ago
Geert Janssens 02fbf217f6 GSettings Upgrade - change schema prefix from org.gnucash to org.gnucash.GnuCash
5 years ago
Geert Janssens 6674b1bb6b Cleanup - minimal glib=2.56.1 - drop all conditionals on older versions
5 years ago
John Ralls 74d0630867 Bug 798237 - Logging during XML file loading degrades performance...
5 years ago
Christopher Lam 017ab06939 Merge branch 'maint'
5 years ago
John Ralls cd0d50aac1 Deprecate date options with a time of day setting.
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 a487ca3f98 Improve template conditional readability with custom traits values.
5 years ago
John Ralls 62ab148a3e Output a pair when writing relative date values to scheme file.
5 years ago
John Ralls b3f96701a0 GncOptionAccountListValue: Make setter param cv match template.
5 years ago
John Ralls b361582cf2 Ensure option UI is sorted: Tabs by names, items by keys.
5 years ago
John Ralls 10381d42e0 Fix color option handling.
5 years ago
John Ralls 97a317b50c Ensure that alpha values in colors aren't passed to html.
5 years ago
John Ralls 3d1812aacd Explicitly cast a value to the decltype of get_value().
5 years ago
John Ralls 474bc360f4 Improve converting vectors to SCM lists.
5 years ago
John Ralls 1cd2cf211c Specialize QofInstance* options set_value, catch validation exceptions.
5 years ago
John Ralls 852b2ffc2e Handle bare currency mnemonics, catch invalid GUID string exceptions.
5 years ago
John Ralls e43ff93279 Fix some overly-long lines.
5 years ago
John Ralls 1af97ebb9a Implement registering/unregistering/calling change callbacks.
5 years ago
John Ralls 86da12d844 Use RGB instead of RGBA for color set for color
5 years ago
Christopher Lam eafc290034 Merge branch 'maint'
5 years ago
John Ralls 86d7637160 Handle GncOptionMultichoiceValue::set_value parameters
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 99eaa81a28 Fix parse of commodity namespace from scheme istream.
5 years ago
Christopher Lam a5edacf0fc [options.scm] Rename option name to "Levels of Subaccounts"
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 0f02236ebe Fix gcc warnings.
5 years ago
John Ralls 18997db720 Separate GncOptionAccountValue into GncOptionAccountListValue and GncOptionAccountSelValue.
5 years ago
John Ralls dd8e8b4efa Evaluate the getter for making invoice options.
5 years ago
John Ralls 05ac056449 Make separate option type for GncOwner.
5 years ago
John Ralls 9d150b1ae7 Always set budget option to default budget.
5 years ago
John Ralls f5d8d508ee Create the GncOptionVariant's GncOptionValue in place.
5 years ago
John Ralls c034a26ae7 Protect stored scheme option values from the garbage collector.
5 years ago
John Ralls 67dab6b320 Remove business-options.scm and business-prefs.scm.
5 years ago
John Ralls a1af86ed40 Implement gnc:generate-restore-forms, gnc-optiondb-save-to-scheme.
5 years ago
John Ralls c34986dad4 Change gnc:new-options to return a fake dispatch function.
5 years ago
John Ralls 3f89d063eb Evaluate default function in gnc:make-account-sel-limited-option.
5 years ago
John Ralls 6eb5dfed51 make-internal fail if there is a ui_item, not if there isn't.
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 bbe74aa086 Remove tooltips from multichoice option values.
5 years ago
John Ralls 7c6ecafd61 Rewrite options.scm to wrap options.hpp functions where needed.
5 years ago
John Ralls 52ef53a405 Implement multichoice selection options.
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 be322a0d7c Group GncOptionMultChoiceValue::set_multiple with set_default_multiple.
5 years ago
John Ralls 27670a6e98 Make the 'pixel and 'percent SCM symbols C++ constants.
5 years ago
John Ralls a94f69d6e0 Pretty up some SFINAE formatting for easier reading.
5 years ago
John Ralls 0f8446a1bb Remove some no longer needed diagnostics.
5 years ago
John Ralls f66a918be4 Implement GncOptionValue<const QofQuery*>
5 years ago
John Ralls 0a8f66ee90 Fold GncOptionGncOwnerValue into GncOptionValue<const QofQuery*>.
5 years ago
John Ralls 418eb06620 Remove GncOptionDateValue::set_default_value(size_t)
5 years ago
John Ralls 7d0cdf7c94 Handle #f input to option typemap(in)s.
5 years ago