From 38db8959fa410d13add4efea8cc19f802b9f7b61 Mon Sep 17 00:00:00 2001 From: Benny Malengier Date: Mon, 1 Jul 2013 19:27:48 +0000 Subject: [PATCH] GEP18: big database change for source and citation svn: r22639 --- data/grampsxml.dtd | 10 +- data/grampsxml.rng | 7 +- example/gramps/example.gramps | 21588 ++++++++-------- gramps/gen/db/upgrade.py | 34 +- gramps/gen/filters/rules/_hascitationbase.py | 4 +- .../filters/rules/citation/_hascitation.py | 4 +- .../rules/citation/_matchespagesubstringof.py | 6 +- gramps/gen/lib/citation.py | 71 +- gramps/gen/lib/src.py | 198 +- gramps/gen/lib/srcattrbase.py | 63 - gramps/gen/lib/srcattrtype.py | 10 +- gramps/gen/lib/srctemplate.py | 37 +- gramps/gen/lib/test/merge_test.py | 24 +- gramps/gen/proxy/private.py | 7 +- gramps/gen/utils/db.py | 6 +- gramps/gui/clipboard.py | 12 +- .../gui/editors/displaytabs/backrefmodel.py | 4 +- .../editors/displaytabs/citationembedlist.py | 4 +- .../editors/displaytabs/citationrefmodel.py | 2 +- .../gui/editors/displaytabs/srctemplatetab.py | 8 +- gramps/gui/editors/editsource.py | 28 +- gramps/gui/editors/filtereditor.py | 12 +- gramps/gui/glade/editsource.glade | 56 +- gramps/gui/glade/mergecitation.glade | 76 +- gramps/gui/glade/mergesource.glade | 179 +- gramps/gui/merge/mergecitation.py | 22 +- gramps/gui/merge/mergesource.py | 38 +- .../gui/views/treemodels/citationbasemodel.py | 46 +- .../gui/views/treemodels/citationlistmodel.py | 14 +- .../gui/views/treemodels/citationtreemodel.py | 10 +- gramps/gui/views/treemodels/sourcemodel.py | 53 +- gramps/plugins/export/exportcsv.py | 2 +- gramps/plugins/export/exportgedcom.py | 20 +- gramps/plugins/export/exportgeneweb.py | 8 +- gramps/plugins/export/exportxml.py | 7 +- gramps/plugins/importer/importcsv.py | 12 +- gramps/plugins/importer/importgeneweb.py | 15 +- gramps/plugins/importer/importprogen.py | 9 +- gramps/plugins/importer/importxml.py | 61 +- gramps/plugins/lib/libgedcom.py | 77 +- gramps/plugins/tool/mergecitations.py | 10 +- gramps/plugins/tool/testcasegenerator.py | 34 +- gramps/plugins/view/citationlistview.py | 26 +- gramps/plugins/view/citationtreeview.py | 25 +- gramps/plugins/view/sourceview.py | 20 +- gramps/plugins/webreport/narrativeweb.py | 2 +- 46 files changed, 11560 insertions(+), 11401 deletions(-) diff --git a/data/grampsxml.dtd b/data/grampsxml.dtd index 200e7a3fc..b72013f17 100644 --- a/data/grampsxml.dtd +++ b/data/grampsxml.dtd @@ -229,7 +229,7 @@ SOURCES --> - - - - + +