66 Commits

Author SHA1 Message Date
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
Benny Malengier
040edcc27e 4398: [GEDCOM] Import Father AND Mother ages on a family event, does not check gender.
svn: r17631
2011-05-30 21:03:31 +00:00
Jérôme Rapinat
fe50ed38db 4455: Family Tree Maker now uses 'FTM' gedcom header
svn: r17163
2011-04-20 10:39:33 +00:00
Benny Malengier
82f955011f 4455: Gramps crashes when selecting Events due to PHON in GEDCOM
svn: r17162
2011-04-20 10:26:26 +00:00
Michiel Nauta
2b72a71a6e 4416: Adjust import ID to users ID format
svn: r16791
2011-03-09 16:22:05 +00:00
Jérôme Rapinat
5cb86e70a5 4692, 4519, 4390: try to avoid empty event types with a better support for web addresses on individual
svn: r16748
2011-03-03 09:27:07 +00:00
Michiel Nauta
45b99dabd2 4666: GEDCOM import into a black database crashes trunk, OK with 3.2.5
svn: r16692
2011-02-22 08:04:04 +00:00
Benny Malengier
752d594571 4198: Person view does not remove a row correctly when two people are merged.
This patch improves on the context changes:
 * avoid use of transaction_xx methods
 * force an abort in case of unclean transaction

Backward compatibility is broken to achieve this.


svn: r16680
2011-02-20 10:52:06 +00:00
Benny Malengier
6d596ad987 4198: Person view does not remove a row correctly when two people are merged.
This is a major patch by Michael Nauta. It means all writes happen immediately to bsddb, and the bsddb 
rollback is used on a crash. Transaction is no longer used to store changes and do them on commit.
Undo database is set on end. 
At the same time with statement is used throughout for transactions
At the same time, the original bug in merge code should be fixed
Still some issues, that will be ironed out


svn: r16523
2011-01-31 21:54:58 +00:00
Gerald Britton
adf976821f Remove unneeded line continuations and tidy up
svn: r16472
2011-01-25 18:47:12 +00:00
Jérôme Rapinat
cd57fa0a17 4530: typo
svn: r16375
2011-01-13 14:15:48 +00:00
Jérôme Rapinat
5a67169652 4530: Gedcom import looses custom family event description
svn: r16374
2011-01-13 10:49:06 +00:00
Peter Landgren
6c4a6f4d05 Issue 4515, allow only 09, 0A, 0D in GEDCOM input.
svn: r16340
2011-01-05 18:11:50 +00:00
Jérôme Rapinat
e471c4d08e 4345: TIME on eventdate
svn: r16186
2010-11-12 14:05:38 +00:00
Jérôme Rapinat
27ef9f5cdc 4345: TIME on eventdate
svn: r16183
2010-11-12 10:19:51 +00:00
Jérôme Rapinat
6c5dbdea07 4345: add _TIME token
svn: r16179
2010-11-11 15:48:04 +00:00
Jérôme Rapinat
b43e13d6c4 4345: custom TIME on eventdate
svn: r16178
2010-11-11 14:55:36 +00:00
Nick Hall
bc3ceaf5dc Fix problems with importing phone numbers and add support for email and web addresses
svn: r16086
2010-10-30 21:01:32 +00:00
Nick Hall
862f66f77d Fix problem with duplicate places on import
svn: r16083
2010-10-29 23:21:08 +00:00
Nick Hall
9c14d3b487 GEPS 006: Add Locality to researcher
svn: r16082
2010-10-29 23:11:08 +00:00
Nick Hall
9df5336fde GEPS 006: Add Locality to Address and GEDCOM Import/Export
svn: r16071
2010-10-28 17:55:15 +00:00
Benny Malengier
e109e3d743 Merged geps21 branch, changes r15866-16034, into trunk
svn: r16035
2010-10-24 14:43:47 +00:00