Commit Graph

18530 Commits

Author SHA1 Message Date
John Ralls
1dea835c31 Re-enable generation of POTFILES.in
With a hack to get the right line-endings on Windows.
2017-09-12 14:28:05 -07:00
lmat
0cdd776941 Adding python tests to cmake
And removing some debugging comments
2017-09-12 14:20:18 +02:00
Geert Janssens
37ecf56fbb Merge branch 'maint'
Resolved conflicts:
	bindings/python/tests/CMakeLists.txt
2017-09-12 13:48:01 +02:00
Rob Gowin
6ec9aa362b Fix issues with loading and running init.py 2017-09-11 16:09:57 -05:00
John Ralls
ac86ca949f Disable regeneration of POTFILES.in
On Windows CMake converts "\n" to CRLF, which causes xgettext to
mangle paths with [type: gettext/gsettings] in front of them and
also dirties the source directory with uncommittable changes.
The autotools build doesn't regenerate POTFILES.in and we've historically
maintained it by hand.
2017-09-11 12:18:57 -07:00
John Ralls
3f84f48415 Fix tiny omission that didn't build standard-reports.go. 2017-09-11 10:24:01 -07:00
fell
65f18589da Update changed string in de.po 2017-09-11 04:40:22 +02:00
fell
2275603eb4 Fix error in recent commit 2017-09-11 04:34:02 +02:00
John Ralls
465f24af2e Link libgncmod-app-utils-python to libgncmod-app-utils.
Instead of building libgncmod-app-utils-python as a stand-alone library
because gncmod-app-utils.c can be compiled only with guile thanks to
declaring scm_init_sw_app_utils_module. Linux linkers will just mark it
'U' but the MacOS linker errors out.
2017-09-10 18:24:39 -07:00
fell
240bc32e57 Remove build_year from translatable copyright string 2017-09-11 02:40:03 +02:00
fell
6c8275a7ff Review of PR #183
4612 translated messages, 25 fuzzy translations, 48 untranslated
messages.
2017-09-10 21:49:26 +02:00
Geert Janssens
556f7037ad Merge branch 'maint' 2017-09-10 19:16:38 +02:00
Geert Janssens
82bd4f69aa Merge branch 'fix_cmake_ofx_dep' of https://github.com/bhardwajs/gnucash 2017-09-10 18:56:44 +02:00
christopherlam
600f010472 Fix swig wrapper for gncTaxTableGetTaxTables
- Add new typedef GncTaxTableList
- Add SWIG wrapper for gncTaxTableGetTables
- gncTaxTableGetTables to return gncTaxTableList
2017-09-10 18:44:34 +02:00
Geert Janssens
f0f53d99b7 Merge branch 'trav' of https://github.com/limitedAtonement/gnucash 2017-09-10 18:32:58 +02:00
Geert Janssens
f0fe1e9949 Re-enable python-bindings test this time with a fully corrected python path
The fix was suggested by Rob Gowin.
In addition, disable some debug output in the python tests suite.
2017-09-10 11:57:28 +02:00
John Ralls
6e652e82ad Add w_image.c to EXTRA_DIST.
Missed in original commit, noticed by intltool.
2017-09-09 17:36:18 -07:00
Daniel
4250f53faa L10N: DE, some small corrections. 2017-09-09 21:35:05 +02:00
Sumit Bhardwaj
bbdb7151dd Made ofx-gschema dependent on WITH_OFX flag 2017-09-09 10:13:34 -07:00
lmat
121dd8cf90 Configure travis to use docker for CI
Currently, there is an ubuntu 14.04 and archlinux build and they both
use cmake with ninja, cmake with make, and autotools to build. It should
be straightforward to add another configuration.

Travis checks out the correct branch of the source code for us, and we
expose that source code to the docker container using a docker run
"volume".
2017-09-09 09:56:34 -04:00
Geert Janssens
a1bc2d0202 Temporarily disable python-bindings as it's currently failing
I have adjusted the PYTHON_PATH already based on the new directory layout,
but that's not sufficient.
2017-09-09 14:23:47 +02:00
Geert Janssens
22b11427cb Merge branch 'maint' 2017-09-09 14:09:13 +02:00
Rob Gowin
739ce35f6a Fix problems that occur when running out of CMake build dir 2017-09-09 14:08:28 +02:00
Rob Gowin
8efe0f83e6 Run the python bindings test when using CMake 2017-09-09 14:08:24 +02:00
lmat
f27d77746d Adding .gitignore entries for ctags and vim swaps 2017-09-09 13:04:09 +02:00
fell
11fa766266 Revert PR #182 mostly.
Part of Bug 787226 - German: Business:bill: Bill ID / Billing ID
mistranslated?

"Billing ID" is also used in the dialogs of customer invoices.
2017-09-08 23:42:31 +02:00
Geert Janssens
ef594e87e0 Merge branch 'maint.translation.de.02' of https://github.com/quazgar/gnucash into maint 2017-09-08 17:37:09 +02:00
John Ralls
43c81b6ebb Add include of Foundation framework for NSString and NSBundle. 2017-09-06 22:28:13 -07:00
John Ralls
5b2439e7c9 Set -xobjective-c or -xobjective-c++ for Mac code depending compiler.
Also require at least Cmake-3.3 for Apple as that's the minimum that
supports the COMPILE_LANGUAGE generator expression.
2017-09-06 22:24:19 -07:00
John Ralls
e1ba2ed4bd Append to string the pre-cmake-3.4 way. 2017-09-06 14:51:26 -07:00
John Ralls
77d5d6380b Install the current, 2015, and 2016 ChangeLogs. 2017-09-06 11:44:55 -07:00
Geert Janssens
32a8b853f1 Ajust the GUILE_COMPILE_PATH such that it also works on Windows 2017-09-06 16:31:54 +02:00
Geert Janssens
118af3e9e9 Fix gtest-gnc-timezone test on Windows 2017-09-05 14:14:01 +02:00
Geert Janssens
333edb1900 Fix gnc-rational test on Windows 2017-09-05 13:54:50 +02:00
Geert Janssens
449d3ca32d Windows: check permissions actually used on the platform
The code assumed these would be the same as on all other platforms which turns out not to be the case
2017-09-05 00:07:17 +02:00
Geert Janssens
d96bb3ebd5 Amend previous commit
The utf8 conversion is only used in the Windows specific section so there's no
need to define an overloaded function on std::string in this case.
Also CMakeLists.txt doesn't require the MingW specific library name setting
for boost::filesystem. Just removing the hardcoded one allows the build to
pick the right name up from the Boost_LIBRARIES variable.
2017-09-04 23:03:08 +02:00
Geert Janssens
d6677ff39f Convert boost::filesystem path strings to utf8.
Fixes windows build.
2017-09-04 13:37:46 -07:00
Daniel
afa0945ce6 L10N: DE, automatic "make pot" changes.
Do these changes need to be committed manually?
2017-09-04 17:11:15 +02:00
Daniel
cccbec677d L10N: DE, fix bug #787226: Bill ID / Billing ID swapped. 2017-09-04 00:32:08 +02:00
Geert Janssens
75cc34a2db Merge branch 'maint'
Resolved conflicts:
	gnucash/import-export/CMakeLists.txt
2017-09-03 12:06:52 +02:00
Geert Janssens
98e8e4c767 Only build aqbanking when requested 2017-09-03 12:05:00 +02:00
Sumit Bhardwaj
66440cb203 Added WITH_OFX fix to CMakeLists in gnucash/import-export/ofx 2017-09-03 12:02:52 +02:00
Geert Janssens
c0f3147a3e Merge branch 'maint'
Resolved conflicts:
	.travis.yml
2017-09-02 16:18:23 +02:00
Geert Janssens
28668ec594 Fix deliberate test failure on previous commit 2017-09-02 16:03:46 +02:00
Geert Janssens
1e7c721e8d Have Travis print out build logs in case of test failures
To get the after_failure line work, I had to move the inline
build script to a separate script (util/travis-script.sh)

The second script (util/travis-after-failure.sh) will output
LastTest.log for cmake based builds and all files named
test*.log for an autotools based build.

Note: this commit also comes with a delibarate test failure
to illustrate the Travis behaviour. It will be removed in the
next commit.
2017-09-02 16:02:08 +02:00
Geert Janssens
098c1950f3 Merge branch 'maint'
Resolved conflicts:
	.travis.yml
	gnucash/report/standard-reports/transaction.scm
2017-09-02 11:25:54 +02:00
Geert Janssens
0e0e4d294e Set up a build matrix on Travis CI
This will run the different builds in parallel (depending on
resource availability on Travis).

The advantages are
- faster test results
- easier to spot which build type has failed
- shorter test log per build type to parse
2017-09-02 11:06:42 +02:00
Rob Gowin
14b72ea11d Enable CMake build in Travis CI 2017-09-01 18:23:09 -05:00
Geert Janssens
1b3a0e56ff Use boost::filesystem's built-in conversion between character encodings.
This should fix the wide character mixup on Windows
2017-08-31 12:20:08 -07:00
John Ralls
48365a923d Remove set target property on no-longer-extant gncmod-utility-reports target. 2017-08-31 12:20:08 -07:00