gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sat Mar 14 14:46:40 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/d188bca0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0d5bfd79 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d7ccea59 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0cd52ec5 (commit)
	from  https://github.com/Gnucash/gnucash/commit/d744b79b (commit)



commit d188bca06a91b1047d610613053ab1d42e73bd9c
Merge: d744b79be 0d5bfd79a
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Mar 14 11:23:20 2020 -0700

    Merge branch 'bug797432bis' into maint.

commit 0d5bfd79a6be58668eaeec5a33b719e6d085cda1
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Jan 6 09:40:35 2020 -0800

    Account matching: Test for full and partial online-id matches.
    
    An OFX file import use-case includes a master account with sub accounts
    having additional qualifiers appended. 7853f5a2 broke that because the
    trailing characters aren't noise.
    
    Instead return only perfect matches (less a trailing space if present,
    replacing a second traversal) and cache partial matches and continue the
    search. If we find a longer partial match replace the shorter one. If we
    find a second account with the same online-id raise an error. If at the
    end there's a unambiguous partial match but no full match then it's
    either trailing noise from AQBanking or it's a new account. We use the
    passed-in new_account_default_type to decide which: If it's
    ACCT_TYPE_NONE then we use the partially-matched account, otherwise we
    continue on to handle the remaining arguments.

commit d7ccea592a74e78906f770e2943be15c6775cd56
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Jan 6 15:16:30 2020 -0800

    Test the online-id matching of gnc_import_select_account.

commit 0cd52ec5fe6d4d35b9a22dc309933898010aaf92
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Jan 5 16:18:12 2020 -0800

    Small whitespace fixup.



Summary of changes:
 gnucash/import-export/import-account-matcher.c     | 122 ++++++++++-----
 gnucash/import-export/test/CMakeLists.txt          |  19 ++-
 .../test/gtest-import-account-matcher.cpp          | 172 +++++++++++++++++++++
 3 files changed, 270 insertions(+), 43 deletions(-)
 create mode 100644 gnucash/import-export/test/gtest-import-account-matcher.cpp



More information about the gnucash-patches mailing list