gnucash master: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sun Sep 25 14:59:54 EDT 2022


Updated	 via  https://github.com/Gnucash/gnucash/commit/3949821d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ebd34067 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6f0d1fa6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/87c1e475 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9c4fac3d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ae993503 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1cac1322 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/05f952db (commit)
	 via  https://github.com/Gnucash/gnucash/commit/788c3ee6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3e4a4dbf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2505955a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/43b6c17b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7c350c3a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1752f1d1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/84f4f3b6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cfd37c91 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6ba0f849 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9a8bc8f7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/596ff269 (commit)
	from  https://github.com/Gnucash/gnucash/commit/58c1a518 (commit)



commit 3949821da63381afef9e47d81373f2563ab60460
Merge: 58c1a5189 ebd340674
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 25 11:50:10 2022 -0700

    Merge branch 'maint'

commit ebd340674e1c326323aabcd5cd85206a462ecb6e
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 24 14:06:53 2022 -0700

    Release GnuCash 4.12

commit 6f0d1fa60ff0ef35442dc11706406f5f8a477758
Author: Maxime Leroy <lisacintosh at gmail.com>
Date:   Fri Sep 23 21:20:24 2022 +0200

    Translation update  by Maxime Leroy <lisacintosh at gmail.com> using Weblate
    
    po/fr.po: 99.9% (5399 of 5401 strings; 2 fuzzy)
    3 failing checks (0.1%)
    Translation: GnuCash/Program (French)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
    
    Co-authored-by: Maxime Leroy <lisacintosh at gmail.com>

commit 87c1e4752ace5c9728896481fe56c43b678f1a55
Author: Minjae Isaac Kwon <minjae.isaac.kwon at gmail.com>
Date:   Fri Sep 23 21:20:24 2022 +0200

    Translation update  by Minjae Isaac Kwon <minjae.isaac.kwon at gmail.com> using Weblate
    
    po/ko.po: 63.8% (3450 of 5401 strings; 1015 fuzzy)
    263 failing checks (4.8%)
    Translation: GnuCash/Program (Korean)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/
    
    Co-authored-by: Minjae Isaac Kwon <minjae.isaac.kwon at gmail.com>

commit 9c4fac3da7a3d9d8f2766a49b156a7b893fbe841
Author: Eduardo Malaspina <vaio0 at swismail.com>
Date:   Fri Sep 23 21:20:23 2022 +0200

    Translation update  by Eduardo Malaspina <vaio0 at swismail.com> using Weblate
    
    po/es.po: 99.8% (5391 of 5401 strings; 10 fuzzy)
    10 failing checks (0.1%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
    
    Co-authored-by: Eduardo Malaspina <vaio0 at swismail.com>

commit ae993503ee84934474601c41f1c7e22a4c6823fe
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 24 00:19:12 2022 +0800

    [assistant-stock-transaction] better punctuation for error messages.

commit 1cac132214858cb4a10217568c3c8e0d9a71f8cf
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Sep 19 14:17:06 2022 +0800

    [gnc-plugin-page-register] hide toolbar and menu in regular register
    
    Instead of toggling sensitivity according to xaccAccountIsPriced,
    toggle visibility instead.

commit 05f952dbe83f4718e3145768b30ed4c3b113ed32
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Sep 22 18:10:47 2022 +0800

    [assistant-stock-transaction] use cpp form for struct
    
    ...and remove unused pointer in struct

commit 788c3ee6176d1a843769d12b9008b7e619ec741a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 21 00:06:25 2022 +0800

    [import-main-matcher] setup_entry handles NULL and empty initial
    
    gtk_entry_set_text throws a warning if initial is empty. Avoid calling
    when initial==NULL.
    
    Also, if the imported transaction has empty-string desc/notes/memo, we
    don't want to populate the GtkEntryCompletion with it.

commit 3e4a4dbfe12981b6ffd6eddfc93e568e6ead0f98
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 21 00:05:34 2022 +0800

    [import-main-matcher] initialize hash tables in common setup
    
    ... otherwise the hash tables aren't initialized when the CSV importer
    calls the import matcher.

commit 2505955ab90e43cc9cb89b7de7930af7e0f9a947
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 20 09:09:28 2022 -0700

    Fix test failure from Bug 798616 fix.

commit 43b6c17b92904d74ae6ce264eb1b07ef59d8eabe
Author: Arve Eriksson <031299870 at telia.com>
Date:   Sat Sep 17 19:19:29 2022 +0200

    Translation update  by Arve Eriksson <031299870 at telia.com> using Weblate
    
    po/sv.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (Swedish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/
    
    Co-authored-by: Arve Eriksson <031299870 at telia.com>

commit 7c350c3ae5ab014ecd611a518a7738fd8a46082b
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 19 18:06:26 2022 -0700

    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 to get_currency_denom
    and get_commodity_denom to GNC_DENOM_AUTO which will normally leave
    the denominator alone.

commit 1752f1d19d3e59de0ba4b6a42dc93af4f79c0385
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Sep 19 23:05:33 2022 +0800

    [assistant-stock-transaction] disallow stock split ratio of 0.
    
    otherwise the reverse stock split would allow a new stock amount
    balance of zero.

commit 84f4f3b6f852bb76382009466beb4335f5cb4aa6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Sep 19 10:03:28 2022 +0800

    [assistant-stock-transaction] add to toolbar

commit cfd37c91028268c8a8b4199bc7bc3b60ade03099
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Sep 19 09:31:21 2022 +0800

    [assistant-stock-transaction] fix stock split creation algorithm
    
    * stock_amount was reduced as a previous bugfix attempt
    * remove references to Stock Split Assistant

commit 6ba0f849ba925e797d1ab65f5374db7740139c53
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 17 22:51:18 2022 +0800

    [assistant-stock-transaction] refactor: centralize price calculator
    
    Price was being computed in 3 places: the stock_value page, the
    summary-table info list, and the final pricedb creation function. This
    commit centralizes it into 1 function which returns std::nullopt if
    the price is not computable.
    
    Also fixes price display to follow global pref general/force-price-decimal

commit 9a8bc8f7e5b8f44076297689adfa698929a77f2b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 17 14:17:50 2022 +0800

    [assistant-stock-transaction] disallow selection in summary table
    
    ... because selection hides the red color from last commit. There's no
    action attached to selection in the treeview. It can be disabled.

commit 596ff26928b55a3d3eb887affbe087f736359fb0
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 17 13:37:04 2022 +0800

    [assistant-stock-transaction] if negative Units, render in red color
    
    ...in the summary table



Summary of changes:
 NEWS                                               |  66 ++++++++++++
 gnucash/gnome/assistant-stock-transaction.cpp      | 113 ++++++++++++---------
 gnucash/gnome/gnc-plugin-page-register.c           |  17 +---
 .../gtkbuilder/assistant-stock-transaction.glade   |   2 +-
 gnucash/import-export/import-main-matcher.c        |  16 +--
 gnucash/ui/gnc-plugin-page-register-ui.xml         |   1 +
 libgnucash/engine/Split.c                          |  16 +--
 libgnucash/engine/test/utest-Split.cpp             |   6 +-
 po/es.po                                           |  18 ++--
 po/fr.po                                           |  16 ++-
 po/ko.po                                           |  10 +-
 po/sv.po                                           |  14 +--
 12 files changed, 180 insertions(+), 115 deletions(-)



More information about the gnucash-patches mailing list