gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Sat May 12 08:08:24 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/61fe6478 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7f91cb82 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/388a4906 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5e1c8e91 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9eedea71 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/66fcaa4f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bb551af9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4e851026 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4c55141d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ded88b01 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1df7fb40 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d4cb87fe (commit)
	 via  https://github.com/Gnucash/gnucash/commit/23410ca4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/97ab1b19 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/13f31e06 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5e0fc04f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8ddee964 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c6032ac6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/dda6730c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4a27285e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/44a568bc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fd028716 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/d68ccc33 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ac510d13 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4b9ec663 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f82e5a5b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f89f00f5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4a7bc0b5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/2102c55b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b95fa5ba (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6210b80f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6e78fa1d (commit)
	from  https://github.com/Gnucash/gnucash/commit/fc963f87 (commit)



commit 61fe647828e806667659ed63f64be9e16b3b31ed
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat May 12 14:07:26 2018 +0200

    Use lowercase for account type descriptions

commit 7f91cb82d7ef07177085b714ffa53dc5233fbb8f
Merge: fc963f8 388a490
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Sat May 12 14:07:59 2018 +0200

    Merge branch 'scheme-progress' of https://github.com/christopherlam/gnucash into maint

commit 388a4906b05740b507582b8eda9b264d8a357bfa
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri May 11 16:39:00 2018 +0800

    gnc:options->sxml allow alphanumeric in test filename

commit 5e1c8e91321ad07ffc6c2e45823315d44773434c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu May 10 22:52:43 2018 +0800

    business-reports/*.scm: close tags to make valid XHTML
    
    This will be important for testing.

commit 9eedea71ea1871fdc8d926fe2376b1105291b06a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 9 20:30:34 2018 +0800

    test-GSTR: implementation testing for GST Report

commit 66fcaa4f91566a5737cfeb3afa8dbb4b3ee5bf47
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 9 20:36:40 2018 +0800

    test-extras.scm: centralize (sxml->table-row-col)
    
    This is used in conjunction with (gnc:options->sxml) to extract
    html table cells.
    
    From SXML tree, retrieve, from a <table>, the th/tr/td cells as a list
    of string.

commit bb551af9482b786088086ba2eabf1ada3cd778a7
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 8 23:52:24 2018 +0800

    collectors.scm: rewrite binary-search-lt to be clearer

commit 4e85102682909c68cbf8612aa0df0fd7d65c9603
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 8 23:47:46 2018 +0800

    report-system/cmakelists: fix scm_test_report_system_SOURCES
    
    These tests were disabled by mistake in cbd87647806ca3700d2ead8a6623b758a07ba2a7

commit 4c55141d963452a2381a5bd5b3d4fe31bde2cd2c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 8 23:05:59 2018 +0800

    html-utilities.scm: simplify

commit ded88b01dd4e9a80000eca2736a81e66567dc260
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 8 23:03:46 2018 +0800

    list-extras.scm: trim useless utility functions
    
    These functions are either better defined in R5RS (list-min-max),
    unused (function-compose), or being defined in the .scm using
    them (list-leaves).

commit 1df7fb4048e8484fae4305d185e39a57305455ef
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 8 22:41:12 2018 +0800

    html-text.scm: schemify

commit d4cb87fe3d923cc6490168a27f91a24b65a02553
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 6 17:26:28 2018 +0800

    business-report/test: create test directory
    
    These tests will all be SRFI-64 based.

commit 23410ca429aead77deeb271416bd461598f3bfdf
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 6 23:39:45 2018 +0800

    html-table.scm: centralize (gnc:html-table-set-last-row-style!)
    
    This html-table modifier seems common enough to centralize into
    html-table.scm.

commit 97ab1b19fe081e06fe59d994294ae34e70291f75
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat May 5 23:07:52 2018 +0800

    test-date-utilities.scm: to SRFI64
    
    Clearer syntax helped find flawed test - while set-tm:mday directly
    accepts 1-31, set-tm:mon accepts 0-11 to represent 1-12, therefore
    must minus 1. set-tm:year accepts 92 to represent 1992, therefore must
    minus 1900.

commit 13f31e0691a60af2c1b1e70152060bb76bec92b6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon May 7 19:04:22 2018 +0800

    test-extras.scm: (logging-and) is obsolete
    
    Use the much nicer SRFI-64 forms instead.

commit 5e0fc04f7ba8df4ed28823cc9248b5dae7c66f4c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 6 22:58:38 2018 +0800

    test-extras.scm: remove dead code
    
    These functions are never used through code.

commit 8ddee96463795fd89ad6ca8359c1a64911feb361
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 6 20:44:36 2018 +0800

    test-extras.scm: centralize (gnc:options->sxml)
    
    I think this is useful enough to be upgraded.

commit c6032ac6ed52f44b112dee4c5cf0ed9d261a437e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun May 6 20:43:32 2018 +0800

    srfi64-extras.scm: centralize (gnc:test-runner)
    
    This is good enough to be used widely.

commit dda6730c44b82df6881baa083d78a87da4a916c6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu May 3 08:52:59 2018 +0800

    utilities.scm: centralize and modernize addto!
    
    (define-macro) is discouraged in most scheme forms. Change
    to (define-syntax), and centralize common macro to utilities.scm

commit 4a27285edd956b37f54eb2f9c94b144f5b48edb7
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Apr 29 07:32:20 2018 +0800

    html-utilities.scm: new home (gnc:html-render-options-changed)
    
    We want to sanitize render-options-changed, therefore it must return
    an html-object. Unfortunately this is not accessible to
    app-utils/options.scm. If we move this function to
    report-system/html-utilities.scm, it can access html-objects.
    
    Also rename it to gnc:html-render-options-changed

commit 44a568bc457022a4bea7c8b55d304e80a11aa6ba
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Apr 29 18:36:49 2018 +0800

    GSTR: sanitize string
    
    Instead of returning raw html string, return an html-object.

commit fd02871678a79653880e9a6dca7892edd0bf569a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu May 3 17:19:36 2018 +0800

    TR: sanitize string
    
    This will change the HTML slightly, so, requires an update to the test
    suite.

commit d68ccc330628d56178d2dd0d83bde8d084663ba6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu May 3 21:59:22 2018 +0800

    TR: rename some variable names to be more descriptive
    
    The previous names were remnants of old transaction.scm and were not
    exactly consistent. Use more descriptive names.
    
    The only user-visible change is elimination of <br/> in the
    common-currency account header, because this will be sanitized.  The
    table col-headers cannot unfortunately accept a (gnc:make-html-text)
    object therefore we cannot add <br/> at all. I vote to display
    e.g. "Debit (USD)" instead.

commit ac510d13be9e7522c5762378b79d3cf0422aeac1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Jan 19 15:22:48 2018 +0800

    TR: (ENH) add Closing-status filter, enable it by default
    
    This commit will add a filter to include/exclude closing
    transactions. In conventional reports, they are usually disruptive to
    the regular periodic reporting and the default ensures they are not
    included.
    
    This commit also changes income-gst-report.scm to use the closing
    filter just created, and disable its UI.

commit 4b9ec663f7a050a2cfea23729ab5fca6c20dcdcf
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu May 3 13:46:09 2018 +0800

    TR: (ENH) do not add headers if hiding transaction data

commit f82e5a5b4b2d7f110af8041dad4a4af7ebbde368
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 1 21:07:07 2018 +0800

    TR: (ENH) enable subtotal/grouping for Split Memo

commit f89f00f59d375bd313426b45ec34cdd944b685a6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 1 21:05:55 2018 +0800

    TR: (ENH) enable subtotal/grouping for Transaction Description

commit 4a7bc0b53d434cd72f4ed58ae687a16f8bfc0046
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 1 21:06:54 2018 +0800

    TR: (ENH) enable subtotal/grouping for Transaction Notes

commit 2102c55bb7ad5216537c553c0d6189033322a8e1
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 1 23:44:50 2018 +0800

    TR: (centralize) centralize custom-sorter split comparators
    
    This commit will modify the custom sorter to reuse 'split-sortvalue
    comparators. The original purpose of these functions was to *compare*
    splits *during* table generation to determine whether a subtotal group
    was changed. These functions can be easily reused by the custom sorter
    to *sort* splits *before* table generation.
    
    Also modify the sortkey renderer logic to catch all non-date,
    non-account sortkeys into the generic string renderer.

commit b95fa5ba8cd6a8cdd4416504f52a36529fa4ce05
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 1 20:41:38 2018 +0800

    TR: (simplify) dynamically check CUSTOM-SORTING?
    
    Instead of a list needing manual adjustments, this function will check
    if sortkey requires custom sorter, depending on sortkey capabilities.

commit 6210b80fd0b94d9504cef688a3769d638539393d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue May 1 19:08:56 2018 +0800

    TR: (simplify) dynamically check SUBTOTAL-ENABLED?
    
    This function checks whether the sortkey can be grouped. Instead of
    manually creating list, test it dynamically.
    
    Sortkeys whose 'renderer-fn is defined can be grouped.

commit 6e78fa1d99936244fd74772fc3a329fd8120168c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed May 2 22:54:31 2018 +0800

    test-TR: change report out filenames
    
    This will allow easier addition of tests.
    
    Also fix (use-modules) usage. VM is only needed for coverage reporting.



Summary of changes:
 gnucash/report/business-reports/CMakeLists.txt     |   1 +
 .../report/business-reports/customer-summary.scm   |  20 +-
 gnucash/report/business-reports/easy-invoice.scm   |  27 +--
 gnucash/report/business-reports/fancy-invoice.scm  |  19 +-
 gnucash/report/business-reports/invoice.scm        |  33 +--
 gnucash/report/business-reports/job-report.scm     |  14 +-
 gnucash/report/business-reports/owner-report.scm   |  20 +-
 gnucash/report/business-reports/receipt.scm        |   2 +-
 gnucash/report/business-reports/taxinvoice.scm     |   2 +-
 .../report/business-reports/test/CMakeLists.txt    |  31 +++
 gnucash/report/report-system/CMakeLists.txt        |   1 -
 gnucash/report/report-system/collectors.scm        |  24 +-
 gnucash/report/report-system/html-table.scm        |   7 +
 gnucash/report/report-system/html-text.scm         |  12 +-
 gnucash/report/report-system/html-utilities.scm    |  71 +++++-
 gnucash/report/report-system/list-extras.scm       |  47 ----
 gnucash/report/report-system/report-collectors.scm |   7 +-
 gnucash/report/report-system/report-system.scm     |   2 +
 gnucash/report/report-system/test/CMakeLists.txt   |   5 +-
 gnucash/report/report-system/test/test-extras.scm  | 128 +++++-----
 .../test/test-html-utilities-srfi64.scm            |  30 +--
 .../report/report-system/test/test-list-extras.scm |  42 ----
 .../report/report-system/test/test-test-extras.scm |   5 +-
 .../standard-reports/income-gst-statement.scm      |  28 ++-
 gnucash/report/standard-reports/register.scm       |  14 +-
 .../report/standard-reports/test/CMakeLists.txt    |   1 +
 .../test/test-cashflow-barchart.scm                |   6 +-
 .../test/test-generic-net-barchart.scm             |  16 +-
 .../test/test-generic-net-linechart.scm            |  10 +-
 .../standard-reports/test/test-income-gst.scm      | 213 +++++++++++++++++
 .../standard-reports/test/test-transaction.scm     | 228 ++++++++----------
 gnucash/report/standard-reports/transaction.scm    | 266 ++++++++++++---------
 libgnucash/app-utils/app-utils.scm                 |   1 -
 libgnucash/app-utils/options.scm                   |  58 -----
 libgnucash/app-utils/test/CMakeLists.txt           |   8 +
 libgnucash/app-utils/test/test-date-utilities.scm  |  70 +++---
 libgnucash/engine/test/CMakeLists.txt              |  15 ++
 libgnucash/engine/test/srfi64-extras.scm           |  49 ++++
 libgnucash/engine/test/test-extras.scm             |  87 +------
 libgnucash/engine/test/test-test-extras.scm        |   5 +-
 libgnucash/scm/utilities.scm                       |   5 +
 po/POTFILES.in                                     |   1 -
 42 files changed, 840 insertions(+), 791 deletions(-)
 create mode 100644 gnucash/report/business-reports/test/CMakeLists.txt
 delete mode 100644 gnucash/report/report-system/list-extras.scm
 delete mode 100644 gnucash/report/report-system/test/test-list-extras.scm
 create mode 100644 gnucash/report/standard-reports/test/test-income-gst.scm
 create mode 100644 libgnucash/engine/test/srfi64-extras.scm



More information about the gnucash-patches mailing list