gnucash stable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Jun 24 16:37:47 EDT 2023


Updated	 via  https://github.com/Gnucash/gnucash/commit/96f6f068 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4768c31b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cdf0a374 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2628ad0b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1e1e9220 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/57ca1351 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/eb6addb0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/dff96b2c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ab6c6371 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/069eb61a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d7b2b06b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fe526a60 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4b83068c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/668b6978 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/35e3878a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cd0c5234 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b721407b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b7b3209c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/20545706 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/932f086e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0812a47e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1c1bf29c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bc2dbf70 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/be904810 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/aec53d9b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8cebf42a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3f0a517d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e931722e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3986ab36 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/53238f6a (commit)
	from  https://github.com/Gnucash/gnucash/commit/ba7b2606 (commit)



commit 96f6f0684114897f7da74d9a426e19fd44820560
Merge: 4768c31b94 668b6978cd
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Jun 24 13:29:15 2023 -0700

    Merge latest translations from Weblate.

commit 4768c31b94d36ce6c7580dc5eb7c9636c98a8512
Merge: ba7b26066e cdf0a37404
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Jun 24 13:06:57 2023 -0700

    Merge Simon Arlott's 'static-analysis' into stable.

commit cdf0a37404173972b788b7b2468efdb1a063d13e
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 20:13:27 2023 +0100

    Bug 798966 - Uninitialised variable used in dialog-account-picker.c:dialog_response_cb()
    
    The "placeholder" variable in dialog-account-picker.c:dialog_response_cb() may
    be uninitialised before use if gtk_tree_selection_get_selected() returns
    false.
    
    Initialise it to true:
    "jralls: The signal is blocked if the account is a placeholder, meaning
    that one can't post splits to it. One also can't post splits to no account,
    so the signal should be blocked in that case too."

commit 2628ad0b6e264df858ce0fbc83b909bc7dab9c4a
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 16:33:38 2023 +0100

    Initialise all column widths in set_dimensions_pass_two()
    
    It shouldn't be possible for the number of columns to be different between
    the header cursor and the other cursors but the return value from
    g_table_index() is checked just in case this happens.
    
    If this did happen, the width would be set using an uninitialised value
    so initialise them all to 0.

commit 1e1e9220813ee04a833b345512efce8ce945fba5
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 16:14:39 2023 +0100

    Fix null pointer dereference in gnc_split_register_save_to_copy_buffer()
    
    If the "transfer" cell has been changed while cutting or copying a split
    then it'll dereference the NULL "ft" value.
    
    Check that "ft" is not NULL. This is equivalent to the original behaviour
    before cb273b13a1269cf089c27e21192da444297fe3ae when the number of splits
    would have been determined to be 0 for the SCM_UNDEFINED value of
    "trans_scm".

commit 57ca13515d75796d3350d6821feb2deeb7e88e70
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 13:13:34 2023 +0100

    Fix use of uninitialised value in gnc_split_register_load()
    
    The column value appears to be unused by gnc_split_register_show_trans()
    but vc_loc.virt_col is an int so its value will not have been default
    initialised. Set it to 0 to be consistent with other callers.

commit eb6addb0586e5838e76cbc6b2a437442de346712
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 12:58:52 2023 +0100

    Fix memory leak in gnc_main_window_update_menu_and_toolbar()
    
    The function could return after allocating a new GncMenuModelSearch
    without freeing it. Move the allocation later so that this doesn't happen.

commit dff96b2cfada46e8e5d97eff19d42f7740fca3af
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 12:56:08 2023 +0100

    Add missing null pointer check in gnc_account_renumber_update_examples()
    
    gtk_entry_get_text() should never return null but "prefix" is checked for
    null on the first string and then dereferenced unconditionally on the
    second string. Change this to be consistent and check twice.

commit ab6c6371baf29f901aa97f7705d3be4a9eba9528
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 12:50:00 2023 +0100

    Initialise toclear_value in gnc_autoclear_window_ok_cb()
    
    If "test for valid value" is false, errmsg is set which means there is then
    a read of "toclear_value" which has not been initialised.
    
    Initialise it to indicate an error with the value.

commit 069eb61a3f3b6cf2c86a32a21f296b8785d2dc2f
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 12:40:29 2023 +0100

    Avoid the potential negative left shift in test_xaccAccountType_Compatibility()
    
    ACCT_TYPE_NONE is -1 but it should always be masked out by compat;
    explicitly check for this instead of relying on that.
    
    Add parenthesis to be clear that the default precedence is what's intended.

commit d7b2b06baefb15aecdef48b984c6f09b091c0c85
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 12:22:33 2023 +0100

    Avoid unnecessary memory allocation in dom_tree_to_gnc_numeric()
    
    Return a gnc_numeric instead of allocations that every caller has to free.
    
    This makes it easier to fix the use after free in the unit test function
    equals_node_val_vs_split_internal() where the expression in the return
    statement wants to use the allocated gnc_numeric.

commit fe526a6043459763dba2701ff74fdb7717e193e4
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 11:49:29 2023 +0100

    Check source parameter to GncQuotesImpl::report() is not null
    
    The "source" parameter is checked once at the start before using strcmp()
    but is then used later on in GncQuotesImpl::query_fq() with function calls
    that can't handle null values.

commit 4b83068c6b64d41e82cee1c48caa5a73e94fe8f9
Author: Simon Arlott <sa.me.uk>
Date:   Sat Jun 24 11:41:44 2023 +0100

    Fix return value of gnc_book_write_to_xml_file_v2()
    
    81b9a022353a32ad1f913a91ad999f93b1d09bd7 changed the behaviour of the
    "success" variable that's used for the return value, so now the value is
    being repeatedly overwritten instead of being combined with the result of
    the next call.
    
    Restore the original behaviour of setting success to false on failure.

commit 668b6978cdf6f7d80e2af56431d4d7d571b8c35d
Author: Vincent Dawans <dawansv at gmail.com>
Date:   Fri Jun 23 22:55:18 2023 +0000

    Translation update  by Vincent Dawans <dawansv at gmail.com> using Weblate
    
    po/fr.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    368 failing checks (6.6%)
    Translation: GnuCash/Program (French)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

commit 35e3878aa9765fd479ee9e58c50ecfedfe6ada8a
Author: Vincent Dawans <dawansv at gmail.com>
Date:   Thu Jun 22 04:14:51 2023 +0000

    Translation update  by Vincent Dawans <dawansv at gmail.com> using Weblate
    
    po/fr.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    368 failing checks (6.6%)
    Translation: GnuCash/Program (French)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

commit cd0c5234abef50d6d8410c777e91222d8598c030
Author: gallegonovato <fran-carro at hotmail.es>
Date:   Wed Jun 21 20:03:35 2023 +0000

    Translation update  by gallegonovato <fran-carro at hotmail.es> using Weblate
    
    po/es.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    16 failing checks (0.2%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

commit b721407b8d5becf2e21e0bd98ddcc41ec05ac39d
Author: Brian Hsu <brianhsu.hsu at gmail.com>
Date:   Wed Jun 21 05:10:49 2023 +0000

    Translation update  by Brian Hsu <brianhsu.hsu at gmail.com> using Weblate
    
    po/zh_TW.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    57 failing checks (1.0%)
    Translation: GnuCash/Program (Chinese (Traditional))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/

commit b7b3209c18649e7451eeb9b496a89a156737f0a6
Author: Vincent Dawans <dawansv at gmail.com>
Date:   Wed Jun 21 03:43:32 2023 +0000

    Translation update  by Vincent Dawans <dawansv at gmail.com> using Weblate
    
    po/fr.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    371 failing checks (6.7%)
    Translation: GnuCash/Program (French)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

commit 20545706eb8d593e1b6a10271ad046c9a47a6203
Author: Vincent Dawans <dawansv at gmail.com>
Date:   Wed Jun 21 02:03:10 2023 +0000

    Translation update  by Vincent Dawans <dawansv at gmail.com> using Weblate
    
    po/fr.po: 99.2% (5478 of 5522 strings; 0 fuzzy)
    372 failing checks (6.7%)
    Translation: GnuCash/Program (French)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

commit 932f086e40a2cd0f116037400c6f4ccdd73b9e7b
Author: gallegonovato <fran-carro at hotmail.es>
Date:   Tue Jun 20 18:43:42 2023 +0000

    Translation update  by gallegonovato <fran-carro at hotmail.es> using Weblate
    
    po/es.po: 99.9% (5520 of 5522 strings; 1 fuzzy)
    18 failing checks (0.3%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

commit 0812a47e6ba1316f974c86ef03166cfaf31db4d0
Author: Francisco Serrador <fserrador at gmail.com>
Date:   Tue Jun 20 19:21:23 2023 +0000

    Translation update  by Francisco Serrador <fserrador at gmail.com> using Weblate
    
    po/es.po: 99.9% (5520 of 5522 strings; 1 fuzzy)
    18 failing checks (0.3%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/

commit 1c1bf29c9cac6a0719300392aaaed29341ef2663
Author: Yuri Chornoivan <yurchor at ukr.net>
Date:   Tue Jun 20 14:51:49 2023 +0200

    Translation update  by Yuri Chornoivan <yurchor at ukr.net> using Weblate
    
    po/uk.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    20 failing checks (0.3%)
    Translation: GnuCash/Program (Ukrainian)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/uk/
    
    Co-authored-by: Yuri Chornoivan <yurchor at ukr.net>

commit bc2dbf707a454dafee02c0ed47fd7e0cfa33f089
Author: Brian Hsu <brianhsu.hsu at gmail.com>
Date:   Tue Jun 20 14:51:48 2023 +0200

    Translation update  by Brian Hsu <brianhsu.hsu at gmail.com> using Weblate
    
    po/zh_TW.po: 99.4% (5491 of 5522 strings; 29 fuzzy)
    53 failing checks (0.9%)
    Translation: GnuCash/Program (Chinese (Traditional))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hant/
    
    Co-authored-by: Brian Hsu <brianhsu.hsu at gmail.com>

commit be904810df772ed91cbf15739bd959d89d28fc92
Author: Vincent Dawans <dawansv at gmail.com>
Date:   Tue Jun 20 14:51:47 2023 +0200

    Translation update  by Vincent Dawans <dawansv at gmail.com> using Weblate
    
    po/fr.po: 96.3% (5318 of 5522 strings; 89 fuzzy)
    388 failing checks (7.0%)
    Translation: GnuCash/Program (French)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
    
    Co-authored-by: Vincent Dawans <dawansv at gmail.com>

commit aec53d9bbed5347ccc11b12fbebcf9b2f06bae8c
Author: Arve Eriksson <031299870 at telia.com>
Date:   Tue Jun 20 14:51:46 2023 +0200

    Translation update  by Arve Eriksson <031299870 at telia.com> using Weblate
    
    po/sv.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    44 failing checks (0.7%)
    Translation: GnuCash/Program (Swedish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/
    
    Translation update  by Arve Eriksson <031299870 at telia.com> using Weblate
    
    po/sv.po: 99.4% (5494 of 5522 strings; 26 fuzzy)
    47 failing checks (0.8%)
    Translation: GnuCash/Program (Swedish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/
    
    Translation update  by Arve Eriksson <031299870 at telia.com> using Weblate
    
    po/sv.po: 99.4% (5492 of 5522 strings; 26 fuzzy)
    47 failing checks (0.8%)
    Translation: GnuCash/Program (Swedish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/
    
    Co-authored-by: Arve Eriksson <031299870 at telia.com>

commit 8cebf42a14d0987f5d91c0d8d9e8f2f3cf0a8271
Author: Christian Wehling <christian.wehling at web.de>
Date:   Tue Jun 20 14:51:46 2023 +0200

    Translation update  by Christian Wehling <christian.wehling at web.de> using Weblate
    
    po/de.po: 99.4% (5489 of 5522 strings; 28 fuzzy)
    56 failing checks (1.0%)
    Translation: GnuCash/Program (German)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
    
    Co-authored-by: Christian Wehling <christian.wehling at web.de>

commit 3f0a517df4eaaf1d3dd8d66cba107d7beade853c
Author: gallegonovato <fran-carro at hotmail.es>
Date:   Tue Jun 20 14:51:45 2023 +0200

    Translation update  by gallegonovato <fran-carro at hotmail.es> using Weblate
    
    po/es.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    29 failing checks (0.5%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
    
    Translation update  by gallegonovato <fran-carro at hotmail.es> using Weblate
    
    po/es.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    29 failing checks (0.5%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
    
    Translation update  by gallegonovato <fran-carro at hotmail.es> using Weblate
    
    po/es.po: 99.9% (5520 of 5522 strings; 2 fuzzy)
    31 failing checks (0.5%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
    
    Translation update  by gallegonovato <fran-carro at hotmail.es> using Weblate
    
    po/es.po: 99.9% (5519 of 5522 strings; 3 fuzzy)
    31 failing checks (0.5%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
    
    Translation update  by gallegonovato <fran-carro at hotmail.es> using Weblate
    
    po/es.po: 99.8% (5514 of 5522 strings; 8 fuzzy)
    6 failing checks (0.1%)
    Translation: GnuCash/Program (Spanish)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
    
    Co-authored-by: gallegonovato <fran-carro at hotmail.es>

commit e931722e6017dc6a9a12561c84ce7724e6097ea3
Author: Pedro Albuquerque <pmra at gmx.com>
Date:   Tue Jun 20 14:51:44 2023 +0200

    Translation update  by Pedro Albuquerque <pmra at gmx.com> using Weblate
    
    po/pt.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (Portuguese)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt/
    
    Co-authored-by: Pedro Albuquerque <pmra at gmx.com>

commit 3986ab365b175695b4eb0152181bb59246a1f729
Author: Rune Osnes <osnes.rune at gmail.com>
Date:   Tue Jun 20 14:51:43 2023 +0200

    Translation update  by Rune Osnes <osnes.rune at gmail.com> using Weblate
    
    po/nb.po: 49.9% (2759 of 5522 strings; 1785 fuzzy)
    2067 failing checks (37.4%)
    Translation: GnuCash/Program (Norwegian Bokmål)
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
    
    Co-authored-by: Rune Osnes <osnes.rune at gmail.com>

commit 53238f6a9043d746056cbac59191ec05b7d7a299
Author: Simon Arlott <weblate.simon at arlott.org>
Date:   Tue Jun 20 14:51:43 2023 +0200

    Translation update  by Simon Arlott <weblate.simon at arlott.org> using Weblate
    
    po/en_NZ.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (English (New Zealand))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_NZ/
    
    Translation update  by Simon Arlott <weblate.simon at arlott.org> using Weblate
    
    po/en_AU.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (English (Australia))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_AU/
    
    Translation update  by Simon Arlott <weblate.simon at arlott.org> using Weblate
    
    po/en_GB.po: 100.0% (5522 of 5522 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (English (United Kingdom))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/
    
    Co-authored-by: Simon Arlott <weblate.simon at arlott.org>



Summary of changes:
 gnucash/gnome-utils/dialog-account.c               |    2 +-
 gnucash/gnome-utils/gnc-main-window.cpp            |    2 +-
 gnucash/gnome/window-autoclear.c                   |    2 +-
 .../import-export/qif-imp/dialog-account-picker.c  |    2 +-
 gnucash/register/ledger-core/split-register-load.c |    1 +
 gnucash/register/ledger-core/split-register.c      |    2 +-
 gnucash/register/register-gnome/gnucash-style.c    |    2 +-
 libgnucash/app-utils/gnc-quotes.cpp                |    5 +-
 libgnucash/backend/xml/gnc-bill-term-xml-v2.cpp    |    6 +-
 libgnucash/backend/xml/gnc-customer-xml-v2.cpp     |   16 +-
 libgnucash/backend/xml/gnc-employee-xml-v2.cpp     |   14 +-
 libgnucash/backend/xml/gnc-entry-xml-v2.cpp        |    6 +-
 libgnucash/backend/xml/gnc-invoice-xml-v2.cpp      |    5 +-
 libgnucash/backend/xml/gnc-pricedb-xml-v2.cpp      |    5 +-
 libgnucash/backend/xml/gnc-tax-table-xml-v2.cpp    |    5 +-
 libgnucash/backend/xml/gnc-transaction-xml-v2.cpp  |   10 +-
 libgnucash/backend/xml/io-gncxml-v1.cpp            |    5 +-
 libgnucash/backend/xml/io-gncxml-v2.cpp            |   11 +-
 libgnucash/backend/xml/sixtp-dom-parsers.cpp       |   26 +-
 libgnucash/backend/xml/sixtp-dom-parsers.h         |    2 +-
 .../backend/xml/test/test-dom-converters1.cpp      |   18 +-
 .../backend/xml/test/test-xml-transaction.cpp      |   26 +-
 libgnucash/engine/test/utest-Account.cpp           |    2 +-
 po/de.po                                           |   21 +-
 po/en_AU.po                                        |  162 +--
 po/en_GB.po                                        |  162 +--
 po/en_NZ.po                                        |  162 +--
 po/es.po                                           |  246 ++--
 po/fr.po                                           | 1323 +++++++++-----------
 po/nb.po                                           |  133 --
 po/pt.po                                           |  167 +--
 po/sv.po                                           |  164 +--
 po/uk.po                                           |  170 +--
 po/zh_TW.po                                        |  159 +--
 34 files changed, 1095 insertions(+), 1949 deletions(-)



More information about the gnucash-patches mailing list