gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Tue Jun 9 23:59:44 EDT 2026


Updated	 via  https://github.com/Gnucash/gnucash/commit/13112ab8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/63917e08 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8b6d93eb (commit)
	from  https://github.com/Gnucash/gnucash/commit/db6cac5b (commit)



commit 13112ab809ac16dfd2ec7a9040ce83eddbbb78d9
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Jun 9 20:45:18 2026 +0800

    rename gmock-qofbook.h and gmock-Split.h to .hpp

commit 63917e082430275cec9f4699902478863c8dc5ba
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jun 7 08:40:24 2026 +0800

    [qofbook.cpp] move _QofBook definition from qofbook.h to qofbook-p.hpp
    
    to make it opaque
    
    and change:
    - qofbook.h to .hpp
    - test-qofbook.c to test-qofbook.cpp

commit 8b6d93eb87177378d1d96f474035407fe4ac0543
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Jun 8 11:53:12 2026 +0800

    [test-qofbook.c] use getters instead of accessing QofBook members



Summary of changes:
 .../import-export/test/gtest-import-backend.cpp    |   4 +-
 libgnucash/engine/CMakeLists.txt                   |   2 +-
 libgnucash/engine/mocks/CMakeLists.txt             |   4 +-
 libgnucash/engine/mocks/gmock-Split.cpp            |   4 +-
 .../mocks/{gmock-Split.h => gmock-Split.hpp}       |   2 +-
 libgnucash/engine/mocks/gmock-qofbook.cpp          |   2 +-
 .../mocks/{gmock-qofbook.h => gmock-qofbook.hpp}   |   2 +-
 libgnucash/engine/qofbook-p.h                      |  86 ----------
 libgnucash/engine/qofbook-p.hpp                    | 182 +++++++++++++++++++++
 libgnucash/engine/qofbook.cpp                      |  35 +++-
 libgnucash/engine/qofbook.h                        |  85 ----------
 libgnucash/engine/qofinstance.cpp                  |   2 +-
 libgnucash/engine/qofinstance.h                    |   2 +-
 libgnucash/engine/qofquery.cpp                     |   2 +-
 libgnucash/engine/qofsession.cpp                   |   2 +-
 libgnucash/engine/test/CMakeLists.txt              |   4 +-
 .../test/{test-qofbook.c => test-qofbook.cpp}      | 116 +++++++------
 17 files changed, 300 insertions(+), 236 deletions(-)
 rename libgnucash/engine/mocks/{gmock-Split.h => gmock-Split.hpp} (99%)
 rename libgnucash/engine/mocks/{gmock-qofbook.h => gmock-qofbook.hpp} (98%)
 delete mode 100644 libgnucash/engine/qofbook-p.h
 create mode 100644 libgnucash/engine/qofbook-p.hpp
 rename libgnucash/engine/test/{test-qofbook.c => test-qofbook.cpp} (89%)



More information about the gnucash-patches mailing list