Commit Graph

27584 Commits

Author SHA1 Message Date
Pino Toscano
19f4cdeb76 application/x-gedcom: Drop own definition
shared-mime-info (i.e. the freedesktop.org implementation of XDG MIME
types) ships application/x-gedcom since version 0.17, released in 2006.

Hence, we can safely assume that even not that recent distributions have
application/x-gedcom provided by shared-mime-info.
2023-07-02 22:47:44 +01:00
André Apitzsch
08e9101089 Support XDG base directory specification
Fixes #8025
2023-07-02 22:32:07 +01:00
André Apitzsch
c5564bcd19 Test: Use temporary directory to test bsddb 2023-07-02 22:29:42 +01:00
André Apitzsch
21e94dec99 Geography: Use path from constants 2023-07-02 22:19:21 +01:00
André Apitzsch
8b0e5dac6f Remove unused constant ENV_DIR 2023-07-02 22:09:31 +01:00
Nick Hall
21c7952dc8 Add option to hide ages for events after death 2023-07-01 23:40:48 +01:00
Nick Hall
6eedf4a142 Use ObjEntry to select a person as an association
Uses existing code to make the user interface consistent with
similar object selections.

Adds person add and remove buttons.
2023-07-01 23:32:02 +01:00
Matthias Balk
d830918289 Calendar report enhancements
* Added symbols for birth, marriage and death
* Added symbols for dead spouse in anniversaries
* Optionally include death dates
* Refactored method `collect_data`
2023-07-01 23:13:46 +01:00
Nick Hall
b23a2138b0 Increase minimum version requirements for Python and Gtk
Python: 3.8
Gtk: 3.24
2023-07-01 22:54:00 +01:00
Nick Hall
b41969c4c2 Merge branch 'gramps51' 2023-06-28 22:45:00 +01:00
SNoiraud
e40b727a57 Narrative web: problem with small pictures.
Fixes #012884
2023-06-28 21:50:08 +01:00
SNoiraud
160d5952f2 Implement the "<CTRL>J" for the family view
Fixes #012882
2023-06-28 21:42:08 +01:00
Jon Schewe
482199d29c Avoid application crash on invalid user input
If the user inputs an invalid date this change keeps the application
from crashing when such a date is found. The invalid date
information is reported to the user in the log.

Fixes #12658.
2023-06-28 20:58:37 +01:00
Nick Hall
bfa7c0c9f4 Fix export where private citations are excluded 2023-06-28 19:05:25 +01:00
Milo Ivir
fa8c0c6d9a Translated using Weblate (Croatian)
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/hr/
2023-06-27 14:17:33 +01:00
Avi Markovitz
cb8dc30ac7 Translated using Weblate (Hebrew)
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/he/
2023-06-27 14:17:33 +01:00
Mirko Leonhaeuser
8c863e4792 Translated using Weblate (German)
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/de/
2023-06-27 14:17:33 +01:00
WaldiS
4b9d7ebec6 Translated using Weblate (Polish)
Currently translated at 95.7% (6646 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/pl/
2023-06-27 14:17:33 +01:00
Mikal Thunold-Olsen
02d6e04462 Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.6% (6774 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nb_NO/
2023-06-27 14:17:33 +01:00
Pedro Albuquerque
b5e8d51a34 Translated using Weblate (Portuguese (Portugal))
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/pt_PT/
2023-06-27 14:17:33 +01:00
Stephan Paternotte
9535b9c758 Translated using Weblate (Dutch)
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nl/

Translated using Weblate (Dutch)

Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nl/
2023-06-27 14:17:33 +01:00
Medic Momcilo
1569561ceb Translated using Weblate (Serbian)
Currently translated at 80.7% (5606 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sr/

Translated using Weblate (Serbian)

Currently translated at 80.7% (5606 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sr/
2023-06-27 14:17:33 +01:00
Jean-Marc
99288d3e24 Translated using Weblate (French)
Currently translated at 97.4% (6765 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fr/
2023-06-27 14:17:33 +01:00
SNoiraud
e5ec6bd7c9 Add option to control display format of Lat/Lon
Add an option in the preferences diplay tab for views.
Add the possibility to select a different choice in the reports.

Fixes : #11248
2023-05-22 14:30:47 +02:00
prculley
614332aac8 Fix Event compare tool to display enclosed places properly 2023-05-14 22:50:01 +01:00
SNoiraud
0a981f0ca6 Check that view exists before calling post_create method
Avoids 'NoneType' object has no attribute 'post_create' error.

Fixes #12638
2023-05-14 22:47:55 +01:00
Jingxuan He
9e81014fc6 Fix a wrong operator bug in the web calendar report 2023-05-14 22:27:59 +01:00
Himanshu Gohel
2da93aad1f Revert "Enclose tree report image path and file name in braces"
Fixes #12437 by reverting commit 75921ceaf4 due to
reports of regression where processing of the generated TeX file fails due to
bad path specificiation for image files.

Change was introduced in bug fix for #10495.

Bugs #12437 and #12697 reported the regression and confirmed that reverting the
change fixes the regression.
2023-05-14 22:13:38 +01:00
SNoiraud
97434a0136 Geography View: Fix number of arguments in add_bookmark method
add_bookmark() takes 2 positional arguments but 3 were given

Fixes #12718
2023-05-14 21:54:33 +01:00
GaryGriffin
181e2d8540 Use date-specific place in report substitution variables
Fix place title in graphical reports which have user-defined display formats
to use date-specific alternate name.

This impacts Ancestor Tree, Descendant Tree, and Family Descendant Tree.

Fixes #12763.
2023-05-14 21:38:49 +01:00
John Ralls
36d03137dd Try to import berkeleydb if bsddb3 isn't found.
berkelydb is usable for python >= 3.6 and required for
python >= 3.10. See https://www.jcea.es/programacion/pybsddb.htm.
2023-05-14 21:11:55 +01:00
Vincent Smeets
f6ac1999dd HtmlDoc: Create a unique filename for cropped images 2023-05-14 21:00:28 +01:00
D.A.Lordemann
a99b48711f Fix corrupted NOTE tag in Gedcom export
Remove Python2 code obsoleted by Python3, which was corrupting GEDCOM export of Gramps Notes text that includes multi-byte utf-8 characters.

Fixes #12709.
2023-05-14 19:03:52 +01:00
SNoiraud
d5d86e9139 Fix IndexError that sometimes occurs when changing view
This occurs when restarting Gramps.

Fixes #12636, #12304, #12429, #12623, #12695.
2023-05-14 18:49:17 +01:00
SNoiraud
35f20a8893 Narrative web: Solves some problems
Force place name to be "Full" names.
Force the country field to be the last field of the place name
Force the State/province to be the penultimate field of the place name

We use place names that stop in the country, but iff we have place names
such as: city, province, country, continent, planet with the continent and
planet as the custom place type, the State/Province field will be
the name of the place continent... (should never happen, but...)

Fixes #12821
2023-05-14 18:15:30 +01:00
SNoiraud
09fd85ef09 Make "gramps -v" consistent with Prerequisites Checker
This patch is related to Bug report #012770.
When a problem occurs, we ask to the user the result of "gramps -v"
and not the result of the PrerequisitesCheckerGramplet
2023-05-12 22:49:07 +01:00
Christopher Horn
0eb562e67b Fix incorrect title of event schema attribute_list 2023-05-12 22:32:08 +01:00
SNoiraud
4ebba02b6b Fix crash when invalid note link
Fixes #012854
2023-05-12 22:11:29 +01:00
SNoiraud
e535fcefa5 Tags with color names don't work in pedigree views
Color tags work correctly in all views except in pedigree views.
These views modify colors:
...
 context.set_source_rgba(*(self.bordercolor[:3] + (0.4,)))
... and
 context.set_source_rgb(*self.bgcolor[:3])

As it works everywhere except in these views, I think it is a bug
even if we cannot enter color names in tags

Fixes #012866
2023-05-12 21:57:24 +01:00
grocanar
2c70982fab Add place name to place in geneweb import
Fixes #12710
2023-05-12 21:24:59 +01:00
Juan Saavedra
3a7b17af01 Give consistency to short months in Spanish 2023-05-12 20:52:07 +01:00
Matthias Urlichs
5e1d36b0ad Implement the GEDCOM tag "_RUFNAME"
RUFNAME is the German word for "call name", i.e. the part of the given
name commonly used to address somebody. Some official documents mark it
as such.

The GEDCOM standards 5.5.1 and 5.5.5 mention this tag.
2023-05-12 20:36:14 +01:00
beernarrd
b7d28a28f1 Translated using Weblate (Slovenian)
Currently translated at 97.1% (6744 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/sl/
2023-05-12 18:08:07 +01:00
Dmitriy Q
a642cfaa03 Translated using Weblate (Russian)
Currently translated at 99.9% (6938 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/ru/
2023-05-12 18:08:07 +01:00
Juan Saavedra
37d89ad73d Translated using Weblate (Spanish)
Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/es/

Translated using Weblate (Spanish)

Currently translated at 100.0% (6939 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/es/
2023-05-12 18:08:07 +01:00
Allan Nordhøy
49a14ed8ba Translated using Weblate (Norwegian Bokmål)
Currently translated at 97.5% (6769 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nb_NO/

Translated using Weblate (Norwegian Bokmål)

Currently translated at 97.5% (6769 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/nb_NO/
2023-05-12 18:08:07 +01:00
jmichault
a5b12be9cd Translated using Weblate (French)
Currently translated at 97.4% (6764 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/fr/
2023-05-12 18:08:07 +01:00
Kristijan \"Fremen\" Velkovski
ea42d9477d Translated using Weblate (Macedonian)
Currently translated at 26.4% (1837 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/mk/

Translated using Weblate (Macedonian)

Currently translated at 26.3% (1831 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/mk/

Translated using Weblate (Macedonian)

Currently translated at 26.2% (1824 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/mk/
2023-05-12 18:08:07 +01:00
linluoxue
b394e36b35 Translated using Weblate (Chinese (Simplified))
Currently translated at 91.8% (6376 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/zh_Hans/
2023-05-12 18:08:07 +01:00
Abel Cheung
3f0db9303f Translated using Weblate (Chinese (Traditional, Hong Kong))
Currently translated at 65.2% (4528 of 6939 strings)

Translation: Gramps/gramps
Translate-URL: https://hosted.weblate.org/projects/gramps-project/gramps/zh_Hant_HK/
2023-04-12 13:19:37 +01:00