gnucash maint: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Sun Dec 27 20:48:19 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/f1c1fca0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/bd7b77b9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b1f9e8e0 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ef8f8bdc (commit)
	from  https://github.com/Gnucash/gnucash/commit/76e6b993 (commit)



commit f1c1fca023235a8563243529dd96a792d5ac057f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Dec 27 12:46:52 2020 +0800

    [account.cpp][API] deprecate xaccAccountCountSplits

commit bd7b77b9002327b702f9e7b286b8f3a4dc6e0b41
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Dec 27 11:01:07 2020 +0800

    [dialog-account] don't use xaccAccountCountSplits

commit b1f9e8e0400909b3fa22cad3a9669ecca9d4aa24
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Dec 26 23:49:06 2020 +0800

    [html-table][API] deprecate gnc:html-table-append-column!
    
    This function is inefficient. Each column appended will require
    scanning every row of existing html-table, scanning the row's elements
    and appending the desired data.

commit ef8f8bdcd79a78ca4cd87e7c05eb546a585b2abd
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sat Dec 26 23:47:07 2020 +0800

    Reports: don't use gnc:html-table-append-column!
    
    This function is inefficient. Each column appended will require
    scanning every row of existing html-table, scanning the row's elements
    and appending the desired data.
    
    It is much more efficient to build a html-table by append rows instead
    -- html-table rows are stored in reverse, and each appended row is
    built using (cons newrow existing-rows).



Summary of changes:
 gnucash/gnome-utils/dialog-account.c               |  2 +-
 gnucash/report/html-table.scm                      |  2 ++
 gnucash/report/reports/example/hello-world.scm     |  6 +++--
 .../report/reports/standard/cashflow-barchart.scm  | 31 +++++++++++-----------
 gnucash/report/reports/standard/net-charts.scm     | 31 +++++++++-------------
 libgnucash/engine/Account.cpp                      |  4 +++
 6 files changed, 39 insertions(+), 37 deletions(-)



More information about the gnucash-patches mailing list