Commit Graph

16160 Commits

Author SHA1 Message Date
Mike Alexander
8728603926 Bug 745354: Enhance the Find Transactions dialog
Make it possible to define search criteria that consist of multiple terms
anded or ored together.  Use this to define a new criterion to look for specified
text in any of the Description, Notes, or Memo fields.
2015-03-03 21:22:53 -05:00
Geert Janssens
6cf3e379ff Remove absolute paths in es.po
They got in as a unintended side effect of running
make pot
in an out-of-tree build environment
2015-02-27 13:04:11 +01:00
Alex Aycinena
80705551ae Correct the number field displayed in the reconcile window to correspond with the source specified in File->Options. 2015-02-23 18:04:50 -08:00
Mike Alexander
e9972be932 Fix some bugs found by SWIG version 3.0.5.
Prior to version 3.0.3 SWIG silently ignored invalid preprocessor directives.
See <https://github.com/swig/swig/issues/217>
2015-02-23 18:52:43 -05:00
Geert Janssens
207c01453e Bug 723409 - Incorrect symbol for Turkish lira 2015-02-23 22:57:25 +01:00
Geert Janssens
de8d4c801f Add some verbosity to scrubbing
This gives the user a primitive way to track progress for long
running Check & Repair actions by adding
--log gnc.engine.scrub=info to the command line options
2015-02-23 00:29:06 +01:00
Geert Janssens
208cf514f3 Add scrubbing function to recover dangling lot links and payments 2015-02-22 12:32:12 +01:00
Geert Janssens
8136d7ba3f Fix potential infinite loop in business lot scrubbing 2015-02-22 12:32:12 +01:00
Geert Janssens
01170e664c Bug 733685 - Fancy Date Format doesn't stick 2015-02-11 17:21:13 +01:00
Mike
8900af27ce Bug 649933 - Creating cash flow report takes a long time
The progress bar seems to induce a non-neglectable performance hit
on OS X and possibly Windows as well. This patch reduces the update
frequency of the progress bar.
2015-02-10 19:50:33 +01:00
Geert Janssens
629bce126b Updated Danish translation. From the translation project. 2015-02-09 22:19:43 +01:00
John Ralls
bdc9b95a3c Remove explicit install of Finance::Quote dependencies.
CPAN correctly handles dependencies, and the ones installed here were
a tiny fraction -- and in a couple of cases obsolete.
2015-02-09 09:53:42 -08:00
Geert Janssens
d802733c00 Bug 727466 - The symbol of CNY changed to 元
To disambiguate with the same symbol used for the Japanese Yen,
add a prefix to both currencies: JP¥ and CN¥.
2015-02-07 17:42:49 +01:00
Geert Janssens
b13d80b324 Bug 727466 - The symbol of CNY changed to 元 2015-02-07 17:35:54 +01:00
Robert Fewell
7bddcd95b0 Bug 743807 Stops critical error messages.
As you type a date into the calendar widget it tries to make a GDate
with the current year and month, if you are typing 31/ in February
you get a critical error in the trace file. This patch adds a test
for a valid date before proceeding.
2015-02-07 15:19:31 +01:00
Robert Fewell
068fc3567d Bug 743807 Wrong date value being used.
In get_filter_times, the start_date_today was being tested instead of
the end_date_today, corrected. Also corrected the default option for
end date to match start date.
2015-02-07 15:19:31 +01:00
John Ralls
ac63d3a1ae Remove build and run of no-longer-existant intl-scm/guile-strings. 2015-02-02 12:54:42 -08:00
Geert Janssens
785c6d621b Bug 731889 - guile 2 exports different autoconf macros than what is expected
Check for the now required ltdl.h and bail out if not found
2015-01-31 14:33:33 +01:00
John Ralls
b3781c16d0 Bug 731889 - guile 2 exports different autoconf macros than what is expected
Replace the autogen-sh time configuration which doesn't really work
correctly by making a local interpreter which links whichever library
pkg-config finds.

Also makes Guile-2.0 the default by looking for it first.
2015-01-31 14:31:19 +01:00
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