87 Commits

Author SHA1 Message Date
Vassilii Khachaturov
429c18af6a 6380: GEDCOM export error for family _UID
Applying patch from 2013-12-24 by Enno Borgsteede,
fixing attribute processing on the path that handled _UID
and adding another extension, _FSFTID.
2013-12-30 10:42:01 +02:00
Doug Blank
f80033f36a Ignore meaningless @IDENT@ on CONT or CONC line as detailed at http://www.tamurajones.net/IdentCONT.xhtml
svn: r23082
2013-09-10 16:54:24 +00:00
Tim G L Lyons
c21d88ce89 0000860: GEDCOM: Space in gramps id fails to properly export/import
svn: r22499
2013-06-13 18:06:10 +00:00
Tim G L Lyons
ecd7637d27 0006541: Gramps crashes during import gedcom. Ignore empty ALIA alias name.
svn: r22296
2013-05-14 15:42:08 +00:00
Tim G L Lyons
7effc7980b 0006394: GEDCOM import errors truncated too much. Error message extended to 66 chars as suggested (and continuation lines formatted to fall under initial line)
svn: r22293
2013-05-14 15:02:00 +00:00
Tim G L Lyons
d2dbe4427d Exportgedcom and importgedcom. 0006382: ADDR tag in GEDCOM export does not contain a full address. On export, all the elements of the structured address are output as ADDR/CONT. On import the structured address takes precedence (as at present), but a warning is only given if an element in the free-form address is missing from the structured address.
svn: r21608
2013-03-11 18:44:01 +00:00
Tim G L Lyons
dcf5132124 0006507: GEDCOM import: Repositories not imported correctly from FTM for Windows and Heredis
svn: r21569
2013-03-06 17:41:15 +00:00
Gary Burton
7004ce9033 Fix some memory leaks, some still remain.
svn: r21286
2013-02-03 17:48:36 +00:00
Tim G L Lyons
269f6e60ae 0006069: GEDCOM import does not generally support MULTIMEDIA_LINKs in the embedded form
svn: r20450
2012-09-25 18:15:13 +00:00
Tim G L Lyons
82bfe43483 0006061: GEDCOM import: link from FAM to child but missing link from child to FAM causes inconsistent displays. Fixed in GEDCOM import, importxml and Check and repair. (Also minor fixes for improved diagnostics when importxml just completely fails and for exportxml illegal characters in mime_type).
svn: r20438
2012-09-23 22:28:34 +00:00
Peter Landgren
653ce7c2fc Issue 5964, UTF16reader returned str, shoul be unicode.
svn: r20200
2012-08-11 08:40:44 +00:00
Michiel Nauta
75d54125db 5466: On import and Check and Repair need to check references to absent objects
svn: r19327
2012-04-14 12:19:00 +00:00
Tim G L Lyons
1ab0f4276d GEDCOM import: IdMapper can sometimes be passed @F2002@ and sometimes F2002. These were not mapping to the same swapped Gramps Id.(Partly a consequence of revision 19053).
svn: r19094
2012-03-19 16:04:31 +00:00
Tim G L Lyons
8c59cddc52 0005608: GEDCOM import ignores leading 0's in INDI ID's
svn: r19055
2012-03-13 17:45:26 +00:00
Tim G L Lyons
9c4f7b7e0a 0005620: Export name types to GEDCOM. Patch extended following testing against various GEDCOM files from the internet.
svn: r19053
2012-03-13 17:09:08 +00:00
Tim G L Lyons
53f8250d30 0005606: GEDCOM import: NOTE_RECORD is not handled properly
svn: r18991
2012-03-02 17:40:21 +00:00
Tim G L Lyons
899e911fef 0005605: GEDCOM inport: Embedded from of MULTIMEDIA_LINK in INDIVIDUAL_RECORD does not use IdMapper
svn: r18989
2012-03-02 17:10:19 +00:00
Tim G L Lyons
e6849bd417 GEDCOM import: if a default source is created, attached date data for submitters was incorrectly stored as a Date object when it should be text.
svn: r18946
2012-02-21 15:49:30 +00:00
Tim G L Lyons
e06243c372 GEDCOM import: error handling code moved to one place (no change to effect)
svn: r18934
2012-02-19 16:42:53 +00:00
Tim G L Lyons
127cfa3a81 0005202: Failed gedcom file import. Dates too far in the future give OverflowError, allow for this exception.
svn: r18932
2012-02-19 16:18:26 +00:00
Tim G L Lyons
a80e19854e GEDCOM import. Fix parsing of ALIA (alias) tag, if it is a reference to another person, store the reference in the association secondary object
svn: r18930
2012-02-19 15:57:20 +00:00
Tim G L Lyons
edaea54a84 GEDCOM import: make generated GEDCOM notes monospaced
svn: r18916
2012-02-17 18:00:31 +00:00
Jérôme Rapinat
f97a4f4511 2356: add comments about genitive form issues under some locales
svn: r18915
2012-02-17 16:51:40 +00:00
Tim G L Lyons
65cd98be62 Typo (inconsistent warning note titles)
svn: r18905
2012-02-17 00:34:59 +00:00
Tim G L Lyons
83ae6bb74b GEDCOM Import
0005456: Default log level after installation results in disk being filled on import (various problems manifested by geni.com data)
0005030: Remove warning of libgedcom.py from family tree builder (_UID, RIN, EMAIL and WWW from FTB)
0003553: Import media files from GEDCOM (web located media for geni.com)

* Add EMAIl and WWW for RESI events (for FamilyTreeMaker)
* Detect missing FORM or FILE for Multimedia objects and produce warning reports (FORM and FILE are mandatory for GEDCOM, but are difficult to locate without messages) (for geni.com imports among others)
* Handle multimedia images that are given by web addresses (for geni.com imports among others)
* Produce warning reports when DATE, TYPE and PLACe are ignored for the event details of attributes
* Handle change date/time on notes  (for geni.com imports among others)

svn: r18903
2012-02-17 00:12:44 +00:00
Jérôme Rapinat
c6b9e660f6 1571: use translated strings
svn: r18878
2012-02-14 12:15:33 +00:00
Jérôme Rapinat
f505317b4d 1571: use translated strings
svn: r18874
2012-02-13 18:03:14 +00:00
Tim G L Lyons
9e34031bcf Support _MAR as tag for married name for geni.com (similarly to existing _MARNM). This is related to 0005456: Default log level after installation results in disk being filled on import.
svn: r18863
2012-02-11 18:55:53 +00:00
Tim G L Lyons
5800f46518 0003553: Import media files from GEDCOM (part fix). 0005456: Default log level after installation results in disk being filled on import (part fix). Don't give error messages if the imported media file is an http URL (instead of a local file). Note that the double slash in 'http://" is still stored as a single slash.
svn: r18862
2012-02-11 18:34:52 +00:00
Tim G L Lyons
7e3415accb 0005030: Remove warning of libgedcom.py from family tree builder. Handle RIN and _UID on events.
svn: r18861
2012-02-11 18:16:18 +00:00
Tim G L Lyons
82dd340047 0005042: Import Gedcom : Address. There can be problems if the place structure creates a main location (any subsequent address structure will overwrite the main location) or if an ADDR tag is encountered before the PLAC tag (the place will create a new place, and the data already created for the ADDR will become an orphan).
svn: r18855
2012-02-10 23:47:33 +00:00
Tim G L Lyons
3d071f8b33 pylint improvements
svn: r18846
2012-02-10 19:16:15 +00:00
Tim G L Lyons
249c5dc46b 0002172: Warnings on GEDCOM import. Improve compatibility with standard GEDCOM. Issue warning if both ADDR and ADR1 are supplied, as only one is stored. Store attributes more consistently: store person RIN and REFN:TYPE. Store family REFN:TYPE and RIN. Store source RIN. Fix parsing of HEAD, so that detection and storing of software product and version is not dependant on the sequence in which the tags are encountered. Fix processing of 'Submitter' so that if more than one, the correct one is stored as the researcher. Issue warning when various elements are ignored. Fix level of parsing of top level notes. Also process more of the HEAD header so that if the option for adding a default source on import is set, most of the header is stored as attributes etc. of the default source (the submitter(s) are stored as repositories).
svn: r18841
2012-02-10 00:13:17 +00:00
Tim G L Lyons
108e048a5f 0001571: Option on import to preserve Non-standard data from GEDCOM files (currently discarded without notice). Change the generated NoteType to GEDCOM import.
svn: r18832
2012-02-06 22:46:37 +00:00
Tim G L Lyons
be08c38207 GEDCOM import remove debug outputs (also a few extra comments)
svn: r18827
2012-02-05 23:35:59 +00:00
Tim G L Lyons
79ca4f32d3 0005553: GEDCOM import does not import references to repositories. rid_map was not being used. Also removed redundant code in __find_or_create_repository()
svn: r18826
2012-02-05 17:51:09 +00:00
Tim G L Lyons
371f6ca414 GEDCOM import. Minor fix for reporting of top level errors.
svn: r18825
2012-02-05 15:55:17 +00:00
Tim G L Lyons
b6df7d2a49 GEDCOM import. Fix handling of notes. Notes could get duplicate Gramps IDs. If a note was going to be assigned the next Gramps ID, then there was no check whether the Gramps ID had already been allocated to a note that had been encountered as a linked note, but not yet committed. Also handle change date and time for notes. Also media objects attached to a source citation were parsed with the wrong level, so they swallowed the following tags (this had been a problem with the previous source references processing).
svn: r18824
2012-02-05 15:38:32 +00:00
Tim G L Lyons
fc74ba6f6e GEPS 023: Citations: GEDCOM import was not working if Preferences->General->'Add default source on import' was set.
svn: r18818
2012-02-03 11:15:42 +00:00
Tim G L Lyons
142c6c69cf Added a report for GEDCOM import showing lines that were not imported, and build notes containing the unimported data. The notes are attached, where possible, to appropriate objects.
This resolves the following two issues:
0001371: source record ignores useful DATA block
0001571: Option on import to preserve Non-standard data from GEDCOM files (currently discarded without notice)

svn: r18815
2012-02-02 23:02:18 +00:00
Tim G L Lyons
b79e930770 Added comments for the level 0 parsing to clarify signposts in the code.
svn: r18808
2012-02-01 22:14:47 +00:00
Tim G L Lyons
3b42cdf51f 0005501: Gedcom with embedded and linked notes creates duplicate IDs. The translate parameter is removed from IdMapper, so that IDs are always translated. This still means that import attempts to preserve the IDs in the GEDCOM file (unless there are collisions).
svn: r18803
2012-01-31 18:25:17 +00:00
Tim G L Lyons
26733443fb 0002918: Add Gedcom EVENT_TYPE_CITED_FROM and ROLE_IN_EVENT in relation with Source Citation Fields. These are added as data elements with keys EVEN and EVEN:ROLE respectively.
svn: r18780
2012-01-27 20:59:35 +00:00
Tim G L Lyons
c833073ba6 GEPS023: merge branch (changes 17960-18546) into trunk
svn: r18548
2011-12-04 17:09:17 +00:00
Tim G L Lyons
6cb761b010 Merged trunk r18398 through r18497 into geps023.
Conflicts resolved in:
    NarrativeWeb.py


svn: r18498
2011-11-24 18:15:53 +00:00
Michiel Nauta
bc33f7146a 5335: Failure loading Geni.com GedCom into Gramps 3.3.1
svn: r18493
2011-11-23 18:29:35 +00:00
Tim G L Lyons
6ee1af893f [ImportGedcom] libgedcom upgraded for citations
svn: r18415
2011-11-08 17:13:59 +00:00
Peter Landgren
95c5872126 Fix of issue 5282, white spaces should be kept.
svn: r18252
2011-10-06 16:48:36 +00:00
Michiel Nauta
2a10453af0 5046: GEDCOM import fails on aka name
svn: r17838
2011-06-27 15:20:56 +00:00
Michiel Nauta
7ff20332ac 4856: Gedcom import of empty note leads to invalid database
svn: r17766
2011-06-13 08:25:31 +00:00