Commit Graph

2696 Commits

Author SHA1 Message Date
Don Allingham
9f21db52b8 * src/GrampsDb/_GrampsDbBase.py: prevent null event types and
attribute types from being added
	* src/Editors/_EditAttribute.py: prevent null attribute types
	* src/Editors/_EditEvent.py: prevent null attribute types
	* src/AutoComp.py: filter out empty strings
	* src/ImgManip.py: check for file before attempting thumbnailer


svn: r6898
2006-06-16 03:32:51 +00:00
Don Allingham
1b990e27e4 2006-06-15 Don Allingham <don@gramps-project.org>
* src/ScratchPad.py: enable Text dnd



svn: r6897
2006-06-16 02:45:14 +00:00
Alex Roitman
0b673f517b * src/Config/_GrampsConfigKeys.py: Re-generate file.
* src/GrampsCfg.py: More name display prefs.


svn: r6896
2006-06-15 21:07:41 +00:00
Alex Roitman
a4c7e78664 * src/GrampsLogger/_ErrorReportAssistant.py (__init__): Adapt to
the Assistant change. 
	* src/Assistant.py: Convert to working both with and without
	ManagedWindow.
	(__init__): Adapt to the Assistant change.


svn: r6895
2006-06-15 18:24:43 +00:00
Alex Roitman
e070e77c14 In .:
* src/DisplayTabs/Makefile.am (pkgdata_PYTHON): Ship new file.
	* src/DisplayTabs/__init__.py: Import new module.
	* src/DisplayTabs/_TextTab.py: Add new module.
	* src/Editors/_EditSourceRef.py (_setup_fields): Remove Text tab;
	(_create_tabbed_pages): Add Text tab.
	* src/glade/gramps.glade (source_ref_edit): Remove Text tab.
In po:
2006-06-15  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6894
2006-06-15 17:17:42 +00:00
Alex Roitman
ad07424022 * src/GrampsDb/_WriteGedcom.py (write_photo): Typo.
svn: r6893
2006-06-15 16:46:12 +00:00
Alex Roitman
0ba1aa309c 2006-06-15 Alex Roitman <shura@gramps-project.org>
* src/Exporter.py (build_options): Correctly shift all pages.



svn: r6892
2006-06-15 16:44:17 +00:00
Don Allingham
ba8bbc4d08 * src/ScratchPad.py: check for null model
svn: r6891
2006-06-15 04:29:47 +00:00
Don Allingham
705d880931 2006-06-14 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix INT date format



svn: r6890
2006-06-15 03:23:57 +00:00
Alex Roitman
76f5ce900e 2006-06-14 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py: Factor out commont code.
	* src/Editors/_EditName.py (_setup_fields): Remove Default item.
	* src/RelLib/_Name.py (Name.DEF): Replace with CUSTOM, use LNFN in
	place of previous DEF.
	* src/GrampsCfg.py (add_name_panel): Add Name Display panel.
	* src/GrampsDb/_ReadXML.py (stop_name): Properly set name type;
	do not set conf attribute on attr, addr, and event.



svn: r6889
2006-06-14 20:20:39 +00:00
Brian Matherly
8187877ce6 pass dbstate to report
svn: r6888
2006-06-14 01:36:23 +00:00
Don Allingham
96cc8b7ead 2006-06-13 Don Allingham <don@gramps-project.org>
* src/Editors/_EditLdsOrd.py: LDS confirmation support
	* src/GrampsDb/_ReadGedcom.py: LDS confirmation support
	* src/GrampsDb/_WriteGedcom.py: LDS confirmation support
	* src/GrampsDb/_GedTokens.py: LDS confirmation support
	* src/GrampsDb/_LdsOrdd.py: LDS confirmation support



svn: r6887
2006-06-13 23:51:24 +00:00
Alex Roitman
2668b38e24 2006-06-13 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Avoid using
	secondary index when upgrading events; manually resolve duplicate IDs.



svn: r6886
2006-06-13 19:59:14 +00:00
Brian Matherly
475e167e21 * src/plugins/GraphVis.py: ues Mime instead of GrampsMime
svn: r6883
2006-06-13 02:08:11 +00:00
Don Allingham
1545b277a8 2006-06-11 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix event parsing
	* src/GramspDb/_GedcomInfo.py: fix ORDN identification



svn: r6882
2006-06-12 04:51:11 +00:00
Don Allingham
a45f50fb1e 2006-06-10 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fixes based of the gedcom torture test
	* src/GrampsDb/_GedTokeys.py: fixes based of the gedcom torture test



svn: r6880
2006-06-11 04:19:47 +00:00
Don Allingham
bca9cd577d * src/GrampsDb/_GedTokens.py: yet even more funky fixes, handle more
non-standard tags


svn: r6879
2006-06-10 05:15:15 +00:00
Don Allingham
05f6c60733 * src/GrampsDb/_ReadGedcom.py: yet even more funky fixes, pass Jerome's tests
svn: r6878
2006-06-10 04:27:43 +00:00
Don Allingham
3736291608 2006-06-09 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: yet even more funky fixes
	* src/GrampsDb/_GedTokens.py: yet even more funky fixes
	


svn: r6877
2006-06-09 21:33:48 +00:00
Don Allingham
92c6e9b0d5 2006-06-08 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: handle more bizarre and illegal
	statements output by other programs.



svn: r6875
2006-06-08 21:38:43 +00:00
Don Allingham
81f86cefff * src/GrampsDb/_GedTokens.py: handle some obscure tokens
svn: r6874
2006-06-08 04:51:45 +00:00
Alex Roitman
4c16c41514 2006-06-07 Alex Roitman <shura@gramps-project.org>
* src/plugins/Check.py (check_for_broken_family_links): Adapt to
	RelLib changes.



svn: r6873
2006-06-08 04:26:48 +00:00
Don Allingham
a60996dfc8 2006-06-07 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: fix child/parent relationships



svn: r6872
2006-06-08 04:08:16 +00:00
Don Allingham
d7e777e9b2 2006-06-06 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: read gedcoms that we write
	* src/GrampsDb/_WriteGedcom.py: read gedcoms that we write
	* src/DisplayState.py: handle unset active person



svn: r6871
2006-06-07 04:46:33 +00:00
Brian Matherly
d93e96c75d * src/ReportBase/_BareReportDialog.py: missing import (Bug #0000180)
svn: r6869
2006-06-07 02:10:35 +00:00
Don Allingham
6e8ffe4e2b Added repository information
svn: r6868
2006-06-06 22:20:38 +00:00
Alex Roitman
824bcfb0bd * src/GrampsDb/_ReadXML.py (start_eventref): Only set birth and
death references for events with primary role.


svn: r6867
2006-06-06 18:53:55 +00:00
Alex Roitman
5e30de4074 2006-06-06 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_DbUtils.py (set_birth_death_index): Only set birth
	and death references for events with primary role.



svn: r6866
2006-06-06 18:49:34 +00:00
Don Allingham
ebc6f094bc 2006-06-05 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: more improvements



svn: r6865
2006-06-06 04:23:04 +00:00
Alex Roitman
c8bfbbe967 2006-06-05 Alex Roitman <shura@gramps-project.org>
* src/plugins/BookReport.py (BookReportDialog.__init__): Correctly
	close managed window.



svn: r6864
2006-06-06 04:13:50 +00:00
Don Allingham
fb6be7329f * src/GrampsDb/_ReadGedcom.py: improve parsing, comment the code better
* example/gedcom/sample.ged: add new stuff


svn: r6863
2006-06-05 22:21:22 +00:00
Don Allingham
eaf9c3bd02 2006-06-05 Don Allingham <don@gramps-project.org>
* src/Mime/_PythonMime.py (_type_map): register .gpkg for non-linux
	platforms 



svn: r6862
2006-06-05 18:49:31 +00:00
Alex Roitman
3c385521b2 In .:
2006-06-04  Alex Roitman  <shura@gramps-project.org>
	* configure.in: Set up for the next release.
	* src/Filters/Rules/Person/_RegExpName.py (RegExpName.labels): Typo.

In po:
2006-06-04  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add missing files.



svn: r6861
2006-06-05 06:42:06 +00:00
Brian Matherly
95d81d68a2 * src/docgen/PSDrawDoc.py: fix imports - make it work
* src/ReportBase/_StyleEditor.py: use ManagedWindow
	* src/ReportBase/_BareReportDialog.py: import StyleEditor
	* src/plugins/BookReport.py: fix "Center Person" display
	* src/plugins/WriteCD.py: fail gracefully without Gnome

svn: r6860
2006-06-04 23:23:10 +00:00
Don Allingham
29d65c681e 2006-06-04 Don Allingham <don@gramps-project.org>
* src/plugins/Makefile.am (pkgdata_PYTHON): remove FilterEditor.py



svn: r6859
2006-06-04 18:49:28 +00:00
Alex Roitman
a3370e1753 * src/docgen/PSDrawDoc.py: Use ReportUtils.pt2cm.
* src/docgen/OpenOfficeDoc.py: Use ReportUtils.pt2cm.
	* src/docgen/ODFDoc.py: Use ReportUtils.pt2cm.


svn: r6858
2006-06-04 18:27:50 +00:00
Alex Roitman
8ed523bd58 2006-06-04 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/Makefile.am (pkgdata_PYTHON): Remove _BookReport.py
	* src/plugins/Makefile.am (pkgdata_PYTHON): Move BookReport.py



svn: r6857
2006-06-04 18:24:51 +00:00
Brian Matherly
97a8f19462 add Table of Contents marks
svn: r6855
2006-06-04 04:26:28 +00:00
Don Allingham
cb4030473c (BackRefList.create_buttons): set tooltips
svn: r6854
2006-06-04 02:59:08 +00:00
Don Allingham
eeb85415fa * src/DisplayTabs/_BackRefList.py (BackRefList.right_click):
override right click, because Remove and Add have no relevence


svn: r6853
2006-06-04 02:44:41 +00:00
Don Allingham
f6b975a8d7 2006-06-03 Don Allingham <don@gramps-project.org>
* src/FilterEditor/_ShowResults.py: move glade functions to 
	ManagedWindow
	* src/FilterEditor/_EditFilter.py: move glade functions to 
	ManagedWindow
	* src/FilterEditor/_FilterEditor.py: move glade functions to 
	ManagedWindow
	* src/FilterEditor/_EditRule.py: move glade functions to 
	ManagedWindow
	* src/ManagedWindow.py: move glade functions to ManagedWindow



svn: r6852
2006-06-03 19:08:09 +00:00
Don Allingham
e4d71caea8 * src/FilterEditor/_ShowResults.py: use list instead of text display
svn: r6851
2006-06-03 04:31:59 +00:00
Brian Matherly
945e4c020e various: enhance indexing with IndexMark
svn: r6850
2006-06-03 03:32:26 +00:00
Don Allingham
920c4e0798 2006-06-02 Don Allingham <don@gramps-project.org>
* src/FilterEditor/_EditFilter.py: clean up
	* src/FilterEditor/_EditRule.py: clean up
	* src/glade/rule.glade: clean up
	* src/Filters/Rules/Person/_IsDescendantFamilyOf.py: make current with RelLib

	* src/Filters/Rules/Person/_HasFamilyEvent.py: make current with RelLib

	* src/Filters/Rules/Person/_IsParentOfFilterMatch.py: make current with RelLib

	* src/Filters/Rules/Person/_FamilyWithIncompleteEvent.py: make current with RelLib

	* src/Filters/Rules/Person/_IsBookmarked.py: make current with RelLib

	* src/Filters/Rules/Person/_IsLessThanNthGenerationAncestorOfBookmarked.py:
	make current with RelLib



svn: r6849
2006-06-02 22:18:57 +00:00
Don Allingham
5306921adf 2006-06-01 Don Allingham <don@gramps-project.org>
* src/Filters/Rules/Person/_HaveAltFamilies.py: bring up to speed with
	RelLib changes



svn: r6847
2006-06-02 04:40:13 +00:00
Brian Matherly
e7509789b7 typo
svn: r6846
2006-06-02 04:21:45 +00:00
Brian Matherly
9620ca6e9c misc typos
svn: r6845
2006-06-02 04:19:09 +00:00
Don Allingham
9438a33215 2006-06-01 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: FilterEditor call sequence
	* src/FilterEditor/_EditFilter.py: added
	* src/FilterEditor/_FilterEditor.py: Break out other classes
	* src/FilterEditor/_EditRule.py: added
	* src/FilterEditor/_ShowResults.py: added
	* src/FilterEditor/Makefile.am: Add new files



svn: r6843
2006-06-02 03:21:52 +00:00
Alex Roitman
ad78fd80b7 * src/ReportBase/_ReportDialog.py (report): Use new report modules
for oddball reports.
	* src/plugins/GraphViz.py: Use new report modules.
	* src/plugins/NarrativeWeb.py: Use new report modules.
	* src/plugins/CountAncestors.py: Use wm and new report modules.
	* src/plugins/Summary.py: Use wm and new report modules.


svn: r6842
2006-06-02 00:40:54 +00:00
Alex Roitman
239d1c2c71 2006-06-01 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_BareReportDialog.py: import FilterComboBox.



svn: r6841
2006-06-02 00:14:41 +00:00
Don Allingham
504510f97e 2006-06-01 Don Allingham <don@gramps-project.org>
* configure.in: add FilterEditor subdir
	* src/DataViews/_PersonView.py: call filter editor with 'Person'
	argument
	* src/FilterEditor/_FilterEditor.py: get functional again
	* src/glade/rule.glade: clean up ui a bit
	* src/Filters/_FilterList.py: fix logical condition
	* src/Filters/_GenericFilter.py: fix inversion



svn: r6840
2006-06-01 22:37:13 +00:00
Brian Matherly
6caef68a69 * src/plugins/vaious: upgrade to new report interface
svn: r6838
2006-06-01 04:39:40 +00:00
Don Allingham
851aa94a83 * src/FilterEditor/_FilterEditor.py: moved from plugins, renamed
svn: r6837
2006-06-01 04:15:57 +00:00
Don Allingham
4eee7d334a 2006-05-31 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: call FilterEditor
	* src/FilterEditor/__init__.py: added
	* src/FilterEditor/_FilterEditor.py: moved from plugins
	* src/glade/rule.glade: filter editor changes
	* src/Makefile.am: change subdirs
	* src/FilterEditor/Makefile.am: added



svn: r6836
2006-06-01 03:36:59 +00:00
Alex Roitman
b42f24a983 * src/PluginUtils/_PluginMgr.py: Import MODE_CLI.
* src/ReportBase/_BookFormatComboBox.py: Adapt to changes.


svn: r6831
2006-05-31 19:26:34 +00:00
Alex Roitman
2e3d406b62 2006-05-31 Alex Roitman <shura@gramps-project.org>
* src/Selectors/_SelectPerson.py (__init__): take track argument.
	* src/Editors/_EditFamily.py: Adapt to SelectPerson change.
	* src/Editors/_EditPersonRef.py (_select_person): Adapt to
	SelectPerson change.
	* src/ReportBase/_BareReportDialog.py: Use dbstata and uistate,
	convert to Managed window.
	* src/ReportBase/_ReportDialog.py: Use dbstate and uistate.
	* src/ReportBase/_DrawReportDialog.py: Use dbstate and uistate.
	* src/ReportBase/_TextReportDialog.py: Use dbstate and uistate.
	* src/ViewManager.py (make_report_callback): Use dbstate and uistate.



svn: r6830
2006-05-31 18:26:50 +00:00
Don Allingham
658a6d147f 2006-05-30 Don Allingham <don@gramps-project.org>
* src/plugins/FilterEditor.py: start to bring into sync with
	code changes



svn: r6827
2006-05-31 04:32:19 +00:00
Alex Roitman
ee437c6bb8 2006-05-30 Alex Roitman <shura@gramps-project.org>
* various: break Report into a package.



svn: r6820
2006-05-31 00:48:07 +00:00
Brian Matherly
f69f9f0865 * src/PluginUtils/_ReportUtils.py: handle no person error
svn: r6818
2006-05-30 02:36:25 +00:00
Brian Matherly
e93c4575af insert name keys for indexing
svn: r6817
2006-05-30 01:18:41 +00:00
Alex Roitman
46a7b5bd5b * src/Editors/_EditFamily.py (EditFamily.save): Typo.
svn: r6816
2006-05-29 18:15:58 +00:00
Alex Roitman
30b4784a30 2006-05-29 Alex Roitman <shura@gramps-project.org>
* configure.in: Set up for 2.1.5.



svn: r6815
2006-05-29 17:02:18 +00:00
Brian Matherly
9fe2e98464 insert name keys for indexing
svn: r6814
2006-05-29 04:53:07 +00:00
Alex Roitman
5c3bb63974 * src/plugins/verify.glade: Add label.
svn: r6812
2006-05-29 03:34:26 +00:00
Alex Roitman
ba640760b1 * src/GrampsDb/_ReadXML.py (stop_event): Properly import birth and
death from the old XML.


svn: r6810
2006-05-29 03:00:07 +00:00
Brian Matherly
e086d75254 Add name keys for indexing in reports
svn: r6809
2006-05-29 02:52:14 +00:00
Alex Roitman
abf0607d8e * src/Editors/_EditFamily.py (EditFamily.save): Typo.
svn: r6806
2006-05-29 02:46:00 +00:00
Alex Roitman
a10de04d28 2006-05-28 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: Add double-clicking and mark/unmark/invert.



svn: r6804
2006-05-29 01:38:44 +00:00
Brian Matherly
cb7bf9f5d3 * src/docgen/OpenOfficeDoc.py: Allow large cells to span pages (bug 0000165)
svn: r6803
2006-05-28 15:10:47 +00:00
Alex Roitman
344288be74 * src/plugins/Verify.py: More updates.
svn: r6799
2006-05-28 04:17:46 +00:00
Alex Roitman
58407886d6 2006-05-27 Alex Roitman <shura@gramps-project.org>
* src/docgen/LPRDoc.py: Typo.



svn: r6798
2006-05-28 02:33:03 +00:00
Brian Matherly
c7ca6baf3e Add provisions for local mo files for Windows
svn: r6797
2006-05-27 21:04:44 +00:00
Brian Matherly
5060c054d4 src/plugins/IndivComplete.py: Add event notes
svn: r6796
2006-05-27 03:39:43 +00:00
Alex Roitman
84b5a802bb * src/BasicUtils.py (UpdateCallback.reset): Add method.
(Verify.on_apply_clicked): Reset the progress.


svn: r6794
2006-05-26 23:38:21 +00:00
Alex Roitman
d69a14df20 2006-05-26 Alex Roitman <shura@gramps-project.org>
* src/plugins/verify.glade: update interface.
	* src/plugins/Verify.py: More improvements. Still need to finish
	filtering and object editing on double click.



svn: r6792
2006-05-26 23:11:37 +00:00
Alex Roitman
bf38194d45 Update
svn: r6791
2006-05-26 23:08:27 +00:00
Don Allingham
be32f16c40 2006-05-26 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: build skip list for SelectFamily so that
	* a person cannot be his own parent
	* src/Editors/_EditFamily.py: don't allow a person to be his own parent
	* src/Selectors/_BaseSelector.py: Add skipping of handles
	* src/DisplayModels/_BaseModel.py: Add skipping of handles
	* src/DisplayModels/_MediaModel.py: Add skipping of handles
	* src/DisplayModels/_RepositoryModel.py: Add skipping of handles
	* src/DisplayModels/_SourceModel.py: Add skipping of handles
	* src/DisplayModels/_EventModel.py: Add skipping of handles
	* src/DisplayModels/_FamilyModel.py: Add skipping of handles
	* src/DisplayModels/_PlaceModel.py: Add skipping of handles



svn: r6790
2006-05-26 20:48:40 +00:00
Don Allingham
37fadcbe2c * src/DisplayTabs/_NoteTab.py (NoteTab.flow_changed): save flow status
in Note


svn: r6787
2006-05-26 04:09:36 +00:00
Don Allingham
339e8434fa * src/Merge/_MergeSource.py: note handling on source merge
* src/glade/mergedata.glade: note handling on source merge


svn: r6786
2006-05-26 03:07:48 +00:00
Don Allingham
8a7465b639 * src/Makefile.am: remove deleted files
svn: r6785
2006-05-26 00:44:18 +00:00
Don Allingham
bf0d25b660 2006-05-25 Don Allingham <don@gramps-project.org>
* configure.in: add Merge directory



svn: r6782
2006-05-26 00:10:59 +00:00
Alex Roitman
8d487a92b6 2006-05-25 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: More rework, still in progress.



svn: r6780
2006-05-25 23:59:51 +00:00
Don Allingham
c2276f723d * src/Merge/_MergePlace.py: handle notes
* src/glade/mergedata.glade: handle notes


svn: r6779
2006-05-25 23:43:34 +00:00
Don Allingham
38556466b0 * src/DataViews/_PersonView.py: Merge module support
* src/Merge/_MergeSource.py: broken out of MergeData.py
	* src/Merge/__init__.py: support of module
	* src/Merge/Makefile.am: added
	* src/Merge/_MergePlace.py: broken out of MergeData.py
	* src/Merge/_MergePerson.py: renamed


svn: r6778
2006-05-25 21:02:49 +00:00
Don Allingham
f129939ab6 * src/DataViews/_SourceView.py: source merge support
svn: r6777
2006-05-25 20:35:04 +00:00
Don Allingham
a7e7146897 2006-05-25 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py: place merge support
	* src/glade/mergedata.glade: place merge support
	* src/MergeData.py: place merge support
	* src/PageView.py: add support for multiselection



svn: r6776
2006-05-25 19:39:44 +00:00
Alex Roitman
8f6567b960 2006-05-24 Alex Roitman <shura@gramps-project.org>
* src/plugins/Verify.py: Start major rework, still in progress.



svn: r6774
2006-05-25 05:18:03 +00:00
Don Allingham
ba91817471 * src/DataViews/_PersonView.py: merge functionality
* src/ViewManager.py: merge functionality
	* src/MergePeople.py: fix merge (ui and birth/death events)
	* src/GrampsDb/_WriteXML.py: remove redundant birth/death entries


svn: r6773
2006-05-25 04:08:05 +00:00
Don Allingham
93cd3d0832 * src/GrampsDb/_DbUtils.py: fix index setting of death index
* src/GrampsDb/_WriteGedcom.py: remove redundant birth/death 
	references


svn: r6772
2006-05-25 02:30:16 +00:00
Don Allingham
aa0099c9c0 2006-05-24 Don Allingham <don@gramps-project.org>
* src/images/stock_notes.png: added
	* src/images/Makefile.am: add stock_notes.png
	* src/gramps_main.py: register stock_notes as gramps_notes
	* src/DisplayTabs.py: use gramps_notes instead of stock_notes



svn: r6771
2006-05-25 00:23:22 +00:00
Alex Roitman
28e2176c5d * src/Utils.py: move event/attr constants to GedcomInfo.
* src/plugins/TestcaseGenerator.py: Use new methods.
	* src/DisplayTabs/_LdsModel.py: Use new methods.
	* src/Editors/_EditLdsOrd.py: Use new methods.
	* src/RelLib/_LdsOrd.py: Add new methods.
	* src/GrampsDb/_WriteGedcom.py: Do not import unused module.
	* src/GrampsDb/_ReadXML.py: Use methods from LdsOrd.
	* src/lds.py: Rename to LdsUtils.py
	* src/GrampsDb/_ReadGedcom.py: Use new module name.
	* src/Makefile.am (gdir_PYTHON): Ship new file.



svn: r6770
2006-05-24 05:28:33 +00:00
Don Allingham
3c88cb4ce5 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: make shading optional
	* src/GrampsCfg.py: make shading optional
	* src/Config/_GrampsConfigKeys.py: make shading optional
	* data/gramps.schemas.in: make shading optional



svn: r6769
2006-05-24 04:49:05 +00:00
Alex Roitman
f5635de066 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Upgrade LdsOrd.



svn: r6766
2006-05-23 23:37:24 +00:00
Martin Hawlisch
a1e67e9e4f * src/DataViews/_MapView.py: Catch exceptions of the PixbufLoader that occur if nothing or not an image have been downloaded.
svn: r6765
2006-05-23 21:30:42 +00:00
Don Allingham
16b88765af 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_RelationView.py: finish shading
	* src/GrampsDb/_DbUtils.py: add birth/death index set funcion
	* src/Editors/_EditPerson.py: birth/death index fixes
	* src/DisplayTabs/_PersonEventEmbedList.py: birth/death index fixes
	* src/GrampsWidgets.py: shading fixes
	* src/DisplayModels/_PeopleModel.py: birth/death index fixes



svn: r6764
2006-05-23 21:07:26 +00:00
Alex Roitman
1b3d046781 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/Utils.py (probably_alive): Adapt to new birth/death refs.



svn: r6763
2006-05-23 20:31:39 +00:00
Alex Roitman
fb1b7b3744 * src/GrampsDb/_GrampsBSDDB.py (gramps_upgrade_9): Convert upgrade
to using new birth/death reference approach.
	* src/GrampsDb/_GrampsDbBase.py (commit_person): Simplify updating
	of the custom event roles.
	* src/GrampsDb/_WriteXML.py (write_person): Use methods to get
	birth/death ref, not raw attributes.
	* src/RelLib/_Person.py: Convert to using birth and death ref
	indices.
	birth/deat reference; use methods to get birth/death ref, not raw
	attributes.


svn: r6762
2006-05-23 19:55:35 +00:00
Don Allingham
80dcaea023 * src/DataViews/_RelationView.py: renamed from _FamilyView
* src/DataViews/__init__.py: use RelationView.py
	* src/DataViews/Makefile.am: update


svn: r6761
2006-05-23 19:46:02 +00:00
Martin Hawlisch
9cb82c9dac * src/DataViews/_PedigreeView.py: Use dbstate only to not get out of sync with db and active person.
svn: r6760
2006-05-23 19:01:43 +00:00
Alex Roitman
b0e5e65046 2006-05-23 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_ReadXML.py (start_eventref): Do not reset existing
	birth/deat reference.



svn: r6758
2006-05-23 17:02:06 +00:00
Don Allingham
947c5946b6 2006-05-23 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py: more shading



svn: r6756
2006-05-23 16:33:42 +00:00
Alex Roitman
999c33493e 2006-05-22 Alex Roitman <shura@gramps-project.org>
* data/gramps.schemas.in: Typos.
	* src/DataViews/_PedigreeView.py (rebuild): Typo.



svn: r6753
2006-05-23 04:59:50 +00:00
Don Allingham
fee7d2c445 2006-05-22 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamilyView.py: start shading of data



svn: r6752
2006-05-23 03:50:37 +00:00
Alex Roitman
36413653f9 * src/GrampsDb/_WriteGedcom.py: Multiple improvements.
* various: Replace get/set_base_handle with get/set_reference_handle.
	* src/RelLib/_SourceRef.py (get_base_handle,set_base_handle):
	Remove redundant methods.


svn: r6750
2006-05-22 23:56:57 +00:00
Alex Roitman
a11c0949d6 2006-05-22 Alex Roitman <shura@gramps-project.org>
* src/ArgHandler.py (need_gui): Add method.
	* src/ViewManager.py: Move statusbar notification from gramps_main.
	* src/gramps_main.py: Remove unused methods, handle ArgHandler better.



svn: r6749
2006-05-22 18:07:12 +00:00
Don Allingham
546ae1a6ff 2006-05-21 Don Allingham <don@gramps-project.org>
* src/ViewManager.py: handle export, import, and save as if
	database does not exist, yet UIManager still wants to call them.



svn: r6748
2006-05-22 04:17:18 +00:00
Alex Roitman
b8f421b049 2006-05-21 Alex Roitman <shura@gramps-project.org>
* configure.in: Set up for the next release.



svn: r6747
2006-05-22 03:19:42 +00:00
Brian Matherly
6a0bd5cf33 src/plugins/TimeLine.py: round all dates to nearest decade
svn: r6746
2006-05-22 02:57:27 +00:00
Don Allingham
446f88cd84 2006-05-21 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py (MonitoredEntry.set_text): added function



svn: r6745
2006-05-22 02:51:20 +00:00
Brian Matherly
79bf111b5d src/plugins/GraphViz.py: fix unicode encoding
svn: r6744
2006-05-22 01:55:15 +00:00
Alex Roitman
a45108305b * src/GrampsDb/_WriteGedcom.py: Repository export.
svn: r6743
2006-05-21 23:32:34 +00:00
Brian Matherly
7d93dd0602 * src/plugins/Calendar.py: make calendar work in Windows
* src/GrampsLocale.py: make calendar work in Windows

svn: r6741
2006-05-21 22:12:14 +00:00
Alex Roitman
270e14ae92 * src/GrampsDb/_GrampsInMemDB.py (GrampsInMemDB.__init__): Remove
unused variables.


svn: r6740
2006-05-21 21:07:15 +00:00
Alex Roitman
f094353066 2006-05-21 Alex Roitman <shura@gramps-project.org>
* src/plugins/Calendar.py (print_page): Use correct variable.



svn: r6739
2006-05-21 21:03:44 +00:00
Alex Roitman
4b4ff7e0ac * src/GrampsDb/_GrampsBSDDB.py: Do not import unused module.
Do not import unused module.


svn: r6738
2006-05-21 20:48:50 +00:00
Brian Matherly
8b1298e7f7 src/plugins/GraphViz.py.in: fix file open.
svn: r6737
2006-05-21 20:39:14 +00:00
Alex Roitman
0c2f2fdd11 * src/const.py.in: Use gettext.
* src/GrampsDb/_ConstXML.py: Remove file.


svn: r6736
2006-05-21 20:27:46 +00:00
Alex Roitman
ba6a131489 2006-05-21 Alex Roitman <shura@gramps-project.org>
* src/DisplayTabs/_PersonEventEmbedList.py
	(PersonEventEmbedList.default_type): properly process event list.
	* src/Editors/_EditEventRef.py (EditEventRef.get_custom_events):
	Use correct method.
	* src/Editors/_EditEvent.py (EditEvent.get_custom_events)
	(EditPersonEvent.get_custom_events): Use correct method.
	* src/GrampsDb/_GrampsDbBase.py: Remove obsolete methods.
	* src/GrampsDb/_GrampsInMemDB.py: Remove obsolete methods.



svn: r6735
2006-05-21 18:17:52 +00:00
Don Allingham
5c7267e9c3 2006-05-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: custom menus
	* src/Editors/_EditLdsOrd.py: custom menus
	* src/Editors/_EditSourceRef.py: custom menus
	* src/Editors/_EditSource.py: custom menus
	* src/Editors/_EditRepoRef.py: custom menus
	* src/Editors/_EditUrl.py: custom menus
	* src/Editors/_EditAttribute.py: custom menus
	* src/Editors/_EditPerson.py: custom menus
	* src/Editors/_EditLocation.py: custom menus
	* src/Editors/_EditMediaRef.py: custom menus
	* src/Editors/_EditEventRef.py: custom menus
	* src/Editors/_EditMedia.py: custom menus
	* src/Editors/_EditRepository.py: custom menus
	* src/Editors/_EditName.py: custom menus
	* src/Editors/_EditChildRef.py: custom menus
	* src/Editors/_EditFamily.py: custom menus
	* src/Editors/_EditEvent.py: custom menus



svn: r6734
2006-05-21 04:24:56 +00:00
Alex Roitman
e08ae4e0b0 * src/GrampsDb/_WriteGedcom.py (write_repos): Add method.
svn: r6733
2006-05-21 04:14:47 +00:00
Alex Roitman
9b010f7840 * src/gramps_main.py (Gramps.__init__): Call ArgHandler between
init_interface and post_init_interface.
	* src/ViewManager.py (init_interface): Split off post_init_interface.


svn: r6732
2006-05-21 04:13:34 +00:00
Alex Roitman
e0f97ecfc7 2006-05-20 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: Correct set_type calls.



svn: r6731
2006-05-20 18:40:20 +00:00
Don Allingham
5b21e3c65f * src/Config/_GrampsConfigKeys.py: online map config value
* data/gramps.schema.in: online map config value
	* src/Config/gen_schema_keys.py: clean up


svn: r6729
2006-05-20 01:59:47 +00:00
Don Allingham
b59b9b0e04 * src/DataViews/_MapView.py: use config value to determine if online
maps should be used
	* src/GrampsCfg.py: online map config value
	* src/Config/_GrampsCOnfigKeys.py: online map config value
	* daa/gramps.schema.in: online map config value


svn: r6728
2006-05-20 01:49:38 +00:00
Don Allingham
116e75ffda 2006-05-19 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: repository does not have a media_list

2006-05-17  Don Allingham  <don@gramps-project.org>
	* GrampsDb/_ReadGedcom.py: pychecker
	* GrampsDb/_GrampsDbBase.py: pychecker
	* GrampsDb/_DbUtils.py: pychecker
	* GrampsDb/_WriteGedcom.py: pychecker
	* StartupDialog.py: pychecker
	* DisplayTabs/_FamilyLdsEmbedList.py: pychecker
	* TipOfDay.py: pychecker
	* Utils.py: pychecker
	* PageView.py: pychecker
	* ToolTips.py: pychecker
	* Filters/_FilterWidget.py: pychecker
	* Filters/_SearchBar.py: pychecker
	* Filters/__init__.py: pychecker
	* Filters/_FilterStore.py: pychecker
	* Filters/_PersonSidebarFilter.py: pychecker
	* Filters/_FilterMenu.py: pychecker
	* Filters/_SidebarFilter.py: pychecker



svn: r6727
2006-05-20 01:21:37 +00:00
Alex Roitman
bbf3932b26 2006-05-19 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_DbUtils.py (db_copy): Copy custom types.



svn: r6726
2006-05-20 00:52:47 +00:00
Martin Hawlisch
06502f8070 * src/DataViews/_MapView.py (WMSMapTile): Start of map download inside an idle handler.
svn: r6724
2006-05-19 19:13:17 +00:00
Alex Roitman
02494fcaa7 2006-05-19 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: Define methods to get custom types.
	* src/GrampsDb/_GrampsBSDDB.py: Load/save marker_types.



svn: r6721
2006-05-19 17:32:23 +00:00
Don Allingham
2c91f75fad 2006-05-19 Don Allingham <don@gramps-project.org>
* src/RelLib/_SecondaryObject.py: added, provide is_equal
	* src/RelLib/_Url.py: inherit from SecondaryObject
	* src/RelLib/_MediaRef.py: inherit from SecondaryObject
	* src/RelLib/_ChildRef.py: inherit from SecondaryObject
	* src/RelLib/_Name.py: inherit from SecondaryObject
	* src/RelLib/_Address.py: inherit from SecondaryObject
	* src/RelLib/_SourceRef.py: inherit from SecondaryObject
	* src/RelLib/_RepoRef.py: inherit from SecondaryObject
	* src/RelLib/_PersonRef.py: inherit from SecondaryObject
	* src/RelLib/_Attribute.py: inherit from SecondaryObject
	* src/RelLib/_Note.py: inherit from SecondaryObject
	* src/RelLib/_Location.py: inherit from SecondaryObject
	* src/RelLib/_EventRef.py: inherit from SecondaryObject
	* src/RelLib/_Event.py: inherit from SecondaryObject
	* src/RelLib/_LdsOrd.py: inherit from SecondaryObject



svn: r6720
2006-05-19 15:01:12 +00:00
Alex Roitman
7647d541e0 (commit_*): update custom type sets on commit.
svn: r6719
2006-05-19 00:39:22 +00:00
Alex Roitman
5aac3cd713 * src/GrampsDb/_GrampsBSDDB.py: Remove unused methods; remove
unused secondary tables; add more custom type holders.
	* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Add more
	custom type holders.
	(XmlWriter.write_xml_data): Do not export name groups.



svn: r6718
2006-05-19 00:05:44 +00:00
Alex Roitman
941e0bf8e4 * src/DisplayTabs/_BackRefList.py (edit_button_clicked): Typo.
svn: r6717
2006-05-18 23:16:49 +00:00
Alex Roitman
b1b9987f52 * src/DataViews/_RepositoryView.py (edit, on_double_click): Catch
exception.
	* src/GrampsWidgets.py (PlaceEntry.add_del_clicked) 
	(PlaceEntry.share_clicked): Catch exception.


svn: r6716
2006-05-18 23:02:47 +00:00
Alex Roitman
53269db447 * src/GrampsDb/_DbUtils.py (db_copy): Copy bookmarks and gender stats.
(importData): Import bookmarks.


svn: r6715
2006-05-18 22:56:13 +00:00
Alex Roitman
b970a24a1b * data/grampsxml.dtd: Update for new bookmarks.
* data/grampsxml.rng: Update for new bookmarks.
	* src/GrampsDb/_WriteXML.py (write_bookmarks): Add method to write
	new bookmarks.
	* src/GrampsDb/_ReadXML.py (start_bmark): Parse new bookmarks


svn: r6714
2006-05-18 22:17:51 +00:00
Alex Roitman
ac4dae0429 2006-05-18 Alex Roitman <shura@gramps-project.org>
* INSTALL: Clarify; list build-dependencies.
	* src/GrampsDb/_ReadGrdb.py: Update progress.



svn: r6713
2006-05-18 21:16:59 +00:00
Don Allingham
b29a2d608e state/city mapping
svn: r6711
2006-05-18 17:16:03 +00:00
Don Allingham
c3f8dbb44f fix ansel detection
svn: r6710
2006-05-18 16:08:56 +00:00
Don Allingham
3cef77702c Fix media ref glade description
svn: r6709
2006-05-18 15:22:53 +00:00
Alex Roitman
db5050f860 * src/GrampsDb/_ReadXML.py (start_childref): Typo.
svn: r6705
2006-05-18 04:40:37 +00:00
Alex Roitman
ff8a1910d9 * src/GrampsDb/_ReadGrdb.py: Add repos, modularize.
svn: r6704
2006-05-18 04:16:54 +00:00
Alex Roitman
4623e525dd 2006-05-17 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py: Reorder calls to make work with ArgHandler.



svn: r6702
2006-05-18 03:11:15 +00:00
Don Allingham
655f573a33 2006-05-17 Don Allingham <don@gramps-project.org>
* src/GrampsCfg.py: pychecker fixes
	* src/GrampsWidgets.py: pychecker fixes
	* src/glade/gramps.glade: fix text entry -> label
	* src/NameDisplay.py: pychecker fixes
	* src/DisplayState.py: pychecker fixes
	* src/GrampsDisplay.py: pychecker fixes
	* src/DateEdit.py: pychecker fixes
	* src/gramps_main.py: pychecker fixes
	* src/DbLoader.py: pychecker fixes



svn: r6701
2006-05-18 01:39:50 +00:00
Alex Roitman
47ad2d19cb * src/ArgHandler.py: Adapt to recent changes.
* src/BasicUtils.py (update_empty): Clean up callback.
	* src/GrampsDb/_ReadGedcom.py: Clean up callback.


svn: r6700
2006-05-18 01:02:52 +00:00
Alex Roitman
79468e0196 In .:
* src/GrampsDb/_GrampsDbBase.py (DbState.change_database_noclose):
	Add new method.
	* src/Makefile.am (gdir_PYTHON): Ship new file.
In po:
2006-05-17  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new file.



svn: r6699
2006-05-17 23:36:31 +00:00
Alex Roitman
1086570d2f 2006-05-17 Alex Roitman <shura@gramps-project.org>
* src/DbLoader.py: add new module.
	* src/ViewManager.py: Use DbLoader.
	* src/DisplayState.py (load): Do not perform post_load tasks.
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB.load): close if
	version is incopmatible.



svn: r6698
2006-05-17 21:16:59 +00:00
Don Allingham
2822d10efb * src/GrampsDb/_GrampsDbBase.py: remove place name storage
* src/Editors/_EditLdsOrd.py: new SelectPlace interface
	* src/glade/gramps.glade: new select place interface changes


svn: r6697
2006-05-17 20:42:02 +00:00
Don Allingham
72dcefbc0f * src/Editors/_EditEventRef.py: new SelectPlace interface, remove
old code


svn: r6696
2006-05-17 20:21:16 +00:00
Don Allingham
ec18684ca3 2006-05-17 Don Allingham <don@gramps-project.org>
* src/Editors/_EditPlace.py: new SelectPlace interface
	* src/Editors/_EditEventRef.py: new SelectPlace interface
	* src/Editors/_EditEvent.py: new SelectPlace interface
	* src/GrampsWidgets.py: new Place editor interface



svn: r6695
2006-05-17 19:32:19 +00:00
Alex Roitman
59c08849e8 2006-05-17 Alex Roitman <shura@gramps-project.org>
* src/GrampsWidgets.py (LinkLabel.__init__): Set cursor to HAND1.



svn: r6694
2006-05-17 18:12:16 +00:00