gnucash maint: Multiple changes pushed

Geert Janssens gjanssens at code.gnucash.org
Sun Nov 15 09:16:56 EST 2015


Updated	 via  https://github.com/Gnucash/gnucash/commit/3e7c8fa4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/13c7abc9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c26b81bf (commit)
	 via  https://github.com/Gnucash/gnucash/commit/eb600c79 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cca9cc7c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5ff205d4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/526fd82c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8d123382 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/516b3025 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/6a8e9760 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/5d98d4af (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b47f0453 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/8dfea02d (commit)
	 via  https://github.com/Gnucash/gnucash/commit/f9ab945c (commit)
	from  https://github.com/Gnucash/gnucash/commit/fa4532b6 (commit)



commit 3e7c8fa45afe99c56f53b3a0bdc67a51ae86d48d
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Fri Nov 13 21:12:48 2015 +0000

    Move test-account and test-split into engine/test directory

commit 13c7abc978a4956a860b52f6aad1ad4a836966b2
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Fri Nov 13 20:33:20 2015 +0000

    Moved test-extras.scm to engine directory.

commit c26b81bff8686927cd68c37a116ba8d4dfc36fd4
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Mon Nov 9 22:16:26 2015 +0000

    cash-flow.scm: Use hashtables for accounts as well

commit eb600c79a4288c38cb414d9a3ba45607b27bf634
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Thu Nov 12 20:43:58 2015 +0000

    engine-utilities.scm: Add a couple of hashtable functions.

commit cca9cc7c22435383bae1158941a696a1301a04b0
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Mon Nov 9 20:53:19 2015 +0000

    cash-flow.scm: Use a hashtable instead of a list.
    
    This removes O(n^2) behaviour in the number of splits.

commit 5ff205d41fee190673d3a88517b09fd1591e3462
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Thu Nov 12 20:38:49 2015 +0000

    engine-utilities.scm: Add a specialised hashtable.

commit 526fd82ca8bc5b2e05c40233c147ddd2c4e1a97a
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Mon Nov 9 20:42:43 2015 +0000

    cashflow: use the much faster gnc:account-get-trans-type-splits-interval
    
    This retrieves all the splits we need, and much faster.

commit 8d123382442afae25003ed4295992237ff76be47
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Sun Nov 8 22:37:08 2015 +0000

    Add cashflow test

commit 516b3025b10b9cb43f4a26b1a19e6465872444ba
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Sat Oct 31 21:01:59 2015 +0000

    report-utilities: Add a very small test to show that splits are unique
    for account-get-trans-type-splits-interval

commit 6a8e97600fd61538df3c507d4474448da6dff925
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Mon Nov 9 22:31:53 2015 +0000

    cashflow: Further separate work into a per-split section.

commit 5d98d4af9d44968d8e4cf000a7f0367893d3a581
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Thu Nov 12 20:29:23 2015 +0000

    standard-reports/cash-flow.scm: break out main calculation part
    
    This adds a function cash-flow-calc which does most of the donkey work and
    can be tested independently of report generation.

commit b47f04539ef20e409b7516a5886c1b6c459df874
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Thu Nov 12 20:26:18 2015 +0000

    Move account & split.scm to engine-utilities

commit 8dfea02da79ecefd290be928c5b25a9e765764d1
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Mon Nov 9 22:47:57 2015 +0000

    reports: Add account and split module, plus tests.
    
    Remove common functions from the budget and cashflow reports.
    Add into separate modules, plus some tests for these newly exposed
    functions.

commit f9ab945cad3c0af7734aebdbdd383c10f4c0e2ec
Author: Peter Broadbery <p.broadbery at gmail.com>
Date:   Sun Nov 8 22:43:58 2015 +0000

    Add and use a macro for loading modules.



Summary of changes:
 src/engine/engine-utilities.scm                    |  95 +++
 src/engine/engine.scm                              |  20 +
 src/engine/test/Makefile.am                        |  38 +-
 src/engine/test/test-account.scm                   |  47 ++
 .../report-system => engine}/test/test-extras.scm  |  95 +--
 src/engine/test/test-split.scm                     |  29 +
 ...est-create-account.scm => test-test-extras.scm} |  39 +-
 src/gnc-module/gnc-module.scm                      |   9 +
 src/report/report-system/Makefile.am               |   1 -
 src/report/report-system/test/Makefile.am          |   5 +-
 src/report/report-system/test/test-collectors.scm  |   2 +-
 src/report/report-system/test/test-extras.scm      | 218 +------
 src/report/report-system/test/test-list-extras.scm |   2 +-
 .../report-system/test/test-report-utilities.scm   |  34 ++
 src/report/report-system/test/test-test-extras.scm |   4 +-
 src/report/standard-reports/budget.scm             |  42 +-
 src/report/standard-reports/cash-flow.scm          | 660 ++++++++++-----------
 src/report/standard-reports/test/Makefile.am       |   3 +
 .../standard-reports/test/test-cash-flow.scm       | 127 ++++
 .../test/test-generic-category-report.scm          |   1 +
 .../test/test-generic-net-barchart.scm             |   1 +
 .../test/test-generic-net-linechart.scm            |   1 +
 .../test/test-standard-category-report.scm         |  10 +-
 .../test/test-standard-net-barchart.scm            |  14 +-
 24 files changed, 786 insertions(+), 711 deletions(-)
 create mode 100644 src/engine/test/test-account.scm
 copy src/{report/report-system => engine}/test/test-extras.scm (80%)
 create mode 100644 src/engine/test/test-split.scm
 copy src/engine/test/{test-create-account.scm => test-test-extras.scm} (57%)
 create mode 100644 src/report/report-system/test/test-report-utilities.scm
 create mode 100644 src/report/standard-reports/test/test-cash-flow.scm



More information about the gnucash-patches mailing list