From 78ec6a26a2134b2e65e90d66604b5b304749de14 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Wed, 17 Dec 2014 19:37:45 -0800 Subject: [PATCH 1/5] 8237: descendant tree graphical report, syntax error in svg output --- src/plugins/docgen/SvgDrawDoc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/docgen/SvgDrawDoc.py b/src/plugins/docgen/SvgDrawDoc.py index a56e82444..ded5b6aa6 100644 --- a/src/plugins/docgen/SvgDrawDoc.py +++ b/src/plugins/docgen/SvgDrawDoc.py @@ -86,7 +86,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): '\n' + '\n' + - '\n' From 555a244a45f54057246b2bf7ecf33eb4e7fbb028 Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Tue, 30 Dec 2014 10:42:14 -0800 Subject: [PATCH 2/5] 8240: can't disable box shadow in SVG descendant tree --- src/plugins/docgen/SvgDrawDoc.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/plugins/docgen/SvgDrawDoc.py b/src/plugins/docgen/SvgDrawDoc.py index ded5b6aa6..2b4ecacc9 100644 --- a/src/plugins/docgen/SvgDrawDoc.py +++ b/src/plugins/docgen/SvgDrawDoc.py @@ -193,12 +193,13 @@ class SvgDrawDoc(BaseDoc, DrawDoc): style_sheet = self.get_style_sheet() box_style = style_sheet.get_draw_style(style) + shadow_width = box_style.get_shadow_space() - if box_style.get_shadow(): + if box_style.get_shadow() and shadow_width > 0: self.f.write( '\n' From bf20905761d0010d09d8dc2c946e7a135932874b Mon Sep 17 00:00:00 2001 From: Paul Franklin Date: Tue, 30 Dec 2014 10:50:55 -0800 Subject: [PATCH 3/5] specify SVG font size is in points, for stupid viewers --- src/plugins/docgen/SvgDrawDoc.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/plugins/docgen/SvgDrawDoc.py b/src/plugins/docgen/SvgDrawDoc.py index 2b4ecacc9..70e406cd4 100644 --- a/src/plugins/docgen/SvgDrawDoc.py +++ b/src/plugins/docgen/SvgDrawDoc.py @@ -120,7 +120,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): self.t.write('font-weight:bold;') if font.get_italic(): self.t.write('font-style:italic;') - self.t.write('font-size:%d; ' % size) + self.t.write('font-size:%dpt; ' % size) if font.get_type_face() == FONT_SANS_SERIF: self.t.write('font-family:sans-serif;') else: @@ -242,7 +242,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): self.t.write(' font-weight:bold;') if font.get_italic(): self.t.write(' font-style:italic;') - self.t.write(' font-size:%d;' % font_size) + self.t.write(' font-size:%dpt;' % font_size) if font.get_type_face() == FONT_SANS_SERIF: self.t.write(' font-family:sans-serif;') else: @@ -275,7 +275,7 @@ class SvgDrawDoc(BaseDoc, DrawDoc): self.t.write('font-weight:bold;') if font.get_italic(): self.t.write('font-style:italic;') - self.t.write('font-size:%d; ' % font_size) + self.t.write('font-size:%dpt; ' % font_size) if font.get_type_face() == FONT_SANS_SERIF: self.t.write('font-family:sans-serif;') else: From b094b4b7a7e0e08e0c35f4a18650929a1c0c1936 Mon Sep 17 00:00:00 2001 From: Enno Borgsteede Date: Fri, 2 Jan 2015 10:11:16 +0100 Subject: [PATCH 4/5] Fix missing mediaattrembedlist reference for building --- src/gui/editors/displaytabs/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/editors/displaytabs/Makefile.am b/src/gui/editors/displaytabs/Makefile.am index ac38c7a38..6e24b3cff 100644 --- a/src/gui/editors/displaytabs/Makefile.am +++ b/src/gui/editors/displaytabs/Makefile.am @@ -31,6 +31,7 @@ pkgpython_PYTHON = \ locationembedlist.py \ locationmodel.py \ mediabackreflist.py \ + mediaattrembedlist.py \ nameembedlist.py \ namemodel.py \ notebackreflist.py \ From a6659515d5e94a9be126a0789372113099e538d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Rapinat?= Date: Fri, 2 Jan 2015 10:12:04 +0100 Subject: [PATCH 5/5] New year... --- src/const.py.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/const.py.in b/src/const.py.in index 7acd1d1a4..2448a3259 100644 --- a/src/const.py.in +++ b/src/const.py.in @@ -199,7 +199,7 @@ else: # #------------------------------------------------------------------------- COPYRIGHT_MSG = u"\u00A9 2001-2006 Donald N. Allingham\n" \ - u"\u00A9 2007-2014 The Gramps Developers" + u"\u00A9 2007-2015 The Gramps Developers" COMMENTS = _("Gramps (Genealogical Research and Analysis " "Management Programming System) is a personal " "genealogy program.")