Commit Graph

15095 Commits

Author SHA1 Message Date
Geert Janssens
72c7001693 Log a warning if a test shows more than 100% progress.
Author:    Peter Broadbery <p.broadbery@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23025 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-06-02 10:32:18 +00:00
Geert Janssens
4149b7ab87 Utils: Add "gnc:timepair?" function; useful for ensuring functions are called in a type-safe way.
Add gnc:timepair-next-day

Author:    Peter Broadbery <p.broadbery@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23024 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-06-02 10:32:04 +00:00
Geert Janssens
7a3080d3dc Reports: Add collector functionality for side effects..
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
2013-06-02 10:31:51 +00:00
Geert Janssens
c30b3641a1 Reports: Add collector-into-list function.. turns the idea of adding stuff to a
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
2013-06-02 10:31:39 +00:00
Geert Janssens
c57a3ee516 Add some plumbing for report changes - test framework plus some utility methods
Author:    Peter Broadbery <p.broadbery@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23021 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-06-02 10:31:26 +00:00
Geert Janssens
056545fcf8 Add exported ids to reports.. useful for testing
Author:    Peter Broadbery <p.broadbery@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23020 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-06-02 10:31:13 +00:00
Geert Janssens
3f908e8cb7 Bug 383928 - Bad command name: Remove transaction splits
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23019 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-31 17:03:14 +00:00
Geert Janssens
42e2bfdbe7 Update gitignore
Author:    Aurimas Fišeras <aurimas@members.fsf.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23015 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-28 10:40:04 +00:00
Geert Janssens
14ce35ff51 Update copyright year and make it translatable
Author:    Aurimas Fišeras <aurimas@members.fsf.org>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23014 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-28 10:39:53 +00:00
John Ralls
e12bdcddcb Update Changelog for 2.5.2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23012 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-27 20:56:25 +00:00
John Ralls
35d4affc46 Update NEWS for 2.5.2 release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23010 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-27 18:44:39 +00:00
Christian Stimming
82f0f7d024 Win32 build: Update versions of gwenhywfar, aqbanking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23006 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-26 19:21:31 +00:00
John Ralls
66dccc81af [Bug 640962] Make check failure: test_backend_dbi
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
2013-05-25 22:43:17 +00:00
John Ralls
8e9c9d8ced Bump version for release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23003 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-25 22:43:07 +00:00
Geert Janssens
369b9d667e Fix windows build after it got broken by r22982
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22998 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-21 10:59:31 +00:00
Christian Stimming
48ce3061b1 Merge latest pot template from trunk into updated da.po file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22997 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-20 18:45:49 +00:00
Christian Stimming
2b25c56db0 Copy recently updated Danish translation from 2.4 branch to trunk.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22996 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-20 18:42:40 +00:00
Geert Janssens
e3beee22e6 Register rewrite Update, bug fixes and transaction commit changes.
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
2013-05-19 20:18:46 +00:00
Christian Stimming
9f5eebb35f I18n: Change composed strings (report title) into fully translated string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22993 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-18 20:29:46 +00:00
Geert Janssens
3be139e5f3 Register rewrite Update, bug fixes and allow mouse to change reconcile flag.
Author:    Robert Fewell <14uBobIT@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22992 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-18 14:23:22 +00:00
Geert Janssens
06a10b727a Register rewrite Update, bug fixes and allow mouse to change reconcile flag.
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
2013-05-18 14:23:12 +00:00
Geert Janssens
c51d0c3c74 Cleanup non-relevant comments introduced with r22825
It also cleans up some indentations.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22989 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-18 13:54:08 +00:00
Geert Janssens
27d5004bdb Support for querying Bitcoin/Litecoin prices via F::Q's MtGox module
Author:    Sam Morris <sam@robots.org.uk>
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22988 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-18 13:53:56 +00:00
Cristian Marchi
8a8a00b18f Fix a typo in both source and po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22987 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-18 13:22:24 +00:00
Cristian Marchi
e1af0653af Update Italian translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22986 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-18 13:19:03 +00:00
Geert Janssens
5fe14092eb Add script to generate a list of changes in html format between two revisions based on git log
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
2013-05-17 10:10:50 +00:00
Geert Janssens
9582469c11 Add code to generate ChangeLog from git
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
2013-05-17 10:10:37 +00:00
Geert Janssens
35036bd24e Win32 git: fetch potentially new tags before running the tags build
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
2013-05-15 14:24:52 +00:00
Geert Janssens
4adde2459b Win32 fix path to git build script for tags
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22980 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-15 13:27:51 +00:00
Geert Janssens
82e9608e4d Win32: build 2.5 tagged releases from git instead of svn
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22979 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-15 13:24:25 +00:00
Geert Janssens
a1dbd90c09 Fix charts on Windows
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
2013-05-15 11:12:58 +00:00
Mike Evans
bb13a0a843 Bug #700197 - Critical SQL backend errors when creating customers via python bindings
Patch supplied by the reporter Tom Lofts.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22977 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-13 08:34:06 +00:00
Mike Alexander
d339141394 Round properly when computing fraction of the transaction's value due to a given split.
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
2013-05-12 03:41:41 +00:00
Geert Janssens
03c3a6d115 Bug #682800 Generated balances on Report different than calculated balances on Ledger when using "open subaccounts"
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
2013-05-10 19:06:50 +00:00
Geert Janssens
77ff603655 Bug #622778 Miscalculation in cashflow reports - Step 03
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
2013-05-10 19:06:37 +00:00
Geert Janssens
8a95c0f0b7 Bug #622778 Miscalculation in cashflow reports - Step 02
- 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
2013-05-10 19:06:28 +00:00
Geert Janssens
77340591a9 Bug #622778 Miscalculation in cashflow reports - Step 01
Restructure code to achieve following blocks

- options generator
- global objects
- cash flow calculator
- document renderer

Reason: Preparation for better change tracability.

No functional change of code.

Author:    Carsten Rinke <carsten.rinke@gmx.de>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22969 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-10 19:06:12 +00:00
Geert Janssens
4f7f776395 Bug #584869 net change line in general journal report broken
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
2013-05-10 19:05:59 +00:00
Geert Janssens
e1270620e8 Bug #589865 In the report "Budget flow" period it doesn't work ok
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
2013-05-10 19:05:50 +00:00
Geert Janssens
56bb7be8f5 Bug #589865 In the report "Budget flow" period it doesn't work ok
Author: Mikhail TSaplin <tsmisher@gmail.com>

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22966 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-10 19:05:38 +00:00
Christian Stimming
ab0cfdce5a Add ZMW currency
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22965 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-08 20:47:18 +00:00
Christian Stimming
b3ea9556dc Update German translation a bit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22964 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-08 20:38:36 +00:00
Christian Stimming
0b807c6df1 Minor user message fixes: Spelling fix, Capitalization fix.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22963 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-08 20:38:26 +00:00
Christian Stimming
85ce377a8a Update German glossary (a bit).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22962 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-08 20:38:16 +00:00
Christian Stimming
4f2a2cd120 Fix glossary table that was mistakently using spaces instead of tabs. Update all glossary po files with the new terms.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22961 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-08 20:38:04 +00:00
Cristian Marchi
9ef0cce3bd Fix some typos.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22960 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-08 12:18:30 +00:00
Cristian Marchi
5c3fc62d69 Update Italian Translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22959 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-08 11:04:29 +00:00
Christian Stimming
a79905dcc7 Merge latest pot template from trunk into po files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22958 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-07 10:25:01 +00:00
Christian Stimming
0f5999e481 Copy program translations from 2.4 branch to trunk.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22957 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-07 10:17:39 +00:00
Christian Stimming
d0bc0ea91a Copy glossary translations from 2.4 branch to trunk.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22956 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-05-07 10:17:10 +00:00