gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Thu Jul 25 09:19:15 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/e5aabe41 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/720f1764 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7c9d5ee7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e9554e39 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/54c07650 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/681e023c (commit)
	 via  https://github.com/Gnucash/gnucash/commit/7e9ec009 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9e3aca2e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c3eab984 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/cf6ea4c6 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a4811b3b (commit)
	 via  https://github.com/Gnucash/gnucash/commit/c9cf35de (commit)
	 via  https://github.com/Gnucash/gnucash/commit/e5b756fa (commit)
	 via  https://github.com/Gnucash/gnucash/commit/1387c05f (commit)
	 via  https://github.com/Gnucash/gnucash/commit/49771ee9 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ca87572a (commit)
	 via  https://github.com/Gnucash/gnucash/commit/b02f7ac4 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/507ef68d (commit)
	from  https://github.com/Gnucash/gnucash/commit/63f484c5 (commit)



commit e5aabe41d8a84f67e22142cc48f3ba61fcb2af9e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Jul 25 20:59:34 2019 +0800

    [test-stress-options] fix to consider changes in master
    
    * reports are loaded by the (gnucash reports) module.
    * skip the "Hello, World" report which has option to trigger a crash.

commit 720f176417017822d4daf2f8d4b60e06513e8562
Merge: 63f484c55 7c9d5ee7e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Jul 25 20:30:32 2019 +0800

    Merge branch 'maint'

commit 7c9d5ee7ee5c38015b8800daa0379c5cf812ab1b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Jul 25 17:44:35 2019 +0800

    Bug 797158 - gnc:make-account-sel-limited-option is not working
    
    Option was being deliberately reset to default_value every time.

commit e9554e39b448bf945fc0fa74915dd9f62e5fb150
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jul 21 22:56:11 2019 +0800

    [test-stress-options] improve coverage
    
    * improve documentation
    * reuse (create-test-data) for various regular transactions
    * run (create-test-invoice-data) for business invoices
    * fix max arguments which would crash for reports without options
    * if report has start-date and end-date, insert valid dates to ensure
    report runs on non-null book data.
    * enable testing of previously disabled reports
    * also dump book and invoices generated in populated book
    * modify output to show full backtrace on error: In case of test
    failure, previous would show a shortened exception name. Change to
    display full backtrace, similar to crashing in live code. Uses
    gnc:apply-with-error-handling existing API call.
    
    Also clean up code.

commit 54c076504430677d38beca09cbf6c6665f9c14d7
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Jul 22 21:24:28 2019 +0800

    [test-invoice] modified to call (create-test-invoice-data)
    
    test-invoice will call (create-business-test-data) to create the 8
    sample invoices as previously generated.

commit 681e023cd57f4dc77eccc6a95a58b729c5957541
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jul 24 22:58:40 2019 +0800

    [date-utilities][API] deprecate unused exports, add comments
    
    * deprecated:
      gnc:make-reldate-hash
      gnc:reldate-string-db
      gnc:relative-date-values
      gnc:get-relative-date-strings
    
    * remove gnc:reldate-list, unused
    
    * comment sections

commit 7e9ec00906a3100f7a8cd1a0f97df1a8eb480050
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Wed Jul 24 23:44:24 2019 +0800

    [date-utilities] tidy up gnc:make-date-interval-list

commit 9e3aca2ea9eebec58449d078590a3fd235b44678
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Jul 23 22:04:59 2019 +0800

    [balsheet-pnl] fixcrash: price-conversion with 'overall-period
    
    previously price-conversion with overall-period would fail when
    considering the pricing date for the overall-period column. Use the
    last date for the overall-period.

commit c3eab984ce152a561229f42a1f9f468f4ff62de2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Jul 23 22:04:24 2019 +0800

    [average-balance] fixcrash: asset-accounts present but no splits
    
    restore the analyze-splits function. previously it would run on an
    empty splitlist (obtained via empty accounts for example) and crash
    with div/0. this commit will break loop back to analyze-splits
    function, and only call it if the splitlist is not null.

commit cf6ea4c612e7748206b018bb279b16ade903a919
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Mon Jul 22 19:57:30 2019 +0800

    [report-utilities] update gnc:dump-book
    
    gnc:dump-book also shows
    * account balances
    * split memo and reconcile status
    
    Exmaple:
    
    Account: <Root.A/Payable> Comm<USD> Type<A/Payable>
    n Split: 09/03/80 Amt<-$6.00> Val<-$6.00> Desc<vend-1-name> Memo<vendor-bill>
    c Split: 09/04/80 Amt<-$6.00> Val<-$6.00> Desc<emp-1-name> Memo<emp-bill>
    y Split: 09/06/80 Amt<$6.00> Val<$6.00> Desc<vend-1-name> Memo<vend-credit-note>
    f Split: 09/07/80 Amt<$6.00> Val<$6.00> Desc<emp-1-name> Memo<emp-credit-note>
    Balance: $0.00 Cleared: $0.00 Reconciled: $0.00

commit a4811b3b46230e2bbc0cafda1eb93d5bd9225d9b
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jul 21 22:55:38 2019 +0800

    [test-extras] add (create-test-invoice-data) for tests
    
    this function creates some business data. moved from test-invoice.scm
    without the invoice-specific tests. verified all invoices/bills are
    created correctly.
    
    it returns a vector-list of the 8 invoices generated.

commit c9cf35de5de765f7769a5ac21b106e96495e9ef4
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jul 21 20:45:43 2019 +0800

    [commodity-utils] document gnc:case-exchange-time-fn

commit e5b756fada5464a6c81ca1445523f4b5e6f8739d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jul 21 20:35:28 2019 +0800

    [commodity-utils] refactor gnc:pricelist-price-find-nearest
    
    instead of O(3n), this implementation is O(n)

commit 1387c05f4d172898429b470da362178712faf992
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Jul 21 20:34:04 2019 +0800

    [test-commodity-utils] augment weighted-average tests
    
    this is to increase 100% coverage pricealist-nearest finder

commit 49771ee9f9b9e3c58b0677b7641f0e1e7ccc6b64
Author: iggyvolz <iggyvolz at gmail.com>
Date:   Tue Jul 23 20:04:22 2019 -0400

    Fix typo in CMakeLists.txt

commit ca87572a2cf2b30d2e8a97ca8314ed803ea0a05e
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Jul 23 09:42:43 2019 -0700

    Bug 797319 - Mauritanian ouguiya MRO shows too few decimals
    
    Changed MRO smallest-fraction to 100 based on information provided
    by the reporter. ISO4217 has moved the MRO to the "Historical Currencies"
    list that doesn't include CcyMnrUnits.

commit b02f7ac40979dd7132dddb22a02b88baabcc730d
Author: John Ralls <jralls at ceridwen.us>
Date:   Tue Jul 23 09:39:23 2019 -0700

    Bug 797316 - New Mauritanian ouguiya MRU not supported
    
    Add new MRU with info from
    https://www.currency-iso.org/dam/downloads/lists/list_one.xml

commit 507ef68dc7cabed6ed257c36c78d8d34711682e7
Author: Thomas Klausner <tk at giga.or.at>
Date:   Sat Jul 20 18:05:13 2019 -0700

    Bug 795251 - googletest detection cannot be overridden
    
    For the part about the GTest linking problem.



Summary of changes:
 CMakeLists.txt                                     |   2 +-
 common/cmake_modules/GncAddTest.cmake              |   2 +-
 gnucash/gnome-utils/dialog-options.c               |   5 +-
 gnucash/report/commodity-utilities.scm             |  48 +--
 gnucash/report/report-utilities.scm                |  25 +-
 gnucash/report/reports/example/average-balance.scm | 242 +++++++-------
 gnucash/report/reports/standard/balsheet-pnl.scm   |  24 +-
 .../report/reports/standard/test/test-invoice.scm  | 331 ++-----------------
 .../reports/standard/test/test-stress-options.scm  | 342 +++++++++----------
 gnucash/report/test/test-commodity-utils.scm       |  34 +-
 libgnucash/app-utils/app-utils.scm                 |  10 +-
 libgnucash/app-utils/date-utilities.scm            |  60 ++--
 libgnucash/engine/iso-4217-currencies.xml          |  15 +-
 libgnucash/engine/test/test-engine-extras.scm      | 361 +++++++++++++++++++++
 14 files changed, 823 insertions(+), 678 deletions(-)



More information about the gnucash-patches mailing list