Commit Graph
8 Commits
Author SHA1 Message Date
Christopher Lam 001c690a81 [account.cpp] gnc_account_foreach_split forward loops only
because the reverse iteration isn't used at all
2025-11-02 12:28:41 +08:00
Sherlock 048dfa1232 Bug 343711 - Splits to Imbalance-USD do not disappear when zero-valued.
To mitigate potential impact, the Imbalance split is only removed when the split transitions to zero value during the commit of the transaction and the split's memo and action have no value.
2025-09-04 21:36:09 -07:00
John Ralls a773248939 Bug 799649 - Ensure that GnuCash does not crash when it converts a...
foreign-currency transaction into a trading account transaction.

Disable scrubbing while committing the new trading split, otherwise
the recursed scrub will delete it causing a crash when GnuCash tries
to populate it.
2025-07-25 12:57:11 -07:00
Christopher Lam f65f877098 [Scrub.cpp] don't create intermediate GHashTable and GList
use unordered_set instead
2024-07-17 23:53:02 +08:00
Christopher Lam 1e1d21b716 [Transaction.hpp] rename to .hpp 2024-05-05 14:35:38 +08:00
Christopher Lam f70ee754fc use xaccAccountGetSplits and gnc_account_find_split 2024-04-16 00:09:52 +08:00
Christopher Lam d100df7ef7 [AccountP.hpp] .h -> .hpp, remove extern "C" {} wrapper 2024-04-02 21:09:40 +08:00
Christopher Lam ddfa664601 [Scrub.cpp] convert to cpp 2024-04-02 21:09:39 +08:00