Commit Graph

26695 Commits

Author SHA1 Message Date
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
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
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
SNoiraud
0170e2b1e6 Crash when invalid event date 2023-04-05 18:41:27 +02:00
SNoiraud
54799df049 ListModel: Only the first level is managed
When we use checkboxes in columns.
The path was converted to int. Why ?
But when we have multiple level, the path format is "x:y" for two levels,
"x:y:z" for three levels, etc
2023-04-04 19:38:10 +02:00
Nick Hall
b97facb66f Update Gramps CI workflow to run on Ubuntu 20.04
Ubuntu 18.04 became fully unsupported on 1 Dec 2022.
2023-03-07 21:56:08 +00:00
John Ralls
aae38a6861 mac: Patch bsddb to use berkeleydb instead of bsddb3 module. 2022-12-27 15:25:07 -08:00
John Ralls
e0ee86c36a Mac build: Patch berkeleydb configure to work on Apple Silicon. 2022-12-27 11:45:08 -08:00
John Ralls
e3e89e6592 [mac] Update Exiv2 download URL, moved to github. 2022-12-26 13:56:57 -08:00
John Ralls
2cde1f0cdb Repackage Gramps 5.1.5 with Gtk updates fixing use on macOS 13 Ventura. 2022-12-24 14:27:46 -08:00
Nick Hall
2ca3839904 Fix spouse's name and underlined call names in records
Fixes #12391
2022-03-19 17:51:06 +00:00
Nick Hall
66cac5e852 Fix package installation failures in CI 2022-03-16 22:21:22 +00:00
Sam Manzi
99ec8e876b Update INCOMPLETE_TRANSLATIONS
* Remove: he

* Add: zh_HK, zh_TW
2022-02-12 22:44:46 +00:00
Ross Gammon
b27480f7a1 Update Debian folder after 5.1.5 release 2022-02-12 21:44:57 +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
Nick Hall
b8e5eacbbe Remove debug sattements in unit tests 2022-02-01 21:36:44 +00:00
Nick Hall
810d2fca24 Fix negative Span when dates are not Gregorian
Fixes #12525
2022-02-01 21:33:53 +00:00
Leonhaeuser
7c0e138ad2 get German translation with manual in sync (Display name editor) 2022-01-29 13:22:40 +01:00
Nick Hall
85535c0f5b Merge pull request #1291 from SNoiraud/B12395 2022-01-28 22:18:50 +00:00
SNoiraud
b52d90221f Incorrect grouping if no ma/patronymic surname 2022-01-28 22:05:26 +00:00
SNoiraud
bfcbd38610 Group As override is ignored for ma/patronymic surnames
Fixes #12395

discourse:
https://gramps.discourse.group/t/patronymic-and-matronymic-name/1684/5
2022-01-28 22:05:17 +00:00
Nick Hall
2ada529a21 Merge pull request #1290 from SNoiraud/B12374 2022-01-28 21:49:56 +00:00
SNoiraud
8d355ee184 Add comments for the lat-lon field of editplace 2022-01-28 21:41:57 +00:00
SNoiraud
d5b28435e0 Place editor, lat and long text are swapped
Fixes #012374
2022-01-28 21:41:57 +00:00
prculley
61189d3930 Fix Statusbar progress being shown before use
Fixes #12373
2022-01-28 21:32:12 +00:00
prculley
fec961d992 Fix exception when removing a group name in Sqlite db when group
name is already missing.

Fixes #12367
2022-01-28 21:31:51 +00:00