Commit Graph
347 Commits
Author SHA1 Message Date
Geert Janssens d858c7d51d Internalize parts of the goffice code
We're using only a tiny fraction of that library.
Adding it directly in the gnucash source saves a large dependency chain.

Note this is a verbatim copy of these files from
https://github.com/GNOME/goffice/tree/GOFFICE_0_8_17
to preserve a clean link with it's origin.
It will only build correctly after the next commit.
2017-02-20 17:41:27 +01:00
John Ralls 07eb110db7 Merge branch 'maint' 2017-02-15 15:51:58 -08:00
fell b78d7c72ce Improve comment about available languages 2017-02-12 00:02:33 +01:00
fell 2ac3ddec9c Update PACKAGE_BUGREPORT, set PACKAGE_URL
We prefer bugzilla entries over emails
2017-02-10 21:31:52 +01:00
Geert Janssens 0a8d7a2142 Make google test framework a mandatory build dependency
All c++ unit tests will be written with it, and testing
should be possible out of the box.
We could make it optional, but then lots of tests will
be skipped. This creates an illusion of all tests passing
while many are simply not run. This confusion should be
avoided.
This change depends on a second commit for the windows build
in the gnucash-on-windows repository. This commit will be
pushed at the same time.
2017-02-02 17:20:43 +01:00
Geert Janssens ee7a73dea3 Drop with_html_engine option
We only support webkit. The option was there for backwards
compatibility in the 2.6 series, but for 2.8 it can go.
2017-01-30 19:34:53 +01:00
Geert Janssens 5cbdc5d816 Merge branch 'maint' 2017-01-30 19:34:29 +01:00
Geert Janssens 33f39627e3 Drop a couple of webkit related configure tests
The tests are only relevant to webkit versions older than our baseline.
2017-01-27 19:24:53 +01:00
Geert Janssens 695065a0aa Merge branch 'maint' 2017-01-23 12:03:00 +01:00
klemens 2a97675bee spelling fixes 2017-01-23 11:50:00 +01:00
Geert Janssens 3c57c44078 Enable google test on travis
This enables a number of additional unit tests.
Unfortunately several of them fail on travis and need
some more attention.
2017-01-13 14:45:15 +01:00
Geert Janssens f4510cf546 Drop unused DEBUG_MEMORY macro
Thanks to Stefan Talpalaru for spotting this.
2017-01-10 13:21:14 +01:00
Stefan Talpalaru 897fc841b6 configure: fix --disable-debug, --disable-profile and --disable-locale-specific-tax 2017-01-07 18:16:54 +01:00
John Ralls 1ef17e6e16 Release 2.6.15 2016-12-17 11:11:56 -08:00
John Ralls 1f30e2dacb Merge branch 'maint' 2016-12-06 16:26:25 -08:00
Ryan Tucker 57e7ba869d fix missing chmod +x in configure.ac 2016-12-06 15:30:38 -08:00
Geert Janssens e4bb9b70f8 Merge branch 'maint' 2016-11-24 14:19:50 +01:00
John Ralls 6695ef9585 Bug 769124 - Australian (GMT-10) OFX transactions imported have previous days date.
Fix on Windows, where the test failed to build.
2016-10-20 10:40:18 -07:00
Geert Janssens 87ed53b347 Merge branch 'maint' 2016-10-03 19:55:07 +02:00
John Ralls b905c4a26d Remove obsolete AS_SCRUB_INCLUDES macro.
This was an ugly work-around for a bogus warning from gcc-3, a
long-superceded compiler. The way the macro was written caused
portablility issues (see PR 102) and other projects (gstreamer
in particular) removed it several years ago.

Thanks to Julian Ospald for bringing it to our attention.
2016-09-25 23:07:14 +02:00
John Ralls d8711619ce Merge branch 'maint' 2016-09-17 17:09:51 -07:00
John Ralls 3e7022b7cd Release 2.6.14 2016-09-16 09:59:09 -07:00
John Ralls 876f57ef4f Australian (GMT-10) OFX transactions imported have previous days date
The fundamental problem is https://sourceforge.net/p/libofx/bugs/39.
Work around it by detecting it at configure time and if present check
to see if the time in question is not daylight time. If that's the case,
determine the daylight time offset and add it back to the timestamp.
2016-09-11 14:48:24 -07:00
John Ralls ddf84d0725 Release 2.6.13 2016-06-25 12:04:40 -07:00
lmat 557a5e2f2d Check the appropriate locations for gmock and gtest sources
Although we test libgtest_main, we don't test for libgmock_main. This
shouldn't be necessary since gmock was absorbed by gtest in upstream,
so I'm not planning on working hard to correct this problem robustly.
We'll just check for the source files in the other location where they
might be.
2016-06-09 14:51:21 -07:00
John Ralls ed11f6d1d5 Release 2.6.12 2016-03-25 19:43:22 -07:00
Geert Janssens a0fa6d2fe7 Merge branch 'maint'
Resolved Conflicts:
	src/engine/test/utest-Transaction.cpp
	src/gnome-utils/ui/osx_accel_map
	src/libqof/qof/qofbook.cpp
2016-03-19 15:33:59 +01:00
Gilles Dartiguelongue c56a4d9593 Bug 760015 - guile support is automagic
Make guile support selectable
2016-03-13 13:07:03 +01:00
Geert Janssens ce748cceb8 Merge branch 'maint'
Resolved conflicts:
	src/import-export/csv-imp/gnc-csv-model.h
	src/libqof/qof/gnc-date.h
	src/optional/gtkmm/test/Makefile.am
2016-01-22 11:43:23 +01:00
John Ralls 60ae4ac8ec Fix new cdv-import tests for running in a separate build directory. 2016-01-21 12:07:29 -08:00
Geert Janssens afff8102f4 csv-imp - add initial (empty) test framework 2016-01-20 15:49:53 +01:00
John Ralls db0fd2e908 Replace the TP pt.po with the directly-contributed pt_PT.po
The TP translation hadn't been maintained in over 10 years and there's
no evidence of an active TP pt team. TP coordinator has marked pt as
'external' in TP configuration.
2016-01-19 13:50:57 -08:00
fell cf26b5c86b Fix a mistyped error message in configure.ac 2016-01-17 21:39:54 +01:00
John Ralls f67faa24c6 Release 2.6.11 2016-01-10 15:42:14 -08:00
John Ralls e0495fe269 Fully identify the boost header that needs to be fixed for C++11 compilation. 2015-12-26 11:54:28 -08:00
John Ralls e4d3e90070 Merge branch 'maint' 2015-12-21 10:26:59 -08:00
John Ralls a1c7f6456c Release 2.6.10 2015-12-19 12:32:54 -08:00
Pedro Albuquerque cc765b053b Add new Portugal-Portuguese Translation. 2015-12-19 09:57:43 -08:00
John Ralls 5498f614fd Merge branch 'maint' 2015-12-14 13:13:29 -08:00
John Ralls 5f0cb0731f Use @SHELL@ instead of hardcode /bin/sh in test shell scripts.
This is a workaround for MacOS X 10.11's System Integrity Protection,
aka SIP, which among other things prevents system binaries from passing
linker environment variables to children. Anything in /bin or /usr/bin
qualifies as a system binary, and that includes /bin/sh and /bin/bash.
Not being able to pass linker paths breaks all of our guile tests which
need to tell Guile where to look for the libraries being tested.

To apply the workaround one needs to first have a shell outside of /bin
and /usr/bin. Simply copying /bin/sh to your home direcory works, as
does building a suitable shell somewhere. Just pass the path to that
shell in $CONFIG_SHELL to configure and all of the shell scripts and
libtool .la files will be created with it in the shebang line and the
linker environment variables will be passed in.

In order to build GnuCash in the first place you'll also need to edit
guild to use the alternate shell.
2015-12-14 13:11:12 -08:00
Geert Janssens 0e53cf89aa Merge branch 'maint'
Resolved conflicts:
	src/engine/test/Makefile.am
	src/gnome/dialog-sx-editor.c
2015-12-07 21:54:41 +01:00
John Ralls 90601ac464 Fix libdbi-0.9 crash on shutdown.
Must include the header before checking the version! Since this also
corrects the deprecation warnings, also reverts commit 29138bc.
2015-12-03 10:49:36 -08:00
John Ralls 29138bc793 Silence deprecation warnings.
Required because libdbi-0.9 emits them when using libdbi-0.8 API.
2015-12-01 16:40:31 -08:00
Geert Janssens 68f1db9ed6 Bug 756720 - configure fails to find libgoffice 0.10-10 (0.10.18-1)
While we can't support libgoffice 0.10 because that would require gtk3
we can improve the error message if no libgoffice 0.8.x version is found.
2015-11-03 12:19:52 +01:00
John Ralls ac34d316a5 Merge branch 'maint' 2015-10-27 17:28:45 -07:00
John Ralls ce838d3cfc Rename GNOME_COMPILE_WARNINGS to just COMPILE_WARNINGS.
Poaching someone else's macro name is a really dumb idea, because aclocal
looks in our macros directory only if it can't find the macro in the system
directories. Our config code doesn't work with Gnome's macro, it exports
WARN_CFLAGS rather than modifying CFLAGS directly the way ours does.
2015-10-27 17:25:48 -07:00
John Ralls 42415056d0 Release 2.6.9 2015-10-05 12:57:12 -07:00
John Ralls 12f760228c Release Gnucash-2.6.8 2015-09-26 12:05:50 -07:00
John Ralls 986bb368cd Merge branch 'maint' 2015-09-19 16:58:13 -07:00
John Ralls 04a6f4cfc5 Rearrange the LINGUAS as suggested by Frank Ellenberger in the wiki.
And remove the binary message catalog accidentally added in the last commit.
2015-09-19 16:19:00 -07:00