Commit Graph

23517 Commits

Author SHA1 Message Date
prculley
43c1f24c2d Fix whitespace 2016-08-04 11:20:19 -05:00
prculley
1cada500de Gedcom import media improvements part 2
This PR supports a variety of changes to Media support, mostly having to do with embedded OBJE tag lines.

- Support v5.5.1 OBJE/FORM/MEDI tag on embedded OBJE
- Change OBJE/BLOB tag from "not understood" to "Recognized but not supported"
- Detect multiple FILEs in a single embedded OBJE >> v5.5.1 feature not supported
- Changed OBJE/FORM/TYPE to internationalize the data (same as SourceMediaType)
- Corrected XREF/OBJE/FORM to correctly save and use its value (was a typo in original code) and to accept any case.
- Added test for missing title on embedded OBJE, and use filename if missing.
- Added test for missing FILE on XREF style OBJE, with warning like the embedded OBJE.
- Support _PRIM tag to handle primary photo for Legacy Family Tree, Ancestral Quest, Family Origins, MyHeritage Family Tree Builder, and others.
- Some of these changes would have required making patches to six different nearly identical pieces of code.  So I combined the similar methods and the two functions they called into a single function.
- Added function to check for a subordinate line with a specific tag, and report unexpected lines as not understood.  Used that function in OBJE/REFN/TYPE and OBJE/_PRIM processing.
- Test files imp_FTM_PHOTO.ged and imp_MediaTest.ged have been updated to include testing on these changes.
2016-07-30 10:39:15 -05:00
Paul Culley
a6126dbd03 Merge pull request #205 from prculley/42update
backporting some changes to Gramps42 libgedcom
2016-07-28 08:58:22 -05:00
prculley
92d2181621 backporting some changes to Gramps42 libgedcom
Backport of some changes from master:
Minor textual changes:
  GRAMPS > Gramps
  place_displayer > _pd
  __object_ > __media_
  object_parse_tbl > media_parse_tbl
  __find_object_handle > __find_media_handle
  __find_or_create_object > __find_or_create_media
  build_media_object > build_media
  and a few pylint related spacing changes
Sorting of Sources bug9475
Change "class xxx(object)" to "class xxx"
Use "with open" instead of "try: except:"
change "raise NotImplemented" to "raise NotImplementedError()"
2016-07-28 08:46:00 -05:00
prculley
018f60c826 fix Trailing Whitespace on libgedcom.py 2016-07-27 15:40:42 -05:00
Nick Hall
194bafd484 9427: Add new argument to IsEnclosedByRule 2016-07-26 18:35:05 +01:00
SNoiraud
93422189fe Narrativeweb : place title must agree the references.place-auto configuration 2016-07-26 09:23:23 +02:00
Doug Blank
6ade6ba419 Merge pull request #203 from prculley/csv
CSV backport to gramps42 for bug 9501 and 9499
2016-07-17 11:36:02 -04:00
prculley
802bab7bbe CSV backport to gramps42 for bug 9501 and 9499 2016-07-17 10:13:30 -05:00
Matti Niemelä
191bda5418 update Finnish holidays 2016-07-16 20:25:45 -07:00
Paul Franklin
cfdbbf7260 Revert "update Finnish holidays"
This reverts commit 718410e28f.
2016-07-16 20:14:10 -07:00
Matti Niemelä
718410e28f update Finnish holidays 2016-07-16 20:06:17 -07:00
Jérôme Rapinat
c46a4c4351 9578: Some strings in tools and report dialogs will not translate 2016-07-16 16:56:58 -07:00
Doug Blank
42f9f4701c Merge pull request #200 from prculley/Ged1_42
Bug 9575, Gedcom import improvements in media area to support v5.5.1 and FTM
2016-07-16 17:20:25 -04:00
prculley
016db63648 Bug 9575, Gedcom import improvements in media area to support v5.5.1 and FTM 2016-07-16 15:28:57 -05:00
Doug Blank
57902a4333 Merge pull request #199 from prculley/FTM_LINK_42
Gedcom import of FTM .ged file containing _LINK tags not supported gramps42
2016-07-16 16:03:04 -04:00
prculley
e3e61191ba Trailing whitespace 2016-07-16 13:58:58 -05:00
prculley
d985980ad7 Gedcom import of FTM .ged file containing _LINK tags not supported 2016-07-16 13:52:10 -05:00
John Ralls
3cdc1bd988 Change pycairo-python3 to pycairo.
pycairo for python2 is now py2cairo.
2016-07-16 10:40:25 -07:00
John Ralls
e311de1964 Remove pango modules from bundle, pango no longer uses them. 2016-07-16 10:37:37 -07:00
Doug Blank
c5a14c94ae Merge pull request #192 from prculley/bug9479_42
Bug 9479 Gedcom import loses spaces in text fields from FTM
2016-07-16 12:03:48 -04:00
prculley
7e234beff7 Typo 2016-07-16 10:50:55 -05:00
Doug Blank
3e21084f02 Merge pull request #197 from prculley/FTM_photo_42
Bug (Feature) 9580 Gedcom import of FTM file containing _PHOTO tags
2016-07-16 11:23:15 -04:00
Doug Blank
e53df38c8a Merge pull request #195 from prculley/bug9579_42
bug 9579 Gedcom import of FTM file with OCCU record crashes import
2016-07-16 11:22:22 -04:00
Leonhaeuser
b999680f83 update German translation 2016-07-16 10:42:17 +02:00
prculley
a19790c5ea Missed self.photo initializer 2016-07-15 09:49:29 -05:00
prculley
a49b0792d0 Bug (Feature) 9580 Gedcom import of FTM file containing _PHOTO tags 2016-07-15 09:35:19 -05:00
SNoiraud
5e7b84bdde 9362: Attempting to select an "Available item" for the Book Report gives an error 2016-07-15 12:07:43 +02:00
prculley
2eed3c4ab6 Fix for either valid or invalid FTM Gedcom 2016-07-14 10:48:33 -05:00
prculley
b5260704df bug 9579 Gedcom import of FTM file with OCCU record crashes import 2016-07-14 10:48:33 -05:00
vantu5z
28cc175fb5 update russian translation
merge with new template and backporte translations from master
2016-07-14 15:59:58 +03:00
Paul Franklin
73eaf011a0 9570: crash - 'NoneType' object has no attribute 'get_child_ref_list' 2016-07-11 13:53:04 -07:00
SNoiraud
f1156c9627 9560: Family Page maps are non-functional in Narrative Web report 2016-07-11 21:22:31 +02:00
prculley
a72e6f158c Bug 9479 Gedcom import loses spaces in text fields from FTM 2016-07-08 12:02:34 -05:00
Paul Franklin
2ac3935092 9568: Translated text will not be printed in the program 2016-07-07 11:27:49 -07:00
Leonhaeuser
62f47ffd6d update German translation 2016-07-06 20:55:52 +02:00
SNoiraud
87bd65c855 9566: String not translated in geoplaces 2016-07-06 00:03:35 +02:00
Paul Franklin
fd1f290752 9556: Descendant Report does not recognise auto. place title generation 2016-07-02 20:42:26 -07:00
SNoiraud
71a25a9e28 9557: Translated text will not be printed (bad copy/paste) 2016-07-02 23:00:34 +02:00
SNoiraud
ef28c52f4c 9557: Translated text will not be printed in the program 2016-07-02 22:21:00 +02:00
SNoiraud
ef75fc8c15 Revert "9557 : Translated text will not be printed in the program"
This reverts commit 72a9897283.
2016-07-02 22:18:32 +02:00
SNoiraud
72a9897283 9557 : Translated text will not be printed in the program 2016-07-02 11:04:22 +02:00
SNoiraud
96f2091ee9 8452: Geography : Attempting to print crashes (add parent to dialog) 2016-06-29 08:27:56 +02:00
SNoiraud
f24ef15518 8452: Geography : Attempting to print crashes(core dumps python) 2016-06-28 10:47:02 +02:00
prculley
be6715cd99 9124: GEDCOM doesn't accept CR as a line terminator
Original code used readline() when file was in binary mode; this works
only if file contains '\n', true only for CRLF and LF line endings.
Switched to file text mode with correct encoding and universal newline
support.
2016-06-27 21:09:43 +01:00
Matti Niemelä
16e2ed4f54 Update finnish holidays 2016-06-24 16:45:07 +02:00
Matti Niemelä
31ad46d73e Update finnish translation 2016-06-24 16:40:20 +02:00
vantu5z
73ee71eb2a Update Russian translation 2016-06-22 10:07:02 +03:00
Paul Franklin
4619dbe1a5 9537: Wrong Numeric date format for cs_CZ locale 2016-06-21 14:15:46 -07:00
vantu5z
be1bf15964 Ru.po merged with new template 2016-06-21 11:20:11 +03:00