gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Sep 21 01:56:23 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/7cdb79cc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/496ca94a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f72df3e1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7587c3b4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0511ce72 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7a662272 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2da59445 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3208879e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/49372e76 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0ab0d23b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/656d2718 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6b573de1 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/acf359a7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f88c54bb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0c9c9c25 (commit)
	from  https://github.com/Gnucash/gnucash/commit/9214f2ed (commit)



commit 7cdb79ccf25046752089d4185befed442e04a33a
Merge: 9214f2ed5 496ca94a9
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 21 13:56:10 2019 +0800

    Merge branch 'maint'

commit 496ca94a989d0001a64c19f5e2104ae02fe1a604
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 20 22:43:00 2019 +0800

    [reports] use new API gnc:collector+ and gnc:collector-

commit f72df3e1bc70b29ca74b12497044f093cc737fbe
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 21 13:49:34 2019 +0800

    [report-utilities] gnc:account-get-balances-at-dates: use quicksort
    
    stable-sort! is slower than quicksort.

commit 7587c3b4e337e513a4fb68f4b98bb26740e0f8c2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 20 22:42:43 2019 +0800

    [API] gnc:collector+ and gnc:collector- for collector arithmetic
    
    (gnc:collector+ ...) equivalent to (+ ...)
    (gnc:collector- ...) equivalent to (- ...) and will also handle
    single-argument sign negation.

commit 0511ce723ee2ee52a9a5992bced6505577029e17
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 20 22:17:44 2019 +0800

    [API] gnc:list-flatten flattens lists recursively
    
    and is a schemey algorithm rather than a report algorithm, so, belongs
    centrally.

commit 7a662272b31555d010df32f2d4553fec07f3fa5f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 20 10:39:33 2019 +0800

    [invoice] render tax/tax number into 'our-details' section

commit 2da5944596f5fdee08293839eada5c2e3e1eda30
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 20 10:17:08 2019 +0800

    [taxtxf-de_DE] fix invalid code
    
    (unless book ...) is equivalent to (if (not book) ...) therefore this
    snippet was incorrect.
    
    previous commit ensures book always returns a non-#f object therefore
    there's no need to handle #f anymore.

commit 3208879e64ea0d692d626cbc9052e6ea590f3ad3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 20 10:16:17 2019 +0800

    [app-utils] upgrade Tax/Tax Number option to all locales
    
    Previously de_DE locale will add a *global* 'Tax/Tax Number'
    option. This is immediately translated.
    
    This change will upgrade it to be present in all locales, and can be
    queried by any report.

commit 49372e76be61ac4eae479fee645b183a834ad43e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 20 09:04:34 2019 +0800

    Ensure book returns current-book
    
    fixes https://lists.gnucash.org/pipermail/gnucash-user/2019-September/086967.html
    
    because occasionally account will be null or #f, causing error when
    passed to gnc-account-get-book.

commit 0ab0d23b00a674bb655e1d67cb3eb8f5055f7e06
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 20 11:12:37 2019 +0800

    Bug 797418 - In budget report, column with Actual Totals for Liabilities and Income are reversed
    
    budget.scm had some cleanup whereby totals were accumulated but are
    now re-retrieved. Forgot to reverse actuals for some account signs
    reversals.

commit 656d2718d8e570f6eb21e1ad29b0f7ea8cdd652f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Sep 19 21:21:35 2019 +0800

    [trial-balance] compact (collect-unrealized-gains)
    
    use functional style

commit 6b573de128c6509bb447db0020849cbde764b457
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Sep 19 21:07:58 2019 +0800

    [trial-balance] use coll-plus and coll-minus for functional style

commit acf359a7973aa30686529ce46d18617ac51d77f8
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Sep 19 21:07:41 2019 +0800

    [trial-balance] upgrade coll-plus and coll-minus to report-wide fns

commit f88c54bb50a8527067225ea3586331238844ad79
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Sep 19 21:07:01 2019 +0800

    [trial-balance] use gnc:commodity-collector-get-negated

commit 0c9c9c2594569bed8867eeff55bb1ab6ca76bf1e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Sep 19 21:43:44 2019 +0800

    [test-trial-balance] augment to test unrealized gains
    
    these were already tested -- see previous tests *do* include
    'unrealized losses'. augment by adding another couple foreign transfer
    to change the unrealized gain/loss amount.



Summary of changes:
 gnucash/report/report-utilities.scm                | 21 +++++-
 gnucash/report/report.scm                          |  2 +
 .../reports/locale-specific/de_DE/taxtxf.scm       | 13 +---
 gnucash/report/reports/standard/balsheet-pnl.scm   |  5 +-
 gnucash/report/reports/standard/budget.scm         | 14 +---
 .../report/reports/standard/category-barchart.scm  | 10 +--
 .../report/reports/standard/customer-summary.scm   | 17 ++---
 gnucash/report/reports/standard/invoice.scm        |  6 ++
 gnucash/report/reports/standard/net-charts.scm     |  8 +-
 gnucash/report/reports/standard/owner-report.scm   |  4 +-
 .../reports/standard/test/test-trial-balance.scm   | 20 ++++-
 gnucash/report/reports/standard/trial-balance.scm  | 85 +++++++---------------
 gnucash/report/test/test-report-utilities.scm      | 15 ++++
 libgnucash/app-utils/app-utils.scm                 |  3 +
 libgnucash/app-utils/business-prefs.scm            |  6 ++
 .../scm/test/test-libgnucash-scm-utilities.scm     | 12 +++
 libgnucash/scm/utilities.scm                       | 12 +++
 libgnucash/tax/de_DE/tax.scm                       |  5 --
 libgnucash/tax/de_DE/txf.scm                       | 13 ----
 19 files changed, 139 insertions(+), 132 deletions(-)



More information about the gnucash-patches mailing list