Commit Graph

1174 Commits (6cd8e4e4584cc2a3423a64dd8d5d62c32a8c5b89)

Author SHA1 Message Date
Christopher Lam 67d024c11f [Scrub3.cpp] convert to cpp
2 years ago
Christopher Lam 6b5a4d7c11 [Scrub2.cpp] convert to cpp
2 years ago
Christopher Lam ddfa664601 [Scrub.cpp] convert to cpp
2 years ago
Christopher Lam dab32807ef [engine/*.cpp] NULL -> nullptr changes
2 years ago
Christopher Lam 9a85eb4a2a [engine/*.h] add extern "C" {} wrappers
2 years ago
Gwyn Ciesla 5132476a2f Allow building with c++20 and greater/
2 years ago
Christopher Lam 4945db6b7d [AccountP.h] remove struct members obsolete with 76014f18a0
2 years ago
Christopher Lam ba403e4a7c [guid.hpp] GUID::from_string and is_valid_string takes a const char*
2 years ago
Christopher Lam cba7da30fd [gnc-date.cpp] specialise iso-8601 parsing where TZ=+0000
2 years ago
Christopher Lam 27c16517e9 [gnc-numeric.cpp] shortcut parsing num/denom as gnc_numeric
2 years ago
Christopher Lam 11da03bc67 [gtest-gnc-numeric.cpp] test int64 limits for GncNumeric
2 years ago
John Ralls af18ea598e Bug 799093 - Cannot reconcile since v5.4
2 years ago
John Ralls 2db6988e25 Remove bogus include.
2 years ago
John Ralls 8ebac5b596 Bug 799213 - SIGSEGV caused by revising an auto completed transaction
2 years ago
Christopher Lam 229d9300cf [engine-helpers.h] key is a const char*
2 years ago
Christopher Lam c345fc9d3c add #ifdef __cplusplus extern "C" {} wrappers to .h files
2 years ago
Christopher Lam 6cb2eeeaa8 Merge branch 'more-engine-cpp' into stable #1866
2 years ago
John Ralls 226bfea108 Fix a bunch of UB errors from ASAN about mismatched function types.
2 years ago
John Ralls 7bd97f15d0 Fix transaction delete use-after-free, take 2.
2 years ago
John Ralls 8546aa975e Revert "Fix two use-after-free issues found by address sanitizer."
2 years ago
John Ralls 4dbf803041 Fix two use-after-free issues found by address sanitizer.
2 years ago
Christopher Lam 28cc26f207 [gnc-commodities.cpp] gnc_new_iso_codes is a std::unordered_map
2 years ago
Geert Janssens 00640f9ded Replace naked for loops with C++ algorithms
2 years ago
Geert Janssens 0732436e44 A few NULL/nullptr related cleanups
2 years ago
Christopher Lam 17f422f97c [gnc-commodity.cpp] convert quote_sources to vector
2 years ago
John Ralls 266ae2a931 Bug 798946 - start/end of current/last quarter have off-by-one error
2 years ago
Christopher Lam 164453a858 [gnc-commodity.cpp] gnc_quote_source_get_index searches index
2 years ago
Christopher Lam 5d16d025a6 [gnc-commodity.cpp] gnc_quote_source_s is a cpp class
2 years ago
Christopher Lam 346499ae04 [gnc-commodity.cpp] gnc_quote_source_set_fq_installed takes a StrVec
2 years ago
Christopher Lam 47a1a56f16 [gnc-commodity.cpp] fq_version is a std::string
2 years ago
Christopher Lam f49c2735e3 [gnc-commodity.cpp] initialize quote_sources at compile-time
2 years ago
Christopher Lam d488faacb2 [gnc-commodity.cpp] Convert to cpp
2 years ago
Vincent Lucarelli f5b7bf3401 removed old_internal_name from gnc_quote_source_s (deprecated)
2 years ago
Christopher Lam 9035391907 [test-commodities.cpp] add some tests for gnc_quote_sources
2 years ago
Christopher Lam 03c5309666 [gnc-lot.cpp] convert to cpp
2 years ago
Christopher Lam 7d8d8f83be [Recurrence.cpp] convert to cpp
2 years ago
Christopher Lam 783c3df3c0 [Transaction.cpp] convert to cpp
2 years ago
Christopher Lam fc5d7f872e [Split.cpp] convert to cpp
2 years ago
Christopher Lam 698cc23051 Add #ifdef __cplusplus extern "C" {} wrappers to .h files
2 years ago
Christopher Lam 928f9245e6 [gtest-gnc-numeric] add operator comparisons
2 years ago
Christopher Lam 9782918586 [account.cpp] add more account metadata - assoc account
2 years ago
John Ralls c87d480b0d Move gnc_list_formatter from gnc-date to gnc-ui-util.
2 years ago
John Ralls b2fa3ef106 Bug 799210 - Bad encoding of accented chars in account names in...
2 years ago
John Ralls e22a57ad26 Merge John Ralls's 'asan' into stable.
2 years ago
John Ralls 6834cb5025 Implement coverage option
2 years ago
John Ralls 6bc12898a8 GncDate: Remove now-superfluous base parameter.
2 years ago
John Ralls 1e289cb2b8 GncDate: Remove pointless normalize_month function.
2 years ago
John Ralls 966cef19aa Bug 799156 - normalize_struct_tm() does not normalize seconds,...
2 years ago
John Ralls 5005c3cac8 Merge Sherlock's 'bug799151' into stable.
2 years ago
Sherlock ae8492d73a Update test-gnc-date.c
2 years ago
Sherlock 5a7b6e9814 Bug 799151 - gnc_date_get_last_mday () does not account for,,,
2 years ago
Sherlock 07e94b4222 Bug 799152 - normalize_reldate_tm() does not handle dates with...
2 years ago
John Ralls d8dacb86b2 Bug 799143 - FTBFS on 32bit architectures
2 years ago
John Ralls 92de074e49 Bug 799144 - Date Completion is broken after 5.4 upgrade
2 years ago
John Ralls ed4921271c Bug 799134 - Fails to build with GCC 14 (‘find_if’ is not a member...
2 years ago
Christopher Lam 1d26d99ddb [gnc-budget] use std::optional<gnc_numeric> instead of bool+gnc_numeric
2 years ago
John Ralls dd0b72cdb5 Fix global array index out of range.
2 years ago
Christopher Lam 8f7eecd3e9 Merge branch 'icu-list-formatter' into stable #1791
3 years ago
Christopher Lam 6940488d2d recurrencePeriodTypeToString and recurrenceWeekendAdjustToString g_strdup only when necessary
3 years ago
Christopher Lam 12f4233396 recurrencePeriodTypeToString and recurrenceWeekendAdjustToString g_strdup only when necessary
3 years ago
John Ralls fa119f8d17 Split test other
3 years ago
John Ralls e17ba3cc00 Fix UAF in xaccFreeSplit.
3 years ago
Sherlock 52f1076b30
Bug 799104 - "Asset Chart" broken
3 years ago
John Ralls 44c278a82c Fix GncDateEntry date parsing oddities.
3 years ago
Christopher Lam ab7ead39ca use icu::ListFormatter to combine a list strings into a string
3 years ago
Christopher Lam d1b2368f4d Merge Yongun Seong's branch 'utest-gnc-pricedb-types' into stable #1784
3 years ago
Yongun Seong 0bd556c581
[utest-gnc-pricedb] fix test failure due to callback type mismatch
3 years ago
Christopher Lam 550c43d13a Merge branch 'free-guid-string' into stable #1777
3 years ago
John Ralls a49fd0bc09 [c++options] Correctly implement handling Fancy Date Format.
3 years ago
Christopher Lam 8e21d3328f guid_to_string should be freed.
3 years ago
Christopher Lam d21698f7cf [gnc-option-impl] don't leak char*
3 years ago
Christopher Lam 01f27e9c53 [test-commodities] clean up commodities
3 years ago
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 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
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 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
John Ralls 73dec63d1d Eliminate a frequent exception in guid_from_string
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
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
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 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