Doug Blank
30c5030ebe
A method for comparing person == person
...
svn: r14146
2010-01-27 06:05:24 +00:00
Gerald Britton
1f2469b09f
Simplify with built-in functions where possible. e.g.
...
change [x for x in y if x] to filter(None, y)
change [f(x) for x in y] to map(f, x)
change [x for x in y] to list(y)
These changes reduce source code size and complexity and produce some minor performance gains
svn: r14104
2010-01-21 18:42:53 +00:00
Doug Blank
4f3d8f3675
Added missing 'return self' at end of unserialize to match the rest of the classes in lib.gen
...
svn: r13935
2009-12-29 03:24:38 +00:00
Raphael Ackermann
c1be765f7a
fixed typos
...
svn: r12984
2009-08-13 08:52:05 +00:00
Benny Malengier
a52bc62be9
2691: Create api documentation with sphinx
...
svn: r12704
2009-06-24 21:56:07 +00:00
Gerald Britton
8584798916
person.py: minor performance improvements
...
svn: r12625
2009-06-04 19:00:51 +00:00
Gary Burton
d682a1dcde
Fix for bug when deleting birth and death events. Bug #2456
...
svn: r11191
2008-10-25 11:36:56 +00:00
Zsolt Foldvari
998908175f
Issue #0002175 : Change type() expressions to isinstance() expressions.
...
Patch from Gerald Britton <gerald.britton@gmail.com>
svn: r10762
2008-05-25 19:55:47 +00:00
Zsolt Foldvari
6bb0c17384
Removing InstanceType calls from gen.lib modules. Required by the
...
GrampsTypeMeta changes.
svn: r10402
2008-03-26 18:45:58 +00:00
Zsolt Foldvari
93998976ff
Removing InstanceType calls from gen.lib modules. Required by the
...
GrampsTypeMeta changes.
svn: r10399
2008-03-25 23:38:24 +00:00
Raphael Ackermann
c962d5e6e1
2008-02-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* various (294 files)
pep8 doc fixes & pylint fixes
svn: r10103
2008-02-24 13:55:55 +00:00
Raphael Ackermann
506eb32637
2008-01-24 Raphael Ackermann <raphael.ackermann@gmail.com>
...
Removed all the __author__, __revision__ and __version__ statements
svn: r9928
2008-01-24 20:38:10 +00:00
Raphael Ackermann
bbe2cc6d4e
2008-01-22 Raphael Ackermann <raphael.ackermann@gmail.com>
...
* src/* Everything but src/images/* and src/data/* add correct svn
properties with the commands:
svn propset -R svn:mime-type text/plain src/
svn propset -R svn:eol-style native src/
svn propset -R svn:keywords Id src/
See below why the Id keyword is enough. From svn help propset
svn:keywords - Keywords to be expanded. Valid keywords are:
URL, HeadURL - The URL for the head version of the object.
Author, LastChangedBy - The last person to modify the file.
Date, LastChangedDate - The date/time the object was last modified.
Rev, Revision, - The last revision the object changed.
LastChangedRevision
Id - A compressed summary of the previous
4 keywords.
svn: r9912
2008-01-22 09:17:46 +00:00
Benny Malengier
886e3299e4
2007-12-19 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/lib/person.py: sources in attributes of eventref are not seen
in ref tables
* src/gen/lib/eventref.py: can contain sources, add methods for that
* src/gen/lib/notebase.py: whitespace
* src/plugins/Check.py: low level check of repo table, add check to
clean up referenced but not existing repos
svn: r9532
2007-12-19 09:47:17 +00:00
Benny Malengier
00511a133f
2007-12-14 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/Editors/_EditEvent.py: first attribute tab THEN backref
* src/DisplayTabs/_BackRefList.py: whitespace change
* src/gen/lib/repo.py: correct error with source backref too
* src/gen/lib/personref.py:
* src/gen/lib/mediaref.py:
* src/gen/lib/childref.py:
* src/gen/lib/place.py:
* src/gen/lib/address.py:
* src/gen/lib/src.py:
* src/gen/lib/person.py:
* src/gen/lib/mediaobj.py:
* src/gen/lib/eventref.py:
* src/gen/lib/name.py:
* src/gen/lib/family.py:
* src/gen/lib/event.py:
* src/gen/lib/ldsord.py:
Add get_note_child_list method to allow recursive deletion of notes in
child objects
* src/gen/lib/notebase.py: add remove_note that recursively searches
in the child secondary objects
* src/plugins/Check.py: fix broken note links, fix broken repo-source link
svn: r9507
2007-12-14 22:18:19 +00:00
Benny Malengier
283678e47e
2007-12-10 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/gen/lib/notebase.py: change comment string
* src/gen/lib/person.py: change comment string
* src/gen/lib/event.py: add attr to list of sec objects, bug #1318
svn: r9481
2007-12-10 21:44:09 +00:00
Gary Burton
5023c4a84f
2007-10-30 Gary Burton <gary.burton@zen.co.uk>
...
* src/gen/lib/person.py: setting the death index wrongly.
svn: r9277
2007-10-30 15:07:46 +00:00
Gary Burton
29b974160f
2007-10-29 Gary Burton <gary.burton@zen.co.uk>
...
* src/gen/lib/person.py: reset birth and death indexes after deleting
an event. Fixes #1327
svn: r9269
2007-10-29 22:35:52 +00:00
Don Allingham
c86ca135a5
* src/gen/lib/attrbase.py: renamed from attributeBase.py
...
2007-10-08 Don Allingham <don@gramps-project.org>
svn: r9102
2007-10-08 16:45:37 +00:00
Don Allingham
d58641415d
2007-10-08 Don Allingham <don@gramps-project.org>
...
* various: gen.lib integration. probably touches almost every file
* various: gen.utils integration
svn: r9101
2007-10-08 16:41:39 +00:00