Commit Graph

51 Commits (b3e3eb316620f2f97232f1b94de19c92973b531b)

Author SHA1 Message Date
John Ralls df878c6a3d Merge Maarten Bosmans's 'memleak-fixes' into stable.
3 years ago
Maarten Bosmans 6be682b645 Store allocated temporaries in a variable so they can be freed
3 years ago
John Ralls 2f471e65a7 Bug 798802 - Online Price quote - Stocks not working GNU 5.0 Windows Bis
3 years ago
John Ralls 0d598d51ed Fix Finance::Quote use on Win32.
3 years ago
John Ralls a587dfff2c Bug 798802 - Online Price quote - Stocks not working GNU 5.0 Windows
3 years ago
John Ralls 89f41a305c Merge new potfile reflecting string changes.
3 years ago
John Ralls 576fc9b52c Fix quotes on Windows.
3 years ago
John Ralls 0c3e85404d Avoid crash from trying to free an unallocated char*.
3 years ago
Christopher Lam 97f0653238 [gnc-quotes] g_free a char* from gnc_prefs_get_string
3 years ago
Richard Cohen 8a20bcadb0 [-Wunused-variable] - remove unused translatable string
3 years ago
Richard Cohen 0dd406de10 [-Wunused-lambda-capture] (clang) - remove
3 years ago
Richard Cohen d8f45f2443 Use const references for for-loops to avoid unnecessary copies
3 years ago
Richard Cohen 1cec0cb3f3 Use internal extern "C" { ... } for C++
3 years ago
richardcohen 8044f79f75
Silence the boost (<1.76) warning message
3 years ago
John Ralls 14a0ea4ed3 [price-quotes] Sort and format source list.
4 years ago
John Ralls 1a906b00aa [price-quotes] Enable gnucash-cli to retrieve preferences on macOS.
4 years ago
John Ralls 2767587874 [price-quotes] Fix setting alphavantage API key.
4 years ago
John Ralls 7f2a09a69f [price-quotes] Handle short error strings from finance-quote-wrapper.
4 years ago
John Ralls 50c72b4f88 [price-quotes] Remove m_ready and usable() from GncQuoteSource.
4 years ago
John Ralls 7d93774dd2 [price-quotes] Throw instead of returning if there aren't any commodities to quote.
4 years ago
John Ralls 81d4ea9550 [price-quotes] Remove F::Q version format check.
4 years ago
John Ralls c78fe37ff7 [price-quotes] General typo fixes and code cleanup.
4 years ago
John Ralls 70c9d4c9e3 [price-quotes] Fix version retrieval.
4 years ago
John Ralls e817091de1 [price-quotes] Warn only once if the AlphaVantage Key isn't set.
4 years ago
John Ralls d97ea77762 [price quotes] Add report member function to display quote information to stdout.
4 years ago
John Ralls 6ffb0bb633 [price-quotes] Report quote fetch failures to the user.
4 years ago
John Ralls 4c47e91180 [price-quotes] Implement error codes for currency and quote failures.
4 years ago
John Ralls b5bc6463a3 [price-quotes] Rework date-time handling.
4 years ago
John Ralls 19064093d2 [price-quotes] Remove m_comm_vec and m_fq_answer.
4 years ago
John Ralls 734fb6ce2a [price-quotes] Switch error handling to exceptions.
4 years ago
John Ralls 2b87066687 [price-quotes] Extract some static functions.
4 years ago
John Ralls a82c72cfb9 [price-quotes] Remove level of indirection when parsing quote data.
4 years ago
John Ralls 37dfab7f31 [price-quotes] Convert long quote parsing lambda to a regular function.
4 years ago
John Ralls dd8316714b [price-quotes] Extract function GncQuotesImpl::comm_vec_to_json_string.
4 years ago
John Ralls e3ab384504 [price-quotes] Log messages instead of writing them to std::streams.
4 years ago
John Ralls 784aca5a4c [price-quotes] Extract class GncQuoteSource.
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 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