gnucash maint: Multiple changes pushed

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gnucash maint: Multiple changes pushed

Christopher Lam-2
Updated via  https://github.com/Gnucash/gnucash/commit/9ba0d965 (commit)
         via  https://github.com/Gnucash/gnucash/commit/918321aa (commit)
         via  https://github.com/Gnucash/gnucash/commit/82edec26 (commit)
         via  https://github.com/Gnucash/gnucash/commit/76813223 (commit)
         via  https://github.com/Gnucash/gnucash/commit/971be339 (commit)
         via  https://github.com/Gnucash/gnucash/commit/4a2b5e96 (commit)
         via  https://github.com/Gnucash/gnucash/commit/f64586b8 (commit)
        from  https://github.com/Gnucash/gnucash/commit/6945e1c7 (commit)



commit 9ba0d9658da9d48deba823b2a326b7502ba1d091
Author: Christopher Lam <[hidden email]>
Date:   Sun Feb 17 03:29:09 2019 +0800

    [test-extras] (create-transaction) adds price trading commodities/currency
   
    this will modify a test which was calibrated to record purchase price
    only. fix transaction creation to add prices for both purchase and
    sales, and also fix test which was assuming no sale price was bring
    recorded.

commit 918321aafadcaa9ea68bf34d7d322c96dacc4c52
Author: Christopher Lam <[hidden email]>
Date:   Fri Feb 15 14:13:05 2019 +0800

    [test-extras] for tests: (env-create-multisplit-transaction)
   
    This is the general case for any transaction creation.  Rewrite other
    transaction creation routines to use it.  All tests still work
    unchanged, which confirms this function works well.
   
    This will allow tests to create multisplit transactions, of an
    arbitrary number of splits. If the list-of-split's values are not
    balanced (i.e. total 0), the engine will create an Imbalance-CUR
    split.
   
    The motivation is to allow creation of complex multisplit
    multicommodity transactions eg USD50 + GBP20 (USD25) = EUR66 (USD75)
    as well as their prices GBP/USD = 25/20 and EUR/USD = 75/66.
   
    * USD -50
    * USD -25 = GBP -20
    * USD +75 = EUR +66
   
    This will be useful in creating tests for stock-based reports, whereby
    stock sales need splits in STOCK/ASSET/INCOME accounts.

commit 82edec26fc22604f2ef62bae9917e2bf6d234e06
Author: Christopher Lam <[hidden email]>
Date:   Thu Feb 7 19:52:49 2019 +0800

    [test-extras] (gnc:options->sxml) dumps better error
   
    The exception catcher gives a (k . args) pair which contain useful
    information about the exception. Show in test log output.

commit 768132236ada1fa3afc3d9f18f329b18cb6afbd4
Author: Christopher Lam <[hidden email]>
Date:   Wed Feb 20 21:05:52 2019 +0800

    [general-ledger] Void-Transactions had moved from Accounts to Filter
   
    TR void-transaction moved from Account tab to Filter tab.

commit 971be33951be6eb7d8affec8356ca7370007aef9
Author: Christopher Lam <[hidden email]>
Date:   Fri Feb 8 15:42:29 2019 +0800

    [html-fonts] compact (font-name-to-style-info)
   
    which was badly written. compact, and create tests.

commit 4a2b5e96419b9e6b64f9350e5b5b8d208dcbe7b7
Author: Christopher Lam <[hidden email]>
Date:   Sun Feb 10 18:53:53 2019 +0800

    [hooks.scm] deprecate hooks.scm
   
    this module has a single function which is used only once. inline it.

commit f64586b873f4cbeaf276672bb8bb7a56f5c10cfc
Author: Christopher Lam <[hidden email]>
Date:   Thu Feb 14 20:55:06 2019 +0800

    [app-utils] remove config-var.scm
   
    unused since 1999?



Summary of changes:
 gnucash/report/report-gnome/report-gnome.scm       |   2 +-
 gnucash/report/report-system/html-fonts.scm        |  73 +++++--------
 gnucash/report/report-system/test/CMakeLists.txt   |   1 +
 .../report-system/test/test-commodity-utils.scm    |   4 +-
 gnucash/report/report-system/test/test-extras.scm  |   4 +-
 .../report/report-system/test/test-html-fonts.scm  |  36 +++++++
 gnucash/report/standard-reports/general-ledger.scm |   6 +-
 .../standard-reports/test/test-transaction.scm     |  29 ++---
 libgnucash/app-utils/CMakeLists.txt                |   1 -
 libgnucash/app-utils/app-utils.scm                 |  15 +--
 libgnucash/app-utils/config-var.scm                |  74 -------------
 libgnucash/app-utils/hooks.scm                     |   1 +
 libgnucash/engine/test/test-extras.scm             | 120 +++++++++++++--------
 13 files changed, 159 insertions(+), 207 deletions(-)
 create mode 100644 gnucash/report/report-system/test/test-html-fonts.scm
 delete mode 100644 libgnucash/app-utils/config-var.scm

_______________________________________________
gnucash-patches mailing list
[hidden email]
https://lists.gnucash.org/mailman/listinfo/gnucash-patches