Commit Graph

16597 Commits

Author SHA1 Message Date
Geert Janssens
2f0a193b68 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
2014-12-20 12:13:38 +01:00
Geert Janssens
efc8544ff9 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
2014-12-20 12:10:20 +01:00
John Ralls
23d0f79d5d Update News for re-tag of 2.6.5 2014-12-18 08:38:46 -08:00
Geert Janssens
e3bef5fdc3 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.
2014-12-17 18:52:20 +01:00
Geert Janssens
9dc06a2f24 Improve comment for gncOwnerAutoApplyPaymentsWithLots
It was no longer accurate
2014-12-17 18:52:20 +01:00
John Ralls
321278f996 Release 2.6.5. 2014-12-15 15:20:36 -08:00
John Ralls
624d3bb68b 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.
2014-12-15 14:48:34 -08:00
John Ralls
fd15209d5e Update translation project po files. 2014-12-15 14:03:14 -08:00
John Ralls
e2e15038e1 Merge branch 'maint' 2014-12-14 20:02:29 -08:00
John Ralls
c85c4529fd Still more Guile library path additions, this time in tests. 2014-12-14 16:38:48 -08:00
John Ralls
dd544de7ed Use standard macro INT64_C() to silence gcc-4.2 complaint
About constants being too large for an int.
2014-12-14 16:37:47 -08:00
John Ralls
08a4394955 Correct inadvertent change to a still-needed function. 2014-12-14 16:36:53 -08:00
John Ralls
620832f481 Remove Windows specializations from gnc-date.c
Now that we're building with a recent GLib version they're no longer needed.
2014-12-13 18:02:13 -08:00
John Ralls
dca16c8933 Still more Guile precompilation fixes.
This time for gcc-4.2, used for OSX 10.5-compatible releases.
2014-12-12 12:55:05 -08:00
Mike Alexander
735ee38b65 Revert "Some type mismatch fixes to make it build with clang in MacOSX Mavericks."
This reverts commit 78fea12afc.
2014-12-11 17:24:48 -05:00
Mike Alexander
f4168e108b Update XCode project for recent C++ related changes 2014-12-11 02:59:37 -05:00
Mike Alexander
09145fe11e 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.
I don't know how this worked before, perhaps because the correct path
was in src/bin/overrides/gnucash-env.in
2014-12-11 02:59:31 -05:00
Mike Alexander
78fea12afc Some type mismatch fixes to make it build with clang in MacOSX Mavericks.
These may not be the best fixes, but they make things build again with
XCode 6.1.1 in MacOSX 10.9.5.
2014-12-11 02:59:21 -05:00
Mike Alexander
a61f61406f Fix line endings in repository to match recent change to .gitattributes 2014-12-11 02:55:06 -05:00
Mike Alexander
bd8ce2f7cf Fix line endings in repository to match recent change to .gitattributes. 2014-12-11 02:50:59 -05:00
John Ralls
6a546f727b Ubuntu 14.04's C++ already defines these, so guard them. 2014-12-08 13:52:43 -08:00
John Ralls
517e853eb6 MinGW needs cstdio included to find sprintf. 2014-12-08 13:52:42 -08:00
John Ralls
70ccc6c690 More uint fixes. 2014-12-08 13:52:41 -08:00
VERDOÏA Laurent
5f2eab3ba8 French typo correction
ctte -> cette

Cherry picked from master because I first applied it there by mistake.
2014-12-08 13:33:00 -08:00
Christoph Holtermann
0b1842cee1 Correction to Doxygen in gncinvoicefkt.py 2014-12-08 13:30:17 -08:00
Christoph Holtermann
fe70e260fa Small corrections (py invoice template, doxygen) 2014-12-08 13:30:17 -08:00
VERDOÏA Laurent
7424e14525 French typo correction
ctte -> cette
2014-12-08 13:30:13 -08:00
John Ralls
f0f382cb06 Merge branch 'maint'
Ensure a merge commit after fast-forward merge from maint yesterday.
2014-12-08 12:43:16 -08:00
John Ralls
369befaae4 Don't use uint as an alias for unsigned int.
MinGW doesn't know about it, and errors out.
2014-12-08 09:49:56 -08:00
John Ralls
c5d87ec3b6 Work around bug in some versions of gtest which error out on EXPECT_EQ (false, foo).
A problem version is shipped by Debian Wheezy; Debian Jessie has a working version.
2014-12-07 21:59:36 -08:00
John Ralls
0c47414364 Make the gtest section fail properly when presented with the broken Fedora installation of gtest.
Fedora users will need to install sources and pass --gtest-root and --gmock-root to configure.
2014-12-07 21:59:36 -08:00
John Ralls
85c1b2293b Except latest Apple clang from long-form error messages. 2014-12-07 21:54:24 -08:00
John Ralls
f649da86f8 Fix up test makefiles to provide linkage paths for Guile2.
Which is apparently not as smart as Guile1 when loading for libs in the current directory.
2014-12-07 21:53:23 -08:00
John Ralls
689a25e56f More Guile compilation library links, needed in master but not maint. 2014-12-07 15:38:40 -08:00
Frank H. Ellenberger
67c0c41e92 Add ChangeLog.2013 to dist_doc_DATA
Happy New Year! ;-)
2014-12-07 15:07:39 -08:00
Frank H. Ellenberger
a41a6d6359 Update of de.po: 152 + 38 remaining 2014-12-07 15:07:39 -08:00
Geert Janssens
3061d31f06 Yet another guile 2 precompile fix of the German tax report
The previous one only fixed part of the problem
2014-12-07 15:07:39 -08:00
Geert Janssens
9a3a0a85d1 Fix guile 2 precompilation of German tax report 2014-12-07 15:07:39 -08:00
John Ralls
d764f7663c Guile compilation: One missed CLEANFILES. 2014-12-07 15:07:38 -08:00
John Ralls
8df252436a Fix the *.win32-bin.txt and downloaded.mt940 attributes. 2014-12-07 15:07:38 -08:00
John Ralls
42da6bd96e Guile precompilation: One more missing library-dir. 2014-12-07 15:07:38 -08:00
John Ralls
3ea118b6b4 Reapply fix of Guile precompilation without unwanted change in gnc-numeric.c. 2014-12-07 15:07:38 -08:00
John Ralls
8fa4741438 Revert "Fix Guile-2.0 precompilation."
This reverts commit a26801ab0e.
2014-12-07 15:07:38 -08:00
John Ralls
1179a79a01 Fix Guile-2.0 precompilation. 2014-12-07 15:06:44 -08:00
Frank H. Ellenberger
13f5b47872 Update of de.po: 351 +50 remaining 2014-12-07 15:01:25 -08:00
John Ralls
b49f64961c Bug 738477 - WebKit is broken on Win32.
Turns out our URL for loading jqplot is what was broken.
2014-12-07 15:01:24 -08:00
Frank H. Ellenberger
6d6f95bb9b Update of de.po -still 530 + 53 to review
Rework of
0022bc21f4
2014-12-07 15:01:24 -08:00
John Ralls
4654f49d5c Fix build on older versions of gcc
Gcc 4.7 thinks there's a conflict with C99 stdint macros and C++, even with -std=c++11.
2014-12-07 13:57:55 -08:00
John Ralls
495c939c3e C++-numeric: Fix up some 64-bit and GCC problems.
Still won't compile on gcc-4.7 (f18) because of poor C++11 compliance wrt UINT64_MAX, UINT64_C, and PRIu_64 macros.
2014-12-07 11:42:39 -08:00
John Ralls
ae7e9c2412 Merge branch 'c++-numeric'
A new C++ implementation of 128-bit math replaces qofmath128.c with
gnc-int128.cpp, and the gnc-numeric arithmetic operations now wrap
the equivalent functions in a new GncRational class, which works with
a GncDenom class to handle rounding and denominator-type settings.

All arithmetic is now done with 128 bits of precision and no overflows
are signalled until conversion back to the int64_t-based gnc_numeric.
C++ clients will be able to use GncRational directly, at which point
some of its other functionality can be added; this will allow chained
128-bit arithmetic, which will permit more complicated calculations
without overflow.

Operators are not implemented for GncRational (they are for GncInt128,
which makes the GncRational implemntation much easier to read) because
of the need for passing denominator and rounding specs.
2014-12-05 15:47:54 -08:00