Commit Graph

1174 Commits (6cd8e4e4584cc2a3423a64dd8d5d62c32a8c5b89)

Author SHA1 Message Date
Richard Cohen a36844720d Valgrind: fix "definitely lost" memory from get_random_string() - test-vendor
3 years ago
Richard Cohen 30b47d1669 Valgrind: fix "definitely lost" memory from get_random_string() - test-job
3 years ago
Richard Cohen 49240e9b5a Valgrind: fix "definitely lost" memory from get_random_string() - test-employee
3 years ago
Richard Cohen 2f0c045187 Valgrind: fix "definitely lost" memory from get_random_string() - test-customer
3 years ago
Richard Cohen 394823a734 Valgrind: fix "definitely lost" memory from get_random_string() - test-commodities
3 years ago
Richard Cohen 47f76fcf03 Valgrind: fix "definitely lost" memory from get_random_string() - test-address
3 years ago
Richard Cohen 69df6ea57d Valgrind: fix "definitely lost" memory in test - test-qofquerycore
3 years ago
Richard Cohen f1e889dbcb Valgrind: fix "definitely lost" memory in test - test-lots
3 years ago
John Ralls 741ce55b7a Merge Richard Cohen's 'use-g-assert-true-in-tests' into stable.
3 years ago
Richard Cohen 66c5e398ae Change g_assert() -> g_assert_true() in tests
3 years ago
Christopher Lam fde47d1c7f Merge Simon Arlott branch 'gnc-numeric-to-string-leaks'into stable #1695
3 years ago
Christopher Lam d326cca065 Bug 798998 - Job Report Not Working
3 years ago
John Ralls a222efbdf3 GncOption debug messages should be in engine not app-utils.
3 years ago
Simon Arlott 663dfadb90
Fix memory leaks logging with gnc_numeric_to_string()
3 years ago
Simon Arlott dbf8f93be4
Fix assumption in gnc_num_dbg_to_string()
3 years ago
Simon Arlott 069eb61a3f
Avoid the potential negative left shift in test_xaccAccountType_Compatibility()
3 years ago
John Ralls e98d3534ce Bug 798901 - Wrong value for very small prices from Finance::Quote.
3 years ago
John Ralls 4c67cc09a6 Merge Richard Cohen's 'valgrind-test-fixes' into stable.
3 years ago
Richard Cohen fa0824e903 Valgrind: fix "Invalid read" - test-vendor
3 years ago
Richard Cohen 2168c6f301 Valgrind: fix "Invalid read" - test-employee
3 years ago
Richard Cohen a5513b45d5 Valgrind: fix "Invalid read" - test-customer
3 years ago
Richard Cohen a1893ef51b Valgrind: fix "Invalid read" - test-kvp-value
3 years ago
Richard Cohen 46e6477f88 Refactor: use common code to free the list of guids
3 years ago
Richard Cohen f1a3f2a8c8 Valgrind: fix "Mismatched free/delete" - test-scm-query etc.
3 years ago
John Ralls b041a76690 [c++options]Dirty and changed are different.
3 years ago
Vincent Dawans b514245c22 Bug 798952 - Unable to set day threshold or counters in properties
3 years ago
Richard Cohen e5a26e3c77 Valgrind: fix "Mismatched free/delete" - test-query
3 years ago
Richard Cohen 4018ff1722 Valgrind: fix "Mismatched free/delete" - test-kvp-frames etc.
3 years ago
John Ralls 241aa1d2eb Merge Richard Cohen's 'remove-unneeded-memcpy' into stable.
3 years ago
John Ralls aae568eca6 Add comment explaining "option.template get_value<int>()".
3 years ago
John Ralls 4dc8a7ee0d Bug 798952 - Unable to set day threshold or counters in properties
3 years ago
Richard Cohen 3abc9a5558 Refactor: Remove some unnecessary uses of memcpy
3 years ago
Christopher Lam 4a60e01fcd bugfix xaccTransGetTxnType: avoid returning TXN_TYPE_LINK incorrectly
3 years ago
John Ralls 0d1ba1ebe7 Merge Richard Cohen's 'y2038-fixes' into stable.
3 years ago
Christopher Lam 8ec6a4cb12 [Scrub.c] 8628ca8715 rewritten to avoid QofQuery
3 years ago
Richard Cohen 7d26b8c05f Fail the test if still using 32bit time_t in 2038
3 years ago
Richard Cohen d63248dad2 Update Y2038 comments
3 years ago
John Ralls a5ff19b62a Merge Richard Cohen's 'fix-incorrect-logging-after-fallthrough' into stable.
3 years ago
Richard Cohen 6e5c525f77 Use gnc_time() instead of time()
3 years ago
Richard Cohen fde90c4c99 Restore test-gnc-option
3 years ago
Richard Cohen a0fd9af394 Fix incorrect logging after switch fallthrough
3 years ago
Christopher Lam ccc75cfc88 Merge branch 'scrub-optimize' into stable
3 years ago
Christopher Lam 81902ba8bb [scrub.c] xaccTransScrubSplits calls Begin/Commit only if required
3 years ago
Christopher Lam 872e20c555 move xaccTransScrubSplits to Scrub.c
3 years ago
Christopher Lam 9047156017 [Scrub.c] refactor xaccAccountTreeScrubOrphans
3 years ago
Christopher Lam 8628ca8715 [Scrub.c] refactor xaccAccountTreeScrubImbalance
3 years ago
Christopher Lam d214b2f05d Merge Vincent Dawans' branch 'bug798879' into stable #1617
3 years ago
Vincent Dawans 1c04e744d3 [trep-engine.scm] Rename "Totals" option to "Grand Total"
3 years ago
John Ralls 6111184c73 Ensure incorrectly coded counter KVP is read correctly.
3 years ago
John Ralls 7d5663899c Bug 798930 - invoices wont sequence to the next number
3 years ago
John Ralls 3d30e5978a Merge Richard Cohen's 'define-boxed' into stable.
3 years ago
Richard Cohen ae9304efb0 Remove unused boxed type gnc_value_list
3 years ago
Richard Cohen f9efbf86c6 Remove unused Qofbook::ab-templates property
3 years ago
Mike Alexander 6bdaa161eb Redo 71afa3e0 and 71afa3e0 so powten(max_leg_digits) is 1e18
3 years ago
Richard Cohen eb2d5df778 Refactor: DEFINE_BOXED GncGUID
3 years ago
Richard Cohen c514f61a7a Refactor: DEFINE_BOXED Time64
3 years ago
Richard Cohen 14f2efcfb7 Refactor: DEFINE_BOXED gnc_numeric
3 years ago
John Ralls bba49a6d09 Fix test-gnc-euro failure.
3 years ago
Mike Alexander 71afa3e0fc Make the GncNumeric string constructtor work for long decimal numbers.
3 years ago
John Ralls 8ccc6da87e Merge Richard Cohen's 'fix-test-engine-crash' into stable.
3 years ago
John Ralls 26162da450 Merge Richard Cohen's 'cleanup-build' into stable.
3 years ago
Richard Cohen 81fba56bbb Initialise guids in test-engine-kvp-properties.c
3 years ago
Richard Cohen bed43c7f3b Fix potential crash in test-engine
3 years ago
Richard Cohen dc62959553 Fix crash in test-engine on Arch
3 years ago
Richard Cohen 80e9d9c35d scanf supports %lld since C++11, C99
3 years ago
Richard Cohen 3957272ef0 Fix some typos in comments
3 years ago
John Ralls bb423e4484 Merge CrfzdPQM6's 'b_betterCurrencyBudgetReporting' into stable.
3 years ago
Daniel Johnson 04b0317119 Demonstrate fx handling in budget report
3 years ago
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
Christopher Lam 1a7fcb69c0 [gnc-features.cpp] remove_if requires <algorithm>
3 years ago
John Ralls 8481f062d4 Create obsolete features list with first member book_currency.
3 years ago
John Ralls 0d175dce12 Refactor gnc-features.
3 years ago
John Ralls e8c80f2f5c Restore existence, but not implementation, of GNC_FEATURE_BOOK_CURRENCY.
3 years ago
Muhammadyusuf 02e24ccf96
edit: use &apos; instead of ` symbol
3 years ago
Muhammadyusuf dca596ac84
edit: Fix local symbol of uzbek sum
3 years ago
Vincent Dawans 761d7f29a5 Bug 765920 - Running balance not accurate when sorted different ways
3 years ago
John Ralls 4a5b897d89 Bug 798863 - Crash on clicking Settings button second time
3 years ago
John Ralls f4f481fe38 Bug 798812 - crashes after I open a customer report and select…
3 years ago
Robert Fewell 0d84506a5e Bug 798851 - Account Balance 'include subaccounts' not saved
3 years ago
Maarten Bosmans 0d86be6d2a [test] Properly destroy resources on end of tests
3 years ago
Maarten Bosmans ed3fe00880 [test] Use test fixture to initialize and destroy resources
3 years ago
Maarten Bosmans 35aeed45ec [engine] Remove two replace functions from KvpValue
3 years ago
Richard Cohen 6ba5bb326a Fix dereference of expired temporaries.
3 years ago
Richard Cohen 9fa2a48fe1 Fix build on gcc-8 & 9.
3 years ago
John Ralls 00c560d8f5 Move operator==(const GncGUID&, const GncGUID&) to guid.[ch]pp.
3 years ago
John Ralls 352ab8a0e5 Merge Richard Cohen's 'minor-options-fixes' into master.
3 years ago
Richard Cohen 24f52d9b17 Remove incorrect operator!= for GncItem
3 years ago
Richard Cohen b5f3f99035 Fix incorrect use of remove_if()
3 years ago
John Ralls b4b8431984 Bug 798778 - GnuCashquits abruptly when attempting to edit options…
3 years ago
John Ralls a44b3664e2 [c++options] Implement GncOptionGncOwnerValue class.
3 years ago
John Ralls 8db8105850 [c++options] Warn when an option variant type's set_value isn't found.
3 years ago
John Ralls 83829e6513 Merge branch 'maint'
3 years ago
John Ralls 1020bde89c Fix crashes in test-engine on Arch Linux.
3 years ago
Geert Janssens d75ab275f1 Eliminate gnc-csv-account-map.[ch]
3 years ago
Richard Cohen 329a2f7d42 Guard against some possible null pointer dereferences
3 years ago
John Ralls cdb674ebf1 [c++options]Really fix the gnc_option_db_lookup_string_value leak
3 years ago
John Ralls 92071e8844 [c++options] Fix leak.
3 years ago
John Ralls f735c64cac Merge Richard Cohen's 'extern-c-part2' into master.
3 years ago
Richard Cohen 7b47c07f8e Don't use extern "C" around #includes
3 years ago
John Ralls bbfa378783 Don't crash and do pass tests.
3 years ago
John Ralls af02dae286 Fixups for merging into master instead of maint.
3 years ago
John Ralls 1eecb9f5c0 [c++ options] Fix locale dependency in test-gnc-option-scheme-output.
3 years ago
Christopher Lam 76014f18a0 [account.cpp] don't cache char* [fails]
3 years ago
Christopher Lam 3d381eb6fd [gnc-lot] don't cache char*
3 years ago
Christopher Lam 50f998fad8 [gncInvoice] don't cache char*
3 years ago
Christopher Lam c9dc71978b [gnc-commodity] don't cache char*
3 years ago
Christopher Lam 57fcaabd8f [Split.c] don't cache char*
3 years ago
John Ralls 675d894128 Merge Richard Cohen's 'cleanup-options' into master.
3 years ago
John Ralls ca73b00039 Merge Richard Cohen's 'cleanup-boost' into master.
3 years ago
John Ralls 3d5e27982f Merge branch 'maint'
3 years ago
John Ralls 7f0353adc4 Fix a missed g_value_dup_string and some no longer used variables.
3 years ago
John Ralls 8a7c539258 Bug 798748 - Transaction Notes field's value does not appear in...
3 years ago
John Ralls ddc3f28899 [kvp] Use static strings and boxed in gvalue_from_kvp_value.
3 years ago
Richard Cohen 9f06859390 Remove references to old boost versions
3 years ago
Richard Cohen 3d995de2ab Refactor: use default GncOptionValue copy constructor
3 years ago
Richard Cohen 1b0af4246a Refactor: remove extra template parameter from member functions
3 years ago
Richard Cohen 87c52f53fa Update some references to hello-world.scm
3 years ago
Richard Cohen ec169e6e24 Fix some non-translatable typos
3 years ago
John Ralls 6ab7b16d62 [c++options] Restore the ability to set plot sizes in pixels.
3 years ago
Geert Janssens 549c93e005 Fix test for import-backend
3 years ago
Richard Cohen bddb4468fa Import GLIB2 as a target, and use it to simplify the CMakeLists
3 years ago
Robert Fewell ec7cc27d6d Add tests for default invoice report book property
3 years ago
Robert Fewell 76f0e3a97e Add some PWARN messages to the default invoice report
3 years ago
Richard Cohen 9c6ad222a9 [-Wunused-function] - remove
3 years ago
Richard Cohen 0dd406de10 [-Wunused-lambda-capture] (clang) - remove
3 years ago
Richard Cohen d4dfe4e279 [-Wunused-local-typedef] - remove
3 years ago
Richard Cohen 0798bce2a6 [-Wunused-value] - remove
3 years ago
Richard Cohen 1c6679720b Use some unused variables
3 years ago
Richard Cohen 78ec20515b Remove some unused variables - and the initialization
3 years ago
Richard Cohen c819b03a17 Remove some unused variables - leave the side effect
3 years ago
Richard Cohen ea2d3be217 Remove some unused variables with obviously no side effects
3 years ago
Robert Fewell 45a07463fb Change max timeout to 20 seconds for default invoice report
3 years ago
Geert Janssens 60209a766f Merge branch 'csv_import'
3 years ago
Geert Janssens 2d8bb6f62f Bug 796955 - Import CSV - Single-line two-currency transactions can't be imported
3 years ago
Geert Janssens 99506d331a Reduce GncImportMatchMap to just the account
3 years ago
Geert Janssens 51706f289c Minor corrections in comments
3 years ago
John Ralls 7bb14b9caa Merge Richard Cohen's 'use-reference-for-loop' into master
3 years ago
Robert Fewell 07f3f536cc Allow to select saved report on print invoice button
3 years ago
Robert Fewell 019214f1c2 Bug753307 - Custom Report be selectable as default Report for Printing
3 years ago
Richard Cohen d8f45f2443 Use const references for for-loops to avoid unnecessary copies
3 years ago
Christopher Lam 119356752f Merge branch 'maint'
3 years ago
Geert Janssens 894f8241e1 Revisit invoice payment in multi-currency context
3 years ago
luzpaz 67ab9e90d2 Fix some typos
3 years ago
Christopher Lam 17820ec261 Merge branch 'maint'
3 years ago
John Ralls f4c6d65395 Merge Bob Fewell's 'nofree' into maint.
3 years ago
John Ralls f6919e60a7 Merge Richard Cohen's 'cleanup' into master.
3 years ago
John Ralls 46f9fb01c9 Simplify gnc_commodity equality and compare functions.
3 years ago
Richard Cohen 6927535a0a Remove unused test function get_object_is_initialized in qofobject.cpp
3 years ago
Richard Cohen e83c91050c Remove unneeded dummy.cpp
3 years ago
Richard Cohen d6ac56ce5f Re-enable -Waddress - gncInvoiceLookup etc. are now inline functions, not macros
3 years ago
Richard Cohen 3360a6d13b Remove extra semicolons
3 years ago
John Ralls 046e4a156e Silence Clang deprecation warnings about sprintf.
3 years ago
John Ralls dd2497416c Merge Richard Cohen's 'internal-extern-c' into master.
3 years ago
John Ralls 60c06debce [c++options] Don't crash when find_option returns nullopt.
3 years ago
Richard Cohen 1cec0cb3f3 Use internal extern "C" { ... } for C++
3 years ago
Richard Cohen 19bbde7000 Fix some typos
3 years ago
John Ralls 9a1a90d8d0 Merge branch 'maint'
3 years ago
richardcohen f3cc223f5f Fix some bad code formatting
3 years ago
Christopher Lam fd007a0af1 Merge branch 'maint'
3 years ago
Robert Fewell 6df866f876 Add tests for the reconcile account functions
3 years ago
Robert Fewell fd37ee997d Fix getting xaccAccountGetReconcilePostponeBalance
3 years ago
John Ralls fb9947b7b6 Rename GncDateTime's ymd to gnc_ymd to avoid a name conflict with Carbon.
3 years ago
Christopher Lam c65b36490a Merge branch 'master-progress'
3 years ago
Frank H. Ellenberger 506a1b3c5e Merge branch 'maint'
3 years ago
John Ralls b922cfd78d Bug 798679 - Unicode normalization should be used for comparison but not stored.
3 years ago
John Ralls 31d79e3004 Merge Bob Fewell's 'bug798673' into master.
3 years ago
Christopher Lam 259881f940 [gnc-optiondb] add some more renamed options
3 years ago
John Ralls ab13b01f8c Replace ... with … in all translatable strings.
3 years ago
John Ralls b8c0673526 Merge branch 'maint'
3 years ago
Robert Fewell 3be25ff0a9 Add some tests for the account functions
3 years ago
Robert Fewell a15c6f81b3 Allow the balances of sub accounts to be used in limits
3 years ago
John Ralls 73a134730f Bug 798680 - Not able to match a reverse transaction of a...
3 years ago
Robert Fewell 518ecfe041 Add some functions that would allow adding a balance limit to accounts
3 years ago
Christopher Lam bfc325f63c Merge branch 'maint'
3 years ago
Marco Scardovi 6fe2028bca
Fix test
3 years ago
Robert Fewell 59d95a4ce6 Bug 798545 - Crash when updating document link on vendor bill
3 years ago
Christopher Lam 3d8a28898d [gnc-budget] gnc_budget_get_account_period_note returns a const
3 years ago
Christopher Lam 2ee0c98200 [gnc-budget] use operator[] instead of find() and insert()
3 years ago
Christopher Lam 3e5fcc8709 Merge branch 'maint'
4 years ago
Christopher Lam 6f80c548e6 [gtest-qofevent.cpp] comprehensive tests for qofevent
4 years ago
Christopher Lam 05ffd3d4eb [budget-feature] move unset_feature call to gnc_budget_gui_delete_budget
4 years ago
Christopher Lam b87aa004f9 [test-qofbook] add tests for unknown features
4 years ago
John Ralls b9077bccd3 Bug 798640 - Segfault when running saved report
4 years ago
Christopher Lam fc94b41c81 Merge branch 'maint'
4 years ago
Christopher Lam 4716af24e4 Merge branch 'maint'
4 years ago
Christopher Lam f2354d6b2a [test-qofbook.c] add test for gnc_features_set_unused
4 years ago
Christopher Lam 1516bb18b0 [gnc-features.cpp] backport gnc_features_set_unused from master
4 years ago
Christopher Lam a078921a33 [qofbook.cpp] backport qof_book_unset_feature from master
4 years ago
John Ralls cf088f2a70 Merge John Ralls's 'Bug798614' into maint.
4 years ago
Christopher Lam 093aa81ed1 [qofbook.cpp] deprecate qof_book_get_features
4 years ago
Christopher Lam 8192deff37 [gnc-features.cpp] convert to cpp
4 years ago
Christopher Lam 6f6d2fef48 [test-qofbook] basic features test
4 years ago
Geert Janssens e97fc3e408 Drop price-quotes.scm, gnc-fq-helper.in and gnc-fq-check.in - no longer used
4 years ago
Geert Janssens a6771754d5 GncQuotes - start implementation of fetch/fetch_all
4 years ago
John Ralls b0ae402c23 Limit instantiation of GncInt128 constructors to integral values.
4 years ago
John Ralls 3c75d212ab Fix build on Apple Silicon or maybe Apple-clang-14.0
4 years ago
John Ralls 8cb8f5067d Remove non-ISO4217 currency codes from gnc-euro table.
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