Commit Graph

2875 Commits

Author SHA1 Message Date
Don Allingham
a895871b60 2006-07-10 Don Allingham <don@gramps-project.org>
* src/DataViews/_FamlyList.py: add filter editor support
	* src/FilterEditor/_FilterEditor.py: add family support
	* src/FilterEditor/_EditRule.py: add family support
	* src/Filters/_FamilySidebarFilter.py: start of family support
	* src/Filters/Rules/Family/_HasRelType.py: start of family filters
	* src/Filters/Rules/Family/__init__.py: start of family filters



svn: r7014
2006-07-10 17:45:18 +00:00
Don Allingham
65e8840903 2006-07-09 Don Allingham <don@gramps-project.org>
* configure.in: up the version number
	* src/DataViews/_FamilyList.py: add support for sidebar filter
	* src/DisplayModels/_BaseModel.py: handle generic model filtering
	* src/PageView.py: Add support for generic modeling
	* src/Filters/__init__.py: generic family rule support
	* src/Filters/_GenericFilter.py: generic family rule support
	* help/C/gramps-manual.xml: updates
	* help/Makefile.am: remove old files



svn: r7013
2006-07-10 03:34:19 +00:00
Don Allingham
a6dca66a8d * src/ScratchPad.py (ScratchPersonLink.tooltip): fix tooltip for
person


svn: r7011
2006-07-09 02:47:34 +00:00
Don Allingham
e897718d06 2006-07-08 Don Allingham <don@gramps-project.org>
* src/ViewManager.py (ViewManager._build_main_window): restore tabs
	to their normal position



svn: r7010
2006-07-08 14:51:26 +00:00
Don Allingham
1d8be1c7a7 2006-07-07 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: add edit child/relationship options
	in the popup menu
	* src/DisplayTab/_EmbeddedList.py: break out menu specification to
	make it easier to override
	* src/glade/gramps.glade: remove unused objects
	* help/C/figures/place.png: update



svn: r7008
2006-07-08 04:17:50 +00:00
Brian Matherly
fc53b89370 fix restoration of gallery setting for NarrativeWeb.py
svn: r7007
2006-07-08 04:10:42 +00:00
Alex Roitman
f227ac5d41 * data/gramps.schemas.in: Remove unused key.
* src/Config/_GrampsConfigKeys.py: Regenerate file.
* src/NameDisplay.py (NameDisplay._format_str_base): Document the
format string interface.

svn: r7003
2006-07-06 23:45:15 +00:00
Don Allingham
323dd9033b * src/GrampsCfg.py: add cell renderer to combobox
svn: r7001
2006-07-06 20:11:32 +00:00
Don Allingham
2b9c05714d 2006-07-06 Don Allingham <don@gramps-project.org>
* help/C/gramps-manual.xml: update doc
	


svn: r7000
2006-07-06 18:46:50 +00:00
Alex Roitman
89189e2d35 2006-07-06 Alex Roitman <shura@gramps-project.org>
* src/ViewManager.py (ViewManager.post_load_newdb): Register
	custom formats after loading the db.
	* src/GrampsCfg.py: Switch to use new formats (still in progress).
	* src/GrampsDb/_GrampsDbBase.py (GrampsDbBase.__init__): Set up
	custom name formats list.
	* src/GrampsDb/_DbUtils.py (db_copy): Copy custom name formats.
	* src/GrampsDb/_ReadXML.py (start_format): Parse custom formats.
	* src/GrampsDb/_WriteXML.py (write_name_formats): Add method.
	* src/GrampsDb/_GrampsBSDDB.py (GrampsBSDDB._load_metadata) 
	(GrampsBSDDB._close_metadata): load and save name_formats.
	* src/Editors/_EditName.py (EditName._setup_fields): Use proper
	format lists.
	* src/NameDisplay.py: Support new name formats scheme.
	* src/RelLib/_Name.py (Name.DEFAULT_FORMATS): Add list of formats.



svn: r6999
2006-07-06 17:46:46 +00:00
Don Allingham
470ce50876 2006-07-05 Don Allingham <don@gramps-project.org>
* src/Editors/_EditChildRef.py: fix title
	* src/Editors/_EditFamily.py: call sequence for EditChildRef 
	* src/glade/gramps.glade: childref label fix
	* src/ManagedWindow.py: spacking
	* help/C/gramps-manual.xml: text updates
	* help/C/figures/select-family.png: added
	* help/C/figures/select-person.png: added
	* help/C/figures/family-warn.png: added
	* help/C/figures/child-ref.png: added
	* help/C/figures/edit-family.png: added
	* help/C/figures/gedcom-export.png: updated
	* help/C/figures/export-druid.png: updated



svn: r6993
2006-07-05 19:00:32 +00:00
Don Allingham
835329191f 2006-07-04 Don Allingham <don@gramps-project.org>
* various: pyflakes fixes



svn: r6992
2006-07-04 23:38:51 +00:00
Alex Roitman
fcdf547f21 2006-07-04 Alex Roitman <shura@gramps-project.org>
* src/GrampsWidgets.py (hand_cursor): Use HAND2 instead of HAND1.



svn: r6990
2006-07-04 17:58:14 +00:00
Don Allingham
ef734bd918 2006-07-04 Don Allingham <don@gramps-project.org>
* src/DataViews/_PlaceView.py (PlaceView.ui_definition): 
	add google maps to tool bar



svn: r6989
2006-07-04 17:57:09 +00:00
Don Allingham
f6e757a1b6 * src/DataViews/_PlaceView.py: add attempt to map to google maps,
check for valid list


svn: r6985
2006-07-04 04:59:15 +00:00
Don Allingham
1c6f096370 * src/DataViews/_PlaceView.py: add attempt to map to google maps
svn: r6984
2006-07-04 03:53:51 +00:00
Don Allingham
264785fe02 2006-07-03 Don Allingham <don@gramps-project.org>
* src/glade/gramps.glade: fix date status button.



svn: r6983
2006-07-03 23:38:38 +00:00
Don Allingham
5650391bd1 * various: pyflakes fixes
svn: r6982
2006-07-03 04:25:33 +00:00
Don Allingham
33a3a1a755 2006-07-02 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py: add filter editor support
	* src/DataViews/_Relationship.py: add filter editor support
	* src/DataViews/_PersonView.py: move filter editor support to PageView
	* src/PageView.py: add filter editor support



svn: r6981
2006-07-03 02:28:44 +00:00
Don Allingham
6e19f2e13e * src/DisplayState.py: fix spacing
svn: r6980
2006-07-02 05:11:47 +00:00
Don Allingham
fe9bd541b4 * src/DisplayTabs/_SourceEmbedList.py: check for empty reference
before attempting to edit


svn: r6979
2006-07-02 03:46:19 +00:00
Don Allingham
1ea2bbf4bd 2006-07-01 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: fix LinkLabel to not try to rebuild 
	gender code



svn: r6978
2006-07-01 19:54:35 +00:00
Don Allingham
0946c17dba * src/AddMedia.py: use full paths for calculations to avoid pwd issues
* src/DbLoader.py: fix working directories
	* example/gramps/example.gramps: remove hard coded paths
	* example/gramps/data.gramps: remove hard coded paths


svn: r6977
2006-07-01 04:55:36 +00:00
Don Allingham
cf20986cc5 * src/GrampsDb/_DbUtils.py (remove_parent_from_family): adjust the
transaction message for appropriate father/mother indicator


svn: r6976
2006-07-01 03:58:45 +00:00
Don Allingham
63d83777e3 font problems by switching fonts if needed
svn: r6975
2006-06-30 14:22:49 +00:00
Don Allingham
9c2a24083b 2006-06-30 Don Allingham <don@gramps-project.org>
* src/GrampsWidgets.py: Add GenderWidget to try to isolate windows 
	font problems



svn: r6973
2006-06-30 13:58:19 +00:00
Don Allingham
fb8d1bc994 2006-06-28 Don Allingham <don@gramps-project.org>
* src/DataViews/_PedigreeView.py (PedigreeView.rebuild): use gtk.Arrow
	instead of unicode characters



svn: r6972
2006-06-28 18:46:35 +00:00
Brian Matherly
236c976093 remove duplicate birth and death events in reports (fixes bug #235)
svn: r6971
2006-06-28 04:01:14 +00:00
Brian Matherly
4234d0133f src/GampsLogger/_ErrorReportAssistant.py: fix error message in Windows
svn: r6970
2006-06-28 02:52:38 +00:00
Don Allingham
0d445ff813 * src/ReportBase/_ReportDialog.py (report): catch IOError
svn: r6969
2006-06-27 05:12:21 +00:00
Don Allingham
523062dbe4 2006-06-26 Don Allingham <don@gramps-project.org>
* src/Filters/Rules/Person/_HasDeath.py: use references instead of
	handles



svn: r6968
2006-06-27 04:55:07 +00:00
Alex Roitman
cfd5ae93fb 2006-06-24 Alex Roitman <shura@gramps-project.org>
* src/NameDisplay.py (_format_base): Add format string display;
	(_format_raw, _format): Add format string methods.
	* src/GrampsCfg.py (name_changed): Switch back to int key.
	* data/gramps.schemas.in: Add name-format-str key for custom name
	display format string.
	* src/Config/_GrampsConfigKeys.py: Re-generate the file.
	* src/Config/gen_schema_keys.py (copy): Add Id string; 
	Write header into the generated file.



svn: r6967
2006-06-25 05:39:32 +00:00
Brian Matherly
210a66996d * src/plugins/BookReport.py: fix book loading
svn: r6966
2006-06-25 03:25:14 +00:00
Alex Roitman
345439817e 2006-06-24 Alex Roitman <shura@gramps-project.org>
* src/ReportBase/_ReportDialog.py (report): Handle wm closing.
	* src/plugins/GraphViz.py (GraphVizDialog.__init__): Handle wm
	closing. 
	* src/plugins/NarrativeWeb.py (WebReportDialog.__init__): Handle
	wm closing.



svn: r6964
2006-06-25 02:26:29 +00:00
Brian Matherly
0bdf53bc8d * src/plugins/AncestorChart2.py: fix comment
* src/plugins/DecendChart.py: fix comment
* src/plugins/TimeLine.py: Remove Title option

svn: r6963
2006-06-25 01:57:56 +00:00
Alex Roitman
25e8b29f73 2006-06-24 Alex Roitman <shura@gramps-project.org>
* debian/control (Build-Depends-Indep): Add xsltproc



svn: r6962
2006-06-25 00:09:09 +00:00
Brian Matherly
d42baab67c * src/docgen/ODFDoc.py: Handle exception when file is not writeable
* src/docgen/ODSDoc.py: Handle exception when file is not writeable
* src/docgen/OpenOfficeDoc.py: Handle exception when file is not writeable
* src/docgen/OpenSpreadSheet.py: Handle exception when file is not writeable
* src/plugins/AncestorChart2.py: Remove Title option
* src/plugins/DecendChart.py: Remove Title option

svn: r6961
2006-06-24 17:22:34 +00:00
Alex Roitman
60e4d8044f * src/GrampsDb/_WriteGedcom.py: Prevent writing empty value tags.
svn: r6957
2006-06-24 04:28:43 +00:00
Don Allingham
0da4f7aa53 * help/C/figures/*.png: updates
svn: r6956
2006-06-23 20:19:16 +00:00
Alex Roitman
376ac56293 2006-06-23 Alex Roitman <shura@gramps-project.org>
* src/images/Makefile.am (dist_pkgdata_DATA): Comment out map images.
	* configure.in: Add help/Makefile to AC_CONFIG_FILES.
	* Makefile.am (SUBDIRS): Add help subdir.
	* debian: Add directory for debian packaging.



svn: r6953
2006-06-23 20:10:56 +00:00
Don Allingham
7c40e01aa4 * help/C/gramps-manual.xml: updates
svn: r6952
2006-06-23 18:34:45 +00:00
Don Allingham
b9eb66679e 2006-06-23 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: fix syntax error with old ref formats



svn: r6951
2006-06-23 17:10:05 +00:00
Don Allingham
69e0f471ad 2006-06-22 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_GrampsDbBase.py: remove unused variable
	* src/Editors/_EditPlace.py: Allow duplicate names
	* src/Editors/_EditFamily.py: improve error message



svn: r6950
2006-06-23 04:13:06 +00:00
Don Allingham
2ced4d331a 2006-06-21 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadXML.py: handle witness ref properly



svn: r6949
2006-06-22 21:23:00 +00:00
Alex Roitman
c3139724d8 * src/Filters/Rules/Person/_RelationshipPathBetweenBookmarks.py:
Add new module.
	* src/Filters/Rules/Person/Makefile.am (pkgdata_PYTHON): Ship new
	module.
	* src/Filters/Rules/Person/__init__.py: Import new module.


svn: r6947
2006-06-22 20:06:13 +00:00
Alex Roitman
781f89153c 2006-06-22 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_WriteGedcom.py (GedcomWriter.__init__): Typo.



svn: r6946
2006-06-22 18:32:16 +00:00
Alex Roitman
96338b4495 Allow column sorting
svn: r6944
2006-06-22 00:09:20 +00:00
Don Allingham
f15764b240 2006-06-21 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: Don't attempt to be too clever and
	swap families if a duplicate is found. Just warn, and continue.



svn: r6943
2006-06-21 20:13:40 +00:00
Alex Roitman
015e1829b0 2006-06-21 Zsolt Foldvari <zsolt.foldvari@nokia.com>
* src/DisplayTabs/_GalleryTab.py (GalleryTab.build_interface):
	Properly add icon list.
	* src/Selectors/_BaseSelector.py (BaseSelector.add_columns): Allow
	resize-able columns.



svn: r6942
2006-06-21 19:58:49 +00:00
Don Allingham
89d0caec30 * src/DataViews/_PersonView.py: import QuestionDialog
svn: r6941
2006-06-21 19:46:27 +00:00
Alex Roitman
75457c4650 * src/PluginUtils/_Plugins.py (PluginDialog.on_apply_clicked,
PluginDialog.on_node_selected): Pass and use require_active flag.


svn: r6940
2006-06-21 19:39:43 +00:00
Don Allingham
3de04d3b13 2006-06-21 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamily.py: re-enable disabled blocks after
	the + is clicked



svn: r6939
2006-06-21 19:32:50 +00:00
Don Allingham
75767ae8dc * src/DataViews/_RelationView.py: fix sets
svn: r6938
2006-06-21 19:29:36 +00:00
Alex Roitman
b92be8bf2e 2006-06-21 Alex Roitman <shura@gramps-project.org>
* src/DateEdit.py (DateEditorDialog.__init__): Take care of
	deleting the dialog.



svn: r6937
2006-06-21 19:18:54 +00:00
Don Allingham
1f526eee1c 2006-06-21 Don Allingham <don@gramps-project.org>
* src/Filters/__init__.py: include new build_filter_model
	* src/Filters/_FilterMenu.py: build_filter_model
	* src/Filters/Rules/Person/_MatchesFilter.py: handle custom and
	system models properly
	* src/Filters/_PersonSidebarFilter.py: add custom filter menu



svn: r6932
2006-06-21 16:30:35 +00:00
Don Allingham
e01800a7fe * src/Filters/_SidebarFilter.py: change from CLEAR to RESET
svn: r6930
2006-06-21 03:11:08 +00:00
Don Allingham
9ed0d1abf0 fails, recalculate data, fix initial display of sidebar
* src/ViewManager.py: handle post page creation initalization
	* src/PageView.py: handle post page creation initalization


svn: r6929
2006-06-21 02:43:19 +00:00
Don Allingham
3121b0d1ed * src/DataViews/_PersonView.py (PersonView.person_updated): if surname
fails, recalculate data


svn: r6928
2006-06-20 21:34:53 +00:00
Don Allingham
fcd6deacd0 * src/Editors/_EditFamily.py: handle drag-n-drop for childrefs
separately


svn: r6927
2006-06-20 21:18:49 +00:00
Don Allingham
fe75f503e0 2006-06-20 Don Allingham <don@gramps-project.org>
* src/Editors/_EditEvent.py: focus on date on open
	* src/Editors/_EditEventRef.py: focus on date on open
	* src/UndoHistory.py: don't attempt to unregister with the window
	manager, since not registered to begin with



svn: r6926
2006-06-20 15:01:27 +00:00
Martin Hawlisch
113e14501b * src/DataViews/_PedigreeView.py: Properly redraw if active person is set to None
svn: r6925
2006-06-20 12:51:14 +00:00
Martin Hawlisch
e6bcf69241 * src/DataViews/_PedigreeView.py: Support for family editing; Change line style for child relation "birth"
svn: r6924
2006-06-20 09:17:58 +00:00
Don Allingham
7103f9156f * src/DataViews/_PersonView.py: handle unsetting of rows changing
the active person when the model is rebuilt.


svn: r6922
2006-06-20 04:25:44 +00:00
Brian Matherly
859b158aec * src/Mime/_WinMime.py: Get application description from registry
svn: r6921
2006-06-20 02:55:36 +00:00
Don Allingham
83c768c199 * src/DataViews/_Relationship.py: handle person set to None
svn: r6920
2006-06-20 02:50:38 +00:00
Don Allingham
be4c5b4274 2006-06-19 Don Allingham <don@gramps-project.org>
* src/ViewManger.py: try tabs on the side
	* src/DisplayTabs/_PersonRefEmbedList.py: change Relationships to
	Associations
	* src/help/C/*: updates



svn: r6919
2006-06-19 21:06:29 +00:00
Martin Hawlisch
a2f2391b3a * src/PageView.py, src/DataViews/_MediaView.py: Let all list views have the same border width
svn: r6918
2006-06-19 21:01:57 +00:00
Martin Hawlisch
22595c0129 * src/DataViews/_PedigreeView.py: Bootstrap resize handling using "show" event because the "expose" event was not emitted in all cases (closes #202); Redraw on family-* signals too to show for example newly added parents.
svn: r6914
2006-06-19 08:22:49 +00:00
Don Allingham
8004084bda 2006-06-18 Don Allingham <don@gramps-project.org>
* help/C/gramps-manual.xml: integrate into a single doc
	* help/C/figures/*.png: updated images



svn: r6913
2006-06-19 04:17:43 +00:00
Brian Matherly
8ad5da4833 * src/images/ped24.ico: add icon
svn: r6912
2006-06-18 22:28:12 +00:00
Brian Matherly
3cd7931fbe Add mime support for Windows platform
svn: r6911
2006-06-18 20:58:25 +00:00
Don Allingham
6f0c94853d * src/Editors/_EditPerson.py: select given name field if the
surname field is already defined


svn: r6910
2006-06-18 03:21:03 +00:00
Don Allingham
51ae992dab 2006-06-17 Don Allingham <don@gramps-project.org>
* src/Selectors/_BaseSelector.py (BaseSelector.run): handle
	delete event
	* src/DataViews/_RelationView.py: remove debug statement
	* src/DataViews/__init__.py: remove map view for time being



svn: r6909
2006-06-18 03:05:33 +00:00
Don Allingham
2ef0b6aaf5 * src/DataViews/_RelationView.py: clear all subelements on redraw
svn: r6907
2006-06-17 04:20:27 +00:00
Don Allingham
6de4daf8f0 * src/PageView.py: set dirty flag appropriately
svn: r6906
2006-06-17 03:55:00 +00:00
Don Allingham
ca5f2c8bbd 2006-06-16 Don Allingham <don@gramps-project.org>
* src/DataViews/_MediaView.py: clear image if none is selected



svn: r6905
2006-06-17 02:36:57 +00:00
Alex Roitman
59573b0529 2006-06-16 Alex Roitman <shura@gramps-project.org>
* src/PluginUtils/_PluginMgr.py (register_report): Add
	require_active argument to _register_cl_report call.



svn: r6904
2006-06-17 01:32:58 +00:00
Don Allingham
e76143f428 * src/GrampsDb/_WriteGedcom.py: export QUAY
svn: r6901
2006-06-16 18:38:06 +00:00
Don Allingham
a49d39d698 2006-06-16 Don Allingham <don@gramps-project.org>
* src/Editors/_EditFamiy.py: make EditPerson windows subordinate
	to EditFamily windows. This prevents the EditPerson window from
	trying to trying to access a non-existent window and causing a
	segfault



svn: r6900
2006-06-16 17:42:36 +00:00
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
Stefan Bjork
290554c9f8 Update.
svn: r6693
2006-05-17 14:42:36 +00:00
Martin Hawlisch
ff1658a102 * src/glade/gramps.glade,
* src/TipOfDay.py: Use a gtk.Window instead of a Dialog to work around the "Button not clickable again" gtk-bug. (closes #0000033)



svn: r6691
2006-05-17 13:50:49 +00:00
Alex Roitman
80546c3905 * src/glade/gramps.glade (select_person): Name the box.
* src/DataViews/_MediaView.py (row_change): Collect garbage on the
	row change.
	* src/Selectors/_BaseSelector.py: Use DisplaModel models;
	(_local_init): Add selector-specific hook.
	(_local_init): Set up preview; 
	(_row_change): Show preview; collect garbage.


svn: r6690
2006-05-17 06:13:37 +00:00
Alex Roitman
529edc8ec9 2006-05-16 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditLdsOrd.py: Adapt to new selector.
	* src/DisplayTabs/_SourceEmbedList.py: Adapt to new selector.
	* src/DisplayTabs/_EventEmbedList.py: Adapt to new selector.
	* src/DisplayTabs/_GalleryTab.py: Adapt to new selector.
	* src/Selectors/_BaseSelector.py: Use DisplaModel models.
	* src/Selectors/_SelectRepository.py: Use DisplaModel models.
	* src/Selectors/_SelectSource.py: Use DisplaModel models.
	* src/Selectors/_SelectEvent.py: Use DisplaModel models.
	* src/Selectors/_SelectFamily.py: Use DisplaModel models.
	* src/Selectors/_SelectPlace.py: Use DisplaModel models.
	* src/Selectors/_SelectObject.py: Use DisplaModel models.



svn: r6687
2006-05-17 04:43:53 +00:00
Don Allingham
a0c320d2fc * src/Editors/_EditEvent.py: start of SelectPlace integration
* src/glade/gramps.glade: start of SelectPlace integration
	* src/GrampsWidgets.py: start of SelectPlace integration


svn: r6686
2006-05-17 04:35:03 +00:00
Don Allingham
7f4abf4392 * src/DisplayTabs/_WebEmbedList.py: icon fixes
* src/images/stock_insert-url.png: added
	* src/images/person.png: added
	* src/images/relation.png: added
	* src/images/Makefile.am: added new images
	* src/gramps_main.py: register icons as stock


svn: r6685
2006-05-17 03:01:09 +00:00
Don Allingham
9ad577a0bc 2006-05-16 Don Allingham <don@gramps-project.org>
* src/GrampsDb/_ReadGedcom.py: handle blank lines



svn: r6684
2006-05-17 01:23:14 +00:00
Alex Roitman
2efa8ec971 In .:
* src/Selectors/_SelectPerson.py: Use new package.
	* src/plugins/RelCalc.py: Use new package.
	* src/DataViews/_PersonView.py: Use new package.
	* src/DisplayModels: Make new package.
	* src/Makefile.am: Remove old files.
In po:
	* POTFILES.in: Add new files; remove old files.


svn: r6683
2006-05-17 00:48:46 +00:00
Alex Roitman
53f7df964d In .:
2006-05-16  Alex Roitman  <shura@gramps-project.org>
	* src/Filters/_PersonSidebarFilter.py: Import gettext.
	* src/Filters/_SidebarFilter.py: Import gettext.
	* src/Filters/Makefile.am: Ship new files.

In po:
2006-05-16  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Add new files.



svn: r6682
2006-05-16 18:32:47 +00:00
Martin Hawlisch
52c4d7e365 * src/DataViews/_PedigreeView.py: work around bug in database-changed signals
svn: r6681
2006-05-16 14:57:17 +00:00
Martin Hawlisch
620cae798d * src/DataViews/_PedigreeView.py: Add navigation-arrows to the tree
svn: r6680
2006-05-16 13:53:11 +00:00
Alex Roitman
4487df24da 2006-05-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_GrampsXMLDB.py: Use callback, call parent's
	close() on close.
	* src/GrampsDb/_GrampsGEDDB.py: Use callback, call parent's
	close() on close.
	* src/GrampsDb/_WriteXML.py: Use new callback class.
	* src/GrampsDb/_WriteGedcom.py: Use new callback class.
	* src/GrampsDb/_DbUtils.py (db_copy): Update secondary indices for
	the InMem databases.



svn: r6679
2006-05-16 03:47:58 +00:00
Don Allingham
8139998822 * src/ViewManager.py: new stock icon support
* src/gramps_main.py: new stock icon support
	* src/PageView.py: new stock icon support
	* src/images/stock_new-html.png: added
	* src/images/stock_delete-bookmark.png: added
	* src/images/stock_export.png: added
	* src/images/stock_edit-bookmark.png: added
	* src/images/stock_add-bookmark.png: added
	* src/images/stock_undo-history.png: added
	* src/images/stock_bookmark.png: added


svn: r6678
2006-05-16 03:35:10 +00:00
Don Allingham
48d83819e3 2006-05-15 Don Allingham <don@gramps-project.org>
* src/DisplayTabs/_DataEmbedList.py: disable DND



svn: r6677
2006-05-16 02:14:25 +00:00
Alex Roitman
00a1f11a12 * src/ViewManager.py (save_as_activate): Use Save button in dialog.
svn: r6676
2006-05-15 22:04:49 +00:00
Don Allingham
b16f290c0f * src/DisplayTabs/_PersonEventEmbedList.py: fix selection of default type
svn: r6675
2006-05-15 21:59:14 +00:00
Alex Roitman
934d154d5a 2006-05-15 Alex Roitman <shura@gramps-project.org>
* src/GrampsDb/_DbUtils.py: import proper class.



svn: r6674
2006-05-15 21:56:57 +00:00
Alex Roitman
8884528ee1 * src/Selectors/_Select*.py: Subclass from BaseSelector.
* src/Selectors/Makefile.am: Ship new file.
	* src/Selectors/_BaseSelector.py: Add new file.



svn: r6673
2006-05-15 20:50:25 +00:00
Don Allingham
a97e7e2abd * src/Filters/__init__.py: add SidebarFilter, PersonSidebarFilter
* src/Filters/_SidebarFilter.py: added
	* src/Filters/_PersonSidebarFilter.py: added


svn: r6672
2006-05-15 20:37:19 +00:00
Don Allingham
bfef16e318 2006-05-15 Don Allingham <don@gramps-project.org>
* src/DataViews/_PersonView.py: cleaner interface to filters
	* src/plugins/RelCalc.py: cleaner interface to filters
	* src/PeopleModel.py: cleaner interface to filters
	* src/Selectors/_SelectPerson.py: cleaner interface to filters



svn: r6671
2006-05-15 18:49:35 +00:00
Alex Roitman
ce0983129c * src/DataViews/_SourceView.py (edit,on_double_click): Catch exception.
svn: r6670
2006-05-15 16:03:10 +00:00