gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Dec 17 23:09:13 EST 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/dec66bc8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/98155795 (commit)
	from  https://github.com/Gnucash/gnucash/commit/092d67eb (commit)



commit dec66bc8c629a86ddc05f707f30a277962893848
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Dec 17 16:35:13 2022 -0800

    Release GnuCash 4.13

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f3958ba25..26e700bcd 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ if (CMAKE_VERSION VERSION_GREATER_EQUAL 3.14.0)
 endif()
 
 project (gnucash
-    VERSION 4.12
+    VERSION 4.13
 )
 
 enable_testing()
diff --git a/NEWS b/NEWS
index 621cc481a..66aa081c6 100644
--- a/NEWS
+++ b/NEWS
@@ -1,60 +1,155 @@
 Version history:
 ------- -------
+4.13 - 18 December 2022
+Between 4.12 and 4.13, the following bugfixes were accomplished:
+
+    Bug 760274 - The Statusbar "forgets" when register doesn't have focus
+    Bug 798545 - Crash when updating document link on vendor bill
+    Bug 798614 - Croatia to join the Euro
+    Bug 798629 - gnucash crashes attempting to import OFX file
+    Bug 798633 - 4.12 build failure on 32-bit Linux: "No code for module"
+    Bug 798640 - Segfault when running saved report
+    Bug 798649 - Crash when closing Edit Style Sheets dialog while Style Sheet
+                 Properties dialog is still open.
+    Bug 798653 - Schedule Calendar event description pop up window does not
+                 track mouse position
+    Bug 798657 - Import Summary language is wrong
+    Bug 798664 - Result of 'gnucash --nofile' is marked dirty
+    Bug 798669 - Multicolumn Balance Sheet not printing exchange rates
+
+    include equity accounts in the exchange rate commodities list.
+    Bug 798672 - Preferences are not saved nor loaded,
+                 ERROR <GLib-GIO> g_settings_new_full: assertion
+                 'schema != NULL' failed
+    Bug 798680 - Not able to match a reverse transaction of a previously
+                 matched transaction.
+    Bug 798681 - Previously imported investment income transactions may not
+                 be filtered.
+    Bug 798694 - Cursor in the wrong place after pasting with auto-completion
+
+The following fixes and improvements were not associated with bug reports:
+
+    Don't normalize text when pasting from the clipboard or appending
+        descriptions or notes during imports.
+    [register] Delay post-ime reset of the selection to works around bug 798587.
+    [ofx import] Clean up importing investment transactions for smoother
+        workflow and better UI behavior.
+    [account-piecharts] drill-down piechart: tree-depth is at most 6
+    Fix numerous memory leaks.
+    [ifrs-report] From Bug 798004 allow Cr cash to offset Dr fee and remove
+        invalid "dividend reinvestment" during short.
+    [gtest-qofevent.cpp] Add comprehensive tests for qofevent
+    [test-qofbook] Test that gnc_features_test_unknown returns a suitable
+        error message
+    [test-qofbook.c] add test for gnc_features_set_unused
+    [gnc-features.cpp] backport gnc_features_set_unused from master
+    [qofbook.cpp] backport qof_book_unset_feature from master
+    Move gnc-euro.[ch] to engine and unit test it.
+    [test-qofbook] basic features test: Sets a feature and tests it's set.
+        It's impossible to design a book with unknown features using the API.
+    po/README: Remove relics from ancient context forms
+    [test-ifrs-cost-basis] amend tests to accommodate extra column.
+    [ifrs-cost-basis] compare register vs calculated capgain per transaction.
+    Accomodate WebKit package version update to webkit2gtk-4.1.
+    [assistant-stock-transaction] input positive capgains for Credit income account.
+
+New API: None.
+
+Deprecations:
+
+    qof_book_get_features
+
+New and Updated Translations: Chinese (Simplified), Croatian, English
+    (Australia), English (New Zealand), English (United Kingdom), French,
+    Hungarian, Indonesian, Japanese, Korean, Macedonian, Polish, Spanish,
+    Urdu
+
 4.12 - 25 September 2022
 Between 4.11 and 4.12, the following bugfixes were accomplished:
 
     Bug 794584 - Register not updated when scheduled transactions created
     Bug 798262 - Scheduled transactions with blank amounts do not get created.
-    Bug 798385 - Description to often only "Landesbank Hessen-Thuringen Girozentrale"
-
-    Prepend the Ulitimate Creditor or Ultimate Debtor to the transaction description.
-    Bug 798565 - Import map editor: deletion of a map does not mark gnucash document as dirty
+    Bug 798385 - Description to often only
+                 "Landesbank Hessen-Thuringen Girozentrale"
+                 Prepend the Ulitimate Creditor or Ultimate Debtor to the
+                 transaction description.
+    Bug 798565 - Import map editor: deletion of a map does not mark gnucash
+                 document as dirty
     Bug 798573 - Tab Width Behaviour
-
-    Formerly when the notebook tabs on the left or right, the space used fluctuated depending on tab label width. This change sets the label width to the preference setting when the tabs are on the left or right but when top or bottom the width is set to the number of characters when shorter than the preference setting so they take up less room.
-    Bug 798578 - MT940 imports broken - all transactions have date of first transaction
-    Bug 798585 - segfault running sample script
-
-    simple_business_create.py.
+                 Formerly when the notebook tabs on the left or right,
+                 the space used fluctuated depending on tab label
+                 width. This change sets the label width to the
+                 preference setting when the tabs are on the left or
+                 right but when top or bottom the width is set to the
+                 number of characters when shorter than the preference
+                 setting so they take up less room.
+    Bug 798578 - MT940 imports broken - all transactions have date of first
+                 transaction
+    Bug 798585 - segfault running sample script simple_business_create.py.
     Bug 798588 - sx scrubbing was using incorrect free function
     Bug 798590 - Transaction report: wrong type argument in position 1
-    Bug 798598 - Selecting a line in a Vendor Credit Note changes display of Subtotal cell to 0.00
+    Bug 798598 - Selecting a line in a Vendor Credit Note changes display of
+                 Subtotal cell to 0.00
     Bug 798611 - Date changing when changing timezone by one hour
-
-    When getting a date from the date editor anywhere in the program set the time to neutral time instead of the beginning of the day unless get_date_internal is called with GNC_DATE_EDIT_SHOW_TIME in which case the user-provided time is used.
+                 When getting a date from the date editor anywhere in
+                 the program set the time to neutral time instead of
+                 the beginning of the day unless get_date_internal is
+                 called with GNC_DATE_EDIT_SHOW_TIME in which case the
+                 user-provided time is used.
     Bug 798616 - Can't register amount greater than 9,000,000,000
-
-    Because when loading the value the split in the xml backend doesn't yet have a parent so the code tried to convert to GNC_COMMODITY_MAX_FRACTION and if the numerator was larger than 10^10 that would overflow. To fix it this changes the "don't know" response in get_currency_denom and get_commodity_denom to GNC_DENOM_AUTO which will normally leave the denominator alone.
+                 Because when loading the value the split in the xml
+                 backend doesn't yet have a parent so the code tried
+                 to convert to GNC_COMMODITY_MAX_FRACTION and if the
+                 numerator was larger than 10^10 that would
+                 overflow. To fix it this changes the "don't know"
+                 response in get_currency_denom and
+                 get_commodity_denom to GNC_DENOM_AUTO which will
+                 normally leave the denominator alone.
 
 The following fixes and improvements were not associated with bug reports:
 
-    It is now possible to edit the description, notes, and memo fields of new transactions in the import matcher and to do so for multiple transactions. The option is accessed via a context menu on selected import lines.
-    Show GnuCash's installation and configuration configuration paths in the About dialog. List the same from the command line with a --paths option.
+    It is now possible to edit the description, notes, and memo fields of
+        new transactions in the import matcher and to do so for multiple
+        transactions. The option is accessed via a context menu on selected
+        import lines.
+    Show GnuCash's installation and configuration configuration paths in the
+        About dialog. List the same from the command line with a --paths option.
     Add account hierarchy templates for locale es_AR
-    Continued work on the Stock Transaction Assistant. If you want to try out this new way of recording your investment transactions start GnuCash with the --extra option. The stock assistant is available on the toolbar and from the Actions menu when a register for a STOCK or FUND account is focused.
-    Replace the very obsolete ghelp: URI scheme with help: and install the documentation according to the XDG documentation spec on non-Mac Linux systems. This ensures that the Help menu documentation items work with Gnome 42 and later.
-    Conforming to the XDG documentation spec, rename the root page of the Help manual to index from help. This has the happy side effect of removing some special-case code from the macOS documentation links.
-    Standardize the top-level Equity and Assets account names in the French templates to "Capitaux propres" and "Actif" respectively.
+    Continued work on the Stock Transaction Assistant. If you want to try out
+        this new way of recording your investment transactions start GnuCash
+        with the --extra option. The stock assistant is available on the
+        toolbar and from the Actions menu when a register for a STOCK or FUND
+        account is focused.
+    Replace the very obsolete ghelp: URI scheme with help and install the
+        documentation according to the XDG documentation spec on non-Mac Linux
+        systems. This ensures that the Help menu documentation items work with
+        Gnome 42 and later.
+    Conforming to the XDG documentation spec, rename the root page of the Help
+        manual to index from help. This has the happy side effect of removing
+        some special-case code from the macOS documentation links.
+    Standardize the top-level Equity and Assets account names in the French
+        templates to "Capitaux propres" and "Actif" respectively.
     [gnc-ab-utils] concise string accumulator
     [gnc-glib-utils] gnc_g_list_stringjoin skips NULL data
-    [ifrs-cost-basis] identify sale/purchase according to truth table instead of via flawed heuristics
+    [ifrs-cost-basis] identify sale/purchase according to truth table instead
+        of via flawed heuristics
     [ifrs-cost-basis] add options used as a report footer
     [lot-viewer] Show Open & Close dates only when they have a value.
     Fix use-after-free crash in gnc_set_busy_cursor.
     Create Swiss SMB account chart acctchrt_pme-19.gnucash-xea.
     [date-utilities] avoid report crash if start > end date
     [html-chart] add percent formatter for numbers for older javascript.
-    [trial-balance] set default price-source to average-cost
-
-    to minimise complaints (see Bug 798550)
+    [trial-balance] set default price-source to average-cost to minimise
+        complaints (see Bug 798550)
     Use macos-latest github runner for mac tests.
     [dialog-price] Price Database: Insert help buttons
-    Disable transaction type (i.e. Bill or Invoice) in Invoice/Bill Registers, determining the type by inspecting the money flow.
-    Fix python tests dependencies
-
-    So that ninja check works from a clean build directory with Python enabled.
+    Disable transaction type (i.e. Bill or Invoice) in Invoice/Bill Registers,
+        determining the type by inspecting the money flow.
+    Fix python tests dependencies so that ninja check works from a clean build
+        directory with Python enabled.
     Review of account templates C—missing placeholders, redundancies
-    Fixed a variety of fixed memory leaks, poor list handling, and dangling reference errors.
+    Fixed a variety of fixed memory leaks, poor list handling, and dangling
+        reference errors.
 
 New API:
      gnc_tm_get_today_neutral to complement gnc_tm_get_today_begin and
@@ -64,7 +159,11 @@ New API:
 
 Deprecations: None.
 
-New and Updated Translations: Basque, Chinese (Simplified), Croatian, Dutch, English (Australia), English (New Zealand), English (United Kingdom), French, German, Hebrew, Hungarian, Indonesian, Italian, Korean, Marathi, Polish, Portuguese, Portuguese (Brazil), Russian, Swedish, Ukrainian 
+New and Updated Translations: Basque, Chinese (Simplified), Croatian,
+    Dutch, English (Australia), English (New Zealand), English (United
+    Kingdom), French, German, Hebrew, Hungarian, Indonesian, Italian,
+    Korean, Marathi, Polish, Portuguese, Portuguese (Brazil), Russian,
+    Swedish, Ukrainian
 
 4.11 - 26 June 2022
 Between 4.10 and 4.11, the following bugfixes were accomplished:

commit 98155795d656897ac0752586243d87ac0d46d173
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Dec 17 18:19:08 2022 -0800

    [register] Don't usleep on Apple or Win32.
    
    Not needed and usleep needs an extra include for MinGW64.

diff --git a/gnucash/register/register-gnome/gnucash-sheet.c b/gnucash/register/register-gnome/gnucash-sheet.c
index 374cd4fc0..b5586ab3c 100644
--- a/gnucash/register/register-gnome/gnucash-sheet.c
+++ b/gnucash/register/register-gnome/gnucash-sheet.c
@@ -1833,11 +1833,13 @@ gnucash_sheet_key_press_event_internal (GtkWidget *widget, GdkEventKey *event)
     /* Followed by the input method */
     if (gtk_entry_im_context_filter_keypress (GTK_ENTRY(sheet->entry), event))
     {
+#if !(defined(__APPLE__) || defined(__WIN32__))
         /* There's sometimes a timing issue when running under KDE
          * Plasma where this call removes the selection. This 1ms
          * sleep prevents it.
          */
         usleep(1000);
+#endif
         /* Restore the saved cursor position in case GtkEntry's IMContext
          * handlers messed with it after we set it in our insert_cb.
          */



Summary of changes:
 CMakeLists.txt                                  |   2 +-
 NEWS                                            | 161 +++++++++++++++++++-----
 gnucash/register/register-gnome/gnucash-sheet.c |   2 +
 3 files changed, 133 insertions(+), 32 deletions(-)



More information about the gnucash-changes mailing list