Commit Graph

16926 Commits

Author SHA1 Message Date
Mike Alexander
38bea1035e Merge branch 'maint' 2015-08-10 03:29:13 -04:00
Mike Alexander
054e6f7a22 Avoid passing invalid arguments to functions to get rid of some non-fatal asserts. 2015-08-10 03:16:45 -04:00
John Ralls
05fdefa306 Add note at the top to disuade users from contacting authors directly for support. 2015-08-10 07:58:55 +01:00
Mike Alexander
1e16ba6c14 Quote the date returned by get_quote_time so Scheme can read it. 2015-08-07 19:57:17 -04:00
Mike Alexander
655c04bd68 Avoid passing invalid arguments to functions to get rid of some non-fatal asserts. 2015-08-07 19:57:17 -04:00
Mike Alexander
7e95ac28a7 Check for a null pointer for a credit or debit formula in gnc_sxed_check_consistent.
This got dropped when qof_instance_get replaced direct KVP access and it makes
it impossible to edit a scheduled transaction since splits can't have both a credit
and debit value.
2015-08-07 19:56:52 -04:00
Mike Alexander
82f0e28685 Make it possible to set variables in SX "since last run" dialog.
When gnc-numeric.c was converted to C++, gnc_numeric_equal was changed so
that an invalid number is equal to anything.  The SX since last run dialog
initializes unset variables to invalid numbers which means that whatever you
type is equal to what is already there and is ignored.
2015-08-07 19:50:01 -04:00
Geert Janssens
9240c1b4aa Partially revert 'Drop some unused parameters from business reports'
Instead have gnc:company-info and gnc:fancy-date-info use the book
parameter again (which got lost in the kvp refactoring).
This preserves some code for potentially being able to have two
books open at once.
2015-08-04 21:32:13 +02:00
Geert Janssens
8fd103602b Minor debug message fixup 2015-08-04 17:04:45 +02:00
Geert Janssens
aa6b538ecb Merge branch 'maint'
Resolved conflicts:
	src/engine/Split.c
	src/engine/test/utest-Split.cpp
2015-08-04 15:54:27 +02:00
Geert Janssens
42710c7e6c Drop some unused parameters from business reports
They are no longer used since the introduction of gnc:company-info
2015-08-04 15:31:40 +02:00
Geert Janssens
c031d5cc6d Drop 'Today Date Format' option from business reports
Use 'Fancy Date Format' option instead for a more
consistent date display on the reports and to reduce
the number of semi-overlapping options
2015-08-04 15:23:02 +02:00
Geert Janssens
678cc189a3 Bug 645786 - Fancy invoice report still doesn't use fancy date format preference
Use fancy date consistently for all invoice reports
2015-08-04 15:02:28 +02:00
Geert Janssens
c64f58f54f Introduce new function to query fancy date format 2015-08-04 15:02:06 +02:00
Geert Janssens
21069b5e9a Fix missing parameter in fancy date option definition 2015-08-04 15:02:05 +02:00
John Ralls
20242c5a3d Put the quotes back around the date string in gnc-fq-helper. 2015-08-02 08:38:12 -07:00
John Ralls
18196171ad Bug 753146 - free(): invalid pointer on duplicate transaction
when Use Split Action Field for Number is set.
2015-08-01 16:26:53 -07:00
Mechtilde
b41c86da31 More new German translation 2015-08-01 12:24:01 -07:00
Mechtilde
9d16d969ea New German translations - after sending the others to Frank 2015-08-01 12:24:00 -07:00
Mechtilde
373b1e8b4e some more German translations 2015-08-01 12:24:00 -07:00
Mechtilde
226b1b29f1 even more German translation 2015-08-01 12:24:00 -07:00
Mechtilde
2a775024a3 added more German translation 2015-08-01 12:24:00 -07:00
Mechtilde
1bf8326f54 add translation for reports 2015-08-01 12:24:00 -07:00
John Ralls
567f61fe3c Add make_testfile suggestion to test-templates README. 2015-07-30 09:56:37 -07:00
Mike Evans
9333344ee0 Fix apparent typo preventing build. 2015-07-30 13:01:02 +01:00
John Ralls
a4b0519303 Fix up and improve the Doxygen documentation in unittest-support.h. 2015-07-28 12:44:25 -07:00
John Ralls
2663dc96e2 Improve the test-templates README and update the templates to current practice. 2015-07-28 11:45:34 -07:00
Geert Janssens
124a2479ef Bug 752035 - Transaction Report Filter By not Always Working
Make sure the internal split function get_corr_account_split
behaves consistently on multi-split transactions. The transaction
report depends on this.

Add test case to catch potential regressions

Simplify filter test function in transaction report.
2015-07-28 17:13:06 +02:00
John Ralls
3ccaec6e38 Make backend sync errors survive to the session.
The backends were using qof_backend_get_error() to test for sync errors.
This function clears the error, so the tests resulted in the error being
cleared before the session could see it and so it thought that the sync
had succeeded.

Replace those uses of qof_backend_get_error() with a new function
qof_backend_check_error() that doesn't clear the error.
2015-07-27 16:04:38 -07:00
John Ralls
dd60ce6904 Fix Windows crash when the TZ has no Daylight time. 2015-07-27 22:53:33 +00:00
John Ralls
d2798b8c3f Bug 752879 - Finance::Quote TZ Date::Manip config variable is deprecated
Rewrite get_quote_time() to use the modern OO interface to Date::Manip.
This requires perl-5.12 or later, so require that. schemify_date() isn't
used anywhere, so remove that.
2015-07-26 13:11:45 -07:00
Christian Stimming
c7f84432d6 Bug #752822: Fix typos in translatable strings
Reported by anders.jonsson@norsjovallen.se
2015-07-25 23:39:49 +02:00
John Ralls
6d5002d91c Uninstall the python bindings. 2015-07-25 13:36:50 -07:00
John Ralls
e7aa53a75e Remove gmtime_r and localtime_r from lib/libc. They're no longer used. 2015-07-25 12:50:17 -07:00
John Ralls
290dd611d7 More fiddling with gtest linkage.
This time for when we don't have a system installation.
2015-07-25 12:23:35 -07:00
John Ralls
b78f102929 Fix timezone exceptions on Windows XP. 2015-07-25 11:23:20 -07:00
John Ralls
5cc99806d8 Windows: Get default timezone if there's no default key.
Windows XP doesn't provide a default key, just the TZI returned by
GetDefaultTimeZone(), so use that instead of throwing if there's no
default key in the registry. If GetDefaultTimeZone() files, throw: We
can't safely read the database without a timezone.
2015-07-25 11:23:19 -07:00
John Ralls
54c9e836d4 One more empty check when handling trailing '/' in a KVP key.
Also fix a unit test error.
2015-07-24 17:15:23 -07:00
John Ralls
b3bc68dc1b Don't make anonymous frames from leading or trailing '/' in keys. 2015-07-22 22:06:54 -07:00
Mike Alexander
0db17f1094 Bug 752686: Initialize temp GValues in xaccAccountGetReconcileLastInterval. 2015-07-22 17:51:37 -04:00
Mike Alexander
1fa94a7888 Some changes XCode wanted to make in the source control information it keeps 2015-07-22 17:51:30 -04:00
Mike Alexander
bf542713c4 Keep the XCode project up to date with source tree changes 2015-07-22 17:51:18 -04:00
John Ralls
27d36935b8 Fix generation of extra frames in book features. 2015-07-22 01:49:39 -07:00
John Ralls
7d1c8de3c7 Remove patch file inadvertently added to repo. 2015-07-22 01:47:17 -07:00
Bastien Scher
2dd38a9c60 Fix two French strings 2015-07-14 13:45:38 -07:00
John Ralls
cfb54e08b8 Bug 746998 - "Months Remaining" spinbox in Loan Assistant is non-obvious
Provide a tool tip explaining what it's for.
2015-07-12 15:08:45 -07:00
John Ralls
613bf2ec0e Fix up Win32 Build. 2015-07-11 22:05:28 -07:00
John Ralls
2137cb6d38 Bug 747795 - Attached file not found.
MSWin only. ShellExecuteW("open") doesn't decode http escapes on file:
IRIs.
2015-07-11 11:27:56 -07:00
John Ralls
211b923cd7 Bug 752204 - .gml2 files are modified during build, take 2.
Turns out that there are changes as well as compression, particularly
if the timezone is different from the one from the last commit of the
gml2 files. Since there's no real benefit to saving the files most of
the time, don't, but leave the save line in, commented out, to make it
easy to write new files if necessary.
2015-07-11 09:55:06 -07:00
John Ralls
a25fa861eb Bug 752203 - make check fails in "runTests.py":
No module named unittest_support because unittest_support.py is built
only when building from VCS and wasn't included in EXTRA_DIST.
2015-07-10 15:33:44 -07:00