diff --git a/.gitattributes b/.gitattributes index cb4038184..a900e7f93 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,15 +1,15 @@ -# Make Github recognise Gramps as a Python project, -# by marking .sql files as text files! -# See: https://github.com/github/linguist/issues/2462 -# https://github.com/github/linguist/blob/master/README.md -*.sql linguist-language=txt - -# Have Github ignore js vendored files. -# https://github.com/gramps-project/gramps/tree/master/data/javascript -#data/javascript/*.js linguist-vendored - -# don't mess with line endings for Gedcom files -*.ged binary -*.GED binary - -*.csv -text +# Make Github recognise Gramps as a Python project, +# by marking .sql files as text files! +# See: https://github.com/github/linguist/issues/2462 +# https://github.com/github/linguist/blob/master/README.md +*.sql linguist-language=txt + +# Have Github ignore js vendored files. +# https://github.com/gramps-project/gramps/tree/master/data/javascript +#data/javascript/*.js linguist-vendored + +# don't mess with line endings for test files +*.vcs -text +*.ged -text +*.GED -text +*.csv -text diff --git a/data/tests/exp_sample.gramps b/data/tests/exp_sample.gramps new file mode 100644 index 000000000..24fd480c1 Binary files /dev/null and b/data/tests/exp_sample.gramps differ diff --git a/data/tests/exp_sample.gw b/data/tests/exp_sample.gw new file mode 100644 index 000000000..c9180e96f --- /dev/null +++ b/data/tests/exp_sample.gw @@ -0,0 +1,103 @@ +fam Smith Gustaf.0 +27/11/1885 #mp Rønne,_Bornholm,_Denmark Hansdotter Anna.1 2/10/1864 #bp Löderup,_Malmöhus_Län,_Sweden 29/9/1945 #dp Sparks,_Washoe_Co.,_NV +beg +- f Kirsti_Marie.2 15/12/1886 #bp Rønne,_Bornholm,_Denmark 18/7/1966 #dp San_Francisco,_San_Francisco_Co.,_CA +- f Astrid_Shermanna_Augusta.3 31/1/1889 #bp Rønne,_Bornholm,_Denmark 21/12/1963 #dp San_Francisco,_San_Francisco_Co.,_CA +- h Hjalmar.4 31/1/1893 #bp Rønne,_Bornholm,_Denmark 25/9/1894 #dp Rønne,_Bornholm,_Denmark +- h Hjalmar.5 7/4/1895 #bp Rønne,_Bornholm,_Denmark 26/6/1975 #dp Reno,_Washoe_Co.,_NV +- h Gus.6 11/9/1897 #bp Rønne,_Bornholm,_Denmark 21/10/1963 #dp San_Francisco,_San_Francisco_Co.,_CA +- h Carl_Emil.7 20/12/1899 #bp Rønne,_Bornholm,_Denmark 28/1/1959 #dp Reno,_Washoe_Co.,_NV +- h Hans_Peter.8 17/4/1904 #bp Rønne,_Bornholm,_Denmark 29/1/1977 #dp San_Francisco,_San_Francisco_Co.,_CA +end + +notes Smith Hjalmar.5 +beg +BIOGRAPHY + +Hjalmar sailed from Copenhagen, Denmark on the OSCAR II, 14 November 1912 arriving in New York 27 November 1912. He was seventeen years old. On the ship passenger list his trade was listed as a Blacksmith. He came to Reno, Nevada and lived with his sister Marie for a time before settling in Sparks. He worked for Southern Pacific Railroad as a car inspector for a time, then went to work for Standard Oil +Company. He enlisted in the army at Sparks 7 December 1917 and served as a Corporal in the Medical Corp until his discharge 12 August 1919 at the Presidio in San Francisco, California. Both he and Marjorie are buried in the Masonic Memorial Gardens Mausoleum in Reno, he the 30th June 1975, and she the 25th of June 1980. +end notes + +fam Smith Lloyd.9 +10/8/1958 #mp San_Francisco,_San_Francisco_Co.,_CA Green Janis_Elaine.10 2/12/1935 +beg +- h Eric_Lloyd.11 28/8/1963 #bp San_Francisco,_San_Francisco_Co.,_CA +- h Keith_Lloyd.12 11/8/1966 #bp San_Francisco,_San_Francisco_Co.,_CA +- h Craig_Peter.13 >1966 #bp San_Francisco,_San_Francisco_Co.,_CA +end + +fam Smith Hans_Peter.8 + #nm Jones Lillie_Harriet.14 2/5/1910 #bp Rønne,_Bornholm,_Denmark 26/6/1990 +beg +- h Lloyd.9 13/3/1935 #bp San_Francisco,_San_Francisco_Co.,_CA +end + +fam Smith Hans_Peter.8 + #nm Anderson Jennifer.15 5/11/1907 #bp Rønne,_Bornholm,_Denmark 29/5/1985 #dp San_Francisco,_San_Francisco_Co.,_CA + +fam Smith Martin.16 +~1816 #mp Gladsax,_Kristianstad_Län,_Sweden Jefferson Elna.17 14/9/1800 #bp Gladsax,_Kristianstad_Län,_Sweden #dp Sweden +beg +- f Hanna.18 29/1/1821 #bp Gladsax,_Kristianstad_Län,_Sweden 0 +- f Ingar.19 >1823 #bp Gladsax,_Kristianstad_Län,_Sweden 0 +- h Ingeman.20 29/1/1826 #bp Gladsax,_Kristianstad_Län,_Sweden 0 +- h Martin.21 19/11/1830 #bp Gladsax,_Kristianstad_Län,_Sweden 1899..1905 #dp Sweden +end + +notes Smith Martin.21 +beg +BIOGRAPHY +Martin was listed as being a Husman, (owning a house as opposed to a farm) in the house records of Gladsax. +end notes + +fam Nielsen Herman_Julius.22 31/8/1889 #bp Rønne,_Bornholm,_Denmark 1945 +30/11/1912 #mp Rønne,_Bornholm,_Denmark Smith Astrid_Shermanna_Augusta.3 +beg +- h 雪.23 Ke_柯 0 +end + +notes Ke_柯 雪.23 +beg +Some Unicode Characters: ࣶǼЀج⿄㑝㵋圛墉幵聟聦𐅉🚶🛈 +Some Bold Unicode Characters: ࣶǼЀج⿄㑝㵋圛墉幵聟聦𐅉🚶🛈 +Some Italic Unicode Characters: ࣶǼЀج⿄㑝㵋圛墉幵聟聦𐅉🚶🛈 +Some Unicode Characters: ࣶǼЀج⿄㑝㵋圛墉幵聟聦𐅉🚶🛈 +Some Bold Unicode Characters: ࣶǼЀج⿄㑝㵋圛墉幵聟聦𐅉🚶🛈 +Some Italic Unicode Characters: ࣶǼЀج⿄㑝㵋圛墉幵聟聦𐅉🚶🛈 +end notes + +fam Smith Gus.6 +~1920 Michaels Evelyn.24 ~1897 + +fam Smith Hjalmar.5 +31/10/1927 #mp Reno,_Washoe_Co.,_NV Ohman Marjorie.25 3/6/1903 #bp Denver,_Denver_Co.,_CO,_Denver_Co.,_Colorado,_USA 22/6/1980 #dp Reno,_Washoe_Co.,_NV +beg +- h John_Hjalmar.26 30/1/1932 #bp San_Francisco,_San_Francisco_Co.,_CA +- f Marjorie_Lee.27 4/11/1934 #bp Reno,_Washoe_Co.,_NV +end + +fam Smith John_Hjalmar.26 +4/6/1954 #mp Sparks,_Washoe_Co.,_NV Perkins Alice_Paula.28 22/11/1933 #bp Sparks,_Washoe_Co.,_NV +beg +- f Marjorie_Alice.29 5/2/1960 #bp San_Jose,_Santa_Clara_Co.,_CA +- h Edwin_Michael.30 24/5/1961 #bp San_Jose,_Santa_Clara_Co.,_CA +end + +fam Smith Eric_Lloyd.11 +12/7/1986 #mp Woodland,_Yolo_Co.,_CA Horne Darcy.31 2/7/1966 #bp Sacramento,_Sacramento_Co.,_CA +beg +- h Lars_Peter.32 16/9/1991 #bp Santa_Rosa,_Sonoma_Co.,_CA +end + +fam Smith Edwin_Michael.30 +27/5/1995 #mp San_Ramon,_Conta_Costa_Co.,_CA Adams Janice_Ann.33 26/8/1965 #bp Fremont,_Alameda_Co.,_CA +beg +- h Mason_Michael.34 26/6/1996 #bp Hayward,_Alameda_Co.,_CA +- f Amber_Marie.35 12/4/1998 #bp Hayward,_Alameda_Co.,_CA +end + +fam Smith Martin.21 +~1856 Hansdotter Kerstina.36 29/11/1832 #bp Smestorp,_Kristianstad_Län,_Sweden <1908 #dp Sweden +beg +- h Magnes.37 6/10/1858 #bp Simrishamn,_Kristianstad_Län,_Sweden 20/2/1910 #dp Rønne,_Bornholm,_Denmark +- h Emil.38 27/9/1860 #bp Simrishamn,_Kristianstad_Län,_Sweden 0 +- h Gustaf.0 28/11/1862 #bp Grostorp,_Kristianstad_Län,_Sweden <23/7/1930 #dp Sparks,_Washoe_Co.,_NV +end + +fam Smith Ingeman.39 ~1770 #bp Sweden 0 +~1790 #mp Sweden Ericsdotter Marta.40 ~1775 #bp Sweden 0 +beg +- h Martin.16 1794..1796 #bp Tommarp,_Kristianstad_Län,_Sweden #dp Sweden +end + +fam Willard Edwin.41 ~1886 +~1910 Smith Kirsti_Marie.2 + +fam Smith Magnes.37 +24/8/1884 #mp Rønne,_Bornholm,_Denmark Streiffert Anna.42 23/9/1860 #bp Hoya/Jona/Hoia,_Sweden 2/2/1927 #dp Rønne,_Bornholm,_Denmark + diff --git a/data/tests/exp_sample.vcf b/data/tests/exp_sample.vcf new file mode 100644 index 000000000..166e0adb9 --- /dev/null +++ b/data/tests/exp_sample.vcf @@ -0,0 +1,418 @@ +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Anna Hansdotter +N:Hansdotter;Anna;;; +SORT-STRING:Hansdotter Anna +X-GENDER:Female +BDAY:1864-10-02 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Keith Lloyd Smith +N:Smith;Keith;Lloyd;; +SORT-STRING:Smith Keith Lloyd +X-GENDER:Male +BDAY:1966-08-11 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Hans Peter Smith +N:Smith;Hans;Peter;; +SORT-STRING:Smith Hans Peter +X-GENDER:Male +BDAY:1904-04-17 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Hanna Smith +N:Smith;Hanna;;; +SORT-STRING:Smith Hanna +X-GENDER:Female +BDAY:1821-01-29 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Herman Julius Nielsen +N:Nielsen;Herman;Julius;; +SORT-STRING:Nielsen Herman Julius +X-GENDER:Male +BDAY:1889-08-31 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Evelyn Michaels +N:Michaels;Evelyn;;; +SORT-STRING:Michaels Evelyn +X-GENDER:Female +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Marjorie Lee Smith +N:Smith;Marjorie;Lee;; +SORT-STRING:Smith Marjorie Lee +X-GENDER:Female +BDAY:1934-11-04 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Gus Smith +N:Smith;Gus;;; +SORT-STRING:Smith Gus +X-GENDER:Male +BDAY:1897-09-11 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Jennifer Anderson +N:Anderson;Jennifer;;; +SORT-STRING:Anderson Jennifer +X-GENDER:Female +BDAY:1907-11-05 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Lillie Harriet Jones +N:Jones;Lillie;Harriet;; +SORT-STRING:Jones Lillie Harriet +X-GENDER:Female +BDAY:1910-05-02 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:John Hjalmar Smith +N:Smith;John;Hjalmar;; +SORT-STRING:Smith John Hjalmar +X-GENDER:Male +BDAY:1932-01-30 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Dr. Eric Lloyd Smith +N:Smith;Eric;Lloyd;Dr.; +SORT-STRING:Smith Eric Lloyd +X-GENDER:Male +BDAY:1963-08-28 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Amber Marie Smith +N:Smith;Amber;Marie;; +SORT-STRING:Smith Amber Marie +X-GENDER:Female +BDAY:1998-04-12 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Carl Emil Smith +N:Smith;Carl;Emil;; +SORT-STRING:Smith Carl Emil +X-GENDER:Male +BDAY:1899-12-20 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Hjalmar Smith +N:Smith;Hjalmar;;; +SORT-STRING:Smith Hjalmar +X-GENDER:Male +BDAY:1893-01-31 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Martin Smith +N:Smith;Martin;;; +SORT-STRING:Smith Martin +X-GENDER:Male +BDAY:1830-11-19 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Astrid Shermanna Augusta Smith +N:Smith;Astrid;Shermanna,Augusta;; +SORT-STRING:Smith Astrid Shermanna Augusta +X-GENDER:Female +BDAY:1889-01-31 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Gustaf Smith\, Sr. +N:Smith;Gustaf;;;Sr. +SORT-STRING:Smith Gustaf Sr. +X-GENDER:Male +BDAY:1862-11-28 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Marta Ericsdotter +N:Ericsdotter;Marta;;; +SORT-STRING:Ericsdotter Marta +X-GENDER:Female +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Kirsti Marie Smith +N:Smith;Kirsti;Marie;; +SORT-STRING:Smith Kirsti Marie +X-GENDER:Female +BDAY:1886-12-15 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Ingeman Smith +N:Smith;Ingeman;;; +SORT-STRING:Smith Ingeman +X-GENDER:Male +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Anna Streiffert +N:Streiffert;Anna;;; +SORT-STRING:Streiffert Anna +X-GENDER:Female +BDAY:1860-09-23 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Craig Peter Smith +N:Smith;Craig;Peter;; +SORT-STRING:Smith Craig Peter +X-GENDER:Male +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Magnes Smith +N:Smith;Magnes;;; +SORT-STRING:Smith Magnes +X-GENDER:Male +BDAY:1858-10-06 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Janice Ann Adams +N:Adams;Janice;Ann;; +SORT-STRING:Adams Janice Ann +X-GENDER:Female +BDAY:1965-08-26 +ROLE:Retail Manager +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Marjorie Ohman +N:Ohman;Marjorie;;; +SORT-STRING:Ohman Marjorie +X-GENDER:Female +BDAY:1903-06-03 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Darcy Horne +N:Horne;Darcy;;; +SORT-STRING:Horne Darcy +X-GENDER:Female +BDAY:1966-07-02 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Lloyd Smith +N:Smith;Lloyd;;; +SORT-STRING:Smith Lloyd +X-GENDER:Male +BDAY:1935-03-13 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Alice Paula Perkins +N:Perkins;Alice;Paula;; +SORT-STRING:Perkins Alice Paula +X-GENDER:Female +BDAY:1933-11-22 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Lars Peter Smith +N:Smith;Lars;Peter;; +SORT-STRING:Smith Lars Peter +X-GENDER:Male +BDAY:1991-09-16 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Elna Jefferson +N:Jefferson;Elna;;; +SORT-STRING:Jefferson Elna +X-GENDER:Female +BDAY:1800-09-14 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Edwin Michael Smith +N:Smith;Edwin;Michael;; +SORT-STRING:Smith Edwin Michael +X-GENDER:Male +BDAY:1961-05-24 +ROLE:Software Engineer +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Kerstina Hansdotter +N:Hansdotter;Kerstina;;; +SORT-STRING:Hansdotter Kerstina +X-GENDER:Female +BDAY:1832-11-29 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Martin Smith +N:Smith;Martin;;; +SORT-STRING:Smith Martin +X-GENDER:Male +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Ingeman Smith +N:Smith;Ingeman;;; +SORT-STRING:Smith Ingeman +X-GENDER:Male +BDAY:1826-01-29 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Marjorie Alice Smith +N:Smith;Marjorie;Alice;; +SORT-STRING:Smith Marjorie Alice +X-GENDER:Female +BDAY:1960-02-05 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Janis Elaine Green +N:Green;Janis;Elaine;; +SORT-STRING:Green Janis Elaine +X-GENDER:Female +BDAY:1935-12-02 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Mason Michael Smith +N:Smith;Mason;Michael;; +SORT-STRING:Smith Mason Michael +X-GENDER:Male +BDAY:1996-06-26 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Edwin Willard +N:Willard;Edwin;;; +SORT-STRING:Willard Edwin +X-GENDER:Male +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Ingar Smith +N:Smith;Ingar;;; +SORT-STRING:Smith Ingar +X-GENDER:Female +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Hjalmar Smith +N:Smith;Hjalmar;;; +SORT-STRING:Smith Hjalmar +X-GENDER:Male +BDAY:1895-04-07 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN +FN:Emil Smith +N:Smith;Emil;;; +SORT-STRING:Smith Emil +X-GENDER:Male +BDAY:1860-09-27 +END:VCARD + +BEGIN:VCARD +VERSION:3.0 +PRODID:-//Gramps//NONSGML Gramps 5.0.0-alpha1//EN diff --git a/data/tests/exp_sample.vcs b/data/tests/exp_sample.vcs new file mode 100644 index 000000000..061018cb6 --- /dev/null +++ b/data/tests/exp_sample.vcs @@ -0,0 +1,841 @@ +BEGIN:VCALENDAR +PRODID:-//GNU//Gramps//EN +VERSION:1.0 + +BEGIN:VEVENT +SUMMARY:Birth of Hansdotter, Anna +LOCATION:Löderup, Malmöhus Län, Sweden +DTSTART:18641002T000001 +DTEND:18641002T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Hansdotter, Anna +LOCATION:Löderup, Malmöhus Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20161002T000001 +DTEND:20161002T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Hansdotter, Anna +LOCATION:Sparks, Washoe Co., NV +DTSTART:19450929T000001 +DTEND:19450929T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Hansdotter, Anna +LOCATION:Sparks, Washoe Co., NV +RRULE:FREQ=YEARLY +DTSTART:20160929T000001 +DTEND:20160929T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Keith Lloyd +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19660811T000001 +DTEND:19660811T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Keith Lloyd +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160811T000001 +DTEND:20160811T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Hans Peter +LOCATION:Rønne, Bornholm, Denmark +DTSTART:19040417T000001 +DTEND:19040417T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Hans Peter +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160417T000001 +DTEND:20160417T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Smith, Hans Peter +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19770129T000001 +DTEND:19770129T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Smith, Hans Peter +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160129T000001 +DTEND:20160129T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Hanna +LOCATION:Gladsax, Kristianstad Län, Sweden +DTSTART:18210129T000001 +DTEND:18210129T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Hanna +LOCATION:Gladsax, Kristianstad Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20160129T000001 +DTEND:20160129T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Nielsen, Herman Julius +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18890831T000001 +DTEND:18890831T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Nielsen, Herman Julius +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160831T000001 +DTEND:20160831T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Marjorie Lee +LOCATION:Reno, Washoe Co., NV +DTSTART:19341104T000001 +DTEND:19341104T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Marjorie Lee +LOCATION:Reno, Washoe Co., NV +RRULE:FREQ=YEARLY +DTSTART:20161104T000001 +DTEND:20161104T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Gus +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18970911T000001 +DTEND:18970911T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Gus +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160911T000001 +DTEND:20160911T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Smith, Gus +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19631021T000001 +DTEND:19631021T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Smith, Gus +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20161021T000001 +DTEND:20161021T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Anderson, Jennifer +LOCATION:Rønne, Bornholm, Denmark +DTSTART:19071105T000001 +DTEND:19071105T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Anderson, Jennifer +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20161105T000001 +DTEND:20161105T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Anderson, Jennifer +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19850529T000001 +DTEND:19850529T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Anderson, Jennifer +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160529T000001 +DTEND:20160529T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Jones, Lillie Harriet +LOCATION:Rønne, Bornholm, Denmark +DTSTART:19100502T000001 +DTEND:19100502T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Jones, Lillie Harriet +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160502T000001 +DTEND:20160502T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Jones, Lillie Harriet +DTSTART:19900626T000001 +DTEND:19900626T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Jones, Lillie Harriet +RRULE:FREQ=YEARLY +DTSTART:20160626T000001 +DTEND:20160626T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, John Hjalmar +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19320130T000001 +DTEND:19320130T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, John Hjalmar +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160130T000001 +DTEND:20160130T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Eric Lloyd +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19630828T000001 +DTEND:19630828T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Eric Lloyd +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160828T000001 +DTEND:20160828T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Amber Marie +LOCATION:Hayward, Alameda Co., CA +DTSTART:19980412T000001 +DTEND:19980412T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Amber Marie +LOCATION:Hayward, Alameda Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160412T000001 +DTEND:20160412T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Carl Emil +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18991220T000001 +DTEND:18991220T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Carl Emil +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20161220T000001 +DTEND:20161220T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Smith, Carl Emil +LOCATION:Reno, Washoe Co., NV +DTSTART:19590128T000001 +DTEND:19590128T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Smith, Carl Emil +LOCATION:Reno, Washoe Co., NV +RRULE:FREQ=YEARLY +DTSTART:20160128T000001 +DTEND:20160128T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Hjalmar +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18930131T000001 +DTEND:18930131T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Hjalmar +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160131T000001 +DTEND:20160131T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Smith, Hjalmar +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18940925T000001 +DTEND:18940925T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Smith, Hjalmar +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160925T000001 +DTEND:20160925T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Martin +LOCATION:Gladsax, Kristianstad Län, Sweden +DTSTART:18301119T000001 +DTEND:18301119T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Martin +LOCATION:Gladsax, Kristianstad Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20161119T000001 +DTEND:20161119T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Astrid Shermanna Augusta +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18890131T000001 +DTEND:18890131T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Astrid Shermanna Augusta +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160131T000001 +DTEND:20160131T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Smith, Astrid Shermanna Augusta +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19631221T000001 +DTEND:19631221T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Smith, Astrid Shermanna Augusta +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20161221T000001 +DTEND:20161221T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Gustaf Sr. +LOCATION:Grostorp, Kristianstad Län, Sweden +DTSTART:18621128T000001 +DTEND:18621128T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Gustaf Sr. +LOCATION:Grostorp, Kristianstad Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20161128T000001 +DTEND:20161128T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Kirsti Marie +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18861215T000001 +DTEND:18861215T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Kirsti Marie +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20161215T000001 +DTEND:20161215T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Smith, Kirsti Marie +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19660718T000001 +DTEND:19660718T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Smith, Kirsti Marie +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160718T000001 +DTEND:20160718T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Streiffert, Anna +LOCATION:Hoya/Jona/Hoia, Sweden +DTSTART:18600923T000001 +DTEND:18600923T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Streiffert, Anna +LOCATION:Hoya/Jona/Hoia, Sweden +RRULE:FREQ=YEARLY +DTSTART:20160923T000001 +DTEND:20160923T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Streiffert, Anna +LOCATION:Rønne, Bornholm, Denmark +DTSTART:19270202T000001 +DTEND:19270202T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Streiffert, Anna +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160202T000001 +DTEND:20160202T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Magnes +LOCATION:Simrishamn, Kristianstad Län, Sweden +DTSTART:18581006T000001 +DTEND:18581006T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Magnes +LOCATION:Simrishamn, Kristianstad Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20161006T000001 +DTEND:20161006T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Smith, Magnes +LOCATION:Rønne, Bornholm, Denmark +DTSTART:19100220T000001 +DTEND:19100220T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Smith, Magnes +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160220T000001 +DTEND:20160220T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Adams, Janice Ann +LOCATION:Fremont, Alameda Co., CA +DTSTART:19650826T000001 +DTEND:19650826T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Adams, Janice Ann +LOCATION:Fremont, Alameda Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160826T000001 +DTEND:20160826T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Ohman, Marjorie +LOCATION:Denver, Denver Co., CO, Denver Co., Colorado, USA +DTSTART:19030603T000001 +DTEND:19030603T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Ohman, Marjorie +LOCATION:Denver, Denver Co., CO, Denver Co., Colorado, USA +RRULE:FREQ=YEARLY +DTSTART:20160603T000001 +DTEND:20160603T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Ohman, Marjorie +LOCATION:Reno, Washoe Co., NV +DTSTART:19800622T000001 +DTEND:19800622T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Ohman, Marjorie +LOCATION:Reno, Washoe Co., NV +RRULE:FREQ=YEARLY +DTSTART:20160622T000001 +DTEND:20160622T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Horne, Darcy +LOCATION:Sacramento, Sacramento Co., CA +DTSTART:19660702T000001 +DTEND:19660702T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Horne, Darcy +LOCATION:Sacramento, Sacramento Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160702T000001 +DTEND:20160702T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Lloyd +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19350313T000001 +DTEND:19350313T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Lloyd +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160313T000001 +DTEND:20160313T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Perkins, Alice Paula +LOCATION:Sparks, Washoe Co., NV +DTSTART:19331122T000001 +DTEND:19331122T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Perkins, Alice Paula +LOCATION:Sparks, Washoe Co., NV +RRULE:FREQ=YEARLY +DTSTART:20161122T000001 +DTEND:20161122T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Lars Peter +LOCATION:Santa Rosa, Sonoma Co., CA +DTSTART:19910916T000001 +DTEND:19910916T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Lars Peter +LOCATION:Santa Rosa, Sonoma Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160916T000001 +DTEND:20160916T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Jefferson, Elna +LOCATION:Gladsax, Kristianstad Län, Sweden +DTSTART:18000914T000001 +DTEND:18000914T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Jefferson, Elna +LOCATION:Gladsax, Kristianstad Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20160914T000001 +DTEND:20160914T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Edwin Michael +LOCATION:San Jose, Santa Clara Co., CA +DTSTART:19610524T000001 +DTEND:19610524T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Edwin Michael +LOCATION:San Jose, Santa Clara Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160524T000001 +DTEND:20160524T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Hansdotter, Kerstina +LOCATION:Smestorp, Kristianstad Län, Sweden +DTSTART:18321129T000001 +DTEND:18321129T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Hansdotter, Kerstina +LOCATION:Smestorp, Kristianstad Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20161129T000001 +DTEND:20161129T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Ingeman +LOCATION:Gladsax, Kristianstad Län, Sweden +DTSTART:18260129T000001 +DTEND:18260129T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Ingeman +LOCATION:Gladsax, Kristianstad Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20160129T000001 +DTEND:20160129T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Marjorie Alice +LOCATION:San Jose, Santa Clara Co., CA +DTSTART:19600205T000001 +DTEND:19600205T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Marjorie Alice +LOCATION:San Jose, Santa Clara Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160205T000001 +DTEND:20160205T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Green, Janis Elaine +DTSTART:19351202T000001 +DTEND:19351202T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Green, Janis Elaine +RRULE:FREQ=YEARLY +DTSTART:20161202T000001 +DTEND:20161202T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Mason Michael +LOCATION:Hayward, Alameda Co., CA +DTSTART:19960626T000001 +DTEND:19960626T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Mason Michael +LOCATION:Hayward, Alameda Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160626T000001 +DTEND:20160626T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Hjalmar +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18950407T000001 +DTEND:18950407T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Hjalmar +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160407T000001 +DTEND:20160407T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Death of Smith, Hjalmar +LOCATION:Reno, Washoe Co., NV +DTSTART:19750626T000001 +DTEND:19750626T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Death of Smith, Hjalmar +LOCATION:Reno, Washoe Co., NV +RRULE:FREQ=YEARLY +DTSTART:20160626T000001 +DTEND:20160626T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Birth of Smith, Emil +LOCATION:Simrishamn, Kristianstad Län, Sweden +DTSTART:18600927T000001 +DTEND:18600927T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Birth of Smith, Emil +LOCATION:Simrishamn, Kristianstad Län, Sweden +RRULE:FREQ=YEARLY +DTSTART:20160927T000001 +DTEND:20160927T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Marriage of Smith, Gustaf Sr. and Hansdotter, Anna +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18851127T000001 +DTEND:18851127T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Marriage of Smith, Gustaf Sr. and Hansdotter, Anna +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20161127T000001 +DTEND:20161127T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Marriage of Smith, Lloyd and Green, Janis Elaine +LOCATION:San Francisco, San Francisco Co., CA +DTSTART:19580810T000001 +DTEND:19580810T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Marriage of Smith, Lloyd and Green, Janis Elaine +LOCATION:San Francisco, San Francisco Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160810T000001 +DTEND:20160810T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Marriage of Nielsen, Herman Julius and Smith, Astrid Shermanna Augusta +LOCATION:Rønne, Bornholm, Denmark +DTSTART:19121130T000001 +DTEND:19121130T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Marriage of Nielsen, Herman Julius and Smith, Astrid Shermanna Augusta +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20161130T000001 +DTEND:20161130T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Marriage of Smith, Hjalmar and Ohman, Marjorie +LOCATION:Reno, Washoe Co., NV +DTSTART:19271031T000001 +DTEND:19271031T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Marriage of Smith, Hjalmar and Ohman, Marjorie +LOCATION:Reno, Washoe Co., NV +RRULE:FREQ=YEARLY +DTSTART:20161031T000001 +DTEND:20161031T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Marriage of Smith, John Hjalmar and Perkins, Alice Paula +LOCATION:Sparks, Washoe Co., NV +DTSTART:19540604T000001 +DTEND:19540604T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Marriage of Smith, John Hjalmar and Perkins, Alice Paula +LOCATION:Sparks, Washoe Co., NV +RRULE:FREQ=YEARLY +DTSTART:20160604T000001 +DTEND:20160604T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Marriage of Smith, Eric Lloyd and Horne, Darcy +LOCATION:Woodland, Yolo Co., CA +DTSTART:19860712T000001 +DTEND:19860712T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Marriage of Smith, Eric Lloyd and Horne, Darcy +LOCATION:Woodland, Yolo Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160712T000001 +DTEND:20160712T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Marriage of Smith, Edwin Michael and Adams, Janice Ann +LOCATION:San Ramon, Conta Costa Co., CA +DTSTART:19950527T000001 +DTEND:19950527T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Marriage of Smith, Edwin Michael and Adams, Janice Ann +LOCATION:San Ramon, Conta Costa Co., CA +RRULE:FREQ=YEARLY +DTSTART:20160527T000001 +DTEND:20160527T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Marriage of Smith, Magnes and Streiffert, Anna +LOCATION:Rønne, Bornholm, Denmark +DTSTART:18840824T000001 +DTEND:18840824T235959 +END:VEVENT + +BEGIN:VEVENT +SUMMARY:Anniversary: Marriage of Smith, Magnes and Streiffert, Anna +LOCATION:Rønne, Bornholm, Denmark +RRULE:FREQ=YEARLY +DTSTART:20160824T000001 +DTEND:20160824T235959 +END:VEVENT + +END:VCALENDAR diff --git a/data/tests/exp_sample_ged.ged b/data/tests/exp_sample_ged.ged new file mode 100644 index 000000000..97d8fc804 --- /dev/null +++ b/data/tests/exp_sample_ged.ged @@ -0,0 +1,1015 @@ +0 HEAD +1 SOUR Gramps +2 VERS GrampsAIO64-4.2.1-2 +2 NAME Gramps +1 DATE 20 JUN 2016 +2 TIME 16:47:18 +1 SUBM @SUBM@ +1 FILE C:\Users\prc\AppData\Roaming\gramps\temp\exp_sample_ged.ged +1 COPR Copyright (c) 2016 Alex Roitman,,,. +1 GEDC +2 VERS 5.5.1 +2 FORM LINEAGE-LINKED +1 CHAR UTF-8 +1 LANG English +0 @SUBM@ SUBM +1 NAME Alex Roitman,,, +1 ADDR Not Provided +2 ADR1 Not Provided +0 @I0000@ INDI +1 NAME Anna /Hansdotter/ +2 GIVN Anna +2 SURN Hansdotter +1 SEX F +1 BIRT +2 TYPE Birth of Anna Hansdotter +2 DATE 2 OCT 1864 +2 PLAC Löderup, Malmöhus Län, Sweden +1 DEAT +2 TYPE Death of Anna Hansdotter +2 DATE 29 SEP 1945 +2 PLAC Sparks, Washoe Co., NV +1 FAMS @F0003@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0001@ INDI +1 NAME Keith Lloyd /Smith/ +2 GIVN Keith Lloyd +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Keith Lloyd Smith +2 DATE 11 AUG 1966 +2 PLAC San Francisco, San Francisco Co., CA +1 FAMC @F0008@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0002@ INDI +1 NAME Amber Marie /Smith/ +2 GIVN Amber Marie +2 SURN Smith +1 SEX F +1 BIRT +2 TYPE Birth of Amber Marie Smith +2 DATE 12 APR 1998 +2 PLAC Hayward, Alameda Co., CA +1 CHR +2 TYPE Christening of Amber Marie Smith +2 DATE 26 APR 1998 +2 PLAC Community Presbyterian Church, Danville, CA +1 FAMC @F0013@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0003@ INDI +1 NAME Magnes /Smith/ +2 GIVN Magnes +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Magnes Smith +2 DATE 6 OCT 1858 +2 PLAC Simrishamn, Kristianstad Län, Sweden +1 DEAT +2 TYPE Death of Magnes Smith +2 DATE 20 FEB 1910 +2 PLAC Rønne, Bornholm, Denmark +1 FAMC @F0002@ +1 FAMS @F0011@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0004@ INDI +1 NAME Ingeman /Smith/ +2 GIVN Ingeman +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Ingeman Smith +2 DATE 29 JAN 1826 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 FAMC @F0000@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0005@ INDI +1 NAME Mason Michael /Smith/ +2 GIVN Mason Michael +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Mason Michael Smith +2 DATE 26 JUN 1996 +2 PLAC Hayward, Alameda Co., CA +1 CHR +2 TYPE Christening of Mason Michael Smith +2 DATE 10 JUL 1996 +2 PLAC Community Presbyterian Church, Danville, CA +1 FAMC @F0013@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0006@ INDI +1 NAME Edwin /Willard/ +2 GIVN Edwin +2 SURN Willard +1 SEX M +1 BIRT +2 TYPE Birth of Edwin Willard +2 DATE ABT 1886 +1 FAMS @F0004@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0007@ INDI +1 NAME Ingar /Smith/ +2 GIVN Ingar +2 SURN Smith +1 SEX F +1 BIRT +2 TYPE Birth of Ingar Smith +2 DATE AFT 1823 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 FAMC @F0000@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0008@ INDI +1 NAME Hjalmar /Smith/ +2 GIVN Hjalmar +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Hjalmar Smith +2 DATE 7 APR 1895 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Hjalmar Smith +2 DATE 26 JUN 1975 +2 PLAC Reno, Washoe Co., NV +1 BAPM +2 TYPE Baptism of Hjalmar Smith +2 DATE 3 JUN 1895 +2 PLAC Rønne Bornholm, Denmark +1 EVEN +2 TYPE Immi +2 DATE 14 NOV 1912 +2 PLAC Copenhagen, Denmark +1 FAMC @F0003@ +1 FAMS @F0006@ +1 NOTE @N0003@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0009@ INDI +1 NAME Emil /Smith/ +2 GIVN Emil +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Emil Smith +2 DATE 27 SEP 1860 +2 PLAC Simrishamn, Kristianstad Län, Sweden +1 FAMC @F0002@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0010@ INDI +1 NAME Hans Peter /Smith/ +2 GIVN Hans Peter +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Hans Peter Smith +2 DATE 17 APR 1904 +2 PLAC Rønne, Bornholm, Denmark +2 SOUR @S0002@ +3 PAGE 22 6 +3 DATA +4 DATE 5 MAY 1955 +1 DEAT +2 TYPE Death of Hans Peter Smith +2 DATE 29 JAN 1977 +2 PLAC San Francisco, San Francisco Co., CA +1 BURI +2 TYPE In cemetary +2 DATE 5 FEB 1977 +2 PLAC San Francisco, San Francisco Co., CA +2 SOUR @S0004@ +3 QUAY 2 +3 DATA +4 DATE 22 JUL 1977 +1 FAMC @F0003@ +1 FAMS @F0009@ +1 FAMS @F0014@ +1 CHAN +2 DATE 4 JUN 2016 +3 TIME 16:32:08 +0 @I0011@ INDI +1 NAME Hanna /Smith/ +2 GIVN Hanna +2 SURN Smith +1 SEX F +1 BIRT +2 TYPE Birth of Hanna Smith +2 DATE 29 JAN 1821 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 FAMC @F0000@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0012@ INDI +1 NAME Herman Julius /Nielsen/ +2 GIVN Herman Julius +2 SURN Nielsen +1 SEX M +1 BIRT +2 TYPE Birth of Herman Julius Nielsen +2 DATE 31 AUG 1889 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Herman Julius Nielsen +2 DATE 1945 +1 FAMS @F0005@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0013@ INDI +1 NAME Evelyn /Michaels/ +2 GIVN Evelyn +2 SURN Michaels +1 SEX F +1 BIRT +2 TYPE Birth of Evelyn Michaels +2 DATE ABT 1897 +1 FAMS @F0007@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0014@ INDI +1 NAME Marjorie Lee /Smith/ +2 GIVN Marjorie Lee +2 SURN Smith +1 SEX F +1 BIRT +2 TYPE Birth of Marjorie Lee Smith +2 DATE 4 NOV 1934 +2 PLAC Reno, Washoe Co., NV +1 FAMC @F0006@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0015@ INDI +1 NAME Gus /Smith/ +2 GIVN Gus +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Gus Smith +2 DATE 11 SEP 1897 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Gus Smith +2 DATE 21 OCT 1963 +2 PLAC San Francisco, San Francisco Co., CA +1 FAMC @F0003@ +1 FAMS @F0007@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0016@ INDI +1 NAME Jennifer /Anderson/ +2 GIVN Jennifer +2 SURN Anderson +1 SEX F +1 BIRT +2 TYPE Birth of Jennifer Anderson +2 DATE 5 NOV 1907 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Jennifer Anderson +2 DATE 29 MAY 1985 +2 PLAC San Francisco, San Francisco Co., CA +1 FAMS @F0014@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0017@ INDI +1 NAME Lillie Harriet /Jones/ +2 GIVN Lillie Harriet +2 SURN Jones +1 SEX F +1 BIRT +2 TYPE Birth of Lillie Harriet Jones +2 DATE 2 MAY 1910 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Lillie Harriet Jones +2 DATE 26 JUN 1990 +1 FAMS @F0009@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0018@ INDI +1 NAME John Hjalmar /Smith/ +2 GIVN John Hjalmar +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of John Hjalmar Smith +2 DATE 30 JAN 1932 +2 PLAC San Francisco, San Francisco Co., CA +1 FAMC @F0006@ +1 FAMS @F0012@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0019@ INDI +1 NAME Eric Lloyd /Smith/ +2 GIVN Eric Lloyd +2 SURN Smith +2 NPFX Dr. +1 SEX M +1 BIRT +2 TYPE Birth of Eric Lloyd Smith +2 DATE 28 AUG 1963 +2 PLAC San Francisco, San Francisco Co., CA +1 ADOP Y +2 FAMC @F0008@ +3 ADOP BOTH +1 FAMC @F0008@ +1 FAMS @F0010@ +1 CHAN +2 DATE 4 JUN 2016 +3 TIME 16:25:13 +0 @I0020@ INDI +1 NAME Carl Emil /Smith/ +2 GIVN Carl Emil +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Carl Emil Smith +2 DATE 20 DEC 1899 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Carl Emil Smith +2 DATE 28 JAN 1959 +2 PLAC Reno, Washoe Co., NV +2 CAUS Bad breath +1 FAMC @F0003@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0021@ INDI +1 NAME Hjalmar /Smith/ +2 GIVN Hjalmar +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Hjalmar Smith +2 DATE 31 JAN 1893 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Hjalmar Smith +2 DATE 25 SEP 1894 +2 PLAC Rønne, Bornholm, Denmark +1 FAMC @F0003@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0022@ INDI +1 NAME Martin /Smith/ +2 GIVN Martin +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Martin Smith +2 DATE 19 NOV 1830 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 DEAT +2 TYPE Death of Martin Smith +2 DATE BET 1899 AND 1905 +2 PLAC Sweden +1 BAPM +2 TYPE Baptism of Martin Smith +2 DATE 23 NOV 1830 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 FAMC @F0000@ +1 FAMS @F0002@ +1 NOTE @N0002@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0023@ INDI +1 NAME Astrid Shermanna Augusta /Smith/ +2 GIVN Astrid Shermanna Augusta +2 SURN Smith +1 SEX F +1 BIRT +2 TYPE Birth of Astrid Shermanna Augusta Smith +2 DATE 31 JAN 1889 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Astrid Shermanna Augusta Smith +2 DATE 21 DEC 1963 +2 PLAC San Francisco, San Francisco Co., CA +1 FAMC @F0003@ +1 FAMS @F0005@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0024@ INDI +1 NAME Gustaf /Smith/ Sr. +2 GIVN Gustaf +2 SURN Smith +2 NSFX Sr. +1 SEX M +1 BIRT +2 TYPE Birth of Gustaf Smith, Sr. +2 DATE 28 NOV 1862 +2 PLAC Grostorp, Kristianstad Län, Sweden +1 DEAT +2 TYPE Death of Gustaf Smith, Sr. +2 DATE BEF 23 JUL 1930 +2 PLAC Sparks, Washoe Co., NV +1 EVEN +2 TYPE Immi +2 DATE 21 MAY 1908 +2 PLAC Copenhagen, Denmark +1 CHR +2 TYPE Christening of Gustaf Smith, Sr. +2 DATE 7 DEC 1862 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 FAMC @F0002@ +1 FAMS @F0003@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0025@ INDI +1 NAME Marta /Ericsdotter/ +2 GIVN Marta +2 SURN Ericsdotter +1 SEX F +1 BIRT +2 TYPE Birth of Marta Ericsdotter +2 DATE ABT 1775 +2 PLAC Sweden +1 FAMS @F0001@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0026@ INDI +1 NAME Kirsti Marie /Smith/ +2 GIVN Kirsti Marie +2 SURN Smith +1 SEX F +1 BIRT +2 TYPE Birth of Kirsti Marie Smith +2 DATE 15 DEC 1886 +2 PLAC Rønne, Bornholm, Denmark +1 DEAT +2 TYPE Death of Kirsti Marie Smith +2 DATE 18 JUL 1966 +2 PLAC San Francisco, San Francisco Co., CA +1 FAMC @F0003@ +1 FAMS @F0004@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0027@ INDI +1 NAME Ingeman /Smith/ +2 GIVN Ingeman +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Ingeman Smith +2 DATE ABT 1770 +2 PLAC Sweden +1 FAMS @F0001@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0028@ INDI +1 NAME Anna /Streiffert/ +2 GIVN Anna +2 SURN Streiffert +1 SEX F +1 BIRT +2 TYPE Birth of Anna Streiffert +2 DATE 23 SEP 1860 +2 PLAC Hoya/Jona/Hoia, Sweden +1 DEAT +2 TYPE Death of Anna Streiffert +2 DATE 2 FEB 1927 +2 PLAC Rønne, Bornholm, Denmark +1 FAMS @F0011@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0029@ INDI +1 NAME Craig Peter /Smith/ +2 GIVN Craig Peter +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Craig Peter Smith +2 DATE AFT 1966 +2 PLAC San Francisco, San Francisco Co., CA +1 CENS +2 TYPE Census of Craig Peter Smith +2 NOTE @N0000@ +1 FAMC @F0008@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0030@ INDI +1 NAME Janice Ann /Adams/ +2 GIVN Janice Ann +2 SURN Adams +1 SEX F +1 BIRT +2 TYPE Birth of Janice Ann Adams +2 DATE 26 AUG 1965 +2 PLAC Fremont, Alameda Co., CA +1 OCCU Retail Manager +1 _DEG +2 TYPE Business Management +2 DATE 1988 +1 FAMS @F0013@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0031@ INDI +1 NAME Marjorie /Ohman/ +2 GIVN Marjorie +2 SURN Ohman +1 SEX F +1 BIRT +2 TYPE Birth of Marjorie Ohman +2 DATE 3 JUN 1903 +2 PLAC Denver, Denver Co., CO, Denver Co., Colorado, USA +3 MAP +4 LATI N39.7392 +4 LONG W104.9903 +2 ADDR +3 CITY Denver, Denver Co., CO +3 STAE Colorado +3 CTRY USA +1 DEAT +2 TYPE Death of Marjorie Ohman +2 DATE 22 JUN 1980 +2 PLAC Reno, Washoe Co., NV +1 FAMS @F0006@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0032@ INDI +1 NAME Darcy /Horne/ +2 GIVN Darcy +2 SURN Horne +1 SEX F +1 BIRT +2 TYPE Birth of Darcy Horne +2 DATE 2 JUL 1966 +2 PLAC Sacramento, Sacramento Co., CA +2 ADDR +3 CITY Sacramento, Sacramento Co., CA +1 FAMS @F0010@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0033@ INDI +1 NAME Lloyd /Smith/ +2 GIVN Lloyd +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Lloyd Smith +2 DATE 13 MAR 1935 +2 PLAC San Francisco, San Francisco Co., CA +1 FAMC @F0009@ +1 FAMS @F0008@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0034@ INDI +1 NAME Alice Paula /Perkins/ +2 GIVN Alice Paula +2 SURN Perkins +1 SEX F +1 BIRT +2 TYPE Birth of Alice Paula Perkins +2 DATE 22 NOV 1933 +2 PLAC Sparks, Washoe Co., NV +1 FAMS @F0012@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0035@ INDI +1 NAME Lars Peter /Smith/ +2 GIVN Lars Peter +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Lars Peter Smith +2 DATE 16 SEP 1991 +2 PLAC Santa Rosa, Sonoma Co., CA +1 ADOP Y +2 FAMC @F0010@ +3 ADOP BOTH +1 FAMC @F0010@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0036@ INDI +1 NAME Elna /Jefferson/ +2 GIVN Elna +2 SURN Jefferson +1 SEX F +1 BIRT +2 TYPE Birth of Elna Jefferson +2 DATE 14 SEP 1800 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 DEAT +2 TYPE Death of Elna Jefferson +2 PLAC Sweden +1 CHR +2 TYPE Christening of Elna Jefferson +2 DATE 16 SEP 1800 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 FAMS @F0000@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0037@ INDI +1 NAME Edwin Michael /Smith/ +2 GIVN Edwin Michael +2 SURN Smith +2 SOUR @S0001@ +1 SEX M +1 BIRT +2 TYPE Birth of Edwin Michael Smith +2 DATE 24 MAY 1961 +2 PLAC San Jose, Santa Clara Co., CA +2 SOUR @S0003@ +1 OCCU Software Engineer +2 AGE 23 +2 NOTE @N0001@ +1 EDUC Education of Edwin Michael Smith +2 DATE BET 1979 AND 1984 +2 PLAC UC Berkeley +1 _DEG +2 TYPE B.S.E.E. +2 DATE 1984 +1 FAMC @F0012@ +1 FAMS @F0013@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0038@ INDI +1 NAME Kerstina /Hansdotter/ +2 GIVN Kerstina +2 SURN Hansdotter +1 SEX F +1 BIRT +2 TYPE Birth of Kerstina Hansdotter +2 DATE 29 NOV 1832 +2 PLAC Smestorp, Kristianstad Län, Sweden +1 DEAT +2 TYPE Death of Kerstina Hansdotter +2 DATE BEF 1908 +2 PLAC Sweden +1 FAMS @F0002@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0039@ INDI +1 NAME Martin /Smith/ +2 GIVN Martin +2 SURN Smith +1 SEX M +1 BIRT +2 TYPE Birth of Martin Smith +2 DATE BET 1794 AND 1796 +2 PLAC Tommarp, Kristianstad Län, Sweden +1 DEAT +2 TYPE Death of Martin Smith +2 PLAC Sweden +1 FAMC @F0001@ +1 FAMS @F0000@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0040@ INDI +1 NAME Marjorie Alice /Smith/ +2 GIVN Marjorie Alice +2 SURN Smith +1 SEX F +1 BIRT +2 TYPE Birth of Marjorie Alice Smith +2 DATE 5 FEB 1960 +2 PLAC San Jose, Santa Clara Co., CA +1 FAMC @F0012@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0041@ INDI +1 NAME Janis Elaine /Green/ +2 GIVN Janis Elaine +2 SURN Green +1 SEX F +1 BIRT +2 TYPE Birth of Janis Elaine Green +2 DATE 2 DEC 1935 +1 FAMS @F0008@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @I0042@ INDI +1 NAME 雪 /Ke 柯/ +2 GIVN 雪 +2 SURN Ke 柯 +1 NAME Frank /Neilsen/ +2 TYPE aka +2 GIVN Frank +2 SURN Neilsen +1 SEX M +1 ADOP Y +2 FAMC @F0005@ +3 ADOP BOTH +1 FAMC @F0005@ +1 OBJE +2 FORM jpeg +2 TITL Michael O'Toole 2015-11 +2 FILE D:/Users/prc/Downloads/Michael O'Toole 2015-11.jpg +1 NOTE @N0007@ +1 CHAN +2 DATE 18 JUN 2016 +3 TIME 12:04:25 +0 @I0043@ INDI +1 NAME ピーター /リãƒãƒŸã‚·ã‚­ã‚¹ã‚¤ãƒŸ/ +2 GIVN ピーター +2 SURN リãƒãƒŸã‚·ã‚­ã‚¹ã‚¤ãƒŸ +1 SEX M +1 CHAN +2 DATE 18 JUN 2016 +3 TIME 11:42:08 +0 @F0000@ FAM +1 HUSB @I0039@ +1 WIFE @I0036@ +1 MARR +2 TYPE Marriage of Martin Smith and Elna Jefferson +2 DATE ABT 1816 +2 PLAC Gladsax, Kristianstad Län, Sweden +1 CHIL @I0011@ +1 CHIL @I0007@ +1 CHIL @I0004@ +1 CHIL @I0022@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0001@ FAM +1 HUSB @I0027@ +1 WIFE @I0025@ +1 MARR +2 TYPE Marriage of Ingeman Smith and Marta Ericsdotter +2 DATE ABT 1790 +2 PLAC Sweden +1 CHIL @I0039@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0002@ FAM +1 HUSB @I0022@ +1 WIFE @I0038@ +1 MARR +2 TYPE Marriage of Martin Smith and Kerstina Hansdotter +2 DATE ABT 1856 +1 CHIL @I0003@ +1 CHIL @I0009@ +1 CHIL @I0024@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0003@ FAM +1 HUSB @I0024@ +1 WIFE @I0000@ +1 MARR +2 TYPE Marriage of Gustaf Smith, Sr. and Anna Hansdotter +2 DATE 27 NOV 1885 +2 PLAC Rønne, Bornholm, Denmark +1 CHIL @I0026@ +1 CHIL @I0023@ +1 CHIL @I0021@ +1 CHIL @I0008@ +1 CHIL @I0015@ +1 CHIL @I0020@ +1 CHIL @I0010@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0004@ FAM +1 HUSB @I0006@ +1 WIFE @I0026@ +1 MARR +2 TYPE Marriage of Edwin Willard and Kirsti Marie Smith +2 DATE ABT 1910 +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0005@ FAM +1 HUSB @I0012@ +1 WIFE @I0023@ +1 MARR +2 TYPE Marriage of Herman Julius Nielsen and Astrid Shermanna Augusta Smith +2 DATE 30 NOV 1912 +2 PLAC Rønne, Bornholm, Denmark +1 CHIL @I0042@ +1 CHAN +2 DATE 12 JUN 2016 +3 TIME 09:27:35 +0 @F0006@ FAM +1 HUSB @I0008@ +1 WIFE @I0031@ +1 MARR +2 TYPE Marriage of Hjalmar Smith and Marjorie Ohman +2 DATE 31 OCT 1927 +2 PLAC Reno, Washoe Co., NV +1 CHIL @I0018@ +1 CHIL @I0014@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0007@ FAM +1 HUSB @I0015@ +1 WIFE @I0013@ +1 MARR +2 TYPE Marriage of Gus Smith and Evelyn Michaels +2 DATE ABT 1920 +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0008@ FAM +1 HUSB @I0033@ +1 WIFE @I0041@ +1 MARR +2 TYPE Marriage of Lloyd Smith and Janis Elaine Green +2 DATE 10 AUG 1958 +2 PLAC San Francisco, San Francisco Co., CA +1 CHIL @I0019@ +1 CHIL @I0001@ +1 CHIL @I0029@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0009@ FAM +1 HUSB @I0010@ +1 WIFE @I0017@ +1 CHIL @I0033@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0010@ FAM +1 HUSB @I0019@ +1 WIFE @I0032@ +1 MARR +2 TYPE Marriage of Eric Lloyd Smith and Darcy Horne +2 DATE 12 JUL 1986 +2 PLAC Woodland, Yolo Co., CA +1 CHIL @I0035@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0011@ FAM +1 HUSB @I0003@ +1 WIFE @I0028@ +1 MARR +2 TYPE Marriage of Magnes Smith and Anna Streiffert +2 DATE 24 AUG 1884 +2 PLAC Rønne, Bornholm, Denmark +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0012@ FAM +1 HUSB @I0018@ +1 WIFE @I0034@ +1 MARR +2 TYPE Marriage of John Hjalmar Smith and Alice Paula Perkins +2 DATE 4 JUN 1954 +2 PLAC Sparks, Washoe Co., NV +2 SOUR @S0000@ +1 CHIL @I0040@ +1 CHIL @I0037@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0013@ FAM +1 HUSB @I0037@ +1 WIFE @I0030@ +1 MARR +2 TYPE Marriage of Edwin Michael Smith and Janice Ann Adams +2 DATE 27 MAY 1995 +2 PLAC San Ramon, Conta Costa Co., CA +1 ENGA +2 TYPE Engagement of Edwin Michael Smith and Janice Ann Adams +2 DATE 5 OCT 1994 +2 PLAC San Francisco, San Francisco Co., CA +1 CHIL @I0005@ +1 CHIL @I0002@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @F0014@ FAM +1 HUSB @I0010@ +1 WIFE @I0016@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @S0000@ SOUR +1 TITL Marriage Certificae +1 REPO @R0002@ +2 CALN what-321-ever +3 MEDI Photo +1 NOTE @N0004@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @S0001@ SOUR +1 TITL Birth Certificate +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @S0002@ SOUR +1 TITL Birth Records +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @S0003@ SOUR +1 TITL Birth, Death and Marriage Records +1 REPO @R0002@ +2 CALN CA-123-LL-456_Num/ber +3 MEDI Film +1 NOTE @N0005@ +1 CHAN +2 DATE 21 DEC 2007 +3 TIME 01:35:26 +0 @S0004@ SOUR +1 TITL findagrave.com +1 CHAN +2 DATE 4 JUN 2016 +3 TIME 16:28:36 +0 @R0002@ REPO +1 NAME New York Public Library +1 ADDR 5th Ave at 42 street +2 CONT New York +2 CONT New York +2 CONT 11111 +2 CONT USA +2 ADR1 5th Ave at 42 street +2 CITY New York +2 STAE New York +2 POST 11111 +2 CTRY USA +0 @R0003@ REPO +1 NAME Aunt Martha's Attic +1 ADDR 123 Main St +2 CONT Someville +2 CONT ST +2 CONT USA +2 ADR1 123 Main St +2 CITY Someville +2 STAE ST +2 CTRY USA +1 WWW http://library.gramps-project.org +1 NOTE @N0006@ +0 @N0000@ NOTE Witness name: John Doe +1 CONT Witness comment: This is a simple test. +0 @N0001@ NOTE Witness name: No Name +0 @N0002@ NOTE BIOGRAPHY +1 CONT Martin was listed as being a Husman, (owning a house as opposed to a far +1 CONC m) in the house records of Gladsax. +0 @N0003@ NOTE BIOGRAPHY +1 CONT +1 CONT Hjalmar sailed from Copenhagen, Denmark on the OSCAR II, 14 November 191 +1 CONC 2 arriving in New York 27 November 1912. He was seventeen years old. O +1 CONC n the ship passenger list his trade was listed as a Blacksmith. He cam +1 CONC e to Reno, Nevada and lived with his sister Marie for a time before sett +1 CONC ling in Sparks. He worked for Southern Pacific Railroad as a car inspect +1 CONC or for a time, then went to work for Standard Oil +1 CONT Company. He enlisted in the army at Sparks 7 December 1917 and served a +1 CONC s a Corporal in the Medical Corp until his discharge 12 August 1919 at t +1 CONC he Presidio in San Francisco, California. Both he and Marjorie are burie +1 CONC d in the Masonic Memorial Gardens Mausoleum in Reno, he the 30th June 19 +1 CONC 75, and she the 25th of June 1980. +0 @N0004@ NOTE But Aunt Martha still keeps the original! +0 @N0005@ NOTE The repository reference from the source is important +0 @N0006@ NOTE Some note on the repo +0 @N0007@ NOTE Some Unicode Characters: ࣶǼЀج⿄ã‘㵋圛墉幵èŸè¦ð…‰ðŸš¶ðŸ›ˆ +1 CONT Some Bold Unicode Characters: ࣶǼЀج⿄ã‘㵋圛墉幵èŸè¦ð…‰ðŸš¶ðŸ›ˆ +1 CONT Some Italic Unicode Characters: ࣶǼЀج⿄ã‘㵋圛墉幵èŸè¦ð…‰ðŸš¶ðŸ›ˆ +1 CONT Some Unicode Characters: ࣶǼЀج⿄ã‘㵋圛墉幵èŸè¦ð…‰ðŸš¶ðŸ›ˆ +1 CONT Some Bold Unicode Characters: ࣶǼЀج⿄ã‘㵋圛墉幵èŸè¦ð…‰ðŸš¶ðŸ›ˆ +1 CONT Some Italic Unicode Characters: ࣶǼЀج⿄ã‘㵋圛墉幵èŸè¦ð…‰ðŸš¶ðŸ›ˆ +0 TRLR diff --git a/gramps/plugins/test/test_exports.py b/gramps/plugins/test/test_exports.py index f31eabc14..96f0c3345 100644 --- a/gramps/plugins/test/test_exports.py +++ b/gramps/plugins/test/test_exports.py @@ -27,6 +27,7 @@ from gramps.test.test_util import Gramps from gramps.gen.const import TEMP_DIR, DATA_DIR from gramps.gen.datehandler import set_format from gramps.cli.user import User +from gramps.gen.utils.config import config TREE_NAME = "Test_exporttest" TEST_DIR = os.path.abspath(os.path.join(DATA_DIR, "tests")) @@ -35,20 +36,17 @@ TEST_DIR = os.path.abspath(os.path.join(DATA_DIR, "tests")) def call(*args): """ Call Gramps to perform the action with out and err captured """ print("call:", args) - set_format(0) # Use ISO date for test gramps = Gramps(user=User(auto_accept=True, quiet=True)) out, err = gramps.run(*args) print("out:", out, "err:", err) return out, err -def do_it(tstfile): +def do_it(srcfile, tstfile, dfilter=None): """ based on tstfile, prepare an result export and compare with expected. """ - fname = os.path.splitext(os.path.basename(tstfile))[0] - - tst_file = os.path.join(TEST_DIR, fname + ".gramps") + tst_file = os.path.join(TEST_DIR, srcfile) expect_file = os.path.join(TEST_DIR, tstfile) result_file = os.path.join(TEMP_DIR, tstfile) err = call("-C", TREE_NAME, "-q", @@ -56,7 +54,7 @@ def do_it(tstfile): "--export", result_file)[1] if "Cleaning up." not in err: return "Export failed, no 'Cleaning up.'" - msg = compare(expect_file, result_file) + msg = compare(expect_file, result_file, dfilter) if not msg: # we will leave the result_file in place if there was an error. try: @@ -68,20 +66,89 @@ def do_it(tstfile): return msg -def compare(expect_file, result_file): +def compare(expect_file, result_file, dfilter=None): """ This uses the diff library to compare two files """ - with open(expect_file, encoding='utf-8_sig') as exp_f, \ - open(result_file, encoding='utf-8_sig') as res_f: + with open(expect_file, encoding='utf-8_sig', errors='surrogateescape')\ + as exp_f, \ + open(result_file, encoding='utf-8_sig', errors='surrogateescape')\ + as res_f: diff = difflib.unified_diff(exp_f.readlines(), res_f.readlines(), n=2, lineterm='\n') msg = "" + fail = False for line in diff: if line == "--- \n" or line == "+++ \n": continue msg += line - return msg + if dfilter: + fail += dfilter(line) + return msg if fail else "" + + +def gedfilt(line): + """ A filter for Gedcom files. + This implements a filter that allows some differences to be ignored. + The differences are not functional, but are related to changes in Gramps + version, file date/time and filename. + """ + #pylint: disable=unsubscriptable-object + if line.startswith('@@'): + gedfilt.prev = [None] * 8 + gedfilt.indx = 0 + return False + retval = True + diftyp = line[0] + line = line[1:].partition(' ') + level = int(line[0]) + token, toss, line = line[2].partition(' ') + if diftyp == ' ': + # save the line for later if needed to figure out the data element + gedfilt.prev[gedfilt.indx] = token, level, line + gedfilt.indx = (gedfilt.indx + 1) % 8 + retval = False + elif diftyp == '-': + # save the line for later if needed to figure out the data element + gedfilt.prev[gedfilt.indx] = token, level, line + gedfilt.indx = (gedfilt.indx + 1) % 8 + if token == "VERS" and gedfilt.prev[gedfilt.indx-2][0] == "SOUR": + # we must have a header with Gramps version + retval = False + elif token == "DATE" and gedfilt.prev[gedfilt.indx-2][0] == "NAME": + # we must have a header with file date + retval = False + elif token == "TIME" and gedfilt.prev[gedfilt.indx-2][0] == "DATE": + # probably have a header with file time + retval = False + elif token == "FILE" and line.endswith('.ged\n'): + # probably have a header with file name + retval = False + else: # this is an addition + if token == "VERS" and gedfilt.prev[gedfilt.indx-1][0] == "VERS": + # we must have a header with Gramps version + retval = False + elif token == "DATE" and (gedfilt.prev[gedfilt.indx-2][0] == "NAME" or + gedfilt.prev[gedfilt.indx-3][0] == "NAME"): + # we must have a header with file date + retval = False + elif token == "TIME" and (gedfilt.prev[gedfilt.indx-2][0] == "DATE" or + gedfilt.prev[gedfilt.indx-3][0] == "DATE"): + # probably have a header with file time + retval = False + elif token == "FILE" and line.endswith('.ged\n'): + # probably have a header with file name + retval = False + return retval + + +def vcffilt(line): + """ A filter for VCard files. + This implements a filter that allows some differences to be ignored. + The differences are not functional, but are related to changes in Gramps + version. + """ + return False if line.startswith('PRODID:') else True class ExportControl(unittest.TestCase): @@ -102,8 +169,46 @@ class ExportControl(unittest.TestCase): def test_csv(self): """ Run a csv export test """ + set_format(0) # Use ISO date for test + src_file = 'exp_sample_csv.gramps' tst_file = 'exp_sample_csv.csv' - msg = do_it(tst_file) + msg = do_it(src_file, tst_file) + if msg: + self.fail(tst_file + ': ' + msg) + + def test_ged(self): + """ Run a Gedcom export test """ + config.set('preferences.place-auto', True) + src_file = 'exp_sample.gramps' + tst_file = 'exp_sample_ged.ged' + msg = do_it(src_file, tst_file, gedfilt) + if msg: + self.fail(tst_file + ': ' + msg) + + def test_vcard(self): + """ Run a vcard export test """ + config.set('preferences.place-auto', True) + src_file = 'exp_sample.gramps' + tst_file = 'exp_sample.vcf' + msg = do_it(src_file, tst_file, vcffilt) + if msg: + self.fail(tst_file + ': ' + msg) + + def test_vcs(self): + """ Run a Vcalandar export test """ + config.set('preferences.place-auto', True) + src_file = 'exp_sample.gramps' + tst_file = 'exp_sample.vcs' + msg = do_it(src_file, tst_file) + if msg: + self.fail(tst_file + ': ' + msg) + + def test_gw(self): + """ Run a Geneweb export test """ + config.set('preferences.place-auto', True) + src_file = 'exp_sample.gramps' + tst_file = 'exp_sample.gw' + msg = do_it(src_file, tst_file) if msg: self.fail(tst_file + ': ' + msg)