Commit Graph

246 Commits

Author SHA1 Message Date
John Ralls
996345a00f Fix gperformance-tools setup and apply it to src/engine/tests. 2014-12-03 16:26:38 -08:00
Geert Janssens
dd65a6e39e Periodic merge of branch 'maint'
Fixed conflicts:
	src/test-core/Makefile.am

Most important changes:
* precompile scm files in case guile 2 is detected
* several new and updated translations
* several bugfixes since the 2.6.4 release
2014-11-12 15:23:04 +01:00
Geert Janssens
97f8f39dc6 Pre-compile scm files when building with guile 2
With pre-compiled scm files, guile will no longer
resort to autocompilation at first startup. This avoids
bugs like downstream
https://bugzilla.redhat.com/show_bug.cgi?id=1151870
(Where autocompiled files for an older version of
gnucash are more recent than the source files installed
with the newer version)

Note that a new variable GUILE_LOAD_COMPILED_PATH is added
for this in the environment file. This variable should probably
be updated in the OSX and Windows build scrips if/when these
are building with guile 2.

Strictly speaking this new variable is only needed for guile 2.
However since guile 1.8 simply ignores the environment variable,
it's just set unconditionally regardless of the guile version
being active.
2014-11-10 18:31:15 +01:00
Jeff Earickson
76a340c25a Add Assamese Indic Language (as) to LINGUAS
https://bugzilla.gnome.org/show_bug.cgi?id=738599
2014-11-09 12:30:20 +01:00
lmat
8de928241f Added quotes to gtest section in configure.ac
Without these quotes, the error messages can be confusing in the case that
variables contain spaces, and, more likely, when the variables are empty.
2014-11-07 14:26:20 -08:00
John Ralls
8eae1d8f44 Modify gtest/gmock tests to work around demented test implementation in Debian 2014-10-30 16:12:56 -07:00
John Ralls
35e9257cab Add Google Test and Google Mock
Enabled with --enable-google-test, configure the location of the sources
with --with-gtest-root, --with-gtest-headers, --with-gmock-root, and
--with-gmock-headers. The latter isn't necessary if the headers are
installed in /usr/include and the sources in /usr/src as the Debian
packages do.

This is a first-pass and needs to be made a bit more sophisticated later.
It might also be worthwhile to extract it into an m4 macro.
2014-10-29 14:18:46 -07:00
Jeff Earickson
ddd733dbde Add kok@latin to LINGUAS_ALL (Konkani in Latin script)
https://bugzilla.gnome.org/show_bug.cgi?id=738829
2014-10-21 23:53:33 +02:00
Jeff Earickson
daf31ded07 Addition of Gujarati (gu) to LINGUAS_ALL po file list
https://bugzilla.gnome.org/show_bug.cgi?id=738828
2014-10-21 23:53:31 +02:00
Jeff Earickson
a0c03160bf Add kn (Kannada) to LINGUAS_ALL
https://bugzilla.gnome.org/show_bug.cgi?id=738827
2014-10-21 23:53:30 +02:00
Geert Janssens
9f3236f072 Merge branch 'maint'
* New and updated translations: brx, hi, kok, ks, lv, mr, ta, te, ur
* Bug 701052 - cannot click on 'cancel' or 'ok' button on dialogue box
* Updated resource files for Latvian: po/lv.po and  accounts/lv/acctchrt_business.gnucash-xea
* Add ability to skip rows when importing transactions.
* Ensure that the root account is saved to the SQL backend.
* Add sv_AX, sv_FI, zh_HK, and zh_TW to Makefiles & configure.
* Fix a bunch of non-literal-null-conversion warnings.
* Allow GUILE1_PROGS as m4 name

Conflicts:
	configure.ac
	src/register/ledger-core/split-register-model.c
2014-10-02 11:05:40 +02:00
Frank H. Ellenberger
7e0b7834d9 Allow GUILE1_PROGS as m4 name
Patch by dimstar@opensuse.org
http://lists.gnucash.org/logs/2014/10/2014-10-01.html#T16:46:18
2014-10-02 01:07:35 +02:00
Frank H. Ellenberger
77a2f3fef4 Allow GUILE1_PROGS as m4 name
Patch by dimstar@opensuse.org
2014-10-02 00:24:18 +02:00
John Ralls
1583ce3159 Add sv_AX, sv_FI, zh_HK, and zh_TW to Makefiles & configure. 2014-09-30 09:44:47 -07:00
John Ralls
79bdcf1996 Release 2.6.4 2014-09-27 17:54:22 -07:00
Jeff Earickson
870c5e36b5 Added or updated the following Indic Language Translation Files:
Bodo, Konkani, Hindi, Kashmiri, Marathi, Tamil, Telugu, Urdu

All Translations supplied to Gnucash by the Centre for Development
of Advanced Computing (C-DAC), Pune, India.  Translation Team Leader:
Chandrakant Dhutadmal, translators noted in the po files.
2014-09-27 10:06:26 +02:00
Geert Janssens
0836946d80 Merge branch 'maint'
* Provide strfmon function for platforms that don't have it
* Bug 695240 - mortgage wizard empty table
* Bug 711567 - Cannot save a custom report if a path contain diacritic chars
* Rewrite gfec_eval_file to avoid opening the file itself in guile (follow up of bug 711567)
* Update Dutch translation, copied from the Translation Project.
2014-09-21 23:16:25 +02:00
Geert Janssens
24cb06156f Provide strfmon function for platforms that don't have it 2014-09-21 22:33:01 +02:00
John Ralls
010cf541f9 Fix the underlying non-literal-null-conversion instead of suppressing
The warning. What it was warning about was two calls to "g_strdup(NULL);",
which is a really dumb way of saying "NULL".
2014-09-19 16:24:00 -07:00
Christian Stimming
5b653811f8 Add some initial aqbanking test with example file that should demonstrate the hbci template kvp problem.
Not yet working, though - the test, I mean.
2014-08-29 23:33:01 +02:00
Mike Alexander
f4d2cc2863 Remove an AC_MSG_CHECKING/AC_MSG_RESULT that is redundant and confusing. 2014-08-14 17:11:49 -04:00
John Ralls
367b608fad Fix problem with gcc-4.9 failing to compile gfec.c.
The error, first reported in email, was that cc1 didn't recognize
the flag. Solution is to make it a CPPFLAG so that cc1 doesn't see it.
2014-08-07 13:28:10 -07:00
John Ralls
4e7e52a311 Merge branch 'maint' 2014-08-07 11:47:27 -07:00
John Ralls
c286448fdb Add note about automake 1.14 to configure.ac
The note has the details, but I wasn't able to get gnucash to build with
automake 1.14 without passing --disable-dependency-tracking regardless of
whether I used the subdir-objects option. If I could figure out a good way
to poison configure with automake 1.14 I would.
2014-08-07 11:44:47 -07:00
John Ralls
46455c7518 Revert "Fix broken test-backend-dbi with libdbi 0.9."
This reverts commit 321a159af2.
Got two unrelated changes into a single changeset.
2014-08-07 10:23:50 -07:00
John Ralls
321a159af2 Fix broken test-backend-dbi with libdbi 0.9.
Segfaulted for an uninitialized dbi_instance.
2014-08-07 10:12:52 -07:00
John Ralls
2869e9412e Really make it 1.48 instead of 1.49. 2014-07-21 10:17:17 +01:00
John Ralls
a995196d3e Lower Boost minimum version to 1.48.0 per user request. 2014-07-21 10:08:03 +01:00
Geert Janssens
147a5f5d00 Disable non-literal-null-conversion warning issued by clang 2014-07-04 16:25:12 +02:00
John Ralls
1d3cee110c Revert unintended restoration of AC_MSG_RESULT. 2014-07-03 09:51:53 +02:00
John Ralls
773326b7c5 Fix typo from 859866a. 2014-07-02 22:54:39 +02:00
Mike Alexander
d338982828 Properly nest AC_MSG_CHECKING and AC_MSG_RESULT calls to avoid confusing output. 2014-07-02 15:27:59 -04:00
John Ralls
859866ad28 Replace clang check with ax_check_compile_flags for -Wno-deprecated-register 2014-07-02 11:40:18 +02:00
Mike Alexander
84384ea565 Merge branch 'maint' 2014-07-01 22:51:30 -04:00
Geert Janssens
2952df937c Drop packaging/win32
Windows build specifics are now handled in gnucash-on-windows repository
2014-07-01 22:16:37 +02:00
John Ralls
4aed8b37e1 Don't try to use -Wno-deprecated-register with Clang.
It doesn't work.
2014-06-29 15:20:20 +02:00
John Ralls
273648ea80 Allow C/C++ extensions
MinGW declares any standard functions not part of the ISO C standard
in #ifndef __STRICT_ANSI__ blocks; Gcc defines __STRICT_ANSI__ with
-std=c++11; Pass 'ext' to the C++11 macro to get -std=gnu++ll, which allows
all those extensions we use.
2014-06-15 14:42:49 -07:00
John Ralls
ce409753b8 Disable C++11 deprecation warning for register storage class
It's used in GLib, so we're stuck with it for the short term.
2014-06-15 14:42:46 -07:00
John Ralls
b36a98149b Better test for conflict between optimization and FORTIFY_SOURCE 2014-06-15 14:42:45 -07:00
John Ralls
33aa8a13a7 Don't override CFLAGS, CPPFLAGS, etc.
Doing so gives the hardcoded values precedence over the user's environment.
Use AM_CFLAGS, AM_CPPFLAGS, etc. instead.
2014-06-15 14:42:43 -07:00
John Ralls
8e25412d20 Add optional use of Google Profiler.
See https://code.google.com/p/gperftools
2014-06-15 14:42:42 -07:00
John Ralls
8a899fc47a Add dependency on Boost. 2014-06-15 14:42:41 -07:00
John Ralls
ae93f2b9c9 Check for C++11 support, fail if it's not there. 2014-06-15 14:42:39 -07:00
Geert Janssens
eb4fc0002d Merge branch 'maint' into master
* Bug 719457 - Template for Home Mortgage Loan isn't properly nested.
* Always use the price we display to calculate the current value of an account.
* Bug 728717 - Ubuntu 14.04 - GNUcash crashes on close
* Bug 725054 - Re-numbering sub accounts crashes the program
* More fix-ups for the renumber subaccounts dialog.
* 722200 - configure script does not pick the correct am_cv_scanf version
* Python bindings.  Add function gncVendorNextID, complementary to gncCustomerNextID
* Bug 730255 - Python bindings: Assigns bill entries to non-existant invoice.
* Relax requirements for booleans in invoice line.
* Add some date format checking and make sure generated dates are the correct user selected format, not always locale format.
* Fix broken win32 build; MinGW needs our strptime.
* Fix broken build on 64-bit systems
* New/revised version of the Brazilian Portuguese translation file, For version 2.6.3. Translator: Miguel Rozsas <miguel@rozsas.eng.br>
* Bug 720934 - Barcharts with many data points have overlapping x-axis labels
* Python bindings - no instance necessary anymore
2014-06-06 16:54:44 +02:00
John Ralls
8ac8c70cf1 722200 - configure script does not pick the correct am_cv_scanf version
Wrap SCANF_FOO_CHECK calls with CFLAGs including -Wall -Werror so
that the tests fail to compile and %lld fails as it does during the
build.
2014-06-03 11:18:39 -07:00
John Ralls
33c4facfc7 Revert "722200 - configure script does not pick the correct am_cv_scanf version"
This reverts commit f9548652de.
2014-06-02 13:41:00 -07:00
John Ralls
dbd8a5638c Revert "722200 - configure script does not pick the correct am_cv_scanf version"
This reverts commit f3e76fb9df.
2014-06-02 13:40:26 -07:00
John Ralls
f3e76fb9df 722200 - configure script does not pick the correct am_cv_scanf version
Add -Wall -Werror to CFLAGS to try to force failure.
2014-06-02 17:21:34 +01:00
John Ralls
f9548652de 722200 - configure script does not pick the correct am_cv_scanf version
On 64-bit Windows system.

Test for need of and if needed define __USE_MINGW_ANSI_STDIO
2014-05-31 09:23:16 -07:00
John Ralls
6e62ce9938 Allow building for mac integration with gcc-4.8 2014-05-18 17:40:35 -07:00