gnucash stable: Multiple changes pushed
Christopher Lam
clam at code.gnucash.org
Fri Nov 14 23:03:46 EST 2025
Updated via https://github.com/Gnucash/gnucash/commit/43561ded (commit)
via https://github.com/Gnucash/gnucash/commit/03af6204 (commit)
from https://github.com/Gnucash/gnucash/commit/60410172 (commit)
commit 43561deda4a29f9fceea92f5e261614157b85008
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Sun Nov 9 14:50:28 2025 +0800
[window-reconcile.cpp] offer auto-clear if combination found
commit 03af6204428d62b3bead7500eca480b77caf523b
Author: Christopher Lam <christopher.lck at gmail.com>
Date: Thu Nov 6 18:03:16 2025 +0800
[gnc-autoclear] upgrade - improve Subset Sum Problem
- still O(2^n) runtime but uses O(n) stack size, and *much* less memory
- a runtime monitor, limiting time (default 1s)
Summary of changes:
gnucash/gnome-utils/CMakeLists.txt | 2 -
gnucash/gnome-utils/gnc-autoclear.c | 226 ---------------------
gnucash/gnome-utils/test/CMakeLists.txt | 23 +--
gnucash/gnome/window-autoclear.c | 7 +-
gnucash/gnome/window-reconcile.cpp | 36 ++++
libgnucash/app-utils/CMakeLists.txt | 2 +
libgnucash/app-utils/gnc-autoclear.cpp | 210 +++++++++++++++++++
.../app-utils}/gnc-autoclear.h | 23 +--
libgnucash/app-utils/test/CMakeLists.txt | 22 ++
.../app-utils}/test/test-autoclear.cpp | 101 ++++++++-
po/POTFILES.in | 2 +-
11 files changed, 381 insertions(+), 273 deletions(-)
delete mode 100644 gnucash/gnome-utils/gnc-autoclear.c
create mode 100644 libgnucash/app-utils/gnc-autoclear.cpp
rename {gnucash/gnome-utils => libgnucash/app-utils}/gnc-autoclear.h (67%)
rename {gnucash/gnome-utils => libgnucash/app-utils}/test/test-autoclear.cpp (71%)
More information about the gnucash-patches
mailing list