* src/docgen/KwordDoc.py: Register with paper capabilites.

* src/docgen/PdfDoc.py: Register with paper capabilites.
* src/docgen/RTFDoc.py: Register with paper capabilites.
* src/const.py.in: Update copyright year.
* NEWS: Update.


svn: r3914
This commit is contained in:
Alex Roitman 2005-01-15 20:24:29 +00:00
parent f89ee71f28
commit 55c549de0a
6 changed files with 112 additions and 91 deletions

View File

@ -1,3 +1,10 @@
2005-01-15 Alex Roitman <shura@alex.neuro.umn.edu>
* src/docgen/KwordDoc.py: Register with paper capabilites.
* src/docgen/PdfDoc.py: Register with paper capabilites.
* src/docgen/RTFDoc.py: Register with paper capabilites.
* src/const.py.in: Update copyright year.
* NEWS: Update.
2005-01-14 Alex Roitman <shura@alex.neuro.umn.edu> 2005-01-14 Alex Roitman <shura@alex.neuro.umn.edu>
* src/plugins/GraphViz.py: Restore "Place/cause when no date" * src/plugins/GraphViz.py: Restore "Place/cause when no date"
option that was available before in RelGraph; rename 'show option that was available before in RelGraph; rename 'show

18
NEWS
View File

@ -1,3 +1,21 @@
Version 1.1.3 -- the "Splunge: this is a great idea, but possibly lousy,
and I'm not being indecisive" release
* New columns for Media and Place Views (Martin Hawlisch).
* New graphical report -- StatisticsChart (Eero Tamminen).
* Alternative .ini -based backend for storing gramps settings (replaces gconf).
* Modules providing database access and basic classes are UI-independent now.
* Improved Name handling.
* Date hadnling improvements.
* Documentation for core API can now be autogenerated (requires epydoc).
* Dramatic performance improvements for large databases.
* Spanish Date handler (Julio Sanchez).
* Cursor interface added to the database.
* Interface improvements.
* GRUMPS -- Grand Report Unification Made Possible, See!
Reports remember their options; command line reports available;
same code provides standalone, book item, and command line repotrs.
* Bug fixes.
Version 1.1.2 -- the "Confuse-a-cat" release Version 1.1.2 -- the "Confuse-a-cat" release
* Recent files support (both GNOME- and Gramps-wide). * Recent files support (both GNOME- and Gramps-wide).
* Key/value pairs for the Source objects. * Key/value pairs for the Source objects.

View File

@ -3,7 +3,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2000-2004 Donald N. Allingham # Copyright (C) 2000-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -123,7 +123,7 @@ dnd_images = 1
#------------------------------------------------------------------------- #-------------------------------------------------------------------------
progName = "GRAMPS" progName = "GRAMPS"
version = "@VERSIONSTRING@" version = "@VERSIONSTRING@"
copyright = unicode("© 2001-2004 Donald N. Allingham","iso-8859-1") copyright = unicode("© 2001-2005 Donald N. Allingham","iso-8859-1")
comments = _("GRAMPS (Genealogical Research and Analysis " comments = _("GRAMPS (Genealogical Research and Analysis "
"Management Programming System) is a personal " "Management Programming System) is a personal "
"genealogy program.") "genealogy program.")

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2000-2004 Donald N. Allingham # Copyright (C) 2000-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -24,7 +24,6 @@ import BaseDoc
from latin_utf8 import latin_to_utf8 from latin_utf8 import latin_to_utf8
import time import time
import string
import cStringIO import cStringIO
import gzip import gzip
import os import os
@ -454,7 +453,7 @@ class KwordDoc(BaseDoc.BaseDoc):
for line in text.split('\n\n'): for line in text.split('\n\n'):
self.start_paragraph(style_name) self.start_paragraph(style_name)
line = line.replace('\n',' ') line = line.replace('\n',' ')
line = string.join(string.split(line)) line = ' '.join(line.split())
self.write_text(line) self.write_text(line)
self.end_paragraph() self.end_paragraph()
@ -495,7 +494,6 @@ try:
print_label=_("Open in %s") % prog[1] print_label=_("Open in %s") % prog[1]
else: else:
print_label=None print_label=None
PluginMgr.register_text_doc(mtype, KwordDoc, 1, 0, 1, ".kwd", print_label) PluginMgr.register_text_doc(mtype, KwordDoc, 1, 1, 1, ".kwd", print_label)
except: except:
PluginMgr.register_text_doc(_('KWord'), KwordDoc, 1, 0, 1, ".kwd", print_label) PluginMgr.register_text_doc(_('KWord'), KwordDoc, 1, 1, 1, ".kwd", print_label)

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2000-2004 Donald N. Allingham # Copyright (C) 2000-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -589,10 +589,10 @@ try:
print_label=_("Open in %s") % mprog[1] print_label=_("Open in %s") % mprog[1]
else: else:
print_label=None print_label=None
PluginMgr.register_text_doc(mtype, PdfDoc, 1, 0, 1, ".pdf", print_label) PluginMgr.register_text_doc(mtype, PdfDoc, 1, 1, 1, ".pdf", print_label)
PluginMgr.register_draw_doc(mtype, PdfDoc, 1, 1, ".pdf", print_label) PluginMgr.register_draw_doc(mtype, PdfDoc, 1, 1, ".pdf", print_label)
PluginMgr.register_book_doc(mtype,classref=PdfDoc,table=1,paper=1,style=1,ext=".pdf") PluginMgr.register_book_doc(mtype,classref=PdfDoc,table=1,paper=1,style=1,ext=".pdf")
except: except:
PluginMgr.register_text_doc(_('PDF document'), PdfDoc, 1, 0, 1,".pdf", None) PluginMgr.register_text_doc(_('PDF document'), PdfDoc, 1, 1, 1,".pdf", None)
PluginMgr.register_draw_doc(_('PDF document'), PdfDoc, 1, 1, ".pdf", None) PluginMgr.register_draw_doc(_('PDF document'), PdfDoc, 1, 1, ".pdf", None)
PluginMgr.register_book_doc(name=_("PDF document"),classref=PdfDoc,table=1,paper=1,style=1,ext=".pdf") PluginMgr.register_book_doc(name=_("PDF document"),classref=PdfDoc,table=1,paper=1,style=1,ext=".pdf")

View File

@ -1,7 +1,7 @@
# #
# Gramps - a GTK+/GNOME based genealogy program # Gramps - a GTK+/GNOME based genealogy program
# #
# Copyright (C) 2000-2004 Donald N. Allingham # Copyright (C) 2000-2005 Donald N. Allingham
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -25,9 +25,8 @@
# python modules # python modules
# #
#------------------------------------------------------------------------ #------------------------------------------------------------------------
import string
import os import os
import GrampsMime from gettext import gettext as _
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
@ -38,8 +37,7 @@ import BaseDoc
import PluginMgr import PluginMgr
import ImgManip import ImgManip
import Errors import Errors
import GrampsMime
from gettext import gettext as _
#------------------------------------------------------------------------ #------------------------------------------------------------------------
# #
@ -385,7 +383,7 @@ class RTFDoc(BaseDoc.BaseDoc):
for line in text.split('\n\n'): for line in text.split('\n\n'):
self.start_paragraph(style_name) self.start_paragraph(style_name)
line = line.replace('\n',' ') line = line.replace('\n',' ')
line = string.join(string.split(line)) line = ' '.join(line.split())
self.write_text(line) self.write_text(line)
self.end_paragraph() self.end_paragraph()
@ -429,6 +427,6 @@ try:
print_label=_("Open in %s") % mprog[1] print_label=_("Open in %s") % mprog[1]
else: else:
print_label=None print_label=None
PluginMgr.register_text_doc(mtype, RTFDoc, 1, 0, 1, ".rtf", print_label) PluginMgr.register_text_doc(mtype, RTFDoc, 1, 1, 1, ".rtf", print_label)
except: except:
PluginMgr.register_text_doc(_('RTF document'), RTFDoc, 1, 0, 1, ".rtf", None) PluginMgr.register_text_doc(_('RTF document'), RTFDoc, 1, 1, 1, ".rtf", None)