Baizley
99d589a7a2
Add tests for methods relying on name_formats.
...
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.
2022-02-13 19:43:25 +00:00
Baizley
080d1d1dca
Correct the assumed order of the name formats.
...
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
2022-02-13 19:43:25 +00:00
Baizley
3cb4115ae4
Use list comprehension for name format list.
...
Combine construction and filtering with list
comprehension.
Adjust sort method to work over tuples.
2022-02-13 19:43:25 +00:00
Baizley
b66b9b3727
Simplify sorting in get_name_format.
...
First, the simplification uses the
built-in cmp_to_key function from functools
to remove the duplicated function in the
class.
Second, the cmp function was reduced to
two cases:
1. When x and y is positive:
Here the st
2. When x or y is negative:
Here the sign of y determines the ordering,
which can be seen from the following cases:
1. x is negative, y is negative =>
their order needs to be, so y is considered
higher, which means x is considered lower
(negative).
2. x is negative, y is positive =>
x is considered higher (positive).
3. x is positive, y is negative =>
y is considered higher, which means x is
considered lower (negative).
Third, the sorting is abstracted away
behind a function declaring the sort order.
2022-02-13 19:43:25 +00:00
Baizley
02983370bd
Add test coverage for get_name_format.
...
The test class enumaretes all possible
values for the three boolean arguments.
Some of the results is arguably wrong,
but since other classes depend on the
current semantics, these cases have
not been corrected.
2022-02-13 19:43:25 +00:00
André Apitzsch
727139f817
Remove xdg-utils dependency
2022-02-13 19:23:00 +00:00
Nick Hall
9bb252e405
Merge pull request #1143 from a-andre/reverseDNS
2022-02-13 19:00:02 +00:00
André Apitzsch
6fdde84334
Use reverse-DNS for mime file
2022-02-13 18:31:43 +00:00
André Apitzsch
2b50f55991
Fix application id
2022-02-13 18:31:43 +00:00
André Apitzsch
7ca75ef882
Use reverse-DNS for application icon
2022-02-13 18:31:30 +00:00
André Apitzsch
11f268b981
Use reverse-DNS scheme for appdata + desktop
2022-02-13 18:17:29 +00:00
Pino Toscano
79cc1970ad
Move MIME icons together with other hicolor icons
...
Move the icons of MIME types in the same location/structure used for
the other hicolor icons (application icon, action icons).
This way, all the hicolor icons are logically in the same place.
2022-02-12 23:12:39 +00:00
Nick Hall
a59b38d443
Merge pull request #1054 from CWSchulze/cws_godparent
2022-02-10 22:12:28 +00:00
Nick Hall
c2f46da34f
Fix unit test for check & repair tool
2022-02-10 22:08:56 +00:00
CWSchulze
dbc999669b
Add Godparent as event role
2022-02-10 22:08:56 +00:00
Nick Hall
62ee9d2c7d
Merge pull request #1033 from bentley/rst-manpage
2022-02-09 23:01:06 +00:00
Nick Hall
8159aca9b4
Generate gramps.1.in file
2022-02-09 22:52:24 +00:00
Anthony J. Bentley
ec64335eef
Various grammar improvements in the English manpage
2022-02-09 22:51:27 +00:00
Anthony J. Bentley
20ea5a1254
Use HTTPS URLs in the English manpage
2022-02-09 22:50:12 +00:00
Anthony J. Bentley
b6c9d1d965
Sprinkle Unicode trademarks and arrows within the English manpage
2022-02-09 22:50:12 +00:00
Anthony J. Bentley
31175616c1
Improve syntax of English manpage
2022-02-09 22:49:49 +00:00
Nick Hall
4039427e80
Merge pull request #1019 from prculley/bug11600
2022-02-09 21:21:46 +00:00
Paul Culley
c3c12b17cb
Update addrembedlist.py
...
Capitalize postal and phone column headers.
2022-02-09 21:12:01 +00:00
Brian McCullough
00121d1456
Add Phone/Postal to Addresses tab of Person editor
...
Fixes #11600
2022-02-09 21:12:01 +00:00
Nick Hall
00fa6d472a
Improved Age Stats gramplet
...
* New Histogram widget
* Extra bucket for ages above maximum
* Automatic scaling to available width
2022-02-08 23:34:07 +00:00
Nick Hall
72f7944814
Merge pull request #935 from Nick-Hall/family-group
2022-02-08 21:43:17 +00:00
Nick Hall
a096901c53
Replace Marriage heading with relationship type
2022-02-08 21:29:08 +00:00
Nick Hall
13792c6948
Remove Husband and Wife headings
...
These are incorrect for same-sex relationships or when the
couple are unmarried.
Resolves #11199
2022-02-08 21:28:16 +00:00
Avi Markovitz
c3c025a84d
Translated using Weblate (Hebrew)
...
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2022-02-08 21:18:40 +00:00
Tymofii Lytvynenko
c1b54742cd
Translated using Weblate (Ukrainian)
...
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/uk/
2022-02-08 21:18:40 +00:00
Bora Atıcı
9395614a88
Translated using Weblate (Turkish)
...
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/tr/
Translated using Weblate (Turkish)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/tr/
2022-02-08 21:18:40 +00:00
Mirko Leonhaeuser
e710e604b1
Translated using Weblate (German)
...
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 99.9% (6914 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
2022-02-08 21:18:40 +00:00
RiseT
f825b65a71
Translated using Weblate (German)
...
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 99.9% (6914 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
Translated using Weblate (German)
Currently translated at 100.0% (6915 of 6915 strings)
Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
2022-02-08 21:18:40 +00:00
Nick Hall
a5ac4ac43c
Merge branch 'gramps51'
2022-02-06 19:07:14 +00:00
Nick Hall
120372e88c
Remove Travis CI configuration
2022-02-06 18:17:11 +00:00
Nick Hall
f8e7a9f2a0
Fix badges in README file
2022-02-06 18:13:20 +00:00
John Ralls
e0e81cf56a
Package Gramps 5.1.5 for macOS.
2022-02-05 17:12:38 -08:00
Nick Hall
6df7c46400
Bump to 5.1.6
2022-02-05 23:33:10 +00:00
Nick Hall
b98f166a6d
Release Gramps 5.1.5
2022-02-05 23:28:04 +00:00
Nick Hall
33e78d47db
Update Changelog and NEWS files
2022-02-05 23:23:27 +00:00
Nick Hall
c753ca66b0
Remove Travis CI configuration
2022-02-05 22:04:48 +00:00
Nick Hall
ff87829b99
Fix badges in README file
2022-02-05 22:01:11 +00:00
Nick Hall
a1ec516340
Update copyright date
2022-02-05 19:25:53 +00:00
SNoiraud
60b4866296
Strange behavior for the scrollbar in the bottombar
...
Fixes #012438
2022-02-04 22:13:05 +00:00
romjerome
3ad5248af0
Fix place object element order in DTD and RNG schemas
...
Element placeobj content does not follow the DTD and RNG,
expecting (ptitle? , pname+)
Fixes #12500
2022-02-04 21:44:15 +00:00
Nick Hall
aa7d9c10c8
Merge pull request #1323 from izikeros/pl
2022-02-01 22:25:43 +00:00
Krystian Safjan
9f458578c0
Fixes suggested after review by @stojex
2022-02-01 22:17:38 +00:00
Krystian Safjan
3418027e50
Update Polish translation
...
- Consistent usage of "Tag": was "Tag" or "Atrybut", note that
"Attribute" (atrybut) is something different than tag
- "Magazyn" (repository) renamed to "Repozytorium"
- other fixes and addons
2022-02-01 22:16:17 +00:00
SNoiraud
8eed6b869a
Solve InterpolationSyntaxError if "%" in a string
...
The grampletpane module save data in a config file for all
the gramplets added in the dashboard.
The python configparser module doesn't like if we have a "%"
character in a string.
Fixes #012423
2022-02-01 21:57:37 +00:00
SNoiraud
f5202a9ab8
'<' not supported between 2 instances of IndexMark
...
Fixes #012467
2022-02-01 21:45:32 +00:00