gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sat Nov 30 03:35:23 EST 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/0b11a073 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c21bb66d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/def0caa0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e97b78df (commit)
	 via  https://github.com/Gnucash/gnucash/commit/54c4575f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/34c14b44 (commit)
	from  https://github.com/Gnucash/gnucash/commit/7853f5a2 (commit)



commit 0b11a073f0d2f14ea54dbec50ca18ca7d28b4d5f
Merge: c21bb66d6 34c14b44a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Nov 30 16:34:48 2019 +0800

    Merge branch 'maint' of git://github.com/andrey-legayev/gnucash into maint

commit c21bb66d689972042c95694801f9932e8b982a97
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Nov 28 22:42:31 2019 +0800

    [balsheet-pnl] refactor common account-balance-list adder
    
    * use fold, more efficient, removes the need for intermediate list
    
      (map cdr (filter filter-fn accounts-balances)): filter will create 1
      intermediate list, which is passed as an argument to map which
      creates the final list. using fold will remove the need for
      intermediate list.
    
    * list->vector for O(1) access

commit def0caa011c32fcb77d40d28527a4d6d174bc22c
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Nov 28 12:29:47 2019 +0800

    [balsheet-pnl] use and-let*, reindent

commit e97b78df80251ef21eb268575ae80e08a0fd151e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Nov 28 22:41:47 2019 +0800

    [balsheet-pnl] fix: single-date balsheet missed printing date

commit 54c4575f27a6b6033aac147ee542b2fc6943cc3a
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Nov 28 12:17:34 2019 +0800

    [balsheet-pnl] fix: hide Equity sections when not needed
    
    * If currencies are not converted, Unrealized Gains are
    meaningless. Hide them.
    
    * If there are no income/expense accounts, retained earnings will be
    nil. Remove row.

commit 34c14b44a9f98035206465ab3543d43bc06ddd3d
Author: Andrey Legayev <andrey at ven.com>
Date:   Fri Nov 29 18:32:50 2019 +0200

    Remove not needed semicolons in Python bindings



Summary of changes:
 .../example_scripts/rest-api/gnucash_simple.py     |  16 +-
 bindings/python/gnucash_core.py                    |   6 +-
 gnucash/report/standard-reports/balsheet-pnl.scm   | 226 ++++++++++-----------
 .../standard-reports/test/test-balsheet-pnl.scm    |   2 +-
 4 files changed, 123 insertions(+), 127 deletions(-)



More information about the gnucash-patches mailing list