Bug 707243 - Hard-coded font colors in account tree?
The sense of the "Only show active customers" checkbox was inverted.
Finish implementing the "Show zero balance owners" filter option.
It always showed nothing before.
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.
Use guint64 instead of uint64_t with G_GUINT64_FORMAT to avoid warnings.
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.
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.
Bug 711440 - Tab labels have different background colour than containing gui element
Refactor register color functions to reduce duplication
Rename enum elements to make room for foreground equivalents
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.
Bug 434462 - register color don't work correct with system theme color - Part 2

This commit fixes this for (business) entry ledgers.
Balance ENTER with a LEAVE for all exit points.

For xaccLotFill and xaccLotScrubDoubleBalance, anyway.
More ENTER/LEAVE corrections at function exit points
Small corrections in doxygen comments
Remove superfluous include statements
Move account type checking functions into the engine
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.
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.
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