gnucash unstable: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Tue Oct 31 13:24:00 EDT 2017
Updated via https://github.com/Gnucash/gnucash/commit/039dda52 (commit)
via https://github.com/Gnucash/gnucash/commit/41ad8915 (commit)
via https://github.com/Gnucash/gnucash/commit/5ca2834b (commit)
via https://github.com/Gnucash/gnucash/commit/44df91ad (commit)
via https://github.com/Gnucash/gnucash/commit/9cb8a3c8 (commit)
from https://github.com/Gnucash/gnucash/commit/49c70795 (commit)
commit 039dda5294e3b103e449247114a733dbf6e47bc8
Merge: 49c7079 41ad891
Author: John Ralls <jralls at ceridwen.us>
Date: Tue Oct 31 10:20:50 2017 -0700
Merge J. Marino's cashflow-barchart updates into unstable.
commit 41ad89154ff856b8d53ef6a7e135ba927594e199
Author: Jose Marino <jmarino at users.noreply.github.com>
Date: Tue Oct 31 09:59:18 2017 -0600
report-test: move add-to-load-path to build system
The unit test for cashflow-barchart.scm needs module stylesheets
to work, to render gnc-monetary objects correctly.
It makes sense to add the extra load-path needed by the module
in the build system instead of with code in the test file.
This is only needed when building with autotools. It seems cmake
builds don't need this.
commit 5ca2834bd0587e57b32eac77cd8089ca77072b23
Author: Jose Marino <jmarino at users.noreply.github.com>
Date: Fri Oct 27 14:53:08 2017 -0600
cashflow-barchart: split option "show money in/out" into two separate ones
The report had two display options: one to control the display of
money in/out and another one to control the display of net flow.
In this commit we split the first option into two separate ones to
allow toggling the display of money in, out and net independently.
commit 44df91adcaaa718b97b71cd4d16c13a4c24acc5d
Author: Jose Marino <jmarino at users.noreply.github.com>
Date: Fri Oct 27 15:21:57 2017 -0600
cashflow-barchart: delete unnecessary intermediate lists
These intermediate lists *-value-list hold the double values needed
by the barchart. We can easily create these lists on the fly,
there's no need to store them in a separate variable.
The same is done to include total values in the table, we can easily
append the total value on the fly.
commit 9cb8a3c87abc80be4db2b12ef60faac6405d6071
Author: Jose Marino <jmarino at users.noreply.github.com>
Date: Fri Oct 27 14:20:11 2017 -0600
cashflow-barchart: use direct gnc-monetary math instead of collectors
Operate between gnc-monetary objects instead of using collectors. The
resulting code is simpler and easier to read.
Summary of changes:
.../report/standard-reports/cashflow-barchart.scm | 140 +++++++++++----------
gnucash/report/standard-reports/test/Makefile.am | 1 +
.../test/test-cashflow-barchart.scm | 2 -
3 files changed, 75 insertions(+), 68 deletions(-)
More information about the gnucash-patches
mailing list