From clam at code.gnucash.org Sun Jun 1 08:49:01 2025 From: clam at code.gnucash.org (Christopher Lam) Date: Sun, 1 Jun 2025 08:49:01 -0400 (EDT) Subject: gnucash stable: Multiple changes pushed Message-ID: <20250601124901.C9AD7AC1EFF@code.gnucash.org> Updated via https://github.com/Gnucash/gnucash/commit/7b5d13b3 (commit) via https://github.com/Gnucash/gnucash/commit/79cf62d3 (commit) via https://github.com/Gnucash/gnucash/commit/8eaa3e12 (commit) from https://github.com/Gnucash/gnucash/commit/491aaae5 (commit) commit 7b5d13b3f78fbea7ea8eebed6090671c242cdefd Author: Christopher Lam Date: Sun Jun 1 20:31:42 2025 +0800 [report-core.scm] don't export It's not needed anymore. commit 79cf62d304ff123cdbae8b23e0d07255b77c9998 Author: Christopher Lam Date: Sun Jun 1 20:30:07 2025 +0800 [report-core.scm] refactor gnc:make-report don't call hash-ref twice unnecessarily. also tidy function. commit 8eaa3e1281bf9cb0d9712edbf4003e497290d898 Author: Christopher Lam Date: Sun Jun 1 20:28:40 2025 +0800 [test/reports] use gnc:make-report instead of record type Instead of calling constructor, use the "official" wrapper gnc:make-report which returns the integer report id. The report object can be retrieved with gnc_report_find. Summary of changes: gnucash/report/report-core.scm | 19 ++++++++----------- .../report/reports/standard/test/test-transaction.scm | 4 ++-- gnucash/report/test/test-report-extras.scm | 4 ++-- gnucash/report/test/test-report.scm | 4 ++-- 4 files changed, 14 insertions(+), 17 deletions(-) From clam at code.gnucash.org Mon Jun 2 20:45:39 2025 From: clam at code.gnucash.org (Christopher Lam) Date: Mon, 2 Jun 2025 20:45:39 -0400 (EDT) Subject: gnucash stable: Multiple changes pushed Message-ID: <20250603004539.B8188AC1EF9@code.gnucash.org> Updated via https://github.com/Gnucash/gnucash/commit/2fd89a27 (commit) via https://github.com/Gnucash/gnucash/commit/d89792a4 (commit) from https://github.com/Gnucash/gnucash/commit/7b5d13b3 (commit) commit 2fd89a2748aa15f1b9bc208a74a23356948d11a9 Author: Christopher Lam Date: Sun Jun 1 21:26:29 2025 +0800 [reports] delay generation of reports from a report. Previously a report with multiple linked reports will cause them to be generated. This change will delay the reports generation, simply storing the required data report into a integer-keyed hash table, and is retrieved when the link is clicked. commit d89792a4b7d20952f0b9ba229a153359786a3352 Author: Christopher Lam Date: Sun Jun 1 21:22:45 2025 +0800 [report-core.scm] add report anchor mechanism The object contains the data for a report with options. Add a mechanism to store the list of anchors contained in it; adding an anchor will return the unique integer key referring to the report's anchor; retrieval will return the anchor. Note: each anchor will typically be: (list reportname src-options optionlist) whereby reportname is the desired report guid, src-options is the originating report options object, and optionlist is a list of options to be set. Summary of changes: gnucash/gnome/gnc-plugin-page-report.cpp | 7 ++++++- gnucash/report/gnc-report.cpp | 24 +++++++++++++++++++++--- gnucash/report/gnc-report.h | 1 + gnucash/report/html-utilities.scm | 29 ++++++++++++++++------------- gnucash/report/report-core.scm | 23 +++++++++++++++++++++-- 5 files changed, 65 insertions(+), 19 deletions(-)