Commit Graph

1280 Commits (341f2102635c73858d2abba05ab0e0990c47ecaf)

Author SHA1 Message Date
Christopher Lam 55592efe25 [SchedXAction.cpp] convert to c++
2 years ago
Christopher Lam 109497d471 [SX-ttinfo.cpp] convert to c++
2 years ago
Christopher Lam 5b1bb1186f [SX-book.cpp] convert to c++
2 years ago
Christopher Lam e80249ce2b [Account.cpp] gnc_account_remove_split shortcuts removing last split
2 years ago
Geert Janssens c816d2b34f Doxygen - minor cleanup of gnc-lot.h
2 years ago
Geert Janssens e8d72ad53f Doxygen - merge separate txt files into respective header files
2 years ago
Geert Janssens 6cd8e4e458 Doxygen - drop obvious cases of deprecated code
2 years ago
Geert Janssens da12a212c3 Drop old migration script to split qof from engine
2 years ago
Geert Janssens 39aa5f9c09 Remove texi design document in engine
2 years ago
Geert Janssens 58b4ee35f0 Doxygen - drop several txt files that were included in
2 years ago
Geert Janssens 3c860737f1 Doxygen - fold business.txt file in the respective source files
2 years ago
Christopher Lam 038405b370 Revert "[account.cpp] gnc_account_remove_split searches from the end"
2 years ago
Christopher Lam 5aff4fb57d [account.cpp] gnc_account_remove_split searches from the end
2 years ago
Christopher Lam 370a06fb61 [qofid.cpp] remove unnecessary struct
2 years ago
Christopher Lam fe2cdf42c7 [transaction.cpp] speed up book close
2 years ago
Christopher Lam d21d6f9344 [qofid.cpp] qof_collection_foreach_sorted
2 years ago
Christopher Lam 7b46466ebd [account.cpp] fix regression caused by 3f7a5a8267
2 years ago
Christopher Lam e54e9d8086 [account.cpp] use HashTable for splits
2 years ago
Christopher Lam b28ca9bdb4 use c++ placement new
2 years ago
John Ralls 579da58a10 Merge Gwynn Ciesla's "Allow building with GCC 14.1" into stable.
2 years ago
Christopher Lam 2817ca195f [test-commodities.cpp] test stability of c_str names
2 years ago
Christopher Lam f67233b662 Bug 799305 - Crash when there is more than one unknown quote source for commodities
2 years ago
Christopher Lam d867a9d18a Merge branch 'TransactionP-hpp' into stable #1928
2 years ago
Christopher Lam 9e4b03f71b [SplitP.hpp] rename to .hpp
2 years ago
Christopher Lam 1e1d21b716 [Transaction.hpp] rename to .hpp
2 years ago
Christopher Lam ef8afedd09 [gnc-euro.cpp] use c++isms
2 years ago
Christopher Lam 3bc7ce606d [gnc-euro.cpp] convert to c++
2 years ago
Christopher Lam 80997ee5b4 [gtest-gnc-euro] add rounding test
2 years ago
Christopher Lam 949c9c97c0 Bug 799300 - Nullpointer exception in gnc_quote_source_s
2 years ago
Christopher Lam 87dbbf25f8 [account.cpp] add gnc_account_foreach_until_date
2 years ago
John Ralls 9c18bc889c Don't use Googletest internal API for unused decls.
2 years ago
Bruce P Schuck d01aad68fb Update gnc-commodity.cpp
2 years ago
Bruce Schuck 6696bf0a41 Updated QuoteSourceVec to match F::Q v1.59
2 years ago
Christopher Lam 0f791c474a [Account.cpp][api] gnc_account_foreach_split takes std::function<void(Split*)>
2 years ago
Christopher Lam 871f669a19 [Account.cpp] explicitly destroy priv->splits
2 years ago
Christopher Lam 35b6fb767d [Account.cpp] ensure priv->splits releases memory on shutdown
2 years ago
Christopher Lam 94368f4cb4 [Account.cpp] SplitsVec&, ensure xaccAccountGetSplitList is freed
2 years ago
Christopher Lam 2b71219766 [Account.cpp] remove obsolete comment
2 years ago
Christopher Lam 1b50c6261a g_list_free xaccAccountGetSplitList
2 years ago
Christopher Lam 606da28d25 use xaccAccountGetSplitsSize
2 years ago
Christopher Lam f70ee754fc use xaccAccountGetSplits and gnc_account_find_split
2 years ago
Christopher Lam 3f7a5a8267 [Account.hpp][API] xaccAccountGetSplits and gnc_account_find_split
2 years ago
Christopher Lam a54caaab61 [Account.cpp] GetBalanceAsOfDate gets std::function instead of bool
2 years ago
Christopher Lam cc10b9a0b7 [SX-book.c] tidy for loop
2 years ago
Christopher Lam c1ee59c39b [Account.h] size_t xaccAccountGetSplitsSize returns g_list_length (splits)
2 years ago
Christopher Lam f08e0f5b61 [policy.cpp] rewrite to avoid goto
2 years ago
Christopher Lam 2251bf8966 [Account.hpp] use std::optional for cached values
2 years ago
Sherlock f0d45de642
Resolve test assert.
2 years ago
Sherlock 8d6f748aca
Bug 799281 - Deleting a transaction may trigger a crash
2 years ago
Christopher Lam d100df7ef7 [AccountP.hpp] .h -> .hpp, remove extern "C" {} wrapper
2 years ago
Christopher Lam a67e4651c3 [Query.cpp] convert to cpp
2 years ago
Christopher Lam 4d9836aac2 [TransLog.cpp] convert to cpp
2 years ago
Christopher Lam 093781c018 [policy.cpp] convert to cpp
2 years ago
Christopher Lam f913bed7e6 [gnc-engine.cpp] convert to cpp
2 years ago
Christopher Lam 96f041a1d6 [cap-gains.cpp] convert to cpp
2 years ago
Christopher Lam 79b7267cdd [cashobjects.cpp] convert to cpp
2 years ago
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
2 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