Preparing for 0.2.0

svn: r87
This commit is contained in:
Don Allingham 2001-06-04 01:43:11 +00:00
parent b107b9db18
commit 2a80bc559e
6 changed files with 840 additions and 811 deletions

View File

@ -1,3 +1,36 @@
Version 0.2.0
* New GEDCOM importer. This new importer understands the GEDCOM
file structure, and intelligently parses the file. More
information is extracted from the GEDCOM file. Guessing the
context of information is no longer done, so the data should go
into the right place. The display dialog now displays useful and
interesting information as the file is loaded. The importer
has been checked with file generated Personal Ancestral File,
Brother's Keeper, DISGEN, the GEDCOM Torture test, and even the
sometimes strange output of Family Tree Maker.
* Better support for sources. Source button on the main page, and
sources are entered from the main screen, instead of being about
five layers deep.
* Events, sources, attributes, and addresses can now have both
sources and notes.
* Limited configurability in status bar display. Instead of just a
name, you can have a name, the internal ID and a name, or a user
selectable attribute and a name.
* A user selectable attribute can be displayed on the Edit Person
display along with the gramps internal ID. The attribute is
specified in the preferences settings, and the value is taken
from the person's attribute list.
* Images now load faster. Thumbnail images are created and maintained
by gramps, eliminating the need to rescale images everytime a
gallery is displayed.
* Paper size preference can now be specified in the preferences
dialog. Once this is set, gramps will make this the default for
report generators. Eventually, you will be able to do the same
for output format preference. This button is current disabled.
* Generating slightly better XML. Maintaining compatibility with
the older files.
Version 0.1.5
* Plenty of bug fixes in the report generators and merging due to the

View File

@ -1,7 +1,4 @@
<!DOCTYPE article PUBLIC "-//GNOME//DTD DocBook PNG Variant V1.1//EN"[
<!-- if not using PNG graphic, replace reference above with
.....PUBLIC "-//OASIS//DTD DocBook V3.1//EN"[
-->
<!ENTITY version "0.2.0"> <!-- replace with application version -->
]>

View File

@ -54,16 +54,13 @@ rm -rf $RPM_BUILD_ROOT
# %{prefix}/share/gramps/*
%{prefix}/share/locale/*/LC_MESSAGES/gramps.mo
%{prefix}/share/gramps/*.pyo
%{prefix}/share/gramps/*.pyc
%{prefix}/share/gramps/*.so
%{prefix}/share/gramps/*.py
%{prefix}/share/gramps/*.glade
%{prefix}/share/gramps/*.xpm
%{prefix}/share/gramps/*.jpg
%{prefix}/share/gramps/filters/*.py
%{prefix}/share/gramps/filters/*.pyc
%{prefix}/share/gramps/filters/*.pyo
%{prefix}/share/gramps/plugins/*.pyc
%{prefix}/share/gramps/plugins/*.py
%{prefix}/share/gramps/plugins/*.pyo

View File

@ -37,20 +37,6 @@ else
trans="path = os.path.join('$basedir', file)"
fi
$PYTHON -c "
import sys, os, string, py_compile
files = '''$*'''
print 'Byte-compiling python modules...'
for file in string.split(files):
$trans
if not os.path.exists(path) or not (len(path) >= 3 and path[-3:] == '.py'):
continue
print file,
sys.stdout.flush()
py_compile.compile(path)
print" || exit $?
# this will fail for python < 1.5, but that doesn't matter ...
$PYTHON -O -c "
import sys, os, string, py_compile

View File

@ -1,4 +1,4 @@
#
# Gramps - a GTK+/GNOME based genealogy program
#
# Copyright (C) 2000 Donald N. Allingham
@ -40,13 +40,13 @@ class Date:
range = 1
normal = 0
from_str = _("(from|between|bet)")
from_str = _("(from|between|bet|bet.)")
to_str = _("(and|to|-)")
efmt = re.compile(r"\s*(from|between|bet)\.?\s+(.+)\s+(and|to)\s+(.+)\s*$",
efmt = re.compile(r"\s*(from|between|bet)\s+(.+)\s+(and|to)\s+(.+)\s*$",
re.IGNORECASE)
fmt = re.compile(r"\s*" + from_str + r"\.?\s+(.+)\s+" + to_str + r"\s+(.+)\s*$",
fmt = re.compile(r"\s*" + from_str + r"\s+(.+)\s+" + to_str + r"\s+(.+)\s*$",
re.IGNORECASE)
def __init__(self):
@ -231,23 +231,31 @@ class SingleDate:
m2v = { _("abt") : about ,
_("about") : about,
_("abt.") : about,
_("est") : about ,
_("est.") : about ,
_("circa") : about,
_("around") : about,
_("before") : before,
_("bef") : before,
_("bef.") : before,
_("after") : after,
_("aft.") : after,
_("aft") : after }
modifiers = "(" + \
_("abt") + '|' + \
_("abt\.") + '|' + \
_("about") + '|' + \
_("est") + '|' + \
_("est\.") + '|' + \
_("circa") + '|' + \
_("around") + '|' + \
_("before") + '|' + \
_("after") + '|' + \
_("aft") + '|' + \
_("aft\.") + '|' + \
_("bef\.") + '|' + \
_("bef") + ')'
start = "^\s*" + modifiers + "?\s*"
@ -896,5 +904,5 @@ if __name__ == "__main__":
checkit("1/12/1999")
checkit("12/11/1999")
checkit("BET. 1994 - 1999")

File diff suppressed because it is too large Load Diff