From: Peter Verthez Date: Tue, 14 Jan 2003 20:15:00 +0000 (+0000) Subject: Reworked compatibility computation. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=abda83ad355fff5c6878a3dd6ad600de0d68d416;p=gedcom-parse.git Reworked compatibility computation. --- diff --git a/t/output/compat-ftree.ref b/t/output/compat-ftree.ref index 1e42d77..9e0b8a1 100644 --- a/t/output/compat-ftree.ref +++ b/t/output/compat-ftree.ref @@ -1,10 +1,10 @@ === Parsing file compat-ftree.ged Header start -WARNING: Warning on line 2: Enabling compatibility with 'ftree' Source is ftree (ctxt is 1001, parent is 1) == 2 VERS (391) 1.5 (ctxt is 1001, conversion failures: 0) == 2 NAME (342) Ftree for Linux (ctxt is 1001, conversion failures: 0) +WARNING: Warning on line 4: Enabling compatibility with 'ftree' Source context 1001 in parent 1 == 1 DATE (306) 28 Aug 2000 (ctxt is 1, conversion failures: 0) == 2 TIME (387) 23:38 (ctxt is 1, conversion failures: 0) @@ -1061,10 +1061,10 @@ Rec SOUR start, xref is @S0001@ === Parsing file compat-ftree.ged Header start -WARNING: Warning on line 2: Enabling compatibility with 'ftree' Source is ftree (ctxt is 1001, parent is 1) == 2 VERS (391) 1.5 (ctxt is 1001, conversion failures: 0) == 2 NAME (342) Ftree for Linux (ctxt is 1001, conversion failures: 0) +WARNING: Warning on line 4: Enabling compatibility with 'ftree' Source context 1001 in parent 1 == 1 DATE (306) 28 Aug 2000 (ctxt is 1, conversion failures: 0) == 2 TIME (387) 23:38 (ctxt is 1, conversion failures: 0) diff --git a/t/output/compat-lifelines.ref b/t/output/compat-lifelines.ref index 51ace77..6c1f5e9 100644 --- a/t/output/compat-lifelines.ref +++ b/t/output/compat-lifelines.ref @@ -1,8 +1,8 @@ === Parsing file compat-lifelines.ged Header start -WARNING: Warning on line 2: Enabling compatibility with 'Lifelines' Source is LIFELINES 3.0.2 (ctxt is 1001, parent is 1) +WARNING: Warning on line 2: Enabling compatibility with 'Lifelines' Source context 1001 in parent 1 == 1 DEST (310) ANY (ctxt is 1, conversion failures: 0) == 1 DATE (306) 1 JUL 1997 (ctxt is 1, conversion failures: 0) @@ -100,8 +100,8 @@ Contents of the date_value: === Parsing file compat-lifelines.ged Header start -WARNING: Warning on line 2: Enabling compatibility with 'Lifelines' Source is LIFELINES 3.0.2 (ctxt is 1001, parent is 1) +WARNING: Warning on line 2: Enabling compatibility with 'Lifelines' Source context 1001 in parent 1 == 1 DEST (310) ANY (ctxt is 1, conversion failures: 0) == 1 DATE (306) 1 JUL 1997 (ctxt is 1, conversion failures: 0) diff --git a/t/output/compat-paf.ref b/t/output/compat-paf.ref index 7f9fc57..2265afe 100644 --- a/t/output/compat-paf.ref +++ b/t/output/compat-paf.ref @@ -1,7 +1,6 @@ === Parsing file compat-paf.ged Header start -WARNING: Warning on line 2: Enabling compatibility with 'Personal Ancestral File' Source is PAF (ctxt is 1001, parent is 1) == 2 NAME (342) Personal Ancestral File (ctxt is 1001, conversion failures: 0) == 2 VERS (391) 5.1.12.0 (ctxt is 1001, conversion failures: 0) @@ -9,6 +8,7 @@ Source is PAF (ctxt is 1001, parent is 1) == 3 ADDR (266) 50 East North Temple Street (ctxt is 1001, conversion failures: 0) == 4 CONT (300) Salt Lake City, UT 84150 (ctxt is 1001, conversion failures: 0) == 4 CONT (300) USA (ctxt is 1001, conversion failures: 0) +WARNING: Warning on line 8: Enabling compatibility with 'Personal Ancestral File' Source context 1001 in parent 1 == 1 DEST (310) Other (ctxt is 1, conversion failures: 0) == 1 DATE (306) 20 Dec 2002 (ctxt is 1, conversion failures: 0) @@ -104,7 +104,6 @@ Rec REPO start, xref is @REPO1@ === Parsing file compat-paf.ged Header start -WARNING: Warning on line 2: Enabling compatibility with 'Personal Ancestral File' Source is PAF (ctxt is 1001, parent is 1) == 2 NAME (342) Personal Ancestral File (ctxt is 1001, conversion failures: 0) == 2 VERS (391) 5.1.12.0 (ctxt is 1001, conversion failures: 0) @@ -112,6 +111,7 @@ Source is PAF (ctxt is 1001, parent is 1) == 3 ADDR (266) 50 East North Temple Street (ctxt is 1001, conversion failures: 0) == 4 CONT (300) Salt Lake City, UT 84150 (ctxt is 1001, conversion failures: 0) == 4 CONT (300) USA (ctxt is 1001, conversion failures: 0) +WARNING: Warning on line 8: Enabling compatibility with 'Personal Ancestral File' Source context 1001 in parent 1 == 1 DEST (310) Other (ctxt is 1, conversion failures: 0) == 1 DATE (306) 20 Dec 2002 (ctxt is 1, conversion failures: 0)