gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Apr 4 21:18:21 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/6ea7696e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c0643c85 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a6f76806 (commit)
	from  https://github.com/Gnucash/gnucash/commit/cf702ee3 (commit)



commit 6ea7696eff40ef0ef1c9e4652d3dc9c93e163bb1
Merge: cf702ee3a1 c0643c8555
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Apr 4 18:04:30 2026 -0700

    Merge Russ Gorby's 'rrg_gnc-html' into stable.

commit c0643c85557c0900ea43ad396914af121c3b8135
Author: Russ Gorby <russ.gorby at gmail.com>
Date:   Tue Mar 31 10:19:33 2026 -0600

    replace GString use with std::string

commit a6f768069d0d52082ae06890cada5263e9dc3914
Author: Russ Gorby <russ.gorby at gmail.com>
Date:   Mon Feb 9 07:11:08 2026 -0700

    gnc-html: converted library to C++
        - Maintained C-API linkage to exported functions in libgnc-html
        - changed SWIG generated file to C++
        - Added "noexcept" attribute to the C-APIs
    gnc-html: more in-depth C++ conversion
        - typedef -> using
        - NULL -> nullptr
        - moved variable declarations to their
          initial assignments where appropriate
        - fixed a couple cases where early returns
          would leak memory
        - sscanf, snprintf, strchr -> std:: versions
        - converted to std::string_view for parsing loops
        - used range-based for loops for string parsing
        - used auto for modified functions
        - minor cleanup of dead code and whitespave issues



Summary of changes:
 gnucash/gnome/gnc-plugin-page-report.cpp           |   2 +-
 gnucash/html/CMakeLists.txt                        |  38 +-
 gnucash/html/gnc-html-extras.h                     |  19 +-
 .../{gnc-html-factory.c => gnc-html-factory.cpp}   |   9 +-
 .../{gnc-html-factory.h => gnc-html-factory.hpp}   |  12 +-
 .../{gnc-html-history.c => gnc-html-history.cpp}   |  71 ++--
 gnucash/html/gnc-html-history.h                    |  37 +-
 .../{gnc-html-webkit-p.h => gnc-html-webkit-p.hpp} |   6 +-
 .../{gnc-html-webkit.h => gnc-html-webkit.hpp}     |   6 +-
 .../{gnc-html-webkit1.c => gnc-html-webkit1.cpp}   | 334 ++++++++-------
 .../{gnc-html-webkit1.h => gnc-html-webkit1.hpp}   |  13 +-
 .../{gnc-html-webkit2.c => gnc-html-webkit2.cpp}   | 320 ++++++---------
 .../{gnc-html-webkit2.h => gnc-html-webkit2.hpp}   |  15 +-
 gnucash/html/{gnc-html.c => gnc-html.cpp}          | 450 ++++++++++-----------
 gnucash/html/gnc-html.h                            | 133 +++---
 gnucash/html/gnc-html.i                            |   6 +-
 gnucash/python/gncmod-python.c                     |   2 +-
 po/POTFILES.in                                     |  10 +-
 18 files changed, 697 insertions(+), 786 deletions(-)
 rename gnucash/html/{gnc-html-factory.c => gnc-html-factory.cpp} (91%)
 rename gnucash/html/{gnc-html-factory.h => gnc-html-factory.hpp} (88%)
 rename gnucash/html/{gnc-html-history.c => gnc-html-history.cpp} (82%)
 rename gnucash/html/{gnc-html-webkit-p.h => gnc-html-webkit-p.hpp} (92%)
 rename gnucash/html/{gnc-html-webkit.h => gnc-html-webkit.hpp} (91%)
 rename gnucash/html/{gnc-html-webkit1.c => gnc-html-webkit1.cpp} (85%)
 rename gnucash/html/{gnc-html-webkit1.h => gnc-html-webkit1.hpp} (88%)
 rename gnucash/html/{gnc-html-webkit2.c => gnc-html-webkit2.cpp} (81%)
 rename gnucash/html/{gnc-html-webkit2.h => gnc-html-webkit2.hpp} (88%)
 rename gnucash/html/{gnc-html.c => gnc-html.cpp} (65%)



More information about the gnucash-patches mailing list