gnucash maint: [window-autoclear.c] cleanup, optimize, prevent UI lag
Christopher Lam
clam at code.gnucash.org
Thu Oct 22 21:12:49 EDT 2020
Updated via https://github.com/Gnucash/gnucash/commit/78c8b03c (commit)
from https://github.com/Gnucash/gnucash/commit/4bebfed9 (commit)
commit 78c8b03c5ec033221449d7d8f99ffef07a40af43
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Wed Oct 14 20:38:47 2020 +0800
[window-autoclear.c] cleanup, optimize, prevent UI lag
abort:
1. if too many splits lead to >1,000,000 reachable amounts
2. if the end_balance is the same as cleared_balance
also:
- g_free lists properly
- move knapsack algorithm to gnc-ui-balances.c
- show newly cleared splits in a new register: "Cleared Transactions"
- remove unneeded #includes
Summary of changes:
gnucash/gnome/window-autoclear.c | 225 ++++++++-------------------------
libgnucash/app-utils/gnc-ui-balances.c | 155 +++++++++++++++++++++++
libgnucash/app-utils/gnc-ui-balances.h | 9 +-
3 files changed, 219 insertions(+), 170 deletions(-)
More information about the gnucash-patches
mailing list