Commit Graph
18537 Commits
Author SHA1 Message Date
Geert Janssens 75b5a41eee Merge branch 'maint' 2017-09-15 21:51:50 +02:00
Geert Janssens 3bc0241e74 Bug 647805 - Interdependent report options fail to change state after using apply for a limited number of times
On the C side an SCM guile_options object is wrapped in a GNCOptionDB. This is
however a multi-to-one relationship. That is there can be several GNCOptionDBs
wrapping the same SCM guile_options object. This happens for example when
a report is open together with its Options dialog. Both manager their own
GNCOptionDB object while both wrap the same SCM guile_options.

The problem in this bug was caused by a callback function picking the wrong
GNCOptionDB based on the given SCM guile_options object. Which GNCOptionDB
got picked was completely dependent on how g_hash_table_foreach would cycle
through the stored dbs. It appears this is dependent on the in-memory order
of the hash table's values.

By being more selective of which GNCOptionDB we're looking for, this
could be circumvented. The GNCOptionDB we want is the one related to the open
report options dialog. This GNCOptionDB is different from the one managed by
the report tab in that it has callbacks set. So from now on we search for
a GNCOptionDB that wraps the give SCM guile_options and has one particular
callback set.
2017-09-15 20:54:42 +02:00
fell b9d6e0257b Bug 787479 - Persian currency symbol is doubled 2017-09-15 15:02:53 +02:00
John Ralls 2cb48672f0 Fix the actual cmake dist problem, missing macros.
This reverts commit 36adb31ee9 which was
the wrong approach.
2017-09-14 12:01:05 -07:00
Geert Janssens 46545d3e45 Apply python binding changes to correct file 2017-09-13 15:01:48 +02:00
John Ralls 36adb31ee9 Fix some odd automake errors that show up only during a CMake ninja dist. 2017-09-12 17:10:49 -07:00
John Ralls 739995df54 Fix distribution pieces for gwenhywfar-gtk3. 2017-09-12 17:09:51 -07:00
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