gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Fri May 3 18:20:11 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/6e246ef8 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6dd04cfa (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1338162d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/375013f9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e111c5bb (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f2aacf94 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/fbcf4882 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ce675eaa (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b2dc906b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9ef2a2f3 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/91f3e9fe (commit)
	from  https://github.com/Gnucash/gnucash/commit/76936bc6 (commit)



commit 6e246ef8ad818b3c04e62939f686f478afbe8877
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Apr 11 23:18:46 2019 +0800

    [options] compact option-setter in generator
    
    slightly more compact, avoids confusing structure whereby 'option' is
    both the lambda's argument and the definition of argument.

commit 6dd04cfa58d46d855ab510d4926e43ce4605082e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Apr 9 06:59:44 2019 +0800

    [stylesheet-plain] compact functions

commit 1338162d144fcf0e7dc896d28cf245083dc43045
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Apr 9 06:57:45 2019 +0800

    [stylesheets] *reindent/delete-trailing-whitespace/untabify*

commit 375013f9ea4857f46effc4d4a8c2a68956cb3184
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Apr 20 14:11:03 2019 +0800

    [commodity-utils] simplify gnc:make-exchange-function
    
    Remove assigning exchangelist to exchange-alist.
    
    Removes need to test foreign-amount against 0 - multiplication will
    result in 0 anyway. The only functional change is the condition
    whereby foreign's commodity is not present in exchangelist; previously
    it would return (gnc:make-gnc-monetary domestic 0); now it returns #f.
    
    This function *is* allowed to return #f for invalid or missing prices;
    see the (and foreign ...) conditional.

commit e111c5bb07cf3bbf85f6d248f825beb6fa7ae66c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Apr 9 21:31:41 2019 +0800

    [commodity-utils] use scheme division instead of gnc-numeric
    
    with small change to test due to increased precision

commit f2aacf94cc5b30d2de391ae4ac0a81a0d765394d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Apr 6 11:05:53 2019 +0800

    [commodity-utils] remove price-is-not-zero? and work-done
    
    because now we're not adding invalid prices to pricelist, and avoids
    set! calls
    
    also fix typo in deprecation message

commit fbcf488237f0f48b3c5e594bce1cb3ddeb514659
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Apr 5 23:41:04 2019 +0800

    [commodity-utils] refactor resolve-unknown-comm

commit ce675eaac6b52e85cd9fe8602002f7b9d55e63ba
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Apr 5 23:31:45 2019 +0800

    [commodity-utils] refactor get-exchange-cost-totals

commit b2dc906bcd7c2597aaa585d4c8ae7248783b765c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Apr 5 22:44:13 2019 +0800

    [commodity-utils] refactor get-exchange-totals

commit 9ef2a2f3dd82a7731cb9dc11f4d7e5190e038f45
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Apr 5 21:23:18 2019 +0800

    [commodity-utils] refactor inst price calculator

commit 91f3e9fefec44e392adf3968d9cdc7117b7d8913
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Fri Apr 5 21:01:33 2019 +0800

    [commodity-utils] refactor totalavg price calculator
    
    use exact rationals, therefore test suite amended



Summary of changes:
 .../report/report-system/commodity-utilities.scm   | 854 ++++++++++-----------
 .../report-system/test/test-commodity-utils.scm    |  24 +-
 gnucash/report/stylesheets/stylesheet-easy.scm     | 244 +++---
 gnucash/report/stylesheets/stylesheet-fancy.scm    | 248 +++---
 gnucash/report/stylesheets/stylesheet-footer.scm   | 251 +++---
 .../report/stylesheets/stylesheet-head-or-tail.scm | 430 +++++------
 gnucash/report/stylesheets/stylesheet-plain.scm    | 178 ++---
 gnucash/report/stylesheets/stylesheets.scm         |   4 +-
 libgnucash/app-utils/options.scm                   |   8 +-
 9 files changed, 1083 insertions(+), 1158 deletions(-)



More information about the gnucash-patches mailing list