Commit Graph

16091 Commits

Author SHA1 Message Date
Geert Janssens
c312b865d1 Bug 619899 - Use normal gettext or intltool toolchain also for scm files 2015-01-31 13:21:52 +01:00
Geert Janssens
48b30271e0 Rewrite gnc-test-env in perl
This eliminates another guile dependency in the build chain

Conflicts:
	src/backend/dbi/test/Makefile.am
2015-01-31 08:19:26 +01:00
Geert Janssens
87520cdde4 Switch from guile to xml to manage our iso-currencies source file 2015-01-31 08:16:32 +01:00
Geert Janssens
7581436e79 Bug 743609 - Add configure options to disable libsecret detection 2015-01-29 17:55:23 +01:00
Geert Janssens
0ff9eba94f Bug 727647 - "gncInvoiceGetTotal" is not read-only function?
The root cause is in gncRecomputeValues. This function
only alters runtime cached values so it should not
trigger a book dirty action (mark_entry).
2015-01-28 17:00:21 +01:00
Mike Evans
5e60a23400 Bug 721196 - Use a regex for checking for a valid numeric value.
Just testing for an empty field will miss the cases where there are
spaces or decimal separators present.
2015-01-25 11:14:53 +00:00
Mike Evans
564b987457 Numeric values with more than commodity smallest fraction get silently dropped.
If there are more DPs than the commodity smallest fraction they get
lost when calling gnc_numeric_convert().  Removed the call.
2015-01-25 11:08:05 +00:00
Geert Janssens
2494bfc63f Bug 742624 - [patch] Scheduled Transaction Editor results in immediate segfault 2015-01-24 17:33:39 +01:00
Geert Janssens
d5da59331f Bug 731889 - guile 2 exports different autoconf macros than what is expected
The problem is mainly a poorly chosen error message. The user
should generally only rerun autogen.sh, so I have added this
in the error message.
2015-01-24 16:10:58 +01:00
gnucash-dev
4149aa2d25 Update US Income Tax data to reflect minor changes for 2014 2015-01-20 17:10:12 -08:00
Mike Alexander
383d16609c Advanced portfolio should respect report date when looking for other income/expense. 2015-01-20 00:58:54 -05:00
Christian Stimming
a615606f33 Update German translation to recent pot template. Very minor translation update. 2015-01-19 21:12:51 +01:00
Mike Alexander
79ad39095c book.not_saved should be book.session_not_saved 2015-01-19 00:22:06 -05:00
Mike Alexander
67edea72ca Bug 739228 - Advanced Portfolio report: wrong calculation of Value
Correctly convert the value into the report's currency.
2015-01-18 23:16:09 -05:00
Mike Alexander
13abe849e5 Improve income and expense reporting in advanced portfolio report
Look for transactions from the parent account to an income or expense
account whose name matches the name of the stock account.
2015-01-18 23:16:03 -05:00
Mike Alexander
80d65c8efc Accept prices of the form n.nnne[+-]nn, i.e. with an exponent.
An example requiring this is currency conversion from IDR to USD.
2015-01-18 23:13:45 -05:00
Geert Janssens
d9900a7b4f Use the enum name instead of a number for GDateMonth
This is needed for c++, not really for c.
2015-01-18 16:05:15 +01:00
Markus Blatt
a3cf7f2868 [Bug 742332] - German tax report uses US tax quarters and not real quarters.
Due a copy and paste the German tax report was still using the
US quarters. This wrong as the latter are not real quarters as in
Germany. To fix this we simply set  tax-qtr-real-qtr-year to 0 to
force real quarters. Thus changes to taxtxf.scm can be easily ported
to taxtxf-de_DE.scm
2015-01-16 17:49:54 +01:00
Romas
1b227b1abc Added Lithuanian language business accounts 2015-01-16 15:51:07 +01:00
John Ralls
afaec37037 Bug 672760 - Postponed transaction applied invalid date
Part 2: GDate can represent a wider range that GDateTime, so make
sure that GDates outside of the range are clamped. The GDateTime
range is 1 - 9999 CE, more than wide enough for most purposes. GDate
can represent out to 65535CE, but the significant difference is that
a freshly-cleared GDate is 0CE, which GDateTime won't accept. That we
set to the Unix Epoch 0, 1970-Jan-1.

gnc_sx_incr_temporal_state can invalidate the gdate, so make sure that a
valid date is stored.

Adding the inst->temporal_state ptr to the sx->deferredList is wrong, it's
freed shortly after adding, causing later access to the freed ptr.
Add a clone instead.
2015-01-13 11:26:05 -08:00
John Ralls
7963421dd2 Bug 672760 - Postponed transaction applied invalid date
Part 2: GDate can represent a wider range that GDateTime, so make
sure that GDates outside of the range are clamped. The GDateTime
range is 1 - 9999 CE, more than wide enough for most purposes. GDate
can represent out to 65535CE, but the significant difference is that
a freshly-cleared GDate is 0CE, which GDateTime won't accept. That we
set to the Unix Epoch 0, 1970-Jan-1.
2015-01-11 13:57:32 -08:00
John Ralls
609ca72553 Bug 672760 - Postponed transaction applied invalid date, causing segfault
upon opening data file.
Part 1: Prevent the crash by skipping instances with invalid dates.
2015-01-11 10:27:16 -08:00
Mike Evans
403fdd30f0 Bug 721196 - Fixed for locales where decimal point is a comma. 2015-01-11 15:47:39 +00:00
Ralf Habacker
16a8ff5332 Bug 738749 - Broken account template en_GB/uk-vat.gnucash-xea.
Fix missing parent of first level accounts by comparing to the last correct kmymoney template import.
2015-01-03 16:40:10 +00:00
Geert Janssens
ad09bcfd4a Revert "Bug 740471 - Applying payment to invoice Segmentation fault"
This reverts commit a6d7184d83.
The patch had no effect on the bug at all and needlessly clutters the code.
2014-12-29 16:30:51 +01:00
John Ralls
d5ade4cbc0 Fix typo in Transaction.c.
Thanks to Christoph Holterman for catching this.
2014-12-26 13:28:22 -08:00
Geert Janssens
24dff85985 Revisit "Bug 741810 - Compilation fails because of creating .gnucash"
Use the temp dir as base dir for .gnucash
in all cases where the home dir fails. This
is more than just if the home directory doesn't exist.

Also don't attempt to create the home directory.
2014-12-24 12:50:21 +01:00
John Ralls
3ae0c780b7 Extract function to clarify intent. 2014-12-23 10:04:16 -08:00
John Ralls
e2a85c417f Bug 741228 - "Red line" threshold applies to Template scheduled transactions
Check for a GNC_SX_ID kvp on the split to exclude SX transactions from being blocked.
2014-12-23 10:04:16 -08:00
Mike Alexander
778f9450c4 Tell Guile (and others) to look in install/lib/gnucash for libraries.
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-23 10:04:04 -08:00
Francisco
c52ada5121 Update Spanish translation 2014-12-23 18:36:11 +01:00
Geert Janssens
ca1d5a7382 Cherry-pick "Bug 741810 - Compilation fails because of creating .gnucash"
This was meant to go on maint first...
2014-12-23 17:28:27 +01:00
Mike Alexander
4a7913289c 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.
2014-12-21 22:54:24 -05:00
John Ralls
2ceadfa3a0 Replace GNC_HOME/bin with gnc_path_get_bindir().
For consistency with the rest of the function.
2014-12-21 15:47:20 -08:00
John Ralls
02acf2b6f4 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.
2014-12-21 12:55:07 -08:00
John Ralls
745ff9e519 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.
2014-12-21 12:34:32 -08:00
John Ralls
a537ff052b 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.
2014-12-21 11:13:27 -08:00
John Ralls
e55e7db9fd Remove note from the top of environment.in. It's obsolete. 2014-12-21 11:09:21 -08:00
Geert Janssens
2ef335d9c7 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).
2014-12-20 12:28:59 +01:00
Geert Janssens
f4481f7dcf 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.
2014-12-20 12:28:59 +01:00
Geert Janssens
a6d7184d83 Bug 740471 - Applying payment to invoice Segmentation fault
Attempt to fix it by no longer nullifying lots during processing
2014-12-20 12:28:58 +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
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