37 Commits

Author SHA1 Message Date
Michiel Nauta
2942c94c94 4856: Gedcom import of empty note leads to invalid database
svn: r17767
2011-06-13 08:27:07 +00:00
Benny Malengier
1f4f650246 4398: [GEDCOM] Import Father AND Mother ages on a family event, does not check gender.
svn: r17630
2011-05-30 21:03:20 +00:00
Benny Malengier
e16c4f003d 4455: Gramps crashes when selecting Events due to PHON in GEDCOM
svn: r17160
2011-04-20 10:23:13 +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
Benny Malengier
ee91b33a43 gedcom import export for new name structure
svn: r16022
2010-10-22 14:20:01 +00:00
Peter Landgren
4847525995 Issue 4293, problems with LagecyGedcom and empty events.
svn: r15997
2010-10-15 17:56:37 +00:00
Doug Blank
1a6da114fc 4190: Gedcom import: All my internet addresses are missing...
svn: r15796
2010-08-22 13:35:51 +00:00
Peter Landgren
2543cc32fe Fix of issue 3840.
svn: r15103
2010-04-13 07:34:44 +00:00
Benny Malengier
910d34c330 Solving connected date bugs
3390: Date module that reads calendar on Gedcom file format, cannot read the @
3763: dates parsed wrong
3754: Active markup for invalid date on Event View
Some other bugs might be fixed by these changes


svn: r14922
2010-03-24 16:05:42 +00:00
Gary Burton
6d96f92a00 Improve GEDCOM round trip by parsing SOUR and NOTE tokens for FACT attributes. Gramps was previously exporting this data but ignoring it on import.
svn: r14523
2010-02-28 16:18:47 +00:00
Gary Burton
24bf1c6434 Fix GEDCOM import of CHAN for SOUR, REPO, OBJE. Bug 3373.
svn: r14513
2010-02-28 12:28:49 +00:00
Rob G. Healey
36a91b6cb9 Changed some formatted strings to named variables for 'make distcheck' to work properly.
svn: r14483
2010-02-25 15:52:32 +00:00
Gerald Britton
8f0582df8a Use built-in functions to replace for loops:
Old code:

for x in y:
  f(x)

New Code:

map(f, y)

Also use defaultdict instead of simple dict when advantageous and use list comprehensions
instead of for loops where map() could be used but requires lambdas.


svn: r14135
2010-01-25 17:45:21 +00:00
Brian Matherly
c9cb7e60c9 Move GEDCOM date functions into libgedcom.
svn: r14125
2010-01-25 04:54:22 +00:00
Brian Matherly
cd30f4db2f Continued work on GEP008: move src/Mime to src/gen/mime.
svn: r14118
2010-01-24 20:17:14 +00:00
Brian Matherly
f04880ec09 Move gettext, ngettext and sgettext calls into the new ggettext module. All of them return unicode all of the time.
svn: r14091
2010-01-18 04:42:17 +00:00
Brian Matherly
47ea087ab6 Continued work on GEP008: Move contents of ansel_utf8.py into libgedcom.py since that is the only place it is used.
svn: r14075
2010-01-14 05:45:51 +00:00
Brian Matherly
252ef6daee Continued work on GEP008: Move BasicUtils/UpdateCallback.py to gen/updatecallback.py.
svn: r14025
2010-01-10 20:21:10 +00:00
Gerald Britton
2b12f3df07 Use defaultdict type where possible for minor performance gain and source code simplification
svn: r14011
2010-01-09 19:54:32 +00:00
Brian Matherly
4838650df4 Move _GedcomParse.py to src/plugins/lib/libgedcom.py. Remove GrampsDbUtils.
svn: r13940
2009-12-29 19:20:16 +00:00