gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Mon Sep 17 21:23:42 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/a20a803c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/395b42d6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ce585495 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ad361d1e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/941acee0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/77063afa (commit)
	 via  https://github.com/Gnucash/gnucash/commit/984501e9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2832b8e6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/38129365 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9bba9474 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3e9cd1fc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/867aa78f (commit)
	from  https://github.com/Gnucash/gnucash/commit/766dc9b2 (commit)



commit a20a803c8e86fa2c936b96366c1dfd0c25af875a
Merge: 766dc9b 395b42d
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Sep 17 17:46:28 2018 -0700

    Merge Chris Lam's 'maint-optimize-interval-charts' into maint.

commit 395b42d620ae0136649d3e74b5eecf220f5550ef
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 19:29:06 2018 +0800

    [average-balance] add styling to data table

commit ce5854950666b43878b552f44971a36a57289f4b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 20:36:31 2018 +0800

    [invoice] mark strings in options as translatable

commit ad361d1e69edac8fb352c72305f723c81d9b354b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 19:24:12 2018 +0800

    [invoice] Add customer/vendor ID in client section
    
    This aims, but does not completely fixes bug 430259 or 742086 which
    would require data model changes. It upgrades invoice.scm to add the
    customer/vendor/employee internal ID. Job invoices will display the
    job owner's ID.

commit 941acee04e3598c18eda8cb68c3b024da6f73ab1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 17:28:26 2018 +0800

    [net-charts] deoptimize accounts-list
    
    This aims to partially undo commit 8aed5c3f660.

commit 77063afa735d30cb44a51b1a487056bb03f522b3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 09:18:32 2018 +0800

    [report-utilities] improve (gnc:account-get-comm-value-interval)
    
    This commit will marginally speed up this function when
    include-children? is #t. The original code would create a new query
    for each descendant. This commit will create one query only for all
    accounts when include-children? is #t. Unfortunately there is no
    actual live code whereby include-children? is enabled. Anyway this
    code is cleaned up.

commit 984501e95168726f9e86dbfa4c8fd21fe8fcd6e1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:26:48 2018 +0800

    [report-utilities] improve (gnc:account-get-comm-balance-at-date)
    
    This improves (gnc:account-get-comm-balance-at-date) to
    use (xaccAccountBalanceAsOfDate) instead of cycling through a split
    list.
    
    This function is used in numerous charts and should speed them up
    tremendously.

commit 2832b8e63c5218d630f6220ff5952785ec323608
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Sep 14 17:08:11 2018 +0800

    [report-utilities] compact functions

commit 381293655ff60bde76698a58a7b588f1cd20efb1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:35:11 2018 +0800

    [test-charts] also test income-expense-barchart amounts

commit 9bba9474cbbc9c4702c06a7804f812e2e2acf41f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:19:43 2018 +0800

    [test-charts] add daily txns and test range
    
    This test (for net-worth-barchart only) adds daily transactions from
    1/1/70 for 100 days, and aims to test the date ranges for net-charts
    is accurate.

commit 3e9cd1fc1170165299a1fe30c434825444eeab2a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:11:06 2018 +0800

    [test-extras] augment (gnc:options->sxml) to allow tag stripping
    
    An html render containing a <script>...</script> tag will not
    typically be parsable by sxml. This augmentation will strip an html
    tag from the render. Therefore we can use
    
    (gnc:options->sxml ... #:strip-tag "script")
    
    which will strip off the whole <script> section from the render, which
    should usually then be parsable. Note: this is not foolproof, and does
    not support nested <script> tags, and it will strip quoted "</script>"
    tags too, but should cover common cases.

commit 867aa78f91274c759b0de9d63512af1ff09d6196
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Sep 12 18:10:34 2018 +0800

    [test-charts] add SRFI-64 teardown function



Summary of changes:
 gnucash/report/business-reports/invoice.scm        |  48 +++--
 gnucash/report/report-system/report-utilities.scm  | 209 +++++++++------------
 gnucash/report/report-system/test/test-extras.scm  |  19 +-
 .../report/standard-reports/average-balance.scm    |  18 +-
 gnucash/report/standard-reports/net-charts.scm     |  56 +-----
 .../report/standard-reports/test/test-charts.scm   |  64 ++++++-
 6 files changed, 209 insertions(+), 205 deletions(-)



More information about the gnucash-patches mailing list