Benny Malengier
b3d15e1dca
2007-10-24 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/plugins/all_relations.py: collapse parents same family in one line
* src/Relationship.py: change no parent family code
svn: r9240
2007-10-24 09:49:56 +00:00
Benny Malengier
1b70943814
* src/Relationship.py: internationalization of a string
...
2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>
svn: r9239
2007-10-23 21:22:33 +00:00
Benny Malengier
cb3771a715
2007-10-23 Benny Malengier <benny.malengier@gramps-project.org>
...
* src/Relationship.py: new algorithm to calculate relation
* src/plugins/all_relations.py: begin of quick report to show extended relationship.
svn: r9237
2007-10-23 20:47:13 +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
Brian Matherly
30e6e38f2c
Patch from Jérôme Rapinat to fix array bounds check in Relationship.py.
...
svn: r8845
2007-08-21 04:16:41 +00:00
Brian Matherly
1a2e9e96df
Fix typo nefew -> nephew in KinshipReport.
...
svn: r8835
2007-08-19 01:51:26 +00:00
Brian Matherly
7a72009239
Remove db requirement from constructor and add get_plural_relationship_string to relationship class.
...
svn: r8831
2007-08-18 13:31:50 +00:00
Alex Roitman
90832a683e
In .:
...
* src/RelLib/Makefile.am: Ship new file.
* src/PluginUtils/_ReportUtils.py: Use fam relations from new module.
* src/Relationship.py: Use family relations from new module.
* src/Utils.py: Remove family relations.
* src/RelLib/__init__.py: Expose new module.
* src/RelLib/_Family.py: Adapt to new types.
* src/GrampsDb/_ReadXML.py: Adapt to new types.
* src/GrampsDb/_ConstXML.py: Remove family relations.
* src/RelLib/_FamilyRelType.py: Add new class
In po:
2006-04-19 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Add new files.
svn: r6369
2006-04-19 18:27:51 +00:00
Alex Roitman
93add4967a
* various: Use TransUtils.sgettext instead of gettext.gettext to work out stripping the context.
...
svn: r6155
2006-03-16 20:24:27 +00:00
Alex Roitman
2f962b5f96
merge changes from gramps20
...
svn: r5482
2005-12-06 06:38:09 +00:00
Alex Roitman
895d7e1a53
Merge changes made between 2.0.3 and 2.0.5
...
svn: r4911
2005-07-08 20:24:54 +00:00
Alex Roitman
3771ee4ff9
* src/RelLib.py: Move constants back to RelLib, as class attributes.
...
* src/Utils.py: Move constant mappings from const.py.in
* src/const.py.in: Move constants and mappings elsewhere.
* various: Use constants from RelLib, not const.
svn: r4736
2005-05-30 20:41:43 +00:00
Alex Roitman
f98d4f493e
Fix constants
...
svn: r4724
2005-05-28 02:55:21 +00:00
Don Allingham
5c137d199c
* src/AddrEdit.py: use new label scheme for tabs that uses an
...
icon to indicate used tabs
* src/AttrEdit.py: use new label scheme for tabs that uses an
icon to indicate used tabs
* src/NameEdit.py: use new label scheme for tabs
* src/Date.py: incorporate instance check form gramps20 branch
* src/EditPerson.py: add additional fields for name edit, handle
lds page better, adapt to new label scheme
* src/GrampsDbBase.py: fix typos
* src/GrampsGEDDB.py: fix undo handling
* src/GrampsInMemDB.py: fix undo handling
* src/GrampsXMLDB.py: fix undo handling
* src/PeopleView.py: don't reselect an already selected person
* src/Utils.py: new tab scheme
* src/edit_person.glade new tab scheme
* src/gramps_main.py: 1->True, 0->False replacements
* src/DbPrompter.py: bring up to date with gramps20 branch
* src/DisplayModels.py: bring up to date with gramps20 branch
* src/ReadGedcom.py: bring up to date with gramps20 branch
* src/Relationship.py: bring up to date with gramps20 branch
svn: r4406
2005-04-23 15:53:30 +00:00
Don Allingham
6463227a6e
* various: Change Person.male, Person.female, and Person.unkwown
...
to Person.MALE, Person.FEMALE and Person.UNKNOWN
* gramps.spec.in: bring up to date, support Fedora Core and Mandrake
* src/plugins/NavWebPage.py: Start of the Narrative Web Page plugin
svn: r4008
2005-02-01 03:46:29 +00:00
Alex Roitman
7b7c071bd8
Update
...
svn: r3457
2004-08-21 04:00:53 +00:00
Alex Roitman
0dd92d0a5c
* src/plugins/rel_da.py: Convert to new interface. Add to CVS.
...
* src/plugins/rel_fi.py: Convert to new interface. Add to CVS.
* src/plugins/rel_fr.py: Convert to new interface. Add to CVS.
* src/plugins/rel_no.py: Convert to new interface. Add to CVS.
* src/plugins/rel_sv.py: Convert to new interface. Add to CVS.
* src/plugins/Makefile.am: Ship new files.
* src/Relationship.py (apply_filter): Keep gender info of all
member in the relationship chain, not just number of generations;
(is_spouse): correctly compare handles; (get_relationship_distance,
get_relationship, get_grandparents_string): correctly use apply_filter.
* src/plugins/rel_it.py (get_relationship): Correctly use apply_filter.
* src/plugins/rel_hu.py (get_relationship): Correctly use apply_filter.
* src/plugins/rel_de.py (is_spouse): Remove function;
(get_relationship): Correctly use apply_filter.
* src/plugins/rel_ru.py (is_spouse): Remove function;
(get_relationship): Correctly use apply_filter.
svn: r3452
2004-08-20 19:10:01 +00:00
Don Allingham
f741527b55
* src/plugins/RelCalc.py: use empty string instead of None
...
* src/EditPerson.py: pychecker fixes
* src/EditPlace.py: pychecker fixes
* src/EditSource.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/GrampsCfg.py: pychecker fixes
* src/ImageSelect.py: pychecker fixes
* src/ListModel.py: pychecker fixes
* src/MediaView.py; pychecker fixes
* src/MergeData.py: pychecker fixes
* src/PedView.py: pychecker fixes
* src/PeopleView.py: pychecker fixes
* src/PlaceView.py: pychecker fixes
* src/Plugins.py: pychecker fixes
* src/RelImage.py: pychecker fixes
* src/Relationship.py: pychecker fixes
svn: r3450
2004-08-20 12:11:56 +00:00
Don Allingham
c38890095d
* src/AutoComp.py: remove double display of data
...
* src/FamilyView.py: remove unused check
* src/GrampsBSDDB.py: search by gramps_id
* src/GrampsDbBase.py: search by gramps_id, unicode/str conversions
* src/Marriage.py: handle gramps_id editing
* src/ReadXML.py: fix handle/gramps_id on import
* src/plugins/RelCalc.py: display date instead of event handle
* src/Relationship.py: family handles working
* src/PeopleModel.py: comment out unused functions
* src/PeopleModel.py: simplify model interface
* src/AddSpouse.py: get_family_from_handle fixes
* src/EditPerson.py: get_family_from_handle fixes
* src/EditSource.py: get_family_from_handle fixes
* src/GraphLayout.py: get_family_from_handle fixes
* src/ImageSelect.py: get_family_from_handle fixes
* src/MediaView.py: get_family_from_handle fixes
* src/MergeData.py: get_family_from_handle fixes
* src/PlaceView.py: get_family_from_handle fixes
* src/ReadXML.py: get_family_from_handle fixes
* src/RelLib.py: get_family_from_handle fixes
* src/Relationship.py: get_family_from_handle fixes
* src/SelectChild.py: get_family_from_handle fixes
* src/SourceView.py: get_family_from_handle fixes
* src/SubstKeywords.py: get_family_from_handle fixes
* src/WriteXML.py: get_family_from_handle fixes
* src/gramps_main.py: get_family_from_handle fixes
svn: r3446
2004-08-20 02:20:06 +00:00
Don Allingham
bfc08ca83a
* PeopleModel.py: simplify model interface
...
* EditPerson.py: get_family_from_handle fixes
* EditSource.py: get_family_from_handle fixes
* GraphLayout.py: get_family_from_handle fixes
* ImageSelect.py: get_family_from_handle fixes
* MediaView.py: get_family_from_handle fixes
* MergeData.py: get_family_from_handle fixes
* PlaceView.py: get_family_from_handle fixes
* ReadXML.py: get_family_from_handle fixes
* RelLib.py: get_family_from_handle fixes
* Relationship.py: get_family_from_handle fixes
* SelectChild.py: get_family_from_handle fixes
* SourceView.py: get_family_from_handle fixes
* SubstKeywords.py: get_family_from_handle fixes
* WriteXML.py: get_family_from_handle fixes
* gramps_main.py: get_family_from_handle fixes
* plugins/AncestorChart.py: get_family_from_handle fixes
* plugins/AncestorChart2.py: get_family_from_handle fixes
* plugins/AncestorReport.py: get_family_from_handle fixes
* plugins/Ancestors.py: get_family_from_handle fixes
* plugins/Check.py: get_family_from_handle fixes
* plugins/CountAncestors.py: get_family_from_handle fixes
* plugins/Desbrowser.py: get_family_from_handle fixes
* plugins/DescendReport.py: get_family_from_handle fixes
* plugins/DetAncestralReport.py: get_family_from_handle fixes
* plugins/DetDescendantReport.py: get_family_from_handle fixes
* plugins/FamilyGroup.py: get_family_from_handle fixes
* plugins/FanChart.py: get_family_from_handle fixes
* plugins/FtmStyleAncestors.py: get_family_from_handle fixes
* plugins/FtmStyleDescendants.py: get_family_from_handle fixes
* plugins/GraphViz.py: get_family_from_handle fixes
* plugins/IndivComplete.py: get_family_from_handle fixes
* plugins/IndivSummary.py: get_family_from_handle fixes
* plugins/Merge.py: get_family_from_handle fixes
* plugins/RelGraph.py: get_family_from_handle fixes
* plugins/Verify.py: get_family_from_handle fixes
* plugins/WebPage.py: get_family_from_handle fixes
* plugins/WriteCD.py: get_family_from_handle fixes
* plugins/WritePkg.py: get_family_from_handle fixes
* plugins/rel_de.py: get_family_from_handle fixes
* plugins/rel_hu.py: get_family_from_handle fixes
* plugins/rel_ru.py: get_family_from_handle fixes
svn: r3443
2004-08-19 21:35:16 +00:00
Don Allingham
082907d675
* various: change try_to_find_*_from_handle to
...
get_*_from_handle
svn: r3355
2004-08-07 05:16:57 +00:00
Don Allingham
95e62181d3
* src/RelLib.py, etc.: convert get_id to get_handle
...
svn: r3290
2004-07-28 02:29:07 +00:00
Alex Roitman
8ddbce94f0
* src/RelLib.py (try_to_find_person_from_id): Remove transaction;
...
(try_to_find_source_from_id, try_to_find_object_from_id,
try_to_find_place_from_id): Add functions.
* src/plugins/WriteCD.py, src/plugins/WritePkg.py,
src/plugins/WebPage.py, src/plugins/Verify.py,
src/plugins/TimeLine.py, src/plugins/Summary.py,
src/plugins/SoundGen.py, src/plugins/RelGraph.py,
src/plugins/RelCalc.py, src/plugins/PatchNames.py,
src/plugins/Merge.py, src/plugins/IndivSummary.py,
src/plugins/IndivComplete.py, src/plugins/GraphViz.py,
src/plugins/FtmStyleDescendants.py,
src/plugins/FtmStyleAncestors.py, src/plugins/FilterEditor.py,
src/plugins/FanChart.py, src/plugins/FamilyGroup.py,
src/plugins/EventCmp.py, src/plugins/DetDescendantReport.py,
src/plugins/DetAncestralReport.py, src/plugins/DescendReport.py,
src/plugins/Desbrowser.py, src/plugins/CountAncestors.py,
src/plugins/Check.py, src/plugins/ChangeTypes.py,
src/plugins/BookReport.py, src/plugins/Ancestors.py,
src/plugins/AncestorReport.py, src/plugins/AncestorChart.py,
src/plugins/AncestorChart2.py, src/Relationship.py,
src/Sort.py, src/GenericFilter.py, src/SubstKeywords.py,
src/GraphLayout.py: Switch from find_* to try_to_find_* methods.
svn: r3191
2004-05-26 02:05:02 +00:00
Alex Roitman
cc19349f63
* src/Relationship.py: Factor out relationship distance computation.
...
* src/plugins/rel_ru.py: Use self.get_distance().
* src/plugins/rel_de.py: Use self.get_distance().
* configure.in, configure: Change version.
* src/plugins/rel_hu.py: Convert to class.
svn: r2858
2004-02-17 04:47:24 +00:00
Don Allingham
2e9976510b
get_id updates
...
svn: r2846
2004-02-15 23:10:12 +00:00
Alex Roitman
12ce70ddf9
* src/Relationship.py: More corrections.
...
* src/plugins/rel_ru.py: Corrections.
* src/gramps_main.py: Corrections.
svn: r2842
2004-02-15 21:28:31 +00:00
Don Allingham
3fef3dd32e
* src/plugins/RelCalc.py: Handle IDs properly
...
* src/Relationship.py: Handle IDs properly
* src/home.png: added new default person icon
svn: r2838
2004-02-15 16:45:33 +00:00
Don Allingham
015973462a
Move from object references to IDs
...
svn: r2822
2004-02-14 05:40:30 +00:00
Alex Roitman
7d22d49f70
Relationship fix
...
svn: r2699
2004-01-23 14:44:28 +00:00
Don Allingham
0718510e0a
* src/docgen/AbiWord2Doc.py: pychecker fixes
...
* src/docgen/HtmlDoc.py: pychecker fixes
* src/docgen/KwordDoc.py: pychecker fixes
* src/docgen/LaTeXDoc.py: pychecker fixes
* src/docgen/OpenOfficeDoc.py: pychecker fixes
* src/docgen/OpenSpreadSheet.py: pychecker fixes
* src/docgen/PSDrawDoc.py: pychecker fixes
* src/docgen/PdfDoc.py: pychecker fixes
* src/docgen/SvgDrawDoc.py: pychecker fixes
* src/plugins/Ancestors.py: pychecker fixes
* src/plugins/BookReport.py: pychecker fixes
* src/plugins/CustomBookText.py: pychecker fixes
* src/plugins/DescendReport.py: pychecker fixes
* src/plugins/DetAncestralReport.py: pychecker fixes
* src/plugins/DetDescendantReport.py: pychecker fixes
* src/plugins/FtmStyleAncestors.py: pychecker fixes
* src/plugins/IndivComplete.py: pychecker fixes
* src/plugins/ReadPkg.py: pychecker fixes
* src/plugins/RelCalc.py: pychecker fixes
* src/plugins/SimpleBookTitle.py: pychecker fixes
* src/plugins/TimeLine.py: pychecker fixes
* src/plugins/WriteCD.py: pychecker fixes
* src/plugins/WriteFtree.py: pychecker fixes
* src/plugins/rel_de.py: pychecker fixes
* src/GenericFilter.py: pychecker fixes
* src/RelLib.py: pychecker fixes
* src/Report.py: pychecker fixes
* src/SelectPerson.py: pychecker fixes
* src/gramps_main.py: pychecker fixes
svn: r2634
2004-01-13 05:05:39 +00:00
Don Allingham
0b96a875df
* src/GrampsCfg.py: Add comment about SUSE naming of gconf
...
* src/Relationship.py: detect a RuntimeError exception that occurs
when we exceed the recursion depth limit. This occurs when a
relationship loop is detected
* src/gramps_main.py: handle relationship loop message
svn: r2355
2003-11-20 04:18:10 +00:00
Tim Waugh
94d169d9b4
2003-09-10 Tim Waugh <twaugh@redhat.com>
...
* src/Relationship.py: Fixed typos in relationship descriptions.
svn: r2113
2003-09-10 13:43:47 +00:00
Don Allingham
cebe78e517
* src/Relationship.py: add "get_grandparents_string" to return the
...
grandparents relationship between to people.
svn: r1988
2003-08-11 02:57:12 +00:00
Tim Waugh
56754c2f0b
2003-07-10 Tim Waugh <twaugh@redhat.com>
...
* src/Relationship.py: Fix '[...]teenth' relationship name typos.
svn: r1857
2003-07-10 17:03:04 +00:00
Don Allingham
cf54cbc309
pychecker fixes
...
svn: r1750
2003-06-16 04:57:25 +00:00
Alex Roitman
5b1d3fca7d
Corrections
...
svn: r1482
2003-04-30 04:21:04 +00:00
Don Allingham
5d09a26cd2
Relcal changes for plugins
...
svn: r1479
2003-04-30 00:24:32 +00:00
Don Allingham
35184f9d6f
Translation changes
...
svn: r1432
2003-04-10 02:49:51 +00:00
Don Allingham
165efc5848
Find support
...
svn: r1423
2003-04-04 05:48:25 +00:00
Don Allingham
97068b77a6
Merge fixes, option to display relationship to the home person in the
...
status bar.
svn: r1380
2003-03-22 20:26:44 +00:00