Geert Janssens
b5fa7ee380
Tweak the get_pay_split function to prefer the best possible match
2014-09-02 18:26:22 +02:00
Geert Janssens
85b910acc3
Refactor scrub_doc_pay_link into scrub_other_link and make it more generic
...
It can now be used both to
- move a payment to a document lot (its original use case)
- move a refund to a payment lot or the other way around
2014-09-02 18:26:22 +02:00
Geert Janssens
434b7f6ebb
Add scrub function to reduce the amount of lot links used.
...
Only lot links between two or more document lots must remain.
All lot links between document and payment lots can be scrubbed.
2014-09-02 18:26:21 +02:00
Geert Janssens
413eb69707
Widen the scope of the subsplit merge scrub function
...
When used in a strict sense it will only merge splits
that are marked as subsplits of each other.
In relaxed mode it will merge any split two splits that
are both in the same lot and the same transaction.
2014-09-02 18:26:21 +02:00
Geert Janssens
da9071fe49
Move account type checking functions into the engine
2014-09-02 18:26:21 +02:00
Geert Janssens
58b5a8e1f9
Remove superfluous include statements
2014-09-02 18:26:20 +02:00
Geert Janssens
9cfc22f4f9
Small corrections in doxygen comments
2014-09-02 18:26:20 +02:00
Geert Janssens
f8a27b7140
More ENTER/LEAVE corrections at function exit points
2014-09-02 18:26:20 +02:00
John Ralls
0e7011665a
Balance ENTER with a LEAVE for all exit points.
...
For xaccLotFill and xaccLotScrubDoubleBalance, anyway.
2014-09-02 18:26:19 +02:00
Geert Janssens
87654e69f6
Bug 434462 - register color don't work correct with system theme color - Part 2
...
This commit fixes this for (business) entry ledgers.
2014-09-02 15:17:48 +02:00
Geert Janssens
ac1990fc9d
Bug 434462 - register color don't work correct with system theme color - Part 1
...
This commit fixes this for ordinary registers. Entry ledgers (business) aren't handled yet.
2014-09-02 15:17:47 +02:00
Geert Janssens
61cd3f1106
Rename enum elements to make room for foreground equivalents
2014-09-02 15:17:47 +02:00
Geert Janssens
904afd8bd5
Refactor register color functions to reduce duplication
2014-09-02 15:17:46 +02:00
Geert Janssens
0a394c5bba
Bug 711440 - Tab labels have different background colour than containing gui element
2014-09-02 15:05:26 +02:00
Mike Alexander
8d9b3c7c5d
Bug 735769: Enable price and shares cells in a split if it is not in the trans currency.
...
The label for the cells are changed to "Exch. Rate" and "Oth. Curr." in this case.
2014-09-02 00:18:10 -04:00
Mike Alexander
668aab4a2b
If the cursor moves from one register cell to another, refresh the register headers.
...
If trading accounts are on and the transaction is expanded then the headers
depend on the type of split the cursor is in.
2014-09-02 00:16:06 -04:00
Mike Alexander
483302aba0
Use guint64 instead of uint64_t with G_GUINT64_FORMAT to avoid warnings.
2014-08-31 18:34:24 -04:00
Mike Alexander
67f84774e9
Change gncOwnerGetBalanceInCurrency to only cosider lots that contain an invoice.
...
This function is currently only used in the owner tree code and this change
will cause payments not properly linked to invoices to be ignored when computing
owner balances.
2014-08-31 18:20:52 -04:00
Mike Alexander
a028ae0f98
Finish implementing the "Show zero balance owners" filter option.
...
It always showed nothing before.
2014-08-31 18:20:42 -04:00
Mike Alexander
95816477e4
The sense of the "Only show active customers" checkbox was inverted.
2014-08-31 18:20:26 -04:00
Geert Janssens
c9af8269fa
Bug 707243 - Hard-coded font colors in account tree?
2014-08-29 22:48:16 +02:00
Mike Alexander
5db0cb98d4
Bug 722140: Add option to control inclusion of trading accounts in cash flow report.
2014-08-14 17:17:18 -04:00
John Ralls
e4d97f6d74
Fix test-backend-dbi segfault with libdbi-0.9.0.
...
dbi_inst must be initialized before it can be used.
2014-08-07 11:46:17 -07:00
John Ralls
551e5c6093
Fix uninitialized variable warning.
2014-08-07 11:45:40 -07:00
John Ralls
c286448fdb
Add note about automake 1.14 to configure.ac
...
The note has the details, but I wasn't able to get gnucash to build with
automake 1.14 without passing --disable-dependency-tracking regardless of
whether I used the subdir-objects option. If I could figure out a good way
to poison configure with automake 1.14 I would.
2014-08-07 11:44:47 -07:00
John Ralls
46455c7518
Revert "Fix broken test-backend-dbi with libdbi 0.9."
...
This reverts commit 321a159af2
.
Got two unrelated changes into a single changeset.
2014-08-07 10:23:50 -07:00
John Ralls
321a159af2
Fix broken test-backend-dbi with libdbi 0.9.
...
Segfaulted for an uninitialized dbi_instance.
2014-08-07 10:12:52 -07:00
Mike Evans
b465fef9ac
Bug 734183 - Set all of the denominators correctly on the currency values.
2014-08-07 16:00:38 +01:00
Mike Evans
56af86c0a2
Bill invoice importer crashing when invoice has multiple lines.
...
Move the final g_free(s) outside the while loop.
2014-08-07 15:39:59 +01:00
Michalis Kamprianis
edad186789
Bug 120199 - Incorrect sort order in "Sort by Statement Date"
...
modified: src/gnome/gtkbuilder/gnc-plugin-page-register.glade
2014-08-02 11:24:06 +02:00
Geert Janssens
11698f4824
Revert "Bug #622778 Miscalculation in cashflow reports - Step 01"
...
This reverts commit 77340591a9
.
See bug 622778 and bug 722140 for more details.
2014-08-01 11:59:12 +02:00
Geert Janssens
66dd0cc7c8
Revert "Bug #622778 Miscalculation in cashflow reports - Step 02"
...
This reverts commit 8a95c0f0b7
.
See bug 622778 and bug 722140 for more details.
2014-08-01 11:58:51 +02:00
Geert Janssens
f086c18714
Revert "Bug #622778 Miscalculation in cashflow reports - Step 03"
...
This reverts commit 77ff603655
.
See bug 622778 and bug 722140 for more details.
2014-08-01 11:38:03 +02:00
Geert Janssens
f0abc2c014
Revert "Round properly when computing fraction of the transaction's value due to a given split."
...
This reverts commit d339141394
.
See bug 622778 and bug 722140 for more details.
2014-08-01 11:37:20 +02:00
Geert Janssens
f34c4e0f2f
Revert "The cash flow report should ignore splits in trading accounts."
...
This reverts commit 15e9bde7c3
.
See bug 622778 and 722140 for more details.
2014-08-01 11:35:47 +02:00
Erik Johansson
13ef7eec6e
Update Swedish translation
...
Copied from the Translation Project
2014-08-01 10:36:29 +02:00
Mike Alexander
359327e942
Bug 733107: Search for reconcile status doesn't work right.
2014-07-13 22:50:12 -04:00
Geert Janssens
2952df937c
Drop packaging/win32
...
Windows build specifics are now handled in gnucash-on-windows repository
2014-07-01 22:16:37 +02:00
Geert Janssens
17ed25229f
First unit test for gncEntry and fix first bug it revealed
2014-06-21 23:39:50 +02:00
Geert Janssens
031943c565
Fix whitespace
2014-06-21 23:19:36 +02:00
Geert Janssens
f2ffaf23ae
Revert "Bug726674-BudgetReverseSignSupport"
...
This patch got pushed by accident before it was ready to be committed.
This reverts commit 247f086703
.
2014-06-21 15:17:42 +02:00
Geert Janssens
2182746baf
Bug 723442 - Report Options - Report Name too short
2014-06-10 13:40:28 +02:00
Carsten Rinke
247f086703
Bug726674-BudgetReverseSignSupport
2014-06-09 20:56:49 +02:00
Michalis Kamprianis
8e56cc88c0
Bug 719457 - Template for Home Mortgage Loan isn't properly nested.
...
modified: accounts/C/acctchrt_full.gnucash-xea
modified: accounts/en_GB/acctchrt_full.gnucash-xea
modified: accounts/ja/acctchrt_homeloan.gnucash-xea
modified: accounts/ja/acctchrt_otherloan.gnucash-xea
modified: accounts/ja/acctchrt_retiremt.gnucash-xea
modified: accounts/ja/acctchrt_spouseretire.gnucash-xea
modified: accounts/ko/acctchrt_homeloan.gnucash-xea
modified: accounts/ko/acctchrt_otherloan.gnucash-xea
modified: accounts/ko/acctchrt_retiremt.gnucash-xea
modified: accounts/ko/acctchrt_spouseretire.gnucash-xea
modified: accounts/lv/acctchrt_full.gnucash-xea
modified: accounts/lv/acctchrt_homeloan.gnucash-xea
modified: accounts/lv/acctchrt_retiremt.gnucash-xea
modified: accounts/lv/acctchrt_spouseretire.gnucash-xea
modified: accounts/nl/acctchrt_full.gnucash-xea
modified: accounts/pl/acctchrt_full.gnucash-xea
modified: accounts/pl/acctchrt_homeloan.gnucash-xea
modified: accounts/pl/acctchrt_otherloan.gnucash-xea
modified: accounts/pl/acctchrt_retiremt.gnucash-xea
modified: accounts/pl/acctchrt_spouseretire.gnucash-xea
modified: accounts/ru/acctchrt_homeloan.gnucash-xea
modified: accounts/tr_TR/acctchrt_homeloan.gnucash-xea
modified: accounts/zh_CN/acctchrt_full.gnucash-xea
modified: accounts/zh_CN/acctchrt_homeloan.gnucash-xea
modified: accounts/zh_CN/acctchrt_otherloan.gnucash-xea
modified: accounts/zh_CN/acctchrt_retiremt.gnucash-xea
modified: accounts/zh_CN/acctchrt_spouseretire.gnucash-xea
2014-06-09 20:21:56 +02:00
Christoph Holtermann
2c955a4713
Some adjustments, new IPython version
2014-06-09 20:13:06 +02:00
John Ralls
2c910ed1bb
Fix signed int overflow warning.
2014-06-09 08:34:20 -07:00
John Ralls
8d723f1b1e
double_to_gnc_numeric: Return overflow error immediately on invalid input.
...
Which is either nan or outside the range that gnc_numeric supports.
Also extend the powten array to support the full range of gnc_numeric.
2014-06-08 13:48:06 -07:00
John Ralls
0fc71ed4c7
Use more significant digits for SX function returns.
...
gnc_sxed_check_consistent() was failing to balance mortgage payments with
large payments or small interest amounts because of rounding errors with
only 6 significant digits. Using 18 causes values < 1 to overflow, so I
compromised on 12.
Also log an error and return NULL if there's an overflow, since the value
won't be useful.
2014-06-08 13:48:06 -07:00
John Ralls
8c89c1357e
725366 - Formula Parsing Error with Scheduled Mortgage Transactions
...
Clamp per to nper so that the random value from gnc_sxed_check_consistent
doesn't create overflows with ridiculous values.
2014-06-08 13:48:06 -07:00
Christoph Holtermann
840feccbf7
Python bindings - no instance necessary anymore
2014-06-06 16:51:43 +02:00