function-state->collector; turn a function/initial state into a collector
collector-do: Like collector-map, but only return the result of the first collector.
It's assumed the other collectors are invoked for their side effects.
Author: Peter Broadbery <p.broadbery@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23023 57a11ea4-9604-0410-9ed3-97b8803252fd
list into a collector.
Author: Peter Broadbery <p.broadbery@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23022 57a11ea4-9604-0410-9ed3-97b8803252fd
Can't suppress the perfectly legitimate warning, so make it non-fatal;
that way it won't trigger test_checked_handler after the tdata has
popped off the stack.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23004 57a11ea4-9604-0410-9ed3-97b8803252fd
This update fixes the following, adds commit of transaction by change of transaction by cursor keys with some changes to used functions, added commit of transaction by enter, corrects the default behaviour for share/price/value changes, changed the account accelerator function, fixed a scrolling issue, fixed column resizing, changed treeview to fixed height mode.
Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22994 57a11ea4-9604-0410-9ed3-97b8803252fd
This update fixes the following, wrong title spelling, allows the mouse to change reconcile / type flags, change transaction paste, allow changes when in sub account view, reduce view default title lengths, missing help text and changing default find on account page to the new view.
Author: Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22991 57a11ea4-9604-0410-9ed3-97b8803252fd
This is the equivalent of svnlog2ul.sh which does the same from svn log
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22983 57a11ea4-9604-0410-9ed3-97b8803252fd
This code will determine the repo type (git or svn) and use the
appropriate command to generate the ChangeLog file accordingly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22982 57a11ea4-9604-0410-9ed3-97b8803252fd
Apparently tags are not copied over automatically using git pull.
This may be a side effect of our main repo still being svn, I'm not sure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22981 57a11ea4-9604-0410-9ed3-97b8803252fd
Local URI's should be prefixed with file://. Otherwise webkit and other
browsers as well (like firefox) will take the drive letter (C: - typical
for Windows) to be an unknown network protocol.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22978 57a11ea4-9604-0410-9ed3-97b8803252fd
Also use GNC-DENOM-AUTO instead of a constant zero when appropriate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22976 57a11ea4-9604-0410-9ed3-97b8803252fd
Changes:
Part I
- bring in some more comments to ornament the code in
function (make-split-table)
Part II
In function (make-split-table), while going through the splits
- change the order of adding splits to the result table and
and updating the total collectors
Old oder:
1. add the splits to the result table
2. update the total collectors (for display at the end of the report)
New order:
1. update the total collectors with the values of the current splits
2. add the splits to the result table
Luckily this was implemented as two separate steps anyway, so this
part of the change can be done with copy/paste.
Part III
In function (make-split-table)
- change the call to (add-split-row) to also include the total-collector
- change the call to (add-other-split-rows) to also include the total-collector
In function (add-other-split-rows)
- change the definition of (add-split-row) to also include the total-collector
- change the call to (add-split-row) to also include the total-collector
In function (add-split-row)
- add the parameter "total-collector" to the function definition
- use this new parameter to display the current balance instead
of using the balance value from the split account.
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22972 57a11ea4-9604-0410-9ed3-97b8803252fd
Introduce solution and some minor modifications to save some function calls.
Solution:
- Save the current split value
- Calculate the parent total transaction value
- Calculate the ratio of the split to the transaction value
- only consider splits of opposite sign for the flow colletion
- only consider the split value multiplied with the calculated
ratio of those splits with opposite sign
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22971 57a11ea4-9604-0410-9ed3-97b8803252fd
- functional change within the cash flow calculation:
Instead of using a recursive call to (define (calc-money-in-out-internal ...))
to loop through the list of selected accounts a for-each loop is introduced.
- functional correction:
As the cash flow result data has been turned to global objects with the previous patch,
these objects need to be reset before the call to the cash flow calculator.
This is now added in the document renderer.
- further comments introduced
This is used to help identifying the function change that will be
introduced with the next patch for fixing 622778.
Author: Carsten Rinke <carsten.rinke@gmx.de>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22970 57a11ea4-9604-0410-9ed3-97b8803252fd
Do not show any totals in the General Journal report.
According to
http://www.accountingtools.com/general-journal
and
http://accountophobia.blogspot.de/2012/06/general-journal.html
it is not the idea of the General Journal to show totals but
only list transactions.
This patch makes use of the ledger-type? flag and suppresses
the output of the Net Changes accordingly.
By that, the General Journal will not show Totals, but the
Account Report still does.
Author: Carsten Rinke <carsten.rinke@gmx.de>
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22968 57a11ea4-9604-0410-9ed3-97b8803252fd
change the report head line to show the period date for (- period 1).
Author : Carsten Rinke <carsten.rinke@gmx.de>
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22967 57a11ea4-9604-0410-9ed3-97b8803252fd