gnucash master: Multiple changes pushed

Christopher Lam clam at code.gnucash.org
Wed Sep 25 12:19:19 EDT 2019


Updated	 via  https://github.com/Gnucash/gnucash/commit/b49109b7 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/22cdd237 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/298724dd (commit)
	 via  https://github.com/Gnucash/gnucash/commit/ee260d8e (commit)
	 via  https://github.com/Gnucash/gnucash/commit/9832fa39 (commit)
	 via  https://github.com/Gnucash/gnucash/commit/a259ba4a (commit)
	from  https://github.com/Gnucash/gnucash/commit/8342a6df (commit)



commit b49109b7826cc7c1c9dfa055f69598304291710c
Merge: 8342a6dfb 22cdd237f
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Sep 26 00:19:06 2019 +0800

    Merge branch 'maint'

commit 22cdd237f1c00b9679382793b19124a215a2df58
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Thu Feb 21 17:07:17 2019 +0800

    [test-portfolios] initial commit
    
    1.1.1980 seed $10,000
    1.2.1980 buy 1 AAPL @ $100
    1.3.1980 buy 1 AAPL @ $200
    1.5.1980 sell 1 AAPL @ $400, FIFO capgain = $300, less $10 fee
    1.10.1980 1:10 stock split 1 to 10 AAPL, price now $40
    1.11.1980 1:10 stock split 10 to 100 AAPL, price now $4
    1.12.1980 3:1 stock split 100 to 33 AAPL, price now $12;
              cash-in-lieu for 1/3 AAPL = $4
    
    tests both portfolio.scm and advanced-portfolio.csm
    tests report output using average/fifo/lifo
    
    pending: DRP etc

commit 298724dd93c475e2b730679a66acbcdcd94bbb5e
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Tue Sep 24 23:03:27 2019 +0800

    [portfolio] there's no report-currency. use currency.

commit ee260d8e3a197a63b394d3a41e9ec502dcf92842
Author: Robert Fewell <14uBobIT at gmail.com>
Date:   Mon Sep 23 13:28:34 2019 +0100

    Bug 797416 - Enter key does not move to blank tx or next line
    
    Caused by a previous commit that did not allow for just pressing the
    enter key without changes to move to the next transaction. This was
    part of a change to stop being asked to create a new account many times
    when the transfer cell had been changed and declining it. To fix this
    when gnc_split_reg_record returns false, test for the current cursor
    changed flag being not set to proceed to do the move.

commit 9832fa397a5ba1ae898ce206baac7a09a5d3a9e2
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 22 18:46:12 2019 +0800

    [window-report] show backtrace when report crashes
    
    * exposes a SCM string last-captured-error containing last backtrace
    * when rendering report-crash window, include it

commit a259ba4a3e26b4b50ba911f42a40087440a5d60d
Author: Christopher Lam <christopher.lck at gmail.com>
Date:   Sun Sep 22 21:17:40 2019 +0800

    [utilities] move gnc:html-string-sanitize to utilities.scm



Summary of changes:
 gnucash/gnome/gnc-plugin-report-system.c           |  13 +-
 gnucash/gnome/gnc-split-reg.c                      |  14 +-
 gnucash/report/html-utilities.scm                  |  13 --
 gnucash/report/report.scm                          |   1 -
 gnucash/report/reports/standard/portfolio.scm      |   2 +-
 .../report/reports/standard/test/CMakeLists.txt    |   1 +
 .../reports/standard/test/test-portfolios.scm      | 127 +++++++++++++++
 gnucash/report/test/test-html-utilities-srfi64.scm |  35 ----
 libgnucash/app-utils/c-interface.scm               |  11 +-
 libgnucash/engine/test/test-engine-extras.scm      | 177 +++++++++++++++++++++
 .../scm/test/test-libgnucash-scm-utilities.scm     |  35 ++++
 libgnucash/scm/utilities.scm                       |  17 ++
 12 files changed, 385 insertions(+), 61 deletions(-)
 create mode 100644 gnucash/report/reports/standard/test/test-portfolios.scm



More information about the gnucash-patches mailing list