Commit Graph

2300 Commits (6cd8e4e4584cc2a3423a64dd8d5d62c32a8c5b89)

Author SHA1 Message Date
Christopher Lam fccf0b48c4 [utest-Account] g_free char*
3 years ago
Christopher Lam c074b82224 [test-qofsession] plugs Account* leak
3 years ago
Christopher Lam 1ddee7dc3f [test-qofbook] plugs Account* leak
3 years ago
Christopher Lam a81bc72fb1 [test-sx] plug some leaks
3 years ago
Christopher Lam 94211c2e57 [test-sx] plug some leaks
3 years ago
Christopher Lam 14622e7db6 [test-print-parse-amount] plug leaks
3 years ago
Christopher Lam c44194606a [test-xml-pricedb] free a sixtp parser
3 years ago
Christopher Lam 34564ef6d0 [test-qofobject] plug some leaks
3 years ago
Christopher Lam 8277f4d559 [test-qofbook] plug leaks
3 years ago
Christopher Lam 0056e5f091 [gtest-import-map] plug leaks
3 years ago
Christopher Lam 235e24a055 [account.cpp] ~GncImapInfo = gnc_account_imap_info_destroy
3 years ago
Christopher Lam db77fb81a5 [test-job] plug leaks
3 years ago
Christopher Lam a8dffb8559 [gnc-date.cpp] don't alloc tm* unless GncDateTime() succeeds
3 years ago
Christopher Lam 5a03d9798c [gnc-sx-instance-model] g_free char*
3 years ago
John Ralls 16c9957cac Bug 798925 - Python bindings: "invalid unclassed pointer...
3 years ago
John Ralls 89360252fb Bug 798983 - Empty Orphan account appears after entering transactions in 5.3
3 years ago
Christopher Lam 7ce4198c20 rename string_to_gnc_numeric to gnc_numeric_from_string
3 years ago
Christopher Lam c45b9736ab [gnc-numeric.cpp] parse integer + fraction; e.g."10 1/4" == 10.25
3 years ago
Geert Janssens e2f8233e1e Bug 798950 - Bug Report: Incorrect Currency Conversion and Provider Invoice Payment Recording
3 years ago
Mike Alexander 3aa6e60f95 fix debugging output, no functional change.
3 years ago
Christopher Lam f8546dc4da Fix compilation error from 5781f3445b
3 years ago
John Ralls 73dec63d1d Eliminate a frequent exception in guid_from_string
3 years ago
John Ralls 5781f3445b SQLBackend: Use std::optional return value instead of exceptions
3 years ago
John Ralls a5404f6607 Improve reporting when parse_quote throws an exception.
3 years ago
Christopher Lam e91752dba2 [gnc-ui-util.c] plug GList* leak
3 years ago
Christopher Lam fc21c55a0b [gnc-pricedb.cpp] more glib g_list uses
3 years ago
Christopher Lam d89544563d Revert "[gnc-pricedb.cpp] use std::pair instead of a struct for PriceTuple"
3 years ago
Christopher Lam 2d730e38d5 [gnc-pricedb.cpp] use std::pair instead of a struct for PriceTuple
3 years ago
Christopher Lam 6b741ddf32 [gnc-pricedb.cpp] use forloop instead of do..while and while
3 years ago
John Ralls 4d46a8191d Merge Simon Arlott's 'test-xml-save' into stable.
3 years ago
Christopher Lam 79c0fe4724 [gnc-pricedb.cpp] convert hash_table_to_list to hash_table_to_vector
3 years ago
Christopher Lam 5e09b662a1 [utest-gnc-pricedb] test gnc_pricedb_foreach_price both stable and unstable
3 years ago
Christopher Lam 040ccb79b6 [gnc-pricedb.cpp] rewrite price_list_insert more efficiently
3 years ago
Christopher Lam d6b49bbc89 [utest-gnc-pricedb.c] tests gnc_pricedb_price_list_insert
3 years ago
Simon Arlott 35bee1382d
Test loading and saving XML files with and without compression
3 years ago
John Ralls dee01706eb Merge John Ralls's 'bug798958' into stable.
3 years ago
John Ralls cbe765c6d9 Bug 798958 - gncScrubLotLinks will infinite loop in some conditions
3 years ago
Christopher Lam 867867da53 Merge Richard Cohen branch 'fix-leaks-in-tests' into stable #1713
3 years ago
Christopher Lam 920f760dd8 Merge Richard Cohen branch 'fix-some-leaks-on-error-path' into stable #1714
3 years ago
Christopher Lam cdc5b6a796 Merge Richard Cohen branch 'fix-test-leaks-from-get-random-string' into stable #1715
3 years ago
Christopher Lam e841ceaaa1 [gnc-pricedb.cpp] convert to cpp
3 years ago
John Ralls c5181180ad Fix GncOptionMultichoiceValue list tests
3 years ago
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 1943caee55 Fix memory leak on error path in text_to_dom_tree()
3 years ago
Richard Cohen 2640911901 Valgrind: fix "definitely lost/still reachable" memory in test - test-xml2-is-file
3 years ago
Richard Cohen d808fddc95 Valgrind: fix "definitely lost" memory in test - test-userdata-dir-invalid-home
3 years ago
Richard Cohen b7d278556f Valgrind: fix "definitely lost" memory in test - test-string-converters
3 years ago
Richard Cohen 378dc40585 Valgrind: fix "definitely lost" memory in test - test-resolve-file-path
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
John Ralls 583446ade5 Merge Richard Cohen's 'declare-type-app-utils' into stable.
3 years ago
John Ralls c405ba2cc0 Merge Richard Cohen's 'filter-online-test' into stable.
3 years ago
John Ralls 6b1941f0ed Replace yahoo_json with alphavantage in test-gnc-quotes.
3 years ago
John Ralls f2d9230299 Improve error reporting on DBI large number test failures.
3 years ago
John Ralls a4e651ebc6 Fix test-gnc-quotes.
3 years ago
John Ralls 037c2004c3 Include timezone in price-quote date diagnostic messages.
3 years ago
John Ralls 133ac88618 Bug 798982 - GetQuotes crashes if Finance::Quote returns an empty date.
3 years ago
John Ralls e20f60361f Bug 799004 - Update of Prices attaches incorrect Date
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
Christopher Lam 59be6f4974 Merge branch 'gsettings-cpp' into stable #1682
3 years ago
Christopher Lam b011c81b62 [gnc-backend-dbi.cpp] if returning early, don't allocate char*
3 years ago
Christopher Lam d287c30145 [gsettings.cpp] use std::unordered_map which releases on shutdown
3 years ago
Christopher Lam 9dfe223fc7 [gsettings.cpp] g_settings_schema_unref after g_object_get
3 years ago
Christopher Lam 0d326fa100 [io-gncxml-v2.cpp] plug g_strdup leak
3 years ago
John Ralls a222efbdf3 GncOption debug messages should be in engine not app-utils.
3 years ago
Richard Cohen 52e8524ec5 Refactor: hide implementation of GncSxInstanceModel (move from .h -> .c)
3 years ago
Richard Cohen d30fdd8071 Refactor: DECLARE_FINAL GncSxInstanceModel < GObject
3 years ago
Richard Cohen 9713683ee3 Refactor: define and use api for GncSxInstanceModel
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
Vincent Dawans e0e13604b5 Bug 798967 - Cannot Save to Any Path After Upgrading to 5.2
3 years ago
Simon Arlott 069eb61a3f
Avoid the potential negative left shift in test_xaccAccountType_Compatibility()
3 years ago
Simon Arlott d7b2b06bae
Avoid unnecessary memory allocation in dom_tree_to_gnc_numeric()
3 years ago
Simon Arlott fe526a6043
Check source parameter to GncQuotesImpl::report() is not null
3 years ago
Simon Arlott 4b83068c6b
Fix return value of gnc_book_write_to_xml_file_v2()
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
John Ralls 08d083e8e1 Merge Richard Cohen's 'fix-memory-errors' into stable.
3 years ago
John Ralls 7381887bfc Merge Vincent Dawan's 'bug798952-counters' into stable.
3 years ago
Richard Cohen 958e9a4d6f Valgrind: fix "Invalid read" in test-exp-parser
3 years ago
Vincent Dawans b514245c22 Bug 798952 - Unable to set day threshold or counters in properties
3 years ago
Christopher Lam b331ec974e [gnc-gsettings.cpp] plug a char* leak
3 years ago
Richard Cohen 2e861ab673 Valgrind: fix "Mismatched free/delete" - test-dom-converters1
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
John Ralls 827bfabd69 Merge Richard Cohen's 'declare-type-gnc-plugin' into stable.
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
Richard Cohen 1255d61917 Refactor: hide implementation of GncPlugin* (move from .h -> .c)
3 years ago
Richard Cohen 2e59bda951 Refactor: DECLARE_FINAL GncPluginExample < GncPlugin
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
Christopher Lam 3ccb5c4896 Merge branch 'wordsmithing' into stable #1658
3 years ago
John Ralls dda661cfd2 Merge Richard Cohen's 'more-define-types' into stable.
3 years ago
Christopher Lam f580a6cf2d [gnc-ui-balances.c] better wording for balance limits
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
Richard Cohen 680fe47bac Refactor: Remove unused macros GNC_BASIC_GOBJECT_*
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 dd5be317d8 Merge Richard Cohen's 'define-type' into stable.
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
Richard Cohen 5d955654bc Refactor: DEFINE_TYPE GncSxInstanceModel < GObject
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
John Ralls 8a5b3721df Merge Richard Cohen's 'remove-duplicate-define-type-code' into stable.
3 years ago
Mike Alexander 6bdaa161eb Redo 71afa3e0 and 71afa3e0 so powten(max_leg_digits) is 1e18
3 years ago
Christopher Lam 89f7e8933b gnc_list_all_paths returns std::vector instead of GList of EnvPaths
3 years ago
Richard Cohen 2db5004a22 Remove code that duplicates features of G_DEFINE_TYPE
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
Mike Alexander d61b962954 Fix a typo in some debug output.
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
John Ralls 46e9fcf037 Merge Richard Cohen's 'cleanup-ui-files' 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 3c34a61776 Remove #pragma ... "-Wformat-nonliteral"
3 years ago
Richard Cohen 1f43bbc798 Remove #pragma ..."-Wstrict-aliasing"
3 years ago
Richard Cohen 80e9d9c35d scanf supports %lld since C++11, C99
3 years ago
Richard Cohen 7f1ce2b5e5 Remove references to cutecash
3 years ago
Richard Cohen b3e3eb3166 By default, filter out online_wiggle in test-gnc-quotes
3 years ago
Richard Cohen 1fe097bd5f Update gnc-plugin-example-ui.xml
3 years ago
Richard Cohen 4df662afae Fix the typo in function name "new_query_for_addresss"
3 years ago
Richard Cohen 3957272ef0 Fix some typos in comments
3 years ago
John Ralls 9b95419608 Fix glib include.
3 years ago
John Ralls d696f0cfcb Bug 798885 - Accented character in folder name on Account Export (bis)
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 71802b5627 [test] Fix memory leak in test-gnc-quotes
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
John Ralls 9ff2362bb0 Merge Muhammadyusuf Kurbanov's 'uz-currency-fix' into stable.
3 years ago
Robert Fewell fb58959f9a Bug 798885 - Accented character in folder name on Account Export
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
Christopher Lam e26c3d6cf4 [gnc-ui-balances.c] gnc_ui_account_get_balance_limit_explanation
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
John Ralls 2f471e65a7 Bug 798802 - Online Price quote - Stocks not working GNU 5.0 Windows Bis
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
Maarten Bosmans bd94965d9b [backend/xml] Remove unused string copy
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 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
Christopher Lam bdf79f7721 Merge branch 'master-fileopen-filter' into stable #1576
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 90e1e2d1c3 Merge Bob Fewell's 'bug798558' into master.
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
Robert Fewell a576dd87a4 Bug798558 - Irregular line spacing in Account Tree View
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
John Ralls d192be5307 Merge Richard Cohen's 'cleanup-cflags-deprecated' 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