head 1.6; access; symbols pkgsrc-2025Q4:1.4.0.2 pkgsrc-2025Q4-base:1.4 pkgsrc-2018Q4:1.2.0.2 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.1.0.2 pkgsrc-2018Q3-base:1.1; locks; strict; comment @# @; 1.6 date 2026.03.30.21.32.53; author wiz; state Exp; branches; next 1.5; commitid BJ9u03sIKL7jR2AG; 1.5 date 2025.12.21.18.12.06; author wiz; state dead; branches; next 1.4; commitid l6vpCGLQmCvKVinG; 1.4 date 2025.09.27.07.03.10; author adam; state Exp; branches; next 1.3; commitid odmKwwQWejwIXjcG; 1.3 date 2019.01.03.07.07.58; author wiz; state dead; branches; next 1.2; commitid ah13UAf5HhkT1j6B; 1.2 date 2018.09.30.23.47.32; author wiz; state Exp; branches; next 1.1; commitid y7VV4muAKcX5CbUA; 1.1 date 2018.08.20.11.43.42; author wiz; state Exp; branches; next ; commitid pR4Vo7XjPpItVQOA; desc @@ 1.6 log @gnucash: update to 5.15. Version history: ------- ------- 5.15 - 29 March 2026 Between 5.14 and 5.15, the following bugfixes were accomplished: Bug 666536 - smallest fraction of KRW is invalid Bug 798122 - Message about unable to balance transaction: Implement better can't-balance messages for scheduled transactions with more than one template transaction. Bug 798873 - Crash when scrubbing after "undoing" changes Bug 799705 - Remove Old Prices by Namespace: Display namespaces and allow selecting particular namespaces in the Remove Old Prices dialog. Bug 799706 - Rename Namespace: Add a rename namespace button to the Security editor that is enabled by the selection of a namespace row in the tree view. Bug 799713 - Account Editor changes account color to gray when default selected. Bug 799722 - Inconsistent wording: Bill and Invoice: Use "Business Item" in messages that could apply to any of Bill, Credit Note, or Invoice, including where we reuse the same message in different cases. Bug 799734 - mapped OFX income account not listed Bug 799745 - Import matcher doesn't handle zero length memo and description properly The following fixes and improvements were not associated with bug reports: Major improvement in Python bindings to enable engine methods to return Python objects instead of SWIG pointers. Covers Account, Split, Transaction, GNCLot, gnc_commodity, gnc_commodity_namespace, gnc_commodity_table, GNCPrice, GNCPriceDB, QofBook, QofSession, GncGUID, GncCustomer, GncEmployee, GncVendor, GncJob, GncAddress, GncBillTerm, GncTaxTable, GncInvoice, and GncEntry. GncOwner, the superclass of many of the business classes, is already covered. This allows more pythonic usage: * Call member functions directly, e.g. price.get_commodity() instead of using the C-function style gc.gnc_price_get_commodity(price) * The C-function call now raises a DeprecationWarning if called with a Python object but not if called with the instance, e.g. gc.gnc_price_get_commodity(price.instance) * It is no longer necessary to test and convert return values for being SwigPyObjects or not Python objects: Code like if type(desc).__name__ == 'SwigPyObject': desc = gnucash.Account(instance=desc) or if type(split) != Split: split=Split(instance=split) is no longer required. Enable copy-and-paste in Scheduled Transaction template transactions. Disable the Transaction Paste or Split Paste menu items in the register's Transaction menu when there is no transaction or split in the clipboard. Check all template transactions in a Scheduled Transaction for balance instead of only the first. Fix the last reconcile date sort in the Accounts page so that unreconciled accounts sort after reconciled ones instead of before. Ensure that custom report sub-menus can receive custom report entries. Import Matcher: Add trace messages to make it easier to track why some transactions aren't considered possible matches and uncomment the debug statements so that they can be emitted with --log arguments on the command line. Fix segfault in gnc_gsettings_get_settings_obj when GSettings schemas are not installed. Add tooltip explaining date-format selection to the CSV Import Assistant. CSV Importer: Reparse all import lines when changing date or currency formats or when setting base_account. [new-owner-report.scm] fix display/due-date tooltip Transaction report efficiency improvements. Ensure that gnc_commodity_compare produces a stable sort. Implement full test coverage of libgnucash/engine/qofid except for some unreachable code. Remove unused qof_collection_from_glist function. New function gnc_account_get_earliest_date returns the account's earliest split date. This usually reflects the account opening date. Provide an earliest-date sort option in the Accounts page and the balance-forecast report. Support 64-bit compilation on Windows. gnc_account_child_index: return -1 for non-child. Turn off deprecation warning for wstring_convert. It's deprecated in C++17 with no replacement until C++26. Update GncDateTime to handle new exceptions from Boost::DateTime Use std::chrono to create a GncDateTime. Boost::DateTime uses time_t and in some cases that's still 32-bit, leading to a potential 2038 bug. Fix GUI leaks in register completion cell, GncPluginPageRegister, and GNCPluginPageReport. [gnc-datetime.cpp] Fix potential bug in fast_iso8601_utc_parse @ text @$NetBSD$ https://github.com/Gnucash/gnucash/commit/14bc748671879d2269fde3edb693b2f02122866c --- CMakeLists.txt.orig 2026-03-28 21:58:52.000000000 +0000 +++ CMakeLists.txt @@@@ -605,11 +605,7 @@@@ if (Boost_FOUND) if (Boost_VERSION VERSION_LESS "1.89.0") find_package(Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex system) else() - if (Boost_VERSION VERSION_LESS "1.90.0") - find_package(Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex) - else() - find_package(Boost 1.67.0 COMPONENTS date_time locale program_options regex) - endif() + find_package(Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex) endif() endif() @ 1.5 log @gnucash: update to 5.14. 5.14 - 21 December 2025 Between 5.13 and 5.14, the following bugfixes were accomplished: Bug 799504 - Description of CAMT 053.001.02 has duplicate text Bug 799538 - Clipboard pastes to wrong field in SX editor Fixed Cut, Copy and Paste when focus is not in GnucashSheet. Now, when the user clicks on the "Scheduled Transactions" tab, the focus goes to the last edited cell. Bug 799682 - Unable to "Save As" (or open) a non-xml data file Bug 799699 - Inconsistent column headers in scheduled transaction editor Template transactions can't have totals, the formulas are just strings. Don't display the Tot Foo labels, they confuse users. Bug 799701 - SX Editor error When Frequency=Once Bug 799702 - build breaks with guile 3.0.11 The following fixes and improvements were not associated with bug reports: Fix crashes in processing invoices and creating mulit-commodity transactions due to premature destruction of the account tree view. This unfortunately un-fixes Bug 799249 Change the Transaction report when show subtotals only is selected: When Show only subtotals is selected (which suppresses display of individual transactions) the lowest level of subtotals is displayed in normal type and with just the category name instead of in bold type with a "Total of" prefix. Make the version information and the configured paths part of the About Dialog selectable. About dialog: Use the environment variable names for user directory labels instead of capitalized versions of the variables in gnc-filepath-utils. The environment variables are documented in the wiki and are what the user can change. Protect the special environment file prefix variables. A mailing list post reported that GnuCash crashes when he runs it with GNC_HOME=. We use GNC_HOME to set XDG_DATA_DIR in the environment file to accommodate relocating GnuCash on macOS and Windows and GnuCash crashes when the schemas aren't found so prevent the user from setting the 6 special environment variables either from the environment or by editing the environment file. Add a Postponed column to the Scheduled Transactions list as requested by Bug 799664. The column is hidden by default since it's not useful to people who don't postpone scheduled transaction instances. Fix the overly-narrow text boxes in the options dialogs. Improve the algorithm behind autoclearing transactions. It can now handle up to 30 uncleared transactions in an account reasonably quickly. Fix stale account balances and grand total during transaction import Removed China Merchants Bank from quote sources. The Finance::Quote module is no longer working and will be removed in the next release. Added US Bonds (usbonds) to gnc-commodity.cpp New Finance::Quote module to get prices for series E, EE, or I bonds Bulgarian Lev (BGN) replaced by Euro 1 Jan 2026. SRFI-64 test-equal no longer considers exceptions equal to #f. Improve some translatable strings. Xml Backend: speed up parsing of node text and of GUIDs. A variety of leak fixes and efficiency improvements. Replace deprecated g_binding_get_target, and increase glib version to 2.68 API change: Remove gnc_account_foreach_split reverse iteration, not used by GnuCash. Reset gui component session when saving a new file, including Save As of an existing book, reset the managed gui components to the new session prior to clearing the old session. New and Updated Translations: Arabic, Chinese (Simplified Han script), Croatian, Danish, Dutch, French, German, Hungarian, Indonesian, Macedonian, Portuguese, Russian, Serbian, Spanish, Swedish, Tamil, Turkish, Ukrainian @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.4 2025/09/27 07:03:10 adam Exp $ d3 1 a3 1 Do not look for boost_system library. d5 1 a5 1 --- CMakeLists.txt.orig 2025-09-24 15:20:09.889806666 +0000 d7 11 a17 3 @@@@ -576,7 +576,7 @@@@ set (Boost_FIND_QUIETLY ON) if (NOT DEFINED ${BOOST_ROOT}) set(BOOST_ROOT $ENV{BOOST_ROOT}) a18 2 -find_package (Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex system) +find_package (Boost 1.67.0 COMPONENTS date_time filesystem locale program_options regex) a19 2 if (Boost_FOUND) include_directories(${Boost_INCLUDE_DIRS}) @ 1.4 log @gnucash: fix build with boost 1.89.0 @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @gnucash: remove obsolete patch (after 3.4 update) @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.2 2018/09/30 23:47:32 wiz Exp $ d3 1 a3 1 Disable -Werror due to boost issues. d5 1 a5 1 --- CMakeLists.txt.orig 2018-09-29 21:16:50.000000000 +0000 d7 6 a12 1 @@@@ -573,11 +573,11 @@@@ set(CMAKE_CXX_FLAGS "-std=gnu++11 ${CMAK d14 2 a15 13 if (UNIX) - set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}") + set( CMAKE_C_FLAGS "-Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}") set( CMAKE_C_FLAGS "-Wno-deprecated-declarations -std=gnu11 -Wno-error=parentheses ${CMAKE_C_FLAGS}") - set( CMAKE_CXX_FLAGS "-Werror -Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}") + set( CMAKE_CXX_FLAGS "-Wall -Wmissing-declarations -Wno-unused -Wno-error=parentheses ${CMAKE_CXX_FLAGS}") set( CMAKE_CXX_FLAGS "-Wno-deprecated-declarations -Wno-register ${CMAKE_CXX_FLAGS}") - set( CMAKE_C_FLAGS_RELEASE "-O3 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ${CMAKE_C_FLAGS}") + set( CMAKE_C_FLAGS_RELEASE "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 ${CMAKE_C_FLAGS}") endif (UNIX) if (MINGW) set( CMAKE_C_FLAGS "-Werror -Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -Wno-error=deprecated-declarations -std=gnu11 ${CMAKE_C_FLAGS}") @ 1.2 log @gnucash: update to 3.3. Between 3.2 and 3.3, the following bugfixes were accomplished: • Bug 771667 - Different warnings when changing reconciled splits vs. splits linked to reconciled splits. • Bug 784420 - "Save changes on closing" window waits 2^32 seconds when "Time to wait for answer" is set 0. • Bug 786708 - GnuCash won't load currency fractions larger than 1000000. Also create larger fractions for the account dialog. • Bug 787439 - Segmentation Fault in Transfer dialog after clearing Date field and pressing escape. • Bug 789594 - Unable to overwrite sqlite3 database file. • Bug 792446 - Mixed languages in error dialog. • Bug 794526 - Python bindings can't find loadable modules. • Bug 794755 - Commodity Register displays fractional prices. • Bug 794870 - If no book is opened, gnucash still asks if the user wants to save changes when opening a file. • Bug 795821 - GnuCash could not obtain the lock for file://C:\Users\username\Documents\GnuCash\2.6.21\xxxx\xxxx.gnucash • Bug 796054 - Unposting and reposting invoice doubles amounts. • Bug 796137 - query.search_for outputs critical qof.object errors and prevents queries being run. • Bug 796248 - Editing Scheduled Transaction. • Bug 796474 - Segmentation fault while setting up online banking. • Bug 796509 - Saved reports don't respect *some* 'Edit report options'. • Bug 796579 - Cannot go forward with empty duplicates screen. • Bug 796665 - Backspace Key Inoperable After Ctrl+V. • Bug 796669 - Dark Theme Text Colors Hard to Read. • Bug 796724 - Can't overwrite gnucash DB on MariaDB. • Bug 796725 - 4 of 6 Date Posted options fail to return matching transactions. • Bug 796734 - Auto-complete entry not highlighting to allow for incremental entry. • Bug 796737 - Patch to restore gncmod-python.c. • Bug 796739 - Toolbar buttons have no labels. • Bug 796751 - reconcile window usability - R column should be next to Amount. • Bug 796755 - buggy window handling at startup. • Bug 796756 - OFX import fails to recognize associated income accounts. • Bug 796759 - --add-price-quotes leaves a lock on the file. • Bug 796762 - Scrollbar partially hides the delete button in the Saved Report Configurations window. • Bug 796766 - Credit note creating 'imbalance' with wrong entries. • Bug 796777 - CVE-2008-1391: Integer overflow in included strfmon function. • Bug 796788 - Strange behaviour in options of multicolumn report. • Bug 796792 - SaveAs Overwrite dialogue in background and not visible. • Bug 796812 - gnc_date_cell_get_date and gnc_date_cell_get_date_gdate have different date validation behaviour. • Bug 796813 - Date validation inconsistent. • Bug 796814 - Changing a book's read-only threshold doesn't immediately affect open registers. • Bug 796816 - Notes field in Duplicate Invoice dialogue is 'read-only'. • Bug 796819 - Bad icon with Spanish localization. • Bug 796820 - References to 'Gnome Bugzilla' should be changed to 'GnuCash Bugzilla'. • Bug 796833 - Excel csv Format misprocessed. • Bug 796839 - Find transaction won't filter on Date Posted. • Bug 796858 - TypeError: in method 'qof_query_int32_predicate', argument 2 of type 'gint32' on gnucash.gnucash_core.QueryInt32Predicate. @ text @d1 1 a1 1 $NetBSD: patch-CMakeLists.txt,v 1.1 2018/08/20 11:43:42 wiz Exp $ @ 1.1 log @gnucash: disable -Werror to fix build with latest boost Idea from adam@@, thanks! @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- CMakeLists.txt.orig 2018-06-24 21:43:51.000000000 +0000 d7 1 a7 1 @@@@ -560,10 +560,10 @@@@ set(CMAKE_CXX_FLAGS "-std=gnu++11 ${CMAK d12 2 a14 1 + set( CMAKE_C_FLAGS "-Wdeclaration-after-statement -Wno-pointer-sign -Wall -Wmissing-prototypes -Wmissing-declarations -Wno-unused ${CMAKE_C_FLAGS}") d16 1 a16 1 set( CMAKE_C_FLAGS "-Wno-deprecated-declarations -std=gnu11 -Wno-error=parentheses ${CMAKE_C_FLAGS}") @