gnucash stable: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sun Oct 27 14:14:18 EDT 2024


Updated	 via  https://github.com/Gnucash/gnucash/commit/35ecad8d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6d7f4ec4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e2f5c74b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c02152b3 (commit)
	from  https://github.com/Gnucash/gnucash/commit/6cabb5d8 (commit)



commit 35ecad8d21d016e3c3db584b366a61aa582f18d4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Oct 27 14:21:13 2024 +0800

    [reports] change xaccAccountGetSplitList to xaccAccountGetSplits
    
    because the latter is more efficient. fewer doubly-link list traversals.

commit 6d7f4ec4c868738ec43048e3fb3cd9212013ce90
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Oct 27 14:19:49 2024 +0800

    [engine.i] expose xaccAccountGetSplits in bindings
    
    because xaccAccountGetSplitList will create GList, scan and build SCM
    reverse order, and scm_reverse.
    
    xaccAccountGetSplits scans the vector, builds the SCM list in reverse.

commit e2f5c74bb478bff3d002b7469e63b91571b47008
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Oct 27 15:17:27 2024 +0800

    [engine.i] VECTORREF_HELPER_INOUT to handle SplitsVec&

commit c02152b34ac5aa3cd2e67d200ac11eae53184444
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Oct 27 15:16:48 2024 +0800

    [Account.hpp] xaccAccountGetSplits returns a reference to vector



Summary of changes:
 bindings/engine.i                                         | 3 +++
 common/base-typemaps.i                                    | 9 +++++++++
 gnucash/import-export/qif-imp/qif-merge-groups.scm        | 2 +-
 gnucash/report/report-utilities.scm                       | 8 ++++----
 gnucash/report/reports/locale-specific/de_DE/taxtxf.scm   | 2 +-
 gnucash/report/reports/locale-specific/us/taxtxf.scm      | 2 +-
 gnucash/report/reports/standard/advanced-portfolio.scm    | 4 ++--
 gnucash/report/reports/standard/balance-forecast.scm      | 2 +-
 gnucash/report/reports/standard/equity-statement.scm      | 2 +-
 gnucash/report/reports/standard/test/test-transaction.scm | 2 +-
 libgnucash/engine/Account.cpp                             | 5 +++--
 libgnucash/engine/Account.hpp                             | 2 +-
 libgnucash/engine/mocks/gmock-Account.cpp                 | 5 +++--
 libgnucash/engine/mocks/gmock-Account.h                   | 2 +-
 14 files changed, 32 insertions(+), 18 deletions(-)



More information about the gnucash-patches mailing list