gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sun Sep 12 19:56:07 EDT 2021


Updated	 via  https://github.com/Gnucash/gnucash/commit/017ab069 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/edad1943 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b9deb5ea (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d0f7daf4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/72a3ebbb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b8552a80 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a310b72b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fcab2982 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cd0d50aa (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ff26b71a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8ab8642e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1387d5f9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d4bd6005 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/140922a3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d398a359 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e6573664 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ab24c346 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4a8acf3f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ae559089 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4488568b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/901fea15 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/38cd06e5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/079a9003 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/068a5d2f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4e9fe0a4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4afe5d83 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d3a056d1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/429a0806 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/82f70ffe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/849fdd59 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/047673a4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/06652082 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e4619fda (commit)
	 via  https://github.com/Gnucash/gnucash/commit/002b3918 (commit)
	from  https://github.com/Gnucash/gnucash/commit/8d502fcd (commit)



commit 017ab0693993f8ee1edbbddcca6bda5f11b9a383
Merge: 8d502fcdd edad19438
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 12 22:44:34 2021 +0800

    Merge branch 'maint'

commit edad194389d91421e80bfc78f067b002a7e6d9e6
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 11 16:09:55 2021 -0700

    Bug 798180 - Update to macOS Big Sur 11.3 breaks Finance Quote
    
    Added new dependency Test2 to gnc-fq-update. This is a second-order
    dependency of Finanance::Quote that CPAN doesn't seem to recognize
    on its own.

commit b9deb5ea2a870f1568c8342b60a6df9c44772344
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 11 10:11:36 2021 -0700

    Bug 798303 - account list is sorted wrong by amount
    
    Use balances converted to the default currency when sorting columns on
    the accounts page.

commit d0f7daf4cfd02db17c03e3946e145a13760cd3d0
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 11 15:45:32 2021 +0800

    Revert "[engine.i] QofQueryParamList * args must be freed"
    
    This reverts commit 72a3ebbba330635325ba657a8e4935c510dd5047. Freeing
    does not apply to all qof_query_* calls.

commit 72a3ebbba330635325ba657a8e4935c510dd5047
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 11 14:57:57 2021 +0800

    [engine.i] QofQueryParamList * args must be freed

commit b8552a8070325e6815fd9086eb3cacbb3f57612a
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 10 17:01:38 2021 -0700

    Fix python transaction test_date on Ubuntu-81.04.
    
    Python3 there is too old for fromisoformat, use direct construction
    instead.

commit a310b72b37c58958dd50301153e20eecfdd365f1
Author: TianXing_Yi <ytx.cash at gmail.com>
Date:   Fri Sep 10 18:33:34 2021 +0200

    Translation update  by TianXing_Yi <ytx.cash at gmail.com> using Weblate
    
    po/zh_CN.po: 99.9% (5361 of 5364 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (Chinese (Simplified))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
    
    Co-authored-by: TianXing_Yi <ytx.cash at gmail.com>

commit fcab298245f39318cc7151ee86ef985ec9d39489
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 10 13:26:59 2021 -0700

    Add test for Transaction GetDate() in python bindings.
    
    Pursuant to Bug 798284.

commit cd0d50aac135d74aac6ee5e2297da258b71ebbae
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Sep 10 12:21:46 2021 -0700

    Deprecate date options with a time of day setting.
    
    Removing the only use, an example in hello-world.scm. GnuCash doesn't
    use this value in any of its own report options and the feature will
    be removed in GnuCash 5.
    
    Related to bug 798297 Pref "Use 24-hour clock" obsolete?.

commit ff26b71a91ab50f6a4db465b4bde0c42fc072f97
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 9 18:03:18 2021 -0700

    Bug 798256 - Crash in recnFinishCB
    
    Make the action_group not sensitive in the recn_destroy_cb so that
    the action callbacks won't be called after the recnData is freed.

commit 8ab8642e76466e1af2c381dfa64b5bb3409f2a9e
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 9 16:02:00 2021 -0700

    Fix leak of trading_splits list in xaccTransClearTradingSplits

commit 1387d5f960255feeeb7a2a63ce3f7119385e69cc
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 9 15:58:47 2021 -0700

    Fix unchecked ptr dereference.
    
    First crash in Bug 798225.

commit d4bd60059614cbe980bef100476fa8d044ee805d
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Sep 9 15:58:19 2021 -0700

    Fix free-of-unallocated-address crash due to uninitialized ptr.

commit 140922a37e451461e07c615f603fd3807fd4f724
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 8 23:59:24 2021 +0800

    QofQuery args must be destroyed after qof_query_merge
    
    qof_query_merge returns a new QofQuery; the two merged QofQueries are
    not explicitly destroyed.

commit d398a359caf7b60b4879984cf56be7a64e1fc2f3
Author: cjh <cjh at cjh0613.com>
Date:   Tue Sep 7 12:34:55 2021 +0200

    Translation update  by cjh <cjh at cjh0613.com> using Weblate
    
    po/zh_CN.po: 99.9% (5361 of 5364 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (Chinese (Simplified))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
    
    Co-authored-by: cjh <cjh at cjh0613.com>

commit e6573664680b322ef59cd8a74f54a6633c5af56a
Merge: ab24c3466 002b39183
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 7 12:20:47 2021 -0700

    Merge Yi TianXing's 'remove_FindCustomerDialog_Parameter_ShippingContact' into maint.

commit ab24c3466076f2c882b556f87c92b1b5cfd03f68
Merge: ae559089d 4a8acf3fb
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Sep 7 12:14:41 2021 -0700

    Merge Simon Arlott's 'free-template-root' into maint.

commit 4a8acf3fb2417c82e8b4dbf0ae4655535ec5a0af
Author: Simon Arlott <sa.me.uk>
Date:   Sun Jul 11 15:58:34 2021 +0100

    Free template root accounts on book end
    
    The template root should be unset so that it's destroyed when the book is
    ending. This is required to free all the template accounts and referenced
    strings.
    
    The scheduled transactions themselves need to be freed first so reverse
    the order that SXRegister and gnc_sxtt_register are called in
    cashobjects_register: The list resulting from that function is traversed
    from the bottom up.

commit ae559089d39e1e2aca04ccfc47b5544f1f1549f0
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Tue Sep 7 12:02:46 2021 +0200

    Prep early splash screen messages for translation

commit 4488568b45e6516929af57d506ec0ef344ffcaca
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Sep 7 10:34:10 2021 +0100

    Change text for SX preference option
    
    Change the text of 'Review created transactions' to better align with
    existing SX text so use "since last run".

commit 901fea158f29f088e2cd9d01041b842b80af1b6f
Merge: 079a90030 38cd06e54
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 6 15:22:49 2021 -0700

    Merge Simon Arlott's 'xml-locking-fixes' into maint.

commit 38cd06e54a016f6d039ff97ecffaf4c0f8eb7191
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 6 15:18:34 2021 -0700

    Remove the lock-file-link-count test from the XML backend.
    
    This was an effort of somewhat dubious value to detect if a process
    on another ocmputer had a hsrd-link to a lockfile on an NFS share.
    NFS is rarely used now and SMB doesn't support hard links so this check
    adds complexity with no real value.

commit 079a900300310d79b0f72814f2d44976eda602c4
Merge: 068a5d2fa 4e9fe0a4d
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 6 13:48:51 2021 -0700

    Bug 798298 - Re-imported transactions no longer ignored
    
    Merges Jean Laroche's '798298_reimport_ofx' into maint.

commit 068a5d2fa8f2a9658b4b5ffb0a8821adf58d09f3
Author: Mike Alexander <mta at umich.edu>
Date:   Mon Sep 6 02:45:37 2021 -0400

    Fix xaccSplitGetOtherSplit which was broken by 028bf9826, don't
    count splits that aren't really in the transaction.
    
    The rewrite left out one test.  This was most obvious in the dummy
    transaction used to enter a new transaction into an account.
    xaccSplitGetOtherSplit never returned an "other split" for this
    transaction.  It turns out the old code was broken too, but
    it worked for this case by coincidence.

commit 4e9fe0a4d1a611e9e4b3e68de02316e231070d28
Author: jean <27791933+jeanlaroche at users.noreply.github.com>
Date:   Sun Sep 5 17:52:34 2021 -0700

    Add missing function to mock account

commit 4afe5d83cfb1c495cc6f21f2d6f36d646eb78278
Author: Christian Wehling <christian.wehling at web.de>
Date:   Sun Sep 5 23:35:18 2021 +0200

    Translation update  by Christian Wehling <christian.wehling at web.de> using Weblate
    
    po/de.po: 99.8% (5358 of 5364 strings; 6 fuzzy)
    250 failing checks (4.6%)
    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 d3a056d1ca4fd64a26f19b0313cfae3810af3b7a
Author: jean <27791933+jeanlaroche at users.noreply.github.com>
Date:   Sat Sep 4 15:25:11 2021 -0700

    During transaction import, ignore splits whose account is not the destination account

commit 429a08069978f4c61df024f3b2dd5e1b680a3322
Author: jean <27791933+jeanlaroche at users.noreply.github.com>
Date:   Sat Sep 4 11:00:42 2021 -0700

    Revert be6fb1abe2b7fac27c4aefc4b32415bd1c73ab92

commit 82f70ffe00698c57034de421e5541c0b330eba4a
Author: Christian Wehling <christian.wehling at web.de>
Date:   Thu Sep 2 22:34:01 2021 +0200

    Translation update  by Christian Wehling <christian.wehling at web.de> using Weblate
    
    po/de.po: 99.8% (5357 of 5364 strings; 7 fuzzy)
    250 failing checks (4.6%)
    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 849fdd59bcf8d829095a4b84e950122d0e4b08a5
Author: TianXing_Yi <ytx.cash at gmail.com>
Date:   Thu Sep 2 22:34:01 2021 +0200

    Translation update  by TianXing_Yi <ytx.cash at gmail.com> using Weblate
    
    po/zh_CN.po: 99.7% (5353 of 5364 strings; 0 fuzzy)
    0 failing checks (0.0%)
    Translation: GnuCash/Program (Chinese (Simplified))
    Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
    
    Co-authored-by: TianXing_Yi <ytx.cash at gmail.com>

commit 047673a493690134eefa44b35e8b9317a2a75b12
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Sep 2 16:35:15 2021 +0200

    Small refactoring of scm config loading.
    
    - Remove and cleanup duplicate code
    - C++-ify
    - Run code in gnucash-cli commands related to reports.
      Users may want to load modified report code via
      config-user.scm which they want to access while
      executing cli commands

commit 066520829970fd14c45f953884e6aeeb7d4e1202
Author: Simon Arlott <sa.me.uk>
Date:   Tue Aug 24 09:01:16 2021 +0100

    xml-backend: Lock file is deleted even if the lock is not acquired
    
    The lock file is set in m_lockfile and then unlinked in session_end even if
    the lock was not acquired.
    
    Clear m_lockfile if locking was not successful.

commit e4619fdae6eeb481faf2385a94a7ba8e21183a0d
Author: Simon Arlott <sa.me.uk>
Date:   Tue Aug 24 08:54:06 2021 +0100

    xml-backend: Don't try to close m_lockfd if it's not open
    
    m_lockfd is not initialised. If the file is locked then it will not be set
    before session_end and close() will be called on an uninitialised int.
    
    Initialise it to -1 in the class definition.
    Consistently use -1 instead of "< 0" or "< 1" as the definition of invalid.
    Always set it to -1 after closing it.

commit 002b391836a211756f92a9baef0a69ee97596dfc
Author: TianXing-Yi <ytx.cash at gmail.com>
Date:   Sat Jul 10 20:02:32 2021 +0800

    In find customer dialog, add a column for "Shipping Contact" parameter



Summary of changes:
 bindings/guile/gnc-engine-guile.c              |  2 +
 bindings/python/tests/test_transaction.py      |  8 +++
 gnucash/gnome-utils/gnc-tree-view-account.c    |  5 +-
 gnucash/gnome/dialog-customer.c                |  2 +
 gnucash/gnome/gnc-plugin-report-system.c       |  8 +--
 gnucash/gnome/window-reconcile.c               |  3 +
 gnucash/gnucash-commands.cpp                   |  6 +-
 gnucash/gnucash-commands.hpp                   |  4 ++
 gnucash/gnucash-core-app.cpp                   | 79 ++++++-----------------
 gnucash/gnucash-core-app.hpp                   |  1 +
 gnucash/gnucash.cpp                            | 55 +---------------
 gnucash/gtkbuilder/dialog-sx.glade             |  4 +-
 gnucash/import-export/import-backend.c         | 87 ++++++++++++++++++++++++++
 gnucash/import-export/import-backend.h         |  9 +++
 gnucash/import-export/import-main-matcher.c    | 30 +++++++--
 gnucash/import-export/import-utilities.c       | 23 +++++++
 gnucash/import-export/import-utilities.h       | 11 ++++
 gnucash/report/reports/example/hello-world.scm | 17 -----
 libgnucash/app-utils/options.scm               |  8 ++-
 libgnucash/backend/xml/gnc-xml-backend.cpp     | 86 +++----------------------
 libgnucash/backend/xml/gnc-xml-backend.hpp     |  2 +-
 libgnucash/engine/SX-book.c                    |  2 +-
 libgnucash/engine/Scrub.c                      |  7 ++-
 libgnucash/engine/Split.c                      |  1 +
 libgnucash/engine/cashobjects.c                |  2 +-
 libgnucash/engine/gncTaxTable.c                |  2 +-
 libgnucash/engine/mocks/gmock-Account.cpp      |  9 +++
 libgnucash/engine/mocks/gmock-Account.h        |  1 +
 libgnucash/quotes/gnc-fq-update.in             |  1 +
 po/de.po                                       | 12 ++--
 po/zh_CN.po                                    | 42 ++++++-------
 31 files changed, 268 insertions(+), 261 deletions(-)



More information about the gnucash-patches mailing list