gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sun Mar 1 08:31:41 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/e85b28f0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2c1ce30d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/742b9722 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1d9c51d8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ec99c007 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/11689e2a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/890c96ce (commit)
	 via  https://github.com/Gnucash/gnucash/commit/453919b3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7845f818 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d7eb24f2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b5dfef62 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/95857a8b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7509b542 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/01c76e23 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/41863be9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d07d4b96 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/322f2d99 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a1318497 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/da60560a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9b3085a4 (commit)
	from  https://github.com/Gnucash/gnucash/commit/ab2edfcc (commit)



commit e85b28f00fa3cd1eee9fb40e61358a3d609a0a66
Merge: ab2edfccf 2c1ce30d7
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Mar 1 21:31:21 2020 +0800

    Merge remote-tracking branch 'upstream/maint'

commit 2c1ce30d7de02e1791689f53ed5a13b61cce54e2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Mar 1 13:40:12 2020 +0800

    [qif-to-gnc] centralize arithmetic functions

commit 742b97229c0afd588730d11dac537626fb7b17e2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Mar 1 10:36:25 2020 +0800

    [trep-engine] when Running Balance is shown, print "Balance b/f"

commit 1d9c51d8e46f487d976b3f637016ee15a3283899
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Feb 29 22:32:14 2020 +0800

    [qif-to-gnc] Bug 796579 - Cannot go forward with empty duplicates screen
    
    better fix for bug 796579.
    
    far-acct-info is a record with acct-info
    far-acct-name is a string
    far-acct      is a gnucash account object
    
    (default-unspec-acct) always returns a string "Unspecified".
    
    983c7ce0b was trying to find, from qif-memo-map the mapping for
    "Unspecified" which isn't typically part of qif-memo-map. Therefore
    far-acct-info would remain #f and fail the qif-map-entry:gnc-name.
    
    Better fix: if far-acct-info cannot be derived, use unspecified account.

commit ec99c007149d050c4e69cb2f819f79bbf64fb534
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Feb 29 21:29:08 2020 +0800

    [qif-to-gnc] use (ice-9 match), and compact functions

commit 11689e2a4daaf70c3f6ba9b8345db01090603237
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Feb 29 21:22:11 2020 +0800

    [qif-guess-map] use (ice-9 match), and compact functions

commit 890c96ce239f5a8c8e41517f134872df3e976021
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Feb 29 21:28:33 2020 +0800

    [qif-merge-groups] Move gnc:account-tree-get-transactions to qif-to-gnc.scm
    
    This function is only used by qif-to-gnc.scm

commit 453919b3f649a21c3a48f75799ab3acd896472f9
Merge: d7eb24f20 7845f8184
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Feb 29 17:34:02 2020 +0100

    Bug 797613 Due Invoices Reminder shows Job Name instead of Company Name
    
    This closes #653

commit 7845f818467b08121695716f4aa3562a21414d27
Author: Rob Laan <rob.laan at chello.nl>
Date:   Sat Feb 29 11:19:20 2020 +0100

    Bug 797613  Due Invoices Reminder shows Job Name instead of Company Name
    
    In the invoices due dialog, the column 'Company' should show the name of the customer/vendor of an invoice/bill.
    Currently the content is set to the owner name, but if a job is assigned to the invoice, that will show the job name.
    This change changes the content to the name of the owner parent, which is always  the customer/vendor name.

commit d7eb24f205ec09a1bf3bf6fb4b4e00b7f6a8fcd0
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Feb 29 13:43:33 2020 +0100

    Travis - don't try to copy the removed afterfailure file to the test container

commit b5dfef628eda8f91bb33ece2b11a1f23b64e9e34
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat Feb 29 10:51:49 2020 +0100

    Travis - use ctest built-in feature to verbosely log test failures
    
    Setting CTEST_OUTPUT_ON_FAILURE will cause ctest to log all
    output from failing tests (and only from failing tests).
    This will reduce our ci output in case of failures as our
    homebrew script 'afterfailure' would output all test logs
    in case of failure not only the output of failed tests.

commit 95857a8b99f343c95b099249e3e67a7ed51f4d0e
Merge: b9d625d25 7509b542d
Author: John Ralls <jralls at ceridwen.us>
Date:   Fri Feb 28 21:29:58 2020 -0700

    Merge Christian Gruber's 'fix_bug_797587' into maint.

commit 7509b542da67aeb42bff0b98a20ffc2989f6e146
Author: Christian Gruber <christian.gruber at posteo.de>
Date:   Mon Feb 17 23:31:12 2020 +0100

    Simplify function build_bayes()
    
    Inline function parse_bayes_imap_info() into build_bayes() and remove
    temp_guid.

commit 01c76e23913ea870fb331fc6c747d67f9bdd7f85
Author: Christian Gruber <christian.gruber at posteo.de>
Date:   Mon Feb 17 23:29:28 2020 +0100

    Remove unused template of function for_each_slot_prefix()
    
    for_each_slot_prefix() is not used anywhere with two arguments

commit 41863be9c7251098764c5a36e25f401fe536162d
Author: Christian Gruber <christian.gruber at posteo.de>
Date:   Mon Feb 17 22:56:15 2020 +0100

    Avoid copying local instance of AccountTokenCount

commit d07d4b962fc89ef332626b984b8fb3149033113d
Author: Christian Gruber <christian.gruber at posteo.de>
Date:   Sun Feb 2 22:38:44 2020 +0100

    Fix tokenize_string()
    
    This fix prevents empty strings as tokens and removes duplicated tokens.
    Function tokenize_string() is used for bayesian import matching, where
    empty token strings or duplicated tokens lead to wrong results within
    probability calculation for matching of a transaction to an account.
    
    Empty token strings can occur if (see function g_strsplit())
    * two or more spaces occur directly after another
    * the string begins or ends with spaces

commit 322f2d99de89849b4d193afcb779520aabcafa4f
Author: Christian Gruber <christian.gruber at posteo.de>
Date:   Sun Feb 2 17:55:30 2020 +0100

    Rework key prefix matching
    
    Use C string comparison instead of C++ function std::mismatch to increase
    performance.

commit a13184978a07e4c6735e5d5893076ffd8117c6a1
Author: Christian Gruber <christian.gruber at posteo.de>
Date:   Mon Jan 27 23:01:25 2020 +0100

    Fix calculation of token info to find exactly matching tokens only
    
    In get_first_pass_probabilities() function
    qof_instance_foreach_slot_prefix() is called with a prefix path
    including closing slash after token now. This avoids, that also entries
    with token as a substring are included in token info, where key only
    starts with token.
    
    Finally function build_token_info() checks, if the key suffix after the
    token consists only of the GUID. This avoids, that also entries with the
    same prefix and slashes are included in token info.

commit da60560ac4ad1994a79185eaaafaaa0363a21076
Author: Christian Gruber <christian.gruber at posteo.de>
Date:   Mon Jan 27 22:43:09 2020 +0100

    Change behaviour of KvpFrame::for_each_slot_prefix()
    
    Provided function func is now called with key suffix only instead of
    full key (prefix is omitted). This is neccessary for fixing function
    build_token_info() in the next commit.

commit 9b3085a429660dd442176ba63de196a476edc4e0
Author: Christian Gruber <christian.gruber at posteo.de>
Date:   Mon Jan 27 22:38:26 2020 +0100

    Add test cases to check for exact token matching



Summary of changes:
 gnucash/gnome/dialog-invoice.c                     |  2 +-
 gnucash/import-export/import-backend.c             | 20 ++++-
 gnucash/import-export/qif-imp/qif-guess-map.scm    | 53 ++++++-------
 gnucash/import-export/qif-imp/qif-merge-groups.scm | 15 ----
 gnucash/import-export/qif-imp/qif-to-gnc.scm       | 88 ++++++++++------------
 gnucash/report/trep-engine.scm                     |  5 ++
 libgnucash/engine/Account.cpp                      | 42 ++++-------
 libgnucash/engine/kvp-frame.hpp                    | 24 +-----
 libgnucash/engine/test/gtest-import-map.cpp        |  8 ++
 util/ci/arch-docker                                |  4 +-
 util/ci/commonbuild                                |  5 +-
 11 files changed, 116 insertions(+), 150 deletions(-)



More information about the gnucash-patches mailing list