gnucash master: Multiple changes pushed
Geert Janssens
gjanssens at code.gnucash.org
Fri Sep 15 15:52:46 EDT 2017
Updated via https://github.com/Gnucash/gnucash/commit/75b5a41e (commit)
via https://github.com/Gnucash/gnucash/commit/3bc0241e (commit)
via https://github.com/Gnucash/gnucash/commit/b9d6e025 (commit)
from https://github.com/Gnucash/gnucash/commit/2cb48672 (commit)
commit 75b5a41eee7ad0c5643cf6e4aa64edfc689ef1a9
Merge: 2cb4867 3bc0241
Author: Geert Janssens <geert at kobaltwit.be>
Date: Fri Sep 15 21:46:14 2017 +0200
Merge branch 'maint'
commit 3bc0241e7428fd26bac16f189a8670cb9e1b2040
Author: Geert Janssens <geert at kobaltwit.be>
Date: Fri Sep 15 20:13:51 2017 +0200
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.
commit b9d6e0257bc1f1047993ef5fd7f74f32d5e45be6
Author: fell <frank.h.ellenberger at gmail.com>
Date: Fri Sep 15 15:02:53 2017 +0200
Bug 787479 - Persian currency symbol is doubled
Summary of changes:
libgnucash/app-utils/option-util.c | 54 +++++++++++++------------------
libgnucash/engine/iso-4217-currencies.xml | 2 +-
2 files changed, 24 insertions(+), 32 deletions(-)
More information about the gnucash-patches
mailing list