gnucash maint: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Sun Sep 9 14:17:24 EDT 2018


Updated	 via  https://github.com/Gnucash/gnucash/commit/f8a9be2c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f4c0544f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c76ea30f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/768ed099 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cb2fccf4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/4f90663c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7a63fab0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0144055c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/512dd7c7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/18087033 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b85f54a2 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b21874df (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cb01c93a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/89f8c8dc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/eac79bd5 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/353eee58 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/83ad9e4b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f3100ddc (commit)
	 via  https://github.com/Gnucash/gnucash/commit/51635416 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/3e8acf29 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ec1536ad (commit)
	 via  https://github.com/Gnucash/gnucash/commit/0b069900 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/125dcfb0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/88229370 (commit)
	from  https://github.com/Gnucash/gnucash/commit/7e56a44f (commit)



commit f8a9be2c7fa8b5af1e429d7dbb6202996ca50613
Merge: f4c0544 c76ea30
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 9 11:10:23 2018 -0700

    Merge Chris Lam's cleanup-report-utilities into maint.

commit f4c0544f1b8084553f010c821c55cde2b2d446ac
Merge: 7e56a44 3e8acf2
Author: John Ralls <jralls at ceridwen.us>
Date:   Sun Sep 9 11:07:41 2018 -0700

    Merge Chris Lam's 'test-report-utilities' into maint

commit c76ea30f3a07f164d0cf9ce8c9561bf7386176f3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 9 18:41:13 2018 +0800

    [obsolete api] improve deprecation warnings

commit 768ed09977630bdfb4c23e01cc58900e7b318d1a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 21:20:21 2018 +0800

    [report-utilities] remove (gnc:value-collector-*) functions
    
    These functions are underused. Remove.

commit cb2fccf416ea5c5cb757764e62d9596f0b390e57
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 18:55:40 2018 +0800

    [report-utilities] remove (gnc-commodity-collector-*) functions
    
    These functions are not actually exported in report-system.scm so they
    are not generally available to external reports. It should mean
    they're safe to remove.

commit 4f90663c9a4db834f032a7757208802e50ab1aa4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 21:19:30 2018 +0800

    [report-utilities] rewrite list-set-safe! using named let
    
    This avoids some set! calls

commit 7a63fab04a01fd029a337cc0eb37a1e0e882d447
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 23:09:10 2018 +0800

    [report-utilities] convert functions to srfi-1

commit 0144055c4339c202e029ec0508fd5e5df69bfba0
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 23:08:43 2018 +0800

    [report-utilities] compact functions. no refactoring.

commit 512dd7c73cd86fe6f9beef71ee66f11b70c68846
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 22:29:55 2018 +0800

    [report-utilities] compact gnc:get-account-period-rolledup-budget-value

commit 18087033540662a34e6e95fe30d8c4e5795d2cdd
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 22:21:03 2018 +0800

    [report-utilities] compact gnc:account-get-total-flow
    
    This commit compacts function while maintaining legibility

commit b85f54a2874b036c84b6f69d1c49347779dacf78
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 30 17:05:40 2018 +0800

    [report-utilities] commodity-collector: simplify

commit b21874df0bc77ca3760cd45b139ddaf5d78730dd
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 23:19:12 2018 +0800

    [obsolete api] gnc-commodity-numeric->string to gnc:monetary->string

commit cb01c93a0fa7d43b670290fb5f0135f9ab9dd6a4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 23:16:41 2018 +0800

    [obsolete api] gnc-commodity-value->string to gnc:monetary->string

commit 89f8c8dc12d5b4a924a6dce69ee1ccb11753e5f3
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Sep 1 11:13:31 2018 +0800

    [commodity|report-utilities] simplify functions, convert to srfi-1
    
    these functions are not used elsewhere and should be inlined. however
    they are exported and must be retained for now.

commit eac79bd506395120fb986538ab4509e11ef2d365
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Aug 29 22:21:40 2018 +0800

    [commodity-utilities] simplify boolean functions
    
    (if a b #f) -> (and a b)
    (if a a b)  -> (or a b)

commit 353eee58cbf6510682cc511b651273a0d363220c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Aug 20 10:34:39 2018 +0800

    [transaction] convert collector map to for-each
    
    collectors are accumulator-type objects, being mutated with each call,
    rather than functional objects. (map) is meant for functional
    constructs, returning a list to current continuation. We're not using
    the (map) output, so, change it to (for-each) to emphasise this.

commit 83ad9e4b89c597e2087e2353682bd5b376184cf6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Aug 20 10:30:35 2018 +0800

    [transaction] convert add-split-row to functional style
    
    This commit removes need for row-contents, building a list of
    table-cells directly.

commit f3100ddc0a2c90e4a1f267715767d13aa886caf6
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Aug 20 10:16:01 2018 +0800

    [transaction] convert add-subheading to functional style
    
    This commit removes need for row-contents, building a list of
    subheadings directly.

commit 516354166643980a2a0c35ff50ce985e4988987e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Aug 16 12:26:08 2018 +0800

    [report] remove test-report-system-flag
    
    This flag is not required if we test (gnucash-ui-is-running) instead.

commit 3e8acf293d26ac2dad59eaf1368e2cc3741a714f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 9 19:11:45 2018 +0800

    [test-report-utilities] structure must be retrieved dynamically

commit ec1536ad50a1e9cbcef5afa57e2b2bce32076978
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 23:05:05 2018 +0800

    [test-report-utilities] encapsulate old test with teardown
    
    Wrap old (test-account-get-trans-type-splits-interval) and clean up
    environment with (teardown).

commit 0b069900d03507ef455f19ccde650b7040d56bba
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 12:42:25 2018 +0800

    [test-report-utilities] test account balances

commit 125dcfb0ec8a50a02024486639a6e95279488824
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 11:36:41 2018 +0800

    [test-report-utilities] test list, monetary->str, commodity-collector
    
    - list-set-safe
    - gnc:monetary->string
    - commodity-collector

commit 88229370aa65f33a8865c9d65b7069498b2fdc26
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Aug 31 10:56:43 2018 +0800

    [test-report-utilities] convert to srfi-64 and augment tests



Summary of changes:
 .../report/report-system/commodity-utilities.scm   | 354 ++++++++----------
 gnucash/report/report-system/html-acct-table.scm   |  23 +-
 gnucash/report/report-system/html-utilities.scm    |  24 +-
 gnucash/report/report-system/report-utilities.scm  | 410 +++++++--------------
 gnucash/report/report-system/report.scm            |   9 +-
 gnucash/report/report-system/test/CMakeLists.txt   |   2 +-
 .../report-system/test/test-report-system.scm      |   2 -
 .../report-system/test/test-report-utilities.scm   | 405 +++++++++++++++++++-
 .../report/standard-reports/advanced-portfolio.scm |  11 +-
 gnucash/report/standard-reports/transaction.scm    | 186 +++++-----
 10 files changed, 803 insertions(+), 623 deletions(-)



More information about the gnucash-patches mailing list