gnucash maint: Multiple changes pushed

Robert Fewell bobit at code.gnucash.org
Thu Oct 22 08:52:10 EDT 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/8e5e3480 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/794b31a9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1be3b780 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/122cd682 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6ee537e1 (commit)
	from  https://github.com/Gnucash/gnucash/commit/94a68dca (commit)



commit 8e5e3480ad691b803e9a742d2bd82059a752095b
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Oct 20 14:45:44 2020 +0100

    Bug 797984 - Infinite loop while Check&Repair AR and AP accounts
    
    If using the Check&Repair option from the Chart of Accounts on 'Account
    Receivable or Payable' add has a voided transaction will cause an
    infinite loop.
    
    This occurs from checking the transaction split amount is zero in
    gncScrubBusinessSplit and trying to delete it. As the transaction is
    read only as a result of being voided this fails so add a further
    condition for the 'else if' statement to include !is_void.

commit 794b31a98e2f58bde5d094409885f74cdc2498a1
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Oct 20 14:45:14 2020 +0100

    Change Registers abort_scrub to use gnc_*_abort_scrub functions

commit 1be3b7808ddbcb48f898c7eca47155549ee9d601
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Oct 20 14:44:20 2020 +0100

    Allow the Check&Repair to be cancellable on a Register page
    
    Add a callback for a keypress event when on the Register page that
    checks for the Escape key and presents a dialog to confirm whether to
    abort the Check&Repair. A similar dialog is used if you decide to quit
    Gnucash while the Check&Repair is still running.

commit 122cd682f621396a5e295b2351079f92d76e27a7
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Oct 20 14:43:39 2020 +0100

    Add some additional places where Check&Repair can be aborted

commit 6ee537e1a7fd053129c7cdaf2b3dcf7d34aa9cfa
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Tue Oct 20 14:42:32 2020 +0100

    Allow the Check&Repair routine to be cancellable from CoA
    
    Add a callback for a keypress event when on the Accounts page that
    checks for the Escape key and presents a dialog to confirm whether to
    abort the Check&Repair. A similar dialog is used if you decide to quit
    Gnucash while the Check&Repair is still running.



Summary of changes:
 gnucash/gnome/gnc-plugin-page-account-tree.c | 80 +++++++++++++++++++++++-----
 gnucash/gnome/gnc-plugin-page-register.c     | 74 ++++++++++++++++++-------
 libgnucash/engine/Scrub.c                    | 15 ++++++
 libgnucash/engine/Scrub.h                    |  1 +
 libgnucash/engine/ScrubBusiness.c            | 14 ++++-
 5 files changed, 150 insertions(+), 34 deletions(-)



More information about the gnucash-patches mailing list