gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sun Dec 7 11:08:55 EST 2025


Updated	 via  https://github.com/Gnucash/gnucash/commit/cfc357a4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a63a3e3c (commit)
	from  https://github.com/Gnucash/gnucash/commit/2f7e51cf (commit)



commit cfc357a430ae4f20093e39078be1a00cf278cea7
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Dec 5 17:34:28 2025 +0800

    [backend/xml] fast string setters for acct/trans/split
    
    Avoids allocating/g_free temporary strings when DOM text
    exists. Replaces dom_tree_to_text() with dom_node_to_text() fast-path
    for Account, Transaction, and Split string setters.

commit a63a3e3ce39fac9f9e4bfd7c6acd09fb36324d03
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Dec 5 16:38:53 2025 +0800

    [sixtp-dom-parsers.cpp] introduce dom_node_to_text for solo text node
    
    allocation-free
    returns const char* or nullptr



Summary of changes:
 libgnucash/backend/xml/gnc-account-xml-v2.cpp     |  6 ++++++
 libgnucash/backend/xml/gnc-transaction-xml-v2.cpp | 19 +++++++++++++++++++
 libgnucash/backend/xml/sixtp-dom-parsers.cpp      |  9 +++++++++
 libgnucash/backend/xml/sixtp-dom-parsers.h        |  1 +
 4 files changed, 35 insertions(+)



More information about the gnucash-patches mailing list