Update translation project po files.
Fix msgfmt errors in Indian-language .po files.

Note that the fixes may cause the translated strings to be wrong, but
they will at least avoid printf from having mismatched substitution
parameters.
Release 2.6.5.
Improve comment for gncOwnerAutoApplyPaymentsWithLots

It was no longer accurate
Fix lot scrubbing for business lots

When adding splits to such a lot the code was supposed to
reduce splits in the same transaction and the same lot to
one single split. This is to avoid infinite fragmentation
over time.
That reduction wasn't working for business lots and should
be fixed with this commit.
This is also a potential fix for bug https://bugzilla.gnome.org/show_bug.cgi?id=741418
which could very well be a report of such infinite fragmentation.
Update News for re-tag of 2.6.5
Fix crash when running check & repair on an open AP/AR register

This was reported in comment 15 of https://bugzilla.gnome.org/show_bug.cgi?id=741418
Periodic merge of branch 'maint'

    * Update translation project po files.
    * Fix msgfmt errors in Indian-language .po files.
    * Improve comment for gncOwnerAutoApplyPaymentsWithLots
    * Fix lot scrubbing for business lots
    * Fix crash when running check & repair on an open AP/AR register
    * Release 2.6.5 and 2.6.5a
Bug 740471 -  Applying payment to invoice Segmentation fault

Attempt to fix it by no longer nullifying lots during processing
Bug 740471 -  Applying payment to invoice Segmentation fault

Clear selection before emptying list store to prevent
the code from running calculations on a changing list.
Bug 740471 -  Applying payment to invoice Segmentation fault

Stop listening for gui update events while on the way out
(after the ok button was pressed).
Kvp-Frame test cases

Adding google tests for many of Kvp Frame's member functions. One
function in KvpFrameImpl, for_each_slot, should probably be something
like

template <typename T> void
for_each_slot (T & t, void * data) const
{
    std::for_each(......
    [&t, data] (... a)
    {
        t(a, data);
    }
}

This way, we could create a functor mock object for testing purposes,
but of course, pointers would still behave correctly.
Remove note from the top of environment.in. It's obsolete.
Fix Guile compiled path in environment.in

Compiled files go to prefix/lib/guile/2.0/ccache, which isn't the same as
where the source files are stored (prefix/share/guile/2.0), so provide a
separate variable for it. Also don't throw away the user's value of
GUILE_LOAD_COMPILED_PATH in favor of GUILE_LOAD_PATH.
Bug 739584 - gnucash-2.6.4 segfaults regularly on transfer .

Ensure that xferData is nulled after free and that client functions check
for the NULL.
Adjust #ifdef __clang__ to exclude clang versions > 6

This works only with Apple clang; the regular clang is at version 3, but
hasn't been tested for what versions emit what sort of function signatures
to logs.
Replace GNC_HOME/bin with gnc_path_get_bindir().

For consistency with the rest of the function.
Tell Guile (and others) to look in install/lib/gnucash for ligraries.
Without this Guile can't find libgncmod-engine and GnuCash won't start,
at least sometimes.
New business report for printing receipts

This report was originally developped by Manfred Usselman
Some small tweaks were needed to make it work on current master.

It is designed for and tested with a StarMedia TSP100
receipt printer using a 72mm  wide print roll.
However using a different css file the same report
can be adapted to any printer that can be directly
used via your OS' print system
Move code to open report options dialog from guile to C

This code was switching a lot between the guile and C context.
This move at least reduces some of them. The switches can only
be eliminated completely when the options code itself gets
rewritten in C(++).