1) it would rerun an 'ok' after a 'no' on same object if the
user selected 'Use answer for rest'.
2) Dialogs called within an operation would have wrong parent.
* Add the possibility to set all default value to a string.
* Gui configuration improvement.
* Possibility to drag and drop a symbol from the symbol list. In this case, the glyph must be present in the current font to be displayed.
* Replace death symbol by buried, cremated or killed symbol depending on the event type.
The calendar year can be divided into four quarters, often abbreviated
as Q1, Q2, Q3, and Q4. Q1 is 1 January to 31 March, Q2 1 April to
30 June, Q3 is 1 July to 30 September and Q4 is 1 October to 31 December
This commit teaches DateParser to parse quarter dates and represet them
as a date range. An example quarter date is "Q2 2020" which is converted
to "between 1 April 2020 and 30 June 2020". This is a one way conversion
Only about 1% of strings have been translated, so we won't make
it active yet. At some point we need to update the LINGUAS file
and add a classifier in the setup script.
Partially revert commit 7248f073f0.
Deleting items during list iteration can lead to problems. In this
case an infinite loop was introduced in PR #975.
Index based loops across the Gramps project
are mapped to their Pythonic equalivant.
Many of these improves radability, and a
some of them improves performance by being
lazy evaluated.
The NameDisplay class contains various methods
that interact with the dict holding the
name formats.
To enable further refactoring, these methods
have been brought under test for most of
their implementations.
This commit corrects the ordering to the one in
Gramps 5.1 when run on Python 3.3.
Unlike the implementation in 5.1, this
implementation does not rely on dict ordering
and will therefore be consistent across Python
versions.
The assumed order of ascending positives followed
by negatives in reverse order, was based on tests
run on Python 3.7. However, the current ordering
in Gramps 5.1 is depended on dict ordering which
has changed between Python versions.
The expected ordering is therefore taken as the
one in Gramps 5.1 run on Python 3.3, which is
what the CI environment tests on.
This ordering is positives followed by negatives
both in ascending order.
I.e. -2, -3, -1, 0, 1, 2, 3, 4, 5
=> 0, 1, 2, 3, 4, 5, -1, -2, -3