Commit Graph

27263 Commits

Author SHA1 Message Date
Juan Saavedra
d4e85c2397 Update Spanish translation 2020-09-24 17:52:35 +01:00
David Straub
a8e7cee670 Fix travis build 2020-09-22 08:37:07 +02:00
Nick Hall
cc7ca7ff99 Support msgctxt in po files instead of a vertical bar in the msgid
For developers, an extra optional context parameter has been
added to the gettext functions. For example, _('point size|pt')
should now be written as _('pt', 'point size').

For translators this would appear in the message catalog as:

msgctxt "point size"
msgid "pt"
msgstr "pt"

Implements #3416.
2020-09-21 22:03:43 +01:00
Nick Hall
01403a0d03 Remove version qualifier 2020-09-16 22:50:58 +01:00
Nick Hall
b95b4258ef Another PyPI test release v5.2.0-dev2 2020-09-16 21:37:57 +01:00
Nick Hall
7994d01320 Change deploy script to fail on error 2020-09-16 21:33:39 +01:00
Nick Hall
67e2620e7a Change Travis CI to use python 3.5 2020-09-16 21:32:20 +01:00
Nick Hall
f15263e754 Create a development release for PyPI testing v5.2.0-dev1 2020-09-16 18:54:35 +01:00
Nick Hall
8408cea4b5 Move beta warning into the status bar 2020-09-16 17:45:30 +01:00
Nick Hall
fd380e345c Install application icons into correct directories 2020-09-15 19:06:26 +01:00
Nick Hall
ffa97fcad2 Merge pull request #1114 from DavidMStraub:pip 2020-09-15 18:52:42 +01:00
David Straub
dafedbebd5 Add PyPI auto-deploy to Travis CI 2020-09-15 18:38:13 +01:00
David Straub
71d95faeea Use setup from setuptools to allow creation of python wheels
Add extras_require
2020-09-15 18:37:11 +01:00
Nick Hall
33e3f4eb64 Update Travis CI to use gramps52 addons 2020-09-15 17:20:06 +01:00
Nick Hall
bb1c784d04 Bump all version numbers to 5.2 2020-09-15 16:59:43 +01:00
bokfink
c7a4d287f0 Fix error in Birthday and Anniversary report (#1113)
Fixes an error triggered when the first person_handle in the list
has a death event, but no birth event (get_birth_ref() == None)
and does not have family relationships (spouse_handle == None).
These conditions lead to the local variable short_name not being
declared before it comes time to process death events.

Fixes #11766
2020-09-14 11:13:08 -05:00
Paul Culley
9938c71a1c Fix EditEventRef, EditPlaceRef, EditMediaRef, EditRepoRef for improperly (#1112)
saving objects in their object lists.

Fixes #11917, #11933
2020-09-14 11:12:12 -05:00
Paul Culley
bd6e7c1007 Check & Repair: search and fix bad "links" in StyledTextTags (#1093)
Issue #11855
2020-09-14 11:11:14 -05:00
Paul Culley
c0d622c16a Fix graphdoc to properly escape characters in ids for Graphviz (#1111)
Fixes #11741
2020-09-14 11:10:20 -05:00
John Ralls
b38f77f2aa Replace inspect.stack() with inspect.currentframe() (#1104)
* Replace inspect.stack() with inspect.currentframe()

Fixes #11874

Works around https://bugs.python.org/issue12920 which causes every
call to inspect.trace() to fail because __main__ is always the
starting point.

* Fix a few Codecov complaints from files touched by previous commit.

Ignoring the "duplicate code" issue caused by the empty comment line
at the beginning of every file.
2020-09-14 11:08:58 -05:00
RossGammon
d91fc9e2fb Update Debian directory after producing the deb file for the 5.1.3 (#1100)
Release.

Co-authored-by: Ross Gammon <rossgammon@debian.org>
2020-09-14 11:05:21 -05:00
Paul Culley
198602be61 Fix crash sorting on columns in Selectors with TreeModels (#1099)
Fixes #11750
2020-09-14 11:04:12 -05:00
Paul Culley
3f9f3215ee Fix progress bar freeze due to changes in Gtk (#1103)
Fixes #11642
2020-09-14 11:02:48 -05:00
Paul Culley
beb388a30d Fix svgdrawdoc for text containing XML invalid characters (#1110)
Fixes #11929
2020-09-14 11:00:43 -05:00
Nick Hall
60f1866292 Replace intltool with gettext tools
The build now requires gettext v0.19.7 or above.

Removed obsolete files:
  * gramps.applications
  * gramps.keys
  * gramps.mime

Created ITS rules for holidays.xml and tips.xml files.

Included ITS files for shared-mime-info from a gettext v0.20.2
installation.
2020-09-02 21:22:04 +01:00
Nick Hall
3ca82e2ebc Remove the resource-path file
Attempt to derive the resource path from the package path assuming that
one of the three main installation schemes has been used.

The package path will be one of the following:

  <prefix>/lib/pythonX.Y/site-packages
  <prefix>\Lib\site-packages

  <home>/lib/python

  <userbase>/lib/pythonX.Y/site-packages
  <userbase>\PythonXY\site-packages

  Where <prefix>, <home> and <userbase> are the resource paths used in the
  Prefix, Home and User installation schemes.

The use of the command line option "--install-data" in the setup script
is no longer supported.

This change is intended to allow a Gramps core package to be created
as a wheel and installed via pip.
2020-09-02 21:07:22 +01:00
John Ralls
29e78d4253 Further changes for bundling with Python 3.8. 2020-08-30 14:46:35 -07:00
John Ralls
b80dcaf701 Add libgeocode-glib to bundle so that it actually works. 2020-08-30 14:44:51 -07:00
niememat
8ffb544b2c Update finnish translation 2020-08-30 20:33:38 +03:00
Leonhaeuser
a876d94fbc German tzranslation two smal corrections 2020-08-26 18:08:42 +02:00
John Ralls
95e1e8cb67 [mac] Set __file__ if gramps_launcher.py is run as __main__.
Fixes #11874.
2020-08-25 17:14:10 -07:00
prculley
e3b6076eef Merge branch 'gramps51' 2020-08-23 09:38:15 -05:00
Nick Hall
9ea958661b Fix python3-icu in Travis CI build 2020-08-22 20:49:01 +01:00
Nick Hall
d30376ca20 Change Travis CI python version to 3.4 2020-08-22 20:38:58 +01:00
Nick Hall
80b3572e30 Update Travis CI build configuration
Change distro from trusty to xenial.
Add missing os key.
Remove deprecated sudo key.
2020-08-22 20:28:26 +01:00
Paul Culley
8000eaca2f Add tooltips to sidebar filter 'Find' and 'Reset' buttons. (#1091)
Issue #11783
2020-08-21 09:50:15 -05:00
Paul Culley
8654c50594 Bug10853m (#1096)
* autobackup; add delay after wake from sleep/hibernate to allow time
for system to settle.

Fixes #10953

* Autobackup only if new commits since last autobackup in session
2020-08-21 09:46:18 -05:00
Alan Crosswell
261a3d8965 Fix GEDCOM import/export DATE/TIME creep by UTC offset. (#1089) 2020-08-21 09:38:06 -05:00
Zdeněk Hataš
4147bc728a Update Czech translation 2020-08-21 11:02:14 +02:00
John Ralls
3a9a7053ec Bundle release of Gramps 5.1.3. 2020-08-20 14:41:57 -07:00
John Ralls
b96fd8a274 Add geocode-glib to build. 2020-08-20 14:14:53 -07:00
pehlm
26cf0601d8 Update Swedish translation 2020-08-12 20:32:03 +02:00
prculley
c59278ef20 Bump to 5.1.4 2020-08-12 12:05:25 -05:00
prculley
767557be61 Release Gramps 5.1.3 v5.1.3 2020-08-12 11:28:29 -05:00
prculley
495d4e58ae Remove duplicates in Translations 2020-08-11 09:24:38 -05:00
prculley
fd90a80cf8 Clean up translations for Default/Home Person 2020-08-10 17:16:12 -05:00
Leonhaeuser
f6c0103f32 Update German translation 2020-08-10 22:48:17 +02:00
Serge Noiraud
04c1dc8503 Events View: "Main Participants" column does not (#1075)
show the full list of participants when expanded.

Fixes #11805
2020-08-10 15:08:51 -05:00
Paul Culley
8172e1017e Fix Charts/Pedigreeview tooltip Polish translation (#1092)
Fixes #11852
2020-08-10 12:01:49 -05:00
Krystian Safjan
ea30c3599b Fix and add objects to Polish translation of Gramps (#1088) 2020-08-10 12:00:54 -05:00