gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Tue Nov 4 18:55:42 EST 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/7bdf31f9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2119fceb (commit)
	from  https://github.com/Gnucash/gnucash/commit/2dfdb0ba (commit)



commit 7bdf31f9d38b712de95a7413017e5437f4a15283
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 2 22:05:44 2025 +0800

    [gnc-date.cpp] gnc_g_date_new_today calls gnc_gdate_set_today
    
    instead of vice-versa.
    
    - avoids malloc/free in gnc_gdate_set_today
    - avoids unnecessary dmy->julian->dmy(*) conversion
    
    (*) the GDate is typically used by gdate_to_time64 which performs a
    julian->dmy conversion, and this is now avoided

commit 2119fceb3a35095a550567db284de86035bb6d59
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Nov 2 22:10:58 2025 +0800

    [transaction.cpp] xaccTransSetDate has GDate on stack
    
    avoid malloc/free



Summary of changes:
 libgnucash/engine/Transaction.cpp | 14 +++++++-------
 libgnucash/engine/gnc-date.cpp    | 15 ++++++---------
 2 files changed, 13 insertions(+), 16 deletions(-)



More information about the gnucash-patches mailing list