gnucash unstable: Multiple changes pushed

John Ralls jralls at code.gnucash.org
Thu Dec 21 18:33:40 EST 2017


Updated	 via  https://github.com/Gnucash/gnucash/commit/e0300d3a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/70618035 (commit)
	from  https://github.com/Gnucash/gnucash/commit/318f7ebc (commit)



commit e0300d3a623fe21224c22fc4f2c44565111c2ec9
Author: John Ralls <jralls at ceridwen.us>
Date:   Thu Dec 21 15:30:49 2017 -0800

    Replace the gnc:numeric pair with normal Scheme rationals.
    
    This allows direct conversion between Scheme numbers and gnc_numeric
    without the performance or accuracy penalties arising from using doubles
    as an intermediary.

commit 7061803596ed61dd9829235927f44c0adc9c9ddc
Author: John Ralls <jralls at ceridwen.us>
Date:   Mon Dec 18 09:46:42 2017 -0800

    Remove SIGFIG rounding from price calculation.
    
    Prices shouldn't be rounded except for display.



Summary of changes:
 .../report/business-reports/balsheet-eg.eguile.scm |  2 +-
 gnucash/report/business-reports/receipt.scm        |  2 +-
 gnucash/report/business-reports/taxinvoice.scm     |  2 +-
 gnucash/report/locale-specific/us/taxtxf.scm       |  4 +-
 .../report/report-system/commodity-utilities.scm   | 14 ++--
 gnucash/report/report-system/html-barchart.scm     |  2 -
 gnucash/report/report-system/html-linechart.scm    |  2 -
 gnucash/report/report-system/html-piechart.scm     |  4 +-
 gnucash/report/report-system/html-scatter.scm      |  4 +-
 gnucash/report/report-system/report-system.scm     |  2 +-
 gnucash/report/report-system/report-utilities.scm  | 40 ++++-----
 .../report/standard-reports/advanced-portfolio.scm |  8 +-
 gnucash/report/standard-reports/cash-flow.scm      | 16 ++--
 .../report/standard-reports/category-barchart.scm  |  8 +-
 gnucash/report/standard-reports/net-barchart.scm   |  4 +-
 gnucash/report/standard-reports/sx-summary.scm     |  2 +-
 .../standard-reports/test/test-cash-flow.scm       | 44 ++++++----
 .../test/test-cashflow-barchart.scm                | 38 +++++----
 .../test/test-generic-net-barchart.scm             | 79 +++++++++++-------
 .../test/test-generic-net-linechart.scm            | 14 ++--
 gnucash/report/utility-reports/hello-world.scm     |  2 +-
 libgnucash/app-utils/gnc-euro.c                    |  2 +-
 libgnucash/app-utils/guile-util.c                  |  4 +-
 libgnucash/engine/Split.c                          |  3 -
 libgnucash/engine/engine-helpers-guile.h           |  3 -
 libgnucash/engine/engine-helpers.c                 | 97 +++-------------------
 libgnucash/engine/engine.scm                       |  6 --
 libgnucash/engine/gnc-numeric.scm                  | 22 +----
 libgnucash/engine/kvp-scm.cpp                      | 18 ++--
 libgnucash/engine/test/test-extras.scm             |  8 +-
 libgnucash/engine/test/test-split.scm              |  4 +-
 libgnucash/engine/test/utest-Split.cpp             |  5 --
 32 files changed, 190 insertions(+), 275 deletions(-)



More information about the gnucash-patches mailing list