Commit Graph

357 Commits

Author SHA1 Message Date
John Ralls
f3b60c3a71 Don't warn about all of the deprecated Gtk functions we're using. 2017-07-08 14:04:51 -07:00
John Ralls
bb0376240d Get WebKit2Gtk basics compiling and working.
Copy and register links don't work.
2017-04-14 19:21:35 +02:00
Geert Janssens
2528bfde6b Switch to building with the gtk+-3.0 toolkit 2017-03-31 14:04:31 +02:00
Geert Janssens
4888d34554 Replace all other uses of GnomeCanvas with standard gtk widgets
Most are converted to GtkLayout/GtkiDrawingArea widgets as these
most closely approach the GnomeCanvas concept.

This currently builds and runs but has the following issues still:
- item edit isn't drawn properly (margin and offset issues)
- cursor is not handled properly yet

These will be handled in subsequent commits.
2017-03-31 14:03:49 +02:00
Geert Janssens
dcef648044 Handle deprecation of g_settings_list_keys in gio 2.46 2017-03-16 23:10:26 +01:00
Geert Janssens
8acbc41c61 Raise minimum required version of glib-2.0 to 2.40
At the same time require --std=gnu11 instead of --sdt=gnu99.

This allows us to drop some conditionals is several places. I've
chosen 2.4 as that is the version available in travis, which appears to
be the oldest platform care about. Debian stable has 2.46 in backports,
our windows environment has 2.42
2017-03-16 22:51:52 +01:00
John Ralls
2b4137c566 Fix up building on MinGW with autotools. 2017-03-14 21:27:12 -07:00
John Ralls
f795d7ff59 Fix missing fi in configure.ac. 2017-03-13 12:16:25 -07:00
John Ralls
744fc29680 Require ICU.
Note that Boost::regex and Boost::locale must also be built with ICU
support.
2017-03-13 11:56:33 -07:00
Geert Janssens
dcce2d79cd Remove final dependencies on GOFFICE
This was still pulled in via the now removed gnc-csv-model.
In order to remove this, the fixed format csv importer
has been tweaked to get the required features from
the c++ csv importer code instead.
2017-02-20 17:54:09 +01:00
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